yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] vishal thakar:
Sir i m also using miui pro rom.

I will provide dmesg.

Thank you for your response.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] saikiranadki:
This kernel work on miui latest developer rom

Can this work on developer rom..
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] spanshbob:
I opened the settings function of the awakening of the double tap is it possible your kernel to send her so as not to use m tweaks

https://cloud.mail.ru/public/FEpV/MkBEhhBHe

https://cloud.mail.ru/public/GmJW/NjCZnfMPM
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Devhost97:
On my QC Charger it take only 1,5A via 5V :( I will send you dmesg in PM.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rainforce279:
i'll working on this problem.

Thanks for your reports.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] priantomo:
Nice to know you still care for us hehe
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Phuclun510:
He is always care of the users
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] EnerJon:
Using oreo kernel v2.6 with NOS Oreo 25 feb build... Charging current reaches approx 1750mA, working nicely here, Thanks... Previously, i was also facing this slow charging (max 1.4A) prob in custom kernels except SimpleKernel by luizpaulo, but now i am able to reach 1.75A in clarity too... The only minor issue left is little cores always online. Perhaps something like AutoSMP could solve this always online cores issue?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] downloadonlyaccount:
Really nice kernel with great battery life.

Using vers. 2.6 on AOSP Extended, got 75% left after aprox. 24 hours. I must admit I'm definitely not a "power user", but nevertheless great values (also not using any special kernel function, just flashed it and that's it).
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] #Aditya negi:
What is the best CPU and GPU setting for gaming

Please tell

Thanks .
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] kda2495:
[MENTION=5250109]rainforce279[/MENTION]

So... Why don't you add Adreno Iddler? Any reasons?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rainforce279:
then so its really necessary for all ?

look at previous posts, almost users got slow charging, mate.

now i'm working for it, because Xia*mi limiting us.

slow charging happen on miui dev 9 8.3.15 with stock kernel too.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] vishal thakar:
dmesg

Dear sir,

I attached file dmesg.txt

I hope it will help for you
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Cryslin111:
@ rainforce279,

great work on this kernel.., could you check on the gps performance. Testing GPS using "GPS test plus" app and in clear open sky

- clarity is slower to 3D fix and accuracy is 25meters-40meters

- rom base on released kernel is fast to 3D fix and accuracy is 3m-4m (rom like AospExtended-v5.3-santoni-20180314-1419-UNOFFICIAL)

both kernel lock the same number of gps satellites 14+, and you can see the accuracy difference when driving in big city using gps with Waze, Google maps, Papago, etc

---------- Post added at 02:32 AM ---------- Previous post was at 02:19 AM ----------

So thats why the QC 3.0 mod file flashing no longer works on roms now. I have a few QC 3.0 chargers and had been flashing the mod + modify the max current to 2.5Amp and it had always worked before on RR, AospExtended....but dont work on the latest rom updates.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Kecoe:
Im having troubles using oreo roms. I was using 4.6 aosex too I loved it. Do you think its better to go back to nougat firmware?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Phuclun510:
I use the Sthermal zip and charging very fast on clarity 2.6
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Kecoe:
Could you help me where could I learn "tweaking"?:). Are you using the kernel aduitor for it?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Siemessi:
Where is that zip?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] kda2495:
[MENTION=6900309]Kecoe[/MENTION]

In my opinion, nougat is more stable. No, I'm using scripts, no need for kernel adiutor.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Cryslin111:
where to download that sthermal ?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Vellman:
which governon is better on this core in terms of energy savings. I do not play games
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] priantomo:
https://xdaforums.com/xiaomi-redmi-4x/themes/mod-superthermal-fastcharge-t3688600

---------- Post added at 06:41 AM ---------- Previous post was at 06:41 AM ----------

https://xdaforums.com/xiaomi-redmi-4x/themes/mod-superthermal-fastcharge-t3688600
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Phuclun510:
Tks
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Siemessi:
Try alucard + zen io sched.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Kecoe:
Could you help me with that? Pleaseee. (Dont say google it bro:D ) I really need some help
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] kda2495:
[MENTION=5250109]rainforce279[/MENTION]

Can you overclock RAM speed? Like in snapdragon 430 - 933 mhz. Our 435 has 800 mhz.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] himfa71:
Please make one with underclock and undervolt
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] carlsmad:
Hopefully DT2W will be enabled by default so that we dont need to use apps like kernel adiutor.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rainforce279:
santoni have a much dev which working for Oreo just be patient, they will fix it.

i'm just trying to support MIUI first.

possible with underclock but undervolt i'm doubt with it, santoni using fixed regulator voltage.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rainforce279:
then enable it from Kernel Adiutor in section "Wake".
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] faztmob:
How to fix wifi?

Non oc aosp based
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] carlsmad:
Hopefully it will be enabled by default.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] vishalpal555@gmail.com:
Oh my god.... Great dev..... Really appreciate ur work.... I used oc kernel too... Its god damn fast but I will keep 1.4 only.... Its enough for me...

Can u add 120 fps at 720p

Can I use my brothers moto charger that has quick charge 3

After seeing this kernel.... I believe there is nothing impossible for programmers like u..... Great work buddy.... :good:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] AJAY909091:
Great wrok bro.

Anyone wants to join Telegram Discussion group of Redmi 4 t.me/Redmi4santoni
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rkdok23:
This version of kernel is not for oreo roms . For custom kernel for oreo roms check Beatrix kernel thread . Dev has created Beatrix kernel for oreo roms .
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rkdok23:
Thanks dev for this awsm kernel . Wifi is working fine . No bugs encountered till now . Fast Charging is superb . 20 % to 80 % in an hour . Cpu governor - alucard . And rest all are in default settings . Looking forward for more amazing kernels .
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] hiemz:
bangga ada devloper orang indonesia, terus berkarya kawan :)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] joshi31036:
Same Here, im also on aosp and No WiFi, Firmware v027 is installed.

Great Job :)

Gesendet von meinem Redmi 4X mit Tapatalk
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] moonchild:
For me too. I'm in aex official latest build.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] AdulRk:
[MENTION=5250109]rainforce279[/MENTION] I think you need to solve this 2nd problem, the wifi is not working and maybe while charging but only up to 98% I have not tested it full but most custom kernels have that problem
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] AzizbekN1:
How can I disable fast charge ?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] boom1982:
wi-fi does not work

aex, firmware v27
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] moonchild:
Same here. And battery issue too. It stucks at 92%. :(
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] natheux:
If you want your WiFi works, send logcat or anything that can permit to the dev to solve the WiFi issue
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Ramakrishnan ?:
[MENTION=5250109]rainforce279[/MENTION] . . I am on latest v27 firmaware flashed the latest build with crdroid hotspot working but wifi not working plzz fix and update the links bro tnx (I am tried wifi driver not working)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] edall:
On big and little governors both alucard on kernel adiutor?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Siemessi:
Yes
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Siemessi:
Can somebody please post the default parameters on this?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] saikumar parate:
This is One.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] szafa:
[IMG="bench"]https://s9.postimg.org/bmsn0p367/Screenshot_2018-03-24-13-42-02-946_com.antutu.ABench_Mark.png[/IMG] [IMG="set"]https://s9.postimg.org/5luy3mo9r/Screenshot_2018-03-24-15-03-56-111_com.android.settings.png[/IMG]

The score on Antutu 7.0.6

4X is now fast, smooth and stable, but I wonder how much more we could speed him up :confused: other karnels have higher clocks on cpu/gpu like 1800Mhz and 635Mhz.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Phuclun510:
Then it wont be fast and stable, and it will be hot
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] criticallife:
Is this compatible for 8.1.x Redmi 4x[Santoni] AOSPExtended ?

---------- Post added at 05:40 AM ---------- Previous post was at 05:36 AM ----------

Before i install Clarity Kernel,How can i backup my stock Kernel ? for precaution in case something bad will happen

---------- Post added at 05:40 AM ---------- Previous post was at 05:40 AM ----------

Before i install Clarity Kernel,How can i backup my stock Kernel ? for precaution in case something bad will happen
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Siemessi:
Backup boot.img in twrp
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] criticallife:
I'm new to this kind of thing and i want ask for forgiveness for bugging you a lot lately ad :p :p how will you know the current firmware version of your phone and is there a problem if you don't meet the required version of the firmware ? and a what is the difference between ROM and firmware i'm quite confused by the term "ROM" and a "Firmware" . it would be a big help for me if i clarify this kind of things. :o:o:o:o:o:o:o
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Renaldi Ananda:
how to calibrate battery my dude
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] ecsvik:
how to use search engines? :)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Siemessi:
It seems android modding is too new for you. It is better to make research first before you do something.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Devhost97:
He does not have to be new because on other phones the baseband is not named as firmware. Baseband is baseband or modem in other phones.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] criticallife:
I have a firmware of v028 and i think the latest version is 32 am i right ? Can i directly update it to v032 even though my current version is v028 ?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] ecsvik:
It's already told, latest available (for non-technician users) firmware here on XDA for Redmi 4x santoni is the V034.

You can flash any firmwares designed for your device. You can upgrade it or even downgrade it. Even if you flash a buggy firmware, you can reflash it in recovery.

It's suggested to use the latest available firmware, because it might have better compatibility for the hardware to Android versions.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] harunrasyd:
My phone touchscreen is fine ok, but after 15 - 20 minutes error, Some of my screens do not work,Sometimes it does not work at all, It's hard to type, But after rebooting everything returns Normal
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] leodelacruz:
You can do easily with this app. Just appy and reboot

https://play.google.com/store/apps/details?id=bully.games.quicktuneup&hl=es_419
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rainforce279:
push update v2.7

Changelogs:

- Merge to stable mainline tag v3.18.102

- Added NTFS Filesystem

- Remove Xiaomi limitation on charging to optimized charging speed.

more changelogs see at https://xdaforums.com/showpost.php?p=74850240&postcount=3

Note:

- Quickcharge and Fastcharge is applied dynamical and not jump up to max miliAmpere , also the miliAmpere automatic changes by thermal mitigation to protect (usb circuit and battery) of your beloved phone.

- ExFat already added along time ago so NTFS just a new additional from this version.

- I'm so sorry mate's. Theres no more any asking or question "can you add overclock again ?" or something like that, i won't make any modification about frequency again.

Downloads

https://drive.google.com/open?id=1jSJJedwhr0_2cyftesxGR-M9UBLcshz7
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Cryslin111:
I'm using v2.6 can I flash v2.7 over it ?

Or need flash stock first?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rainforce279:
you need reflash stock kernel if you from other custom kernel.

if you never using custom kernel, then you can flash it directly to new version.

wipe dalvik/art cache is optional only too.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] vishalpal555@gmail.com:
can u add 60fps 1080p and 120 fps 720p
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] kda2495:
[MENTION=5250109]rainforce279[/MENTION]

Wow, good kernel! Fast charge works on AEX 4.6. But what about new features? Any plans?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] saikumar parate:
After updating to V2.7 MIUI, Fingerprint became little bit slower. I'm on miui am developer version.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mimka:
[MENTION=5250109]rainforce279[/MENTION]

best kernel. can you add spectrum suport?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] IconicRat:
The hardware(chipset) doesn't support this
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] bhavikjajal:
How much max amp you get ? I don't get more than 1600
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Siemessi:
So the cpu/gpu clock speed is the same as on 2.6?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] LuizHenrique91:
Yes
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Phuclun510:
Oh really ? Are you fpc or goodix
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prototype16:
Is anyone else also facing a weird problem of no alarm?

When you set an alarm for say 1hr+ and sleep...it doesn't ring and when you wake up, there's no notification of missed alarm or so.

This issue started from v2.5
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] spanshbob:
this is the problem not core .

this is a problem of the firmware
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rainforce279:
yeah, and if it can then we can overclocking screen size to 8" or more -_-

sorry theres no reason to adding it.

send dmesg and logcat.

my alarm working fine.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] saikumar parate:
FPC
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Renaldi Ananda:
what firmware that fix this problem then hm? which version?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] lejkabasz:
No problem here.

RR Luis with 2.6 Kernel/ V34 Baseband.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Renaldi Ananda:
charging stuck at 94%
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Phuclun510:
I'm on also fpc

Currently on v2.6, will try v2.7
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] vishalpal555@gmail.com:
1080p at 60fps working..... it also is not suppirted by hardware but tweaking did it.... even pure has 1.8 ghz of overclocking with 635 mhz true gpu clocking
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Devhost97:
[MENTION=5250109]rainforce279[/MENTION] I have good news for you !

From Clarity 2.7 on Miui.AM i have back QuickCharge working :) Thanks for fix :)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] harisrozak:
Hello,

I am on latest DotOs nougat rom and just installed this kernel. I want ro report an issue, my recent button now become an action to show app menu, instead of show recent/minimized applications list. I have set the DotOs buttons setting but its not working. Anyone can help?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Phuclun510:
I'm still having slow charging on miui v2.7, have to flash the sthermal zip to get fast charge
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] The Arrow:
Thread cleaned.

The XDA Ruleshttps://xdaforums.com/announcement.php?a=81 clearly state

All members are expected to read and adhere to the XDA rules.

Regards,

The Arrow.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prototype16:
I'll flash baseband v034 today and check alarm.

Else send you the logcat and dmesg.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] spanshbob:
this is a bug xiaomi and miui they are working on this read on official forum there are many who have such problems.this does not apply to the kernel theme
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prototype16:
So I think the problem was started when official code was merged into this kernel.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] harisrozak:
I have done this by manually edit General.kl, but still, the dotOs recent button menu setting cannot done this.

I will leave the manual way here if someone need this later

You have to be rooted and have a root file manager.*

- open the file manger and go to system

- then to usr

- then to keylayout

- now open the Generic.kl

- scroll down to key 139

- open as a text file

- change from "MENU" to "APP_SWTICH"

- no "" needed

- save the file and reboot
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Vyoman Jain:
Could someone please tell me this:

1. Do the kernel settings always reset to default after each reboot if 'apply on boot' option is NOT used.

2. Also if above statement is true then I will have to use 'apply on boot' option so that everytime I reboot , the kernel changes it's settings to the one that I have chosen?

3. Is there any other way also to keep kernel settings NOT to reset to default after each reboot?

4. Why does this happen?

I would be really grateful if anyone could help me with this. :)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] IconicRat:
Just wanted to confirm

Is the firmware from miui 8.3 v34 the latest or is it miui 9.2.5 v32_PA? cus I'm getting terrible battery life on v32_PA and was thinking of going to v34 if it'll help.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] LuizHenrique91:
1. Yes

2. Yes

3. I think you can add the commands that Kernel Adiutor executes in a script like init.rc (some ROMs always run this script on boot)

4. Because Kernel Adiutor doesn't make any change on kernel. It just executes some commands that apply the settings you choose, but that changes are only valid while the device is on. On every boot, the kernel starts with its default settings.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Vyoman Jain:
Thank you so much Mr. Henrique! I was really confused with this reset thing. You cleared this concept for me!:)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
V34 is latest
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] spanshbob:
Claritiy 2.7 good core thanks. miui 9 8.3.8 glob weekly
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] kennethstarr:
Does Overclock really work?

I got similar benchmark results with Miui stock kernel and Clarity 2.7 (or other former Clarity kernels)

I used PassMark PerformanceTest for testing.

Here are my results:

"https://yadi.sk/d/a1Tr_xqy3To3LU"

(Sorry, I'm a new user so I can't create link, or attach pictures)

Latest Xiaomi.eu MIUI9 ROM, Clarity 2.7 for Miui
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] ecsvik:
Thanks for sharing benchmark results!

You can try to do more test with Geekbench 4 or Antutu benchmark.

I personally prefer Geekbench 4.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Siemessi:
Is there a script or at least a way to make a script that will enable grayscale mode so that i can activate it whenever my battery is low? Thanks. :good:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Renaldi Ananda:
anyone facing slow charging?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Ilhamdi:
I upgrade from v2.4 to v2.7 aosp nougat kernel my battery present stuck, anyone got this issue? My rom RR-N-v5.8.5-20180107-santoni-Final.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] szafa:
stock vs Clarity 2.7

[IMG="stock"]https://s9.postimg.org/u4gyeaoan/Screenshot_2018-03-17-20-13-11-039_com.antutu.ABench_Mark.png[/IMG] [IMG="clarity"]https://s9.postimg.org/h0be1m3yn/Screenshot_2018-03-24-13-42-02-946_com.antutu.ABench_Mark.png[/IMG]
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sp0979:
Which is the best Kernel Adiutor Mod?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] kennethstarr:
Thanks for sharing!

Let's look at your CPU results:

28101/26568= 1.0577 -> ~6%

When big cluster goes from 1,4 to 1,57Ghz, and little from 1 to 1,2Ghz,

this ratio should be higher:

(1.57/1.4 + 1.2/1)/2 = 1,16 -> 16%

It is suspicious that overclocking of the little cluster doesn't work.

When big cluster goes from 1,4 to 1,57Ghz, and little cluster remains on 1GHz:

(1.57/1.4 + 1/1)/2 = 1,06 -> 6%

6%, like your result. My result was about 4-5%.

I don't know this is just a MIUI feature or exists at AOSP ROMs.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Vyoman Jain:
Could someone suggest me settings for the kernel for improving battery life and if possible reduce idle battery drain. I am having overnight drain of about 3-4% in 6-7hrs.

I am not a power user, I mainly browse web and watch YouTube.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
That much drain is acceptable
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Vyoman Jain:
I used to get 1% battery drain when on stock kernel with MIUI and that too only sometimes. Most of the time the drain was less than 1%.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] IM_s_0_n_a:
Restore stock Kernel flash clarity again and wipe dalvik and art cache ;)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Vyoman Jain:
That's a tedious process! But still thanks!
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] spanshbob:
again rolled back to 2.4 on older versions better autonomy
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] ecsvik:
IMHO, if you doesn't use a custom ROM, but stock MIUI, there's no reason to use any custom kernels in terms of battery save.

https://imgur.com/a/LhiwZ
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Vyoman Jain:
I use NOS.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] ecsvik:
I didn't find any custom kernels would do battery job better than MIUI's one.

But people probably hope higher performance from custom ROMs/Kernels, not longer battery life.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Vyoman Jain:
You are right.

Actually I don't like MIUI, and so changed to NOS. But it has high idle battery drain because of which I changed my kernel to Clarity.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] ecsvik:
I had no problem with MI UI itself, it's a very nice ROM. I abandoned her because of Xiaomi's excessive analytics and telemetry.

And because it's user interface isn't compatible with a lot of AOSP-friendly mods, Xposed modules etc.