Looking for TWRP backup of Android 8.1 Stock (OPW28.2) - Moto X4 Questions & Answers

Hi all, It would be great if someone here with the OPW28.2 update (Android 8.1.0, May 1 security patch) and TWRP installed could create a backup of their System and Boot partitions, and share it here. Fastboot images for the update don’t seem to exist at all, so I figured I might as well go the nandroid backup route.

Here's mine from XT1900-1 A1 version. I grabbed this after flashing the 8.1 FI image then taking the 28.2 OTA.
https://mega.nz/#!q34hQA6T!CR2SwZkR1jIPtvkUm7Olj13BW7G6rqVecHwSWsI_3XE

Related

Backing up stock rom before flashing another

Hi
I have been following the thread for the linage os in the View 10 forum.
Several people have reported it working on Honor 9 Lite which is treble compatible, before I try it out however I wanted to be sure I could go back to my current rom which is the official LLD-L31 for the UK honor 9 lite.
My current build number is LLD-L31 8.0.0.121(C432)
What options do I have to restore if I don't like the rom I flash?
So far I have managed to pull the System & ODM folders to my pc. all except the Vendor file due to a permissions error.
Is this enough? Can I simply push these folders back? and at which point do I attempt the push? When booted/in recovery etc?
Otherwise, Is there an official or unofficial Huawei/Honor restore tool? or maybe a full rom I can flash? HiSuite says it has this function, but my device isn't listed.
Sorry for all the questions, it's been a while since I flashed a rom & it was always via TWRP I understand treble roms are flashed via the stock recovery though
jusumgeezer said:
Hi
I have been following the thread for the linage os in the View 10 forum.
Several people have reported it working on Honor 9 Lite which is treble compatible, before I try it out however I wanted to be sure I could go back to my current rom which is the official LLD-L31 for the UK honor 9 lite.
My current build number is LLD-L31 8.0.0.121(C432)
What options do I have to restore if I don't like the rom I flash?
So far I have managed to pull the System & ODM folders to my pc. all except the Vendor file due to a permissions error.
Is this enough? Can I simply push these folders back? and at which point do I attempt the push? When booted/in recovery etc?
Otherwise, Is there an official or unofficial Huawei/Honor restore tool? or maybe a full rom I can flash? HiSuite says it has this function, but my device isn't listed.
Sorry for all the questions, it's been a while since I flashed a rom & it was always via TWRP I understand treble roms are flashed via the stock recovery though
Click to expand...
Click to collapse
Search for Huawei ERecovery you may find something useful..
jusumgeezer said:
Hi
I have been following the thread for the linage os in the View 10 forum.
Several people have reported it working on Honor 9 Lite which is treble compatible, before I try it out however I wanted to be sure I could go back to my current rom which is the official LLD-L31 for the UK honor 9 lite.
My current build number is LLD-L31 8.0.0.121(C432)
What options do I have to restore if I don't like the rom I flash?
So far I have managed to pull the System & ODM folders to my pc. all except the Vendor file due to a permissions error.
Is this enough? Can I simply push these folders back? and at which point do I attempt the push? When booted/in recovery etc?
Otherwise, Is there an official or unofficial Huawei/Honor restore tool? or maybe a full rom I can flash? HiSuite says it has this function, but my device isn't listed.
Sorry for all the questions, it's been a while since I flashed a rom & it was always via TWRP I understand treble roms are flashed via the stock recovery though
Click to expand...
Click to collapse
I have the same model and have also been following the thread. My understanding, and hopefully someone will correct if wrong, is that with project treble GSI you're only overwriting, via fastboot, system.img partition, therefore if you want to return to your original I suspect you can do the same thing again and fastboot original.img with a factory reset.
There is a utility called huawei firmware finder which allows you to look for firmware. I tried it but can only find the LLD-AL10 8.0.0.100(C675CUSTC675D4) which i think is for the 4/64GB veresion or may even be for the huawei P smart. Until honor make the firmware available not sure what other options exist.
BTW it would help if you report back with any success/failures if you try it. Also interested in what this version Lineage OS is missing/not working, I think the camera still has some issues last i checked the thread.
xzyk said:
I have the same model and have also been following the thread. My understanding, and hopefully someone will correct if wrong, is that with project treble GSI you're only overwriting, via fastboot, system.img partition, therefore if you want to return to your original I suspect you can do the same thing again and fastboot original.img with a factory reset.
There is a utility called huawei firmware finder which allows you to look for firmware. I tried it but can only find the LLD-AL10 8.0.0.100(C675CUSTC675D4) which i think is for the 4/64GB veresion or may even be for the huawei P smart. Until honor make the firmware available not sure what other options exist.
BTW it would help if you report back with any success/failures if you try it. Also interested in what this version Lineage OS is missing/not working, I think the camera still has some issues last i checked the thread.
Click to expand...
Click to collapse
Thanks for the reply, I suspected that's how it worked, just flash back the original system image.
I think I'm gonna hang fire for the time being until I know I have the correct firmware to go back if needed, hopefully the camera will be sorted by then too.
I flashed a firmware today and couldn't revert to stock because can't find it. Any ideas?
evolucja said:
I flashed a firmware today and couldn't revert to stock because can't find it. Any ideas?
Click to expand...
Click to collapse
When you unlocked your bootloader and before you overwrote your system partition you should have taken a backup of your stock system partition so you can restore it. Honor has not made the firmware available yet as far as I know.
xzyk said:
When you unlocked your bootloader and before you overwrote your system partition you should have taken a backup of your stock system partition so you can restore it. Honor has not made the firmware available yet as far as I know.
Click to expand...
Click to collapse
Just in case I decide to try this, how do I get a flashable file?
I pulled the contents of system + odm via ADB but just ended up with 2.3GB of folders.
Can I convert this to a flashable .img file? Or should I have done this another way?
jusumgeezer said:
Just in case I decide to try this, how do I get a flashable file?
I pulled the contents of system + odm via ADB but just ended up with 2.3GB of folders.
Can I convert this to a flashable .img file? Or should I have done this another way?
Click to expand...
Click to collapse
found description for how to do it for v10 on another site:
adb shell
su
dd if=/dev/block/bootdevice/by-name/system of=/storage/emulated/0/system.img
this implies root is required so I guess you would:
1. unlock bootloader
2. load TWRP.
3. load root (su).
4. reboot back into TWRP and save system.img.
However, you make it work you need to make sure system.img is saved before any changes are made.
xzyk said:
found description for how to do it for v10 on another site:
adb shell
su
dd if=/dev/block/bootdevice/by-name/system of=/storage/emulated/0/system.img
this implies root is required so I guess you would:
1. unlock bootloader
2. load TWRP.
3. load root (su).
4. reboot back into TWRP and save system.img.
However, you make it work you need to make sure system.img is saved before any changes are made.
Click to expand...
Click to collapse
I was thinking about this today & came to the same conclusion.
The idea is to pull a clean unmodified system image, but the only way to do that is by using root privileges SU, then via TWRP - Does that not make it a modified image?
Maybe I'm thinking about it too much:silly:
What Root method & TWRP versions have Honor 9 Lite users had success with? I'm keen to give this a go
jusumgeezer said:
I was thinking about this today & came to the same conclusion.
The idea is to pull a clean unmodified system image, but the only way to do that is by using root privileges SU, then via TWRP - Does that not make it a modified image?
Maybe I'm thinking about it too much:silly:
What Root method & TWRP versions have Honor 9 Lite users had success with? I'm keen to give this a go
Click to expand...
Click to collapse
Not TWRP as that is the recovery partition (recovery.img) not the system partition (system. Img). Not sure about root though as i believe that does add stuff in one, or more, of the system sub folders, maybe someone else can confirm, but if you're using superuser then unzipping that should tell you what's being added and where. However, if you think about it, this has always been a bit of an issue with any android. You cannot take a nandroid backup without some kind of custom recovery so how can you ever take a snapshot of the stock rom. Specialised tools can do it as they can dump the entire rom but how can any android be dumped in full straight out of the box without first changing something.?
You could try this:
https://9to5google.com/2017/11/04/how-to-backup-restore-android-device-data-android-basics/
but it never really worked properly for me.
jusumgeezer said:
I was thinking about this today & came to the same conclusion.
The idea is to pull a clean unmodified system image, but the only way to do that is by using root privileges SU, then via TWRP - Does that not make it a modified image?
Maybe I'm thinking about it too much:silly:
What Root method & TWRP versions have Honor 9 Lite users had success with? I'm keen to give this a go
Click to expand...
Click to collapse
xzyk said:
Not TWRP as that is the recovery partition (recovery.img) not the system partition (system. Img). Not sure about root though as i believe that does add stuff in one, or more, of the system sub folders, maybe someone else can confirm, but if you're using superuser then unzipping that should tell you what's being added and where. However, if you think about it, this has always been a bit of an issue with any android. You cannot take a nandroid backup without some kind of custom recovery so how can you ever take a snapshot of the stock rom. Specialised tools can do it as they can dump the entire rom but how can any android be dumped in full straight out of the box without first changing something.?
You could try this:
https://9to5google.com/2017/11/04/how-to-backup-restore-android-device-data-android-basics/
but it never really worked properly for me.
Click to expand...
Click to collapse
Guys TWRP Test Alpha build booted in Honor 9 Lite.
Tonight Stable build with all TWRP features is going to release in XDA i hope so.
Credits to @XePeleato - Team OpenKirin
VigneshS007 said:
Guys TWRP Test Alpha build booted in Honor 9 Lite.
Tonight Stable build with all TWRP features is going to release in XDA i hope so.
Credits to @XePeleato - Team OpenKirin
Click to expand...
Click to collapse
Great, that's good news. Please report back with a link so we can all share. Thanks.
Thanks for the replies everyone.
Great news about TWRP too, I look forward to trying it out.

P8 Lite 2017 Project Treble problems

Hello everyone!
i have random problems when i am flashing roms on my PRA-LA1(C10).
First 2 days ago i update my phone on EMUI 8.0.0 and Oreo 8.0.0 with huawei firmware finder (after compatibility check). all was done perfect but i want Project Treble Oreo for my P8 lite 2017.
In last 48 hours i bricked it two times but now i have learned how to unbrick it on Oreo 8.0.0 Again ,
With accidentally downloaded TWRP for EMUI8 and it flashed only! on ramdisk with huawei MT.
But i want Project treble OS. i have checked with treble check from play store and my phones partition style was only A, then i download AOSP os with arm64-A os .img but after install always same error! :Func NO : 11 (recovery image) Error NO : 2 (load image).
after unbrick i have installed Pixel Experience official os with A partition style only and same error.
now i cannot Flash eRecovery images after upgrade (i can flash only ramdisk emui 8 TWRP-s) to EMUI 8 but i dont care it.
let me INSTALL PROJECT TREBLE Offician rom. ANY rom but not this stupid EMUI
Bootloader and FRP unlocked.
P.S. thank you all, i try to explain all steps for not waste time with basic "FIX" tutorials.
General_Scar said:
Hello everyone!
i have random problems when i am flashing roms on my PRA-LA1(C10).
First 2 days ago i update my phone on EMUI 8.0.0 and Oreo 8.0.0 with huawei firmware finder (after compatibility check). all was done perfect but i want Project Treble Oreo for my P8 lite 2017.
In last 48 hours i bricked it two times but now i have learned how to unbrick it on Oreo 8.0.0 Again ,
With accidentally downloaded TWRP for EMUI8 and it flashed only! on ramdisk with huawei MT.
But i want Project treble OS. i have checked with treble check from play store and my phones partition style was only A, then i download AOSP os with arm64-A os .img but after install always same error! :Func NO : 11 (recovery image) Error NO : 2 (load image).
after unbrick i have installed Pixel Experience official os with A partition style only and same error.
now i cannot Flash eRecovery images after upgrade (i can flash only ramdisk emui 8 TWRP-s) to EMUI 8 but i dont care it.
let me INSTALL PROJECT TREBLE Offician rom. ANY rom but not this stupid EMUI
Bootloader and FRP unlocked.
P.S. thank you all, i try to explain all steps for not waste time with basic "FIX" tutorials.
Click to expand...
Click to collapse
does the recovery even work while on EMUI?
dinoderda said:
does the recovery even work while on EMUI?
Click to expand...
Click to collapse
Yes it works fine. you can also delete whole data with this recovery and reformat all partitions, after that u can mount system. but carefully.
https://drive.google.com/file/d/1rlQPRP234PoXY_yqup3oK_joOZGSIker/view << this is Oreo TWRP from xda thread(https://www.xda-developers.com/huaw...e-android-oreo-update-project-treble-support/) and it works i think. but after EMUI upgrade u can flash it on Ramdisk_recovery. not on eRecovery.
P.s i have tested on PRA-LA1 only!
General_Scar said:
Yes it works fine. you can also delete whole data with this recovery and reformat all partitions, after that u can mount system. but carefully.
https://drive.google.com/file/d/1rlQPRP234PoXY_yqup3oK_joOZGSIker/view << this is Oreo TWRP from xda thread(https://www.xda-developers.com/huaw...-android-oreo-update-project-treble-support/) and it works i think. but after EMUI upgrade u can flash it on Ramdisk_recovery. not on eRecovery.
P.s i have tested on PRA-LA1 only!
Click to expand...
Click to collapse
try downloading a service firmware and restoring with dload:
http://www.androidhost.ru
Go to search files and search for your phone model.

How to get february update?

Hey I'm on Linageos 16 (which is no longer supported)
And I didn't receive any February security patch (or January for that matter) so I'm thinking about removing the rom, getting the patch then flashing Havoc rom
But I'm not always up to the date with the android world (only when I'm about to do a change)So my question is how do I do this safely?
Do I just do a full system backup on titan restore (or apps only?) Wipe my device... set it up on stock os to install the patch then install Havoc Rom then restore titan backup?
If there's any important steps I'm missing or if you recommend another way It would be extremely helpful.
Thanks!

Not recieving OTA.

Hello fellow MiA2 users! I have my MiA2 rooted with Magisk, I've been following the easy steps of unrooting, updating, rerooting to get every other OTA. I then stayed on the March 2019 update for a while and while trying to update it failed too many times, eventually leading for my phone being unable to find updates anymore. I'm on security patch level March 5, 2019 and whenever I check for update it reads "your system is up to date". Is there a place where I can find the files I could flash with fastboot to update my phone without wiping data?. What do you guys recommend me to do to keep my phone updated? Thanks!
Obviously you are unlocked, thus just fastboot-flash desired ROM (latest official is 10.0.13.0, see directly Xiaomi's c.mui.com or here) using "flash_all_except_data.bat" which does not re-flash stock dummy of /data, thus keeping your /data partition. In case you are still hesitating. you can fastboot-boot into TWRP (I prefer "4pda-edition") , make backup of /data and copy it to PC.

Downgrading to Android 8 using TWRP

Flashing stock Android 9 from Android 8 (phone doesn't get OTA updates). In case something fails, can I use a TWRP backup to go back to Android 8, exactly as it was? Thanks
I have used before a TWRP backup before to get my phone back. and it did restore to exactly to how it was before. But since it was a long time ago where things were much simpler (Back in android 4.4.2 which didn't had as many as of nowadays security measures or complex boot sequences, like no a/b slots or phone encryption) there's no guarantee...

Categories

Resources