yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 4i] haikalizz:
Here yo go, a new update after so long...

https://www.androidfilehost.com/?fid=24533100289590839
[Xiaomi Mi 4i] raymond_bqg:
Thank u for replying......
[Xiaomi Mi 4i] mclarenmercedes:
Im on CM13 using TWRP recovery. Can I install this kernel??
[Xiaomi Mi 4i] haikalizz:
Short answer, yes.
[Xiaomi Mi 4i] sonalsaha:
Copying and pasting the terminal command turns on the double tap to wake, but do after every reboot it's turned off again.
[Xiaomi Mi 4i] Devoct:
yes, just create an init.d script.
[Xiaomi Mi 4i] raymond_bqg:
Tested the kernel.But in about device in setting the kernels name is showing unavailable. Also I m missing one governed.
[Xiaomi Mi 4i] :
Amazing performance with great battery life

(My setup slimbit + sensi)
[Xiaomi Mi 4i] Devoct:
anybody use this kernel with CM13(fire855)?

just realized after flashed this kernel i cannot play videos, stock gallery, in MX player works using SW decoder, if i use HW, it's the same as stock gallery.

seek bar and audio are playing, but the picture just froze.

with stock kernel works fine.

any clue? [MENTION=6858217]haikalizz[/MENTION]
[Xiaomi Mi 4i] dheebu:
Yes, I have the same issue with fire + this kernel.

Its actually not limited to fire855 ROM as I have seen this with RR (CM13) as well. I had wrongly reported it in the RR thread and failed to update it here as I hadn't captured the logcat logs.
[Xiaomi Mi 4i] nightwalkerx22:
Yes but still using the kernel just to put the thermal limit.
[Xiaomi Mi 4i] haikalizz:
I can't confirm this though, video playback works fine on MIUI and latest RR except for Youtube where you cant play in 1080p60... but might be something major while in the process of upgrading to the latest kernel version. I'll check it out soon, working on a Redmi3 version of this...
[Xiaomi Mi 4i] Devoct:
hmm, interesting haikalizz said it works fine on RR, never tried RR myself though.

are you also facing the issue i mentioned above?

hey, thanks for your reply.

it seems it can play some videos, but some can't.

videos recorded from Snap Camera can't be played.

but short videos i downloaded can be played, strange.. :confused:
[Xiaomi Mi 4i] haikalizz:
Could be encoding problems?
[Xiaomi Mi 4i] nightwalkerx22:
Only when I'm using your kernel I get error on playing videos on HW+ decoder.
[Xiaomi Mi 4i] dheebu:
I think it would be that the Hw decoders arent being used. Gallery might be falling back to Sw decode of video which might be causing the stuttering / freezing (CPU decode). This would line up with the observation that MX player does not play back with Hw / HW+ decoders after installing this kernel. MX will however playback with the Sw decoders.

Ill install the kernel and pull up logcat logs for you.
[Xiaomi Mi 4i] Devoct:
but like i said, only happen when i use your kernel.

stock CM13 kernel works fine, same applications, same settings, same video.
[Xiaomi Mi 4i] dheebu:
I have collected the logcats with the stock kernel and with the Sensei kernel. App used for video playback is MX.

With the Sensei kernel I have played back using both the Hw and Sw decoders, HW+ when selected with Sensei kernel reports as not being available.

With Stock Kernel, I have played back the same video with the Hw+ setting
[Xiaomi Mi 4i] SEMCXperiaArcS:
Using Mi4i with Mokee 5.1.1 Latest Version based on cm12.1. Flashed Sensei Kernel and the LiveDisplay(Automatic) stopped working. You can either set it to day or night option but automatic detection doesn't work. I am positive it was working earlier.
[Xiaomi Mi 4i] raymond_bqg:
Flashed the kernel but can not find elemenatlx governor........
[Xiaomi Mi 4i] Sörnäinen:
Oh. Does that mean the versions in post 3 aren't the latest?
[Xiaomi Mi 4i] Bastiary:
Ya, that's the latest one. He forgot to edit the post?
[Xiaomi Mi 4i] Sörnäinen:
Downloaded the right one now. :)

But I can confirm the video play issues on CM13.
[Xiaomi Mi 4i] itsm03:
superb great kernel mod
[Xiaomi Mi 4i] candiesdoodle:
Hey.. the 1 sep build (1.1-Uber) shows only 1.2 mb. couldnt flash it.

anything updated coming up?
[Xiaomi Mi 4i] haikalizz:
well, the source on my PC is gone... need to resync, then update a few of the source. And it seems that the UBER build source is broken. Also I'm searching for the source of heating...

It heats up when even not using it...
[Xiaomi Mi 4i] candiesdoodle:
Actually, the kernel is giving pretty good results on my phone. With yankactive, min/ max at 200/1651 for big and 200/1133 for LITTLE cores; and Auto-SMP enabled; and noop I/o with 1024 kb read ahead.

overnight, lost only 2% battery. thats impressive to me.

Performance is also good, havent noticed any major heating.
[Xiaomi Mi 4i] PavelPerm:
Guys(devs), look at this post http://xdaforums.com/showpost.php?p=62722124&postcount=84. I think it's important. Moving from 400 to 200 actually eat. and at this moment all jerks.
[Xiaomi Mi 4i] candiesdoodle:
link doesnt work
[Xiaomi Mi 4i] PavelPerm:
http://xdaforums.com/showpost.php?p=62722124&postcount=84
[Xiaomi Mi 4i] davtse:
TBH I dont think it is an issue. it was like this for my samsung i9300 and i9505. the GPU idles at a higher/mid freq rather than at the lowest freq.
[Xiaomi Mi 4i] davtse:
Changed the hotplug up and down settings for autosmp, using smartmax, enabled bam dmux adaptive timer, have about 50% battery left and about 3 hours screen on. This is all on 3g.
[Xiaomi Mi 4i] haikalizz:
50% battery used on 3 hours of screen time? If only Xiaomi were to release the new kernel sources, I can atleast use some of the code to fasten up the kernel and battery... Right now updating to latest linux kernel version.
[Xiaomi Mi 4i] davtse:
50% on 17hrs standby and 3 hours screen on. I suspect that if autosmp could work using the little cores first before the big cores, the battery to screen on/standby ratio might be much better too.

sent you a little something btw.

[MENTION=6858217]haikalizz[/MENTION] , the power suspend mode can't be changed with v1.1. its stuck on LCD panel. 1.0.5 allowed us to change to hybrid or auto as well. was this change intended?
[Xiaomi Mi 4i] haikalizz:
the change was made because I wanted to test out dt2w, I will revert back the changes. I did found a hotplug made for the Yureka but won't boot when flashed...
[Xiaomi Mi 4i] davtse:
did you try using zzmoove with all the options to see if it can take over the hotplugging system? (iirc that was the whole purpose for zzmoove)
[Xiaomi Mi 4i] haikalizz:
haven't tried that and thanks.. saw what you gave :D
[Xiaomi Mi 4i] reza36:
[MENTION=6858217]haikalizz[/MENTION] thanks for your creation of this kernel im using this kernel on rom resurection and is work well with (balanced setting in page 1 "yankactive, autosmp) but when im using interactive at big cluster and little cluster cpu is always max frequency if im check at cpu usage it reveal "hwnrg" process that makes cpu always max frequency... when im turn back into yankactive at both device it look normaly again no "hwnrg" process and cpu can minimum frequency.. can you exlpain why dude? thanks hehe
[Xiaomi Mi 4i] haikalizz:
It's a hardware random number generator... Dont know why the process is on but don't use the interactive governor for now. Use other governors like yankactive... I will do more research on hw rng...
[Xiaomi Mi 4i] davtse:
Any chance we could get a little taste of zzmoove? :P
[Xiaomi Mi 4i] haahaaah:
This kernel don't work on this rom http://aospal.com/roms/ferrari/
[Xiaomi Mi 4i] haikalizz:
Rom is built with different sources, try using the AOSPL build by [MENTION=4761533]fire855[/MENTION]. [MENTION=1334304]davste[/MENTION] yes you can... Let me test out the latest build first then confirm it's working...
[Xiaomi Mi 4i] ashishchandra:
Please check the upload for the latest kernel, it doesn't seems to be a kernel zip.
[Xiaomi Mi 4i] haikalizz:
Yeah kinda busy with the Oneplus3 version and the Redmi3 version of the kernel...
[Xiaomi Mi 4i] Sörnäinen:
Your kernel is luxury, not necessity. :)

No rush, I'm thankful for the work you're doing.
[Xiaomi Mi 4i] pl4yeR:
I can confirm too the problem with 1080p video playback.

Amazing work!! Thank you very much!!
[Xiaomi Mi 4i] haikalizz:
Deciding to bring a new version soon with some better optimizations. I'll see what features I can push into the kernel...
[Xiaomi Mi 4i] karavai.av:
Thank you. A lot of problems were fixed with your kernel.
[Xiaomi Mi 4i] xemisxu:
What it is look really wanted ...

:o
[Xiaomi Mi 4i] 0967894983:
Hi all

I need file init.d for S2W,please share. Thanks
[Xiaomi Mi 4i] SEMCXperiaArcS:
Bro after flashing this kernel on cm13 roms and also Mokee 5.1.1, the Live Display is broken. The Automatic function doesn't work.
[Xiaomi Mi 4i] suku_patel_22:
Trying to increase speaker gain in kernel auditor causes the phone to hang.
[Xiaomi Mi 4i] haikalizz:
New update as promised. Brought back ElementalX and Yankactive including some new tweaks and optimizations. https://www.androidfilehost.com/?fid=24572369242687266
[Xiaomi Mi 4i] nightwalkerx22:
You're amazing! Thank you so much.
[Xiaomi Mi 4i] Nihhaar:
Is there any preferred settings for increasing browsing speed. I am using chrome. In the previous version, there is lag in browsing.So, I switched to performance settings.

Thanks for any help.
[Xiaomi Mi 4i] faizauthar12:
anyway haikalizz

i have a question ..,u delete some files at system folder

delete("/system/vendor/lib/hw/power.msm8916.so");
delete("/system/vendor/lib64/hw/power.msm8916.so");

it's made dt2w at MM gone .-.

and seems that's made live display borken too
[Xiaomi Mi 4i] haikalizz:
Really? I thought those files doesn't have anything to do with dt2w.

Have you tried Chrome Dev? But Chrome does have some memory issues as far as I know...

No problem :)
[Xiaomi Mi 4i] faizauthar12:
yes,it;s made a problem

i realize that when user switch to my kernel

i check it out,you delete some files at file system .-.

and yosh, that's the effect

thanks me later :D
[Xiaomi Mi 4i] Devoct:
the best kernel just got better.

thanks a lot, man! :highfive:
[Xiaomi Mi 4i] Nihhaar:
Thank you for this kernel. I will use chrome dev from now
[Xiaomi Mi 4i] xemisxu:
1080p video playback fixed?
[Xiaomi Mi 4i] haikalizz:
You can try, right now no problems with Youtube running latest Miui global dev...
[Xiaomi Mi 4i] Devoct:
sadly, it's still the same as previous version, playing 1080p on stock CM13's gallery doesn't work.

however it's easily fixable, just use 3rd party video player, like MX Player.
[Xiaomi Mi 4i] haikalizz:
Added new build: https://www.androidfilehost.com/?fid=24572369242687284

As usual, changelog is in #3 post.
[Xiaomi Mi 4i] xemisxu:
I not just installed a version and another appears ! Nice!!

:o:o
[Xiaomi Mi 4i] Devoct:
ThunderPlug seems broken.

because all cores all online and touch boost enabled, and the option to turn on ThunderPlug in Kernel Adiutor is gone.

can you confirm this? :confused:
[Xiaomi Mi 4i] faizauthar12:
No no. It's not broken

Thunder plug 5.0 doesn't had switcher

Enable per hotplug core so all cores will be managed by thunderplug
[Xiaomi Mi 4i] Devoct:
what do you mean?

i've turned off touch boost, cpu boost, i still get touch boost when i touch the screen doing nothing.

it behaves just like stock kernel, all cores are online, in previous version only 1 big and 1 little online when idle.
[Xiaomi Mi 4i] faizauthar12:
Well ,then it's comes from the source

Let me make t clear...

U said the turn on at kernel auditor gone

That's it the switcher,it's gone at thunderplug 5.0
[Xiaomi Mi 4i] xemisxu:
After installing the latest version in the rom XOSP I have obtained a SOD, not could change the minimum frequency of the cores that remained in 990Mhz...
[Xiaomi Mi 4i] pl4yeR:
I confirm this. Kernel adiutor show all cores enabled all the time.. is this intended? Maybe they go off when screen off?
[Xiaomi Mi 4i] haikalizz:
I'll just check with the code later. But I think thats how Thunderplug works, when screen off, the core goes offline. There's a bit of delay making sure that the phone has enough cores when you turn back the screen on immediately after you turn it off..
[Xiaomi Mi 4i] imagine92:
confirming get SOD too on cm12.1
[Xiaomi Mi 4i] Devoct:
go use this ThunderZap Control Link here.

you can control how ThunderPlug behaves, there are two styles now, Per-Core Hotplug(just like previous version), and Load Balancer, by default it's set to Load Balancer.

just switch to Per-Core Hotplug, and you will get the same behaviour as previous version. :fingers-crossed:

as for Touch Boost, if you are on CM13, i found it if you don't delete those two files /system/vendor/lib/hw/power.msm8916.so and /system/vendor/lib64/hw/power.msm8916.so, regardless you turn off or on touch boost in Kernel Adiutor, Touch Boost will always on.
[Xiaomi Mi 4i] haikalizz:
But then we have a problem with dt2w as said by [MENTION=5689422]faizauthar12[/MENTION] if we delete those files.
[Xiaomi Mi 4i] Devoct:
DT2W works fine need to enable it via your script after every boot though, it just doesn't work from Setting app.

Automatic LiveDisplay maybe broken, i don't use it, so i don't know, but manually switching to Day or Night, works fine.
[Xiaomi Mi 4i] haikalizz:
I'll see if I can find a method to make both work...
[Xiaomi Mi 4i] mclarenmercedes:
How to enable only fast charging?? I installed the kernel....what are the next steps??
[Xiaomi Mi 4i] haikalizz:
Sorry, I forgot to upload a new version with a newer implementation of fast charging. I've been testing this new one and saw around 5-10% increase in charging times through USB on computer but also an increase of 1-2 degress in temperature (Around the USB area, so you can guess why).

[LIST]
[*]Update fastcharge implementation
[*]Introduced Sioplus I/O Scheduler
[/LIST]

https://www.androidfilehost.com/?fid=24591023225177427
[Xiaomi Mi 4i] xemisxu:
How to disable cores?

They are all the time...
[Xiaomi Mi 4i] haikalizz:
Can I know your settings for the CPU? (Governors and such). Because a governor can make a lot of difference in core management.
[Xiaomi Mi 4i] Jade.a:
I had the same issue at initial but now everything working fine :D

try changing the CPU Governors as per Guide .
[Xiaomi Mi 4i] haikalizz:
Alright guys, I won't recommend using the MIUI fix on MIUI8 because it may cause partial data connection lost. Sometimes its there, sometimes it doesnt. Most of the time it's there...

I'll see what other bugs are there and update this post again
[Xiaomi Mi 4i] flammenwerferx:
great kernel bro, but sometimes i found my mi4i is turned off at the morning by the empty battery (it also happened last night, before i sleep the battery is 53% but early in the morning i found my phone is turned off), is there any problem with my device? or maybe i used some unofficial tweaks for mi4i?

or can you give me the setting of the Kernel Adiutor of your phone? Seems mine is randomly configured :p
[Xiaomi Mi 4i] haikalizz:
I need more info, what rom are you using? And what tweaks did you used? My settings are as in the #2 post..
[Xiaomi Mi 4i] flammenwerferx:
I'm using MIUI8 right now, I used PurePerformanceX + some portion of Crayon Tweaks.
[Xiaomi Mi 4i] haikalizz:
I'm guessing this is the MIUI fix zip file that needs to be flashed before flashing the kernel. It's based on MIUI6 and I think MIUI8 has some new modems/drivers included...
[Xiaomi Mi 4i] flammenwerferx:
can i flash the MIUI fix and change the NON-HLOS.bin with the MIUI8 NON-HLOS.bin?
[Xiaomi Mi 4i] bagindov:
Planning on new build [MENTION=6858217]haikalizz[/MENTION] ? :)

Also new fix for miui 8 user :)
[Xiaomi Mi 4i] deliverboy:
Stupid question but how do you uninstall this kernel?
[Xiaomi Mi 4i] ƒεηιx:
Flash the stock kernel img
[Xiaomi Mi 4i] haahaaah:
haikalizz

How to install your kernel on miui 8?!.
[Xiaomi Mi 4i] Nachtfalkeaw:
Hi,

I installe 2.3r3 (28-06-2016) sensei kernel. But since several older versions I have some strange issues.

I am using kernel adiutor.

1.) I can see that the minimum CPU frequenzy always is changing. I set it to 200MHz and it goes back to some higher speed like 800MHz or 9xx Mhz. It looks like it set the minimum speed to the speed the CPU has actually. So I don't know if it is just a visual problem or if it sets the speed to something other than I want. This is happening some time but not all times. Perhaps something changes when I reboot the system.

2.) I am missing a configuration option for the CPU Hotplug. In an older version - probably 2.2x I had the option to enable/disable "Thunderplug" but I think since 2.3 I cannot find this option anymore.

there is still the possibility to disable/enable MSM-Hotplug - but this option I am missing for 2.3r3 (28-06.2016).

3.) I am checking my CPU temperature here and there with the app "CPU-Z". This app regularily schows me temperatures much higher than 50°C even if I configured that 50°C schould be the temperatur to lower the CPU speed. I have only ONE option alone enabled. But I changed between all the three with all having the same "problem".

PS:

Running Pokemon GO for some time makes the phone hot as hell - stucking at around 60°C. I assumed/hoped that the temperature limit of 50°C kicks in and limits the temperature but it does not. But as described above it does not work for other apps/situations, too. So please don't focus on "Pokemon GO" app.

I would be interested in any kind of help or advice. Can provide more information if you need it and if you tell me how to do it.

Kind regards

Nachtfalke
[Xiaomi Mi 4i] nightwalkerx22:
I can confirm point 1 as the minimum cpu hardly gets touched, which worked fine on older versions. Maybe it's because of the updated kernel sources, I don't know, just a guess.
[Xiaomi Mi 4i] rendyrangers:
thx for develop this kernel, its good and work well for me
[Xiaomi Mi 4i] haikalizz:
Let me get this, on miui7 the freqs doesnt stick but on custom roms it sticks? Might be a permission problem or something. I'm not sure how though
[Xiaomi Mi 4i] rendyrangers:
everythings good, but why my clashroyale game, running little bit slow when battle
[Xiaomi Mi 4i] rasavez|KSK|:
awesome kernel,

thanks:)
[Xiaomi Mi 4i] Nachtfalkeaw:
Hi,

any news or at least a comment on these points? Further I want to add a fourth one:

4.) Smartphone sometimes suddenly does not load the phone when connected to AC power. Then the only way to get it loading again is to reboot the phone. Doing a "warm start" does not help.

Regards
[Xiaomi Mi 4i] haikalizz:
The problem with frequencies and settings not sticking in kernel adiutor or any other app is visible to MIUI roms, I can confirm it. I'm still finding the right custom rom to flash again while waiting for an official 6.0 update.

I'll look into the thunderplug setting as it might be an easy fix and as for the fourth one, I'm not understanding it right... Could you explain?
[Xiaomi Mi 4i] Nachtfalkeaw:
Hi,

thank you for your response. Can you explain with the frequencies again, please? Why did it work sometimes and in the past but not in the actual kernel?

To point 4.)

I have problems that the battery of my phone does not load. So I have to reboot the phone to get it working again.

Just doing a warm restart does not fix the problem I need to do a complete reboot.

Further question:

How can I reset the setting I made in kernel adiutor? I change everything and I am not sure if this is good and I don't know what the default values were. I cleared cache and data, rebootet but I am not sure if all settings were reset. Any suggestions?
[Xiaomi Mi 4i] illwhyrin:
HELP ME

hi im new here,

why my kernel is unavailable on about phone?

i use cm 13
[Xiaomi Mi 4i] haikalizz:
Its normal... Don't worry. Here's a tip, you can use the search function to find out your problem first before posting.
[Xiaomi Mi 4i] imagine92:
can't record video on any MM rom based on latest device tree

but this kernel solve many issue like low mic volume, lagging, stuttering and battery drain

(on my devices running AOSP-CAF)

hope you fix it soon hehe

here i attach some log (hope doing it right)

thx
[Xiaomi Mi 4i] robbayani:
i'm using latest Sensei Kernel on CM13.. then using Kernel Adiutor u set my CPU:

BIG = Max Freq: 1459MHz ; Min Freq: 200Mhz

Little = Max Freq: 800MHz ; Min Freq: 200MHz

and apply On Boot...

but after reboot my custom Freq became back to default again..

how to fix this?? is Freq locked by default??

im also using apps Kernel Tuner and Ex Kernel, but the result still same, always back to default again after reboot..
[Xiaomi Mi 4i] Nachtfalkeaw:
Having the same problem - at least for "big" CPUs. I then searched for something else to tune my kernel parameters and I found this one:

http://xdaforums.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549

Offers more options than the original "Kernel Adiutor". So I cleared cache and data of the original "Kernel Adiutor" and disabled this app. Then installed Kernel Adiutor Mod and configured it like I want.

So at least for little CPU I can get 200MHz/~900MHz working after reboot.

For Big I can see that the "minimum" frequency is changing here and then between 200MHz some other frequency. But monitoring the CPUs showed me that it seems to work with 200MHz as minimum.

Further there is a "MSM Limiter" which allows governour and several other things per core and not for the complete phone. But I had problems that when I pressed the power button to lock the phone I coul not get it awake. So perhaps this feature is not working with our MSM or it was something other.

So perhaps for the users having problems with the "original" kernel adiutor should have an look on the "Kernel Adiutor Mod" on the other thread. Looks like it is actively maintained but probably need input to improve it.

Regards

Nachtfalkeaw
[Xiaomi Mi 4i] robbayani:
thankz for the link.. i'm likely ever install this apps..

i will install and try it again..
[Xiaomi Mi 4i] mdfarazb2:
Hey Guyz!...I am now on Mokee 5.1.1 since yesterday... I'm facing one serious issue of very low lte signal strength... which was very good(full) in miui....Was facing tbis issue on RR 5.1.1. too..So if i use this kernel , will my problem be solved..?? TIA!!?
[Xiaomi Mi 4i] tej1697:
Is miui 8 patch for flashing this kernel be out in the coming days? I want to flash this kernel as it is a great kernel and as you said not to flash because of some modem additions by miui team, I'm not flashing this kernel! Thanks
[Xiaomi Mi 4i] Nachtfalkeaw:
Hi,

I want to add something to the not charging issue with Ressurrection Remix 5.7.2 and this sensei 2.3r3 kernel.

I noticed that when I did not use my phone several hours like in the night when I sleep that it does not charge the battery if I connect it to the power supply in the morning. So perhaps something related to "deep sleep"?

And it looks like it does not charge again if it was at 100%, then unloaded to lets say 45% and then I plug it into the power supply and it does not charge.

After rebooting the phone it is charging again.

PS:

I have "Fast Charge" enabled. Is there any possibility to add a function in the kernel to set the mAh the battery could charge? At the moment I only see that it is charging with 1500mAh. When charging it on the PC USB then it should not charge with more than 500mAh but when charging on an external power supply it probably could charge with higher values. So any possibility to add this to the kernel so that the user is able to set two values for USB charging and for external charging?

Regards

Nachtfalke
[Xiaomi Mi 4i] robbayani:
is Sensei v2.3r2(26/06/2016) still good for current CM13 version and next next version CM13??
[Xiaomi Mi 4i] haikalizz:
Should be. I've a few projects right now so starting this again by the end of the month...
[Xiaomi Mi 4i] imagine92:
A big YES!!! thanks for not abandon us :highfive: :D
[Xiaomi Mi 4i] robbayani:
ohhh.. okayy..

maybe every 3-4 month is enough for us to update the kernel.. hahaa..