Can't restore stock rom backup from TWRP (SM-G900F) - Galaxy S 5 Q&A, Help & Troubleshooting

Hello,
before I played around with getting root and flashing custom roms, I backup everything in Samsung Smart Switch.
After getting root and install TWRP, I backup the whole system (except the recovery partition) to the external sd-card from TWRP.
Now - after getting some experience with custom roms - I will go back to the stock rom from my TWRP-Backup. Set everything to factory default, wipe cache and dalvik and press restore. Select my backup... swipe to flash... everything seems ok. After reboot - no bootloop - a thousands of alert-messages pops up "blabla-app stopped"... Then appears only a black screen.
How can i restore my backup from TWRP? Or is there a stock-rom, so i can backup from smart switch? My System is a LRX21T.G900FXXU1BOJ1
Thanks alot!

Try clearing the caches from recovery and boot again
If it fails, try wiping everything again, then restore all partitions except DATA
See if it boots
If it boots - either reinstall apps etc manually, or use TiBu to restore the DATA partition

I've got it!
I flashed a stock rom with odin and restore with smart switch. Some settings are missing, but i think 90% is restored

Nice job

Related

Stuck on "Starting apps." on Quarx cm-10-20130527

After a battery empty, I restarted my Defy+. But now it got stuck on "Starting apps." at the end of the boot.
I have to wipe data to make my phone ending the boot.
If I restore data which I previously backup in recovery mode, I'm still stucked with "Starting apps."
How can I debug the settings or data that avoid that? I really want to restore my data.
ronpub said:
After a battery empty, I restarted my Defy+. But now it got stuck on "Starting apps." at the end of the boot.
I have to wipe data to make my phone ending the boot.
If I restore data which I previously backup in recovery mode, I'm still stucked with "Starting apps."
How can I debug the settings or data that avoid that? I really want to restore my data.
Click to expand...
Click to collapse
Are you using the new Teamwin recvoery to flash?
Ive had the same issue ( and many more besides that) for me, to fix the problem i did this:
Go back to recovery (Teamwin) and wipe everything
re-boot, go back to recovery (team win) and flash an older rom with clock work mod recovery, and let it boot.
re- start the phone and then go back to recovery ( clockwork mod) and flash the newer CM10 rom from clcokwork mod (First wipe everything /data/dalvik/cache/factory re-set)
2Pints said:
Are you using the new Teamwin recvoery to flash?
Ive had the same issue ( and many more besides that) for me, to fix the problem i did this:
Go back to recovery (Teamwin) and wipe everything
re-boot, go back to recovery (team win) and flash an older rom with clock work mod recovery, and let it boot.
re- start the phone and then go back to recovery ( clockwork mod) and flash the newer CM10 rom from clcokwork mod (First wipe everything /data/dalvik/cache/factory re-set)
Click to expand...
Click to collapse
Thanx,
Yes Teamwin delivered with cm-10-20130527.
What I done without success:
*Flash older ROM and restore more older data with CWM
*Push with adb unzipped
I should have flashed 10 to 20 times changing some steps each time. Each time I done wipe cache, dalvik and sometimes a data format and a wipe system.
I abandoned the idea to restore my data. Have to reenter all settings manually (find and enter account settings for CSip or some solooong preshared key for Vpncilla and so on).
Then what is positive: I format my data partition to ext4. I learnt a lot from very fragmented information for all those steps. I have a fresh new install.
ronpub said:
Thanx,
Yes Teamwin delivered with cm-10-20130527.
What I done without success:
*Flash older ROM and restore more older data with CWM
*Push with adb unzipped
I should have flashed 10 to 20 times changing some steps each time. Each time I done wipe cache, dalvik and sometimes a data format and a wipe system.
I abandoned the idea to restore my data. Have to reenter all settings manually (find and enter account settings for CSip or some solooong preshared key for Vpncilla and so on).
Then what is positive: I format my data partition to ext4. I learnt a lot from very fragmented information for all those steps. I have a fresh new install.
Click to expand...
Click to collapse
You can use Nandroid Manager to use ur data while the phone is booted, so install it, it will find ur backup, and the u can do a restore of ur apps, with data.
hackergnome said:
You can use Nandroid Manager to use ur data while the phone is booted, so install it, it will find ur backup, and the u can do a restore of ur apps, with data.
Click to expand...
Click to collapse
"Nandroid Manager currently supports nandroid backups created by TWRP and Clockworkmod (v5.xx and v6.xx) based recoveries! ".
Very nice app then. Thank you too late. I immediately install it.

[Q] Problems restoring a backup of the stock rom

I recently made a backup of my stock rom using TWRP, I then flashed cyanogenmod 12.1 and due some random reboots I wanted to restore my stock rom.. I went into TWRP, did a wipe on everything but the external sd card then restored the backup of the samsung rom boot, data, system. When it booted it said it was upgrading all the android apps then starting apps then all the apps it tried to start crashed and was left with a blank screen. Is there something you have to do, to be able to restore a stock rom after flashing cyanogen?
No, that should have worked, but I have seen that crash black screen after clearing caches in TWRP, I pulled the battery, booted again and it was fine
*Detection* said:
No, that should have worked, but I have seen that crash black screen after clearing caches in TWRP, I pulled the battery, booted again and it was fine
Click to expand...
Click to collapse
Wierd, yeah I tried a couple of reboots and it always crashes once it starts apps after a restore.
Try flashing a stock ROM with ODIN to get the phone back to 100% stock
Then root and flash TWRP again and see if you can restore the backup then, if not, try restoring the backup without restoring DATA which is where the apps are
If that works, you could use Titanium Backup to restore the DATA partition iirc, see if you can get around it that way

TWRP Recovery not working.

I just rooted my phone yesterday and I tried to delete a TWRP backup that was on my internal memory. I was unable to find out how to do it and set permissions in TWRP, which caused my phone to start booting with unable to start messages and a black screen. I tried restoring a backup and I wiped and restored, both have still same issue.
So at the moment I can start TWRP or factory reset, but as of yet, I cannot restore my backup.
When I backed up the phone I didn't select everything, I left out data.
Since you didn't backup your data, they are a few options. Wipe dalvik and cache from recovery, dirty flash a rom, clean flash a rom.
metalfan78 said:
Since you didn't backup your data, they are a few options. Wipe dalvik and cache from recovery, dirty flash a rom, clean flash a rom.
Click to expand...
Click to collapse
I was using an old version of twrp. I updated to 2.8.6.0 and it all works now, thanks.

Restore backup problem

Hi,
yesterday I decided to install new ROM - Cyanogenmod 12.1 on my Galaxy S4 only for tests. Before that I done backup with every partitions:
boot
system
data
cache
EFS
I'm using TWRP 2.8.7.0 recovery
After tests I restored my backuped ROM, but unfortunately OS doesn't work, I cannot even put my PIN code. Every time I see pop-ups with apps stoped working.
What I am doing wrong or how can I restore properly my old OS.
You may have to perform a factory wipe after restoring your old ROM or you may need to flash stock recovery to perform a factory wipe.

Help with TWRP Restore !

I just got a s5. And I got it succesfully rooted and also got TWRP working on it.
All the data from my previous phone was transfered to the s5.
Now I made some backups with TWRP with the default settings: Partitions boot, system and data.
With the backups in mind I was thinking I could easily restore it to a previous state.
Thinking I backed up all the data and wanted to make it fresh again, I wanted to restore it.
In the menu I chose the restore option with the same settings as the backup: Partitions boot, system and data.
And it gives a message restoring system succesfull.
But when rebooting, it keeps hanging and at the moment of loading the android system every bit of the system keeps 'hanging'
It keeps saying
'Unfortunately touchwiz startup unsuccesfully'
'Unfortunately youtube startup unsuccesfully'
'Unfortunately greenify startup unsuccesfully'
'Unfortunately app whatever startup unsuccesfully'
And so on and so on
Eventually it starts with a black screen with nothing loaded. Complete blackout.
So this backup doesn't work. And I try my second backup.
Unfortunately also the second backup gave these errors.
And also the third backup!
So the backup files seem the right size, it's some gigabytes, and it alway's keeps saying backup/restore succesfully.
But now it fails to restore and boot the backup
The things I tried.
-Trying three different backups
-Wiping cleaning data/dalvik/cache etc etc
-Restoring a part of the backup. First system, then data, then boot, no succes.
So i'm totally lost! Does somebody know how to fix this? Or have some tips to try??
You can't restore system and boot from a different model phone
That would be like trying to flash a ROM for one model phone to another without porting it
If it was an S5 you backed up, was it the exact same model (ie: G900F etc?)
Flash back to stock, then try restoring only DATA
Or use TiBu to restore your apps from the TWRP backup
*Detection* said:
You can't restore system and boot from a different model phone
That would be like trying to flash a ROM for one model phone to another without porting it
If it was an S5 you backed up, was it the exact same model (ie: G900F etc?)
Flash back to stock, then try restoring only DATA
Or use TiBu to restore your apps from the TWRP backup
Click to expand...
Click to collapse
Thanks for the reply! It was a backup and restore on the same phone. So that is why I thought it was supposed to be a easy restore.
But I found the solution hidden somewhere in one message on XDA:
"Originally Posted by Dr. Fed
Would you happen to know why, when restoring a TW 4.4.2 nandroid using TWRP 2.8.1 or 2.8.4, after running an AOSP lollipop ROM like CM12, the TW ROM boots but then the whole system force-closes? Before restoring the nandroid, I advance wipe system, data, cache, and dalvik. Then I restore the nandroid. It boots, but then some daemon crashes. Then all processes and apps. The screen goes black after a few crashes.
So, what I do is pull out the battery, boot into recovery, advance wipe system, data, cache, dalvik, flash a CM11 ROM, reboot. I let CM11 start up, skip the set-up, then I boot back to TWRP (2.8.1 and now 2.8.4), advanced wipe, restore TW nandroid, and now it works just fine.
It seems like TWRP doesn't fully wipe."
Here the steps for if other people will run into the same problem:
Problem: Android 5 is running, with twrp 2.7 performed a back up = Restoring the backup is difficult because it problably doesn't do a clean wipe somehow.
1. I downloaded a cyanogen 11 rom, a Android 4 version.
2. Installed it with TWRP. Somehow it 'wipes' it more efficiently.
3. From cyanogen 11 back to booting TWRP.
4. In TWRP trying the Android 5 restore.
And Amazingly this worked!! = Celebrate!!
chokolademan said:
Thanks for the reply! It was a backup and restore on the same phone.
Click to expand...
Click to collapse
Confused me with this line
chokolademan said:
All the data from my previous phone was transfered to the s5.
Click to expand...
Click to collapse
Good to see you solved it

Categories

Resources