[recovery] twrp 3.2.1-0 oreo

Blackball

Senior Member
May 2, 2007
2,156
1,656
0
Team Win Recovery Project 3.2.1-0 for OREO only (fromfuture edition)

Hi there,
here my latest TWRP 3.2.1-0 Build for Oreo.


HOW-TO INSTALL:
1. Unlocked bootloader is required!
2. Download the TWRP recovery
3. Boot into fastboot and type : fastboot flash recovery_ramdisk TWRP_3.2.1-0_OREO.img
4. Type: fastboot reboot


Now you are able to backup and restore ramdisk,kernel or system

Download:

https://www.androidfilehost.com/?fid=962157660013071267

I'm not responsible for any bricks.

Thanks to:
@ante0 for testing
@Tkkg1994
 

Attachments

Last edited:

Blackball

Senior Member
May 2, 2007
2,156
1,656
0
You can backup other partitions too. Maybe version doesn't work.

Data backup doesn't work right now (huawei encryption is hard to decrypt)

Wait for custom roms to backup data with twrp.

It's only tested with mate 9.

Gesendet von meinem VKY-L29 mit Tapatalk
 

dawnc

Senior Member
May 26, 2009
51
8
0
Oh, thanks a lot.
BTW, can you write a brief about how to compile twrp for huawei oreo devices? Since there are too many differences between this on huawei devices.(i.e. where's the BoardConfig.mk)
It's very hard to dig out each difference to make it work on huawei oreo devices.
You'll help us a lot to share your method to compile twrp for huawei oreo devices.
Anyway thanks a lot.
 

ante0

Senior Member
Dec 28, 2009
3,206
1,576
243
Stockholm
Oh, thanks a lot.
BTW, can you write a brief about how to compile twrp for huawei oreo devices? Since there are too many differences between this on huawei devices.(i.e. where's the BoardConfig.mk)
It's very hard to dig out each difference to make it work on huawei oreo devices.
You'll help us a lot to share your method to compile twrp for huawei oreo devices.
Anyway thanks a lot.
It seems to go fine when the device has Twrp on Nougat, then you can use the same Twrp for Oreo (fstab.{device} and fstab.recovery needs updating if you want all previous features and you need to replace {filename}.img-zImage in the extracted split_img/ folder with an empty file). But if works even without updating fstab.
Devices that release with Oreo seem impossible to get a working Twrp.


To backup data you need to remove fileencryption in /vendor/etc/fstab.hi3660 and then format data in TWRP.
Code:
To build Twrp, example (Linux):
cd ~
mkdir twrp
cd twrp
repo init -u https://github.com/omnirom/android.git -b android-7.1
repo sync
mkdir devices
mkdir huawei
git clone https://github.com/Tkkg1994/android_device_hi3660
mv android_device_hi3660 hi3660
cd ~/twrp
. build/envsetup.sh
lunch omni_hi3660-eng && mka recoveryimage
 
Last edited:

dawnc

Senior Member
May 26, 2009
51
8
0
It seems to go fine when the device has Twrp on Nougat, then you can use the same Twrp for Oreo (fstab.{device} and fstab.recovery needs updating if you want all previous features). But if works even without updating fstab.
Devices that release with Oreo seem impossible to get a working Twrp.


To backup data you need to remove fileencryption in /vendor/etc/fstab.hi3660 and then format data in TWRP.
:( Honor View 10(V10) is released with oreo.

---------- Post added at 12:28 AM ---------- Previous post was at 12:25 AM ----------

It seems to go fine when the device has Twrp on Nougat, then you can use the same Twrp for Oreo (fstab.{device} and fstab.recovery needs updating if you want all previous features). But if works even without updating fstab.
Devices that release with Oreo seem impossible to get a working Twrp.


To backup data you need to remove fileencryption in /vendor/etc/fstab.hi3660 and then format data in TWRP.
But i've found a twrp for mate-10 lite here, which was release here

But mate 10 is released with oreo.
 

ante0

Senior Member
Dec 28, 2009
3,206
1,576
243
Stockholm
:( Honor View 10(V10) is released with oreo.

---------- Post added at 12:28 AM ---------- Previous post was at 12:25 AM ----------



But i've found a twrp for mate-10 lite here, which was release here

But mate 10 is released with oreo.
Mate 10 Lite (aka Nova i2, aka Honor 9i) came out with Nougat, so Twrp works fine on that phone).

Mate 10, and Pro, released with Oreo yes.
I've built Twrp for that but it just reboots right after the "Your device is unlocked" message.

See my updated post above if you want to test building for V10.
You will have to replace Image with an empty file named Image, as Oreo has kernel (zImage) in a separate partition.
 

dawnc

Senior Member
May 26, 2009
51
8
0
Mate 10 Lite (aka Nova i2, aka Honor 9i) came out with Nougat, so Twrp works fine on that phone).

Mate 10, and Pro, released with Oreo yes.
I've built Twrp for that but it just reboots right after the "Your device is unlocked" message.

See my updated post above if you want to test building for V10.
You will have to replace Image with an empty file named Image, as Oreo has kernel (zImage) in a separate partition.
Oh~
I'll give another try.
But where's BoardConfig.mk? Is it placed somewhere is the stock partition? I've unpacked ramdisk.img/recovery_ramdisk.img/vendor.img/system.img, but couldn't find it.
 

ante0

Senior Member
Dec 28, 2009
3,206
1,576
243
Stockholm
Oh~
I'll give another try.
But where's BoardConfig.mk? Is it placed somewhere is the stock partition? I've unpacked ramdisk.img/recovery_ramdisk.img/vendor.img/system.img, but couldn't find it.
You make it. It's in the tree by Tkkg1994 but you need to edit it.
 

ante0

Senior Member
Dec 28, 2009
3,206
1,576
243
Stockholm
Thank you.
Any bugs?
Can it save settings (language, timezone and etc ) ?
Can it backup data and additional partitions?
Is it compatible with SuperSU package?
Is it compatible with Mate 9 Pro?
Actually. If you are encrypted, could you check if it decrypts correctly now in TWRP?
I'm encrypted and I'm backing up /data. Just want to see if it's just me...


False alarm. It got half way and stopped with error 255.

/data/data is still encrypted. /data/app is not.
/sdcard is encrypted.
 
Last edited:

Blackball

Senior Member
May 2, 2007
2,156
1,656
0
My Twrp can't decrypt internal storage.

Next days I can test if it's work with your Tipp about vendor and fstab.
 
Last edited:

ante0

Senior Member
Dec 28, 2009
3,206
1,576
243
Stockholm
My Twrp can't decrypt internal storage.

Next days I can test if it's work with your Tipp about vendor and fstab.
If you just format data, it stays decrypted until you reboot. So you need to remove fileencryption from /vendor/etc/fstab.yourDevice.

In Nougat this file was patched automatically by SuperSu 2.82 SR2+ and Magisk 13.x - 14.x. (can't remember exactly when it was removed from Magisk). Anyhow, the fstab was in the boot image then.
 
  • Like
Reactions: Blackball

larryblynn000

Member
Mar 3, 2015
46
6
0
when i do this procedure i get this error what am i doing wrong?
c:\adb>fastboot flash recovery_ramdisk TWRP_3.2.1-0_OREO.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (16494 KB)...
OKAY [ 0.591s]
writing 'recovery_ramdisk'...
FAILED (remote: partition length get error)
finished. total time: 0.867s

Thanks for the help