[DEV] Project Treble for potter

GtrCraft

Recognized Developer
Jun 3, 2013
6,427
16,392
263
My understanding is that the GSIs work on Potter, but the lineage zip has a boot image and other stuff that needs to be flashed first in order to use /oem as the "vendor" partition for the GSIs. Once that image is flashed, the GSIs should work as normal. (anyone with more knowledge, feel free to correct me if I'm wrong.)
The lineage zip flashes a treble compatible boot.img and makes the oem partition a vendor partition. From there you can flash gsi's onto the system partition. Or just stay on lineage treble
 

kishorv06

Member
Jun 30, 2014
30
20
0
The lineage zip flashes a treble compatible boot.img and makes the oem partition a vendor partition. From there you can flash gsi's onto the system partition. Or just stay on lineage treble
I think only Lineage based GSI would work. I tried flashing Aosp based and was stuck on boot logo because the vendor implementation was based on Lineage.
 

ichmyselfandi

Senior Member
Mar 6, 2018
67
9
0
The lineage zip flashes a treble compatible boot.img and makes the oem partition a vendor partition. From there you can flash gsi's onto the system partition. Or just stay on lineage treble
@GtrCraft
Can you please comment on this "ported" treble topic.? Do you think their are any downsides for this device to use a treble based rom?

Also is the install process the same as usual?
1) Flashing this new TWRP and this treble port by vache
3) Any GSI
2) Flashing Gapps/microG
3) Flashing Magisk 16.4?
 
Last edited:

Cats_PJs

Senior Member
Mar 23, 2014
173
52
48
You're false. You can use any gsi with treble.
Like I'm using DU gsi and so don't face any boot loop issue.
How did you get gapps installed? When I tried to flash them twrp said there wasn't enough room in the system partition. I'm trying to install nano gapps.
 

GtrCraft

Recognized Developer
Jun 3, 2013
6,427
16,392
263
@GtrCraft
Can you please comment on this "ported" treble topic.? Do you think their are any downsides for this device to use a treble based rom?

Also is the install process the same as usual?
1) Flashing this new TWRP and this treble port by vache
3) Any GSI
2) Flashing Gapps/microG
3) Flashing Magisk 16.4?
No and yes, but you need to factory reset
 

jefferzombie

Senior Member
Jun 10, 2013
156
40
0
Hi guys! If, maybe, who knows, Lenovo release official 8.1 with treble support, what changes from this Vache release? Partition scheme? Drivers inside vendor partition? Any plus or cons?

Since Moto G6 is basically G5 with new clothes (I think), can port drivers from than?

Thank you so much for your support Vache!
 

Martichou

Senior Member
Jun 12, 2016
165
619
0
Namur
martichou.me
Hi guys! If, maybe, who knows, Lenovo release official 8.1 with treble support, what changes from this Vache release? Partition scheme? Drivers inside vendor partition? Any plus or cons?

Since Moto G6 is basically G5 with new clothes (I think), can port drivers from than?

Thank you so much for your support Vache!
Motorola won't ever ship treble for us.
They can't give a partition change through OTA (too risky).
 
  • Like
Reactions: jefferzombie

jefferzombie

Senior Member
Jun 10, 2013
156
40
0
Motorola won't ever ship treble for us.
They can't give a partition change through OTA (too risky).
Understood. And about drivers? Treble works with vendor drivers right? The actual drivers are enough? If not, any chance to port (partially) from another Moto device?

---------- Post added at 04:42 PM ---------- Previous post was at 04:39 PM ----------

I mean, any trouble to get treble (hahaha) fully work?
 

M1810

Senior Member
Jul 6, 2017
839
220
0
Santa Fe
so.. with this it is possible in the future to have a P rom with no driver bugs (such as camera crashes like in CR at the moment)? this is BIG, this can save the G5+ from software death (P comes pretty charged so developer will get tired)

some dev's could take advantage and start porting P beta's with treble..
 
Last edited:

Martichou

Senior Member
Jun 12, 2016
165
619
0
Namur
martichou.me
Understood. And about drivers? Treble works with vendor drivers right? The actual drivers are enough? If not, any chance to port (partially) from another Moto device?

---------- Post added at 04:42 PM ---------- Previous post was at 04:39 PM ----------

I mean, any trouble to get treble (hahaha) fully work?
Treble is already fully working.
I'm using it since the 3 June as daily driver.
All driver work fine, I use it with AceKernel (ofc) and it's really a pleasure to use the phone.
 
  • Like
Reactions: jefferzombie

jefferzombie

Senior Member
Jun 10, 2013
156
40
0
If I wanna go back to stock Lenovo ROM (I'm facing crazy battery behavior, I try a bunch of things and nothing resolve this, I wanna try to flash stock to solve this) what I have to do once I flash treble recovery/ROM?