AICP-mordiford for Project Treble

Unofficial AICP GSI with some improvements and kawaii💖


flash_on

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!

group

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!

thumb_up

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.
    To disable, please run these commands:
    su
    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:
    su
    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.
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!


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.


FAQ

  • 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.
    1. com.google.android.gsf.login
    2. com.google.android.gsf
    3. com.google.android.gms
    4. com.android.vending
    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

Note: All Project Treble enabled devices should work. Some are listed here.


We need your support

My build server has Core-i7 7700, 250GB SSD (for OS), 1TB HDD (for saving data). Building roms on HDD is too slow and currently I can only build arm64 vanilla builds to save my time. If you want me to build other variants, please consider donating to buy larger SSD...