Building for old phones

Is it possible, and what would it take, to build a modern ROM for an ancient phone like the Samsung Gio S5660M ? https://www.gsmarena.com/samsung_galaxy_gio_s5660-3741.php

My goal is to revive these nice compact old phones (with replaceable batteries :slight_smile: ) for use as WiFi IP handsets with SIP clients. But as you can see, old phones don’t get much attention: https://forum.xda-developers.com/legacy/galaxy-gio/recent-stable-rom-gio-gt-s5660-t4174685

It doesn’t need to be the latest version, just a reasonably modern de-googled ROM ideally supporting Aurora Store, and capable of running on the meager 278MB of RAM and crazy tight 156MB of internal storage (though it has a 2GB microSDHC card).

I’m not familiar with building ROMs myself, but could learn. Is there any hope for these old phones?

If you will find any newer device, kernel and vendor sources for it you can try. But it will be a really hard work to adjust the sources to lineage build rules. I have tried it once and I have needed several month and thousands of builds til I get it working.

What is the latest android version of a custom rom available? And is there a custom recovery available?

My thoughts are: it won’t work. Sorry

Internal storage : 158MB
RAM. : 278MB

Seems not suffisant

There are other custom ROMs and recovery tools available for this phone, such as:

Cyanogenmod 11 from 2015 https://forum.xda-developers.com/legacy/galaxy-gio/rom-cyanogenmod-11-28-03-2015-t3066771
using this kernel source https://github.com/HerroYou/android_kernel_samsung_msm

ClockWorkMod Recover from 2012: https://forum.xda-developers.com/showthread.php?t=2577416

I’ve also seen mentions of TWRP being used but I’m not sure which builds or download sources.

It seems something is possible, but I don’t know what is the most recent, if it still works, and whether it could be adapted to build a more modern ROM.

Are there minimum requirements for /e/ or other modern ROMs?

I did find some custom ROMs for this phone linked above, so maybe there is some possibility?

Minimum source branch buildable for /e/ is nougat, los cm 14.1, aosp 7.1.2

I have no values, but the device /system partition size seems not enough.
Also /internal storage seems not enough.

some quite old phone (8go/storage) witch are In the official supported list can’t upgrade anymore, stuck on nougat, nor can’t receve the complete set of /e/default apps.
dev have to build minimal version

Ok, if /e/ can’t be built for it, are there suggestions on making the phone usable somehow as a WiFi IP phone? Ideally without requiring google accounts.

The currently loaded android version 2.3.4 is probably not supported by the Play Store (previously known as Market as installed) and most modern apps.