yashsingh1/xdaforums huggingface dataset:
[Treble-Enabled Device Development A/AB ROMS] Darkstar119:
no i didn't format it. and I installed lingoes before. what can I do now to start twrp again? or is the tray for rubbish
[Treble-Enabled Device Development A/AB ROMS] Darkstar119:
when i type adb fastboot it starts in fastboot. but in fastboot no more commands.
[Treble-Enabled Device Development A/AB ROMS] rw_on_xda:
this might help:

https://xdaforums.com/t/sm-t510-t515-2019-galaxy-tab-a-10-1-hard-resets.3927366/

what is "lingoes", a typo ?
[Treble-Enabled Device Development A/AB ROMS] jeff_0618:
can i use vndklite on a non-vndklite phone?
[Treble-Enabled Device Development A/AB ROMS] OldNoobOne:
Use Treble Checker app, if vndk compliant then you can flash (y)
[Treble-Enabled Device Development A/AB ROMS] eremitein:
read NAMING spoiler in the OP
[Treble-Enabled Device Development A/AB ROMS] eremitein:
CAOS v307 2021.05.07

download /// changelog
[Treble-Enabled Device Development A/AB ROMS] Magendanz:
Since we're up to v307 now., could you update the repo with the new patches for AOSP11?
[Treble-Enabled Device Development A/AB ROMS] nsbandara:
Hi,

I flashed CAOS versions upto CAOS R 2021.04.24 on my HTC U12 LIfe and had no issues. But latest version CAOS R 2021.05.07 does not boot.

Was there any major update in latest version that would prevent booting ?
[Treble-Enabled Device Development A/AB ROMS] eremitein:
give more info

a. have magisk installed? remove if yes

b. which type of "not boot" - logo stuck or animation?

c. you did wipe Data?

d. you tried clean vanilla build without gapps?

e. you tried AOSP v307?
[Treble-Enabled Device Development A/AB ROMS] nsbandara:
a. No I don't have magisk installed

b. It get stuck at CAOS boot animation, I waited more than 10 mins and it doesnt go beyond CAOS boot animation

c. Did the flash as per steps provided in https://github.com/phhusson/treble_experimentations/wiki/HTC-U12-Life

d. No, I tried Arm64 , agZ rom

e. No
[Treble-Enabled Device Development A/AB ROMS] eremitein:
if rom stuck on boot animation try

a. wipe data / Format data (or better Factory reset via stock recovery)

b. try boot vanilla build without gapps first
[Treble-Enabled Device Development A/AB ROMS] nsbandara:
I flashed previous version (CAOS R 2021.04.24 ) . It works as expected. I will try next version and let you know how it goes.

Thanks.
[Treble-Enabled Device Development A/AB ROMS] rw_on_xda:
Today I flashed v307 on an SM-T510 (Galaxy Tab A 10.1 2019) with stock 5BUC4.

it seems I found 2 bugs:

- Wifi connects only with WPA2, not WPA3 (counterpart is an AVM Fritzbox 7950, FW 7.27) [1]

- no access via USB cable to the device (Linux kernel 5.12.4, Windows 8.1),

apart from that:

all nice & easy

Thanks for your work

[1]

my Galaxy S4 with LOS 18.1 is able to connect with WPA3, though.
[Treble-Enabled Device Development A/AB ROMS] eremitein:
1. i can't fix WPA3, ask phhusson about this

2. Samsung devices need specific custom kernel with MTP fix, otherwise in all GSI you never get MTP connection works
[Treble-Enabled Device Development A/AB ROMS] rw_on_xda:
thanks for fast response.

cause I'm new to CaOS I didn't know of both things, but

for 1. I'll see what I can do (right now mailed via Forum conversation ...)

for 2. I use MiXplorer and SMB

anyway I'm completely satisfied with this ROM.

I was able to install 2 apps for my Mi band while I wasn't able to with lastest stock (somehow invisible/blocked in/by google (-playstore).

sort of "device not compatible" though I was running them with @Magendanz Nexus some weeks ago...
[Treble-Enabled Device Development A/AB ROMS] eremitein:
CAOS v308 2021.05.27

download /// changelog
[Treble-Enabled Device Development A/AB ROMS] snoopy29:
Working well on Cubot King Kong Mini 2 - thank you for proving a GSI without SU.

One thing - Wake on plug (display) is missing?
[Treble-Enabled Device Development A/AB ROMS] eremitein:
it's AOSP, so have only default behavior for that - always waked up when connected
[Treble-Enabled Device Development A/AB ROMS] snoopy29:
I thought in Android 9+ it became a native feature. Could be wrong there.
[Treble-Enabled Device Development A/AB ROMS] zyhk:
@eremitein , I'm writing a "/data/adb/phh/run" script to execute a magisk module of mine on a device on which magisk cannot be installed (MTK Oreo vendor). I'm happy if you consider to move the invocation of the run script to the early boot stage before starting services.

My run script is as follows,

#!/system/bin/sh
#

MODDIR=${0%/*}
MODNAME="hifi-maximizer-mod"

# Check whether this module exits and has been marked "remove" or "disable", or not
if [ ! -d "$MODDIR/$MODNAME" ]; then
exit 0
elif [ -e "$MODDIR/$MODNAME/remove" ] ; then
# Execute "uninstall.sh" of the magisk module, and then mark "disable"
sh "$MODDIR/$MODNAME/uninstall.sh"
rm -f "$MODDIR/$MODNAME/remove"
touch "$MODDIR/$MODNAME/disable"
exit 0
elif [ -e "$MODDIR/$MODNAME/disable" ] ; then
exit 0
fi

# Replacement for "post-fs-data.sh" of the magisk module
# Note: if "stopDRC" is commented out, the $dummyConfigXML itself will overlay the original stock one.

. "$MODDIR/$MODNAME/functions.sh"
configXML="audio_policy_configuration.xml"
mirrorConfigXML="/system/vendor/etc/$configXML"
dummyConfigXML="$MODDIR/$MODNAME/system/vendor/etc/$configXML"

stopDRC "$mirrorConfigXML" "$dummyConfigXML"

# End of this replacement

# Set properties for "system.prop" of the magisk module
OldIFS="$IFS"
IFS="="
while read -s name val || [ -n "$name" -a -n "$val" ]; do
resetprop_phh "$name" "$val"
done <"$MODDIR/$MODNAME/system.prop"
IFS="$OldIFS"
# End of set properties

# Overlay system files specified by "$REPLACE" of the magisk module
if [ ! -e "$MODDIR/$MODNAME/skip_mount" ]; then
. "$MODDIR/$MODNAME/customize.sh"

for f in $REPLACE; do
if [ -r "$MODDIR/$MODNAME$f" -a -r "$f" ]; then
chmod 644 "$MODDIR/$MODNAME$f"
mount -o bind "$MODDIR/$MODNAME$f" "$f"
fi
done
fi
# End of overlay system files

# Execute "service.sh" of the magisk module
sh "$MODDIR/$MODNAME/service.sh"
# End of execute "service.sh"

# Resolving compatibility issues of the magisk module
# restart audioserver for reloading audio configuration files
# waiting audioserver's booting in an orphan process unitl 60+10*10 secs
function reloadAudioServer() {
sleep 60
for i in `seq 1 10` ; do
if [ "`getprop init.svc.audioserver`" = "running" ]; then
setprop ctl.restart audioserver
break
fi
sleep 10
done
}

((reloadAudioServer 0<&- &>"/dev/null" &) &)
# End of resolving compatibility issues
[Treble-Enabled Device Development A/AB ROMS] eremitein:
i can give only point, you need adapt magisk module for direct running

or find a non-magisk variant, for sample i know ViperFX can works without magisk and even in enforced mode - need install Viper zip via TWRP and add some selinux rules
[Treble-Enabled Device Development A/AB ROMS] zyhk:
Thanks for your reply. My run script has already been running with a little bit uncertainty (audioserver doesn't always reload well and has a lag to be usable) without modifying my magisk module itself. So if I need the invocation of my script before staring other services, I should insert an invocation script into "vndk.rc" myself?
[Treble-Enabled Device Development A/AB ROMS] eremitein:
you can try, but as i described early, i know only method when used non-root zip for twrp + direct apk installation and then added selinux rules for making ViperFX works in enforced mode
[Treble-Enabled Device Development A/AB ROMS] master_lam:
The in-display fingerprint can not detected...
[Treble-Enabled Device Development A/AB ROMS] eremitein:
known issue - all Android 11 GSI have no FOD support
[Treble-Enabled Device Development A/AB ROMS] MuddyDog:
CAOS11 is back. Top job eremitein.
[Treble-Enabled Device Development A/AB ROMS] GroovyG:
Hell yeah <3
[Treble-Enabled Device Development A/AB ROMS] eremitein:
CAOS v310 2021.07.21

download /// changelog
[Treble-Enabled Device Development A/AB ROMS] aykut.5:
How can I change the location of the back button?
[Treble-Enabled Device Development A/AB ROMS] juandi34:
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.
[Treble-Enabled Device Development A/AB ROMS] eremitein:
Phh settings > Misc > Navigation bar inverse (after that select another navigation mode and then select again buttons)
[Treble-Enabled Device Development A/AB ROMS] Brendanus:
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!
[Treble-Enabled Device Development A/AB ROMS] aykut.5:
Thanks. one last question. There is no volte icon in the status bar, right? İf no, can i get this icon?
[Treble-Enabled Device Development A/AB ROMS] eremitein:
no, AOSP haven't it and you can't add
[Treble-Enabled Device Development A/AB ROMS] Magendanz:
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.)
[Treble-Enabled Device Development A/AB ROMS] aykut.5:
is there any way to fix this?
[Treble-Enabled Device Development A/AB ROMS] eremitein:
yes, need a proper treble overlay for your device https://github.com/phhusson/treble_experimentations/wiki/How-to-create-an-overlay?
[Treble-Enabled Device Development A/AB ROMS] aykut.5:
It's very difficult for me to do this :D Is it a problem if I use it like this?
[Treble-Enabled Device Development A/AB ROMS] eremitein:
should be no big problems, just doesn't shows battery stats

but device treble overlay is a good thing, anyway)
[Treble-Enabled Device Development A/AB ROMS] aykut.5:
I fixed it last night. thank you :)
[Treble-Enabled Device Development A/AB ROMS] Abdullah5490:
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
[Treble-Enabled Device Development A/AB ROMS] eremitein:
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)
[Treble-Enabled Device Development A/AB ROMS] ariadnejro:
Hi eremitein, I'm happy to see that you are back. Are you going to update your crDRom build or should I move to CAOS?
[Treble-Enabled Device Development A/AB ROMS] eremitein:
i don't know when i can make crd
[Treble-Enabled Device Development A/AB ROMS] Abdullah5490:
In my device? Even it can’t support e-sim at all!

I already opened an issue and he says that he don't know how to help me. Look at https://github.com/phhusson/treble_experimentations/issues/1934
[Treble-Enabled Device Development A/AB ROMS] Salekin_Limon:
Hi,

I flashed CAOS11 v310 arm64-agZ on my Huawei Nova 2i/Mate 10 lite and it got stuck at CAOS boot animation for more than 10 minutes. And then it restarted to eRecovery itself.

for your information,

1. I flashed the vanilla version as well and the result was same.

2. I never installed Magisk.

3. I tried flashing system both ways through TWRP and through fastboot with stock recovery.

4. I tried flashing "caos-v224-201029-arm64-agN" android 10 as well. It didn't work either.

5. Everytime I wiped data before flashing.

Can you please help me make it run??
[Treble-Enabled Device Development A/AB ROMS] eremitein:
a. check with Treble Info, sure you need a or ab GSI https://play.google.com/store/apps/details?id=tk.hack5.treblecheck

b. try format Data, not just wiping

c. check AOSP v310
[Treble-Enabled Device Development A/AB ROMS] Salekin_Limon:
a. It's arm64-aonly-vndklite

c. I didn't find my required image 'arm64-aonly-vndklite' in AOSP v310 https://github.com/phhusson/treble_experimentations/releases
[Treble-Enabled Device Development A/AB ROMS] aykut.5:
Do you have the possibility to add the power.xml file for the next builds for our device?
[Treble-Enabled Device Development A/AB ROMS] eremitein:
use arm64-aonly
[Treble-Enabled Device Development A/AB ROMS] eremitein:
no, this file in wrong format
[Treble-Enabled Device Development A/AB ROMS] samireto:
Hello, thanks for the room is very smooth, i have a request, can you add a network speed indicator?

thanks in advance.
[Treble-Enabled Device Development A/AB ROMS] juandi34:
One detail ... not for this msg:

I have flashed this firmware on Blackview BV9600E and works fully fine.

Only a little detail: Quick charge doesnt work.

USB and wireless charging are OK, but I think that Quick charging is not aviable on this firmware :confused:. It doesnt work on my smartphone (Helio P70).

Maybe you would correct it in new revision.

Thanks and congratulations.
[Treble-Enabled Device Development A/AB ROMS] eremitein:
i can't help with that, ask phhusson - maybe he can help you
[Treble-Enabled Device Development A/AB ROMS] Lagerya:
Few questions.

1) Is there a way to enable screen split and picture-in-picture somehow?

2) There is no "button" item in the settings and the status bar cannot be configured (for example, move the time to the right). Fix?

arm64, boZ

Magisk✓

OnePlus Nord N10
[Treble-Enabled Device Development A/AB ROMS] eremitein:
1. no, because you flashed "boZ" build - it have Go Gapps, limited gapps for low-end devices

flash a normal one (bgZ or bvZ + external gapps)

2. you can only inverse navigation buttons and disable some icons in statusbar

if you need more customization then use LiR at least
[Treble-Enabled Device Development A/AB ROMS] Lagerya:
Thanks for answer. Understood on the second point. About the first point, when flashing, bgZ issues shows

Spoiler content hidden.

UPD: solved the previous problem, but there is a new one. When you flash bgZ it appears:

Spoiler content hidden.
[Treble-Enabled Device Development A/AB ROMS] eremitein:
well system partition too short for bgZ variant

you can use bvZ + external gapps, or remove product partitions with commands:

fastboot delete-logical-partition product

fastboot delete-logical-partition product_a

fastboot delete-logical-partition product_b
[Treble-Enabled Device Development A/AB ROMS] Lagerya:
The same problem (means UPD) appears after your commands. bvZ not suitable for me, since regular gapps are not worked. And with magisk gapps there are some problems (for example, the safetynet dont pass and the gps does not work)
[Treble-Enabled Device Development A/AB ROMS] eremitein:
what you got after commands, is product partitions successfully deleted? better if you send me screenshot from fastboot session
[Treble-Enabled Device Development A/AB ROMS] Lagerya:
News! The error does not appear now. The system does not boot after such a flash (with the removal of partitions). Just goes back to the fastboot. Sometimes it boots, but after the flash magisk does not boot

07.08 UPD: Thanks, @eremitein. I did everything a little differently and without deleting the partitions. First, I downloaded LiR bvZ (I hope this is not offtopic for this topic), prepared the system for installing google services (checked the phh menu, magisk hide). I flashed the boZ firmware on top without erase. Set up Google, gps works fine, but the split screen is removed. Therefore, I flashed the bvZ firmware back (also without erase). Now everything works for me as it should. Thanks for the support!
[Treble-Enabled Device Development A/AB ROMS] juandi34:
phhusson ... can you help us about this charge problem ??

Thank you :)
[Treble-Enabled Device Development A/AB ROMS] -Alf-:
Ask here bro...
[Treble-Enabled Device Development A/AB ROMS] juandi34:
Does "quick charging" runs on your BV9600E ????
[Treble-Enabled Device Development A/AB ROMS] Brendanus:
It charges at a rate of about 50% per hour, but doesn't say "quick charging". It is fast enough for me!
[Treble-Enabled Device Development A/AB ROMS] juandi34:
.... a little bug:

Yesterday in my Blackviewo BV9600E I have one unknown reset. I have been watching a Youtube video using Chrome navigation.

Smartphone turns black screen and it was rebooting (CAOS Logo appears) and doesnt ask for SIM code PIN in this reboot.

That is all. :confused:
[Treble-Enabled Device Development A/AB ROMS] Salekin_Limon:
I used AOSP v310 arm64-aonly afte formating data. Still gets stuck at boot animation for so long and then restarts to the same condition.
[Treble-Enabled Device Development A/AB ROMS] eremitein:
sad

try Factory reset from stock recovery (not format data from custom recovery)
[Treble-Enabled Device Development A/AB ROMS] eremitein:
CAOS v312 2021.08.15

download /// changelog
[Treble-Enabled Device Development A/AB ROMS] juandi34:
Have you update to 312 ???

It may be only flashing via TWRP over the same: without erasing !!!

Maybe it ??
[Treble-Enabled Device Development A/AB ROMS] sinkoo1979:
can't seem to get texting to work in gsm/wcdma/lte on my Galaxy F41. Text works in gsm/wcdma. Any suggestions on how to make it work? Thanks in advance

Update: it was the sim not the Rom
[Treble-Enabled Device Development A/AB ROMS] MarSOnEarth:
Hey eremitein. Thank you for this ROM. I just installed it on Essential's PH-1, and it's been the most easy going experience ever from the very start. From the effortless, right to the point start-up, to the low-key don't-look-at-me--just-enjoy-how-I-work you've put Google to shame in achieving simplicity. Kudos. BTW, on this phone the SELinux is in permissive mode. In either case, though, for the way I use my phone, everything seems to just work. What a pleasant surprise (considering what others encounter with other ROMs).
[Treble-Enabled Device Development A/AB ROMS] eremitein:
welcome and thank you) one note - i recommend using SELinux enforced, CAOS can run in this mode same as AOSP by phhusson
[Treble-Enabled Device Development A/AB ROMS] MarSOnEarth:
I'd like that but can't see anything that would allow me to affect that.
[Treble-Enabled Device Development A/AB ROMS] zyhk:
Under phh based GSI's, we cannot run " dumpsys media.audio_flinger" or "dumpsys media.audio_policy" by SuperUser. However, these commands can be run under SELinux permissive mode or by installing magisk (even under SELinux enforcing mode). It's not your fault, but a little bit annoying to me.
[Treble-Enabled Device Development A/AB ROMS] eremitein:
su

setenforce 0

dumpsys media.audio_policy

dumpsys media.audio_flinger

setenforce 1

exit

works fine in CAOS
[Treble-Enabled Device Development A/AB ROMS] zyhk:
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.
[Treble-Enabled Device Development A/AB ROMS] eremitein:
if you want proper fix then you need ask phhusson, i guess need add specific selinux rule
[Treble-Enabled Device Development A/AB ROMS] eremitein:
CAOS v313 2021.09.11

download /// changelog
[Treble-Enabled Device Development A/AB ROMS] lord_stoner:
#erimitein will there be a version of crDRom11 this time?
[Treble-Enabled Device Development A/AB ROMS] juandi34:
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)
[Treble-Enabled Device Development A/AB ROMS] MarSOnEarth:
Drat! Not so on Essential's PH-1. It's all still red
[Treble-Enabled Device Development A/AB ROMS] ariadnejro:
Are you planning to update your crDRom11? It's working flawlessly on my Alldocube X Neo since last May. If you aren't maybe I should try and switch to CAOS11.
[Treble-Enabled Device Development A/AB ROMS] Michael5200:
After the error ''This device is not certified by Play Protect'' I register my device on the google website, however, when I do the reset, the error appears again, and this disables the blocking of the Google account if someone tries reset the phone. in this case it leaves the device insecure, do you have any solution? Thanks
[Treble-Enabled Device Development A/AB ROMS] juandi34:
Well .... I public on another spanish forum the correct SafetyNet evidence (screenshots): https://www.htcmania.com/showpost.php?p=33193647&postcount=37

Good luck !!!!
[Treble-Enabled Device Development A/AB ROMS] MarSOnEarth:
Thanks. The issue on my phone is apparently caused by tripped up DM Verity check, and not related to the ROM itself.