[recovery] twrp 3.2.1-0 oreo - Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D

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

Blackball said:
Team Win Recovery Project 3.2.1-0 for OREO only (fromfuture edition)
Click to expand...
Click to collapse
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?

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

Thanks download now

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.

dawnc said:
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.
Click to expand...
Click to collapse
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

ante0 said:
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.
Click to expand...
Click to collapse
Honor View 10(V10) is released with oreo.
---------- Post added at 12:28 AM ---------- Previous post was at 12:25 AM ----------
ante0 said:
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.
Click to expand...
Click to collapse
But i've found a twrp for mate-10 lite here, which was release here
But mate 10 is released with oreo.

dawnc said:
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.
Click to expand...
Click to collapse
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.

ante0 said:
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.
Click to expand...
Click to collapse
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.

dawnc said:
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.
Click to expand...
Click to collapse
You make it. It's in the tree by Tkkg1994 but you need to edit it.

5[Strogino] said:
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?
Click to expand...
Click to collapse
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.

My Twrp can't decrypt internal storage.
Next days I can test if it's work with your Tipp about vendor and fstab.

Blackball said:
My Twrp can't decrypt internal storage.
Next days I can test if it's work with your Tipp about vendor and fstab.
Click to expand...
Click to collapse
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.

what's the difference for 3.0.3 and others twrp ?

Awesome! Thanks for your hard work man!

aureliomilitao said:
what's the difference for 3.0.3 and others twrp ?
Click to expand...
Click to collapse
Just newer versions. You could read TWRP changelog to see what's new. https://twrp.me

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

Ur running system is oreo?
Gesendet von meinem VKY-L29 mit Tapatalk

Blackball said:
Ur running system is oreo?
Gesendet von meinem VKY-L29 mit Tapatalk
Click to expand...
Click to collapse
not yet wanted to load that twrp so i could just do the update to oreo! without having to load a modified twrp to do the update

It's a oreo twrp.
You need a nougat twrp
Gesendet von meinem VKY-L29 mit Tapatalk

Related

[RECOVERY][G800F]TWRP 3.0.0

im on a roll tonight haha,
next up for release is my custom build of TWRP 3.0.0 recovery this is the latest version of the highly popular TWRP custom recovery.
a
this recovery is fully working as far as i can tell except that it takes a short time to boot so be patient, once booted it is fine,
this recovery also has F2FS support to go with my new custom release
3 Ways to install now, odin image, standard flashable zip (should work from older TWRP) and a basic img file that can be flashed via terminal or TWRP
download links:
changelog
Code:
Fixed MTP
Fixed display brightness
thanks to hennymcc for the help and his device trees that i have modified a little
instructions for converting data to F2FS without losing data(hopefully)
requirements:
microsd card
1. boot into TWRP
2. select the backup options
3. choose your external microsd card using the choose storage button
4. make sure data is selected and start backup
5. once backup is complete, go to wipe and then advanced wipe, select data and click repair or change filesystem and then change file system
6. select f2fs and follow instructions until format is done,
7. restore the backup of data you just made
8. be sure to flash my DMPKern in odin before attempting to boot after f2fs conversion
any suggestions or comments feel free to ask and any donations however small would be greatly appreciated also
XDA:DevDB Information
TWRP3 For G800F, Tool/Utility for the Samsung Galaxy S5 Mini
Contributors
DJ_Steve
Version Information
Status: Beta
Current Beta Version: 1.1
Beta Release Date: 2016-02-14
Created 2016-02-12
Last Updated 2016-11-20
I'm trying to flash it via twrp 2.8.1.0 but without success
Gesendet von meinem SM-G800F mit Tapatalk
no_means_no said:
I'm trying to flash it via twrp 2.8.1.0 but without success
Gesendet von meinem SM-G800F mit Tapatalk
Click to expand...
Click to collapse
its not a zip you can flash its an odin tar.md5 thats been zipped - extract it then use odin to flash
DJ_Steve said:
its not a zip you can flash its an odin tar.md5 thats been zipped - extract it then use odin to flash
Click to expand...
Click to collapse
Excuse my stupidity. I just saw a zip file and thought I might flash it via twrp. now I flashed via odin with success. But the new twrp crashes on backup.
Hasnt crashed once on me what error did it show
Sent from my SM-G800F using Tapatalk
DJ_Steve said:
Hasnt crashed once on me what error did it show
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
sorry, no error. It just freezes pretty early, once at 5%, once at 2%
It would be great if we have it for the g800h as jackeagle build of twrp can't flash aroma zip :v
no_means_no said:
sorry, no error. It just freezes pretty early, once at 5%, once at 2%
Click to expand...
Click to collapse
I think i know why that is will fix and upload today
Sent from my AOSP on Grouper using Tapatalk
sasukesama said:
It would be great if we have it for the g800h as jackeagle build of twrp can't flash aroma zip :v
Click to expand...
Click to collapse
Would love to build for g800h ill have a looksie later
Sent from my AOSP on Grouper using Tapatalk
DJ_Steve said:
I think i know why that is will fix and upload today
Sent from my AOSP on Grouper using Tapatalk
Click to expand...
Click to collapse
good to hear that. just let me know whenever you reuploaded
Very buggy with me.. :/
Back to TWRP v2.8.7.0
Will the internal storage be formated as well or only the data partition (apps and their data only) ?
internal storage will format as its stored on /data aswell
DJ_Steve said:
I think i know why that is will fix and upload today
Sent from my AOSP on Grouper using Tapatalk
Click to expand...
Click to collapse
Did you already upload a new version after the first one freezing while doing backups?
Gesendet von meinem SM-G800F mit Tapatalk
no_means_no said:
good to hear that. just let me know whenever you reuploaded
Click to expand...
Click to collapse
just updated link in main page
I can't make a backup to internal storage or external SDcard.
Error: Failed to mount '/system' (Permission denied)
hmmm interesting ok ill look into that as im not sure why its failing that one
tapptapp said:
I can't make a backup to internal storage or external SDcard.
Error: Failed to mount '/system' (Permission denied)
Click to expand...
Click to collapse
I get the same error as well. At least this version of TWRP can SEE my 64 GB microSD. 2.8.7.0 couldn't see it.
I haven't tried this yet,but I certainly will at some point. I just wanted to say thanks for all your work on this device.It is really appreciated!
ive disabled to download for now until i fix the issue.

TWRP 3.2.3-0 for Moto Z2 Play [albus]

TWRP 3.2.3-0 for Moto Z2 Play (albus) ​
Latest TWRP changelog :
3.2.3-0 full changelog
Working/Bugs :
I have just basically tested and all seems to be working (including decryption of /data and mount External SDCard).
Installation Guide :
Make sure you have unlocked bootloader.
Reboot to bootloader and install.
Use command: fastboot flash recovery twrp-3.2.3-0-albus.img to install.
Download Link :
twrp-3.2.3-0-albus.img
How to use TWRP for first time:
1- Unlock Bootloader (search in Google how to do);
2- Flash TWRP via CMD and reboot recovery;
3- Boot in TWRP and allow permission to modify system (internal storage don't be accessible);
4- Go to Wipe > Format Data > type YES and swipe (you will see an error formatting data);
5- Back to TWRP Menu, go to Reboot and Recovery;
6- In TWRP, go to Wipe > Format Data > type YES and swipe again (TWRP will decrypt internal storage);
7- Reboot to TWRP one more time and internal storage will be accessible;
8- DONE!!!
How to Root Stock Oreo:
1- Boot in TWRP;
2- Go to Backup > mark Boot and System partition > Swipe to backup (don't needed system_image);
3- After this, go to Restore > select Boot and System > Swipe to restore;
4- After finished, install zip Magisk (17.1 or 17.3);
5- Reboot and DONE!!!
You don't need flash F2FS zip and too don't need any command in the terminal.
You don't need to do anything else!
Click to expand...
Click to collapse
Credits :
@Junior Passos
Thanks so much to @Dees_Troy, @Santhosh M and @vache.
:highfive:
Thanks for this Junior. I've installed it and works. Over wrote the previous ver so didn't have to format data. Finally able to make a backup straight to the sdcard.
Thanks,i had temporarily boot TWRP 3.2.0.I'm now able to mount internal and external sd-card.New TWRP successfully decrypt my data partition.I have installed magisk and it works now.Many many thank
I cannot backup any partition on micro sd card, it's only saying "updating partition details..."
Borchuck said:
I cannot backup any partition on micro sd card, it's only saying "updating partition details..."
Click to expand...
Click to collapse
SD Card in TWRP works without no problem.
i try to boot & try to flash in xt1710-06 but just say
fastboot boot twrp-3.2.0-0-albus.img
downloading 'boot.img' ...
and the device just get freeze... i need to press all buttons to restart....
and i try with twrp_3.1.1-0_albus.img
and is not possible get in twrp
Junior Passos said:
SD Card in TWRP works without no problem.
Click to expand...
Click to collapse
For me it shows nothing under the "Progress:" and I've tried two different sd cards.
Borchuck said:
For me it shows nothing under the "Progress:" and I've tried two different sd cards.
Click to expand...
Click to collapse
Hi,
Have you flashed TWRP or temporarily boot into TWRP ?
I have temporarily boot into TWRP,and the Backup stucks too
Gesendet von meinem Moto Z2 Play mit Tapatalk
Archerous said:
Hi,
Have you flashed TWRP or temporarily boot into TWRP ?
I have temporarily boot into TWRP,and the Backup stucks too
Gesendet von meinem Moto Z2 Play mit Tapatalk
Click to expand...
Click to collapse
Yes, I have temporarily boot. Are you suggesting I should flash it? Anyway, thanks for help!
Borchuck said:
Yes, I have temporarily boot. Are you suggesting I should flash it? Anyway, thanks for help!
Click to expand...
Click to collapse
Dont flash it,if you not have the original recovery.img.Without original recovery,you cant update your phone via OTA
Gesendet von meinem Moto Z2 Play mit Tapatalk
Archerous said:
Dont flash it,if you not have the original recovery.img.Without original recovery,you cant update your phone via OTA
Gesendet von meinem Moto Z2 Play mit Tapatalk
Click to expand...
Click to collapse
Well, in fact, first what I've done after purchasing the phone was disable Updater.apk and unlocked bootloader -I don't care about OTA. I only want to know is this TWRP working well and could be used as a daily driver. If yes I would gladly flash it. All in all I could make recovery backup, right?
Borchuck said:
Well, in fact, first what I've done after purchasing the phone was disable Updater.apk and unlocked bootloader -I don't care about OTA. I only want to know is this TWRP working well and could be used as a daily driver. If yes I would gladly flash it. All in all I could make recovery backup, right?
Click to expand...
Click to collapse
Ok,then you can flash it.Or ask the OP with a pn
Gesendet von meinem Moto Z2 Play mit Tapatalk
Archerous said:
Ok,then you can flash it.Or ask the OP with a pn
Gesendet von meinem Moto Z2 Play mit Tapatalk
Click to expand...
Click to collapse
I've flashed it and it work absolutely great! Thank you so much.
One more question: can you tell me what is "System image" backup? I thought I have full system partition backup when I choose just "System" and "Data" if I want to store my settings and apps...
Borchuck said:
I've flashed it and it work absolutely great! Thank you so much.
One more question: can you tell me what is "System image" backup? I thought I have full system partition backup when I choose just "System" and "Data" if I want to store my settings and apps...
Click to expand...
Click to collapse
You don't have to backup the system image since stock images are available.
Please keep in mind that TWRP does not backup the extremely important /data/media folder. See also https://twrp.me/faq/backupexclusions.html. So I usually do the following: Via TWRP's terminal I move media to media2 and then backup the data partition. When the backup is finished I move media2 back to media (you also have to do that when you restore your backup obviously).
Borchuck said:
Yes, I have temporarily boot. Are you suggesting I should flash it? Anyway, thanks for help!
Click to expand...
Click to collapse
Temporary boot don't have successfull permissions to create system backup. For this, use permanent flash.
bear263 said:
Thanks for this Junior. I've installed it and works. Over wrote the previous ver so didn't have to format data. Finally able to make a backup straight to the sdcard.
Click to expand...
Click to collapse
Borchuck said:
I've flashed it and it work absolutely great! Thank you so much.
One more question: can you tell me what is "System image" backup? I thought I have full system partition backup when I choose just "System" and "Data" if I want to store my settings and apps...
Click to expand...
Click to collapse
I have the alternate TWRP installed.
Can I just flash this in fastboot and overwrite the other with no other steps needed?
pizza_pablo said:
I have the alternate TWRP installed.
Can I just flash this in fastboot and overwrite the other with no other steps needed?
Click to expand...
Click to collapse
Yes, it should overwrite previous one.
Borchuck said:
Yes, it should overwrite previous one.
Click to expand...
Click to collapse
Great, so I won't have to wipe anything, just carry on with a new version of TWRP?
pizza_pablo said:
Great, so I won't have to wipe anything, just carry on with a new version of TWRP?
Click to expand...
Click to collapse
If you've wiped in previous version then it's already done. You can start using this.
Borchuck said:
If you've wiped in previous version then it's already done. You can start using this.
Click to expand...
Click to collapse
Piece of mind is priceless!
Thanks, again!

[Recovery][P20/Pro][Unofficial]TWRP 3.2.1-0 [18/04/2018]

Disclaimer​This software comes with no warranty,XDA staff ,myself or TeamWin stuff can't be hold responsible for any damage it may cause to your device.
Note: Currently Oreo 8.1 custom roms are not supported,only stock EMUI 8.x .
Download and Installation​
* Download twrp recovery
* Start your device in fastboot mode
* Install the recovery using the following command:
Code:
fastboot flash recovery_ramdisk [name of the file].img --> ex: fastboot flash recovery_ramdisk twrp_clt_0.1.img
* Restart with this command:
Code:
fastboot reboot
* As soon as you execute the restart command,remove the USB cable and keep pressing Volume UP,so the device will boot to TWRP.This is to avoid that the device boot to OS,overwritting TWRP recovery.
Features​
Internal storage decryption = working (if it pin/password, pattern fails then try by removing them (password, pin, pattern, fingerprint) from Android before booting to TWRP.
MTP and OTG connection = working
Backup&Restore = working
Note: This was tested only by few P20 Pro owners,so if you test it,please report back!There are no sources for this yet,because is based on the work of @zxz0O0 ,from Honor 9 forum.
Credits
**** @zxz0O0 - This wouldn't be possible without this guy,so big big thank to him.I used his base to make this recovery work ,so in sign of respect his nick will also be on the TWRP boot screen.Thank again buddy!
**** TeamWin project ,obviously.
Download links
twrp_clt_0.1.img - Decryption support (you can use the same password/pin/pattern to decrypt in TWRP), /recovery_ramdisk not available for backup./vendor not available for backup (use /vendor_image instead)
Glad to see this. Any chance of sources or a pull request on my device tree to get decryption working?
hum.. it seem that decryption working great.
See :
Internal storage decryption = working
MTP and OTG connection = working
Backup&Restore = working
Yes. I was just asking for sources or a pull request on my Github repository. IMHO the decryption method used would be useful for anybody interested in ROM/Recovery development - and also required to comply with XDA licensing / GPL requirements.
a1Pha said:
Yes. I was just asking for sources or a pull request on my Github repository. IMHO the decryption method used would be useful for anybody interested in ROM/Recovery development - and also required to comply with XDA licensing / GPL requirements.
Click to expand...
Click to collapse
This is not based 100% from sources, i have another version with working decryption, which is based on open source tree, bur it's not ready yet, just private testing.
This is not breaking any GPL/XDA rule, because it's using just a dummy kernel, not compiled or modified by me! ?
Pretoriano80 said:
This is not based 100% from sources, i have another version with working decryption, which is based on open source tree, bur it's not ready yet, just private testing.
This is not breaking any GPL/XDA rule, because it's using just a dummy kernel, not compiled or modified by me! ?
Click to expand...
Click to collapse
Thanks for clarification. Would you mind sharing some details via PM with me? I'd be glad to improve my repo
a1Pha said:
Thanks for clarification. Would you mind sharing some details via PM with me? I'd be glad to improve my repo
Click to expand...
Click to collapse
Yes, no problem! Also have a look at my Github (pretoriano80). My goal is also to make a fully open source version. ?
Quote: Note: This was tested only by few P20 Pro owners,so if you test it,please report back!
Hi Pretoriano80, Hi All,
Great job ! Just installed... I confirm that it works on my CLT-L29 8.1.0.106(C432)
Internal storage decryption, MTP and usb OTG connection, Backup& Restore (incl /vendor_image) : All working !
Many thanks & Cheers
CLT-L09 (C782) all is working as it should, successful backup and mount of my 1tb hard drive.
Absolutely fantastic work
Thanks :good:
Well this is very positive.
Less than 2 calendar weeks from release to TWRP release.
I think we can possibly have pretty high expectations for development on the P20 Pro.
Hey im getting this when I attempt to run the fastboot flash recovery command:
C:\Users\andre\Desktop\twrp>fastboot flash recovery_ramdisk twrp_clt_0.1.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (23542 KB)...
OKAY [ 0.151s]
writing 'recovery_ramdisk'...
FAILED (remote: Command not allowed)
finished. total time: 0.171s
Can anyone advise please?
andrewglass3 said:
Hey im getting this when I attempt to run the fastboot flash recovery command:
C:\Users\andre\Desktop\twrp>fastboot flash recovery_ramdisk twrp_clt_0.1.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (23542 KB)...
OKAY [ 0.151s]
writing 'recovery_ramdisk'...
FAILED (remote: Command not allowed)
finished. total time: 0.171s
Can anyone advise please?
Click to expand...
Click to collapse
You have to unlock bootloader first!
Pretoriano80 said:
You have to unlock bootloader first!
Click to expand...
Click to collapse
Yep - I forgot that step - had the code but missed it out lol - Im an idiot lol
whats difference between your version and a1pha?
also does this trigger safety net? (i installed magisk via patched ramdisk.img and google pay wont work) will it work with TWRP (no root)
virtyx said:
whats difference between your version and a1pha?
also does this trigger safety net? (i installed magisk via patched ramdisk.img and google pay wont work) will it work with TWRP (no root)
Click to expand...
Click to collapse
Have you made sure that the Google Pay app is selected in the Magisk Hide list in the app? It doesn't tick automatically like it used to with Android Pay. You should pass safetynet with Magisk installed. Also, after flashing TWRP still passes safetynet too.
virtyx said:
whats difference between your version and a1pha?
also does this trigger safety net? (i installed magisk via patched ramdisk.img and google pay wont work) will it work with TWRP (no root)
Click to expand...
Click to collapse
TWRP has nothing to do with SafetyNet! Maybe you installed a firmware which didn't passed Google check yet.
Is this what I actually need to do to root my P20 Pro?
I unlock the bootloader, flash the twrp recovery, then install supersu.zip via twrp recovery and I'm done, right?
Or is there something else I left out?
Thank you very much so far!
m00h said:
Is this what I actually need to do to root my P20 Pro?
I unlock the bootloader, flash the twrp recovery, then install supersu.zip via twrp recovery and I'm done, right?
Or is there something else I left out?
Thank you very much so far!
Click to expand...
Click to collapse
Try Magisk instead of SuperSU. It has better support for Oreo than the latter.
BTW anyone here tried flashing Magisk to root the device?
DJBhardwaj said:
Try Magisk instead of SuperSU. It has better support for Oreo than the latter.
BTW anyone here tried flashing Magisk to root the device?
Click to expand...
Click to collapse
I did on the other TWRP thread, worked fine.
The page for getting an unlock code seems to 404 for me. Is this happening for anyone else too?

Unofficial TWRP for sagit [F2FS+EXT4][Unofficial]

Unofficial TWRP and OrangeFox builds.
TWRP : https://github.com/xiaomi-msm8998/twrp_device_xiaomi_sagit/releases/
OrangeFox - deprecated : https://sourceforge.net/projects/ep...overy/OrangeFox-Unofficial-sagit.img/download
This is TWRP-3.3.1 unofficially updated with lots of new improvements!
What's here but not in the official one?
Compiled with Pie blobs and in pie environment
Updated kernel, based on CAF's latest pie tag and compiled with latest Clang 9.0.3 by Google
Additional debug support - This TWRP won't overwrite /sys/fs/pstore
F2FS support
Cleaned unused HALs from manifests
System as Root variant available
How to install this TWRP?
Boot into fastboot mode by pressing volume down + power when the device is turned off
Connect your device to your computer
Download the TWRP build
Open a shell at the download folder
Rename the downloaded file to twrp.img
Type
Code:
fastboot flash recovery twrp.img
To leave the fastboot mode type
Code:
fastboot reboot
What is F2FS?
F2FS (Flash-Friendly File System) is a flash file system initially developed by Samsung Electronics for the Linux kernel.
The motive for F2FS was to build a file system that, from the start, takes into account the characteristics of NAND flash memory-based storage devices (such as solid-state disks, eMMC, and SD cards), which are widely used in computer systems ranging from mobile devices to servers
Click to expand...
Click to collapse
- Wikipedia
How to use F2FS for /data and /cache?
Reboot into this TWRP
Select wipe > format data then type yes and reboot into recovery again
Then select wipe > advanced wipe select cache then select repair or change file system and select F2FS
Do the same step with Data
Install a supported ROM and GApps
Reboot into the ROM
Thank you for your great work . keep it up
Thanks,I'm following the topic
Sorry for my ignorance....but can somebody tell me the difference between these two?
Shiw Liang said:
Sorry for my ignorance....but can somebody tell me the difference between these two?
Click to expand...
Click to collapse
Between orange fox and twrp? Orange fox is a fork of twrp with some special features and a redesign.
Shiw Liang said:
Sorry for my ignorance....but can somebody tell me the difference between these two?
Click to expand...
Click to collapse
Have a look here - https://orangefox.tech/
DarthJabba9 said:
Have a look here - https://orangefox.tech/
Click to expand...
Click to collapse
happy to see you here, Will sagit devices have an official version? We are looking forward
fr0bs said:
happy to see you here, Will sagit devices have an official version? We are looking forward
Click to expand...
Click to collapse
In due course
New TWRP test build is available!
TWRP was updated to version 3.3.0 and is usable with f2fs.
Download : https://drive.google.com/file/d/1UwT5UBz_8PVugEhWLYlcwKM3VAi25jkI/view
This build is possible due to Ultraschorsch 's support by providing a Google Cloud trial ?
Good evening!
A new build of TWRP is published here: https://github.com/xiaomi-msm8998/twrp_device_xiaomi_sagit/releases/tag/3.3.0
Decryption problem
NeoArian said:
Good evening!
A new build of TWRP is published here: https://github.com/xiaomi-msm8998/twrp_device_xiaomi_sagit/releases/tag/3.3.0
Click to expand...
Click to collapse
I have tryed your latest update with AEX 6.5 and I can't decrypt data. What am I wrong?
perspicio said:
I have tryed your latest update with AEX 6.5 and I can't decrypt data. What am I wrong?
Click to expand...
Click to collapse
There is a problem with decrypting devices formatted with may ASB, I see about it. You could go f2fs or setup rom on April build and upgrade to new one for now.
Edit:// should be fixed here: https://github.com/xiaomi-msm8998/twrp_device_xiaomi_sagit/releases/tag/3.3.1
I am currently on LineageOS 15 (8.1), and using TWRP 3.2.3. Everything works OK.
But if I try to boot into latest 3.3.1 (both with SAR and without) it doesn't request pattern for decrypting data, and I can't figure out how to force it to.
Without decrypt it shows /sdcard and /data/data as garbage...
Hi @NeoArian, it seems that at least your latest TWRP-sar version has issues with mounting external usb storages: at least my sandisk 64GB key that I always used to save nandroids to is not detected, thus I have to rely on internal memory to save nandroids, fw, and user data.
Using TWRP version 3.2.3-sagit-shev.img I have no issues (but unfortunately no support for your lineageos unofficial builds if I'm not mistaken).
Am I doing something wrong? Do you have any suggestions?
Cavaler said:
I am currently on LineageOS 15 (8.1), and using TWRP 3.2.3. Everything works OK.
But if I try to boot into latest 3.3.1 (both with SAR and without) it doesn't request pattern for decrypting data, and I can't figure out how to force it to.
Without decrypt it shows /sdcard and /data/data as garbage...
Click to expand...
Click to collapse
I thought it was some codes in twrp that cause the problem.
If I use 3.3.1.0 everything works fine. but it won't decrypt my data even I had no pattern for lock screen with 3.3.1.2.
( all mentioned above are official builds )
This version TWRP have arch bug.
This version TWRP can not install the right latest OpenGapps. It will back error 64 and ask user install arm version gapps not the arm64 version.
The details can visit here https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1070
Can you fix it in your version?
https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1070#issuecomment-463335444
New twrp update available: https://github.com/xiaomi-msm8998/twrp_device_xiaomi_sagit/releases/tag/3.3.1-20191204
AmaoBilibili said:
This version TWRP can not install the right latest OpenGapps. It will back error 64 and ask user install arm version gapps not the arm64 version.
The details can visit here https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1070
Can you fix it in your version?
https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1070#issuecomment-463335444
Click to expand...
Click to collapse
I assume that's a problem with OpenGapps installer.
Hi, I'm running twrp 3.3.1-20191204 with your Lineage 17 very happily thanks!
For the last couple of lineage installs though (2019-12-24 and 2020-01-08) I'm getting a failure in twrp when running a backup, on data partition specifically:
createTarFork() process ended with ERROR: 255
recovery.log is far more helpful:
Code:
# tail -n 50 /tmp/recovery.log
I:addFile '/data/anr/anr_2020-01-10-11-49-31-592' including root: 1
==> set selinux context: u:object_r:anr_data_file:s0
I:addFile '/data/per_boot' including root: 1
==> set selinux context: u:object_r:system_data_file:s0
failed to lookup tar policy for '/data/per_boot' - '0eb5afb598811574'
I:Error adding file '/data/per_boot' to '/data/media/0/TWRP/BACKUPS/161a6490/2020-01-10--16-29-03_lineage_sagit-userdebug_10_QQ1B200105004_en/data.ext4.win008'
Error creating backup.
I:ERROR tarList for thread ID 0
Error creating backup.
There's an (empty) folder '/data/per_boot' which seems to be breaking the backup process. I'm not sure if it's lineage itself or one of my apps creating this dir, but if I manually delete it the backup works... then it gets recreated next boot.
A somewhat minor issue, in case it's either easy enough to fix and/or other's run into the same problem!
I assume this twrp version use for flashing gsi. Am I correct?

[RECOVERY] [UNOFFICIAL] [9.0] [3.2.1-0] TWRP Pie

Here is TWRP for the Mate 9. This works on Android Pie (EMUI 9.0). I ported it over from the Mate 20 X and themed it with my Black & Blue theme. Thank you to @freeza for the original recovery. Flash this in adb with the fastboot flash recovery_ramdisk twrpxxxxxx.img. Then in TWRP you can flash this TWRP image file to erecovery_ramdisk and then flash the rooted recovery_ramdisk to recovery_ramdisk. Then you'll have root on regular recovery and TWRP on erecovery. To be rooted when you boot you have to hold in volume up at boot. It will boot normally into Android and you'll be rooted. If you don't hold in volume up while booting you'll be booted normally with no root. To enter TWRP boot with the USB cable plugged into your computer and hold in volume up. If you don't want to do this then simply choose either root or TWRP and flash the appropriate img file to recovery_ramdisk. Decryption will not work on EMUI 9.1.
TWRP
https://www.androidfilehost.com/?fid=1395089523397925791
L29C636B159 Rooted Recovery Image
https://www.androidfilehost.com/?fid=1395089523397925213
for install this m9 twrp
fastboot flash recovery_ramdisk twrpm9.img ok
for enter twrp after ?
only turn On and press volume+ ???
with twrp no possible root correct ?
the original recovery is recovery_ramdis.img extract update.app ??
aureliomilitao said:
for install this m9 twrp
fastboot flash recovery_ramdisk twrpm9.img ok
for enter twrp after ?
only turn On and press volume+ ???
with twrp no possible root correct ?
the original recovery is recovery_ramdis.img extract update.app ??
Click to expand...
Click to collapse
Yes you're correct but you can technically have both root and twrp. If you fastboot flash just twrp then volume up + power will boot you into twrp. If you want root and twrp then first fastboot flash twrp then boot into twrp then go to install then choose Image then browse to the twrp image then hit ok then choose erecovery_ramdisk. This will install twrp on the erecovery ramdisk partition. Then hit install then Image then browse to the rooted recovery_ramdisk then hit ok and choose to install it to recovery_ramdisk. This is the only way to have root and twrp right now.
After you do this, volume up will boot with root and volume up with the USB cable plugged in will boot into twrp.
huuuumm
for twrp + root
need install twrp in recovery_ramdisk partition and magisk in erecovery partition?
aureliomilitao said:
huuuumm
for twrp + root
need install twrp in recovery_ramdisk partition and magisk in erecovery partition?
Click to expand...
Click to collapse
You can do it either way. It's easier to install root in the recovery_ramdisk so if you restart your phone you can press volume up before it boots and you'll be rooted. To get a rooted boot.img you have to have your original boot.img on your internal storage and install Magisk Manager and choose "Patch boot image" to have Magisk Manager create a Magisk patched boot image, then you can flash that in twrp to either recovery_ramdisk or erecovery_ramdisk.
ajsmsg78 said:
You can do it either way. It's easier to install root in the recovery_ramdisk so if you restart your phone you can press volume up before it boots and you'll be rooted. To get a rooted boot.img you have to have your original boot.img on your internal storage and install Magisk Manager and choose "Patch boot image" to have Magisk Manager create a Magisk patched boot image, then you can flash that in twrp to either recovery_ramdisk or erecovery_ramdisk.
Click to expand...
Click to collapse
ok but
for enter twrp is boot and volume +
for enter root need boot and volume + ( no enter recovery) boot system root direct
so
how enter twrp and root together ?
aureliomilitao said:
ok but
for enter twrp is boot and volume +
for enter root need boot and volume + ( no enter recovery) boot system root direct
so
how enter twrp and root together ?
Click to expand...
Click to collapse
You don't have to have root loaded when you're in twrp. You can do everything in twrp that you can do with root.
On MHA-l29 with Magisk works like a charm! Nice work!
Does it support decryption?
rufik said:
Does it support decryption?
Click to expand...
Click to collapse
I've always been decrypted so I haven't tested that but I don't think TWRP supports decryption on Pie yet. If you do a data format and modify the vendor/fstab and remove the forceencrypt then you'll be decrypted and stay decrypted until you flash back the stock rom in erecovery.
Do work this boot.img also on L29C432B158 ?
Gesendet von meinem MHA-L29 mit Tapatalk
Midnightkey said:
Do work this boot.img also on L29C432B158 ?
Gesendet von meinem MHA-L29 mit Tapatalk
Click to expand...
Click to collapse
It should work fine. Try for yourself.
I can't decrypt my device,what can I do?
How can i handel the root permissions? in magisk manager i dont have the SU menu
Gesendet von meinem MHA-L29 mit Tapatalk
---------- Post added at 06:48 AM ---------- Previous post was at 06:38 AM ----------
[email protected] said:
I can't decrypt my device,what can I do?
Click to expand...
Click to collapse
I think u must do an factory reset in twrp, so save everything in the internal storage
Gesendet von meinem MHA-L29 mit Tapatalk
put in external still can see in twrp
To remove encryption you need to edit vendor/etc/fstab.hi3660. Copy it to your pc or open it any text editing app and remove the forceencrypt line. Then put it back in vendor/etc. Then boot into twrp and format data by going to wipe, format data and typing in YES. This will remove encryption and because you just modified the fstab file you'll stay decrypted. Twrp will now also see your internal storage correctly as well.
Hi all, here is a with Magisk v19 patched recovery_ramdisk.img
- which is not depended to a specific EMUI 9 firmware or cust - so it should work on all current and future EMUI 9 Firmwares and models of MHA (L29, L09, AL00, TL00): https://www.androidfilehost.com/?fid=1395089523397933251
If you like to use it:
0) Delete Magisk Manager before flashing the patched recovery_ramdisk.img
1) Flash patched recovery_ramdisk and boot with disconected USB and Vol+ and Powerbutton to system
2) Install then newest Magisk Manager from here: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
3) Enable permission for storage in Settings/Apps/Apps/ Magisk Manager
4) Switch automatic battery management in Settings/Battery/App launch/ Magisk Manager to manual - and make sure, all three options are enabled: Auto-Launch, Secondary launch and Run in background
5) Open now Magisk Manager first time and accept the "additional setup" - Magisk will download and flash a additional zip for the "workspace environment"
Many thanks to @ajsmsg78 for this EMUI 9 TWRP for Mate 9
I made a Thread on Android Hilfe de for German speaking users with credits for this new TWRP: https://www.android-hilfe.de/forum/root-custom-roms-modding-fuer-huawei-mate-9.3022/root-fuer-mate-9-mha-l29-und-mha-l09-emui-9_android-pie.908543.html
Thank you very much for your VERY detailed and comprehensive tutorial (using google translate )
With HWOTA9 i upgraded my MHA-L29C432 from oreo to pie 9.0.1.158, and with your guide i succeed to root (without TWRP) :good: :victory:
Does back up and restore in TWRP working now? right now i cant see some easy solution if i bricked/bootlooped my phone.
thanks.
weyrulez said:
Does back up and restore in TWRP working now? right now i cant see some easy solution if i bricked/bootlooped my phone.
thanks.
Click to expand...
Click to collapse
Backup/Restore is working. If you use original Huawei Firmware, you cannot backup/restore data (but everything else) except you would format data (to remove encryption as mentioned - but if you are new to this things, I would not recommend since you can use Huawei Backup or Titanium Backup for Backup/Restore data)
---------- Post added at 04:32 AM ---------- Previous post was at 04:30 AM ----------
chaozu said:
Thank you very much for your VERY detailed and comprehensive tutorial (using google translate )
With HWOTA9 i upgraded my MHA-L29C432 from oreo to pie 9.0.1.158, and with your guide i succeed to root (without TWRP) :good: :victory:
Click to expand...
Click to collapse
You are welcome If you like to have EMUI 9 /Mate 9 Callrecorder, you can install this Magisk Module: https://www.android-hilfe.de/forum/root-custom-roms-modding-fuer-huawei-mate-9.3022/pie-huawei-call-recorder-fuer-mate-9-emui-9.909715.html

Categories

Resources