yashsingh1/xdaforums huggingface dataset:
[Treble-Enabled Device Guides, News, & Discussion] Dadud:
How would one go about enabling ambient display on a phone that has it normally (Moto g6) but apparently doesn't tag it in the vendor.
[Treble-Enabled Device Guides, News, & Discussion] ho3yn89:
Guys I gotta ask, I own a mi a1 ,I enabled unofficial treble ,I wanna know if I can flash any gsi from any other phone on my phone?
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
What do you mean by from any other phone?? You will need the GSI based system.img nd many flavours are available. Download anyone of your choice and simply flash via fastboot
[Treble-Enabled Device Guides, News, & Discussion] ho3yn89:
I mean I don't know if GSIs are specific to a phone or I can choose any gsi I want
[Treble-Enabled Device Guides, News, & Discussion] irony_delerium:
GSI == Generic System Image.

They're built to run with any device with an unlocked bootloader and Android 8.0 or 8.1 with Treble support. The entire point is that they're not specific to a phone.

With that said, because they're not specific to a phone, not every feature that your phone has might be supported. As an example, Huawei devices with dual (or triple) rear cameras - only the primary color sensor is available without loading up one of the stock camera apps. Other things might be missing on your device. Depends all on how the manufacturer exposed the features. (Or, in the case of an unofficial Treble, how the developers put it together.)
[Treble-Enabled Device Guides, News, & Discussion] apoor12:
How can i make treble for mi max hydrogen
[Treble-Enabled Device Guides, News, & Discussion] suarez1907:
When Google introduced treble project, they said that we publish new android software and android users can install this version directly but after several months Google did not do what they said. What do you think about that?

MHA-L29 cihazımdan Tapatalk kullanılarak gönderildi
[Treble-Enabled Device Guides, News, & Discussion] Amirk365:
It's up to the OEM to support it.
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
Well it fully depends upon the OEM whether they'll support the older device or not. What Google made necessary is that any new device shipping with Android OREO 8.0 should have to be Treble Compatible, so now in 2018 most of the upcoming phones will ship with android 8.0 Oreo and also be treble compatible and users will be able to install the update as soon as Google releases it
[Treble-Enabled Device Guides, News, & Discussion] SanketMohapatra:
Due to the recent announcement of the project treble the speed of the generation of the new devices have become slow down and it is good for the users because in this Chinese mobile dominated market Chinese companies deliberately making their phones and they are not giving the proper kernel sources which is making the development of the phones very difficult and mobile are not getting the updates in time and the people are very helpless about it so due to the change of this scenario I think the Chinese must have realised what is going to change and that is why they are making some new kind of plan so then the people will be restricted to do the editing like blocking their bootloaders because they don't want the customer to make a development for the phone so that they will be selling more phones like pancakes. Except for the some well established companies all others are same and it is a very bad scenario.

For the people going to buy a new phone it is my advice then please check that it has Android 8 pre-installed you get the support for the project treble and you have the ability to unlock the bootloader is because if it is not then there is no meaning of buying an Android Oreo phone.
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
Normally most of the popular OEMs allow their Snapdragon/Kirin/Exynos devices to get bootloader unlocked and as Google made it necessary so it is better to wait for a bit more until all OEMS start implementing Treble support along with Android Oreo.
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
[MENTION=1140856]zelendel[/MENTION] I was just wondering that now with Project Treble onboard the Vendor source will be common for all the Treble compatible AOSP roms. Is it possible to create a Vendor partition on a non-treble device(OnePlus 5T for example) using any software or TWRP or any sort of method then copying the Vendor Source from a Treble compatible device(Pixel devices for example) and then flashing that Vendor partition backup on the newly created Vendor partition on the OnePlus 5T????????
[Treble-Enabled Device Guides, News, & Discussion] SanketMohapatra:
Ok but I got a new message from your quote that Google has made it necessary to make the OEMs allow their customer to unlock the bootloader.

Has Google announced do something like this?

If it has then it is a very good news for us because it is the very first thing that needs to be unlocked in order to do any kind of work on the phone(custom development work).
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
I don't know if Google has announced or not but at present this depends upon the OEM whether they allow the bootloaders to be unlocked or not
[Treble-Enabled Device Guides, News, & Discussion] SanketMohapatra:
Yeah I was also amazed by your statement that the Google has announced so but it would be very awesome if Google do so.

---------- Post added at 05:22 PM ---------- Previous post was at 05:21 PM ----------

Are u in contact with [MENTION=1915408]phhusson[/MENTION] ?

I know he is one of the excellent developers right there in XDA .
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
no I'm not in contact with him...
[Treble-Enabled Device Guides, News, & Discussion] BillGoss:
Lol!
[Treble-Enabled Device Guides, News, & Discussion] zelendel:
No it doesnt work that way. The vendor files will contain most of the oem closed Sourced files needed for that device. Things like camera hals and drivers for hardware. Stuff that will never be open source.

The whole idea of one aosp build for many devices is a pipe dream that will never come to pass. This is due to each and every device needing different drivers and such. There are no universal drivers and hals available. This may change one day.

If you need an example. You can read over the thread they are working on and see how much doesn't work right. Even on a treble enabled device.
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
ohh thankyou so much for the information, thumbs up
[Treble-Enabled Device Guides, News, & Discussion] zelendel:
No problem. Sorry for the delay response. I keep mentions turned off and have since my mod days as we all did.
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
no problem sir, thankyou for the response and information
[Treble-Enabled Device Guides, News, & Discussion] SanketMohapatra:
I also had another doubt that whether the Android go will be supporting the project treble or not.

I know that this is just the fork all the original Android but I still had some doubt because it is possible then it will be very beneficial because the phones those be having very low hardware will also be able to upgrade .
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
I think they will also support Treble but the source code will be different from that of the normal source, it might have a different git page
[Treble-Enabled Device Guides, News, & Discussion] SkandaH:
Asus Zenfone 4 (ZE554KL) now supports Project Treble after official Oreo upgrade.

Source:

https://www.reddit.com/r/zenfone/comments/7k69o6/zenfone_4_series_support_for_project_treble_after/

https://www.asus.com/zentalk/thread-192112-1-1.html

Interestingly it doesn't use separate /vendor partition.
[Treble-Enabled Device Guides, News, & Discussion] SanketMohapatra:
I am not able to understand that without any separate vendor petition how is the project treble being implemented because this project is all about creating a separate partition and putting all the vendor things in it so how can we tell that phone not having any kind of separate partition for the vendor implementations is supporting this project?
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
I'm also having the same confusion. How is that possible to have Treble without a separate vendor partition???
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
[MENTION=1140856]zelendel[/MENTION] [MENTION=1915408]phhusson[/MENTION] any idea how this phone supports Project Treble without a separate vendor partition
[Treble-Enabled Device Guides, News, & Discussion] phhusson:
Short answer: it doesn't.

Longer answer: Treble support contains many many things, having a separate /vendor partition is just a "minor" thing, compared to everything else, they might have done everything else.

If they did everything else, (I kind of doubt it), it could be possible to use it.

Is there a ROM dump somewhere so I can check?
[Treble-Enabled Device Guides, News, & Discussion] SanketMohapatra:
Thanks for responding and regarding the Asus zenfone 4 the thing is only observed by a few handful of the people on reddit so thing is not completely concrete.
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
Thanks for the response?? and informing about the indepth matter
[Treble-Enabled Device Guides, News, & Discussion] SkandaH:
The link of official OTA zip for WW_15.0405.1712.83 build is here.
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
thanks for the zip link
[Treble-Enabled Device Guides, News, & Discussion] bjoernwolter:
Honor 9 will also get Treble support with the comming Oreo update (currently in beta testing)
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
Will update the OP as soon as it gets Treble Support...........
[Treble-Enabled Device Guides, News, & Discussion] HypoTurtle:
Is there an actual list of requirements? Or files you'll only see in /vendor if it has been built to contain all the device specific parts?

In short - I have a 7.0 device with vendor still in system but it seems to me to have been built with all the device specific stuff there. And the kernel seems self contained with modules so I think it was built conforming with 8.0/treble standards. I can rectify the lack of dedicated /vendor easily enough...
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
I didn't get you, [MENTION=1915408]phhusson[/MENTION] might be able to help
[Treble-Enabled Device Guides, News, & Discussion] AsItLies:
I *might* be able to shed a little light on this (no promises!) ;)

I don't think Treble is that simple. In addition to the added partition, there's an abstraction layer that I think requires modifications on the vendors side as well as on the OS level. I think it's this 'layer' that allows the OS to be upgraded and the vendor can stay the same and vice versa.

My bet would be that this layer is pretty complicated, as it probably has to try to anticipate future changes with 'place holders' in the calls between the 2 layers. And Android will need to be generic enough for all vendors hardware. I'd bet it's pretty involved to separate the two, but worth the effort for the future of Android.

just my .02 cents anyway.
[Treble-Enabled Device Guides, News, & Discussion] HypoTurtle:
Thanks, yea I'm aware of that. Just looked possible as it seems the kernel was made to be 8.0 compliant it seems.

Could I get the file tree of vendor from a treble device? And maybe a boot.img to look through

[Edit think I was wrong about the kernel - if anything there should be lots of separate ko modules...]
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
No u can't get that, they are closed source code only accessible to vendors only
[Treble-Enabled Device Guides, News, & Discussion] HypoTurtle:
So you're saying you can't see the contents of /vendor if you're rooted?

Shouldn't even need root. 'ls -R /vendor' -- this shows nothing?
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
No I'm saying the vendor content will be hard to reverse engineer as they are closed source....... Though I'm not having a Treble compabitible device so I don't know much
[Treble-Enabled Device Guides, News, & Discussion] phhusson:
It is impossible to implemeny anything close to Treble on a 7.0.
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
[MENTION=1915408]phhusson[/MENTION] I've a question. Some renders have popped up about the upcoming Moto G6 Plus/Play and it seems that they will come will android 8.0(treble compatible) but as we have seen that Moto ship 32bit OS on most of their devices, So if the G6 Plus also ships with a 32bit OS will it be possible to use your Treble compabitible rom on that device as the vendor partition will be modular, please do reply??
[Treble-Enabled Device Guides, News, & Discussion] phhusson:
Well I'll need to build 32bit images, but yes sure, no problem.

lol. That's not how the internet works.
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
I'm waiting for that G6 Plus, hope its possible to run a 64bit rom, bcz I will rely on the gcam port for better camera results on custom roms, thanks again
[Treble-Enabled Device Guides, News, & Discussion] SanketMohapatra:
Don't worry even on the Moto G5 S Plus the 64 bit support has been planned with Android Oreo update which is scheduled to be delivered soon so Motorola is very much aware of the issue
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
Yep I was checking the G5S Plus thread yesterday, 64bit Oreo based rom is there, thats a good thing as Moto users will be able to use the Google Camera port which produces better images. The best thing will be running [MENTION=842948]Phu[/MENTION]ssons rom on the G6 Plus
[Treble-Enabled Device Guides, News, & Discussion] Summer Son:
[MENTION=1915408]phhusson[/MENTION], could you please advise on the following:

Let's say if one is now considering buying a new phone, but, as we all know, many manufactures still release the new models on Nougat, thus trying to escape Treble for at least now. Nevertheless, those phones are later updated by manufacturer to Oreo (still without Treble).

What are the chances that the phone that received official Oreo update could be Treble-rized by the community and enjoy unofficial updates further?
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
It solely depends on the OEM. Xiaomi, OnePlus, Nokia, LG, Lenovo are least interested in implementing Project Treble in the older devices. Huawei is active regarding the plans of implementation of Treble on older devices, so if you are planning to buy a device right now you can go with Huawei else if you can wait then wait for Lenovo they are releasing Moto G6 series with android O onboard, even the Oneplus 6 will come with android O
[Treble-Enabled Device Guides, News, & Discussion] Summer Son:
I understand. The question is independent from OEM: if there is an official Oreo ROM, but no Treble, how hard it will be for enthusiasts to adopt Treble? From my understanding, having even official Oreo ROM makes Treble adoption not easier, it only depends on the vendor-specific files, which are not open-source, thus it will not help in any way. Or am I wrong?
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
For Treble support the vendor files are separated from system files and the vendor files are closed source. So for an enthusiastic its impossible to implement treble support
[Treble-Enabled Device Guides, News, & Discussion] AsItLies:
I think you are correct. The Oreo Rom is only one part of it. That Rom will be talking to a generic hardware abstraction layer. but if that layer hasn't been created for the OEM hardware, then the Rom is kind of useless. The layer the oem needs to create is very specific for it's hardware (of course), so, as far as I can tell, no one is going to create that but the OEM.
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
thats the reason why phhusson's rom work with so many devices, the rom is independent of the vendor source
[Treble-Enabled Device Guides, News, & Discussion] AsItLies:
Yes exactly.

It seems the confusion is around the OEM part that needs to be done (I.E. their part of this *separating* of these 2 layers). I *think* it's safe to say that if the OEM doesn't create their part (hardware layer - HAL) for a specific phone, then no one is going to create it.

I guess some are **hoping** someone else can do the OEM part, but I think only the OEM can do that.
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
The best possible thing to do is to wait for some more months untill OEMS start launching devices with OREO out of the box, rather than waiting for OEMS to make the old ones Treble compabitible
[Treble-Enabled Device Guides, News, & Discussion] AsItLies:
Yup! because it's entirely possible that OEMs may never make some of the older phones Treble compatible. It's impossible to tell, one can envision an OEM becoming more and more capable at this with newer phones, and then using that knowledge and going and trebelizing a few of the older ones...

And then again, maybe not. They are in the business of selling phones. Making older ones last longer can be seen as a conflict of interest (good thing google is basically forcing them to do that though). At the same time, OEMs may recognize that it would be good to do for 'customer relations'...

So, as you say, it's clearly better to wait for newer devices that are shipping with Oreo. It's pretty exciting, it's going to change things a lot :)
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
Exactly?
[Treble-Enabled Device Guides, News, & Discussion] SkandaH:
Lineage OS contributors are trying to bring Project Treble support on Xiaomi MSM8996 devices.

Credit goes to [MENTION=7050182]MishaalRahman[/MENTION] for noticing it.
[Treble-Enabled Device Guides, News, & Discussion] MishaalRahman:
Actually, credit goes to members in the Treble telegram chat for noticing it. Join us!
[Treble-Enabled Device Guides, News, & Discussion] anth0nymDROID:
I have been looking for an answer about CTS/safetynet and treble compatible custom ROMs. Do the custom ROMs pass the test or is it like any other custom ROM that fails without magisk
[Treble-Enabled Device Guides, News, & Discussion] MishaalRahman:
Doesn't pass SafetyNet.
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
They fail safetynet
[Treble-Enabled Device Guides, News, & Discussion] SanketMohapatra:
What about using the magisk unhide with them?
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
They don't work don't know why, even safetynet fails ony device though I'm using Magisk
[Treble-Enabled Device Guides, News, & Discussion] SanketMohapatra:
Yeah I can understand that it is a very complex process to bypass safetynet protection and it only works on a certain number of devices
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
exactly
[Treble-Enabled Device Guides, News, & Discussion] Summer Son:
So it's possible! https://www.xda-developers.com/xiaomi-redmi-note-4-project-treble/
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
yep Abhishek made it possible......hope to see treble port for more devices, now once the trend has started, most of the popular devices will get Treble(hope so)??
[Treble-Enabled Device Guides, News, & Discussion] abhishekpandey7148:
Sir plz port treble for land (redmi 3s prime) plz
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
This thing should be posted in Redmi 3S Prime Rom Development Thread, and as far as I know a developer is working hard to bring Project Treble to Redmi 3S, no idea about the Prime variant
[Treble-Enabled Device Guides, News, & Discussion] SanketMohapatra:
The first generation Android one devices have received the Android version of the Android Oreo 8.1 and I suppose that they have processor that is MediaTek MT6582

So I think the work can be started on this processor.

And I got the news that we are having on XDA that an obscure MediaTek phone has received the AOSP support by the help of the project treble so I think this is the answer to the companies that are not releasing the updates for their phone just after the release that now people have the power to do anything they want and they cannot restrict the people to try the new updates and the patches

I think Google has now correctly recognised the main problem with Android universe

---------- Post added at 03:43 AM ---------- Previous post was at 03:41 AM ----------

And we get a very important information that just Android 8.0 is not sufficient for the project treble compatibility because of the Vndk library missing so it is advisable to anyone that is looking for a new phone that they should go for a phone having Android 8.1 installed out of box so that they will get full project treble support and they will be supported for some more update cycles or according to the Google theoretically to every Android version in the future
[Treble-Enabled Device Guides, News, & Discussion] abhishekpandey7148:
We go it
[Treble-Enabled Device Guides, News, & Discussion] phhusson:
Well, 8.0 is not complete, 8.1 is not complete either, and P will most likely not be complete either.

Having a community-supported GSI which supports 8.0, from my point of view (you know, the guy who does the GSI.) isn't much harder than supporting 8.1.

It might require little few tweaks, but nothing serious.

I'm not saying S will be running on devices with 8.0 vendor, but I'm fairly confident for 8.1, and P
[Treble-Enabled Device Guides, News, & Discussion] dj_chapz:
I have a question regarding proprietary stock OS enhancements on AOSP ROMs such as for ex. the camera app.

If I for ex. install AOSP Oreo on a Treble-enabled device, install stock camera app (and flash stock frameworks if needed and other software requirements), would the camera be fully working and have the same quality as stock?

Imagine Samsung S9 with stock Android and Samsung camera in full glory.
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
How updates are handled by the OEMs is going to change completely, as Google made it necessary to implement Project Treble with Android 8.0 so even if the phone comes with MTK processor they will get AOSP roms.
[Treble-Enabled Device Guides, News, & Discussion] SanketMohapatra:
You have done a great job and your contribution to community is a great one as you developed the project treble enthusiasm by your ROM and I think in the second half of the 2018 more and more devices will be coming out with the Android Oreo and will be benefiting with your ROM.
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
even I'll try to install (if possible) his rom after I get a treble compatible device. Waiting for the Moto G6 Plus
[Treble-Enabled Device Guides, News, & Discussion] revanthreddyn123:
Developer TeamMex added initial treble support on xperiance 12.1 for Redmi 3s/3x/prime (land)
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
as I said in the above post
[Treble-Enabled Device Guides, News, & Discussion] SanketMohapatra:
What I was wondering that if a device gets project treble support then for how much longer should the Google have plan to release the Android ROM so that they will not need any kind of modification on the project treble supported phones.?

Obviously regarding the Android ROM that developers will have to develop the project treble supported custom rom but for how much longer they can get installed on the phones without any modification

---------- Post added at 01:22 PM ---------- Previous post was at 01:22 PM ----------

can we expect that till Android Z
[Treble-Enabled Device Guides, News, & Discussion] theandroidguy:
a device with vendor files of 8.1 might be able to run android P/Q not more than that