yashsingh1/xdaforums huggingface dataset:
[Huawei P20 Lite Guides, News, & Discussion] vladimird70:
root 9.0

Did somobody managed to root 9.0.

when I try to flash pathched ramdisk i get this error

PS E:\apk\p20lite\root4> fastboot flash ramdisk .\magisk_patched.img

target reported max download size of 471859200 bytes

sending 'ramdisk' (8484 KB)...

OKAY [ 0.218s]

writing 'ramdisk'...

FAILED (remote: partition length get error)

finished. total time: 0.232s

Could it be that they changed bootloader?

How I get het new radisk to get it patched with magisk.

P.S bootloader is unlocked and i had root before on 8.1 bit after upodate i can't get it anymore
[Huawei P20 Lite Guides, News, & Discussion] pmatj:
try

fastboot flash recovery_ramdisk [patched img]

That worked fine for me

EDIT:

after that, always boot to recovery to load Magisk

adb reboot recovery or use VolUP+POW
[Huawei P20 Lite Guides, News, & Discussion] (dylanger):
Thank you for posting this, it actually worked.

I got a little trigger happy and hit "Unlock Bootloader" instead of "Read Bootloader Code", result is the same I just can't re-lock and unlock again, but I'm happy

:good:
[Huawei P20 Lite Guides, News, & Discussion] SkyMasterARC:
Platform tools command doesnt work?

Ok so when i copy and paste the platform tools command i get "the syntax of the command is incorrect". when i type in any command involving "adb" it says "command not recognized." why is this?
[Huawei P20 Lite Guides, News, & Discussion] ninnolo:
Hi brugernavn

I unlocked bootloader, now I have to root and save my oeminfo for future reference.

the ramdisk patched_boot.img you gave link is good for all version? I mean: I have a C55 8.0.0.120 I can use your file or I have to search for a ramdisk_patched for C55? doesn't change the oeminfo to 432?

thank you for answer
[Huawei P20 Lite Guides, News, & Discussion] Zep0th:
Is this still working?
[Huawei P20 Lite Guides, News, & Discussion] ita3bc:
works?

I would just like to know if, to date, this guide works well for the ANE-LX1. I ask because in the DC-Unlocker site they say that the P20 Lite is not yet supported. So where is the truth?

Thanks for all the help you can give me
[Huawei P20 Lite Guides, News, & Discussion] ninnolo:
Hi, I followed this guide and despite DC-Unlocker says, I got the bootloader unlock code with HCU program.

I used HCU only to unlock bootloader and then rooted phone with adb command from command prompt.

I used 120 and it worked.
[Huawei P20 Lite Guides, News, & Discussion] LangeFrans:
Did you use ane-lx1 or a different one? I used ane-lx2 8.0.0.145 and the program still can't detect my device. Am I doing something wrong or what?
[Huawei P20 Lite Guides, News, & Discussion] ninnolo:
ANE-LX1 C55 8.0.0.120. Maybe LX2 is not detected. Did you try with dc-unlocker or hcu? if you tried with one of them try the other
[Huawei P20 Lite Guides, News, & Discussion] LangeFrans:
I've tried with both and still no luck. :(
[Huawei P20 Lite Guides, News, & Discussion] PSYCHO27:
Is it possible to use this method on my Huawei p20 lite ANE-LX2? because you used ANE-LX3 and I'm just asking if it is applyable Huawei P20 lite ANE-LX2. Thanks in advance..
[Huawei P20 Lite Guides, News, & Discussion] millerntorxda:
Any chance to downgrade from 9.1.0?

Hey,

my ANE-LX1 is at build 9.1.0.147(C432), bootloader still locked.

I think, the only way to get bootloader unlocked would be to downgrade to 8-146. But the dload-method discribed here does not work (any more?)

Does somebody knows a way to get magisk/root/unlock from a phone with 9.1?

Regards,

mtx
[Huawei P20 Lite Guides, News, & Discussion] LangeFrans:
The dload method does work, I used hisuite to downgrade from 9.1 to 8.5 then used the dload method to downgrade further to 8.146. You can't go form 9.1 to 8.146, so first use hisuite then try the dload method.
[Huawei P20 Lite Guides, News, & Discussion] millerntorxda:
Did you use hisuite with dns-tweak and firmware finder or just the stock hisuite?

Regards
[Huawei P20 Lite Guides, News, & Discussion] Realizeyes:
HiSuite doesn't allow you to downgrade from 147 to Android 8 in my case. I saw that dns trick but I could not set the dns properly. Whenever I change the dns my internet goes off.
[Huawei P20 Lite Guides, News, & Discussion] millerntorxda:
From 9.1 to 8.0

After some more trying around I found a way that worked for me:

I started with a clean hisuite installation as Administrator: I installed from the phone a let it do it's online update (ended with version 9.1.0.305_OVE). I had to do this, because I messed up my user account with trying dns tricks :(

After this I flashed Huawei P20 Lite ANE-LX1 ANE-L01 ANE-L21 hw eu HLRCF Anne-L21 9.1.0.200(C432E6R1P7T8) Firmware 9.0.0 r3 EMUI9.1.0 05014YXX from androidhost.ru using the dload method.

Now I connect the phone to the fresh hisuite and had the choice to switch to a previous version.

I did and got an 8.0 firmware. Now I could downgrade again with dload to 8.146 and unlock the bootloader as described in post #1.

Maybe this helps somebody.

Regards,

mtx
[Huawei P20 Lite Guides, News, & Discussion] FC00:
Hello guys

I have a 9.1.0.208 firmware (C55E6R1P6).

I have to switch to fw 9.0.0 to switch to fw 8.0.0 with Hisuite.

Where can I find a fw 9.0.0 (C55)? I can not find it!!!
[Huawei P20 Lite Guides, News, & Discussion] Deli_S:
Does this method still work? I followed the link, but p20 lite doesn't appear in the supported models.
[Huawei P20 Lite Guides, News, & Discussion] gamingtheohd:
i have wanted to do this but is says that the package is not compatibile but it's for an ane-lx1
[Huawei P20 Lite Guides, News, & Discussion] piffike:
Guys is it possible to downgrade to emui 8 then unlock bootloader after go back to emui 9.1?
[Huawei P20 Lite Guides, News, & Discussion] Arnys:
Yes

Use hisuite on PC to go back emui 8

Then find dload package for your model, if exist, there are models without dload package, for like emui 8 b121 or b149 ,

B151 will not work, so need older package.

Then you need to pay 5 euros for DC unlocked, that's legit, and got unlock code .
[Huawei P20 Lite Guides, News, & Discussion] piffike:
ye i know that what u wrote, my main question is that possible to go back to emui 9.1 with unlocked bootloader
[Huawei P20 Lite Guides, News, & Discussion] Arnys:
if you get unlock code, then no matter what emui version you siting with, if you know how properly need to unlock bootloader, you can unlock it even with emui 10, and personaly for me, i upgradet phone from emui 8 to 9.1 and my bootloader still was unlocked after, so, i realy dont get your point to ask, if you can be with emui 9.1 and unlocked bootloader, becasue, there are more than 1000 person who alredy are!
[Huawei P20 Lite Guides, News, & Discussion] piffike:
okay, thank you for answer, point of my question was that is it possible, but as u said its possible
[Huawei P20 Lite Guides, News, & Discussion] Nomadsk1:
Ive got a P20 Lite locked into retail demo mode - build number ANE-LX1 8.0.0 103D (C652).

If I manage to decipher the instructions (!) will this work as I won't be able to downgrade presumably?
[Huawei P20 Lite Guides, News, & Discussion] lazobaa:
Hi, can anybody confirm if this still works? The post is quite old but I guess it should still be working properly?
[Huawei P20 Lite Guides, News, & Discussion] iONLYreckless:
Can confirm still working I just finished rooting using this method... except the ramdisk doesn't work so i updated back to emui 9 and used a different file i will supply if you need DM
[Huawei P20 Lite Guides, News, & Discussion] lazobaa:
that would be great if you could
[Huawei P20 Lite Guides, News, & Discussion] iONLYreckless:
So, I guess I am still too new to post files... I put it on zippyshare for whoever needs it.

- Includes.

-ADB & Fastboot + dll files | Magisk Manager | recovery_ramsdisk |** I included an already patched magisk which is the ramdisk**

-go into fastboot and run | fastboot flash recovery_ramdisk *insert patched_magisk.img*

https://www64.zippyshare.com/v/5VadSDA9/file.html

Best of luck! Let me know if you need any more help.
[Huawei P20 Lite Guides, News, & Discussion] duanedeee:
I tried doing the dload method but it goes software install failed. Tried doing a reset but still no luck. Any tips on what to do?

P20 Lite ANE-LX2J C636
[Huawei P20 Lite Guides, News, & Discussion] duanedeee:
Hello! Ive been able to root with the lastest magisk but it seems one of my apps (pokemon go) seems to be able to detect that i have magisk even though i use magiskhide already. It happens both to emui 9 then i decided to downgrade to emui 8 but its still happening. How do i use a lower version of magisk?
[Huawei P20 Lite Guides, News, & Discussion] iONLYreckless:
Your using the proper firmware for your device?
[Huawei P20 Lite Guides, News, & Discussion] sayaranu:
hello can i ask something?

what if i want flash firmware from another type p20

i used p20 lite but ANE-LX3 and i want to flash ANE-LX2 or ANE-LX1 whch two of this type is global,but not mine bcause i live in Indonesia so i cant use 4G here

are its possible?

thank for ur answer
[Huawei P20 Lite Guides, News, & Discussion] Wetram:
Unlock ? ? my bootloader

Please an some one help me out, my phone is huawei p20 lite ANE-LX1 please help me I want to unlock the bootloader and root my phone please help out.
[Huawei P20 Lite Guides, News, & Discussion] -Alf-:
Which build number do you run? (ANE-LX3C???)
[Huawei P20 Lite Guides, News, & Discussion] Wetram:
Unlock ? ? my bootloader

I made a mistake it was a ANE-LX1 c432e6r1p7
[Huawei P20 Lite Guides, News, & Discussion] -Alf-:
Okay, I have the same region.

Step by step: :)

1. Downgrade to EMUI 8.0 via HiSuite (update > older version (other version) > restore . Process will erase all your data! Try chinese HiSuite

https://consumer.huawei.com/cn/support/hisuite/

Note: If the rollback option is not available with your HiSuite ("switch to the older version", "Earlier version", it may hapen), you must downgrade to the lower (optimally first) Pie build version number doing the dload method (flashing Service ROM for your model and REGION (Cxxx)!

2. Now, with EMUI 8.0 on board, you have to downgrade to the lower version of build number, with google patch from 04.2018 or earlier.

Download Service ROM C432 8.0.0.126

https://androidhost.ru/5O5

Unpack downloaded zip archive on the PC, transfer dload file to SD card root directory without unpacking it!!!(instructions can be found in folder ReleaseDoc).

3. Turn off your phone and install Service ROM using three buttons kombo. The proces will erase all your data !

4. Set up your phone.

Running 8.0.0.126 you should be able to use DC-Unlocker (hcu-client) and get Bootloader unlock code .

5. Buy 4 credits from DC-Unlocker (4 Euro) (https://www.dc-unlocker.com/buy)

When you have 4 credits on your account, go and download

https://hcu-client.com/download/hcu-client-v1-0-0-0362/

Password: hcu

Extract the contents of the zip to a folder called HCU in the root of your C: drive. Follow instructions.

When you have the code, save it!
[Huawei P20 Lite Guides, News, & Discussion] Gastozz:
There is no Huawei P20 lite to choose. What should I do? :confused:
[Huawei P20 Lite Guides, News, & Discussion] -Alf-:
Simply select payment method, create new user account - user name + email address + 4 credits, confirm.

You may also use application

" DC Huawei Bootloader Codes" from Play Store and buy 4 credits on Play Store (depend on your mobile operator).
[Huawei P20 Lite Guides, News, & Discussion] Gastozz:
My model is ANE-LX1. It is not listed... :confused: What should I transfer to SD card?
[Huawei P20 Lite Guides, News, & Discussion] -Alf-:
dload folder, without opening it.

Btw, LX1 = L01 + L21 , don't stress :D
[Huawei P20 Lite Guides, News, & Discussion] smogglet:
Hi guys please can someone link me to the right firmware for my device i cant work out wich one one i need to download i know it needs to be 8.0.0 and have a certain security patch etc etc but soo many to choose from in the list i want to make sure i get right region for my device etc any way my device details are

Huawie p20 Lite

ANE-LX1

Build number: 9.1.0.274(C782E5R1P7)

If someone could link me the right 8.0.0 firmware for this device that would be great

cant wait to get to eventaully get this phone rooted sucks that huawie stopped providing the codes and we have to go through all this!!

THANKS!! :cowboy: :)
[Huawei P20 Lite Guides, News, & Discussion] anandu109:
I know i am late to see the post. but is this method possible now? i have a huawei p20 lite ane-lx1 but with latest security patch of march 2020 and the firmware being 9.1.xx

Whenever i try to pay at dc unlocker, it says payment rejected whatever method i use.if its not available anymore, there is no point in trying.
[Huawei P20 Lite Guides, News, & Discussion] kkaya:
can't you use the Huawei PC program to downgrade that. in the same place you can sometimes upgrade there manually you can find an option to downgrade to 8.0 if im not mistaken
[Huawei P20 Lite Guides, News, & Discussion] hamburgerjung95:
hello the download link for the pachted ram disks is not working. can you please fix it?
[Huawei P20 Lite Guides, News, & Discussion] -Alf-:
What version of Android are you running?
[Huawei P20 Lite Guides, News, & Discussion] fedex_742:
is this method still working in 2020?

i have a huawei p20 lite ANE-Lx3

(andriod 10 patch april2020)

Thank you

(EDIT)
[Huawei P20 Lite Guides, News, & Discussion] wolfganp:
Android 10 on ANE-LX3? I"ve never received that update and Huawei never confirmed it for the p20 lite... Did you receive it OTA officially?
[Huawei P20 Lite Guides, News, & Discussion] fedex_742:
my mistake

android 9*
[Huawei P20 Lite Guides, News, & Discussion] Basecatcherz:
I've got an 64GB LX1 with newest updates here here.

I copied the dload folder from your given link but it only says that its incompatible. How to find a compatible one?
[Huawei P20 Lite Guides, News, & Discussion] -Alf-:
What is your version number (Settings > System > About Phone) ?
[Huawei P20 Lite Guides, News, & Discussion] Basecatcherz:
It's this:
[Huawei P20 Lite Guides, News, & Discussion] -Alf-:
Okay, you can follow this instructions:

https://xdaforums.com/showpost.php?p=82110031&postcount=90

P.S.:If the rollback option is not available with your HiSuite ("switch to the older version", "Earlier version",* it may hapen), you must downgrade to the lower (optimally first) Pie build version number doing the dload method (flashing Service ROM for your model and REGION (Cxxx)! This process will erase all your data! Service ROM can be found on androidhost.ru . Type ANE- .
[Huawei P20 Lite Guides, News, & Discussion] Basecatcherz:
Worked perfectly with the linked chinese hisuite. Thx :)
[Huawei P20 Lite Guides, News, & Discussion] SpecialAgentMSI:
I'll do anything to unlock my bootloader... It's keeps says update failed
[Huawei P20 Lite Guides, News, & Discussion] -Alf-:
it is difficult for anyone to help you without relevant information - your build number, EMUI version etc.
[Huawei P20 Lite Guides, News, & Discussion] Offsprin:
I'm having a problem with DC-Unlocker. The version included in post #90 crashes on me, complaining about being unable to read the IEMI, so if I try to use the latest version, it only shows this info:

DC - Unlocker 2 Client 1.00.1431

Detecting phone :

selection :

manufacturer - Huawei phones

model - Auto detect (recommended)

Found Applications port COM11

I'm not able to find any other data about the phone. I'm currently running ANE-LX1 8.0.0.126(C432). The concerning thing is that the Android security patch still says it's 5 April 2019, even though the version of Android is 8.0.0. Did I do something wrong?
[Huawei P20 Lite Guides, News, & Discussion] -Alf-:
Try hcu-client.com (see my post #90) .
[Huawei P20 Lite Guides, News, & Discussion] Offsprin:
I did, and when I did that it threw an error about being unable to read the IEMI from the DLL. Screenshot attached.

OK, that problem was due to the fact that I didn't have the proper VC++ redist installed. Once that got installed, the app launches but now I've got this wonderful error message:

Firmware ver.: System 8.0.0.046(0UN0)

Dataver: ANE-LX1 8.0.0.126(C432)_DATA_ANE-L21_hw_eu

FASTBOOT:Chipset-dallas8.0.0.001(05H5)_FASTBOOT

BOOT:System 8.0.0.046(0UN0)_BOOT

RECOVERY:(unknow)

SYSTEM:System 8.0.0.046(0UN0)

MAINVER:System 8.0.0.046(0UN0)

DATAVER:ANE-LX1 8.0.0.126(C432)_DATA_ANE-L21_hw_eu

APTIME:Wed Mar 27 10:30:43 CST 2019

Current security patch not supported!

I don't understand how the security patch is from 2019 when I've installed the 2018 build.
[Huawei P20 Lite Guides, News, & Discussion] -Alf-:
Have you set "manufacture mode" in the Project menu?

---------- Post added at 18:08 ---------- Previous post was at 18:02 ----------

You are doing something wrong. Flash Service ROM 8.0.0.126 again. Follow instructions. (can be found in file ReleaseDoc).
[Huawei P20 Lite Guides, News, & Discussion] Offsprin:
Yeah, OK. I'll try it again. Before I do, should I be including the update_sd.zip? The ReleaseDoc, which is not that clear, seemed to only say that's required only when things don't match (eu, aw or whatever) but mine does, so I'm not totally clear on what the actual steps should be.
[Huawei P20 Lite Guides, News, & Discussion] -Alf-:
Unpack the .zip archive, open "Software" folder and copy the folder "dload" to the root of your SD CARD (without unpacking it!!!).
[Huawei P20 Lite Guides, News, & Discussion] Offsprin:
Yeah, that's what I did before. I'm copying everything back and will try the volume down+volume up+power thing again.

---------- Post added at 08:55 PM ---------- Previous post was at 08:23 PM ----------

OK, doing just the regular factory wipe using the first set of instructions instead of the volume down+volume up+power one got me onto the right security patch, and I was able to unlock the bootloader. Thank you very much for the help. For future reference, if anyone else runs into this, these are the steps that worked for me:

⦁	Insert the microSD card, power on the phone, enter *#*#2846579#*#* to access the ProjectMenu menu, choose Software Upgrade > SDCard Upgrade, and touch OK
[Huawei P20 Lite Guides, News, & Discussion] stunteur:
it shows 19$ to unlock not 4$
[Huawei P20 Lite Guides, News, & Discussion] Sorwidir:
After going to link " https://hcu-client.com/download/hcu-client-v1-0-0-0287/ "

Says the page was not found
[Huawei P20 Lite Guides, News, & Discussion] Anonymousxx:
Hi sir, thanks for the work.

I've got a problem. How do I install Magisk Manager? It is a zip file, so I suppose I have to flash it, but I don't have a custom recovery. And the second problem is that "patched_ramdisk.img" link is not available anymore. Could you help me please? Thank you
[Huawei P20 Lite Guides, News, & Discussion] -Alf-:
Magisk Manager is an Android application (simply unpack the downloaded .zip file).

You can install latest M.Manager 22.0

and patched recovery_ramdisk v22.0
[Huawei P20 Lite Guides, News, & Discussion] Anonymousxx:
Thank you for answering (this thread is 3 years old). Can I ask you if I lose root permissions and the unlocked bootloader when I install a custom recovery?
[Huawei P20 Lite Guides, News, & Discussion] Anonymousxx:
Thank you for answering. I have another problem. When i type in cmd: fastboot flash ramdisk patched_boot.img, the cmd returns this (look the screenshot). How can I solve it?
[Huawei P20 Lite Guides, News, & Discussion] -Alf-:
It depends on EMUI version . If you are running EMUI 9.1 , follow this instructions:

https://xdaforums.com/t/rom-official-anne-9-lineageos-16-0.4151163/post-83603363

https://xdaforums.com/t/rom-official-anne-9-lineageos-16-0.4151163/post-83605887
[Huawei P20 Lite Guides, News, & Discussion] Anonymousxx:
Could you please help me with the previous problem I had?

Thank you again
[Huawei P20 Lite Guides, News, & Discussion] -Alf-:
Run correct command for EMUI 9.1 :

fastboot flash recovery_ramdisk (patched_file).img
[Huawei P20 Lite Guides, News, & Discussion] Anonymousxx:
Okay, I completed all the steps but the smartphone still results unrooted :/. I don't know what i did wrong. Any suggestions?

When i do the step:

"Open up Magisk Manager, press install -> install -> Patch Boot Image File -> find the patched_ramdisk.img and click OK."

In the app i go in the "section" magisk and i click on install, and then is automatically selected "recovery mode" and then i have to click next ( i dont know if all the terms correspond beacuse im translating this from Italian) and at last i have to select the .img file. Is corrected the "recovery mode" or i have to uncheck it?
[Huawei P20 Lite Guides, News, & Discussion] -Alf-:
Yes, follow instructions in my previous post :)
[Huawei P20 Lite Guides, News, & Discussion] Anonymousxx:
You mean these ones?
[Huawei P20 Lite Guides, News, & Discussion] -Alf-:
is there something unclear? :)
[Huawei P20 Lite Guides, News, & Discussion] Anonymousxx:
My bad. When you replied me with those instructions I was meaning if I loose root when I install a new custom ROM but I wrote custom recovery.

Anyway I need a twrp .img file right?

In the second link I dont understand this part

How I replace the current TWRP with the downloaded one? I'm a noob and I don't know what is eRecovery and how to access it. Please be patient with me xD
[Huawei P20 Lite Guides, News, & Discussion] -Alf-:
as you can see, this is a guide for a user who has previously installed another TWRP.

Ignore it.

Simply install custom ROM , you can root your device later, if needed (there are custom roms with built-in SuperUser).

It depends on Custom ROM's .zip package. You need TWRP to flash only if .zip package contains META-INF and other files ("flashable ZIP). If it's just a compressed .img file, you can install it from fastboot. (look here )
[Huawei P20 Lite Guides, News, & Discussion] Anonymousxx:
Forgive me, but I'm getting lost. What i have to do for getting root permissions? My target is obtain root permission, and maybe I will install a custom rom (but this is not my primary target). Right now I only have unlocked the boot loader.

Thank you again
[Huawei P20 Lite Guides, News, & Discussion] -Alf-:
1. https://xdaforums.com/t/my-complete-bootloader-unlock-and-root-guide.3881779/post-84733449

2. Install Magisk Manager app

3. Flash downloaded patched recovery in fastboot mode, run command

fastboot flash recovery_ramdisk magisk_patched_22.img

4. Run fastboot reboot.

5. Turn off phone, press and hold Volume Up and Power

5. Open Magisk Manager

Note: Now every time you want to boot phone with root access (after restart etc.) you must turn off the phone, then hold Volume Up and Power (because of patched recovery_ramdisk) - phone will reboot via Recovery , but not in Recovery mode.

How to boot into patched recovery:

https://xdaforums.com/t/losq-lineageos-17-1-18-1-unofficial-gsi.4219291/post-84437935
[Huawei P20 Lite Guides, News, & Discussion] Anonymousxx:
Okay now everything works fine.. If i would install lineage OS that you mentioned before I will lose the root? I've seen that the 18.1 version is root-integrated. What should I do if i want to install it? And how can I come back to stock firmware? Thanks for your patience
[Huawei P20 Lite Guides, News, & Discussion] tkmrwhite:
Hey guys. I am having some problems when trying to Downgrade my EMUI to version 8.0.0.146.

I first downgraded my Device from 9.1.0 to 8.0.0.180 using HiSuite rollback option.

But now when i try to downgrade to 146 via dload method with my USB OTG Adapter, it doesnt work.

Only thing its showing me is "Software Install Failed!"

Im using Huawei P20 ANE-LX1 and current firmware im running is EMUI 8.0.0.180(C432).

Firmware im trying to downgrade to is the exact same provided by the author of this thread. 8.0.0.146(C432)

Huawei P20 Lite ANE-LX1 ANE-L21 Anne-L21 8.0.0.146(C432) Firmware Android 8.0.0 EMUI 8.0.0 05014YXX androidhost.ru.zip - AndroidHost.RU

Download file - Huawei P20 Lite ANE-LX1 ANE-L21 Anne-L21 8.0.0.146(C432) Firmware Android 8.0.0 EMUI 8.0.0 05014YXX androidhost.ru.zip

androidhost.ru

CUST is the same so it should work right?

Any suggestions what could be the problem?

Would appreciate your help guys!