[ROM][X722][ZL0] Lineage OS 14.1 - For X722 ELITE - Based on Official Nightly for ZL1

soulaiman

Senior Member
Oct 30, 2009
251
132
0
Ghent
signal ok on LOS 15, immediate LTE for the first time where i live, other phones mostly on 3G. Snap camera on LOS15 works too except video recording, you just have to wait some time to load the camera app

EDIT: on LOS15 second SIM slot works too, including LTE. i have compared build.prop but everything is the same
local_manifest.xml

i believe vendor files need to be replaced with the ones from x722 s20 rom to fix those bugs, i'll try later. also i have jenkins build server running, i can make nightlies and upload them to basketbuild if you want
That would be great ! I'm happy I've got the ball rolling
 

sk8223

Senior Member
Nov 10, 2012
721
188
63
Toronto
For the rotation issues: a fix is to control rotation manually using Rotation Control. Not ideal, but useful. I used the app all the time on my ZF3 because it had lots of landscape issues.

Someone make a video showing off the ROM. I know it's standard LOS, but why not? :D
 
Last edited:
G

GuestK00219

Guest
got flashlight working, trying to fix rotation

EDIT: display rotation fixed, making new build
 
Last edited:
Oct 13, 2017
34
3
0
@frantisheq Awesome work! I built Lineage 15.0 repo rom successfully following cook book but I faced black screen on boot (even with replacing listed Adreno files).
I have few questions:
1. "i believe vendor files need to be replaced with the ones from x722 s20 rom to fix those bugs" -> Which files/folders did you pick from 20s? Are these at your Git as well?
2. Is this "https://pastebin.com/akZc8s74" required for 15.0 as well? I can't see it at /frantisheq/android_device_leeco_msm8996-common/tree/lineage-15.0.
3. "setting the proper min and max frequency and changing the governor to on-demand" can this be set to config file?
 
Last edited:
G

GuestK00219

Guest
Cool, but why dont you make a separate thread for RR? It will be much easier to navigate and discuss about the rom. :highfive:
i won't make any threads because i won't have this phone after christmas, i'll just make device trees, upload them to github and afterwards it will be up to new rom maintainers to make them work because i won't be able to test roms.
regarding lineage 15 i can try but it's still unfinished, a lot of cherry picking is needed to make it work and even then there are problems with camera, i'm not sure everything will work while i have the phone.
vendor files, i have replaced every file with those from stock 20s for x722 but many can be upgraded from 720 rom, i just wanted some working base without bugs like non working flashlight.
i'm pretty sure there will be official lineage 15 for x720, you'll be able to use it's kernel, vendor files will be good i guess because even on old snapdragon 801 based lenovo vibe z2 pro we have used old binaries, you'll just need to add x722 to init in common like i did and replace all zl1 with zl0 in device_leeco_zl1 and rename it to device_leeco_zl0.
also our twrp checks for zl1 while installing rom, this works for roms ported from x720 but you'll need new twrp just for zl0 to install new roms built from source or you'll need to manually edit installation script in rom zip to delete "assert..." or rewrite assert to check for zl1 while you're using old twrp

you can use lineage device tree to build resurrection remix, no need to edit anything. for 8.0 based aicp you just need to rename lineage.mk to aicp.mk and lineage.dependencies to aicp.dependencies for now if you'll have working lineage 15 sources because it's based on lineage, maybe that'll change more in future after they make some changes to build system. for aosp based roms like aospa you'll need to do something like i did if you'll have device tree for x720, just use vendor files for x722, replace zl1 with zl0 in device_leeco_zl1/0 and add x722 to init in device common.

ignore lineage 15 in my device tree, i did nothing with that branch yet, it needs to be adapted too

while i can i'll try to make device trees for 7.1.2 based AICP, AOKP and slimroms. after that lineage 15 which you'll be able to reuse for resurrection remix after it gets released. i'd love to see 8.0 based AOSPA but i have no idea in what state that rom is for now, everybody is waiting for lineage 15 to get cameras fully working i guess

to set min/max frequency and governor you need to edit init.qcom.power.rc file but after i tried to use interactive governor it was stuck on max frequency all the time and i have no idea why. i'll need to look at aospa if it does the same.
if you'd like to experiment with this you can try to look at xiaomi_gemini and it's common device tree, it has same chipset and many things can be reused for le3 pro. there is a chance xiaomi will release 8.0 for it and many binaries from vendor files will be useful in that case, just check github.com/themuppets in case of lineage or github.com/thankyoumario for aospa
 
Last edited:

Yugps

Senior Member
Nov 18, 2017
59
6
0
Every thing is working expect volte and proximity sensor

@frantisheq Volte option is available in settings but not functioning and yes proximity sensor is also not working these bugs are present on both Lineage and Resurrection roms zl0 builds i hope u will fix this too and yes awesome work done. Thank u so much !! Good luck
Sent from my le pro 3 x722 Resurrection unofficial zl0 build

Edit i suddenly got volte on my phone i don't know how but I was just playing around with some. Boot animations and rebooted it many times. I will attach the screenshot.
 
Last edited:
Jul 15, 2017
108
43
0
I did nothing special. I just flashed the rom, the screen turns off while i put the phone up to my ear to make/take a phone call or when i cover the sensor with a finger. It simply works like it is supposed to
 
G

GuestK00219

Guest
i'm an idiot, you're right. it's 579 and i was looking for god knows why for 553 even if i checked that it's 579 on stock rom

EDIT: i'm done, no idea what to do. stock kernel defconfig attached, no ltr5** in it
 

Attachments

Last edited:

Yugps

Senior Member
Nov 18, 2017
59
6
0
i'm an idiot, you're right. it's 579 and i was looking for god knows why for 553 even if i checked that it's 579 on stock rom

EDIT: i'm done, no idea what to do. stock kernel defconfig attached, no ltr5** in it
So it's not going to work. :( Right
Anyways how to port eui's camera on rr rom because camera quality is not like as it was before a 20-30% degradation in the quality of images and yes there sizes too would u please help make a guide for porting stock cam app. And thank u for such wonderful work as le eco was not revealing its souce code for this device. And i was afraid that with no major updates or custom roms this phone will be a dumb snapdragon **** with junk eui.
 
Last edited:

faith and light

New member
Nov 24, 2017
1
0
0
Remote control

i'm an idiot, you're right. it's 579 and i was looking for god knows why for 553 even if i checked that it's 579 on stock rom

EDIT: i'm done, no idea what to do. stock kernel defconfig attached, no ltr5** in it
Hello, I have an x722 and I tried all the roms on this smartphone. My favorite is the lineageos rom because it is light and secure.
But even in SU I can not install the remote control. Do you have a tip or patch ?
Thank you ‡
 

LordGiborg

Member
Dec 5, 2015
27
16
0
Google camera

Everything works great - good job for last updated rom with working approximately sensor.
I reinstall rom with all wipes.
But had issue, that Google camera moded by B.S.G. force closing.
Open camera and other cameras works as they should, I had enabled camera 2 API, and had camera sensor that hadn't got problems with custom roms.
Don't know what to do, because Google camera is the best for los.
 
Last edited:
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone