yashsingh1/xdaforums huggingface dataset:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Radjah2001:
2 button navigation bug

Hey, im running the official build and there's a lil bug, I'm sure easily fixable but it's very annoying. I always love using the 2 button navigation over swipe and 3 button nav, but it's behaving strangely, specifically when i swipe up from the home button to open recent apps, it sometimes "doesn't let go" or something, and pressuring on one of the apps doesn't do anything, until i press the back button and then try again, so odd, really not sure if anyone else is having it but I hope you guys can help

---------- Post added at 06:48 AM ---------- Previous post was at 06:26 AM ----------

So after checking thoroughly, i think the problem's with 3rd party launchers? The stock Trebuchet is giving me an error so not sure what to do

---------- Post added at 07:03 AM ---------- Previous post was at 06:48 AM ----------

Welp, nevermind, got it fixed by removing pixel launcher, I advice yall to stay away from the latest versions of gapps, very buggy
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Osca_J:
Hello [MENTION=6235294]ThE_MarD[/MENTION] and all others developers,

thanks a lot for developing this ROM.

I have been tryiing this ROM on my LeTv Max Pro (X910) for last few days :o))

About known bugs for X910:

1) fingerprint still does not work after device asleep (about 10 seconds after screen switch off)

And one new:

2) automatic switching audio output betveen speakers and headphones (when headphones is plugged/unplugged in audio jack) is not working.

Yes, Letv Max Pro has 3,5mm audio jack :o))

And one finding:

On my previous ROM (Android 6 with MIUI) I charged this phone from USB of my PC or monitor and it taked about 2-3 hours. But on this ROM is charging from these USBs too slow (only few % a hour).
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=11038209]Osca_J[/MENTION], always good to see another x910 user! :)

For your max_plus, are you using device firmware 13s or the pseudo 466D? Firmware newer than 16s is required to have fingerprint work when the device is asleep.

If you haven't tried the pseudo 466D firmware for max_plus? Please give it a try here:

https://drive.google.com/file/d/1ycOVa6BalCPc8wG7OCYGOhaFQJCwuBUz/view?usp=sharing

If it doesn't work correctly for you? You can return to 13s firmware for max_plus here:

https://sourceforge.net/projects/lineageos-for-max-plus/files/firmware/

As noted in the known bugs, the 3.5mm headset jack does not work since the ES9018 Hi-Fi Audio DAC isn't supported as I'm unsure yet how to even develop the amplifier software for it... So I'd recommend sticking with Bluetooth headsets or a type-c to 3.5mm headset jack adaptor.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Osca_J:
Hi [MENTION=6235294]ThE_MarD[/MENTION],

thanks for link to pseudo 466D firmware, I am going to try it.

3.5mm headset jack working, I use an app from store to manually switching jack/speakers (it is not comfortable, but working good)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kmfaeser:
No Dual SIM Support / mobile data not working

Dears, I tried this ROM and optically as well as from battery performance it is doing its job excellent.

Alas, as it is not supporting Dual SIM and I loose mobile data when I am not connected to WLAN, I changed to check Pixel Experience.

Regards

kmf
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kanagawaben:
[MENTION=6235294]ThE_MarD[/MENTION]

Hey Marc!!

Been a long long time, buddy. Just dug out the old LeMax2 for a bit of a play around after ages sat in a draw. Of course I flashed you Lineage ROM first and I have a weird problem now. No fingerprint. Absolutely Nada. I thought it must have finally fallen victim to the issues so many of these phone had, but no - when I flash an old Resurrection Remix Marshmallow ROM it works perfectly. Any ideas?

Ben
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=6607081]kanagawaben[/MENTION], hope all is well for you bud! There's a chance it's the sehash of your persist partition is messed. It is supposed to reset itself, but it seems to not always work for everyone.

Try this with either adb root or with magisk installed on your device and use a terminal app

./vendor/bin/toybox_vendor find /mnt/vendor/persist -type d -exec /vendor/bin/toybox_vendor setfattr -x security.sehash {} \;
restorecon_recursive /mnt/vendor/persist

sehash was made by Google to try and speed up boot time by setting a security enhanced Linux hash to every blob and folder in persist so that I wouldn't need to manually set those every time it boots... But sometimes switching ROMs or especially downgrading from Android 10 to 9 or earlier where it won't care about the sehash will restorecon a different selinux permission but won't change the sehash which then causes it to fail on Android 10.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kanagawaben:
Giving it a go...

Update: it worked! Thank you so much! You are a genius!
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
[MENTION=6607081]kanagawaben[/MENTION] that's awesome! Glad to hear it is solved. :good:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] alveox:
happen today.. is it my battery gone bad? ?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=2821964]alveox[/MENTION] that doesn't look good hmm... I would recommend trying out gsam labs battery monitor and enable extra stats to see if you can pin-point the culprit...

Otherwise, you can backup everything important off of your device, reboot to recovery and factory reset / format data and then flash only the ROM and Open GApps pico or nano and reboot and see if it runs ok or if battery drains after a day or so
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] cateyeguy007:
Fp issue

Hi, I m trying to resolve my fp issue by method suggested by u by typing a code in terminal./vendor/bin/toybox_vendor find /mnt/vendor/persist -type d -exec /vendor/bin/toybox_vendor setfattr -x security.sehash {} \;

restorecon_recursive /mnt/vendor/persist

but getting error.

$

$ su

endor setfattr -x security.sehash {} \; <

/system/bin/sh: ./vendor/bin/toybox_vendor: inaccessible or not found Can u check?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kailash_52:
Though Lineage 17.1 show option for VoWiFi (I think that is an option provided in AOSP android 10 itself), I don't think it is working. Here in India, two service providers, Airtel and Jio, have provided VoWiFi facility for which no additional charge or specific plan is needed. Anyone having mobile set with VoWiFi capability can avail it, no separate activation process is necessary. If I put Jio SIM in LeEco Max 2 with Lineage 17.1 and VoWiFi enabled, half a ring goes, screen shows switching over to VoWiFi and then call placed gets disconnected. With Airtel SIM, no VoWiFi is displayed, however call do not get disconnected which I am sure is normal VoLTE call. The same two SIMs works perfectly well on VoWiFi with LG G7+ ThinQ, which got upgrade for VoWiFi in May this year, OS is Android 9.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=10654447]kailash_52[/MENTION], tbh the VoWiFi issues might be more related to APN settings than anything else as I know for T-Moible in the USA VoWiFi does work... Since this feature is new to both those Indian carriers? There may be a need to update APN settings.

I'm not 100% sure on that though, but in general that seems to be the culprit since VoWiFi does work for certain carriers.

As for cateyeguy007, he dm'ed me on Telegram and it seems local terminal apps like termux might not be able to see /vendor/bin/toybox_vendor even with root and I recommended using adb root and adb shell.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kailash_52:
APN settings cannot be different for VoLTE and VoWiFi. I kept APN settings as recommended by the carrier. With selected APN settings, calls works fine on VoLTE. Moreover, with exactly same settings, VoWiFi works on both Jio and Airtel when these two SIMs are used on LG G7+ ThinQ, which means APN settings cannot be the issue.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kailash_52:
This has reference to my earlier post in which I mentioned that Lineage 17.1 have issues with Jio carrier in India. In last 2 days I did lot of studies and my findings are as follows:

1) With Jio SIM installed, I reflashed the QFIL ROM (version 13S). Finger print works fine. However, Jio doesn't work as this ROM do not support HD VoLTE. Jio doesn't work on 4G, it works only in HD VoLTE mode. If I install Lineage 17.1, the finger print continues to work but Jio doesn't work.

2) I again reflashed the QFIL and then upgraded to Indian stock 16S ROM. In this ROM, finger print works and since it supports HD VoLTE, Jio too works. However, when I install Lineage 17.1, the finger print stops working but Jio continues to work, both in VoLTE mode and with VoWiFi selected too. I repeated these two exercises 4-5 times, same observation.

3) I installed AOSiP (Android 10) and Pixel Experience (Android 10), the observation were exactly same as above. If starting point is stock 13S, finger print works but Jio doesn't; if starting point is Indian stock 16S, then Jio works but finger print doesn't.

4) Last, I installed RR pie, both finger print as well as Jio works (with VoWiFi selected too).

I am thoroughly confused and clueless.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
[MENTION=10654447]kailash_52[/MENTION], the issue with downgrading Android versions is it breaks Android 10's persist sehash so you'll need to do as I instructed here to fix it and to fix your FP sensor

https://xdaforums.com/showpost.php?p=83328599&postcount=647
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kailash_52:
[MENTION=10654447]kailash_52[/MENTION], the issue with downgrading Android versions is it breaks Android 10's persist sehash so you'll need to do as I instructed here to fix it and to fix your FP sensor

https://xdaforums.com/sho...&postcount=647

Thanks ThE_MarD for your instructions. As I mentioned in some previous post, I am a nuclear engineer and have little knowledge of Linux or software. After opening terminal, do I have to simply cut and paste the code and press enter?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
[MENTION=10654447]kailash_52[/MENTION], yes just copy and paste those two lines in the code box from that post.

Also, nuclear engineer? That's crazy cool! What does your job usually entail?

I'm working on a fix so that the clear of sehash works properly... The issue is due to a TWRP settings file that TWRP creates in the persist partition which triggers an selinux denials and causes the sehash clearing command to fail lol... So that's why the clearing of sehash was broken for those who use TWRP, and those who didn't never experienced the issue. :silly:

UPDATE: Oof! TWRP creates it with group/user as media_rw which is an selinux neverallow to modify via vendor_init or vendor_toolbox... luckily one of the main TWRP developers agrees this is an issue and will work to hopefully resolve it for the next official build of TWRP (whenever that is). I've made a workaround for us in the meantime though, but I'm meow waiting on a zl1 maintainer to confirm it works good for them and they don't have any additional persist files or folders that would need to be addressed.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, a new test build is going up! Link as always in the first post and upload should be done within 30 minutes of this post. lineage-17.1-20200829-UNOFFICIAL-x2 contains a fix for that force wiping xattr for the sehash issue if you're coming to Android 10 after downgrading to an earlier version of Android and you have TWRP installed at one point on your device. This test build also contains a change to the Dalvik VM settings, where our libinit will now detect the amount of RAM and use the AOSP recommended settings. This should benefit 6GB x2 users as they should have different Dalvik VM settings compared to us with the 4GB RAM models. Tbh though, I think zl1 maintainers wants to use custom settings though, so I'm not sure if this will change again or if we will even merge this, since it also depends on zl1 maintainers also wanting this change.

I've also uploaded an updated test build of Lineage Recovery for those who want to use that as well.

Update: the fix for wiping xattr for sehash is merged. The next official build will contain it.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CastAvila:
Hi. I'm using Lineage 17.1 20200904 Official, everything works fine except screen rotation, gyroscope also doesn't work (I use it to play Asphalt 9), it seems the sensors are broken, any solutions? My model is X829
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=10285231]CastAvila[/MENTION], please provide logcat. If you're unsure how please see the second post in the FAQ. I will need logcat after a reboot once you're at your home screen.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CastAvila:
I don't have a PC to do it :( but anyway I did the procedure and the logcat.txt came out, I hope and it works (I used the method to do it from the device.) . Link: https://drive.google.com/file/d/1-N6JV8DjL8WI5MTUo4UBOw-SnFCS54cF/view?usp=drivesdk
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
[MENTION=10285231]CastAvila[/MENTION] hmm the fingerprint sensor services are indeed crashing but I think there's missing parts of this log as it doesn't show from boot on everything... can you please explain if you came from another ROM to LineageOS which one it was?

I suspect it could be the sehash wiping issue from before but afaik the 0904 build was supposed to include it... so to test, have root on your device and using a terminal with root permissions do this

./vendor/bin/toybox_vendor find /mnt/vendor/persist -type d -exec /vendor/bin/toybox_vendor setfattr -x security.sehash {} \;
restorecon_recursive /mnt/vendor/persist
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CastAvila:
I did downgrade to Lineage 16, then I flash again Lineage 17.1 and rotation now works lol but I did the process anyway.

The last ROM I was on was Lineage 15.1.

Do I have to put all of that together? I did it and this came out

"/system/bin/sh: ./vendor/bin/toybox_vendor: inaccessible or not found

/system/bin/sh: restorecon_recursive: inaccessible or not found"

I don't know if I did it correctly.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, new test build is going up! Link in the first post. lineage-17.1-20200913-UNOFFICIAL-x2 contains some kernel commits by [MENTION=6227169]mosimchah[/MENTION] to help optimize the load time of apps

[MENTION=10285231]CastAvila[/MENTION] if sensors work then you don't need to worry about wiping sehash. :good:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] tminus3:
Hi guys,

I'm trying to upgrade my trusty old Leeco Le Max2 from an old Android 6 rom to Linage 17.1.

I can't seem to find TWRP 3.4.0-1, the link in the OP shows 3.4.0-0 as the latest. Where can I find that particular version?

And the link to OpenGapps does not show a Pico or Nano version with a date between April 3rd and 8th? What version should I select?

Thanks in advance!
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=788779]tminus3[/MENTION], whoops! That's a typo there is no TWRP 3.4.0-1 good catch hehe, I fixed that to 3.4.0-0. :silly:

Open GApps sometimes has broken builds that get taken down, so any build earlier should be ok to use... Tbh this is why I miss MindTheGapps. Nightly GApps builds is pretty useless and sometimes they run into issues. GApps doesn't need to be latest to work anyways, it'll update itself.

Also, back when LineageOS 17.1 first went official in April there was some unstable builds of Open GApps hence the note. I'll remove that portion of the note.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] klandwirt:
Sorry for my beginner question:

It is a long time ago that I have flashed my le max 2 with Lineage 15. Since then I used it everyday, now I want to upgrade.

I updated twrp to 3.4. now my question is:

inside TWRP where do I flash the firmware to?

Does it matter if my TWRP Recovery is "unable to mount storage" and /vendor?

I seem to be able to acess the file system.

Thanks,

Konrad

EDIT: I Just flashed it the same way as the rom and gapps, and so far it works fine. Anyways I am still wondering what this /vendor does?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=9470356]klandwirt[/MENTION], glad you got it working :good:

The vendor partition is for project treble. Luckily LeEco left us a small unused partition on our devices that we could initialize and use for our vendor partition. If anyone wishes to downgrade to stock ROM or a pre-treble ROM it is ok as those ROMs wouldn't load it if it doesn't know about it.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] klandwirt:
I am not sure if I understand all of this. Is there a good place where ROM building and Smartphone Architecture is described, so that I can read more about it?

In Lineage 17 / Android10 what do you think is the coolest function that we take advantage of with LeMax2? Definetly the turnoff mode for quickcharge will extend my batteries life, and also Resource use seems to be optimized well.

Thank you and everybody for keeping that stuff working! I Am really glad for being able to extend my LeMax2´s life.

Cheers
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Yes [MENTION=9470356]klandwirt[/MENTION], there is a good place to read about it here https://source.android.com/devices/architecture

For features? Tbh I dunno lol, I guess the Quick Charge toggle or the fact that our CDLA headsets work correctly on Android 10 due to the audio revamp that Google did, so now they work on any phone running Android 10. :good:

I also want to take a moment to discuss LineageOS 18.0. For meow, I'm waiting on LineageOS team to get a repopick list together and available for us to start building with. I think on LineageOS 17.0 (before that rebase that changed it to 17.1) it was about a few weeks to a month I think? Once that's together then I'll try building it for x2. ;)

In the meantime, Luchetto does have a build of RevengeOS 4.0 based on Android 11 if you want to live life on the wild side and find out how much stuff works or doesn't work. I saw him post about it on Telegram, not sure if he did on XDA or not yet though.

Oh! Also, all my x2 parts finally came in! Tbh I'm kinda nervous since this is the most of what I've ever tried to take apart of my x2... and with Android 11 out? I kinda want to hold off until that's stable just in case I mess up and break my x2... what do you guys think? Should I gamble and fix up my x2 meow? Or wait until LineageOS 18.0 is stable on x2 then do it?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] :
For me there is no fun without some risk ;)

Thanks for keeping our x2 alive :victory:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] origin_de:
I just did it a couple of weeks ago. If you take your time it's not that hard. Especially as you have a new display, too. There is nothing really where you yourself can break things. And a full capacity battery is so much more fun ;)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kanagawaben:
Hi guys. I am recently enjoying some time using the old LeMax 2 again with this fabulous ROM. It is especially good as a music player - I had forgotten what a sweet amp/DAC this phone has with crystal clear sound through the USB C, it's a cut above my other phones (an old Moto G5+ and a pretty new Vivo iQOO Neo 855). Was just wondering if it's possible to somehow install the Dolby Atmos that the stock ROM has? I know I have done so on earlier custom ROMs but my memories have become hazy & there's too many posts on this thread & the forum in general to travel through for the answer. Any advice gratefully received...
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kanagawaben:
Oh, by the way, I installed the stock Pixel Launcher for the old OG 2016 Pixel from the Play Store (I have no idea why we can do so on this phone and ROM combination, as it can't be installed on my other phones). IMHO it's a great Launcher for the X2. I know it's very bare bones, but it's really light and I think suits the 16:9 screen better than the newer style Pixel launcher or the stock one in Lineage. Sorry if this general chat is out of place on this thread, but just wanted to share my renewed enjoyment of our venerable old X2 ?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Ok, well I guess I'll try to repair my x2 these days off if I get some spare time. :good:

So for LineageOS 18.0 it looks like progress is going good but tbh I'm still waiting a little longer for them to iron out some of the bigger bugs they are having before I attempt it.

I've still also got Z01R to finish lol ack, there's an issue with backuptool messing up after flashing an update that breaks addon.d v2 scripts like gapps so that is holding me back... That, and is like to fix the issue with official Q Android bootloader not working where-as the Q beta release does work... I've already fixed TWRP for it to use file-based encryption so it's pretty much just those two last things stopping Z01R from official....
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] origin_de:
Good luck! You'll see how much fun it is once you're done.;)

---------- Post added at 02:02 AM ---------- Previous post was at 01:54 AM ----------

Don't think it's time wise super urgent as long as it's going to happen. LOS17 is a great daily driver but obviously I'm curious to see how LOS17 is going to be on the x820. :)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, so I ended up getting a head cold from a co-worker and it got a little bad, so I told my boss and he said to call the 811 health hotline and they said I had to test for COVID-19 because I had musus and phlegm and also a cough and then isolate and wait for test results... So that was 5 days of not working which was a bummer and do I just tested at home and I didn't feel like trying to Rip open my x2 while sick and when I got my COVID-19 negative result I ended up working some days off to make up for the lower paycheque so I haven't had time yet to repair my x2 sadly...

I'm not sure when LineageOS will merge the next official Android Security Bulletin, but once they do? If someone could please let me know and I'll make a new unofficial test build with it. :good:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] RussianNeuroMancer:
What is difference between official LineageOS images and universal treble builds, like this? (Besides updater app for OTA updates in official builds.) Also where 466d firmware zip get flashed, into system partition, or into some other partition?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=6221713]RussianNeuroMancer[/MENTION], the main difference being this is build specifically for our device, so all parts will work as intended.

With GSI's, they are built more for universal compatibility, so they will lack some of the optimization and sometimes certain features might not work since on ROMs built specifically for our device we include system blobs we need that won't be available on a GSI.

Device firmware gets flashed to firmware specific partitions for Bluetooth, modem, keymaster and a few other partitions. They are completely separate from the ROM.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] RussianNeuroMancer:
I see, thank you for answer.

Okay, so shorty that mean that x2 treble compatibility is incomplete because it was manufactured without treble support in mind, right?