yashsingh1/xdaforums huggingface dataset:
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Updated all variants with July security patches. [Insert obligatory backup-and-test warning here]

The nexT big Thing is around the corner, so in preparation I'll clear 18.x off my drive in a week. This will be the final batch of 18.x builds from me.

As a farewell gift of sorts, I present to you GAPPS variants - regular for A64/64, and Go for 32/A64, matching the combo from PHH's AOSP. Compound that with A-only and VNDKLite, and we get a whopping 16 variants and close to 200GB of disk space eaten up by build artifacts (see why I didn't make them earlier?).

I myself have minimally tested regular GAPPS by logging in and downloading an app from Play, while another user had daily driven it for a few days with no issues reported; Go GAPPS is entirely untested. Regardless, GAPPS will be treated with the same principle as 19.x - builds are offered as-is without guarantees, and you'll have to help each other out on GAPPS-related/-induced issues.

To deal with the Play Protect certification error, visit here.
[Treble-Enabled Device Development A/AB ROMS] djshakilexe:
Lineage os asking to Format memory card. How to fix it? (pixel experiance don't ask for format)
[Treble-Enabled Device Development A/AB ROMS] fwiep:
Hello all,

First, thank you @AndyYan for all your work in making the GSI's over all these years. Your final LOS18 build (dated 2022-07-15) runs very smooth on my Lenovo M10 tablet (x605f). I am trying to reproduce this build with updated security patches using your build scripts.

When executing the build script (and even when I follow the steps manually), the call to make systemimage creates an Android sparse image file. Not, as in your example, a regular ext2 filesystem image. If I inspect both images with file, I see:

file lineage-18.1-20220715-UNOFFICIAL-arm64_avS.img
Linux rev 1.0 ext2 filesystem data, UUID=ac4da2fb-b81d-4b21-952b-8444c5ea1412 (extents) (large files) (huge files)

Then mine:

file lineage-18.1-20221124-UNOFFICIAL-arm64_avN.img
Android sparse image, version: 1.0, Total of 467854 4096-byte output blocks in 38 input chunks.

OK, so I unsparse my imagefile using simg2img and inspect again:

file lineage-18.1-20221124-UNOFFICIAL-arm64_avN-unsparse.img
Linux rev 1.0 ext2 filesystem data, UUID=846e8575-754f-4a0e-b404-4ff6b8536a93 (extents) (large files) (huge files)

This image can be flashed, but doesn't work. When I mount the example in my file manager, I see:

addon.d apex app bin build.prop etc fonts framework lib lib64 media ph phh priv-app product system_ext usr vendor xbin

If I mount my systemimage and ls, I see a full device tree:

acct bin bugreports config data debug_ramdisk dev efs firmware init.environ.rc lost+found mnt oem postinstall product sbin sec_storage sys system_ext
apex bt_firmware cache d data_mirror default.prop dsp etc init linkerconfig metadata odm persist proc res sdcard storage system vendor

The system-folder seems to contain the tree I want as in the example.

UPDATE - I've compared my previous LOS17 (Android 10) GSI builds with this current LOS18 build. They are both Android sparse image files; so that seems not to be the problem. The difference is what's actually IN the image.

How can I generate a systemimage similar to AndyYans builds?

Thanks,

FWieP

P.S. Yes, this thread is discontinued. But the device I'm building for does not support A12+ that well (if at all). So, compared to the A9 stock, I'm very happy with LOS18 (A11).
[Treble-Enabled Device Development A/AB ROMS] macboat:
Hi Andy, thanks for your fantastic work, I installed it on my Samsung Galaxy SM-T290 tablet and it worked so well. It is way faster and more responsive compared to the stock ROM. The only glitch I ran into is that Bluetooth is not working, I can connect to a Bluetooth speaker but the tablet still use it own speaker to play music.

Was going to trouble shooting on this but today I just flashed 20.x and this problem is fixed, couldn't be happier! So far 20.x is works very well for me.
[Treble-Enabled Device Development A/AB ROMS] adonis-ish:
my device is Ulefone note 7p, rooted but I can`t seem to find any custom rom for it. Specifically pixel oriented ones. Is there any???
[Treble-Enabled Device Development A/AB ROMS] hooooossamq:
i will try on a51 lineage-18.1-20211108-UNOFFICIAL-treble_arm64_bvS-vndklite and reply for results https://sourceforge.net/projects/an...8-UNOFFICIAL-treble_arm64_bvS.img.xz/download
[Treble-Enabled Device Development A/AB ROMS] a9381:
I installed on Galaxy A01core.

First of all, thank you for your wonderful work.

I hope there aren't many bugs...

Meanwhile I found 2:

1. MTP not working

2. SDcard not working

3. SIM card not working

Would appreciate help.

Thanks.
[Treble-Enabled Device Development A/AB ROMS] JuanTamqd21:
definitely depens on ypur vendor/kernel. Try to flash custom vendor/kernel that has better support on GSIs
[Treble-Enabled Device Development A/AB ROMS] a9381:
At the end I flashed another GSI ROM (also based LineageOS), SIM and SD problems solved. MTP still problematic (ADB works).

I wrote about it

Galaxy A01Core SM‐A013G

Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.

github.com
[Treble-Enabled Device Development A/AB ROMS] KokaiBalazs- dev:
guys, i tried that but idk whats the problem, im trying it from a SM-J330FN whit kebab 2.0 create vendor 2.0 and a64_bvn gsis, can you help me? stuck on black screen
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Per a number of requests over the past few months, I've decided to made a batch of 18.1 builds with current security patches. Aside from that, only 2 Samsung-related patches are added (again, by request). I hope that making as few changes as possible means breaking less...

It's been 1.5 years since the last, so while I've flashed and tested the build minimally, please DO BACKUP and take extra caution if you're dirty flashing. The last batch will be kept in History folder in case you need to fall back.

This one-off build doesn't change the discontinued status of 18.1 - its workspace will be removed shortly.
[Treble-Enabled Device Development A/AB ROMS] VPH20:
Cool thanks Andy. If Android 10 and 11 are still usable so is lineage os 18. I'm on Oneplus Nord N100 with Android 11. I haven't installed GSI A12 that Google offers in developer settings.

Reason I'm still on OxygenOS is there hasn't been reliable TWRP for Oneplus Nord n100, but been waiting so Google's GSI A12 wasn't an option. I had Lineage OS on my previous phone and it was so good. I think it was LOS 16/17 there was update however.

Oneplus Nord N100 is arm64 a/b. I did read the guide on page 1 but I dunno with custom recover it would be so easy and custom recovery is important.

Any ideas what to do? Thx for reading 😺
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
...? You should be flashing GSIs from fastboot/d. Custom recovery has never been important.
[Treble-Enabled Device Development A/AB ROMS] VPH20:
From fastboot/d ok
[Treble-Enabled Device Development A/AB ROMS] alonzam99:
Hello, I tried to flash lineageos 18 on my A8 2018 (my device is A only and arm64). I downloaded the correct GSI and for some reason after I flash the GSI in TWRP when I try to boot to system I get the message: No OS installed.

I have unlocked the bootloader and wiped my device before flashing the GSI and I flashed the GSI as "system image". Can someone help me to understand what I did wrong? thanks.
[Treble-Enabled Device Development A/AB ROMS] VPH20:
Generic system images | Android Open Source Project

source.android.com

Generic System Image releases | Platform | Android Developers

developer.android.com

Dynamic System Updates (DSU) | Platform | Android Developers

Dynamic System Updates (DSU) lets developers install a GSI side by side with the device's system image on a DSU-supported device that runs Android 10 or higher.

developer.android.com
[Treble-Enabled Device Development A/AB ROMS] GreenDotBlue:
Has anyone installed LineageOs GSI with DSU sideloader?

DSU Sideloader is basically a "front-end" for Android's DSU feature.

Android 10 or higher

Unlocked Bootloader

Device with Dynamic Partitions

GSI you want to use!

For those who don't know, explaining in a really quick and simplified way, DSU (Dynamic System Updates), is a feature introduced on Android 10, that let developers boot GSIs without touching current system partition, this is done by creating new partitions to hold a GSI and a separated userdata, to boot on them when desired.

You must unlock device bootloader before using DSU, locked bootloader will only allow booting images from trusted signatures (which in reality, for most devices, means that it will only boot images signed by device OEM), for this reason, unlocked bootloader is a requirement, also, installing images with locked bootloader in some devices may be dangerous.

Once installation finishes, Android creates a persistent notification allowing you to boot into "Dynamic System" (GSI installed via DSU), and you can boot into installed GSI, without touching your system partition, or breaking the "real userdata" partition.

After booting Dynamic System, you can try and test whatever you want, when you need to switch back to device's original system image, everything you need to do, is just, a simple reboot!

You can read more about DSU Sideloader and DSU feature here: GitHub README.md
[Treble-Enabled Device Development A/AB ROMS] GreenDotBlue:
The APK available at Fdroid and Github. Recent update a year ago.

GitHub - VegaBobo/DSU-Sideloader: A simple app made to help users easily install GSIs via DSU's Android feature.

A simple app made to help users easily install GSIs via DSU's Android feature. - VegaBobo/DSU-Sideloader

github.com

DSU Sideloader | F-Droid - Free and Open Source Android App Repository

Easily install GSIs using Android's DSU feature

f-droid.org
[Treble-Enabled Device Development A/AB ROMS] GreenDotBlue:
These file types if want to flash GSI as system rom rather than DSU how do you get e. g. filename_arm64_bvS.img.xz into Magisk? As it's not a supported img/bin/tar? Magisk can these days patch boot.img inside full rom image no need to extract, move around, compress, adb/fastboot, PC all that.

What apps to use in Android for file conversion?
[Treble-Enabled Device Development A/AB ROMS] AboodySahhaf:
How can I install it on a phone galaxy note 20 ultra ??
[Treble-Enabled Device Development A/AB ROMS] -CALIBAN666-:
You didnt read the first posts,or?
[Treble-Enabled Device Development A/AB ROMS] Sanket Kalore:
See post 31 I told a method
[Treble-Enabled Device Development A/AB ROMS] Sanket Kalore:
Did it work for you?
[Treble-Enabled Device Development A/AB ROMS] AboodySahhaf:
yes
[Treble-Enabled Device Development A/AB ROMS] :
It ended in a boot loop, I'll try another time in these days...
[Treble-Enabled Device Development A/AB ROMS] TonyUkukk:
any screenshoots? no?
[Treble-Enabled Device Development A/AB ROMS] AboodySahhaf:
Why is there no flash system in TWRP? is there a way to install a ROM GSI on galaxy note 20 ultra ?
[Treble-Enabled Device Development A/AB ROMS] Rediancool:
sim doesn't work on redmi 9a latest a64b vndklite

it detects sim but when i make a call it says to turn off airplane mode off(already off)

and signal is zero
[Treble-Enabled Device Development A/AB ROMS] lipe_riba:
Works on XT1033 Falcon Moto G 1st Gen? I saw ARM 32-bit, A-only. If yes, how to install?
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Updated all variants with January security patches and in sync with PHH v300.l. [Insert obligatory backup-and-test warning here]

@eremitein kindly let me pick his changes again - among which is restoration of /sbin, so we probably have Magisk support again, but I haven't tested this personally.

AB VNDKLite users, please be extra careful with this build. Just a hunch.
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Samsung users will have to either get a recovery that has proper fastbootd, or pack their own super partition.

An ancient device with no Treble support whatsoever. Nope.
[Treble-Enabled Device Development A/AB ROMS] AyHenry:
Please I beg you in the name of God, Don't include dynamic SU like eternityson did in CAOS, that stuff messes with magisk modules that requires terminal emulator. Please stick to bvs or bvn builds. Thanks for the great work, more grease to your elbow
[Treble-Enabled Device Development A/AB ROMS] Reznor7:
Just tried installing the latest on a Razer Phone 2. No go on Magisk support.
[Treble-Enabled Device Development A/AB ROMS] birdibird:
Sadly not working, also not with the Jan version.

init.environ.rc looses the edit after reboot.
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Hoo, I didn't pick dynamic SU for now (more cuz I'm lazy), guess I made the right call?

I did hear that it takes more than just simply flashing to get Magisk to work (e.g. here), maybe that'd help?
[Treble-Enabled Device Development A/AB ROMS] eremitein:
it can messed only if you enabled SuperUser. if you want using Magisk just don't use superuser

(also you can call module's commands like /data/adb/modules/MagiskHidePropsConf/system/xbin/props)
[Treble-Enabled Device Development A/AB ROMS] alvinprimo:
This fix sound on aonly vndk 26? Or I have to replace media.ecxtractor.policy again?
[Treble-Enabled Device Development A/AB ROMS] IamTheBRAVE:
Yes you are right, the superuser in this gsi is on by default. @AyHenri needs to go to PHH's Settings >Misc > Securise to remove root first.

Edit: sorry, was thinking of another gsi, haven't tried this one yet. In some other gsis, superuser is off by default and needs to be activated in PHH's Settings > Misc > turn on superuser.
[Treble-Enabled Device Development A/AB ROMS] aeGea:
Is phh setting exists in this build?

Cant find it

edit. nvm. im a dumb
[Treble-Enabled Device Development A/AB ROMS] Sanket Kalore:
Sir safety net fails and even hotspot not working in the latest build...and can u please make a BvN version also please...rest all is good as always...sir please help super su also not working...i installed phh su apkbut no root so securize won't help
[Treble-Enabled Device Development A/AB ROMS] Sanket Kalore:
edit already and copy in sdcard and replace with twrp filemanager
[Treble-Enabled Device Development A/AB ROMS] AboodySahhaf:
Is there a way to install it My phone has Treble support
[Treble-Enabled Device Development A/AB ROMS] AyHenry:
That only worked for magiskhide props. Didn't work for other modules like app systemizer. And as regards superuser, I did disable it, even securized, still didn't work.
[Treble-Enabled Device Development A/AB ROMS] :
On arm64 ab vndklite last release it's not possible to use firewall (afwall). With SU it's everything OK (I've granted root access to other apps) but it's not possible to enable afwall. In other GSIs there isn't this problem. Someone have experienced the same issue?
[Treble-Enabled Device Development A/AB ROMS] jr313:
Quick question everyone any help is greatly appreciated. So i have a note 20 ultra snapdragon that i am planning to get the bootloader unlocked if i would be able to flash a this ROM or an android 11 AOSP based ROM? I know the bootloader has to be unlocked and TWRP installed but i keep reading it isnt possible unless its the exynos or chinese snapdragon version?
[Treble-Enabled Device Development A/AB ROMS] birdibird:
20210111 a64_bvS version is working great here on my KingKong Mini.

And I managed to install Magisk.

Here is howto:

-> make sure you patch your boot.img with Magisk 21.2 or newer: change update channel to beta (or canary) in Magisk Manager

(I used SPFlashtool to flash the magisk_patched .img, because with my device flashing the zip in TWRP didn't work. You can also choose to flash the magisk_patched .img in TWRP or use fastboot)

1) boot the GSI and connect the phone to the pc. Make sure in developer options usb debugging and rooted debugging are switched on

2) adb root and adb shell

3) type echo $PATH, and copy output to a text file on your pc

4) reboot into recovery

5) in TWRP mount /system

6) adb root (probably still active)

7) adb pull /system/init.environ.rc

8) edit on the pc the init.environ.rc file and add an extra line under 'on early-init':

export PATH /sbin:(the $PATH output which you copied into a text file goes here without these parentheses)

9) adb push ./init.environ.rc /system

10) still in TWRP go in file manager to /system/system/xbin

11) delete su

done.

reboot into a LineageOS 18.1 with a working Magisk

ps

-hotspot is working fine here

-afwall+ too (with Magisk and EdXposed)

pps

The PATH in your post #31 gave me really weird red fonts, but it pointed me in the right direction. Thanks.
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Is hotspot a regression? And as usual, how about on PHH's AOSP equivalent (v300.l)?

I already told you? Rest is research, I can't go into details for a device I don't own.

This addresses the bootloader unlocking problem. Once that hurdle is past, GSI should work on par with the CN/HK variant (that is, I'm not sure how well it works there).
[Treble-Enabled Device Development A/AB ROMS] jr313:
This addresses the bootloader unlocking problem. Once that hurdle is past, GSI should work on par with the CN/HK variant (that is, I'm not sure how well it works there).

[/QUOTE]

Thank you very much for the information, I appreciate you
[Treble-Enabled Device Development A/AB ROMS] ilyanc:
When I try to change the Select USB Configuration to other than charging, it will always remain on Charing only, not able to select any other options. Honor V10.
[Treble-Enabled Device Development A/AB ROMS] JuanTamqd21:
PS C:\platform-tools_r30.0.4-windows\platform-tools> adb pull /system/init.environ.rc

remote object '/system/init.environ.rc' does not exist

how do i fix this?
[Treble-Enabled Device Development A/AB ROMS] Kurt Krummbein:
So, you want to add /sbin to $PATH? I also wanted to do this before i installed Magisk 21.3 on my gauguin with 18.1-GSI-20210111 ... one of the first steps in the steps to do is looking in a shell, what the current setting of $PATH is and than putting that into init.environ.rc like "export PATH=/sbin;<what was in your $PATH>" right ?

Well, when i did this first step, i already found /sbin in in the $PATH, so i just renamed /system/xbin/su and Magisk-SU worked.

Greets

Kurt
[Treble-Enabled Device Development A/AB ROMS] birdibird:
Did you mount /system in twrp?
[Treble-Enabled Device Development A/AB ROMS] JuanTamqd21:
I'll try this next weekend because I don't want this to interfere with my online schooling

i hope it works for me.
[Treble-Enabled Device Development A/AB ROMS] JuanTamqd21:
I did ofc

and i also did try to find the file through file manager in twrp and it surprises me that there is no such thing
[Treble-Enabled Device Development A/AB ROMS] alvinprimo:
Safety net works for me after securize and wipe data but security patch show my old vendor date
[Treble-Enabled Device Development A/AB ROMS] Kurt Krummbein:
Can't count how often it is said, that "securize" is setting back security patch level to last known by Google ... sigh.
[Treble-Enabled Device Development A/AB ROMS] IamTheBRAVE:
First time hearing this 😀 thanks for the info
[Treble-Enabled Device Development A/AB ROMS] jr313:
Is anyone running this on a Note 20 ultra by chance? If so what bugs are you running into?
[Treble-Enabled Device Development A/AB ROMS] Remon98:
Camera is Not Working.

I tried over 20 camera app.

-J5 prime A64_bvs
[Treble-Enabled Device Development A/AB ROMS] AyHenry:
Couple of suggestions, if you are open to them.

1. The styles feature in phh settings interferes with styles and wallpaper in that whatever changes you make in styles and wallpaper gets overwritten by the styles feature in phh settings after every reboot.

Please remove that styles feature in phh settings.

2. Under the System>buttons option in settings, there is edge long swipe option which has a couple of options to choose from, one very important option is missing from there, which is Notification/quick settings. Adding that will help to reduce the struggle of reaching for the top of the screen to swipe down for notification or quick settings panel.

Those are the few suggestions I have, and thanks for your great work.
[Treble-Enabled Device Development A/AB ROMS] JuanTamqd21:
I have a solution. No need to securize

just install hiddencore module from edxposed

worked for me
[Treble-Enabled Device Development A/AB ROMS] tkaczyk24:
Works great on zte v1000 4g/64
[Treble-Enabled Device Development A/AB ROMS] lyall29:
I flashed this rom on my Note 20 Ultra n986u, and it would not boot. One of the devs told me that only the Google gsi (Android 11) was booting on the n986u. The Google gsi did boot for me, but it's very stripped down.
[Treble-Enabled Device Development A/AB ROMS] tkaczyk24:
try factory wipe, I had a similar problem. After wipe, all the apps showed up and all the services came to life.
[Treble-Enabled Device Development A/AB ROMS] rbt07:
Friends, what GAPPS can I use in this ROM?
[Treble-Enabled Device Development A/AB ROMS] JuanTamqd21:
I personally use nikgapps
[Treble-Enabled Device Development A/AB ROMS] IamTheBRAVE:
I noticed some Gapps packages (generic google Gapps, NikGapps, FlameGapps) did not give me any error message despite not fully installing (because of small system partition).

When i used BitGapps i got an "install failed" error telling me about the small space.

I'm on a different gsi, btw.
[Treble-Enabled Device Development A/AB ROMS] Spaceoid:
I used FlameGapps and they worked well. But, as the previous speaker posted, that might depend on the size of your system partition. Though I guess (!) that a normal partition size by standard of the recent years won't give any problems.
[Treble-Enabled Device Development A/AB ROMS] SaocMc:
Hello, i have a moto one fusion, its a/b and VNDK 29, which version i need to download? the arm64_BvS or the vndklite one?

I need a vbmeta.img? Can i use the stock?
[Treble-Enabled Device Development A/AB ROMS] mdude22:
Im using:

lineage-18.1-20210111-UNOFFICIAL-treble_arm64_avS.img.xz

on my Samsung Galaxy A8 (2018) SM-A530W

OS installed fine but browser freezes and cant surf the internet, has other problems, watching youtube videos all that shows is a black screen or freezes

i installed the OS with lineage only, no gapps,

ill try to install it with gapps next and see how it goes, if it doesnt work ill have to go back to 17.1

i tried 17.1 and works fine
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Updated all variants with February security patches and in sync with PHH v300.m. [Insert obligatory backup-and-test warning here]

Let me know if you experience USB-related regressions (as in, worked in the last version but not this one).
[Treble-Enabled Device Development A/AB ROMS] birdibird:
All fine here!

Thanks.

(a64_bvS version @ Cubot King Kong mini 1)
[Treble-Enabled Device Development A/AB ROMS] birdibird:
update: I saw that in MicroG suddenly all permissions were granted in the Self-Check tab, while before flashing the new rom I hadn't done that.

edit: after re-activating Magisk this is not the case anymore.
[Treble-Enabled Device Development A/AB ROMS] birdibird:
@AndyYan

update2: I had to re-edit ./init.environ.rc with a PATH including /sbin and delete su from xbin to make Magisk work. (see post #67)

Can you do this (at least the PATH addition) at the next update? That will make life easier for people who want to use Magisk.

:)

Keep up the good work! (y)
[Treble-Enabled Device Development A/AB ROMS] Ashle:
Huawei P10Lite (y) good work (y)(y)(y)
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
I just got notified of the first issue by @Tims Fong as well; on my side only the accent color seems to get reset on reboot. I'll take a look regardless.

As for the other one, I keep my hands off Lineage's feature set.
[Treble-Enabled Device Development A/AB ROMS] Kurt Krummbein:
Updated my Xiaomi MI10T lite 5G to 20210212 build ... all fine so far :-).

Greetz

Kurt