• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Magisk] Root P20 Pro

  • Thread starter LastStandingDroid
  • Start date
Search This thread
L

LastStandingDroid

Guest
So since apparently no one rooted their p20 yet and I heard it wasn't possible since no boot dumped yet.

I'll provide this https://mega.nz/#!jlBFWSwR!wzozF9Zi189upCm6mCVjTDEUcG9SpDHbNOPewKJ7so8

Magisk patched boot. (oh yeah you read right!)

All you need to do is obtain your bootloader unlock code.

If you somehow fail getting the bootloader code or getting wrong code. I can write up a thread for how we did it.


Unlock the bootloader and flash ramdisk with

Fastboot flash ramdisk CLT-L29-MAGISK.img

They reboot. Simple right?

This has been tested on a demo unit (C652) and works well!

We even dumped oeminfo! ;)

Enjoy.



Screenshot_20180404-223341.jpgIMG_20180405_174224_590.jpg

Sent from my DUK-L09 using Tapatalk
 
Last edited:
L

LastStandingDroid

Guest
I doubt.
Hello everyone;
Someone tried with an official version of the P20?
Since there is no procedure in case of brick phone, it would be better to be sure that it works each time before starting ..
Not tested on p20 but pro version
definitely will try this once i get my p20 pro

Sent from my DUK-L09 using Tapatalk
 

otonieru

Senior Member
May 7, 2011
3,445
2,212
Djakarta
So since apparently no one rooted their p20 yet and I heard it wasn't possible since no boot dumped yet.

I'll provide this https://mega.nz/#!jlBFWSwR!wzozF9Zi189upCm6mCVjTDEUcG9SpDHbNOPewKJ7so8

Magisk patched boot. (oh yeah you read right!)

All you need to do is obtain your bootloader unlock code.

If you somehow fail getting the bootloader code or getting wrong code. I can write up a thread for how we did it.


Unlock the bootloader and flash ramdisk with

Fastboot flash ramdisk CLT-L29-MAGISK.img

They reboot. Simple right?

This has been tested on a demo unit (C652) and works well!

We even dumped oeminfo! ;)

Enjoy.

Hi mate, may i know from which rom version is your ramdisk.img ?

Mine is from 8.1.0.106 (C185) , but am keeping yours as well, just in case, LoL

And, can you share the un-patched one as well ?
 

fanfan7110

Senior Member
Jan 2, 2009
325
87
Lyon
www.hightech-reviews.com
ok, thank you :)
I suspected a little.

However, just before I had the P20, I had an Oneplus 5T under oreo and it was still a partition recovery as usual. I rooted the Oneplus 5T by flashing the recovery quite normally: "Fastboot flash recovery twrp.img" then under twrp, flashing magisk.zip. No use of a recovery_ramdisk
 

fanfan7110

Senior Member
Jan 2, 2009
325
87
Lyon
www.hightech-reviews.com
No twrp is working for now. It would been on xda already ;)

Sent from my DUK-L09 using Tapatalk

It's certain. abd very logical :)
In the meantime, it is not very clever for these sites to offer fake tutorials because people in a hurry could try the adventure and end up with bricked phone, for a long time.

In any case, I hope that a formal and tested procedure will see the day soon, that we can have a little fun!
 
L

LastStandingDroid

Guest
It's certain. abd very logical :)
In the meantime, it is not very clever for these sites to offer fake tutorials because people in a hurry could try the adventure and end up with bricked phone, for a long time.

In any case, I hope that a formal and tested procedure will see the day soon, that we can have a little fun!
There's people who trying builds for it

Sent from my DUK-L09 using Tapatalk
 

doromax

Senior Member
Mar 28, 2009
186
38
Can someone explain me better the flash method ?
I have a P20 pro (CLT-L29) build 8.1.0.107(C432). european version.
Now to root I download the package.
I've already unlock the bootloader.

How to do other Step to flash ?

I see the photo. They are in magisk manager ?
or I must flash in a powershell on my PC ?
 
Last edited:
L

LastStandingDroid

Guest
Can someone explain me better the flash method ?
I have a P20 pro (CLT-L29) build 8.1.0.107(C432). european version.
Now to root I download the package.
I've already unlock the bootloader.

How to do other Step to flash ?

I see the photo. They are in magisk manager ?
or I must flash in a powershell on my PC ?
Nope the photo shows Magisk working already.

You'll need to fastboot flash ramdisk imagename.img

Also ill patch P20 ramdisk (yeah forgot I had it on mega)

Sent from my DUK-L09 using Tapatalk
 

gessi2000

Senior Member
May 24, 2011
117
3
It's not working on my Huawei P20 CLT-L29 C432 running EMUI 8.1.0

Unlocking the Bootloader works as described using the obtained unique unlocking code but after patching the .img file there doesn't seem to be root/SU available on my device. I would stay away from this as of now!
 
L

LastStandingDroid

Guest
It's not working on my Huawei P20 CLT-L29 C432 running EMUI 8.1.0

Unlocking the Bootloader works as described using the obtained unique unlocking code but after patching the .img file there doesn't seem to be root/SU available on my device. I would stay away from this as of now!
Are you serious? You know it's Magisk right

Sent from my DUK-L09 using Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    that doesnt work for me.

    i flashed twrp but cant boot into twrp
    and when i flashed the clt l 29 magisk img and install magisk apk , the magisk manager opend and closed immediatly.

    What can i do to succesful root ?


    greetz


    edit: i cant fix the problem , i flashed the the modifed boot img, and magisk manager opend it and closed immediately.

    I can boot in twrp but I can't install magisk.zip because I see only crypted files.

    any ideas ?

    Boot into TWRP by using ADB:

    adb reboot recovery

    If that does not work, you'll have to force booting into TWRP with using the volume and power buttons. VOLUME UP and POWER until you see the HUAWEI logo.

    To fix the Magisk issue. I have not found a solution to upgrade Magisk Manager to avoid the issue you describe. Please download and install Magisk Manager 5.6.4 and do not upgrade it. The .IMG file flash will show up as Magisk 16.3 (not sure if that is accurate) and it will give you root. It's just not apparent unless you run a program that needs root access. You can test with a Root Checker or an application such as Root Explorer (it simply requests root access immediately).

    If all else fails, you can always intentionally bootloop your device, get into eRecovery, download the latest firmware, complete a full wipe, and start over. I did that after many different attempts to play with the device until I broke certain features. Just don't brick your phone :) I don't have any solutions for that!

    FYI: I have root, but have decided not to re-install TWRP. There aren't many modules or ROMs to flash with TWRP yet. I also doubt that any custom ROM will be able to fully utilize the camera on this phone. It's a pretty outstanding piece of hardware.

    ---------- Post added at 07:20 PM ---------- Previous post was at 07:15 PM ----------

    I can only assume that until the Magisk developer updates the software, p20 pro owners will not be able to upgrade Magisk Manager past 5.6.4. Am I correct with this assumption? Anytime I install a version later than 5.6.4, Magisk Manager will not stay open.
    1
    Are you serious? You know it's Magisk right

    Sent from my DUK-L09 using Tapatalk

    Yes I meant I tried the root checker Apps from Playstore, Titanium Backup root etc. to verify the Magisk .img was flashed properly and works but just doesn't
    1
    it's work on which android version?

    ?? P20 Pro only shipped with 8.1 Oreo. So i guess there is no other version. :eek:
    1
    Sorry, I'm new here and I'm no power user or nerd.
    I just wanna have root on my HUAWEI P20 PRO. It's a german version (Vodafone) and it has the latest firmware OTA installed: CLT-L09 8.1.0.120 (C432).
    Bootloader is unlocked yet - but I couldn't find a suitable stock firmware nor a guide for installing magisk on that firmware version.
    Should I try? Does anybody provide a patched firmware?

    Thank you very much for any hints and support...

    Greetings

    we no longer need patched ramdisk. Just install twrp and magisk.zip and you are good :)
    1
    I have root my 432 with twrp and magisk.zip file... Root is OK but some app (bank app) does not work by fingerprint... Maybe it depends on safety net?
    I have had five setups with this phone so far.:
    1. On 107 firmware, I was rooted with Magisk and SuperSU, no TWRP, and SafetyNet passed. All apps worked.
    2. On 107 firmware, I was rooted with Magisk and SuperSU, TWRP installed, and SafetyNet did not pass.
    3. On 120 firmware, I was not rooted, no TWRP, and SafetyNet did not pass.
    4. On 120 firmware, I was rooted with Magisk, TWRP installed, and SafetyNet did not pass.
    5. On 120 firmware, I was rooted with Magisk, no TWRP, and SafetyNet passed.

    Right now I am humming away fine with no TWRP. Since the camera is fantastic and this phone operates easily under ADB, I don't think I will bother with TWRP or even custom ROMs. Hopefully this is helpful.