yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] gogyly:
Yes, and it's good.

---------- Post added at 04:05 PM ---------- Previous post was at 04:01 PM ----------

Sir, you are the man. I nearly dropped Oreo because of battery backup and some glitches now and then and then I tried this kernel, and it's fantastic. I've missed 2t2w from my LG days, now I can have it. Great work!
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rainforce279:
Push update v2.1

Changelogs:

- Compiled with GCC 6.4.1 Cortex-a53 (thanks djb77)

- added Arch Power and Gentle fair sleep control

- Merge to linux 3.18.96

- Underclock GPU to 160, 100 MHz

- Overclock GPU to 500, 550 MHz

- Reduce delay wakeup on aosp nougat/oreo roms

- prima: merge caf tag LA.UM.6.6.r1-05700-89xx.0 (oreo)

- Fix tethering issue on MIUI

- improvement on cpu idle and deep sleep.

- add back CPU underclock frequencies.

- more changelogs Here

Note

- Recomended with Firmware v28 or later. (optional)

Downloads

https://drive.google.com/open?id=1jSJJedwhr0_2cyftesxGR-M9UBLcshz7

Thanks and have a nice day :o
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] IconicRat:
Thanks and hope YOU have a nice day
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] crasydawaki:
so far the best kernel for Nougat Roms. Keep up supporting Nougat for those still love 7.1.2 like me. Thanks :highfive:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] LonerDarke:
Really thank you for the update. I can't wait to give it a try. This is the best kernel for me too.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] alfianasmar:
Miui tethering issue fixed, yeah!
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] fuyanqi:
i had flashed v2.0 kernel on pixel experience official,android8.1.0 yesterday.Several minutes later i had flashed v2.1 kernel,not wipe anything,and the phone still show google logo,but not show homepage(desktop).i had try to reflash pe rom,then flash v2.1 kernel,but no use.So which step i did was wrong？????(P.S.:I'm from China,English is not good????)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] LonerDarke:
I'm using miui and so far so good. I only noticed one little thing, when I set underclock on the gpu seems like it doesn't take effect, but curiously in aida64 it looks like this. I had 2.0 before and I flashed directly 2.1, this would be a problem?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] bhavikjajal:
Works perfectly on Nos ?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Phuclun510:
Hey [MENTION=5250109]rainforce279[/MENTION]

Official source code for santoni has just been released

I wonder if yoy can make a version for MIUI with the new code and get rid of the fingerprint delay for fpc fingerprint scanner ?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] IconicRat:
The screen wake-up delay still exists with fp unlock

NOS 8.1 the delay is reduced but still exists, slower than aosp nougat
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rainforce279:
yes ofcourse, and maybe for oreo too ;)

the official source kernel has been released, there a chance to fix that on next version.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Phuclun510:
Thank you mate your effort is so great
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
Just hit the thanks button bro
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] FathanRidhwan:
hi.. im very new at kernel flashing.

my wifi doesnt work on RR-585 , firmware v27.

i've checked system/lib/modules, wlan.ko exist..

else is working fine
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] solim:
I think it is because of the governor msm-adreno-tz. Without adreno idler it idles at higher frequency. If you change governor to simple_ondemand, the gpu idle frequency will go down to the minimum.

[MENTION=5250109]rainforce279[/MENTION]

Could you implement a selection of the /sys/class/kgsl/kgsl-3d0/default_pwrlevel? It is usually in the middle and msm-adreno-tz takes this as idle and doesn't go below 300 and sth. MHz.

I changed the default_pwrlevel to minimum with init.d script emulation from KA. I made a userinit.sh script in data/local and entered:

#!/system/bin/sh

cat /sys/class/kgsl/kgsl-3d0/min_pwrlevel > /sys/class/kgsl/kgsl-3d0/default_pwrlevel

With this the msm-adreno-tz governor idles at lowest frequency.

Or maybe it would be better to implement the adreno idler?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] js.tan:
it worked, flashed it last night, but i didnt follow your step,

i just back up nandroid using twrp, and flash the zip. :victory:

thanks for the guide.

just noticed there's a new version, can i directly flash 2.1?

and greeting for op [MENTION=5250109]rainforce279[/MENTION], salam dari pekanbaru
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
[MENTION=5250109]rainforce279[/MENTION] as kernel sources are released can you make another bug freebuild. :)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rainforce279:
you can flash it directly.

greetings too mate, salam dari palembang :D

i've tried the official source tree on MIUI dev 8.2.1 base here and not stable also fingerprint won't work, idk whats going wrong. it seems like old branch Nougat not the latest from xiaomi, need some work to make it stable but sure i'll try ;)

edit: fingerprint work now.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] dedycx:
The official kernel source for Santoni has been released ?

https:// github. com/MiCode/Xiaomi_Kernel_OpenSource/tree/santoni-n-oss (Remove the spaces in github.)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] shohabmsk:
[MENTION=5250109]rainforce279[/MENTION]

Can you add qnovo charging technology and adreno idler?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] #Aditya negi:
Is v2.1 better than v2.0 ??
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] LonerDarke:
I think yes. I didn't find any problem yet, the battery it's still as good as before or even better because of the underclock. And performance it's really good too.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Voltsgerz:
After flash Clarity v2.1, IR not working on aex 4.6
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] shohabmsk:
It is also not working in RR nougat. Maybe nougat version of the kernel has problem.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] #Aditya negi:
Thanks:laugh:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] LonerDarke:
No problem! And on miui, ir blaster works fine.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] xzy99:
rainforce add qnovo
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] gogyly:
Hi mate, I have one problem, when I try to undervolt CPU, kernel adjutor crash, or lose that setting. Can you give us safe undervolt parameters? I've manage to set small cores to 1190. And then nothing
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] himfa71:
Voltage control is not workin currently, now that official source is release hope that devs add workin voltage control,
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] angga17:
[MENTION=5250109]rainforce279[/MENTION] my ir blaster doesn't work in latest clarity kernel , I'm on NOS latest build
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] xMANGLERx:
Maybe cause that there's no "transmit" file in /sys/class/leds/infrared. It's gone after the flashing.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] shohabmsk:
Hope he fixes soon.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] leodelacruz:
You can also flash this fox WiFi fix
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Politruk:
Hi. Kernel 2.1 for MIUI. I have reset the color settings (saturation and contrast) after lock/unlock screen. The problem is in the kernel or MIUI?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] kda2495:
[MENTION=5250109]rainforce279[/MENTION]

Add this features:

CPU:

Support for MSM Sleeper (allows for longer and aggressive Deep-Sleep to increase Battery-Life).

GPU:

Support for Adreno IDLER algorithm (saves Battery a lot by lowering down the frequency to minimum when the GPU is idle).

Battery:

Support for the new PowerSuspend algorithm (improves Battery-Life).

Aggressive transition to Power-Collapse Suspend Mode (should improve Battery-Life significantly).

Support for switching to Deep Power-Down Mode for RAM when idle (should improve Battery-Life).

Support for Larch Power feature (should improve Battery-Life).

Memory:

Support for Kernel SamePage Merging (KSM).

Support for UKSM

Optimizations and Tweaks:

Reduced Message Log-Level to Minimum.

Tweaked MSM-Thermal to improve Heat-Management of SoC.

Support for CRC-Toggle

Optimized task_sched_runtime for upto 20% increase in Performance.

Optimizations to reduce WakeLocks.

Optimized Console FrameBuffer for upto 70% increase in Performance.

Optimized Integer SQRT. for upto 3x faster operation.

Optimized Task-Search for upto 6% increase in Performance.

Reduced RQ Lock-Contention for upto 0.7% increase in Performance.

Reduced Kernel Log Buffer to minimum.

Disabled CRC-Check for upto 30% faster I/O.

Support for FRandom RNG Driver (upto 50x faster than the default one).
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] himfa71:
+voltage control
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] vishalpal555@gmail.com:
720p at 120 fps.... can anyone do that
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] NTLinhHaHa:
I think the hardware cannot support it. Or else, the camera driver doesn't support it ._.

Are you telling the dev what to do? Those line looks like they were taken from another kernel's changelog... Did you take that from somewhere else :/
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] vishalpal555@gmail.com:
i guess chipset supports it as.... 435 does.....
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] MattHdH:
Hi there, I am trying flash the latest kernel into ROM NOS Oreo latest build,, and its stuck on bootanimation,, but kernel v2.0 workly fine. is take a long time to booting or is not work with v2.1 on ROM NOS Oreo?

Anyway salam gan wkwk
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] kda2495:
https://xdaforums.com/vibe-p1/development/firekernel-n-roms-t3623636/amp/
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Mixified:
Works Great on my Resurrection Remix 6.0.0. Thanks dev
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] bhavikjajal:
I am using v21.1 on nos 8.1 and works perfectly, using alucard :)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Pawnzer:
Is Nightmare/Darkness CPU Governor better than Alucard? I need opinions.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] gogyly:
This is my BB on darkness governor on cr droid nougat. Everything is smooth and candy with 2t2w enabled.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Pawnzer:
So D2TW does not affect BB? Or it still depends on the ROM?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] gogyly:
I can't notice any difference, developer did great job in optimizing things. Try one day with 2t2w enabled and then disabled and see.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] MattHdH:
what is your system format,, ext4?

cuz I am F2FS,,
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Randyshare:
Is that affects on performance?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] FrankKrue:
[MENTION=5250109]rainforce279[/MENTION] Can you please add scheduling power on feature?

thank you
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Renaldi Ananda:
help :(

hello, im still new to this kind of modding phone stuff

ppl said that firmware 32 have good battery backup (dunno if thats right)

so i want to flash the fw 32, what i want to ask : which one? the nougat stable fw 32? is that fine if i flash it while im using oreo rom? and if so, can i flash it right away? or from clean flash? from the really2 start? someone help :( and what is the best version of this kernel

thx b4
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
Yes use 2.1. If you are using latest miui global or beta rom then no need to flash firmware
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Renaldi Ananda:
sooo, if i want to update the kernel, just flash it right away? thx for ur reply
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Pawnzer:
Hey guys, just a newbie question about fast charging.

Question 1: If I enable it, should I also use a fast charger or is the Original Charger just fine?

Question 2: Is it safe for our phone? Will it not damage the battery?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] solim:
I use original charger and the charging current is 1,7A max. so it's fine with the battery. I don't feel any excessive heat.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prototype16:
v2.1 breaks IR blaster.

Rest everything works great!?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] adorableconjurer:
Using this kernel with AOSIP ROM, v32 firmware.

Easily getting 2 days with 8-9h sot.

No battery saving apps like greenify etc.,,

Those who want battery life and performance give this kernel a try. You won't regret :cool:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mimka:
good kernel. but ir blaster break.

rom : NOS 25/2

please fix asap.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
Yes just press the Thanks button :)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] xzy99:
[MENTION=5250109]rainforce279[/MENTION] when id the official based update coming
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rainforce279:
i'll push some testing asap ;)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Renaldi Ananda:
2.0 vs 1.9, which one is the best battery backup? im using the 2.0, kinda drainy when screen on, and do u have reccomended settings for kernel auditor? thx u :)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rainforce279:
Push Clarity testing with official Xiaomi patchs.

ONLY FOR MIUI.

Almost Xiaomi patch apply on this testing.

Some patch already applied by CAF team, no need cherry-pick them again.

FYI. Xiaomi patch like oem patch, seem like using "git cherry-pick -n" without original author.

they just kang from specific CAF commits.

Logs can be found in here.

https://github.com/ryan-andri/android_kernel_santoni/commits/rebase-miui

Base

Android Linux stable branch "kernel.lnx.3.18.r22-rel" with merged to latest Linux 3.18.97

Note

This is only testing! i was talk to [MENTION=6821509]TecnoTailsPlays[/MENTION] and he founded FPC won't work with his kernel with new FPC Xiaomi. But in this testing, i already adding change for FPC but not sure it work or not, my FP is GOODIX and work fine. Please test this and report to me if you find bugs with last_kmsg after reboot.

Please be patient about Nougat and Oreo, i'm still working on it.

Thanks

Download testing.

https://drive.google.com/open?id=1G8bXAXfdq2rQJqSTYr9QKo6M0y2kYedm
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Phuclun510:
I have fpc, i will test now

---------- Post added at 05:02 AM ---------- Previous post was at 04:50 AM ----------

Mannnnn it works, the fingerprint works with default stock speed, that's insane
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] LuanHalaiko:
Which rom you are using? I have fpc and it won't work here
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Phuclun510:
I'm using miuipro 8.2.1

I'm the guy on telegram talking to you
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] LuanHalaiko:
So it's rom related then, on oreo rom's there's something wrong then :eek:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] xda-x-man:
Using eu xiaomi beta and FPC FP Working perfectly
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] SS-4050:
When i've flashed the kernel, it always kill an app when i'm using it, for example when i'm playing games

And when i restore my stock boot through twrp wifi, hotspot and bluetooth won't turn on

Any advise?

MIUI 9 9.2.5.0 stable
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] bhavikjajal:
ext4 and how does it make a difference BTW ?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] LuanHalaiko:
[MENTION=5250109]rainforce279[/MENTION] Fingerprint works perfectly on miui, but on oreo roms it has a wakeup delay, idk why there is, I'm not good with roms. Also I din't test with nougat rom's, maybe the issue is not there
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rainforce279:
have you tried change touchscreen driver to official ft5336 ? if not, try change it.

but i can't make sure it'll help since fingerprint driver sync with fingerprint hall on rom too.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] LuanHalaiko:
I'm using your oreo source with some modifications, so it should be ft5336
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] angga17:
any solution for ir blaster doesn't work in clarity 2.1?, i'm using AOSP nought rom,
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Cygnuss:
if i flash this it boot loops, back to 1.9 everything is fine
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rainforce279:
i guess, that delay is rom related issue.

you can try do some experiment, mate:

replace this with miui ;)

/system/lib/hw/fingerprint.default.so

/system/lib64/hw/fingerprint.default.so

/system/lib64/hw/fingerprint.goodix.so

/system/lib64/hw/gxfingerprint.default.so

sorry can't doing this, i'm on miui now.

it will be fixed on next version, thanks.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] LuanHalaiko:
Where can I get those files? I can't install miui right now

Can someone with MIUI send me those?

edit: [MENTION=5250109]rainforce279[/MENTION] yeap it fixed the issue xD
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] angga17:
oke thank man, this is awesome kernel :D
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] SS-4050:
[MENTION=5250109]rainforce279[/MENTION] any idea why the kernel is very aggressive killing foreground app? I'm trying to play some games but they just closed without any Force Close notification just like the app just killed itself
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] LuanHalaiko:
[MENTION=5250109]rainforce279[/MENTION] forget about the libs, after some minutes of display off the delay is back again

freaking miui magic, fingerprint works there just fine, but on oreo it needs changes to be detected and with that comes a wakeup delay. Perfect ****ing perfect
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Phuclun510:
Well i will stick to miui for sometimes
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Ramakrishnan ?:
Clarity 2.1 review :-

Everythink works fine . . but battery discharging more on overnight idle 15%+ plzz fix it on next update and plzz sync the official pure msm8940 source on next update ?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] MattHdH:
has no significant effect, But for the first time when switching to the F2FS filesystem it feels soo smooth. For me.

Huh, What do you mean? A performance between F2FS and ext4?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] solim:
No discharge on rr 5.8.5 luis. I get less than 1% over night, with WiFi on.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] MattHdH:
Huhu :crying: why the v2.1 not working for me.

Just because my filesystem is F2FS,,, but ah, v2.0 working with that
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Faq.Praa:
if already installed the older this kernel, how to update it please ?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] ecsvik:
High battery drain

I tried Clarity Kernel v2.1 on ROM Cardinal-AOSP, Firmware Nougat v32.

Battery consumption is noticable higher than with other custom kernels.

system_server process is being run a lot of time in deep sleep.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] gogyly:
Just flash it one over another, then wipe cashes. It works for me. ?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] gogyly:
I'm on cr Droid and have v2.0. Don't have problem with bb. As you can see. Maybe it's room related. Or you can try this kernel version
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] livedten:
please replace the installer update-scripts on update-binari

for a rapid

#!/sbin/sh

#

#by

OUTFD=$2

ZIP=$3

ui_print() {

echo -n -e "ui_print $1\n" > /proc/self/fd/$OUTFD

echo -n -e "ui_print\n" > /proc/self/fd/$OUTFD

}

print_banner() {

ui_print "================================================"

ui_print " Clarity Kernel "

ui_print " MIUI "

ui_print " Redmi 4X | HM4X | Santoni "

ui_print "================================================"

ui_print " "

}

mount /system

mount -o rw,remount /system

mount -o rw,remount /system /system

cd /tmp

mkdir clarity

cd clarity

unzip -o "$ZIP"

chmod 0777 /tmp/clarity/busybox

chmod 0777 /tmp/clarity/mkbootimg.sh

chmod 0777 /tmp/clarity/mkbootimg

chmod 0777 /tmp/clarity/unpackbootimg

ui_print " * Dump boot.img";

/tmp/clarity/busybox dd if=/dev/block/bootdevice/by-name/boot of=/tmp/clarity/boot.img

ui_print " * Unpack boot.img";;

/tmp/clarity/unpackbootimg -i /tmp/clarity/boot.img -o /tmp/clarity/

ui_print " * repack newboot.img";

/tmp/clarity/mkbootimg.sh

ui_print " * Flashing newboot.img";

/tmp/clarity/busybox dd if=/tmp/clarity/newboot.img of=/dev/block/bootdevice/by-name/boot

ui_print " * Delete old modules";

rm -rf /system/lib/modules

ui_print " * Extracting modules";

unzip -o "$ZIP" -d /system -x "META-INF/*" "clarity/*"

ui_print " * Symlink wlan module";

ln -s /system/lib/modules/pronto/pronto_wlan.ko /system/lib/modules/wlan.ko

chmod 0644 /system/lib/modules/wlan.ko

print_banner() {

ui_print "================================================"

ui_print "- Instalation Completed -"

ui_print "================================================"

ui_print " https://ryan-andri.github.io "

ui_print "================================================"

ui_print " "

}

rm -rf /tmp/clarity

mount /cache

mount /data

ui_print "- Wiping cache and dalvik-cache"

rm -rf /cache/*

rm -rf /data/dalvik-cache/*

umount /system

sleep 3
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Dynaguy:
idle drain is too much in 2.1 version, how to fix that?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rainforce279:
Release v2.2 for MIUI and AOSP Nougat, OREO still WIP!

Changelogs:

- Rebase branch Android linux stable "kernel.lnx.3.18.r22-rel".

- Wlan prima LA.UM.6.6.r1-05700-89xx.0

- Using LA.UM.5.6.r1-06900-89xx.0 for video encode/decode driver

- Using official patchs Xiaomi. (Manual patched).

- console-ramoops now working each reboot (for debugging)

- fix phone information (engineering mode) on MIUI.

- Merged to Linux 3.18.98.

- Remove underclock and overclock cpu/gpu (frequency isn't everything to making device faster)

- enabled all advance congestion tcp control.

- added all features on previous builds.

- Updated F2FS and FS Crypt for AOSP Nougat.

- More

Full changelogs check on https://xdaforums.com/showpost.php?p=74850240&postcount=3

NOTE

- Report with logs it will be helpfull for us.

- You may facing recent key issue while on AOSP. Fix it with flash fix recent key, search it on this forum.

- This is for MIUI and AOSP Nougat!

- Oreo still WIP, please don't to much asking it while i'll push them if full tested.

Downloads

https://drive.google.com/open?id=1jSJJedwhr0_2cyftesxGR-M9UBLcshz7
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] LonerDarke:
Oh underclock was removed again? It was doing great for me, well I will update and see how well it's the new update. Thank you!
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Spike_kgz:
rainforce279 Hello! Please, tell me, why led indicator doesn't work on your kernel? Led indicator works only if i connect charger, but if i receive for example sms, led indicator doesnt work ((. On stock kernel works ok.

Firmware v33, Miuipro 8.2.1.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Gaboros:
Wifi still not work on LinageOS 14 with AOSP version but does with MIUI.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Spike_kgz:
On Miuipro 8.2.1 also doesnt work.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Politruk:
Now the screen settings in KernelAdiutor or MTweaks are not available/editable at all?