Skip to content
@IRMP

IRMP

In-RAM Mobile Ports — booting legacy Android & alternative OSes purely in RAM (tmpfs) on modern smartphones

IRMP — In-RAM Mobile Ports

Booting legacy Android & alternative OSes purely in RAM (tmpfs) on modern smartphones.

Target Boot Graphics Kernel


What is IRMP?

Modern smartphones ship with locked-down vendor stacks, GKI 5.x/6.x kernels, Project Treble, dynamic partitions, and proprietary GPU drivers that make porting legacy Android versions slow or destructive.

IRMP (In-RAM Mobile Ports) takes a non-destructive, in-RAM Proof-of-Concept approach — keeping your device's internal system, vendor, and userdata partitions untouched while booting legacy Android directly into RAM:

  • Stock GKI Kernel + Vendor .ko Reuse — No kernel rebuilds from scratch; load only curated vendor modules (DRM/KMS, DSI panel, touchscreen, USB Type-C/UDC, PMIC, clocks).
  • Two-Stage initramfs → tmpfs Boot — Overcome 8 MB–64 MB boot/init_boot partition limits with a tiny Stage 1 BusyBox + FunctionFS mini_adbd environment, then push compressed userspace into tmpfs and switch_root.
  • DRM/KMS + Software OpenGL ES HAL Shims — Bridge legacy SurfaceFlinger / gralloc / hwcomposer to Linux /dev/dri/card0 dumb buffers + libGLES_android.so, avoiding proprietary GPU reverse-engineering.
  • Targeted Userspace Adaptation — Binary-patch legacy init SELinux loading, mount binderfs → /dev/binder, replace legacy android_usb sysfs with configfs FunctionFS, and trim unneeded subsystems.

Repositories & Active Ports

Repository Target OS Supported Devices (Branches) Status
IRMP/Android-5.1 Android 5.1.1 (Lollipop, arm64-v8a) Google Pixel 7 (panther) — Pixel-7 Active PoC

Repository & Branch Convention

Every OS repository under IRMP follows a clean branch-per-device layout:

Branch Contents
main Shared architecture docs, cross-device tools (mini_adbd, drm_test, simg2img), Bionic HAL headers, CI
<Device-Name> (e.g. Pixel-7) Device-specific HAL shims (gralloc, hwcomposer), kernel module extraction scripts, init.rc adaptations, and boot instructions

Safety & Disclaimer

Warning

All IRMP builds are engineering Proofs-of-Concept, not daily-driver ROMs. Cellular/RIL, Wi-Fi, Bluetooth, camera, audio hardware, and sensors are stubbed or disabled unless stated otherwise. Always back up stock boot, init_boot, vendor_boot, and vbmeta images before flashing or booting test artifacts.

Contributions, new device branches, and new OS ports are welcome — see CONTRIBUTING.md.

Pinned Loading

  1. Android-5.1 Android-5.1 Public

    In-RAM live ports of Android 5.1 (Lollipop, arm64) to modern smartphones

    C

Repositories

Showing 2 of 2 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…