yashsingh1/xdaforums huggingface dataset:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] origin_de:
Little heads up: I‘m on lineage-15.1-20181019-UNOFFICIAL-x2.zip. All locats done from there. The described behavior has been been identified with June versions of LOS latest and existed since then with all versions.

1) logcat: x820 is booted and working; plug and unplug power supply.

Observation: when plugging in no messages being generated. When unplugging messages get generated, i.e. like:

Background execution not allowed: receiving Intent { act=android.intent.action.ACTION_POWER_DISCONNECTED flg=0x4000010 ( has extras) } to ua.com.streamsoft.pingtools/com.opensignal.datacollection.schedules.monitors.PowerDisconnectedReceiver

Did this with adb via wifi connect. Unfortunately wifi connect get's switched off when you restart the phone.

So it looks like I need to root the phone and install one of these apps ...

orgin_de
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, YIKES! That sounds like some kind of hardware failiure, especially if QFIL didn't work. I'd recommend making a thread in the Q&A section of the forums as someone there might know better how to resolve this. https://xdaforums.com/le-max-2/help

Hmm, not too sure what to do about this one tbh, as it might be more of a kernel issue but I'll have to try and research it more I guess. I've ordered a USB Type-C to Type-C connector to see if I can diagnose and potentially find a fix.

Anywho? New unofficial test build going up! lineage-15.1-20181028-UNOFFICIAL-x2 will have fixes for call recording audio quality fix, msm_irqbalance (as recommended by Google to "reduce jitter-related jank", fixes for audio and mic volumes (also fixes WhatsApp mic volume issue and potentially other apps with similar issues), an extra commit for thermal engine to ensure it always uses our thermal config and changed the power profile to one from EUI ROM so battery stats should be more accurate.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] N-Gage4ever:
Hey [MENTION=6235294]ThE_MarD[/MENTION]. I'm trying it now. It seems promising thank you for your effort. But there is a serious miss. I've flashed because of your note here about the quick charge toggle:

But when I use build.prop editor or simply root explorer to edit build.prop I can't see that line in the build.prop! So I really cannot understand why you cannot just let your users to decide it? Adding a switcher must not be so difficult for you. So what's the problem? Do you belive in "democracy" are you? Anyway here is the video that I sent about how "fast charging is destroying our battery": https://youtu.be/SvP2y3g44X0. I hope you can help me to switch it in your ROM without switching any charging adaptor..
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] prajjwal.laad:
If you don't find the line then you can add it and set it to 0, i.e. false.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, err... Not gonna say that video is false as any charging does indeed degrade batteries... But saying to replace batteries in devices will fix performance on Android devices like it would for Apple devices is false. That's purely an Apple thing and companies like LG (as an example as he said replacing batteries in LG devices will fix performance) have had statements out since 2017, long before this video went up on YouTube.

https://www.techspot.com/news/72513-lg-samsung-release-statements-they-dont-throttle-their.html

Anywho, please see the attached photo. The setting is definitely in /vendor/build.prop like I said it is.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] N-Gage4ever:
Thank you very much for your answer. Yeah I found the line it's my bad.

I couldn't test battery life but I found two bugs:

1: When I plug charger into my phone while it's completely switch off the charging animation stucks and screen doesn't get close

2: Sometimes but not always it's hard to switch portrait mode from landscape mode. It's like it stucks on the landscape mode...

Thanks again..

Edit: I've tested the charging speed again and there is NOT any difference after changing line.. The speed is 2900 mH.. I've changed "1" to "0" or written "disable" instead of "enable", nothing has changed bud.. :/
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] leptdre:
I tried the latest unofficial ROM and there seems to be an issue with the headphone mic with the 3.5 usb-c adapter. The issue is that the phone is using its internal mic and not the headphones mic
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] N-Gage4ever:
Wrong quote pall
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] leptdre:
??

As additional information, trying with different firmware will yield different behavior
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, sorry I've been a bit AFK, work picked up like crazy in the last few days heh I haven't had time to even work on any LineageOS version, but thanks for the bug report! I checked it out and it indeed seems to also happen for me, so I'll have to see if there's a way I can solve WhatsApp low recording issue while still having proper microphone source.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] adamradocz:
Camera

Latest working camera: Toylan009's GCcamMod-6.1.013.apk
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, wow it does work good! Night Sight works as well, albeit the preview is pretty dark heh.

It does seem like Panoramas work pretty good in this version too with focus working properly! Good find on this. :good:

[Update]

Oh, I am getting green tint on the front facing camera... Trying out other cameras I am not getting this issue...
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] origin_de:
Same with me on green tint with front facing camera.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] adamradocz:
I'm getting green tint too, I didn't notice it.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kanagawaben:
Not found a 6.1 port that doesn't give us green front cam pics yet unfortunately.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
There was one posted on the Telegram group, works for me:

GCam-6.1.013-Le2-V1.apk by [MENTION=4592815]nullb[/MENTION]y (nullbytepl):

* Based on GCcamMod-6.1.013.apk by Tolyan009

* Fixed greenish tint on front camera

What works:

* HDR+/Video/Panorama/Photo Sphere

* Super Res Zoom

* Top Shot (only if Motion Photos are enabled)

* Night Sight (most of the time)

* Portrait mode on both cameras

Bugs:

* Viewfinder freezes when taking Night Sight photo

* Sometimes Video & Night Sight stop working until you change video resolution to 720p and then back to 1080p

* Changing between front and back camera is slow

Download: https://drive.google.com/open?id=1vdt75F0KDQrEFOb4zMGvThokuCi2_KQh
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] adamradocz:
I'm getting "App not installed" error.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
Uninstall older version first.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mikeysteele:
Make sure you uninstall any previous versions Google Cameras first.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] jmaa009:
Could you put the link of the telegram group?

Thank you

Enviado desde mi LEX820 mediante Tapatalk
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
https://t.me/x2_devel/
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, minor update: I've reinstated the official OpenGapps links as they have merged the /vendor/build.prop change :good:

Please note that OpenGapps does indeed have issues with FaceUnlock.... So if you experience issues with it? I'd recommend trying a different Gapps provider or please wait for a fix.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] adamradocz:
Phh-Treble

I just read an article about GSI, and it gave a link to Lineage Phh-Trebel ROM by [MENTION=1915408]phhusson[/MENTION].

Can someone explain to me what's the difference between this and that LineageOS ROM?

If they are basically the same, why [MENTION=1915408]phhusson[/MENTION] do a redundant work?

And one more thing.

Does the Project Treble for LEECO MAX 2 (x2) included to the official LineageOS rom?

Thanks a lot!
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kanagawaben:
Project Treble for X2 was the development that initially found how to convert a small unused partion on the X2 to a Vendor partion to make our device Treble compatible, so all treble ROMs on this device spawn from that, but it isn't something specific to be "included". GSI are system images built to run on any treble device using the vendor image already on the device, so presumably the Phh Lineage build is one of those, whereas this ROM is a build of Lineage tailored specifically for the X2, which includes both the system image and vendor image.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] adamradocz:
What has been tailored if all the device-specific code should be in the vendor image?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kanagawaben:
I'm not a developer, so I honestly couldn't tell you, sorry.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, Pretty much anything in our proprietary files lists that are in /vendor

https://github.com/LineageOS/android_device_leeco_msm8996-common

and

https://github.com/LineageOS/android_device_leeco_x2

[MENTION=6607081]kanagawaben[/MENTION] is spot on about the difference of a proper ROM vs GSI.

As for why does phhusson build a GSI of LineageOS? So that devices that don't have LineageOS builds but wich to try them on Treble enabled devices can. There is some devices without kernel source code, but they support Project Treble and have an unlockable bootloader.

Such as this MediaTek device in this XDA article:

https://www.xda-developers.com/obscure-mediatek-phone-kernel-source-android-oreo-project-treble/
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] jmaa009:
Does the tethering work with the Rom lineage? I have the model 829 and it doesn't work for me. A greeting

Enviado desde mi LEX820 mediante Tapatalk
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] origin_de:
[MENTION=6235294]ThE_MarD[/MENTION]: I'm on unofficial-1028 because of the green tint fixes. I checked the logs for official builds but couldn't find any documentation whether the changes have already been applied. Could you please comment? Thanks in advance.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, for the official builds? I did push them to Gerrit for review, but that will be up to LineageOS team members to merge.

I don't have merge rights, as I never asked for them and I'd rather not step on the toes of codeworkx and tortel as they've done some serious work with the LeEco msm8996 device family.

If you wish to contribute a verified +1 in a reply on Gerrit review? Please do so as it shows that it is more than just me that checks stuff hehe :good:

https://review.lineageos.org/#/c/LineageOS/android_device_leeco_x2/+/233721/
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] adamradocz:
Just a quick question. Why the Linux kernel hasn't been updated with the Android versions? Our kernel version is 3.18.109, which is rather old, no?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kpyrdol:
No notification sounds

Hi! I am using this rom long time. I can't find any bugs (great job!), but when phone is running to long without reboot there is no notification sounds. For messages, skype, facebook etc. Only ringtone works. Do you have problems like this? After rebooting it is working ok. Is there any fix for this?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Lightdm123:
I just received a notification for a new update. I wondered about it because I just downloaded an update yesterday. What does the new update improve? The changelog for the new update is empty.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] prajjwal.laad:
Lineage has switched to nightly builds from weekly builds so now you'll have daily updates regardless of any change or not. It is your choice to update or skip a few. ;)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Lightdm123:
Ah ok thank you. :)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] robboman88:
I have used 15.1 for around half a year now, It's been super stable all the time. Battery life is average, I get around 4.5 hours of screen-on time which is fine.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] godpwp:
说好的翻译呢？看不懂啊！！！！

---------- Post added at 09:21 PM ---------- Previous post was at 09:17 PM ----------

翻译哪去了？

MOD EDIT:

As online translators aren't all always right, I've provided both Google and Babelfish.

Google Translate: Chinese > English:

Babelfish:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] dwbh79:
Hi,

First, I'd like to thnak the LineageOs team wich work for x2. It's give a second life to my phone. And every week comes with update :)

But I even have a focus problem (it's maybe the only one problem). In "settings / Camera Settings / Camera focus fix" is activated with reboot (and close photo app). I've tried some photo apps. It's ok maybe one or two focus times, and it's go away !

What could you give me for advice to resolve this problem and stay with Lineage, please ?

Thank you

---------- Post added at 09:54 PM ---------- Previous post was at 09:51 PM ----------

I have used 15.1 for around two months on my x829... and like robboman88, it's very stable (apps, tethering, play, ...). Only problem with focus fix.... but seems to be the only one :P
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] dwbh79:
Everyday a new update ?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] marvelljones:
Check https://download.lineageos.org/x2/changes/

if you want to see what's different. Occasionally a new build is pushed simply because it's a more optimal version of a previous build.

You can shut the notification off and check manually if it's bothering you. Some people only update when security fixes come out, or if something isn't working for them.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] robboman88:
Hey buddy,

The focus problem has been around for a pretty long time.

Few things u could try:

1. Try flashing different/newest firmware version.

2. Try latest Gcam mod (I recommend this one: https://www.celsoazevedo.com/files/...15_B-S-G-based_v.1.0.15_final_fix_TlnNeun.apk

3. Was focus issue not present on the original Leeco ROM that came installed on the phone? I've heard some people that actually had a hardware problem that caused the focus issues. The focus issue started when u installed Lineage?

Maybe [MENTION=6235294]ThE_MarD[/MENTION] can help u further, I'm a noob regarding this stuff haha :)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Focus issues for x2 unfortunately, are plentiful and hardware related at times... I fear yours may be hardware as the focus fix isn't perfect for you. I've seen videos from others with a defective hardware camera actuator will "vibrate" a lot when trying to focus, and the temporary solution that must be repeated each time on initialization of the camera is to forcibly do a chopping motion with the phone in your hand, like you were going to chop up meat with a butcher's cleaver kind-of chopping motion. That should be just enough force to get the camera actuator to temporarily reset and work...

Trying this stuff is also a good idea too! Gcam mod is pretty much a requirement of any android device to get the best out of the camera hehe and the other two might help, as EUI ROM would definitely tell you if it is indeed a hardware issue (if it still doesn't focus correctly) or if it is software (it does focus without issues).
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
That is true, but at the same time? Linux kernel upstreaming doesn't entirely apply to our device, as Qualcomm use a lot of Qualcomm-related kernel drivers, and not AOSP/Linux kernel drivers... so yeah, as codeworkx (the main LeEco msm8996 dev & zl1/0 maintainer) would say? "about 99% of Linux upstream doesn't apply to us" :silly: (my guess is the actual number is a little lower than that, but yeah, oh well heh)

I am guilty of not keeping up on Qualcomm CAF tags for the kernel though, but I barely have any spare time for software developments... so I can't focus on both LineageOS 16.0 bring up (and wow, do we have a lot of work that still needs to be done) and LineageOS 15.1... so for now, my plan is to continue working on LineageOS 16.0, and any improvement that would work on 15.1? I'll bring here too.

Yep! Just like the good ol' CyanogenMod days! Our nightly builds are nightly! :good:

Great to hear! I'm also jealous of your screen on time heh, my battery is definitely dying, so I am lucky to even hit four hours SoT... usually it ends up less haha oh well, I may look into that 4100MAh battery (that gets treated as 3600MAh, but still, better than my current dying battery heh)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] stickiejuice:
No NFC ? Planning this in later versions?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] valy_cta:
Most probably will come for Christmas, 25.12 :) Stay tuned
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] adamradocz:
This device doesn't have NFC.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] monleylord:
Any update on the unofficial one with latest security patches or we have to go Pie? Xposed is the reason for me and maybe others to stay at Oreo. Many thanks for your effort.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=275715]money[/MENTION]lord , I do plan on releasing more builds of LineageOS 15.1 unofficial. The only time I will probably abandon it? Is when 16.0 becomes official...

Currently, my time is super limited for LineageOS since my son is older now and I definitely need to keep an eye on him at all times heh, so I maybe get at most three hours on my PC a day to try and accomplish something plus do a test build... So that's why my progress has been super slow...

Plus, BBQLinux apparently has issues with zipalign, and couldn't test a build of OpenGapps with the tmp directory typo fix so I had to switch to Lubuntu to do it... Meow that I'm on Lubuntu though? I dunno, I might stick with it because switching Linux distros slows me down too...

So I dunno when the next unofficial build will come...
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] origin_de:
Stupid Question: Do I have to sign in/create an account in order to get a button/link to increase verified +1 ?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] prajjwal.laad:
Yes. Use your github account to sign in and do a +1.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, yes you do need to sign into gerrit to use reply and +1 verified. They used to use GitHub accounts, but I think they switched to Google account authorization instead, so it is super simple to login and use. :good:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Turkmen36:
Hey guys, I have 2 X821 here, bought from banggood last month, I flashed both with LineageOS 15.1 and mindgapps.

Now in About Phone one is a X820 and the other is X829.

But my real problem is, both have the same mac adress, so wifi connection is not possible at the same time, both become the same IP from the router, how can I change this and why is it happened?

best regards
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ph03n!x:
What was the MAC address when you had stock EUI ROM?

Try

ifconfig eth0 hw ether {New MAC}

in terminal with SU to change the MAC - bit ideally this should not be required if the devices had unique MAC in stock ROM
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Turkmen36:
I dont know what mac they had before, i directly flashed lineageos...

Where do I have to type this ifconfig text?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Turkmen36:
I flashed Stock ROM on one, now there is something in chinese at the start and it wants a code I think?

Can someone help? [IMG="Image of the Chinese Code"]https://img.picload.org/image/dclggdpw/imag0693.jpg[/IMG]

https://img.picload.org/image/dclggdpw/imag0693.jpg
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] origin_de:
What did you exactly do? Please remember and describe your steps.

Did you flash TWRP before hand?

Reason I'm asking, I don't remember this particular screen. But I remember when flashing new stock rom, that one will get diverted into a Leeco cloud setup. If this is the case a pin is going to be asked that you don't have.

The easiest way to get around this is to "disable" certain system apps. To do so, you would need TWRP installed.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Turkmen36:
I got the phone, i flashed twrp thru adb, then i made a backup and flashed lineageos 15.1 and mindgapps, startet the phone everything was nice, but the camera did noise and no focus at all...

So I flashed the backup and it wanted this code, i flashed a cuoco92 rom again this part with code, so I flashed again lineageos and it start everything is fine... only on eui roms appears this code
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Beackman:
You have to downgrade your twrp and do a full wipe, even the internal need to be wiped and then you can restore your EUI backup.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Turkmen36:
Can U help me please, I cant join Wifi with both together, they have same mac and same IP this suc....s

---------- Post added at 08:56 PM ---------- Previous post was at 08:55 PM ----------

Hello can U help me please?

I cant change the mac, both have same mac and so same ip on wifi, it is unpossible tu surf if both are on wifi.

this suc...s
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, can someone on LineageOS 15.1 please confirm if on-screen buttons work properly? I just noticed someone on Reddit saying it didn't work for them

https://www.reddit.com/r/LineageOS/comments/9yh60k/le_eco_le_max_2_navigate_bar_hardware_switches/
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ph03n!x:
You need to enable terminal in Developer Settings, open terminal from the app drawer, type su n hit enter and then enter the commands I gave - I am not sure if this works though, give it a try...

Just noticed - there is no option to enable on-screen buttons under Settings > System > Buttons! The hardware buttons work perfectly though...
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] xuser_:
Hi [MENTION=6235294]ThE_MarD[/MENTION] ,

I am not sure how much this would be relevant to our device but I have been using it on my 3T and this is really nice optimized rom(LOS based)

https://github.com/nvertigo/local_manifest/tree/nlos-15.1

Could be helpful for cherry picks?

Thanks
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Turkmen36:
So I try this, but if I type in su it say not found

and if I type ifconfig it say permission denied

U have any idea what I am doing wrong?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ph03n!x:
You need to root your device either with Lineage addon or Magisk.. Please read up and get to know what you're getting into before you do so, though.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Turkmen36:
i activated Root in options already...
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Hmm thanks bud! I'll have to look into it. Something must have changed recently...

Nvertigo is a super nice dude and I use his build scripts tbh. I haven't looked too much into the whole Clang and Ubertc as I tend to just focus on updating device support... Maybe one day if I get X2 as bug free as possible? Which is something I hope I can do heh

Oh, I think I forgot to mention, but for cellular signal strength that you tagged me on? Ours got a crapload better when I switched us from OnePlus RIL stack to Gemini (plus updating our build/vendor props)... Nvertigo could try it too and maybe get similar results to us?