AICP-mordiford for Project Treble

Unofficial AICP GSI with some improvements and kawaii💖


No Need to Build Your Own ROM

With Project Treble, we no longer need to build custom roms for our own devices - build one generic image, flash it and profit! If your device properly supports Project Treble, you can safely flash GSI (Generic System Image) on devices running with all SoCs including Snapdragon and MediaTek - even Kirin and Exynos!


User Experience Focused

AICP is a one of the most stable and powerful ROM. With the power of Project Treble and Phh-Treble, we can now enjoy AICP experience on more devices. The device-specific bugfix and improvements are coming continuously!


Akane Time Instead of Yoga Time

AICP has "Yoga time" easter egg in AICP Extras, but GitHub recently banned it because it's too sexy. AICP-mordiford has "Akane time" instead - the picture of Aikawa Akane, the ambassador of the Mastodon instance, :don:.

Our GSI-specific changes

  • * Changes model name based on vendor implementation instead of just "Phh-Treble vanilla".
  • * Uses Snap instead of AOSP camera.
  • * Enabled Camera API 2 in Snap for Sharp AQUOS S2.
  • * Added power profile for UMIDIGI Z2.
  • * Fixed UI size on the first boot for Xiaomi Mi Pad 4.
  • * Enabled proximity check on screen wake for Sharp AQUOS S2 and Xiaomi Mi Pad 4.
  • * Force bottom navigation bar for Xiaomi Mi Pad 4.
    Note this feature only work with stock navigation bar.
    To disable, please run these commands:
    setprop config.force_bottom_navbar 0

    then reboot or restart system ui.
  • * Force tap to wake for Xiaomi Mi Pad 4 (with FocalTech touch panel).
    To disable, please run these commands:
    echo 0 > /sys/devices/soc/c177000.i2c/i2c-3/3-0038/fts_gesture_mode
  • * Fixed minimum brightness for Xiaomi Mi Pad 4.
    NOTE: Currently notification LED is half broken.
  • * Enabled Wireless display.
Source: GitHub

How to flash

  1. Download GSI for your device
    If your device is arm64 and supports A/B seamless update, download "system-arm64-ab-vanilla-nosu.img"
    If your device is arm64 and doesn't support A/B seamless update, download "system-arm64-aonly-vanilla-nosu.img"
  2. Reboot to bootloader or recovery
  3. Flash/install to system
  4. If you need Google apps, flash GApps ZIP in recovery before rebooting
  5. (Optional) Do factory reset if you flashed AICP GSI over other roms
  6. Profit!
  7. NOTE: Please don't use third-party custom rom (e.g. roms) as the base rom. Some hacky roms have wrong (unofficial) fingerprint and GSI can't detect what device you are using.

Differences between AICP and AICP-mordiford

  1. frameworks_base:
    Screenshot: Move imageDate to forward
  2. lineage-sdk:
    Add Japanese translation for accent color
  3. packages_apps_AicpExtras:
    Update Japanese translation
    Change Easter egg
  4. packages_apps_DUI:
    Add DUI
  5. vendor_aicp:
    bootanimation: Disable randomize
    packages: Remove Eleven
    version: Stop override USER to android-build
  6. NOTE: AICP-mordiford is unofficial build. Please do not post any bug reports or issues to AICP official community.
    You can donate to AICP official team at official page.


  • Q. I installed Open GApps but got many force stops...
    A. To install Open GApps without force stops, you have to install 4 apks before flashing Open GApps.
    Please search at APKMirror and install 1 to 4 in order, then reboot to recovery and flash Open GApps.
  • Q. My device doesn't recognize IMEI / can't use Dual SIM.
    A. Currently treble roms can't use Dual SIM (SIM slot 2). Please insert SIM to slot 1 and leave slot 2 empty.
  • Q. MTP is not working! How can I enable?
    A. Please open developer option and change USB config. If it doesn't work, check if your PC is recognizing your device as MTP device in device manager. Often Windows recognize the device as "Unknown" and you have to manually set/install MTP driver for the unknown device.
  • Q. How can I fix rounded cornor?
    A. Please run this command ("8" will be different for each devices):
    adb shell settings put secure sysui_rounded_content_padding 8
  • Q. How can I get back to stock rom?
    A. You have to flash stock system image to system and wipe data in fastboot or recovery.

My testing devices

AICP O 13.1:
AICP P 14.0:
Note: All Project Treble enabled devices should work. Some are listed here.

Wait, what is AICP P 14.0?

AICP P 14.0 is the next version of AICP based on Android 9 Pie. It's in development and there are less features and more bugs than Oreo for now. Please do not ask me or AICP official team to fix the bugs.

We need your support

My build server is also my daily driver, so I can only build the rom at weekend. I want dedicated PC for the building...