[Honor 9  Guides, News, & Discussion] Lukalion:
!Disclaimer: You will void your warranty by proceeding with this process! Make sure to check every step and backup your own data. I am not responsible for you soft or hard-bricking your phone. This tutorial is for the Honor 9 STF-L09C432B36(0/2/3/4/5/6/7/8). Other versions may work or may not!

Pre requirements:

-A working pc with internet connection

-your phone

-pin set in android (lock screen)

-USB type c connector

-read everything carefully

-proceed with caution

-rather ask, than doing something you don't understand or you are unsure of

Credits go to:

-xzx0O0

-topjohnwu

-k1ks

1.UNLOCKING THE BOOTLOADER

!If the phone perfoms a bootloader unlock, a factory reset will be perfomed automatically. So you will have to backup your data to a sdcard or to the pc.!

Step 1.1 and 1.4 are hanging together. They can be skipped with no worries, but I would recommend to do it. !THIS IS NOT A FULL BACKUP!

1.1 [OPTIONAL]BACKING UP PHONE SETTINGS:

1.1.1 Download and install Hisuite on your pc: http://consumer.huawei.com/minisite/HiSuite_en/

1.1.2 Connect your pc with your phone

1.1.3a If you see a pop up like this,then choose transfer files and skip Step 1.1.3b

1.1.3b Go to your Notifications on your phone. There will be a settings notification. Press on it and select File transfer via USB.

1.1.4 On your phone go to Settings -> Security & privacy -> More -> and turn on allow Hisuite to use HDB (image)

1.1.5 The phone may ask you to trust the pc. Select always trust this pc (image)

1.1.6 Go to settings -> System -> About phone -> and press about 10 times on the build number.

1.1.7 Go to settings -> System -> Developer Options -> and turn on USB debugging (image)

1.1.8 Open Hisuite on pc

1.1.9 Choose Backup and select everything. Don't password protect it.

1.2 OBTAINING THE UNLOCK CODE

Everything you see below in pink does not work anymore since Huawei has officially stopped providing the bootloader unlock code on their website.

Instead please use this thread for obtaining your bootloader unlock code: https://xdaforums.com/honor-7x/how-to/how-to-unlock-huawei-bootloader-removal-t3780903

1.2.1 Go to this website and press Unlock

1.2.2 Register a huawei id or login

1.2.3 Follow the steps until you see this page

1.2.4 Choose Since Emui 5.0

1.2.5 Fill out the rest of the information. (The IMEI can be found at settings -> System -> About Phone)

1.2.6 Press Commit. If every info was put in correct, A yellow message should appear saying: "Your unlocking password is: ..." Copy the code somewhere safe on your pc.

1.3 UNLOCKING THE BOOTLOADER

1.3.1 Download Minimal ADB and fastboot for your operating system. For windows 32 and 64bit: https://androidfilehost.com/?fid=746010030569952951

1.3.2 install and open the folder where you installed it to.

1.3.3 Run fastboot.exe and adb.exe once

1.3.4 Go to Settings -> System -> developer options turn on OEM unlocking. If you do not have developer options do step 1.1.6 and come back to 1.3.4.

1.3.5 Connect your phone with the pc and turn on USB Debbuging(Step 1.1.7) and file transfer via adb(Step 1.1.3b) on your phone

1.3.6 On your pc go to the folder where you have installed adb. Open a CMD Windows at this folder(For Windows hold leftshift and press right click. Then choose open cmd from this folder)

1.3.7 Make sure that usb debugging is still enabled. In CMD: type adb devices -> hit enter. It should say your serial number with the status "device" (image)

If that is not the case, check if 1.USB Debugging is enabled 2. Allow Transfer files in Notifications.

1.3.8 type in CMD adb reboot bootloader. Your device will reboot into the bootloader.

1.3.9 It should say FRP Unlock and PHONE locked.

If FRP is locked and green, you did not enable oem unlock. => Hold the power button to reboot and go back to step 1.3.4

1.3.10 type in CMD fastboot oem unlock code replace code with the number from Step 1.2.6. Hit enter.

1.3.11 A window will pop up asking you if you want to unlock the bootloader. !Pressing yes will void your warranty and perform a factory reset deleting all personal data on internal storage.! With your volume up and down keys navigate to yes and press the power button to proceed. Your device will automatically reboot and perform a factory reset and reboot again.

1.3.12 Put in all your information, so that the phone is fully usable again

[OPTIONAL]1.4 REAPLYING PHONE SETTINGS

1.4.1 Repeat Step 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7 and 1.1.8

1.4.2 In Hisuite press restore and choose the backup you have created in Step 1.1.9

2.FLASHING AND SETTING UP TWRP

2.1 FLASHING TWRP

2.1.1 Set a pin for your phone if you have not (lockscreen). Go to this thread and download stf-twrp-zxz-0.3.img and this kernel

2.1.2 Move both .img to your folder, where you have installed adb

2.1.3 Do Step 1.3.5, 1.3.6, 1.3.7 and 1.3.8

2.1.4 It should say FRP Unlock and PHONE Unlocked(image) => Step 2.1.5 . If Phone is locked and green, you did not unlock your bootloader => Step 1.3.

2.1.5 in CMD type fastboot flash recovery_ramdisk stf-twrp-zxz-0.3.img => hit enter.

2.1.6 type fastboot reboot in CMD to reboot. Do not close CMD window and do not unplug phone from pc if you continue with 2.2.

2.2 SETTING UP TWRP

2.2.1 Do Step 1.3.5, 1.3.6, 1.3.7

2.2.2 in CMD type adb reboot recovery_ramdisk => hit enter

2.2.3 wait for it to boot. It will ask you for a password. You can choose whatever you want. I would recommend you use your PIN to unlock your phone. REMEMEBER IT!

2.2.4 Then this screen will appear. Swipe to allow modifications.

2.2.5 Press Reboot -> System and do not install the twrp app.

2.2.6a If your on screen buttons and flash are working skip step 2.2.6b

2.2.6b If your on screen buttons are not working => connect phone to pc and connect with adb correctly. In CMD press adb reboot bootloader to reboot into the bootloader. Then flash the custom kernel in CMD , by pressing fastboot flash kernel KERNEL_B360a_TOUCH_FIX.img and hit enter to flash. Then reboot your phone with fastboot reboot

2.2.7 !Read through this whole thread to check which functions of TWRP are working and which not!

3. ROOTING WITH MAGISK

3.1.1 Download Magisk v-16.0 from here and the uninstaller from here.

3.1.2 Connect phone with PC. Activate file transfer via USB in Notifications. Move the Magisk-v16.0.zip and uninstaller.zip to the root of your internal storage or sdcard on your phone.

3.1.3 Do Step 1.3.5, 1.3.6 and 1.3.7 . Type in cmd adb reboot recovery_ramdisk => hit enter.

3.1.2 Type in your password from Step 2.2.3. Press on Install. Select the storage where you put both .zip from Step 3.1.2. Search and press on Magisk-v16.0.zip. Swipe to flash. Then press on reboot to System.