[Magisk] Root P20 Pro

  • Thread starter LastStandingDroid
  • Start date
Search This thread

aaallleeennn

Senior Member
Nov 13, 2008
425
80
München
After you flash and reboot, install Magisk Manager 5.6.3 or 5.6.4. Then you need to get into Magisk Manager and install Magisk 16.0 (shown near the top of the menu). Do not upgrade to Magisk Manager 5.7 unless you have TWRP installed and can do this through the custom recovery.

I'm running Magisk 16.0 and Magisk Manager 5.6.3 with full functionality, SafetyNet, and Root.

Flashed, rebooted and installed version 5.6.4. when I enter magisk manager i get this (see screenshot)
Don't have install option. What could have gone wrong?!
 

Attachments

  • Screenshot_20180607-205904.jpg
    Screenshot_20180607-205904.jpg
    155.6 KB · Views: 346

sarichter

Senior Member
Nov 4, 2011
285
74
Phoenix
Flashed, rebooted and installed version 5.6.4. when I enter magisk manager i get this (see screenshot)
Don't have install option. What could have gone wrong?!

You don't get a window that pops up and asks you to install 16.0? If not, update Magisk Manager to 5.7 (per the prompt), install 16.0 (per the prompt), and then reboot. You will then have to uninstall Magisk Manager and reinstall 5.6.4 or 5.6.3. Run the check on SafetyNet a few times and possibly reboot once more. Should be good after that!
 

aaallleeennn

Senior Member
Nov 13, 2008
425
80
München
You don't get a window that pops up and asks you to install 16.0? If not, update Magisk Manager to 5.7 (per the prompt), install 16.0 (per the prompt), and then reboot. You will then have to uninstall Magisk Manager and reinstall 5.6.4 or 5.6.3. Run the check on SafetyNet a few times and possibly reboot once more. Should be good after that!

Thanks mate, that worked.
 

Armand Bernard

Senior Member
Apr 19, 2015
75
9
Hi guys. I've finally figured out how to get working TWRP, then I installed magisk (v16.0) by flashing it through TWRP. It unfortunately trips SafetyNet, so I thought I'd try using the patched ramdisk image provided in this posts, but now Magisk Manager force closes every time I open it.
It might be because I updated using the security patch released today.

I'm on CLT-L09 8.1.0.103(C782). Any advice? For now I might restore the boot image and use Magisk as I used to, at the expense of Android Pay (RIP)
 

Armand Bernard

Senior Member
Apr 19, 2015
75
9
I reset my update, reinstalled magisk. It works for a while, then just force closes whenever I try open the manager app and root no longer works. This has happened several times and even reflashing doesn't work.
Am I the only one with this issue? Maybe it's the system disabling it on reboot just like it does with TWRP sometimes?

---------- Post added at 11:50 PM ---------- Previous post was at 11:22 PM ----------

Nevermind, ignore my earlier posts, using a beta version of Magisk solved my problems. It had defaulted to stable.
walk of shame
 

Armand Bernard

Senior Member
Apr 19, 2015
75
9
Anyone able to give me a walk through to get it working on CLT-L09 8.1.0.110(C782)?

Much appreciated

You'll need to have the unofficial TWRP. Make a backup and simply flash the Magisk v16.4 zip. Simple as that. Make sure it's not the v16.0 version as that one breaks. SafetyNet passes for me.
I didn't end up needing the patched bootimage.
 

sarichter

Senior Member
Nov 4, 2011
285
74
Phoenix
Hi guys. I've finally figured out how to get working TWRP, then I installed magisk (v16.0) by flashing it through TWRP. It unfortunately trips SafetyNet, so I thought I'd try using the patched ramdisk image provided in this posts, but now Magisk Manager force closes every time I open it.
It might be because I updated using the security patch released today.

I'm on CLT-L09 8.1.0.103(C782). Any advice? For now I might restore the boot image and use Magisk as I used to, at the expense of Android Pay (RIP)

16.0 should work fine if you install via Magisk Manager. However, Magisk Manager 5.6.3 or 5.6.4 are the only versions that I have found work without any issues. SafetyNet passes and I stay rooted.

Anyone able to give me a walk through to get it working on CLT-L09 8.1.0.110(C782)?

Much appreciated

What walk-through do you need?

You'll need to have the unofficial TWRP. Make a backup and simply flash the Magisk v16.4 zip. Simple as that. Make sure it's not the v16.0 version as that one breaks. SafetyNet passes for me.
I didn't end up needing the patched bootimage.

Got a link to magisk v16.4 at all mate?

Does 16.4 work without any issues? I heard it's got a bug with 64 bit systems.
 

AaronAverage

Senior Member
Mar 10, 2013
52
15
Hey guys!
I read through pretty much all of this thread but still have an issue with the magisk app. So I've got magisk itself working and safetynet passes. But I'm desperately looking for a working Magisk app.

So far I've had:
- Currently using 5.5.4. Works as intended except that it doesn't save which apps I've given root access to, so it asks over and over if I want to give app XY root access, which is annoying.
- Before that I've been on 5.7.0. I know all of the posts are saying it causes problems but I haven't had any for like a week. Now it won't open anymore and I lost root (which I kinda expected, was too good to be true that it's running perfect for me), so I've installed 5.5.4. But when it was working it was perfect! Wish I could use that one.
- As most of you are recommending I've tried 5.6.3/.4. Same as 5.7.0: App closes as soon as I open it; no root access.

Anyone got a hint? I'd be fine going with 5.5.4 if the not-saving-root-permissions bug wouldn't be there.

The framework I've got installed is 16.4. I've had 16.0 before but don't want to use that again since some apps recognize the device as modified when I was on 16.0 (even though safetynet passed). Maybe 16.3 works better? Don't wanna play around too much so I'll ask you before.

Or does anyone know either how to fix the 5.5.4 root bug or how to get 5.6.X/5.7.0 working permanently?

Thanks.

Edit: I've done
mount | grep \/data
and found out /dev/block on /data is f2fs. Could formatting /data/ as ext4 and reinstalling everything work?
 
Last edited:

bravo261

Senior Member
Aug 15, 2005
380
13
yup, 16.4 installed with the magisk app bundled in worked beautifully for me. safetynet is passed and apps seem to keep rooted status
 

AaronAverage

Senior Member
Mar 10, 2013
52
15
Hm yeah my workaround right now is to boot to TWRP and reflash 16.4 (including 5.7.0 APK) every time 5.7.0 stops working. As long as I don't open the Magisk app it works just fine, but after opening Magisk a couple of times it starts instant-crashing on opening the app again. And that's when I reflash.

Since I don't use the app that often this is okay for me for now. The app works most of the time, root works just fine as long as the app does and safetynet passes just fine.
 

sarichter

Senior Member
Nov 4, 2011
285
74
Phoenix
Hm yeah my workaround right now is to boot to TWRP and reflash 16.4 (including 5.7.0 APK) every time 5.7.0 stops working. As long as I don't open the Magisk app it works just fine, but after opening Magisk a couple of times it starts instant-crashing on opening the app again. And that's when I reflash.

Since I don't use the app that often this is okay for me for now. The app works most of the time, root works just fine as long as the app does and safetynet passes just fine.

Why bother with Magisk 16.4 and Magisk Manager 5.7.0 then? Magisk 16.0 and Magisk Manager 5.6.3 work flawlessly without any problems whatsoever. You don't even need to use TWRP to install them!
 

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.