yashsingh1/xdaforums huggingface dataset:
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Pretoriano80:
Can you get me some logs from TWRP with running aptouch service?This is what i need:

1) Open Terminal in TWRP (Advanced - Terminal)

2) Run this commands :

lsof | grep /vendor > /sdcard/vproc.txt
lsof | grep /system > /sdcard/sproc.txt

3)Send me the output files from the root of internal storage

Like i said ,i don't use custom roms so i wouldn't know where to look for a fix,so for now only EMUI is supported.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Marnux:
I have been busy and will be over the next week too. Nevertheless I will try to get you some logging asap.

EDIT: Added attachment with output for lsof | grep /system. lsof | grep /vendor didn't yield results.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] zgomot:
TWRP wont accept my PIN to decrypt /data. There is no other password encrypting my device.

later edit: Confirmed again. If I have any sort of lockscreen security enabled, TWRP won't decrypt /data. To allow it to work I have to remove lockscreen security before flashing zips.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Pretoriano80:
This means that aptouch doesn't keep system or vendor busy, so unmounting should work just fine. Did you used the twrp version from the OP or the test build, the one with aptouch disabled after decryption?

I don't have a P20 or other EMUI8.1 device, so i can't help you, at least not without logs.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] zgomot:
How do I get you logs from TWRP?
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Pretoriano80:
After decryption fails, cancel the PIN request and go to Advanced - >Copy log (select dmesg too) and save the logs on external sdcard or otg device.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] minimurmel:
Hi all,

may please somebody help me to understand, why it's not working on my EML-L29...?

Result of flash command is:

target reported max download size of 471859200 bytes

sending 'ramdisk' (23542 KB)...

OKAY [ 0.998s]

writing 'ramdisk'...

FAILED (remote: partition error)

finished. total time: 1.014s

something's going wrong while writing... how to fix the partition error?

Thanks in advance.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] hornyherbert:
You flashed on the wrong partition. Use "recovery_ramdisk" instead of "ramdisk" in fastboot flash command. It will work.

Ramdisk is a different partition, thats why you can't flash the .img

example:

fastboot flash recovery_ramdisk PATHTOYOURTWRP.IMG
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] minimurmel:
Thanks a lot for the hint. Worked, so I now have installed successfully twrp and flashed magisk ramdisk. Now I'm arriving at the next challenge... asking for support in the Magisk P20 thread
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Marnux:
I used the OP version. The issue is still there, despite the login saying it's not using the partition. After killing aptouch and restarting it from the vendor partition everything works, so i have a workaround. It's not that this functionality is needed on a daily basis.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] fanfan7110:
and if someone do errors and have his P20 bricked, can we re-flash the rom with an original rom? or is there an original recovery file that can be reflashed?

---

For information, it's no more possible to unlock bootloader. Huawei have closed the page for this..

So, no unlock = No root
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] daClaus:
It's still possible to unlock the bootloader. Just send an email to your local support or tweet them (HuaweiUK). They'll ask you for some info and send you the unlock code. Took me two days to get the code.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] daClaus:
So I'm on TWRP, how can I flash updates now? Can't take the OTA because it will boot into TWRP. Can't flash a downloaded file because TWRP decryption doesn't work.

Is there a way to extract the stock recovery image from an original firmware file?

Edit: So I found the Huawei update extractor tool and extracted the update.app file. There are some candidates to flash for a stock recovery. But which is the right one?

erecovery_kerne.img

erecovery_ramdi.img

erecovery_vbmet.img

erecovery_vendo.img

recovery_ramdis.img

recovery_vbmeta.img

recovery_meta.img
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] otonieru:
simply use no check recovery for honor v10 to flash a full update package. You can find the thread in v10 forum
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] daClaus:
Thank you for the hint! I flashed nocheck recovery, but only took the update, didn't flash the full package. Update worked. Had to reroot with Magisk.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] fanfan7110:
and if someone do errors and have his P20 bricked, can we re-flash the rom with an original rom? or is there an original recovery file that can be reflashed?
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Zirc92:
I tried to contact them with hicare chat, and they sent me over to my country website for a chat and they said "not possible at the moment" becuase of their site is down... Is there any different to contact them on mail vs chat? I heard one guy got code from chat message. Stupid huawei make it so difficult
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] daClaus:
Well, I just sent a support request over my local contact form (Germany). They replied and asked for some information, which I provided. The next day they sent me the unlock code, which they had to request drom china (or wherever).

Try to tweet a message to HuaweiUK, I'm sure they'll get in touch with you. Might take one or two days.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] rawdealer:
The unlocking option is available again on https://emui.huawei.com/
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] fanfan7110:
Can someone answer my previous question? : if someone do errors and have his P20 bricked, can we re-flash the rom with an original rom? or is there an original recovery file that can be reflashed?
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] glaet:
TRRP

TWRP is not working the touch and is locked on the main screen.

No function or button is working
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Humpy-_-Dumpy:
Issues with decrypting

I'm having issues with this where it asks for a pattern to decrypt the internal storage yet I haven't set one nor have I had the option to set one. The pattern lock on my phone for the system doesn't work for it and the only way around it is to format the data, this has happened multiple times so it's not just one off
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] zgomot:
Happens to me all the time.

What you can do instead of formatting /data is to remove ALL lockscreen security before booting into TWRP. This way you can flash any zips then boot back into system and set your security back.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Humpy-_-Dumpy:
By all, does that include face unlock, Google assistant , finger print and pattern, cuz it's gonna be a pain to do all of that with the amount of times I boot up into twrp, especially considering I'm still looking for roms
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] zgomot:
No, just PIN, Pattern, or Password. Remove face too, just to be sure, but I don't think you really need to.

And to make your search for roms easy, here's how things stand. If you want full functionality go with rooted stock rom. If you want to experiment, go with treble roms, but they will all have something that's not quite right yet.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] cofface:
hi,It didn't decrypt data whit EML-AL00 8.1.0.108(SP2C00) new version. [MENTION=2642882]Pretoriano80[/MENTION]
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] bender8125:
Hi,

thanks for your work

i have the same problem of Marnux

when i boot to recovery, TRWP ask for password, i didn't encrypt so i press cancel

sdcard can't be read, all files have number and letter like encrypted files

if i wipe /sdcard, i can read sdcard but i've got the /system busy error, so i can't flash any zip file

thanks for help

---------- Post added at 03:23 PM ---------- Previous post was at 03:15 PM ----------

Great that work for me, i can see /sdcard now, first problem resolve

i still have the /system busy error
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Pretoriano80:
If decryption with pin/password fails, remove the security (pin, pass, fingerprint) before booting to TWRP and it should decrypt just fine . You aren't supposed to wipe the sdcard.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] nullo:
I've flashed TWRP ok but MTP doesn't show up on PC when it's connected to a USB3 port. Connecting to a USB2 port works ok.

Device manager shows up

Windows has stopped this device because it has reported problems. (Code 43)

The USB device returned an invalid USB configuration descriptor.

Is it my drivers or TWRP?
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] safrassm:
is this recovery work with Huawie Y7 Prime 2018

LDN-L21
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] mj084:
nope
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Yusei:
Any plans on fixing that decrypt thing in the future?
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Pretoriano80:
If my Mate 10 will receive 8.1,then it will be much easier to test.

Honor View 10 also got this issue now, after an update, but for the users that already had a pin set previously, the decryption with pin still works, for those that are setting a pin only after this latest update, decryption with pin no longer works.

It's confusing and hard to track down, considering that we don't know what changed after the update.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] rawdealer:
So, there's no way to flash Treble GSI on P20, because we don't have twrp for aosp/treble roms, right? :)
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] ectoplasma22:
It is possible ! Successfully ran Lineage and AOSP but went back to stock since I was missing a lot a feature and the notch is not supported
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] rawdealer:
Thanks for your answer! :D

Sorry OP for OT, [MENTION=5301610]ectoplasma22[/MENTION] could you describe issues with notch? Did you flash GSI (probably) with TWRP or in fastboot? I have unlocked the bootloader, but silenttly waiting for P and proper notch implementation.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] B@sti:
Hello everyone. Sucessfully rooted my p20 and flashed twrp. Thanks!

A new update keeps popping up for emui.

What happens when i install it? Will twrp and root be gone

or will it brick my device, when i don't flash the stock ramdisk before?

By the way, twrp tells me all the timr that the system partition can't be mounted. Wanted to flash youtube vanced but didn't work yet.

Thanks in advance! Great device so far. :)
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Pretoriano80:
You can't flash stock OTA if you have TWRP. As for the System mount issue, try mounting it manually from the Mount menu and then flash YT Vanced.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] B@sti:
I'll try, thank you.

Got everything working, only problem i have is that whatever i do,

/system can't be mounted because it's busy.

That's the reason why i can't install youtube vanced over twrp (over magisk it worked)

or backup the whole phone.. :(
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] noobwork94:
If you update with normal factory pushed updates, they will overwrite the system with new files, so twrp will be needed to be re-flashed.

Flash and install Magisk 16.6

Then download and install latest Magisk Manager.

This method has been tested and working for P20.

Tested Modules:

Vanced Youtube

Adblock

Xposed Framework

Viper4Android FX
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Dentso:
Hello guys, how to do updates with TWRP installed?
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] mj084:
https://xdaforums.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] moghetto:
I have the Huawei P20, for this phone I only have 2 firmware files, the "Update .zip" and the "update_full_EML_L09_hw_eu.zip ".

Can't find the "update_data_public.zip"

Can I install the new firmware with Hurupdater anyway ? Thanks in advance.

Roberto
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] mj084:
nope, you need the 3 correct files...
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Rafeexx:
Hello everyone will be if there are custom developing rom or kernel for the huawei p20 eml-l29 in court because there is for the p20 Lite p20 pro but for the p20 nobody has still developed anything for this phone
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] g_oral:
9 mln p20 sold but due to locked bootloader there is no dewelopers for our phone. My last huawei
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] DamiDev:
My first and my Last :(

no devs, no BL unlock, nothing to do with this brick ...
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] sackgnom:
Well, i got it unlocked in time and i'm now running a gsi (rr) IT works fine. I am also unhappy about the missing dev Base but i am pretty shure Simeone will Develop an unofficial unlock in time as this is a great device in Points of Performance and build quality.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] mj084:
I'm on P20 FW: 132(C432) and TWRP from here unable to mount system like before, so no HuRuUpdater fails evereytime...

any ideas?
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] sackgnom:
i experienced this many times. my Personal fix was

1. Twrp Main Menu: Choose Wipe

2. DONT USE THE SLIDER. Choose "Advanced Wipe". You will see a list of Partitionen.

3.Choose system (blue hook appears in checkbox)

4. Choose 'repair or change file system'

5. Choose "change file system"

6. select "ext4"

7.hit the Slider

8. Reboot Recovery and Install your backed Up/ downloaded system Image by choosing "Install" then in the bottom right "Install Image" choosing your system.img

Tada. System unmountable+mountable with Image in it, Phone booting
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Pretoriano80:
Have you tried to mount system manually from the Mount menu and then use HuRUpdater?
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] mj084:
Of course - did it all time before and it was working great - dunno what's wrong now...
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] DemoxYT:
Unable to mount /system

Tried to uninstall magisk with their uninstall zip but something along the lines of "Unable to mount /system partition" or something like that appeared and didn't let me. Magisk launcher is crashing whenever I open it and I can't fix it otherwise, so I tried to uninstall it and re-install it (with their latest zip). But, I can't cause it's unable to mount /system. I don't think the partition is corrupt because I'm on stock firmware (not latest but oh well) and only have your recovery and Magisk Launcher (for root access) installed. Please help? :o :good: :fingers-crossed:
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] mj084:
Won't work for me:/

After reboot to TWRP - TWRP was stuck in SplashScreen...

Flashed TWRP again via fastboot, but can't boot into them - only to eRecovery...

edit: second fastboot flash with TWRP was successfull, but still unable to boot into TWRP...

whats next?

edit2:

flash extracted system.img via fastboot --> phone booted...

edit3: all fine now: https://xdaforums.com/showpost.php?p=77315029&postcount=698
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] sackgnom:
If twrp gets stuck on start screen, boot to fastboot mode (power and vol- with plugged on usb), then type "fastboot erase userdata"

I 'm not sure but i guess it got something with the verity on some partitions. Since i removed it in fstab.kirin970 i haven't experienced any bootloops when flashing mods.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Muscar:
Is this the most recent version to use? I'm installing AOSP 9.0 and wondering if I should look for a more updated version of twrp.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] zgomot:
AFAIK there is nothing newer.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Pretoriano80:
I did a quick test build, an attempt to fix touch when using Pie! Test and let me know - > removed, it doesn't work.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] NeoCx8:
Will this be updated to support Pie Treble ROMs?
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] sackgnom:
Would be interested too. If dev needs a tester on EML-L29 gimme a message :cowboy:
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Vixerunt:
Well! I'm trying to flash this recovery but have got "failed: command not allowed..." somethig like this. CLT-AL00 8.1.0.171 (C00PATCH01). Bootloader is unlocked
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] JokerMNE:
Did you try some tools? You have two good tools for that
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] burgess_boy:
I am having an issue where touch screen becomes unresponsive when I format data, anyone know a reason why this could be?
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] doktor29:
i have big problem... when trying to restore my system... is says canot mount... i go to mount options anc cant mount it manually..

now my phone is bricked :/

i have bootloop to TWRP but it freeze on TWRP logo .

any help?

EDIT

ok i figure it out how to unbrick... but still... restore of system partition wont work :/

i can make a backup of it but not restore... it bricks phone
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] reppi:
Have you tried to wipe system first?
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] doktor29:
nope, but it says system partition is not mounted, even if i mount it manually at restoring

next time i try wipe first but i dont think it change something ?
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Hirishiolo:
Hello, when I try to install Magisk on my Build Number EML-L09 8.1.0.164(C432patch01) it gaves me this error....

- Mounting /system, /vendor

! Cannot mount /system

- Unmounting partitions

Updater process ended with ERROR: 1

Error installing the zip file /sdcard/Magisk-v16.4.zip

Updating partition details...

Failed to mount "/system" (Device or resource busy)

Failed to mount "/vendor" (Device or resource busy)

recovery log: http://tinyw.in/PXKt

thanks in advance
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] madgalena:
Mount system and vendor manually
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Hirishiolo:
how can I do that?

I'm trying

mount -t ext4 /dev/block/bootdevice/by-name/system /system

but "mounting ... failed: Device or resource busy"
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] oslo83:
Use a patched ramdisk or try with the updated magisk.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] madgalena:
I'm quite new in this and maybe I lucked out but try tapping "Mount" tab in the main screen and tick system and vendor? Atleast thats what I did
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Hirishiolo:
thank you, I used a patched ramdisk and all was right. I' m curious about it, is it a bug of TWRP port?
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Ducati87:
no more update for emui 9??
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] earl_110:
Kind a dumb question but I successfully installed twrp on its latest version. I am also using EMUI 9 but the problem is that I can access TWRP but the touchscreen seems to be unresponsive on TWRP. Please help
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] oslo83:
Nop it was because your magisk (16.4) was way too much outdated for your firmware.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Hirishiolo:
I had the same problem with Magisk-v17.1 (see my recovery log) and also with last v18

thanks ;)
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] jackching:
Does the official p20 pro twrp work on this phone?
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] twerped:
I have the same problem. In my excitement I glossed over that the twrp file is only for emui 8.0.

So... I have a eml-l29 with a 220v german plug, the phone was factory reset before I started tinkering with it, although I'm sure it factory reset during the twrp install process. I have the unlock code, for it, has a rhinoshield case and screen protector on top of the factory screen protector. All accessories... what I'm getting at is I'm looking to re-home the phone to an expert that can restore it, along with contributing to the community via custom roms/etc. It won't let me update it, but it's on 203 of emui 9/pie. Phone is located in the states.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] jonanolaeta:
Hi there, need some help. On my EML L29, was on EMUI 8.1 and installed twrp and magisk, all went well, no issues so far. Then, wiped dalvik, cache, system, vendor and data and tried to install custom rom with no luck. it did not even tried to install it so I went back to install the twrp backup I had but my recovery wont go beyond the teamwin logo and no idea what to do next.

Many thanks in advance!!!!
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Doghan13:
After every wipes, did you reboot recovery directly or do you try to install your custom rom before reboot ?

After wipes (dalvik, cache and data), you must reboot to recovery again and then flash rom.

Try to reflash TWRP, and then boot into it. If it don't work, I won't be able to help you :/
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Pfollvosten:
How to remove it?

I accidently installed it on emui9. My phone isn't bricked but TWRP doesent work

How can I get rid of it? :D
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] themulvster:
Hi was just after some advice please.

I have Huawei P20 EML-L09

On 8.1.0 with bootloader unlocked.

I would like to root but would like the easiest way possible.

Do I install Twrp unofficial and then flash Magisk?

Which version of Magisk would I use?

Is that all I have to do or do I need SuperSU?

Thanks in advance :good:
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] Muscar:
Does this work with EMUI 9.1? I'm finding it hard to get good info on how to install twrp and magisk for 9.1.
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] xEpIc:
How to update this twrp version to 3.5.0_9-0?this is the latest twrp on the website for the P20 pro version
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] mir2480:
Hello, can someone help me? I've gone back to android 8, I've installed twrp and it works, but I can't install the gsi for android 9, or 10, or 11. Can anyone help me??? I want to flash gsi in system image and It won't let me either, help!!!
[Huawei P20 ROMs, Kernels, Recoveries, & Other Deve] RealDexxo:
Hi. I have emui 10 and I want to flash custom rom like OctaviOS or CherishOS. How do I do that? This twrp isnt working.
[HTC U Ultra Questions & Answers] minhnewpro:
The hires audio mode was broken or i must plug earphone every time when i want use hires audio mode?​

When i turn on Hi-res Audio without earphone connect, the sound is very noisy

[YOUTUBE]769ySIxdcqc[/YOUTUBE]

When i turn on Hi-res with earphone connected, the sound is not noisy anymore nut the volume is very low

[YOUTUBE]9TNn-SJJLIQ[/YOUTUBE]

When i turn off Hi-res Audio and use 3D Audio (4 internal mics)

[YOUTUBE]cxW59MKnlP4[/YOUTUBE]​