FORUMS
Remove All Ads from XDA

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

5,827 posts
Thanks Meter: 20,941
 
By surdu_petru, Recognized Contributor on 3rd March 2017, 11:47 AM
Post Reply Email Thread



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:
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-1-frd.img
3. reboot to recovery!
Rooting Methods
Code:
1. Official SuperSU (not just 2.82+)
1. Ensure you are running stock kernel from b380+
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 kernel from b380 or later
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 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

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
The Following 71 Users Say Thank You to surdu_petru For This Useful Post: [ View ] Gift surdu_petru Ad-Free
 
 
3rd March 2017, 11:47 AM |#2  
surdu_petru's Avatar
Honor Addict
OP Recognized Contributor
Flag Paris
Thanks Meter: 20,941
 
Donate to Me
More
Exclamation Changelog
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.
* Correct versioning - Device version is now comming from the common base.
* 3650-common: introduce init.recovery.hi3650.power.rc for better power handling
The Following 8 Users Say Thank You to surdu_petru For This Useful Post: [ View ] Gift surdu_petru Ad-Free
3rd March 2017, 11:49 AM |#3  
surdu_petru's Avatar
Honor Addict
OP Recognized Contributor
Flag Paris
Thanks Meter: 20,941
 
Donate to Me
More
*** reserved ***
The Following 13 Users Say Thank You to surdu_petru For This Useful Post: [ View ] Gift surdu_petru Ad-Free
3rd March 2017, 12:10 PM |#4  
johnhux7's Avatar
Honor Champion
Senior Member
Flag Inverness
Thanks Meter: 320
 
More
Quote:
Originally Posted by surdu_petru

*** reserved ***

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
3rd March 2017, 12:14 PM |#5  
surdu_petru's Avatar
Honor Addict
OP Recognized Contributor
Flag Paris
Thanks Meter: 20,941
 
Donate to Me
More
Quote:
Originally Posted by johnhux7

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 !
3rd March 2017, 12:25 PM |#6  
johnhux7's Avatar
Honor Champion
Senior Member
Flag Inverness
Thanks Meter: 320
 
More
Quote:
Originally Posted by surdu_petru

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
3rd March 2017, 12:28 PM |#7  
morpheus302's Avatar
Honor Fanatic
Senior Member
Flag Tunis
Thanks Meter: 154
 
More
Has anyone managed to root EMUI 5 using this recovery?
Thnak you so much surdu_petru
The Following User Says Thank You to morpheus302 For This Useful Post: [ View ] Gift morpheus302 Ad-Free
3rd March 2017, 12:32 PM |#8  
ViCioPT's Avatar
Honor Addict
Senior Member
Flag Brugge - Belgium
Thanks Meter: 166
 
More
Quote:
Originally Posted by surdu_petru

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!
3rd March 2017, 03:15 PM |#9  
Honor Enthusiast
Senior Member
Thanks Meter: 736
 
More
@surdu_petru : Thanks for the great work. I'm curious if you used the 7.x.x kernel from the OP git here https://github.com/OpenKirin/android...i_frd/tree/7.x ? If so, did you use recommended-config? (with loop-dev == y)?.

Many thanks.
The Following User Says Thank You to hachamacha For This Useful Post: [ View ] Gift hachamacha Ad-Free
3rd March 2017, 03:26 PM |#10  
Honor Fanatic
Account currently disabled
Flag San Pedro, Laguna
Thanks Meter: 1,614
 
More
Wow. Just wow.
3rd March 2017, 03:55 PM |#11  
4rch0's Avatar
Senior Member
Flag Vienna
Thanks Meter: 310
 
More
@surdu_petru Thanks for your work, but i´m not able to mount data partition

flashed over twrp 3.0.2.0 for Nougat
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