Feb 18 2024
technical howto

Installing a custom ROM on Huawei hi6250 devices

About installing a custom ROM on Huawei hi6250 devices.

WAS-LX1

Preface 🔗︎

This guide is for madmen who will attempt to install a custom ROM on these devices. Because of how Huawei made its smartphones, we need to follow more complicated steps than when flashing custom ROMs on other OEMs.

For unlocking the bootloader/FRP see PotatoNV.

Android 8.1 🔗︎

The target version for these devices, I recommend installing it, because other versions will feel less snappy and responsive. Also after installing a bunch of Android versions I came to appreciate this version, as the best version of Android.

In these steps I don’t really know what made possible installing it, because it was a big headache for me with all these options at hand. I will be referring to ‘decrypt kit’ as the following scripts, they are scattered on the xda forums of Huawei p8 lite 2017 and Huawei p10 lite:

Steps:

Other versions 🔗︎

For AOSP up to Android 11 (without Gapps!) there’s no need for resizing the system partition on the stock, but for LineageOS (from AltairFR) you need to follow the resizing steps from this thread, do resizing on Windows, because Linux scripts are incomplete! I had installed LineageOS 18.1 with Android 11 and it was working mostly well, but I think that it’s too much for this phone at this stage, so I reverted to AOSP.

For installing AOSP I followed this thread. It didn’t pass the splash screen so I flashed it again, this time I decrypted the data partition using DarkJoker’s utility and AltairFR’s from the Lineage thread, I also flashed Magisk (don’t know which of these worked, I think that decrypting and Magisk combined). Also I looked into /vendor/etc/fstab file and didn’t have encryption, see this thread.

I also installed the LineageOS 17.1 (Android 10) from DarkJoker, and it costantly restarted the System UI. To fix it I did this (basically first wiped everything with DarkJoker’s TWRP, then flashed Dil3mm'4s TWRP with it I flashed then the system.img, and everything worked well).

Regarding the WebView and browsing the web 🔗︎

AOSP (Android 10, 11), and Lineage (Android 10, 8.1) from DarkJoker360 don’t have updated webview, which is necessary for browsing the web on older devices, because for example on Fennec browser (with GeckoView) Github took 15 seconds to load, but on Fulguris browser (with system webview AND ad-block) 5 seconds, I’m using the Github as a benchmark, because it’s the most bloated website I know of. Version 81 is working fairly well with rendering every page (except for the Github README.md file only, and WSJ). Version 86 can render Github correct.

There are a few WebView providers e.g. Mulch, Bromite, or Vanadium which have more up-to-date versions, that will need to be used in the future.

Sidenote 🔗︎

All of this took me about 3 weeks in total with more than 50 hours in. I won’t buy a Huawei phone ever again :/