[TWRP][H8][3.1.1-1][EMUI 5.x / AOSP N][DECRYPTION SUPPORT]

Search This thread

surdu_petru

Recognized Contributor
Feb 3, 2010
7,560
23,795
Paris
teamwin-recovery-project-twrp-logo.jpg



This is only for Honor 8 (FRD)
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-1-frd.img
3. reboot to recovery!

Rooting Methods
Code:
[B][U]1. Official SuperSU (not just 2.82+)[/U][/B]
1. Ensure you are running stock kernel from b380+
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 kernel from b380 or later
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_honor_frd/releases/download/3.1.1-1/twrp-3.1.1-1-frd.img"][U]download twrp-3.1.1-1-frd.img[/U][/URL]
[/LIST]


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

Q: which H8 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: Every ROM based upon b380+ kernel should now include proper loop support.
Since 3.1.0-3 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://xdaforums.com/member.php?u=4960686"]OldDroid[/URL]
* [URL="https://xdaforums.com/member.php?u=7354786"]XePeleato[/URL]
* [URL="https://xdaforums.com/member.php?u=220328"]paulobrien[/URL]

XDA:DevDB Information
TWRP, Tool/Utility for the Honor 8

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


Version Information
Status: Stable

Created 2017-03-03
Last Updated 2017-06-26
 

surdu_petru

Recognized Contributor
Feb 3, 2010
7,560
23,795
Paris
Changelog

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
([B][I][COLOR="Red"]be careful when using it - one wrong klick means brick in a second![/COLOR][/I][/B])
* TWRP is now compatible with AOSP based ROMS (LineageOS)
and decrypted Stock ROMS, transition from Stock to LOS is possible.
* Correct versioning - Device version is now comming from the common base.
* 3650-common: introduce init.recovery.hi3650.power.rc for better power handling
 
Last edited:

surdu_petru

Recognized Contributor
Feb 3, 2010
7,560
23,795
Paris
Thanks for putting the effort into making and sharing this TWRP with us.
The download link isn't working for me.
I'm using the mobile XDA labs
Thanks
John

Sent from my Honor 8 using XDA Labs

Yes, it's working ... just checked right now ! You should try one of the alternate mirror links./ Or use a PC for download !
 

johnhux7

Senior Member
Sep 18, 2013
947
310
52
Inverness
Yes, it's working ... just checked right now ! You should try one of the alternate mirror links./ Or use a PC for download !
OK.
I will try in a PC when I can.
On a mobile the hyperlink doesn't show so there is nothing to click on

Got it to download.
Just had to open the page in a browser.
Thanks buddy

Sent from my Honor 8 using XDA Labs
 
Last edited:

ViCioPT

Senior Member
Mar 9, 2012
495
160
Brugge - Belgium
Yes, it's working ... just checked right now ! You should try one of the alternate mirror links./ Or use a PC for download !

The link is working.

Great work @surdu_petru!!!!! once again!

Regarding this. I already have previous nougat twrp + root (although no access to data partition) Can I just flash this one on top? Do I need to format or reinstall something afterwards?

[EDIT]
Just replace previous 3.0.2 for nougat and everything is working: root and access to data & system partition! Enormous work!!!!

Another thing, you mention a "modded boot image with disabled dm-verity" can you explain what's this and for what is it used for?

Thanks once again!
 
Last edited:

dexz

Senior Member
I have flashed twrp 3.0.3 FRD at my Mate 8. I able to enter twrp but in 5 seconds my phone automatic restart. If I quickly check my internal storage. It's decrypted. So means it's working.

Is there any chance to support mate 8 too? Been using Twrp 3.0.2 FRD from beginning and has no issue.

Thanks in advance.
 
  • Like
Reactions: eddmecha
L

LastStandingDroid

Guest
I have flashed twrp 3.0.3 FRD at my Mate 8. I able to enter twrp but in 5 seconds my phone automatic restart. If I quickly check my internal storage. It's decrypted. So means it's working.

Is there any chance to support mate 8 too? Been using Twrp 3.0.2 FRD from beginning and has no issue.

Thanks in advance.

If u have any chance a log would be needed. And if u can Unmount data before reboot it might help to prevent recovery from being killed

Also there might be some issues due to different devices loading recovery faster? I can't answer on this. You'll have to wait or participate in helping out testing builds from devs

Sent from my CUBOT_MANITO using Tapatalk

---------- Post added at 08:32 PM ---------- Previous post was at 08:27 PM ----------

no didn´t format it , with the other twrp , i dont have any issues :confused:
Where you able to use data partition in twrp earlier versions means u wiped data partition so it's decrypted. This mounts data to dm-0 if decrypted. Which the other version never did

Sent from my CUBOT_MANITO using Tapatalk
 
Last edited:

OldDroid

Recognized Developer
Nov 18, 2012
1,766
6,960
Berlin
I have flashed twrp 3.0.3 FRD at my Mate 8. I able to enter twrp but in 5 seconds my phone automatic restart. If I quickly check my internal storage. It's decrypted. So means it's working.

Is there any chance to support mate 8 too? Been using Twrp 3.0.2 FRD from beginning and has no issue.

Thanks in advance.

your device isnt supported, its for honor 8!

Regards,
OD
 

Top Liked Posts

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



    This is only for Honor 8 (FRD)
    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-1-frd.img
    3. reboot to recovery!

    Rooting Methods
    Code:
    [B][U]1. Official SuperSU (not just 2.82+)[/U][/B]
    1. Ensure you are running stock kernel from b380+
    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 kernel from b380 or later
    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_honor_frd/releases/download/3.1.1-1/twrp-3.1.1-1-frd.img"][U]download twrp-3.1.1-1-frd.img[/U][/URL]
    [/LIST]


    FAQ
    Code:
    Q: What's the code status?
    A: 10. June 2017
    
    Q: which H8 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: Every ROM based upon b380+ kernel should now include proper loop support.
    Since 3.1.0-3 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://xdaforums.com/member.php?u=4960686"]OldDroid[/URL]
    * [URL="https://xdaforums.com/member.php?u=7354786"]XePeleato[/URL]
    * [URL="https://xdaforums.com/member.php?u=220328"]paulobrien[/URL]

    XDA:DevDB Information
    TWRP, Tool/Utility for the Honor 8

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


    Version Information
    Status: Stable

    Created 2017-03-03
    Last Updated 2017-06-26
    16
    New Update TWRP 3.1.0-0 !

    Hello !

    There is a new update of TWRP 3.1.0-0 for our device Honor 8.

    Please check OP fore more info ...

    Regards,
    14
    New Release is up! TWRP 3.1.1-1 for Honor 8 (frd)

    Changelog:
    * OpenKirin Edition with inbuilt Huawei/Honor 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")
    * updated rooting methods

    check OP or Github for more information.

    Regards
    13
    Pushed out release version 3.1.0-2, more info in OP.
    Please read the warnings below project description!
    This recovery is now compatible with decrypted phones aswell as any aosp based rom (LineageOS).
    For instructions on how to convert your device, in case it's necessary, simply have a look inside the FAQ.
    This is now considered as stable and fully working twrp, ready to be used as daily driver!

    Regards
    13
    *** reserved ***