yashsingh1/xdaforums huggingface dataset:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Purerawenergy:
The more this ROM settles in the snappier it gets which is mind boggling to me. It was lagging right after installing but after about 2 hours of setting up it's performing much better than I thought it would. After a full charge I'll run some benchmarks and report back. Nice job [MENTION=7884203]andr68rus[/MENTION] and enjoy your vacation buddy. ?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Purerawenergy:
Antutu after running this all day.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] prajjwal.laad:
That looks promising. I hope Andrey will continue developing this ROM after the vacations. Happy Vacations man!

What substratum theme BTW?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Purerawenergy:
Yeah I hope so too. The theme is called Fantasy.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pinnekeshaar:
Oh hi,

I'm going to run this as a daily driver just to test stuff and because I don't really care about instability as long as the phone doesn't crash.

A few issues I'm experiencing so far:

- The device seems to struggle a bit when launching applications. This goes away after 3 seconds after clicking the icon or so.

- There seems to be a WIFI problem when I look at the logcats in the comments.

- There is a huge battery info issue. EX Kernel Manager says it's 14.14% screen on and 18.17 idle. - WHAT THE F***? *1 priority imho.

In the describtion some logcats as a txt file I hope they are usefull.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pinnekeshaar:
[MENTION=5956955]Purerawenergy[/MENTION] That's quite the difference we have there :D Shows a tiny bit of instability.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Purerawenergy:
That's why I ended up flashing something else it needs some work for sure. ?

Not sure if it made a difference but I had Magidk installed for root and had the ART Optimization middle installed prior to benchmarking with Antutu.

I installed official RR in the meantime until he gets this sorted out.

Hope Andrey is enjoying his vacation, is hard to believe he maintains so many ROMs at once. ??
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] N-Gage4ever:
Dear [MENTION=7884203]andr68rus[/MENTION]. Thank you for your works but I don't understand you.. You have already lots of roms that are based on aosp or cm.. But you still try to make new roms instead of making stable roms that you already built.. It's just a viewpoint of me as a user. To be honest it's not suprised to see devs who try to build lots of rom at the same time but then put "discontinued" tag to them. At least you can make a team and work more organized together. So we can have more stable roms..

Can someone please share the ss which shows the SOT result?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] moto999999:
He has a lot of ROMs so we can choose the one we like the most. He hasn't discontinued any ROM. He worked very hard on this device and right now he is on holidays.

AOSPA is difficult to maintain but with some work this ROM can be awesome. I'm going to try to help him with the development that's why I started with Slim7, to start learning.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] N-Gage4ever:
Well it doesn't make sense to make decision among buggy weekly ROMs. He hasn't but there isn't any guarantee he wouldn't.. So I just offer to focus only few ROMs and try working to make them stable as much as possible. For example focusing only two ROMs that are based on cm and aosp would be enough. And making a team would be good for this.. That means less trouble faster updates.. Good luck by the way
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] moto999999:
For me all ROMs work fine, I didn't found any major bugs (except for AOSPA). He won't stop maintaining a ROM if people like it. All ROMs use almost the same device tree so updating them doesn't take a lot of time. For making a team we need people :P
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] N-Gage4ever:
So if the device tree is same why we need a few ROMs that have a common device tree but different names.. It's just wasting of time.. That'd be great if [MENTION=7884203]andr68rus[/MENTION] would do a revision his strategy.. Yeah there aren't major bugs but it doesn't mean they are stable. There is still a serious battery drain on custom ROMs. It's nearly impossible too see +5h Sot. Camera isn't stable etc.. It's also too difficult for a daily user wasting time while trying different kernels to reach best stability.. So I think it can be a solution to gather team even it'd be small and focusing for only few ROMs
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ashishgaur:
guys if you having issues with camera try using google camera, download it from this link http://www.apkmirror.com/apk/google...-012-156195200-android-apk-download/download/
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, I agree with you amigo. Besides, the OnePlus One which had kernel sources and strong LineageOS development and it still had terrible battery drain compared to other LOS based ROMs like Exodus Android which gave me over four hours of screen on time (LOS would give me roughly three hours at best) and that was with one hour and 39 minutes of YouTube streaming.

For the Le Max 2? I found that when first setting up the phone I disabled the Google setting for location services activating GPS even when the phone is off and that boosted my battery life quite a bit. Heck, disabling most of those services when setting up the phone definitely gave me the best battery boost.

I also found that using BeanGapps Mini or OpenGapps Pico and then adding on whichever apps and some Google Apps instead of the load of poop that OpenGapps Stock does works good for me too.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] vpimentel:
Pls. Maintain this rom...

This is a very good project......

:'(

Enviado desde mi Le X820 mediante Tapatalk
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] redbeard1083:
i may be able to do builds for this rom if the OP is no longer maintaining this.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] moto999999:
You can help with the development, the more we are the better
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] xuser_:
[MENTION=7884203]andr68rus[/MENTION]

this seems to have great future but not without you...
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] redbeard1083:
i'm very close to having a completed build. this rom is a pain to set up!
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] prajjwal.laad:
I'm waiting for you to complete. :)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] devast8ndiscodave:
[MENTION=7884203]andr68rus[/MENTION] Just curious if you are updating this rom. I'd like to try it out. Thanks.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] sgx100:
Paranoid 7.2.3 released. Hoping it gets ported soon ;)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] VzQzZ:
It would be amazing to see Le Max following the same way as Le Pro 3 and having official AOSPA :D

But I understand it's a very hard ROM to build and maintain. And most important, andr68rus already has a lot of work with a lot of other ROMS.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] redbeard1083:
i got it to build and boot, but no sound or camera. i haven't had much time to investigate why.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] prajjwal.laad:
Maybe you can discuss it with [MENTION=7884203]andr68rus[/MENTION]?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, which device tree are you working off of? For fun with my limited understanding of code but love tweaking with Linux I've tried porting heh. :P

I'm using a fork of du-caf which includes ViperFX and Dolby Atmos so I think later on once I maybe get it to build I'll need to also include the installer files for it but I'm not sure heh as I've been hitting some selinux issues so I'm pretty darn close to solving it I think... The error was something like "permissive domains not allowed in user builds" but I can't remember the exact error it spits out since I'm not at home right meow heh I'm on lunch break at work.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] redbeard1083:
i'm working off of LOS sources. i got it booting and sound is now working. camera should be the last major hurdle. i'm not sure what's breaking that yet.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] moto999999:
Hi, this is andr68rus source. Sound need some work

https://github.com/pa-x2
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Nice! If I can't figure out du CAF then I might switch to it then :)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] xuser_:
great to know someone is working on it...

but why not omni sources?

ROM Source: https://github.com/omnirom/

Device Tree: https://github.com/omnirom/android_device_leeco_x2

Kernel Source: https://github.com/omnirom/android_kernel_leeco_msm8996
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, andr68rus is still doing OmniROM yeah.

Looking at things more closely though, I really am impressed with what the ZL1 maintainers for AOSPA have done so I've dumped the DU CAF branch and am now working on my own fork of ZL1.

I think I finally worked out why I kept having errors on boot.art... my ~/.jack-server/ for some reason was running a really old version and wouldn't upgrade or install the other jacks needed to compile AOSPA...

So I did this (note I am using AOSPA in this example so anyone else with this issue just change it to your work directory)

export PATH=$PATH:~/AOSPA/prebuilts/sdk/tools
jack-admin kill-server
jack-admin uninstall-server
cd ~/AOSPA/prebuilts/sdk/tools
touch jack
mm -j32 showcommands &> mm.out
jack-admin install-server jack-launcher.jar jack-server-4.8.ALPHA.jar
JACK_SERVER_VM_ARGUMENTS="-Xmx2g -Dfile.encoding=UTF-8 -XX:+TieredCompilation" jack-admin start-server
jack-admin update jack jacks/jack-2.28.RELEASE.jar 2.28.RELEASE
jack-admin update jack jacks/jack-3.36.CANDIDATE.jar 3.36.CANDIDATE
jack-admin update jack jacks/jack-4.7.BETA.jar 4.7.BETA
jack-admin list jack

the "jack-admin list jack" should now list like this:

3.36.CANDIDATE
2.28.RELEASE
4.7.BETA

.... But then I ran out of time this morning to check on it haha damn... So hopefully I come home for lunch and I have AOSPA built unless another error comes up heh :P

Here's one thread that did help plus it also gave me the idea about ~/.jack-server all screwed up and then building a 100GB swap file on my SSD so I should never be out of memory haha

https://xdaforums.com/android/software/aosp-cm-los-how-to-fix-jack-server-t3575179

*** UPDATE ***

DANGIT! Just noticed that the "./rom-build x2 -u -c" that I ran causes it to kill my jack setup which then screws it up...

[ 1% 373/21218] Ensure Jack server is installed and started
Stopping background server
Killing background server
No Jack server to kill
Removing jack server from "/home/themard/.jack-server"
Installing jack server in "/home/themard/.jack-server"
Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -Dcom.android.jack.server.log.file=/home/themard/AOSPA/out/dist/logs/jack/jack-server-%u-%g.log -cp /home/themard/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher

so... hmm I'll have to do more digging lol damn

Another update... hmm so it turns out even doing a jack-server kill server and jack-server uninstall-server and then rebooting my Ubuntu VM and trying again... same issue...
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] sgx100:
Best ROM for LeMax 2 . Please support and update :)

Thanks
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] andr68rus:
Next week I will try to update ROM, there are many changes in device tree for zl1, need to merge them in to my device tree.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] GalaticStryder:
Would enjoy having x2 on board for official AOSPA, we're already preparing the ground for Android 8.0 for MSM8996, which is basically our common work for op3 and zl1 devices at this time.

We are rebasing the minimal Kernel tree again for our devices on top of Kernel 4.4 (LA.UM.5.8) but that takes - a lot of - time and effort.

Since the Max2 uses the msm8996 board, my Kernel tree for 3.18 would be almost 100% for it, you may just need to import the basic dts (improve syntax), import some two or three drivers for sound and see if you need to modify some #ifdef from zl1.

The blobs are being reworked now as well, I was using omni ones but I wanted to re-do (simplify) the vendor part for the next work on 8.0.

If I had this device I could pretty much test locally and bring it up for officials but I currently don't own two phones, only using Pro3 and fitting all my needs for basically the next couple years.

Thanks for your interest in AOSPA.

[MENTION=6235294]ThE_MarD[/MENTION] you can try that.

alias jack="./prebuilts/sdk/tools/jack-admin kill-server; \
./prebuilts/sdk/tools/jack-admin start-server"

function jacket {
echo "Extending your /tmp partition..."
sudo mount -o remount,size=10G,noatime /tmp
echo "Rebooting jack server..."
jack && echo "...done."
}

function bang {
export DEVICE=$1;
export VARIANT=$2;
echo "Banging your $1!"
. build/envsetup.sh;
lunch pa_$DEVICE-$VARIANT;
}

Those can help you out, don't need to use any scripts at all.

Run:

jacket
bang x2
mka bacon
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] GalaticStryder:
Don't modify smbcharger, I've already added stock protection bits into it and float charging calculation is gone on LA.UM, you need to start by looking at arch/arm/mach-leeco/Kconfig folder. The official source for ZL1 (tarball) has X2 already supported.

You really need nothing else besides some dts polishing and the amplifier, all USB stuff is there already too.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] zogu:
[MENTION=6175749]GalaticStryder[/MENTION] How camera and flashlight works on pro3, this problem is common for most letv devices, any common solution?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] GalaticStryder:
The Kernel defines (hardcodes) the EEPROM values for the camera sensors, so we need to use the OEM code here to get it working, the problem is that the Android part of it is closed source and highly modified, we don't need much voodo when using HAL3 on Pro3 and it almost works natively if the Kernel is already patched via OEM code.

I didn't look deeper yet if I could clean it up and use the upstream (Qcom) camera drivers with minimal changes on top, the problem is that the blobs are stuck on M and so they need a Kernel with LA.HB (M) APIs in place, but the other camera services in frameworks/native and av/ want it to be for that proper version (LA.UM - N) and so we hit a dead end.

I ended up just using the diff tool to extract the modification LeEco has made and dropped it on LA.UM fixing conflicts and hoping it would work, it did not.

Because the modification needed other LA.HB APIs that I did not have, needed to downgrade. And also the blobs didn't accept those newer APIs too.

https://github.com/GalaticStryder/a...mmit/7dd2751dc04a13499fe19245ca8880f3efd32cf9

This gets it booting since the camera probe is critical it will fail it and won't boot.

This is for video recording with LA.HB blobs:

https://github.com/GalaticStryder/a...mmit/a3b4e48b30eba504836980b5e1d0a089e617ee56

https://github.com/GalaticStryder/a...mmit/974455f22f29177c7491fced8d86054c2634fef2

Flash uses i2c instead of pmic on LeEco devices as well, which is something that has been deprecated on LA.UM (N) and 4.4 deprecates both :(
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] andr68rus:
Thanks for reply and hard work on AOSPA!

About Kernel: yes, we are make omni & bs kernels compatible with X2, there are few commits: dts, sound, and most problem part USB (otg & cdla): https://github.com/omnirom/android_...mmit/70c68f60af05ef01fe0b2d9f46e1616ce056fc2a

I will merge your device tree changes, than we will test ROM and if all will be fine, we can make it official.

PS. Will be great if u can join our leeco dev telegram channel :)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] andr68rus:
Thanks ;) I think better way for now use working kernel, for example bs or omni, that already working on x2.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo andr68rus, yeah I just figured out earlier today that a lot of the compile errors are fixed in OmniROM like here for the USB errors I'm getting:

https://github.com/omnirom/android_...056fc2a#diff-a860d552234b1f8947b9b74926150830

Now I see what I was doing wrong from what GalaticStryder was saying, instead of trying to fix qpnp-smbcharger.c I should have just made an X2 specific version that includes the original file... derp! Like I said though, I'm not a professional software developer, I just have a theory on it. :P
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] andr68rus:
Today (few hour later) will be new build of AOSPA. I have build it, just need to fix some little bugs and rebuild and make viperfx & dolby work.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] andr68rus:
New build: pa_x2-7.2.3-DEV-20170828.zip [BETA]

Download: https://drive.google.com/open?id=0B-2l1xmYBAzsUXRXRXF5RGJtcFU

Note:

Kernel BS34, viperfx&dax does not processing system sounds. SnapDragon Camera work fine with video (e.g. 4k), google camera hdr+ does not write video (working on it).
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] andr68rus:
New build: pa_x2-7.2.3-DEV-20170829.zip

Download: https://drive.google.com/open?id=0B-2l1xmYBAzsZVdGblVJS0E1VjA

ChangeLog:

* Added viperfx & dolby atmos, now with processing system sounds and ringtones

* Kernel Omni with disabled irq_balance, must improve battery

* Many small tweeks & fixes

ROM seems working fine, except google camera hdr+ does not want to save video. Still working on solution.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Enzo_84:
google play servises FC on configuration after login check out

I tried newest oppengappas micro and pico, with wipe catch&davlik and without after flash

x822 4/32

twrp 3.1.1

modem 23s
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] xuser_:
[MENTION=6175749]GalaticStryder[/MENTION] , [MENTION=7884203]andr68rus[/MENTION]

Just a query:

how about color calibration, not using the app(KCAL) but is it possible to this device could display better colored images with Oreo(color-gaumet) as it has QHD screen?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] vpimentel:
Same here

Enviado desde mi LEX820 mediante Tapatalk
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Enzo_84:
After few tries it's start working with pico gapps and I really like this ROM, we will see battery life. Before I was using AEX
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] vpimentel:
Im on AOSP Extended.... But triying to install this have this S*** error, dont know why.... Any solution?

Im actually using aospEX 4.5

Enviado desde mi LEX820 mediante Tapatalk
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, I had the error too but I got passed it and setup finished.

I'm unsure if it makes a difference or not but I am also using Magisk 13.6 beta and Sdcardfs disabler since this is a secondary ROM via MultiROM
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Enzo_84:
[MENTION=7884203]andr68rus[/MENTION] ??

McAfee: Atack on WiFi network. Traffic is being kept by hackers - SSLSplit
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] andr68rus:
Do u use multirom + last magisk? It cause FC of google services.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] andr68rus:
That may be attack on wifi network that your connected to. Especially if you use free wifi. This has nothing to do with the ROM.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] andr68rus:
Bugs of last build:

Users report about some bugs in last build:

1. The phone can work slowly (Antutu some times show 99000)

2. Some users have problem with mobile internet.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Enzo_84:
- I didn't root

- I had this info when I was connecting to company and also home network, before I was on AEX and didn't have this problem, have same apps from Play store like on AEX

- not using free hotspots

- antivirus scan didn't show any infection

- using official twrp 3.1.1.0 but after last flash before PA I flash official India ROM 19s and after that twrp starts asking me for password, but after press button cancel everything works like before

Edit: I think, problem was connected with India ROM 19s, which was installed before PA

what I did

clean phone (data, catch, davlik, system) -> flash via TWRP offcial EUI 23s CN -> flash twrp.img, clean all again -> flash PA with pico gapps

I had again problem with login to my google account, but now everything works fine, without info about SSLSplit
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] redbeard1083:
just out of curiosity, how did you end up fixing system sounds? can you also share how you got camera to work? those two have been driving me up the wall and i haven't had much time to fix them in my builds.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Enzo_84:
yeap also have some lags (not all the time), but ROM is great. I think it can be connected with RAM management, on AEX I had more RAM free than in this ROM with same apps, also sometimes apps restart when I'm comming back to them.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] andr68rus:
AOSPA use audio_policy_configuration.xml , fix there. About camera - it work fine without any problem (except video on google camera). I will upload my device tree changes soon.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] andr68rus:
I have updated rom device tree to actual. Here is commit with viperfx & dax fix: https://github.com/pa-x2/android_device_leeco_x2/commit/d7529f03d43d01bf4767dc2fb49952af6a3b157a
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] andr68rus:
New build anonce:

BTW, for now ROM work almost stable, antutu give ~150k

Also I force google camera work on AOSPA with 4k video, but there some problem - it some times give FC.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Enzo_84:
MTP and OTG doesn't work

Antutu

Battery
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] devast8ndiscodave:
New build today? Thanks for your continued support andr68rus.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] andr68rus:
Hm, what kernel did u use? I try now: OTG work, MTP work, CDLA work on last build with BS kernel 3.5

Antutu give correct result few hour after ROM installer.

I think today it will not be completed. Thanks for your interest to this ROM ;)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Enzo_84:
didn't change kernel, didn't root (but still aps showing me its rooted, I even via twrp clean whole folder superus, what should I do to not get this info and app work normal?)

ok I will reinstall, thx

aaa I had have many FC on first google account configuration before I passed it.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] balajiganesan:
Pocket detection

Whether Pocket detection is working?