yashsingh1/xdaforums huggingface dataset:
[Mi 3 Android Development] aKp1:
Working fine till now! It was super heating on charging. Double tap to wake is actually Triple Tap to wake.

After charging the phone is cool. No problems till now. No random reboots. Testing more.

Governor - elementalX

MaX freq - 1.7GHz

Didn't touch rest!

Latest Nitrogen OS
[Mi 3 Android Development] Last_SiN:
Switching on the phone with the alarm clock as it is on stock?
[Mi 3 Android Development] Arthur King:
Probably no
[Mi 3 Android Development] stratosk21:
So far everything is working quite well, hot plugs are working quite well also. I'll report anything if I see. Great work!
[Mi 3 Android Development] gungrave80:
how about the bluetooth streaming? is it finally full working without issues?
[Mi 3 Android Development] Arthur King:
So hotplugs working fine with this build?
[Mi 3 Android Development] travarilo:
it's working fine on my Mi4 LTE, don't know with others

it should be

it has been added on last version, but still need some feedback
[Mi 3 Android Development] Arthur King:
I can confirm that the hotplugs seems to be working fine now, and thats awesome! The thing about the BT i cant test it because im not on MIUI anymore
[Mi 3 Android Development] volcano719:
Has anyone having issues with deep sleep,putting my phone on 268Mhz ,ignores deep sleep
[Mi 3 Android Development] atomix18:
It gives me error 1 when i try to install both versions AOSP and MIUI on Aicp 12. Is this kernel only for Aosp and miui?
[Mi 3 Android Development] gungrave80:
thanks, bluetooth music streaming seems to work on my Mi4LTE! I have another question... what governor and scheduler do you suggest for battery saving? I'm using ondemand with SIO at moment

---------- Post added at 09:44 AM ---------- Previous post was at 09:41 AM ----------

Also on my Mi4 LTE putting the min freq @268mhz or [MENTION=1785406]300m[/MENTION]hz doesn't enable the deep sleep (as shown by EXKM), but in standy the phone seems to not consume much battery
[Mi 3 Android Development] stratosk21:
I'm having the same problems, switched back to stock kernel for now.
[Mi 3 Android Development] OutSideR_2k14:
I have no problems with this version, deep sleep is working fine, check my settings at previous page

http://www.tinypic.pl/5ajdkbq7n4q3

---------- Post added at 10:58 AM ---------- Previous post was at 10:34 AM ----------

Could U add InteractiveX governor ?
[Mi 3 Android Development] gungrave80:
could you please write the settings to be put in EX Kernel Manager? I can't paste your settings in the system file...
[Mi 3 Android Development] OutSideR_2k14:
I'm using Kernel Adiutor, but only to preview settings, why not ? Don't you have a root ?
[Mi 3 Android Development] gungrave80:
Yes, of course I've root, but I'm afraid to mess up the file
[Mi 3 Android Development] OutSideR_2k14:
this file is the same as init.d
[Mi 3 Android Development] stratosk21:
Yeah, my stats are like that also, but it hangs at the lowest frequency for too long, which makes my device warm and drains the battery when idle.

Battery drain when use also seems to be much higher compared to stock kernel, I have no idea why.
[Mi 3 Android Development] Arthur King:
All fine here, just 51 min screen on and still 95% right now im on global 8.2.1.0
[Mi 3 Android Development] stratosk21:
Hmm, maybe I'll need to try and switch to global Rom and try. Are you on globe Rom?
[Mi 3 Android Development] Arthur King:
Yeah, im on the latest Global Stable release (8.2.1.0)
[Mi 3 Android Development] stratosk21:
Nono I mean another rom, it was previously called sMIUI. You can find it at Mi-globe. Seems like you're not on it then. Nvm I'll give it a try.
[Mi 3 Android Development] Arthur King:
Oh, you mean the mi-Globe, well i used that one before but got some issues so i changed back to global stables
[Mi 3 Android Development] stratosk21:
Ah ok, I'm doing a clean install of the rom now with fastboot global stable rom, hopefully I'll get it working later.
[Mi 3 Android Development] gungrave80:
Ok, it seems to be clear:

- with xiaomi.eu rom last stable doesn't go in deep sleep (I tried it yesterday), bluetooth music streaming seems working

- with last cyanogenmod 13 snapshot deep sleep is working (I've installed it last night), I didn't try bluetooth music streaming yet

- according to Artur King experience, with global last stable rom deep sleep is working (Artur King, could you try if bluetooth music streaming is working, also after several hours without rebooting the phone?)
[Mi 3 Android Development] aKp1:
In NOS too, the phone doesn't go in deep sleep. It is up and showing 0s deep sleep.

Okay so after disabling hotplugging, it has started deep sleeping. I was using msm_mpdecision hotplug.
[Mi 3 Android Development] Arthur King:
I'll do it asap, btw im using lazyplug and that seems to be working fine. Just looked at it again to be sure and yeah, deep sleep working fine here, ill report about the bt later
[Mi 3 Android Development] stratosk21:
Seems like battery drains faster if I turn off the MIUI Optimization setting in developer options, I found a guide online that says it will be faster for multitasking but it does drain battery faster, but the memory optimization setting doesn't drain much, I'll let it run and see how it goes, and I'll give the kernel a try later for the the deep sleep test, hope it works on mine for clean flash, I don't wanna fastboot flash the stock rom all over again lol.

---------- Post added at 06:17 PM ---------- Previous post was at 05:48 PM ----------

I can also claim that xiaomi.eu rpm doesn't go into deep sleep with this kernel.
[Mi 3 Android Development] Arthur King:
I turn it off always the MIUI optimization, this time I did it as well and it's not draining battery here, so I don't think it's related to MIUI optimization.

Edit: Bluetooth working fine after like a 2 hours without restarting so seems to be working great now
[Mi 3 Android Development] OutSideR_2k14:
I can confirm that deep sleep is working fine on lastest xiaomi.eu rom (miuipolska.pl), BT is olso working fine

For me perfect kernel
[Mi 3 Android Development] stratosk21:
Weird, I'm still on stock kernel though, I'm kinda hesitating to flash again lol.

Edit, what's your average screen on time ?
[Mi 3 Android Development] iTudorS:
I'm using latest Lineage OS nightly, with this kernel the phone overheats A LOT while charging, and also while using it, its just crazy, the battery won't last a day, deep sleep seems to be working but overnight it still drains like 20% of the battery..
[Mi 3 Android Development] hari_hazz:
Using Arise sound mod?
[Mi 3 Android Development] iTudorS:
yes viper4arise
[Mi 3 Android Development] xdarkstar:
Well you found your problem
[Mi 3 Android Development] stratosk21:
I flashed the kernel yesterday on Global Stable 8.2.1.0, and I used EX Kernel Manager to check the battery drain. Normal usage with Facebook drains about 14-15% battery per hour. I flashed back to the stock kernel and only have about 8-9% battery drain per hour, same usage with both tests in terms of app usage. And overnight battery drain is also quite a lot, Yesterday I left my phone at 76% when I slept, today morning it was 70%. I'll test the overnight drain on the stock kernel and report back.
[Mi 3 Android Development] OutSideR_2k14:
Why didnt you use EX KM to tune up this kernel ? it has a lot of great options. I agree with you that default settings are not so good and battery is poor. I also recommend to use msm mpdecision hotplug - not qualcomms one
[Mi 3 Android Development] stratosk21:
I gave it another try, now I'm underclocking a lot to try extend battery life.

Edit: Alucard hotplug still has the problems as before, some cores don't wake up after going offline.
[Mi 3 Android Development] OutSideR_2k14:
underclocking ? what for ? it doesnt make any sense. Better try to configure available options
[Mi 3 Android Development] xdarkstar:
Underclock only means CPU now will spend more time finishing it's work than before. More or less same battery life better to tune governor tunable to your preferences best for this is interactive imo
[Mi 3 Android Development] stratosk21:
Would you mind sharing your settings?

---------- Post added at 02:20 PM ---------- Previous post was at 02:19 PM ----------

I'll try it out, any settings that you recommend?

Edit: Dig some digging online and found a good thread for interactive governor tuning, for those that want to give it a try its here https://xdaforums.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557
[Mi 3 Android Development] OutSideR_2k14:
f.e. on 29 page i wrote my personal settings, battery and performance is awesome
[Mi 3 Android Development] vedantpro:
I haven't seen any problems with this version of kernel except for phone heating while charging. I'm still rocking my old config and it's working pretty great.

As for the battery drain, I mean its only natural to have standby battery drain more than stock kernel because of dt2w feature. Entire screen is pretty much active all the time. I would say it is pretty good to have standby battery drain of less than 3% per hr but that is just me.

I'm getting around 1-2% per hr standby battery drain myself since the earlier versions of this kernel.

As for SOT, it's around 4 and a half to 6 hrs depending on usage.
[Mi 3 Android Development] stratosk21:
Alright I'll give it a try later, I'm currently using the settings that I have found on the thread that I linked above earlier.

Is there a version without dt2w? I don't need the feature, I found one on androidfilehost for version 4.2 but I think it broke the touch on the phone.
[Mi 3 Android Development] xdarkstar:
Those settings are for snap 808 every device, user differ I use that guide to tune my own configuration based on my personal usage
[Mi 3 Android Development] stratosk21:
There is a profile for most devices called GlassFish, been using that. Together with Naptime my idle drain has been around 0.9-1%, which is quite good, as I used to get no drain at all through the night.
[Mi 3 Android Development] hacker9001:
why not use l speed , it has build in gov tuner
[Mi 3 Android Development] hbbxmjbb:
My phone became too hot when I tested this kernel, and it seemed not to fit my phone.:(
[Mi 3 Android Development] :
Can somebody confirm that the personal hotspot is working or not on Mi4(LTE) 3/16 using MIUI multi latest dev?

It didn't work for me when I tried last time :)

Thanks!
[Mi 3 Android Development] Pallmalli:
Your settings are to be added to the file or do they need to override the old files?
[Mi 3 Android Development] OutSideR_2k14:
you need to add them to the file
[Mi 3 Android Development] azzurro82i:
for tethering wifi insert this string text in the build.prop under folder system

net.tethering.noprovisioning=true
[Mi 3 Android Development] :
Well.... Still not flash it.... It's kinda awful to run this command after every single dev. update.....
[Mi 3 Android Development] hbbxmjbb:
How can I make my CPU run at the highest frequency while itis at a very high temperature?
[Mi 3 Android Development] xdarkstar:
You don't want to do that.

But if you don't want your phone or just want to see your phone burn , I will tell you . Remember I cannot be held responsible for the consequences.

"Set your CPU governor to performance"
[Mi 3 Android Development] Arthur King:
Do you still have the txt of the profile? I was trying to download it but AFH says that there are no mirrors :C If you can share it will be nice

Edit: NVM, just found them and... They are not really good for our device.

I'll try to find a good setup for interactive since i think that is the most stable governor. If anyone have a good setup will be nice if you can share.
[Mi 3 Android Development] hbbxmjbb:
But when the temperature become high,the frequency must be down, however I set it.
[Mi 3 Android Development] xdarkstar:
Are you saying frequency is going Down in performance Governor or you want it to go down
[Mi 3 Android Development] hbbxmjbb:
The kernel control the frequency of CPU to reduce, because the CPU is hot.I don't want that because I want to play the games in the summer.
[Mi 3 Android Development] xdarkstar:
Lol bro OK . then check in KA thermal, I am not using this kernel at the moment , use temperature throttle and set accordingly . playing games doesn't necessarily need max freq . everyone would recommend not to do what you want to do. Interactive will set freq according to the load
[Mi 3 Android Development] hbbxmjbb:
But the games I play need high frequency to run.
[Mi 3 Android Development] xdarkstar:
Which games
[Mi 3 Android Development] hbbxmjbb:
Those games couldn't be downloaded from Play Store like WangZheRongYao, because they are all Chinese games.
[Mi 3 Android Development] xdarkstar:
I saw a video it does look like a heavy game but u should remember there is GPU so increasing CPU freq might not help much . try turning off multicore savings.

You might want asking ppl who play that game for help. I never heard of a game that requires the device to be at max freq . either that's one badly optimized game or you having a misconception
[Mi 3 Android Development] hbbxmjbb:
This game needs high frequency because there is a hidden pattern in it.Of course , GPU is also important.I will buy a better mobile to play the games.Thanks.
[Mi 3 Android Development] hexian000:
You should observe your CPU load. In MOST situations, interactive governor is right.

I tried to stop the thermal service for test, my MI4 will reboot at about 115℃. It's a hardware mechanism I think. You can build yourselves kernel and check.

I used to play WangZheRongYao. It's badly optimized. It's strange the game always requires latest device.
[Mi 3 Android Development] hbbxmjbb:
But it's a good game for most people.I know this CPU is easy to get hot,so I should let the frequency turn down.Thanks.
[Mi 3 Android Development] Arthur King:
Can you share your interactive setup? Im looking for an example for this device so i can find a good way to tune up for an every day usage
[Mi 3 Android Development] xdarkstar:
Right now I am using govtuner realized mine was not good enough yet and didn't have time to start again:laugh:
[Mi 3 Android Development] Ashish Banka:
Will this kernel solve Bluetooth issues on dirty unicorns 11.2??
[Mi 3 Android Development] hari_hazz:
Awesome battery backup and perfomance with the pair of DU 11.2(7.1.2 build) and redkancut 4.2 no dt2w version

Finally after a long gap i got 5hrs SOT

Thanks to the dev [MENTION=6331651]travarilo[/MENTION]
[Mi 3 Android Development] Ashish Banka:
Will it solve Bluetooth issues?
[Mi 3 Android Development] hari_hazz:
Sorry i didn't use any kind of bluetooth devices.,
[Mi 3 Android Development] travarilo:
DU has two builds, fsoci3ty version that based on LOS and 3xperimental version that based on CAF

Bluetooth is fine on ROM based on CAF
[Mi 3 Android Development] Anarchy16:
last update compatible with latest NOS ?
[Mi 3 Android Development] coolfire92:
Getting random reboots when using elementalx governor on AICP.Will try getting a log when it happens.
[Mi 3 Android Development] ZZhao0809:
Why not add AUTO SMP （like ues in redk3.2）again？ Lazy or alucard Hotplig isn't power save as it. In some station alucard gov+alucard hotplug will keep in 1036MHz or higher even don't touch the screen and have killed all App in background. Other Hotplug some time wouldn't close Core2 or3 This is both test in no background station:) Yes Auto SMP some time only open 2or3 core can't open more but as a mild uesr. It is enough.Of course If you can add it again and Fix this little problem is better:good:.Oh an important question,this kernel can supprot F2FS or not:)Thanks!:good:
[Mi 3 Android Development] OutSideR_2k14:
And please dev add interactiveX governor
[Mi 3 Android Development] Ashish Banka:
Can you provide the link please??
[Mi 3 Android Development] Psychotic丶:
Please add OC，Thanks。I built a OC version but flash MIUI and kernel WIFI cannot be opened，flash RR 5.8.3 and kernel stuck bootanimation。
[Mi 3 Android Development] travarilo:
redkancut kernel v5

Update 04-May-17

- Some kernel cleanup

- Fix fast charging

- Remove crazyactive and bioshock cpu governor and add interactiveX

- Remove lazyplug and add AutoSMP

- Some improvement feel it yourselves

- For reminder s2w version comes with sweep2wake on boot with sweep up or sweep right as default gesture

Download here

For mi3 user who want to use s2w version grab it here
[Mi 3 Android Development] reality1234:
Will it break OSS camera recording?Can anybody confirm?
[Mi 3 Android Development] travarilo:
it shouldn't
[Mi 3 Android Development] DarknessFalls:
Does it works on LOS based roms?
[Mi 3 Android Development] Dashur7:
Yes.
[Mi 3 Android Development] DarknessFalls:
Good, thanks
[Mi 3 Android Development] matiamb:
I get random reboots and a bootloop when it happends on stock miui, i have to enter recovery and clean cache to make it boot again. Any sugestions?
[Mi 3 Android Development] travarilo:
What kernel version, rom, and device you use?
[Mi 3 Android Development] matiamb:
I was using the v4 dt2w version on a MI4 running MIUI 8.2 STABLE. I have just installed the v5 version and all good for now.
[Mi 3 Android Development] DarknessFalls:
After installing This kernel (V5), rom doesnt boot up.

AICP 7.1.1

MI4LTE
[Mi 3 Android Development] wibowoevnu:
Does it works on caf build 29/04 rom?
[Mi 3 Android Development] HarryMorgan:
Multitasking is terrible on Miui 7.4.27 EU rom- Mi 4LTE. Do you suggest any adjustment?
[Mi 3 Android Development] Iceman:
I would like to share some of the experience and battery backup for latest redkancut v5, I only change to interactiveX governor.. The rest all are default setting of latest redkancut v5. I also use AICP 12.1 Nougat. after flush phone in idle status:laugh: show time.......:D
[Mi 3 Android Development] thinhx2:
you can edit driver d2w for android same d2w for sailfish os of mi3?
[Mi 3 Android Development] hari_hazz:
Thanks for your work bro....,even with last fix build touch screen dead problem exist

im using Beanstalk 7.1(4th nov build and 7th nov build)

in MI3W device
[Mi 3 Android Development] ghanipradita:
Mantap broo.

Some people like me addicted on battery life, so for me Underclock is a "must have" feature :D
[Mi 3 Android Development] :
Bugs appeared again but no last_kmsg. What do you need?

Firstly, Facebook and messenger closing, reboot won't work. Then wipe dalvik&cache and bootloop. Only reflash is the solution.
[Mi 3 Android Development] reality1234:
Same issue..is this bcoz of kernel?..I thought app was the problem :(
[Mi 3 Android Development] :
Something with the Memory management...
[Mi 3 Android Development] xSmart007x:
which one got the s2w?
[Mi 3 Android Development] harris123424:
Please try to support it for MIUI. Do not give up <3
[Mi 3 Android Development] 24likan:
Thank you. So much bro... But request you to release a kiui version also
[Mi 3 Android Development] Pandotaz:
Does it have pixel accent color?
[Mi 3 Android Development] vishal1404:
Dude its a kernel not a ROM...
[Mi 3 Android Development] travarilo:
Update 17-Nov-2016

UPDATE !!!

Whether you like it or not, I did this update :p

- Kernel re-version

- Upstream update from cm

- Fixed for FB and messenger force closed

- Say goodbye to smartmax_eps CPU governor and welcome Dancedance, Lionheart, Yankactive, and Bioshock

- Remove MSM_Hotplug, stay with Intelliplug and Alucard Hotplug

- Little bit optimization

- Support MIUI since I came from [MENTION=5579787]vasishath[/MENTION]'s kernel source for MIUI version, thanks to him

Note : dt2w version is still not working well on MI3W :(

Download : herehttps://www.androidfilehost.com/?w=files&flid=121991
[Mi 3 Android Development] Anarchy16:
thanks :good:
[Mi 3 Android Development] harris123424:
oh my god !! Thanks!
[Mi 3 Android Development] tjahjo.djoko:
Good job om, downloaded and applied
[Mi 3 Android Development] travarilo:
Little update for non-miui version because there is some missing :eek:

Download
[Mi 3 Android Development] hari_hazz:
for 17th build you said ther is a something not well in Dt2W version with Mi3W

what about 18th build for Mi3W???
[Mi 3 Android Development] luxim:
Nice work! My mi3 works much better than with the standard CM14.1 kernel. It stays very cool, also.
[Mi 3 Android Development] tjahjo.djoko:
Thanks, download again although the 1711 version was really good
[Mi 3 Android Development] harris123424:
I flash the kernel. My phone boots but the screen doesnt work not even the power button. MIUI d2w version.
[Mi 3 Android Development] travarilo:
try to wipe cache and dalvik-cache, or maybe you can adjust kernel with kernel adiutor..

running well on my side..
[Mi 3 Android Development] Arthur King:
I just noticed that there is no more chance to undervolt on MIUI kernel, i hope you can bring back this option. It was usefull for the strange overheat on MIUI
[Mi 3 Android Development] id74em8:
Frequent reboots whenever device load gets high. Problem exists only on InteractiveX.

Can someone confirm?

EDIT- NVM Figured it out.
[Mi 3 Android Development] hari_hazz:
Am not able to figure out.,im using with it for quite few days this one was amazing standard.,for your concern i have tried interactivex gov with an hour of usage seems to be stable.,

I would suggest you to clean flash rom on kernal might useful.,

In all the aspect its one of a pretty good kernal from usage on my side.,

1.Have around min 4.30hrs batterybackup

2.Can charge the device from 5-85% in about 1hr 30mins.,next 15%takes about 45mins

3.no laggy[nice perfomance]im using it with interactive gov and mpdecison hotplug(default one)

I have tried this rom with XOSP,DU,Hexogan,RR,Citrus-caf

Working fine without any issue

Thanks to dev [MENTION=6331651]travarilo[/MENTION] for his involvement
[Mi 3 Android Development] travarilo:
If you don't mind, please give me a log..
[Mi 3 Android Development] id74em8:
I will be doing a clean flash of ROM and kernel tonight.

If I face the same issues on interactiveX, I will provide the logs.
[Mi 3 Android Development] id74em8:
logs from last night. Random reboot.

Do I need to provide the logcat?

Logs may indicate this is a thermal issue, but stats never showed my CPU going above 70 degrees, and thermal control is set at 90 degrees.
[Mi 3 Android Development] put3aditya:
for rom mokee 6.0.1 too hot :(
[Mi 3 Android Development] travarilo:
redkancut-v6

Update 20-May-17

* Upstream updates from LaOS

* Added some little optimization

* Bring back CPU Voltage Control [MENTION=4566075]Arthur King[/MENTION]

* Using intellithermal as thermal driver (hope it can solve heat problem on some device)

Grab it here

S2w version for mi3 user download here
[Mi 3 Android Development] HarryMorgan:
I did what you'd said but multitasking is still poor with v6. In kernel adiutor I have tried both light and agressive options but I feel as it's even worse. BTW thank you for good work bro.
[Mi 3 Android Development] Arthur King:
Look for "Memory Optimization" on the Developer Settings, you have to turn it off
[Mi 3 Android Development] lazye53:
In Miui version there is a lot of battery consumption with Redkancut kernel. Could you do something for that?

Otg-Ntfs_Rw not working ...

It's really fast.

Thank you for your work :)
[Mi 3 Android Development] HarryMorgan:
Unfortunately same :(
[Mi 3 Android Development] hari_hazz:
Reason is Max frequency locked at 1190Mhz ...,if you try changing gov/hotplug or even change manually frequency but after quite sometime it's back to 1190 as Max frequency (this is default with miui default kernal,redkancut)in my usage
[Mi 3 Android Development] Arthur King:
That is because of the overheating, so, to try to get even more overheating the system locks the max freq to 1190, i think its related to the thermal stuffs on MIUI. The multitasking may be related to the memory optimization, the miui "battery saver" or the low memory killer, if you change these 3 things you can get better multitasking.
[Mi 3 Android Development] hari_hazz:
No it's not.,the phone stayes always below 40°c no overheating issue using MIUI
[Mi 3 Android Development] Arthur King:
It is, you need to see the CPU temp, not the battery temp.
[Mi 3 Android Development] hari_hazz:
Which is also under 50°c while under light usage