Backup and rom switching - ZenFone 2 General

Hi, this is my problem:
I want to change the rom of my zenfone from stock to a custm one. The issue i have is that every time i factory reset i have to spend 2 hours downloafing everything and changing the settings of my phone. How can i avoid that when switching rom? If i do a nandroid backup with twrp, can i restore only the data on the other rom? Or this is a problem? Should i use titanium backup? Id like to save photos and every setting too

biondo_92 said:
Hi, this is my problem:
I want to change the rom of my zenfone from stock to a custm one. The issue i have is that every time i factory reset i have to spend 2 hours downloafing everything and changing the settings of my phone. How can i avoid that when switching rom? If i do a nandroid backup with twrp, can i restore only the data on the other rom? Or this is a problem? Should i use titanium backup? Id like to save photos and every setting too
Click to expand...
Click to collapse
You can't restore just the TWRP's /data backup from Stock to, let's say CM or from CM to Stock, the system's phone won't boot.
TWRP's Data Factory Reset or flahsing a custom Rom using TWRP won't erase the internal memory, so the files you have in the internal memory will be there.
Yes, you should use Titanium Backup when possible to restore your apps or some setting/data.
TWRP's nandroid backup is usually used to restore the "hole" Rom (data, system and boot, at least).
Regards.

elperroderoke said:
You can't restore just the TWRP's /data backup from Stock to, let's say CM or from CM to Stock, the system's phone won't boot.
TWRP's Data Factory Reset or flahsing a custom Rom using TWRP won't erase the internal memory, so the files you have in the internal memory will be there.
Yes, you should use Titanium Backup when possible to restore your apps or some setting/data.
TWRP's nandroid backup is usually used to restore the "hole" Rom (data, system and boot, at least).
Regards.
Click to expand...
Click to collapse
Many thanks, I'll use Titanium then.
Anyway i want to save a nandroid backup just in case
If i have a nandroid backup saved on my phone, and i factory reset, will it stay or will be erased?
I don't have an sd now, and looks like i cant copy it on my PC

biondo_92 said:
Many thanks, I'll use Titanium then.
Anyway i want to save a nandroid backup just in case
If i have a nandroid backup saved on my phone, and i factory reset, will it stay or will be erased?
I don't have an sd now, and looks like i cant copy it on my PC
Click to expand...
Click to collapse
TWRP makes the backup in the /TWRP folder placed on the internal memory, external memory/SD and maybe (I have not tried on this device and his TWRP version), OTG USB storage, at your choice.
As I told you before TWRP´s Data Factory Reset won't erase the internal memory, so TWRP folder won't be erased neither, but maybe have a copy of the /TWRP folder from your internal memory in your PC is a good option too.
But keep in mind that the stock recovery's Data Factory Reset will erase all the internal memory (not only /data).
Regards.

Related

nandroid + flashing/restoring across roms

I'm having a little trouble understanding nandroid vs. other forms of backup and would appreciate some clarification. I'm running CM nightly on my Fido (Canada) G4. I took a nandroid as well as titanium backup of the factory stock image before I flashed CM.
A poster in the last thread I made suggested if I wanted to restore to stock, I could simply restore the nandroid, but I've also seen people say you shouldn't use nandroid to go across ROMs. My understanding is that nandroid is like having a filesystem backup, which would obviously not react well if you restored it over a new operating system (e.g. two different versions of windows). Or is nandroid more like say Acronis, which takes an entire disk image and overwrites everything?
Other misc questions:
- If I do restore via nandroid, do I need to wipe all data / cache / system data before or after the restore?
- I assume I can use titanium to restore SMS + all non-system apps across ROMs, which would save a lot of time.
- If I'm going from one CM nightly to another, would titanium work for system apps (e.g. all my settings, or contacts, etc)
- If I want to flash a new CM nightly, do I need to follow the entire wipe procedure just as if it were going from one ROM to a completely different one?
Thanks!
always make a nandroid in recovery. i recommend keeping it on your micro sd card. in the event you need to return your device to it's previously functioning state, restore the nandroid in recovery. if you are running an aosp rom and your nandroid is touchwiz, wipe data, cache & dalvik before restoring the nandroid. if the backup is on your micro sd then feel free to wipe system as well.
if you want to flash a nightly or update to a rom you are currently running, simply wipe cache and dalvik then flash the update, gapps and any custom kernel that you may be running.
i cannot answer your titanium backup questions because i do not use that program
xBeerdroiDx said:
always make a nandroid in recovery. i recommend keeping it on your micro sd card. in the event you need to return your device to it's previously functioning state, restore the nandroid in recovery. if you are running an aosp rom and your nandroid is touchwiz, wipe data, cache & dalvik before restoring the nandroid. if the backup is on your micro sd then feel free to wipe system as well.
if you want to flash a nightly or update to a rom you are currently running, simply wipe cache and dalvik then flash the update, gapps and any custom kernel that you may be running.
i cannot answer your titanium backup questions because i do not use that program
Click to expand...
Click to collapse
yes, that's about what I have. ok, thank you for the clarification of what to wipe! that's good to know.
re flashing a nightly/update: using your method should preserve system data yes? so no need to reinstall all apps or system data?
and thanks, I'll hold out hope that someone with titanium expertise will be able to answer that one
kabutar said:
re flashing a nightly/update: using your method should preserve system data yes? so no need to reinstall all apps or system data?
Click to expand...
Click to collapse
yes, system/user data will remain. understand, however, that if you perform one of these dirty flashes and you have a problem with the functionality of the ROM, you'll need to do a full wipe and flash to see if this clears the issue before you report the problem in the development thread.
kabutar said:
yes, that's about what I have. ok, thank you for the clarification of what to wipe! that's good to know.
re flashing a nightly/update: using your method should preserve system data yes? so no need to reinstall all apps or system data?
and thanks, I'll hold out hope that someone with titanium expertise will be able to answer that one
Click to expand...
Click to collapse
Your right on both titanium questions.. However its not recommended to restore system apps you backed up on a aokp/aosp ROM to a touchwiz ROM and the other way around... Other than that like I said your fine
Sent from my WANAM'ED AT&T S4

[Q] Change rom question

I have a nexus 4, which unlocked and rooted standard android on it.
I have backed up my apps with titanium and backed up the rom via TWRP.
My question is if I change to a different rom using ROM Toolbox, will I be easily able to restore my apps from the phone or do I need the backed up elsewhere, does all the phone content get wiped?
Related to the above can i restore my existing rom, easily if I want to go back to it?
gjjh25 said:
I have a nexus 4, which unlocked and rooted standard android on it.
I have backed up my apps with titanium and backed up the rom via TWRP.
My question is if I change to a different rom using ROM Toolbox, will I be easily able to restore my apps from the phone or do I need the backed up elsewhere, does all the phone content get wiped?
Related to the above can i restore my existing rom, easily if I want to go back to it?
Click to expand...
Click to collapse
You do not need to wipe (format) your internal SD card so all your data will still be there (songs, pictures, apps on which you have performed backup on via titanium etc).
You should be able to restore your apps with titanium but sometimes there are apps that cause some problems.
And sure, you can go back to your nandroid backup (your old rom) at any time with TWRP.
Dark Emotion said:
You do not need to wipe (format) your internal SD card so all your data will still be there (songs, pictures, apps on which you have performed backup on via titanium etc).
You should be able to restore your apps with titanium but sometimes there are apps that cause some problems.
And sure, you can go back to your nandroid backup (your old rom) at any time with TWRP.
Click to expand...
Click to collapse
Thanks for the advice.
So if I use rom toolbox, I just download and install a rom as zip, but do not wipe anything, is that correct?
gjjh25 said:
Thanks for the advice.
So if I use rom toolbox, I just download and install a rom as zip, but do not wipe anything, is that correct?
Click to expand...
Click to collapse
I don't know, I never used rom toolbox, sorry.

[Q] What can i wipe without losing my nandroid backups?

I have searched online, and there is no definative reliable content on what portions of memory I can delete safely without loosing the nandroid backup. What I mean is, I have TWRP on my handset. Aside from the factory reset option, what else can I wipe? I am asking because I built a Cyanogenmod unofficial image, and flashed my handset with it. The phone booted ok; I got an error about NFC service stopping. So I restored the phone back to a previous nandroid image. I then, tried to install my image again. This time the phone goes into download mode. I think I saw something online about how doing advanced clean would fix this. So when I log into TWRP I have the following options:
Davlic Cache, System, Data, Internal Storage, Cache, and Micro SDcard. How can I know where my nandroid backups reside so I can avoid clearing that portion?
sansari123 said:
I have searched online, and there is no definative reliable content on what portions of memory I can delete safely without loosing the nandroid backup. What I mean is, I have TWRP on my handset. Aside from the factory reset option, what else can I wipe? I am asking because I built a Cyanogenmod unofficial image, and flashed my handset with it. The phone booted ok; I got an error about NFC service stopping. So I restored the phone back to a previous nandroid image. I then, tried to install my image again. This time the phone goes into download mode. I think I saw something online about how doing advanced clean would fix this. So when I log into TWRP I have the following options:
Davlic Cache, System, Data, Internal Storage, Cache, and Micro SDcard. How can I know where my nandroid backups reside so I can avoid clearing that portion?
Click to expand...
Click to collapse
By default nandroid backup is on internal storage but you can choose to save it on sd card as well. Tap on the top box/menu after you enter restore menu. If you choose sd card and twrp shows no backup then the backup is on internal storage. Explore a bit mate.
Or use file explorer check twrp folder in both storage. There should be subfolder of 'backup' in it.
You don't need factory reset. And just choose wipe cache/dalvik/system/data to install new rom/restore nandroid backup

[Q] Dirty flash rooted Note 3.

Need help here,
SM-N9005 rooted(knox tripped) with leak lollipop BNL8,
i wish to flash others rom but need to keep details in apps
(line,whatsapp,wechat etc)
,how to dirty flash rom,custom/stock all ok.
Thanks you.
1. install titanium backup
2. backup data and move to external sd card or PC.
3. flash other rom
4. wipe data
5. install titanium backup again.
5. restore backup.
toinktoink said:
1. install titanium backup
2. backup data and move to external sd card or PC.
3. flash other rom
4. wipe data
5. install titanium backup again.
5. restore backup.
Click to expand...
Click to collapse
Will the TB backup all the chat details in line/whatspp/wechat/sms?
Thx
normally it would backup everything, and upon restore it's like nothing's you've never wiped your data.

TWRP backup question

If I backup my system on tw recovery, and flash a new rom, will wiping my phone delete the tw recovery backup in case I have to restore my phone? Feel free to correct me on this, but to my understanding teamwin has it's own partition, and wiping does not mess with this partition?
matthewbhass said:
If I backup my system on tw recovery, and flash a new rom, will wiping my phone delete the tw recovery backup in case I have to restore my phone? Feel free to correct me on this, but to my understanding teamwin has it's own partition, and wiping does not mess with this partition?
Click to expand...
Click to collapse
I think TWRP backups are normally stored on your internal storage partition, so if you perform a (EDIT full factory reset doesnt wipe this, thanks Silesh) or wipe your internal storage, your backups will be erased too. The TWRP itself does install to the recovery partition (which will only be affected by a flash to the recovery, which a wipe will not perform), you're correct on that but the backups are held separately to that. You can copy your backups to another computer or SD card, I found my backup under /SDcard/TWRP/BACKUPS - you could either copy the folder with a root browser or use the ADB pull command (with the ADB terminal), though the TWRP backup may not show on a Windows desktop even if it's been copied correctly. However, if copied back to your phone, the TWRP backup should function.
Edit: thanks Silesh for correcting me, I was thinking of app data rather than user data!
echo92 said:
I think TWRP backups are normally stored on your internal storage partition, so if you perform a full factory reset or wipe your internal storage, your backups will be erased too. The TWRP itself does install to the recovery partition (which will only be affected by a flash to the recovery, which a wipe will not perform), you're correct on that but the backups are held separately to that. You can copy your backups to another computer or SD card, I found my backup under /SDcard/TWRP/BACKUPS - you could either copy the folder with a root browser or use the ADB pull command (with the ADB terminal), though the TWRP backup may not show on a Windows desktop even if it's been copied correctly. However, if copied back to your phone, the TWRP backup should function.
Click to expand...
Click to collapse
Thanks for replying. I can't transfer files from my computer to my phone, but I have thought about using the ADB sideload option from recovery. Is there a way that I can move my backup from my phone to my computer (and to my phone from my computer) using the sideload option, just in case I need the backup? I refuse to flash a new ROM without access to my complete backup, lol.
Internal storage is not formatted during a normal wipe. You have to specifically go into the advanced wipe and select internal storage to wipe it completely. So there is no issue while flashing a new rom if you don't choose the advanced wipe option.
You could also create the twrp backup in your external sdcard. That way your backup stays even if you wipe your phone using a factory reset or by mistake.
Strange. What's the problem of making backups to external SD? The function is right there (as Silesh mentioned). BTW: the very last version of TWRP is able to make backups straight to pc. This needs to be done FROM a pc though. TWRP is capable to work with fastboot now (using special command though, or with this GUI for pc: https://forum.xda-developers.com/android/software-hacking/tool-twrp-backup-restore-tool-pc-t3572241 )
You can choose whether you want to use internal storage or SD card when making a backup. It doesn't matter which you choose as long as you (and I learned this the hard way) pay attention to what you are doing and DO NOT WIPE internal storage or your SD card. Advantages of SD card is you won't lose your backup if you decide to flash stock. Disadvantage: if your card craps out on you backup is lost unless you have copied to PC or saved on cloud.
My Solution
I solved my problem by using the pull command in adb. Now if I decide to flash a new ROM, I can push my TWRP recovery back to my phone using adb and then recover it in my TWRP recovery.. I also backup using adb backup which backs it up directly to my computer anyways.
I knew about storing my TWRP backup on an sd card, but I haven't made time to get one. . I recently switched to the Motorola G4 Plus after my iPhone 6s decided to turn off and not turn back on. I eventually grew tired of the iPhone anyways due to lack of accessibility and freedom. Back in the day I owned androids but never rooted one or had one that was rooted. I did jailbreak my 4th generation iPod a few years ago. But I went through an iPhone 5s, and upgraded to a 6s and had that for a few months. I eventually just switched back to android after the longest time and I can't say that I regret it.
My Moto G4 Plus has been an amazing phone. I've only had it for a few weeks now, but I rooted it the day after I got it . So I'm a bit of a noob in the rooting community, . Since then it's been a pretty smooth transition. I've only got root access and xposed framework as of now. I was thinking about flashing a ROM so I made backups just in case, but I don't plan on making any major changes to the kernel or flashing another ROM. I'm satisfied with the stock ROM since Motorola pretty much made it as minimal as possible. I would recommend this phone to anyone. It's the most solid phone I've had yet.

Categories

Resources