yashsingh1/xdaforums huggingface dataset:
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] andryuxa20081:
It worked for me. I just flashed it and the buttons are now active and flash switchs on=))))

Thank you so much.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] sinraal:
Accidentaly found the reason and solution. Usb debugging must be on. In my case, however, it kept switching off whenever I left the screen. Had to switch the charge only usb debugging option as well.

Now, the safetynet passed...

So for others...

1. Allow USB debugging in charge only mode

2. Allow USB debugging

3. Reboot

4. Check Safetynet.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] manup85cupra:
Hello guys, something went wrong for me. im getting stuck in bootloader saying. sustem update failed. i have flashed in sequence recovery and kernel. cmd showing ok ok but i have error func mp 10 boot image error no 2 load failed. please help me... im sweating.. thank you

edit. erecovery still there but when i'm trying to restore it saying.. getting packedge into failed
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] JBolho:
What rom are you in? What commands have you used? This has nothing to do with updates, it's just a recovery and kernel... :-/
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] manup85cupra:
i was stock oreo and i have unlocked bootloader then flashed 0.2 TWRP version plus kernel... no twrp installed i still have erecovery access but not stuck in bootloader... now i have briked the phone and i cannot find a way to restore it. i have tried dload but it seems working only for nougat :crying:
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] JBolho:
And what commands have you used?

The twrp is installed by "fastboot flash recovery_ramdisk (name of recovery file.img)"

The kernel is installed by "fastboot flash kernel (name of kernel file.img)

---------- Post added at 12:47 AM ---------- Previous post was at 12:47 AM ----------

Also, have you unlocked FRP? (Allow OEM unlock in Developer Settings)
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] manup85cupra:
Hello, actually the situation is even worst... on fastboot my phone showing phone unlocked but FRP lock. do you think that the only way is to wait oreo dload forced update?
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] gaguga:
If you have installed TWRP, then the FRP lock is not a problem.

You can do so that the FRP will be unlocked.

Can you upload to TWRP?
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] manup85cupra:
i do not have TWRP. and i cannot flash anything from fastboot due to FRP lock. i'm trying some update.app with dload method but it is failing
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] gaguga:
In your case, you can use "dc phoenix"

https://forum.dc-unlocker.com/forum/modems-and-phones/huawei/155916-dc-phoenix
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] manup85cupra:
i have it. but i coulndt find any option there. i have both also 3 days expiration version
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] zxz0O0:
Updated recovery to version 0.3. It should now work on different firmware versions. Tested it on the newly released STF-L09C432B362
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] angelobiz:
what error you have whit dload method?

remember that sd HAVE TO BE FORMATTED IN EXFAT mode.... otherways it not work

---------- Post added at 01:42 PM ---------- Previous post was at 01:36 PM ----------

i think that you arent more in oreo... but in nougat, so you have to use file for nougat
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] Prrincesnow16:
why do i always get the unable to wipe cache unable to wipe /cache red message ? and how can i restore the stock recovery ?

edit:

i also get failed to unmount /data (device or resource busy), failed to unmount /system (device or resource busy) at the top
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] :
to my surprise it works on Honor 8 pro, does decrypt just fine, you'll never know when great things comes ;)

you should share in Honor 8 pro forums ;)
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] yorkberliner:
Good Morning,

my Problem is i can´t install the latest twrp 0.3 and 0.2. I´m on the official Oreo 360(432). Phone and FRP unlocked. No Problems with flashing twrp. No Error but after the reboot i can´t enter the twrp. Sometimes i enter erecovery or i get Software update. That´s all.

Where is my Problem?? Thanks a lot for helping in advance.

servus
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] :
What device? Also what are you using? Stock system?
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] yorkberliner:
HI there,

it´s a Honor 9, Modell STF-L09, Build-Nummer: STF-L09 8.0.0.360(432), EMUI-Version: 8.0.0 and Android-Version: 8.0.0. Just ask for more Information.

mahalo
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] :
Hmm I see. I it looks ok. Not sure what makes it Unbootable since it should work. Without issues. Have you modified anything?
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] erayrafet:
You must unplug the USB cable and hold the volume up key instantly, after entering fastboot reboot.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] oslo83:
https://translate.googleusercontent...JrhgXMLMaEXmoQ4EFKr5usksOVatc2Q#entry62974709
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] Cudde:
I've followed all the instructions to flash this TWRP as well as unlocking the bootloader.

For some reason I can't seem to boot into TWRP, when i'm booting into recovery it just takes me to the standard huawei eRecovery.

Any ideas on what i'm missing?

- Unlocked bootloader

- Flashed custom kernel in post 2

- Flashed TWRP

Running 8.0 and flashed the 0.3 image.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] JBolho:
First flash TWRP with "fastboot flash recovery_ramdisk (name of file).img"

Then flash kernel using "fastboot flash kernel (name of file).img

Thats it.

To enter TWRP you have to use Vol + and Power but the device must be unplugged from the USB or it will go into eRecovery.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] yorkberliner:
Good evening,

it works. Sometimes. My Honor 9 is allways unplugged when i reboot but i flash now the recovery and then the Kernel. First reboot everything works perfect but second reboot i boot into erecovery. Flashed the recovery again and install in twrp SuperSU but now i stick into Bootlogo. Good work. I hate this part of BULLS......

grüsse
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] Prrincesnow16:
.. i had the problem with the capacitive buttons i flashed the kernel and since i had a bootloop , went to recovery and it stays in the twrp splashscreen if i try to poweroff it still boot in twrp... can someone help me please ?

i already tried to access fastboot to flash stock kernel but adb reboot bootloader boots in recovery and then it stays in the twrp splashscreen

edit:

solved . in case someone needed home+vol dow+power reboots to fastboot then extract the stock boot.img from your rom using huaweiextractor

...still can't understand why this twrp can't wipe cache
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] Gobbit78:
for me it works on 360a

Hello guys,

for me it works with KERNEL_B360a_TOUCH_FIX on Honor 9 european version STF-L09C432 with Firmware 360a Oreo.

Flash light and capacitive button works again. Many many thanks to zxz0O0 for his great job.

:laugh:

Have a nice day.

Gobbit78
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] Cudde:
My bad, I tried entering recovery with phone still plugged in, didn't realise that wouldn't work.

Thanks!
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] :
Make sure kernel isn't outdated. Happen to me with other kernels

---------- Post added at 11:08 AM ---------- Previous post was at 11:06 AM ----------

Try the recovery from mate 10 it works and cache wipe is fixed (cache is too small) was on 0.2 for mate 10. I'm using the one from mate 10(0.3) wipe with ext4 works.

The issue is. apparently ext4 says 6mb (sparse) is too small. Go ahead and flash it. It works on honor 8 pro so it's universal ;)
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] zxz0O0:
You can enter recovery when USB plugged in, but you have to hold volume up and volume down both.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] Mondor1979:
This twrp doesn't start with RRos 6.0.0. Always on Teawin logo. Flashed 3.1.1-1 back and all is fine again.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] hayder232:
Can get my Honor 9 rooted using this version of twrp? and why the lack of suppurt on Honor 9?

I tried to flash twrp but nothing happened my device still has Huawei erecovery
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] Prrincesnow16:
can you please link me this twrp ? thanks.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] kac222:
Because when you flashed twrp must disconect USB całe. Then you can input to TWRP.

Wysłane z mojego STF-L09 przy użyciu Tapatalka
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] Tecalote:
https://xdaforums.com/mate-10/development/huawei-mate-10-pro-twrp-3-2-1-0-t3769904
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] ante0:
How are you booting to TWRP?

It replaces Recovery, not eRecovery
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] hayder232:
I used fastboot to flash twrp but when i reboot it asks me to press vol up i get stock recovery instead of twrp
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] ante0:
Hold Power + Volume Up until phone reboots, release power when it vibrates but keep holding recovery.

You're ending up in erecovery because that's where it goes if you hold volume up at the "Your device has been unlocked" screen.

"Press volume up for 3 seconds to go to erecovery to restore your device"
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] hayder232:
Thanks it worked but it says unable to mount system.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] ante0:
Ignore errors :p
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] WFree:
How to install OTA update if I've installed this twrp recovery? Tried to install normally but the phone boot in twrp and not install the update.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] JBolho:
Use HuRUpdater tool by same Dev and just follow instructions on the respective thread.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] zeta012345:
Hi i've got an error saying "partition length get error" while doing : fastboot flash recovery recovery.img

Can you help me please ?
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] Pretoriano80:
Read the OP carefully, the command is : fastboot flash recovery_ramdisk filename.img
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] WFree:
I've root with Magisk. Should i remove it before upgrade?
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] JBolho:
[MENTION=3975929]zxz0O0[/MENTION]

The kernel fix that also enables the SELinux switch does not work with B362, causes bootloop.

The kernel itself between B360 and B362 seems to be virtually unchanged but somehow B362 doesn't accept it.

---------- Post added at 04:45 PM ---------- Previous post was at 04:43 PM ----------

No need to remove it, the update does that by itself. You have to flash Magisk again in TWRP after updating.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] JBolho:
Update on my kernel findings:

Since kernel is tied to ramdisk, it's possible that in order for the kernel fix to work, the B360 stock ramdisk has to be also flashed. Don't know if it will work because I can't test it right away...
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] Qaaqqu:
This make my phone bootloop then had to start over again
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] JBolho:
What firmware? Because literally 2 posts above yours I already reported just that if trying to flash the fix onto B362.

This device really needs a decently improved kernel, I'm trying to learn but lack the free time...
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] Qaaqqu:
Sorry I was busy at time with other phone to root, I flashed two defferent roms same day and I forget that the last rom was C432... Just my bad
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] m4dbra1n:
Hi [MENTION=3975929]zxz0O0[/MENTION],

first thanks for your TWRP for our Honor 9.

Would like to ask a thing: I wanted to try a kernel on our Honor 9, but yours and other recovery I've tried gave me an Invalid Parition error.

Talking with the dev he told me that: the recovery needs support for binaries that unpack/repack and flash into the partition.

Can you kindly add this to your recovery? Or there's other things preventing the flash of that zip?

Have to say that I've used your TWRP with your HuRUpdater and upgraded to the latest B362 build with no problem.

Looking forward to it, regards :)
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] JBolho:
[MENTION=3975929]zxz0O0[/MENTION]

Can I ask you a question? I'm trying to compile the stock kernel from source, using the recommended TC and all, everything properly set up, and it crashes every time on the same place (drivers/hisi/tzdriver) because of "aarch64-linux-android-cpp" that is stated as "not found"

But the module is there, and I already tried at least 3 TC's and am hitting a brick wall.

Have you encountered any similar errors when you did that fixed B360 kernel? Any recommendations you can give? Thank you.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] zxz0O0:
Can you show me this kernel you are trying to flash? And recovery log if possible? It's most likely something wrong with this zip file you are flashing.

Before compiling you need to add the bin directory of toolchain to your path variable (which contains aarch64-linux-android-cpp). Like so

export CROSS_COMPILE=aarch64-linux-android-
export PATH=$PATH:/home/ubuntu/kernel8.0/aarch64-linux-android-4.9/bin
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] JBolho:
That did it, thank you man. I'm noob at this, have a friend helping but from a distance he can only do so much.

Now I have another problem... Can't dump the boot.img (unless I root with Magisk and that will tamper with the boot.img), firmware files have no boot.img (apparently they divide everything inside UPDATE.APP file), so... How did you manage to make a flashable kernel.img? Any pointers?

Sorry to bother you with this...

(I'm trying to learn this to maybe, just a big maybe, release a customized stock kernel for EMUI8)

Thank you.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] zxz0O0:
The boot image (kernel) and ramdisk image are seperated in Oreo firmware. Magisk only modifies ramdisk (just like SuperSU). There are many possibilities to get boot image (dump in recovery, dump from UPDATE.APP, etc.).

When you compile the kernel you get the zImage (Image.gz), that one you need to make a boot image out of it (add necessary header). There is the tool mkbootimg but I did it manually with hex editor.

By the way the partition where the boot image is located is called kernel and in UPDATE.APP it's kernel.img.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] JBolho:
The "boot.img" i'm looking for is the KERNEL.img file inside UPDATE.APP?? Thank you very much, that slipped right under my nose!

UPDATE:

I used the mkbootimg tool to convert my gz into a flashable kernel.img like yours, i'm almost certain it will boot on B360 firmware but causes bootloop on B362 as well, so i can only imagine it's really the ramdisk fault, and right now i'm clueless in what to do. Have to do some research i guess...
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] m4dbra1n:
It's the HyperPlus kernel you can find here:

https://xdaforums.com/p10-plus/development/kernel-hyperplus-kernel-oreo-t3753128

I guessed that too, maybe the Anykernel 2 template has something wrong, but I'm not a dev, just guessing.

Talking with the dev, he said that recovery must have support for binaries that unpack/repack and flash into the partition, and that only the one from Blackball have it: if it's the case, can you add this function to your recovery please?

Looking forward to it, thanks in advance :)
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] zxz0O0:
The script uses this path

block=/dev/block/platform/ff3b0000.ufs/by-name/ramdisk;

I don't know what device you use. On my Honor 9 there is no ff3b0000.ufs.

This is hardcoded path and not good. It's bound to specific storage controller. He must use a global linked, for example

block=/dev/block/bootdevice/by-name/ramdisk;

But it's most likely not possible to use a kernel from another device anyway.

Check with hex editor and compare with stock kernel.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] JBolho:
Used Osmosis AIK tools to pack a booting kernel and it worked. Successfully booted on B362.

I'm setting up my repo on Github now (gave you credits for the tip of course), and after I make some changes, test it and boot it, we may be having a custom stock-based kernel for EMUI8!

It will take time because I'm a real noob at this, I'm learning step by step and my work steals a lot of time for all this...
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] m4dbra1n:
I'm on Honor 9 like you, that's why I'm writing to you :D

The kernel dev gave me updated zip for Honor 9 with this:

block=/dev/block/platform/hi_mci.0/by-name/kernel;
ramdisk_compression=auto;

Could this be the error?
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] k1ks:
Hi folks .

Flash Magisk16 works with this recovery ?

Currently on B360 unlocked.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] JBolho:
Yes it does.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] k1ks:
Thanks for reply.

Twrp installed with success without lose buttons.

Last question for everybody

What is the best way for root proprely :

- Magisk 16 flashable ?

- STF-L09_ramdisk.img patched by magisk ( thread H10 ) ?

- SR5-2.82-supersu_ramdisk.zip , flash or adb sideload ?

Since the ramdisk partition is already modified by the twrp.

Too many methods exists .

Thanks in advance .
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] JBolho:
I just flash Magisk in TWRP and have root, no need to make anything else or do more complicated stuff...

If you use SuperSU however, do not, absolutely DO NOT use it's own unroot option if you want to remove it. (it won't restore your boot after it wipes it and you'll end up no boot whatsoever)

Whenever you want to get rid of root, the safest option is to flash stock ramdisk and then just uninstall the root management app. (either SuperSU or Magisk)
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] k1ks:
Thanks, I'm doing this later.

Edit :

Root granted simply.

Flash twrp then flash Magisk16

A big thank to [MENTION=3975929]zxz0O0[/MENTION] to have laid a super stable recovery for H9.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] srdjanLeo:
Hello. First time on Huawei (Honor) device. I am running Oreo EMUI 8.0.0. Do I need to unlock bootloader to gain root? I am on C432 build number.

Thanks in advance.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] k1ks:
Hi. Yes of course.

Ask unlock code

Unlock bootloader

Install twrp then Flash Magisk 16 or Install ramdisk patched by Magisk
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] srdjanLeo:
Thanks for the reply. As I can see, flashlight and buttons are fixed? I will proceed in next few hours.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] k1ks:
No worries happened to me .

But if happens , fix exist .
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] Lukalion:
Do you mean that the unroot option from supersu destroys the boot.img or do you mean that something just messes up ? ?
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] JBolho:
The unroot option deletes the boot.img altogether (because it's supposed to restore the original one from a backup and never does)

Only solution for me when it happened was to flash via fastboot the stock Ramdisk and Kernel (extracted from UPDATE.APP of corresponding firmware) and Recovery (this one can be the stock one or TWRP)

That will restore the boot and hopefully boot into the OS normally.

Seems simple but for newbies it can be a whole lot frightening to see your device reboot into a white screen with errors saying it has no boot and no recovery (and the eRecovery option to rescue the device does not work on EMUI 8, at least not for me)
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] Lukalion:
Why not flash the stock BOOT.img from the UPDATE.APP? Because of the classic remote:failed Command not allowed error?
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] JBolho:
Because there is no stock boot.img.

It's divided between kernel.img (which corresponds to what we are used to know as boot.img but without the ramdisk), ramdisk.img and recovery_ramdisk.img

At least with Oreo, that's the case.

One user also had to flash system.img via fastboot as well, the other 3 weren't enough to restore the device to working order.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] Lukalion:
Is ramdisk.img flashable with fastboot. As so you know, not all .img are flashable via fastboot.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] JBolho:
I told you, i did it. And it's the safest method to remove root. (if it's rooted with SuperSU, it's the only method)
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] #Ewer:
Can I use this kernel on B363?
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] kac222:
Yes,you can.
[Honor 9  ROMs, Kernels, Recoveries, & Other Develo] srdjanLeo:
Rooting went smooth without any issue. Anyone using Dolby Atmos and/or Viper4Android and if yes, which version? :)

Thanks.
[General Marketing & SEO] Monkey_Socks:
Fast mobile/wifi proxy for your tasks: MonkeySocks.net

​

Advantages of our service:

* Access by IP : Port or login/password;

* The purest proxy;

* Target an carriers/provider, country, region, and city;

* Logs turned off. Guarantee of complete confidentiality;

* High bandwidth;

* Large selection of countries and carriers;

* FREE TEST (Write to the support);

* Suitable for testing landing, pharming accounts, parsing, SEO, etc.

Online:

United States, Canada

Latin America

Europe, CIS countries, Russia

Near East

India, Thailand, Indonesia, Australia,

South Africa

(information about the exact online can be found at the support)

Price:

Wifi, day, one geo: $ 20

Mobile, day, one geo: $ 40

Standard questions:

-Protocol: Socks5, http(s);

-Residential IP-addresses of wifi and mobile carriers;

-Change of IP every 0 - 15 minutes;

-Rotation of IP at the port;

-Instant change of IP when changing port.

Contacts:

Telegram: [MENTION=2795501]monkeysocks[/MENTION]

Jabber: monkeysocks@exploit.im

Skype: monkeysocks.net

e-mail: support@monkeysocks.net
[General Marketing & SEO] Monkey_Socks:
Hi, guys! We have an excellent news for you.

Fast, high-quality mobile proxy with rotation is a very good thing, but if you need a static IP?

Now we can offer you not only clean mobile proxy, worldwide geo and targeting by region/city or carrier/ISP.

You can use mobile proxy with static IP!

You can try it!
[General Marketing & SEO] Monkey_Socks:
Greetings!)

We are back with good news, as always!

Are you a single android developer or a team who is intresting in alternative ways of app monetization instead of annoying

advertisments or app subscription?

Then you've just found what you need)

We can offer you an extremely interesting solution for your business.

Please contact us for details:

Telegram: [MENTION=2795501]monkeysocks[/MENTION]

Jabber: monkeysocks@exploit.im

Skype: monkeysocks.net

e-mail: support@monkeysocks.net