yashsingh1/xdaforums huggingface dataset:
[Huawei Mate 20 Pro Guides, News, & Discussion] fromiOS2Android:
Some rooting questions....

Hi.

I will try to be brief and on topic. Feel free to remove post if not according to Xda forum rules.

Long story short. I am an heavy iOS user from the apple jailbreak scene. I am no developer (only user) and now I have taken the big step from IOS to Android.

Huawei mate 20 pro broke my curiosity. I have always "jailbroken" my iPhone since 2007 and now I am considering root of my HM20PRO.

I have some questions before I try this and brick my phone.

I have Norwegian model, LYA-L29 with 9.0.0.153 (c432) software. (BL unlock greyed out here as well)

How is the partitions setup on this device?

Easy explanation of RAM disk, main disk or whatever?

Do I always have the option to revert to stock setup no matter what? With simple erase/wipe/recover?

Is hisuite the recovery software to use if I want to go back?

Is it possible to unlock the boot loader and go back to 9.0.0.153??

Is the software builds so the highest number software has the latest fixes? (108,122,153,168,171 +++)

Do i loose the safety net like google pay, and other apps that can see that my phone is rooted?

Is there an app to run to trick the apps into believing that the phone is not rooted? (like on iOS)

Hope that someone can take the time to help me with my questions.

The boot via ramdisk/fastboot or what you call it to get rooted is only nesecary on each boot up right? You stay rooted until the next shutdown?

(Semi.tethered on iOS) :)

sorry for the noob questions, but I am new with this so thanks...

Regards,

Kenneth - Trondheim, Norway

PS:I have to say the switch from iOS to android and Huawei mate 20 pro have been great so far (except new replacement phone on the first day with green screen on BOE screen.) Now all is good.

Main reasons to root android?

I like to have different custom gestures through out the software. And also tweaked apps and notification tweaks, icons.
[Huawei Mate 20 Pro Guides, News, & Discussion] charliebigpot:
Hi, first of all, welcome to Android :)

My advice is to NOT root until you got an answer to all your questions :)

I'll let some pros answer the technical questions on the partitions) but here's what I can tell you:

- Main reason to root for me is adblockers and (not a must though) custom roms.

- There is a function within magisk to hide root from apps.

- On the fixes, yes, 171 is the one that allows root and that's also the latest one with all the fixes.

- Once you root you stay rooted, you don't have to repeat the whole process at every boot.

- From what I read in several threads, right now you can't revert to older firmwares. Also, the 171 seems to be market specific, what I will do is to wait until the update gets rolled out in my market by Huawei, I read that the unlock bootloader option is then available officially.

- I would also like to know about google pay (does it brake with root?) and are there other functions that break (camera functions,etc) like it does on other phones (sony for instance)
[Huawei Mate 20 Pro Guides, News, & Discussion] Minotaur:
Using Magisk Hide on Google Pay will prevent it from detecting root, however if SafetyNet fails then it probably still won't work.

There are a few Magisk modules that can (apparently) force SafetyNet to pass, however I haven't ever used any of them.
[Huawei Mate 20 Pro Guides, News, & Discussion] jimibxl:
Put phone in charge then push vol + & - and power (release power when u feel the vibration

Envoyé de mon LYA-L29 en utilisant Tapatalk

---------- Post added at 08:07 AM ---------- Previous post was at 07:55 AM ----------

I use this recovery boot img.

Use fastboot

https://drive.google.com/file/d/1snkqdu-oYR800QHpu17fpQ3ItpyZ7EHT/view?usp=sharing

Envoyé de mon LYA-L29 en utilisant Tapatalk

---------- Post added at 08:24 AM ---------- Previous post was at 08:07 AM ----------

If any problem with erecovery, reflash twrp transfer à dload folder to SD card or otg then plug phone and push both Vol keys it will auto reset to o thanks to dload then start all bl and root procedure usiin fastboot

Envoyé de mon LYA-L29 en utilisant Tapatalk

---------- Post added at 08:34 AM ---------- Previous post was at 08:24 AM ----------

It is also important that you wipe internal storage so everything is erased. You need to start from fresh

Envoyé de mon LYA-L29 en utilisant Tapatalk

---------- Post added at 08:37 AM ---------- Previous post was at 08:34 AM ----------

If any problem with erecovery, reflash twrp transfer à dload folder (with the files off course)

Envoyé de mon LYA-L29 en utilisant Tapatalk
[Huawei Mate 20 Pro Guides, News, & Discussion] deepsrd:
Hi,

Can I ask a favour?

Anyone who has rooted stock rom and running it successfully, can you please grab the following file for me?

/sys/fs/selinux/policy

You need to have su privileges

Thanks a lot in advance..
[Huawei Mate 20 Pro Guides, News, & Discussion] mdrda:
I was having issues with bootloop. My final solution is TWRP P20Pro (charlotte) recovery image patched using Magisk 18.1 stable. No bootloop so far. Magisk 18.1 is good enough for LYA rooting.

If somebody is on Magisk canary (19.x) either uninstall it (if you can go out of bootloop to the rooted system up and running) e.g. via Magisk uninstall script or device recovery will do the trick. I tested HiSuite recovery with HSTool, worked fine and data were perserved - note that BL will be locked after this recovery method (new unlock will obviously cause factory reset - full wipe except external storage card).
[Huawei Mate 20 Pro Guides, News, & Discussion] ilos:
I was on v19.0 and got too many bootloop. I've done exactly what you said and everything work perfect.

Patched twrp Charlotte with magisk app and 18.1 version, uninstalled v19.0, rebooted in fastboot mod and flashed patched img. Clean root now :)

Can't attach patched img with Tapatalk so here a Google drive link of twrp P20pro Charlotte patched with Magisk 18.1 stable

https://drive.google.com/file/d/1VHMRqvfZ1eA05eA4VtcfC32Q1crFBUTQ/view?usp=drivesdk
[Huawei Mate 20 Pro Guides, News, & Discussion] JazonX:
* Does the same instructions apply to P30 Pro? (Tried the same, But it goes to a bootloop)

* Can I receive OTA while being rooted from the above method?
[Huawei Mate 20 Pro Guides, News, & Discussion] ilos:
I had already the same thing with a module (viper) and the only way was to flash twrp (not charlotte one), boot into twrp, wipe or format (if you want) data, cache and dalvik cache, and reboot to set the phone like a fresh install. After that I've just flashed a patched img.
[Huawei Mate 20 Pro Guides, News, & Discussion] YTayyar:
Deleted
[Huawei Mate 20 Pro Guides, News, & Discussion] auipga:
Magisk v18.1 on LYA-L29 build 9.0.0.210

patched_boot.img https://drive.google.com/open?id=1WQintXQlPgjKEnsf7zdtTTLQtlg8xnHd

RECOVERY_RAMDIS.img https://drive.google.com/open?id=1z4wjIbZiQEkY0ADOSnWUZVkhCYTNOExB
[Huawei Mate 20 Pro Guides, News, & Discussion] User422:
I have the exact same device region code and am on the same firmware version.

The patched_boot.img didn't work for me though.

Just one question though.

What is that link after the "latest magisk version"?

The "(com.iZWsWioJb71GeMuA)"?

It doesn't show that link in my magisk manager.
[Huawei Mate 20 Pro Guides, News, & Discussion] flyl0:
No more bootloops with the latest magisk update, just install it directly from the manager reboot and enjoy booting your device like normal with root access ?
[Huawei Mate 20 Pro Guides, News, & Discussion] flyl0:
https://xdaforums.com/mate-20-pro/development/08-01-romaur-v1-0-fast-stable-t3887498 i have installed this awesome custom stock rom on my m20pro running on 9.0.0.228, give it a try if you are lucky enough to have root access on your m20pro

S/o to [MENTION=2112104]auras76[/MENTION], we definitely need more members like him!

Here's the RomAur v 1.4 https://drive.google.com/file/d/1kbb...ew?usp=sharing
[Huawei Mate 20 Pro Guides, News, & Discussion] User422:
Patching that one didn't work either. Just sent me back to the bootloader screen again.
[Huawei Mate 20 Pro Guides, News, & Discussion] flyl0:
How did you flashed it ?

With Twrp or fastboot or in Magisk directly like I said
[Huawei Mate 20 Pro Guides, News, & Discussion] aygul12345:
How to restore or going back to factory reset and bootloader unlocked?

Verstuurd vanaf mijn LYA-L29 met Tapatalk
[Huawei Mate 20 Pro Guides, News, & Discussion] auipga:
Sorry to hear that. Did the one from the first post work for you?

Magisk -> Settings -> tick "Magisk Hide" -> will then use a randomized package name
[Huawei Mate 20 Pro Guides, News, & Discussion] JFenlon:
It still bootloops for me updating this way. Are you on the custom update channel (https://bit.ly/2N8UVlq) or something else?
[Huawei Mate 20 Pro Guides, News, & Discussion] ilos:
Like you I've tried to update directly with magisk manager canary (coming from patched twrp Charlotte with 18.1 magisk version) but got bootloop. So I've patched an original ramdisk with magisk manager and v19.1 canary version and flashed with fastboot. Now phone boot (a bit longer..) and no more bootloops (just one when I've removed a module).
[Huawei Mate 20 Pro Guides, News, & Discussion] flyl0:
I'm on the Canary build 19003, previously I was on 19001
[Huawei Mate 20 Pro Guides, News, & Discussion] JFenlon:
I still can't get it to boot.

Installed the latest Magisk Canary APK, set channel to Canary, patched 'RECOVERY_RAMDIS.img' with Magisk, flashed 'magisk_patched.img' with adb and all I get is back to the bootloader, after a couple of mins attempting to load.

Have I missed something?
[Huawei Mate 20 Pro Guides, News, & Discussion] ilos:
It's what I've done and it boot (longer than 18.1 but it boot..) . Do you have any modules installed? Did you press volume up after reboot from fastboot?
[Huawei Mate 20 Pro Guides, News, & Discussion] JFenlon:
I did have some modules installed, but now I can't get the phone to boot while rooted so not even sure how I'd uninstall them.
[Huawei Mate 20 Pro Guides, News, & Discussion] ilos:
try to flash again stable patched img (18.1). Also you can use the canary patched by me . i attach both

Stable recovery img magisk V18.1 (patched twrp Charlotte from P20 Pro )

https://drive.google.com/file/d/1ASb5h0PcQKZPmz5DR7Np4oopOxWYTgGW/view?usp=sharing

Canary recovery img Magisk V19

https://drive.google.com/open?id=1j__y_krHL0E8iC3HIAnatDFOlpZiX6of

Stock recovery img without any patch ( in case you really stuck on bootloop)

https://drive.google.com/open?id=1mbWMPDDm9APv_eqtBwTD9IMFY6cRuoyj

Don't install Viper module coz you will have bootloop issue with it
[Huawei Mate 20 Pro Guides, News, & Discussion] JFenlon:
Still no joy. I think it's likely the installed modules causing the issue. Do you know of a way to uninstall the modules without root? Do I need to install TWRP?
[Huawei Mate 20 Pro Guides, News, & Discussion] ilos:
I'm not sure but if I remember, I flashed stock recovery and uninstall magisk with magisk manager... I'm really not sure.. You can try by flashing the stock img, let phone boot and go to magisk manager and uninstall. With stock img you will boot, it doesn't matter if a module is the coz of your bootloop. Latest chance will be to flash twrp, wipe data, cache, dalvik, and start on fresh install...
[Huawei Mate 20 Pro Guides, News, & Discussion] jfenlon01:
I don't see an option to uninstall. The times I do get it to boot (still with holding volume up while powering on) it shows as Magisk not installed. I have successfully had root, I have installed modules (the props one, another that I don't recall, certainly not v4a), but now I can't seem to get root at all, even flashing files that I still had on my computer that worked previously. I don't understand why. My only thought it that one of the modules is perhaps causing the issue. I guess I should have uninstalled them before trying to update Magisk, but I don't know how to do it now.

I already tried TWRP and it just hangs on the splash screen too.
[Huawei Mate 20 Pro Guides, News, & Discussion] ilos:
Try to set to stable channel and install from magisk manager
[Huawei Mate 20 Pro Guides, News, & Discussion] JFenlon:
Weirdly I can't even get the phone to boot into the bootloader now. It just boots as though I booted to recovery, although still no root when it does boot. So don't see how I can try another patched recovery or TWRP.

If I back everything up and then use eRecovery, will that help?

[edit] nm, bootloader working again after a reboot.
[Huawei Mate 20 Pro Guides, News, & Discussion] User422:
How do you flash a file in magisk itself?

I can only download magisk.zip or patch a boot.img

---------- Post added at 11:25 PM ---------- Previous post was at 11:24 PM ----------

The method in the very first post by the OP has worked once.

I have later lost magisk and haven't been able to get it to work sibce then.
[Huawei Mate 20 Pro Guides, News, & Discussion] jfenlon01:
I think I have the same experience as you. I had root but no matter what I try now, I can't get it to boot with root.

Please post if you find a solution that works.
[Huawei Mate 20 Pro Guides, News, & Discussion] flyl0:
It may sounds dumb but do you have the latest version of Magisk Manager ?
[Huawei Mate 20 Pro Guides, News, & Discussion] User422:
In my case, yes.
[Huawei Mate 20 Pro Guides, News, & Discussion] JFenlon:
I rolled back firmware with eRecovery yesterday, didn't help. Today I've installed TWRP, wiped and removed encryption. I then tried to use the Magisk Module removal zip (because I think Magisk Modules are the likely cause of me not being able to boot with the device rooted anymore) but that resulted in an error.

I've just restored a backup in HiSuite, and then rooted again and it worked. A lot of messing around, but hope it helps you.
[Huawei Mate 20 Pro Guides, News, & Discussion] Oreology:
do you have a video tutorial? or does somebody else have a video? im afraid i might do something bad with my Mate 20 Pro. im kinda slow with these things and totally noob with rooting. also is this compatible for me?

phone model/version is:

LYA-L29

9.0.0.232(C636E10R2P1)

it's OEM Unlocked so i dont have the unlock codes.
[Huawei Mate 20 Pro Guides, News, & Discussion] pvillasuso:
Why do you need root ? to do what? with your phone ...
[Huawei Mate 20 Pro Guides, News, & Discussion] aureliomilitao:
C:\adb>fastboot oem relock .......

...

FAILED (remote: root type is risk)

finished. total time: 0.009s
[Huawei Mate 20 Pro Guides, News, & Discussion] Minotaur:
Anyone who's rooted received the 9.1 update yet? Does reflashing our patched recovery image via fastboot still work?
[Huawei Mate 20 Pro Guides, News, & Discussion] ilos:
9.1 still in beta in china....
[Huawei Mate 20 Pro Guides, News, & Discussion] fromiOS2Android:
Seems like more that beta this? Look at The system update thread...

I am so looking forward to this update???*♂️☀️
[Huawei Mate 20 Pro Guides, News, & Discussion] ilos:
I will wait for more feedback, I don't made searches but he's the only one reporting this for the moment ?
[Huawei Mate 20 Pro Guides, News, & Discussion] ilos:
You need unlock code, and it's no more available (for the moment...), so no.
[Huawei Mate 20 Pro Guides, News, & Discussion] Guagno_:
Hi!

I've just updated to the last firmware .258.

I don't know why but when I try to patch the .258 recovery_ramdisk with Magisk, in order to get the root, and then flash back the patched_boot, it boot correctly but it says magisk it's not installed :(

anyone?

thanks!
[Huawei Mate 20 Pro Guides, News, & Discussion] szilveszter21:
BL

Hi Guys,

Serious no one selling bootloader unlock codes, not a single site giving out for free or for any money. Can someone PM me if there are any hidden place or anyplace, now it seems their SW prepared for brute force as well. So if anyone can help me how to obtain my code it would be welcomed. Last time I coud see march 29 FH and other sites sold them for only one day.... So strange....

Apart from this any root option which does not need a huge money to the "Piratehuawei/funkyhuawei" that would be welcomed, if the current trend continues no more BL no more custom rom flashing...

Just an idea, can anyone replicate the BL on a virtual environment to see what is in the memory? by any chance make it compatible for some reverse engineering?

If no one will sell BL code this thread will be RIP :(
[Huawei Mate 20 Pro Guides, News, & Discussion] dimon222:
https://xdaforums.com/mate-20-pro/how-to/huawei-bootloader-root-t3919494/post79296679
[Huawei Mate 20 Pro Guides, News, & Discussion] User422:
Hey,

I have taken a break since around the time this was posted.

I might try to root my phone again sometime soon when I find the time, patience and nerves to do so.

I can report back on how it went but if anyone has tips on how I should approach this, I'm open to suggestions.
[Huawei Mate 20 Pro Guides, News, & Discussion] Oreology:
i need root for a certain app (GameGuardian) that requires SU Priveleges.
[Huawei Mate 20 Pro Guides, News, & Discussion] M1LL3R:
I am glad you don't have root. Using hacks to be a good gamer its just idiot.
[Huawei Mate 20 Pro Guides, News, & Discussion] Oreology:
i only use hacks after finishing the game or when im bored. mostly i use it for offline games so i dont ruin other people's gaming experience. and for me it makes the game mo fun.
[Huawei Mate 20 Pro Guides, News, & Discussion] szilveszter21:
well

Well I am not sure does it make sense , reasoning anything about why you want to be root on your device, it can be cheating or anything not matter but as the hardware owner in this case you should be able to install whatever operation system you are able to port or want to use. But it seems for Huawei you have no option to give up their OS fully or partially, they protect the second level (flashing erease-able rom).

I am not saying he should root his phone, because just for a hack there is too much effort especially if they get in trouble with later updates or apps which identify if something out of sandbox, then extra search security exploit etc it just not worth the effort... Cheating can be done with customized app, as long as you can install any apk file...

Well sure there are plently possibilities with IAP and fake servers but newer apps will recognize bypasses and eventually you will end up banned from the game.... So never ruin your account with cheating start a game with the consideration you want to cheat or not... Personally I would fire all developers who use energy and wait timers which could be reduced with credit card.... And they are always well prepared for cheaters as well :D. So if no one would download and play those time framed apps, they would never publish anything like this, but still plently of people paying and keep their pockets filled, this is disgusting but thats it. Currently people need max number of CPU for max number of dumbness playin puzzle and waiting for timer go... The worst invention.... Where your target is just somehow make ur time passed to be able to build something...

And for all do we have any update about Huawei Fastboot OEM codes? Silence for lest 30 days... Do you think ever will be an option to get it? I usually now checking daily no luck....
[Huawei Mate 20 Pro Guides, News, & Discussion] Lmane:
I'm confused, any help welcome

If the oem unlock is enabled do I need an unlock code it can I omit the code when following directions for adb unlock?
[Huawei Mate 20 Pro Guides, News, & Discussion] DN38416:
Yes, you still need the code.

The only way you can unlock the bootloader is in fastboot with the command: fastboot oem unlock (code)

It's in the OP of this thread.
[Huawei Mate 20 Pro Guides, News, & Discussion] DN38416:
Hi mate... Just heard bootloader codes are available again. My friend still needs a code. Do you still provide this service?
[Huawei Mate 20 Pro Guides, News, & Discussion] Shipoftheline:
Is OEM unlocked the same as unlocking bootloader?
[Huawei Mate 20 Pro Guides, News, & Discussion] ang.sebi:
you need to activate "OEM unlock" in developer settings

reboot your phone to fastboot

plug it to your computer with installed fastboot and drivers

and enter in an admin console

"fastboot oem unlock (code)"
[Huawei Mate 20 Pro Guides, News, & Discussion] DN38416:
So cheapest I've found so far is $50 unfortunately.

From global unlocking solutions. crys18 can no longer get them for $6

Anyone found any cheaper options?
[Huawei Mate 20 Pro Guides, News, & Discussion] facet_:
Imei.by 41usd

Wysłane z mojego EVR-AL00 przy użyciu Tapatalka
[Huawei Mate 20 Pro Guides, News, & Discussion] xeCloud:
Downside of rooting?

If I root my mate 20 pro. Will I have any Downside like Samsung if rooted will trip knox and Samsung pay or secure folder won't be able to function. I'm use private space a lot. May I know after root will it still work?
[Huawei Mate 20 Pro Guides, News, & Discussion] wancyber:
well if you use magisk, then it should be fine as you can use MagiskHide to hide root access from certain app like SamsungPay or banking apps but still have root access to other stuff. :)
[Huawei Mate 20 Pro Guides, News, & Discussion] darkshadw:
Does anyone know where I can buy a bootloader unlock code for the LYA-L29?
[Huawei Mate 20 Pro Guides, News, & Discussion] richard_li:
Funkyhuawei may still provide unlock code... you can try... I bought several months ago
[Huawei Mate 20 Pro Guides, News, & Discussion] Minotaur:
Is RECOVERY_RAMDISK.img still the same between 9.0 and 9.1 EMUI versions?
[Huawei Mate 20 Pro Guides, News, & Discussion] bugggsbunyyy:
No, you may end up in bootloop
[Huawei Mate 20 Pro Guides, News, & Discussion] Felixhutomo:
HELPP

Hi all,

I really need your guys help here

I have lya-l09 mate 20 pro

On optus australia

So few months ago i flash update my firmware to 187

Since then whenever i check software update on setting it always says that im up to date

I went on and check in optus website

And they did update it since last 2 month and now they're on 2xx

I tried to fully format the phone

But still stuck on 187 now

Pls help
[Huawei Mate 20 Pro Guides, News, & Discussion] oslo83:
Solved by force flashing B212 via hisuite. B212 C69 being approved, it is now back on normal track and then grabs latest B273 Optus OTA.
[Huawei Mate 20 Pro Guides, News, & Discussion] protuger:
How did you force flash B212? Can you point me to where I can download B212 C69, got excited reason not to search ?

Looking forward to try this for ages.
[Huawei Mate 20 Pro Guides, News, & Discussion] oslo83:
Method= https://xdaforums.com/showpost.php?do=showpost&p=78850439

LYA B212 base OVS= http://update.dbankcdn.com/TDS/data/files/p3/s15/G3469/g1750/v234906/f1/full/update_full_base.zip

Me doing it remotly for a paypal donation: https://telegram.me/oslo83

I guess your cust and preload are stil C69 ?

Are you sure LYA-L29/L09 9.0.0.212 C69 build exists and that this build is getting C69 OTAs ?
[Huawei Mate 20 Pro Guides, News, & Discussion] dzeusking:
did you found something ? something safe of course where we can get unlock code?
[Huawei Mate 20 Pro Guides, News, & Discussion] protuger:
I'm on C34. I thought you've used that firmware to bring back OTA's for Optus.
[Huawei Mate 20 Pro Guides, News, & Discussion] oslo83:
I did.

If you are still with C34's cust and preload, that's not needed: flashing a correct optus build base number will be enough to get you back on Optus OTA's track.
[Huawei Mate 20 Pro Guides, News, & Discussion] protuger:
Thanks for confirming that. I tried the DNS method you recommended but it keeps "Checking for Update...." for almost the entire night, I did not have patience and just cancelled the whole thing. I reckon I can't used any method besides dload. If someone has dload of correct Optus build I am happy to try it.

I have a bootloader code but I haven't used it, this would be my last resort flashing any firmware is possible but will I get Optus OTA's if my bootloader is unlocked?
[Huawei Mate 20 Pro Guides, News, & Discussion] oslo83:
Yes, if your base build number is actually 'approved' on Optus list.