How To Root Android - Guide To Patch Boot Image On Huawei Mate 10 Pro To Root With Magisk

How To Root Android - Guide To Patch Boot Image On Huawei Mate 10 Pro To Root With Magisk

If you are looking forward to rooting your Huawei Mate 10 Pro using Magisk, either you have to install custom recovery on your device or flash a patched the boot image of your Huawei Mate 10 Pro. The easiest way to root your Magisk is to flash the Magisk Zip file in custom recovery. But some users . do not prefer the custom recovery method as it messes up the recovery and boot image and affects the OTA installation. They prefer a boot image patching method to root their devices using Magisk. Let's find out how to patch your device boot image and root your device with Magisk

Huawei Mate 10 Pro

As you know, Huawei usesKirin processors and Huawei device has been partitioned differently than on common Android smartphones. As a result of this, you cannot have a boot partition of Huawei devices. I hope you have already aware of Magisk and you know that Magisk is installed on the boot partition of an Android device as it comes as a systemless rooting solution. You can learn about it more from XDA and you can download Android root Magisk there. So, where is Magisk installed on Huawei devices.? Huawei Mate 10 Pro running on EMUI 8 and it has a partition named ramdisk in which Magisk is installed instead of the boot partition. Generally, you can root Huawei Mate 10 Pro smartphone by flashing Magisk Zip file in a custom recovery. If you are unable to use the Custom recovery method, you have to patch the RAMDISK.img and flash it in fastboot mode to gain root access

How To Root Android - Guide To Patch Boot Image On Huawei Mate 10 Pro To Root With Magisk


How To Patch RAMDISK.img And Flash

Download the stock firmware file for your device

Extract the RAMDISK.img file from the firmware file

Copy the RAMDISK.img to your device

Download and install the latest Magisk Manager on your device

Press Install → Install → Select and Patch a File, and select your RAMDISK.img file

Then, Magisk Manager will install magisk binary on your RAMDISK.img file and it will be saved on [Internal Storage]/Download/magisk_patched.img

Copy the patched RAMDISK.img from your device to your PC

Flash the patched boot image to your device and reboot using fastboot command fastboot
flash ramdisk /path/to/magisk_patched.img

Now, you have rooted your device using Magisk

Final Word

Perhaps you might not be able to download the stock firmware file for your Huawei Android smartphones as Huawei does not release official firmware images. But you can find it unofficially as users share it over the internet. You may needHuawei Update Extractor if you use Huawei Firmware Database to download factory images.
前提是現在華為的手機很難解鎖喔
而且買了華為應該不會care要不要root吧
文章分享
評分
評分
複製連結

今日熱門文章 網友點擊推薦!