Mate 20 X EVR-AL00 Debloat via Flashable ZIP

Tweetytek

Senior Member
Oct 19, 2014
62
56
0
I am making good progress with a flashable ZIP file that can be flashed using the diagnostic factory mode. The ZIP takes a current EMUI ROM base and debloats it removing Chinese langauge apps and unnecessary Huawei branding. Useful frameworks such as Motion, Gestures, AoD, etc. are retained. Going forward I plan to develop the solution further so that you will be able to modify a customisable config file that will specify what packages you want to retain, and select a downloaded EMUI ROM for the device that will be customised as per your instruction , resulting in a ZIP file being pushed to your device and you then simply need to reboot and allow the phone to flash the update. Simple ! Therefore, each time a new stock ROM is released then this tool simply needs to be run against your customisation !

Development so far-

1. I now have a method of entering the hidden factory mode allowing a ZIP package to be flashed from internal storage , so you can simply download the ZIP to your Download folder and flash from there.
2. I have a method of saving an OTA to file.
3. I have identified the ROM GPT for the device and all partitions and sequencing; this allows me to extract all partitions contained within an Huawei ROM.
4. I am currently interrogating a sample Huawei patch ROM to discern the method of patching filesystems - which i determined is basically is an overlay of the filesystem. This makes things easy as it allows a reverse image creation from a stock partitions minus bloat removed.
5. Next step is to attempt creation of a simple patch ROM using analysis obtained from 1-4 above, and trial this out on my device. This will involve CSC and SHA256RSA creation and will need to determine a method for this. Following that I need to consolidate everything into a script. Going even further, I plan to develop a GUI app which will aid N00bs
6. Following trials I will publish the ROM and instructions with sources so that anyone in the community can examine if they so desire.

* ALL WITHOUT ROOT *

HELP NEEDED:
Anyone with a rooted device , and able to "adb root" into their device as "root" , please PM me as i could do with information that you can obtain a lot easier than I can.
 

Rudolpht

Senior Member
Sep 5, 2011
1,102
252
103
Update: Rooted if need any adb feedback per OP. I haven't TWRP'd and re-ROM'd but I'm going to go back update 195 and repatch. Each time is a big hassle (just remembering steps).

I think this is great. I can probably give a hand Fri afternoon.

Sent from my HWEVR using XDA Labs
 
Last edited:

Tweetytek

Senior Member
Oct 19, 2014
62
56
0
The guys busy and has a life. Leave him be.
Thank you Abdul. I watched in disbelief as i saw members post comments about me... They will not now be getting the solution.
I need a card for the phone but it doesn't use SD its a type i can't get get hold of.. Some nVcard ?? Anyway.. I'm continuing search and development. There's a hidden menu that you can use to flash a zip from the card you see... I'll PM you abdul when I'm closer..others can go for a hike
 

ben63vw

Senior Member
Oct 2, 2010
194
55
58
Thank you Abdul. I watched in disbelief as i saw members post comments about me... They will not now be getting the solution.
I need a card for the phone but it doesn't use SD its a type i can't get get hold of.. Some nVcard ?? Anyway.. I'm continuing search and development. There's a hidden menu that you can use to flash a zip from the card you see... I'll PM you abdul when I'm closer..others can go for a hike
I PM'd you shortly after you started this thread offering my help since I have a rooted AL00. The memory card is Huawei proprietary card called NM Card (nano memory card - SD card the same size as nano SIM card) here's a link for them at Amazon (not an affiliate link) https://www.amazon.com/Huawei-Memory-Mirco-Compact-Flash/dp/B07KS8JBFH and they are quite expensive compared to micro sd cards.
 
  • Like
Reactions: Abdul Oxford

mscion

Senior Member
Jul 26, 2011
2,001
1,079
183
North Potomac
Thank you Abdul. I watched in disbelief as i saw members post comments about me... They will not now be getting the solution.
I need a card for the phone but it doesn't use SD its a type i can't get get hold of.. Some nVcard ?? Anyway.. I'm continuing search and development. There's a hidden menu that you can use to flash a zip from the card you see... I'll PM you abdul when I'm closer..others can go for a hike
Sorry about some folks being rude. You see it at times but I was surprised when I read it. Regardless, your finding is interesting. Where is the hidden menu you can use to flash a zip from? I wasn't planning on getting a nano sim because they are pricey. But if it is possible to do as you say I'll provably get one. Is there also an option to flash zip from file on computer? Thanks for your efforts!
 
  • Like
Reactions: Abdul Oxford

BB55

Senior Member
Nov 6, 2018
78
9
8
Thank you Abdul. I watched in disbelief as i saw members post comments about me... They will not now be getting the solution.
I need a card for the phone but it doesn't use SD its a type i can't get get hold of.. Some nVcard ?? Anyway.. I'm continuing search and development. There's a hidden menu that you can use to flash a zip from the card you see... I'll PM you abdul when I'm closer..others can go for a hike
Fully understand your viewpoint but please take into account that the insensitive and pointless posts made by some here do not reflect or represent the majority view of forum members.
 
  • Like
Reactions: Abdul Oxford
G

GuestK00449

Guest
Thank you Abdul. I watched in disbelief as i saw members post comments about me... They will not now be getting the solution.
I need a card for the phone but it doesn't use SD its a type i can't get get hold of.. Some nVcard ?? Anyway.. I'm continuing search and development. There's a hidden menu that you can use to flash a zip from the card you see... I'll PM you abdul when I'm closer..others can go for a hike
You can use an USB OTG and a usb stick. Works with the hidden menu trick thing. They can be found for pretty cheap price