• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[Firmware] EMUI 8.1 / 9.0 Flash, Root and Downgrade Guide (L29C432/L29C636)

Search This thread
Jul 18, 2013
34
8
Offenbach am Main

Da_Hausa

Member
Dec 9, 2016
40
7
Vienna
FLASH_two_files.bat DOESN'T work ???

How to FLASH EMUI 8.1 / 9.0 including latest single base versions (build 197+)

Your device must have the following
1. Bootloader should be unlocked (if you have not already unlocked bootloader, there are paid services available)
2. Enable USB debugging in Settings > Developer options > USB debugging
3. Remove Fingerprint ID, Face lock and Lock screen password. This is very very important otherwise your device will be soft bricked

Firmware Download:
You can download ROM version that you want (EMUI 8.1 / 9.0) from this LINK

If you do not see latest EMUI 9.0 firmwares, use the links below,
EMUI 9.0 Build 204
EMUI 9.0 build 236
EMUI 9.0 build 241
EMUI 9.0 build 243
EMUI 9.0 build 251

Do not try to update to build 241 straight from EMUI 8.0. It will brick your device and you will end up with black screen. Update to build 195 and then update to any later builds.

Files that you will be downloading are,
>> Upto build 195
update.zip
update_full_CLT-L29_hw_eu.zip

>> After build 197 or later
update_full_base.zip

Preparation:
a. Download this Flash tool and extract to your PC
b. Copy downloaded Firmware files to ZIPS-HERE folder (you can find this folder where you have extracted Flash tool

How to flash Firmware
1. Double click to run the file cmd-here.exe. It opens command prompt in the same folder where you are.
2. Once command prompt opens, type FLASH_two_files.bat if you have multiple Firmware files (2 files) or FLASH_full_base.bat if you have single base file from latest EMUI 9.0. Follow steps carefully. Once flashing is complete, it will boot normally.

PLEASE NOTE THAT THIS METHOD OF FLASHING DO NOT WIPE DATA and all the installed apps will be intact. But you will loose ROOT. You have root again.



Hello,
first I want to thank you for that really good instruction - BUT unfortunately it doesn't work for me.


What's my status:
- I did something wrong and now I only have access to Fastboot Mode but nothing else
- My Device Information:
- CLT-L29 9.0.0.195(C432E5R1P9)
- Bootloader: UNLOCKED
- FRP: UNLOCKED

- Downloaded:
- CLT-L29C432E5R1P9B311 (9.1.0.311) from here
- after extracting I got TWO files - see picture attached
- update.zip
- update_full_CLT-L29_hw_eu.zip

- I put both files into folder "ZIPS-HERE"
- double clicked on cmd-here.exe
- put in the command FLASH_two_files.bat and followed the instruction till the point - rename the "update_full_base.zip" to "update.zip" --> that's the problem: I dont't have a "update_full_base.zip" -> see my files in the attached screenshot
- then the message shows: "!!! Missing ZIP files or you have not renamed ZIP files.........!!!"
- after that the command prompt closes
- I also tried to double click directly on the FLASH_two_files.bat but same result

Can please somebody help me.
I'm totally at the end - trying for two days to flash/start up my phone again.

Looking forward to any hint, trick or instruction from someone around here.

Thank you in advance for any help.
 

Attachments

  • ZIPS_HERE.png
    ZIPS_HERE.png
    9.3 KB · Views: 243
  • CMD.png
    CMD.png
    27.1 KB · Views: 247
  • P20-Pro_Seriennummer.png
    P20-Pro_Seriennummer.png
    254.1 KB · Views: 247
  • Like
Reactions: Achilles Etimone

Da_Hausa

Member
Dec 9, 2016
40
7
Vienna
Is there really nobody out there who knows what to do or can tell me if and where is a mistake or failure?

Please, it's really anoing not to have my smartphone :(

Thanks to all of you.
 
Jul 18, 2013
34
8
Offenbach am Main
Is there really nobody out there who knows what to do or can tell me if and where is a mistake or failure?

Please, it's really anoing not to have my smartphone :(

Thanks to all of you.

So sorry for you / since it seems so risky I didn't dare to try. Could you solve it?

ich habe mich auch nicht getraut, daran zu gehen, da mir das die das P20 pro zu riskant zu sein scheint. Bist du inzwischen wieder gekommen?

What is the content of the .bat - what filename is the .bat looking for?
 
Last edited:

bigdaddy1990

Member
Jul 17, 2018
6
2
30
Last edited:
  • Like
Reactions: Achilles Etimone

a500user2013

Senior Member
Jun 14, 2013
71
6
So I've got a P20 Pro with EMUI 9.1 (9.1.0.381 c782e11r1p11 clt-l29) and root!! But it only lasts until a reboot. I think.

Here is my full guide if it helps someone

Rooting without TWRP Recovery

Terms
Recovery = an image which runs on your phone to facilitate recovery, we are looking to patch it with a magisk binary
Stock Firmware = the OS installed on your phone by the manufacturer/network operator (branding). We aren't looking to replace this, but we do need to extract a file from the version you currently have
Stock Recovery = the recovery image installed with the P20 'eRecovery'

Prerequisites
adb binary
fastboot binary
Phone is backed up (unlocking the bootloader will factory reset and erase all data/apps)
Phone is plugged in and showing with 'adb devices'

0. Unlock your bootloader
adb reboot bootloader
Once in fastboot mode type
fastboot oem unlock <unlock code>
Let the process finish.

1. Extract stock recovery image (RECOVERY_RAMDIS.img) from the Stock Firmware using Firmware Finder
Get Stock Firmware from :https://pro-teammt.ru/en/online-firmware-database/
Get Firmware Finder from https://forum.xda-developers.com/showthread.php?t=2433454
Get the RECOVERY_RAMDIS.img file using these instructions https://www.theandroidsoul.com/extract-huawei-firmware-update-app

2. Using Magisk Manager app, patch the stock recovery image extracted in Step 1

(I've renamed mine RECOVERY_RAMDIS_9_1_0_381_STOCK.img).
Get Magisk Manager and install the APK (IT's NOT on the Play Store (despite being called the same name)
Tap 'Install' next to 'Magisk is not installed' , then tap 'Install' again, then tap 'Select and Patch a File', then choose the file RECOVERY_RAMDIS_9_1_0_381_STOCK.img (or whatever you called it)

3. Copy the patched recovery image file Magisk just created to your PC
(Magisk will tell you where it put it, generally in your 'Downloads' folder)

4. Flash the Patched Recovery Image using fastboot mode
adb reboot bootloader
fastboot flash recovery_ramdisk RECOVERY_RAMDIS_9_1_0_381_PATCHED.img (replace this .img file with whatever you called it)
NOW read step 5
fastboot reboot

5.This step is very important l!
When you issue the reboot command - you will
Need to press and hold volume up and power buttons simultaneously for a few seconds.
When you're doing this, unplug the USB cable.
As soon as you see the Huawei logo, release BOTH keys

6. Check Root with Magisk Manager/Another root tool
 
Last edited:
  • Like
Reactions: ArthurTsai
Jul 18, 2013
34
8
Offenbach am Main
PLEASE OPEN THE P20 PRO BOOTLADER

EN Any chance on opening the p20 pro's bootloader?
Or did you guys have your p20 pro & opened the BL before July 2018?

DE Bitte könnte mir jemand sagen, wie ich den Bootloader des p20 pro genkackt bekomme?
Oder hattet ihr eure Geräte alle bereits vor Juni 2018 gekauft und den BL geöffnet?
 

sarichter

Senior Member
Nov 4, 2011
285
74
Phoenix
Upgrade from 8.1 to 9.0/9.1

I read this thread through and I didn't see any definitive information on whether or not I can upgrade my particular phone.

I'm currently bootloader unlocked, rooted, and running CLT-L29 8.1.0.155 (C636).
In firmware finder, there is no firmware .195 for my phone variant. The latest firmware for this particular phone under EMUI 8 is .158.
Instructions indicate that I need to upgrade to .195 (which does not exist) prior to upgrading to a later build under EMUI 9.
I am not receiving any new updates from Huawei on this phone even though I used to in the past.

Can anyone bridge the gap with my understanding of the steps?

FYI: I have successfully upgraded my Huawei Mediapad to EMUI 9.1 and did so just by flashing a patched Magisk recovery ramdisk image.
 

sarichter

Senior Member
Nov 4, 2011
285
74
Phoenix
Upgrade from 8.1 to 9.0/9.1

I read this thread through and I didn't see any definitive information on whether or not I can upgrade my particular phone.

I'm currently bootloader unlocked, rooted, and running CLT-L29 8.1.0.155 (C636).
In firmware finder, there is no firmware .195 for my phone variant. The latest firmware for this particular phone under EMUI 8 is .158.
Instructions indicate that I need to upgrade to .195 (which does not exist) prior to upgrading to a later build under EMUI 9.
I am not receiving any new updates from Huawei on this phone even though I used to in the past.

Can anyone bridge the gap with my understanding of the steps?

FYI: I have successfully upgraded my Huawei Mediapad to EMUI 9.1 and did so just by flashing a patched Magisk recovery ramdisk image.

Update:

Well I figured out which build version to flash to move to 9.0 for the 636 variant. Does anyone know of a list of actual approved builds for devices? Firmware finder shows that all of the builds I tried to flash are approved. That certainly cannot be true since I soft bricked a number of times trying to install them.
 

pd555

Senior Member
Mar 27, 2010
156
5
All the links on teammt here do not work - "An error occured".

I tried different browsers/devices

Is there somewhere else to get the firmware builds? Thanks
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 42
    How to FLASH EMUI 8.1 / 9.0 including latest single base versions (build 197+)

    Your device must have the following
    1. Bootloader should be unlocked (if you have not already unlocked bootloader, there are paid services available)
    2. Enable USB debugging in Settings > Developer options > USB debugging
    3. Remove Fingerprint ID, Face lock and Lock screen password. This is very very important otherwise your device will be soft bricked

    Firmware Download:
    You can download ROM version that you want (EMUI 8.1 / 9.0) from this LINK

    If you do not see latest EMUI 9.0 firmwares, use the links below,
    EMUI 9.0 Build 204
    EMUI 9.0 build 236
    EMUI 9.0 build 241
    EMUI 9.0 build 243
    EMUI 9.0 build 251

    Do not try to update to build 241 straight from EMUI 8.0. It will brick your device and you will end up with black screen. Update to build 195 and then update to any later builds.

    Files that you will be downloading are,
    >> Upto build 195
    update.zip
    update_full_CLT-L29_hw_eu.zip

    >> After build 197 or later
    update_full_base.zip

    Preparation:
    a. Download this Flash tool and extract to your PC
    b. Copy downloaded Firmware files to ZIPS-HERE folder (you can find this folder where you have extracted Flash tool

    How to flash Firmware
    1. Double click to run the file cmd-here.exe. It opens command prompt in the same folder where you are.
    2. Once command prompt opens, type FLASH_two_files.bat if you have multiple Firmware files (2 files) or FLASH_full_base.bat if you have single base file from latest EMUI 9.0. Follow steps carefully. Once flashing is complete, it will boot normally.

    PLEASE NOTE THAT THIS METHOD OF FLASHING DO NOT WIPE DATA and all the installed apps will be intact. But you will loose ROOT. You have root again.

    How to ROOT EMUI 8.1 / EMUI 9.0
    For EMUI 8.1:
    1. Download this TWRP and flash it in fastboot mode
    2. Download Magisk from this LINK
    3. Flash in TWRP (using the command fastboot flash recovery_ramdisk images/twrp.img). twrp.img is already in the Flash tool that you downloaded.

    For EMUI 9.0: Thanks to @ArtaxXP for the findings and the post is here LINK
    1. Pre-patch images you need for different version are below. You will be patching this file yourself with magisk canary version.
    RECOVERY_RAMDIS_163.img
    RECOVERY_RAMDIS_195.img

    RECOVERY_RAMDIS_9.0_204.img
    RECOVERY_RAMDIS_9.0_236.img
    RECOVERY_RAMDIS_9.0_241.img
    RECOVERY_RAMDIS_9.0_243.img
    RECOVERY_RAMDIS_9.0_251.img

    and copy this img to your device (these recovery_ramdisk file extracted from respective EMUI firmware UPDATE.APP)
    2. Download and Install latest magisk manager
    3. Open Magisk manager, go to settings > update channel > Custom and use the link below
    4. Go back to magisk manager default page and refresh (pull down). Install the latest magisk manager version when prompted. Now open magisk manager after installing the updated version and again pull down to refresh
    5. Now you will be asked to download and flash the latest magisk version. Click on Install and when the next window comes choose "patch only the boot.img" option. Choose the image file that you have downloaded from the link in step 1 above
    6. Wait until patching is complete. The patched image will be found in Download folder in your device. Copy this patched_boot.img to your PC in the same folder where you have extracted the Flash tool you used to flash the ROM
    7. Reboot device to fastboot mode and flash patched_boot.img using
    fastboot command ===> fastboot flash recovery_ramdisk patched_boot.img
    8. Now issue command fastboot reboot. Quickly unplug USB cable and hold vol-up button. Now your device will be booted in to rooted ROM

    Careful Note:
    If you reboot your device normally, it boots in to non-rooted ROM.

    To boot to rooted ROM, hold vol-up button until Huawei Logo appears while booting.

    IF YOU HAVE PATCHED WITH LATEST MAGISK CANARY BUILD 18.2+, THEN YOU DON'T HAVE TO HOLD VOL UP BUTTON WHEN REBOOTING. JUST POWER YOUR DEVICE NORMALLY AND IT BOOTS IN TO ROOTED ROM

    How to DOWNGRADE from EMUI 9.0 to EMUI 8.1 for ROOTED EMUI
    1. Remove fingerpring, disable screenlock & password and app lock in Settings / Security & privacy. If you miss this step your device will be soft bricked.

    2. Download from here / extract yourself EMUI 9.0 recovery_ramdisk from UPDATE.APP
    RECOVERY_RAMDIS_195.img (EMUI 9.0 release 11.01.2019)

    3. Flash this RECOVERY_RAMDIS_195.img in fastboot and restart your device normally.
    Your device may boot in to eRecovery. Switch off and restart in to fastboot and flash this RECOVERY_RAMDIS_195.img again in fastboot

    4. Folllow the steps explained in How to Flash section.

    How to DOWNGRADE from EMUI 9.0 to EMUI 8.1 for Non-ROOTED EMUI
    Folllow the steps explained in How to Flash section.



    GENERAL TWEAKS
    AdGuard DNS:
    You can read here what is DNS and the goodies of changins it https://www.maketecheasier.com/best-alternate-dns-services/

    If anyone wants to change DNS AdGuard which stops ads in browsing. Flash it in magisk. I have done two versions. Default version blocks ads but allows browsing explicit sites and Family Protection block every ads and also explicit contents.
    Files attached are,
    AdGuard_DNS_(Default).v0.zip
    AdGuard_DNS_(Family_Protection).v0.zip

    Removal of Apps via ADB command:
    If anyone wants to remove bloatware (that you may consider bloat) follow the steps below,
    Note: This command doesn't remove the app altogether from your device. It removes the app from the default user 0. To get the apps back, just factory reset your device.
    1. Download and unzip ADB files [Link]
    2. Make sure that you have enabled USB debugging from Settings / System / Developers options [google search and find how to enable Developer option]
    3. Connect your phone to your PC. Go to the folder where you have extracted the file downloaded from step 1 above
    4. Double click to run the file cmd-here.exe. It opens command prompt in the same folder where you are
    5. Run the command, adb shell
    6. Now you can start debloating the apps that you want to (see commands below)
    pm uninstall -k --user 0 com.google.android.youtube [YouTube]
    pm uninstall -k --user 0 com.android.egg [Easter Egg]
    pm uninstall -k --user 0 com.huawei.gameassistant [Playstore Game]
    pm uninstall -k --user 0 com.huawei.appmarket [Huawei App market]
    pm uninstall -k --user 0 com.android.chrome [Google Chrome]
    pm uninstall -k --user 0 com.google.android.apps.docs [
    pm uninstall -k --user 0 com.google.android.apps.tachyon [Duo]
    pm uninstall -k --user 0 com.android.email [Stock email]
    pm uninstall -k --user 0 com.google.android.gm [Gmail]
    pm uninstall -k --user 0 com.google.android.videos [Google Play Videos]
    pm uninstall -k --user 0 com.google.android.music [Google Music]
    pm uninstall -k --user 0 com.huawei.health [Huawei Health app]
    pm uninstall -k --user 0 com.huawei.phoneservice [HiCare customer service app]
    pm uninstall -k --user 0 com.android.soundrecorder [Stock sound recorder]
    pm uninstall -k --user 0 com.huawei.hifolder [App Advisor]
    pm uninstall -k --user 0 com.android.mediacenter [Huawei Music app]
    pm uninstall -k --user 0 com.huawei.himovie.overseas [Huawei Video player]
    pm uninstall -k --user 0 com.huawei.videoeditor [Huawei video editor]
    pm uninstall -k --user 0 com.huawei.aod [Always on display]
    pm uninstall -k --user 0 com.android.dreams.basic [Daydream]
    pm uninstall -k --user 0 com.android.calculator2 [stock calculator]
    pm uninstall -k --user 0 com.facebook.system [Facebook App Installer]
    pm uninstall -k --user 0 com.facebook.appmanager [Facebook App manager]
    pm uninstall -k --user 0 com.facebook.services [Facebook Services]
    pm uninstall -k --user 0 com.huawei.android.FloatTasks [Navigation dock]
    pm uninstall -k --user 0 com.huawei.livewallpaper.paradise [Paradise Wallpaper]
    pm uninstall -k --user 0 com.huawei.android.thememanager [Themes]

    If anyone find more debloats please share in this thread

    Few debloats submitted by @moonshiner
    pm uninstall -k --user 0 com.huawei.search
    pm uninstall -k --user 0 com.huawei.hwid
    pm uninstall -k --user 0 com.huawei.hitouch
    pm uninstall -k --user 0 com.huawei.hidisk [files explorer]
    pm uninstall -k --user 0 com.huawei.compass
    5
    Hi @smohanv

    i managed to update my C636 P20 Pro to .201 using the new full base .zip

    procedure was changed, it's easier now though. You might want to update the OP (or make it sectional, split between old method and new method)

    Here's the method :
    Pre-Requisites : ROOT

    1. Download EMUI Flasher from HERE (courtesy of @OldDroid) - Dont worry, the app is clean and clean
    2. Download the Latest Approved Update_full_base.zip of your phone model from FF
    3. Open the App, choose the firmware zip you already download. If the app prompt to install some assets, approve it, it need to re-install stock recovery back.
    4. Ignore the second firmware file option
    5. Tap the "Flash Button" on the bottom right corner
    6. Wait till phone boot to recovery, flashing update and finish.
    7. Optional - Re-ROOT using your patched recovery ramdisk
    3
    Hi @smohanv

    i managed to update my C636 P20 Pro to .201 using the new full base .zip

    procedure was changed, it's easier now though. You might want to update the OP (or make it sectional, split between old method and new method)

    Here's the method :
    Pre-Requisites : ROOT

    1. Download EMUI Flasher from HERE (courtesy of @OldDroid) - Dont worry, the app is clean and clean
    2. Download the Latest Approved Update_full_base.zip of your phone model from FF
    3. Open the App, choose the firmware zip you already download. If the app prompt to install some assets, approve it, it need to re-install stock recovery back.
    4. Ignore the second firmware file option
    5. Tap the "Flash Button" on the bottom right corner
    6. Wait till phone boot to recovery, flashing update and finish.
    7. Optional - Re-ROOT using your patched recovery ramdisk

    Just a little note: EMUIFlasher can be used also with unapproved firmwares.

    Regards
    3
    i should open an application thread to provide exact infos.
    The app has been programmed to work with EMUI8 AND EMUI9.

    Regards
    2
    Is debranding necessary to flash this ROM? I'm on CLT-L04 8.1.0.109(C792), been learning Huawei's intricacies but still not understanding the debranding thing and keep hearing it tossed around. Are the ROMs themselves region locked or something?

    Yes you do. You need to debrand.. Search for the thread in this Forum. You have to debrand to C432. Check your version from settings.