Cache & Dalvik Cache wipe has broken boot? - Desire General

Hi Folks,
I've had my Desire PVT4 a year now, and finally got around to rooting (though didn't attempt S-OFF) and flashing a new ROM a couple weeks ago. I went for InsertCoin HD/Z Port 2.0.1 from this thread. Carried out the SD card prep as required for A2SD, which seemed to work well.
Everything worked nicely for a week or two, then started having random app force closes etc. This morning I decided that maybe clearing the Dalvik cache would resolve these issues. So I went into ClockWorkMod and wiped both the "cache" and the "Dalvik Cache" (in Advanced options).
Turned the phone on, and it just stuck on the initial boot screen.. for 10mins.. then 40mins.. then 2 hours. I hooked up logcat and adb shell and it looks like it's getting stuck in a cycle:
D/AndroidRuntime(): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
.......
.......
W/dalvikvm(): JNI_CreateJavaVM failed.
I've looked at the logs but they don't mean a lot to me - I'm not sure which errors are to be expected and which indicate real issues.
I've attached the logcat output - would appreciate any help in deciphering them!
I find this strange as everything's been working (more-or-less) for two weeks, so why would a cache wipe break it?
Many thanks!

i have this same problem on my DEFY....
i clear(wipe) the cache and dalvik cache and the phone loops in the M logo...
someone help?

Did u move dalvik to SD ext. Partition
Sent from my HTC Desire using XDA App

Just clear data and reinstall cyanogen or if u want to keep data then just flash cyanogen ontop of it now but it may happen again. So make a titanium back up of all ur apps then do a fresh install
Sent from my HTC Desire using XDA App

Related

[Q] Error during Install: "Package file is invalid". Help?

Hey guys, I'm starting have some problems when installing applications on my mt3gs.
First I thought it was the apps, because only like 2 apps wouldn't install, but now NO apps will install.. I keep on getting the error, "Package file is invalid.". I have no idea what it means, I was hoping I could get some help..
Here's some details,
I'm using the "SLIDE MR1.v4 With Eclair" rom.
I've had it for a few months, haven't had any problems with it.
Then about 2 or 3 days before the 14th of august, I set up my sd card and phone for Apps2SD, it worked.
I don't know if the rom is the issue, or the app2sd is the issue, but I'm just looking for some help.
If you need anymore information about the phone, just ask I'll glady provide you guys with it. I REALLY need the help, because as of now; I'm unable to install any applications.
Got It...
What I did to fix this was...
Clear Market Cache (Settings->Applications->All->Market->Clear Cache)
Clear System Cache
Clear Dalvik Cache
The step that did it for me was clearing dalvik cache. Just posted this so it was up for anyone who needed to find it (one of the first pages on google). Couldn't find the proper solution anywhere else.
P.S. Your phone has to be rooted to do the last two steps. (Google "Android Clear Dalvik Cache")
P.S.S Your phone will take a while to reboot after clearing the Dalvik Cache. That's normal.

[Q] Sense Echange Mail issue

I have been jumping around using different Sense ROMs and recently I started having problems with the stock mail app. It will send and recieve emails and I can view the mail in my inbox. When I try to navigate to subfolders (Menu-folders) I get an error message: Sorry! The application Mail (process com.htc.android.mail) has stopped unexpectedly. Please try again. I have tried restoring to older backups and switching ROMs with complete wipes and nothing brings it back. Currently I am running Android 2.2, IncROM 1.6, stock kernal 2.6.32.17-g9afc16. Any thoughts?
Have you tried running fix permissions at all yet?
I have tried that with no success.
I should also mention that I recently came off Ultimate Droid 3.3.0, which is 2.3. I really liked it, but missed the Sense apps, and reliable camera/camcorder.
So, I fixed it. I basically did what I had done over again, except I went into Recovery and manually did the following:
On the front page I:
wiped factory reset
wiped cache
Under Storage and Mounts I:
Formated Boot, System, Data and Cache
Then I did a fresh install of IncRom 1.6
All is good.
A Newman said:
So, I fixed it. I basically did what I had done over again, except I went into Recovery and manually did the following:
On the front page I:
wiped factory reset
wiped cache
Under Storage and Mounts I:
Formated Boot, System, Data and Cache
Then I did a fresh install of IncRom 1.6
All is good.
Click to expand...
Click to collapse
Nice, good job! It seems these days that just doing a factory reset/dalvik wipe isn't enough, and you need to go in like you did to make sure things actually get wiped.

Insufficient Space/Invalid Package File

I've been having this issue for the past couple of weeks and I don't know how to resolve it. At first I thought it might have been my ROM so I wiped everything clean and flashed a new ROM but the problem still exists. I read on a forum that the cache partition could be full so I used Terminal Emulator to check the disk usage and I'm reading that my /cache is 98% full. I also have a dalvik cache in the cache folder as well as a dalvik cache in my /data folder both of which are close to 300mb in size. I tried to clear the cache and dalvik cache in recovery before resorting to the full wipe and each time both cache rebuilt themselves. I'm completely at a loss and I'd really appreciate some help with this issue. Thanks in advance.
So you're out of space? Perhaps you have several backups from CWM taking up all the room. They are pretty large files. I myself keep my stock backup and my most recent, the rest of them rest on my pc.
Sent from my Blazing ET4G
thats not the case here. i dug around a bit and saw that my cache and dalvik cache are 98% full. as stated earlier i tried deleting the dalvik cache but it regenerates itself. i looked around in titanium backup and saw an option to integrate some of the cache to the system. i enabled that and it moved around 150 items around and freed up some space. i'm still around 88% full and i know this problem is gonna rear it's ugly head very soon so I'm trying to install programs like link2sd and as2d+. none of these programs are working though...they all require partitioned sd cards (which i have) but none of these programs are seeing the partitioned card. i've tried repartitioning under recovery but that does absolutely nothing. anyway e4gt users can take advantage of these programs?
I had the same issue and it was driving me crazy. I just downloaded Cache Fixer and ran it and now I am good. Turns out my cache was 95% full, wiped it using that tool and I can now update and download.
I want to add that after it cleared, I could update but some of the other apps on the phone did no work (Google Music and Dolphin Browser to nae a few). I re-boot and the cache is back to pre clearing levels and no other issues. It does temporarily fix the isse bt I do not have a permanent fix.
If anyone has one, I would love to know what that may be.
i just want to say that I am having the same exact issue and performed the same steps the OP did. Only when I wipe the cache with cache fixer it everything forces closes so i can't update anything. So i am really stuck.
The only success that I have temporarily is uninstalling the app then resinstalling it. But thats not a permanent solution and sucks for apps like beautiful widgets.
PLEASE HELP
EDIT: on calkulins 3.0 rom and self updated google play

[Q] Had low memory after apps update, will not boot now - MIUI-XJ

Hey guys, got a strange problem here. I'm running MIUI-XJ 2.3.30 A2SD.
Had 8 apps to update via Google Play and 31mb internal left (over 600mb on sd-ext, too). In the middle of updating the apps I've got a Google Play crash followed by few other fc's, phone said my internal memory is too low to operate and such - so I tried the most obvious fix, which is of course rebooting the phone.
That was a mistake, apparently. Phone will not boot anymore - goes through the bootscreen and gets stuck on the yellow MIUI splash. It's not a bootloop, the phone just freezes and the only thing I can do is battery removal. Tried booting it up with no sd card as well, nothing seems to help though.
Is there anything I can do except full wipe via recovery? I had some important sms and spent quite a bit of time customizing the desktop, I'm not to keen on doing that again.
Is it possible to delete some apps via adb or something like that? Or is there a point in trying to install the rom again on top of my system?
Thanks in advance, help really appreciated!
Try clearing dalvik cache and cache from recovery and then boot. Thereafter clear some space or change your a2sd scheme.
Thanks for the answer! Makes me feel silly I did not think of that myself lol, sounds like an obvious solution.
Problem is, it still does not seem to help though - wiped /cache and dalvik-cache on data, sd-ext and system - still nothing, same problem persists. Stuck at MIUI bootanimation.
Any other ideas? I'm really kind of desperate to recover the data.
- Take a nandroid backup first. So you can start over if need be.
Some things to try
- Only flash ROM and see if it helps.
- Wipe data. Flash ROM fresh. Install Titanium Backup. With TB locate nandroid on sdcard and try to extract your data. Maybe restoring the launcher and messaging will do the trick. Not sure . Try. You can always start over.
- Fix permissions in recovery
There's an app called AROMA Filemanager that can be started from recovery and allows you to modify all phone partitions, all you need is to mount them before starting the app. Here it is:
http://forum.xda-developers.com/showthread.php?p=25911276
Tried flashing the ROM again on top of my system - no effect whatsoever, still gets stuck at bootanimation. Also, tried the permission fix as well as the RMD recovery "apk uid mismatches" fix. Still nothing.
Going to give the AROMA a try, having some problems right now though - using RMD recovery, no touch support. Trying to flash 4ext touch from fastboot somehow!
Thank you. Will keep you updated.
UPDATE//
Managed to get the AROMA up and running, deleted few apps from /data/apps, nothing to delete from /system really. /cache is cleared, so are all 3 dalvik-cache folders.
System still does not want to start.
Any ideas what might have happened? Seems like I'm running out of options and will have to do a clear install, after all.
You probably damaged some important system files so tho phone can't load system. The best solution is to restore some nand backup if you have, or to do a full wipe and start from scratch.
Sent from my HTC Desire using Flashes and Thunders
If that was the case, reflashing the ROM on top of my current system should fix the problem, while it didn't - right? Also, I find it hard to believe that "important system files" could have been damaged during routine Google Play apps update...
Than a full wipe and fresh install is inevitable...
Sent from my HTC Desire using Flashes and Thunders

[Q] SGH-T989 frozen in time, advice requested, any ideas?

Hello, everybody. I have a T-Mo SGS2 SGH-T989 that's frustrating me, and I'm hoping one of you might understand what's happening and how to fix it. Its software seems to be frozen in time. Every time I reboot it, no matter what I've done to it, it opens on the homescreen I had in place as of last Thursday (6 September). As soon as it boots it downloads updates for every app that's had an update come out since then. Any apps I have tried to install since then give me a "could not be downloaded due to an error. (492)" message, and any already-installed apps I delete magically reappear unchanged as soon as I reboot. Not only that, but all the app cache data is frozen in time, too; Poweramp opens with the player cued to the middle of a track I had last listened to over Bluetooth in my car last Thursday, the Kindle app opens to a page within a book I had read last Thursday, etc. I can't make any permanent changes to my phone for no obviously apparent reason, though it's for the most part functional. To top it all off, though, after being powered on for a few hours, apps start randomly force closing until I reboot it again! I've been running essentially the same software environment on it for a couple of months, and up until last Thursday it was rock-solid reliable. I'm not a complete n00b, but I don't have nearly as much time as I'd like to devote to progressing beyond rank amateur status, and having my phone not completely functional is bugging the spit out of me. I've been trawling this and other forums as much as I can since then, and I can't make head or tail of this problem. Anybody have any ideas?
I've already tried wiping the cache and dalvik cache, I've tried restoring a backup from cwm, I've tried doing a factory reset and data wipe, I've tried darkside super wiping it, I've tried flashing new recoveries, I've tried to update the firmware through Kies, I've tried to flash it back to stock with ODIN, and I even downloaded the Android SDK so I could open an adb shell over USB and chmod all the file permissions to read/write! I keep encountering error messages in cwm and adb saying error mounting /sdcard, error mounting /sd_ext, error mounting sdcard/android.secure, etc. What really blows my mind is that everything seems to be working just fine in ODIN while I'm flashing it - until the phone reboots and shows me exactly the same environment it had before I flashed it. I had avast! Anti-Theft installed, and I disabled its device administrator privileges and uninstalled it before I made any of these attempts to fix it, but it keeps reappearing too. I'm at a loss.
Device details:
Phone: T-Mobile Samsung Galaxy S II SGH-T989 (rooted)
Android: 4.0.3
ROM: DARKSIDE.EVOLUTION.3 v5 (out-of-date, I know, but it had been working flawlessly for months, and if it ain't broke....)
Kernel: 3.0.8-perf-T989UVLE1-CL508451 (it says "[email protected] #1" on the line after that in the kernel version block of the "About phone" settings page)
Recovery: ClockWorkMod Recovery v5.0.2.7 (again, I know it's out-of-date, but if it ain't broke.... and now it won't let me re-flash it!)
Baseband: T989UVLE1
Selected Installed Apps: AdFree, Amazon Market, Amazon Kindle, ADWLauncherEX, avast! Mobile Security, Beautiful Widgets, BusyBox Pro, Dolphin Browser, Dropbox, DSPManager, KeePassDroid, Kies air, MX Player Pro, Poweramp, PriceCheck, QR Droid Private, ROM Toolbox Pro, Shazam, Superuser, TeslaUnreadPlugin, Titanium Backup, Widget Locker
Nizrael said:
Hello, everybody. I have a T-Mo SGS2 SGH-T989 that's frustrating me, and I'm hoping one of you might understand what's happening and how to fix it. Its software seems to be frozen in time. Every time I reboot it, no matter what I've done to it, it opens on the homescreen I had in place as of last Thursday (6 September). As soon as it boots it downloads updates for every app that's had an update come out since then. Any apps I have tried to install since then give me a "could not be downloaded due to an error. (492)" message, and any already-installed apps I delete magically reappear unchanged as soon as I reboot. Not only that, but all the app cache data is frozen in time, too; Poweramp opens with the player cued to the middle of a track I had last listened to over Bluetooth in my car last Thursday, the Kindle app opens to a page within a book I had read last Thursday, etc. I can't make any permanent changes to my phone for no obviously apparent reason, though it's for the most part functional. To top it all off, though, after being powered on for a few hours, apps start randomly force closing until I reboot it again! I've been running essentially the same software environment on it for a couple of months, and up until last Thursday it was rock-solid reliable. I'm not a complete n00b, but I don't have nearly as much time as I'd like to devote to progressing beyond rank amateur status, and having my phone not completely functional is bugging the spit out of me. I've been trawling this and other forums as much as I can since then, and I can't make head or tail of this problem. Anybody have any ideas?
I've already tried wiping the cache and dalvik cache, I've tried restoring a backup from cwm, I've tried doing a factory reset and data wipe, I've tried darkside super wiping it, I've tried flashing new recoveries, I've tried to update the firmware through Kies, I've tried to flash it back to stock with ODIN, and I even downloaded the Android SDK so I could open an adb shell over USB and chmod all the file permissions to read/write! I keep encountering error messages in cwm and adb saying error mounting /sdcard, error mounting /sd_ext, error mounting sdcard/android.secure, etc. What really blows my mind is that everything seems to be working just fine in ODIN while I'm flashing it - until the phone reboots and shows me exactly the same environment it had before I flashed it. I had avast! Anti-Theft installed, and I disabled its device administrator privileges and uninstalled it before I made any of these attempts to fix it, but it keeps reappearing too. I'm at a loss.
Device details:
Phone: T-Mobile Samsung Galaxy S II SGH-T989 (rooted)
Android: 4.0.3
ROM: DARKSIDE.EVOLUTION.3 v5 (out-of-date, I know, but it had been working flawlessly for months, and if it ain't broke....)
Kernel: 3.0.8-perf-T989UVLE1-CL508451 (it says "[email protected] #1" on the line after that in the kernel version block of the "About phone" settings page)
Recovery: ClockWorkMod Recovery v5.0.2.7 (again, I know it's out-of-date, but if it ain't broke.... and now it won't let me re-flash it!)
Baseband: T989UVLE1
Selected Installed Apps: AdFree, Amazon Market, Amazon Kindle, ADWLauncherEX, avast! Mobile Security, Beautiful Widgets, BusyBox Pro, Dolphin Browser, Dropbox, DSPManager, KeePassDroid, Kies air, MX Player Pro, Poweramp, PriceCheck, QR Droid Private, ROM Toolbox Pro, Shazam, Superuser, TeslaUnreadPlugin, Titanium Backup, Widget Locker
Click to expand...
Click to collapse
This sounds like an Android virus... Did you download anything "suspicious" recently?
whatiznt said:
This sounds like an Android virus... Did you download anything "suspicious" recently?
Click to expand...
Click to collapse
Yeah what he said.. You could always try a virus scan, however I have heard they aren't that reliable.. Easiest fix would be get a warranty replacement and be done with it.
VoiD_Dweller said:
Yeah what he said.. You could always try a virus scan, however I have heard they aren't that reliable.. Easiest fix would be get a warranty replacement and be done with it.
Click to expand...
Click to collapse
+1
Oh, dear.
I wouldn't have thought I had downloaded anything especially sketchy. I won't install an app unless it's got a lot of positive reviews, but I suppose that's no guarantee of absence of malware. The trouble with sending it in for warranty service is, I've voided my warranty by rooting it and installing a custom ROM, and I can't flash it back to stock.
Nizrael said:
I wouldn't have thought I had downloaded anything especially sketchy. I won't install an app unless it's got a lot of positive reviews, but I suppose that's no guarantee of absence of malware. The trouble with sending it in for warranty service is, I've voided my warranty by rooting it and installing a custom ROM, and I can't flash it back to stock.
Click to expand...
Click to collapse
What are you talking about, you can ALWAYS flash back to stock
Sent from my SGH-T989 using Tapatalk 2
Nizrael said:
I wouldn't have thought I had downloaded anything especially sketchy. I won't install an app unless it's got a lot of positive reviews, but I suppose that's no guarantee of absence of malware. The trouble with sending it in for warranty service is, I've voided my warranty by rooting it and installing a custom ROM, and I can't flash it back to stock.
Click to expand...
Click to collapse
If you already have a back up try this out. Format system, Format data, Format cache. Wipe cache partition, Wipe dalvik, Wipe data/Factory Reset. Do all these twice not once but twice then reinstall backup rom and reboot. See if this fixes the problem.
No Joy
richardlibeau said:
If you already have a back up try this out. Format system, Format data, Format cache. Wipe cache partition, Wipe dalvik, Wipe data/Factory Reset. Do all these twice not once but twice then reinstall backup rom and reboot. See if this fixes the problem.
Click to expand...
Click to collapse
Creating a backup was the first thing I did after I rooted it, so I did what you suggested. The first four steps went well enough:
Reboot to recovery ---> mounts and storage ---> format /system ---> Yes - Format ---> Done. (x2)
mounts and storage ---> format /data ---> Yes - Format ---> Done. (x2)
mounts and storage ---> format /cache ---> Yes - Format ---> Done. (x2)
wipe cache partition ---> Yes - Wipe Cache ---> --Wiping cache... Formatting /cache... Cache wipe complete. (x2)
When I went to wipe dalvik, I got this error the first time:
advanced ---> Wipe Dalvik Cache ---> E:unknown volume for path [/sd-ext]
So I tried it again, and it seemed to work:
Wipe Dalvik Cache ---> Dalvik Cache wiped.
Just to be sure, I tried it a third time and got the error again:
advanced ---> Wipe Dalvik Cache ---> E:unknown volume for path [/sd-ext]
After several more tries, it seems to be alternating back and forth between telling me it works and giving me an error message, so I moved on:
wipe data/factory reset ---> Yes -- delete all user data --->
It seemed to partially work, but also gave me an error:
-- Wiping data...
Formatting /data...
Formatting /cache...
Formatting /sd-ext...
Formatting /sdcard/.android.secure...
Error mounting /sdcard/.android.secure!
Skipping format...
Data wipe complete.
I tried it again three more times and got the same results, error mounting /sdcard/.android.secure. Moving on, I tried to restore a backup:
- backup and restore ---> restore ---> E:Can't mount /sdcard (x4)
The thought occurred that it might be trying to access an external SD card rather than internal storage, so I re-installed the one I had removed prior to mucking about trying to wipe things and tried again:
- backup and restore ---> restore ---> Couldn't open directory. No files found.
This was new, so I went back to the wipe data/factory reset step:
wipe data/factory reset ---> Yes -- delete all user data --->
This time it seemed to work without any errors:
-- Wiping data...
Formatting /data...
Formatting /cache...
Formatting /sd-ext...
Formatting /sdcard/.android.secure...
Data wipe complete. (x2)
Since that seemed to work, I repeated all steps from the beginning and moved on to the restore step:
- backup and restore ---> restore ---> Couldn't open directory. No files found. (x2)
I tried the restore from internal sdcard option:
- backup and restore ---> restore from internal sdcard ---> Couldn't open directory. No files found. (x2)
I then tried the "- advanced restore" and "- advanced restore from internal sdcard" but with the same results ---> Couldn't open directory. No files found. (x2)
Then I rebooted it:
- reboot system now --->
And yet again, it behaves as though it's been powered down since Thursday before last.

Categories

Resources