[Q] Cache & Data - G2 and Desire Z Q&A, Help & Troubleshooting

So, my GVoice app stopped working about a week ago. It would just crash on load. I went to clear the cache for it, and it was at 1.17GB. It wouldn't clear, I couldn't delete it with temproot. I renamed the folder, and that fixed it. The data is still there though.
The next day I went into my app management, and my browser, facebook, and a couple other apps have around 500-800MB. Again, I hit clear data/clear cache, it doesn't give me an error, but it also doesn't clear it.
Any idea whats going on? This happening to anyone else? I have run the cache cleaner from recovery as well. I just updated tot he new OTA, problem is still there. Everything seems to run fine though.

Sounds like something you did in one of your applications or in the settings is "Protecting" the cache. My best suggestion when all else fails is backup using titanium backup and then do a restore to factory settings and data in both bootloader and in recovery. Backup the sd card and wipe it as well, then just put personal data back to your sd card and restore with titanium, and all problems should be resolved

Related

[Q] Please help: Force close on everything, apps off SD not registering.

I currently have SyndicateRom Frozen 1.1.0 installed on my Epic.
Today, the phone seemed to start repeatedly rebooting.
I pulled the battery and restarted the phone.
After it booted up, all of my apps that are on the SD card don't register as installed.
Most of the apps on the phone force close as soon as I try to boot them up. Including Gmail and Maps. The Market seems to be one of the few things I can actually get into. My Gmail account is still active on the phone after looking in the account list under the phone settings.
It also seems as if my Keyboard no longer has it's dictionary up to date with the things I've added. When I tried to swype in my email address, it doesn't register and I had to type it in again.
Not exactly sure what happened here, but my phone doesn't seem to do much of anything right now. I can get text messages and phone calls at least.
Anyone have any idea what may have happened or how to fix it?
Shinomitsu said:
I currently have SyndicateRom Frozen 1.1.0 installed on my Epic.
Today, the phone seemed to start repeatedly rebooting.
I pulled the battery and restarted the phone.
After it booted up, all of my apps that are on the SD card don't register as installed.
Most of the apps on the phone force close as soon as I try to boot them up. Including Gmail and Maps. The Market seems to be one of the few things I can actually get into. My Gmail account is still active on the phone after looking in the account list under the phone settings.
It also seems as if my Keyboard no longer has it's dictionary up to date with the things I've added. When I tried to swype in my email address, it doesn't register and I had to type it in again.
Not exactly sure what happened here, but my phone doesn't seem to do much of anything right now. I can get text messages and phone calls at least.
Anyone have any idea what may have happened or how to fix it?
Click to expand...
Click to collapse
That is what happens when the phone gets improperly shut down with journaling off.
I'd say download 1.1.1 here: http://forum.xda-developers.com/showthread.php?t=1091680, put it on your sd card (hopefully you have a way to get it on there... if not just wipe data cache and dalvik 3X and flash 1.1.0, put 1.1.1 on your sd card, wipe data cache and dalvik 3X and flash 1.1.1.) If you can put 1.1.1 on your sd, just wipe everything 3X and flash it through clockwork.
qbking77 said:
That is what happens when the phone gets improperly shut down with journaling off.
I'd say download 1.1.1 here: http://forum.xda-developers.com/showthread.php?t=1091680, put it on your sd card (hopefully you have a way to get it on there... if not just wipe data cache and dalvik 3X and flash 1.1.0, put 1.1.1 on your sd card, wipe data cache and dalvik 3X and flash 1.1.1.) If you can put 1.1.1 on your sd, just wipe everything 3X and flash it through clockwork.
Click to expand...
Click to collapse
Thanks for the info qb. The phone is definitely registering that the SD card is there. I can still browse my picture gallery and stuff like that.
Will flashing 1.1.1 restore the phone to the way it was or will I have to reinstall all of my stuff and restore all my data?
I can get 1.1.1 on the SD card I'm sure. Since it's reading the SD card, hopefully it will read it when I connect the phone to my PC. If not, I have a microSD -> USB drive that I can use.
You will need to restore your last known good data from a backup.
Do you BONSAI?
Shinomitsu said:
Thanks for the info qb. The phone is definitely registering that the SD card is there. I can still browse my picture gallery and stuff like that.
Will flashing 1.1.1 restore the phone to the way it was or will I have to reinstall all of my stuff and restore all my data?
I can get 1.1.1 on the SD card I'm sure. Since it's reading the SD card, hopefully it will read it when I connect the phone to my PC. If not, I have a microSD -> USB drive that I can use.
Click to expand...
Click to collapse
If you have made a nandroid backup since flashing this rom you can just restore that. If not, then you will have to restore everything after wiping everything 3X and flashing the rom again. I'd recommend going to the 1.1.1 thread and look in the first or second post there is a way to turn on journaling and that wil eliminate this problem from happening again.
Well after wiping everything and installing 1.1.1, now it won't connect to my Wireless network.
keeps saying "connecting..." then goes right to "disconnected."
This really sucks.
Edit... wait.. that was my network being a little *****. No problems.
qbking77 said:
If you have made a nandroid backup since flashing this rom you can just restore that. If not, then you will have to restore everything after wiping everything 3X and flashing the rom again. I'd recommend going to the 1.1.1 thread and look in the first or second post there is a way to turn on journaling and that wil eliminate this problem from happening again.
Click to expand...
Click to collapse
Wiped everything and installed 1.1.1 and all is well now. I actually didn't have a recent back up (shame on me) so I'm starting fresh again.
Thanks for the info.

[GUIDE] A Noob's Guide to Flashing ROMs Manually

Here's the guide for rooting by rivera82falcon:
http://forum.xda-developers.com/showthread.php?t=1219246
Guide for installing ROMs by me:
Before installing the ROM...
1, Download Titanium Backup from the market, allow superuser permissions, then click menu>batch>backup all user apps.
2. Make sure fastboot is off in settings>power.
3. Put the ROM zip on the root of your SD Card
4. Download SMS Backup and Restore, and backup your SMS.
5. Back up your contacts by checking "back up my data" or something like that under settings/privacy
How to install the ROM...
1. Turn off phone, and hold power and volume down until you get a white screen that says Hboot.
2.Volume down/up is for scrolling; power is for selecting.
3. Scroll down and select RECOVERY.
4. Scroll down and selected BACKUP AND RESTORE.
5. Select BACKUP and wait for it to finish.
6. Hit the back button to go back to the main menu.
7. Scroll down and select WIPE DATA/FACTORY RESET.
8. Scroll down and select WIPE CACHE PARTITION.
9.Hit the back button to go back to the main menu.
10. Scroll down and select ADVANCED, then WIPE DALVIK CACHE.
11. Hit the back button.
12. Select mounts and storage and select FORMAT SYSTEM.
13. Hit the back button to go back to the main menu.
14. Scroll down and select INSTALL ZIP FROM SD CARD, then CHOOSE ZIP FROM SD CARD, then whatever the ROM zip is.
15. Let it do its thing. This may take 5-10 minutes. DON'T PULL THE BATTERY.
16. When it is finished, hit the back button to go back to the main menu.
17. Select REBOOT SYSTEM NOW. This boot may take up to 15-20 minutes so be patient. Once again, do not pull the battery!
18. Run the initial setup. When you're setting up your google account, make sure the "keep data backed up" or whatever box is checked. This will make sure to restore your/keep your contacts backed up.
19. Redownload Titanium Backup. Hit menu/batch/restore missing apps with data.
20. Redownload SMS B+R. Restore your SMS.
21. Enjoy your new ROM!
Nice guide for those not wanting to use a ROM manager.
When I restore the user apps will that also restore the app settings and gamesaves?
Sent from my HTC Droid Incredible 2 via the XDA app.
klabit87 said:
When I restore the user apps will that also restore the app settings and gamesaves?
Sent from my HTC Droid Incredible 2 via the XDA app.
Click to expand...
Click to collapse
I would recommend restoring the app only, and then go back and restore the data. You will then have whatever settings you had as well as game scores, levels etc after doing this. Just make sure that before you flash a new rom, to make a new backup, or at least a backup of the apps or games that may have had the settings, scores or levels changed. I have gotten into the habit of backing up my games after I get done playing. Nothing worse than flashing a new rom, and have to go back a few levels and start over
Just wondering - what exactly does formatting do? I've always done a system wipe, cache wipe, and dalvik wipe before flashing but I've never formatted. I've flashed a good half dozen ROMs without issue, so I was just wondering what the deal was with formatting.
I also haven't been wiping battery stats when flashing. That one makes sense to me though.
Sent from my Incredible 2 using XDA App
cory.spicer said:
Just wondering - what exactly does formatting do? I've always done a system wipe, cache wipe, and dalvik wipe before flashing but I've never formatted. I've flashed a good half dozen ROMs without issue, so I was just wondering what the deal was with formatting.
I also haven't been wiping battery stats when flashing. That one makes sense to me though.
Sent from my Incredible 2 using XDA App
Click to expand...
Click to collapse
I wouldn't wipe batt stats unless your flashing on a full battery. Really just a full data wipe and dalvik cache wipe will do it.... Then mount system and fix permissions if you're having trouble with rom after install/reboot. Can't hurt to follow above procedures, minus a battery stat wipe every time. That will reduce your battery's life over time...
Sent from my Incredible 2 using XDA App
Formatting is generally used to erase the SD Card, such as if your were going to partion the SD Card, or change the File System IE Ext 3 to Ext 4.
Guys, I updated the OP, based on feedback.
And I think the reason that I did all that extra wiping was from back in the droid incredible 1 forums. When gingersense roms came out, the op's of every thread said to wipe EVERYTHING like 3 times. I just did everything once, but still. I probably didn't need to wipe all that stuff.
Maybe change the title to "Noob's Guide to Flashing ROMs Manually"? The noob way to flash a ROM (or managing/creating backups) is definitely using Rom Manager.
Done. Good point, although ROM manager is known to mess things up.
Yeah what's now in the OP is the exact procedure I've been using, it's been working great so far.
Sent from my Incredible 2 using XDA App
I've never wiped battery stats, not really sure what the benefit is. Used multiple batteries and ROMs on my previous phone.
If you do a factory reset it wipes your data and cache. I generally just do a factory reset/dalvik wipe on new ROMs. When flashing over a ROM, just format cache and dalvik.
If you are really picky you can go into advanced and wipe each partition there manually.
thanks for the great write up. i hope this isn't a stupid question, but when you're switching roms and doing all this formatting do you lose your pictures, text messages, contacts, etc.???
wiping cache and dalvik is redundant after doing a data wipe/ factory reset. dalvik cache lives on the data partition. and the factory reset wipes cache already anyway.
Sent from my Incredible 2 using XDA App
shoman24v said:
I've never wiped battery stats, not really sure what the benefit is. Used multiple batteries and ROMs on my previous phone.
If you do a factory reset it wipes your data and cache. I generally just do a factory reset/dalvik wipe on new ROMs. When flashing over a ROM, just format cache and dalvik.
If you are really picky you can go into advanced and wipe each partition there manually.
Click to expand...
Click to collapse
I wipe battery stats now, but not through recovery. I download battery calibration from the market, and follow the instructions in the app. Major increase in battery life.
lddrew said:
thanks for the great write up. i hope this isn't a stupid question, but when you're switching roms and doing all this formatting do you lose your pictures, text messages, contacts, etc.???
Click to expand...
Click to collapse
If you wipe cache and/or dalvik cache only, no. If you wipe data/factory reset, you will lose any of the above on PHONE STORAGE. You can save pics to the SD card, so they won't be deleted, you can download SMS Backup and Restore from the market for texts. For contacts, some ROMs have backup assistant. For those that don't, make sure you check "backup my settings" under settings/privacy on your current ROM. This will back up your contacts to you google account. After you flash a new ROM, just check the "backup my settings" box when setting up your google account. Also, just redownload SMS B+R, and restore your SMS. If your pics are on the SD, they will still be there, you don't have to do anything. Hope this helps.
Lots of edits in the OP.
AgalychnisCallidryas said:
I wipe battery stats now, but not through recovery. I download battery calibration from the market, and follow the instructions in the app. Major increase in battery life.
If you wipe cache and/or dalvik cache only, no. If you wipe data/factory reset, you will lose any of the above on PHONE STORAGE. You can save pics to the SD card, so they won't be deleted, you can download SMS Backup and Restore from the market for texts. For contacts, some ROMs have backup assistant. For those that don't, make sure you check "backup my settings" under settings/privacy on your current ROM. This will back up your contacts to you google account. After you flash a new ROM, just check the "backup my settings" box when setting up your google account. Also, just redownload SMS B+R, and restore your SMS. If your pics are on the SD, they will still be there, you don't have to do anything. Hope this helps.
Click to expand...
Click to collapse
thank you so much, i've been doing a lot of reading but this has all the answers i was looking for in one place. i really appreciate it. thanks!!
This is the only guide I've managed to find that gives simple and concise instructions. Many other guides leave out steps, use different names for things, or use abstract terminology.
Very well done and a HUGE thank you! I'm new to rooting and I've been trying different roms like I've been doing it for years.
I'm glad I helped. I flashed my first ROM with my friend giving step-by-step instructions over the phone lol.
This is exactly what I do for ALL of my android devices.
However...especially when going from aosp to sense...or vice versa...system, data and cache should really be formatted.
This is really a solid habit to get into...as I do this with every ROM. This way I can accurately find bugs if applicable and helps me determine if the ROM quality is up to snuff.
Kinda like hand tightening lugs on wheels and torquing them.
Great writeup. Thanks!
Sent from my Xoom using xda premium

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

Few questions on using Titanium back up on GNEX.

I've used Titanium to do my back-ups on my old Galaxy Vibrant, so I have a general understanding of how it works. My question is this though, when I did back-ups in the past, they were saved to the SD card (I think), but the GNEX doesn't have an SD card. So if I do a back-up, won't the back-up I just made get erased when I wipe data before flashing a new ROM? Also, what about my pictures, will they get erased? I have hundreds of pictures on my phone, maybe even over 1000 TBH. I don't want to have to reload everything again. And last, does Titanium back-up your progress in games? I seem to remember that it does, but I don't remember for sure.
Any guides out there for doing Titanium back-ups on the Gnex? Why didn't those silly people just give us an sd card slot
ok even though it does not have a physically removable sd card it still does not get wiped when flashing roms and wiping the data cache partition. only if you do a factory data reset from the phone's settings. I've never needed to do that so dont worry i have 1000's of pics too. I'd back em up just in case on your laptop for safe measure though anyways. also when you backup th apps it does not save game progress unless you backup the app's data. then it should save preferences and progress and all that good stuff. Thank me if it helps!!
Ok, another thing I just thought of. After I flash the new ROM and enter my email, the phone is going to start automatically downloading all my apps, obviously I don't want to do that since I'm going to restore them with Titanium. How do I turn off the auto-downloading of apps?
After I flash the new ROM and enter my email, the phone is going to start automatically downloading all my apps
Click to expand...
Click to collapse
No it won't. It only restores your apps if you decide to not turn off the "restore my apps and settings" option. It's on by default, simply turn it off after you've entered your Gmail account. It's the next or the second screen after you logged into your Gmail account.
Ok, now my phone doesn't want to mount when I connect it to my computer. It charges, it just won't mount. ftw....
Hotstuff5964 said:
Ok, now my phone doesn't want to mount when I connect it to my computer. It charges, it just won't mount. ftw....
Click to expand...
Click to collapse
Not sure about the mount issue but I will tell you to definitely leave the auto restore on and let the market automatically download your apps after a wipe. You want to do this because it will automatically install the apps where as titanium will take forever and you have to manually tap install. Then once the apps are installed go to titanium and just backup so data only which is you game progress and preferences and such. I found this out the hard way lol
Sent from my Galaxy Nexus using Tapatalk
In my experience, the restore and wipe cache (maybe wipe data too) only clean the system/ or /cache, and leave the sdcard/ untouched. So the data backup by Titanium back-ups should work rightly.
BTW, I have some problem about using Titanium back-ups. If I always want to keep the newest backup of both application and system data, are the any useful script?
Although there's a script could backup the new application that installed after last backup, but what about the new system app/data? Because sometimes I may have change ROM and it will add some new system app/data.
So far, I use the script that backup all the system/application data. But I wonder it may leave duplicate backup to some app, that's the condition I want to avoid.
Any idea?

Photos not saving when using camera! OOS / CM13

Hey! I have an annoying problem with camera & photos on my OP3...
Camera launches fine but when I take a photo its not saved. If I try the Google Camera it says error while trying to snap a photo. Same issues on both OxygenOS and CM13.
Solved it once by formatting the whole internal memory (factory wipe didnt help), but now the bug is back again without reason - it worked earlier today but not now anymore?!?!? :S
The thing is, I really don't wanna format and set all things up all over again... Restoring a backup doesn't help... its like its another "external" thing thats broken.
I tried looking over permissions and clearing app data and what not... all the basic stuff is already tested out without progress!
Usually solve most stuff myself but this is just wierd. Anyone else had this problem? Solution? :angel: :good:
SOLVED: By doing a full backup in TWRP (system, data, boot) then copying it to PC. Then format data, copy back the backup from PC and restore it in TWRP. Voila, now it works by restoring the exact same backup where taking photos didn't work before. So its definently something else, which is solved by formatting everything on the phone!
I've had the same issue on my OnePlus 3 running stock OxygenOS (3.2.1).
I managed to resolve it by clearing the data on the camera app, which can be done by opening the Settings and going to the Apps list. Select the Camera app and click on the Storage information which then gives you the option to 'Clear Data'. This in effect resets the Camera app and seems to resolve the issue.

Categories

Resources