yashsingh1/xdaforums huggingface dataset:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Holg1805:
Here is a fix for the notification issue, its a zip file by Aurel called LePush Service i flashed the file yesterday and until now no problems. Take a look.

https://mega.nz/#!XRoTiaKR!HdwJTt5Po7iW8Rd8O3ZL_p3vWTlVaG_bxp8t_8S_ry0
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
[MENTION=7565215]CrisBalGreece[/MENTION], I did some research on how to turn off EUI background optimization (stuff I mentioned earlier, the hidden *#*#46360000#*#* menu). It is still active together with whatever aggressive optimizations MIUI is doing on top of it. I put full info here for everyone: https://xdaforums.com/le-max-2/development/euis-background-resource-control-switch-t3598624

I confirm it turns off EUI's app hibernation in your MIUI! This will improve background apps reliability and notifications in some apps, so please incorporate it in future builds. My Mi Band Tools works correctly now and measures heart rate periodically as expected.

For everyone else, you can turn this off now by installing Settings Database Editor and adding BG_CONTROL_SWITCH to "system" (notice "+ Add new setting" in top row). Set it to 0 and reboot.

While I'd like to say this solves all notification issues, we're not fully there yet. For example, to make LINE work reliably, I still have to convert it to a system app.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Amit_jana:
Camera crash

The camera crashes on recent update especially if you switch too video mode which is too dark to capture anything a restart will solve the issue but again it crashes as soon as I switch to video mode
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
Thank you for your time and search about resolving notification issues on our EUI based roms. Did you try it all ready? What is the exactly line that you add (name + package)? Did you make the changes adding the script line on first line to settings_system.xml? It needs separate extra apk like Heartbeat to work or working right away after reboot? If yes please post ASAP and I will include it on above xml and make a flashable zip with changes. :D
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
To add this setting to XML file and reboot is enough, I used your most recent build with Friday's update.

But like I said, this does not fix all issues yet, just the app freezing performed by underlying EUI.

You'll find this setting already in the file in EUI builds, it doesn't exist in your builds though.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
Sorry to hear about that. I don't face such problem at all. How did you make the installation? Try to make clean installation if you have this problem. :o
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
Ok then! I will find it and add it... Yes it doesn't exist on miui patched rom on settings_ system.xml. Thanks again.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] becon01:
Clean instalation=wipe cache, system, data?

Wysłane z mojego Le X820 przy użyciu Tapatalka
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
Yes for start try this way. If you are facing again problems ( I don't think so) try with internal to.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] baratheon16:
How to get daily wallpapers change feature in miui8?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] becon01:
I think there is something wrong with miui.zip. I wanted to install miui on my wife's phone and pop up an error.

Wysłane z mojego Le X820 przy użyciu Tapatalka
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] binkaa2:
i got about ~ 125k antutu :( does everyone like me or just me? :)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] juanq214:
I got even less, but I think something is wrong with this benchmark as the rom feels smooth and fast. Anyway I don't care about numbers and statistics but the real on-hand performance you get when using the device.

View attachment 4132844
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
Sorry I don't know and even on my rn3 pro kenzo it's not working on latest update. :(
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] becon01:
Criss can you reload zipfiles with Miui? I think the lattest is broken because it pops up error during installation.

Wysłane z mojego Le X820 przy użyciu Tapatalka
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
So here's one more thing that may come handy to you. This is how I test whether notifications are properly handled. I install Push Notification Tester ( https://play.google.com/store/apps/details?id=com.firstrowria.pushnotificationtester&hl=en ) I open it and request notification 30 seconds later. Then I swipe it out in the recents to have its process killed before notifications arrives. On a correctly working ROM, the notification arrives, even though the app process was killed. That's the point of GCM - it is supposed to wake up an app even if it was killed. On my Mi4c running Mi Globe ROM it works as expected and so it does on AOSP ROMs. On your MIUI the notification is never shown, even though we can see it arrives in GCM log. I can make this particular app work if I lock it in memory but it is not the correct solution since some apps (LINE) will register for GCM and shutdown themselves. Locking can't stop them from doing so.

So now some observation. You introduced recently App Permission Management in Leeco Settings. To make notifications work for many apps, we need to flip the auto launch switch there. After doing so, apps seem to work correctly to me. However, there is no auto launch switch for Push Notification Fixer, nor for LINE (they have auto start switches in MIUI settings though). Would you have an idea why? Perhaps, if we can enable these missing auto launch switches, we'll have all notification issues solved!

Anyway, keep up the awesome work, I hope we can iron out all the problems soon!
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pitu20012:
Can You do MIUI based on Android 7.1.2?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
Thanks again for your time to help for solving all the above issues with notifications. I'll keep it in mind and try to figure how to resolve all. :fingers-crossed:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
Not yet.... ;)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] becon01:
[MENTION=7565215]CrisBalGreece[/MENTION] The error does not occur only when I do not clean the system. When I do wipe system pops error number 7. There is also a problem with the resolution after uploading the file you recently uploaded. The default is 1440x256 and should be 1440x2560. In the dpi chenger application you can not enter values ​​above 260

Wysłane z mojego Le X820 przy użyciu Tapatalka
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
Sorry but i don't agree. Default is 1920*1080p with 640dpi . All so i don't face error 7 issues..
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
Charge your phone on 100%. Shut it down. Let it cold. Then turn it on and close all other apk's. Run it and you get 143k +. Thanks..
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] adarshb365:
Hey bro now that nougat based MIUI is out of mi5 can you bring it to our dear le max 2 as we already have other base nougat roms?? ?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
When we see EUI Nougat without bugs & issues yes! ;)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] desikalakaar:
Hello sir...

Can u make a stock Android N ROM for le max 2.Seems like u are an expert of custom ROMs... Would be great if u did...

Loved ur miui 8 ROM... Thanks in advance... Waiting eagerly on my side to hear from u...

Thank you sir...
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
[MENTION=7565215]CrisBalGreece[/MENTION], here's a more detailed observation. I flashed EUI to see permissions of Push Notification Tester and Line. They both appear on the list of autostart apps, as seen in the attached screenshot (I did it, because they don't have an option to switch auto launch permission in your current LeEco Settings).

I also tested notifications in EUI with Push Notification Tester. If it is not in the autostart list and the process is killed (swiped out from recents), notification does not arrive. If it is in autostart, notification correctly arrives, meaning the process is restarted when it receives notification.

So, bottom line, can we add this menu somehow to your MIUI builds? My guess is once we have control over it, we have solved all notification problems.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Hand1885:
Where to find mi tools

---------- Post added at 09:37 AM ---------- Previous post was at 09:23 AM ----------

How to turn of call flash alerts?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Peran7:
After few days i have FC in SMS app

Is there any solution to fix it?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
Some more information [MENTION=7565215]CrisBalGreece[/MENTION]

I did one more file compare and it looks like that EUI stores auto launch settings for apps here:

\data\data\com.letv.android.letvsafe\shared_prefs\com.letv.android.letvsafe_preferences.xml (see attachment, note the relevant apks are set to true).

com.letv.android.letvsafe is present in your MIUI build, though the content of this file is very different, which is weird. Also, it gets rewritten on boot. But all I can say now is that this apk is involved. Unfortunately, if I try to change value there manually from false to true in EUI, it has no effect (even after reboot). So there is some other location still. Also, moving this file to MIUI, did not allow apps to be woken up. So perhaps trying to open this EUI settings panel in MIUI is a simpler way.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
When finding some time from my work I will check all things that you said. Thanks for your help and time. ;)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
Thanks for porting the ROM :)

One last thing, I looked into what other services may have been involved in auto launch settings in EUI after I flipped the switches. There were also some changes related to the two tested apps in data\data\com.letv.android.powercontroller\databases\power.db I opened this file in SQLite reader, but not really obvious to me how is information stored there and whether it really relates to this. Yet, given the name of the service I'd say it is a reasonable guess it is one of the services involved in EUI's battery optimizations. It is not present in your MIUI build, so perhaps you will need it to add it.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] liorreem:
Member47 posts Thanks: 4

Hi. How this ROM handles right to left languages? the stock rom does a terrible job. the control panels are a mess, not enabling to access all options, controls and recent apps.

Also menus are not translated well.

thanks

Lior
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] sahil3077:
hey guys today i ported my lemax2 to miui8 , but iam facing following issues,

1- no outgoing calls from sim2,

2- want to turn off flashing of light while receiving incoming calls or sms,

3- few icons are missing like icon for calender, weather

4- want to reduce size of icons,

thnx in advance
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ecimadh:
Hi dear Its very good ROM i have one silly question which i am not really sure but asking Is there a way if i install it can update itself using the inbuilt updater app . i installed the most recent one( v 24). or suggest what is the other method to update. Many thanks
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
Hi i don't know how is the stock translation on your Language. Is the same with miui global.:o
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
hi. Thanks for trying...

1. I don't have suchs problem. Did you try switch sims?

2. Put the Update fix on OP and then you will find inside the flash light activity to disable it or change it.

3. Just change theme. Is stock EUI. You have thousend to choose.

4. Gi to settings/mi tools and change DPI & Resolution like you want to.:good:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
No you can't! The on board updater is for official miui. If i release some newer version you can update it through TWRP again.:o
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] sahil3077:
thnx chris for porting miui rom for us,

I ported it today and really liking it except for few bugs

the flash light issue is resolved , I figured out to turn it off in leeco settings,

and even the icons for weather and calendar has reappeared once I changed the theme,

volte is working fine,

but still I could not place calls from sim 2 , though iam receiving calls from it,

which ever sim u chose to make calls , it always uses sim 1 by default,

tried it with different dialers, but still the same issue,

in app icons and fonts are big in size, something to do with display size I guess, as in whats app and play store it appears like its size is increased,

help me in fixing this , rest everything is appreciable,

good work bro
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
Hi again. For SIM issue try to put as default SIM 2 and after you can make calls I think..

For icons size just play with different resolution and DPI settings. I use 1440*2560 with 640 DPI and it's OK. ;)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] devast8ndiscodave:
Cris, great rom. I've a personal issue with it though. The splash screen on boot. Do you mind sending me the picture and I'll edit it to look a bit better?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] liorreem:
Hi

The translation is not the main problem, I can live without it.

The other problem I tries to describe is the main issue at the stock rom when I use hebrew language:

When I try to swipe left/right the icons in the "control center" (by pushing the left square button) to see all the shortcuts (top row) or settings (mid row) or apps (lower row) it doesn't show the hiden icons. It shows only the icons that are shown by default.

Can you switch to hebrew "עברית" and try this?

Thanks!
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] anmolsharma433:
how can i get google assistant??? :confused:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] valy_cta:
I also wanted to suggest a smaller font for "modified by CrisbalGreece", something like the size of "Powered by" and placed on the bottom. It would look neat in my opinion.

Of course, if Cris does not want to change anything, I do understand and still be grateful for the ROM.

Looking forward to the change though.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] becon01:
How to turn off flash light notification when I get SMS or the call?

Wysłane z mojego Le X820 przy użyciu Tapatalka
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] valy_cta:
Settings - MiTools - System - Flashlight
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
Hi. Just flash the official splash.img. I all so have it as flashable zip on OP. In few seconds you have it back. ;)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
Sorry to hear that but hebrew translation is on board on miui OS so I can't do nothing.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Hand1885:
It's reboots in boot loop plz help

---------- Post added at 10:29 AM ---------- Previous post was at 10:24 AM ----------

My cell is x821
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] liorreem:
As I tried to explain, the translation isn't important to me.

The control panel layout is the problem. It is completely a mess. Swiping to see all controls and shortcuts only deleting the icons and not showing the hidden ones.

An easy way to check this is to "force RTL layout" at the developer options , and see if the control panel behavior is good.

Can someone check this?

Thanks

Lior
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
Did you give notification access to some app?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] sahil3077:
Hey cris

The calling issue from sim 2 is resolved by swapping sin cards,

Since yesterday iam using it , great ROM though but still even in this iam facing the server unreachable error when you try to make calls from jio

It gets resolved once u restart the mobile data , d same was even there in eui ROM,

Any one else from India facing similar issue ?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] spavian:
Me , i'm getting the server unreachable error after 5-6 sec of call .

It's something related to LTE network latency .. Some parameter on VoLTE settings is not ok ...
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] sahil3077:
I guess it usually happens after data intensive task like YouTube , not quite sure ,

Not able to figure out , is it handset' or ROM issue
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
Ρ

Try to setup new apn with your carrier settings. My help. ;)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] spavian:
I have an apn with carrier setting , otherwise the VoLTE is not working at all.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] lukaszlol1990:
It is like official MIUI rom for lemax 2 ;) thank you for developer crisbalgreece. You should learn them how make happy people;)

Wysłane z mojego Le X820 przy użyciu Tapatalka
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Hand1885:
Yess to music match

---------- Post added at 10:14 PM ---------- Previous post was at 10:13 PM ----------

Yes to music match
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] liorreem:
Hi

Did anyone got stuck on "Mi" logo when booting.

I installed this beautiful ROM today and followed all the instructions carefully, but after a few hours, when I booted the device it was stuck on the logo.

Only complete wipe and re-flashing the ROM got me out of it.

It happened to me twice today, so I gave up and reverted back to stock from the recovery backup (lucky I did backup...).

Did I miss anything on the installation?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] jacopocec:
hi, I am new coming from Apple.

In the second point you say: you find it on 2nd surface on your Launcher.......

What does it mean?

Do I have to re-connect the max2 to the pc and install something from there? because I don't see fast charge in my menu after flashing.

Thank you so much !!
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
Search the thread, it seems doing so causes bootloop.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
Try to make clean installation with internal storage. It seems some x829 - X821 have this issues. I don't know why yet. I'm trying to make some changes on kernel for that and to another libs.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
O.P. Update>>v.1 system fix for all users AND MODELS X82x https://mega.nz/#!xEVTWbKY!FTWMTpjq2nnNuLvSVLDXhcJkWNLfZ35wagGyJ3zsQIA for some stuff on kernel that causes bootloop on x829 x821 phones. Put it trough TWRP without any wipe before and after.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] devast8ndiscodave:
The CDLA option doesn't stay on at all. I've updated with the patches.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] edwarddd:
Thank you so much for this ROM i am gonna try it now daily use!
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] edwarddd:
Hi I've been testing this rom and I could realize the notification issue that people were talking about previously, I've read previous posts and I couldn't get this to work properly, just for example when I close Facebook messenger I don't get the notification pop-up nor on YouTube and other apps etc, and not that I can't live without, however, is there a way to fix this? Thank you in advance.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
It seems all miui latest global roms have this issues all so in my rn3pro... Try to install the HeartBeat from play store it helps a lot.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] edwarddd:
Thank you very much for your response I will do it, I think I will keep this rom for daily use I've always loved miui, best regards
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] raawee.th:
can not change country from greece to another country

.

can not change country from greece to another country.and aututu benchmark score is just 100000.

thank a lot
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
1. Region is Greece - Europe is Greek miui.gr rom Country is what ever you like

2. AntuTu is 145.364 thanks ;)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Famnakab:
How to anable quick charge in this rom ?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Romskicavo:
How I can change Themen again to Cn ?

I will back the anime theme :S
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] lukaszlol1990:
Thank you for the next Rom Update. I did install it and the ROM is very good for daily use. I don't recommend use any AKT profile because after use balanced or performance profiles the rom has lags or bad battery life. I use stock without any change and for me is the best. No any lags and battery life is good for daily use. I found 2 bugs...

SMS app sometimes randomly has force close(crash). Any ideas?

And can't change default phone location is Greece;)

Wysłane z mojego Le X820 przy użyciu Tapatalka
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
Sorry you can't. Put previous rom 7.3.19 if you want back the Chinese stuff. ;)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
Hi. AKT profile is very good on Balanced mode with Fusion or other profiles.

For the SMS crashes. I don't know! Do you make all the patches and updates v. 1?

Location yes is Europe - Greece by default. If you want to change that go on build.prop and delete the lower region scripts that shows Greek region. :good:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] lukaszlol1990:
Yes I did install all of patches. I going to check what is wrong with SMS app. Thank you for hard job;)

Wysłane z mojego Le X820 przy użyciu Tapatalka
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] anmolsharma433:
while doing video calling from watsapp or hike by connecting earphones the earphones doesn't​ work only mic works and sound comes via speaker grill...any fix for it...?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Lordof9:
So, this ROM has a Red, Green and Blue LED, is this a Miui or Hardware based limitation?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] lukaszlol1990:
After installed yours 2 patches from post number 23 and 24 Dolby audio and viperfx doesn't works. I will try find solutions for that. Do you plan build next update ?;)

Wysłane z mojego Le X820 przy użyciu Tapatalka
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Tairo308:
I can't install :(

Hi I am triing to install the version project V6 on my Le Max 2, but have an error : Could not find 'META-INF/com/google/android/update-binary' in the zip file Error installing zip file '/sdcard/miui_8.zip'

I need help, tanks
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hu rui:
Unfortunately, this ROM is not China's ROM production, many people want to use but stopped
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] anmolsharma433:
man this rom is amazing...the devloper [MENTION=7565215]CrisBalGreece[/MENTION] is doing a great job day by day rom is going more stable and with many improvements i am following him since the day he posyed miui 8 and u can't imagine how much he has worked...to make rom more stable
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
Thanks for your good words but it needs many many work to make a full stable rom. I'm Just trying for fun and for my phone. ;)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] spavian:
I have a problem with VoLTE ,after 6-8 second the call disconnect and show server unreachable . What to do ?