[Huawei Mate 10  Guides, News, & Discussion] Athanatos81:
Because of a defect, my phone is no longer rooted/unlocked. Unfortunately Huawei substituted it with a new one, instead of repairing my old phone.

So my bootloader is locked, there actually is no possibility to unlock and I don't know, if I would pay for it again, because even with root the possibilities with Huawei's restrictive policy are limited...

So I won't patch any files anymore, but if you'll provide your patched/unpatched files, I will update this thread furthermore.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

EMUI 9

You may not have root, if you don't (re)start as if you wanted to start recovery mode: [Vol+]+[Power]

All provided files are for customisation C432 - I don't think, there is any difference to other customisations, but I don't know exactly and don't warrant it.

EMUI 9.1

Important Note for EMUI 9.1: Actually the phone can't boot to recovery by holding [Volume +], so you have to do it in adb-mode:

adb reboot recovery

If not, you won't have root, even with patched recovery_ramdisk.

Issues:

The feature to charge the powered off phone will be broken - as soon as you connect USB, the phone will boot up.

You won't have any working recovery. If you need your original recovery back, reflash unpatched recovery_ramdisk.img with fastboot in the same way.

Requirements / Downloads

Mate 10 (Pro) with

unlocked bootloader

Minimal ADB & Fastboot

If you own ALP device (build 159): (for some newer versions see instructions below to get your own recovery_ramdisk)

Unpatched Recovery_Ramdisk ALP 9.0.0.159

Patched Recovery_Ramdisk ALP 9.0.0.159

If you own BLA device (build 161): (for some newer versions see downloads below)

Unpatched Recovery_Ramdisk BLA 9.0.0.161

Patched Recovery_Ramdisk BLA 9.0.0.161

latest Magisk Manager stable build

I. Rooting your device

1. Unzip Minimal ADB & Fastboot to any folder of your PC

2. Download the patched file for your device and copy it to Minimal ADB & Fastboot folder. [If you don't want/can use my provided files, go now to step II.1. to patch your own file and root with it]

3. Start your smartphone in fastboot mode pressing [Vol-]+[Power] and connect it to your PC.

4. Open a Powershell window in your Minimal ADB & Fastboot folder by [Shift]+[Rightclick].

5. Flash the Recovery_Ramdisk:

fastboot flash recovery_ramdisk [I]name_of_your_patched_file.img[/I]

(You must adapt the file name to the real name of your file, e.g. RECOVERY_RAMDISK_PATCHED_BLA_EMUI_9.0.0.161.img)

6. Reboot with this command "fastboot reboot recovery" or shutdown and press [Vol+]+[Power].

7. Download Magisk Manager (latest stable build) and install.

---If you used my provided file, now you are ready and rooted.---

II. How to get the fitting recovery_ramdisk for your own OS version

1. Download Huawei Firmware Finder, search for your device and download your desired firmware version.

2. Extract update.app from downloaded update.zip.

3. Download Huawei Update Extractor, start this tool, go to "Settings" and uncheck "Verify header checksum".

4. Go to "Extract" and open your update.app.

5. Extract RECOVERY_RAMDIS.img (Yes, there is no "k" at the end), rename it, if you want to, and then transfer it to your phone, if you want to patch it (instructions see above).

III. Install Magisk Manager and patching files by yourself / root with your own file

1. Download Magisk Manager (latest stable build) and install.

2. Check "force encryption" and "AVB 2.0" boxes.

To patch yourself recovery_ramdisk and root with your own file:

3.a) Patch your *.img, that you have copied in any folder to your smartphone by pressing "Install" --> "Install" --> "Patch boot image" in Magisk Manager.

4 Transfer the patched file (You will find it in your download folder of your smartphone. It will be called "patched_boot.img".) to your PC, start Smartphone in fastboot mode and flash:

fastboot flash recovery_ramdisk [I]name_of_your_patched_file.img[/I]

(You must adapt the file name to the real name of your file, e.g. patched_boot.img)

To actualize Magisk:

3.b) Choose in Magisk Manager: "Install" --> "Install" --> "Direct Install (Recommended)" --> Restart

Download options for some unpatched/patched files

ALP 9.0.0.159 (C432) unpatched / patched

ALP 9.0.0.194 (C636) unpatched / patched

ALP 9.0.0.195 (C636) unpatched / patched

ALP 9.0.0.213 (universal cust) unpatched / patched

ALP 9.0.0.217 (C636) unpatched / patched

ALP 9.0.0.228 (C636) unpatched / patched

BLA 9.0.0.161 (C432) unpatched / patched

BLA 9.0.0.179 (C432) unpatched / patched

BLA 9.0.0.197 (C432) unpatched / patched

BLA 9.0.0.206 (C432) unpatched / patched

BLA 9.0.0.211 (universal cust) unpatched / patched

BLA 9.0.0.215 (universal cust) unpatched / patched

BLA 9.0.0.223 (universal cust) unpatched / patched

BLA 9.0.0.224 (universal cust) unpatched / patched

BLA 9.0.0.226 (universal cust) unpatched / patched

BLA 9.0.0.231 (universal cust) unpatched / patched

BLA 9.0.0.233 (universal cust) unpatched / patched

BLA 9.0.0.238 (universal cust) unpatched / patched

BLA 9.0.0.243 (universal cust) unpatched / patched

BLA 9.0.0.246 (C432) unpatched / patched

BLA 9.0.0.259 (C636) unpatched / patched

Thanks to

[MENTION=4470081]topjohnwu[/MENTION] - magisk developer

[MENTION=6175404]gmanrainy[/MENTION] (Team MT) - Huawei Firmware Finder

[MENTION=981278]worstenbrood[/MENTION] - Huawei Update Extractor