[Guide] Mate 10 Magisk Root

Search This thread

mankindtw

Senior Member
Jul 22, 2008
236
399
Steps:
  • Prepare and Notice
    A. Warning! Flash phone might get it bricked. I am not responsible for it.
    B. Important! Remove Huawei "HiSuite" application if it's already installed. It may interfere script running.
    C. Only tested ALP-AL00C00 same brand upgrade and downgrade packages.
    D. Backup data, it might be restore factory default setting especially using downgrade ROM version.
    E. Update package will be put in the internal /data partition.
    F. Unlock bootloader before flash steps, use unlock.bat in "HWOTA8_Mate10" lock directory.
    G. After update successfully, device might be locked again.
    H. Get HWOTA8_Mate10 Package (HWOTA8_Mate10_2018052301_Remove_ota_rebrand.zip)
    I. Windows10 can't recognize mate 10 fastboot device, see dc-unlocker free registry patch to fix it. (Link)
    J. Mate 10 has imei in oeminfo, which is used for unlock bootloder not for system. Run lock/info.bat to see oeminfo IMEI.

  • Change Log:
    2018052301: Remove ota function, it bricks phone with recent new ROMs.
    2018051001: Remove rebrand function, it bricks phone with recent new ROMs.
    2018042501: Add BLA-AL00C786 porsche/cn (Not tested).
    2018042401: Repack use full compress if update zip failure. Support ALP-L29C636B134 and BLA-L29C636B137 repack.
    2018041201: New Magisk v16.3 and WiFi Fix module use 1500 template.
    2018031301: Add new brand (no test), ALP: C69, BLA: C55 C109 C771 C782
    2018021601: Replace with new Magisk 15.4, add huawei wifi fix module.
    2018020601: Support BLA-L29C432B130-log repack.
    2018012201: Port Magisk to Mate 10, only test ALP-L29C636B129 pass safetynet.
    2018011401: Add new brand (no test), ALP: C02 C40 C109 C212 C346 C432 C605, BLA: C25 C33 C34 C45 C316 C521
    2018011301: Support new update-binary
    2018010501: Repack add lock bootloader selection, rebrand use huawei function which is more safe.
 
Last edited:

k4fari

Senior Member
Jan 24, 2017
245
81
Haripur
Steps:
  • Prepare and Notice
    A. Warning! Flash phone might get it bricked. I am not responsible for it.
    B. Only tested ALP-AL00C00 same brand upgrade and downgrade packages.
    C. Backup data, it might be restore factory default setting especially using downgrade ROM version.
    D. Update package will be put in SD card.
    E. Unlock bootloader before flash steps.
    F. After update successfully, device might be locked again.
    G. HWOTA8_Mate10 Package (HWOTA8_Mate10_2017120901.zip)
  • Flash Update
    A. Put three huawei update files (update.zip, update_data_public.zip, and update_all_hw.zip) into "HWOTA8_Mate10" repack directory.
    B. Run repack.bat to patch three zip files.
    C. Use Vol-Dn + USB cable to boot into fastboot mode.
    D. Run Replace_Recovery.bat in HWOTA8_Mate10 and follow message instructions.
    E. It will reboot and install update automatically.
Wow, will give it a try

---------- Post added at 05:29 AM ---------- Previous post was at 04:45 AM ----------

Hope there might be some one who will elaborate Rebranding of Mate 10
 

k4fari

Senior Member
Jan 24, 2017
245
81
Haripur
Its for the first time ever i am unable to unlock the boot loader, i obtained the boot loader unlock code by the following method for my mate 10. Don't know whats went wrong , when i try to unlock the boot loader in fastboot its giving an error. anyone can guide me on this?

Edit: I logout the Huawei Id and also set the usb debugging to Manufacture Mode by using *#*#2846579#*#* and then tried to unlock the boot loader and it worked as a charm.
 

Attachments

  • Unlock.jpg
    Unlock.jpg
    185.3 KB · Views: 6,372
Last edited:

k4fari

Senior Member
Jan 24, 2017
245
81
Haripur
I'm going to try rebrand.

Best of luck then.

I have tried the above method and after replace kernel and replace recovery successful i am still unable to boot in twrp mode by using volume + and button mode. Instead of Twrp i get a screen "reboot system, wipe data / factory , wipe cache" :(
 
Last edited:

mankindtw

Senior Member
Jul 22, 2008
236
399
I have tried the above method and after replace kernel and replace recovery successful i am still unable to boot in twrp mode by using volume + and button mode. Instead of Twrp i get a screen "reboot system, wipe data / factory , wipe cache" :(

There is no TWRP at this moment, I modified stock recovery which can accept adb command.
Your screen is already in "Recovery" and follow message instructions for the next step.
 
  • Like
Reactions: k4fari

k4fari

Senior Member
Jan 24, 2017
245
81
Haripur
There is no TWRP at this moment, I modified stock recovery which can accept adb command.
Your screen is already in "Recovery" and follow message instructions for the next step.

Ok got it, now it started to update to 8.0.0.126(c185) the latest one available on ff, i'll post the results after a while.
Regards



it started and the update failed on the phone at 54% :( whats wrong with me :confused:
 
Last edited:

k4fari

Senior Member
Jan 24, 2017
245
81
Haripur
This one is have downloaded , is it because i skipped 8.0.0.125(c185) ?
 

Attachments

  • Untitled.png
    Untitled.png
    101.2 KB · Views: 2,869

k4fari

Senior Member
Jan 24, 2017
245
81
Haripur
Don't try, I'll give you another "update_binary" to patch zips.

Now update stops at 6% in the phone and shows software insatll fails :( , i have tried many times with the new update_binary file as well, but no luck :crying:

---------- Post added at 08:28 PM ---------- Previous post was at 08:18 PM ----------

Don't try, I'll give you another "update_binary" to patch zips.

will the small ota brick the phone by this method?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 73
    Steps:
    • Prepare and Notice
      A. Warning! Flash phone might get it bricked. I am not responsible for it.
      B. Important! Remove Huawei "HiSuite" application if it's already installed. It may interfere script running.
      C. Only tested ALP-AL00C00 same brand upgrade and downgrade packages.
      D. Backup data, it might be restore factory default setting especially using downgrade ROM version.
      E. Update package will be put in the internal /data partition.
      F. Unlock bootloader before flash steps, use unlock.bat in "HWOTA8_Mate10" lock directory.
      G. After update successfully, device might be locked again.
      H. Get HWOTA8_Mate10 Package (HWOTA8_Mate10_2018052301_Remove_ota_rebrand.zip)
      I. Windows10 can't recognize mate 10 fastboot device, see dc-unlocker free registry patch to fix it. (Link)
      J. Mate 10 has imei in oeminfo, which is used for unlock bootloder not for system. Run lock/info.bat to see oeminfo IMEI.

    • Change Log:
      2018052301: Remove ota function, it bricks phone with recent new ROMs.
      2018051001: Remove rebrand function, it bricks phone with recent new ROMs.
      2018042501: Add BLA-AL00C786 porsche/cn (Not tested).
      2018042401: Repack use full compress if update zip failure. Support ALP-L29C636B134 and BLA-L29C636B137 repack.
      2018041201: New Magisk v16.3 and WiFi Fix module use 1500 template.
      2018031301: Add new brand (no test), ALP: C69, BLA: C55 C109 C771 C782
      2018021601: Replace with new Magisk 15.4, add huawei wifi fix module.
      2018020601: Support BLA-L29C432B130-log repack.
      2018012201: Port Magisk to Mate 10, only test ALP-L29C636B129 pass safetynet.
      2018011401: Add new brand (no test), ALP: C02 C40 C109 C212 C346 C432 C605, BLA: C25 C33 C34 C45 C316 C521
      2018011301: Support new update-binary
      2018010501: Repack add lock bootloader selection, rebrand use huawei function which is more safe.
    11
    Magisk working on mate10

    I finally get magisk installed and worked on Mate10, but it has some handy work to do before release...
    6

    It's fine.

    Install latest canary release apk.
    If you don't care, use this stock recovery_ramdisk, it's for BLA: https://mega.nz/#!EfZFTYba!6nxrl6LHMlNHMxOvgWaPDV0ycqyizCDvE-3mDu_6ljk
    If you do care, follow instructions below.
    Download your update.zip from pro-teammt.ru/firmware-database/
    Extract update.app from update.zip, extract RECOVERY_RAMDIS(K) from update.app using Huawei Update Extractor.
    Transfer recovery_ramdisk.img to phone, patch it using the Install button in Magisk. Transfer patched_boot.img to computer. Flash patched_boot.img using fastboot to recovery_ramdisk.
    Remove USB, reboot while holding Volume Up (this will boot your phone with Magisk).
    If you boot normally you won't have root.
    My device is stuck in a recovery loop so it tries to boot recovery each time I reboot, which is pretty handy but getting to fastboot/eRecovery requires me to plug in USB, else it keeps trying to boot recovery. This is not the case for everyone though, so you may have to hold volume up while rebooting when updating modules and such as they require a reboot. Or use a a widget, like QuickReboot, to reboot.
    Ah, I see that the Manager will reboot to recovery if EMUI9 is detected. Neat.
    5
    Change Log:
    2018042401: Repack use full compress if update zip failure. Support ALP-L29C636B134 and BLA-L29C636B137 repack.
    5
    You are a Genius, it will be a great break through if you succeeded to rebrand

    Done! See new "HWOTA8_Mate10_2017121202_rebrand.zip" script.
    ALP-AL00 locks bootloader after ota update, but ALP-L29 don't.