Creating a ROM backup for myself. - Honor 5X Questions & Answers

Currently I have the official 151 update on my Honor 5x (l24). I have TWRP recovery and root. I uninstalled most of the pre-installed junk and google stuff and installed some of the apps I use.
I made a backup of this ROM in TWRP.
My question is, If I go about flashing other ROMS such as CM or Bliss, and once I am done testing and I want to go stock, can I recover my 151 ROM from TWRP? and it will be just as debloated and light as it is now? Will I lose TWRP.
What I am saying is that is there a way to save the image of this phone and come back to it later with all my apps and my settings?
I spent quite some time removing the apps and making the ROM light to my taste. I would hate to lose all that work. I just wanted to ask before I go Flash Happy!

Related

Proper way to backup everything before flashing roms?

First time user, long time lurker...
I am new to the Android world and have had my Eris since about a month after it came out. I followed the guides and got the rooted 2.1 rom onto my phone. I figured I was fine with that and began installing all my apps again, setting my screens up, etc etc... I then read some more on these forums and decided I wanted to get the recovery partition and the 2.1 v0.3 custom rom. I lost everything (obviously).
Soo.. my question is, is there a proper way to backup all my apps before flashing custom roms in the future? Is it the NAND backup within the recovery image? Also, once the custom rom is flashed, what is the proper way to restore? Looking for a bit of guidance here. Thanks everyone!
That's a good question, I just got rooted and am about to do the rest, but don't want to lose anything
ok when u make a nandroid or BART backup it only backs up that build ur on at the time of the back up. no u cant restore the the backup after u flash a new rom and get the new rom plus ur apps. if u flash a new rom ur pretty much at a start over thing. but the market actually remembers what apps u have downloaded and will actually show them all in downloads or give u a notification that u have updates waiting.
now if u do a nandroid or BART restore it will flash ur entire backup over the new rom u installed. they way i and most others go about flashing and backing up is like this:
first: do a nandroid or BART backup of builds uve setup already and have all ur stuff setup on. sometimes ur gonna flash a builsd and run it for a few days or something and maybe decide u liked the older build better. so u got that nandroid/bart backup to always fall back on.
second: before u flash any new rom u gotta understand some builds are signed with different keys and thus will at times cause issues with apps and such. so before every new rom flash. do a wipe to both data and dalvik-cashe
third: flash the update.zip from the sdcard and enjoy. if u have issues with a build always before saying screw it and doing the nandroid. do a second wipe and see if that fixes some of the issues u may have had with that rom. if u still have issues or wanna go back to that rom u made a nandroid/bart backup of. just go into recovery and do a nandroid/Bart restore choose the one u want and restore away
Thanks for the detailed answer glad my first post was a good question lol

[Q] Using CWM to recover a gingerbread backup from an ICS rom?

Is this possible? The full details are I had my phone stolen, and got a new one with android 4.0.4 on it. I have on my computer a copy of my latest backup of my old cognition gingerbread rom. Can I just use CWM to recover to my old rom, or do i need to first downgrade to a gingerbread rom, and then recover?
Thankyou very much for assistance
Edit: Also, I don't actually want to use the old rom, I just need the contacts it saved, afterwards I'll wipe everything and install a clean ICS mod. In case there's any way of doing this without having to revert
You'll probably need to restore the backup with a version of CWM close to the one the backup was made with, you can often have problems restoring if you're using a CWM version a lot (say 12 mths or more) newer than the one you made the backup with.
So I'd probably go GB/with a rooted GB kernel first, restore the backup & go from there. I mean, it could work first try with an ICS kernel that's running a recent CWM build, but there's a fair chance it won't.
Edit - And be really careful with stock 4.0.4, don't do a wipe while you're running that.
Wow. I just... wow.
Ok, so I did the stupid thing and just tried to restore my old backup without doing proper downgrading first and it ended up soft bricking my machine, couldn't get recovery mode up, but I got into download mode. So I downloaded my country's stock gingerbread rom from samsung's site and flashed it with odin just to see what happens, and somehow my old rom was working again, and I have all my contacts and data. saved everything up to google, upgraded to ICS, import.
Everything went better than expected.
Thanks for the help
Told you Important thing is you managed to fix it yourself without asking silly questions in Q&A. Not many people seem to be able to do that these days.
Well done. I'm glad you got it sorted
Edit -You're welcome

Backup & Restore

I've flashed my phone a few times before, but the last time I've done so, Titanium Backup decided not to work, so I had a newly flashed ROM but no data to go with it. I backed up everything on my phone once (by means of copying&pasting all of the folders) on my computer, but putting them back on my phone didn't do anything.
Now I want to flash again, but I'm clueless as to what app I should be using to back up my phone, and which app would make it possible for me to have my data backed up. I know it sounds a bit vague, but basically, I'm looking to back up my phone so that when I clear everything and flash it, I'd like to restore my apps as well as the data along with it (like high scores in games). Does anyone have any idea what I should do? I currently backed up my current ROM (Android 4.3 and HTC Sense 5.0) with ROM Manager (v5.5.3.7), but I don't know if I can use that back up since I'm looking to flash Android 4.4.2 onto it.
Any and all help is appreciated. Thanks in advance!
EDIT: And I have one off-topic question... Should I flash gapps before or after flashing the ROM? I flashed gapps before and after last time and it worked fine, but I'm curious to know what the correct order is.

update 5.0 dilema

hey guys
I recently decided to opt in to flashing 5.0 rom on my device, but ive read somwhere (http://forum.xda-developers.com/tmobile-galaxy-s5/general/warning-flashing-bootloader-modem-t3037034) that people are having trouble restoring backed up roms and even going back to NK2 with full odin wipe. I have also read that flashing a custom 5.0 kernel will resolve this issue. Is that true, i want to know by someone with expirience. And also can i flash custom roms while on 5.0 bootloader if i load it with a custom kernel.
IAM NOT planning on taking the OTA update but rather ViSiON-X Rom http://forum.xda-developers.com/showthread.php?t=2797336.
My main concern is being able to flash roms/restoring/backing up, specifically custom roms not touchwiz based and Kitkat.
THANKS IN ADVANCE
androidfine16 said:
hey guys
I recently decided to opt in to flashing 5.0 rom on my device, but ive read somwhere (http://forum.xda-developers.com/tmobile-galaxy-s5/general/warning-flashing-bootloader-modem-t3037034) that people are having trouble restoring backed up roms and even going back to NK2 with full odin wipe. I have also read that flashing a custom 5.0 kernel will resolve this issue. Is that true, i want to know by someone with expirience. And also can i flash custom roms while on 5.0 bootloader if i load it with a custom kernel.
IAM NOT planning on taking the OTA update but rather ViSiON-X Rom http://forum.xda-developers.com/showthread.php?t=2797336.
My main concern is being able to flash roms/restoring/backing up, specifically custom roms not touchwiz based and Kitkat.
THANKS IN ADVANCE
Click to expand...
Click to collapse
I downloaded 5.0. Was NOT satisfied and put KitKat back on. No problems doing that at all but I an NOT rooted.
androidfine16 said:
hey guys
I recently decided to opt in to flashing 5.0 rom on my device, but ive read somwhere (http://forum.xda-developers.com/tmobile-galaxy-s5/general/warning-flashing-bootloader-modem-t3037034) that people are having trouble restoring backed up roms and even going back to NK2 with full odin wipe. I have also read that flashing a custom 5.0 kernel will resolve this issue. Is that true, i want to know by someone with expirience. And also can i flash custom roms while on 5.0 bootloader if i load it with a custom kernel.
IAM NOT planning on taking the OTA update but rather ViSiON-X Rom http://forum.xda-developers.com/showthread.php?t=2797336.
My main concern is being able to flash roms/restoring/backing up, specifically custom roms not touchwiz based and Kitkat.
THANKS IN ADVANCE
Click to expand...
Click to collapse
I updated via Odin tar file.
About restoring from a nandroid custom recovery backup:
I think/thought I mentioned this in that first thread you linked, but, you cannot in any way restore an old backup onto a new version of android irregardless the device or recovery. Say the system apk, settings apk uses a file named xyz.dat in KitKat, it saves that file to your /data directory. You now go ahead and flash Lollipop which now that same system apk, the settings apk uses a file named yzx.dat, you go and restore your backup restoring the file xyz.dat. Now the settings apk which is a system apk, cannot find this file and runs into a bootloop because not finding the file should never happen but since you went behind its back to remove that file, you confused it majorly.
I use Titanium Backup to restore my apps, best money ever spent.
I personally went back to KitKat, cause, well, I missed xposed more than i thought i would lol. Everything just worked the way I wanted it to with xposed.
I did have to Odin flash a KitKat based ROM in order for it to work though. After that, I restored my full nandroid backup and everything is working again.
My recommendations to you:
1. Take a FULL backup using TWRP or other custom recovery, this includes backing up your system, data, and boot.
2. Flash the Lollipop update using Odin.
3. DO NOT WIPE DATA
4. Reboot.
You should see "android is upgrading" and have a Lollipop build with all your apps still there. i got a few force closes so I ended up wiping my data, but those apps that forced closed were all root apps that were looking for system files that didn't exist anymore.
elesbb said:
I updated via Odin tar file.
About restoring from a nandroid custom recovery backup:
I think/thought I mentioned this in that first thread you linked, but, you cannot in any way restore an old backup onto a new version of android irregardless the device or recovery. Say the system apk, settings apk uses a file named xyz.dat in KitKat, it saves that file to your /data directory. You now go ahead and flash Lollipop which now that same system apk, the settings apk uses a file named yzx.dat, you go and restore your backup restoring the file xyz.dat. Now the settings apk which is a system apk, cannot find this file and runs into a bootloop because not finding the file should never happen but since you went behind its back to remove that file, you confused it majorly.
I use Titanium Backup to restore my apps, best money ever spent.
I personally went back to KitKat, cause, well, I missed xposed more than i thought i would lol. Everything just worked the way I wanted it to with xposed.
I did have to Odin flash a KitKat based ROM in order for it to work though. After that, I restored my full nandroid backup and everything is working again.
My recommendations to you:
1. Take a FULL backup using TWRP or other custom recovery, this includes backing up your system, data, and boot.
2. Flash the Lollipop update using Odin.
3. DO NOT WIPE DATA
4. Reboot.
You should see "android is upgrading" and have a Lollipop build with all your apps still there. i got a few force closes so I ended up wiping my data, but those apps that forced closed were all root apps that were looking for system files that didn't exist anymore.
Click to expand...
Click to collapse
Yeah I avoided lollipop all together. People seem to be having too many problems with it.I installed NK2 via Odin and now rooted/exposed. Runs smooth and I can flash other Roms.
But I do have this one issue. My auto rotation rodent seem to be working I tried everything I can think of. At first boot it works for 10 minutes or 5 sometimes. Than it shuts down completely. Accelerometer isn't working either. No temple run movement or asphalt 8 (sucks). I did sensor firmwate update and ran samsung diagnostic. The sensor seem to be at 0,0 on x and y axis. At first boot they work fine though. Any help please. I even tried different kernel and software Roms to no Vail. And I don't think it's hardware cause it works for brief moments.
Sent from my SM-G900T using XDA Free mobile app
I let the lollipop update happen.. Used the last day and everything seems fine but I can't use Screen mirroring which I use alot.. anyway I downloaded the stock 4.4.2 md5 and odin completely successfully writes it and after it reboots it is stuck at the Tmobile 4gLTE bootscreen.. I've rebooted it and waited a long time.. as well as rewriting. Guess I'll have to download the stock lollipop tar and hope it boots
tri0xinn said:
I let the lollipop update happen.. Used the last day and everything seems fine but I can't use Screen mirroring which I use alot.. anyway I downloaded the stock 4.4.2 md5 and odin completely successfully writes it and after it reboots it is stuck at the Tmobile 4gLTE bootscreen.. I've rebooted it and waited a long time.. as well as rewriting. Guess I'll have to download the stock lollipop tar and hope it boots
Click to expand...
Click to collapse
The 4.4.2 .tar is a "non-wipe" .tar. You need to go into stock recovery and do a factory data reset after flashing.
Did the trick, thanks!
muniz_ri said:
The 4.4.2 .tar is a "non-wipe" .tar. You need to go into stock recovery and do a factory data reset after flashing.
Click to expand...
Click to collapse
Does downgrading like this trips Knox?
Thanks
chiquito3 said:
Does downgrading like this trips Knox?
Thanks
Click to expand...
Click to collapse
I downgraded my wife's phone using the official 4.4.2 firmware from sammobile, and it did NOT trip knox.

TWRP Backing up Stock PIE to try Pixel Experience 10

My rooted phone has been through Android 7->8->9->8->7->9, all stock. It's on stock PIE right now, and I want to try out an unofficial 10. I have all partitions backed up via TWRP. If things go wrong, or I change my mind, can I restore everything via TWRP with no compromises (with no performance, features, or whatever, degraded)? If not, can I reflash stock kdzs in any order or amount to get back to PIE with no compromises? Would my phone change irrevocably if I install an android 10 on my phone?
See this thread for similar question and answer:
https://forum.xda-developers.com/lg-v30/help/longer-boot-time-flashing-custom-rom-t4116153

Categories

Resources