yashsingh1/xdaforums huggingface dataset:
[Treble-Enabled Device Development A/AB ROMS] kookoo004:
Thank you Works well with Lenovo Xiaoxini Pad 11. I'm new to gsi this rom

Want to question... L1 on drm info app but L3 on neflix app. This seems to be a problem with most of the gsi roms. Any solution?
[Treble-Enabled Device Development A/AB ROMS] Incomtus:
Can I flash it without wiping data?
[Treble-Enabled Device Development A/AB ROMS] ThoKu:
I made a dirty flash on my Redmi Note 9T from Phh's Treble AOSP 11 to this ROM. Seems to be okay. (y)

Thank you for this amazing ROM.
[Treble-Enabled Device Development A/AB ROMS] Incomtus:
Thanks but I was talking about the android 12 extension
[Treble-Enabled Device Development A/AB ROMS] säbelzahntiger:
are there plans for arm64 parttition a only? gracias!
[Treble-Enabled Device Development A/AB ROMS] hooutoo:
fastboot erase system_b

fastboot flash system_b lineage-19.0-20220114-UNOFFICIAL-treble_arm64_bvS-vndklite.img

fastboot -w

fastboot erase userdata ----for good measure!

fastboot --set-active=b

fastboot reboot

Everything successfully complete!

I then get a kernel panic attack. Any ideas?????

I'm running a LG v60.

Ps. Never mind. Just had to flash both slots and she booted right up.
[Treble-Enabled Device Development A/AB ROMS] mister-13x:
I tried the firmware today, the firmware is loading, even almost everything works, problems only occur during a reboot or when trying to reboot into TWRP, then the device just reboots, and the desktop cannot boot normally, it loads and disappears,

in order for everything to work properly, you just have to turn it off and turn it on again, then everything works, in order to get into the recovery, just turn off the device and enter using the power keys and the volume minus (that is, as usual). I installed the firmware without gapps, my applications all work, even what did not work for 9 without gapps worked.

Due to the lack of gapps or for some other reason, I haven’t figured out yet whether the lock with a graphic key, password, naturally a fingerprint scanner does not work, there are problems even during a call if a headset and a smart watch are connected, the sound does not go either way, but when choosing a speaker works fine. Installed Magisk and it works. Xperia X Compact.
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Right now there isn't a VNDKLite GAPPS variant, for which I've got a few queries, so here's a new poll regarding GAPPS/SafetyNet.

It should be quite obvious by now that I'd like to keep variants few; VNDKLite GAPPS builds will also be quite a bit larger, keeping it out of slightly older devices.
[Treble-Enabled Device Development A/AB ROMS] hooutoo:
I desperately ;) need gapps for lineage-19.0-20220114-UNOFFICIAL-treble_arm64_bvS-vndklite. Help!!!!!!!!!!!!!!!!!!!!!!! Running on a LG V60. Freaking everything works including sound on phone call.
[Treble-Enabled Device Development A/AB ROMS] Incomtus:
If you have twrp you can flash Nickgapps for A12
[Treble-Enabled Device Development A/AB ROMS] Incomtus:
i dont know if its related to my device, so I ask the question if someone has this issue, when I force disabling navigation bar, the system interface becomes really instable, and everytime i try to acces a parameter from notification panel shortcut, interface crashes. Or if i clic on the three dots on the volume panel same.
[Treble-Enabled Device Development A/AB ROMS] hooutoo:
If you mean this one, NikGapps-psminky16-arm64-12-20220128-signed.zip, I already tried it. It doesn't work with vndklite (see post #80). If you mean something else? Do you have a link?
[Treble-Enabled Device Development A/AB ROMS] Incomtus:
No I use core gapps and it works

There you go

NikGapps - Browse /Releases/NikGapps-S/27-Jan-2022 at SourceForge.net

A Custom Google Apps Package that Suits Everyone Needs!

sourceforge.net
[Treble-Enabled Device Development A/AB ROMS] mister-13x:
Hi, I have an Xperia X Compact, I always use gestures, everything works fine and the curtain too, but after restarting the device, the desktop cannot boot, periodically appears and disappears, after several reboots it is rebooted but again before rebooting. And also, why doesn't it reboot into TWRP?
[Treble-Enabled Device Development A/AB ROMS] Incomtus:
I have issues with recovery too, sometimes it s stuck on recovery, or depending on the recovery i use, rebooting system from recovey can implies bootloops
[Treble-Enabled Device Development A/AB ROMS] Aj_$tyle$:
Hi Andy , I flashed latest lineage 19.0 and my camera is not working .

Device - realms c1

Vendor - android 9 , vndklite 28

Issue - camera is not there in gsi ( I downloaded open camera from play store and I got error after opening it )

Phh aosp is booting fine and has camera working , I tried phh aosp 400h before jumping to lineage .

Attaching screenshot , let me know how can I provide logs for this issue.
[Treble-Enabled Device Development A/AB ROMS] Aj_$tyle$:
OK now found another issue while I am trying to upload screenshot inbuilt browser app force closes
[Treble-Enabled Device Development A/AB ROMS] Aj_$tyle$:
uploading screenshots from PC
[Treble-Enabled Device Development A/AB ROMS] Aj_$tyle$:
here is log for "canera ID=0"

(i captured this log through matlog app)
[Treble-Enabled Device Development A/AB ROMS] Aj_$tyle$:
and here is the log for "browser crash while trying to upload image on xda website"
[Treble-Enabled Device Development A/AB ROMS] NightLord:
I found that deleting storage data for play services (and play store, but that may be unnecessarry) after having your device registered will immediately fix your certified status.
[Treble-Enabled Device Development A/AB ROMS] NightLord:
Just installed this GSI on a Bmax Maxpad I11 (only as a DSU image yet), and it seems to work without any glitches, thanks!

Also many thanks for the Gapps variant, please keep building them, it is quite a bit of help for those of us who own a device for which TWRP is not (and probably will not be) available.

Great work!
[Treble-Enabled Device Development A/AB ROMS] Wl40WaBL9hQcjo:
Hi Andy,

I went over some of the source code of your GSI on github, and I wonder why one file is encrypted?

I refer to the following file:

https://github.com/AndyCGYan/lineage_patches_unified/blob/lineage-19.0/patches_platform_personal/packages_apps_Messaging/0001-Messaging-Use-blue-accent.patch

Maybe I missed something. I'd appreciate it if you could explain. Ideally, I'd like to have all files in clear text, as per open source standards.

Thanks for commenting on this in advance!

Wl4
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
...it's the encoding of PNG format.

BTW, in case some aren't aware, I'm on Chinese New Year vacation now and will defer some affairs to afterwards.
[Treble-Enabled Device Development A/AB ROMS] Wl40WaBL9hQcjo:
Thanks for the clarification Andy.

I really appreciate your work, and it runs well on my flashed devices.

Happy new year to you!
[Treble-Enabled Device Development A/AB ROMS] Aj_$tyle$:
@Andy

enjoy the vacations
[Treble-Enabled Device Development A/AB ROMS] kkm6761:
I have installed GSI Lineage OS 19.0 A64 B on MTK 6761 device. Everything works fine, battery holds well. I have a question that is not related to this ROM, but can't find any answer in other places. I want to hide the lockscreen clock/date on a non rooted phone. What can I do to achieve that. I have tried many ADB commands to no avail. Does this feature have to be implemented in the ROM itself? How hard would it be to do that?
[Treble-Enabled Device Development A/AB ROMS] Kratos574:
Installed it succesfully but i cannot get GAPPS, always that i install them it just bricks the device and I need gapps, tried with NIkgapps but bootloops
[Treble-Enabled Device Development A/AB ROMS] Incomtus:
Préfère bitgapps i had boot loops with latest nikgapps also
[Treble-Enabled Device Development A/AB ROMS] oF2pks:
Please, can some with VNDKlite without GAPPS reports whether adding libjni_latinimegoogle.so to /system/lib64 brings GestureTyping (glide) working in aosp-LineageOS keyboard, or via Magisk systemless module, https://github.com/akaessens/magisk_google_glide_lib/tree/master/system/lib64 ?

Nota: this lib usually works straight on LineageOS non-gsi roms.

(I can't get glide typing in @phhusson aosp vndklite, with #su, despite compiled with aosp-LineageOS LatinIME keyboard sources + libjni_latinimegoogle.so.)
[Treble-Enabled Device Development A/AB ROMS] abdulee:
Can I swap back and recents button in this ROM?, because I don't like my back button on the left. Just wanted to confirm before flashing.
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Back from CNY...

1) PHH will implement a kind of OTA in his next release, see here for details and caveats. Due to those caveats, I'll defer adding it for maybe a month to observe feedback from other ROMs. I also strongly recommend flashing in the existing way, as you're more aware of what you're doing, and in most cases you'll be by a PC to quickly recover from f_ckups or pull data.

2) The GAPPS vote comes out pretty obvious! On top of a VNDKLite variant, I think I'll also try adding some commits from ProtonAOSP to help with SN. Again, these are done entirely at your request, and I can't support them beyond just adding, and if they break stuff I'll simply revert.

@Aj_$tyle$ I'll try looking at the camera thing. Browser crash is probably DocumentsUI or Jelly still needing some bringup for S, I'll leave that to LOS upstream.

@Kratos574 Um, there is a pre-GAPPS'd variant now?

@abdulee Simply [Settings - System - Buttons - Invert layout]. Even more, you can use the "sysui_nav_bar" key (search it) to redefine the layout completely.
[Treble-Enabled Device Development A/AB ROMS] SeventhRaven:
Do we count microg for gapps (before I vote)? Because I cannot pass SafetyNet with this ROM and Magisk, but could pass it with PHH's AOSP.

Although I kinda settled on your ROM now, because I cannot get adaptive brightness working on the other (also some other small things, but that was my biggest issue). Edit:Odd...I read that it has the overlay needed for my Xperia 5 II to support that, though. But I am not savvy when it comes to Android modding/development.

Figured out that part, somewhat. Changing the device's fingerprint with MagiskHidePropsConf removes adaptive brightness, for some reason. This didn't seem to happen with the LineageOS ROM, but it also never managed to pass SafetyNet in the first place.

Also, could someone explain the important differences between non-VNDK, VNDKLite and (VNDKLite) Secure to me? I get that VNDKLite apparently allows writing to system (which I probably should stop using, as I tend to mess up), but that's all I understood. Would be really appreciated as I cannot seem to find info on that.
[Treble-Enabled Device Development A/AB ROMS] PlatonShubin:
Hey guys. I'm happy to have this GSI working after going through some amount of trouble. But there are still issues I can't resolve. First and major is after I boot into the GSI for one time my TWRP stops working. It just gets stuck at logo but adb service keeps working somehow. And I'm in a dire need of TWRP. Could you point out some steps for me?

The second issue is that SafetyNet breaks if I enable ANY Magisk module. Including systemless hosts module from the settings. And even after disabling it still doesn't pass. But any other modifications are fine. Zygisk, DenyList, app rebuilding. All works and safetynet is ok. Any ideas on this as well?

@AndyYan Thanks for your great work!

My situation

Spoiler content hidden.
[Treble-Enabled Device Development A/AB ROMS] BigWetBoy:
Thanks for all the work that went into this ROM, I'm loving it so far.

The problem I'm having is I can't for the life of me figure out how to enable signature spoofing for MicroG, and none of the patches I've tried seem to work. Any tips would be greatly appreciated.
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
In case the readme on SF isn't enough, VNDKLite is literally for VNDKLite devices (Treble Info will tell), and Secure pre-Securizes the build, removing root and perhaps passing SN.

Remove /data/system/storage.xml before booting to TWRP. I think that also means your TWRP is slightly outdated. In general I recommend against "heavy" custom recoveries like TWRP after Android 11.

↓
[Treble-Enabled Device Development A/AB ROMS] SeventhRaven:
Seems like VNDKLite is the thing for me then.

I also went for the Secure one, though I retain root permissions (not sure what exactly you mean with "removing root"). I only noticed that I cannot use file transfer with the secure build, unless I disable USB debugging. SafetyNet can be passed when I spoof the fingerprint, though I will lose adaptive brightness then.

Still kinda torn on whether I should go with your ROM or stick with the AOSP. But since AOSP works just fine and there isn't any particular feature that I really need from LOS, I think I should stick with it. The slimmer the better, eh?
[Treble-Enabled Device Development A/AB ROMS] BigWetBoy:
Thanks for the reply Andy. I read the first couple of posts and found them helpful, but I don't know what a priv-app is or how to make MicroG one of them. I've searched more on the subject but haven't found anything helpful.

I'd appreciate any help, thanks!
[Treble-Enabled Device Development A/AB ROMS] SeventhRaven:
The way I did it, I installed magisk and installed the microG Installer Revived module. That way, microG becomes a system (priv-?) app and spoofing should work.
[Treble-Enabled Device Development A/AB ROMS] BigWetBoy:
This worked perfectly! Thanks so much for the help.
[Treble-Enabled Device Development A/AB ROMS] PlatonShubin:
Thank you very much! It worked. But I don't get it how is it outdated. It is a 3.5.2 custom TWRP. Do I need 3.6.0?

And if you or anyone could help with SN breaking on any Magisk module installed that would be awesome as well. Now that TWRP is working I can try installing a Secure build since I have Magisk on product. Maybe it'll help...
[Treble-Enabled Device Development A/AB ROMS] hooutoo:
I'm looking for a little help concerning "hidden menus", specifically com.lge.hiddenmenu.apk. I'm running an AT&T lg v60 and everything seems to be running very tight. Thanks, AndyYan! But when I try to install this apk I get the message "App not installed as package conflicts with an existing package". Now while "hidden menus" is very important to LG phones as it controls many behind the scene functions, almost all Smartphones have some version of hidden menus. These menus are usually activated by dialer codes (*#546368#*600# for lg) through the phone manufacture’ dialer. Other dialers do not recognize oem specific menus. Now in some cases, lg being one, you can create shortcuts to link to the app and then use the menu to control your phones hidden functions.

I believe this to be very important to all the various phone models using GSI builds. Any help on how to install would be greatly appreciated.
[Treble-Enabled Device Development A/AB ROMS] PlatonShubin:
Hello, I've reported earlier that I wouldn't pass SafetyNet after enabling any Magisk module. I managed to fix it by rebuilding the bgS version to be secure with the sas-creator tool linked in the original post by @AndyYan. I'm not 100% sure that it was using securized version that helped but it seems to be the case. So now I have working Magisk with Zygisk, modules and SafetyNet pass. BTW, my device passes it without even having to install safetynet-fix module.

So thanks for the firmware, Andy. I would also like to build more variants if you could cause not many people have linux to rebuild an image.
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Good to know, but hey, Securize is the easiest to do, its steps can actually be fully executed on a rooted Android device (no need for PC) (not yet, need to build simg2img into GSI in the future). Might as well write a shell script for that later...
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Updated all variants with February security patches and in sync with PHH v402. [Insert obligatory backup-and-test warning here]

VNDKLite GAPPS is in, on which you should be able to run Securize. Again, offered entirely at your request, as-is, without guarantees. Also, being unshared-blocks and GAPPS, it's huge (3.2GB), so older devices watch out.

AOSP and PE released their updates earlier, and since then more issues are popping up than usual. The merging delay of LOS gave me some time to observe how some of these went and revert certain offending changes, but that might not be enough, so don't be too surprised if you see a regression.

PHH's OTA mechanism should be in, but I need to test it on personal builds before I dare rolling it out. You might see some personal builds in the Testing folder in the coming days, which I'll also take as a chance to update the "reference" build, and you can take and install if you know what you're in for.
[Treble-Enabled Device Development A/AB ROMS] SeventhRaven:
Much thanks for your continued work!

Noticed the updated versions just a few minutes ago, and since I decided to go with your GSI after all (AOSP is just a tad too barebones after all and the theme issue with the system search bugs me) I went straight back to it. Just installed it and so far all is smooth, but I'll share any substantial issues if I notice any.

Pretty much gave up on trying to pass SN anyway. There's just one app I need it for, and that app will detect the root even if I pass it. At this point I have more hope trying to remove the root detection from the app itself.

And if you don't mind me asking again, any resources you can point me towards to regarding just what exactly Securizing does and what effects it has? Still new to this and I just can't find a proper explanation. Your previous answer didn't clarify it for me, because you said "Secure pre-Securizes the build, removing root and perhaps passing SN" but I don't understand what you mean with "removing root" exactly, as I was able to use that but retain root.

Also, is it normal that you cannot use file transfer on secure builds if USB debugging is enabled?

Oh, and any solid way for getting the black Pixel theme patched in? I'd like to have as much black as primary color as possible. Settings UI, status bar and all.
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Removes PHH-SU files completely, and copies/resets a bunch of system props to match vendor ones on boot, that's all. I never made a Secure build though, so not sure why you still got root and had that USB bug.
[Treble-Enabled Device Development A/AB ROMS] SeventhRaven:
Ohhh ok, that explains it. Thanks! Does the Securize option in PHH Treble Settings accomplish the same now (and yes, I ask as I try anyway, just winging it)? Nvm, that broke the system (I used Magisk). That's a no.

And to clarify on the root/USB thing, that was with the AOSP from phhusson and its secure build.

I still ran magisk, though. Magisk also seemed to not like the presence of the PHH SU files on the non-secure builds.
[Treble-Enabled Device Development A/AB ROMS] arifuluslamjoy:
My device symphony Atom mtk6761 vndk29 a64ab I installed LineageOS 19.x GSI but not boot ,# my device secure boot enable.
[Treble-Enabled Device Development A/AB ROMS] Aerael:
Hey!

Using lineage-19.0-20220114-UNOFFICIAL-treble_arm64_bvS-vndklite.img on LG V30 H930 joan, clean flashed via TWRP without and with various GApps (Nik, Flame, Bit, all for A12), and + GSI patcher for my module (which works with other GSIs) messes up the recovery. Booting into recovery from Lineage results in getting stuck in a bootloop of TWRP's splash screen. I expected to get into the Lineage recovery, what is going on there?

To get out I need to go to fastboot menu, manually erase userdata, then TWRP boots again (OS is toast from then on, bootloops) and I can factory reset / wipe again. The bootloop also happens if I flash TWRP.img after GSI flashing -- I hoped to rewrite the recovery partition that way so I would have TWRP recovery intact. Also, fastboot flashing and / or temporarily booting TWRP (various versions) does not result in a bootable recovery. Always stuck at splash screen.

Using the non-vndklite versions results in a "unable to mount /system" error that is not resolvable by two days of extensive troubleshooting. LG V30 community doesn't know what's going on either.

I'll try more with the 0211 build today. Do you have any idea how to resolve this?

My idea was to avoid TWRP, but if I boot into recovery from Lineage and get into a TWRP bootloop, how do I get into the Lineage Recovery?

I would REALLY love to jump on the Lineage train because I am absolutely annoyed with fast pace in which security updates of less big / further downstream developers are stopping and I need some peace of mind with flashing.

PS.: Do you have any recommendations on how to get started if I want to get into LineageOS customisation which survives updates (like writing a skript to modify system config files e.g.)? Would be greatly appreciated! I especially need to push the volume increment number to 60 and want to customise navbar. Optionally, animation types, colors, but those are bonus..
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
From the last page:

Perfectly normal.

Make your own Magisk module, or make entire personal builds like I do.
[Treble-Enabled Device Development A/AB ROMS] BigWetBoy:
I'm not sure how helpful this is, but I have the same phone and am using the same GSI patcher it sounds like you are (AzizOut) and I didn't have any problems installing the 2/11 update. TWRP worked flawlessly for me.

I use the non-Gapps, VNDKLite versions to avoid the "unable to mount /system" errors and it worked very well.
[Treble-Enabled Device Development A/AB ROMS] Aerael:
Thanks a lot, you are correct, I use the Aziz Out patcher as well. :)

Did you ever try to boot to recovery from system, either via the advanced boot menu, button dance, or adb?

If not, MAKE SURE TO MAKE A BACKUP BEFORE if you want to try!

If you did and you had no issues, then I'm mad and envious of your luck -- because for me, the TWRP splash screen bootloop happens reliably every time I try to access TWRP again after installing exactly your combo of flashing the 2/11 vanilla vndklite GSI + patching it.

@AndyYan Thanks a lot for the advice, I will meddle with some scripts to delete the script on system boot every time and in the meanwhile pray that I never forget to delete it before accessing recovery. But it works like a charm! Does the storage.xml contain any meaningful important data that would be harmful to delete on every boot?
[Treble-Enabled Device Development A/AB ROMS] SeventhRaven:
I am a little lost on the securize. Been trying to make it work so that that stupid s-pushtan app works again (some serious root detection there...and I think I don't really need root after all, since LOS offers the tweaks I want) but the securize function within the ROM seems to do nothing, and I couldn't figure out how to make the linked tool work either. Any ideas? Been trying to make the bvS-vndklite work with it (also tried the bvgS-vndklite, but same result).
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
It needs root first. At least install the PHH SU app; you have to see an auth dialog pop up as you choose Securize.
[Treble-Enabled Device Development A/AB ROMS] SeventhRaven:
Ohh, right. That explains why it did something when I tried it with Magisk installed the other time. Although just like with magisk, the Superuser app simply puts me into a bootloop once Securized has been used, so I guess this isn't working anyway.

But I also noticed I got a bootloop when I tried to use PHH's secure image...even though it worked before. Really odd. I wonder what's causing that all of the sudden.

Edit:

Lil update. Been messing around with some other ROM's, and I absolutely can use the cursed s-pushtan app on all that come secured/non-root. So yeah, I somehow need to get the su-binaries out of this one.

Edit2:

After some fiddling around, things work now. Managed to securize the image with the sas-creator tool.

I assume I def should never use the OTA function now? Not sure what exactly it would patch, but I assume it'll flash the whole partition, which would brick my device.