[Q][Request] Sharing CWM nandroid backups - RAZR HD Q&A, Help & Troubleshooting

Say I have a CWM nandroid backup in TAR format (not dedupe) with only the system (no data, no cache). A result of restoring this would be very similar to flashing the full ROM (leaving recovery untouched and maybe other stuff, unsure)
Say someone has applied an official JB OTA and would like to get back to stock ICS. It seems impossible to flash the full ICS ROM. AP Fastboot says:
Code:
downgraded security version
update gpt_main version failed
preflash validation failed for GPT
In such a scenario, my assumption is that applying someone else's nandroid backup would solve the problem.
What do you think?
Would it work?
Any other way to solve the problem?

Please someone, I need a backup too :angel:

For those interested (if any!), android69800 (thx!) and I worked together on this.
A backup covers 4 partitions: system, data, cache, boot.As suspected, we were able to export such a backup from one device to another and successfully restore it.
It is therefore possible to revert to stock ICS even if one has applied the final JB OTA (i.e flashing the stock ICS ROM with RSD Lite is no longer possible).
I have a nandroid backup of Orange FR ICS ("factory" since there's no data/cache in it) for whoever might need it.
If someone would be kind enough to provide me with a similar nandroid backup of SFR ICS, in TAR format, I'd be grateful. Note that if you have an existing backup in dupe format, or even if your backup has data/cache in it, it is quite easy create a TAR backup with no data/cache. I can give directions if needed.
Thanks in advance.

Related

[Q] Format system/boot

I want to know if i format system and format boot my defy in clockwork mod,will it brick my phone?
Because I want to fresh recovery nandroid to undo the camera fix patch.
Sorry for my poor English
Yes, brick.
I dont know exactly how clockworkmod recovery works but If you have a /system/ with 100 files and you restore a nandroid wich only contains 50 files, you end up with a system with only 50 files, restoring nandroid is like restoring exactly as it was before the backup.
Anyway i think there's something nandroid doesnt backup and its /boot or kernel partition im not sure, (thats why ROM developers ask you to flash a full SBF and then their nandroid) or ask you to install fixed-sbf (20mb or so) after a nandroid.
I have 2.51 backup nandroid and fix sbf for it.
Can it work?
If your current system version is the same as the nandroid backup, you can simply restore the nandroid. There is no need to wipe or flash boot-fix sbf.
Your phone may not boot if you restore a nandroid backup of incompatible version, say you restore 2.1 on a 2.2 rom. But your phone is not bricked as you can flash and/or restore the correct nandroid and/or sbf to fix it.
If i format system and format boot then wipe and flash froyo sbf with rsd-lite,Can it possibly work?
watitta said:
If i format system and format boot then wipe and flash froyo sbf with rsd-lite,Can it possibly work?
Click to expand...
Click to collapse
If you are going to flash an sbf file, you just need to wipe. Trying to format system and boot would be useless, as the sbf will overwrite both.
Sent from my Defy running adlxmod using Tapatalk

[Q] nandroid to zip...

Is there a way to convert a nandroid backup into a flashable zip file? I would like to have the possibility of returning to my rooted rom if ever I decide in the mean time to go back to stock rom and don't like it.
The question has been asked a few times but has never, to my knowledge, received a clear answer.
NoUseToRush said:
Is there a way to convert a nandroid backup into a flashable zip file? I would like to have the possibility of returning to my rooted rom if ever I decide in the mean time to go back to stock rom and don't like it.
The question has been asked a few times but has never, to my knowledge, received a clear answer.
Click to expand...
Click to collapse
A nandroid back up takes a snap shot of your entire OS. All of the /system files, all of the /data files. All the apps in their current state. I mean EVERYTHING is store in the nandroid back up. When you preform that there is a "backup/restore" option in the Clockwork ROM recovery image. You would just select "restore" then select the back up you want to store. I will advise you not to change the name of the file as the MD5SUMs will not match and it will not be able to load it. It's a flash-able .zip my nature. but it will verify it's own MD5SUM prior to flashing it.
which brings me to this point.
but to restore you nandroid you need to be a) rooted b)have clockwork installed.
Yup, you can do it, but you need a few things:
1) system.img and boot.img to flash
2) you'll also need a non-stock recovery, so if you return to stock, just go back to a rooted stock system, and keep the non-stock/cwm recovery so that you can apply the zip. This begs neidlinger's point above about just restoring your backup via recovery.
3) if you want to really cross your eyes and dot your tees, then you should also get the EBT partition from the stock firmware so that you can update the bootloader. Most people are fine using what ever old bootloader they had when they rooted, but I think it can cause bootloops with certain combinations.
So yes it can be done, but it's more an exercise in android-fu. You'll have to search around and take apart a few zips to figure it out.
what about this (just to see if I understand the approach): I make a cwm recovery of my present non-stock rom and I somehow manage to go back to a stock rom. If I miss my custom rom, I root , install cwm recovery and restore the backup stored on my external sd card...How is that?
NoUseToRush said:
what about this (just to see if I understand the approach): I make a cwm recovery of my present non-stock rom and I somehow manage to go back to a stock rom. If I miss my custom rom, I root , install cwm recovery and restore the backup stored on my external sd card...How is that?
Click to expand...
Click to collapse
That is correct
You are on a custom OS, you make a nandroid backup Via CRW (ClockWork Recovery) (it will store to the SDcard)
you go back to OE not rooted OS with stock recovery.
you don't like it, it's slow or ugly, what ever.
you re-root. Reinstall CWR
you wipe the device
select "backup/restore"
Then restore
and it will restore the Nandroid completely.
you boot the device to the exact point in which you left it.

[Q] How to use stock ROMs to upgrade PRL, for rooted CM 10.2 phone?

Hi,
I'm running CM 10.2, and using TWRP 2.7.1.2 Recovery.
I think that when I was "cleaning" my phone prior to installing ROMs, I was a little too thorough, since based upon my poor 3G/4G performance/coverage, I guess that my PRL list is pretty minimal.
I gather that the procedure to fix this is roughly:
Make a Nandroid backup from Recovery
install a stock ROM
update to latest PRL
Restore the Nandroid backup
But I don't understand some of the fine details. In particular:
When preparing the Nandroid backup, what options does one use?
What sort of "wipe" if any, does one perform at this point prior to installing the stock ROM
HOW does one install the stock ROM image asanti_c_sprint-user-4.1.2-9.8.2Q-122_XT897_FFW-5-6-release-keys-cid9.xml.zip ?! It looks a little different than custom ROMs
After updating the PRL, what sort of "wipe" should I perform prior to recovering from my Nandroid backup? I'd like to be thorough, but not so thorough that I wipe out the PRL update. Where does that PRL list reside?
Does the Nandroid backup include the ROM images which I flashed? (CM 10.2 and the corresponding GAPPS) If not, then in what order does one flash ROM images and recover my Nandroid backup?
TIA ...
1. Doesn't matter, whatever you feel you need to restore. At a minimum backup system. Backup data if you want your data saved...
2. None, if you use RSD Lite to reinstall stock it will wipe ALL. Everything will be back to stock (including recovery).
3. RSD Lite.
4. PRL List should not be wipe-able from recovery, AFAIK. Factory reset should be fine.
5. The backup will include whatever was currently running on your phone - CM, gapps, any installed applications, etc. Simply restore your backup, no order of operations here. Of course you'll need to reflash TWRP in order to restore your backup (again, flashing with RSD Lite resets the ENTIRE phone, including custom recovery).
If you had taken a backup of the stock setup, you could skip the whole RSD Lite crap and just restore your stock setup, download the PRL, and restore your CM setup. For future reference, step #1 after getting custom recovery is always always ALWAYS take a backup of your working stock setup before making any other changes.
Thanks for your detailed response. As a Mac user, I believe that RSD Lite isn't a viable option for me. I do have another Motorola Photon Q phone with the stock ICS image, but don't know whether that is helpful in this case.
I guess that I need a strategy using adb, fastboot and TWRP. Thanks ...
Sent from my XT897 using Tapatalk
jae_63 said:
Thanks for your detailed response. As a Mac user, I believe that RSD Lite isn't a viable option for me. I do have another Motorola Photon Q phone with the stock ICS image, but don't know whether that is helpful in this case.
I guess that I need a strategy using adb, fastboot and TWRP. Thanks ...
Sent from my XT897 using Tapatalk
Click to expand...
Click to collapse
The stock backup from that other Q would work. Just do a factory wipe and restore 'system' only from that other Q.

[Completed] Restore OS After Wiping System Partition - Galaxy S5

Due to problems with Google Services on my rooted Galaxy S5 (SM-G900F) I opted for a reset from TWRP and it returned to a condition where after some initial screens it was just stuck at "Checking for Updates" so I went back into TWRP and told it to wipe the other partitions. Whoops - now I have no OS (I was sort of assuming that the factory reset OS was somewhere else)
Which is the stock ROM for my Region - UK, unbranded - where do I get it from and how do I load it using Odin and/or TWRP?
TIA
Hello,
Did you make a nandroid backup of your stock ROM or a nandroid backup of a custom ROM if you installed one? If you have a nandroid backup of either of those then you can restore them in TWRP by choosing the restore option and then your nandroid then swipe the slider at the bottom of the screen. If you installed a custom ROM at any time before this and you still have the ROM file then you can reflash the ROM and Gapps.
If you don't have a custom ROM stored anywhere but can still get to recovery, then you can download any of the custom ROMs compatible with your device and a Gapps package that matches it and put them on your extsdcard then boot to recovery and flash the ROM and gapps, do the normal wipes in recovery after flashing, the normal wipes(wipe data/factory reset, wipe cache and wipe dalvik cache), DO NOT CHOOSE THE ADVANCED OPTIONS THAT LET YOU WIPE PARTITIONS.
Check this thread to see if it is your stock firmware, it SHOULD be but double check first, it also has instructions for rooting again and installing recovery.
http://forum.xda-developers.com/galaxy-s5/development/stock-rom-root-recovery-sm-g900f-t2967725
If that doesn't work then go to Sammobile.com and search for your stock firmware by using your device model number.
The firmwares can sometimes be found at samsung-updates.com also.
Find the right firmware for your exact model number and flash through Odin.
For further assistance, post your question in the forum linked below.
http://forum.xda-developers.com/galaxy-s5/help
Good luck.
Droidriven said:
Did you make a nandroid backup of your stock ROM or a nandroid backup of a custom ROM if you installed one?
Click to expand...
Click to collapse
Sadly not - wasn't expecting to need it, thought it would revert to factory default - I have Titanium backup of apps and data.
I am hopefully a few minutes away from downloading the stock ROM and hopefully can reflash that using ODIN.
KD
colehill said:
Sadly not - wasn't expecting to need it, thought it would revert to factory default - I have Titanium backup of apps and data.
I am hopefully a few minutes away from downloading the stock ROM and hopefully can reflash that using ODIN.
KD
Click to expand...
Click to collapse
Making nandroid backups in recovery is the most important and valuable function of custom recovery, flashing ROMs is its' secondary purpose Android is not like PC with a recovery partition that restores a factory IMG, on PC that factory IMG is stored in a recovery partition. The factory reset feature in stock android does not restore an IMG, it deletes all data from the user partition and leaves everything in system partition the way it is, if you delete a system app and then do a factory reset then you will still not have the system app that you deleted. Anything you modify in system remains the way you modified it if you use the factory reset option. You should only use the factory reset in recovery, not the factory reset in system settings when you have a rooted device with custom recovery.
I'm sure that when you found the recovery, the directions had to have mentioned making a nandroid backup of your stock ROM before flashing anything, your present situation is why you do that, so that if anything goes wrong then you can easily restore to the one ROM that you know for sure works with no issues.
Sent from my SCH-I535 using Tapatalk
Droidriven said:
I'm sure that when you found the recovery, the directions had to have mentioned making a nandroid backup of your stock ROM before flashing anything, your present situation is why you do that, so that if anything goes wrong then you can easily restore to the one ROM that you know for sure works with no issues.
Click to expand...
Click to collapse
I installed the TWERP recovery as part of the rooting operation and I didn't pay any attention to the backup option - I thought that's what Titanium did.
I am learning and will make sure that I take a Nandroid backup once I have it back up and running. Life would be so much simpler if only Samsunng didn't stuff their 'phones with bloatware that can't be deleted in stock mode.
KD
colehill said:
I installed the TWERP recovery as part of the rooting operation and I didn't pay any attention to the backup option - I thought that's what Titanium did.
I am learning and will make sure that I take a Nandroid backup once I have it back up and running. Life would be so much simpler if only Samsunng didn't stuff their 'phones with bloatware that can't be deleted in stock mode.
KD
Click to expand...
Click to collapse
Titanium backup can only backup data that you installed or downloaded, it does not backup anything that comes on the phone itself, that is what custom recovery is for.
When following guides to mod your device, read and understand ALL instructions before you even make the first move to touch your device. Get used to being thorough about reading and understanding first or you'll end up in a mess, possibly even hard brick your device, all it takes is one wrong move. Not all mistakes are fixable with android devices.
Sent from my SCH-I535 using Tapatalk

Reverting back to stock recovery

Hi,
I flashed Twrp but I can't backup, because it can't mount data.
I thought, I'd try to revert back to stock recovery and then flash twrp again.
Does anybody know how to do that without flashing an entire stock Rom?
Thanks
nearlygod said:
Hi,
I flashed Twrp but I can't backup, because it can't mount data.
I thought, I'd try to revert back to stock recovery and then flash twrp again.
Does anybody know how to do that without flashing an entire stock Rom?
Thanks
Click to expand...
Click to collapse
Hi
Why you just flash TWRP again and start from begining?
Anyhow if you wish to reflash your stock recovery You need to reflash a stock boot.img
Here you have 2 ways to do it:
http://forum.xda-developers.com/showpost.php?p=66934553&postcount=218
http://forum.xda-developers.com/showpost.php?p=66922116&postcount=215
In those threads the point was to re root but the principle is valid you can use them as guides
nearlygod said:
Hi,
I flashed Twrp but I can't backup, because it can't mount data.
I thought, I'd try to revert back to stock recovery and then flash twrp again.
Does anybody know how to do that without flashing an entire stock Rom?
Thanks
Click to expand...
Click to collapse
I had this problem and found out in my case, at least, it was because when I rooted, I didn't "format data" during the process. I've been told that if you don't format data during the process, you leave the data partition encrypted, and thus it can't be mounted (at least by non-system apps and processes). No guarantees here as always, but If you back everything up and redo the root process and do the data format, then you may be able to mount data. At that point you can restore your apps and info. I've also read (but haven't tried this!) that you can do a nandroid backup and restore ALL your data from that nandroid after you reset your phone (which the data format will do). You should google everything I have suggested and see if you can get what you need in this way, without having to reflash the ROM entirely or try to revert to stock recovery.
kettir said:
I had this problem and found out in my case, at least, it was because when I rooted, I didn't "format data" during the process. I've been told that if you don't format data during the process, you leave the data partition encrypted, and thus it can't be mounted (at least by non-system apps and processes). No guarantees here as always, but If you back everything up and redo the root process and do the data format, then you may be able to mount data. At that point you can restore your apps and info. I've also read (but haven't tried this!) that you can do a nandroid backup and restore ALL your data from that nandroid after you reset your phone (which the data format will do). You should google everything I have suggested and see if you can get what you need in this way, without having to reflash the ROM entirely or try to revert to stock recovery.
Click to expand...
Click to collapse
+1
Hi. Yes, I had to format everything. Now it works. Also the issues I had with Titanium Backup are gone. I flashed the ExtSdFix and I'm almost running like on Kitkat, yeah

Categories

Resources