Treble ROMs now working on Pixel 2 XL - Google Pixel 2 XL Guides, News, & Discussion

So I just confirmed with Phhusson Treble ROMs working on our Taimen.
Taimen was long time the only device that supported Treble but could not benefit from Treble based ROMs becuase of verified boot, but a way around it has just been confirmed working.
See https://android.googlesource.com/platform/build/+/master/target/board/treble_common.mk#52 for the code behind it
And this vbmeta.img from Phhusson allows bypassing verified boot https://androidfilehost.com/?fid=890129502657591211 this image is to be flashed to vbimage partition right after flashing treble system image
Credits to Phhusson for the code and work on Treble
Credits to me for all the testing and debugging
Credits to MishaalRahman for the idea
So what does any of this mean? Pixels run stock android as stock rom anyway?
True, currently it doesn't make much sense to use Phh rom over stock, but Treble might make things much easier for custom ROM devs and future ROMs once support from Google ends.
Cheers

Cool! Does this potentially mean that possibly custom ROMs would be able to be flashed on locked bootloaders

slogar25 said:
Cool! Does this potentially mean that possibly custom ROMs would be able to be flashed on locked bootloaders
Click to expand...
Click to collapse
No

I mean yea this is all well and good but until we have an img we can flash with fastboot to give us access to all (samsung, htc, lge, MIUI) custom spins of android this really won't attract much attention. I'm looking forward to it as much as you, since we can poke and prod at these vendor images to find a way to simplify ROM creation. However I have yet to encounter such images. I guess I'm pretty new to this stuff so maybe there's someone out there with access to the latest samsung vendor images.
The concept of flashing a single vendor.img to the bootloader to switch android 'spins' is in itself an extrEMELY attrActive one. I hope the android gods bless us with such a revalation.

i tried it with rr treble but does not work for me.
i clean flashed all , do a factory reset . After that i flash system image to system . And now? vbmeta flash in twrp to boot or vendor?

I have the same question.
Punraz_ said:
i tried it with rr treble but does not work for me.
i clean flashed all , do a factory reset . After that i flash system image to system . And now? vbmeta flash in twrp to boot or vendor?
Click to expand...
Click to collapse

Related

Project Treble ROMS on the 10 lite (WAS-LX1A currently running 8.0.0.321(C432)daily)

Hi
I know the p10 lite has had its oreo upgrade and this will open up this device to Project treble ROM's has anyone sucessfuly installed any of the treble ROM's out there and if so which ones give a good overall experience TIA
N
ndg_2000 said:
Hi
I know the p10 lite has had its oreo upgrade and this will open up this device to Project treble ROM's has anyone sucessfuly installed any of the treble ROM's out there and if so which ones give a good overall experience TIA
N
Click to expand...
Click to collapse
In most cases is kinda a lottery to install successfully a treble ROM because of the Huawei encryption. Firstly I recommend to upgrade to the final and latest version of Oreo (B360) (using HuRUpdater) which is the final version and then flash this TWRP recovery:
https://forum.xda-developers.com/p10-lite/development/recovery-twrp-3-2-1-0-oreo-t3777582
Here you have 2 options: You can format /data and then factory reset after you flash the ROM OR flash back the stock recovery and wipe data from there. The later option works the best for most people.
If it's a system.img then you can flash it by fastboot and keep the original Huawei recovery and do a wipe from there.
Like I said it's kinda lottery so keep in mind to have the stock firmware handy if anything goes wrong.
thanks for the advice
i will have a play
the only thing i dont understand is that i thought the Treble ROMS should be device non specific and then ANY treble rom should work........... as the underpinning "drivers" (sorry im used to explaining my thinking in windows speak) are allready sorted and on another partition on the phone ready to go
If im missing somthing please can someone correct me or explain it better as although i can and have flashed all of the android devices i own my knowledge ends there with Android.

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.

Treble and locked or unlocked bootloaders

It may be obvious to others,but... What (if anything) does the project treble requirement to be able to boot a vanilla Android ROM do to the idea of the OEM locked bootloader?
I know that there are devs working on bringing project Treble to older/non-treble devices, but going forward, will devices shipping with Oreo, P and others in future be able to have OEM locked bootloaders and still meet the requirement of booting a vanilla android image?
I'm interested as I've not felt the need for a custom ROM since KitKat.
David _J_D said:
It may be obvious to others,but... What (if anything) does the project treble requirement to be able to boot a vanilla Android ROM do to the idea of the OEM locked bootloader?
I know that there are devs working on bringing project Treble to older/non-treble devices, but going forward, will devices shipping with Oreo, P and others in future be able to have OEM locked bootloaders and still meet the requirement of booting a vanilla android image?
I'm interested as I've not felt the need for a custom ROM since KitKat.
Click to expand...
Click to collapse
Yes as long as you can unlock the bootloader you can flash other system images to it or do whatever you want with the device.
But with a locked bootloader you cant alter the necessary system partition despite the device is treble partitioned.
PhonyOnXDA said:
Yes as long as you can unlock the bootloader you can flash other system images to it or do whatever you want with the device.
But with a locked bootloader you cant alter the necessary system partition despite the device is treble partitioned.
Click to expand...
Click to collapse
After loading a GSI Treble ROM can the bootloader be relocked?

Android 10 (Q) GSI Images working with Axon 7?

Hey guys
I've seen some Android Q GSI Images on the internet and I'm asking myself whether or not they would work with our axon (A2017G for me)?
Also, I have a general question about GSI on Axon: I've seen A GSI Roms, B GSI Roms and A/B GSI Roms.. what's the difference and more importantly, which one of those can I take for our axon? I have trebleized right now on latest LiquidRemix Pie
Thanks in advance,
Fred x
No harm in trying them out. We use x64 A only. No idea what the differences are
jojofreddy said:
Hey guys
I've seen some Android Q GSI Images on the internet and I'm asking myself whether or not they would work with our axon (A2017G for me)?
Also, I have a general question about GSI on Axon: I've seen A GSI Roms, B GSI Roms and A/B GSI Roms.. what's the difference and more importantly, which one of those can I take for our axon? I have trebleized right now on latest LiquidRemix Pie
Thanks in advance,
Fred x
Click to expand...
Click to collapse
There are only two actually: A-only and AB ROMs, this pertains to the seamless update scheme. A-only means you only have one system partition, while AB means that there are two system partitions. If your phone is AB then the ROM can download updates in the background and flash them to the unused partition, and after it's done you can reboot and the active partition will be switched to that one. you basically don't lose time updating.
When Treble for our phone was made by djkuz, it was unclear whether it would be possible to implement an A/B scheme. We wouldn't lose much storage space (maybe none at all) because our stock system partition is actually huge, so it could be shrunk considerably and duplicated (I think it's 6GB in size). Oki said he would look into it some time ago.
Just use ARM64 A-only images for the Axon
Try Q yourself and report back, there's no obvious reason why it wouldn't work. maybe it does, maybe it doesn't, the question is why you would even bother with a leaked release idk
Thank you for your in-depth answer!
I've seen that leaked GSI Rom but also read an article that some sort of DP or Beta will be officially released soon. Maybe I'll get into Rom building, maybe I'll just try and report back, but of course: being on the very bleeding edge
Cheers
I tried the only gsi rom I could find at the time of writing this. I had no luck with all the vendors we have here. Every time I reboot I get a promising android text on the screen as if its booting but soon after it goes to the fastboot menu. It did this for every vendor i used. Let me know other peoples luck with this.
That leaked GSI will never work in axon7 because it requires the device to be "system as root" .
I heard that there will be another version of the GSI but could not find it anywhere
king1990 said:
That leaked GSI will never work in axon7 because it requires the device to be "system as root" .
I heard that there will be another version of the GSI but could not find it anywhere
Click to expand...
Click to collapse
Could you briefly explain what this is?
stevecaboose said:
Could you briefly explain what this is?
Click to expand...
Click to collapse
System-as-root requires the ramdisk to be part of the system image, as in the AB images
It also loads your img file into root " { "/" folder } compared to the normal /system before.
So, if your kernel is not configured to read the ramdisk from system, then it would not be able to use a System-as-root image.
This is my understanding of it, correct me if I am wrong..

Nfounds treasure of 9.0 AOSP GSI roms (ALL THE BIG ONES ARE HERE)

This is for anyone who wishes to try trebble AOSP 9.0 roms
:cyclops:
(I know, the sharp, knowledgeable members have already found all of this and more, but for those who are newbies to this , like i was 2 weeks ago, this is important)
Since amazingly, not one developer is able to make roms specifically for our phone, we Flashaholics must go for the Trebble \ GSI roms to get high on Android.:fingers-crossed:
Here are some nice roms by NFOUND, a fine developer who has made his personal\public collection of GSI roms for popular AOSP Roms.
AOKP, POSP, ION, HAVOC os, NITROGEN os, AEX, roms and so much more
I bow to his \her greatness.:good::good::good::good::good::victory:
Thanks for sharing , bro
https://androidfilehost.com/?w=files&flid=282119
NOT ALL OF THEM WILL WORK ON YOUR PHONE
SOME REQUIRE FIXES, WHICH ARE IN THE ROM FOLDER
As to how to flash em, heres an excellent guide.....
https://forum.xda-developers.com/mi-max-3/how-to/guide-beginners-guide-to-gsi-aosp-rom-t3910085
TIP--- if you cant get to boot using the xiaomi.eu rom with the latest vendor file like 9.3.14 etc
consider using the xiaomi.eu rom with the earlier pie vendor like 8.12.23 because it also boots most of the Nfound Roms.
Thanks to Germano1980 for introducing me to his work
Cheers!:victory:
I always watch his videos on YouTube to see what he's throwing (of course not understanding anything because it's all in Russian).
You forgot AOSiP which is the best one right now as everything works even has gestures too. Also mention that if people cant get to boot using latest vendor file like 9.3.14 etc that they should consider and earlier pie vendor like 8.12.23 as that boots most of these. Good post mate keep it up
I've seen some ROMs treble from it but I'm afraid to install it because of the arb
~Cristiano said:
I've seen some ROMs treble from it but I'm afraid to install it because of the arb
Click to expand...
Click to collapse
GSIs don't have ARB
~Cristiano said:
I've seen some ROMs treble from it but I'm afraid to install it because of the arb
Click to expand...
Click to collapse
That's only applicable with stock roms mate not custom and GSI.
Why is it necessary to install xiaomi.eu before flashing the custom rom?
~Cristiano said:
Why is it necessary to install xiaomi.eu before flashing the custom rom?
Click to expand...
Click to collapse
Cause it's better than stock for flashing. I don't know the exact reason is but it is a better base. The vendors also seem to be flash friendly
New Nfound GSI: pixel experience from March.
https://androidfilehost.com/?w=files&flid=291933
Works well after Google dialer patch.
super_sonic said:
New Nfound GSI: pixel experience from March.
https://androidfilehost.com/?w=files&flid=291933
Works well after Google dialer patch.
Click to expand...
Click to collapse
This the best one for mm3?
I like EvolutionX and PixelExperience... I have no issue.
super_sonic said:
I like EvolutionX and PixelExperience... I have no issue.
Click to expand...
Click to collapse
what rom miui you come from?

Categories

Resources