yashsingh1/xdaforums huggingface dataset:
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] SensSensSens:
I have been waiting to upgrade to LOS 16 but wasn't sure what the echo issue is all about. Does it occur only during speaker phone calls? Regular calls through the phone (phone against my face) or headphones (wired or bluetooth) are okay? I have been avoiding the speaker phone in LOS 15 because it's so loud and the volume can't be reduced.

Thanks for all the hard work to keep updating for this phone!!!
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
Yes, during speakerphone use.

I'm not sure about headphones or Bluetooth because I don't use them.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] heindrix:
wow, it's getting better and better.

hopefully it's really can be fixed, i would love to use the device tree and build some roms from it.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] marcusvrcosta:
Hello guys,

I observe that my WiFi turns off imediatelly after using something in the internet. Is it normal? I mean, why the signal dissapear from status bar?

Or its a intelligent way to save batter since I heard that WiFi wastes more than 4G?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Lima P:
split screen

how to use multitasking (split screen) on android 9 Pie simultaneous without freezing the app? I play pokemon go
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Gamining kaju:
Issue

Call conferencing is not working also facing lag in camera app. :confused:
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] givild:
rom le2 x526

I can't find a rom with the option schedule power on/off. Any help..
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] nic4747:
Getting terrible reception on LTE
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] nic4747:
Oh I forgot to mention I don't have volte. I can't call
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] nashahec:
Is it update on eui 5.9
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] marcusvrcosta:
Hello guys, does anybody facing wifi unstable? It connects and suddenly it drops, the connects again.. If I use 4G off I stay with no connection, if I use 4G on my 4G goes away even inside my house... I think I feel it in PE too, please, help!
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Balthazar22:
Yes, I've found this - it's only in Android 8 and 9...in Android 7 was stable. Like you, I also haven't been able to find a solution, and I have searched these forums. It's a real shame as it's an otherwise good phone.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] marcusvrcosta:
I saw many videos to change the wifi from DHCP to Static.. But neither in this way it turns stable...
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Balthazar22:
Yeah, I'm no expert either, but my attempts at setting a static IP were no good either.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] marcusvrcosta:
Problably you have more than one Le2. Am I right?!
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
If you have several phones on the same network, there is a problem because they all have the same mac address. That could be the reason why WiFi drops.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Shubham9876:
Is there any network problem with this ROM??

My current ROM (unofficial pixel experience) has a serious network issues it is very unstable(mobile data)

(disconnects and reconnects 5-6 times within 10 mins) I just wanted to ask if there is any same issue and also is the camera stable?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
No network issues.

Camera is relatively stable.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Shubham9876:
Sorry but I was not asking you ,you just said they you don't use mobile data in the arrow os forum I was asking some one else for their experience about mobile data stability.

---------- Post added at 07:10 AM ---------- Previous post was at 06:38 AM ----------

I have to clean flash this ROM right?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] marcusvrcosta:
It is exactly this problem, too sad!

Hey guys, anybody knows if I can dirty flash Lineage 16 in a device with Lineage 15.1? Or I need a clean flash? Thanks!
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] bobdubrovsky:
Clean only, if you arn't masochist
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ThE_MarD:
Heyyo, so I was a bit busy trying to finish x2 for LOS 17.1 official builds and I'm just waiting a week for more test results before I decide to upgrade x2 to 17.1 official builds as it is working good. :good:

I also had to update nash (Motorola Z2 Force) TWRP because there was some lingering issues there, so they should also be good to go. ;)

Meow I'll try again to work on s2's echo-reference issues... but first I want to confirm the libinit changes I made are working. I need someone to send me the results of their getprop.

adb shell getprop > props.txt

Then attach that props.txt here.

Thanks! :)
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] tImI breakdown:
Props from your last build (lineage-16.0-20200322-UNOFFICIAL-s2.zip)

I have X527, but in the log gives [ro.internal.model]: [Le X520]
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ThE_MarD:
Heyyo [MENTION=10121505]tImI breakdown[/MENTION], thanks bud for the report! Looking through s2 user's logcat that I've received? /dev/block/bootdevice/by-name/devinfo isn't even ready by the time libinit starts :silly:

E init : Unable to read DEVINFO from /dev/block/bootdevice/by-name/devinfo

So once your s2 is booted please send me the result of this... you might need to do "adb root" first to get the path

adb shell ls -l /dev/block/bootdevice/by-name/devinfo
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] tImI breakdown:
[MENTION=6235294]ThE_MarD[/MENTION] Done. After a reboot, as soon as the home screen appeared:

lrwxrwxrwx 1 root root 21 1970-01-01 08:46 /dev/block/bootdevice/by-name/devinfo -> /dev/block/mmcblk0p25
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ThE_MarD:
[MENTION=10121505]tImI breakdown[/MENTION], btw that "ro.internal.model" prop is depreciated. Apparently the only two devices in LineageOS that still set it is... s2 and x2 lol :silly:

https://github.com/search?q=org%3ALineageOS+%22ro.internal.model%22&type=Code

So I guess I should have a commit to nuke this for s2 and x2 hahaha

Thanks for that ls command result, I'll have to change libinit to use /dev/block/mmcblk0p25 instead which should get us the result we want and I'll give you commit authorship on this since you found a bug that should have been resolved before... heck, for all we know maybe this bug has been around since even oreo heh. :good:
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
Hi Marc

Testing your latest build I didn't notice much change regarding audio.

Normal voice calls work fine but this time the interlocutor noticed echo at the beginning of voice conversation which later disappeared.

Speakerphone is fine without an echo.

Regarding voip calls, during the first call, the interlocutor complained about the echo even without using speakerphone. When I turned speakerphone on, there was no echo but I couldn't hear his voice. When I called him the second time, he said there was no echo but again when I turned on the speakerphone, I couldn't hear him.

I logged all calls which is when I called him for the first time and separate logs when I called for the second time.

adb shell ls -l /dev/block/bootdevice/by-name/devinfo
lrwxrwxrwx 1 root root 21 1970-04-03 21:20 /dev/block/bootdevice/by-name/devinfo -> /dev/block/mmcblk0p25
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ThE_MarD:
Heyyo, a new test build is going up! Upload should be done 30 minutes after this post. lineage-16.0-20200405-UNOFFICIAL-s2 fixes our libinit and properly uses devinfo partition and some audio tweaks. They're a little dialed back from before as I'm not enabling the separate path for voip-speaker as it doesn't seem to want to work with s2's amplifier HAL that we have on custom ROMs (and I suspect that compress for VoIP on s2 might actually be broken)...

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

If any issues? Please provide proper logs.

adb root
adb pull /sys/fs/selinux/policy
adb logcat -b all -d > logcat.log
adb shell dmesg > dmesg.log
adb shell lshal --init-vintf > manifest.xml
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
Hi Marc

Audio behaviour is the same as before any tweaks I guess.

Voice calls are fine both with speakerphone and without it.

Voip calls are fine except when using speakerphone.

In that case there is echo for the interlocutor.

Maybe we should leave it as is since it won't fix.

I made 1 voice and 1 voip call.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kiraryu:
Hi ThE_MarD,

I take some time to fix voip speakerphone on lineage 14.1,there is no echo on the other side now.

I patched the audio hal platform_set_echo_reference function to use echo-reference-voip audio route when snd_device==SND_DEVICE_OUT_SPEAKER.

It should be used AUDIO_REF_EC_UL1 on echo-reference-voip on the mixer xml and persist.audio.fluence.speaker=true.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Balthazar22:
Yes, there is more than one Le2 in the household!

Yes, you're correct, this just didn't occur to me.

I don't want to take over this thread with this minor issue, but off the top of your head, how would you solve it? I've tried several MAC address spoofers, but no luck so far getting them to work.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] marcusvrcosta:
If you want to root your phone, it's easy to solve... Those spoofers are only for rooted devices... Or try to do 2 networks using another router.

Mine 'original' router was disabel (the one that the internet company provides), I was only using Mi Router. Then I call the company and enable it again. Now I have 2 networks, no more problem!
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
Just search for a post of mine where I described how to change it using total commander with root and editing a file. If you can't find the post, I will describe it tomorrow.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Balthazar22:
Thank you :) How do you preserve the new MAC address after a nightly update? Or do you edit it every time?

For anyone else reading this with the same issue, I've quoted post #474 below:
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
I edit it every time.

I haven't found anything that automates it.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] harshit0088:
My official 16.0 rom stuck on setup wizar every time with latest everything and with clean install with every build. I dont understand what is happening
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] irha:
Is the OP up to date with the known issues? Only encryption is mentioned as an issue, so does that mean everything else pretty much works? Looking to replace stock ROM on my Le S3 with a stable recent Android version and I don't see any Android 10 ROMs being stable, so wondering if this would be the next best.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
Official LineageOS 16 is the most stable custom ROM I believe.

Camera sometimes crashes but everything else should work fine.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] irha:
Thank you for the confirmation. I started the process but got stuck unable to flash twrp. Just posted about it in a new thread since it is unrelated to LineageOS.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] shinobusensui:
One tip use the comando unlock bootloader go o something to unlock or every if you flash un download mode

Enviado desde mi X52X mediante Tapatalk
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] irha:
How to recover camera if it is not working or crashing? Now, my camera app is showing blank screen and if I try to hit a few buttons, it crashes with the message "open camera error id=0". I tried force kill, resetting cache etc. but it is not helping. I saw a past message that restart also doesn't help, but there is a reference to alternative camera app without much information. Can you help?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
When that happens, just run this app but it requires root.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Nyyrikki:
error 3004; X520?

Is this ROM for Le Eco X520? I thought so, but when trying to install I get an error "Error 3004: This package is for device: s2, le_s2, le_s2ww; this device is ."
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
Yes it is.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Sam el Padrino:
Kudos to all who contributed to develop this...

I want to install this on my x526 currently on EUI 19s, this "lineage-16.0-20200428-nightly-s2-signed" should be the one I install right?

Do I need to manually flash Magisk or is it already included???
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
Yes and yes.

Install the latest one from LineageOS download page.

Magisk isn't included so you need to flash it separately.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] nobitakun:
Hello;

I tested the last build 16.0-20200428-NIGHTLY-s2 and it's a nice rom, but it's impossible to make the fingerprint work. The last rom I had was PixelExperience AOSP 9.0, and everything worked but the camera, which got stuck from time to time.

The symptoms come from the first time boot I think. I finish the process correctly as it is explained in the LineageOS website, and I follow the steps of the welcome screen, but when it asks to protect the phone with the fingerprint, if I choose skip it goes to the backup restoration screen, if I also choose skip, it goes back to the fingerprint screen and the process never ends until I do either one or the other, but this only happens if I connect the phone to internet in the welcome process, otherwise it ends without any problem if I choose to skip both steps.

When everything is done, I go to security and it does not matter if I chose to add a finger or not, the result is always the same. When I add the second fingerprint, the circle fulls with just one touch and the phone says the finger was added, which is incorrect since it takes multiple touches to complete adding a new finger. Then, I close the phone' screen and when I put my finger it does not work, no matter what position I do, it will never work. I try to delete any finger, they delete well, but when I go back and enter in the same screen, the fingers are in there. I rename one finger, all of them get renamed. Any finger I add remains like a ghost until there are 5, so I can't add more, then I have to go to TWRP, delete the file /data/system/users/0/settings_fingerprint.xml and /data/system/locksettings.db and start over. Of course, it's a neverending process because the only thing I do is to remove the failed fingerprints to add more failed fingerprints.

The info about my phone is:

Phone: LeEco Le2 x520, 3GB RAM, 32GB

Baseband version: MPSS.TA.2.1.c7-00008-8976_GEN_PACK-1.64611.1.68083.1

Using the phone without fingerprint is an absolute no-no for me, I need that feature more than the camera or even the wifi. Is it possible to have a real fix for that?, I've read about using a different baseband made it work for LeEco LeMax Pro, but I had no information for x52x, I didn't even find any modem firmware other than the s19/s21 and not officially, so I don't know what side effects should they cause. I also need the european bands, since I'm from Spain, and I've read that changing it could render some of the bands we use in europe unusable. For LeMax Pro I've found some very descriptive threads that prove that's a real fix for the fingerprint in lineageos, but nothing about le2.

If you need further info, let me know.

Thank you for your help.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
Well, I've just tried setting up the fingerprints on a previous, April 20 build and everything went fine. 2 fingerprints added with no problems whatsoever. You must be doing something wrong or you have a hardware issue or you did a dirty flash.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Sam el Padrino:
This Rom is smooth!, why was I delaying again??? Thanks to everyone who made this possible...

Sorry [MENTION=575508]nobitakun[/MENTION] for your unpleasant experience. I didn't have any issues with the fingerprint setup, worked immediately during initial boot (2 fingers added).

I flashed it 3 times though, had boot loops the first two attempts but I was third-time lucky. Everything else went on smoothly.

Just 1 issue so far, I notice it charges very slowly with the original LeEco Charger, the charging port and the USB type-C gets hot with light usage while it's charging... Left it on charge for about 3.5hrs and it charged from 18% to 75% only...

Any suggestions and solutions?

Thanks again:good:
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] bobdubrovsky:
Try to change the cable
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Sam el Padrino:
Thanks [MENTION=8346160]bobdubrovsky[/MENTION] but it's not my cable

You recommended this earlier, can I try it?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] nobitakun:
Well, I don't know what's exactly a dirty flash, I wipe system, data, cache and dalvik cache every time I do the process. If I am still doing something wrong it is written in their website, as I follow it step by step. My TWRP is 3.3.1.0, and the info in my phone says X520, so it's the right model for this rom.

Everything else is working without issues, even the camera with the camera fix. Any suggestions? can it be a bug in the last build from April 28th, because misteriously I don't see it in their website anymore.

Thank you.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
Then try the build I mentioned.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] crkcrk:
For two days, I tried to install this rom on my two LeEco le2 and LeEco s3 phones and in both of them it did not upgrade my system at the end but rotates the boot screan and after that it restarted in TWRP.

I tried with all the roms offered in the dawnload section and with more gapps and mindthegapps options. I install version 15.1 every time from the first attempt and without any problems. I don't know where I'm wrong so please help.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Sam el Padrino:
Try unchecking the option to install twrp app...

I believe that what gave me boot loops too
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Sam el Padrino:
I apologize, it was actually my cable, partially damaged my port & almost set my phone ablaze.

Replaced it and no charging issues just not being recognised on my PC (thanks to my stubbornness)...

Thanks for all the help... Great OS
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ThE_MarD:
Heyyo kiraryu, so we do already have fluence on speaker enabled just like on EUI ROM. I think though we might have to resort to prebuilt audio HAL platform with that echo-reference-voip but I'll double-check if we are allowed to modify the open source audio HAL or not.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kiraryu:
Hi ThE_MarD,

I think we can put the audio hal source to android_device_leeco_s2/audio/,just like the camera hal.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
Any test builds? :D
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kiraryu:
Hi,

Sure, this is the link for the flashable zip.

https://androidfilehost.com/?fid=4349826312261802071

I only tested it on Facebook Messenger.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
No mirrors found.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
Still no sound when speakerphone is activated in Viber. My interlocutor hears me but I cannot hear him.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kiraryu:
Did you test it on official lineage rom?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
No, I tested it on Mard's unofficial build:

https://osdn.net/projects/lineageos-for-s2/downloads/72744/lineage-16.0-20200412-UNOFFICIAL-s2.zip/
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kiraryu:
The flashable zip is tested on official lineage os 16 rom only.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
Can you test speakerphone on Viber?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kiraryu:
No.I do not use Viber.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] rajk4686:
no root method workig...

help
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
Magisk works.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ThE_MarD:
Yeah that is true now that you mention it, but after looking at it more? I think the proper fix is actually in the kernel itself as it's actually missing a lot of entries. My guess is since the kernel source code is from EUI ROM 16s Indian for s2? There's probably a lot of fixes missing from the EUI ROM 20s build.

For zl1 and x2? Luckily we can use the 19s kernel source code release they gave us which does contain all the proper VOC_EXT_EC functions we need and how we were able to easily solve it for us.

Here's my initial attempt to try and figure how what we need to fix in the kernel so that VOC_EXT_EC should function correctly for QUIN_MI2S_TX which in-turn should hopefully fix it in the device tree too. I'm also guessing that this can also fix compress VoIP for us as well as a bunch of stuff for that is also missing in the kernel.

I also included a minor improvement to the kernel for fixing uninitialized variables as we do have CONFIG_CC_OPTIMIZE_FOR_SIZE enabled on s2.

https://github.com/LeEcoDevs/android_kernel_leeco_msm8976/commits/e77cf2d6598c6ab921708cf0fb147706e9a01414

Since I made a lot of changes there though, we probably need to fix a bunch of stuff in the s2 device tree to go with it... and here's my first attempt at that too.

https://github.com/LeEcoDevs/android_device_leeco_s2/commits/03353528b0a348cc690331c2f584b5920fee9885

Plus vendor blob commits to fix the consumerir issues that weren't properly adjusted for s2 when RK merged all that stuff :silly:

https://github.com/LeEcoDevs/proprietary_vendor_leeco/commits/3eea920c18c442b7d1d51f185113fb38ac399c96

I'll release a build once I know I have something for sure that will work and not break everything... as this is very experimental.

update: I heard back from two testers now that both voice and VoIP calls are broken lol, so definitely need to check logcat and see if I can figure out what's causing it.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ThE_MarD:
Heyyo, a new test build is going up! It will be live within 30 minutes of this post. lineage-16.0-20200511-UNOFFICIAL-s2 contains some IR fixes for s2 so that it no longer requires LeRemote in order to function properly (which is a good thing because this app data mines and sends information back to LeEco and Alibaba servers) and is also properly selinux enforcing compatible as Rk missed an selinux denial fix. :silly:

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

I'm also attaching a potential fix for noise cancelling that an s2 user posted on the s2 Telegram group. Please test it out and let me know if it works.

The big changes I posted above definitely need to be reworked and not sure if it'll actually help us or not or if fixing it will indeed fix noise cancelling issues on s2.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] qra69:
Can't Download echo fix :(
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
Yes, can't be downloaded.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kiraryu:
https://github.com/LeEcoDevs/android_device_leeco_s2/commit/0d089abacab6bb83cd9dfd08609cb21fc6bc4b65

This echo fix is the same as Dual Speaker Mod.

Reduce the volume as it will damage the earpiece.

Le2StereoMode.zip by Rk585 https://androidfilehost.com/?fid=1322778262904020528
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] qra69:
Is root required for install?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] kalehrl:
Then it's no fix at all ?