• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[OFFICIAL] AOSP Q Mod //CAOS

Search This thread

eremitein

Senior Member
May 16, 2017
1,133
1,416
Xiaomi Mi A2 Lite
C A O S


Your warranty is now void!
We're not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this ROM
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at us for messing up your device, we will laugh at you


CAOS (Custom AOSP OS)
is a project which based on @phhusson's Treble GSI AOSP 10. I began it because original project have not only pros (stability, speed, support) but also some issues and limitations - pure AOSP code have some bugs / haven't much useful things and it's a hard way pulling it. So i did this fork. System can run with SELinux enforced state, as an original Phh AOSP GSI. Fully compatible with PHH-Treble patches exclude few low level changes: no root app, no "su" binary in system; by default exist file /system/phh/secure (for Google Certification PASS), so if you can boot AOSP GSI, but can't boot CAOS - try to removing that file

UPDATE VERSION
latest build: 2020.10.29
treble patches: v222+
SPL: 5 Oct 2020


FEATURES/CHANGES
• no in-built root
• supports signature spoofing
• changed Phh Settings "Main Icon"
• and Phh Settings moved to the bottom
• in vanilla builds used Bromite webview
• changed visual style, color accent (like Pixel)
• search bar removed from the launcher main screen
• no problems with alarm Clock and SMS notifications
• added three-fingers-swipe to screenshot gesture
• added call recording in Dialer (not supports on all devices)
• added QS tiles: NFC, HeadsUp, Volume panel, USB-tethering
• tuning of the status bar, icons more tightly to each other
• fixed status info of security patches (system and vendor)
• in default launcher added double tap for screen-off gesture
• now some pre-installed Apps can be disables from Settings
• fixed doze pulse notifications (wake-up screen, ambient mode)
• fixed offline charger to works in enforced mode (still not for all devices)
• disabled "Customize your Pixel device" and other annoying suggestions
• fixed issue leads to enter deep doze and disable GPS when driving
• on battery saver auto dark mode disabled, you can choice light/dark theme
• in stock camera removed HAL3 green artefacts which exist on few Xiaomi devices
• fixed error when uninstalling some programs (when plugged SD-card with vFAT FS)
• replaced apps: Gallery, Keyboard, Calendar, Dialer, Messaging, Contacts, Calculator - all supports dark theme
• disabled some disputable Google components, for sample is fixed overall WiFi speed in the aggregate with GPS + Bluetooth
• added header padding tuning - set top-indent for QS and Settings screen, useful for devices with huge display (now is experimental, not all settings menus support this)
• in Display menu added an custom options to choice: color accent, font, icons style, icons shape, QS rows&columns, dark theme style etc
• on my device (with stock vendor) Google Play certification passed without any patches and Magisk, just works out-of-the-box
• option to set system UI optimization level (use careful, do not set IPS level for OLED)
• fixed DeskClock widget (with the GoogleSans font was cropped)
• added 0.2x, 0.8x and 1.2x to the animation speed selection menu
• set default animation speed to the 0.8x
• turned off the indicator flashing when the battery level is low
• added option "Swipe for notifications" for fingerprint scanner
• in Dialer added option to set fullscreen contact's photo
• disabled advance anti-falsing classifier on the lockscreen
• stock AOSP sounds replaced with Q Google sounds
• DPI change setting is now in the "Display" section
• IMEI info is hidden under each available SIM card
• option to hide pill in full gestural navigation mode
• added additional CLI utils: 7z, ntfs-3g & vim
• added SELinux status info into the Settings
• French and Russian translations for custom settings
• added autobrightness icon to the QS brightness slider
• removed annoying build number in QS footer
• added recovery option to the reboot menu
• removed ugly divider lines in Settings UI
• added doubletap-to-sleep on lockscreen
• added height controller for Q-gestures
• separated toggle for screenshot sound
• for Mi A2 Lite LTE is set by default
• updated Redmi 6 Pro overlay
• OOS style switches
• added option to set statusbar edges padding
• added 3x2 QS tiles sheet
• replaced Launcher3 with Trebuchet
• added option to invert navbar buttons order
• few changes to reduce consumed resources - more space, more speed, more battery life
• few security changes from GrapheneOS (switched to Cloudflare DNS, increase default max password length to 64 etc)
• reworked Gappsed variants: used stock launcher & webview, no setup wizard
• added System UI Tuner (Display menu)
• tweaks for Xiaomi Redmi 9 'lancelot' and Redmi Note 9 'merlin' (audiojack, brightness, fp touches)
• changed minimal brightness level for Redmi Note 8 Pro
• import OnePlus 8 Pro 'instantnoodlep' overlay
• initial Redmi 9 'galahad' overlay
• added DT2W support for QIN 2
• another navbar inversion option (Phh settings > Misc)
• added custom Google Cloud restore option (Settings > Accounts)
*grayed options not realized yet

DOWNLOAD (CL1CK HERE)
vanilla, gapps: all architectures
gapps-go: only ARM A-only


NAMING
Some information you should know about knowing what type of gsi it is

<ARCH>_xyZ

<ARCH> can either be arm, a64 (arm32_binder64) or arm64
x can either be a or b
y can either be v, o, g or f
Z can be N or S

b = a/b
a = a-only

g = gapps
o = gapps-go
v = vanilla (no gapps included)
f = floss (free & open source apps instead gapps)

N = no superuser
S = superuser included

so in most common example "arm64_avN" is ARM64 A-only vanilla with no superuser

CONTACTS
> telegram group
> project page


KN0WN BUGS
• excluding fixes, the same as on AOSP Quack (in some cases doesn't work: broadcasting on TV, calls via BT; offline charging does not work normally; problems with GPS etc etc)
NOTE: always test ROM first without Magisk (with clean boot ramdisk). and don't send me bug reports if you have:
a) Magisk installed
b) modified/custom vendor or kernel
c) dirty flashing rom without wiping data
d) modified props values (another device fingerprint and so on)


CREDITS
persons: @phhusson
projects: TrebleGSI • BlissROMs • crDroid • PixelExperience • ION • neon-OS • Havoc-OS • LineageOS • Evolution-X • LiquidRemix • ExtendedUI • GrapheneOS • abc rom
 
Last edited:

eremitein

Senior Member
May 16, 2017
1,133
1,416
Xiaomi Mi A2 Lite
Update (2020.07.25)
  • added QS tiles: volume panel, USB-tethering
  • (again) fixed error when uninstalling some programs (when plugged SD-card with vFAT FS)
  • reworked speed UI overlays, test them manually on your device for speed/battery improvements
  • disabled some disputable Google components, for sample is fixed overall WiFi speed in the aggregate with GPS + Bluetooth
  • added header padding tuning - set top-indent for QS and Settings screen, useful for devices with huge display (now is experimental, not all settings menus support this)
  • in Dialer added option to set fullscreen contact's photo
  • also small fixes for Dialer: dark theme, translations



.
 
Last edited:

eremitein

Senior Member
May 16, 2017
1,133
1,416
Xiaomi Mi A2 Lite
Screenshots of v221


.
 

Attachments

  • Screenshot_20200725-082240.jpg
    Screenshot_20200725-082240.jpg
    63.2 KB · Views: 3,179
  • Screenshot_20200725-150109.png
    Screenshot_20200725-150109.png
    165.6 KB · Views: 3,203
  • Screenshot_20200725-150114.png
    Screenshot_20200725-150114.png
    159.4 KB · Views: 3,074
  • Screenshot_20200725-150127.png
    Screenshot_20200725-150127.png
    88.5 KB · Views: 2,921
  • Screenshot_20200725-150132.png
    Screenshot_20200725-150132.png
    131.5 KB · Views: 2,892
  • Screenshot_20200725-150142.png
    Screenshot_20200725-150142.png
    138.1 KB · Views: 2,860
  • Screenshot_20200725-150204.png
    Screenshot_20200725-150204.png
    133.8 KB · Views: 2,775
  • Screenshot_20200725-150222.png
    Screenshot_20200725-150222.png
    114.1 KB · Views: 2,631
  • Screenshot_20200725-150227.png
    Screenshot_20200725-150227.png
    101.6 KB · Views: 2,470
  • Screenshot_20200725-150232.png
    Screenshot_20200725-150232.png
    114.2 KB · Views: 2,361
  • Screenshot_20200725-150237.png
    Screenshot_20200725-150237.png
    120.4 KB · Views: 2,235
  • Screenshot_20200725-150242.png
    Screenshot_20200725-150242.png
    123.8 KB · Views: 2,162
  • Screenshot_20200725-150253.png
    Screenshot_20200725-150253.png
    116.3 KB · Views: 2,084
  • Screenshot_20200725-150258.png
    Screenshot_20200725-150258.png
    114.2 KB · Views: 1,978
  • Screenshot_20200725-150311.png
    Screenshot_20200725-150311.png
    100.4 KB · Views: 1,979
  • Screenshot_20200725-150327.png
    Screenshot_20200725-150327.png
    153.8 KB · Views: 2,019
  • Screenshot_20200725-150335.png
    Screenshot_20200725-150335.png
    127.7 KB · Views: 1,983
  • Screenshot_20200725-150343.png
    Screenshot_20200725-150343.png
    159.9 KB · Views: 1,937
  • Screenshot_20200725-150506.png
    Screenshot_20200725-150506.png
    91.4 KB · Views: 1,877
  • Screenshot_20200725-082219.png
    Screenshot_20200725-082219.png
    146.2 KB · Views: 2,253
Last edited:

Hami_Do

Senior Member
Aug 24, 2013
362
350
Nice work worth pursuing, Phh patches seem applied correctly.
currently i'am on one of your best GSIs :)

--------------------------------------
Sent from Huawei P10 lite running Bless v12.8
 
  • Like
Reactions: eremitein

smvsmv

Senior Member
Nov 16, 2014
180
37
Tried this ROM and it seems to work well on my UMIDIGI Power 3. I had to revert to stock because I am unable to install Magisk (stock, boot image, Phh version) on any of the GSIs. @eremitein any ideas on how to install Magisk or even SuperSU?
 

eremitein

Senior Member
May 16, 2017
1,133
1,416
Xiaomi Mi A2 Lite
Tried this ROM and it seems to work well on my UMIDIGI Power 3. I had to revert to stock because I am unable to install Magisk (stock, boot image, Phh version) on any of the GSIs. @eremitein any ideas on how to install Magisk or even SuperSU?
try another version of magisk, maybe canary (btw, i don't supports rom, if you have magisk installed - don't send me bug reports)
for supersu look at this thread https://forum.xda-developers.com/pr...le-root-phhs-superuser-phhusson-t3811563/amp/
/maybe you need a) put files manually + set right permissions or b) rework zip installer for your twrp/
 
  • Like
Reactions: hacker812c

Mr. Jedge

Senior Member
Jul 31, 2007
353
53
Having a really weird issue where my signal meter in the status bar is bouncing all over the place, sometimes even showing no signal. The problem is that I have signal and it's fine. Just the meter is all whacky
 

Fznwolf

Senior Member
Jul 7, 2012
217
84
@eremitein tysm so much for this rom. So clean and offers me exactly what I want (Love the hide black bar below keyboard when using gestures).
Any way you could allow even more status bar spacing? I have an S10 and I like to push the icons a bit in from the hole punch so they aren't cutoff.
 

Fznwolf

Senior Member
Jul 7, 2012
217
84
which spacing values you want? more spacing between icons or otherwise less? i can't make icons more close to each other, by default already minimal spacing

Thanks for the response:
It's under "Settings> Display> Status Bar Spacing" But I was misunderstanding it, this is the wrong field.
I was looking for a way to push the right side status bar icons a bit more to the center, away from the right side hole punch (Samsung S10). PHH's settings help move it out a bit but the toggles below it then get quite small so it's not ideal.
Outside of this issue i have (Common to all PHH AOSP base) things have been great!
 
Last edited:

Clydeza

Member
Jul 5, 2019
22
9
Great work on this build i have to say everything works well but not my Bluetooth have changes the settings in the phh menu but still no luck if there's any advice please let me know
 

Fznwolf

Senior Member
Jul 7, 2012
217
84
Great work on this build i have to say everything works well but not my Bluetooth have changes the settings in the phh menu but still no luck if there's any advice please let me know

Not sure what you mean, but lots of devices require "Force-disable A2DP offload" for bluetooth audio to work.
Disable it under developer settings AND under Phh's Misc features then reboot.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 24
    C A O S


    Your warranty is now void!
    We're not responsible for bricked devices, dead SD cards,
    thermonuclear war, or you getting fired because the alarm app failed. Please
    do some research if you have any concerns about features included in this ROM
    before flashing it! YOU are choosing to make these modifications, and if
    you point the finger at us for messing up your device, we will laugh at you


    CAOS (Custom AOSP OS)
    is a project which based on @phhusson's Treble GSI AOSP 10. I began it because original project have not only pros (stability, speed, support) but also some issues and limitations - pure AOSP code have some bugs / haven't much useful things and it's a hard way pulling it. So i did this fork. System can run with SELinux enforced state, as an original Phh AOSP GSI. Fully compatible with PHH-Treble patches exclude few low level changes: no root app, no "su" binary in system; by default exist file /system/phh/secure (for Google Certification PASS), so if you can boot AOSP GSI, but can't boot CAOS - try to removing that file

    UPDATE VERSION
    latest build: 2020.10.29
    treble patches: v222+
    SPL: 5 Oct 2020


    FEATURES/CHANGES
    • no in-built root
    • supports signature spoofing
    • changed Phh Settings "Main Icon"
    • and Phh Settings moved to the bottom
    • in vanilla builds used Bromite webview
    • changed visual style, color accent (like Pixel)
    • search bar removed from the launcher main screen
    • no problems with alarm Clock and SMS notifications
    • added three-fingers-swipe to screenshot gesture
    • added call recording in Dialer (not supports on all devices)
    • added QS tiles: NFC, HeadsUp, Volume panel, USB-tethering
    • tuning of the status bar, icons more tightly to each other
    • fixed status info of security patches (system and vendor)
    • in default launcher added double tap for screen-off gesture
    • now some pre-installed Apps can be disables from Settings
    • fixed doze pulse notifications (wake-up screen, ambient mode)
    • fixed offline charger to works in enforced mode (still not for all devices)
    • disabled "Customize your Pixel device" and other annoying suggestions
    • fixed issue leads to enter deep doze and disable GPS when driving
    • on battery saver auto dark mode disabled, you can choice light/dark theme
    • in stock camera removed HAL3 green artefacts which exist on few Xiaomi devices
    • fixed error when uninstalling some programs (when plugged SD-card with vFAT FS)
    • replaced apps: Gallery, Keyboard, Calendar, Dialer, Messaging, Contacts, Calculator - all supports dark theme
    • disabled some disputable Google components, for sample is fixed overall WiFi speed in the aggregate with GPS + Bluetooth
    • added header padding tuning - set top-indent for QS and Settings screen, useful for devices with huge display (now is experimental, not all settings menus support this)
    • in Display menu added an custom options to choice: color accent, font, icons style, icons shape, QS rows&columns, dark theme style etc
    • on my device (with stock vendor) Google Play certification passed without any patches and Magisk, just works out-of-the-box
    • option to set system UI optimization level (use careful, do not set IPS level for OLED)
    • fixed DeskClock widget (with the GoogleSans font was cropped)
    • added 0.2x, 0.8x and 1.2x to the animation speed selection menu
    • set default animation speed to the 0.8x
    • turned off the indicator flashing when the battery level is low
    • added option "Swipe for notifications" for fingerprint scanner
    • in Dialer added option to set fullscreen contact's photo
    • disabled advance anti-falsing classifier on the lockscreen
    • stock AOSP sounds replaced with Q Google sounds
    • DPI change setting is now in the "Display" section
    • IMEI info is hidden under each available SIM card
    • option to hide pill in full gestural navigation mode
    • added additional CLI utils: 7z, ntfs-3g & vim
    • added SELinux status info into the Settings
    • French and Russian translations for custom settings
    • added autobrightness icon to the QS brightness slider
    • removed annoying build number in QS footer
    • added recovery option to the reboot menu
    • removed ugly divider lines in Settings UI
    • added doubletap-to-sleep on lockscreen
    • added height controller for Q-gestures
    • separated toggle for screenshot sound
    • for Mi A2 Lite LTE is set by default
    • updated Redmi 6 Pro overlay
    • OOS style switches
    • added option to set statusbar edges padding
    • added 3x2 QS tiles sheet
    • replaced Launcher3 with Trebuchet
    • added option to invert navbar buttons order
    • few changes to reduce consumed resources - more space, more speed, more battery life
    • few security changes from GrapheneOS (switched to Cloudflare DNS, increase default max password length to 64 etc)
    • reworked Gappsed variants: used stock launcher & webview, no setup wizard
    • added System UI Tuner (Display menu)
    • tweaks for Xiaomi Redmi 9 'lancelot' and Redmi Note 9 'merlin' (audiojack, brightness, fp touches)
    • changed minimal brightness level for Redmi Note 8 Pro
    • import OnePlus 8 Pro 'instantnoodlep' overlay
    • initial Redmi 9 'galahad' overlay
    • added DT2W support for QIN 2
    • another navbar inversion option (Phh settings > Misc)
    • added custom Google Cloud restore option (Settings > Accounts)
    *grayed options not realized yet

    DOWNLOAD (CL1CK HERE)
    vanilla, gapps: all architectures
    gapps-go: only ARM A-only


    NAMING
    Some information you should know about knowing what type of gsi it is

    <ARCH>_xyZ

    <ARCH> can either be arm, a64 (arm32_binder64) or arm64
    x can either be a or b
    y can either be v, o, g or f
    Z can be N or S

    b = a/b
    a = a-only

    g = gapps
    o = gapps-go
    v = vanilla (no gapps included)
    f = floss (free & open source apps instead gapps)

    N = no superuser
    S = superuser included

    so in most common example "arm64_avN" is ARM64 A-only vanilla with no superuser

    CONTACTS
    > telegram group
    > project page


    KN0WN BUGS
    • excluding fixes, the same as on AOSP Quack (in some cases doesn't work: broadcasting on TV, calls via BT; offline charging does not work normally; problems with GPS etc etc)
    NOTE: always test ROM first without Magisk (with clean boot ramdisk). and don't send me bug reports if you have:
    a) Magisk installed
    b) modified/custom vendor or kernel
    c) dirty flashing rom without wiping data
    d) modified props values (another device fingerprint and so on)


    CREDITS
    persons: @phhusson
    projects: TrebleGSI • BlissROMs • crDroid • PixelExperience • ION • neon-OS • Havoc-OS • LineageOS • Evolution-X • LiquidRemix • ExtendedUI • GrapheneOS • abc rom
    9
    Screenshots of v221


    .
    8
    Update (2020.07.25)
    • added QS tiles: volume panel, USB-tethering
    • (again) fixed error when uninstalling some programs (when plugged SD-card with vFAT FS)
    • reworked speed UI overlays, test them manually on your device for speed/battery improvements
    • disabled some disputable Google components, for sample is fixed overall WiFi speed in the aggregate with GPS + Bluetooth
    • added header padding tuning - set top-indent for QS and Settings screen, useful for devices with huge display (now is experimental, not all settings menus support this)
    • in Dialer added option to set fullscreen contact's photo
    • also small fixes for Dialer: dark theme, translations



    .
    6
    CAOS R 2021.01.10 (beta7)
    download /// changelog
    5
    CAOS R 2020.12.25 (beta6)
    download /// changelog