Can't restore touchwiz 4.3 nandroids - AT&T, Rogers, Bell, Telus Samsung Galaxy S III

I can't get any touchwiz based 4.3 nandroids to restore. The restore process seems normal but as soon as it boots I keep getting force closes. I think it is all Google apps that keep crashing. The only way I can make it stop is by going back into recovery and wiping data/factory reset and clearing caches. Its like setting up a new phone then. If I do an advanced restore I can restore everything but data without problems. Custom Roms backup and restore just fine. What do I need to do to make successful stock ROM backups?
Sent from my SAMSUNG-SGH-I747 using xda app-developers app

Maybe it's the recovery version you're using? Not sure.

I have tried the latest versions of cwm and twrp. I have tried several versions of each since I took the ota update and rooted a couple months ago.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app

You didn't provide enough detail to discern what might be going on.
I had similar issues and found that the older custom recoveries couldn't cope with SELinux or Knox properly. But there also seems to be bugs in the current recovery releases backing up boot partitions. The best result for me was to use the latest TWRP release but only backup /system and /data and that works perfectly.
The current release will not backup /boot and /cache properly and was causing my entire backup volume to fail. Just teething pains dealing with the 4.3 security measures. YMMV
.
.

Related

Dumb question about switching custom ROMs and Data

So, I've gotten pretty use to backing up the phone, wiping, flashing new rom even if it is just an update to my existing rom, and then restoring just the Data from my backup. Now, if I decide to go to a totally different ROM, I know it is almost required to do a wipe before flashing, but will I still be able to restore Data without it screwing up the phone? And just for clarification, I would be switching from one ICS ROM to another ICS ROM.
Threads from other phone sub-forums seem to indicate there should be no problem.
Not really. In my experience I never had issues with this, even when going back and forth from Gingerbread to ICS (I didn't restore data for some apps in those cases, though).
App data or system data? Never had a problem restoring app data between different ROMs using Titanium. Restoring any system data is almost sure to create random and possibly severe bugs. Its only okay to keep system data between different builds of the same ROM, and even then its not 100% foolproof.
There shouldn't be a problem with restoring app data from previous backups. I do this all the time with GOSMS. It's System Data that you should never restore unless the dev explicitly says you can. To save yourself the headache of problems, bugs, incompatibility and possible bootloops, always a good idea to keep system data separate between builds, updates and flashes unless told otherwise.
If in doubt keep your backup just in case and if you do have problems reflash then start restoring data one app at a time... Or a few at a time if you have a lot. I wouldnt restor any Gapps as they are all stored to your gmail anyway.
Sent from my HTC Vision using Tapatalk
I should specify I am not using Titanium. When I restore, it is from the cwm recovery advanced restore menu, and there is only a single Data option.
If you're talking about CWM "restore data" option then it's system data so what redpoint73 said applies.
redpoint73 said:
App data or system data? Never had a problem restoring app data between different ROMs using Titanium. Restoring any system data is almost sure to create random and possibly severe bugs. Its only okay to keep system data between different builds of the same ROM, and even then its not 100% foolproof.
Click to expand...
Click to collapse
OK, thats what I was trying to confirm, I was not sure what "Data" meant in the recovery advanced restore option.
Thanks!

Data fail on restore....

I've been running stock rooted MD4 with TWRP 2.5.0 and have done backup and restore several times just to try out new roms. Yesterday I decided to try Hyperdrive, did another backup, and gave it a shot. I decided it was much more than I needed so changed back to stock. I have a total of 3 backups, 2 of which I know are good because I've used them before. Now when I do restore I get "failed" on data restore. I've done the triple wipe of everything and even downgraded TWRP to 2.4.1 to no avail. I can get data to restore by restoring everything else, rebooting, then going back to recovery and restoring data. I'm open to suggestions guys. Am I missing something? Help would be very much appreciated.....
Sent from my SPH-L710 using XDA
I've had this same exact issue...the only way I fixed it was with what you found too, or by flashing the rom, booting up and then back into recovery and restoring data
I honestly have no idea why it does this, everything I've read said that this was an issue on older recovery versions when restoring files bigger than 2 GB,.but that's since been fixed.
BTW: CWM had this issue to for me

Restoring system data (Titanium Backup)

I know it's not recommended to restore system data when flashing to a different rom, but what if I'm just upgrading to a newer version of the same rom (newest nightly build)?
09eric09 said:
I know it's not recommended to restore system data when flashing to a different rom, but what if I'm just upgrading to a newer version of the same rom (newest nightly build)?
Click to expand...
Click to collapse
It would depend on what's been changed...
Take a backup and try it. Be sure to restore data, not system apps.
I'm also using TB a lot and trying here and there new ROMs. As long as you restore "Data only" you shouldn't have any problems. At least I didn't until now. Restoring the APP that way - I wouldn't recommend. I got issues very often like unmotivated reboots or APP just stops working after a while and so on. I would recommend do use APP Backup & Restore in combination with TB. After installing a new version of a ROM (mostly I do full-wipe) you can select the Apps you want to restore and they are running the installation process ! (so not just a recover). When I'm done with that I use TB to restore Data only. Didn't have any issues until now with that way. Hope that helps.

[Q] Restoring backups after Lollipop upgrade and TWRP 2.8.6.0

After upgrading to Lollipop FOB6 firmware using full odin and then rooting and installing TWRP, I have never been able to successfully restore a backup, ever!
From reading the dev forums it seems no one else has been able to do so either. Does anyone know what the heck is going on? Is there any toggle (like compression?) that we cant use?
This is a bit of a pain but not the end of the world. Certainly makes me hesitate to mess around with new roms though if I cant go back to my solid daily without having to start from scratch.
khanam said:
After upgrading to Lollipop FOB6 firmware using full odin and then rooting and installing TWRP, I have never been able to successfully restore a backup, ever!
From reading the dev forums it seems no one else has been able to do so either. Does anyone know what the heck is going on? Is there any toggle (like compression?) that we cant use?
This is a bit of a pain but not the end of the world. Certainly makes me hesitate to mess around with new roms though if I cant go back to my solid daily without having to start from scratch.
Click to expand...
Click to collapse
I think what is going on is that the directory structure in Lollipop is a little different from the one in Kitkat. To give you an example, the user installed applications in Kitkat are placed under /data/app like this:
/data/app/com.my.application.apk
But in lollipop the same app is installed as:
/dats/app/com.my.application.apk/base.apk
So a backup taken from your data partition in Kitkat cannot be readily restored in Lollipop. The directory structure is just wrong and nothing works. The solution is for someone to ether write a conversion script or for the TWRP people to incorporate such a script in their future releases.
najoor said:
I think what is going on is that the directory structure in Lollipop is a little different from the one in Kitkat. To give you an example, the user installed applications in Kitkat are placed under /data/app like this:
/data/app/com.my.application.apk
But in lollipop the same app is installed as:
/dats/app/com.my.application.apk/base.apk
So a backup taken from your data partition in Kitkat cannot be readily restored in Lollipop. The directory structure is just wrong and nothing works. The solution is for someone to ether write a conversion script or for the TWRP people to incorporate such a script in their future releases.
Click to expand...
Click to collapse
Thats true - I did read about that. And that would definitely explain being unable to restore a kitkat rom.
However, I cant even restore a lollipop backup after flashing a different lollipop rom! Even if they are both derived from the same FOB6 base! That is what is even more confusing. Try it - backup, wipe all the partitions except int and ext sd of course and then try to restore... it just doesnt work!
Way I dit it just use factory reset only don't wipe anything specialy internal storage and don't use format. While restoring TWRP formats partition that been restored. I'm using TWRP 2.7.2.0
I've had no problem restoring from a TWRP Backup on Lollipop numerous times.
najoor said:
I think what is going on is that the directory structure in Lollipop is a little different from the one in Kitkat. To give you an example, the user installed applications in Kitkat are placed under /data/app like this:
/data/app/com.my.application.apk
But in lollipop the same app is installed as:
/dats/app/com.my.application.apk/base.apk
So a backup taken from your data partition in Kitkat cannot be readily restored in Lollipop. The directory structure is just wrong and nothing works. The solution is for someone to ether write a conversion script or for the TWRP people to incorporate such a script in their future releases.
Click to expand...
Click to collapse
I noticed that in every folder in /data/app/ there is an apk called base and a folder lib, can i backup just the apk? Or when i need to share an apk or take an apk i need to take also rhe lib?
dugryce said:
I've had no problem restoring from a TWRP Backup on Lollipop numerous times.
Click to expand...
Click to collapse
What is your TWRP version? Also, did you do any wipes before you fully restored a backup?
khanam said:
After upgrading to Lollipop FOB6 firmware using full odin and then rooting and installing TWRP, I have never been able to successfully restore a backup, ever!.
Click to expand...
Click to collapse
Does yours ever end up losing touch screen sensitivity when you restore a backup? Mine always looks like it has fully restored everything, but then no response to screen taps.
senozlu1 said:
Way I dit it just use factory reset only don't wipe anything specialy internal storage and don't use format. While restoring TWRP formats partition that been restored. I'm using TWRP 2.7.2.0
Click to expand...
Click to collapse
Oh I'll try this and report back. Thanks
Sent from my SM-N900T using XDA Free mobile app
yummymango said:
What is your TWRP version? Also, did you do any wipes before you fully restored a backup?
Does yours ever end up losing touch screen sensitivity when you restore a backup? Mine always looks like it has fully restored everything, but then no response to screen taps.
Click to expand...
Click to collapse
Mine just fails. But then again I've been wiping the partitions before restoring. Maybe that impacts it?
Sent from my SM-N900T using XDA Free mobile app
khanam said:
Mine just fails. But then again I've been wiping the partitions before restoring. Maybe that impacts it?
Click to expand...
Click to collapse
One of the devs, who runs the Lollipop ROM I've been using, warned against restoring data. He suggested backing up apps + data through Titanium Backup instead. Maybe it depends on the ROM?
najoor said:
I think what is going on is that the directory structure in Lollipop is a little different from the one in Kitkat. To give you an example, the user installed applications in Kitkat are placed under /data/app like this:
/data/app/com.my.application.apk
But in lollipop the same app is installed as:
/dats/app/com.my.application.apk/base.apk
So a backup taken from your data partition in Kitkat cannot be readily restored in Lollipop. The directory structure is just wrong and nothing works. The solution is for someone to ether write a conversion script or for the TWRP people to incorporate such a script in their future releases.
Click to expand...
Click to collapse
Hi
I have a rooted S4 running Carbon. Im using TWRP 2.8.5.0 and can backup and restore any
KK rom with no issues. I can flash Lollipop and backup but it will not restore this backup.
Its says restore successful but then just boots back into recovery. If someone could resolve
this it would be great
Hello all,
TB doesn't seem to pick up the apk file when backing up which is quite frustrating. Does anyone have a solution?
i had backup using TWRP 2.8.7.0 my stock TW lollipop rom...Now i had flashed Dirty Unicorns v9.5...If i wanted to goto stock rom that nandroid backup wont work??? thats what people are complaining over here??

[Q] Back to KK aftet LP Update via Nandroid

I'm wondering if I can use a Nandroid backup to restore KitKat after I flash a Lollipop update in TWRP? I need KK for work apps but wanted to play with LP at home and was just wondering if a person could flip flop back and forth using Nandriod back ups.
Also while reading to research this I saw where people were having issues flashing the LP OTA from KK 4.4.4 via TWRP because of the software was being reported as the wrong version of Android (4.4.3) on the tablet. It appears that this was resolved with the updated version of TWRP so I installed the latest version 2.8.6.0.
So will this work or am I stupid for thinking it would?
thanks,
fasthair
I think just to be safe it would be better to reflash the KK firmware and then restore from the nandroid. I've never tried it, so I could be wrong. I would wait for someone with direct knowledge of the process to chime in so you don't brick.
Obviously you'd need to backup the nandroid data somewhere other than the tablet because it would be wiped when you reflash.
Another option could be using the factory images, assuming you bootloader is already unlocked (probably is if you're rooted/etc). When I upgraded from 4.4.4 to 5.0/5.0.1/5.0.2 I removed the -w flag from the batch file that wipes data. I don't know if you can use factory images to go backwards without wiping. I know you can use the factory images to go back, but not sure if you can do it without wiping.
Again, I'd wait for someone with experience chime in before trying anything if you aren't sure.
You can go back and forth no problem. Just don't mix the system and data partitions. They need to stay together. 4.4 system files with 4.4 data files.
Aerowinder said:
You can go back and forth no problem. Just don't mix the system and data partitions. They need to stay together. 4.4 system files with 4.4 data files.
Click to expand...
Click to collapse
Just so I'm clear on this "don't mix data" part. The Nandroid backup will keep these data partitions separate in the separate backup folders if I'm not mistaken correct?
Thanks to both of you for the help.
fasthair
fasthair said:
Just so I'm clear on this "don't mix data" part. The Nandroid backup will keep these data partitions separate in the separate backup folders if I'm not mistaken correct?
Thanks to both of you for the help.
fasthair
Click to expand...
Click to collapse
Yes it will. I meant that if you restore the system partition (from 4.4 to 5.0 or vice versa) that you need to restore data with it (and boot).
If you were on 5.0, and wanted to go back to 4.4, but only did a restore on the system partition, you will probably bootloop.
system, data, boot all must stay together.
Why not use multirom? Works flawless for me.
Solved
pargas said:
Why not use multirom? Works flawless for me.
Click to expand...
Click to collapse
I hadn't really thought about multirom to be honest.
Thanks everyone for your replies. I flashed LP after backing up my stuff. For whatever reason I couldn't get it to flash in TWRP using the update file Google pushed to my device some time back. Even after installing the latest greatest 2.8.6.0 it still came back with the error about the wrong version (4.4.3 in my case) being on my N7. So a fresh flash of LP with a wipe and I'm good to go.
Must admit I kind of like LP all though I'm not crazy about all of the white ever where or how it a takes 3 or 4 clicks to do what was 1 or 2 clicks on KK. Plus Plus I think KK was much better to look at instead of this Material Design UI but it is what it is. Going to have to go hunting around here for a transparent theme for the Google Search so I can have my transparent search bar and app drawer back. Anyone know of one?
Anyway thanks for the help everyone,
fasthair

Categories

Resources