I have Tecno Spark 10 Pro and would like to install lineageOS or other degoogled firmware, but how can I do this if my phone is not in the list of supported ones?
I have Tecno Spark 10 Pro and would like to install lineageOS or other degoogled firmware, but how can I do this if my phone is not in the list of supported ones?
First things first: I’d check to see if there’s an Unofficial image. Consider that and, while you’re at it, also consider the risks or making an unofficial build your daily driver. Phones are now vital infrastructure, and you can really strand yourself if an unreliable image bricks your device, or throws some weird comms error that strands you in an airport at the wrong end of your journey.
This is Advanced Technique, no matter how you dice it. One of those One Does Not Simply… 👌" things. Caveat emptor, here be dragons, …
*** YOUR WARRANTY IS NOW VOID. ***
Still reading? Brave soul.
Broadly, you’ll need the factory image for the device to extract the binary linked objects (“blobs”) that drive the actual hardware: the modems, camera, SIM card and whatnot. The necessary blobs would be listed in the developer guide.
Then you’ll need to configure and build the system image. You can do this on Windows, but it’s certainly easier on some sort of Linux platform… If you don’t already have one handy, you could run one in a VM or Vagrant image (if windows) or whatever Apple the equivalent is for that platform. You’ll need to build the compiler environment to wth mukti-arch support for cross-compiling your phone’s architecture. Oh, you’ll also need to know tour phone’s architecture, I.e., what SoC and firmware it uses.
Finally, youlo need to unlock your bootloader and either find or build a compatible recovery image to load the system image, and the Gapps if you’re using them.
Pretty much ALL if this is an exercise for the reader. The reason there aren’t more official I mages for less popular platforms is because maintaining an official image is A Lot Of Work. For many maintainers it’s a labor of love.
Does this require that you somehow have access to the original firmware for the device? Or are you able to extract this from the firmware already installed on the device?
Yes, but they’re generally not hard to come by. Many of the device manufacturers make the factory images available for download on their support site, and those would have the necessary images and blobs.
Or, if there’s an unofficial build for your device they would be included there.
If you’re able to unlock your bootloader and then load a compatible recovery, you can take a “nandroid” image of the device to offload to your PC. The blobs would be encoded in there, you’d just have to sort out extracting the right files from the right backup files.
So, you’ve got a few options.