[GSI][9.0][Compatible] AOSP Phh-Treble v109 (and above)

Search This thread

eremitein

Senior Member
May 16, 2017
1,178
1,520
Xiaomi Mi A2 Lite

Attachments

  • Screenshot_20190812-204141.png
    Screenshot_20190812-204141.png
    149.3 KB · Views: 136
  • Screenshot_20190812-204046.jpg
    Screenshot_20190812-204046.jpg
    77.9 KB · Views: 138
  • Screenshot_20190812-204001.jpg
    Screenshot_20190812-204001.jpg
    102.6 KB · Views: 135

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    Hi, all!:)


    Simple instruction how to install AOSP rom. Plus overview and feedback, i hope)

    First, you need:
    1.1. basic knowledge how to using ADB, fastboot and recovery
    1.2. clean flashed 9.6.11.0 stock rom

    Files:
    2.1. TWRP for daisy (official or patched by me for external SD-card and UTF-8 support)
    2.2. GSI v110 AOSP rom for arm64-ab (gapps and vanilla variants tested by me)
    2.3. attachments

    Procedure:
    3.1. format you DATA with recovery (!CAUTION! all files from internal storage will lost!)
    3.2 on the PC unpack *.xz rom archive to system.img with 7-Zip archivator
    3.2. connect phone to PC and go to bootloader mode
    3.3. flash unpacked rom image:
    fastboot flash system system.img

    3.4. when done, run TWRP:
    fastboot boot twrp-3.2.3-0-daisy.img
    /or fastboot boot twrp-3.2.3-0-daisy_zero.img/

    3.5. in TWRP mount /vendor partition and run on the PC (this fix for disable ForceEncryption):
    adb push fstab.qcom.txt /vendor/etc/fstab.qcom

    3.6. in TWRP mount /system partition and run adb:
    adb push uinput-goodix.kl.txt /system/system/usr/keylayout/uinput-goodix.kl

    this fix tuning fingerprint gestures: swipe from left2right is "paste-text-from-buffer", swipe from up2down is "wakeup-screen"

    3.7. unmount partitions and reboot to system from TWRP. all done!!!:fingers-crossed:


    .
    4
    Overview of ROM is here https://xdaforums.com/showpost.php?p=78744887&postcount=1481

    one bug is founded - camera not worked in DnD mode



    add: phhusson gave quick fix for camera in DnD mode!

    just do it:

    adb root
    ...(...wait 1-2sec...)...
    adb shell "echo audio.camerasound.force=true >> /data/local.prop"
    adb shell "chmod 0600 /data/local.prop"


    then restart phone))


    .
    3
    Is there a way to re-calibrate accelerometer and proximity sensor? I've tried some apps from playstore but it only works for a while.
    Sorry for off-topic post.

    oh i really don't know how to open engineering menu in the GSI

    try to ask in phhAOSP tg chat https://t.me/phhtreble
    2
    first post updated!

    new v110
    and change base stock to 9.6.11.0

    https://xdaforums.com/showpost.php?p=78752055&postcount=1
    2
    because i can't install TWRP, when i boot says "the system has been destroyed" :mad:
    because you doing it on the Pie stock

    my instruction for Oreo stock