yashsingh1/xdaforums huggingface dataset:
[Huawei P20 Pro Guides, News, & Discussion] fanfan7110:
It's exactly what i said : All root procedure is only for pro version, but we are in "Huawei P20 Guides, news and discussion" not in "P20 Pro guides, news and blablabla".

So, I find it unfortunate that all the procedures and tips are exclusively for the pro and the owners of EML versions are forgotten.
[Huawei P20 Pro Guides, News, & Discussion] :
https://xdaforums.com/showthread.php?p=76229697

Maybe?
[Huawei P20 Pro Guides, News, & Discussion] fanfan7110:
perfect ! It's a line for P20. Good work :)
[Huawei P20 Pro Guides, News, & Discussion] CurtisAndroid5:
Anyone tried on CLT-L09?

Nice work
[Huawei P20 Pro Guides, News, & Discussion] techmizan:
it's work on which android version?
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
?? P20 Pro only shipped with 8.1 Oreo. So i guess there is no other version. :eek:
[Huawei P20 Pro Guides, News, & Discussion] :
Flash twrp instead to root [emoji6]
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
Twrp for P20 Pro is alive already ?? I only saw one for P20 :silly:
[Huawei P20 Pro Guides, News, & Discussion] :
Yes there's a unfified twrp for all 970 8.1 devices
[Huawei P20 Pro Guides, News, & Discussion] Xsjados:
Works perfect :D

L23 C432 (rebranded from L09)
[Huawei P20 Pro Guides, News, & Discussion] Paz9:
anyone have oeminfo for CLT-L29/C636
[Huawei P20 Pro Guides, News, & Discussion] :
We shall not ask for this since it's going to be dangerous to use lol
[Huawei P20 Pro Guides, News, & Discussion] Paz9:
Haha ok

i thought it was similar to other android phones, i guess its changed over the years?

Is it possible to disable encryption and changing mounting options?

i remember on my 5T i would just edit the fstab but im unsure if its the same for the p20 pro

can someone test?

or even a script

just run

#!/system/bin/sh
MTL=/dev/block/*;
for j in $MTL
do
tune2fs -O ^has_journal $j
done

and maybe change mounting options for /system and /data for better performance

busybox mount -o ro,remount,nosuid,nodev,noatime,nodiratime,norelatime,noblock_validity,delalloc,noauto_da_alloc,barrier=0,nodiscard,nobh /system
busybox mount -o rw,remount,nodiscard,noflush_merge,active_logs=6,mode=adaptive,nosuid,nodev,noatime,nodiratime,inline_data,inline_xattr,nodiscard,nobarrier,background_gc=off /data

assuming you have the tune2fs binariesin root /sbin and installed busybox to /sbin too

i think busybox has tune2fs binaries if not its here

https://drive.google.com/file/d/1HiMZpg7L1xs7d7s2E3Se5xbt1qwBHwhh/view?usp=sharing
[Huawei P20 Pro Guides, News, & Discussion] :
To disable encryption one must modify fstab and wipe internal storage same as nexus.
[Huawei P20 Pro Guides, News, & Discussion] Diaeko:
I succesfully installed magisk but ever since instagram stopped working even if i hide it in magisk... its working on my other devices tho
[Huawei P20 Pro Guides, News, & Discussion] :
Not aware of this since I don't use telegram not sure if you're the only one having this issue. Or are you using xposed?
[Huawei P20 Pro Guides, News, & Discussion] Déd0u:
(CLT-L29) build 8.1.0.107(C432) european version

Hi !

Does this rooting method (described at the first page) work with the (CLT-L29) build 8.1.0.107(C432) european version ?

I red that Doromax got some troubles, and i would like to make sure i don't.

Thanks in advance :)
[Huawei P20 Pro Guides, News, & Discussion] popoxee:
A liitle confusion here. The title says it's for pro version but the post content says for p20.

By reading the whole thread it seems to be for pro CLT-ALxx? Can the OP or mod edit the title or the post to match?
[Huawei P20 Pro Guides, News, & Discussion] sarichter:
OK... hopefully someone can help. I have my new Huawei P20 Pro. I have already unlocked it (confirmed). I flash this image file via fastboot and get a successful message via the command prompt. However, I cannot find Magisk installed on the phone. When I try to install the Manager, it installs but will not open. The window just keeps closing. I am probably overlooking something so can anyone help me out?

Update:

This post helped me get this installed!

https://xdaforums.com/showpost.php?p=76441261&postcount=33
[Huawei P20 Pro Guides, News, & Discussion] clarkchan:
My one is CLT-AL00, could you please provide the root. Thank you!
[Huawei P20 Pro Guides, News, & Discussion] Pete127:
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
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
we no longer need patched ramdisk. Just install twrp and magisk.zip and you are good :)
[Huawei P20 Pro Guides, News, & Discussion] casley79:
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?
[Huawei P20 Pro Guides, News, & Discussion] tasar:
I think so. I have magisk on another phone and with one Rom I doenst pass SafetyNet, fingerprint not working in my banking app. The other Rom pass SafetyNet and fingerprint work (when the app is hide magisk)
[Huawei P20 Pro Guides, News, & Discussion] sarichter:
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.
[Huawei P20 Pro Guides, News, & Discussion] cyexdeah:
Quick feedback to the developer and anybody else using CLT-L09 (C432), German Vodafone version (L09 is the single SIM version, L29 is the dual SIM one): It works! My phone is fully rooted and Titanium, Greenify, etc. are working fine.

I was not familiar with Magisk at all and it's my first Huawei. In case other noobs wonder, I did it like this:

Get the unlock code (Huawei's official page is online again, but they announced they'll discontinue official unlock support soon!)

Use a mini ADB/Fastboot package

Unlock the phone with "fastboot oem unlock _your_unlock_code_"

That automatically reboots and factory-resets the phone

Shut down and press power+volume down

Connect phone to PC

Check if the phone can be found with "fastboot devices"

Flash Magisk with "fastboot flash ramdisk CLT-L29-MAGISK.img"

Install MagiskManager.apk manually or using HiSuite

Open Magisk and download/install the ZIP

Voila, your phone is fully rooted now.

Big thanks to the developer and XDA community!
[Huawei P20 Pro Guides, News, & Discussion] AndsXDA:
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 ?
[Huawei P20 Pro Guides, News, & Discussion] sarichter:
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.
[Huawei P20 Pro Guides, News, & Discussion] AndsXDA:
Yes yes yes, your made me Day right.

i flashed via adb the patched boot img.

then i downloaded Magisk Manager 5.6.4 and it works !!!!!!

Thx you very much !!!!!

i love this forum und their members :)

and again, thx for your post und your help !!!!

Regards
[Huawei P20 Pro Guides, News, & Discussion] rukia06:
thanks.

Can confirm using 5.7 magisk manager app wouldnt open.

Getting 5.6.4 worked.

https://github.com/topjohnwu/MagiskManager/releases
[Huawei P20 Pro Guides, News, & Discussion] rukia06:
Update:

In my Magisk logs, busy box isnt working/excist, so it cant unzip modules.

root works though.

anyone know why this might be?

---------- Post added at 03:09 AM ---------- Previous post was at 02:51 AM ----------

Update again:

i installed the unoffical TWRP and flashed magisk 16.4 and manager 5.7 over the top.

Everything apears to be working now
[Huawei P20 Pro Guides, News, & Discussion] sacredsoul:
I installed on my P20 pro this patched ramdisk and installed magisk manager 5.6.4. The manager shows phone is rooted. However safetynet fails and I cant install any modules. I heard you have to reinstall magisk after installing magiskmanager. How do I do that? Also, do I need TWRP? I havent gotten it installed yet.

EDIT : Works now. Installed TWRP. Flashed Magisk 16.4 zip. Booted inside and using Magisk Manager 5.7.0. Safetynet passed and modules can be installed.
[Huawei P20 Pro Guides, News, & Discussion] AndroidFann:
Great to hear you got it working. I have TWRP but it is all encrypted. What TWRP did you end up installing?

Thanks!
[Huawei P20 Pro Guides, News, & Discussion] sarichter:
There is an unofficial TWRP that appears to work and does support decryption.

https://xdaforums.com/huawei-p20-pro/development/recovery-twrp-3-2-1-0-t3779400
[Huawei P20 Pro Guides, News, & Discussion] AndroidFann:
Great. Thanks. It wasn't working for me before but I will try again. Thanks!
[Huawei P20 Pro Guides, News, & Discussion] sacredsoul:
Yep am using the unofficial TWRP as well
[Huawei P20 Pro Guides, News, & Discussion] sarichter:
I've noticed more people having success with the unofficial TWRP than the official one. Probably because of decryption. Flashing through fastboot seems to be pretty effective though, so I'm not sure TWRP is absolutely required at the moment.
[Huawei P20 Pro Guides, News, & Discussion] abrahamjones:
I am using the unofficial version but having trouble with decryption. I had to remove all PIN/Pattern/Password lock before I logged into TWRP. After that it worked fine but I had to enroll fingerprints and face data.
[Huawei P20 Pro Guides, News, & Discussion] Bryski:
Anyone confirm this working and the method they used on a CLT-L09 8.1.0.110(C782) please?

Cheers
[Huawei P20 Pro Guides, News, & Discussion] Cronium:
Anyone else having a issue where if your bootloader is unlocked Google Pay will not show up as an option for "default NFC app" even with Magisk Hide enabled?
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
Its the nature of unlocking bootloader and rooting. You cant use Google Pay as it was
[Huawei P20 Pro Guides, News, & Discussion] Cronium:
I thought with Magisk Hide we could still pass Safety net and hence still use Google Pay?
[Huawei P20 Pro Guides, News, & Discussion] sarichter:
That is correct. If you follow instructions on how to install Magisk and make sure you have 16.0 installed, Google Pay will work. The later versions are buggy and will sometimes trip SafetyNet.

---------- Post added at 01:28 PM ---------- Previous post was at 01:12 PM ----------

You are correct in not being able to use it as it was... but you can still use it if you are Rooted and SafetyNet isn't tripped. Running Magisk 16.0 and Magisk Manager 5.6.3 seems to be working so far.
[Huawei P20 Pro Guides, News, & Discussion] Cronium:
I was on 16.0 and 5.6.4 and while google Pay installed and accepted cards, I couldn't set it was the default NFC app. It wasn't even in the list. As soon as I relocked my bootloader it worked fine. And yes I passed safety net.
[Huawei P20 Pro Guides, News, & Discussion] sarichter:
Weird... I have no issues with it being set and using Google Pay with unlocked bootloader, rooted, and running 5.6.3.
[Huawei P20 Pro Guides, News, & Discussion] aaallleeennn:
Can anyone explain how to flash Magisk over Magisk Manager app?? Ramdisk flashed and root obtained but can't install modules. I saw that magisk must be reflashed with magisk manager after ramdisk flashing but can't figure it out.
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
in magisk manager, choose install, and choose direct install
[Huawei P20 Pro Guides, News, & Discussion] aaallleeennn:
I have only Uninstall option, there is not Install option in magisk manager
[Huawei P20 Pro Guides, News, & Discussion] sarichter:
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.
[Huawei P20 Pro Guides, News, & Discussion] aaallleeennn:
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?!
[Huawei P20 Pro Guides, News, & Discussion] sarichter:
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!
[Huawei P20 Pro Guides, News, & Discussion] aaallleeennn:
Thanks mate, that worked.
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
You need internet connection. Then it will appear
[Huawei P20 Pro Guides, News, & Discussion] aaallleeennn:
I had internet connection constantly, but nwm already solved thanks :). Is there any trick to turn on usb Debugging and that it stays on? When I reboot my phone it turns itself off.
[Huawei P20 Pro Guides, News, & Discussion] Armand Bernard:
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)
[Huawei P20 Pro Guides, News, & Discussion] Armand Bernard:
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
[Huawei P20 Pro Guides, News, & Discussion] Bryski:
Anyone able to give me a walk through to get it working on CLT-L09 8.1.0.110(C782)?

Much appreciated
[Huawei P20 Pro Guides, News, & Discussion] Armand Bernard:
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.
[Huawei P20 Pro Guides, News, & Discussion] Bryski:
Got a link to magisk v16.4 at all mate?
[Huawei P20 Pro Guides, News, & Discussion] Armand Bernard:
https://xdaforums.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589
[Huawei P20 Pro Guides, News, & Discussion] Bryski:
Cheers man, will give it a shot :)
[Huawei P20 Pro Guides, News, & Discussion] sarichter:
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.

What walk-through do you need?

Does 16.4 work without any issues? I heard it's got a bug with 64 bit systems.
[Huawei P20 Pro Guides, News, & Discussion] Bryski:
Seems to be working fine, passes SafetyNet
[Huawei P20 Pro Guides, News, & Discussion] sarichter:
Awesome! That was done with TWRP, correct? So far, I have had no luck with anything higher than Magisk 16.0 flashing the ramdisk and no TWRP. No complaints, just an observation.
[Huawei P20 Pro Guides, News, & Discussion] Bryski:
Yup v16.4 flashed via TWRP
[Huawei P20 Pro Guides, News, & Discussion] AaronAverage:
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?
[Huawei P20 Pro Guides, News, & Discussion] bravo261:
yup, 16.4 installed with the magisk app bundled in worked beautifully for me. safetynet is passed and apps seem to keep rooted status
[Huawei P20 Pro Guides, News, & Discussion] AaronAverage:
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.
[Huawei P20 Pro Guides, News, & Discussion] sarichter:
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!
[Huawei P20 Pro Guides, News, & Discussion] AaronAverage:
Because of a certain app - Pokemon go. It won't work with 5.6.3 since later versions have modification specifically for this game (it's mentioned in the Magisk Manager 5.6.4 changelog). I'm not even cheating in this game or something but it doesn't work with a rooted phone after all and I don't want to unroot just because of this game.

I know it's my very own problem but I thought someone might have a clue.

Also, MagMan 5.6.3 also crashed for me just like 5.7.0 after a couple of times opening it. But I haven't investigated further on this version, just tried it shortly. Maybe it would've been a simple fix.

Maybe 5.6.4 + 16.0 will work fine. Haven't tried that combination yet. I'll try that if I find time.
[Huawei P20 Pro Guides, News, & Discussion] sarichter:
That combo does work.
[Huawei P20 Pro Guides, News, & Discussion] Kimas90:
hey.

i flashed sucessfully TWRP on my P20 Pro. via USB MTP i copied the Magisk zip to the root of my phone.

ES Explorer show me that file in storage/emulated/0...

but i cannot find that file in TWRP.... in storage there are folders with random numbers/letters...

where can i move this zip so i can find it in TWRP to flash?
[Huawei P20 Pro Guides, News, & Discussion] happyhammer66:
MaKe sure no security is set. Turn off screen lock in developer options, this will deletebpin faceid id etc
[Huawei P20 Pro Guides, News, & Discussion] Kimas90:
got no screen lock options active. i cannot find that folder storage/emulated/0 in TWRP
[Huawei P20 Pro Guides, News, & Discussion] Saipion:
I've just read through the whole thread but still unsure what way to go. I've just got my bootloader unlock code today but haven't unlocked my bootloader yet.

What's better/safer/easier? Flash ramdisk or twrp.

Pros and cons of each?

Sorry this is my first android for years. Just want to be sure before I start doing things to it.

I've got CLT-L09 (782)

Thanks
[Huawei P20 Pro Guides, News, & Discussion] trisgne:
Just to confirm:

I've just flashed CLT-L29-MAGISK.img on my CTL-L29 build 8.1.0.131 (C432)

This image contains Magisk v16.3

I had Magisk Manager V5.8.1 who crashed everytime I stated it.

Went to system settings- Apps - and uninstalled Magisk Manager .

Installed Magisk Manager v5.6.4 and all is working OK (https://github.com/topjohnwu/Magisk/releases )

Hopes it helps somebody :)