yashsingh1/xdaforums huggingface dataset:
[Treble-Enabled Device Development A/AB ROMS] Abdullah5490:
Hello. I'm facing 3 problems with GSI ROMs 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] Incomtus:
Hello! On A11 lineageos 18 I can't set any pin code for lock screen or any pattern either. I tried with A10 lineage 17 there is no problem.

Any idea? I have a Samsung J7 2016
[Treble-Enabled Device Development A/AB ROMS] Wollyduke:
There's no thread for my device......ulefone note 7p.............sad.
[Treble-Enabled Device Development A/AB ROMS] JuanTamqd21:
you could nuild your own vendor but its kinda hard

or just wait for someone to make it

or just try other gsis
[Treble-Enabled Device Development A/AB ROMS] Claudio4780:
Howdy everybody. Question from an old man. My Xiaomi MI 9 SE Global (Miui 12.5) takes the "treble_arm64_bv" variant. Having checked my phone via the Treble Info app I've noticed "Your device supports the modern version of Project Treble, using VNDK version 30.0". Does it mean that I can also install "treble_arm64_bvS-vndklite.img" ?

If yes, which of the two variants is the better one and should I choose for installation... ?
[Treble-Enabled Device Development A/AB ROMS] tripin@:
I like your work. Great stuff making my moto G9 play happily running los 18.1.
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Just a quick reminder about EXT4 share duplicate blocks - it doesn't give you more space for mods such as GAPPS, rather the read-only nature makes it impossible to use /system-based mods. The way I see it, it's there for a number of older devices with smaller /system, just so they can flash it at all. As August builds are imminent, please double-check your votes.
[Treble-Enabled Device Development A/AB ROMS] Shotg1:
Using a only device what should i download here?
[Treble-Enabled Device Development A/AB ROMS] Shotg1:
There are avs and bvs build what should i download for a only device

Corrected i saw the notes its ol its just link is gone
[Treble-Enabled Device Development A/AB ROMS] Shotg1:
No possible link available
[Treble-Enabled Device Development A/AB ROMS] ELAD098:
Hii

it is work on

Teclast P10HD ???
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Updated all variants with August security patches and in sync with PHH v311. [Insert obligatory backup-and-test warning here]

The vote on EXT4 share duplicate blocks is a close one, but in the end supporting votes won out. As you wish - *B builds now have it enabled, saving some hundreds of MBs of image size. For those who need RW /system, *B-vndklite is also flashable on *B devices.

Building-wise, I've taken the weekend to heavily revamp the repos, reorganizing patches and unifying scripts for both my GSI and device-specific builds. Basically, I'm opening up all I use to you - you can now reproduce builds that I flash on my own arsenal of devices with relative ease.
[Treble-Enabled Device Development A/AB ROMS] samireto:
Hello, this room has app lock and network speed indicator?
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
And now for something different! I've built the generic ARM64 target as a personal test, meant for emulators, but also fairly usable on newer devices/vendors. This would be much closer to an "official LineageOS GSI" if it were out now - natively available build target, no GSI-specific patches, no device overlays, etc. - so on the flip side, if your device relies on those to run, this isn't for you. Then again, this isn't for anyone but those who want to play with something new, or those who want to check out my "personal" changes. Feel free to toy with it, just know that no support or updates for it whatsoever.
[Treble-Enabled Device Development A/AB ROMS] cpslcktrjn:
My device (Moto g10/capri) doesn't have TWRP and I can't seem to mount /system as rw (even with this:

https://twitter.com/i/web/status/1260577424418488324

)

What are my options for installing microg? I can't move the apks into priv-app, and without that I can't spoof the signature. Do I need to build my own version with microg bundled from source?

EDIT: I used this script to successfully remount /system as rw
[Treble-Enabled Device Development A/AB ROMS] SingingPotato:
I installed the smaller image (of your 18.1 build) on a Huawei P Smart 2018/FIG-LX1, over EMUI 9.1.

Everything seems to work correctly (not tried the GPS yet, but it was ok on PHHusson's AOSP10).

I don't know the size of the system partition but I could not flash bigger images than the PHHusson's vanilla AOSP (not even the FLOSS), so I greatly thank you for this new build.
[Treble-Enabled Device Development A/AB ROMS] vikas776:
Can you please help me in installing gapps in this GSI. My device is Realme x7 max ( mediatek 1200 ) and there is no twrp support. I can install this GSI without any issue but the issue is gapps as it require a recovery to install. Can you guide how I can install any kind of gapps into LOS. Do I need vndlite image ?
[Treble-Enabled Device Development A/AB ROMS] kikireki:
Does anyone have a tutorial, how to install GSI on Note 20 Ultra?
[Treble-Enabled Device Development A/AB ROMS] thongass000:
you can install Magisk first and then flash Gapps for Magisk here.

If your device says something about device not being certified by Google:

1. Install Device ID.apk

2. Copy the line that has the name "Google Service Framework" or "GSF"

3. Go to https://www.google.com/android/uncertified and sign in your Google Account

4. Paste the ID that you have copied and do the captcha.

5. Copy the registered Android ID below the box and do step 4 again

6. Go to Settings -> Apps and search for Google Play Store and Google Play Services

7. Disable both

8. Wait for a few minutes and enable them again

9. Open Play Store and do the rest :)
[Treble-Enabled Device Development A/AB ROMS] thongass000:
I have installed your GSI but can't transfer files with my PC. The device is still recognized but I can't see my device in explorer. Yes the toggle for file transferring is on. ADB status is offline as well
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Typical for Samsung, needs some kernel modifications, which is outside of GSI scope and I haven't looked into it much.
[Treble-Enabled Device Development A/AB ROMS] Crrrr:
Yep, I have the same problem on my Samsung. You can only transfer files when going to TWRP or by wifi with an additional app such as Warpinator or KDEConnect.
[Treble-Enabled Device Development A/AB ROMS] thongass000:
duh my device doesn't even have twrp support. i have to use bluetooth and other third-party app
[Treble-Enabled Device Development A/AB ROMS] marcusah123:
Hello,

I like this LineageOS version but I wish a couple of things were changed, disable encryption and allow gapps to install without saying the device is not play protect certified. Third thing is for MediaTek devices see if we can maybe figure out why hardware overlay has to be turned off.

thoughts and things I can do to help?

Thanks
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
1. I assume that's for use with a TWRP that cannot decrypt, but no, either ask the TWRP builder to figure that out, or modify your vendor fstab manually.

2. I don't use GAPPS at all, can't be of help there, but the #uncertified tag in PHH's TG group might help.

3. Check on PHH AOSP, if it appears there (likely), file an issue. And what's with "has to be turned off"? I have/had two Dimensity-based devices that run with it on just fine as far as I can tell.
[Treble-Enabled Device Development A/AB ROMS] marcusah123:
Hello,

Thanks for the quick reply. I'll check out the uncertified but was hoping that the apps could be installed without having to jump through a bunch of extra hoops to make the "not certified for Play Protect" issue not an issue.

I have the DooGee S95 Pro phone https://www.devicespecifications.com/en/model/f5f1524f on the Helio P90 chip MT6779 and when I turn on the device after installing the GSI the screen shimmers and flash until I turn off the hardware overlay unfortunately. I suspect the Dimensity stuff is much newer so it doesn't have these issues.

When I installed a specific ROM aka Nusantara GSI, the file system wasn't encrypted so I was asking how to turn off the encryption.

I can't run Nusantara rom as none of the gapps stuff work properly and they give an error to close the app as it has "crashed" so not sure what to do there.

I just want to run LineageOS and I am trying all avenues but I am not a developer so I can't write or port the rom myself, besides apparently HTC has to give out the kernel source code as DooGee only makes the hardware so I was reading in another forum.

Thanks
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
With or without a factory reset (formatting data)? Supposedly encryption is commanded by the vendor fstab. And encrypted with no password is still encrypted, I don't know what Nusantara does but I hope they are't treating no-password as unencrypted.

Again, what do you need unencrypted for? I myself was into it a few years ago, but abandoned the thought eventually.
[Treble-Enabled Device Development A/AB ROMS] marcusah123:
Hello,

I don't know for sure, what they are doing but I wanted it decrypted like normal LineageOS so in-case I needed to do a full backup I could, and restore it and if anything went wrong I would have access to my data outside of the operating system which I wouldn't have.

I did get the rom here: https://www.pling.com/p/1438186/

Thanks!
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
"Normal" LOS (as in device-specific) actually enforces encryption as part of the official charter, and the unencrypted backup/access you mentioned is not an endorsed pathway.

And I hate to say this again, but just modify your vendor fstab and format data. If your vendor allows you to do so (instead of making the vendor image squashfs or some other read-only format), that's what'll get you unencrypted data on anything you flash.
[Treble-Enabled Device Development A/AB ROMS] marcusah123:
Well I am running LineageOS on a ZTE Axon 7 and with all my previous phones my data was accessible via TWRP not encrypted. I'll take a look at what you mentioned. That's the least of my issues, the major one is the flashing on the screen requiring hardware overlay to be turned off to stop it from happening, and the Gapps issue.

Thanks
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
That's an older device that probably didn't ship forceencrypt, this is one exception LOS left open for legacy devices.
[Treble-Enabled Device Development A/AB ROMS] marcusah123:
I tried the flashable zip that "disables" forceencrypt but it didn't work it messed everything up. I suppose I should just be ok with losing all my data when my phone goes crazy, even with backups. Having good backups is key, but none of the backup programs get all the data so when I move from an old device to a new one sometimes I want to pull the data when they are not booted for various reasons due to issues. Anyhow I think that's a minor issue. I'd be happy with just fixing the gapps and the hardware overlay issues.
[Treble-Enabled Device Development A/AB ROMS] :
Hi, I have tested the August build (arm64 AB), the non-vndklite version has 30MB of free space in /system, perfect for using adaway but it is not rw, and the vndklite version only has 3MB of free space. Is there a way to have the same free space in the vndklite version to take advantage of it in programs like Adaway?

And... Sorrry for my bad english.
[Treble-Enabled Device Development A/AB ROMS] bomzhellino:
Try to repair and resize the System partition on twrp.
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Updated all variants with September security patches and in sync with PHH v312. [Insert obligatory backup-and-test warning here]

One notable change of this month is removing llkd (livelock daemon), which is known to mistakenly cause certain apps like Genshin Impact to freeze/restart after 10 minutes of usage. I've been running alright without llkd for a month by now, but if you notice a regression after this build, do let know.

PHH is currently on a vacation; luckily, A11 is nearing its end, and A12 has been pushed back to Oct 4th (current leak), so there's no need to worry. I've also finished scouting A12 ahead for my personal changes and should be ready to publish them for other builders' reference, and build for generic target on release day.
[Treble-Enabled Device Development A/AB ROMS] eremitein:
i guess issue was in the 91.xx webview, now LOS team have it updated
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Hmm, how do you know? The log doesn't tell much aside from "killed".
[Treble-Enabled Device Development A/AB ROMS] eremitein:
one user reported on 4pda, he did update webview to v92 and games stopped force closing
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
Thanks, I'll leave this release as-is, but will run a personal build later to confirm.

EDIT: No that wasn't it. Will leave out llkd until a true cause is found.
[Treble-Enabled Device Development A/AB ROMS] flix27:
I tried to install this gsi on my ZTE blade a7 2020 with twrp (by first factory resetting and then flashing the .img file as sytem image) file but it doesn't Work:

The device has a 64Bit CPU but 32 Bit OS and is project Treble supported (it shows a dedicated vendor partition in twrp)

When I use ARM with b partitioning scheme it reboots and just goes back into recovery.

All other versions just bootloop.

Is there anything i'm doing wrong?
[Treble-Enabled Device Development A/AB ROMS] knoelli:
I like to add (nano open) GApps to the rom and also prefer Magisk over phh-su, so I was looking for a way to make the system image writeable again. Some posts above a guide from PHH was given to unshare duplicate blocks directly on the phone once the image has been flashed, but I wanted to perform these steps before flashing the image.

I came up with the following method to unshare duplicate blocks on a linux machine. Note that you need "simg2img" and "img2simg" to convert from and to sparse image file. Those tools should be available on most current linux distributions (i.e. on debian/ubuntu you can install them with a simple "sudo apt-get install simg2img img2simg").

Here's are the commands to unshare duplicate blocks. Replace ##FILENAME## in the first line with the actual name of the downloaded .xz-image file:

xz -d -k -c ##FILENAME## > ROM.img
simg2img ROM.img ROM_RAW.img
e2fsck -y -f ROM_RAW.img
resize2fs ROM_RAW.img 3500M
e2fsck -E unshare_blocks -y -f ROM_RAW.img

e2fsck -f -y ROM_RAW.img
resize2fs -M ROM_RAW.img
img2simg ROM_RAW.img Lineage_RW.img

If you want, like me, to remove phh-su in the process, use the following commands just after the "e2fsck -E unshare_blocks..." command:

mkdir tmpdir
mount -o loop,rw ROM_RAW.img tmpdir
rm tmpdir/system/bin/phh-su
rm tmpdir/system/etc/init/su.rc
umount tmpdir

The final image is then stored as Lineage_RW.img which can be flashed to the phone instead of the originally downloaded image.
[Treble-Enabled Device Development A/AB ROMS] Chaplin0906:
Hey guys,I use this gsi on my htc u11 for daily use,but when I call someone ,

I can’t hear his voice with the earpiece but the speaker , how can I fix it ?
[Treble-Enabled Device Development A/AB ROMS] LichtEstarossx:
I have tried both methods in phh aosp, update the webview, but my galaxy a51 does not support or something similar the "setprop ctl.stop lkd"

A "temporary" solution in my case is to put the kernel in permissive when I use the applications that have crashes, once I finish using them I make the kernel is enforcing again, I do it from termux with these commands

its

getenforce to confirm selinux status

setenforce to change the state of it (1 for enforcing) (0 for permissive)

At the moment it is just a speculation of mine, but maybe it could be useful for someone else
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
su
setprop ctl.stop llkd-0
setprop ctl.stop llkd-1
[Treble-Enabled Device Development A/AB ROMS] LichtEstarossx:
Unfortunately that command does not work on my device, (an error appears regarding ctl.stop, the error in question that ctl cannot define llkd or similar), that's why in my case it only works to use the kernel in permissive
[Treble-Enabled Device Development A/AB ROMS] Incomtus:
Updated with September build, can't mount read/write system anymore. It was possible with July one. Huawei nova 3
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
It's a community vote result - see August update post.
[Treble-Enabled Device Development A/AB ROMS] Incomtus:
Ow okay sorry i forgot that!!! flashing *B-vndklite on B devices as solution.....
[Treble-Enabled Device Development A/AB ROMS] knoelli:
You may also try my suggestion posted here to modify the image before flashing and unshare duplicate blocks, which makes the partition writable again.
[Treble-Enabled Device Development A/AB ROMS] thongass000:
i think you forgot to remove /system/xbin/su as well

Another tip: add an empty file called "secure", permission 644 at /system/phh will pass SafetyNet
[Treble-Enabled Device Development A/AB ROMS] knoelli:
Thanks a lot for your input. I'll check with AndyYan's next update to add /system/phh/secure, passing SafetyNet would be a nice feature. However, /system/xbin/su does not exist in the rom.
[Treble-Enabled Device Development A/AB ROMS] thongass000:
oh well, maybe not in lineage os then. I saw other gsi have the file, including phh aosp
[Treble-Enabled Device Development A/AB ROMS] AndyYan:
AOSP Android 12 source has dropped just now, and unlike previous years, this time I'm joining the day-1 fun in my way.

I've already (re-)done most of my frameworks_base personal mods and, as a demo, applied them on top of an aosp_arm64 build, which you can download here. It's also RW-enabled so you can poke around it further. The modifications themselves are open-sourced here, some of which could be of use to custom ROM makers.

Note that, booting- and feature-wise, this would be no different from Google's aosp_arm64 build, so if you're looking for a daily driver, this isn't it.

EDIT: Emphasize that this build is merely an appetizer/demo - it won't get support or updates.
[Treble-Enabled Device Development A/AB ROMS] Zool_Cz:
Hi guys,

I'm looking for some custom ROM for Lenovo K9 4GB RAM (L38043 Android 8.1.0).

Assembly number L38043_ROW_OPEN_USER_M6762_O_MTK_4G_S0301_18A11.

Is this ROM compatible with this phone?

Thx Jenda
[Treble-Enabled Device Development A/AB ROMS] Crrrr:
Hi, this is a GSI, so it isn't device specific. However, you should first learn what type of device and arhitechture you have, to know what file to install.

To start with, you can install an app that tells you this, for example this Treble info app: https://play.google.com/store/apps/details?id=tk.hack5.treblecheck

First, you need your device to be compatible with Project Treble.

Secondly, to select the right file, you need to see (i) if your device is compatible with vndk, (ii) if it is A, A/B etc. (iii) if it is arm64, a64 etc.
[Treble-Enabled Device Development A/AB ROMS] Zool_Cz:
Hi Crrrr,

I used to check it in app Treble Check and Droid Hardware Info and here is the info:

This device support Project Treble.

Architecture is ARM64.

Device is not rooted yet, first I need to check if the ROM is compatible, then I can perform a root.

Required image is: system-arm64-aonly-vndklite.img.xz so this is correct image:

lineage-18.1-20210914-UNOFFICIAL-treble_arm64_bvS-vndklite.img.xz ?

Thx for pushing me further Jenda
[Treble-Enabled Device Development A/AB ROMS] Crrrr:
You missed a step, you didnt look if your device is A-only or AB. From what you wrote, your device may be A-only.

lineage-18.1-20210914-UNOFFICIAL-treble_arm64_bvS-vndklite.img.xz i

s for AB devices

.

Read with more attention. Take your time!

If you look with more attention at the link to the download, you also have some explanations there:

treble_arm_av* ARM 32-bit, A-only 32A treble_arm_bv* ARM 32-bit, AB 32B treble_a64_av* ARM 32-bit with 64-bit binder, A-only A64A treble_a64_bv* ARM 32-bit with 64-bit binder, AB A64B treble_arm64_av* ARM 64-bit, A-only 64A treble_arm64_bv* ARM 64-bit, AB 64B
[Treble-Enabled Device Development A/AB ROMS] Zool_Cz:
Hi Crrrr,

Yeah, under System as Root info is "A-only".

So correct image will be this one:

treble_arm64_av*	ARM 64-bit, A-only	64A

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

Am I correct?

Thx Jenda
[Treble-Enabled Device Development A/AB ROMS] Crrrr:
Hi, unfortunately I wasn't able to boot after install. I tried a few times and even by using the TWRP option reboot to system.

Samsung A20e.
[Treble-Enabled Device Development A/AB ROMS] Saeless:
Can i flash it on my redmi note 10. I'm on crdroid official build. And what's the procedure. Thanks
[Treble-Enabled Device Development A/AB ROMS] vipvirus57:
на ZTE Nubia Z17 (nx563j) есть андройд 12???
[Treble-Enabled Device Development A/AB ROMS] Tweakforce_LG:
Will a 32bit arm arch GSI for android 12 be possible? To what extend is the rumored 32 bit support removal true for android 12?
[Treble-Enabled Device Development A/AB ROMS] Atanassoww:
Can i install it on Redmi 9T (juice)? I am currently using xiaomi.eu rom
[Treble-Enabled Device Development A/AB ROMS] subhanjavadov:
Same with ZUK Z2 plus (arm64 a only)
[Treble-Enabled Device Development A/AB ROMS] Tropaion:
Hi, I'm new to treble an read a bit about it, pretty interesting concept.

I have a tablet which supports it: "Device supports Project Treble. VNDK 30.0 is bundled alongside it. Seamless System Update is also supported (A/B system partition). Arch: 64bit ARM, system-as-root is also supported."

So it looks to me that this ROM does work.

But is it also useable with tablets?
[Treble-Enabled Device Development A/AB ROMS] Crrrr:
Always do a back-up beforehand, for example with TWRP. If for your tablet you do not have a custom rom, you can try a GSI. Usually, for the most used devices you can find a customized custom rom on XDA. For te rest, your only option is a GSI. You need to do your research.
[Treble-Enabled Device Development A/AB ROMS] Tropaion:
Normally I use LineageOS or ArrowOS for every device I have, but sadly for newer tablets there aren't many ROMs and I don't someone will make one for the Xiaoxin Pad Pro 2021. Maybe in holidays I will try to make one since I'm an IT student.

But it looks there isn't even an TWRP for my tablet.
[Treble-Enabled Device Development A/AB ROMS] Incomtus:
Thanks but it is too much complicated for a noob like me lol
[Treble-Enabled Device Development A/AB ROMS] Unmesh 9830:
What is vndk
[Treble-Enabled Device Development A/AB ROMS] Chaplin0906:
Can vndk-lite a/b support this gsi ?
[Treble-Enabled Device Development A/AB ROMS] Creeper Azul:
Hola me pueden mandar la rom de J2Core edicion go

Es

"Solo A -Arm32 pero dice que utilisa binder de 64 -no soporta root - treble y VNDK 27.0"X fa ayuda