• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[TREBLE][DISCUSSIONS/ROM] Project Treble LePro3 x72x All Variants

haky 86

Recognized Contributor
Oct 5, 2012
3,321
7,381
113
Hama (Syria)
Hi

After LeMax2 Project Treble port, I decide to bring up to our device too. Since I've x720 6/64 variant this project was possible to me tho due to QFIL tool in case of bricks, but wasn't need thanks for god.

Project Treble as Work in progress, please read the OP before flash/bla.

and let's the party begin. check sreenshots in "Screenshots" or in the second post.

READ ME FIRST:
  • it's a buggy rom: I don't care about that, since I put [WIP] that mean new fixes will coming up.
  • Respect works of devs because they spend time and energy to do these things.
  • I did not tolerate ETA.

Compatible Devices:
  • x720: yes.
  • x722: yes.
  • x727: yes.

How is possible:

How I done:
  • Porting patches of TWRP to our one that I will release one for us too.
  • Applying the kernel patch from LeMax2 one to mount vendor on ZL1.
  • Compile the whole rom with Project Treble flags in device tree and proprietary blobs.

Works
  • Audio.
  • ADB.
  • Bluetooth.
  • Camera.
  • Display.
  • Fingerprint.
  • Graphics: hwcomposer & gralloc.
  • Internal Storages.
  • Hardware navigation buttons.
  • LeEco Extras.
  • Lights.
  • NFC.
  • RIL
  • Sensors.
  • USSD Codes: seems works
  • Wifi.

Bugs
  • Tell us more, all credits goes to codeworkx fir his fixes and works :).

Installation Guide:
  • Copy my unofficial los to internal storage
  • Download my own TWRP and flash it via fastboot.
  • Download the partition.zip from linked thread. credits: @shivatejapeddi
  • Flash the whole partition.zip (don't panic if give the error it's ordinary administration.)
  • Go back to Wipe->uncheck all partition except the vendor, tap swipe to wipe it then.
  • Optional: you can go to Mount to see if mounted.
  • Wipe: dalvik, cache, data and system.
  • Now flash the whole rom that will install the vendor.img automatically, reboot device once finish installing then.
  • Enjoy Project Treble.

TWRP

Credits:
  • LePro3 Developers.
  • LeMax2 Developers, without them wasn't possible for the unsed partition.

Sources:

XDA:DevDB Information
Treble x72x, ROM for the LeEco Le Pro3

Contributors
haky 86
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.18.x
ROM Firmware Required: EUI 20s or Newer
Based On: LineageOS

Version Information
Status: Testing
Stable Release Date: 2018-07-25
Beta Release Date: 2018-07-25

Created 2018-07-25
Last Updated 2018-07-24
 

Attachments

Last edited:

haky 86

Recognized Contributor
Oct 5, 2012
3,321
7,381
113
Hama (Syria)
** Note **

Can I flash GSI by Phhusso:
  • I didn't try it yet, our device is ARM64 System A.

How to Flash GSI:
  • Download your favorite GSI rom.
  • Flash via TWRP or fastboot. BUT please keep attention to not wipe vendor or will not get booted, you are allowed to update vendor partition only if I release new build with fix things.

How Can I flash Android P Developer Preview 5:
  • Click on the following link.
  • Download ARM64 System A image. and 3 zips for post GSI.
  • Flash the system.img of Android via fastboot (recommend).
  • Reboot to TWRP.
  • Go to Mount-> check Vendor partition.
  • Flash the 3 zip as they arranged (1-2-3),
  • Reboot, enjoy Android P DP5.

NOTE:
  • This project has nothing to do with official updates, I did Project Treble by my initiative that will not affect with official roms. Might someone will reconsider supporting Treble even with official update tho?
 
Last edited:

tsongming

Elite Member
Aug 19, 2016
3,346
3,393
0
51
Damn Congratulations!

I can't do it today. But, I will definitely try it this weekend. Thanks for sharing these test builds. I am definitely looking forward to checking it out!

Thanks again!

I will go ahead and download it and get started ASAP.

---------- Post added at 08:48 PM ---------- Previous post was at 08:41 PM ----------

Can I flash GSI by Phhusso:
  • I didn't try it yet, our device is ARM64 System A.

How to Flash GSI:
  • Download your favorite GSI rom.
  • Flash via TWRP or fastboot. BUT please keep attention to not wipe vendor or will not get booted, you are allowed to update vendor partition only if I release new build with fix things.
I just want to say again, that you are awesome for doing this, I didn't think it was possible with this phone. I am blown away! Nice job!


Hmmm can I shirk off my plans and install this right now? lol!

---------- Post added at 09:07 PM ---------- Previous post was at 08:49 PM ----------

I have a question about Gapps, Magisk and firmware.
I assume Firmware is not an issue since it would still get flashed to the correct partition. With Magisk, I assume that you would prefer that we use 16.7?

What should we use for Gapps? Do you have a specific Gapps in mind?
 

shivatejapeddi

Recognized Developer
Dec 23, 2014
548
1,451
0
Hyderabad
reservedddddddddddddddddddddddddddddddddddddddddddddddddddd
Hi bro all fixes are completely done ,just use my trees here ,github.com/chityanj , recommend not to make changes to common tree, use as it is, where as for zl1 try make changes as per my x2 tree, yeah cam requires a blob edit in vendor, I can help u that
 
Last edited:

haky 86

Recognized Contributor
Oct 5, 2012
3,321
7,381
113
Hama (Syria)
I have a doubt. Is the known bug caused by the PT partition? If flash Android P, will those bug still exist?
let me fix all those bugs and I can port the rom you want then. :cool:

Hi bro all fixes are completely done ,just use my trees here ,github.com/chityanj , recommend not to make changes to common tree, use as it is, where as for zl1 try make changes as per my x2 tree, yeah cam requires a blob edit in vendor, I can help u that
congrats for fixes, hmm I will give a look right now. :good:
edit: what about the error in domain.te in system/sepolicy? I had to remove coredomain to let compiling go.

Any info about IR support and NFC Smartcard Service?
NFC already fixed just check "Works"
 
Last edited:

mamastew

Member
Mar 10, 2018
23
6
0
Burnt Corn, Alabama
let me fix all those bugs and I can port the rom you want then. :cool:



congrats for fixes, hmm I will give a look right now. :good:
edit: what about the error in domain.te in system/sepolicy? I had to remove coredomain to let compiling go.


NFC already fixed just check "Works"
Can you answer the question about Gapps?

Is a version of Gapps available for this yet?
 

shivatejapeddi

Recognized Developer
Dec 23, 2014
548
1,451
0
Hyderabad
let me fix all those bugs and I can port the rom you want then. :cool:



congrats for fixes, hmm I will give a look right now. :good:
edit: what about the error in domain.te in system/sepolicy? I had to remove coredomain to let compiling go.


NFC already fixed just check "Works"
hi be on permissve for now some sepolicy need to be rewritten and nuke that causes compliation issues