FORUMS
Remove All Ads from XDA
Honor View 10

[TWRP][P9 Lite][3.1.1-0][EMUI 5.x / AOSP N][DECRYPTION SUPPORT]

1,514 posts
Thanks Meter: 6,185
 
Post Reply Email Thread



This is only for Huawei P9 Lite (VNS)
Code:
OpenKirin presents unofficial TWRP for stock EMUI 5.x with decryption support.
Intended for usage on stock emui 5.x in combination with unlocked bootloader and
modded boot image with disabled dm-verity (depending on what you want to do).
Code:
WARNING: since 3.1.0-2 update we've enabled image flashing to special partitions -
not just /recovery or /boot partition.
That means your device could be bricked in a few seconds if you do not pay attention
or don't know what you're doing. (Noobs please stay away out of this section!)

Installation Instructions
Code:
1. Enter fastboot mode on unlocked device
2. flash recovery using the following command: fastboot flash recovery twrp-3.1.1-0-venus.img
3. reboot to recovery!
Rooting Methods
Code:
1. Official SuperSU (not just 2.82+)
1. Ensure you are running emui 5.x stock kernel
2. Tick the option "Keep vendor partition mounted" inside OpenKirin Settings
3. download and install official SuperSU
4. Enjoy!

2. Custom SuperSU
1. Make sure the device running stock EMUI 5.x boot.img
2. flash this modded SuperSU 2.79: download here
3. enjoy root :)
NOTE: this is for every device (except kirin 960 based) running emui 5.x without loop support.

3. Magisk
1. ensure you are running a emui 5.x stock kernel
2. flash magisk
3. enjoy root & safetynet (read note)
NOTE: Magisk Hide is a known problem on Huawei/Honor devices.
Make sure you are not rebooting/turning off your device with Magisk Hide enabled!
You may face a broken fingerprint scanner, do not worry,
simply disable magisk hide and reboot - fps works again!



Downloads

FAQ
Code:
Q: What's the code status?
A: 10. June 2017

Q: which P9 Lite models are supported?
A: every model should be supported.

Q: Can i use this TWRP with decrypted /data?
yes, you can! (have a look at the instructions in FAQ)

Q: Can i install LOS or AOSP based roms with this TWRP?
yes, you can! (please follow the installing procedure in the corresponding rom thread)

Q: Can i install Magisk?
A: Since 3.1.1-0 you are able to flash Magisk through TWRP (recovery kernel  has been updated)

Q: Does official SuperSU work?
A: Yes, even though chainfire included a fix in his upcomming version,
you can use every version of it, just check the "Rooting Instructions" section.

Q: ETAs?
A: No.
Going back from decrypted -> encrypted?
Code:
1. Format /data inside of TWRP
2. Flash eRecovery & Kernel from your currently installed Stock ROM Build
3. Do a factory reset inside of eRecovery
5. Let device boot up
6. Install your current firmware hw_data package & SuperSU using TWRP again

Want to decrypt? No problem.
Code:
1. Format /data inside of TWRP
2. Flash a kernel with forceencrypt disabled
3. bootup your device



Special Thanks

XDA:DevDB Information
TWRP, Tool/Utility for the Huawei P9 Lite

Contributors
OldDroid, surdu_petru, XePeleato
Source Code: https://github.com/OpenKirin/android..._huawei_hi6250


Version Information
Status: Stable

Created 2017-04-12
Last Updated 2017-06-11
The Following 44 Users Say Thank You to OldDroid For This Useful Post: [ View ]
 
 
12th April 2017, 01:09 PM |#2  
OldDroid's Avatar
OP Recognized Developer
Flag Berlin
Thanks Meter: 6,185
 
Donate to Me
More
Reserved
Changelog
Code:
TWRP 3.1.0-2
* Add support for NTFS formatted MicroSD crads or OTG drives
* Enabled direct image flashing to special partitions
(be careful when using it - one wrong klick means brick in a second!)
* TWRP is now compatible with AOSP based ROMS (LineageOS)
and decrypted Stock ROMS, transition from Stock to LOS is possible (encrypted -> decrypted).
* Correct versioning - Device version is now comming from the common base.
* 6250-common: switch to common base to ensure full support

TWRP 3.1.0-1
(never released)

TWRP 3.1.0-0
* initial release
The Following 20 Users Say Thank You to OldDroid For This Useful Post: [ View ]
12th April 2017, 01:33 PM |#3  
Senior Member
Flag toulouse
Thanks Meter: 240
 
More
??
I have not tested with recovery twrp here, i have tested it with recovery revolution rc3 of (badwolf). THANK YOU...
Your supersu 2.79 works apparently correctly..merci ..
12th April 2017, 01:37 PM |#4  
Member
Thanks Meter: 5
 
More
Have anyone tested this TWRP yet?
12th April 2017, 01:38 PM |#5  
simo255's Avatar
Senior Member
Flag Casablanca
Thanks Meter: 563
 
Donate to Me
More
Quote:
Originally Posted by pospi69

Have anyone tested this TWRP yet?

yes i tested it and it is fully working
The Following User Says Thank You to simo255 For This Useful Post: [ View ] Gift simo255 Ad-Free
12th April 2017, 01:44 PM |#6  
Member
Flag Arbatax
Thanks Meter: 9
 
More
Starting with TWRP recovery will be possible to switch to this recovery with the install command?
Thank you

nigol
12th April 2017, 02:22 PM |#7  
Member
Flag Sarajevo
Thanks Meter: 12
 
More
Quote:
Originally Posted by OldDroid



Code:
OpenKirin presents unofficial TWRP for stock EMUI 5.x with decryption support.
Intended for usage on stock emui 5.x in combination with unlocked bootloader and
modded boot image with disabled dm-verity (depending on what you want to do).
Instructions
Code:
1. Enter fastboot mode on unlocked device
2. flash recovery using the following command: fastboot flash recovery twrp-3.1.0-0-hi6250.img
3. reboot to recovery!
Rooting - Special SuperSU
Code:
1. Make sure the device running stock EMUI 5.x boot.img
2. flash this modded SuperSU 2.79: download here
3. enjoy root :)

NOTE: this is for every device running emui 5.x without loop support.


Downloads
FAQ
Code:
Q: What's the code status?
A: 12. April 2017

Q: anything special in your recovery?
A: yes, it is made for huawei phones and excludes important directories during wiping/factory reset
(like data/hw_init for example)

Q: which P9 Lite models are supported?
A: every model should be supported.

Q: ETAs?
A: No.
Special Thanks

XDA:DevDB Information
TWRP, Tool/Utility for the Huawei P9 Lite

Contributors
OldDroid, surdu_petru, XePeleato
Source Code: https://github.com/OpenKirin/android..._huawei_hi6250


Version Information
Status: Stable

Created 2017-04-12
Last Updated 2017-04-12

Is it possible to install xposed with this twrp?
12th April 2017, 02:31 PM |#8  
simo255's Avatar
Senior Member
Flag Casablanca
Thanks Meter: 563
 
Donate to Me
More
Quote:
Originally Posted by maka1105

Is it possible to install xposed with this twrp?

There is no Xposed for nougat -,-
12th April 2017, 03:04 PM |#9  
OldDroid's Avatar
OP Recognized Developer
Flag Berlin
Thanks Meter: 6,185
 
Donate to Me
More
Quote:
Originally Posted by pospi69

Have anyone tested this TWRP yet?

we never release untested stuff to the public.

Quote:
Originally Posted by nigol

Starting with TWRP recovery will be possible to switch to this recovery with the install command?
Thank you

nigol

simply flash it via fastboot or from inside twrp (install image method - select recovery partition)

Quote:
Originally Posted by maka1105

Is it possible to install xposed with this twrp?

as simo already told you, since when do we have xposed for nougat? Uhh, little addition, please, never quote op :|
The Following 2 Users Say Thank You to OldDroid For This Useful Post: [ View ]
12th April 2017, 03:19 PM |#10  
zgomot's Avatar
Senior Member
Flag Arad
Thanks Meter: 199
 
Donate to Me
More
I'm using Elite Kernel, is this still usable with a non stock kernel?
12th April 2017, 03:33 PM |#11  
OldDroid's Avatar
OP Recognized Developer
Flag Berlin
Thanks Meter: 6,185
 
Donate to Me
More
Quote:
Originally Posted by zgomot

I'm using Elite Kernel, is this still usable with a non stock kernel?

depends if it forces decryption or not ..
the recovery won't work on devices without encryption for now (wip, almost ready).
EDIT: just checked, it is compatible with this recovery
The Following 2 Users Say Thank You to OldDroid For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes