FlokoROM GSI

Unofficial FlokoROM GSI for Project Treble ready devices💖


Our GSI-specific changes

  • * Changes model name based on vendor implementation instead of just "Phh-Treble vanilla".
  • * Use Snap instead of AOSP camera app.
  • * Add patch for Mi 9 framework.
  • * Add patch for Mi 9 fingerprint sensor (not working on AOD).
* Additionally, you can install this Magisk Module to fix BT in-call and some other things on Mi 9. Source: GitHub
Please visit FlokoROM official website for more info.


How to flash

  1. Download GSI for your device
    NOTE:
    Project Treble has two version - if your device was shipped with Android 9+, it's Treble-ready. If your device was shipped with Android 8.x or lower, it's "Legacy Treble" device.

    For Treble-ready devices:
    If your device is arm64, download "system-arm64-ab-vanilla-nosu.img"

    For "Legacy Treble" devices:
    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"

    ...If your device is arm, sorry we don't have build for it.
  2. Reboot to bootloader or recovery
  3. Flash/install to system
    e.g. If you are in fastboot mode:
    fastboot flash system [insert image name here]
  4. If you need Google apps, flash GApps ZIP in recovery before rebooting
  5. (Optional) Do factory reset if you flashed GSI over other roms
  6. Profit!
  7. NOTE: Please don't use third-party custom rom (e.g. Xiaomi.eu roms) as the base rom. Some hacky roms have wrong (unofficial) fingerprint and GSI can't detect what device you are using.


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 some devices 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



Looking for AICP-mordiford GSI?

AICP-mordiford was based on AICP O 13.1 (Android 8.1 Oreo). We stopped building it since official AICP team stopped security update for Oreo.


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... Also please support hota, the main developer of FlokoROM.