yashsingh1/xdaforums huggingface dataset:
[Huawei P20 Pro Guides, News, & Discussion] secXces_debaki:
Put the device off and hold power button and volume down. You should come directly into the rescue mode.
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
Ah, sorry, i got it wrong. Yes, its power n volume down.
[Huawei P20 Pro Guides, News, & Discussion] danifilth4king:
I tried again with the same result as before. I tried re-downloading your patched boot and flashing again and also tried patching stock one myself but I just get bootloop each time then eventually boot to eRecovery. Stock ramdisk fixes it though so it's weird why it doesn't work

Do you know where i might find the .103 rom and how to extract the ramdisk?

Thanks for your help guys
[Huawei P20 Pro Guides, News, & Discussion] secXces_debaki:
.106 Firmware download. Only i could find.
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
It would be easier to upgrade it to 106 first i guess :) i havent found any 103 rom circulated online
[Huawei P20 Pro Guides, News, & Discussion] danifilth4king:
Awesome thanks! I will try this.

What's the method for flashing the ROM? (Like I said it's my first Huawei device lol)

Is it European version CLT-L09 or CLT-L29? Just wanna make sure it's compatible with my device first.

Also will updating to .106 wipe data?
[Huawei P20 Pro Guides, News, & Discussion] liver20:
Warranty void if root?

Enviado desde mi Pixel 2 XL mediante Tapatalk
[Huawei P20 Pro Guides, News, & Discussion] fl4r3:
Just thought I'd let you know that I got round to rooting my phone - it is on CLT-L09 8.1.0.103(C782). It is the blue version and not network locked (got from mobiles.co.uk). I flashed the patched boot file and it rebooted fine, and root seems to be working.

The patched boot file you downloaded might be corrupt so worth downloading again? Either that or maybe if your phone is network locked it may be causing an issue?
[Huawei P20 Pro Guides, News, & Discussion] danifilth4king:
Thanks for letting me know and I'm glad it worked for you! I got mine through EE so it must be the network lock that's causing the issue as I'm on exactly the same build as you and I tried re-downloading and I also tried patching the stock ramdisk locally with magisk manager and flashing that, but still no luck :( I'll just wait for a P20 Pro TWRP release :)

---------- Post added at 02:17 AM ---------- Previous post was at 02:00 AM ----------

I think warranty is void if you unlock the bootloader
[Huawei P20 Pro Guides, News, & Discussion] Paz9:
How do you patch the stock Boot img if we want to do it our selves
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
If you already have a full rom, simply extract the ramdisk.img copy it to your phone,

Download magisk manager (check main post) and install it to your phone,

Open it,

Choose "Install" and choose "Patch Stock Boot Image" Option,

Browse for your ramdisk.img you copy earlier

It will patch your ramdisk, and place it in MagiskManager folder in your storage

Copy the "patched_boot.img" file to your PC and fastboot flash it to your phone. And you are done
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
Cr*p, double posted. Sorry
[Huawei P20 Pro Guides, News, & Discussion] danifilth4king:
Hey Otonieru, just wanted to let you know that I flashed the boot.img from this thread https://xdaforums.com/huawei-p20/how-to/magisk-root-p20-pro-t3773781 and it worked! So happy right now :)

Thanks for you help and fast responses yesterday mate!
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
LoL, no problem. Glad it finally work for you.

It seems boot image from C652 model work better for you.

I'll see, if there's another case like yours happen, maybe i'll provide that boot image in this thread as well. :)
[Huawei P20 Pro Guides, News, & Discussion] doromax:
two questions :

a) 1. Boot into bootloader ==> I must go into fastboot ? right ?

b) I have buil 8.1.0.107. This root was made with 106. I can install withot problem. Right ?
[Huawei P20 Pro Guides, News, & Discussion] Paz9:
Thank you :)

Will try it this week once the p20 pro arrives

Hoping twrp comes out first

Also by magisk manager do you mean the magisk.Apk in the flushable zip? Is his the apk the outputs the patched boot.Img?
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
I havent seen any kernel source being released, so i doubt twrp will come first.

And yes, thats magisk manager will output the patched boot file
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
A. Yes

B. That i cant know for sure. I dont have .107, you can try though :)
[Huawei P20 Pro Guides, News, & Discussion] Paz9:
Thank you :)

---------- Post added at 03:25 PM ---------- Previous post was at 02:36 PM ----------

anyone who has successfully rooted, can you try installing the ruthless launcher by NOU from the magisk manager, its my favorite launcher to use i really hope it works :D
[Huawei P20 Pro Guides, News, & Discussion] tbst1337:
cool beans :)

was on L29 .106 created my own patched boot img from your download. worked like a charm!

PS: getting into bootloader also works with POWER+VOL DOWN in case anybody prefers that way (i always had issues with adb devices not being found at all and just used that while unlocking the bootloader)

thanks a lot
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
For adb to be properly detected, you gonna need latest SDK and Windows 10 driver fix (if you use win 10)
[Huawei P20 Pro Guides, News, & Discussion] tbst1337:
it's probably the W10 driver fix :) thanks!
[Huawei P20 Pro Guides, News, & Discussion] MutziVAU6:
no success

Hi,

i followed the instructions to root, unfortunately it doesn't work...

the bootloader unlocked successfully, flashing the .img worked well it seemed, rootchecker says not rooted...

my device is a build CLT-L29 8.1.0.106(C432) located in germany.

is it necessery to have a sim card installed?

anyone able to solve my problem or have i to wait for twrp?

thanks and greets from bavaria
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
Which .IMG did you flash ?
[Huawei P20 Pro Guides, News, & Discussion] MutziVAU6:
i have tried your patched_boot.img then returned to ramdisk.img and CLT-L29-MAGISK.img.

i tried several times only with patched and only with magisk
[Huawei P20 Pro Guides, News, & Discussion] lordaxle:
Perfect

Worked perfectly on my CLT-L29. Many thanks

---------- Post added at 12:41 AM ---------- Previous post was at 12:34 AM ----------

I have the same german CLT-L29 8.1.0.106(C432) device. It worked without a SIM card.

After flashing the patched_boot.img, on reboot I installed Magisk Manager. I got it from the XDA page.

After installing this apk, I reinstalled Magisk (as stated in an earlier post).
[Huawei P20 Pro Guides, News, & Discussion] sishafie:
Has anyone passed the safetynet check? I have tried flashing using Magisk Manager but fail the check.
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
Yes, all green here.

Have you turn on magisk hide ? That needed for SN pass
[Huawei P20 Pro Guides, News, & Discussion] sishafie:
Yes, I have turned on the 'Magisk hide' in the magisk manager setting. Fail both ctsProfile and basicIntegrity.

Not sure which step that I missed.
[Huawei P20 Pro Guides, News, & Discussion] aoryx:
All green here to, try to go to settings and enable Hide option.

I have a q?

Can anyone install modules, cant seem to install any magisik module here :s

update:// After updating to 16.3, im am able to install modules.
[Huawei P20 Pro Guides, News, & Discussion] sishafie:
I think my problem is due to 'xposed framework sdk 27'. Once I uninstall the module, I passed the safetynet check.

Cheers.
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
Ah, i see, hahaha

just FYI, xposed will always break safetynet doesnt matter what.

Btw, so you managed to install xposed without problem on this phone ? Is the xposed itself working ?
[Huawei P20 Pro Guides, News, & Discussion] krs360:
Does unlocking the bootloader wipe the phone, as it did on Nexus'?
[Huawei P20 Pro Guides, News, & Discussion] Duncan1982:
Yes it sure does sadly :p
[Huawei P20 Pro Guides, News, & Discussion] sishafie:
Got no problems installing xposed. Not sure if is work as it supposed to. I try to install rootcloak as I used to have it on my previous phone. But it seems redundant and root is still detected so I uninstalled.

Cheers.
[Huawei P20 Pro Guides, News, & Discussion] mushtafa:
This worked perfect, thanks.

The warning of the unlocked bootloader is annoying on reboot though!
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
That happen on every android phone. Even google pixel. So, yeah. Gonna have to try to cope with that, lol
[Huawei P20 Pro Guides, News, & Discussion] Paz9:
where can i download the full stock rom zip for C636?
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
As far as i see, there's none available for 636. Only 432 and 185
[Huawei P20 Pro Guides, News, & Discussion] hunhool:
Thinking about to open bootloader and root the device. However as of now there is no any kind of development for this device, I must ask: what is the advantage of rooting tje device?
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
I mainly do it for adblocking. And force enable VoLTE
[Huawei P20 Pro Guides, News, & Discussion] Syph0nX:
Can confirm this works on P20 Pro (CLT-L29) build 8.1.0.107(C432). I used the patched RAM disk provided.
[Huawei P20 Pro Guides, News, & Discussion] dd66:
Ad block, Viper4Android, Emoji switch, Root explorer. Basic but useful IMO.
[Huawei P20 Pro Guides, News, & Discussion] danifilth4king:
Viper4Android not currently working on EMUI 8.1 AFAIK. Have you found a module that works?
[Huawei P20 Pro Guides, News, & Discussion] dd66:
Actually the question was general, not about my own case.

I do generally root for these reasons but on my brand new P20P I haven't done it yet.

Curently just thinking about it ;)
[Huawei P20 Pro Guides, News, & Discussion] hunhool:
So V4A magisk module doesn't work.... Have you tried to flash it from twrp?
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
Do not do that. You might ends in bootloop
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
It actually work. But not on EMUI. My pixel 2 using V4A just fine.

EMUI 8.1 on this phone has atmos preinstalled and can be conflicting. Do not try to install. You might face bootloop
[Huawei P20 Pro Guides, News, & Discussion] m00h:
What do I need, Magisk or Magisk Manager to install after the flash?

Do I install the Magisk Manager APK?
[Huawei P20 Pro Guides, News, & Discussion] killtoo:
Thx for the information ! Is there a mod to use Dolby Atmos over Bluetooth ?

There is no built-in equalizer for bluetooth in this phone... :rolleyes:
[Huawei P20 Pro Guides, News, & Discussion] dd66:
I decided (without root) to switch to Poweramp, which audio quality and personalization are far away from other players.

But we are off topic :p
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
Use this for bluetooth headphone.

https://play.google.com/store/apps/details?id=com.manythingsdev.headphonetools

It can create custom calibration for your specific headphone.
[Huawei P20 Pro Guides, News, & Discussion] twe90kid:
Will you be making a file for louder surround sound? I remember you did this for s8+ ?
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
I did that for mate 10. But havent found the need to do so with my P20 pro, the output is loud and clear enough (i compared it side by side with my pixel 2 xl - which has dolby atmos installed as well) with lil to none distortion.

I'll take a look though. Maybe only a lil for the top speaker.
[Huawei P20 Pro Guides, News, & Discussion] hunhool:
Just tried it. It doesn't make the bluetooth volume louder. It is quite disappointing how low the volume through bluetooth :confused::(
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
did you change the equalizer preset ? a lot of option inside. like rock, jazz pop etc. and it definitely change the output.
[Huawei P20 Pro Guides, News, & Discussion] Guido83:
the website for getting the unlock code is not working. any alternatives?
[Huawei P20 Pro Guides, News, & Discussion] vitjinka:
There is no alternative yet
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
Send direct email to huawei.

I have notified XDA regarding this issue as well. And they are trying to reach to huawei

In the meantime, maybe we could try push huawei to give statement through their twitter account. Or to push them to bring back the page alive,

Preventing people from unlocking their bootloader is steps backward,

They already lost US market due to government issue. And doing this wont bring their position any better in other region. At least from developer point of view
[Huawei P20 Pro Guides, News, & Discussion] Paz9:
whoever is rooted on the P20 pro can you please post up the fstab file?

located in /system/vendor/etc should be called kirin.fstab or something along those lines
[Huawei P20 Pro Guides, News, & Discussion] hunhool:
Yes,I have tried every possible way to make it louder,but no luck. V4A is the key for a better,richert sound output,but as far as I know its not compatible with the device.
[Huawei P20 Pro Guides, News, & Discussion] aoryx:
Here u go, hope this helps
[Huawei P20 Pro Guides, News, & Discussion] Paz9:
thank you!

if anyone is game enough to try this (in TWRP format data and replace the stock fstab with the below values, might have to flash data_full.zip and hw_spceas.zip for certain stock apps) if it doesnt boot just restore the stock fstab

should in theory disable force-encrypt and automatic trim,barriers and journaling (should speed things up)

as i dont have my p20 pro just yet im unable to try it

Quote:
# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
/dev/block/bootdevice/by-name/system /system ext4 ro wait
/dev/block/bootdevice/by-name/vendor /vendor ext4 ro wait
/dev/block/bootdevice/by-name/product /product ext4 ro wait
/dev/block/bootdevice/by-name/version /version ext4 ro wait
/dev/block/bootdevice/by-name/cust /cust ext4 ro wait
/dev/block/bootdevice/by-name/odm /odm ext4 ro wait
/dev/block/bootdevice/by-name/patch /patch_hw ext4 ro wait
/dev/block/bootdevice/by-name/splash2 /splash2 ext4 rw,nosuid,nodev,noatime,data=writeback,context=u:obj ect_r:splash2_data_file:s0 wait,check
/devices/hi_mci.1/mmc_host/mmc1/* auto auto defaults voldmanaged=sdcard:auto,noemulatedsd
/devices/platform/hi_mci.1/mmc_host/mmc1/* auto auto defaults voldmanaged=sdcard:auto,noemulatedsd
/devices/ff200000.hisi_usb/ff100000.dwc3/* auto auto defaults voldmanaged=usbotg:auto
/devices/platform/ff200000.hisi_usb/ff100000.dwc3/* auto auto defaults voldmanaged=usbotg:auto
/devices/platform/e7f00000.hifi_usb/* auto auto defaults voldmanaged=usbotg:auto
/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,nodiscard,inline_data,inline_xattr wait,check
/dev/block/bootdevice/by-name/cache /cache ext4 rw,nosuid,nodev,noatime,data=writeback wait,check
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
/dev/block/zram0 none swap defaults zramsize=536870912
/dev/block/bootdevice/by-name/hisee_fs /hisee_fs ext4 ro,barrier=0,context=u:object_r:hisee_data_file:s0 wait,check
/dev/block/bootdevice/by-name/modem_secure /modem_secure ext4 rw,noauto_da_alloc,nosuid,nodev,noatime,data=writeback,barrier=0,context=u:object_r:modem_secure_file:s0 wait,check
[Huawei P20 Pro Guides, News, & Discussion] HUAWEI P20:
Updated
[Huawei P20 Pro Guides, News, & Discussion] Gandhi70:
When i try this method, it will allow me to install further ota updates by switching the boot image to the original one? Or will i be prevented from installing ota updates because of the unlocked bootloader?

Gesendet von meinem SM-G950F mit Tapatalk
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
You can simply flash the full update package (not the incremental OTA one) to update
[Huawei P20 Pro Guides, News, & Discussion] mushtafa:
Could someone please patch the boot file for me please? Just updated to 8.1.0.107(C432) and lost root access. I assume The boot image in the OP (106) won't be compatible, so haven't tried it.

I'm still having troubles with USB debugging mode not enabling, so not sure how to go about gaining root again. Can anyone help or offer suggestions please?
[Huawei P20 Pro Guides, News, & Discussion] hunhool:
It is compatible, so you can use for sure! I also just updated to 8.1.0.120(c432) and root wirks fine with the patched boot image from OP.

To make sure USB debugging working, disable "HiSuite to use HDB under security & privacy/ more. Hope it helps.
[Huawei P20 Pro Guides, News, & Discussion] mushtafa:
Thank you for confirming. I used it, and it worked perfectly! :D

I checked the HiSuite setting, it was already disabled. I'll bump my original thread on this problem as it's off topic here.
[Huawei P20 Pro Guides, News, & Discussion] HUAWEI P20:
Updated android 8.0
[Huawei P20 Pro Guides, News, & Discussion] Androwar:
Hello,

Did someone rebrand this phone ?
[Huawei P20 Pro Guides, News, & Discussion] wievi:
Anyone having problem using magisk app on version 5.6.0 and above?

Currently i can only use 5.5.5 and if i upgrade to 5.6.0 or above, it will keep crashing on launch. The main problem on using 5.5.5, it can't install the Props fix for the safetynet check. I keep getting error "/data/magisk isn't setup properly". Already tried to clean uninstall by removing all the dir then reinstall again but keep having the same issue. Any idea on how to get the magisk debug or log?
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
Use Magisk 16.0 stable. or maximum 16.3

16.4 and 5.7.0 have a lot of problem becuase it remove 64bit driver compatibility.

Also, why would you need a props fix ? Magisk alone can bypass safetynet :)
[Huawei P20 Pro Guides, News, & Discussion] wievi:
Newbie on magisk here. Please bear with me on this. The one that i installed is magisk manager apk installer. The 16.0 that you are referring to is installed using fastboot or apk?

The reason why i need the props fix as mentioned in the #1 post is that the magisk manager test showed me that i didn't pass on both safetynet check. As shown in the screenshot, magisk is on 16.0 but the one that i keep having problem is the magisk manager. I can't use version magisk manager 5.6.0 and above
[Huawei P20 Pro Guides, News, & Discussion] mushtafa:
I'm running magisk v16, with app version 5.6.3 without issues. Also passes safety net.

If I update, it breaks, so leaving it as is at the moment.
[Huawei P20 Pro Guides, News, & Discussion] hunhool:
Got the same issue before. Download MagiskManager 5.6.3,open it, don't update to 5.7.0! Install magisk 16.0 then boot into twrp and flash props fix. It worked for me.
[Huawei P20 Pro Guides, News, & Discussion] wievi:
So does it mean that your magisk 16.0 installed from within the magisk manager 5.6.3? As of mine, i followed the installation step and it seems i get my magisk 16.0 installed when running the fastboot flash from post #1

UPDATE:

Thanks for the reply from everyone in this thread. Finally i managed to get safetynet check all green by downloading the magisk 16.0 then flashed it from TWRP. Looks good so far
[Huawei P20 Pro Guides, News, & Discussion] Paz9:
did you guys install magisk via TWRP?

if i wanted to patch the boot.img where can i find it? (is it ERECOVERY_RAMDISK) ?
[Huawei P20 Pro Guides, News, & Discussion] chrisrk45:
I have CLT-L04

and i cant find any info about it!!! is the same as 09 or 29 ?
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
I read your PM, but havent got chance to reply.

It's RAMDISK

And you can install magisk through TWRP as well. Use stable 16.0 or 16.3,

16.4 still very buggy
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
Hardware wise, its the same. But i think its carrier locked model.
[Huawei P20 Pro Guides, News, & Discussion] nrd\:
is root lost when you factory reset?
[Huawei P20 Pro Guides, News, & Discussion] pol hallen:
hello, with root can I receive again huawei updates?

thanks
[Huawei P20 Pro Guides, News, & Discussion] aoryx:
I installed Google sans package from magisik, and it broke the phone.

Rebooted into safeboot, flashed untouched ramdisk, was able to boot.

Uninstalled magisik, deleted it's folder

Tried to flash the patched kernel again, but the device doesn't boot using the patched image, so I think I wasn't able to completely remove the font package that broke the phone (adb showed the font files were in a read only /system). So now I'm back to untouched image

Any suggestions to regain root without whole system recovery?

My fw is latest 107

Manufacturer recovery

Magisik 5,4/16.0

Thanks.
[Huawei P20 Pro Guides, News, & Discussion] krs360:
Any chance you can elaborate on this bit? I have the full OTA from Firmware Finder, have looked through all the zipa and can't find ramdisk.img.

Thanks.
[Huawei P20 Pro Guides, News, & Discussion] danifilth4king:
You have to extract the UPDATE.APP (found inside update.zip) using Huawei Update Extractor to get the ramdisk.img
[Huawei P20 Pro Guides, News, & Discussion] krs360:
Thanks mate. Can you share your profile for the P20 Pro for the extractor tool?

Cheers.
[Huawei P20 Pro Guides, News, & Discussion] danifilth4king:
https://xdaforums.com/showthread.php?t=2433454

There is a profile for unspecified device or something like that
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
actually now rooting is easier, since TWRP available.

i no longer manually extract and patch the ramdisk. but simply flash magisk.zip through TWRP

currently rooted on .120 with that method
[Huawei P20 Pro Guides, News, & Discussion] Puppymaster:
I Tried this method on my clt 09 songle sim and this do not work for me. Bootloader is really unlocked.
[Huawei P20 Pro Guides, News, & Discussion] colthekid:
Just the standard Magisk.zip from here... https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 or a different one?
[Huawei P20 Pro Guides, News, & Discussion] danifilth4king:
Yes this one
[Huawei P20 Pro Guides, News, & Discussion] colthekid:
Excellent, saves messing about with adb and flashing patched boot images, when you can just install the standard one through TWRP!
[Huawei P20 Pro Guides, News, & Discussion] abrahamjones:
I patched the boot.img and I am having the following error while starting Magisk Manager app (It won't start).
[Huawei P20 Pro Guides, News, & Discussion] popoxee:
Is it only for 8.1.0.106 ROM version for CLT-L29?

I have A00. Would it work?
[Huawei P20 Pro Guides, News, & Discussion] sleepybear0815:
So, after my device reboots...magisk no longer works...manager doesn't start anymore and root seems to be gone...any way to fix this?
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
which magisk manager version you use to patch ? and which magisk manager version did you install ?
[Huawei P20 Pro Guides, News, & Discussion] otonieru:
what you did prior to reboot ? and which magisk version do you currently use ?
[Huawei P20 Pro Guides, News, & Discussion] sleepybear0815:
I didn't do much actually, did a factory reset and installed the 128 firmware > Magisk > Updated Magisk manager > and rebooted. I also tried installing Magisk from the manager but it still goes away after a reboot. v16 is the version. (tried to disable hide magisk too)

L.E: I managed to get Magisk to keep working and root to remain.

1. Wiped everything. Reinstalled firmware and Magisk.

2. I set the update channel to beta current ver 16.4 which seems to work and doesn't go away.

Root and Magisk remains after reboot, passes Safetynet
[Huawei P20 Pro Guides, News, & Discussion] abrahamjones:
I used 5.7 for both
[Huawei P20 Pro Guides, News, & Discussion] abrahamjones:
Installed Magisk Manager 5.5.4 and (5.7) patched boot works well, I am rooted.
[Huawei P20 Pro Guides, News, & Discussion] guybrush2099:
does this root method work on new firmware. 128?

Inviato dal mio CLT-L29 utilizzando Tapatalk
[Huawei P20 Pro Guides, News, & Discussion] frewys:
Been rooted on 128 for a week or so ??