[ROM][AL00][4/1/19] Mate 20 X GlobAL00ized 1.6 (fw 200) [Debloated][Mostly Deodexed]

cluc

Member
Dec 11, 2013
5
3
0
torino
Notes to be aware of

Google Pay does not, nor has ever liked ROOT. Nor do pretty much any pay type apps. So make sure you use Magisk Manager, and click on the 3 lines in the top left corner and select Magisk Hide and scroll down to Google Pay and check that to make sure it is hidden from Root. Otherwise you will run into issue. Someone said they also had to hide Google Services Framework. So you might want to hide that as well. In my tests of using Google Pay, I didn't have to do that, but it isn't gonna hurt anything.

Smart Lock might need you to re-train your voice in order to work on the phone if it recognized you had already trained it from previous devices. My guess is to make sure it is more secure from the phone. So you might go into Google Assistant and do that before setting up Smart Lock as your unlock ability if that is your chosen path.

Updating to the latest version of EMUI Software

This is a tad extensive, but mainly just lots of info to try and answer any questions anyone might have. I promise it is much easier than all the text shows. Just read through it and you will see there really isn't that much to do.

I do recommend, just as a precaution, that you do a full nandroid backup in TWRP before doing any type of update. This just covers bases. If you go into TWRP and select BACKUP and make sure all Partitions are selected and then Swipe to Backup. It will store a full backup of all partitions on your Internal Storage. You can then transfer this over to your PC for safe keeping.

Step 1: Go ahead and download and transfer ALL of the following to your Internal Storage. All files are linked at the bottom of this post except the latest ROM which is in the first post. The latest ROM, the latest Update Full Base Zip, the Stock Recovery Ramdisk, the EMUI Flasher, the Patched TWRP Image and lastly the Current Magisk Recovery Ramdisk Image. You will need all these files here in a bit. I recommend you save the TWRP image as twrp.img for easier use shortly.

Step 2: Using ADB from a PC or using a Terminal Emulator from the Phone, we want to transfer the Stock Recovery over to the Recovery Ramdisk Partition. Type or copy the following and hit ENTER:
Code:
dd if=/sdcard/recovery_ramdiskStockAL00.img of=/dev/block/bootdevice/by-name/recovery_ramdisk
You should get an output similar to the following:

65536+0 records in
65536+0 records out
33554432 bytes transferred in 2.141 secs (15672317 bytes/sec)


Step 3: Next, we want to run the EMUI Flasher from the phone. Make sure you are plugged into Power or the PC via USB. Run the app, it will probably prompt you, if this is the first time, to grant ROOT permissions, as well as to download some Asset files. Just select Confirm. Tap the Select button at the top right for #1 Firmware File, and Allow the permissions to allow it access your filesystem. Find the update_full_base.zip file you downloaded and transferred to the phone earlier. Tap to select it. You don't need to worry about #2 right now, if they push another patch later, I might update this to observe that. But currently we only have the one push. Now tap the RED Circle at the bottom right with the Down Arrow in it. This will reboot into Recovery and flash the update. NOTE: As soon as it is done Flashing, it will reboot, you will want to be ready to hold the Volume DOWN key to boot into Bootloader Mode.

Step 4: Now that we are in the Bootloader. We want to Flash the TWRP Image over to the Recovery Ramdisk. So type the following:
Code:
fastboot flash recovery_ramdisk 
twrp.img
You should get an output similar to the following:

target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (24956 KB)...
OKAY [ 0.627s]
writing 'recovery_ramdisk'...
OKAY [ 0.175s]
finished. total time: 0.805s


Type:
Code:
fastboot reboot
To reboot the phone, then immediately unplug the USB Cable from the Phone. We want to immediately hold Volume UP to boot into TWRP Recovery. Until it says Your Device is Booting.

Step 5: Next we want to flash the current ROM you downloaded earlier. Tap on INSTALL at the top Left. Browse to where you placed the current ROM and tap on it. Swipe to confirm Flash.

Step 6: Now that the ROM has flashed successfully hopefully, we want to go ahead and flash the Magisk Recovery Ramdisk back on the Recovery Ramdisk. Hit BACK to get back to the main menu, tap on INSTALL at the top left, then INSTALL IMAGE at the bottom right. Locate your recovery_ramdiskMagiskAL00.img you downloaded and transferred to your Internal Storage earlier. Tap on it. Now find and tap on Recovery Ramdisk to select it. Lastly, Swipe to confirm Flash.

Step 7: Lastly, we want to put TWRP back on the eRecovery Ramdisk since most likely the Software update overwrote it. Hit BACK till you get back to the main menu, tap on INSTALL at the top left, then INSTALL IMAGE at the bottom right. Locate your twrp.img you downloaded and transferred to your Internal Storage earlier. Tap on it. Now find and tap on eRecovery Ramdisk to select it. Lastly, Swipe to confirm Flash.

That is it, hit BACK to get back to the main menu. Make sure to UNPLUG from any USB Device. Select REBOOT and then REBOOT RECOVERY to boot your system with the Magisk Recovery Ramdisk. It will probably take a little longer the first boot due to the software update and converting some files.

Enjoy the latest software!

Downloads:
Update_Full_Base.zip
Stock Recovery Ramdisk
TWRP-3.2.1-0 for Mate 20X
Magisk Recovery Ramdisk
EMUI Flasher v1.0 Courtesy of @OldDroid from the Mate 20 Pro Forum. https://forum.xda-developers.com/mate-20-pro/how-to/guide-manual-updating-firmware-t3893171

Misc. Downloads:
Stock eRecovery Ramdisk
Hi, EMUIflash stays in loading flashing and don't boot to recovery to install the update. you have idea of this problem?
 
  • Like
Reactions: Konstantine34

cluc

Member
Dec 11, 2013
5
3
0
torino
I just did the update to the new version of the rom... instructions were spot on!!! Thanks. Can the stock app for phone be posted, I don't care for the Google Phone app because it's missing the Block/report spam option for numbers. I do have both Caller ID & spam and Filter spam calls enabled. It was just so easy with the stock app, just press and hold the call you wanted to block and select Add to Blacklist.
you have find the stock app for phone?
 

n1tro

Senior Member
Aug 14, 2007
553
132
0
Step 2: Next, we want to run the EMUI Flasher from the phone. Make sure you are plugged into Power or the PC via USB. Run the app, it SHOULD prompt you, if this is the first time you have ran the app, to grant ROOT permissions, as well as to download some Asset files. Just select Confirm. IF, it did not. go ahead and exit the app and close it out. Run Magisk first and then hit HOME and run the app again so that it prompts. Next, tap the Select button at the top right for #1 Firmware File, and Allow the permissions to allow it access your filesystem. Find the update_full_base.zip file you downloaded and transferred to the phone earlier. Tap to select it. You don't need to worry about #2 right now, if they push another patch later, I might update this to observe that. But currently we only have the one push. Now tap the RED Circle at the bottom right with the Down Arrow in it. This will reboot into Recovery and flash the update. NOTE: As soon as it is done Flashing, it will reboot, you will want to be ready to hold the Volume DOWN key to boot into Bootloader Mode.

Reinstall the app if the root prompt doesn't come up.
 
Last edited:

cflynt

Senior Member
Oct 19, 2008
124
69
0
I just did the update to the new version of the rom... instructions were spot on!!! Thanks. Can the stock app for phone be posted, I don't care for the Google Phone app because it's missing the Block/report spam option for numbers. I do have both Caller ID & spam and Filter spam calls enabled. It was just so easy with the stock app, just press and hold the call you wanted to block and select Add to Blacklist.
you have find the stock app for phone?
The Google Dialer has Spam and Blocker, not sure what you are after, but we have put a ZIP to flash the stock if that is what you prefer in the 3rd post with instructions. You will have to flash that on any ROM update due to we will keep Google as the default.

Enjoy!

---------- Post added at 07:39 AM ---------- Previous post was at 07:38 AM ----------

Step 2: Next, we want to run the EMUI Flasher from the phone. Make sure you are plugged into Power or the PC via USB. Run the app, it SHOULD prompt you, if this is the first time you have ran the app, to grant ROOT permissions, as well as to download some Asset files. Just select Confirm. IF, it did not. go ahead and exit the app and close it out. Run Magisk first and then hit HOME and run the app again so that it prompts. Next, tap the Select button at the top right for #1 Firmware File, and Allow the permissions to allow it access your filesystem. Find the update_full_base.zip file you downloaded and transferred to the phone earlier. Tap to select it. You don't need to worry about #2 right now, if they push another patch later, I might update this to observe that. But currently we only have the one push. Now tap the RED Circle at the bottom right with the Down Arrow in it. This will reboot into Recovery and flash the update. NOTE: As soon as it is done Flashing, it will reboot, you will want to be ready to hold the Volume DOWN key to boot into Bootloader Mode.

Reinstall the app if the root prompt doesn't come up.
There's never any reason to have to reinstall the app, it is an app afterall, just close it by tapping your app manager button and close out that app. Then with Magisk running in the background run it again, it should recognize an app trying to gain root and you can give it permission then.

---------- Post added at 07:41 AM ---------- Previous post was at 07:39 AM ----------

Hi, EMUIflash stays in loading flashing and don't boot to recovery to install the update. you have idea of this problem?
There is a newer version of the EMUI Flasher, might see if it works any better for you. It is still labeled as 1.0 but he did update something for us. Not sure why it would be hanging on you regardless. But I would give it another go. It is possible your download of the update is bad, may need to re-download it.
 
  • Like
Reactions: cluc

ben63vw

Senior Member
Oct 2, 2010
194
55
58
Hi, EMUIflash stays in loading flashing and don't boot to recovery to install the update. you have idea of this problem?
I have the same results, never reboots to recovery (waited over 10min). Also is stock recovery and/or erecovery needed to be flashed or is that done by the EMUI Flasher app? I have all needed files in sdcard/Download/update folder if that matters.
 

freeza

Recognized Developer
May 28, 2006
5,326
14,128
263
Pasadena, CA
www.freeza-inc.com
Can you guys make sure EMUI isn't "optimizing" magisk manager and have it set to manual with all 3 options enabled? EMUI kills magisk manager and doesn't allow su requests or prompts. This could be where the problem is coming from.
 
Last edited:

ben63vw

Senior Member
Oct 2, 2010
194
55
58
Can you guys make sure EMUI isn't "optimizing" magisk manager and have it set to manual with all 3 options enabled? EMUI kills magisk manager and doesn't allow su requests or prompts. This could be where the problem is coming from.
Made no difference, disabled EMUI optimization for both Magisk Manager & EMUI Flasher and set them to manual with all 3 options enabled. Phone still stays on Flashing... and doesn't reboot even though EMUI Flasher has root privileges
 

RedCriwx

Member
Jul 18, 2010
44
24
0
Seville
I have the same issue. EMUI Flasher keeps "Flashing" indefinitely. As ben63vw, root permissions are granted. Tried to redownload the update_full_base.zip a few times. zip integrity seems to be OK, but I still get stuck "Flashing".

Thank you, freeza, for your work!
 

n1tro

Senior Member
Aug 14, 2007
553
132
0
I have the same results, never reboots to recovery (waited over 10min). Also is stock recovery and/or erecovery needed to be flashed or is that done by the EMUI Flasher app? I have all needed files in sdcard/Download/update folder if that matters.
After not being able to trigger root permission after multiple attempts. I went and uninstalled the app and reinstalled. After I granted root and followed the instructions, this is exactly what happened to me also. Left it running for over 10 mins and decided to kill the app. Manually rebooted and the EMUI started the update process. Then I was on 195. Went about installing the beta 3 ROM going through the steps mentioned because 1.4 wasn't released yet.

Went to install 1.4 over beta 3 and it seemed to install alright but then I couldn't get into settings. Had to factory reset the phone to get back into settings. Have to reconfigure all my apps now.
 
Last edited:

cflynt

Senior Member
Oct 19, 2008
124
69
0
I have the same issue. EMUI Flasher keeps "Flashing" indefinitely. As ben63vw, root permissions are granted. Tried to redownload the update_full_base.zip a few times. zip integrity seems to be OK, but I still get stuck "Flashing".

Thank you, freeza, for your work!
Made no difference, disabled EMUI optimization for both Magisk Manager & EMUI Flasher and set them to manual with all 3 options enabled. Phone still stays on Flashing... and doesn't reboot even though EMUI Flasher has root privileges
I added instructions back to the 3rd post for those having trouble with the EMUI flasher. Still don't know why you guys have issues. You might try what some have with the uninstall and reinstall or reboot. I promise it is a much easier method. But regardless, for those that want the old method the instructions are there. Hope it helps. Keep in mind the old method definitely will only work if the current version, 195 in this case, is available in eRecovery for you at the time.

Good luck!
 
  • Like
Reactions: cluc

ben63vw

Senior Member
Oct 2, 2010
194
55
58
I added instructions back to the 3rd post for those having trouble with the EMUI flasher. Still don't know why you guys have issues. You might try what some have with the uninstall and reinstall or reboot. I promise it is a much easier method. But regardless, for those that want the old method the instructions are there. Hope it helps. Keep in mind the old method definitely will only work if the current version, 195 in this case, is available in eRecovery for you at the time.

Good luck!
Thank you to all the devs working in this phone!!! I'm all up to date now, without using the EMUI flasher app. I'll try with the app for the next update.
 

cflynt

Senior Member
Oct 19, 2008
124
69
0
Thank you to all the devs working in this phone!!! I'm all up to date now, without using the EMUI flasher app. I'll try with the app for the next update.
Glad to hear! Maybe next time it will work better for ya, it is a much easier method if it will work for ya.
 

cluc

Member
Dec 11, 2013
5
3
0
torino
Huawei Dialer

For those that aren't fans of the Google Dialer, I am not sure why, but whatever floats your boat. Google Dialer has Video, has Spam and Blocking just like the Huawei Dialer does, only thing missing is the Call Recorder option which can be added by 3rd party, and I'd much rather have video capability. Regardless, it was requested. We have included the flash at the bottom. You can flash it in TWRP. Once flashed, you will need to go into SETTINGS and then into APPS and then into DEFAULT APPS, and set your PHONE APP to reflect the proper dialer you wish. The flash actually removes the Google Dialer from the system, but it won't remove any Google updates that have been done, so most likely it will still show up in the system. So just make those changes and it will now be your default dialer for incoming/outgoing. Enjoy. Note: All ROMS will ALWAYS come with the Google Dialer. You will have to flash this ZIP anytime we do a ROM update if you wish to use the Huawei Dialer. Keep that in mind moving forward.

Google Dialer

For those that flashed the Huawei Dialer and wish to return back to the Google Dialer can download the Zip at the bottom of this post. You will flash it the same way as you did the Huawei zip in TWRP. This will remove the Huawei Dialer from your phone and put the Google Dialer back in the system. It should become your default, but just in case any updates happened that downloaded anything out of our control you can double check your default apps. Go into SETTINGS and then into APPS and then into DEFAULT APPS, and set your PHONE APP to reflect the proper dialer, in case 2 show up there. Note: You will only need to flash this if you are wanting to return to the Google Dialer from flashing the Huawei Dialer. All ROMS come with the Google Dialer and always will. So this is the only time you will have to mess with it.

China last beach?
https://nllapps.com/apps/acr/google-denies-phone-number-accesss.htm
 
Last edited:

Steamer2499

Senior Member
Oct 27, 2012
341
62
58
61
Roanoke
I have the same issue. EMUI Flasher keeps "Flashing" indefinitely. As ben63vw, root permissions are granted. Tried to redownload the update_full_base.zip a few times. zip integrity seems to be OK, but I still get stuck "Flashing".

Thank you, freeza, for your work!
If you uninstalled or froze the EMUI software update, that is your problem. Unfreeze or reinstall and problem solved... Worked for me...