Your data. Your choice.

If you select «Essential cookies only», we’ll use cookies and similar technologies to collect information about your device and how you use our website. We need this information to allow you to log in securely and use basic functions such as the shopping cart.

By accepting all cookies, you’re allowing us to use this data to show you personalised offers, improve our website, and display targeted adverts on our website and on other websites or apps. Some data may also be shared with third parties and advertising partners as part of this process.

Background information

Old smartphone hardware with Android 13: my custom ROM journey

Martin Jud
12-5-2023
Translation: Megan Cornish

For the past three months, a cheap, four-inch smartphone has been my daily companion. It has an old processor from 2018 and runs on Android 11. More precisely, it ran on it until recently. Because I’ve successfully updated it to Android 13.

This article is about custom ROMs and the amount of preparation and installation required to add them to an Android smartphone. Custom ROMs are modified versions of the free Android operating system developed by Google that can breathe new life into an old smartphone.

If you want to find out more about my mini phone and my initial struggle with its small keyboard, you can read the article below.

Caution: it could void your warranty and be time-consuming

I can get over the loss of warranty on my smartphone, which only cost me 96 francs/euros including delivery. Otherwise, an alternative, manually installed Android version is recommended, especially for older devices that no longer receive (security) updates. Generally speaking, you should come to this project with patience and time and expect something to go wrong.

At worst, you’ll no longer be able to use the smartphone. At best, you’ll have fun from the start and be able to celebrate after successful installation. With a little reading and good preparation, installing a custom ROM isn’t impossible. If you have the will and the desire to do it, you’ll (probably) manage it.

Finding suitable custom ROMs

But what if there’s no custom ROM for your smartphone? I can’t find a custom ROM that’s been adapted for my Cubot KingKong Mini 2 Pro on XDA or anywhere else. But there’s one last chance: Generic System Image (GSI). A GSI is also a custom ROM, but it’s not adapted for a specific device.

The prerequisite for installing a GSI is that the smartphone comes with at least Android 8 and its bootloader is unlocked. Why Android 8? Because that was the first version to integrate Google’s Project Treble, which modularises Android and separates device drivers from the rest of Android. This makes it easier to update the smartphone software.

Potentially suitable ROMs located: what to look out for before making a final decision

How much Google do you want?

This made me stop and think. Hang on, what exactly do I actually want?

I asked myself:

  • Do I want to use all Google apps on my smartphone?
  • Are just some Google apps enough?
  • Can I do without Google completely?

I quickly realised that I wanted to keep a little Google (for now). Mainly because I want to continue using my purchased apps from the Play Store. And secondly because I haven’t really looked at which replacement apps I’d use for my handful of Google apps in the future.

Nik offers various Google app packages (NikGApps) on nikgapps.com which I could install later. The core package shown in the screenshot below is my idea of «a bit of Google». Only installing as much from Google as I need for the apps I use sounded good.

It meant that I could pull the apps I’m missing – Gmail, Maps and Chrome – from the Play Store and use them without any problems. Looking at the other packages, I have to smile, because I read that the whole raft of Google software communicates with servers hundreds or even thousands of times a day, which drains smartphone batteries much faster. It’s comparable to Microsoft’s Windows telemetry data.

Once I was aware of the normal amount of Google software, I was even more excited about a custom ROM. Would one charge soon be able to last more than a day?

Administrator rights: what’s needed for root access?

I also wanted to secure administrator rights, which is root access on Android. On a rooted smartphone, you can install apps with features that don’t work as well or at all without root access, such as good ad blockers.

So, I chose to rely on Magisk, which receives regular updates and also offers the option of installing a lot of useful modules. For Magisk to be installed, the custom ROM has to support read and write permissions for the system. I’ll explain more about root, installing Magisk and my favourite root apps in a separate article or two soon.

Important: before downloading a GSI, check your CPU architecture and partition layout

You can easily find the architecture and this layout via the Treble Info app. Once it starts up, it displays the following on my smartphone:

I could see that my device is generally suitable for Project Treble (GSI) and «system-arm64-ab.img.xz» tells me that it has an ARM64 architecture. If I click on Properties in the app, I’ll find that there’s also a 64-bit binder architecture. There are also ROMs where the binder architecture differs from that of the processor.

LeaOS: my Android 13 GSI of choice

During further research, I came across LeaOS. I like it more than my first two candidates – which have confusingly similar names. So, I wanted to install it.

I was taking a risk with Lea, as there are no reports on whether it’s stable and error-free on my Cubot smartphone. But the GSI from developer AltairFR has everything I could want:

Installing a new alternative Android

For my project, I needed a driver for my Cubot smartphone and the SDK Platform Tools with ADB.

Then I made sure my smartphone had the latest version of Cubot’s stock Android 11 installed. Also, I downloaded the image of the same version from Cubot.

After that, I followed orangestate’s instructions which I mentioned earlier. In summary:

This was actually it. On top of that, I flashed a final file called lk_patched.img. This prevents Cubot from displaying in orange that I’m out of warranty when I start the smartphone. Since this only happens during the booting process, this step isn’t absolutely necessary. Nevertheless, I want to spare myself the message.

After all this, I restarted the smartphone and waited for Android 13.

How well Android 13 runs on the mini phone

Woohoo, it works! After restarting it, Android 13 greeted me and I could start setting up the smartphone as if I’d just bought it. After a while, everything was back to how it should be. Apart from the Play Store, Play Services and Android Auto, Google apps aren’t available after installation. However, I have to point out that the pre-installed calendar app from AOSP didn’t work for me. so I reinstalled the Google Calendar app from the Play Store.

Other than that, there were no other initial issues. Google recognises my smartphone without any problems and I can use my purchased apps – which isn’t always the case for smartphones with custom ROMs.

The apps run neither faster nor slower than on Android 11. This means that my KingKong is still slow in some apps and on longer websites. But the AOSP launcher from Android 13 and my preferred Smart Launcher 6 are smooth without no stuttering.

All in all, I’m very satisfied – the effort was worth it. And, luckily, when a newer version of LeaOS comes out, I won’t have to go through everything again. All I have to do is flash the new GSI over the old one.

My tiny phone will definitely not be the last one I breathe new life into. If you still want more after this slightly longer custom ROM journey, you won’t be disappointed. I’ll also be documenting my root journey. You’ll also soon find out what root allows you to do and which root apps have become virtually indispensable for me.

Header image: Martin Jud

55 people like this article


User Avatar
User Avatar

I find my muse in everything. When I don’t, I draw inspiration from daydreaming. After all, if you dream, you don’t sleep through life.


Background information

Interesting facts about products, behind-the-scenes looks at manufacturers and deep-dives on interesting people.

Show all

These articles might also interest you

  • Background information

    My favourite root apps for Android 13

    by Martin Jud

  • Background information

    Android 13 and my journey to root access

    by Martin Jud

  • Background information

    Is a four-inch smartphone too small?

    by Martin Jud