[OFFICIAL] AOSP R Mod //CAOS11

Search This thread

eremitein

Senior Member
May 16, 2017
1,186
1,521
Xiaomi Mi A2 Lite
C A O S 11


< 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 11 (Custom AOSP OS) is a project which based on @phhusson's Treble GSI AOSP 11. 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. Has dynamic root which can be activated/deactivated without reboot - 'su' binary and SuperUser app (can works on all devices even with system read-only). Also has dynamic SafetyNet helper (but it compatible not with all devices), users have four ways to pass SafetyNet: a. just enable SafetyNet option (recommended) b. disable SafetyNet and enable "Spoof Pixel 5" then reboot c. enable both options and reboot d. mount system as RW and create empty file /system/phh/secure (legacy method), and in the Recovery do Wipe Data or Factory reset

UPDATE VERSION
latest build:
2022.03.21
treble patches: v316
SPL: 5 Mar 2022

FEATURES/CHANGES
see Project page changelog

DOWNLOAD (CL1CK HERE)
vanilla, gapps, go-gapps: all possible architectures

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
Z = dynamic superuser included

-lite = for VNDK Lite vendors (also can help with broken camera even on normal VNDK vendors)

so in most common example "arm64_avZ" is ARM64 A-only vanilla with dynamic superuser

CONTACTS
> telegram group
> project page

KN0WN BUGS
• excluding fixes, the same as on AOSP Roar (in some cases doesn't work: broadcasting on TV, calls via BT; offline charging does not work normally 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 • SyberiaOS • RevengeOS • ProtonAOSP
 
Last edited:

nsbandara

Member
Oct 21, 2018
10
9
Hi,

I flashed CAOS R 2021.04.19 in my HTC U12 life but DigitalWellbeing tools are not available. Is it only available for pixel devices ?

And I'm unable to transfer files using USB connection? Any suggestions or work around to get it working ?

Thank you.
 

eremitein

Senior Member
May 16, 2017
1,186
1,521
Xiaomi Mi A2 Lite
Hi,

I flashed CAOS R 2021.04.19 in my HTC U12 life but DigitalWellbeing tools are not available. Is it only available for pixel devices ?

And I'm unable to transfer files using USB connection? Any suggestions or work around to get it working ?

Thank you.
are you flashed gappsed variant? i just added Wellbeing but can't test it now, my device have small system partition and i can't easy flash gappsed build

for MTP try enable file transfer in Developer settings
 
  • Like
Reactions: hacker812c

as400l

Member
Apr 8, 2021
16
9
Warmian-Masurian Voivodeship
@eremitein - thanks for your work. The ROM is great and fast.

I have it installed on Xiaomi Poco X3 Pro. There are some problems with sound and screen backlight but both of them can be resolved from Phh treble settings. I have posted solutions in X3 Pro thread.

I have one question - in case I would like to update CAOS in future. Is there any "official" way to do this ? Is it possible at all ? Or clean flash is required every time you post new version ?
 

eremitein

Senior Member
May 16, 2017
1,186
1,521
Xiaomi Mi A2 Lite
I have one question - in case I would like to update CAOS in future. Is there any "official" way to do this ? Is it possible at all ? Or clean flash is required every time you post new version ?
How to update GSI

< only same ROM variants >

• go to TWRP, make wipe Dalvik cache (optionally, but recommended)
• install new GSI img to system (or reboot to fastboot/fastbootd and flash GSI)
• boot to TWRP again, resize System
• reinstall same GApps if used before

note: dirty update is not supports by me, do not send bug reports - if you will have bugs first try clean install
 

eremitein

Senior Member
May 16, 2017
1,186
1,521
Xiaomi Mi A2 Lite

Attachments

  • Screenshot_20210427-174539_Settings.png
    Screenshot_20210427-174539_Settings.png
    157.4 KB · Views: 678
  • Like
Reactions: hacker812c

Balsamderaersche

New member
Apr 28, 2021
3
3
Big fan of this CF. I hope there is a option to update (with further versions) using fastboot/adb. (Without loosing data) My Oukitel WP6 just supports these 2 options :).
 
  • Like
Reactions: hacker812c

GroovyG

Senior Member
Jan 18, 2011
197
68
My Oukitel WP6 just supports these 2 options :).
I have one too, and you can simply flash a new version on top of the old one in fastboot without wiping, works totally fine without loss of data.

BTW @eremitein , did you work some magic on VoLTE in the latest releases, or is it on @phhusson side? For me it just works out of the box suddenly, no more fiddling with IMS or APN settings, see screenshot. This is on your latest crDRom, really really nice, see screenshot:
 

Attachments

  • photo.jpg
    photo.jpg
    68.7 KB · Views: 548
  • Like
Reactions: hacker812c

Balsamderaersche

New member
Apr 28, 2021
3
3
I have one too, and you can simply flash a new version on top of the old one in fastboot without wiping, works totally fine without loss of data.

BTW @eremitein , did you work some magic on VoLTE in the latest releases, or is it on @phhusson side? For me it just works out of the box suddenly, no more fiddling with IMS or APN settings, see screenshot. This is on your latest crDRom, really really nice, see screenshot:
So basically just:

fastboot flash system xxx.img

?
 
  • Like
Reactions: hacker812c

Top Liked Posts

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


    < 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 11 (Custom AOSP OS) is a project which based on @phhusson's Treble GSI AOSP 11. 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. Has dynamic root which can be activated/deactivated without reboot - 'su' binary and SuperUser app (can works on all devices even with system read-only). Also has dynamic SafetyNet helper (but it compatible not with all devices), users have four ways to pass SafetyNet: a. just enable SafetyNet option (recommended) b. disable SafetyNet and enable "Spoof Pixel 5" then reboot c. enable both options and reboot d. mount system as RW and create empty file /system/phh/secure (legacy method), and in the Recovery do Wipe Data or Factory reset

    UPDATE VERSION
    latest build:
    2022.03.21
    treble patches: v316
    SPL: 5 Mar 2022

    FEATURES/CHANGES
    see Project page changelog

    DOWNLOAD (CL1CK HERE)
    vanilla, gapps, go-gapps: all possible architectures

    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
    Z = dynamic superuser included

    -lite = for VNDK Lite vendors (also can help with broken camera even on normal VNDK vendors)

    so in most common example "arm64_avZ" is ARM64 A-only vanilla with dynamic superuser

    CONTACTS
    > telegram group
    > project page

    KN0WN BUGS
    • excluding fixes, the same as on AOSP Roar (in some cases doesn't work: broadcasting on TV, calls via BT; offline charging does not work normally 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 • SyberiaOS • RevengeOS • ProtonAOSP
    5
    CAOS v315 2022.01.21
    download /// changelog
    5
    CAOS v313 2021.09.11
    download /// changelog
    5
    CAOS v312 2021.08.15
    download /// changelog
    5
    CAOS v308 2021.05.27
    download /// changelog