Have you read both OPs yet, or are you looking for a TL;DR?What is the difference between AndyYan's "LOS 20 TD-based" and "LOS 20 light"?
Have you read both OPs yet, or are you looking for a TL;DR?What is the difference between AndyYan's "LOS 20 TD-based" and "LOS 20 light"?
The answer is in OP, but shorting, light is a from scratch version build by Andy with no support to older devices. TD-based is a continuation of @phhusson work by project treble developers. I choose light, but if you have an older device or want to kept @phhusson functionality, select TD.I am a beginner in GSI, so sorry for my question.
What is the difference between AndyYan's "LOS 20 TD-based" and "LOS 20 light"?
When should I choose the first, when the other?
Thanks.
what is TL, and what is DR
TD ist TrebleDroid, right?
Correct me if I am wrong: GSI (Generic System Image) is the Google's cross-device format for system image files, developed during the course of their "Project Treble". TrebleDroid is the community project started by Pierre-Huges Husson (aka phhusson or phh) with the goal to create a set of scripts (plus some additional open-source data and software) so that any Android-based system could be compiled as a GSI image, thus making it cross-device for the devices which support Project Treble (aka "treble updates").Thanks for your answers.
what is TL, and what is DR
TD ist TrebleDroid, right?
Is Treble and GSI not the same?
I ask because expression "Treble" and "GSI" is mentined on the github-account from phhusson
![]()
Generic System Image (GSI) list
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.github.com
On the list, there are many different images. In first post I also read that phhusson will not spend so much time for this than before.
Is this basis of all GSI the same? Will this continue?
Back to Andy's images
Because of "light", of course i though that something is missing. But then, I had a look on size of the files, and it's almost the same file-size.
So I didnt see what is missing.
Still questions, are:
- what is an old-device, what isnt it?
- what is the mentioned functionalities in TD, which are not included in light?
Too Long Didn't Read, basically asking for a summary.
So far it seems only I have decided to walk down a different path ("Light", but I still offer TD-based in parallel); everyone else still exclusively uses the same PHH/TD base.
The OS itself ("platform") contributes to most of the size, what we've done are but drops in the ocean. Not the right way to analyze this...Because of "light", of course i though that something is missing. But then, I had a look on size of the files, and it's almost the same file-size.
Devices that came with >=A10 as their first Android version are required to be SaR (you don't really need to know what this is), as well as generally more compliant with Treble's specs. For now, I see devices pre-(factory-)A10 as "legacy". Other concepts mentioned (A-only, VNDKLite) are even more ancient.
I don't want to make you go through my patchsets, but in short, there are lots of fixes tailored to legacy devices, Samsung, Huawei, non-QC/MTK SoCs (e.g. Spreadtrum) that I simply skip in "Light".what is the mentioned functionalities in TD, which are not included in light?
You're already in here but somehow missed the "spoof system properties" checkbox right below... Tick that and reboot.
Thank you , if you can please enable "DT2W".You're already in here but somehow missed the "spoof system properties" checkbox right below... Tick that and reboot.
Flash an updated image of the same variant without wiping anything.When it comes time to update do I have to go through the process of making phone vanilla again then flashing, or can I just flash the update directly on top? Would I need the gapps version again, or just a plain version?
Devices that came with >=A10 as their first Android version are required to be SaR (you don't really need to know what this is), as well as generally more compliant with Treble's specs. For now, I see devices pre-(factory-)A10 as "legacy". Other concepts mentioned (A-only, VNDKLite) are even more ancient.
Huawei/Honor? lolAre there devices which are SaR, but nevertheless are not usable for GSI?
No? It tells you up front about SaR (which is "A-only/AB" in GSI terms), seamless (which is "A-only/AB" in proper Android terms) and VNDK/Lite, and even suggests you an image from PHH/TD (from the filename of which you can also tell the above). The VNDKLite indication could've been a bit clearer though, I'll raise him a suggestion.
about SaR (which is "A-only/AB" in GSI terms), seamless (which is "A-only/AB" in proper Android terms) and VNDK/Lite,
Actually I believe offline charging display isn't working at all, and whether it charges while the logo freezes depends on the device. This is known but seems so deep/device-specific that I never intended to take it on.Its been plugged in for an hour and 15 minutes so far and the indicator still says 0%... the usb plug is warm so I am guessing its charging just fine and its just an inane glitch.
In "Light" I didn't do any special treatment to offline charging, whereas TD-based does have a few related patches.Side note: Really like that you kept the charging logo. not a fan of the one for TDb.
Seamless updates means having actual AB partitions (either physical/fixed or virtual/CoW); "AB" in GSI terms only indicates system-as-root, and the device doesn't necessarily support Seamless updates.
We only get to use one slot, so I'd say no.
Sammy hasn't adopted Seamless updates to this day...
AndyActually I believe offline charging display isn't working at all, and whether it charges while the logo freezes depends on the device. This is known but seems so deep/device-specific that I never intended to take it on.
In "Light" I didn't do any special treatment to offline charging, whereas TD-based does have a few related patches.
LineageOS is a free, community built, aftermarket firmware distribution of Android, which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS GitHub repo. And if you would like to contribute to LineageOS, please visit Gerrit Code Review.
adb shell settings put global restricted_networking_mode 0