[Q] Deleting Dalvik - myTouch 3G Slide Q&A, Help & Troubleshooting

Ok so I have no clue why I have this ocurring low memory message on my phone. I have only installed about 20 apps on top of about 50 others that are just junk (which I would love to delete).
Looking through some folders I noticed that the Dalvik one was occupying 129mb which has led me to believe that maybe this is part of my memory problem.
Now, I know I have to go into recovery (volume down + power button). I select Recovery and I don't see the option to wipe Dalvik cache unless I do a factory wipe. I have no clue how to boot into clockworkmod in order to wipe just the Dalvik.
Can someone point me in the right direction please. Thanks
EDIT: I went into the app Root Explorer> data> dalvik-cache > menu > multi-select > delete. But this didn't solve my space issue. I still only have 17.9 mb available

arcybarrios said:
Ok so I have no clue why I have this ocurring low memory message on my phone. I have only installed about 20 apps on top of about 50 others that are just junk (which I would love to delete).
Looking through some folders I noticed that the Dalvik one was occupying 129mb which has led me to believe that maybe this is part of my memory problem.
Now, I know I have to go into recovery (volume down + power button). I select Recovery and I don't see the option to wipe Dalvik cache unless I do a factory wipe. I have no clue how to boot into clockworkmod in order to wipe just the Dalvik.
Can someone point me in the right direction please. Thanks
EDIT: I went into the app Root Explorer> data> dalvik-cache > menu > multi-select > delete. But this didn't solve my space issue. I still only have 17.9 mb available
Click to expand...
Click to collapse
I'm assuming that you're on a Sense/Espresso based ROM. If I assumed correct you will want to consider apps2sd, as with Sense ROMs you really don't have much space on /data

Hi r0man! I actually think the app2sk came with the Rom I have installed. Is a2sd the same?

Related

[Q] Dalvik Cache and Clockworkmod Questions

In Clockworkmod 2.6.0.1
Why is Clearing Dalvik Cache in Adavanced and not side by side with other Clearing items on main menu?
Why isn't Dalvik Cache cleared with a full Data/Cache Clear?
What's in Dalvik Cache vs Cache?
Anyone have any idea why when I select Clear Dalvik in Clockworkmod that sometimes it takes a while to display the "Are you Sure" page? Seems completely random. Most of the time it comes up instantly as all confirmation pages. But once in a while it just sits there for a while and then it pops up.
my answers are as follows
1. don't know
2. not sure
3. I'll leave that to an expert
All I know is that all of the problems I was having went away when I switched to Amon. Probably not the answer you're looking for, but you may want to look into Amon if you are having recovery concerns.
When I used Clockwork, it did seem like the Dalvik cache wipe really didn't do anything, and according to a lot of the Devs, it doesn't. I always had major problems with clockwork, even considered unrooting because the phone had so many post wipe/flash issues.
If it ain't broke don't fix it.
If I have a problem I'll check out Amon but the delay I see when choosing it is not a problem as far as I know, I was just curious what it was. Perhaps it's the order I might do something.
I also wanted to understand more about what it actually is.
mswlogo said:
In Clockworkmod 2.6.0.1
Why is Clearing Dalvik Cache in Adavanced and not side by side with other Clearing items on main menu?
Why isn't Dalvik Cache cleared with a full Data/Cache Clear?
What's in Dalvik Cache vs Cache?
Anyone have any idea why when I select Clear Dalvik in Clockworkmod that sometimes it takes a while to display the "Are you Sure" page? Seems completely random. Most of the time it comes up instantly as all confirmation pages. But once in a while it just sits there for a while and then it pops up.
Click to expand...
Click to collapse
From Android Forums: "Dalvik cache is a program cache area for the program dalvik. Dalvik is a java based virtual machine that is the bases for running your programs (the ones that have the .apk extension). In order to make access times faster (because there's not JIT (just in time) compiler installed by default), the dalvik-cache is the result of dalvik doing an optimization of the running program. Sounds confusing. It's similar to the prefetch files in Windows."
As for why Dalvik is located where it is in CW 2.6...have no idea but wish it was located out of the Advanced section to make it easier to get to. However, I believe 2.6.0.1 is wiping Dalvik properly even though sometimes it doesn't confirm it. Still think AR 1.8 is best recovery of all.
CCallahan said:
From Android Forums: "Dalvik cache is a program cache area for the program dalvik. Dalvik is a java based virtual machine that is the bases for running your programs (the ones that have the .apk extension). In order to make access times faster (because there's not JIT (just in time) compiler installed by default), the dalvik-cache is the result of dalvik doing an optimization of the running program. Sounds confusing. It's similar to the prefetch files in Windows."
As for why Dalvik is located where it is in CW 2.6...have no idea but wish it was located out of the Advanced section to make it easier to get to. However, I believe 2.6.0.1 is wiping Dalvik properly even though sometimes it doesn't confirm it. Still think AR 1.8 is best recovery of all.
Click to expand...
Click to collapse
Thanks, it always prompts and it always confirms it's cleared. It just that the prompt page (Yes/No Page) sometimes takes a while and it's not doing anything between choose clear dalvik and the confirm page asking Are You Sure. You know, the Page where you have to push Down/Down/Down... and select. That page sometimes just doesn't pop up. But every other place that same confirm page pops up always comes up immediately. Just the Dalvik flavor of that confirm page is sometimes very slow to come up.
All I can think of is sometimes I just did Clear Data and Clear Cache just before and perhaps something needs to be rebuild before it can display that page. And other times I might do it in a different order. Say Dalvik first then the other clearing.
Just seems wierd and curious if others ever ran into it.
mswlogo said:
Thanks, it always prompts and it always confirms it's cleared. It just that the prompt page (Yes/No Page) sometimes takes a while and it's not doing anything between choose clear dalvik and the confirm page asking Are You Sure. You know, the Page where you have to push Down/Down/Down... and select. That page sometimes just doesn't pop up. But every other place that same confirm page pops up always comes up immediately. Just the Dalvik flavor of that confirm page is sometimes very slow to come up.
All I can think of is sometimes I just did Clear Data and Clear Cache just before and perhaps something needs to be rebuild before it can display that page. And other times I might do it in a different order. Say Dalvik first then the other clearing.
Just seems wierd and curious if others ever ran into it.
Click to expand...
Click to collapse
I experience the same thing. Sometimes it takes a bit to clear it and other times it doesn't. Depends on how long it has been since last change/wipe. With AR it gives the little progress dots and CW it doesn't so looks like it isn't doing anything when it actually is.

[Q] Can't Install CM7

I've done the following 3 times now, and all i get is a continuous boot splash screen of cyanogen7(mod).
I downloaded the stable rom here: http://www.cyanogenmod.com/devices/t-mobile-g2
I put the zip file onto my sd card.
I turn my phone off.
I hold the volume down button and turn phone on.
I wipe the cache and dalvik cache.
I go to install update from sd card
I find the zip file and select it.
I wait for it to install, it says it installed successfully.
I reboot my phone.
This results in a constant boot up screen saying cm7. Ive left it like that for a good while, and nothing happens. I cant press any buttons. i have to take the battery out, and restore from ROM manager.
Any help please?
Thanks
NthZ said:
I've done the following 3 times now, and all i get is a continuous boot splash screen of cyanogen7(mod).
I downloaded the stable rom here: http://www.cyanogenmod.com/devices/t-mobile-g2
I put the zip file onto my sd card.
I turn my phone off.
I hold the volume down button and turn phone on.
I wipe the cache and dalvik cache.
I go to install update from sd card
I find the zip file and select it.
I wait for it to install, it says it installed successfully.
I reboot my phone.
This results in a constant boot up screen saying cm7. Ive left it like that for a good while, and nothing happens. I cant press any buttons. i have to take the battery out, and restore from ROM manager.
Any help please?
Thanks
Click to expand...
Click to collapse
wipe /data and /system via mounts & storage menu in recovery prior to installation (just do it at the same time you format cache and dalvik cache)
mount the partition you wish to format, then format, then mount the next partition, then format.
pmcqueen said:
wipe /data and /system via mounts & storage menu in recovery prior to installation (just do it at the same time you format cache and dalvik cache)
mount the partition you wish to format, then format, then mount the next partition, then format.
Click to expand...
Click to collapse
in mounts and storage i see unmount /cache, mount data etc.
do you mean format /data and format /system?
what do you mean by mount the partition i wish to format?
NthZ said:
in mounts and storage i see unmount /cache, mount data etc.
do you mean format /data and format /system?
what do you mean by mount the partition i wish to format?
Click to expand...
Click to collapse
so if you want to wipe the data partition, do this from mounts & storage in CWM:
-press "mount data"
-press "format data"
once complete, press "unmount data" (I can't remember if it automatically does this after formatting - you may not have to do that)
perform the same steps for /system.
You need to wipe data/factory reset before flashing CM7, or any new ROM for that matter.
I've never had to mount the data and system partitions... you can simply hit "wipe data/factory reset" and it will wipe everything for you...
martonikaj said:
You need to wipe data/factory reset before flashing CM7, or any new ROM for that matter.
I've never had to mount the data and system partitions... you can simply hit "wipe data/factory reset" and it will wipe everything for you...
Click to expand...
Click to collapse
i did this the first time and it still didnt work.
NthZ said:
i did this the first time and it still didnt work.
Click to expand...
Click to collapse
You sure? You indicated in your OP that you only wiped cache and dalvik cache.
You can try flashing "superwipe G2" before flashing the ROM to see if you're missing something.
martonikaj said:
You sure? You indicated in your OP that you only wiped cache and dalvik cache.
You can try flashing "superwipe G2" before flashing the ROM to see if you're missing something.
Click to expand...
Click to collapse
yeh i selected both wipe options the first time i did it. the phone went to factory settings
done it now, thanks. where do i get gapps from?
http://wiki.cyanogenmod.com/wiki/Latest_Version#Google_Apps
Everything sorted now, although i get messages saying sometimes that apps have to force close unexpectedly, although that hasn't caused too many issues.
also had an issue where my handset was constantly running at 1.2GHz and the battery went flat within hours lol. not sure what that was about but it seems to have fixed itself.
only issue now is that all my text messages are not getting delivered to and sent from me. anyone heard of this or have a solution?
thanks
NthZ said:
Everything sorted now, although i get messages saying sometimes that apps have to force close unexpectedly, although that hasn't caused too many issues.
also had an issue where my handset was constantly running at 1.2GHz and the battery went flat within hours lol. not sure what that was about but it seems to have fixed itself.
only issue now is that all my text messages are not getting delivered to and sent from me. anyone heard of this or have a solution?
Click to expand...
Click to collapse
For the force closes, try running a 'fix permissions' in ROM manager
As far as messages, is your phone number recognized by the phone?
check menu > settings > about phone > my phone number
martonikaj said:
For the force closes, try running a 'fix permissions' in ROM manager
As far as messages, is your phone number recognized by the phone?
check menu > settings > about phone > my phone number
Click to expand...
Click to collapse
no my phone number status us unknown. im going to run fix permissions now.
fix permissions did not work. upon startup i received this message:
The process android.process.media has stopped unexpectedly. Please try again
NthZ said:
no my phone number status us unknown.
Click to expand...
Click to collapse
Menu > settings > Call settings > Additional Settings > My phone number > enter your number
NthZ said:
fix permissions did not work. upon startup i received this message:
The process android.process.media has stopped unexpectedly. Please try again
Click to expand...
Click to collapse
That's the media player I think. Did you restore this app with data? You can try wiping its data, or uninstalling and reinstalling a different one.
I've been searching google for a solution but can't find one. The process is used for gallery, camera and market. Probably others. Its just come up while I'm typing this message. I can't download any apps because of it.

[Q] Trying to do a clean install of MIUI, can't rid my dinc of apps...

I'm trying to do a clean install of MIUI on my dinc, but I've run into an issue of all of my apps returning after I wipe everything and flash (all of my Google account settings are in place as well). I get a "Error formatting /data!" and "Error formatting /cache!" when I format using CWM in the Mounts and Storage Menu. I'm guessing this is the issue.
Do I need to repartition my dinc?
BenRad said:
I'm trying to do a clean install of MIUI on my dinc, but I've run into an issue of all of my apps returning after I wipe everything and flash (all of my Google account settings are in place as well). I get a "Error formatting /data!" and "Error formatting /cache!" when I format using CWM in the Mounts and Storage Menu. I'm guessing this is the issue.
Do I need to repartition my dinc?
Click to expand...
Click to collapse
Do you get those same errors when you try to Wipe user data/factory reset?
No error, but the apps still reappear. I've tried doing wipes with cwm and Amon Ra with the same result.
Maybe try flashing the ROM, and in ROM Manager and hit Menu - Settings - and check Erase Recovery. Then go back one screen and hit Flash ClockworkMod Recovery to the latest...maybe CWM Recovery is corrupted? This will erase Recovery first, then flash the new one.
Sorry, no luck. I still get the "Error formatting /data!" error when I try to format /data separately. No error when I try "wipe data/factory reset". When I restart the phone, the ROM loads and all my apps appear with my Google accounts already in place (ie - I have not entered any account information).
Maybe try a different version of Recovery? Go to Doug Piston's site here, and download version 3.0.0.8. Name it PB31IMG.zip and put it on the root of your SD card. Reboot into HBOOT (with phone off, hold Vol Down and Power). Once the first HBOOT screen appears Bootloader should be highlighted, hit the Power button, and follow the screen prompts to update.
No luck either. Not sure what to do.
Wow, I'm out of ideas. Maybe someone else will chime in with some suggestions here.
RMarkwald said:
Wow, I'm out of ideas. Maybe someone else will chime in with some suggestions here.
Click to expand...
Click to collapse
iPhone?
Kidding, please don't kill me with sticks Joel/Stang/etc.
Have you tried NOT signing into your google account upon first flashing the rom then going into (I don't have MIUI so it may be some place else) Settings> Privacy and
1) Checking 'Back up my settings' so you can deselect 'Automatic Restore'
2) Deselecting 'Back up my Settings'
now sign into your account and no apps will reinstall just your gmail account email and contacts.
In regards to the error you experience in CWM, just:
Format data
Wipe cache
Wipe Dalvik cache
Format boot
Format system
Try going into recovery and select mounts and storage from the list, then select format system, data, and cache.
N-Forced said:
Try going into recovery and select mounts and storage from the list, then select format system, data, and cache.
Click to expand...
Click to collapse
Yes, I've tried that, thanks.

unable to format sdcard in cwm

I'm basically trying to move to the dalvik cache to my sd card for space reasons. I'm trying to format my sdcard for use with link2sd and other programs like it but I'm unable to do so in cwm. whenever i choose partition sdcard, it gives me the dialog like it does it correctly but nothing actually happens. I tried to partition the card on my pc but none of the link2sd programs recognize it. its as if the only thing those programs recognize is the internal storage and to my knowledge I can't do anything with that. if i can do it manually and avoid using the programs that'd be awesome. can anyone point me in the right direction?
...I'm kind at a loss for why you would want a virtual machine cache on an sd-card and not emmc. Perhaps I am 'not getting it'...care to explain?
i've had this problem for a couple of weeks now...downloads from the market over a certain size just won't go through. "insufficient space" "invalid package file" errors like those would pop up. i went to term. emulator and to check the mount sizes and my dalvik cache was 98% full. in titanium backup i saw an option to "integrate sys dalvik into ROM". i enabled that and it moved over 150 items from the dalvik to someplace in the system. that cleared up some space and now i'm only using 82% of the dalvik and i'm able to download and update from the market like normal. i know this problem is gonna come back and i'm trying to avoid it by moving the dalvik to the sd card where the space is plentiful.
hobomusashi said:
i've had this problem for a couple of weeks now...downloads from the market over a certain size just won't go through. "insufficient space" "invalid package file" errors like those would pop up. i went to term. emulator and to check the mount sizes and my dalvik cache was 98% full. in titanium backup i saw an option to "integrate sys dalvik into ROM". i enabled that and it moved over 150 items from the dalvik to someplace in the system. that cleared up some space and now i'm only using 82% of the dalvik and i'm able to download and update from the market like normal. i know this problem is gonna come back and i'm trying to avoid it by moving the dalvik to the sd card where the space is plentiful.
Click to expand...
Click to collapse
I've never encountered this problem...I flash like crazy...I also migrate over all of my apps via TB...so...I have like 4 or 5 phones worth of apps following me around from rom to rom.....I don't have many big apps, so, of course YMMV--and likely will--but....perhaps this isn't, in fact, the actual problem but a symptom of another problem.
Have you had this issue with multiple roms? When was the last time you did a full wipe? On every phone I have either the stock rom or my favorite rom that I always go back to, no matter what, more than any other rom.....via nandroid....and I have never encountered this problem....any other customizations we should know about?
I've never had this issue before. I'm on the latest Calkulin ROM since I've switched from my HD2. This is the first time I've had this error pop up and I resolved it by moving some things around in the dalvik and freeing up some space. As stated earlier TB moved around 150 items and afterwards I was instantly able to download/update from the market. I don't really customize my phone other than the random theming here and there. I've switched ROMs back and forth to see if it was in fact the ROM and not something I did but the issue came back as soon as I restored my backed up apps via TB. I'm guessing the cache filled up with the data from the apps that are backed up with TB.
Here's one solution/quick fix: manually delete your dalvik cache with a file manager and then just flash an odexed Rom: Then your space issues would be solved, and there's not the issue of Dalvik taking up any room in the first place.
["hip", "hip"]
mazook98 said:
Here's one solution/quick fix: manually delete your dalvik cache with a file manager and then just flash an odexed Rom: Then your space issues would be solved, and there's not the issue of Dalvik taking up any room in the first place.
["hip", "hip"]
Click to expand...
Click to collapse
...and I have always preferred odex'd roms. makes sense.
so there's no way of installing the programs mentioned in the first post?
CM supports init scripts, right? Download Calkulin's ROM from the Dev section, extract it and check system/etc/init.d for a dalvik2cache (going by memory here, might not be the exact name) script. Might be able to use that.
Sent from my SPH-D710 using Tapatalk

Best way to wipe? Lol

What do you do to make your roms run great everytime. Wipe data 1x, 2x, 3x. Etc. I get force closes and wondering if I didn't wipe right. I also got boot manager with miui stable as rom 1. It's been acting wierd lately. Hoping Simone can give me tips on flashing through clockwork and installing through boot manager for best results.
Sent from my ADR6300 using xda app-developers app
I don't use boot manager, but for a clean install of a ROM, format boot and system, and wipe data/Factory Reset, all just once.
cvpcs.org/blog/2011-06-05/time_to_wipe_data/cache
Boot to cwm recovery.
Go to mounts and storrage menu.
Format every option available except emmc and sdcard.
Flash rom of your choosing.
PonsAsinorem said:
I don't use boot manager, but for a clean install of a ROM, format boot and system, and wipe data/Factory Reset, all just once.
cvpcs.org/blog/2011-06-05/time_to_wipe_data/cache
Click to expand...
Click to collapse
Exactly what this guy said. Wipe data/factory reset takes care of /data, /datadata, and /cache all in one stroke. All that's left is /boot and /system
Also, with MIUI you may need to clear out your app cache regularly. Use this App Cache Cleaner, it's super simple. That should help your fc problems.
These are the steps I follow when flashing ROMs. Seems to work well for me:
Reboot your phone into Bootloader Mode. (You can do that by pressing and holding the Volume Down and Power buttons until HBOOT boots.)
Using the Volume keys, highlight Recovery and select it by tapping the Power button. Your phone will now boot to Recovery Mode.
Create a NANDroid backup of your current ROM. Go to Backup and Restoreand select Backupon the next screen. Wait until recovery finishes backing up your ROM.
Once done, go back to the main menu and perform a full wipe:
[*] ----> Select Wipe data/factory resetand confirm the action on the next screen.
[*] ----> Select Wipe cache partition and confirm the action on the next screen.
[*] ----> Go back to the main menu and select Advanced.From there, select Wipe Dalvik Cache and confirm the action on the next screen.
Select Install ZIP from SD card.
Select Choose ZIP from SD cardand locate the ROM.zip file. Confirm the action on the next screen to flash the ROM to your mobile phone.
Go back to the main menu and flash GoogleApps.zip in the same manner as in steps 6 and 7.
Go back to the main menu and select Reboot system now. This will reboot your phone with the new ROM.
What I normally do is boot into cwm and just do the factory reset/data wipe and that makes everything run nice and smooth whenever i flash a new rom.
ardax said:
Exactly what this guy said. Wipe data/factory reset takes care of /data, /datadata, and /cache all in one stroke. All that's left is /boot and /system
Click to expand...
Click to collapse
Yes. I find that if you don't also do /boot and /system some things linger that can cause problems. I did not do this recently and it still remembered Wifi locations, brought up an old wallpaper and sounds choices via music and ringtones were severely limited. Don't be afraid, do what the man says!!
CyanoLou said:
Yes. I find that if you don't also do /boot and /system some things linger that can cause problems. I did not do this recently and it still remembered Wifi locations, brought up an old wallpaper and sounds choices via music and ringtones were severely limited. Don't be afraid, do what the man says!!
Click to expand...
Click to collapse
No need to format boot. Some devices don't even support that option. Plus flashing a new ROM always flashes a new boot.img in its place which overwrites the old one. System is OK but then you have to flash gapps with updates where before its optional. Wiping system isn't a bad idea on sense ROMs as it doesn't always get wiped by the script. On aosp it does and on cm it wipes system after backing up gapps.
Also WiFi and wallpaper choices are stored in datadata not system. If wallpapers come back after a factory reset that is due to Google restore. Sound choices are stored in a database that needs to rebuild after a wipe.
Sent from my Galaxy Nexus using Tapatalk 2
And in swoops tiny wielding the clue-by-four.
Normally I'll only wipe /system if I'm switching ROMs. Updating dailies doesn't require it.

Categories

Resources