[GUIDE][Magisk] Install Magisk on Mate 9 Running Oreo (Huawei Treble Devices)

Wirmpolter

Senior Member
Apr 16, 2008
242
360
0
Innisfil
Seeing the different people having issues installing magisk and passing safetynet running Oreo trying to do it using TWRP, I've decided to post this guide to help simplify the process for some and allow magisk to install and pass safetynet successfully.

Latest Magisk Manager and magisk work now so no longer need to setup and flash the specific version found in the original post from topjhnwu.

Original credits and thanks go out to topjohnwu and his original guide found at: https://forum.xda-developers.com/ho...agisk-root-honor-view-10-mate-10-pro-t3749280

Prerequirements
  1. Must be running Andriod Oreo
  2. Unlocked Bootloader
  3. Copy of your Update.app
  4. Huawei Update Extractor (download in attachments) to extract and get your ramdisk.img
Instructions

***Recommed to use via fastboot method...

If your device does have TWRP support with decryption, just directly flash it via TWRP. For devices without TWRP yet (currently all Huawei Treble devices), you can follow the instructions below:

  1. Install latest Magisk Manager from the Official Thread: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
  2. Follow the instructions of "Install Via Magisk Manager" in the main thread, but instead of providing the boot image (which these devices do NOT have), provide the stock ramdisk.img extracted from your Update.app using Huawei Update Extractor.
    If you are using Mate 9 with model MHA-L29636 running on firmware ending in B362, you can download the stock ramdisk.img I extracted from official OTAs in the attachments
    If you have stock ramdisk images for other devices, please share them and I'll add them to the OP.
  3. Pull the patched image with adb pull /sdcard/MagiskManager/patched_boot.img, and flash the patched ramdisk via fastboot:
    fastboot flash ramdisk patched_boot.img
  4. Reboot and you shall have a properly rooted device passing SafetyNet, start playing with some Magisk modules!
 

Attachments

Last edited:

toto2011

Senior Member
Nov 24, 2011
61
1
0
www.forum.xda-developers
Seeing the different people having issues installing magisk and passing safetynet running Oreo trying to do it using TWRP, I've decided to post this guide to help simplify the process for some and allow magisk to install and pass safetynet successfully.

Latest Magisk Manager and magisk work now so no longer need to setup and flash the specific version found in the original post from topjhnwu.

Original credits and thanks go out to topjohnwu and his original guide found at: https://forum.xda-developers.com/ho...agisk-root-honor-view-10-mate-10-pro-t3749280

Prerequirements
  1. Must be running Andriod Oreo
  2. Unlocked Bootloader
  3. Copy of your Update.app
  4. Huawei Update Extractor (download in attachments) to extract and get your ramdisk.img
Instructions

***Recommed to use via fastboot method...

If your device does have TWRP support with decryption, just directly flash it via TWRP. For devices without TWRP yet (currently all Huawei Treble devices), you can follow the instructions below:

  1. Install latest Magisk Manager from the Official Thread: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
  2. Follow the instructions of "Install Via Magisk Manager" in the main thread, but instead of providing the boot image (which these devices do NOT have), provide the stock ramdisk.img extracted from your Update.app using Huawei Update Extractor.
    If you are using Mate 9 with model MHA-L29636 running on firmware ending in B362, you can download the stock ramdisk.img I extracted from official OTAs in the attachments
    If you have stock ramdisk images for other devices, please share them and I'll add them to the OP.
  3. Pull the patched image with adb pull /sdcard/MagiskManager/patched_boot.img, and flash the patched ramdisk via fastboot:
    fastboot flash ramdisk patched_boot.img
  4. Reboot and you shall have a properly rooted device passing SafetyNet, start playing with some Magisk modules!
Thanks a lot Man! It works! After of so many tries!
 
  • Like
Reactions: Wirmpolter

wancyber

Senior Member
Jan 14, 2018
51
20
8
Cyberjaya
How could get the stock ramdisk.img for L29C567B367?

Thanks

Sent from my PH-1 using Tapatalk
-Download your firmwares update.zip from http://pro-teammt.ru/firmware-database/
-Search for your firmware, example used below : MHA-L29C567B367.
-Click on the "filelist" next to your firmware, copy and paste the full links in new tabs to download 'update.zip'.
-Then extract update.app from update.zip. Download and Open Huawei Update Extractor, go to settings tab and disable both checksum.
-Open update.app in Huawei update extractor and extract ramdisk.img.
 
  • Like
Reactions: rogconnect and R1SC

R1SC

Member
May 14, 2017
16
1
0
-Download your firmwares update.zip from http://pro-teammt.ru/firmware-database/
-Search for your firmware, example used below : MHA-L29C567B367.
-Click on the "filelist" next to your firmware, copy and paste the full links in new tabs to download 'update.zip'.
-Then extract update.app from update.zip. Download and Open Huawei Update Extractor, go to settings tab and disable both checksum.
-Open update.app in Huawei update extractor and extract ramdisk.img.
where do i get Huawei update extractor?

---------- Post added at 09:57 AM ---------- Previous post was at 09:51 AM ----------

i see the download link here, its fir Microsoft Windows. what do i use on Linux?