[Guide] Mate 10 Magisk Root

mankindtw

Senior Member
Jul 22, 2008
236
399
0
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
244
81
28
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
244
81
28
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

Last edited:

k4fari

Senior Member
Jan 24, 2017
244
81
28
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
0
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
244
81
28
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
244
81
28
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?