Related
Sorry if this has been asked and answered but I would like a definitive answer to the following question:
If I am running CyanogenMod 12.1 and TWRP (the version that CORRECTLY flashes the firmware), and I activate device encryption, will TWRP back the device up correctly if I do a nandroid backup from recovery? Does it prompt for a password when it tries to backup the data partition? Does it barf? Do I have to use the Live BackUp feature from the TWRP app instead?
Also if I turn on device encryption can I still flash nightlies?
I know that I can't decrypt the device once I turn on device encryption without doing a full reset from slick so I'm looking for some advice. Are all my fellow nightly CM build addicts really running unencrypted devices?
Thanks!
Cg6ry79m
Hey, last week or so I upgraded my onplys 6 to the official android pie. I didn't like it so I wanted back to my previous official android ROM(lastest oxygen) from onplus6, So I tried to flash twrp again. But My phone went straight into QUALCOMM Crash Dump for some reason. After few hours of googling a solution I got twrp again. I tried to restore my backup (still on Android pie) and I flashed my full back up. When it was finished i rebooted my phone and only got a black screen while only the LED was blinking. It was basically bricked. After another few hours of searching I got an solution to unbrick my phone. Now I'm back on oxygen 5.1.5. my question is, how do I back up my previous backup? Just wipe cache en dalvik en flash only the data from my backup? I would really appreciate to hear some tips.
And sorry for my bad English
justsaying said:
Hey, last week or so I upgraded my onplys 6 to the official android pie. I didn't like it so I wanted back to my previous official android ROM(lastest oxygen) from onplus6, So I tried to flash twrp again. But My phone went straight into QUALCOMM Crash Dump for some reason. After few hours of googling a solution I got twrp again. I tried to restore my backup (still on Android pie) and I flashed my full back up. When it was finished i rebooted my phone and only got a black screen while only the LED was blinking. It was basically bricked. After another few hours of searching I got an solution to unbrick my phone. Now I'm back on oxygen 5.1.5. my question is, how do I back up my previous backup? Just wipe cache en dalvik en flash only the data from my backup? I would really appreciate to hear some tips.
And sorry for my bad English
Click to expand...
Click to collapse
First of all its nearly impossible to restore a nanroid backup through twrp on an encrypted device, secondly, you said you are on 5.1.5 which is oreo you cannot restore a pie rom when you are running oreo anyway and vice versa, the only way I could successfully backup and restore through twrp was to go decrypted, hope this helps.
https://forum.xda-developers.com/oneplus-6/how-to/tutorial-decrypt-flash-rom-pie-oreo-roms-t3838643
https://forum.xda-developers.com/oneplus-6/help/proper-to-restore-nandroid-backup-t3823590
vtec303 said:
First of all its nearly impossible to restore a nanroid backup through twrp on an encrypted device, secondly, you said you are on 5.1.5 which is oreo you cannot restore a pie rom when you are running oreo anyway and vice versa, the only way I could successfully backup and restore through twrp was to go decrypted, hope this helps.
https://forum.xda-developers.com/oneplus-6/how-to/tutorial-decrypt-flash-rom-pie-oreo-roms-t3838643
https://forum.xda-developers.com/oneplus-6/help/proper-to-restore-nandroid-backup-t3823590
Click to expand...
Click to collapse
I forgot to mention I also tried to restore my backup on the current oxygen I am. And it also didn't work (also black screen while only the led was blinking).
justsaying said:
I forgot to mention I also tried to restore my backup on the current oxygen I am. And it also didn't work (also black screen while only the led was blinking).
Click to expand...
Click to collapse
My friend read all the information in the links and hopefully things will get sorted for you, cheers.
vtec303 said:
My friend read all the information in the links and hopefully things will get sorted for you, cheers.
Click to expand...
Click to collapse
Thanks for the help tho last comment was just filling up some info no hate or anything. Again appreciate the help!
How
justsaying said:
Hey, last week or so I upgraded my onplys 6 to the official android pie. I didn't like it so I wanted back to my previous official android ROM(lastest oxygen) from onplus6, So I tried to flash twrp again. But My phone went straight into QUALCOMM Crash Dump for some reason. After few hours of googling a solution I got twrp again. I tried to restore my backup (still on Android pie) and I flashed my full back up. When it was finished i rebooted my phone and only got a black screen while only the LED was blinking. It was basically bricked. After another few hours of searching I got an solution to unbrick my phone. Now I'm back on oxygen 5.1.5. my question is, how do I back up my previous backup? Just wipe cache en dalvik en flash only the data from my backup? I would really appreciate to hear some tips.
And sorry for my bad English
Click to expand...
Click to collapse
***How did you manage to get twrp installed again without the crash dump?
Keep the backups simple. Just system data and boot, nothing else. And don't backup the system or data images. Should restore fine, it does for me anyway.
Boblank said:
Keep the backups simple. Just system data and boot, nothing else. And don't backup the system or data images. Should restore fine, it does for me anyway.
Click to expand...
Click to collapse
Question. Why not backup data images? I know twrp doesn't let you by default now, but I'm just curious..
Boblank said:
Keep the backups simple. Just system data and boot, nothing else. And don't backup the system or data images. Should restore fine, it does for me anyway.
Click to expand...
Click to collapse
Do I need to wipe dalvik and cache before I restore them? And thank you for you comment
LordOfTrance said:
Question. Why not backup data images? I know twrp doesn't let you by default now, but I'm just curious..
Click to expand...
Click to collapse
Doing so for me cause the device is corrupt message when booting.
Hi everyone,
I'm a noob to the OPO and also a bit of a noob to backing up and restoring individual partitions, although I have some experience with flashing the Nexus 5 and Z3C with B2GOS and /e/.
I'd like to put Ubuntu Touch on my OPO. I'd like to make sure I can return the phone to stock afterwards, if needed (e.g., I want to sell it as stock). I was thinking of taking partition images with TWRP first, will this be sufficient? I see there's a tool for backing up the EFS as well, so I suppose I should do that.
Or maybe I need to do nothing! Will it be sufficient just to reflash stock firmware when I want to return to stock? If a combination of both flashing stock firmware and TWRP images, EFS backup, what order does it need to be done in?
Thanks for your help in advance.
Cheers
madb1lly said:
Hi everyone,
I'm a noob to the OPO and also a bit of a noob to backing up and restoring individual partitions, although I have some experience with flashing the Nexus 5 and Z3C with B2GOS and /e/.
I'd like to put Ubuntu Touch on my OPO. I'd like to make sure I can return the phone to stock afterwards, if needed (e.g., I want to sell it as stock). I was thinking of taking partition images with TWRP first, will this be sufficient? I see there's a tool for backing up the EFS as well, so I suppose I should do that.
Or maybe I need to do nothing! Will it be sufficient just to reflash stock firmware when I want to return to stock? If a combination of both flashing stock firmware and TWRP images, EFS backup, what order does it need to be done in?
Thanks for your help in advance.
Cheers
Click to expand...
Click to collapse
Hi,
I don't have much time at the moment. I tested Ubuntu Touch just a few weeks ago. Some (not all) bacon users have broken Wlan. I'm one of them. Because of that I went back to Android. So it's possible.
It was a bit tricky. Of course I recommend a full nandroid backup. Copy it to a save place (for example your PC). Don't change any partitions on your phone during installation.
To go back (if I'm remembering wright):
- flash latest recovery via fastboot
- reboot in recovery (for me it was still the Ubuntu recovery)
- anywhere there was an option to boot Android
- take this option and you will reboot in the Android recovery
- there you can restore your previous backup
Hope I could help. If you try Ubuntu Touch, please report, of Wlan works for you.
Good luck. And add said: I don't really remember the whole procedure, so at your own risk.
Hi!
Gaukler_Faun said:
Hi,
I don't have much time at the moment. I tested Ubuntu Touch just a few weeks ago. Some (not all) bacon users have broken Wlan. I'm one of them. Because of that I went back to Android. So it's possible.
It was a bit tricky. Of course I recommend a full nandroid backup. Copy it to a save place (for example your PC). Don't change any partitions on your phone during installation.
To go back (if I'm remembering wright):
- flash latest recovery via fastboot
- reboot in recovery (for me it was still the Ubuntu recovery)
- anywhere there was an option to boot Android
- take this option and you will reboot in the Android recovery
- there you can restore your previous backup
Hope I could help. If you try Ubuntu Touch, please report, of Wlan works for you.
Good luck. And add said: I don't really remember the whole procedure, so at your own risk.
Click to expand...
Click to collapse
Thanks for the tip about WLAN, I didn't know about that. If I have any issues I'll post here and in the UBPorts forum.
Okay, a full Nandroid backup I can do. But don't I have to flash TWRP to the recovery partition to do that? If so, do I need to backup the recovery partition somehow first?
Thanks
madb1lly said:
Hi!
Thanks for the tip about WLAN, I didn't know about that. If I have any issues I'll post here and in the UBPorts forum.
Okay, a full Nandroid backup I can do. But don't I have to flash TWRP to the recovery partition to do that? If so, do I need to backup the recovery partition somehow first?
Thanks
Click to expand...
Click to collapse
No, I don't think you need. It would be good to have the original recovery file... But I never backed up my original recoveries. One of the first things I make with a new phone is flashing twrp. So I would just download the latest image for Bacon and flash it via fastboot.
I recommend to back up your personal data (pictures, documents, ...) ton tour PC. Who knows.
Gaukler_Faun said:
No, I don't think you need. It would be good to have the original recovery file... But I never backed up my original recoveries. One of the first things I make with a new phone is flashing twrp. So I would just download the latest image for Bacon and flash it via fastboot.
I recommend to back up your personal data (pictures, documents, ...) ton tour PC. Who knows.
Click to expand...
Click to collapse
Thanks, that's helpful. I don't actually know how to backup the recovery partition other than using root access and presumably some ADB command, so if it's not needed then that's good news. I will of course backup my data first, but a reminder is always a good thing!
Cheers
Hi,
Back when I had a Galaxy S3 backing up and restoring a backup was pretty straight forward. Now with the OnePlus 7 Pro I have taken a TWRP Backup, but I have not once been able to restore one.
How do you guys back up and restore? I'd like to test some custom ROMs, but would also like to return to stock old with my config, apps and data from a backup if no custom ROMs fits my needs.
Thanks.
FCBThunder said:
Hi,
Back when I had a Galaxy S3 backing up and restoring a backup was pretty straight forward. Now with the OnePlus 7 Pro I have taken a TWRP Backup, but I have not once been able to restore one.
How do you guys back up and restore? I'd like to test some custom ROMs, but would also like to return to stock old with my config, apps and data from a backup if no custom ROMs fits my needs.
Thanks.
Click to expand...
Click to collapse
https://forum.xda-developers.com/on...nt/recovery-unofficial-twrp-recovery-t3932943
Scroll down on that link and read tips, hope this helps, cheers
What issues are you having while restoring backups?
In the past I've always backed up my complete ROM incl. appdata with twrp. I didn't have to competely setup my device if flashing went wrong and reverted to stock. I had some bad luck flashing roms because the A/B slots are new to me. I now have my bootloader unlocked and everything setup on stock OOS, and made a twrp backup of super, recovery and data.
Before flashing another ROM I just want to make sure I can revert easily to the previous OS without doing a complete setup of app settings and stuff
My question is
Can I wipe/factory reset and then just restore with twrp?
Do I restore when in the active slot where current os is?
Are there any issues with password/encryption when restoring?
Expected scenario;
I'm on stock OOS, wiped and want to restore appdata, settings, homescreen, etc...
I failed to install custom ROM and want to revert to stock OOS without having to redo the entire setup
I did search google and this forum for an answer or guide but couldn't find one (please correct me if I missed a thread)
yusisushi said:
In the past I've always backed up my complete ROM incl. appdata with twrp. I didn't have to competely setup my device if flashing went wrong and reverted to stock. I had some bad luck flashing roms because the A/B slots are new to me. I now have my bootloader unlocked and everything setup on stock OOS, and made a twrp backup of super, recovery and data.
Before flashing another ROM I just want to make sure I can revert easily to the previous OS without doing a complete setup of app settings and stuff
My question is
Can I wipe/factory reset and then just restore with twrp?
Do I restore when in the active slot where current os is?
Are there any issues with password/encryption when restoring?
Expected scenario;
I'm on stock OOS, wiped and want to restore appdata, settings, homescreen, etc...
I failed to install custom ROM and want to revert to stock OOS without having to redo the entire setup
I did search google and this forum for an answer or guide but couldn't find one (please correct me if I missed a thread)
Click to expand...
Click to collapse
Did you read the first 3 posts of https://forum.xda-developers.com/t/...recovery-project-8t-kebab-2022-03-09.4302449/ ?
BillGoss said:
Did you read the first 3 posts of https://forum.xda-developers.com/t/...recovery-project-8t-kebab-2022-03-09.4302449/ ?
Click to expand...
Click to collapse
HI, yes I did
I am still confused because it says before a restore I have to disable screenlock, if my phone is softbricked or has no OS does that count as not having fingerprint/lockscreen enabled?
yusisushi said:
HI, yes I did
I am still confused because it says before a restore I have to disable screenlock, if my phone is softbricked or has no OS does that count as not having fingerprint/lockscreen enabled?
Click to expand...
Click to collapse
When you start TWRP, does it prompt you for a password/pin/pattern?
If Yes, then you have a lock screen password set. And if you can't get into the system to disable it, you'll have to format data (completely wipes all data).
If No, then you're good to go.
BillGoss said:
When you start TWRP, does it prompt you for a password/pin/pattern?
If Yes, then you have a lock screen password set. And if you can't get into the system to disable it, you'll have to format data (completely wipes all data).
If No, then you're good to go.
Click to expand...
Click to collapse
Hi, first of all; thank you for taking time to help me!
I managed to completely wipe the phone including data, and afterwards I restored it by copying the backup (which was now on my computer) and restoring it. SUCCESS! All appdata seems to be there, homescreen, and after second reboot my fingerprint still worked as before.
I just have one more question if you don't mind;
Below partitions I backed up;
Data
Boot
DTBO
Super
However, I'm not able to copy over the "super" partition from my computer to my phone, is this normal? it's almost 8GB and I was convinced I wasn't going to get to the OS without restoring it but apparently I didn't need it (?)
I suppose with the Fastboot Enhance Tool I'll be able to also restore this?
You really only need to backup the "system" partitions (boot, dtbo, super) if you're changing to custom ROMs. If you're always on OOS then you can forget about backing them up.
You should be able to copy the full backup, including super files from your PC to your phone using ADB. I've done that lots of times.
I've never used the tool you referred to. But I do know that you can't use fastboot to flash the super partition - it's too big.
However, if you break it up into chunks (I did it in 512MB chunks) using SparseConverter (https://forum.xda-developers.com/t/tool-sparseconverter-v1-0-1.2749797/) then you can successfully flash it.
Just to confirm, if a ROM bootloops and I don't have access to a computer, there's no way to restore the TWRP backup? Seems like this defeats the point of even making on-device backups (AFAIK encryption can't be disabled for many roms)
tech.central said:
Just to confirm, if a ROM bootloops and I don't have access to a computer, there's no way to restore the TWRP backup? Seems like this defeats the point of even making on-device backups (AFAIK encryption can't be disabled for many roms)
Click to expand...
Click to collapse
If you can enter TWRP (even if your rom bootloops) there is a great chance you can restore backup in TWRP.