yashsingh1/xdaforums huggingface dataset:
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
No.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] rajk4686:
Links plz
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
Links for what?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] lyushiK:
Welcome!
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] rajk4686:
Links plz..

for working Magisk root files
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
https://github.com/topjohnwu/Magisk/releases/tag/v20.4
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] rajk4686:
Not working Bro..

its givving an error while flashing

TWRP
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] jimpanse111:
Hi guys,

I did a clean install on a x526.

I found 2 issues, that I can't fix at the moment:

- after some time camera freezes. When I enter camera app, i see the buttons etc, but the rest of the screen is Black (stock & gcam). If i restart the phone, it is fixed until it freezes again after some time.

- the second issue is WhatsApp voice messages. I can record a message for as long as I want and when It's sent It's only 1 second long. Voice calls work fine. When I listen to the sent voice message, you can hear sounds during that 1 second. It sounds like It's the whole message, but in fast forward mode.

I hope this feedback helps you guys improving everything.

The rest works like a charm and Im very thankful for your great work.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
Use this app which requires root to reset camera without the need for a reboot.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ozzy4ever:
I have the same fingerprint scanner problem. I flashed stock ROM (IN sparse) and the problem is still there! Did you find a solution for this?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] shinobusensui:
The firgerprint works great for me X526

Enviado desde mi X52X mediante Tapatalk
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ThE_MarD:
Heyyo, an exciting new test build is going up! It will be done upload in about 30 minutes from this post. lineage-16.0-20200520-UNOFFICIAL-s2.zip contains potentially the best echo-reference fix yet! Instead of using voice external echo-reference? Switching to audio echo-reference seems to work better and fixes noise cancelling for both voice and VoIP calls! :good:

MAJOR thanks to [MENTION=8738749]kalehrl[/MENTION] for always testing these and thanks as well to [MENTION=8549930]kiraryu[/MENTION] for also assisting

There's also a few other minor audio tweaks plus a potential fix for the display not properly disabling/enabling during calls when you put it close to your ear (or something else blocks the light/proximity sensor) so please test every audio function you can to ensure everything audio related works ok.

https://osdn.net/projects/lineageos-for-s2/releases/73034
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] williambright80:
is the s2 getting official lineage os 17.1 also is it possible to build it?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] tImI breakdown:
I spent a lot of time translating commits from the working tree los17.1 on the official los16 tree and as a result, the firmware did not load (endless splashscreen LOS). After a while I decided to check build from the working tree, from which I did los17 assemblies and it turned out that they also did not work (also an endless splashscreen LOS). Perhaps some changes in the LOS itself due to which it stopped loading, what was loading earlier... I don’t know.

The assembly with minor changes is about to be assembled right now. If this does not work, I do not know what to do, then I will hope that Mark can help if he has the opportunity.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] williambright80:
also I tried to build from your github but it wont seem to work for me it gives me dumpvars exit status 1 and says no targets and cannot find revision
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ThE_MarD:
Heyyo, yeah [MENTION=10121505]tImI breakdown[/MENTION] I can help bro. Have you tried dumping pstore?

After a while if you figure boot fails? Reboot to recovery.

On a PC run this command

adb shell cat /sys/fs/pstore/console* > pstore.txt

Check the output of that command... It'll be a little garbled but hopefully should still be clear where it is failing

I'll help out people who want to do 17.1 bringup, but to be clear, I have zero plans on doing the bringup myself as I don't own an s2. That's way too much work and headaches for a device I don't own...
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] williambright80:
i would like to help however i have never been able to successfully build for the device
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] tImI breakdown:
Heyyo, [MENTION=6235294]ThE_MarD[/MENTION] :) I completely forgot about this command, although I have it saved in notes.. All the time I tried through dmesg and "adb pull/proc/kmsg".

pstore was not even distorted.

oh damn, this was not in the logs before (because of pstore or because I rolled back to the very beginning again? hmm..). A lot of lines with this message, apparently this is the reason:

[ 81.352039] init: Could not find 'vendor.qti.hardware.cryptfshw@1.0::ICryptfsHw/default' for ctl.interface_start

I need to pay attention to?:

https://github.com/tImIbreakdown/an...422f31c0c7e9136c1eb12780d631/hidl-hals.mk#L88 (in the tree Le Max 2 "vendor.qti.hardware.cryptfshw@1.0-

service-qti.qsee

")

I planned so - to transfer commits to the official tree from the tree that works. When it works, then I’ll start transferring it to the official one.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ThE_MarD:
[MENTION=10121505]tImI breakdown[/MENTION] yeah that commit is picked wrong (or its some weird ArrowOS thing???)

https://github.com/LineageOS/android_device_lge_g3-common/commit/013c9ee061f3d6f140d79fd1984f8f7770f470c0

Looking over your trees? It has Qualcomm bsp's you would need to get rid of. LineageOS charter for device support requirements specifically state we are only allowed to use blobs from non-nda sources like stock ROMs for devices. Your best bet is to Kang from Daisy android 10 blobs.

It also looks like that device tree isn't based upon LineageOS.. your best bet is to do bringup from LineageOS 16.0 instead of using another ROMs device tree and porting it... But for now you can always work with this tree until you get something working and then do the proper bringup from 16.0 by cherry-picking the useful commits.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] williambright80:
sorry if this doesnt help I have no idea what I am doing but I have some file like that that was pulled from your source [MENTION=10121505]tImI breakdown[/MENTION] with your build guide
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] luks333:
hey guys is this rom still alive? I am using latest nightly build and I think it's almost one month old.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] williambright80:
This is because non of the builds would complete for any devices this is because of lineage os
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] tImI breakdown:
Guys! Great news! The LOS 17.1 build is working again, which means that I am returning to transferring changes from the working tree on the official one (need to transfer changes of the kernel, device and vendor).

In my case, it will not be fast, but I will try not to give up, as in the previous ~2 months. Considering my records from the previous time, while I was trying to transfer the changes, the kernel should be almost ready.

It was a pity there was not enough time to check the assembly at work and load it, but I had to go home with a laptop and as it turned out a working assembly, and at home ADSL2+:D, so the assembly will load, probably by morning. If someone will be interested to see, I will leave a link in this comment after uploading.

I use google translate, so if there is something incomprehensible, then sorry)

And finally, [MENTION=6235294]ThE_MarD[/MENTION] respect and shake your hand :good:

LineageOS 17.1 Builds: https://drive.google.com/drive/folders/15M5chUH2kpmZ5apv8KHWj63xQ6YUrKXB
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ThE_MarD:
Heyyo [MENTION=10121505]tImI breakdown[/MENTION] that's great news you got LOS 17.1 booting again! :)

If you want you can try to cherry-pick my changes for echo-reference onto your 17.1 builds or test my 16.0 builds.

https://github.com/LeEcoDevs/android_device_leeco_s2/commits/lineage-16.0

https://github.com/LeEcoDevs/android_kernel_leeco_msm8976/commits/lineage-16.0
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ThE_MarD:
So just checking in, anyone else have feedback on the echo-reference fix of that last build? I've only heard back from two people so far.

Anyone with the WLAN MAC address is wrong issue? I made a proper fix for it here: https://xdaforums.com/le-2/how-to/how-to-fix-wlan-mac-address-leeco-le-2-t4103845
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] williambright80:
im going to be installing in a couple of minutes

1:44 pm cst :

it is installed and booted

google play services keeps crashing btw.

---------- Post added at 02:02 PM ---------- Previous post was at 01:08 PM ----------

did the people who installed the build have gapps or no?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
You are testing the wrong ROM ?

If you want to test echo, download LineageOS 16.0 ROM that Mard posted not LineageOS 17.1 ROM by tlml.

You need gapps for 16.0.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] williambright80:
o lmao
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
This one:

https://osdn.net/projects/lineageos-for-s2/releases/73034
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] tImI breakdown:
I deleted all files and folders with the word “audio” from the “out” folder and made a dirty build (17.1) with your device and kernel commits. At the same time, unfortunately, the echo remained with a normal voice call. But I have not yet added new commits that were added in lineage17, for example this https://github.com/LineageOS/androi...mmit/98c7d3183067ed5baee72b41b76e8d807defe455.

Also, If not difficult, please explain how to do "Kang from Daisy" or maybe there is a ready-made instruction? (or how to make similar commits https://github.com/LineageOS/androi...mmit/4bd4f9a6dbad0204e2951ed67256f49f5783a33b, https://github.com/LineageOS/androi...mmit/8808b1dd4e3c13892ee12edb90afea56de2a2d46) I could not find the information where it comes from, how, what:(

In any case, I think it would be better for me to try to transfer the changes in Los17 to the official Los16 tree as much as possible so that it starts and works, and then fix errors on it. besides, I don’t know how to do it yet "Kang from Daisy"
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] williambright80:
ok I flashed your lineage 17.1 build with stock gapps and it booted but then when it got to the copy from another device portion which I assume would be where it asks you to sign in the google play services crashes then i tried with nano gapps and it bootlooped but my twrp was doing some funny things when i reinstalled with nano gapps so that might be the cause . also kanging is

taking another developers code and creating something else with it.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ThE_MarD:
Heyyo, a new test build is going up! lineage-16.0-20200523-UNOFFICIAL-s2 contains some changes to the camera HAL. Special thanks to zhaoguomanong for fixing compatibility with camera HAL1 and finding out the blackscreen issue is only with HAL3 as LeEco never attempted to make it work on s2. Doing so? We have also added a LeEco Settings menu under Settings > Advanced to add a button to quickly reset the qcamerasvr if you get the blackscreen issue (there's also an app shortcut which is faster than going through the menus) and we also added a toggle if you want to switch globally between HAL3 or HAL1 (albeit, gcam mods only work in HAL3 which tbh is the only real reason to use HAL3).

We have also set Facebook, Instagram Snapchat and WhatsApp to forcefully use HAL1. These apps don't need HAL3 and it will permanently fix the blackscreen issue for these apps.

For those curious why it happens? Under camera HAL3 what happens is the mm-camera-daemon sometimes fails to receive a valid preview frame which causes it to blackscreen. The unfortunate part is this we probably can't properly fix this as we don't have access to the source code of any of our camera blobs, only the stuff provided to us from EUI ROM...

This build still contains the echo-reference fixes from the previous build as well.

Anyways, here's the build!

https://osdn.net/projects/lineageos-for-s2/releases/73047

[MENTION=10121505]tImI breakdown[/MENTION] for kanging blobs? I have a basic guide here on how to do that.

https://gist.github.com/ThEMarD/5ea3f8079943a1fa513033a876a2b9e0

and here's how to regenerate the vendor blobs just in case they get out of sync with your proprietary files list.

https://gist.github.com/ThEMarD/137938acb15ad02648b65fb46842a73a

For kanging blobs from daisy? Luckily you can just use the same proprietary-files lists that we have on LeEco msm8996-common. We will need to do this for any kanged blobs you have on s2 as the LineageOS Charter for Device Support Requirements on proprietary files means we cannot use Qualcomm BSP's (Board Support Packages) as there is no license for redistribution.

Also, for the echo-reference fix? Please ensure you cherry-pick both the device tree and kernel changes. I don't see the kernel changes on your GitHub repos.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
Can you add Messenger to the list because it behaves the same as Facebook - sometimes freezes the camera.

Maybe also Viber.

The description in LeEco settings is a bit counter intuitive.

When the switch is ON, HAL3 is used but the description reads 'disable HAL3'

When the switch is OFF, HAL1 is used.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ThE_MarD:
[MENTION=8738749]kalehrl[/MENTION] you're right, I got the wording backwards.

How's this?

https://review.lineageos.org/c/LineageOS/android_device_leeco_s2/+/276352/3/devicesettings/res/values/strings.xml
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
Much better I guess. :)
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
I guess now this is an almost perfect ROM for s2.

The only thing I can think of that needs improving is automatic brightness which is too aggressive with turning down the brightness.

When automatic brightness is activated, the screen is just too dark in most use cases.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ThE_MarD:
[MENTION=8738749]kalehrl[/MENTION], we can always generate new values. But I would need you to test your s2 in about every brightness environment you could find like I did on LeEco msm8996-common

https://github.com/LineageOS/android_device_leeco_msm8996-common/commit/e8deeee87cede3af079460cea90e4058ccbd34b9#diff-e0a3646285a5f4f89d0d2f1cd05c0458

You would need the photomerter app from the play store

Turn off automatic brightness

Then note down the LuX value in your current environment

Manually adjust the brightness in the current spot you are at to a level that you like

Using local terminal on your s2 and get this value and note it down beside your current LuX

cat /sys/class/leds/lcd-backlight/brightness

Repeat steps three to five as much as you can in every varying brightness area you can find

You'll end up with a table similar to this one that I had for my x2. As you'll notice from my commit, I did increase minimum brightness to 12 as users complained that going down to 1 was "too dark while watching TV in a dark room"... which is, of course, the prime spot to use your x2 instead of watching the TV I guess :silly:

3 or less LUX = 1
4 LUX = 3
6 LUX = 6
8 LUX = 8
10 LUX = 12
15 LUX = 16
30 LUX = 20
100 LUX = 25
230 LUX = 28
400 LUX = 40
500 LUX = 53
650 LUX = 75
1000 LUX = 90
2500 LUX = 100
5000 LUX = 125
6250 LUX = 165
7500 LUX = 200
10000 LUX = 225
12000 LUX = 255

Since these values are for the light sensor used on x2 and zl1 and I don't think s2 uses the same sensor, so you will need something different hence I'm providing the instructions.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
This is what I've got so far:

Lux 1 - brightness 40
Lux 7 - brightness 52
Lux 15 - brightness 65
Lux 30 - brightness 70
Lux 50 - brightness 85
Lux 150-brightness 90
Lux 230 - brightness 100
Lux 500 - brightness 115
Lux 700 - brightness 125
Lux 850 - brightness 145
Lux 1000 - brightness 165
Lux 13000 - brightness 255
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ThE_MarD:
That looks like a good start kalehrl! You'll definitely want brighter conditions too to figure out how high you want your values. 255 is maximum brightness which should be for direct sunlight.

RK merged the camera HAL commits so s2 will have those on the next official build (whenever that happens I guess).
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
I edited the above post a bit. The whole day was cloudy so I didn't get any direct sunlight except on one occasion. Glad to hear RK has resurfaced again ?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ThE_MarD:
Hmm, that's quite the jump between LuX 1000 and 13000, is there any place you can maybe find a light value between those two? Otherwise, the rest looks pretty good to me for ranges.

Also, when the phone boots up, how's the brightness at boot before automatic brightness kicks in? Or maybe set your manual brightness to a spot you feel should be the default brightness when the device boots up and add that to your notes too. :good:

Good news is that LineageOS build servers seem to be up again! x2 just got a new official build for 0529 which is great. I'm unsure when s2's 16.0 official build will trigger though.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kjsr:
Dear Both,

I have tested above test build but unfortunately echo still exist for the other party when i use speaker mode, the background was noisy as well, no echo when i off speaker mode though. The in-call volume appear low as well.

Camera blackscreen issue appears fixed with HAL1 . Thank you.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ThE_MarD:
Heyyo [MENTION=621391]kjsr[/MENTION], can you please provide logcat?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
I just tested sound recording in the default LineageOS recording app and there seems to be a bit of noise in the recording. Also, when sending voice messages over Viber and WhatsApp, some amount of noise is present.

Here is the log:

https://drive.google.com/file/d/16Fq0vOSchFFYkNhqEewexkMeUx3I7z1i/view?usp=drivesdk
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] shinobusensui:
This get upgrade to 17.1? From le max2 / le pro 3 get The upgrade

Enviado desde mi X52X mediante Tapatalk
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Tonto87:
June 2nd update has bricked my phone. Hangs on the black and white LeEco boot screen.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] shinobusensui:
You press al 3 Button al plug the charger, went vibred released if nothing see the display or only power and vol minus enter to dowloaded mode

Enviado desde mi X52X mediante Tapatalk
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Tonto87:
Sorry, I don't quite understand. I can get into TWRP and I have reflashed the previous 20200420 version. It works again now.

Caution advised to those wanting to update.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] reformax:
Strange. Upgrading from 20200420 to 20200602 (in twrp) worked for me.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kaban700:
Greetings. June 2nd update works fine. I have been updating since the April build. No problems identified. Phone le x526
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Tonto87:
OK thanks, maybe I'll try again. No idea what happened.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] qra69:
OTA update - works perfect
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] CakesTwix:
Support QC?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] chimera451:
Does the 2 June build include these camera HAL changes?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Shubham9876:
I had a small question.

I was using this rom since the first build but i started facing some network problems so i flashed stock firmware and now everything is fine.stock eui is very laggy and i want to return back to this rom but i dont want to delete all data.

My question is what if i backup the data partition from twrp then clean flash this rom and then againg restore only the data partition from twrp and then reboot to system.

Is this safe?

Will i get my apps and data back?

Will i face any issues in this rom after doing so?

Thanks in advance.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Shubham9876:
That means this is fake??

https://xdaforums.com/showthread.php?t=2373520
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Shubham9876:
Ohk thanks
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] er.davinder:
IR Blaster now works, Thank to you

IR blaster works fine with MI remote app. Thank you for keeping this phone alive with LOS 16. Thanks
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ThE_MarD:
Heyyo [MENTION=4134554]er.davinder[/MENTION], glad to hear you're enjoying the IR Blaster on s2! Special thanks also goes to zhaoguomanong who created the proper Unix socket streams fix on LeEco msm8996-common and I ported that fix to s2. We also worked together to diagnose and fix the IR blaster settings file issue that s2 had as Rk used the msm8996 settings file instead of using a properly generated one for msm8976 that the s2 has.

The IR blaster commits and the camera HAL commits are all merged on the official builds as well, so if you wish you can even enjoy it all on official builds instead of the unofficial ones. :good:
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] chimera451:
Recommended GCam?

Is there a recommended GCam version to use or should we just be using the stock Camera app built into the ROM?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
7.3 version produces green selfies.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] chimera451:
Thanks for the info! Getting my Le 2 X522 up and running again so I can sell my Pixel 3a in preparation for the Pixel 4a. Glad to see this community is still strong!
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] joshipallav:
Is there anything that is still better on Stock UI (EUI) ?

I have been long waiting for this to get stable and flash on my mother's phone. I have finally convinced her to move to later version of android.

Before moving to this for my parent, I wanted to confirm smooth operation of

YouTube,

Whatsapp,

Facebook,

Camera,

Calls (dual sim)

Messages

Charging/battery life

Is the Google camera decent enough ?

Any thoughts on above will be useful.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] joshipallav:
Thanks for confirming.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] VvkPtil:
Long touch for Torch does not work.

It instead gets soft rebooted.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
It works just fine.

You need to change it in the settings.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] joshipallav:
Anybody still facing fingerprint issue ?

First couple of resets it was all working fine. I don't know what did I messed up, but after couple of reflashing, now the fingerprint is not detected even from the welcome screen.

---------- Post added at 02:40 AM ---------- Previous post was at 02:06 AM ----------

Ok. I installed small eui and then again this rom and now the fp is working fine.:)