yashsingh1/xdaforums huggingface dataset:
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Notes:

I now have a rather taxing day job, and can't devote nearly as much time/effort into this as I did as a student, or even a year ago.

I now daily-drive "light", so I can't test TD-based builds as extensively as before. For the same reason, I likely won't build/upload any TD-based "personal" build either.

While most >=A13 GSIs out there are going to be TD-based, some perform better than others - some devs have their own patches that haven't been merged into TD yet. I myself will stay close to TD's raw patchset as much as possible, without picking patches from others left and right. If you find another GSI working better, don't just complain - try to narrow down which ones, and the intersection of them might be an unmerged patch that, if approved, would be merged into TD and benefit all.

GAPPS builds are offered as-is without guarantees. As a Chinese I can't/won't help with GAPPS/SN issues - please help each other out.

ADB is intentionally insecure, even on first boot (turned on by default and no authentication needed). GSIs are more fragile compared to device-specific custom ROMs, both on first boot (no-boot issues) and on subsequent boots (after tuning certain Treble settings), and I insist that no-auth ADB is a must-have for debugging and general fail-safe.

Signature spoofing (MicroG) is supported, but only for priv-apps. This is a security consideration from PHH.

On *S variants, install PHH-SU and you'll get basic root for apps, good for devices that don't play well with Magisk or when you don't need modules.

Refer to this post for explanation/workaround of an MediaTek-specific kernel bug that causes no internet.
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Reserved
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Initial builds are based on TD patches as of 20221111 and November security patches.
[Treble-Enabled Device Development A/AB ROMS] ismail demirbaş:
Treble Droid'e daha fazla dikkat edin çünkü bu tiz droid ışıktan daha iyi görünüyor ve neden 20 ota soyundan gelmiyor?

Pay more attention to Treble Droid I think because this treble droid looks better than light and why no lineageos 20 ota
[Treble-Enabled Device Development A/AB ROMS] ped1609:
View attachment 5758535Hello, the security patch is from November, it appears from 2021-
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
PHH's OTA is incompatible with Magisk, so I chose to not configure it.

One of the side effects of Securize - it copies your vendor security patch date.
[Treble-Enabled Device Development A/AB ROMS] ped1609:
Hola me encanta la rom de momento funciona bien. hare pruebas de llamadas ect,.Como hago para copiar la fecha del parche ,Gracias gran rom.
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
@ped1609 You can't correct it yourself.

I'll experiment with making Securize less intrusive, at this moment it impacts USB debugging, security patch date, model name, etc. Perhaps there's a lighter way out...
[Treble-Enabled Device Development A/AB ROMS] ped1609:
Hello, I'm in the rom but I don't know how to copy the provider, do I extract it from another rom with the correct date? can you edit build pro? I have a redmi note 11s, I use stock recovery.
[Treble-Enabled Device Development A/AB ROMS] Difficul:
Any screenshot for this build
[Treble-Enabled Device Development A/AB ROMS] Jimmy Glex:
everything looks great but , it connects to wifi ok , but not getting any internet from wifi , so cant use it
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Can you all read notes?
[Treble-Enabled Device Development A/AB ROMS] nisfta:
Tested on Samsung galaxy tab A8 x-205 (arm64_bvN-secure). Camera and video playback don't work (reproducible on AOSP as well). When trying to launch a camera or play a video Lineage GUI freezes and then restarts. Everything else works and overall experience is smooth.
[Treble-Enabled Device Development A/AB ROMS] arsfr:
Does not boot for the samsung galaxy a12 nacho. (Edit: used ChonDoe Flasher and then it worked, so you need ChonDoe flasher for it to work)
[Treble-Enabled Device Development A/AB ROMS] ttritium:
Thanks for the great job.

Works very well on Samsung A22 5G (arm64_bvN-secure) after MediaTek internet bug solving.
[Treble-Enabled Device Development A/AB ROMS] michael_hamada:
Thanks for your great job.

Booted fine on my old Zenfone Max Pro M2.

I flashed it by OrangeFox recovery, and it booted fine once. But in the second boot, it fell to recovery and recovery caused boot loop.

More worse...Fastboot mode reject all fastboot command so I was lost several days.

Finally I managed to flash latest TWRP and everything went back to normal.

(Fastboot issue was caused by USB 3.0o_O)

Anyway, this is a great ROM so far!

THX so much!
[Treble-Enabled Device Development A/AB ROMS] Jimmy Glex:
i downloaded as a gsi dsu sideload , and works , just wifi cant get internet even if it conects ,is there a work around to solve that? im in poco x3 gt
[Treble-Enabled Device Development A/AB ROMS] atlantix1:
This GSI works really well on my Galay S22 (SM-S901B)! Everything works flawlessly and runs smoothly! Big thanks to the developer! One thing, though: Whenever I try to register my fingerprint, systemui immediately crashes. Maybe the attached log helps to find the cause? Thanks!

Edit: The issue is fixed in latest Treble Droid release: https://github.com/TrebleDroid/plat...mmit/2f67d9f7b996f4143a1fcc7dc1a64819ab3b5429.

Sorry, should have posted bug there. ;)
[Treble-Enabled Device Development A/AB ROMS] psychofaktory:
No, I'm honestly a bit afraid of damaging my system through the various tests and then not having a working smartphone anymore.

I am unfortunately very dependent on the device and a change to another device is not so easy because a lot runs on it.

But I did some research, and it seems that the bug is somewhere in LineageOS 20:

Cannot send texts after upgrade to lineageOS 20 from 19, Moto X4 (payton) (#5391) · Issues · LineageOS / issues / android · GitLab

Expected Behavior After upgrading payton from lineageOS 19 -> lineageOS 20 I should be able to send texts. ...

gitlab.com
[Treble-Enabled Device Development A/AB ROMS] xavier.miller:
Hi!

I have the same issue sending SMS.

I have found a workaround : if I go to plane mode then back, I can resend the blocked SMS.

HTH
[Treble-Enabled Device Development A/AB ROMS] psychofaktory:
I had already tried that without success.

I had also tested sending with disabled mobile data and only WLAN, or only 4G, or only 5G.

Also the tips linked in the link above with a prefix in front of the number, or the workaround to delete the contact and the conversation was not successful.

Resetting the APN settings did not work, nor did using a different messaging app.
[Treble-Enabled Device Development A/AB ROMS] AnonVendetta:
Now that you've found a report from someone other than yourself, at least now you know it's probably a bug in LOS.

My suggestion would be to go back to stock, or try on another gsi that doesn't use LOS source code. Or you can stay on LOS and "deal with it" until a bugfix can be found. Even though you may not want to try other things to test further, it's not like you really have a lot of other good options. And besides, trying multiple approaches is the best way to solve problems. In all my years of dealing with various issues on a day to day basis, I've found that's really the only way to get solutions. Think outside the box, as the saying goes. A willingness to try different approaches is all part of the process.
[Treble-Enabled Device Development A/AB ROMS] insestito:
Hi mate, do you finded any bug or somethhing on the S22 exynos?

How is the battery screen on time?

Thanks
[Treble-Enabled Device Development A/AB ROMS] atlantix1:
Hi, so here are my impressions/advices:

* As far as battery life is concerned I am still in testing phase. But it seems already much better to me, standby drain is much better. But I cannot provide reliable statistics right now.

* I have rooted my device as I need some magisk fixes. So be sure to download a version of this rom which is not pre-rooted. I have patched the firmware file within magisk app and then transferred in the AP slot via odin before patching the recovery and finally flash the system image via fastboot. No problem here.

* Google wallet works with system spoofing enabled in Treble settings app and after flashing the latest safety net fix mod from displax im magisk. However, after flashing the module in magisk you have to clear data from google play services and goole play store. Device is certified here.

* There is a bug with audio recording within camera apps. I have found a magisk module to fix that in a telegram disussion group (s22-gsi-fixes.zip) tohether with some other small fixes. I do not know if I am allowed to post the link to the group here, but you will find the link to the group in the xda thread: https://xdaforums.com/t/kernel-5-10-142-aosp-oneui-loki-kernel-exynos2200-s22-plus-ultra.4468599/. You have to flash the module and enable "use alternative audio policy" in treble app. Unfortunately, the fix did not work for me. But I found the solution by make a small change in the file "audio_policy_configuration_base.xml" within the module by myself. I can provide further information on that if needed.

However, there are and will be some issues:

* As you probably expect, VoLTE and WoWIFI won't work. Samsung's fault. There is nothing to do about that.

* The camera quality is worse than samsung's stock. But no big problem as I use this gcam go from shamim: https://www.celsoazevedo.com/files/android/google-camera/dev-shamim/f/dl16/. Works really decently, all three lenses, night mode and front facing camera. Not quite as good as the original google camera app and no 60 fps video recording, but hey - the image quality is really fine to me.

* The fingerprint reader does not work as for now on my device. But this issue was fixed with the latest release of TrebleDroid: https://github.com/TrebleDroid/treble_experimentations/releases. I hope for an update for this GSI as TrebleDroid ist too barebones (no Gapps, no spoofing of system status etc.). Until then I use xposed and the face unlock mod you find here on xda. Works fast an reliably.

Everything else seems to work fine, e.g. automatic brightness (a littlebit wanky), hotspot etc. But I have not tested everything as for now. And probably I have forgotten many things here... ;)

I won't go back to OneUI...

Hope that helps!
[Treble-Enabled Device Development A/AB ROMS] insestito:
I totally agree, in the end I installed Project Elixir, and it works perfect.

Install this camera (bottom of the web) :https://github.com/phhusson/treble_experimentations/wiki/Samsung-Galaxy-S22-(Exynos)

The camera for me... I think it's better than Samsung's

The bbattery is very better than ONE UI, i make about 1-1,5h more screen on time easy, and on IDLE is awesome compared with ONE UI.

Fingerprint not work and face unlock not work also.

What boot.img do you modified with magisk? i can't find it inside the Elixir rom img ...
[Treble-Enabled Device Development A/AB ROMS] atlantix1:
Regarding the linked camera: is the front facing camera working?

Because Elixir is also a GSI there is only the system image inside the compressed file you download. What I did to patch the samsung stock boot image and get root was simply to install magisk manager on the phone, extract the AP file from a recent Samsung firmware (you can e.g. download via samfirm reborn or use any of the common firmware sites) on your PC, transfer it to the phone, patch the file via magisk manager, copy it to your PC again, and then flash the patched AP file in the AP slot via ODIN. Then you have a magisk patched kernel plus patched vbmeta. From there you can flash any GSI system image via fastboot and always have root.
[Treble-Enabled Device Development A/AB ROMS] ronaldC:
Does MGLRU work in this GSI image?
[Treble-Enabled Device Development A/AB ROMS] insestito:
What do you mean? MGLRU?
[Treble-Enabled Device Development A/AB ROMS] ronaldC:
Multi Generation Least Recently Used pages. It's like a new algorithm for sorting tasks/pages so that accuracy is improved in killing apps and improves multitasking performance.
[Treble-Enabled Device Development A/AB ROMS] VStephen:
You vndklite varient
[Treble-Enabled Device Development A/AB ROMS] tonydiepyyz:
Installed last night on OnePlus Nord N100 BE2013. Worked really well aft first. Wifi stopped working after awhile. Can't get wifi back up after trying many workarounds. Deal breaker. :-{
[Treble-Enabled Device Development A/AB ROMS] noahhhh:
I wanna know how to enable tablet UI on GSI. Device: Galaxy Tab S7+ dpi>600
[Treble-Enabled Device Development A/AB ROMS] mikefnz:
Display settings. Display size & font size. Adjust to suite your preferences. Try different launchers.
[Treble-Enabled Device Development A/AB ROMS] noahhhh:
nope, it does not work. Such as settings still won't get a split-views like this.
[Treble-Enabled Device Development A/AB ROMS] mikefnz:
It's just a

generic

system image. You can't expect split screens.
[Treble-Enabled Device Development A/AB ROMS] ildar_prophet:
No additional settings needed to change. Just tap the square button in the nav bar to see the recent apps. That's on a tablet, not phone.

If tablet UI is the split screen then it just works. Otherwise please clarify what you want without the trademarked abbrevs.
[Treble-Enabled Device Development A/AB ROMS] m0byn:
Hello all,

I am new to the custom ROM scene - so please be gentle. However, thanks to @AndyYan I was able to install Lineage OS 20 "light" on my Samsung Galaxy A50 and until now I am amazed by how smooth everything works! Thank you so much!

I do have one question, however, since I did not find any information about that. Does the built in encryption feature of Lineage OS 20 (note, not the "light"!) work on the Samsung Galaxy A50? Now, with the "light" version when clicking on "ecnrypt smartphone", then nothing happens. If it works with the TD-based version I would switch over!

I would be really thankful for any information on that!
[Treble-Enabled Device Development A/AB ROMS] AnonVendetta:
I may be wrong, but I believe the encryption of the data partition is entirely dependent on the relevant entries in the fstab.qcom file (devices that use Qualcomm chipsets), located in your vendor partition. It's generally enabled by default.
[Treble-Enabled Device Development A/AB ROMS] ildar_prophet:
@AndyYan , it's great to see you back with us!

I installed this ROM on a Samsung A7 10" tablet. The one thing that doesn't work is turning on/off with flip open/close through the magnetic sensor. I checked the sensor is there and working in LOS.

Have a hint for me where to look?

Thanks in advance!
[Treble-Enabled Device Development A/AB ROMS] Jack Droid:
Hi all,

I'm on Galaxy A52S 5G and I'm trying to flash this ROM but I found that brightness is not even half than stock ROM.

Even at 100% is still very low and it is difficult to see something....

I have already tried to change many settings but nothing works....

This happens with all GSI roms I tried since now ( Arrows, Corvus, Sparks and so on....)

Maybe I need to maanage something else ( vendor img ? overlay ? )

Anybody can help me ?

Many thanks
[Treble-Enabled Device Development A/AB ROMS] ildar_prophet:
yep. https://github.com/phhusson/treble_experimentations/wiki/How-to-create-an-overlay?

Also try the Settings → Screen → Night ...
[Treble-Enabled Device Development A/AB ROMS] Jack Droid:
Many thanks for your reply.

I have checked on the above link but it could be to hard for me to do that....anyway I'll try.....

SO my problem is all about overlay ?

Maybe if I include A52s 5G specific vendor with hw libs in anyway....?
[Treble-Enabled Device Development A/AB ROMS] m0byn:
I asked three posts before you whether encryption works with this GSI on Samsung devices (I have a Samsung A50). Could you let me know if it works for you?
[Treble-Enabled Device Development A/AB ROMS] Jack Droid:
Yes I'll.

Do you have the same issue with low brightness ?

This makes me crazy......😠
[Treble-Enabled Device Development A/AB ROMS] m0byn:
No brightness is working perfectly fine. I am on the LineageOS "light" version, however. Not sure if this makes the difference!
[Treble-Enabled Device Development A/AB ROMS] AnonVendetta:
@AndyYan: I'm looking for a guide on how to compile your LOS from source. Just want to give it a test run.

Things I want:

1. GApps integrated

2. Pre-securized and non-rooted (so I can install it myself)

3. Vndklite/shared_blocks removed (for full read/write access)

Thanks!

What is the difference between your LOS, and the Android 13 gsis compiled by phh? He appears to at least partly use your source code.
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
GitHub - AndyCGYan/lineage_build_unified at lineage-20-td

Unified script for building GSI and device-specific LineageOS - GitHub - AndyCGYan/lineage_build_unified at lineage-20-td

github.com

bash lineage_build_unified/buildbot_unified.sh treble 64GN

...then https://github.com/AndyCGYan/sas-creator

sudo bash lite-adapter.sh 64 system.img

It's the other way round, I rely on TD's work. TD-based GSIs mean we apply all TD patches possible to other ROMs, then add some of our own.
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Updated all variants with February security patches and in sync with TD 20230131. [Insert obligatory backup-and-test warning here]
[Treble-Enabled Device Development A/AB ROMS] AnonVendetta:
Thanks for the guide. When i get some time i'll test in a virtual machine.

You rely on phh's work? The word with him is that he is stepping away from actively being involved. So, he either won't be building at all, or he still will but it won't be a priority for him anymore (updates released less frequently). Has it been discussed in regards to who will take over if he drops out completely? I understand he has a life and that must always come first. He has done a lot of work for the Treble community for free, and owes nothing to anyone. Losing him will be a major hit to the Treble community.
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
For now PHH still investigates hardware issues when he has time; TD now builds from a CI flow he created, which is less burden on him. We other TD builders contribute in our own expertise as well (e.g. Iceows excels at Huawei oddities), but I say no one can really match him. Overall TD is getting less fixes than previously when he was in full control.

I don't think anyone of us is ready to face that topic at the moment...

I myself prepare for that with my "Light" approach which, although still containing many fixes from PHH, I comprehend better than the full PHH/TD patchset.
[Treble-Enabled Device Development A/AB ROMS] AnonVendetta:
From what I can gather, your LOS is based on phh's work. LOS itself isn't really a separate "thing", it's just AOSP with patches and modifications, and rebranded as LOS. But they differentiate it enough that it could almost be considered separate. Even with stock firmwares, they are AOSP at the core, but with lots of changes, custom skins, hardware specific stuff.

If I have to choose between phh's AOSP and LOS, I'll always choose the former. It just feels different to me. But you have taken a different approach to securizing with 20, where it is no longer permanent. I personally haven't noticed any issues with phh's permanent way of doing it.

You also have the sbin patch, which makes Magisk rooting much easier. I understand why phh won't re-add sbin to his sources, since he tries to stay as close to Google's AOSP source as possible.
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
It won't be hard to build an AOSP "Light" (I'm thinking of building one for A14 on its launch day), but for me AOSP just feels too barebones with many unpolished details. I'm also habitually into CM/LOS, as I've been a user since CM6 (Android 2.2).

Choices are still plenty for now, enjoy.

I believe this is because PHH thinks it should be worked around in Magisk itself. Unfortunately, Magisk had been deaf to GSIs almost since these existed, so an understanding/solution was never met.
[Treble-Enabled Device Development A/AB ROMS] AnonVendetta:
I saw topjohnwu's comments on github. I mostly agree with him, it is the responsibility of ROM devs to either add sbin or not.
[Treble-Enabled Device Development A/AB ROMS] needmypandora:
I cant connect to my smartwatch in jan and feb builds on my J7 Prime with custom vendor.
[Treble-Enabled Device Development A/AB ROMS] bhammler:
could you provide what I have to fix in "audio_policy_configuration_base.xml"
[Treble-Enabled Device Development A/AB ROMS] Guanu244:
After dirty flash to version 0218 from 0115, I can't pass CTS profile

I use magisk + shamiko + saftyNet fix + LSPosed

0115 can pass. I don't know what went wrong

And now i can't dirty flash to 0115 ,will not boot

can you help me?
[Treble-Enabled Device Development A/AB ROMS] n07w3n:
The securize property can only be changed through root access or have I misunderstood?
[Treble-Enabled Device Development A/AB ROMS] AnonVendetta:
You shouldn't try to downgrade after upgrading. Now you will probably need to clean flash 0115 or 0218. Which means wiping or formatting data partition in twrp.

More on the SN thing in a bit.
[Treble-Enabled Device Development A/AB ROMS] AnonVendetta:
If you haven't wiped/formatted data partition yet, try to dirty flash 0218 again. If it boots, then you can try to fix the safety net fail issues. If not booting, clean flash it. You don't really have a lot of options, unfortunately.
[Treble-Enabled Device Development A/AB ROMS] AnonVendetta:
@AndyYan: Please update your securize instructions to avoid confusion. I have been trying to help @n07w3n.

But he has installed an n variant, which has no root. So if securize doesn't work, you apparently cannot run adb as root to revert the change. This user has also told me that securize is missing from his Treble Settings.

I think in this user's case, on an n variant, it will only be possible to run adb as root, if s/he also has magisk installed.

What is the solution? This problem doesn't personally affect me, I'm just trying to help.
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
LOS offers a native ADB root, which can be toggled from Developer options and used with "adb root" before "adb shell". This was already outlined in the January release post.

Securize is now called "spoof system properties", but in the same place as Securize was.

Right now it looks like Google had made changes to the cat-and-mouse game yet again, as some users (not limited to LOS) are reporting failures. I can try working on it over the month (namely, try the GMSCompat approach), but understand it'll be tricky for me to verify and it won't be a priority.
[Treble-Enabled Device Development A/AB ROMS] AnonVendetta:
So basically, you're saying that the N variants also have the ability to run adb as root...even though there is no su binary to be found in the gsi image? how is this possible? I'm stumped that this can even work, without a su binary being present at all. something has to answer the root request, that's the point of a su binary.
[Treble-Enabled Device Development A/AB ROMS] AnonVendetta:
@n07w3n: I'm not sure what you're doing, but i was just able to run adb as root (while android was running).

Filename: lineage-20.0 20230218-UNOFFICIAL-arm64_bvN-vndklite.img

"Spoof system properties" is also present in Phh Treble settings (but not Securize).

Proof of adb as root:
[Treble-Enabled Device Development A/AB ROMS] AnonVendetta:
@n07w3n: I was also able to toggle the "spoof system properties, no bootloop after rebooting".

This n variant doesnt have a built-in su binary, Magisk also isnt installed. Yet adb as root works. You say your device disconnects from the PC when trying to restart adb as root. Not sure what would cause that. Perhaps maybe a missing device driver. Or a crappy cable. You are using Windows, like in my screenshot?