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

Status
Not open for further replies.
Search This thread

Phuclun510

Senior Member
Oct 14, 2015
337
90
Report : Fingerprint dont work when device sleeps, have to wake up once and then it works in MIUI 7.12.21
 

Kajuru

Senior Member
Sep 17, 2017
194
82
Can you add please:
Westwood congestion
Backlight dimmer
Adreno idler

Other kernel have these but clarity seems more promising
 

Ramakrishnan ?

Senior Member
Oct 20, 2017
446
459
Tirunelveli
www.google.com
Can you add please:
Westwood congestion
Backlight dimmer
Adreno idler

Other kernel have these but clarity seems more promising

+1 add these too bro @rainforce279

---------- Post added at 05:42 PM ---------- Previous post was at 05:41 PM ----------

Report : Fingerprint dont work when device sleeps, have to wake up once and then it works in MIUI 7.12.21

Is volte working with this kernel on miui ??
 
  • Like
Reactions: Kajuru

rainforce279

Recognized Developer
May 4, 2013
561
2,846
Palembang
ryan-andri.github.io
Can you add please:
Westwood congestion
Backlight dimmer
Adreno idler

Other kernel have these but clarity seems more promising
it will be added.
currently i'm still try to fix wifi bugs and now fixed.
just wait an update mate.
thanks

FYI:
i've seen many FAQ's in this thread about clarity version *.zip and *_inbuilt.zip
i'll update this FAQ asap to void this again.
thanks
 

DjLobo

Member
Nov 18, 2006
16
1
Olomouc
I have the same configuration And everything is ok with wlan. I have latest magisk

---------- Post added at 10:33 PM ---------- Previous post was at 10:29 PM ----------

So on the latest RR, clarity 1.4 kernel everything works. But problem with unlock by fingerprint persist, and during the call the display touch by the ear wake up the device.

oh i see the difference, i dont use inbuild

---------- Post added at 10:19 PM ---------- Previous post was at 09:55 PM ----------

crDroid need inbuilt version. otherwise everything else seem ok.
 

rainforce279

Recognized Developer
May 4, 2013
561
2,846
Palembang
ryan-andri.github.io
update v1.6

Changelogs:
- fixed mac address wlan (Wlan issue)
- enabling back CNSS driver.
- add backlight dimmer
- add tcp congestion control (westwood+ , DataCenter (DCTCP), Veno)
- added SIO i/o scheduler.

if you want know whats happen to your phone if flashed this kernel (someone say like this!)
then see full changelogs at my git or OP's.

now please if you report issue, ensure with dmesg.
if no ? then i'll ignore it.

Please and so Please mate's, read FAQ.

thanks.

DOWLOAD
Sourceforge
 
Last edited:

pupun47

Senior Member
Apr 19, 2016
507
127
32
South Sulawesi, Indonesian
Changelogs:
- fixed mac address wlan (Wlan issue)
- enabling back CNSS driver.
- add backlight dimmer
- add tcp congestion control (westwood+ , DataCenter (DCTCP), Veno)
- added SIO i/o scheduler.

if you want know whats happen to your phone if flashed this kernel (someone say like this!)
then see full changelogs at my git or OP's.

now please if you report issue, ensure with dmesg.
if no ? then i'll ignore it.

Please and so Please mate's, read FAQ.

thanks.

DOWLOAD
Sourceforge
Is it WiFi hotspot and USB tethering working on with this version?
Because the previous version doesn't work at all
 

Phuclun510

Senior Member
Oct 14, 2015
337
90
Changelogs:
- fixed mac address wlan (Wlan issue)
- enabling back CNSS driver.
- add backlight dimmer
- add tcp congestion control (westwood+ , DataCenter (DCTCP), Veno)
- added SIO i/o scheduler.

if you want know whats happen to your phone if flashed this kernel (someone say like this!)
then see full changelogs at my git or OP's.

now please if you report issue, ensure with dmesg.
if no ? then i'll ignore it.

Please and so Please mate's, read FAQ.

thanks.

DOWLOAD
Sourceforge
Okay i will dowload logcat now LOL
 

Phuclun510

Senior Member
Oct 14, 2015
337
90
I have your back sir, sorry for commenting too much
This is log for not able to wake the phone up using fingerprint after let the phone sleep for a while.
Tell me if this log is useful for you to fix the bugs, if not, i will take another for you
From now i will be your dedicated partner on MIUI side
 

Attachments

  • dmesg.log
    125.7 KB · Views: 8

Bara gulla

New member
Dec 30, 2017
1
0
Gave me kernel support oc sir

---------- Post added at 01:51 AM ---------- Previous post was at 01:47 AM ----------

Give me kernel support oc ser
 

LuanHalaiko

Senior Member
Jul 12, 2015
1,912
1,810
Lapa
xdaforums.com
Changelogs:
- fixed mac address wlan (Wlan issue)
- enabling back CNSS driver.
- add backlight dimmer
- add tcp congestion control (westwood+ , DataCenter (DCTCP), Veno)
- added SIO i/o scheduler.

if you want know whats happen to your phone if flashed this kernel (someone say like this!)
then see full changelogs at my git or OP's.

now please if you report issue, ensure with dmesg.
if no ? then i'll ignore it.

Please and so Please mate's, read FAQ.

thanks.

DOWLOAD
Sourceforge

Do backlight dimmer work well in this device? last time I've used it ended on a black screen.
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 116
    DISCLAIMER
    Code:
    [B][SIZE="3"]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!
    [/SIZE][/B]

    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.1
    • 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 :laugh:
    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.1
    Stable Release Date: 2018-07-23

    Created 2017-12-14
    Last Updated 2018-07-23
    28
    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)!
    24
    Changelogs

    Changelogs AOSP 8.1 or AOSP 8.1 Treble
    Code:
    [COLOR="Red"]v4.1[/COLOR]
    For detail logs, check source on branch "Oreo" Please.
    - Disable kernel debugs
    - Improve for disabled tracer (less debugs)
    - enable specific config to improve zram performance
    - simplify checking thermal state for custom hotplug
    - add bootinfo from riva-n-oss
    - decreased bcl (battery current limit) threshold to 5%

    Changelogs MIUI 9/10
    Code:
    [COLOR="Red"]v4.1[/COLOR]
    For detail logs, check source on branch "Nougat/MIUI" Please.
    - Improve for disabled tracer (less debugs)
    - enable specific config to improve zram performance
    - simplify checking thermal state for custom hotplug
    - add bootinfo from riva-n-oss
    - lots caf commits for improve stabilty
    - decreased bcl (battery current limit) threshold to 5%
    - upstream ipa tethering from latest CAF

    Changelogs AOSP 7.1
    Code:
    [COLOR="Red"]v4.1[/COLOR]
    For detail logs, check source on branch "Nougat/AOSP" Please.
    - Improve for disabled tracer (less debugs)
    - enable specific config to improve zram performance
    - simplify checking thermal state for custom hotplug
    - add bootinfo from riva-n-oss
    - lots caf commits for improve stabilty
    - decreased bcl (battery current limit) threshold to 5%
    21
    Push Clarity for v2.6

    Changelogs:
    - Merge stable tag upstream 3.18.100 (kernel.org)
    - Unlock 500Mhz gpu frequency.
    - stabelize overclock to 1.57GHz (Fixed).
    - Fix time getting reset on Oreo (Thanks @mostafaz pointed me at commit)
    - Try to optimized charging speed and USB force fastcharge.
    More log see at https://xdaforums.com/showpost.php?p=74850240&postcount=3

    Note:
    - This is enough for overclocked frequency on CPU or GPU too, i'll ignore any request about frequency from now. I need stable like stock btw.
    - in this version i've remove limit from Xiaomi on charger and increasing max alowed ma with standart caf too including for quick charge v2.0. Please test while battery 50% or lower and also if u using "quick charge" please report any result for next developtment.
    - increase alowed max miliAmpere to 1200ma for USB Force fastcharge (Use with your own risk about this).

    Downloads
    https://drive.google.com/open?id=1jSJJedwhr0_2cyftesxGR-M9UBLcshz7
    20
    Push update v2.5 (Miui/Nougat/Oreo)

    Changelogs:
    - Bring Cultivation, Ironactive CPU governors
    - Maintained Alucard, Nightmare, Darkness CPU governors
    - Updating zsmalloc, zram.
    - Overclock Little CPU to 1.2 and Big CPU 1.6 GHz
    - Merging caf "LA.UM.6.6.r1-06700-89xx.0" only for Oreo (8.1)
    - more changelogs > https://xdaforums.com/showpost.php?p=74850240&postcount=3

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

    Thanks!