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

[OFFICIAL] AOSP R Mod //CAOS11

Search This thread

eremitein

Senior Member
May 16, 2017
1,108
1,396
Xiaomi Mi A2 Lite

Attachments

  • photo_2021-07-24_22-12-57.jpg
    photo_2021-07-24_22-12-57.jpg
    34.2 KB · Views: 34

juandi34

Member
Nov 25, 2016
39
3
Yesterday I have flashed " caos-v310-210721-arm64-bgZ.img " on my Blackview BV9600E and works perfect. I have used BLESS 14.2 before and sometimes phone reboots by itself.
From yesterday, using this CAOS v310 ROM, phone has not reboots.

Only has a little "problem": My phone left side buttom cannot be used. Has no function. I must install an APK to use it (BUTTOM MAPPER - https://play.google.com/store/apps/details?id=flar2.homebutton&hl=es&gl=US ).

Good work. Congratulations.
 
  • Like
Reactions: eremitein

Brendanus

Senior Member
Mar 6, 2010
125
42
Xiaomi Redmi 6 Pro
Yesterday I have flashed " caos-v310-210721-arm64-bgZ.img " on my Blackview BV9600E and works perfect. I have used BLESS 14.2 before and sometimes phone reboots by itself.
From yesterday, using this CAOS v310 ROM, phone has not reboots.

Only has a little "problem": My phone left side buttom cannot be used. Has no function. I must install an APK to use it (BUTTOM MAPPER - https://play.google.com/store/apps/details?id=flar2.homebutton&hl=es&gl=US ).

Good work. Congratulations.
I installed the bgZ-lite version on my BV9600E (MediaTek 6771). I found that it passes SafetyNet and CTS and is SELinux enforcing! It identifies the phone name correctly. Encryption is offered as an option (haven't tried it yet). It is small enough to fit in the standard /system partition on the BV9600E, although I had already increased mine with parted. Looks really interesting Congratulations to the dev.

Update: I found that I could not get GPay to work with NFC on CAOS v310, although all SafetyNet checks passed okay. So I flashed LiR v310 (lir-v310-210727-arm64-bgZ-lite.img), keeping data, and heh presto! It worked. LiR has all the functional features of CAOS, plus a few extra, including that GPay works. Great work, @eremitein!
 
Last edited:
  • Like
Reactions: eremitein

Magendanz

Senior Member
Mar 25, 2008
801
765
Issaquah, WA
www.Vote4Chad.com

eremitein...​


I've had some challenges with offline charging on AOSP-based custom ROMS like CAOS, but things had been improving with the gsicharger service and the only remaining issue I had until recently was that the service wouldn't shut back down when charging was terminated, requiring a Power + Vol Down forced restart.

However, Samsung just released their Android 11 firmware (T510XXU5CUF4) for the Exynos Galaxy Tab A 10.1 (2019) and this has caused a hang with offline charging. What's interesting is that the hang occurs in the boot animation, which shouldn't even run when ro.bootmode == "charger", since that triggers the charger sequence and not late-init and subsequent sequences that would eventually start the bootanim service.

When I try to dump the logcat -L after a forced restart, the log is consistently corrupted, but when I replace the gsicharger service with Samsung's LPM service (adding the dependent files in /bin and /lib), it does show the charging animation to about 39%...and then briefly shows the boot animation before it reboots. In this case, I can capture a logcat (attached).

Does anyone have any idea what Samsung might have done in their Android 11 kernel that would cause this? (I've confirmed that it doesn't occur with their last Android 10 firmware release.)
 

Attachments

  • logcat.txt
    18.9 KB · Views: 1

Abdullah5490

Senior Member
Oct 16, 2016
81
15
Islamabad
www.blindHelp.net
Hello. I'm facing 3 problems with GSI RROMs on my device of which i'm not getting any clew. With the nature of all these 3 problems, I'm thinking that is it something wrong with the Vendor? Even the Vendor partition didn't modified during ROM flashing. Kindly throw some light after reading details below:
1. My phone is showing 3rd sim slot, which is fake (phone has only 2). 3rd one is named as "china unicom" and has no Service/signals available. Upon first startup, the phone's language automatic set to chinese instead of my local due to this fake sim. also, Whenever there's a phone number field in any app, The country always pre-selected as "china" and code is "+86", instead of my active sims/local taratory.
2. Mobile network on GSI is too slow even with LTE 100% signals and videos buffers allot.
Stock: 35-40MBPS, GSI: 2-5MBPS.
3. Battery usage stats are unavailable even after having overlay present for my device under system/product/overlay.

Device info:
Manufacturer: Infinix.
Name: Note7.
Model: X690B.
Platform: MTK6768, mediatek G70 chipset.
Stock: Android10.
GSI: android11.
Recovery: stock (no modification).
Bootloader: stock (no modification except unlock).
Device logs: Here
 

eremitein

Senior Member
May 16, 2017
1,108
1,396
Xiaomi Mi A2 Lite
Hello. I'm facing 3 problems with GSI RROMs on my device of which i'm not getting any clew. With the nature of all these 3 problems, I'm thinking that is it something wrong with the Vendor? Even the Vendor partition didn't modified during ROM flashing. Kindly throw some light after reading details below:
1. My phone is showing 3rd sim slot, which is fake (phone has only 2). 3rd one is named as "china unicom" and has no Service/signals available. Upon first startup, the phone's language automatic set to chinese instead of my local due to this fake sim. also, Whenever there's a phone number field in any app, The country always pre-selected as "china" and code is "+86", instead of my active sims/local taratory.
2. Mobile network on GSI is too slow even with LTE 100% signals and videos buffers allot.
Stock: 35-40MBPS, GSI: 2-5MBPS.
3. Battery usage stats are unavailable even after having overlay present for my device under system/product/overlay.

Device info:
Manufacturer: Infinix.
Name: Note7.
Model: X690B.
Platform: MTK6768, mediatek G70 chipset.
Stock: Android10.
GSI: android11.
Recovery: stock (no modification).
Bootloader: stock (no modification except unlock).
Device logs: Here
1. seems your phone have eSIM
2. you should install AOSP v310 by phhusson and check it - if issue persist then open bugreport there https://github.com/phhusson/treble_experimentations/issues
3. your device treble overlay haven't proper power profile or you didn't set right selinux/perms mode for it (should be "u:object_r:vendor_overlay_file:s0" and 644)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    CAOS v313 2021.09.11
    download /// changelog
    1
    I've already known this. For example, I'm making a root script USB SampleRate Changer (on the fly) using these dumpsys commands internally. It doesn't use magisk specific functions, but works only under magisk environment. I don't like using "setenforce" commands in it invisibly.
    if you want proper fix then you need ask phhusson, i guess need add specific selinux rule
    1
    This new revision ( caos-v313-210911 ) runs fine on NFC pay and Google Pay. They are OK.
    Also, SafetyNet in Magisk is fully green !!!!!!!!!!!

    My Blackview BV9600 is working better.

    Congratulations. ;)(y)
  • 20
    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:
    2021.09.11
    treble patches: v313
    SPL: 5 Sep 2021

    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
    5
    CAOS v313 2021.09.11
    download /// changelog
    5
    CAOS v312 2021.08.15
    download /// changelog
    4
    CAOS v308 2021.05.27
    download /// changelog