yashsingh1/xdaforums huggingface dataset:
[Honor 10 Guides, News, & Discussion] fosterqaz11:
Already enjoying lucky patcher, vanced yt, cloudfare dns module, greenify :)

---------- Post added at 10:02 AM ---------- Previous post was at 09:54 AM ----------

I'm a noob but let me how I done it(not sure it will work for you)

Remove security pattern or pin (optional stage)

Flash twrp via adb

Reboot your phone normally and check adb reboot recovery

(If its booting you in recovery than rest of the step will work if not just avoid reading further hehe)

Go to advance and click sideload option in twrp

Now in pc, Flash the sideload command for magisk zip in adb

After flashing instead of clicking on reboot option in twrp, click reboot to recovery. That should work
[Honor 10 Guides, News, & Discussion] leAndroid91:
i now tried it with the reboot to recovery option in twrp but that didn't work for me either

again i'm stuck at your device is booting now...

i'm running out of ideas :(
[Honor 10 Guides, News, & Discussion] fosterqaz11:
Weird..

Are you on base emui 9 update or some patch update?

No idea about patch but should work otherwise.

Was your twrp working before magisk flashing?

If yes and if you did rest of the process correctly maybe it is fault on magisk :) since it's a canary build after all
[Honor 10 Guides, News, & Discussion] leAndroid91:
I had my Honor 10 on COL-L29C432B151 (8.1.0.151).

Then i flashed this firmware to get Android and EMUI 9: COL-L29C432E4R1P9B159 (9.0.0.159).

But the build no no longer shows the C432 extension.

That's confusing, too, right? There should be something saying C432, right?

Maybe something went wrong during the update?

But except the camera bug everythin is working fine.

What did you mean by "was your twrp working before magisk flashing?".

Yes it was working and it still is. I still can boot into recovery for example with adb reboot recovery.

But the last step after flashing the magisk.zip and restarting the phone into recovery (vol up or reboot into recovery button) the phone just get stuck at "your device is booting now".

How long have you to wait until the "your evice is booting now" screen disappears again?

I restarted the phone after nothing happend everytime after 3-5 minutes.
[Honor 10 Guides, News, & Discussion] fosterqaz11:
Build look same like mine.

---------- Post added at 09:55 AM ---------- Previous post was at 09:48 AM ----------

Can you tell how did you flash from beginning :)

Ps- I end up bugging with my recent menu while I got the xda email.

Fix it, seems the custom theme was causing it
[Honor 10 Guides, News, & Discussion] Xiara:
I thought that was it. At least the first time I tried it, I at least got past the booting message and into the loading animation which unfortunately froze at some point. Every attempt after that ended at the boot message again… It just won’t work for me :/

So you have the same problem.. and yeah, I’m also out of ideas. I have tried different versions of TWRP and Magisk now, tried variants of when to unplug the cable, how to reboot, shutting down in between etc. It just won’t work.

I also tried the debug version of Magisk to see if I can get any logs out of it, but the boot message appears before ADB can connect so I cannot look at logcat either.

Are you also running patch01?
[Honor 10 Guides, News, & Discussion] fosterqaz11:
I wish I had the issue also.

---------- Post added at 10:15 AM ---------- Previous post was at 10:14 AM ----------

Nop no patch!

First simple update i guess :)
[Honor 10 Guides, News, & Discussion] Xiara:
I guess then Magisk is maybe not compatible with the patch? Unless someone else can confirm that it works for them?
[Honor 10 Guides, News, & Discussion] fosterqaz11:
Maybe issue is with the update patch.

Can't you guys roll back to first 9 update?
[Honor 10 Guides, News, & Discussion] miststudent2011:
May be you both are using different TWRP ?
[Honor 10 Guides, News, & Discussion] fosterqaz11:
I was using the recovery provided in the thread until it got replaced by magisk :D
[Honor 10 Guides, News, & Discussion] leAndroid91:
#metoo
[Honor 10 Guides, News, & Discussion] kmarek11:
root my phone about build 9.0.0.159 (C636E2R1P12) with fix package 9.0.0.159 (C636E2R1P12patch02) by this thread and everything works OK only I can not run TWRP to make a backup.
[Honor 10 Guides, News, & Discussion] Chiptrip:
I am having the exact same problem, on COL-L29

Build 9.0.0.159(C432E4R1P9).... No way getting into TWRP although it says it flashed the TWRP img. In adb. ... Strange
[Honor 10 Guides, News, & Discussion] crispy77:
Didn't work for me. All seemed good until I boot back to EMUI and run Magisk Manager. It reports Magisks is not installed and can't install it. Then when I try and reboot to TWRP its been overwritten.

EDIT: After way to much time I think I've worked out how to get into recovery. With the phone shutdown and power off, hold down volume up and power. When you see the blue honor screen release the power button. Then when you get the warning screen, release the volume. Should then boot to TWRP. Can also do it from within emui by dialing code

* # * # 2846579 # * # *

and selecting 'Factory Reset'

Now wish I knew how to undo all this. Managed to extract recovery for COL-L29C432E4R1P9B159 (9.0.0.159) but the RAMDISK is missing. Any help would be gratefully received
[Honor 10 Guides, News, & Discussion] leAndroid91:
Am i too stupid or is there no fix package available for C432:confused:

The latest one i can find for my C432 device is COL-L29C432E4R1P9B159 (9.0.0.159), which should be without fix package.

Have this rom installed incl. camera bug.
[Honor 10 Guides, News, & Discussion] ThreeMMM:
You dont need the Ramdisk after all, all you need is recovery_ramdisk
[Honor 10 Guides, News, & Discussion] crispy77:
Thanks. Think I still need something though. If I reflash RECOVERY_RAMDISK I still can't relock. Is it the BOOT.img I need? So confused :rolleyes:
[Honor 10 Guides, News, & Discussion] miststudent2011:
You need to format your phone to get it relocked.

Btw are you on emui 8 or 9?
[Honor 10 Guides, News, & Discussion] crispy77:
Hi, Its EMUI 9. If you could give me step by step that would be amazing. Everything I try seems to trip me up at some point. Never had so much trouble with other phones :(
[Honor 10 Guides, News, & Discussion] kmarek11:
hay

I have root on how I can install the update I received through OTA?
[Honor 10 Guides, News, & Discussion] miststudent2011:
On emui 8 or 9?
[Honor 10 Guides, News, & Discussion] kmarek11:
II have root on the phone obtained according to the above instructions.

Now I receive information through OTA that there is a new update.

I installed Emui 9 9.0.0.159 (C636E2R1P12patch02) and received a new update for me Emui9 9.0.0.191 (C636E2R1P12) FULL 3.69GB

Can I install it without losing root?

Do you want to delete root to install the update and root?
[Honor 10 Guides, News, & Discussion] cplpro18:
I'm on 9.0.0.159 and able to update 9.0.0.162. After reboot the phone, nothing happens and it boots into the system. Anyone else have this problem?
[Honor 10 Guides, News, & Discussion] ThreeMMM:
No issues with updateing, it looks like you dont have flash the stock recovery_ramdisk before update. I had updated the instructions on the first page with instructions how to update rooted emui 9.
[Honor 10 Guides, News, & Discussion] miststudent2011:
Was your device rooted earlier ?
[Honor 10 Guides, News, & Discussion] cplpro18:
Yes, as described here in the thread.
[Honor 10 Guides, News, & Discussion] miststudent2011:
Can it boot into erecovery ?
[Honor 10 Guides, News, & Discussion] cplpro18:
When i boot active into eRecovery it works.
[Honor 10 Guides, News, & Discussion] miststudent2011:
Then just restore it from erecovery. You will get full stock and data may be wiped.

You can root later again using the same procedure.
[Honor 10 Guides, News, & Discussion] ThreeMMM:
There is no need for restoring the device thru eRecovery. Just flash stock recovery_ramdisk.img in fastboot, reboot phone, enable OEM Unlock (so its locked bootloader) and update the device like you would normaly do it. Just go to settings and select full package.

After this, you have to root the device again just like post 1 describes it.

No Data loss, no restore from Backup, just an updated EMUI9 with unrooteted state.
[Honor 10 Guides, News, & Discussion] cplpro18:
Could you upload a stock recovery file? I'm at work and won't wait till the evening :D
[Honor 10 Guides, News, & Discussion] Xiara:
Since you have already updated and are rooted again, I have new hope that rooting will succeed for me this time as well with the update. I’ll give it a try tonight!

Here you have the stock recovery_ramdisk for COL-L29C432E4R1P9B159: https://drive.google.com/file/d/1DMw_gJBOtHJfSycRG_yhsjsz1R7D6_Qd/view?usp=sharing

For some reason, the Firmware Finder does not list the new OTA yet though, so I cannot get a backup of the new stock recovery :/ I hope they will publish the link there soon.
[Honor 10 Guides, News, & Discussion] leAndroid91:
i flashed your recovery_ramdisk file

then rebooted the phone

Afterwards i tried to lock the bootloader again but this happened

C:\Users\xxx\Downloads>fastboot oem lock xxx
FAILED (remote: 'Command not allowed')
Finished. Total time: 0.009s

C:\Users\xxx\Downloads>fastboot oem relock xxx
FAILED (remote: 'root type is risk')
Finished. Total time: 0.006s

So how do i relock my phone for the OTA update?
[Honor 10 Guides, News, & Discussion] ThreeMMM:
Start so System, go to Settings, Developer Options, OEM Unlock Enable. You dont have to relock with fastboot, simply setup this in the Developer Options.
[Honor 10 Guides, News, & Discussion] Xiara:
There’s really nothing you gain from locking the bootloader through fastboot. If anything, you are putting yourself into a situation where you cannot escape again. I would recommend to stick with the unlocked bootloader.

You can still apply OTA updates just fine.
[Honor 10 Guides, News, & Discussion] miststudent2011:
I feel the same there is no need to relock your bootloader unless you want to invite trouble in near future.
[Honor 10 Guides, News, & Discussion] kmarek11:
How to upload stock recovery. I have a message from adb Failed <remote: 'partition length get error'>
[Honor 10 Guides, News, & Discussion] miststudent2011:
What command did you try?
[Honor 10 Guides, News, & Discussion] kmarek11:
is ok
[Honor 10 Guides, News, & Discussion] miststudent2011:
What do you mean by Ok ?

Is your device working fine now.
[Honor 10 Guides, News, & Discussion] kmarek11:
Yes

the key command to upload recovery stock is "fastboot flash recovery_ramdisk" and file name of stock recovery file .img
[Honor 10 Guides, News, & Discussion] miststudent2011:
Ok what did you do to solve it.

Its always good to post the solution worked for you as others can use it if they needed the help like you.
[Honor 10 Guides, News, & Discussion] :
I have the problem that I cant update to .162.

Trying your tutorial makes me wonder how to extract the update.app. I cant find the FullOTA....

I guess this is the needed step to be able to disable OEM Unlock.

Thanks for your help!
[Honor 10 Guides, News, & Discussion] Xiara:
I was wondering, did anybody happen to get Xposed (i.e. EdXposed) working with EMUI 9? I have it installed and it tells me that it is supposed to be working but no module appears to work for me. So if anyone was able to make it work, I would be curious what versions (and what Xposed installer) you use.

I have linked the stock recovery for pre-.162 up here: https://xdaforums.com/showpost.php?p=78794684&postcount=68

You should be able to use that to apply the OTA.

Applying the OTA should work with enabled OEM Unlock though. But if you are running a patched Magisk recovery to get root, then yeah, you will need a stock recovery first.
[Honor 10 Guides, News, & Discussion] :
Thanks a lot!

I will use the.img with ThreeMMM tutorial.

But I got u right that need to flash first the .img like written in the tutorial?

i am asking because the tutorial says flash the .img and diable OEM Unlock and u are saying it should work without disabling.

Thanks in advance!
[Honor 10 Guides, News, & Discussion] miststudent2011:
EMUI 9 support made into stable build.

You no longer need those steps.

Here are the instructions:

EMUI 9

For EMUI 9 devices, the ramdisk partition no longer exists. As a workaround, Magisk will be installed to the recovery_ramdisk partition. This means that you HAVE TO boot to recovery every time you reboot. This also means that you CANNOT have Magisk and custom recoveries at the same time! To boot to recovery, press Power + Volume Up when booting your device.

If you plan to use custom recoveries, simply follow the instructions for custom recovery above. Note that to install TWRP, you will first download the TWRP recovery image, and use fastboot flash recovery_ramdisk /path/to/twrp.img to install the custom recovery. Magisk will overwrite the custom recovery.

If you plan not to use custom recoveries, you will have to extract RECOVERY_RAMDIS.img from your firmware. Follow the instructions for boot image patching above, but use the RECOVERY_RAMDIS.img file instead of a boot image. To install the patched image back to your device, here is the fastboot command: fastboot flash recovery_ramdisk /path/to/patched_boot.img. Be aware you are flashing to recovery_ramdisk, not boot nor ramdisk!

Source :

https://www.xda-developers.com/magisk-v18-1-support-kirin-960-emui-9-android-4-2/

Instructions :

https://topjohnwu.github.io/Magisk/install.html#emui-9
[Honor 10 Guides, News, & Discussion] :
Thank u for this information.

I do already have Magisk installed.

For applying the last OTA i will try this:

https://topjohnwu.github.io/Magisk/tutorials.html#ota-installation

If this wont work I will flash the recovery_ramdisk of .162 and try it again. Unfortunately I am at work an cant access ADB...
[Honor 10 Guides, News, & Discussion] leAndroid91:
Where did u get the recovery_ramdisk of .162 from and is it for C432 devices?

I can't find it in Huawei Firmware finder.

Can you share it?

I would like to root my EMUI9 and according to the instructions i have to patch a stock recovery_ramdisk image.

Thanks!
[Honor 10 Guides, News, & Discussion] :
Ive got it from two posts above:

https://xdaforums.com/showpost.php?p=78794684&postcount=68

I tried to uninstall Magisk and apply the OTA, but it didnt work. When I boot with VOL+Power I end up in TWRP. I didnt know I have installed it permanetly. I though I still have Erecovery...

I will try to flash the .img today at home....
[Honor 10 Guides, News, & Discussion] leAndroid91:
But that's the recovery_ramdisk for .159 i guess and not for .162.

I don't recommend to mix those things up.

I'm not even sure if the flash process will work.
[Honor 10 Guides, News, & Discussion] fosterqaz11:
Magisk canary build got a new update. If download does not complete through the magisk app, like mine. You can try downloading through github and and then update zip through direct install. Seems it fix some issue from earlier, atleast that's what I notice.

Cheers
[Honor 10 Guides, News, & Discussion] :
U are right... i didnt see that. So i guess we have to wait for .162...

But How other people made the update??

EDIT: I think with the help of .159 RECOVERY_RAMDIS.IMG. then apply OTA and root like the Magisk tutorial.
[Honor 10 Guides, News, & Discussion] ThreeMMM:
You can use recovery_ramdisk from the older version, you dont have to use the recovery_ramdisk.img from .162.

And please, dont quote the same every time you post ;)
[Honor 10 Guides, News, & Discussion] leAndroid91:
I followed the instructions and after flashing the patched_boot.img as recocovery_ramdisk i typed fastboot reboot, unplugged the usb cable and pressed vol up + power.

The device did a regular boot and magisk manager said magisk not installed.

Then i turn off the phone and turned it on again by pressing and releasing power button after it vibrated.

Then i pressed an hold vol up + power and ended up in erecovery.

After choosing restart the phone booted normally.

Magisk manager said magisk is not installed.

Then i turned the phone off again.

Then i turned it on by pressing and holding vol up + power until it vibrated.

The phone booted normally and magisk manager said magisk is not installed.

I'm confused. How do i boot this thing up in recovery mode to enable magisk?
[Honor 10 Guides, News, & Discussion] :
Thank u!

But if I wanna flash the patched_boot.img I just get the info <waiting for any devices".

If I try "adb devices" I can see my phone... Even if I try "adb reboot bootloader" it works. Just the flashing of the patched_boot.img doesnt work...
[Honor 10 Guides, News, & Discussion] leAndroid91:
Check device manager when phone is connected in fastboot mode. You need a different driver for fastboot then for adb
[Honor 10 Guides, News, & Discussion] :
It worked like that:

adb reboot bootloader

Then I flashed the patched_boot.img. Then I uninstalled Magisk and now Im downloading the .162 OTA...

Lets see...

EDIT: ingot the update but I can't install magisk. I can only download the zip or patch the boot IMG....

When I bootwith VOL+Power I end up in Recovery and restart without any result

I have the same problem like leandroid91...
[Honor 10 Guides, News, & Discussion] Xiara:
After flashing a stock recovery — which removes Magisk — to apply the OTA, you are left with a clean slate and no Magisk. So at that point, you will have to install Magisk from the beginning again. You can follow the original instructions from this thread for that.

You can only update Magisk from Magisk Manager, if you are already running Magisk. So if you needed to remove it to patch the OTA, you cannot install it from the Manager anymore.
[Honor 10 Guides, News, & Discussion] :
Makes sense...

But when I read the new tutorial for Magsik it sounded like flashing the patched_boot.img is enough...
[Honor 10 Guides, News, & Discussion] leAndroid91:
I had another idea and booted the phone normally.

Then ran adb reboot recovery.

During boot the phone got stuck at

I shut the phone off after waiting for 15 minutes.

So the recovery_ramdisk is corrupt?
[Honor 10 Guides, News, & Discussion] Xiara:
That is correct for normal Android, but it won’t work on EMUI 9. There, you don’t have a boot image anymore that you can flash, so you have to flash the recovery which then provides a patched boot at runtime.

Did you happen to have some Magisk modules installed before already? It’s possible that they might prevent your device from booting. I had that because I was using Xposed before and that was no longer working with Android Pie. In that case, you have to uninstall/disable the Magisk modules first, otherwise you won’t be able to boot.
[Honor 10 Guides, News, & Discussion] :
Finally I am done. Thanks all for your help.

I had an Oneplus 6 before and it was much easier....

I have to admit after the update to EMUI9 the phone is not fun any more. Very laggy.... But this is not the topic of this thread.
[Honor 10 Guides, News, & Discussion] leAndroid91:
I flashed the stock recovery_ramdisk again just to be sure.

Then i can boot into recovery again.

Same for stock TWRP.

After flashin unmodified TWRP i can boot into recovery.

But when i modify the recovery_ramdisk with Magisk Manager and flash that file into recovery_ramdisk i'm no lange able to boot in to recovery.

Same for TWRP, after running the magisk.zip i can no langer boot into recovery.

It always get stuck at "device is booting now..." in both cases.

Any ideas? :(
[Honor 10 Guides, News, & Discussion] ThreeMMM:
I dont know why you flash modified recovery_ramdisk. Flash Stock Recovery_ramdisk, do the upgrade to .162. After this, flash TWRP go to Advanced Settings, start ADB and sideload magisk.zip. Then reboot phone and pull off usb straight when you hit "reboot" in twrp and you have to be fine
[Honor 10 Guides, News, & Discussion] phaleg:
Could you point me somewhere to see how to unlock the bootloader for Honor 10?

I also would like to know if there is custom rom similar to adnroid one exp?
[Honor 10 Guides, News, & Discussion] ThreeMMM:
Sadly, Honor/Huawei has stopped sending codes for unlock the bootloader.
[Honor 10 Guides, News, & Discussion] phaleg:
wow, too bad… so my understanding is that it is very different process to the one I was doing with previous Nexus devices, you need a code and not just a toolkit to do the magic?
[Honor 10 Guides, News, & Discussion] miststudent2011:
Yes, you need bootloader unlock code inorder to unlock your Huawei or Honor Devices.
[Honor 10 Guides, News, & Discussion] leAndroid91:
Because the zip-file version wasn't working for me.

After flashing TWRP -> boot into recovery works

Running Magisk zip -> boot into recovery isn't working. The device gets stuck at "your device is booting now".

So i had to try a different way:

I tried it by reflashing the stock recovery -> boot into recovery works

After flashing the modified recovery_ramdisk created by magisk app -> boot into recovery not working again. It gets stuck at "your device is booting now".

I waited for up to 15 minutes several times.

It's am mess :crying:

I hove no idea why that crap isn't working for me.

I'll wait for the next update an try again.

I have a C432 devices with .162 software.

Should be the same for you.

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

Funky Huawei is providing bootloader unlock codes for a few bucks.

Worth the money from my point of view, did it, too.

Besides the bootloader restriction the Honor 10 is the best devices is had so far.
[Honor 10 Guides, News, & Discussion] Xiara:
Did you see my reply to you above?
[Honor 10 Guides, News, & Discussion] leAndroid91:
Yes, sorry.

I had magisk and xposed running with some modules under android 8.

But i did a full-ota update to get to android 9 so i assume everything should've been removed, right?

However the uninstall.zip tells me that it can't access /data (because of encryption on android 9) and that i have to use the magisk app.

The magisk app tells me that magisk isn't installed and i can't find an option to remove it.
[Honor 10 Guides, News, & Discussion] miststudent2011:
Here is the full ROM zip if you need it. For the 162 build.

https://xdaforums.com/showpost.php?p=78891040&postcount=2
[Honor 10 Guides, News, & Discussion] leAndroid91:
Thanks. didn't knew there is a Full-OTA.zip available for .162

I'm already on .162 but i want to flash it again maybe something went wrong.

The camera app isn't working for me but everything else is working fine.

I tried to flash the zip via TWRP ADB Sideload with HuRUpdater but it says

update.zip not found in /sideload
update_all_hw.zip not found in /sideload
update_data_public.zip not found in /sideload

and then the process stops. :confused:

From the last time i used HuRUpdater i remember it worked excatcly like that.

HuRUPdater.zip and update.zip are of course in the same folder.