Huawei Honor 9 - phhusson/treble_experimentations GitHub Wiki

Flash instructions:

  1. Backup data with TWRP ONLY for Oreo 8.0 firmwares or other backup tool: adb reboot recovery (reboots into your recovery and stock recovery if you haven't installed a custom recovery)

  2. Reboot to eRecovery

  3. Wipe (factory reset including data) with stock Recovery (not eRecovery; you will need to reflash a stock recovery through fastboot) (TWRP wipe doesn't currently work for EMUI 8)

3.1 Wipe (factory reset) works in this TWRP-Mod by gaguga for Huawei/Honor only with EMUI 9 and in TWRP-Mod by gaguga for Huawei/Honor only with EMUI 9.1

Direct download links: TWRP-Mod by gaguga for Huawei/Honor only with EMUI 9 and TWRP-Mod by gaguga for Huawei/Honor only with EMUI 9.1

  1. Reboot device fastboot reboot

  2. Reboot to fastbootmode

  3. Flash ROM GSINAME.img to system partition using fastboot fastboot flash system GSINAME.img (replace GSINAME.img with the name and location of your GSI image)

  4. Reboot device fastboot reboot

  5. If your having any problems go back into TWRP and wipe the dalvik cache

Hardware commands - done with device turned off

Need to connect the computer:

  • Fastboot mode: long press the volume down key + power button.

  • eRecovery mode: long press the volume up key + power button.

Do not need to connect the computer:

  • Recovery mode: long press the volume up key + power button.

  • Upgrade mode: long press the volume up key + volume down key + power button.

Additional infos:

  • EMUI 8.0 & 8.1 use ARM64 A Roms.

  • EMUI 9.0 & 9.1 use ARM64 AB ROMs due to system as root (if in doubt check here).

  • GSIs tested and working well: OpenKirin

  • Ported stock Camera exists and mostly work, keeping original quality.

  • Brightness stuck at 40%, both in settings and real life.
    May be not an issue anymore, started from v19 (2018-06-03), now using v23 (2018-08-07) and never been able to reproduce. Currently (November10, 2019), this clause requires confirmation or rebuttal.

  • On-screen navigation buttons can be hidden by adding qemu.hw.mainkeys=1 to /system/build.prop

  • Home button behavior can be set to default (to behave as on EMUI) by replacing /system/phh/huawei/fingerprint.kl content with the following line: key 174 HOME

  • Also refer to devices of same chipset (Kirin 960): Huawei P10 & P10 Plus, Huawei Mate 9,Honor 8 Pro, Huawei Mate 9 Pro and Huawei Nova 2S