yashsingh1/xdaforums huggingface dataset:
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] lunchplease:
I managed to unlock bootloader and install TWRP but stuck after that. Thought I'd managed to make an expensive paperweight as it got caught in a bootloop but managed to wipe and restart again. Very frustrating as all I want to do is get SU on so I can get rid of that bloody hivoice which keeps hijacking as the assistant.

Instructions a bit confusing for me as I'm haven't ever fiddled with encrypted drives and been on nexus 6p before that and one plus one before that so only moved to this one after the google beta broke the nexus :(.

Hopefully one of the wizards on here will take pity and help with a root kit or something?! Would be definitely something I'd contribute a few sheckles for for beer!
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] adriansticoid:
You mean you got stuck in bootloop after flashing SU?
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] OldDroid:
maybe try the suggested rooting method in op?
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] lunchplease:
Yep unfortunately

---------- Post added at 09:40 AM ---------- Previous post was at 09:39 AM ----------

@olddroid that's exactly what I did though
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] maddacas:
did you flash last version of twrp published here?
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] thilak devraj:
perform a dload flash,

ie., download any firmware for your model, extract the zip, you will find a folder called dload

you need to coppy that folder to your scdard

then if you have stock recovery,

1. switch your phone off,

hold power and both volume keys untill honor logo apears

and then everything eill be done by the phone itself, and it will reboot to system

if you have twrp installed,

just open the dload folder that you have downloaded,

you will find an update.app

you need to extract recovery.img from that update.app using huawei firmware extractor

and flash that recovery (use either twrp or fastboot)

and then perform the step 1
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] Ruppi64:
work not fine here

If I with twrp-3.1.1-1-duk.img for guidance decrypt (format / data inside of TWRP) missing all possible apps of B130 Rom.

Backup of data is not possible without decrypt also a recovery without data ends in the bootloop

Root also works with 2.6.SuperSU2.82-noveritySelEnforcing
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] maddacas:
backup don't work and we hope in this :)
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] Ruppi64:
No-verity-opt-encrypt-5.1 works but when I make data factory reset missing many apps and system settings
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] adriansticoid:
[MENTION=4960686]OldDroid[/MENTION], didn't you include the special folder in /data which contains some important apps?
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] Ruppi64:
How decrypt data in original Rom ..... otherwise TWRP does not work properly. I hope I get an answer to my question

Thanks
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] adriansticoid:
Please read OP properly. Format data in TWRP.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] Ruppi64:
This does not work .... after reboot it is again encrypted and i missing many apps from original rom and system settings

How many times it has to be written here!
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] surdu_petru:
If you want to decrypt data on stock EMUI, you need to format data on TWRP - this operation will delete all your Internal Storage ( like your music, photo, configurations ... - all what was saved on Internal Storage) : External Storage ( microSD) will not be affected.

But, when you'll boot on EMUI ( after data was decrypted ) you need to flash also a custom kernel without "forcing data encrypted" - the stock EMUI kernel will encrypt data back after you boot from TWRP ( with data decrypted ) , because into stock kernel there is a flag on fstab.hi3660 which will force data encryption automatically ! I named this flag here : "forcing data encrypted" - for everyone to understand more easily :)

So, you need a custom kernel with fstab.hi3660 modified in order to boot successfully on stock EMUI with data decrypted .

Warning !

From device to device ( referring to the older Honor 8 & the newer Honor 8 Pro ) to this solution may be required also others modifications as well.

Regards,

EDIT :

If you read carefully what is written in the OP on the both sections : Going back from decrypted -> encrypted? & Want to decrypt? No problem. - you'll already have the answer to your question :) .... but I've detailed a little more - for new users who are not yet familiar with Huawei / Honor devices !
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] maddacas:
might you suggest a kernel?
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] Ruppi64:
Thanks for the fast answer ...... now we need a kernel with fstab.hi3660 modified that one TWRP can also fully use.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] surdu_petru:
BTW, at this moment TWRP can be fully used along with RROS 7.1.2 ;)
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] Wowa_li:
Help please, you can complete the installation instructions for twrp and then get root rights. I do not know English and use the google translator to write to you or read what the people write
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] Ruppi64:
I wait for this

Thanks;)
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] sreenivas134:
Hi, I'm from India. I've flashed the twrp-3.1.1-1-duk.img in my 8 pro 128 GB version. I'm stuck in bootloop. I've tried with the twrp-3.1.1-0-duk-emmc.img also. No change. Any help will be appreciated!
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] OldDroid:
you can't boot at all into twrp?

or you cannot boot into system?

Please give me detailed infos about your installed version
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] sreenivas134:
Soon after flashing twrp I can enter into twrp using the keys. I've tried to back up the device in read only mode. I was telling "can't create backup folder". I've tried to boot into system but not working. Installed TWRP version is 3.1.1-1
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] sreenivas134:
Formatting data fixed the issue with 3.1.1-1 version of TWRP. :good:
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] Sentinelv2:
Slightly off topic, but how did you guys manage to unlock the bootloader? I've been camping on the Huawei site for days now and all I get is a network busy message. Couldn't find any answers elsewhere. Thanks.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
try to unlock in chinese site
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] Sentinelv2:
Dang. It worked. Thanks :)
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
Your welcome
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] haskand:
plz help in rooting my honor 8 pro

hi to all xda members

i am new to this xdaforum.

i would like your help in rooting procedure of my honor 8 pro.

i have succssesfully unlock the boothloader + twrp is also installed on my device.

but problem cames when i want to flash supersu.zip in twrp.

twrp shows various encrypted folder in the internal storage of device

i cannot find a any zip file in internal storage.

in op it mention that format /data in twrp.

but how can i do this ? i cant get it.

in twrp i format the data in wipe option..

but it doesnt work.

olddroid sir also mention that flash a kernel with fileencryption disabled in fstab after formating the /data in twrp

this two steps are bit difficult for me.

how can i flash a kernal with fileencryption disabled in fstab plz help me in this two procedure step by step.

i also try to get the backup of data in twrp but it shows error.

plz help me guys in rooting my device..

any help wii be appriciated.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] smouker:
If you only need root you can also flash the zip file from the external sd card. You can have root on an encrypted device. If you want to have your device decrypted you need to follow the installation process of an custom rom (like RROS)

Cheers
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] jdjej2hsk43js2:
no work..

Unmodified System partition.

Keep system read only?

.

.

.

Installing zips performing adb operations may still modify the system partition.

:crying:
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] adriansticoid:
What's the problem with that?
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] jdjej2hsk43js2:
No work TWRP

Honor v9 (DUK-AL20) EMUI 5.1 , B181

Bootloader unlocked
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] lunchplease:
Really? Worked with mine BUT I am on B173. Sorry to hear mate
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] OldDroid:
works fine here, DUK-L09CB182
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] smouker:
Hey guys,

I recently restored my phone back to stock with firmware L09C432B130. Then I flashed TWRP and flashed phh's superuser from OP.

I then wanted to install magisk but something went wrong. I now have a phone without root but magisk v12 installed.nable. If i flash magisk v13.3 it says boot.img is already modified (uninstaller of magisk also fails).

If i now flash phh's superuser my phone does not boot. So im stuck with magisk v12 and root access is not present.

Could anyone tell me what I need to flash to get root back again.?

Cheers
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] adriansticoid:
Flash your stock boot.img and flash Magisk 13.3 again.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] smouker:
I was thinking the same, I guess i need to extract it somewhere from the fw package... Then flash it via Fastboot right.?

Cheers
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] adriansticoid:
Yes. Goodluck. ;)
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] smouker:
Managed to get Magisk v12 running. v13.3 does somehow not work for me...
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] adriansticoid:
What does the error say?
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] smouker:
It installs fine but the phone then loops when I try to boot
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
do you flashed the magisk over SU ?
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] smouker:
nope. I restored original boot.img and then flashed magisk in recovery
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
after restoring will the device worked ? then no just reflash the firmware and flash again magisk
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] smouker:
My device works fine now but just with magisk v12, I actually dont want to restore the whole phone again right now xD
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
ok good, we will wait if any other have the same problem,until use the magsik ,

also please make a full backup before flashing any thing, because no unbricking sources are not fully available right now :good:
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] smouker:
Well full backup is not possible in TWRP since the stock Rom encrypts the phone
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
Format data and reboot again to recovery to remove encryption and the full back the twrp of stcok
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] Sentinelv2:
Hi,

I've got like two doubts.

1. I had forgotten to turn off the OTA updates and the phone downloaded it overnight. Now I'm kind of worried if I'll lose root if I continue. I have flashfire installed but there's like this warning not to use it on Huawei devices. Does OTA updates still kill the root? Or is it not going to work at all with TWRP installed?

2. Slightly off topic, but does anyone know how to get this /system to be mounted as rw? My busybox is not installing since no apps have write permissions to /system. I've already tried the mount rw app, via root explorer and via terminal.

Thanks a lot
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
Yes big ota kills the root.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] adriansticoid:
No but rather the OTA will fail mostly.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
In most of the cases, it was right :p
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] FrenchKoR:
Hi everybody.

A new OTA update is available for my phone, but I can't install it since I used TWRP 3.1.1.

Do you know a way to go back to stock recovery / boot.img ?

Thanks in advance.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
Find the firmware of your build in firmware finder and download it open it with huawei update extractor and find the recovery.img and flash via fastboot.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] FrenchKoR:
It works, thanks ! ;)
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
You are welcome :)
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] amulbaby:
Can't mount /system with -rw permissions.

Without that , root access is partial.

Any workaround ?
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] adriansticoid:
Which model and build number?
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] Sentinelv2:
I've this question as well.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] amulbaby:
Model: DUK-L09

Build number: DUK-L09C675B140

Indian variant

Did a bit of Google search and people say some manufacturers block users from tampering with /system partition even after rooting. Stock firmwares disallow this and some OEMs lock this in hardware.

Can anything be done about it ?
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] aKp1:
Unable to hide root. Also [MENTION=4477197]amulbaby[/MENTION] said, unable to mount and access system

Hide my root and root cloak doesn't work!

Chainfire's SUHide doesn't work without SuperSU.

I flashed phh.superuser. Any way to transit to magisk?
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] PalakMi:
You need to remove SU, then flash magisk.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
Bro go to supersu setting and do full unroot(this will empty the su binaries) then go for magisk and if you have any problem with safety net install thw universal safety net fix
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] aKp1:
Bro I have rooted using phh.superuser not supersu

I think currently I'll have to reflash the stock rom to unroot!
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
Bro no need to flash just open the superuser and in settings select the fullunroot option.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] aKp1:
Already tried that! It just uninstalls the SuperSU and phh.superuser but doesn't unroot. The binaries are still there!

Probably the only way to unroot as of now is restoring the original boot.img recovery.img or installing the stock rom
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
then do it :good:
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] PalakMi:
That's all you need to do.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] amulbaby:
Phhsuperuser doesn't seem to have a Full Unroot option like SuperSU has.

That is the issue. I guess rewriting stock and then flashing back Magisk is the way to go.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
Yes then flash the boot img of stock
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] san.cspro:
Hi guys, I have the same problem. I tried in many file explorers, all say that the System folder is read-only.

Model: DUK-L09

Build number: DUK-L09C675B140

Indian variant

Unlocked Bootloader and Rooted using the OP

Thanks!
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
Revoke the permissions in supersu again
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] san.cspro:
You mean delete the permission for file explorers in PHH SuperUser app? I deleted many times with ES File Explorer, X-plore apps. Still no use.

Sorry I m new to these things.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
I mean recheck the permissions in supersu app and allow again to use root.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] san.cspro:
I am using PHH Superuser app as mentioned in the OP. I did not install SuperSU app. Let's say I use X-plore app, I open X-Plore, PHH Superuser prompts me for giving root access to X-Plore. I say yes. Then I access the System folder files in X-Plore, there it says the files are read-only.

After reading your post, I opened PHH Superuser app, removed X-Plore from permission, I again tried to access the System files as above. It doesnt work again.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] PalakMi:
Users are reporting some issue with PHH Superuser, try magisk v13.3
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] san.cspro:
Ok well, can I install Magisk in an encrypted partition. I did not decrypt it yet. I just unlocked bootloader and rooted, I did nothing else.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] PalakMi:
I don't know if you can install magisk in an encrypted partition.

Sorry :(
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
Can you unroot and install magisk and root.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] san.cspro:
Sorry for being a noob. How do I do this? Any help would be appreciated!
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
If you have a backup of stock boot. Just flash it .

Or there will he an option fullunroot in the settings of su app.try.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] san.cspro:
Unfortunately, I don't have a backup of stock boot image. And I have phh superuser which doesn't have the unroot option.

So now i have to flash stock ROM?

Just wondering, phh superuser root is of no use?
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
Yes u have to flash stock if you dont have boot backup.

Magisk is way better than superuser.

Magisk contains modules to install also.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] neels199:
Can someone please elaborate on what exactly encrypt and decrypt /data is?

How do I know if my data is encrypted or not?
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] smouker:
If you reboot to recovery then install from zip and choose internal storage. If there are crypted names of your folders then its encrypted.

Cheers
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] aKp1:
Basically currently root is of no use since you cannot access system and even if you do, then you don't have R/W permissions.

Titanium doesn't work well, instead for Huawei/Honor phones, Huawei Backup works really well which backs up the system data too. Busybox cannot be installed. TWRP doesn't work well, nandroid backup gives cannot create folder, no read write permission error.

Over and above all this, the basic cons are there, warranty void, no OTAs and some apps won't work due to root like banking apps and Android Pay (though it is of no use in India). So even after rooting, there is not much to gain.

Edit:

You have to flash stock rom to unbrick/unroot/lock the bootloader/return to stock rom using the SDCard dload flash method. The firmware available is B130.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] san.cspro:
Right, I should have stayed in the stock as it was. At least, warranty would have been intact. Hoping that flashing stock ROM procedure is simple enough for me to follow?

BTW, I am on B140 India ROM, so I can revert to B130 and then move to B140 via OTA? Is it possible?

Thanks man!
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] amulbaby:
Phh superuser app doesn't seem to have a Full Unroot option and thats why users are stuck.

Its not like you find in case of SuperSU app.

---------- Post added at 04:08 PM ---------- Previous post was at 04:03 PM ----------

This is something many of the rooted users have in mind.

Rooting doesn't give any useful access as of now. Most of play / tinkering is with /system partition and it is forbidden with whatever root method we have now.

If you have B140 ROM, you can go back to B130 and upgrade to B140 via OTA.

LINK TO B130 STOCK ROM

Use the above link, extract it. Download Huawei firmware extractor and open the Update.app file using it.

You will get a list of files that the firmware contains. Extract Stock recovery and recovery2. Flash them.

Select all files and right click to make a Flashable zip file. Use it for ROM installation .

This should encrypt your data, lock bootloader and remove root access.

Then upgrade to B140.

Good luck

---------- Post added at 04:11 PM ---------- Previous post was at 04:08 PM ----------

It won't work. Which is what me and akp1 have been discussing over the past few posts.

Please have a look
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] san.cspro:
Yes, thanks for the steps for going back to unmodified stock ROM. Right now, I don't have any problems with b140. So, I'll wait for some more time until we get a nice working root. Or I'll try magisk once.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] venugopalu007:
ho then only way is flash the Stock Rom again
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] sniperlife:D:
Where is this zip? How can I stay decrypted? Anyone?
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] Nosstrom:
Hello guys i have a serious problem. Whenever i try to flash .zips from twrp writes error 9 and of course i cant flash update.zip, update_full_DUK-L09_hw_eu and one other zip to load the rom b183 what can i do ?
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] sniperlife:D:
Did you remove encryption?
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] rexinriot:
is there someone who has installed magisk.. is it working properly with h8 pro....?
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] sniperlife:D:
It will work properly but we need to be permanently decrypted. Since the stock kernel automatically encrypts at boot. I was also asking for a way to be permanently decrypted.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] rexinriot:
Has there been any way developed to permanently decrypt...or enjoy full root benefits..

I have rooted my phone using the phh superuser method...and now i jst want to go back since its encrypted.

I heard magisk is a good way to go..but will magisk installation would also need rom to be decrypted..?

Can i jst install magisk rightnow..or i hve to go back to orginal rom and start from there....a lot of confusion...help plz
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] sniperlife:D:
All we need to know beside being decrypted permanently is included already in OP.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] rexinriot:
the post did mention... and also said about the need of a kernel to permanently decrypt the rom.. but i cant find the kernel.. sry if i missed smthing.. could someone post the kernel link if available...
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] adriansticoid:
How to make a flashable file of B130? Through Huawei Update Extractor too? Or do we already have a flashable B130? I'm looking for one.
[Honor 8 Pro  ROMs, Kernels, Recoveries, & Other De] arthur.kuban:
how do I get into the twrp menu? i ran the image i got this

Z:\>fastboot flash recovery twrp-3.1.1-1-duk.img

target reported max download size of 471859200 bytes

sending 'recovery' (31896 KB)...

OKAY [ 0.863s]

writing 'recovery'...

OKAY [ 0.312s]

finished. total time: 1.176s

but not sure what to do after. All i am looking to do is rebrand the phone based on another topic in the forums, but i am not sure how to get to the menu to install/run code through the twrp terminal