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.
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.