yashsingh1/xdaforums huggingface dataset:
[Mi 3 Android Development] ankitsxperiago:
OK I'll flash the kernel. Zip via twrp...

I'm using Mi4W

I'm on Miui 7.1.1.0 Stable..

Will this kernel work on my phone... I mainly want this kernel because I want Dt2w feature...

And one more question how to revert back to stock kernel?

I've downloaded Caf Kernel

There are 2 others : Archi tool chain and uber tool chain? Which version has Dt2w support
[Mi 3 Android Development] escolano.adrian:
I need ur info.

Hi all.

Two days ago that i have broken my lockscreen button... So you can imagine how important this is for me.

I have one question, im not a expert with the kernels.

Can i use DT2W feature with Mi4w Miui7 MM? If i can, with which?

Thanks in advance
[Mi 3 Android Development] Dashing_97:
No u can't man, I recommend don't use these kernels a for now, Uber will give you bootloop, and caf rip be alright but will cause themes to reset at every boot, the stock kernel has good amount of features, use it and customize using kernel auditor ;)
[Mi 3 Android Development] sidhg:
waiting for the update.. ??
[Mi 3 Android Development] Dashing_97:
Man i am really looking forward to you for fixing the theme ressting bug on miui, i dont consider the kernel stable with such bugs
[Mi 3 Android Development] caped:
Is caf kernel working with miui mm build 6.1.28 china dev rom?? Is d2w working??
[Mi 3 Android Development] escolano.adrian:
Sorry for my ignorance, but with Kernel Auditor can i add double tap to wake feature?. On the other hand, with caf Kernel, the "most dangerous" bug is the theme reset at boot?. Because my "problem" (bb to lockscreen button ) is more precarious u know haha. Ty bro for ur fast answer :good:and sorry for my slow reply! :(
[Mi 3 Android Development] caped:
How to get d2w feature in miui mm 6.1.28 china dev ???
[Mi 3 Android Development] Dashing_97:
Hey bro, I understand your misery because of that broken button, now I will tell you best solution, the solution is go to smiui custom rom page, you already must be having twrp recovery, download the stable 7.1 version with kitkat, flash it and then flash the Uber kernel which has d2w(caf doesn't have it), once flashed use kernel auditor for best settings like. Io scheduler fiops cpu governor zz move etc and don't enable adreno idler causes lag, you have great phone after that ;) now once stable mm releases a caf kernel with no issues will also be there, just update it ;)
[Mi 3 Android Development] escolano.adrian:
Thanks for the info, i will try in the next days but i dont like the thing of put KK another time.. But another time thanks bro for the info! I hope to see the caf update for here soon
[Mi 3 Android Development] vishal24387:
[MENTION=5579787]vasishath[/MENTION]

Your CAF kernel is really good. But I am still waiting for your upcoming CAF kernel with s2w feature. Can u share what is status of its development?? :)
[Mi 3 Android Development] pratyush997:
Wish it also brings KCAL support.
[Mi 3 Android Development] romanpatel:
vasinath why is it not working on Carbon LP & AICP LP roms??

It get stucked at starting apps page..

Please help.. I want to use this kernel since long...
[Mi 3 Android Development] mms047:
Caf Kernel booted perfectly with beanstalk 30 jan build. Karnel seems pretty good. Haven't check the battery yet. will notify tmro if I can. Now waiting starts for s2w implimantation. Hats off to dev.
[Mi 3 Android Development] KEKEMON:
used 1st jan build with 24 jan CAF battery life was 2 hrs SOT :( :(
[Mi 3 Android Development] Dashing_97:
[MENTION=5579787]vasishath[/MENTION] you have done a great job with this kernel, caf build works perfectly well with smiui mm but please let me know why is the theme and wallpapers getting reset while it is not the case with stock kernel :/
[Mi 3 Android Development] DevinNath:
Bug now

I use smiui 5.1.28, and now cant read otg and switch WiFi on... Any people have this problem too? 6.1.28 miui caf kernel:confused:
[Mi 3 Android Development] poorEnglish:
im on miui dev global 6.1.2.8 .. im using CAF but my wifi can't detecting ..
[Mi 3 Android Development] poorEnglish:
your problem same with me..
[Mi 3 Android Development] rpjuvvadi:
Did you guys get any error while flashing the Kernel?
[Mi 3 Android Development] poorEnglish:
no.. proccess installing kernel haven't problem.. after that wifi cant ON (mac address error, some file losing at /sys/device/fb00000_) and couldnt read otg
[Mi 3 Android Development] extrahacker:
Thanks! It works fine with latest MM MIUI 6.2.4. Wi-Fi works!
[Mi 3 Android Development] satvikvg:
Where is latest build, I am getting 12.17.15 build from 19 th December 2015 it seems please give me link to kernel that works with miui mm 6.2.4 thanks
[Mi 3 Android Development] extrahacker:
Here
[Mi 3 Android Development] pratyush997:
Which version of this kernel works best with latest MIUI or any LP 5.1.1 ROM ?

Edit

Found it ^^
[Mi 3 Android Development] mms047:
well, I tried the caf kernel in beanstalk 30th jan build. At first it was promising, smooth and everything works. but after 1-2 days use, the battery backup became very poor. I got only 2.3hr sot after 3rd day use. and also the rom became laggy.
[Mi 3 Android Development] purval6300:
Does caf kernel support multirom?
[Mi 3 Android Development] Dashing_97:
[MENTION=5579787]vasishath[/MENTION] Themes reset guys, dont you want that fixed? MIUI is no fun without themes! Even the wallpapers reset at every boot!
[Mi 3 Android Development] vasishath:
I am not ur employee that I will fix all bugs. I dnt give a damn whatever happens to miui.. If u cant live without wallpapers, dont flash this kernel. Simple
[Mi 3 Android Development] saiyammorakhiya:
Hey bro i dont know but i m not getting 6.2.4 update i m on 6.1.28 right now!! Have u ota update zip or link for update fron 6.1.28 to 6.2.4 !! Den share with me!! Thnks in advance!!
[Mi 3 Android Development] HanG:
Wich version of Kernel can i use with last MM Ivan Rom?
[Mi 3 Android Development] Me_Ashish_:
Use CAF version
[Mi 3 Android Development] Dashing_97:
I am sorry, I never irritate the devs, by repeated questions, It was my bad that I did it today, the bug is a very small one but has existed since the beginning, I will use your kernel whatsoever and hope a solution is found ;)
[Mi 3 Android Development] vasishath:
Thats better.. Now send me a logcat cause then only I can help you
[Mi 3 Android Development] Dashing_97:
I will flash the new kernel version released, and take the logcat if the problem repeats, thankyou :)
[Mi 3 Android Development] vasishath:
Will post a new build tonite.. Mostly a few bug fixes. Now i need u all to test and compare the batt life of zx cm vs caf kernel. Both under standby and usage.
[Mi 3 Android Development] minhduong11:
Yep, ready for testing [emoji7] great man [emoji56]

Including s2w?
[Mi 3 Android Development] pratyush997:
Hope it sports KCAL controls and s2w(?) :D
[Mi 3 Android Development] vasishath:
New CAF build

New CAF build. This is only for marshmallow (with wifi module)

Add s2w support

If more people are on cm (or any rom that doesnt use wifi module) then tell me I will make a build without module too.

Procedure for testing:-

Test this build and the zx cm build (the last one) on any rom (ofcourse on which both work) for batt life in standby and usage. I want to see mainly that the sudden battery drop in caf is merely a reading error or actual drain. So, this will give an overview of batt life difference (if any) in zx cm and caf.

And please stay on one rom during testing so that there is no chance of rom causing batt life changes.

If u wanna test with s2w, then enable on both, again for a fair comparison.

Thanks all.
[Mi 3 Android Development] saiyammorakhiya:
Is it work with miui mm?? If yes den i m ready to test!! [emoji4]
[Mi 3 Android Development] harris123424:
Miui 7 Marshmallow 02-08-2016 kernel: black screen.... with twrp recovery 3.0.0
[Mi 3 Android Development] pratyush997:
[MENTION=5579787]vasishath[/MENTION]

Encountered this on Mi3 16 GB. Beanstalk Jan 30 Build, TWRP 3.0

Youtube
[Mi 3 Android Development] mipo007:
Same issue with latest version of Matoxxi's RR.
[Mi 3 Android Development] neogen17:
Miui MM, screen goes black after flashing 02-08 caf release.
[Mi 3 Android Development] vishal24387:
Sorry dont want to report same issue that screen goes black but thought to post it so that developer will know testers are testing kernel properly :)
[Mi 3 Android Development] vasishath:
Oh no it seems i gave a wrong build.. Sorry will post again

Update : try this build please.
[Mi 3 Android Development] harris123424:
It works :D

MIUI 7 marshmallow s2w <3
[Mi 3 Android Development] mipo007:
Wifi is broken in Matoxxi's RR latest build.

It is possible fixed it?

Thanks!

Enviado desde mi MI 3W mediante Tapatalk
[Mi 3 Android Development] saiyammorakhiya:
Hey is it working with wifi also??
[Mi 3 Android Development] neogen17:
Everything's is working with new build and touch is so responsive.. Will use it and report about battery life and any glitches if any.
[Mi 3 Android Development] vroyibg:
Everything working on CM13 except wifi. Hope you make a build without wlan module.
[Mi 3 Android Development] empty14:
after flashing this my root access gone.. supersu says there is no SU binary installed ...

and when i tried flashing the supersu ,kernel goes back to stock...

im using miui 7 6.2.4

any help please?
[Mi 3 Android Development] satvikvg:
Thanks for s2w in miui mm

I just want to know if s2w effects the hardware I.e., 'touch digitizer' in any way or its safe to use..?

Please let me know, thanks.
[Mi 3 Android Development] vishal24387:
No...it doesnt affect hardware and its completely safe.
[Mi 3 Android Development] ch3tan007:
i really appreciate ur efforts for building latest and featuristic kernel.

But when i tried latest caf2.8.16(attachement file) build on RR 5.1.1 based on cm 12.1, screen stuck at boot animation. :(
[Mi 3 Android Development] mms047:
I m on aicp. it broke my wifi.
[Mi 3 Android Development] vroyibg:
This build is only for marshmallow roms.
[Mi 3 Android Development] LKc丶:
Works fine on MIUI MM (6.2.5)and no WIFI problem :D
[Mi 3 Android Development] ch3tan007:
Ohhh my bad, thnx for info
[Mi 3 Android Development] empty14:
how you get root access?..
[Mi 3 Android Development] LKc丶:
I didn't flash SuperSu but use default SU(in Security),and it still works after flash the kernel.
[Mi 3 Android Development] harris123424:
Yes wifi works for miui!
[Mi 3 Android Development] harris123424:
S2w
[Mi 3 Android Development] Comby_sk:
Where i find it? Its a new app?
[Mi 3 Android Development] diongdyh:
Kernel Adiutor> Wake Gestures.
[Mi 3 Android Development] Comby_sk:
Thank you very much.

Btw: Wifi doesn´t work on MIUI 6.2.4.
[Mi 3 Android Development] escolano.adrian:
Where is wake gestures in kernel auditor? I cant find it. Theres a plugin or what?. Im use miui 6.2.4 mm. In other hand WiFi doesnt works, any solution?

Thanks in advance.
[Mi 3 Android Development] harris123424:
Install kernel.zip->wipe cache/dalvic->reboot system
[Mi 3 Android Development] Comby_sk:
I did it, but still wifi modules doesn´t works.
[Mi 3 Android Development] sidhg:
WiFi not working.. using latest slimbit mm rom
[Mi 3 Android Development] luiggifoo:
Hi for all, i have a Xiaomi Mi3 with this kernel, the last for MM, ZeurionXCAF-mm-01-09.16, but i can't activate DT2W.

I use kernel auditor and the app don't show me this part, why??

My rom is MIUI 7 6.2.5 Alpha Chinise

Thanks a lot
[Mi 3 Android Development] damian12332146:
WiFi doesn't work for me. :/ I was trying to wipe cache - nothing changed. I'm on Miui 6.2.4. Mi4 lte.
[Mi 3 Android Development] LKc丶:
DT2W isn't included in this version,but S2W is available.[emoji14]

通过我的 MI 3W 上的 Tapatalk发言
[Mi 3 Android Development] paul c:
My understanding is that wiping cache does not make any difference when installing a kernel.

Anyway, Mi3 kernels have branched into having AOSP/MIUI and CM variants. The classic symptom of a AOSP kernel on CM is that wi-fi is not working.

So I think the kernel available right now is for AOSP/MIUI.

Just tried this on a CM13 ROM, and no wifi - all the comments about no wifi are from users of CM ROMs.

Just give the dev some time (no hassling him), I'm sure he'll get there, but he may just have a life to attend to :good:
[Mi 3 Android Development] damian12332146:
I'm on Miui 6.2.4 and there's no wifi here, too.
[Mi 3 Android Development] GhostWANTED:
for me works (xiaomi.eu 6.2.4).. dirty flash rom , wait for first reboot and after that flash kernel.. it should work ;)
[Mi 3 Android Development] damian12332146:
It didn't help. :c
[Mi 3 Android Development] luiggifoo:
How can activate ??????
[Mi 3 Android Development] saiyammorakhiya:
Hey hv u root zip for miui mm 6.2.4?? I need it!!

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

Its pre activated!!
[Mi 3 Android Development] vishal24387:
Wifi fix (not sure)

Hey guys try this trick as posted by vasishath in his CAF rom thread. I am not at all sure that it will work or not as I am not able to try it. (as I am out of station). Its just my wild guess :p Whats harm in trying...

http://xdaforums.com/showpost.php?p=65088682&postcount=53
[Mi 3 Android Development] vasishath:
That is because cm is using wifi as built in while i am using the classical method of keeping it as an module
[Mi 3 Android Development] mipo007:
And which is the solution? Delete the module from system/lib?

Enviado desde mi MI 3W mediante Tapatalk
[Mi 3 Android Development] vasishath:
Nope.. I will have to compile a separate build. I will if a lot of people are on CM
[Mi 3 Android Development] vishal24387:
As far as I know most of the roms available with lots of features are based on CM. Even most of the people who reported (related to wifi) shows that most of the people are using CM related builds :)
[Mi 3 Android Development] vasishath:
That doesnt mean based on CM. the roms that are using audahadi's or joey's tree will face this problem
[Mi 3 Android Development] rishabhsharma2708:
It's working awesome in CM 13 but only WiFi is not working , not able to delete modules also and make a new one as the dev told.

Is the WiFi fix out ?
[Mi 3 Android Development] samkhan799:
works fine on mi4

works great on mi4 on beanstalk with wifi working

thankx for the kernal
[Mi 3 Android Development] luiggifoo:
I dont have the option in settings...probably the rom not show the option....
[Mi 3 Android Development] jaspuneet:
Go to security app > permissions > root access

Note: only china dev has root access in built not the global beta

---------- Post added at 11:00 PM ---------- Previous post was at 10:57 PM ----------

Can you tell me which build of beanstalk are you using bro?

For me it wasn't working on 6th feb build

If it is working for you I'll give it another try
[Mi 3 Android Development] samkhan799:
16 jan beanstalk build
[Mi 3 Android Development] luiggifoo:
Inside root access i dont have nothing....i use supersu 2.67
[Mi 3 Android Development] saiyammorakhiya:
How to swipe 2 sleep is work?? I m swiping on lower part of display but its not turn off display??
[Mi 3 Android Development] mms047:
well wifi works on beanstalk, I was on aicp, flashed the kernel, no wifi. switched back to beanstalk, flashed the kernel and viola! wifi works. thanks [MENTION=5579787]vasishath[/MENTION] for this awesome kernel. been using for a day and haven't faced any sod. Beattery seems good too. 25% lost in one hour sot after last charging. And also thanks to [MENTION=5162591]Shahan_mik3[/MENTION] for beanstalk!!! the best mm rom yet!
[Mi 3 Android Development] teodos:
is there a difference between standard kernel and ZeurionX kernel ? Battery life ? Performance ?
[Mi 3 Android Development] paul c:
Without wanting to start a plague of "me too" posts... I do use CM based ROMs and would really appreciate a CM build :)
[Mi 3 Android Development] vishal24387:
Same here. Just flashed kernel beanstalk on latest 6th feb build and wifi is working fine. Need to test kernel properly. But at least I tested in small time that normal charging speed is there. No slow charging bug :)
[Mi 3 Android Development] paul c:
Could you check if NFC is working for you, if it can be switched on?

Based on the comments about Beanstalk and ZeurionX, I updated a recent Beanstalk backup and flashed the kernel. Wifi was fine, but no NFC.

Mine's a Mi3...
[Mi 3 Android Development] Comby_sk:
How to work on MIUI 6.2.4? I tried this:

1. backup and remove:

/system/lib/modules/pronto/pronto_wlan.ko

/system/lib/modules/scsi_wait_scan.ko

/system/lib/modules/wlan.ko

2. reboot to recovery and flash kernel.zip

3. reboot to system, but kernel.zip installer didn't install scsi_wait_scan.ko and wlan.ko and wifi doesn't work

4. copy from kernel.zip:

/system/lib/modules/scsi_wait_scan.ko

/system/lib/modules/wlan.ko

5. change permissions of both files to rw-r--r--

6. reboot and wifi work

MI 3W Tapatalk
[Mi 3 Android Development] vroyibg:
Battery standby overnight on my Mi4w,s2w on, disabled wifi and 3g.
[Mi 3 Android Development] DutchMan_1990:
NFC has broken since last build. Could you please cheak that flash light in quick tiles menu is there or not after flashing the kernel? If it's not there,then can you able to add it?
[Mi 3 Android Development] vishal24387:
I never use nfc. But when you said to test it then after turning ON I experienced this kernel causes nfc bug. When I turned ON the nfc not able to respond. To fix it I reboot the phone. After reboot it is disabled now properly.

---------- Post added at 09:00 AM ---------- Previous post was at 08:56 AM ----------

For me flashlight option is still visible after flashing kernel. I dont think thats the kernel issue. Try to clean flash.
[Mi 3 Android Development] saiyammorakhiya:
Hey now everything working very cool!! Awsome kernel and grt work bro!!

I only wish that s2s and s2w is working only if i cross my finger and swipe!! So its lil uncomfortable!! So if you add dt2w also then its will be the best kernel ever!! ?
[Mi 3 Android Development] rpjuvvadi:
[MENTION=5579787]vasishath[/MENTION] . Hey, s2w wakes even when proximity sensor is covered with a finger. Is this intended behaviour?
[Mi 3 Android Development] damian12332146:
Thanks! It's working now! Mi4, miui 6.2.4

But I have strange bug. My phone's vibrations are so weak after flashing kernel, even on high strength. How can I return it to normal?

UPD. Nevermind, I found it in Kernel Adiutor. Sweep2wake works also. :)
[Mi 3 Android Development] vishal24387:
Review...

As vasishath said to test standby battery said here is my review...!!

I charged battery to 100% and kept a side to sleep mode. When I checked after 5 hrs battery dropped to 97%. Means 3% battery drop in 5 hrs (with s2w option on) which is really awesome. Because if we disable s2w option then I am sure we will have battery even less. May be just 1% drop in 5 hrs.

I am posting screenshots of battery stat. Look like mainly CM system ate my battery. Also stat showing that phone was awake sometimes in between. (I dont know why).

EDIT - I think I found culprit which kept my phone awake in sleep mode. Its radio app. I disabled it. Lets see what will be the result.

NOTE - While testing I kept 2g net, wifi etc off. I just kept network on.

I still haven't tested battery drain while using phone. I'll post my review about it later.
[Mi 3 Android Development] DGEEEK:
[MENTION=5579787]vasishath[/MENTION] new build is not working on smiui 6.1.28 and also on new smiui 6.2.4 base build

after flashing kernel (feb 8) the phone stuck up on mi.com logo
[Mi 3 Android Development] Rahul.:
WiFi broke...:(

Tested on latest CM Nightly, Mokee, Candy6...WiFi broke...:crying:
[Mi 3 Android Development] Shahan_mik3:
Candy will fix it.
[Mi 3 Android Development] Dashing_97:
Hello my brother [MENTION=5579787]vasishath[/MENTION] I have not found the theme resseting bug in your new kernel ;)
[Mi 3 Android Development] mms047:
Try beanstalk latest.
[Mi 3 Android Development] mms047:
Here is the screenshots after a days use in beanstalk 6.06 (30jan build).

Most of the time phone is awake because I do torrents a lot when connected to wifi.

facebook app isn't installed, only meesenger.

s2w & s2s activated.
[Mi 3 Android Development] Shahan_mik3:
Also chk ur mobile networks...weak connections drain more batt
[Mi 3 Android Development] mms047:
I get low 3g connection in my room :(

its always 2bars when I m at my room with 3g.
[Mi 3 Android Development] minhduong11:
Yep, i think dt2w is easier to use than s2w
[Mi 3 Android Development] vroyibg:
And also easier to wake up your phone in pocket, other kernels that support dt2w have wake up in pocket problem, it is very annoying.
[Mi 3 Android Development] Shahan_mik3:
If u put ur phone in the pocket obviously ur Thai will touch it!!! :p
[Mi 3 Android Development] Shahan_mik3:
So we should make sure that the Thai shouldn't touch the display but can touch the phone ????
[Mi 3 Android Development] pratyush997:
Shanan's trolling mode ACTIVATED.
[Mi 3 Android Development] tendulkaradi:
Your comments brought me back to XDA app xD thanks
[Mi 3 Android Development] vishal24387:
Final review...

So after testing kernel during sleep mode and while usage I can conclude following this.

1. There is a huge battery drain. In sleep mode (with and even without s2w) we can see in battery stat that phone become awake in between sometimes. It couldn't able to go to total deep sleep mode properly.

2. While using there ia a huge battery drain. With minimum brightness and even with underclocking and efficient battery profile battery keep on decreasing at faster rate. It hardly gave 55 min of SOT for first 100 to 90% battery drop while using phone. On default kernel of beanstalk it easily cross 1 hr 5 min even without underclocking or any other modification in battery profile.

3. S2w -- I must say vasishath has done a brilliant job. S2w just work superb anytime whenever we pickup phone). It never failed me. In just one swipe it always worked. Dt2w is little bit messy as per my experience. Many time in deep sleep mode people complained they need to tap 3-4 times to wakeup phone and accidental wakeup of phone in pocket. So for me s2w is best.

4. Kernel features works properly with help of kernel aidutor (hope I spelled it correctly). Phone runs smoothly. But we can experience a little bit heating of phone even in underclocking with some basic operations like whatsapp or using opera mini.

5. This kernel has a lot potential. Few days ago vasishath had released zx kernel for lollipop and battery backup on that kernel is just out of this world :D But on that kernel vdo rec doesn't work, speaker volume is too low and my favourite s2w was missing. Just to test this kernel I flashed beanstalk latest build (which is working beyond my expectations in terms of battery backup and smoothness).

Final words,

This kernel just need to get rid of wakelocks that keep phone awake. If that is done then no one will beat this kernel :)
[Mi 3 Android Development] Dashing_97:
Hey guys today while using the camera, a black screen appeared after some time and i had to soft reset the phone
[Mi 3 Android Development] vasishath:
Thanx for ur extensive review.. Hmm i dont have these wakelocks as u said.. But in my latest build this drain seems fixed.. Will upload soon if its stable enough
[Mi 3 Android Development] mipo007:
Oh good!!!! I'm expecting for this build!! ??
[Mi 3 Android Development] minhduong11:
Ready for testing :D
[Mi 3 Android Development] vishal24387:
I am happy that I helped you somehow. I would love to help with new build :)
[Mi 3 Android Development] k4mik4z:
I'm using ZeurionXCAF-lp-01-09-16.zip kernel for miui kk rom ,everything works except fm radio ,which when you try to use ,shows starting prompt and does nothing else

Im not sure whether this bug has been reported elsewhere ,if not I'll update with logcat

Edit

Attached nevertheless