How can I backup my rom. - AT&T Samsung Galaxy S 5

I finally got my phone rooted on lollipop. I want to install the xposed framework but all the instructions say backup your rom. I rooted using Deodexed_ROM but when I do home button, volume, power. I don't see an option to backup my rom. I'm also confused does titanium backup only backup apps or can in do a full system rom backup that I can restore from in case of a looping boot when flashing.
thanks

Because the bootloader is locked on AT&T S5's you can't install a custom recovery therefore you can't do a complete ROM backup. If you use Titanium, you will backup all your settings and apps for future updates. If you bootloop you have to reinstall the ROM that works for your model. Then use Titanium to reinstall everything back to the way you had it. Paid version is best for this.

Sgt.CM said:
Because the bootloader is locked on AT&T S5's you can't install a custom recovery therefore you can't do a complete ROM backup. If you use Titanium, you will backup all your settings and apps for future updates. If you bootloop you have to reinstall the ROM that works for your model. Then use Titanium to reinstall everything back to the way you had it. Paid version is best for this.
Click to expand...
Click to collapse
Technically, you can install safestrap for a custom recovery, but you'd also need to flash the NCE kernel to boot into safestrap. But, you'll likely softbrick trying to get back into the operating system, or you'll get constant app crashes. That's why I don't do system backups on lollipop. It was a headache getting the phone back to the way was.

Related

Need a bit of help, not sure what to do

So I was running Ultimate PureXSP v2.1 and it was starting to get really bogged down and slow so I figured id try and reinstall the ROM over the existing install, so I went into TWRP and installed it, the install said failed but because of the touch debug messages, I couldnt see the error message.
Anyway, TWRP has always had erratic screen movements and general weirdness, it would keep going back to the homescreen when trying to flash. So I rebooted and it got stuck in a bootloop!
I used flashtool to put a stock 201 firmware on and now its runnning okay again. But I have lost root and recovery and I dont think 201 can be rooted unless I downgrade first but I will probably run into data problems, I cant use titanium backup or a nandroid to back up my data.
What should I do? I dont have any backup software that works without root and I cannot root without downgrading and losing data.
Can I unlock the bootloader from 201 and then add recovery and root? I already have a TA backup and my unlock key.
Any help would be great!
Sent from my C5303 using XDA Premium 4 mobile app
Yup, that's what I did.
Unlocked the bootloader. Then can flash any custom kernel. I flashed DoomLord's Adv Stock kernel, which has an inbuilt recovery. Then flash chainfire's SuperSU update through recovery to get root. Then can install any other recovery and flash stock .201 kernel back. One problem though.. [highlight]YOU WILL LOSE ALL YOUR DATA (INCLUDING WIPING OF INTERNAL SDCARD) WHEN UNLOCKING THE BOOTLOADER.[/highlight] So, do you have any cwm data backup done before?
Edit: Backup&Restore app that comes with stock Rom is supposed to backup and restore data without root. But it never worked for me when restoring things. Other option is to use 'ADB backup' commands from a pc. It also didn't do restore properly for me. Can try those as last resorts.

[Q] Questions before flashing custom ROM

I am planning to flash a custom rom on my phone (for the first time).
Model : Xperia SP(C5302)
Build : 12.1.A.1.205 (Stock) running JB 4.3 with LB
I have rooted my phone using the towelroot method and installed supersu. I have also installed custom recovery from here http://forum.xda-developers.com/showthread.php?t=2649923
I am planning to flash this custom rom http://forum.xda-developers.com/xperia-sp/development/cyanogenmod-11-locked-bootloader-users-t2868398
So I have a few questions that I am not clear about(even after searching the forums). And sorry if they are dumb. I really want to understand as much as possible before flashing roms.:fingers-crossed:
1. After reading the thread of my recovery, from what I understand, the recoveries are installed in /system. But on OP of the custom rom, I am about to install, there is an instruction to format /system before flashing the rom. So my question is if I format the /system partition, won’t my recoveries be removed (by the recoveries itself) before I even flash the rom?
2. Also will the recovery still be available to me if say I enter bootloop for some reason during flashing the rom?(asking for the same reason as above that is wiping my /system should also remove my recoveries)
3. Does CM 11 come with any inbuilt custom recovery? If not can I install the one I am already using (assuming installing a custom rom will remove my installed recoveries)?
4. Say I screw up during the flashing procedure. So if I want to rectify this I should first flash the stock .205 ftf, root, install a recovery again and then restore using the nandroid backup. Am I correct?
5. Is it necessary to wipe cache and dalvik cache before flashing rom? I see this instruction in some roms but not in others. And dalvik should be wiped after flashing rom and gapps, right?
6. Should I install supersu again after I flash the rom. I read in an article that it causes problems with CM. As far as I know CM11 comes pre-installed with superuser. But it also supposedly causes some problems.
7. Is it safe to restore user app+data, messages and contacts backed up using Titanium backup on a newly flashed rom? I have seen conflicted views on this.
Click to expand...
Click to collapse
And that’s it for my questions (for now at least... ).
A Big Thanks in advance for all your helpful answers
Prat92 said:
I am planning to flash a custom rom on my phone (for the first time).
Model : Xperia SP(C5302)
Build : 12.1.A.1.205 (Stock) running JB 4.3 with LB
I have rooted my phone using the towelroot method and installed supersu. I have also installed custom recovery from here http://forum.xda-developers.com/showthread.php?t=2649923
I am planning to flash this custom rom http://forum.xda-developers.com/xperia-sp/development/cyanogenmod-11-locked-bootloader-users-t2868398
So I have a few questions that I am not clear about(even after searching the forums). And sorry if they are dumb. I really want to understand as much as possible before flashing roms.:fingers-crossed:
And that’s it for my questions (for now at least... ).
A Big Thanks in advance for all your helpful answers
Click to expand...
Click to collapse
First of all, I am only explaining the one I know about
1. Well, wiping the system will remove the recovery. That's why you'll have to flash the ROM after wiping the system. Do not ever reboot the phone after wiping the system but haven't yet flashed the ROM zip, else you'll have to do more work to flash the Stock ROM. This is due to the fact your phone does not have an OS to boot into! When flashing the ROM zip, the recovery will be automatically installed.
2. This is based on luck, most of time you'll end up unable to boot into anything. A fix is to flash the Stock ROM again.
3. Every ROM has recovery built with it (unless stated otherwise in the thread)! Upon flashing, it will be automatically installed too.
4. The methods you mentioned is correct. However, only restore the nandroid backup if you want to stay on stock. You could always retry to flash the ROM again. Nandroid backup is an image backup of your android. If you restore your nandroid backup, you'll end up with your previous version of android (like the way before you started flashing the ROM)
5. Wiping /cache and dalvik-cache is a really good practise! It doesn't really matter when you will need to wipe them, but personally I wipe them all before flashing the ROM. Wiping /data and performing a factory reset through recovery is recommended if you're coming from a different ROM. That's why backing up user apps through TiB (Titanium Backup) is recommended for you to easily get your installed apps back. Remember, nandroid backup and apps backup from TiB is different to each other.
6. No, this might cause extreme conflicts. No, I am using SuperUser as long as I have used CM. It never fails to give root permission at all despite the hatred I sense in some apps that overly-recommends SuperSU.
7. Of course it is very safe to restore them backups with TiB. However, based on my experience, messages and contacts were unable to be restored due to the difference in ROM version. I don't know if anyone else faces the same problem as mine. As of this, I really recommend your contacts to be synced with Google.
Heads up!
Based on this post, the dev of the ROM you wanted to flash, MrSteve555, recommends PhilZ when flashing the ROM.
TechnoSparks said:
First of all, I am only explaining the one I know about
1. Well, wiping the system will remove the recovery. That's why you'll have to flash the ROM after wiping the system. Do not ever reboot the phone after wiping the system but haven't yet flashed the ROM zip, else you'll have to do more work to flash the Stock ROM. This is due to the fact your phone does not have an OS to boot into! When flashing the ROM zip, the recovery will be automatically installed.
2. This is based on luck, most of time you'll end up unable to boot into anything. A fix is to flash the Stock ROM again.
3. Every ROM has recovery built with it (unless stated otherwise in the thread)! Upon flashing, it will be automatically installed too.
4. The methods you mentioned is correct. However, only restore the nandroid backup if you want to stay on stock. You could always retry to flash the ROM again. Nandroid backup is an image backup of your android. If you restore your nandroid backup, you'll end up with your previous version of android (like the way before you started flashing the ROM)
5. Wiping /cache and dalvik-cache is a really good practise! It doesn't really matter when you will need to wipe them, but personally I wipe them all before flashing the ROM. Wiping /data and performing a factory reset through recovery is recommended if you're coming from a different ROM. That's why backing up user apps through TiB (Titanium Backup) is recommended for you to easily get your installed apps back. Remember, nandroid backup and apps backup from TiB is different to each other.
6. No, this might cause extreme conflicts. No, I am using SuperUser as long as I have used CM. It never fails to give root permission at all despite the hatred I sense in some apps that overly-recommends SuperSU.
7. Of course it is very safe to restore them backups with TiB. However, based on my experience, messages and contacts were unable to be restored due to the difference in ROM version. I don't know if anyone else faces the same problem as mine. As of this, I really recommend your contacts to be synced with Google.
Heads up!
Based on this post, the dev of the ROM you wanted to flash, MrSteve555, recommends PhilZ when flashing the ROM.
Click to expand...
Click to collapse
Thanks for such detailed answers. That cleared most of my doubts
Just some last few questions(promise!)
1. If wiping /system does remove the recovery before I install the rom, how is it possible to access it even to flash the rom? Shouldn't it like just close right when I wipe /system. Or does it not work like that?
2. Just to be sure the nandroid backup I made on my stock rom won't work if I later try to flash it through recovery while using CM,right?
Prat92 said:
Thanks for such detailed answers. That cleared most of my doubts
Just some last few questions(promise!)
1. If wiping /system does remove the recovery before I install the rom, how is it possible to access it even to flash the rom? Shouldn't it like just close right when I wipe /system. Or does it not work like that?
2. Just to be sure the nandroid backup I made on my stock rom won't work if I later try to flash it through recovery while using CM,right?
Click to expand...
Click to collapse
1. Wiping system wont close the recovery at all. It still runs and you can still navigate within it. But remember do not reboot unless you've flashed the ROM! The mechanism of how the magic works is yet to be acknowledged. So I can't tell why it doesn't closes upon wipe. My best guess here is that the recovery might be running on a temporary partition perhaps. I hope a developer see this post and explains the magic.
2. Nandroid backup works all the time (if they are no errors when you are creating them). Nandroid backup is simply a backup of your whole device. If you're on CM, restoring nandroid backup will get your phone back to the way when you attempted the nandroid backup (stock ROM, rooted, and triple recoveries installed). Nandroid backup is useful when you're about to try something that may damage your ROM, without doing so much work to restore your device.
Say, you created a nandroid backup in cwm in which Cyanogenmod was installed. And then you flashed something afterwards. If that "something" damages the ROM and gives you bootloop, you can simply flash Stock ROM, root it again, install recoveries again, and restore the nandroid backup. Then, voilà, cyanogenmod is back. This will simplify your work rather than flash CM again, then gapps, then restore your apps and all those other things that will consume so much time
So a new nandroid backup will backup the whole device, in a form of an image.

[Q] Can't Restore GPE ROM

Hey guys, having some issues restoring a backup of a GPE ROM that I made with ROM Manager on a working device. It goes through the process of doing the restore and then boots to the google splash screen, but never goes past that point (waited 45 minutes twice).
The ROM is GPE 5.0.1 rooted. I'm using the lastest recovery from clockwork mod and have tried several times. Not finding anything on the web regarding this issue. Perhaps the backup is just borked?? Im (obviously) S-Off and unlocked. Not sure why im not able to restore to my prevous state. Works like a charm with cyanogenmod ROMS...
Any thoughts?
I want to help but I don't entirely get what you did.
so you made a backup and you can't restore it, right? I have some questions, if you were kind enough to answer them, I may be able to help you:
> What "ROM Manager" did you create your backup with?
> Is it an entire ROM backup, like the TWRP, CWM do it?
> What Android Version is the backup?
I am thinking that you might didn't backup the boot partition properly so you can't boot your phone. there would be a compatibility issue with your boot.img and the system and data partition. So you can boot but because of the compatibility issues you can't boot entirely and keep stuck in the bootloop. that's what I think what it is but I am not 100% sure so I asked you the questions above.
And it would be very helpful if you could make a photo of the backup restore screen (inside cwm/twrp .. with whatever of those you are trying to restore the backup)

Nandroid w/TWRP rolling back to 4.4.4 from 5 causes bootloop

Before trying the new official (but rooted) 5.0, I did a complete nandroid backup of my existing 4.4.4. I don't recall what version of TWRP was used for that backup, but it was fairly current.
I used Odin to flash the new 5.0, and 2.8.6.0 of TWRP.
I've had real issues (i.e. no xposed framework, crashing Pandora, etc) that make me want to step back from 5.0.
Last night, I went to TWRP, did a full Nandroid backup of 5.0 (selecting all possible options, just as I had when I backed up 4.4.4), and let'er rip.
After the backup, I did a restore of the 4.4.4. However, that put me into a constant boot loop on the very first graphic (Samsung Note 4). I tried restoring to factory, wiping everything, fixing permissions, etc. But nothing would get me beyond the boot loop.
Fortunately, I was able to restore the 5.0 backup I had just made, but now I'm stuck.
Is there anything else I can try to get my original 4.4.4 Nandroid to restore? Perhaps trying an older version of TWRP? Ultimately, I'm disappointed enough in 5.0, that I would Odin flash a stock 4.4.4 and rebuild using my Titanium Backup backups. I was just hoping there's a good workaround to the boot loop issue before I waste a day doing that.
When I downgraded from lollipop, I had to Odin stock nk4 before restoring my nandroid from TWRP. I tried to restore directly but it didn't work for me. Restore works flawless after Odin back to stock nk4 with TWRP recovery. Hope this helps.
Sent from my SM-N910T using Tapatalk
That sounds encouraging. When it didn't work for you directly, what were the symptoms?
No work-around. You'll have to Odin KikKat firmware to revert.
No twrp back up will work going backwards.
Thanks a ton guys. That was it. I flashed stock, rooted with cf, and installed TWRP - all from Odin w/o ever bringing the phone up. Then restored from within TWRP, and first go, it all came back. Heroes... all of you.
Thx.
erkme73 said:
Thanks a ton guys. That was it. I flashed stock, rooted with cf, and installed TWRP - all from Odin w/o ever bringing the phone up. Then restored from within TWRP, and first go, it all came back. Heroes... all of you.
Thx.
Click to expand...
Click to collapse
Another tip. If you're going to restore a backup or flash a custom ROM after Odin stock firmware, you don't need to cf auto root. Just Odin flash twrp and you'll be good to go.

What to Backup?

Hi,
i want to root my phone using this method: https://forum.xda-developers.com/z3-compact/general/recovery-root-mm-575-lb-t3418714
but i want to be able to return to the current state so i want to double check that i don't forget to backup things, so my noob questions:
1. Is there anything i need to backup before rooting (besides my user data (aka images, musik, sms, etc.) obviously)
2. When rooted i can use TWRP to backup partitions but then there is also this Backup-TA tool: https://forum.xda-developers.com/showthread.php?t=2292598. Does it do something that TWRP does not?
3. When i flashed a custom rom, can i use a TWRP backup to return to stock rom? (or do i need a seperate tool to backup my exact stock rom or is there another way to restore the original stock rom via the offical sony update server or so)
4. Can i unroot my phone and remove all traces from SuperSu, TWRP, custom roms, busybox, etc.? Which tools can i use for that? (This loops back to my first question, since the rooting script already installs SuperSu, TWRP and busybox i wonder if i need to backup a partition with these things not installed)
5. When i have backuped all the stuff can i install custom roms and restore the drm things to work with the custom rom (mainly the camera algorithms)?
Thanks for the help, i once installed custom roms on my old galaxy ace and i didn't backup anything and regretted it XD, so that's why this time i ask beforhand to be on the safe side.

Categories

Resources