After searching the whole Internet for 2 days, getting piece of info here and there, this is how I was able to root my Huawei Honor 6C Pro (JMM-L22) successfully:
- Enable Android developer options
- Enable USB debugging and OEM unlock from Android developer options
- From a computer, download Honor 6C Pro stock firmware at http://download-c.huawei.com/download/downloadCenter?downloadId=97622&version=410780&siteCode=ru
- From a computer, download Huawei Update Extractor at https://forum.xda-developers.com/showthread.php?t=2433454
- Start Huawei Update Extractor and open dload/UPDATE.APP from stock firmware
- Right-click BOOT.img and extract it to disk
- Transfer BOOT.img to phone storage
- From phone, download and install MagiskManager APK at https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
- Launch MagiskManager, click install, click Patch Boot Image File and select transfered BOOT.img
- Extract patched boot image (e.g. patched_boot.img) to computer
- Create a Huawei account at https://hwid5.vmall.com/CAS/portal/userRegister/regbyemail.html?reqClientType=2023&loginChannel=22000000&countryCode=hk&loginUrl=https%3A%2F%2Fhwid5.vmall.com%2FCAS%2Fportal%2Flogin.html
- Get your device bootloader unlock code at
http://emui.huawei.com/en/plugin.php?id=unlock&mod=detail. As of May 14th, the page is offline. People report being able to get their code asking Huawei Customer Support on Twitter. - Install Android adb and fastboot utilities
- Make sure phone is plugged to computer, open a command prompt (e.g. cmd.exe) and type:
adb reboot bootloader
- Phone will reboot. When phone reaches bootloader screen, type in command prompt:
fastboot oem unlock YOUR_HUAWEI_UNLOCK_CODE
- Phone now reboots and perform a factory reset
- After reset, enable again Android developer options and USB debugging
- Open a command prompt and reboot again on bootloader:
adb reboot bootloader
- Phone will reboot. When phone reaches bootloader screen, type in command prompt:
fastboot flash boot path/to/your/computer/patched_boot.img fastboot reboot
- Congratz, phone is now rooted. MagiskManager app should state Magisk is installed and Root Checker will confirm it.
Sir Please Tell Me That Now Huawei Is Not Providing The Bootloader Unlock Code You Can Go To Your Provided Link And Can Check Now Please Tell Me That How I Can Get The Bootloader Unlock Code For My Mobile.