FORUMS
Remove All Ads from XDA
H10 Turbo

[KERNEL][N/O] Clarity [DT2W/S2W][v4.0][Treble/Non-Treble]

501 posts
Thanks Meter: 2,548
 
Post Reply Email Thread
Announcement from rainforce279: Update version 4.0
DISCLAIMER
Code:
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this KERNEL
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
Please read completely this thread before using for minimize FAQ.
If you coming from other custom kernel, please restore to stock boot.img or dirty flash your rom before flash this!

Requirements
  • BACKUP your Boot.img and ROM Before flash this Kernel.
  • Unlock Bootloader as well
  • atleast on Firmware v27, check here
  • Latest TWRP
  • No need Wipe dalvik/art cache

Features
On version 4.0
  • Using Official XIAOMI Patch.
  • Support MIUI/AOSP (Nougat/Oreo)
  • Kernel based on CAF "LA.UM.6.6.r1-09000-89xx.0" (Oreo)
  • Kernel based on CAF LA.UM.6.6.r1-06300-89xx.0 (MIUI/AOSP N)
  • Wlan prima CAF "LA.UM.6.6.r1-09000-89xx.0" (Oreo)
  • Wlan prima CAF LA.UM.5.6.r1-07900-89xx.0 (MIUI/AOSP N)
  • Video En/Decode CAF LA.UM.5.6.r1-06900-89xx.0 (MIUI/AOSP N)
  • Camera Stack CAF LA.UM.5.6.r1-06300-89xx.0 (MIUI/AOSP N)
  • IPA Tethering CAF LA.UM.5.6.r1-06900-89xx.0 (MIUI)
  • Compiled with AOSP Toolchain 4.9.
  • support Doubletap2Wake / Sweep2Wake Gesture.
  • KCAL colour control & Backlight Dimmer
  • Xiaomi Color & Contrast patch (Needed by MIUI).
  • Unlock GPU clock from 475MHz to 500MHz.
  • added latest alucard, nightmare, darkness, clarity, blue active cpu Governors.
  • added Usb force fastcharge (Disabled by default | Please read Disclaimer again)
  • added BFQ-v8r12, Fiops, Maple, Zen, SIO i/o scheduler (CFQ as Default).
  • set default compression zram to Lz4.
  • Support and updated F2FS Filesystem (AOSP)
  • added custom hotplug AutoSMP and AIO (default core control by CAF)
  • added ExFat and NTFS Filesystem support
  • added sound control
  • added dts eagle sound integration
  • added boeffla wakelock blocker
  • added TTL target Support
    More

Telegram Channel for Beta version
https://t.me/claritykernel

FAQ & Changelogs
FAQ
CHANGELOGS

Little Story
Now using official Xiaomi Patch for Redmi 4X
this kernel is nothing without Noyer, first many thanks and credits goes to him and this is his source : msm-3.18
My source is little different with Noyer source, while i'm using CAF tag release.
but this kernel can't be done without Noyer commits in git, i'm still learn to make this kernel more stable with a lots of features.
Bugs ?
  • Nothing.
    Report with dmesg and last_kmsg if founded.

Credits
(Not in order)
  • Eduardo Noyer a.k.a bitrvmpd
  • silent27121984 | Nikit | Nik001 (All dev bring Oreo Rom)
  • Savoca | Francisco Franco | Alucard24 | Showp1984 | SultanXDA
  • Nichream | TheScarastic | Flar2 | Nathanchance | Andip71 | Msf-jarvis
  • joshuous | LazerL0rd | LuanHalaiko | LuizPauloDamaceno | mostafa-z
  • All authors and commiters on Source
Tell me if i miss someone else

How to enable dt2w/s2w
  • Download Kernel Adiutor at Playstore.
  • Open Kernel Adiutor (KA).
  • KA > Wake > doubletap2wake : Full/Half
  • KA > Wake > sweep2wake : Sweep2wake + Sweep2sleep
    sweep2sleep not working

How to costumize/enhance AutoSMP hotplug (04042018)
Donations
i spend some hours to build this kernel. if you like my work you can buy me a coffee
Donate Me || OR || Donate Noyer (bitrvmpd)
Downloads
XDA:DevDB Information
Clarity, Kernel for the Xiaomi Redmi 4X

Contributors
rainforce279, b1tRvmpd
Source Code: https://github.com/ryan-andri/android_kernel_santoni

Kernel Special Features: as mentioned on features.

Version Information
Status: Stable
Current Stable Version: 4.0
Stable Release Date: 2018-07-05

Created 2017-12-14
Last Updated 2018-07-05
The Following 109 Users Say Thank You to rainforce279 For This Useful Post: [ View ]
 
 
14th December 2017, 05:18 PM |#2  
rainforce279's Avatar
OP Recognized Developer
Flag indonesia - palembang
Thanks Meter: 2,548
 
Donate to Me
More
How to report bugs & F.A.Q
How to report bugs
For easy steps to report bugs.
You should report bugs with format:
  • Rom information
  • Android version
  • Version of this kernel
  • Any setting that you have done after flash this kernel
  • log: logcat and dmesg if you encounter drivers problem.
  • log: last_kmsg if you encounter random reboot.
Take logs with Kernel Adiutor (KA):
  • Download Kernel Adiutor (KA) on Playstore!
  • Open KA > Settings > search: "Debugging section" > click on dmesg/last_kmsg/dmesg. Then open any file manager locate to storage/emulated/0 or internal storage, the file logs formated with .txt then send it to this thread or PM me.
Reporting bugs with properly way, you not only help me but you help your self too. If any reports bugs or problem without this preference, i'll ignore it!


Frequently asked questions (FAQ)

Q : My touchscreen is not work after flashing this kernel, what should i do ?
A : Go to this thread Firmware and flash v27 firmware, your touchscreen will work again.

Q : This is will work for MIUI rom ?
A : works fine now.

Q : Can you add x or y features ?
A : i'll accept all usefull feature. i think enough for now.

Q : Wifi not work after restore stock boot.img, what should i do ?
A : after restore stock kernel or boot.img and wifi doesn't work you can open any file manager and locate to system/lib/modules and remove wlan.ko then locate to system/lib/modules/pronto copy pronto_wlan.ko into system/lib/modules and rename it as wlan.ko then set permission to 0644, your wifi will work again. (In case for MIUI)!
The Following 29 Users Say Thank You to rainforce279 For This Useful Post: [ View ]
14th December 2017, 05:18 PM |#3  
rainforce279's Avatar
OP Recognized Developer
Flag indonesia - palembang
Thanks Meter: 2,548
 
Donate to Me
More
Changelogs
Changelogs AOSP 8.1 or AOSP 8.1 Treble
Code:
v4.0
For detail logs, check source on branch "Oreo" Please.
- Build with AOSP Toolchain 4.9 (For sure stability).
- Swich to original Anykernel2 for flashazble zip (Workarround for Treble issue).
- Rebased CAF kernel LA.UM.6.6.r1-09000-89xx.0.
- Rebased CAF Wlan prima LA.UM.6.6.r1-09000-89xx.0.
- Added Fiops and BFQ-v8r12 i/o Scheduler (Default CFQ).
- Limit max big core for AutoSMP and AIO Hotplug if reach temperature thermal core control.
- Removed overclocked CPU (This lead to stuck at max frequency issue)!
- Still keep unlock 500MHz GPU Clock (Seem stable).
- Less commits or patch from external source (Pure Codeaurora as possible).
- Reduce Advanced TCP congestion control (Only have Cubic/Westwood/Veno/LowPriority).
- Remove netwireguard.
- Integrate DTS-Eagle Sound enhancement. (No need apps for control this now, backend from kernel for sound quality).
- Removed Cultivation and Ironactive CPU governor (Still keep Alucard/Nightmare/Darkness/BlueActive/Clarity)
- Remove some useless or unstable commits.
- More...
Changelogs MIUI 9/10
Code:
v4.0
For detail logs, check source on branch "Nougat/MIUI" Please.
- Build with AOSP Toolchain 4.9 (For sure stability).
- Rebased CAF Wlan Prima LA.UM.5.6.r1-07900-89xx.0
- Added Fiops and BFQ-v8r12 i/o Scheduler (Default CFQ).
- Limit max big core for AutoSMP and AIO Hotplug if reach temperature thermal core control.
- Removed overclocked CPU (This lead to stuck at max frequency issue)!
- Still keep unlock 500MHz GPU Clock (Seem stable).
- Less commits or patch from external source (Pure Codeaurora as possible).
- Reduce Advanced TCP congestion control (Only have Cubic/Westwood/Veno/LowPriority).
- Remove netwireguard.
- Integrate DTS-Eagle Sound enhancement. (No need apps for control this now, backend from kernel for sound quality).
- Removed Cultivation and Ironactive CPU governor (Still keep Alucard/Nightmare/Darkness/BlueActive/Clarity)
- Remove some useless or unstable commits.
- More...
Changelogs AOSP 7.1
Code:
v4.0
For detail logs, check source on branch "Nougat/AOSP" Please.
- Build with AOSP Toolchain 4.9 (For sure stability).
- Rebased CAF Wlan Prima LA.UM.5.6.r1-07900-89xx.0
- Added Fiops and BFQ-v8r12 i/o Scheduler (Default CFQ).
- Limit max big core for AutoSMP and AIO Hotplug if reach temperature thermal core control.
- Removed overclocked CPU (This lead to stuck at max frequency issue)!
- Still keep unlock 500MHz GPU Clock (Seem stable).
- Less commits or patch from external source (Pure Codeaurora as possible).
- Reduce Advanced TCP congestion control (Only have Cubic/Westwood/Veno/LowPriority).
- Remove netwireguard.
- Integrate DTS-Eagle Sound enhancement. (No need apps for control this now, backend from kernel for sound quality).
- Removed Cultivation and Ironactive CPU governor (Still keep Alucard/Nightmare/Darkness/BlueActive/Clarity)
- Remove some useless or unstable commits.
- More...
The Following 24 Users Say Thank You to rainforce279 For This Useful Post: [ View ]
14th December 2017, 05:25 PM |#4  
Member
Thanks Meter: 12
 
More
Thanks for sharing.

link please..
The Following 2 Users Say Thank You to Randyshare For This Useful Post: [ View ] Gift Randyshare Ad-Free
14th December 2017, 05:26 PM |#5  
Senior Member
Thanks Meter: 34
 
More
Quote:
Originally Posted by rainforce279

DISCLAIMER
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this KERNEL
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.

==================================================

Please read completely this thread before using for minimize FAQ
If you coming from other custom kernel, please restore to stock boot.img or dirty flash your rom before flash this!

Requirement
Unlock Bootloader as well
Latest TWRP
atleast on AOSP Based ROM (LOS, AEX, RR, etc).
No need Wipe dalvik/art cache

Features
Based on CAF TAG "LA.UM.5.6.r1-06400-89xx.0"
Upstream to Linux 3.18.87
Compiled with Linaro Toolchain 4.9.4
Compiled with -O2 Flag.
Wlan Prima based on CAF TAG "LA.UM.5.6.r1-06400-89xx.0"
KCAL colour control.
added Zen, BFQ i/o scheduler (BFQ as Default).
enabled "BFQ hierarchical scheduling support"
Customeable MSM Thermal.
Added Boeffla Wakelock blocker.
optimized crypto crc32 for arm64
Set default compression zram to Lz4.
many more.

Status
This kernel is very high experimental due the source is from ported.
Boot = OK.
Sound, speaker, earphone, mic = OK.
Camera [front/back] = OK.
Fingerprint =OK.
Touchscreen = OK.
IR Blast = Not testing yet.
WIFI = OK.
RIL = OK.
Radio = OK.

BUGS ?
So far, i'm never facing any problem.
tell me if you found it.


CREDITS ?
Eduardo Noyer a.k.a bitrvmpd
Nicecream
TheScarastic







XDA:DevDB Information
Clarity, Kernel for the Xiaomi Redmi 4X

Contributors
rainforce279
Source Code:https://github.com/ryan-andri/android_kernel_santoni

Kernel Special Features:

Version Information
Status: Beta
Current Beta Version: 1.0
Beta Release Date: 2017-12-15

Created 2017-12-14
Last Updated 2017-12-14

where is the link
The Following 3 Users Say Thank You to vishalpal555@gmail.com For This Useful Post: [ View ] Gift vishalpal555@gmail.com Ad-Free
14th December 2017, 05:33 PM |#6  
Senior Member
Thanks Meter: 201
 
More
Good work (Y)

Sent from my Redmi 4X using Tapatalk
14th December 2017, 05:41 PM |#8  
Member
Thanks Meter: 12
 
More
Report sir.

Touch screen and finger print did not work after flash this kernel.

Tested On Aosp Extend 4.6.

Any solution?
The Following User Says Thank You to Randyshare For This Useful Post: [ View ] Gift Randyshare Ad-Free
14th December 2017, 05:45 PM |#9  
rainforce279's Avatar
OP Recognized Developer
Flag indonesia - palembang
Thanks Meter: 2,548
 
Donate to Me
More
Quote:
Originally Posted by Randyshare

Report sir.

Touch screen and finger print did not work after flash this kernel.

Tested On Aosp Extend 4.6.

Any solution?

try flash firmware v27
The Following 2 Users Say Thank You to rainforce279 For This Useful Post: [ View ]
14th December 2017, 05:47 PM |#10  
Member
Thanks Meter: 12
 
More
Quote:
Originally Posted by rainforce279

try flash firmware v27

OK sir.

Downloading fw 27 .

BTW, is this kernel have a fast charger feature?
14th December 2017, 05:57 PM |#11  
Yousef Algadri's Avatar
Senior Member
Flag Jakarta
Thanks Meter: 640
 
Donate to Me
More
IR working and all working fine here


Sent from my Redmi 4X using Tapatalk

---------- Post added at 05:57 PM ---------- Previous post was at 05:56 PM ----------

Add fast charge and Alucard if possible please

Sent from my Redmi 4X using Tapatalk
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes