yashsingh1/xdaforums huggingface dataset:
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] :
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
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] Boryo23:
I think the problem was x720 TWRP related.

Flashed Genesys 26s ROM and then yours using TWRP by [MENTION=7565215]CrisBalGreece[/MENTION] and SIM1 is working.
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] Mi4_lte:
One more problem,its so bad quaolity in the camera(photos only 1mb on the main and frontal camera), fringerprint doesnt work fine.
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] soulaiman:
Happy to know that resolved it. What I think is that the boot.ilg didn't flash because it couldn't find the correct partition. You could also flash it manually from fastboot.

Guys, the same bugs for LOS 14.1 are present as the X720...

I'm now working on Paranoid Android which I will test for a day and then post. In my opinion that ROM is much better, stable and everything works (like Bluetooth in BMW 2017 and stuff like that).
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] soulaiman:
I can't comment on the second SIM as this also doesn't work on the x720. I will repeat it once and for all: THE SAME BUGS APPLY HERE ! THIS IS EXACTLY THE SAME ROM !

Now to get your networking you will need to be on TWRP for this device. TWRP for the x720 will not be able to flash the boot image. If you, for some reason, don't want to install the correct TWRP than after installing the ROM you'll need to extract the boot.img from the zip file and flash in manually in fastboot flash boot boot.img.

Guys another thing. This is the first daily usable ROM for this device, so please show some respect instead of bashing on me that nothing works. Else I will remove the link
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] CrisBalGreece:
Hello! Keep going the good work ... You have make everything you can and you make more... At first post you posted clearly that you using the TWRP for X722 and not for X720. If any user doesn't want it he can find his way to make it work. Remember More and more user's every day will be asking you and post that the Rom is useless or with several bug's ( of course like x720's).. Don't panic. Is regular. Welcome to the club...:p
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] :
i'm out, nobody was bashing anyone by looking for bugs. time to fork x720 device tree and send some commits to gerrit. good luck
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] CrisBalGreece:
Hi. I would like to ask you a sorry if you feel that I'm talking about you. Just because I have to many projects ROMs all ready for lex-2 I know that every day I'm trying to help people and answer to several questions.:o Only that..
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] :
it's ok, it's been 3 years since i've started to port ROMs, i know what you're talking about. anyway some things need to be done so i'm making zl0 device tree based on zl1 while i have this phone until christmas. i'l push it to github if it works

EDIT: few lines for x722 were missing in android_device_leeco_msm8996-common regarding init and RIL - https://pastebin.com/akZc8s74

fingers crossed...

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=7.1.2

LINEAGE_VERSION=14.1-20171116_131656-UNOFFICIAL-zl0

TARGET_PRODUCT=lineage_zl0

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=kryo

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv7-a-neon

TARGET_2ND_CPU_VARIANT=kryo

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-4.13.0-16-generic-x86_64-with-Ubuntu-17.10-artful

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=NJH47F

OUT_DIR=/home/frantisheq/Documents/android/lineageos-14.1/out

============================================

...
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] sk8223:
You know companies cheat on benchmarking tests all the time, right? Especially AnTuTu, the worst test out there. Everyone cheats on AnTuTu because it's so easy to cheat it. Besides, they tell you nothing about real world performance. iPhones used to score lower than Androids all the time yet they're still quite fast, and vice versa.
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] :
and voila, both sim slots work after adding persist.radio.multisim.config=dsds to /system/build.prop which wont work without manually editing it because you need to edit android_device_leeco_msm8996-common/init/init_leeco_msm8996.cpp otherwise X722 gets detected as UNKNOWN and no value is asigned to persist.radio.multisim.config
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] soulaiman:
Hey, my comment was not directed to you ! It was a comment to everyone but I didn't want to post multiple comments...

Some people were already telling me please fix this, camera is sh*t blablabla while on the other hand they have EUI wich is like the device has a snapdragon 200 in it.

Sorry if I put it like I attacked you directly.

If we could build from source it would be a lot better. But I must say that I have now cooked a AOSPA ROM based on paranoid Android 7.3.1 Release and everything works and is much smoother than LOS 14.1.

I'm testing it today and yesterday and if I don't find any bugs I'll post it.
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] soulaiman:
Great work ! I want to make clear that I'm not a dev by any means. I have basic understanding of cooking ROMS from back in the days of the HTC Tattoo and Dream.

I will try to implement the changes needed when I have time next week :)
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] :
i love aospa since the days of first galaxy note. i have ported two versions for lenovo kingdom but it never got official. working on 8.0 and hoping.

EDIT: we'll need new twrp, the one we have expects rom for ZL1. device detected as 722. both sim trays working, can't test 2 sims at once.

if there is anyone who would like to test and report if two sims work at once you can download my build but you'll need to erase data in twrp. also this rom won't check if you're on 722 so please, be sure it's 722 in your hand. DOWNLOAD TEST BUILD

tomorrow i'll upload everything to github and won't hijack this thread anymore, sorry.
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] n4p1:
After fresh install two sim cards work perfectly! I can call from both. If I found other bugs I will let you know, now its time to personalize :)

You guys awesome!
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] pj.buntinx:
Great work guys! I had the same problem with my sim card not working (on none of the sim slots) but with the test build this works perfectly :)

edit: I think I found one bug. The portrait and landscape modes are inverted. I don't know if I can provide anything to debug this but thanks for all the work so far!
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] topik12:
Hey. I would like to note that your firmware is getting better and better every day. there are a couple of bugs, namely in the test firmware the orientation works incorrectly (it is confused horizontally and vertically) and the flashlight does not work :) otherwise everything is fine!!!
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] mikeysteele:
My X722 has just been sent so I'll definitely be playing around with these device trees when I sync lineage sources
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] ilya515:
thanks you are the best
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] :
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
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] soulaiman:
That would be great ! I'm happy I've got the ball rolling
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] :
https://github.com/frantisheq/andro.../blob/cm-14.1/rootdir/root/init.qcom.power.rc this needs to be reworked, all CPU cores are always on while doing nothing, this eats battery while the screen is on

EDIT: nevermind
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] Gabronog:
Thanks for your work except the automated rotation which doesnt behave well everything works flawlessly
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] sk8223:
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
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] :
got flashlight working, trying to fix rotation

EDIT: display rotation fixed, making new build
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] :
latest build up. bugs fixed https://basketbuild.com/devs/frantisheq/zl0
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] :
added resurrection remix. install substratum for themes support
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] 1375965485501144093271341:
Cool, but why dont you make a separate thread for RR? It will be much easier to navigate and discuss about the rom. :highfive:
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] MakeX722GreatAswell:
[MENTION=4575700]frantisheq[/MENTION] 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?
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] :
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
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] Yugps:
Every thing is working expect volte and proximity sensor

[MENTION=4575700]frantisheq[/MENTION] 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.
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] :
no proximity because of incomplete kernel source, LTR553 sensor driver is missing https://android.googlesource.com/ke...-marshmallow-dr-0/drivers/input/misc/ltr553.c
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] 1375965485501144093271341:
Works fine in my phone, The sensor is LTR 579
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] Yugps:
would u please elaborate or make a guide for making the sensor work . thanku in advance!! ;)
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] 1375965485501144093271341:
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
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] :
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
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] Yugps:
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.
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] faith and light:
Remote control

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 ‡
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] vadimkara:
https://drive.google.com/file/d/1hOxV5uK_YzJMqrxmr1AdcVsGEapsWTk0/view?usp=sharing

Sensors fixed
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] LordGiborg:
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.
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] 1375965485501144093271341:
Hello, Can you make AICP with proximity sensor fixed?
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] mikeysteele:
Working flawlessly here. Using it as my daily. Nice job.
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] rinoooo:
Have you solved the audio problem of the rom?
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] michelkovacic:
What can i do to make microphone volume louder on video call and video recording? I noticed microphone volume is too low. Probably i need to make some changes in root files, but i don't know what exactly.
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] Mi4_lte:
Good job, but stock camera(photos 2mb. only), volume when speaking almost not regulated(
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] MakeX722GreatAswell:
If one of you guys could have time to build the latest 14.1 trunk with all those sweet fixes (sensor (Google Camera working), power profile? etc) mentioned on these two x722 threads before the Christmas eve (24th) it would be perfect :) If I have understood correctly, 15.0 is not yet ready as daily driver.

I'm giving one for my mother-in-law as Christmas present :D

Thanks in advance! [MENTION=4480915]vadimkara[/MENTION] [MENTION=8719193]murat1150[/MENTION] [MENTION=2957656]mikeysteele[/MENTION] [MENTION=4575700]frantisheq[/MENTION]
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] danielpinto8zz6:
Hello guys,

Is your camera working on last build?

Mine doesn't

sensor name: imx298_ofilm_ak

EDIT:

Fixed by adding these libs:

vendor/lib/libSonyIMX298_ofilm_ak_PdafLibrary.so

vendor/lib/libSonyIMX298_ofilm_PdafLibrary.so

vendor/lib/libSonyIMX298_truly_ak_PdafLibrary.so

vendor/lib/libactuator_ak7371.so

vendor/lib/libactuator_bu63165.so

vendor/lib/libactuator_bu64297.so

vendor/lib/libactuator_lc898212xd.so
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] mikeysteele:
Hey Mate unfortunately I don't have enough free HDD space at present to compile. I was planning on grabbing a new disk tomorrow so I can upload a build if anybody wants.
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] .Crimson.:
That would be GREAT!!!:victory:
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] Eduardez:
Hey, can you upload those files please?? I can't find them anywhere and the method of libactuator_ak7371.so doesn't work for me
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] danielpinto8zz6:
You can get the libs here: https://github.com/danielpinto8zz6/proprietary_vendor_leeco_zl0/
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] mikeysteele:
https://mega.nz/#F!ewEUhRbI!49a2QJzszYxkpRYWNdytDw

The sources I used to build are on my github.

All credit goes to [MENTION=4480915]vadimkara[/MENTION] [MENTION=4575700]frantisheq[/MENTION] plus the maintainers of the X720.
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] gaatjesprikker:
Hi man you think you would be able to do this as well for the paranoid android Rom available here below? No rush here ! Me and a ****load of people would be thanking you big time since a few cool fixes have been offered ! Thanks already for the positive vibe you've been bringing to this forum! Cheers

https://xdaforums.com/le-pro3/leeco-le-pro-3-elite-model-x722-guides-development--and-

mods/paranoid-android-7-3-1-x722-elite-zl0-t3706478
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] mikeysteele:
I'll see if I get time, although pulling down another 50GB of source code on my crappy LTE connection isn't something I'm looking forward to... :crying:
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] gaatjesprikker:
On LTE? Damn man I feel ya.

Just look what you can do man, no need to rush, thanks and especially good luck with your LTE !
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] JFlores95:
Has someone tested this rom? performance in comparaison with Paranoid? Battery life?
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] LordGiborg:
Great work, need more time to test battery

But all works amazing!

If it's possible to port BlackScreen from zl1 for max battery and performance?:)
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] Mi4_lte:
Stock camera do photos 1 and 2mb. Fix this, if its posible. Thanks for the new rom, which difference whith the previous rom?
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] MakeX722GreatAswell:
I recommend trying out Google Camera version 5.0.009.165387063, it's the latest compatible with 7.1.x : https://www.apkmirror.com/apk/google-inc/camera/
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] mikeysteele:
No difference, just built with the latest sources.
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] Moon75:
I tried it it's pretty good, decent I would say for performance/battery and everything else just take a while for first boot after flash it.

For me I feel performance is even better than PA, battery is decent so very good rom I think.
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] codeworkx:
Sorry for hijacking this thread.

lineage-15.1-20180102_114914-UNOFFICIAL-zl1.zip

https://drive.google.com/open?id=1IO1HtpjKMkG0iJHAq4UDOoA0r_SSxG6J

Please test if this also works on zl0.
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] lukipt:
dont work code error 7!!
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] codeworkx:
It's allowed to install on zl0 and on zl1.

Maybe you're using some damn old or broken recovery?

You can remove following line from updater-script:

assert(getprop("ro.product.device") == "le_zl0" || getprop("ro.build.product") == "le_zl0" ||

getprop("ro.product.device") == "zl0" || getprop("ro.build.product") == "zl0" ||

getprop("ro.product.device") == "le_zl1" || getprop("ro.build.product") == "le_zl1" ||

getprop("ro.product.device") == "zl1" || getprop("ro.build.product") == "zl1" ||

getprop("ro.product.device") == "lepro3" || getprop("ro.build.product") == "lepro3" || abort("E3004: This package is for device: le_zl0,zl0,le_zl1,zl1,lepro3; this device is " + getprop("ro.product.device") + "."););

Latest twrp for zl1: https://www.androidfilehost.com/?fid=673791459329070154

Should also work on zl0.
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] lukipt:
I have pro 3 elite x722
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] soulaiman:
I will test it myself once I get home. I received my new phone today so I can test some more Dev stuff on this X722 :)
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] Mi4_lte:
Eror number 7(, all other roms flashes good, no problems.
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] codeworkx:
Flashing oreo based roms requires twrp 3.2.0 or newer.

Twrp 3.2.1: https://androidfilehost.com/?fid=673791459329070154
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] beeduq:
Works fine in lex722, but as usual, camera doesn't work. New bug this time is rotation or gyroscope is messy, feels like reversed. Need deep testing. Make new thread about it.
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] danielpinto8zz6:
Hey, can you send logs?
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] beeduq:
And where can I find that... Lol... Stupid question, but never needed before.
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] codeworkx:
See attachment.

Unpack

Mount system RW

Copy to: /system/vendor/etc/sensors/sensor_def_qcomdev.conf

Reboot
[LeEco Le Pro3 Elite (Model x722) Guides, Developme] danielpinto8zz6:
No need, we find the problem #93

Rotation is fixed, about the camera could be because of the snap camera that has black preview on zl1, try another camera app like opencamera: https://play.google.com/store/apps/details?id=net.sourceforge.opencamera&hl=pt_PT