Project Treble Support In Lenovo k8 Plus - Treble-Enabled Device Questions and Answers

Hello team member , how to enable project treble support in Lenovo k8 plus ( marino ) .

https://github.com/phhusson/treble_experimentations/wiki

We have not oreo 8.1 in lenovo k8 plus
Can anyone port it for our device ?

Rupesh Tanwer said:
Hello team member , how to enable project treble support in Lenovo k8 plus ( marino ) .
Click to expand...
Click to collapse
Greetings, our k8 plus does not support TREBLE but i was searching for a way through and i came across something called RED WOLF recovery. The fact is even REDMI NOTE4 dosent support TREBLE officially but using this RED WOLF recovery it can now flash treble ROMS. we may be able to flash treble ROMS if we get out hands on RED WOLF RECOVERY.

Lenovo k8 plus has /OEM partition (500MB+) to use as vendor partition. Unfortunately 57% is used.
And mainly required HAL's are bindarized.
So it may be easier to port project treble to this device.
I have uploaded manifest.xml file from folder /system/vendor/.
Please check it.

Mediatek updated their HAL's to support treble. But Lenovo can't repartition devices on the Air with a system update. Oreo update has all stuff needed for treble support, only missing is repartitioning.
I haven't rooted my device,
can any one try flashing Android P GSI to system partition which includes /vendor folder from stock ROM.

[email protected] said:
Mediatek updated their HAL's to support treble. But Lenovo can't repartition devices on the Air with a system update. Oreo update has all stuff needed for treble support, only missing is repartitioning.
I haven't rooted my device,
can any one try flashing Android P GSI to system partition which includes /vendor folder from stock ROM.
Click to expand...
Click to collapse
Oki tool can be used for repartitioning, the kernel should support loading vendor at boot. Just copy the vendor folder to the vendor partitions and replace missing files. It is quite easy if the hals are binderised and device has trees to build treble.

pbteja said:
Oki tool can be used for repartitioning, the kernel should support loading vendor at boot. Just copy the vendor folder to the vendor partitions and replace missing files. It is quite easy if the hals are binderised and device has trees to build treble.
Click to expand...
Click to collapse
What are missing files?!

[email protected] said:
What are missing files?!
Click to expand...
Click to collapse
If the device only needs re-partitioning, you may check https://forum.xda-developers.com/axon-7/development/tool-party-v0-1-vendor-partition-t3831517
Since you are saying you have an OEM partition of 500MB you can define like this for oem part in twrp fstab to mount it as vendor to avoid repartitioning
Code:
/vendor ext4 /dev/block/bootdevice/by-name/oem flags=display="Vendor";backup=1;wipeingui
A treble twrp recovery or any treble recovery built for your device can do the job of flashing treble roms , provided it should mount vendor and the kernel should support mounting the partition.

Related

SAMSUNG Galaxy J7 2017 (J730F/DS) - Project Treble?

Hi dears!
Is it possible to repartition and make Project Treble for SAMSUNG Galaxy J7 2017 (J730F/DS)? I'm very sad, cuz this phone doesn't support none of stable custom ROM's like LineageOS or Ressurection Remix.
Its near impossible to "partition" your phone for project treble to be compatible, if it didn't ship with 8.1.0 Oreo then its a guarantee its nor compatible
Project treble is compatible with android 8.1.0 or above
Their is things happening in the world and your sad cause project treble is incompatible with your phone, grow up
Steku1997 said:
Hi dears!
Is it possible to repartition and make Project Treble for SAMSUNG Galaxy J7 2017 (J730F/DS)? I'm very sad, cuz this phone doesn't support none of stable custom ROM's like LineageOS or Ressurection Remix.
Click to expand...
Click to collapse
Everything is possible. Some things are just difficult.
You can take a look at Mi A1 repartition guide made by CosmicDan. He added vendor partition to Mi A1 which had Nougat out of the box.
But don't use that guide. You would need Treble vendor and Kernel with Treble support etc first.
If there's any other phone with same CPU and it has Treble then You can try porting it from that device. But that's difficult. And some things could be buggy. On some Samsung phones You wouldn't even need to repartition them as You can use their /cache partition to keep vendor files.
I'd recommend You to just buy a new phone with Treble if You really need Treble that much. There are lots of cheap Xiaomi phones with good specs and they support Treble.
Your phone got 8.1 update so You're not using outdated firmware.. Treble only sounds fun for the first 10 minutes. Then You start noticing that all roms are almost identical Except for MIUI 10 or Nubia sGSI.

flashing treble gsi to mediatek

Can I flash treble gsi in mediatek devices ?
I have mt6739 chipset with android 8.1 and treble is enable by manufacturer default
Sorry for my bad English
If you have separate vendor and system partitions you can try it.
Just be sure to take backup before that.
General rule of thumb:
Find how to install custom recovery for your device (like Twrp)
and then proceed full backup from it and install the GSI custom image to system and probably some custom kernel.
Be sure to not wipe your recovery or atleast install it before reboot to be sure you always can go back and restore your backup.
Thanks bro
I have installed twrp by hovatek auto mtk twrp porter tool
But I have doubt that is it support treble or not
Also what is treble recovery ?
I have flashed resurrection remix it work freaking awesome
Bugs:
1.No volte as gsi not support volte
2.Hotspot not start
2.Magisk not working
Beside this rom is working very smooth
chandan2000 said:
I have installed twrp by hovatek auto mtk twrp porter tool
But I have doubt that is it support treble or not
Also what is treble recovery ?
Click to expand...
Click to collapse
Treble recovery have support for /vendor partition
I have mediatek 6739 device with me I have flashed many gsi like Cr droid havoc os lineage os ect before a year but as of now I want to flash Cr droid on my device I could not flash any gsi it shows flashing completed but doesn't boot into system. Any idea
My device is yu ace 5014
Android version 8.1
Which android version is possible to flash gsi
Ganeshtechy said:
I have mediatek 6739 device with me I have flashed many gsi like Cr droid havoc os lineage os ect before a year but as of now I want to flash Cr droid on my device I could not flash any gsi it shows flashing completed but doesn't boot into system. Any idea
My device is yu ace 5014
Android version 8.1
Which android version is possible to flash gsi
Click to expand...
Click to collapse
Hi,
cause of this Device is not highly frequent on our Planet. There are no custom Rom direct for this Phone. If you want to try a GSI Rom. You need to please consider that the GSI Roms need Drivers to for the integratet Hardware of the Phone. I dont think that a A11 GSI will really work. The Phone have Stock A8.1.0 and if you find GSI with A8.1.0 that will stable work...you are lucky guy...a GSI A9.0 with minimal bugs...you will be more then just lucky i think. But up to A10 or A11 will not practical work for sure but hey check out by trying
solong
speedson
speedson said:
Hi,
cause of this Device is not highly frequent on our Planet. There are no custom Rom direct for this Phone. If you want to try a GSI Rom. You need to please consider that the GSI Roms need Drivers to for the integratet Hardware of the Phone. I dont think that a A11 GSI will really work. The Phone have Stock A8.1.0 and if you find GSI with A8.1.0 that will stable work...you are lucky guy...a GSI A9.0 with minimal bugs...you will be more then just lucky i think. But up to A10 or A11 will not practical work for sure but hey check out by trying
solong
speedson
Click to expand...
Click to collapse
Android 10 is working but no volte I use JIO so volte is needed can I know where volte modem files are placed in ROMs !
can someone help I have unisoc t310 and i flashed gsi lineage 17.1 on a android 11 tablet but it wont boot lineage it just goes to bootloader, i made sure that vendor_oem was untouched and the rest was erased to make room for lineage

Question about Treble Project

Hello guys. Can i install treble gsi rom, if i have android 7. I understand that no, apparently I do not vendor.
lyoks said:
Hello guys. Can i install treble gsi rom, if i have android 7. I understand that no, apparently I do not vendor.
Click to expand...
Click to collapse
Sadly you can't 'cause treble was added on Oreo for the 1st time. You must upgrade to android 8.x (with treble support, as not every device with oreo support treble) and than you can do "anything" you want.
The biggest problem is /vendor partition. If your OEM doesn't have added it you will have lots of troubles and you won't be able to flash any treble ROMs
The fact of the matter is that there is no way to upgrade to android 8.0. It is unlikely that a vendor will work from another phone zte 9 vite, i have zte blade A6.

Can someone help flash my umidigi f1

No matter what no treble room works for me I have tried to flash decryption zips and magisk but no luck can someone maby link what they use
Update
I figured it out I was so confused because the treble check app says a partion but only a/b ROMs work but ROMs have been running great currently using the latest bliss rom
dcraffam said:
I figured it out I was so confused because the treble check app says a partion but only a/b ROMs work but ROMs have been running great currently using the latest bliss rom
Click to expand...
Click to collapse
Umidigi F1 has A/B partition, some GSIs or semi GSIs are adapted for devices with A/B partition and also has to be adapted for a device with a mediatek processor, just read carefully about these requirements to can work for you.

Adding Treble support to non-treble device (Nokia 6 TA-1021)

We don't have any custom ROMs with Treble Enabled, any ways to build vendor.img from /system partition files? I already can treblize my fs with TWRP. I know, that some guys have built vendor.img for their phones and ROMs. Can I do same things?
TechnoStone said:
We don't have any custom ROMs with Treble Enabled, any ways to build vendor.img from /system partition files? I already can treblize my fs with TWRP. I know, that some guys have built vendor.img for their phones and ROMs. Can I do same things?
Click to expand...
Click to collapse
You can use vendor recovered from thread Treble partition enable. BTW can you early mount vendor? I can't because failed to read fstab from dt

Categories

Resources