[Q] Nandroid backup bugged - Galaxy S 4 Q&A, Help & Troubleshooting

Hey guys,
Btw I'm new here and here is my question.
I am having a problem with nandroid backups using twrp. It involves the phone and its apps not working properly. So first I have a fully functional i9505 on its stock touchwiz and it's rooted. I decided to try out a custom rom, specifically a GPe rom by dandroid13. Did a nandroid backup, wiped what's needed then installed. I kinda liked the touchwiz more so I restored the backup. Of course wiping again first. Now apps are malfunctioning like twitter images not appearing, Real Racing 3 crashing at EA logo and unable to save photos from facebook. No data loss only malfunctioning phone. I already fixed this problem before but by wiping and reinstalling the stock os from sammobile. I don't want to lose all my data again so is there another way to fix this? In short twrp's backup isn't a 100% backup, it is a bit bugged.
Thanks in advance!

Related

Messed up home screen after backup

I apologize if this post isn't very clear, I'm tired and English is not my native language...
I upgraded to Cyanogen's 5.0.7 Test 5 ROM not too long ago from CM 4.2.14.1. Before doing that I backed up my app data wit Backup for root users. I haven't done that before, so I checked multiple boxes, not knowing which one was the correct one. The tutorial I followed then stated I should check the SD-card to make sure only app data was backed-up, and no system data.
So I checked and found only maps from my apps.
So far so good.
However, when I restored the app data, my home screen got messed up. It thinks the fourth screen is the center one (so it goes there when pressing the home button) and all widgets say "Problem loading this widget". Also I can't change anything. I Can't remove or rearrange widgets or shortcuts. If I try to do so, Android crashes (FC on android.process.acore).
I'm pretty sure it is completely my own fault, not a bug in the ROM. When I restored the data I must have corrupted the file in which the home screen data is stored.
So, finally my questions: Is there a way to restore this without doing a wipe (I'm guessing re-flashing without a wipe will still keep the corrupted settings)?
If anyone can tell me which file is responsible for the home screen settings, can I delete it so Android will restore it with a new (empty) one?
Can I replace it with someone else's? Or extract it from a ROM-file?
That are the solutions I came up with. If its easier to just wipe and re-flash, tell me and I will do so. I just hoped there was a way I can prevent having to set up the phone all over again...
Thanks in advance!
Did you nandroid backup? If you did, restore it and backup all your apps using Titanium Backup. Backup for root users has always gave me problems as well. Titanium Backup allows all the same options that you need, but just works better imho.
If you didn't nandroid and can't do that - I'm pretty sure a wipe is your only option. You can try fix_permissions from the terminal, but I don't think it's going to fix your problems.
I did do a nandroid backup, but that was just before I flashed CM 5... I guess restoring a nandroid backup from my CM 4.2.14.1 setup is not a good idea?
Hmm, guess I will be re-flashing this evening Thanks anyway!
EDIT: I will use Titanium from now on... I had heard of it, but the tutorial I followed used Backup for root users...
Restoring a nandroid backup is NOT bad at all. That's what its there for. It doesn't matter if you nandroided a completely different ROM then flashed CM5. Flashing a new ROM doesn't affect the nandroid backup EVER.
You flash a nasty, nasty ROM and are like, "Oh ****!" Just go nandroid.
I usually wipe all data/cache before restoring, but some people don't. Either way, it completely restores your phone to the state it was at before backing up. This includes applications and everything. (App data, system settings, app settings, etc.)
I thought nandroid just restored system files and settings... But if it completely restores my phone, a might just as well wipe and re-flash since it will restore it to the previous ROM.
Thanks for the info, I have learned some more about my phone

Some super-simple noob backup questions

Quick and to the point:
1. Is a clockwork backup a full image of the system, such that if I restore from it no matter what kernel, rom, mod, etc. I've installed, I get exactly the completely system and state that I had when I made the backup? I.e., it is a true failsafe against messing up the phone, so long as CWR will boot and the SD card is intact?
2. A complete backup with Titanium, backing up all apps and system data, is a migration path for trying a new ROM? IOW, I can simply do a complete backup with Titanium, wipe wipe wipe, install the target ROM, then restore "missing apps and data" from Titanium and -- voila! I'm on the new ROM, but with all my apps, configuration, etc. I had before?
I'm getting ready to try out the Syndicate ROM...
dwallersv said:
Quick and to the point:
1. Is a clockwork backup a full image of the system, such that if I restore from it no matter what kernel, rom, mod, etc. I've installed, I get exactly the completely system and state that I had when I made the backup? I.e., it is a true failsafe against messing up the phone, so long as CWR will boot and the SD card is intact?
2. A complete backup with Titanium, backing up all apps and system data, is a migration path for trying a new ROM? IOW, I can simply do a complete backup with Titanium, wipe wipe wipe, install the target ROM, then restore "missing apps and data" from Titanium and -- voila! I'm on the new ROM, but with all my apps, configuration, etc. I had before?
I'm getting ready to try out the Syndicate ROM...
Click to expand...
Click to collapse
Ha! I am searching now for the exact same question! I am looking to try the Epic Experience. I will follow this thread to see what the answer is.
Thanks.
First off might I comment that Syndicate Rom is a great choice. Not just saying that cause any of them are my buddies either, cause IDK Any of them... so far though Running Syndicate Rom/Kernel with SetCPU at 200-1200 has been the smoothest Rom experience I have had up to date.
1. Is a clockwork backup a full image of the system, such that if I restore from it no matter what kernel, rom, mod, etc. I've installed, I get exactly the completely system and state that I had when I made the backup? I.e., it is a true failsafe against messing up the phone, so long as CWR will boot and the SD card is intact?
Click to expand...
Click to collapse
Yes in theory it is a backup of everything, data, apps installed, boot, system, literally the entire phone is backed up. Is it a failsafe though? I would rather say not. On some phones we can restore a clockwork recovery and have no issues, but since I've had my epic and switched around with different Roms, I've noticed that restore dosen't work quite as it should, probably because Roms are so much different, and you run into FC's, boot loops, and other issues... Restoring peices in advanced restore works well but a complete restore almost always has bugs.
True statement though that even if you screw up and get a boot loop, or constant force closes/phone restarts, as long as you can get back into clockwork your phone is not screwed. You were right on that one. So no worries if you wanna test and play.
2. A complete backup with Titanium, backing up all apps and system data, is a migration path for trying a new ROM? IOW, I can simply do a complete backup with Titanium, wipe wipe wipe, install the target ROM, then restore "missing apps and data" from Titanium and -- voila! I'm on the new ROM, but with all my apps, configuration, etc. I had before?
Click to expand...
Click to collapse
You have the idea right. You really don't even need to back all your apps up with titanium anymore these days, though, it too is plagued with FC's and problems. If you are using clockwork recovery, and you have made a backup already... all you have to do when installing a NEW rom is first wipe-fest, then let it boot once, then restart, go to clockwork, go to Advanced Restore, and ONLY restore the DATA part. (Reason for this is if you restore Boot, System, etc it will try to restore the Rom you just installed... Data is where all your apps/settings are at) This will do exactly the same thing as titanium backup will do, only with less bugs and alot easier.
Cool... thanks for the great response.
It's too bad there isn't an iron-clad, 100% reliable means to take a snapshot of the phone that can be restored reliably.
On WM it was simply a matter of using one of the various backup utilities (I used SPB Backup 2) to make an image of the system. No matter what I did to the phone, I could always wipe it back to factory clean, then restore from backup and have my phone back exactly as it was, with no issues.
I'm trying a CW backup, factory reset, restore cycle right now to see what happens. I'll report back on my experience.
EDIT: Okay, one deviation from the WM experience: The factory reset did NOT reset the kernel -- MixUp is still showing as the running kernel. Is Odin the only way to get the factory kernel back?​No matter what, I'm on my way after that to the Syndicate ROM!
EDIT: Okay, the CW restore seems to have restored everything back to the way it was, without problems after some brief playing around. No FCs (so far). On to wiping again, installing Syndicate Standard, then restoring data from CW as recommended here.​
OperationMove said:
You have the idea right. You really don't even need to back all your apps up with titanium anymore these days, though, it too is plagued with FC's and problems. If you are using clockwork recovery, and you have made a backup already... all you have to do when installing a NEW rom is first wipe-fest, then let it boot once, then restart, go to clockwork, go to Advanced Restore, and ONLY restore the DATA part. (Reason for this is if you restore Boot, System, etc it will try to restore the Rom you just installed... Data is where all your apps/settings are at) This will do exactly the same thing as titanium backup will do, only with less bugs and alot easier.
Click to expand...
Click to collapse
Alright I took the plunge and it seemed to work well. Some things that I noticed was that on first boot (before I did the restore), all of the preinstalled apps showed up (for instance, wireless tether, wired tether, launcher pro, etc...). Since I did a restore of the data, all of MY apps are there, but some of the apps that were preinstalled disappeared. Not all of them, though. For example, Launcher Pro and Wired and wireless tether disappeared, but Car Home is still there.
Another thing to note is that my widgets on the home screen don't seem to function correctly at first. I had to remove them and readd them to the home screen for them to work.
Other than that, everything is as it should be.
hotwired34 said:
Alright I took the plunge and it seemed to work well. Some things that I noticed was that on first boot (before I did the restore), all of the preinstalled apps showed up (for instance, wireless tether, wired tether, launcher pro, etc...). Since I did a restore of the data, all of MY apps are there, but some of the apps that were preinstalled disappeared. Not all of them, though. For example, Launcher Pro and Wired and wireless tether disappeared, but Car Home is still there.
Another thing to note is that my widgets on the home screen don't seem to function correctly at first. I had to remove them and readd them to the home screen for them to work.
Other than that, everything is as it should be.
Click to expand...
Click to collapse
Hmmm... okay. So just to provide a different datapoint, I'll go the Titanium route to get my own apps and settings back, and report. I'm guessing CW wiped the DATA partition before the restore, wiping out the pre-installed stuff from the ROM.
dwallersv said:
Hmmm... okay. So just to provide a different datapoint, I'll go the Titanium route to get my own apps and settings back, and report. I'm guessing CW wiped the DATA partition before the restore, wiping out the pre-installed stuff from the ROM.
Click to expand...
Click to collapse
Ok, since yesterday, I tried both ways. I did a wipe back to the default Syndicate Rom and installed Titanium Backup. While restoring, I noticed that not all apps would restore (seemed to be ones that were in the stock ROM so it's understandable). I did a restore of apps + data. Now, I had most of my apps back, however, I noticed that some of the data was missing. For me, most importantly was the SMS Messages. I also wanted to note that doing an application by application restore of the backup was very time consuming! I had to basically reinstall every app (and then Titanium restored the data)
Nandroid doesnt seem to touch the kernel on our phones ether I noticed. I had a problem yesterday after I flashed a new rom and when I went to do a restore through nandroid I got a bootloop. Once I reflashed the kernel it fixed the bootlooping problem. I have noticed this in other instances to with kernels not being backed up since I did one after I rooted my phone so I would have a stock image.
Thanks guys on your experience and feedback on the backup thing that I'm wondering what to do after stock root.
dito33
Sent from my SPH-D700 using XDA App
pyroswithoutfire said:
Nandroid doesnt seem to touch the kernel on our phones ether I noticed. I had a problem yesterday after I flashed a new rom and when I went to do a restore through nandroid I got a bootloop. Once I reflashed the kernel it fixed the bootlooping problem. I have noticed this in other instances to with kernels not being backed up since I did one after I rooted my phone so I would have a stock image.
Click to expand...
Click to collapse
This is what I have been told in the past- a nandroid restore does not replace the kernel

[Q] Difference between back up and installing from play store

Sorry for noob question I'm changing roms often and wiping everything every time and installing all my apps from play store again and again. I know nandroid backups but if I back up my installed apps with a program like go back up, there would be any issues with my apps? Or should I do clean install every time I change a rom?
Most roms on the nexus 4 should be okay dirty flashing. Then if there are problems you can wipe everything.
If you backup your apps you should be able to reinstall them on the new rom no problems.
I always backup and restore my apps and data with Titanium Backup, without issue, I highly recommend the pro version as its a very useful app to have.

Any problems moving to 4.3 after restoring apps and settings w/Titanium Backup Pro?

I'm thinking about finally moving to 4.3 using a custom ROM (haven't decided which one yet). I have Titanium Backup Pro and plan to restore all my apps and settings after the upgrade. Is this process likely to end in a stable system? I don't have the time and patience to go through installing and configuring everything again, so if it's not a dependable process I might as well wait for the OTA update (and deal with Knox later...)
Thanks!
Don't worry, this is what I did all is fine.
Before anything, make a backup of your internal SD (just in case), EFS backup and all apps with Titanium. Then in Phils recovery select option to erase everything for new ROM flashing. I also did manual wipe of cache & dalvik just in case. Don't worry, your internal card won't be touched, but always better safe than sorry. Then flash MJ5 kernel, and finaly flash your chosen ROM. Then you can restore apps from titanium. I had like 2 apps that didn't work at all after restore, probably incompatible with 4.3. The system is stable 100%. Never had a reboot.
Thank you Dalanik. This is very encouraging to know.
oren_b said:
I'm thinking about finally moving to 4.3 using a custom ROM (haven't decided which one yet). I have Titanium Backup Pro and plan to restore all my apps and settings after the upgrade. Is this process likely to end in a stable system? I don't have the time and patience to go through installing and configuring everything again, so if it's not a dependable process I might as well wait for the OTA update (and deal with Knox later...)
Thanks!
Click to expand...
Click to collapse
Did you try it? How did it go?
I had faced a lot of issues when I did this recently. My contacts and message apps started to crash. Could have been OS problem no idea, but I was losing all my messages and my contacts. Ended up using super backup and import/export feature. Then on TB i restored only the apps and not the settings or system data. Now its perfectly stable, no crashes whatsoever
If you erase phone completely for flashing, contacts will be restored automaticaly from google contacts, but I'm afraid SMSes won't. That's another thing worth backing up. I used SMS BAckup and Restore, works perfectly, although you can also use Titanium as well.

apps crashing in my backup (kitkat) after upgrade to Cyanogenmod 12 (lollipop)

Hi guys, so basically I made a backup of my STOCK rom and then I installed CYANOGEN mod 12 on the phone... Realizing I totally forgot about my contacts I then backed it up and "restored" my old backup of the stock rom which is kitkat. to find that EVERYTHING "stops working" so I cant get to my contacts.
Now heres where I believe I went wrong. I used philz touchwiz and upon my process to flash the phone I did the system/factory reset option or something like that and it asks if you'd like to wipe the phone to install a new rom. I selected yes so I thought that I was good to go and did not go further into the other stuff... I flashed cyanogen mod on the phone and then it said it was "upgrading my apps" ok well thats fine, and it ran great and no issues.... So going back to my STOCK backup after that, all the apps just crash, which I assume is due to still having the old apps which are "upgraded" to lollipop but the apps of course crash on "kitkat"
So, I've read that in a backup it saves all your apps and stuff.. It should return your phone back to exactly where it was when you made the backup. so why is it i'm having the app issues? I guess I need to delete them right?
So what is the options i need to do to get rid of the apps and do a proper phone wiping prior to a backup so that when I load my kitkat backup that It runs fine as it should? Wipe cache? dalvik? /data?, etc etc.... will it erase the main phones memory as a hole or no?
let me know how to correct this, I greatly appreciate it. I've tried googling to no prevail so far.
If I'm understanding correctly, you're trying to restore your KitKat apps onto cm12.
If that is the case, it will keep force closing apps. When upgrading and moving from touchwiz based Roms to AOSP based Roms you can't just restore from backups, the environment is different.
So to carry your contacts, I suggest recreating the same KitKat environment by clean installing whatever ROM you had, let google play store install the apps, then restore your app data only using philz advanced restore option (make sure all other options besides app data or data are unchecked)
Once all are restored, make a backup of your contacts and SMS using call log back up and SMS backup apps from playstore.
Back up any app progress using adb like
#adb -backup -f appname.ab -obb -noapk com.android....
And then do a clean cm12 install, let play store install all apps and start restoring call log, SMS, and your app data.
This takes a while, but it is worth it!

Categories

Resources