Project treble and GSI ROMs Vs aosp ports - Samsung Galaxy S8 Questions and Answers

As we've now finally got lineage os ported to our device as well as a treble support of some sorts, what are the advantages or drawbacks of running either?
Basically I want to drop Samsung and run a aosp ROM on my s8
I can either flash a port like lineage os 16 (which works quite well by the way) or I can go with Hades treble and flash an gsi ROM.
What would be the benefits or drawbacks of either solution?
I hope someone that has now tested both solutions can comment here.

I am assuming here. I think the treble ROMs can to updated with the latest sercurity patches more easily.
I think the los16 port to the s8+ can do the same but from a developers view I don't know how difficult it is to implement each month.
I'm on a treble rom now and always will be due to the fact that the Samsung s8+ patches are coming every 3 to 6 months now after the September sercurity patch.
I need clarification but I think that is the case.
Happy flashing

...

In regard to twrp backups. It can be done in treble. Just don't backup the system image. Click everything else. It works for me.

Is it actually already possible to activate treble on an Samsung S8 and install afterwards a GSI rom like "Pixel Experience"? So far I just found this "Project Treble for Samsung Galaxy S8".

_tnt_ said:
Is it actually already possible to activate treble on an Samsung S8 and install afterwards a GSI rom like "Pixel Experience"? So far I just found this "Project Treble for Samsung Galaxy S8".
Click to expand...
Click to collapse
https://forum.xda-developers.com/ga...-device-development/aosp-hadestreble-t3953333

Related

Is Project Treble compatible with the S5?

Hi... I've been reading some news about Project Treble, and how it helps with the custom ROM development and software updates. But I want to ask. Is this working on phones like the Galaxy S5? Because it would be helpful considering the potential of this phone and how stable it is running on Nougat, and an Oreo update would be easier to Port.
Unfortunately, it's not. It is only compatible with phones that were initially shipped with Android 8.0.
camellirite said:
Unfortunately, it's not. It is only compatible with phones that were initially shipped with Android 8.0.
Click to expand...
Click to collapse
But Huawei Mate 9 got an AOSP build of Oreo in one day thanks to this. And it has never gotten updated since Nougat. It used Treble as the blog said.
Raynelfss said:
But Huawei Mate 9 got an AOSP build of Oreo in one day thanks to this. And it has never gotten updated since Nougat. It used Treble as the blog said.
Click to expand...
Click to collapse
After reading that article, you're right. I read a news article that said only phones shipped with 8.0 will be compatible with treble, my mistake.
Raynelfss said:
But Huawei Mate 9 got an AOSP build of Oreo in one day thanks to this. And it has never gotten updated since Nougat. It used Treble as the blog said.
Click to expand...
Click to collapse
Mate 9 have 4.4 kernel with android Oreo. S5 have 3.4 kernel always. And treble is compatible by phones with 4.4 kernel and above. So no treble for s5.
djgigi94 said:
Mate 9 have 4.4 kernel with android Oreo. S5 have 3.4 kernel always. And treble is compatible by phones with 4.4 kernel and above. So no treble for s5.
Click to expand...
Click to collapse
Ok... That's sad but ok. At least we are having Oreo anyway! Thanks for clarifying. Close thread please!
djgigi94 said:
Mate 9 have 4.4 kernel with android Oreo. S5 have 3.4 kernel always. And treble is compatible by phones with 4.4 kernel and above. So no treble for s5.
Click to expand...
Click to collapse
I heard something about repartitioning, so it doesn't necessarily has to do with the Kernel, it's more like partitioning the device storage, with A/B partitions and stuff with vendor. I heard about a tool that can do that job called REPIT but I didn't do so much of a research of it.
Mi3 with snapdragon 800 on kernel v 3.10 got android p today so is there any hope for our s5s ,can it be ported to our phones like the redmi devs did
https://www.xda-developers.com/xiaomi-mi-3-xiaomi-mi-4-xiaomi-redmi-4x-android-pie-ports/
I looked into it.
In order to get Project Treble working on our Samsung Galaxy S5, we would have to :
- Repartition device to have 2 partitions, Vendor & AOSP
1. All vendor-specific blobs should be moved to /vendor
2. Some blobs load config files from /system/etc. Just hex-edit them to load from /vendor/etc instead
3. Label and format that unused new partition as /vendor - this should be automatically done with an OTA script
4. The kernel should mount the new partition as /vendor as well
OR
https://forum.xda-developers.com/pr.../tool-capire-le-treble-terble-vendor-t3774629
Without repartitioning?
- Have a 'Treblified' ROM already installed. (I believe we have Oreo ported..)
- Have 8.1 Vendor Blobs? I don't know much about this.
Any dev willing to make this dream a reality, please, step forward!
Rhioun said:
I looked into it.
In order to get Project Treble working on our Samsung Galaxy S5, we would have to :
- Repartition device to have 2 partitions, Vendor & AOSP
1. All vendor-specific blobs should be moved to /vendor
2. Some blobs load config files from /system/etc. Just hex-edit them to load from /vendor/etc instead
3. Label and format that unused new partition as /vendor - this should be automatically done with an OTA script
4. The kernel should mount the new partition as /vendor as well
OR
https://forum.xda-developers.com/pr.../tool-capire-le-treble-terble-vendor-t3774629
Without repartitioning?
- Have a 'Treblified' ROM already installed. (I believe we have Oreo ported..)
- Have 8.1 Vendor Blobs? I don't know much about this.
Any dev willing to make this dream a reality, please, step forward!
Click to expand...
Click to collapse
Looks nice. It would be great to try. If someone does try please post your experience here!
clockstoper said:
Mi3 with snapdragon 800 on kernel v 3.10 got android p today so is there any hope for our s5s ,can it be ported to our phones like the redmi devs did
https://www.xda-developers.com/xiaomi-mi-3-xiaomi-mi-4-xiaomi-redmi-4x-android-pie-ports/
Click to expand...
Click to collapse
Xiaomi have a terribke habbit of skipping android versions
Take the MiBox for example, from what i hear it never got an official 7.1.2 only leaked builds, they went from 6.0 to 8.0 and still face quite alot of bugs.
don't know if this is the right place for this but my old moto g 2014 with 3.4 kernel version just got android pi port its very smooth as per the reports, i have not installed it yet as i gave that phone to my mom. the phone runs on with a lowly snapdragon 400 chip and 1gb ram also its kernel version is 3.4 which is the same as our s5s so there might be a good chance android pie can be ported to our device
LINK
https://forum.xda-developers.com/moto-g-2014/development/titan-xperience-13-0-t3830834
did some further searching and found that lenovo zuk z1 also got Pie and it has SD 801 chip like our S5 so things looking quite promising tbh.....
LINK
https://forum.xda-developers.com/zuk-z1/orig-development/rom-pixel-experience-t3830494
clockstoper said:
don't know if this is the right place for this but my old moto g 2014 with 3.4 kernel version just got android pi port its very smooth as per the reports, i have not installed it yet as i gave that phone to my mom. the phone runs on with a lowly snapdragon 400 chip and 1gb ram also its kernel version is 3.4 which is the same as our s5s so there might be a good chance android pie can be ported to our device
LINK
https://forum.xda-developers.com/moto-g-2014/development/titan-xperience-13-0-t3830834
did some further searching and found that lenovo zuk z1 also got Pie and it has SD 801 chip like our S5 so things looking quite promising tbh.....
LINK
https://forum.xda-developers.com/zuk-z1/orig-development/rom-pixel-experience-t3830494
Click to expand...
Click to collapse
Anyone working on 9.0 for S5?
Official Aex devices will get 9.0 soon so yes I presume
The Galaxy S5 (klte) Kernel source on LOS has reportedly submitted comments about LineageOS 16. So we're having our pie soon.
LineageOS 16.0 teaser trailer by haggertk.
Rhioun said:
I looked into it.
In order to get Project Treble working on our Samsung Galaxy S5, we would have to :
- Repartition device to have 2 partitions, Vendor & AOSP
1. All vendor-specific blobs should be moved to /vendor
2. Some blobs load config files from /system/etc. Just hex-edit them to load from /vendor/etc instead
3. Label and format that unused new partition as /vendor - this should be automatically done with an OTA script
4. The kernel should mount the new partition as /vendor as well
OR
https://forum.xda-developers.com/pr.../tool-capire-le-treble-terble-vendor-t3774629
Without repartitioning?
- Have a 'Treblified' ROM already installed. (I believe we have Oreo ported..)
- Have 8.1 Vendor Blobs? I don't know much about this.
Any dev willing to make this dream a reality, please, step forward!
Click to expand...
Click to collapse
I've heard from the official website of lineage os that they can turn a device into an A/B device, but I am not sure that whether the A/B device is the one that have 2 partitions, here it is (https://lineageos.org/Changelog-19/)
Frank Telescope said:
I've heard from the official website of lineage os that they can turn a device into an A/B device, but I am not sure that whether the A/B device is the one that have 2 partitions, here it is (https://lineageos.org/Changelog-19/)
Click to expand...
Click to collapse
Its not as simple as having a/b partitions , there is a kernel issue. a simple google search wich show you guys that there is a minimum kernel version required for treble which the s5 is far and i mean far behind that minimum requirement for treble.
I know this is like off-topic but there is now a project WIP going on for Samsung Galaxy S3 Neo, since it's using 3.4 kernel, we using S5 have luck to support treble. At least if someone willing to do it.
For the AB partition it might be impossible to do so.
Now with pascua28's Intelli-Kernel we're even closer to the dream. This guy has managed to do wonders with this device... The last thing that may happen is him being able to update our Kernel version. I don't know how the A/B partition things work, but from what I've heard it requires a higher Kernel version. The S5 runs 3.4 right now, but with @pascua28 work it may get a higher version soon.

What is this treble i'm seeing all over the XDA forums?

Hey everyone I just wanted to ask what this trebel label means, my lack of understanding and research tells me its kinda like OTA but for a more secure way to push updates to devices? being someone who has been using my device fine, am just a bit wonderous wondering what this Trebel means for my favorite ROM, Recovery and Kernel
dalebaxter01 said:
Hey everyone I just wanted to ask what this trebel label means, my lack of understanding and research tells me its kinda like OTA but for a more secure way to push updates to devices? being someone who has been using my device fine, am just a bit wonderous wondering what this Trebel means for my favorite ROM, Recovery and Kernel
Click to expand...
Click to collapse
for the moment, forget about it
it's very green and brings more troubles than solutions or any gain in particular. We will see how things develop with time.
You can read more about treble in here
https://www.xda-developers.com/how-project-treble-revolutionizes-custom-roms-android-oreo/
bornlivedie said:
for the moment, forget about it
it's very green and brings more troubles than solutions or any gain in particular. We will see how things develop with time.
You can read more about treble in here
https://www.xda-developers.com/how-project-treble-revolutionizes-custom-roms-android-oreo/
Click to expand...
Click to collapse
Reading the article I'm still a bit confused by what all this would mean for the end user, I really enjoy AEX since I moved from RR and it seems like this is the "latest and greatest" type of situation, yeah okay launches are tough but when everything smoothed out what would this treble allow us all to do?
dalebaxter01 said:
Reading the article I'm still a bit confused by what all this would mean for the end user, I really enjoy AEX since I moved from RR and it seems like this is the "latest and greatest" type of situation, yeah okay launches are tough but when everything smoothed out what would this treble allow us all to do?
Click to expand...
Click to collapse
In reality, it means little to the end user. It could theoretically mean that ROMS require less development time, since all roms in theory are based on a single image.
You can kinda of see this with Google's OEM Partners. At Google I/O they listed a number of partner OEMs that were the first to use treble and for the most part they have released upgrades quicker and more reliably then there non-treble counter parts. This also can be extended to the modding community and in general means that porting roms and developing them on a new phone should be easier.
This is all part of a bigger push by Google to gain uniformity across devices. They started requiring security updates in there SLA's and now are pushing treble.
Trebles's All the benifits goes to vendor and stock rom users Rights. As we are Custom Rom users what are the benefits we getting from Treble Projects?
https://www.androidpolice.com/2018/05/13/project-treble-impact-android-custom-rom-community/
alwynjoshy said:
Trebles's All the benifits goes to vendor and stock rom users Rights. As we are Custom Rom users what are the benefits we getting from Treble Projects?
Click to expand...
Click to collapse
In the future you will be able to flash the custom treble image specific for your hardware, and then a GSI (Generic System Image) of your choice: RR, AEX, DU, Tesla, etc... that will be generic and able to be flashed in any hardware. That means that GSI development teams will be able to maintain their roms and apply the security fixes without the need to create custom rom versions for each hardware. So, finally we will have real OTA updates for custom ROMs. We all hope LineageOS 16 to have more or less this philosophy too. Well see it in September.
So, benefits for the user:
More ROMs to choose for your device (actually all of them!!!)
More frequent upgrades from custom GSI teams.
Oki said:
In the future you will be able to flash the custom treble image specific for your hardware, and then a GSI (Generic System Image) of your choice: RR, AEX, DU, Tesla, etc... that will be generic and able to be flashed in any hardware. That means that GSI development teams will be able to maintain their roms and apply the security fixes without the need to create custom rom versions for each hardware. So, finally we will have real OTA updates for custom ROMs. We all hope LineageOS 16 to have more or less this philosophy too. Well see it in September.
So, benefits for the user:
More ROMs to choose for your device (actually all of them!!!)
More frequent upgrades from custom GSI teams.
Click to expand...
Click to collapse
thanks you well explained ?️.
I have question, If we flashed treble once, are we able to flash any treble based rom, for example any devices treble roms
alwynjoshy said:
thanks you well explained ?️.
I have question, If we flashed treble once, are we able to flash any treble based rom, for example any devices treble roms
Click to expand...
Click to collapse
Once you have the Treble framework in place and have then flashed a device specific vendor image you can from that point on flash any GSI ROM. The thing to note is that so far NFound's Treble ROMs have included vendor image files in them which makes them device specific, you need to check for and remove any vendor image files from Treble ROMs created for other devices if you wish to try the ROM on a device other than what it was made for.
alwynjoshy said:
thanks you well explained ?️.
I have question, If we flashed treble once, are we able to flash any treble based rom, for example any devices treble roms
Click to expand...
Click to collapse
A treble rom is hardware specific, so you cant flash a treble rom designed for a different device. Only GSIs are compatible with multiple devices, and it is this way since the hardware dependant part is only in the treble rom.
Right now there are not fully treble roms available for the Axon7. The currently available roms labeled as treble are delivered and work as a usual full rom. The treble and system parts are still mixed up in those roms. It will take some time until we could enjoy a fully wotking treble rom in the Axon7.

LG V20 Project Treble

Hey guys i was reading something about project treble and it seems we are compatible because we are running android 8.0, what do you think about it?!
I would like to be part of it, i love stock android and it is a great project
Just running Oreo doesn't qualify a device as Treble compatible. Nonetheless, @x86cpu has got the phone repartitioned and a GSI (generic system image) booted with issues. Specifically, it seems the camera will likely never work and he didn't want to pursue Treble for the time being. See this post and the ones before it for where the V20 stands for now.
Sad fact but i hope we get something at least on the next year, thanks bro!

Any AOSP roms?

Hi all, I'm wondering why we haven't any AOSP roms or ports from Pixel? I like one ui and all this staff but pure android seems to me be more exciting, even on our galaxies
You can use GSI roms on all Treble devices , use A/B scheme, even Android Q at your own risk , greater if you own a Exynos S10+
rangemogger said:
You can use GSI roms on all Treble devices , use A/B scheme, even Android Q at your own risk , greater if you own a Exynos S10+
Click to expand...
Click to collapse
Im okay even with Android Pie, but still we dint have even it (roms ports). Can you actually explain smth about gsi roms? As i understood we need to cimpile it with our kernel etc. ?
You can find many GSI here https://forum.xda-developers.com/project-treble/trebleenabled-device-development and If a custom recovery is required use this https://forum.xda-developers.com/ga...ecovery-twrp-3-3-0-galaxy-s10-exynos-t3924856 ...at the moment it scares me
rangemogger said:
You can find many GSI here https://forum.xda-developers.com/project-treble/trebleenabled-device-development and If a custom recovery is required use this https://forum.xda-developers.com/ga...ecovery-twrp-3-3-0-galaxy-s10-exynos-t3924856 ...at the moment it scares me
Click to expand...
Click to collapse
Yeah, i checked it(twrp) up, it's really strange and scares) on htc hero it was much easy xD and about gsi seems that it really can work, maybe someday will try, if anybody haven't do it yet
More development here https://forum.xda-developers.com/s10-plus/how-to/project-treble-s10-t3923946

Active ROM's for the Axon 7

I'm currently using LOS 15.1 for my axon 7 but since it's not maintained anymore, I was wondering if there were any other ROMs that were being made or maintained for this device. Thanks in advance!
Im currently using stock A2017G B03 and move on with Huawei Mate 20x, i have been there done that with all known working GSI Roms and to be honest nothing feels as stable as stock especially when you need dolby atmos and banking apps, but if your device is not your primary device then you can try GSI Roms from Erfan or nFound.
Blankisblank said:
I'm currently using LOS 15.1 for my axon 7 but since it's not maintained anymore, I was wondering if there were any other ROMs that were being made or maintained for this device. Thanks in advance!
Click to expand...
Click to collapse
A lot of people have Treble'd their device and went with GSIs
I'm on LiquidRemix which seems to work nice with Speedy Vendor and Baddar Kernel
ibphantom said:
A lot of people have Treble'd their device and went with GSIs
I'm on LiquidRemix which seems to work nice with Speedy Vendor and Baddar Kernel
Click to expand...
Click to collapse
So I'm a bit confused, is LOS not made from a GSI? Or what's the difference between GSI's like LiquidRemix versus LOS?
Blankisblank said:
So I'm a bit confused, is LOS not made from a GSI? Or what's the difference between GSI's like LiquidRemix versus LOS?
Click to expand...
Click to collapse
When you Treble your device you split some partitions of your phone, particularly the vendor partition which opens the possibility of using ROMs from other phones. LOS offers a ROM version and GSI. The ROM versions are usually made just within the threads of the particular device. Some GSIs are broken, but that's because of a hardware mismatch but an updated vendor usually takes care of any mismatches. Each GSI/ROM has it's own custom set of features.
If you like LOS, you could try out the latest LOS16
But check out Havoc or LiquidRemix if you want to test GSIs
Keep in mind that we *may* have one official ROM supported for our phone. But GSIs are usually built monthly by a group of devs and they keep the security features up to date and make small changes like the AOSP public chain from Google.
ibphantom said:
When you Treble your device you split some partitions of your phone, particularly the vendor partition which opens the possibility of using ROMs from other phones. LOS offers a ROM version and GSI. The ROM versions are usually made just within the threads of the particular device. Some GSIs are broken, but that's because of a hardware mismatch but an updated vendor usually takes care of any mismatches. Each GSI/ROM has it's own custom set of features.
If you like LOS, you could try out the latest LOS16
But check out Havoc or LiquidRemix if you want to test GSIs
Keep in mind that we *may* have one official ROM supported for our phone. But GSIs are usually built monthly by a group of devs and they keep the security features up to date and make small changes like the AOSP public chain from Google.
Click to expand...
Click to collapse
So GSI's like LiquidRemix or Havoc are supported across multiple devices while ROM's are built more to match that specific device? Would that be correct? And we have a supported ROM still?
Blankisblank said:
So GSI's like LiquidRemix or Havoc are supported across multiple devices while ROM's are built more to match that specific device? Would that be correct? And we have a supported ROM still?
Click to expand...
Click to collapse
Yeah. GSIs are meant to be shared across devices with similar hardware and issues with a broken GSI are tweaked by having an updated Vendor file. ROMs are specifically made to match all the hardware in a particular model of phone. I think all the ROMs for the Axon 7 are unofficially supported at this point, which means a 3rd party dev decided to pull the source code of a popular ROM like Lineage and build it for our particular model just because they were feeling nice and appreciated by the people who use it.
ibphantom said:
When you Treble your device you split some partitions of your phone, particularly the vendor partition which opens the possibility of using ROMs from other phones. LOS offers a ROM version and GSI. The ROM versions are usually made just within the threads of the particular device. Some GSIs are broken, but that's because of a hardware mismatch but an updated vendor usually takes care of any mismatches. Each GSI/ROM has it's own custom set of features.
If you like LOS, you could try out the latest LOS16
But check out Havoc or LiquidRemix if you want to test GSIs
Keep in mind that we *may* have one official ROM supported for our phone. But GSIs are usually built monthly by a group of devs and they keep the security features up to date and make small changes like the AOSP public chain from Google.
Click to expand...
Click to collapse
ibphantom said:
Yeah. GSIs are meant to be shared across devices with similar hardware and issues with a broken GSI are tweaked by having an updated Vendor file. ROMs are specifically made to match all the hardware in a particular model of phone. I think all the ROMs for the Axon 7 are unofficially supported at this point, which means a 3rd party dev decided to pull the source code of a popular ROM like Lineage and build it for our particular model just because they were feeling nice and appreciated by the people who use it.
Click to expand...
Click to collapse
Okay so one last question, is there anything that you lose from moving to a GSI compared to a ROM? Like for example, would I still be able to use the superior audio DAC of the axon 7 or would that not be possible since that's too device specific? Thanks in advance!
Blankisblank said:
Okay so one last question, is there anything that you lose from moving to a GSI compared to a ROM? Like for example, would I still be able to use the superior audio DAC of the axon 7 or would that not be possible since that's too device specific? Thanks in advance!
Click to expand...
Click to collapse
Not that I know of. I'm able to use VoLTE and Viper4Android for the HD DAC and I'm on GSI.
Edit: And now that I remember, you should check out raystef66 ROMs. Those are still active for our phone and from an awesome dev.

Categories

Resources