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

Search This thread

OldDroid

Recognized Developer
Nov 18, 2012
1,768
6,957
Berlin
teamwin-recovery-project-twrp-logo.jpg



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:
[COLOR="red"][B]WARNING:[/B] 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!)[/COLOR]


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:
[B][U]1. Official SuperSU (not just 2.82+)[/U][/B]
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 [URL="www.supersu.com/download"]official SuperSU[/URL]
4. Enjoy!

[B][U]2. Custom SuperSU[/U][/B]
1. Make sure the device running stock EMUI 5.x boot.img
2. flash this modded SuperSU 2.79: [URL="https://drive.google.com/open?id=0BxWP2gF_0Bd_UmQ2Zm9ZRGxBTUE"]download here[/URL]
3. enjoy root :)
[COLOR="red"][B]NOTE:[/B][/COLOR] this is for every device (except kirin 960 based) running emui 5.x without loop support.

[B][U]3. Magisk[/U][/B]
1. ensure you are running a emui 5.x stock kernel
2. flash magisk
3. enjoy root & safetynet (read note)
[B][COLOR="red"]NOTE:[/COLOR][/B] 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
Code:
[LIST]
[URL="https://github.com/OpenKirin/android_device_huawei_venus/releases/download/3.1.1-0/twrp-3.1.1-0-venus.img"][U]download twrp-3.1.1-0-venus.img[/U][/URL]
[/LIST]


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
Code:
* [URL="https://forum.xda-developers.com/member.php?u=2335078"]surdu_petru[/URL]
* [URL="https://forum.xda-developers.com/member.php?u=7354786"]XePeleato[/URL]
* [URL="https://forum.xda-developers.com/member.php?u=220328"]paulobrien[/URL]

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

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


Version Information
Status: Stable

Created 2017-04-12
Last Updated 2017-06-11
 

OldDroid

Recognized Developer
Nov 18, 2012
1,768
6,957
Berlin
Reserved

Changelog
Code:
[B]TWRP 3.1.0-2[/B]
* 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

[strike][B]TWRP 3.1.0-1[/B]
(never released)[/strike]

[B]TWRP 3.1.0-0[/B]
* initial release
 
Last edited:

Chisetdel31260

Senior Member
Jun 21, 2016
1,078
333
toulouse
??
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 ..
 

nigol

Senior Member
Sep 23, 2012
169
17
Arbatax
Starting with TWRP recovery will be possible to switch to this recovery with the install command?
Thank you

nigol
 
teamwin-recovery-project-twrp-logo.jpg


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: [URL="https://drive.google.com/open?id=0BxWP2gF_0Bd_UmQ2Zm9ZRGxBTUE"]download here[/URL]
3. enjoy root :)

[COLOR="red"][B]NOTE:[/B][/COLOR] this is for every device running emui 5.x without loop support.

Downloads
Code:
[LIST]
[URL="https://github.com/OpenKirin/android_device_huawei_hi6250/releases/download/3.1.0-0/twrp-3.1.0-0-hi6250.img"][U]download twrp-3.1.0-0-hi6250.img[/U][/URL]
[/LIST]

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
Code:
* [URL="https://forum.xda-developers.com/member.php?u=2335078"]surdu_petru[/URL]
* [URL="https://forum.xda-developers.com/member.php?u=7354786"]XePeleato[/URL]
* [URL="https://forum.xda-developers.com/member.php?u=220328"]paulobrien[/URL]

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

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


Version Information
Status: Stable

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

Is it possible to install xposed with this twrp?
 

OldDroid

Recognized Developer
Nov 18, 2012
1,768
6,957
Berlin
Have anyone tested this TWRP yet?
we never release untested stuff to the public.

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)

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 :|
 

eagletdw

Member
Mar 19, 2017
41
11
Kandy
www.youtube.com
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

Hello,
I flashed with this recovery and it works well. Btw I tried to root the device (by using provided SuperSu, I flashed it and installed supersu app) but it didn't succeed. The supersu app says it need to update su binary and when continue, the app freezes. Previously I used revolution recovery rc2 with elite kernel v4. Any solution? :)
Thank you.
P.s.: My device is VNS-L31C636 and I'm using Android 7.0 with EMUI 5.0
 

OldDroid

Recognized Developer
Nov 18, 2012
1,768
6,957
Berlin
Hello,
I flashed with this recovery and it works well. Btw I tried to root the device (by using provided SuperSu, I flashed it and installed supersu app) but it didn't succeed. The supersu app says it need to update su binary and when continue, the app freezes. Previously I used revolution recovery rc2 with elite kernel v4. Any solution? :)
Thank you.
P.s.: My device is VNS-L31C636 and I'm using Android 7.0 with EMUI 5.0

rooting method provided only works with stock kernel as elite kernel is pre-patched!
 
  • Like
Reactions: zgomot and eagletdw

OldDroid

Recognized Developer
Nov 18, 2012
1,768
6,957
Berlin
titanium app not restoring any app..... tried with both mount namesapce options,,, same issue which i got in porting phh superuser and same happen with me on v1 build,,,

nope, i just checked it, works fine with BusyBox installed. Check "Control Center" - justed backed it up and restored it.
 

Attachments

  • Screenshot_20170412-164417.jpg
    Screenshot_20170412-164417.jpg
    183.1 KB · Views: 738

Mareczin

Member
Jul 1, 2016
8
1
How i can flash SuperSU? i download your files but i do not know how to install this. In twrp i cant see this file :/
 

Mazzen.kh

Senior Member
Dec 11, 2012
124
35
Cairo
Samsung Galaxy S20
How's backup in this recovery?
Because when i backed up using revolution recovery, then tried to restore it i lose many apps and functionalities
example: the phone doesn't produce any sound
fm radio app not found
and many more
if someone tried it i want to know
 

Top Liked Posts

  • There are no posts matching your filters.
  • 43
    teamwin-recovery-project-twrp-logo.jpg



    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:
    [COLOR="red"][B]WARNING:[/B] 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!)[/COLOR]


    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:
    [B][U]1. Official SuperSU (not just 2.82+)[/U][/B]
    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 [URL="www.supersu.com/download"]official SuperSU[/URL]
    4. Enjoy!
    
    [B][U]2. Custom SuperSU[/U][/B]
    1. Make sure the device running stock EMUI 5.x boot.img
    2. flash this modded SuperSU 2.79: [URL="https://drive.google.com/open?id=0BxWP2gF_0Bd_UmQ2Zm9ZRGxBTUE"]download here[/URL]
    3. enjoy root :)
    [COLOR="red"][B]NOTE:[/B][/COLOR] this is for every device (except kirin 960 based) running emui 5.x without loop support.
    
    [B][U]3. Magisk[/U][/B]
    1. ensure you are running a emui 5.x stock kernel
    2. flash magisk
    3. enjoy root & safetynet (read note)
    [B][COLOR="red"]NOTE:[/COLOR][/B] 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
    Code:
    [LIST]
    [URL="https://github.com/OpenKirin/android_device_huawei_venus/releases/download/3.1.1-0/twrp-3.1.1-0-venus.img"][U]download twrp-3.1.1-0-venus.img[/U][/URL]
    [/LIST]


    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
    Code:
    * [URL="https://forum.xda-developers.com/member.php?u=2335078"]surdu_petru[/URL]
    * [URL="https://forum.xda-developers.com/member.php?u=7354786"]XePeleato[/URL]
    * [URL="https://forum.xda-developers.com/member.php?u=220328"]paulobrien[/URL]

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

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


    Version Information
    Status: Stable

    Created 2017-04-12
    Last Updated 2017-06-11
    18
    Reserved

    Changelog
    Code:
    [B]TWRP 3.1.0-2[/B]
    * 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
    
    [strike][B]TWRP 3.1.0-1[/B]
    (never released)[/strike]
    
    [B]TWRP 3.1.0-0[/B]
    * initial release
    15
    New Release is up! TWRP 3.1.1-0 for Huawei P9 Lite (vns)

    Changelog:
    * TWRP 3.1.1
    * OpenKirin Edition with inbuilt Huawei device specific settings
    * /vendor is now mounted by default and cannot be unmounted (unless you disable it in the settings) to prevent installation issues on multiple projects
    * limited the backup partitions to /boot, /cache, /data, /system and /vendor to ensure a normal restorable os setup
    * system and vendor images can now be flashed directly through TWRP ("System Image", "Vendor Image")

    check OP or Github for more information.

    Regards
    6
    Update pushed, TWRP 3.1.0-2 released.
    Please read the warning below the project description!
    This TWRP is now intercompatible between encrypted and decrypted /userdata and can be used for transition encrypted -> decrypted.
    Even backups from decrypted can be restored on encrypted (and reversed) without data loss.
    This release is considered stable and fully working.

    how can this TWRP is different from Revolution Recovery ?? or how this is better than revolution recovery ?? @OldDroid

    It has no *** branding and it's "stock" TWRP, also read the OP.

    branding and stock things dont mattar,,, i read the OP clearly first,,, also read decryption support,,, just confirming that do it decrypt encrypted data or any other benefit than revolution recovery ??

    Well for one it doesn't have that ****ty anime cartoon.

    That's enough for me to choose it over Revolution Recovery.

    Oh, and this is version 3.1.0 while Revolution Recovery is still 3.0.3.

    Oh, and this allows f2fs file system, while Revolution Recovery doesn't.

    Did I mention this doesn't have that ****ty anime cartoon?

    BTW, i love that bad wolf animation :D and i will now see after flashing it the more better difference may be i found :p

    i think my last release gives you the necessary changes.

    Regards!