I I have a Galaxy S4 with KitKat 4.4.2 and TWRP installed. I have been using Nandroid for backups.
Today I (stupidly) deleted the CSC.apk file with Uninstall and the phone started acting really strangely. I tried restoring the CSC app but it wouldn't do it (I tried multiple times). So I booted into TWRP recovery mode and did a full restore which worked fine...until I rebooted the phone.
I have quite a few apps that continually crash with:
Unfortunately, (App Name) has stopped
and then all I can do is tap the OK button. After tapping OK the errors popup continuously.
Is this normal? How can I fix this without reflashing the phone? This is my first restore ever done with Nandroid Any ideas? Annoyingly I also lost the activation for my GPS app (CoPilot). I thought Nandroid was an exact clone/backup so when you screw the phone up you can restore back to EXACTLY how the phone was when the backup was done?
Anyway, appreciate any help or thoughts on how I can get my apps to work without the constant stopping popups!
Thank you!
Can anyone help please?
Go back into recovery and wipe both the regular cache and dalvik cache.
As to the lost CoPilot activation, you'll need to contact CoPilot, then explain the situation to them, and they should be able to help you.
Strephon Alkhalikoi said:
Go back into recovery and wipe both the regular cache and dalvik cache.
As to the lost CoPilot activation, you'll need to contact CoPilot, then explain the situation to them, and they should be able to help you.
Click to expand...
Click to collapse
Thanks! I tried that but after wiping both caches and rebooting the phone and entering my SIM PIN, I am still constantly getting the "Unfortunately, (App Name) has stopped".
Is there anything else I can try? I'm a but confused by this as I thought Nandroid was an exect image of the phone! I'm not worried about CoPilot at all but the rest is important
Do a factory reset from within TWRP, then restore from the nandroid backup. How old is this nandroid?
Strephon Alkhalikoi said:
Do a factory reset from within TWRP, then restore from the nandroid backup. How old is this nandroid?
Click to expand...
Click to collapse
I'll give that a try tonight. I am running Nandroid 4.4.5 and the backups were created about a week ago.
Many thanks for your help!
BB007BB said:
I'll give that a try tonight. I am running Nandroid 4.4.5 and the backups were created about a week ago.
Many thanks for your help!
Click to expand...
Click to collapse
So I tried doing a factory reset from TWRP and then doing a Nandroid restrore but after rebooting the phone I was still getting LOTS of errors with applications not working. Even the firewall wouldn't work as it couldn't find the config file.
I don't get it, I thought Nandroid made an EXACT image of your phone so if something went wrong and you performed a restore, your phone would be back to a working state?
BB007BB said:
So I tried doing a factory reset from TWRP and then doing a Nandroid restrore but after rebooting the phone I was still getting LOTS of errors with applications not working. Even the firewall wouldn't work as it couldn't find the config file.
I don't get it, I thought Nandroid made an EXACT image of your phone so if something went wrong and you performed a restore, your phone would be back to a working state?
Click to expand...
Click to collapse
It does, but your backup can get corrupted.
Related
i did a nandroid backup after installing setcpu and when i restart everything force closes. cant even get a signal or see contacs or anything. uninstalled setcpu to see if that was the problem and it wasnt . tried to do nandroid restore and same thing. tried to repais ext sd. still nothing. what is up?
After restore fix uid's.
i had to format sd and re partition it came back now i have to download all my apps again. what did i do wrong with the nandroid backup and how can i prevent this from happening again? also was there a easier way to fix it then starting over?
Maybe try to wipe system and ext before applying the nandroid backup
Restore Orginal Sprint ROM
I rooted the phone and i did a nandroid back up just was unsure how i actually go and load that backup on the phone because rite now i have modaco loaded i just wanna un-root and reroot it again, so how do i load that original sprint ROM
pitmanr2003 said:
i did a nandroid backup after installing setcpu and when i restart everything force closes. cant even get a signal or see contacs or anything. uninstalled setcpu to see if that was the problem and it wasnt . tried to do nandroid restore and same thing. tried to repais ext sd. still nothing. what is up?
Click to expand...
Click to collapse
I went into recovery mode and cleared my dalvik cache and things came back to normal. However, random apps still fail like Google Maps search.
I have been having this issue ever since my phone booted up and all my apps sequentally had force close dialogs happen. I am running my apps from the SD and figured something went wrong with the boot up sequence. I tried doing a nandroid backup, reinstall fresh 1.1, but no luck.
I then used my backups to reinstall over all my apps, then went into Market to install them via that. Everything seemed to be just fine, but the phone app would still not dial anything and when I recieved a call, it gives the error "The process com.android.phone has stopped unexpectedly" and then proceeds to try to reset the phone connection. Most times I lose all data connection and need to reboot.
Recently, I tried installing the latest Modoco CDMA rom. No luck. I then did a Titanium backup and force reinstalled everything again. Still no luck.
Anyone have this issue and get it resolved? My Hero can do everything but make and accept calls. I really don't want to do a wipe as this problem can just happen again, so I would rather understand the process.
Thanks in advance.
Ceger
Simplest way to fix this should be clearing the dalvik/boot cache from fresh's kitchen. I really should write up a guide on how to do these simple tasks manually.
obelisk79 said:
Simplest way to fix this should be clearing the dalvik/boot cache from fresh's kitchen. I really should write up a guide on how to do these simple tasks manually.
Click to expand...
Click to collapse
Will that work on MCR 2.2 as well? I'll look into that. Is it something I can do from recovery?
Ceger
yes should work on mcr 2.2 and can be done manually from recovery, I know recovery does dalvik cache, not sure if it also kils the boot cache as well though. The older version only did dalvik.
obelisk79 said:
yes should work on mcr 2.2 and can be done manually from recovery, I know recovery does dalvik cache, not sure if it also kils the boot cache as well though. The older version only did dalvik.
Click to expand...
Click to collapse
Do you need to do both? Wiping the dalvik cache created lots of app fc issues, which would be fine if the phone actually worked. Still won't make or receieve calls.
And thank you for the assistance.
Ceger
Edit. Clearing the boot cashe got rid of the FC issues. However, still have same issue with the phone app. This is so annoying.
honestly the best bet to clear up the issues would be to do a full wipe from recovery. Wipe the phone clean then run the stock RUU and re-root and install your custom rom. Do a nandroid backup first just to prevent losing any of your info.
Unfortunately despite the many well written guides here on XDA there are always a few issues most likely a result of slight hardware quirks or unfortunate circumstances at the time of flashing.
Just for '****s and giggles' have you tried pulling your battery for 30 seconds, reinstalling it and booting the phone up?
Heck sometimes just a reflash of the rom right over top of itself. I've been tinkering with this phone since the day root came out and I still don't fully understand all of it's quirks.
Ceger said:
I have been having this issue ever since my phone booted up and all my apps sequentally had force close dialogs happen. I am running my apps from the SD and figured something went wrong with the boot up sequence. I tried doing a nandroid backup, reinstall fresh 1.1, but no luck.
I then used my backups to reinstall over all my apps, then went into Market to install them via that. Everything seemed to be just fine, but the phone app would still not dial anything and when I recieved a call, it gives the error "The process com.android.phone has stopped unexpectedly" and then proceeds to try to reset the phone connection. Most times I lose all data connection and need to reboot.
Recently, I tried installing the latest Modoco CDMA rom. No luck. I then did a Titanium backup and force reinstalled everything again. Still no luck.
Anyone have this issue and get it resolved? My Hero can do everything but make and accept calls. I really don't want to do a wipe as this problem can just happen again, so I would rather understand the process.
Thanks in advance.
Ceger
Click to expand...
Click to collapse
use these commands to clear cache
rm -r /data/boot-cache/
rm /data/dalvik-cache/
once you finish then reboot.everything should go away...
he's done that already.
then i suggest to extract the rom zip file, and get into command on your device and go under the system/lib or app and see what is listed in the folders. and compare it to the rom folder.
That's how i was able to fix the voice search on my device, one of the lib file was missing and got it to work after that.
obelisk79 said:
honestly the best bet to clear up the issues would be to do a full wipe from recovery. Wipe the phone clean then run the stock RUU and re-root and install your custom rom. Do a nandroid backup first just to prevent losing any of your info.
Unfortunately despite the many well written guides here on XDA there are always a few issues most likely a result of slight hardware quirks or unfortunate circumstances at the time of flashing.
Just for '****s and giggles' have you tried pulling your battery for 30 seconds, reinstalling it and booting the phone up?
Heck sometimes just a reflash of the rom right over top of itself. I've been tinkering with this phone since the day root came out and I still don't fully understand all of it's quirks.
Click to expand...
Click to collapse
Done and done and no difference.
reddick said:
then i suggest to extract the rom zip file, and get into command on your device and go under the system/lib or app and see what is listed in the folders. and compare it to the rom folder.
That's how i was able to fix the voice search on my device, one of the lib file was missing and got it to work after that.
Click to expand...
Click to collapse
Done, even manually moved some files in case they were corrupted at one point. Very bad move, nandroid backup was my friend there.
Guess a wipe will be the only option then. How annoying.
Thanks for all of your inputs.
Ceger
Another thought... would updating my phone with latest kernal compile possibly do the trick? Or how about a replacement process for google.com.phone?
Ceger
Interesting theory.... worth a try.
i had this issue once and it was because of somehow the uids for the apps got messed up. a wipe should fix this in most cases. but for me it went like ur issue. i almost event went back stock. then i looked into it and found that in my packages.xml file the the uids were all messed up. i had multiple uids and certs for the apps i was having issues with. so what i did was pulled the packages.xml from the device and erased the apps i was having issues with. then pushed it back and rebooted. that cleared the issue. so if i were u i would research that. do a google search on it. then if it doesnt work do the ruu and reroot. good luck man. i know how u must be feeling. i was there
toastcfh said:
i had this issue once and it was because of somehow the uids for the apps got messed up. a wipe should fix this in most cases. but for me it went like ur issue. i almost event went back stock. then i looked into it and found that in my packages.xml file the the uids were all messed up. i had multiple uids and certs for the apps i was having issues with. so what i did was pulled the packages.xml from the device and erased the apps i was having issues with. then pushed it back and rebooted. that cleared the issue. so if i were u i would research that. do a google search on it. then if it doesnt work do the ruu and reroot. good luck man. i know how u must be feeling. i was there
Click to expand...
Click to collapse
Actually, the fix was much simpler. I wiped the SD ext partition and just did a Recovery Wipe. It went back to stock modded rom that remained rooted. I then used Titanium to reinstall my apps with data and then MyBackup to get back some settings such as my scenes, etc. and all was good. Took all of 30 minutes to get my Hero back up and running in better condition than before.
Thanks all for the assists.
Ceger
com.android.phone
com.android.phone
i am facing this prob on cyanogen mod10....when ever i reboot my optimus 2x....i face this damn problem
help plzzzzzzzzzz.....!!!!!
hi guys, would really appreciate your help..
i was trying to fix my nexus 4's problem of unable to sync with google servers so i deleted the data/data/com.android.providers.settings and it indeed fixed the issue.
unfortunatley, after rebooting, i'm now:
- unable to get a lockscreen
- unable to get home button to work
- swipe down settings are gone. and so are notifications
is there another way to restore this other than a factory reset?
l33chpda said:
hi guys, would really appreciate your help..
i was trying to fix my nexus 4's problem of unable to sync with google servers so i deleted the data/data/com.android.providers.settings and it indeed fixed the issue.
unfortunatley, after rebooting, i'm now:
- unable to get a lockscreen
- unable to get home button to work
- swipe down settings are gone. and so are notifications
is there another way to restore this other than a factory reset?
Click to expand...
Click to collapse
Factory reset wil not help, reflash a factory image or custom rom if you are rooted.
gee2012 said:
Factory reset wil not help, reflash a factory image or custom rom if you are rooted.
Click to expand...
Click to collapse
He only deleted the data so of course a factory reset will fix it this.
You will probably take ages trying to fix and end up having to wipe anyway. I take it you haven't got a backup of any sort (nandroid/ti backup) etc?
Higgsy said:
He only deleted the data so of course a factory reset will fix it this.
You will probably take ages trying to fix and end up having to wipe anyway. I take it you haven't got a backup of any sort (nandroid/ti backup) etc?
Click to expand...
Click to collapse
Yup, my bad. So many users wiping the entire sdcard nowadays that i took it wrong and didn`t read correctly
I thought I did but I searched my PC and couldn't find any previously backed up data. So I guess I've no choice but to factory reset and reinstall my data
Higgsy said:
He only deleted the data so of course a factory reset will fix it this.
You will probably take ages trying to fix and end up having to wipe anyway. I take it you haven't got a backup of any sort (nandroid/ti backup) etc?
Click to expand...
Click to collapse
Hi there! I had had the same problem l33chpda had, but the factory reset fix worked just one time only, today i was about to resell my phone so i wanted to factory reset it, after that i've come across with the problem i had that time, again.
Don't know what to do, i have same issues mentioned by l33chpda, cant get into settings, swipe down settings neither, etc; when try to, phone just do nothing or stays one second and goes back home screen.
I have made nandroid (both clockworkmod and TWRP) of the phone when I bought it, but with online nandroid so i don't have any custom recovery installed.
While checking those nandroid backups, I've discovered the deleted folder backup in the clockworkmod nandroid folder.
Could it be possible to paste it back into "\data\data" folder? should that be the fix? Or I'll have to reflash all even though I dont wanna take that risk because is just that, the other things of the phone are intact and work great.
In case of reflashing, could you tell me about any easy tutorial on how to install clockworkmod recovery?
I own an LG G2 D800, KitKat d80020y rooted with stumproot.
I searched and haven't found anything that's worked.
My phone was running fine after I flashed the crDroid rom. I then used Titanium Backup to only restore Bluetooth Connections, to see if it'd work. I had tried this same thing before with a full restore, and kept getting stuck in a Boot Loop, and had to restore and wipe constantly.
Now after I rebooted, it's giving me the "System UID Inconsistent - Please Wipe Data Partition .... I'm Feeling Lucky"
I press the I'm Feeling Lucky, and a lot of apps are gone. Is there a fix for this other than restoring and reformatting again? I've downloaded the Fix Permissions app from the App store, but no luck.
Thanks for any help!
sixout said:
I searched and haven't found anything that's worked.
My phone was running fine after I flashed the crDroid rom. I then used Titanium Backup to only restore Bluetooth Connections, to see if it'd work. I had tried this same thing before with a full restore, and kept getting stuck in a Boot Loop, and had to restore and wipe constantly.
Now after I rebooted, it's giving me the "System UID Inconsistent - Please Wipe Data Partition .... I'm Feeling Lucky"
I press the I'm Feeling Lucky, and a lot of apps are gone. Is there a fix for this other than restoring and reformatting again? I've downloaded the Fix Permissions app from the App store, but no luck.
Thanks for any help!
Click to expand...
Click to collapse
I think you have not changed the settings in TB to the "legacy" folder. Search the forum for solutions
Probably the cleanest solution HERE
Hello All!
Before you tell me to search or check threads, I already have. This problem does not have anything to do with forgetting to disable the pins and fingerprints before backing up. My problem has do do with I have already disabled/removed security before backing up my nandroid. I check/select everything that I can to backup and it successfully completes. When I go to restore, everything looks to be properly restored, but alas, there is a problem. When I reboot, it asks me for a password to get into TWRP (apparently "default_password). But when I get in and go to file explorer to find anything, my entire storage is wiped. Like no OS or any files. The only other issue I've had besides this is when restoring a nandroid, it doesn't complete and reboots to a bootloop.
I am on the newest version of TWRP, 3.0.3-0. Any help would be greatly appreciated as I, and anyone who has had to redo the complete phone setup/customization, do not enjoy taking over an hour to get things back up and running. Cruddy thing is I did a Titanium Backup for my apps and settings, but they got wiped.
boostin91tsi01 said:
Hello All!
Before you tell me to search or check threads, I already have. This problem does not have anything to do with forgetting to disable the pins and fingerprints before backing up. My problem has do do with I have already disabled/removed security before backing up my nandroid. I check/select everything that I can to backup and it successfully completes. When I go to restore, everything looks to be properly restored, but alas, there is a problem. When I reboot, it asks me for a password to get into TWRP (apparently "default_password). But when I get in and go to file explorer to find anything, my entire storage is wiped. Like no OS or any files. The only other issue I've had besides this is when restoring a nandroid, it doesn't complete and reboots to a bootloop.
I am on the newest version of TWRP, 3.0.3-0. Any help would be greatly appreciated as I, and anyone who has had to redo the complete phone setup/customization, do not enjoy taking over an hour to get things back up and running. Cruddy thing is I did a Titanium Backup for my apps and settings, but they got wiped.
Click to expand...
Click to collapse
I am genuinely interested in this because I back up on a regular basis after each security update but I have never had to restore. Now it is my understanding that even if security is disable the data is still encrypted. Perhaps I'm wrong about that but if you ever did have a password or pin to log into the phone with have you tried to enter that into TWRP?
Sent from my Nexus 6P using Tapatalk
You only need to back up the defaults... system, data, and boot.
What should I back up in TWRP?
https://twrp.me/faq/whattobackup.html
redduc900 said:
You only need to back up the defaults... system, data, and boot.
What should I back up in TWRP?
https://twrp.me/faq/whattobackup.html
Click to expand...
Click to collapse
I understand the web is full of opinions, but I've read somewhere to backup EFS? I have also read somewhere before that what you said to backup, while is plenty sufficient, if you have space, to backup everything. I followed that and it lead me to an hour plus of restoring back to how it was. I will give it a go, hoping that I never have to use it, but it will work when the situation arises.
I've only ever backed up those three partitions, and never had an issue with restoring backups. You can certainly create a backup of the EFS/IMEI, but keep it stored in a safe place like on your computer or a thumb drive. One thing I should note is when restoring a backup, make sure to also flash the correct vendor.img if necessary.
I usually backup vendor with it but as earlier indicated I don't believe it's completely necessary. As far as EFS is concerned yes I would agree with backing that up however what I do is back it up to a separate backup folder and only write it if something were to ever happen to it otherwise leave it alone. That way you don't take a chance I'm corrupting something in that partition.
Sent from my Nexus 6P using Tapatalk
I've never successfully restored a backup on the Nexus 6P regardless of what version of TWRP I used. Different builds of TWRP give me different problems but none has ever worked. I've completely given up doing nandroid backups on this phone because it's a waste of time and disc space. I never had a similar issue on any other phone that I have ever owned and am not a newbie when it comes to rooting and custom roms. What I always ended up doing after a problem restoring a backup is flash the complete factory image using the flash-all.bat command and start over with everything I want to flash.
jhs39 said:
I've never successfully restored a backup on the Nexus 6P regardless of what version of TWRP I used. Different builds of TWRP give me different problems but none has ever worked. I've completely given up doing nandroid backups on this phone because it's a waste of time and disc space. I never had a similar issue on any other phone that I have ever owned and am not a newbie when it comes to rooting and custom roms. What I always ended up doing after a problem restoring a backup is flash the complete factory image using the flash-all.bat command and start over with everything I want to flash.
Click to expand...
Click to collapse
I have the same problem, so now I've started doing a TiBU and Verizon Messages backup, after all those are completed, transfer and save it to my PC. If I have any problems, I transfer from the PC to phone and it's less headache... kinda sorta.
Restore never worked to the fullest. I tried different versions of TWRP, same problem. Restore starts a red error line in beginning of the restore process an at the end it shows ‘Restore complete’. When I restart, everything looks restored but with bugs like:
-network or sim itself is not shown
-Bluetooth, wifi wont connect
-Quicksetting tiles not responding etc…
The idea of backing up via TWRP is to get every bit RESTORED properly, but it doesn’t work.
I take a full back up before moving to update the firmware version (example MIUI 10), if I do not like the firmware then I want to go back to the previous firmware version (example MIUI 9) and TWRP RESTORE feature never works. I have to again flash the rom and then restore everything via Titanium backup.
I always take a TWRP backup of all the items available:
System
Data
Cache
Cust
Recovery
Boot
EFS
Persist
Still it never restores properly. It’s a mere time waste or the restore option to be removed from TWRP as it never worked across of its versions.
Can anyone explain me in a line, what is Cust, EFS and Persist?
I really appreciate if anyone help me understand where I’m going wrong.