[Q] Restoring a backup without an SD card - Nexus 5 Q&A, Help & Troubleshooting

Hey guys, I Google'd and searched for half an hour but couldn't find a definitive answer so sorry if this has been asked before.
Current status: bootloader unlocked, rooted, TWRP recovery, stock kernel and stock ROM (4.4.2)
So I'm going to backup everything using TWRP and this will save the backup to my internal storage. However I read in one of the beginners guides here that to install custom ROM's you should wipe data. So won't that delete the backup I just made?

An ultimately clean install would wipe the /data/media partition, however when you factory reset in TWRP it only wipes App data and not the virtual internal (/data/media).

Related

Rooted but new to flashing custom roms some questions from a beginner

New to flashing roms*
1-please we do the factory reset and wiping cash and dalvik cash before or after the flashing of the rom ??? especially cm9 rom i'm confused*
2-if i made a nandroid backup will i be able to return to rooted stock by just cwm restore ??? i do not care for binary counter at all but i need to return to rooted stock if i want*
3-is the cm9 rom already rooted and do not erase cwm or have itself cwm recovery or i will have to root cm9 again and install cwm to use nandroid backup ???*
4-if i put some of my personal pictures not related to any app in internal sd of the tablet will it backup in the nandroid backup and make the size of backup so big so i have to delete them before nandroid backup????
5-last question anybody tried flashing cm9 from external sd card and had success ???*Thanks alot
Mohamedselim said:
New to flashing roms*
1-please we do the factory reset and wiping cash and dalvik cash before or after the flashing of the rom ??? especially cm9 rom i'm confused*
2-if i made a nandroid backup will i be able to return to rooted stock by just cwm restore ??? i do not care for binary counter at all but i need to return to rooted stock if i want*
3-is the cm9 rom already rooted and do not erase cwm or have itself cwm recovery or i will have to root cm9 again and install cwm to use nandroid backup ???*
4-if i put some of my personal pictures not related to any app in internal sd of the tablet will it backup in the nandroid backup and make the size of backup so big so i have to delete them before nandroid backup????
5-last question anybody tried flashing cm9 from external sd card and had success ???*Thanks alot
Click to expand...
Click to collapse
Question
1 This must be done before flashing the rom, not after.
2 Yes, it will restore to the original backup you made.
3 The rom is rooted, almost all developer roms are pre rooted.
4 A nandroid backup will back up a exact copy of you tablet, if you have large photos you may run out of room and have to delete some.
5 Personally have not flashed this particular rom her.
Hope this helps you,
Sent from my GT-P5113 using Tapatalk 2

Best multiple ROM practice when using TWRP

Hello forums,
I have a rooted One running the latest official update version 44S with TWRP recovery. I am interested in flashing an Android Lollipop port (the one made from CM12 dailies). If I don't want to lose all my app data permanently (I know several resets and erases are necessary to swap ROMs), how can I back it up and then restore it once I've upgraded? Can I keep a backup of my current ROM/apps through the various resets necessary (just in case of big issues or bootloops)? FYI all my backups include system and data, but not cache.
Thanks to any help in advance!
If you're only backing up system and data, your phone will never boot when you restore the backup, you need to backup boot as well. You should always keep at least one backup on your phone at all times, just in case things go wrong. Unless you wipe your internal storage (which you don't need to do) you won't lose your backup. In regards to your user apps, just use Titanium Backup to back them up and then you can restore them after flashing a ROM.
Transmitted via Bacon

having trouble restoring a nandroid backup in twrp.

Hey there guys, im having trouble restoring my Rom backups through twrp recovery since im on cm 12.1 i had done nandroid backups of my stock and cm12 Roms. The other day i tried going back to previous rom but when i go to twrp/ restore option...there is nothing even though i have the backup folders in my external sd. I tried moving the folders to internal storage also to check if it shows in twrp but nothing there....what do i do, help me cuz this is essential for changing Roms and stuff.
Well I think I got the reason behind it. When the system partition is wiped, the backup that is created before the system being wiped is not read. I tried it my self, I flashed cm 12.1 doing it fail proof method (wiping cache/dalvik/data and SYSTEM partitions)and before flashing the ROM I did a nandroid back up which when I went in the restore option in twrp was there before flashing the ROM . once I flashed the ROM, after everything gets booted and all I go to twrp, even though I have the backup folders I just doesn't show in twrp restore. That's what I've figured. Is this really the reason or there's something else being it.....?
Sent from my SM-N9005 using XDA Free mobile app

In case of full storage wipe.

Hey guys.
I just moved from my Samsung Galaxy S4 to the Oneplus One few weeks ago. I had rooted the S4 and I am familiar with the whole rom flashing and kernel changing process. I usually store the file I want to flash in the SD card and flash it via TWRP. But the OPO doesn't have a external slot. This is making me think if I should root my phone or not since there is a chance of me wiping the OS off along with the data. I always take a nandroid backup but what if the backup itself is deleted from my phone? Is there a way to prevent this from happening?
Thanks in advance!
RishiVinayak said:
Hey guys.
I just moved from my Samsung Galaxy S4 to the Oneplus One few weeks ago. I had rooted the S4 and I am familiar with the whole rom flashing and kernel changing process. I usually store the file I want to flash in the SD card and flash it via TWRP. But the OPO doesn't have a external slot. This is making me think if I should root my phone or not since there is a chance of me wiping the OS off along with the data. I always take a nandroid backup but what if the backup itself is deleted from my phone? Is there a way to prevent this from happening?
Thanks in advance!
Click to expand...
Click to collapse
save your backup to pc before wipe
use fastboot method for install rom and firmware
replace backup from pc and restore
twrp support mtp mount
you can access storage even without OS
RishiVinayak said:
Hey guys.
I just moved from my Samsung Galaxy S4 to the Oneplus One few weeks ago. I had rooted the S4 and I am familiar with the whole rom flashing and kernel changing process. I usually store the file I want to flash in the SD card and flash it via TWRP. But the OPO doesn't have a external slot. This is making me think if I should root my phone or not since there is a chance of me wiping the OS off along with the data. I always take a nandroid backup but what if the backup itself is deleted from my phone? Is there a way to prevent this from happening?
Thanks in advance!
Click to expand...
Click to collapse
When wiping with TWRP use the advanced wipe feature, then only select system, data, cache, and dalvik cache. This won't wipe your internal storage so all files are safe.

[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

Categories

Resources