yashsingh1/xdaforums huggingface dataset:
[Mi 3 Android Development] ymg2006:
this versions swipe to wake is working flawless but the cpu hotplug not !!

and there is so termal issues in logcat which uses cpu in background and consumes more power ...(miui 7 marshmallow ,7.2.11)

06-04 00:58:17.141 432 3061 E ThermalEngine: set_and_wait_alarm: error: failed to create timer

06-04 00:58:17.142 432 3061 E ThermalEngine: speaker_cal_algo: 61000 > 45000 (max_temp) || 6000 > 6000(temp_range)

06-04 00:58:17.142 432 3061 E ThermalEngine: set_and_wait_alarm: error: failed to create timer

06-04 00:58:17.143 432 3061 E ThermalEngine: speaker_cal_algo: 61000 > 45000 (max_temp) || 6000 > 6000(temp_range)

06-04 00:58:17.143 432 3061 E ThermalEngine: set_and_wait_alarm: error: failed to create timer

06-04 00:58:17.144 432 3061 E ThermalEngine: speaker_cal_algo: 61000 > 45000 (max_temp) || 6000 > 6000(temp_range)

06-04 00:58:17.144 432 3061 E ThermalEngine: set_and_wait_alarm: error: failed to create timer

06-04 00:58:17.145 432 3061 E ThermalEngine: speaker_cal_algo: 61000 > 45000 (max_temp) || 6000 > 6000(temp_range)

06-04 00:58:17.146 432 3061 E ThermalEngine: set_and_wait_alarm: error: failed to create timer

06-04 00:58:17.147 432 3061 E ThermalEngine: speaker_cal_algo: 61000 > 45000 (max_temp) || 6000 > 6000(temp_range)
[Mi 3 Android Development] :
[MENTION=5579787]vasishath[/MENTION] [MENTION=5162591]Shahan_mik3[/MENTION] Do you update the kernel cyanogenmod?
[Mi 3 Android Development] QTeknology:
I will pay for dt2w on RedMi note 2............................... :(
[Mi 3 Android Development] Dashur7:
Go to?*Settings?*>?*Location?*>?*openMenu (3 dot menu , top-right corner)?*> select?*Scanning?*>?*Turn Off WiFi and Bluetooth scanning. Then reboot.

Sorry for late reply.
[Mi 3 Android Development] damian12332146:
No chances. It's mediatek.
[Mi 3 Android Development] Shahan_mik3:
1. Without device it's not possible

And yea then there is mtk xD
[Mi 3 Android Development] travarilo:
Hi [MENTION=5162591]Shahan_mik3[/MENTION] I flashed the test kernel dated on May 30, but I always got reboot a minute after changed the CPU governor..

Does anyone face the same?

Thanks
[Mi 3 Android Development] faizul134:
Is there any SOD when using DT2W on miui rom? Currently I am on miui8.
[Mi 3 Android Development] ymg2006:
I'm on miui7 the SOD is still present in, (30 may) but battery comsumption is not so good as before version(7 may). But the swipe to wake is better and the new hotplug is laggy.
[Mi 3 Android Development] intruder16:
Too many wakelocks on this kernel. Thousands of eventX and ipcXXXXsensors wakelocks. Doesn't seem to drain much battery but still keeping the phone awake. Tried it with both MIUI 7 & 8 (Clean install).

http://imgur.com/peSpdWE

Any way to get rid of them?
[Mi 3 Android Development] ymg2006:
Install kernel auditor and control wake and other parameters.
[Mi 3 Android Development] areq1987:
Unfortunately I have some sod still from time to time on darkobas ROM with stock kernel.

Wysłane z mojego MI 4LTE przy użyciu Tapatalka
[Mi 3 Android Development] surya17:
Torch disappears from quick settings panel after flashing this. I'm on the latest CM nightly( the same is the case with the previous builds)
[Mi 3 Android Development] intruder16:
I am using kernel auditor and disabled dt2w and tried almost everything but still these wakelocks. Even after a clean install.

Dev, please look into it if possible.
[Mi 3 Android Development] vasishath:
This is caused by doze.. Are u force enabling it ? If yes then please disable it, doze doesnt work as expected with our device.
[Mi 3 Android Development] Shahan_mik3:
May 30 build was a test build i made for checking testing a feature. dont flash unless posted here
[Mi 3 Android Development] vasishath:
Kernel updated

Changelog:-

1. Bump version to 2.4

2. Reduce minimum lcd brightness for mi3 users (mi4 users already have it at minimum)

3. Significantly lower "mobile radio active" battery drain and time

4. Fix miui thermals

5. Fix wifi on ivans rom
[Mi 3 Android Development] ymg2006:
Good job, but where is the msm hotplug? It was making cores sleep...
[Mi 3 Android Development] vasishath:
Its removed due to poor performance
[Mi 3 Android Development] :
Thanks machine, testing in cm13...
[Mi 3 Android Development] Prashanth Meesara::
I am using cm13 nightly, can you answer the following

Does changing min and max frequencies stick or change after some time?( Unable to change in stock cm13 kernel)

How's the kernel any sod or bugs?

Thank you
[Mi 3 Android Development] gelarman:
I feel bad if i dont share it
[Mi 3 Android Development] imgblur:
Care to share your setup? :)
[Mi 3 Android Development] gelarman:
CPU Max 1497 mhz governor Interactive,CPU Governor tunables on SS,Multicore disabled,Sync Threshold disabled,Input Boost disabled

Hotplug MPDecision

GPU Max 389mhz,GPU Governor msm-adreno-tz

Wake Control DT2W disabled,S2W enabled

I/O scheduler ZEN,read ahead 512kb,add random disabled,I/O stat disabled,RQ Affinity 0

Virtual Memory Laptop Mode ON

Entropy read 2048 write 4096

Network TCP Westwood

Use kernel adiutor mod
[Mi 3 Android Development] imgblur:
Thanks! Will it stutter if you keep the GPU below 389?
[Mi 3 Android Development] gelarman:
In some games it will,i only play get rich,piano,BB Racing,PvZ,PacMan no stutter with 389mhz
[Mi 3 Android Development] imgblur:
Oh OK. Thanks!
[Mi 3 Android Development] ymg2006:
That was an option which can be disabled by default and if some one wanted can enable that, would you mind add it again, that would be nice to have more hotplugs, they are super power saving options in kernel . Thank you ?
[Mi 3 Android Development] :
the frequency change is correct, I have a closure in settings / language text entry and also some SOD. Now I have the standard kernel configuration and the processing speed is very very good. I worry about the battery ... my English is bad sorry
[Mi 3 Android Development] wta03dental:
You can reduce screen resolution to 720p for better performance while lowering GPU frequency. It isn't much difference between 1080p and 720p but 720p is much smoother and battery friendly .
[Mi 3 Android Development] sgcko7:
How to reduce to the 720p? You mean reducing DPI?

Thanks

EDIT: Maybe this? http://xdaforums.com/xiaomi-mi-3/general/guide-change-screen-resolution-t3130257
[Mi 3 Android Development] sidhg:
swipe to wake is disabled in kernel auditor.. but it is still working.. Using miui 7 latest china developer rom.. overall Kernel is stable now.. And less heating.. ??
[Mi 3 Android Development] carmos:
it's compatible with MIUI 8??
[Mi 3 Android Development] palgaurav00196:
Yes
[Mi 3 Android Development] wta03dental:
There are a lot of 3rd party apps available for changing resolution. You should set 720p 320dpi for optimal aspect ratio.
[Mi 3 Android Development] optsss:
I use lastest version on my miui8 ，but wifi can not open.
[Mi 3 Android Development] Shyam Lohar:
After flashing zx latest build flashlight toggle went missing. But soft reboot solved it. This happens every time I reboot my phone. And display colors fade out used to happen on miui5. Faced flash light bug on old zx builds as well. But this display bug is new. Maybe due to minimum brightness feature. If you need any logs please do tell me would like to help :)

Ps- I m using RR + zx 2.4 cm build
[Mi 3 Android Development] surya17:
Link please.
[Mi 3 Android Development] Dashur7:
Check the 2nd post
[Mi 3 Android Development] magarto:
Does the new version fix SOD caused in the past by this kernel and auto reboots caused by the official MIUI 7 and 8 rom in Mi4?
[Mi 3 Android Development] diongdyh:
Previous version already fixed SOD for my Mi4. On other ROMs though, haven't and will not try it on miui. You can always perform a backup and try this kernel out and restore the backup if you meet the issue. Have faith bro, it should be fixed.
[Mi 3 Android Development] magarto:
Thanks. And how can I fix bad battery level indication without wiping battery history?

I'm giving it a try again but WiFi module is not working any more in 2.4 and 2.3 (last MIUI 8, Mi 4W) [emoji20]

---------- Post added at 07:39 PM ---------- Previous post was at 07:14 PM ----------

Same here
[Mi 3 Android Development] Dona55:
ZeurionX CM kernel Ver. 2.3/2.4 at AICP rom 11-MM

Why all sensor not working or sometime gyroscope sensor only not work after reboot?

So i have method to try delete persist folder at root directory before reboot... It work 100% to make all sensor work after reboot

How to enable automatic delete persist folder every reboot so all sensor can be fix?

Or any method how to make this sensor funtion normally.?

Thank You

My Regard
[Mi 3 Android Development] Shahan_mik3:
Clean flash miui.eu latest build then flash any rom+ kernel
[Mi 3 Android Development] :
have already partitions /data /cache .... f2fs :good:
[Mi 3 Android Development] solazz:
How did you convert to f2fs? I tried previously but twrp can format to f2fs but cannot mount f2fs partition
[Mi 3 Android Development] uutsav:
Black screen between optimizing app after installing latest cm version of the kernel...on latest cm nightly mi4w....please help..
[Mi 3 Android Development] vishal24387:
Deep sleep bqttery drain with s2w ON...??

[MENTION=5579787]vasishath[/MENTION]

I have a wiered observation regarding s2w feature. Yesterday night I kept s2w ON and kept phone aside for almost 7+ hrs. Surprisingly battery drain was just 4% which is literally amazing. Even battery graph also shows not awake in deep sleep mode.

But when I do the same thing but keeping phone in my pocket (in deep sleep) then battery drain significantly increased. Even battery graph shows phone is awake.

So does this make difference for s2w keeping phone aside and keeping in pocket??

Also I have the same request. If possible plz add a timeout feature for s2w or dt2w which will help to improve battery life :)
[Mi 3 Android Development] vasishath:
Actually when u keep ur phone in pocket, the screen is touched several times. Since our touchscreen does not have any inbuilt hw gestures, it wakes up the kernel everytime it registers a touch. Hence the wakeups.
[Mi 3 Android Development] vasishath:
Flash assertive display zip.. Its required
[Mi 3 Android Development] magarto:
Does anyone know how to fix "no WiFi" on this kernel in MIUI 8?
[Mi 3 Android Development] uutsav:
I did flash the zip file...and the cheksum of mm_pp_deamon is

39d13903556f6d88a0bf922029c17f61

Did I do it right?
[Mi 3 Android Development] mig0r:
Link to zip please?
[Mi 3 Android Development] gelarman:
cannot lock max freq on miui 8,can anyone confirm it,or it is just me
[Mi 3 Android Development] Dona55:
Thank You,I will try to night
[Mi 3 Android Development] :
[MENTION=5579787]vasishath[/MENTION] boot.img should have an fstab that permit to mount f2fs filesystem.
[Mi 3 Android Development] neilrayer:
with kernel auditor if i under clock the frequency its not changing. its sticking to normal. how to change the frequency.? i am using miui 7 6.5.26 . kernel v2.4
[Mi 3 Android Development] magarto:
I checked that if WiFi is disabled in Stock kernel before installing Zeurionx, WiFi doesn't work any longer in Zeurionx.
[Mi 3 Android Development] diongdyh:
Turn off MP Decision at CPU Hotplug
[Mi 3 Android Development] neilrayer:
Thanks that worked
[Mi 3 Android Development] dark_Xdragon:
[MENTION=5058776]gelarman[/MENTION] Just out of interest, why have you set the entropy so high? BTW thank you for the settings; I can now comfortably get through two days of normal usage or one day of very heavy usage with between 20% and 30% left at the end of the day.
[Mi 3 Android Development] neilrayer:
I am so sorry but again the clock speed gone default mode. I can't clock it manually
[Mi 3 Android Development] oL00No:
No. You can't. Thermal throttling will reset it as well. You need a modified hotplug to do anything permanently in a meaningful way. I don't know if our dev wants this in HIS kernel.
[Mi 3 Android Development] :
It is kernel adiutor, not auditor guys ;) :angel:

BTW no sod since 2.4 in 7.3.3 stable miui multi... Yet
[Mi 3 Android Development] varunangirash:
camera not working in this kernel miui 7. 1.1.0
[Mi 3 Android Development] vasishath:
U cant change frequencies in miui.. Miui uses perfd which will reset ur lower frequency as per performance needs.
[Mi 3 Android Development] vishal24387:
Hey I want to ask you that is it possible to have some kernel tweak or drivers to have slow motion vdo rec?? Or its not at all possible??
[Mi 3 Android Development] tendulkaradi:
Even Xiaomi can't solve it :v
[Mi 3 Android Development] Miguelo210:
There are some rom that work slowmotion on snapdragon camera or oppo camera. For example that I tested recently resurrection remix of Dutchman1990. But in DU cm or aosp don't work, and I always flash zx, I believe isn't zx problem.
[Mi 3 Android Development] neodante:
BUG

Every time that I install this kernel the languaje and input on settings give Forcé Close
[Mi 3 Android Development] justbfree:
Never had this issue on zx kernel
[Mi 3 Android Development] neodante:
You have mi3 or mi4 ? I confirm that bug on mi4 tested on a few of roms
[Mi 3 Android Development] Miguelo210:
I dont have fc in setting with mi4. Try changing the cm theme.
[Mi 3 Android Development] vinaysp:
can somebody share best screen settings in kernel aduitor.

i like dim screen

i messed it a bit. or share default setting atleast.
[Mi 3 Android Development] diongdyh:
Uninstall Kernel Adiutor and reboot = default settings. You may install Kernel Adiutor after rebooting and the settings shown are the default configuration.

Best kernel settings? I used to mess up with CPU governor and I/O Scheduler. However my experience tells me that changing them don't really improve/harm battery life by a whole lot, but only may cause some weird issues.

My config. is simple, everything untouched, only CPU Frequency to 1497MHz and GPU to 389. Remember to turn off MP Decision at CPU Hotplug session to ensure the settings are applied. If you're on MIUI, frequencies can't be tweaked properly nonetheless according to users.
[Mi 3 Android Development] vinaysp:
thanks buddy. i only need screen settings
[Mi 3 Android Development] oL00No:
Why do you lower clock speed if cores cannot plug out? It makes no sense electronically as a means of saving power.
[Mi 3 Android Development] diongdyh:
Lower clock speed = lower power consumption.
[Mi 3 Android Development] oL00No:
No. Just no. Lower clock speed means longer utilization. Whether that amounts to savings or increased power usage is scenario specific.

You, however, have turned off hotplug. The only genuine power saver you have.

Please read.
[Mi 3 Android Development] magarto:
Could anyone explain me how S2S works?
[Mi 3 Android Development] DutchMan_1990:
You need to activate it from kernel auditor's wake control menu. After activation swipe from left to right at the bottom of your screen.

---------- Post added at 08:37 PM ---------- Previous post was at 08:32 PM ----------

May I ask how was the ROM and how was that slow motion video?
[Mi 3 Android Development] gelarman:
true
[Mi 3 Android Development] Miguelo210:
The rom very good jajaja thanks you bro. But I like DU aosp a bit more. Slowmotion 720p very good too. Is the only thing I miss with DU.
[Mi 3 Android Development] intruder16:
It's not an issue with Doze. After days of testing, i've finally found what was causing it. It's due to my wifi router. That's why the issue was present in even clean install of ROM's. Coz the first thing i did while setting up a new ROM is connect to my home Wifi. But yesterday i used my mobile data as i was away from home and voila, no such issues (until i connected to my wifi ofc).

Some peeps from OPO community are also having this issue even on stock kernels. For me the issue is there on almost every ROM i tried (even on stock MIUI). FYI, I did not go back to LP or KK. Only tested on MM.

Also, doze seems to work well on custom cm or aosp based ROM's. Currently i'm on DU Aosp and Doze is working as expected.
[Mi 3 Android Development] vasishath:
Du aosp uses my tree itself.. Doze is disabled in that. Its even disabled in miui, thats why u still dont have any global stable miui mm cause doze is required for the update to pass CTS.
[Mi 3 Android Development] intruder16:
Oh i see. That's why it shows CTS false in SafetyNet Helper app. Can you explain what are the problems with enabling doze? AFAIK, all the prerequisites required by doze like sensors etc are already fulfilled. Also, the "Check Doze" app shows that Doze is supported. So there must be something else.
[Mi 3 Android Development] vasishath:
The significant motion sensor wakes up the cpu frequently once the phone enters doze.. Leading to lots of kernel wakelocks and thus draining battery.
[Mi 3 Android Development] vishal24387:
I think in paid version of xposed greenify there is an option for aggressive doze mode which says it prevent wakelocks like you mentioned
[Mi 3 Android Development] vasishath:
That is technically disabling motion sensor all together.. Which means doze will stay active even if u move ur device.. Thats as good as switching internet off while screen off and on while screen on.. No advantage of doze then
[Mi 3 Android Development] vishal24387:
Oh...!!

Anyways you said that DU AOSP rom uses your tree. I want to ask that why can't we have slow motion vdo recording in DU AOSP rom?? Rom based on CM sources tree have working slow motion vdo recording.
[Mi 3 Android Development] vasishath:
How ? Please elaborate..
[Mi 3 Android Development] vishal24387:
I mean in any rom which is based on CM sources (eg resurruction rom, official cm rom, blisspop rom etc) has working slow motion video recording.

But the rom which is bases on aosp sources, slow motion video recording don't work.

More detailed info :- When open camera and select video rec mode then go to option and in that select 'high framerate recording'. Then select 'slow motion 120fps' and then start video recording. Now recorded video should be in slow motion. But here is the main problem. When play it the recorded video play with normal speed :( (in aosp based roms).

Also a weird thing I observed. Slow motion video recording work at 120 fps with 720p resolution. On any other resolution it says "feature not supported".

Second weird thing is that on CM based roms normal video rec works at 480p also. But on aosp based rom video recording don't work at all. Only works at 720 and above.

I hope I explained propely :)

I wonder all these things related to kernel and driver or anything else??
[Mi 3 Android Development] ymg2006:
Is that possible you turn the proximity sensor on in sleep and when its covered the touch screen sensor and waking the kernel be disabled?

think this will save more power and disable unwanted pocket unlocks.

Please add hotplugs to save more power...

But the way, im using this kernel, it is perfect and better than stock one. Thank you alot.
[Mi 3 Android Development] zjlow1314:
Flashed this kernel on latest CM13 on Mi 4, languages & input setting crashed. Anyone has the same issue?
[Mi 3 Android Development] minhduong11:
Sorry friends, i missed this topic for a long time. Could someone told me the dt2w working fine in lastest version on MM or not

Tks in adv
[Mi 3 Android Development] trunks986:
Hi guys, i have a mi4 lte (2gb-16gb) and i want to try this kernel. Does it work also on mi4?

Now i'm on miui 7.3.3.0 from xiaomi.eu (marshmallow) . Thanks in advance
[Mi 3 Android Development] diongdyh:
Yes it works very well.

Yes it should work, but don't expect everything to work properly since no devs have a lte Mi4.
[Mi 3 Android Development] danisfc6:
Yess
[Mi 3 Android Development] juanrra242:
it works ok ,i was flashing the wrong version.
[Mi 3 Android Development] Ahamed_mi3:
CPU

I can't under clock CPU speed even am disabled mtp
[Mi 3 Android Development] oL00No:
See page 136
[Mi 3 Android Development] razibrizal:
Underclock work on cm13
[Mi 3 Android Development] JBolho:
I actually used to underclock my CPU to 1.9 but with some hotplug enabled that allowed for cores to plug on and off. Since this kernel only has MP Decision, do you think it's better to just leave it on and forget messing with CPU clock speeds?
[Mi 3 Android Development] oL00No:
Indeed, my good man. Hotplug is the most important feature we have for power saving. Clock changes only have a theoretical effect.
[Mi 3 Android Development] yoghibawono:
it works flawlessly. Except on boot took seconds longer than other kernel. MI4 LTE-CT here
[Mi 3 Android Development] JBolho:
I underclocked to 1.9 ghz, not because of battery, but because it makes the phone heat up a lot less during heavy gaming without noticeably hitting the performance. It's just a small step down but i found it to really make a difference... And that's why i preferred to use Mako or Alucard, because those allow us to tinker with CPU settings and they make a very good job managing the performance, online cores and etc. But since MP Decision is the only one present... I guess it's better than none. Thanks. :)
[Mi 3 Android Development] rajib4:
[MENTION=5579787]vasishath[/MENTION] Flashed on Metallium ROM (Mi3), using it for last 12 hours. Fabulous experience, dt2w is working great (no miss hits at all)... Its buttery smooth and stable. Deep sleep working fine as well... I will hold on to my views about the battery for few more days/cycles, its too early to comment on it by just using for 12 hours. I have not made any calls till now, hope no SOD.

But all in all great work bro :thumbup: hats off to you :D

Stuxnet always used to be a great kernel and you have taken it to the next level... Also a BIG THANKS to the great [MENTION=5334172]Gnome[/MENTION]

Changed only the following settings:

CPU Hotplug: Disabled MPD

Screen: Saturation 45% (I love amoled like colors)

Misc Controls: TCP Congestion Algorithm - westwood

Rest all setting remains default...

Cheers :cool:
[Mi 3 Android Development] Armin_van_buuren:
4% battery consumption at rest in 10h d2tw activated .

Great job [MENTION=5579787]vasishath[/MENTION]
[Mi 3 Android Development] teodos:
Nope is the 3gb version mi4 yes for some reason none of the kernels here work.
[Mi 3 Android Development] mipo007:
Good job, man. It's the perfect kernel. Awesome!

Thanks you so much, bro!! ? ?

Enviado desde mi MI 3W mediante Tapatalk
[Mi 3 Android Development] saiyammorakhiya:
Becouse u r flashing with twrp m i right?
[Mi 3 Android Development] teodos:
No i tried both custom recoveries twrp and cwm and the result is always the same. Someone said it is because of the cwm then I tried with twrp same result there must be something else when flashing I see no point people with the same device and rom to be able to run custom kernel some can't.... I tried fresh install and normal one this is as far as I get the mi logo shows after 5 sec the phone shuts down

......
[Mi 3 Android Development] saiyammorakhiya:
I also experiance same prob with twrp its just showa installing but after done no result so i changed twrp to cwm and installed on active sysytem den it will be fine!!
[Mi 3 Android Development] teodos:
so this worked for you? well i did try with CWM and install it on system1 where the rom is how to know if this is or is not the active system ? Also i am ditry unicorn rom not on miui7 i switched back and let me tell you this rom is 100 times better than miui ..... .fastes rom ever ...
[Mi 3 Android Development] saiyammorakhiya:
Yes its worked!! In cwm it shows on which system u wont to install and there U can see wich system is active right now like this - install on "1- system 1, 2-system2 (active)" so in my case it is system 2 who is active and so i installed on system 2 n averithing got work like charm!!
[Mi 3 Android Development] teodos:
i didnt work i install it on the active system and still the same problem i get the mi logo and after that the phone shuts donw ...

---------- Post added at 11:54 AM ---------- Previous post was at 11:52 AM ----------

i have two systems i read many people talking about extended partition ans such stuff will be possible this to be the problem ?
[Mi 3 Android Development] hansel0517:
it's working on Mokee ROM 10/11 update. flashed it through CWM.

great job [MENTION=5579787]vasishath[/MENTION]