Description:
I have flashed a few ROMs and before I do, I backup my apps with app2zip or titanium backup. After a flash, I restore the apps without issues, but when running them some do run fine others just crash. If you run into the same thing, here is what I have done.
Step 1:
Download ROM Manager->Run it->and look for "Fix Permissions"->Run it & wait...After it is done, run the apps you had issues with.
*You can reboot to CWM recovery->advance->Fix Permissions.
Step 2:
If that doesn't work, unfortunately you are going to have to install them again from Play Store.
Hope this helps.
A standard method for badly behaving apps is to go to settings, manage apps, then delete cache or delete data for each app.
Or just don't use add2zip, it doesn't set permissions. Stick with tbu, never an issue and allot faster.
Again, do everything right and there won't be any issues and you shouldn't have to fix permissions
Twrp works the best for wiping cache and delvik. Doing it the other way mention, you're going to have to reboot anyway, might as well do it the right way. Plus with 76 apps, that would take forever
Sent from my SAMSUNG-SGH-I717 using xda premium
rangercaptain said:
A standard method for badly behaving apps is to go to settings, manage apps, then delete cache or delete data for each app.
Click to expand...
Click to collapse
I wish that would've worked, but it didn't.
dafoxs said:
Or just don't use add2zip, it doesn't set permissions. Stick with tbu, never an issue and allot faster.
Again, do everything right and there won't be any issues and you shouldn't have to fix permissions
Twrp works the best for wiping cache and delvik. Doing it the other way mention, you're going to have to reboot anyway, might as well do it the right way. Plus with 76 apps, that would take forever
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
Everyone experiences a different thing with backup apps, I've seen some that had issues using tbu. I did use Wipe Cache/Dalvik methods multiple times and didn't solve the issue. The above methods worked for me.
Related
Okay I can't seem to install any new apps or update any existing ones on my phone. I'm able to download them, but once it tries to install its always unsuccessful. Don't get mad if this is the wrong thread. I'm new to this but usually find answers to my problems with someone else's topic. Except for this one here. Any help?
Sent from my FroyoEris using XDA App
Try clearing system cache, reboot into recovery and clear dalvik cache, then reboot.
How do you clear system cache? Searched under settings could not find anything.
I've has the same problem. Lasted about two days. The apps would download but would stick on installing forever and would eventually fail. My solution was logging into Google on the phones browser. It seems like my account timed out on my phone, and after logging out and then back in, my market began to work perfectly again. You can also try what was posted above. Are you rooted? Cause of you aren't, then you won't be able to do those things said above. Good luck, hope this helps.
Sent from my nonsensikal froyo using XDA App
Tried clearing cache and signing in and out of Google. Neither worked. I have opera set up as default browser, tried with both opera & phones regular browser. Still nothing. Yes I'm rooted, running kaosfroyo v34.
Sent from my FroyoEris using XDA App
Try a factory/data reset. Sounds like your only option.
Reflash after that to make sure it loaded correctly.
A simple flash over to KaosFroyo V 37 fixed the problem. Thanks for the suggestions.
Sent from my FroyoEris using XDA App
Clear data for the market in settings. That usually works for me. If it doesn't, you can install the apps manually by using a file system manger (Linda File Manager, Root Explorer, etc.). The .apk should be in the download folder on the sd.
Sent from my ERIS using XDA App
Ok so I've tried all suggestions and nothing has seemed to work. I figured, why not try a new rom? So I flashed over to Vanilla Tazz. Seemed ok at first. Was able to update apps and download some new ones. Emphasis on SOME. Cannot for the life of me get back AndroZip which is my favorite file manager. Even backed it up with Titanium before all this started happening but still could not restore it. And now with Vanilla all you get is the crappy Android keyboard. So I download the HTC ime keypoard apk. Can't install that either. Try to download eoeAppInstaller to do so, can't install that. This is really, really, really pissing me off. Is a factory reset my only hope?
Sent from my VANILLA TAZZ using XDA App
Did you do a full wipe before installing the new rom? Try doing a dalvik wipe and rebooting. It shouldn't affect the current rom you're in.
Also, it sounds like whatever problem you had in the old rom was carried to the new one. Did you use titanium to restore any apps or settings? If so, you may have "restored" the problem.
Sent from my ERIS using XDA App
Have you messed with any system apps? Like moving the market to the sd card?
Sent from my ERIS using XDA App
I backed up my kaos rom and wiped all data and cache before flashing vanilla tazz. Just wiped dalvik but still no luck.
I used titanium to restore apps but no settings. And no I haven't messed with system apps. Should I try moving to sd?
Sent from my VANILLA TAZZ using XDA App
I had a problen with my FB not syncing with contacts (across several roms). Turns out something I was restoring with Titanium (not the FB app) was causing it. It'll be a pain in the rear, but you probably need to do a full wipe, flash a clean rom, and set everything up manually. OR you could probably nand restore to a rom BEFORE you were having this problem, create a Titanium back up, wipe, flash the new rom, and restore Titanium.
Hopefully, this will straighten things out for ya!
Sent from my ERIS using XDA App
Full wipe as in factory reset right? Will that unroot the phone as well, basically forcing me to start from scratch?
Sent from my VANILLA TAZZ using XDA App
Tried nand restore but kept getting an error and could not complete.
Sent from my VANILLA TAZZ using XDA App
Full wipe for "rooters" means wipe data, dalvik, and ext (if sd card is partitioned).
Have you renamed your nandroid? If so, remove any spaces and try again.
Sent from my ERIS using XDA App
I flashed sharks ed01 and it fcs the apps it opens. They all were restored from my backup root.
Sent from my SCH-I500 using XDA App
not a whole lot of info for me to work with here, but you probably are trying to restore some system things or something with an incompatible new rom. Likely the only way to fix it is a data wipe and then reinstall whatever applications you need... maybe clearing caches and datas of apps but I doubt it.
A data wipe is usually good anyways because the phone slows down when you have a lot of things installed and if you're anything like me you have a ton of stuff installed that you only used for one specific thing or for beta testing or whatever, and doing a data wipe and then just installing those applications on a need-to-have basis will give you a noticeable speed boost.
... or try a 'fix permissions'
nunyazz said:
... or try a 'fix permissions'
Click to expand...
Click to collapse
This should do the trick. 99% sure
Here's a new one. Searched and couldn't find.
I was on ICZen 1.3, and ran a batch backup on all user apps on Titanium Backup.
I should point out that some time ago on this ROM, I did flash the datafix_11032012.zip file. I felt this could be important information in the discussion.
I then reset/wiped/formatted and flashed ICZen 1.4 goodness. Waited, rebooted. Fixed Permissions, rebooted. I'm good to go to restore my apps+data.
But on the first couple that I restored (Angry Birds Space, among them), I tried to launch and immediately got a Force Close message "Unfortunately, Angry Birds Space has stopped"
This only happens when I try to restore with data. If I restore "app only", the app launches. But if I try to restore with data (even if "data only"), the app FC.
It's not a bad ROM download or flash. I've checked the md5 and even reflashed. Even went back to ICZ 1.3. Same result.
Being this is a data issue, I think the datafix file may have something to do with it. Who knows?
Any ideas here?
Two things. Did you do the data fix on RC1.4 (was it a clean install)? and I always suggest NOT doing batch backups with TB. Sure it saves time but in my past experiences, it cause more problems than it solves.
Try this. Go into TB and hit Preferences, then scroll all the way to the bottom and hit Troubleshooting. Once that opens, tick the Follow All Symbolic Links and see if that work.
Might have to wipe data and caches since you already tried to restore. Maybe not though. See if you can uninstall some app (I do not suggest useing AGB Space as a tester, it is a little wonky) and then reinstall it with the tweak above.
Woodrube said:
Two things. Did you do the data fix on RC1.4 (was it a clean install)? and I always suggest NOT doing batch backups with TB. Sure it saves time but in my past experiences, it cause more problems than it solves.
Click to expand...
Click to collapse
I did not do the datafix on 1.4. You think I should?
Woodrube said:
Try this. Go into TB and hit Preferences, then scroll all the way to the bottom and hit Troubleshooting. Once that opens, tick the Follow All Symbolic Links and see if that work.
Click to expand...
Click to collapse
Already tried this.
Woodrube said:
Might have to wipe data and caches since you already tried to restore. Maybe not though. See if you can uninstall some app (I do not suggest useing AGB Space as a tester, it is a little wonky) and then reinstall it with the tweak above.
Click to expand...
Click to collapse
I've uninstalled/restored and even redownloaded from the play store/market. The app launches with no data, but whenever I try to restore the data (via TBu) that's when it FC. I have just tried this on another app (Pandora). Same result.
I think what Woodrube was trying to say after you restore the apps with data,
did you try to reboot to recovery, wipe both cache and dilvik.
when the phone starts up again you should see a msg say "optimizing apps 1 of 123" or something like, cant really remember what it said.
i'm using iczen 1.4 too , came from 1.3 but didnt do a full wipe. so far no issues, if you have a nandroid, you may just want to recovery and flash over.
I have the same problem... Without solution? =/
Same problem. Cannot find solution anywhere
would also like to see an answer. I have the same issue on my captivate
Okay, after spending the whole day screwing with my phone me and my wife's phones are rooted, unlocked, and s-off running custom roms. Everything is cool except for one thing, somehow my wife's phone lost root and she is getting frustrated not being able to open certain apps and she's getting super pissed at me. Can someone please help. I tried running the perm root in the "noob proof tool thing" and reinstalled superuser in AmanRa and it did nothing. Out of ideas. How do you just root it?
from my ADR6425LVW using XDA
Have you tried checking the app that handles superuser permissions within the ROM itself?
Most Rezound ROMs have "Superuser" or "Super SU" in the app drawer.
Check how the program is handling permissions in settings and try updating the busybox binaries there for starters.
More than one superuser app running at the same time can be problematic too.
Reinstall the rom
---HTC Rezound with Tapatalk
In recovery clear cache and dalvik cache. And if you flash the same ROM you shouldn't have to wipe data.
Sent from my ADR6425LVW using xda premium
MedleHed said:
In recovery clear cache and dalvik cache. And if you flash the same ROM you shouldn't have to wipe data.
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
Yep, and back up text messages of course, she'll probably not appreciate those disappearing.
Got an option built into message app for SMS, and MMS can be saved a few ways such as this here (if Titanium Backup is installed and working properly with root, since you said "some" apps):
http://forum.xda-developers.com/showthread.php?t=1537931
okay, so can I just update su binaries and, in recovery, wipe cache and davlic cache then just restore her backup? Really trying to avoid having her set all her $hit up again.
Sent from my ADR6425LVW using XDA
Ohschit said:
okay, so can I just update su binaries and, in recovery, wipe cache and davlic cache then just restore her backup? Really trying to avoid having her set all her $hit up again.
Sent from my ADR6425LVW using XDA
Click to expand...
Click to collapse
Backup was suggested for if you re-flash the ROM and have her set back up lol, I mean that doesn't hurt.
Update SU binaries and wipe caches and check things out again.
To try and sit down and reason it out a bit: What apps are having issues, why just "some." Are all these issues actually connected and directly related to root access? Could just be permissions issue, or problem with restoring from Titanium Backups.
You can use Root Checker off Play Store to check that quickly. If that says you're ok, check the SU app on your ROM and settings, reinstall of that may help.
Again, all root is in a nutshell is access to the whole filesystem, accomplished on our phone by running the system as a particular user with administrative permissions. You interact with the Superuser apps, which in turn use busybox binaries to interface with the system.
Kinda odd it could just dissappear after being installed successfully, unless it got deleted or settings changed, or very unlikely file corruption. Worse case, if it is not another issue, you do not have root access, and cannot pin down the solution, a ROM reflash is suggested. Remember to reinstall SU then if the ROM doesn't have it of course, most all custom ones have root built in, Stock ROMs don't.
Flash a superuser.zip
That's what I had to do.
Sent from my ADR6425LVW
I actually did ALL the things you all recommended. Wiped all cache, flashed SU, and updated binaries. It worked. Thanks! You guys are awesome, saved me a huge headache!
Sent from my ADR6425LVW using XDA
same boat here iv flashed all and cleared all. but havent reinstalled yet...
Should work
Sent from my ADR6425LVW using XDA
Boy I'm not having great luck with my hardware atm. My Nexus 7 has got some serious lag issue, probably needing a factory restore, and now my SGS2 is playing up and looking like it might need the same. I'd appreciate the help before I go to that - not sure where I am on backups, I think this problem has been lingering for a while unnoticed, and its possible my scheduled Titanium task hasn't worked in a while because of this.
So let me run through. I was trying to update a few apps in the app store, and I got 'the package file is invalid' errors over and over. I was a little confused, and suddenly I was getting a flickering alert for 'low on application space' that would come and go.
I went into applications to see what my space was and it was fine, 400mb free. But I noticed that all of the apps were reading as zero size. I tried removing one I knew was big, and the free space adjusted by a real amount, but no change to the sizes in the listing. I went thru and uninstalled a bunch just to be sure. Even after this, I could still not install any apps without getting the invalid message.
I decided to restart and wipe the cache, thinking maybe something had gone wrong there. No change. All the installed apps were working ok, though, no problems running things. So, I decide that something minor has corrupted, and that a reflash of the current firmware would maybe do the job (which is a stock XEU build of ICS). I have 'Mobile Odin' and keep the current firmware file on the SD just in case. I of course want to run a backup first, so I fire up Titanium, which fails to do the backup, with an error about something catching fire trying to 'do calculation'. I begin to figure that something worse has happened by this point.
I decide to go ahead with the reflash using Mobile Odin. It seems to load fine, I tell it to wipe the cache and so on. The flash goes fine, and the phone reboots. I expected it to go through the little optimising applications thing it does, and true enough I see this box load up, saying 'start applications' and the spinning wheel. Then, it abruptly closes, and I get my home panel...
But here's where it goes severely wrong - every app I can think of now crashes, displaying the 'unfortunately XXX has stopped'. Boxes and boxes, for basically every app that in any way runs at startup, every widget, even my Swift Key and Swipe keyboards. Yikes! After clearing the huge backlog of boxes, I start trying to open stuff, and it quickly becomes apparent that no app will work, save for those that are physically part of the firmware (such as Settings, Messages, Phone, Contacts, Memo, Camera). Basically, unless its a stock app, it's just dead. My SD apps show up as if they aren't found, with the little grey SD box. I can't even open the Play Store to try redownloading an app.
I'm going to try, once I'm home from work, reflashing the firmware using desktop Odin. But, failing that, I will need a factory restore it would seem. Basically, I'm looking help either fixing the problem without a factory restore, or a way to back up my data (messages and app data) in case my Titanium Backups are old or broken.
Thanks :/
Edit: When I do a *#1234#, my CSC comes up as 'Unknown'. Would this cause these issues?
Boot into CWM recovery and fix permissions.
unclebob_2000 said:
Boot into CWM recovery and fix permissions.
Click to expand...
Click to collapse
I don't have CWM recovery installed. Will it be possible for me to install it with the phone in this state? Any reasons why the permissions will have gone like this?
gyaku_zuki said:
I don't have CWM recovery installed. Will it be possible for me to install it with the phone in this state? Any reasons why the permissions will have gone like this?
Click to expand...
Click to collapse
Flash a CF root kernel using desktop Odin, reboot into CWM via hard keys vol+ home and power. Find fix permissions, run it, reboot, hopefully work...
Most apps that aren't granted the right permissions that allow them to fulfil there main task will usually end up in a FC.
Sent from Jelly Fuelled SGS2
Orkane1989 said:
Flash a CF root kernel using desktop Odin, reboot into CWM via hard keys vol+ home and power. Find fix permissions, run it, reboot, hopefully work...
Most apps that aren't granted the right permissions that allow them to fulfil there main task will usually end up in a FC.
Sent from Jelly Fuelled SGS2
Click to expand...
Click to collapse
The phone is already rooted. Can I apply CWM as an update.zip from inside the current recovery?
gyaku_zuki said:
The phone is already rooted. Can I apply CWM as an update.zip from inside the current recovery?
Click to expand...
Click to collapse
Unsure. Most likely not. It would be like running 2 kernels at once... just wouldnt work. Wouldn't risk it. Could hard brick the phone.
Sent from Jelly Fuelled SGS2
First, Post your ROM and kernel details; Goto Settings - About phone, and post everything you see
Sent from my GT-I9100 using Tapatalk 2
Jokesy said:
First, Post your ROM and kernel details; Goto Settings - About phone, and post everything you see
Click to expand...
Click to collapse
No problem -
Model N: GT-I9100
Android V: 4.0.3
Baseband V: I9100XXLPS
Kernel V: 3.0.15-I9100XWLP7-CL340913 [email protected] #3
Build N: IML74K.XWLP7
I ask about the update.zip thing as it is a legitimate way to install CWM recovery according to various guides online.
Thanks for the help guys. Appreciate it.
gyaku_zuki said:
No problem -
Model N: GT-I9100
Android V: 4.0.3
Baseband V: I9100XXLPS
Kernel V: 3.0.15-I9100XWLP7-CL340913 [email protected] #3
Build N: IML74K.XWLP7
I ask about the update.zip thing as it is a legitimate way to install CWM recovery according to various guides online.
Thanks for the help guys. Appreciate it.
Click to expand...
Click to collapse
1. Backup your important data.
2. Uninstall apps you don't use
3. Using a ROOT capable explorer goto /data/app on your phone, delete all .odex files you find there
4. Disable System apps you don't need/use
- Goto Settings - Apps - All - Select the app you want to disable, select FORCE STOP, then DISABLE.
Repeat the step for each app
- Alternatively you can use titanium backup pro to freeze those apps
You can find the list of apps you can disable: here https://spreadsheets.google.com/spr...1gdDJRekl4QmkyNmIzUmRvX2h3UDVkQXc&output=html
5. Boot to recovery (the stock recovery)
- clear cache
- reboot phone.
6. If any user / system app gives you force stop warning, then clear the days of that/those app(s) in settings.
You should notice the difference!
Sent from my GT-I9100 using Tapatalk 2
Jokesy said:
1. Backup your important data.
2. Uninstall apps you don't use
3. Using a ROOT capable explorer goto /data/app on your phone, delete all .odex files you find there
4. Disable System apps you don't need/use
- Goto Settings - Apps - All - Select the app you want to disable, select FORCE STOP, then DISABLE.
Repeat the step for each app
- Alternatively you can use titanium backup pro to freeze those apps
You can find the list of apps you can disable: here https://spreadsheets.google.com/spr...1gdDJRekl4QmkyNmIzUmRvX2h3UDVkQXc&output=html
5. Boot to recovery (the stock recovery)
- clear cache
- reboot phone.
6. If any user / system app gives you force stop warning, then clear the days of that/those app(s) in settings.
You should notice the difference!
Click to expand...
Click to collapse
Thanks for that, but I'm sorry, what? I seem to be missing something - you've answered something that seems to be an entirely different problem! I can't even RUN an explorer let alone grant it root - so I can't reach the ODEXes, which aren't the reason for the FCs anyway.
This 'fix permissions' sounds like a good plan, I just need to know my best method for getting CWM onto the phone given it's state. I think I can use the update.zip method, but I may have to just wait until I can get to a machine capable of running Odin for me, to flash the CF kernel.
gyaku_zuki said:
Thanks for that, but I'm sorry, what? I seem to be missing something - you've answered something that seems to be an entirely different problem! I can't even RUN an explorer let alone grant it root - so I can't reach the ODEXes, which aren't the reason for the FCs anyway.
This 'fix permissions' sounds like a good plan, I just need to know my best method for getting CWM onto the phone given it's state. I think I can use the update.zip method, but I may have to just wait until I can get to a machine capable of running Odin for me, to flash the CF kernel.
Click to expand...
Click to collapse
Ok.
Let me tell you some things you need to know
1. Fix permissions only has much effect on system apps, only if their permission is broken
2. Flashing a new Kernel will never fix many FC
3. Have you booted to recovery and wipe cache? If after doing this and your problem still persist, then you might have perform a Factory Data Reset.
4. Flashing a new firmware via Odin will not dramatically stop Force close errors. You will still need a factory reset to fix that.
Sent from my GT-I9100 using Tapatalk 2
Jokesy said:
Ok.
Let me tell you some things you need to know
1. Fix permissions only has much effect on system apps, only if their permission is broken
2. Flashing a new Kernel will never fix many FC
3. Have you booted to recovery and wipe cache? If after doing this and your problem still persist, then you might have perform a Factory Data Reset.
4. Flashing a new firmware via Odin will not dramatically stop Force close errors. You will still need a factory reset to fix that.
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
I've tried wiping cache in recovery, yes. The only apps that run are the system ones. I can't explain why permissions may have been broken on the other apps, but it may be the case, so I'd like to try it. And, it was a flash via (Mobile) Odin CAUSED the FCs, so I don't know if that's true. Regardless, I'm heading home now, I can try flashing the CWM and run the fix permissions, and otherwise I need to figure out a backup solution before I factory restore.
I don't mean this wrong, but I'd prefer you don't just throw generic (yet good for general faults) advice if you don't have personal knowledge of the particular problem. It could be misleading.
gyaku_zuki said:
I don't mean this wrong, but I'd prefer you don't just throw generic (yet good for general faults) advice if you don't have personal knowledge of the particular problem. It could be misleading.
Click to expand...
Click to collapse
You know my aim wasn't to mislead you but to help. I actually missed somethings in your Original post like "Every apps now doesn't work" etc
Because the only apps that run now are the system apps proves that there is something wrong in the /data partition, a location where all user apps, settings etc are stored.
Anyway, it's always very good to try all other means possible before factory reset.
Sent from my GT-I9100 using Tapatalk 2
Jokesy said:
You know my aim wasn't to mislead you but to help. I actually missed somethings in your Original post like "Every apps now doesn't work" etc
Because the only apps that run now are the system apps proves that there is something wrong in the /data partition, a location where all user apps, settings etc are stored.
Anyway, it's always very good to try all other means possible before factory reset.
Click to expand...
Click to collapse
Oh, I'm sorry, I wasn't trying to offend you or have a go. I appreciate all the help about to try flashing the rooted CWM kernel, to try the permissions fix. If that doesn't work, I need to figure out some way of doing a backup of sorts, before I do a restore :crying:
UPDATE: After flashing the CF-Kernel to access CWM, I'm getting a message I'm unfamiliar with "The System UIDs are inconsistent" yadda yadda factory reset. I'm currently 'fixing permissions' It looks like it's stalled, but it may just take a while. I have a lot of apps. Anyone understand the UIDs message in my context?
Update 2: Had to factory restore, but was able to restore almost everything with no problems from a CWM nandroid backup. Thanks for the help.