yashsingh1/xdaforums huggingface dataset:
[Mi 3 Android Development] haitaczizi:
[MENTION=5579787]vasishath[/MENTION] im using your latest kernel (8/2) on my MM miui, battery life is better than stock, but i experience some bugs with my device below:

- Dont see any advance governor (same with stock),hotplug..etc

-Only WakeUp option added, but s2w work within 3s after screen off, and never work anymore

Please help me with this bug, because i dont see anyone have the same bug
[Mi 3 Android Development] Shahan_mik3:
There is no advanced fancy gov or hotplugs.
[Mi 3 Android Development] josedb:
For people wondering about wakelocks and battery drain...
[Mi 3 Android Development] satvikvg:
Dose it affect hardware like damaging touch module or something like that..?
[Mi 3 Android Development] pratyush997:
It can be changed to fullscreen using Kernel Adiutor.
[Mi 3 Android Development] velliam:
Slimbit - Slimlp version working well. Is there any voltage control on this rom like on gnome stuxnet?
[Mi 3 Android Development] bmdhj:
Same bro. I used the same governor, smartmax_eps 1.2ghz and disable sync threshold and input boost frequency. GPU power save at 462mhz, and MSM hotplug on. 4.5 SOT, with 5-10% battery drian in 8-10 hours.

Normally I get SOT 5.5-7 in Xcelerate Kernel, and idle battery drain 2-4% in 8-10 hours.

Not I am trying to compare, just that I feel if SOT at 5.5 hours is good enough as I really appreciate what you have been doing Dev :) Tap to awake has been the best release for Xiaomi mi3. Thank you again, and do reply if you can :)
[Mi 3 Android Development] Me_Ashish_:
Yep but setting full screen makes it not work at all

Bottom half will anyway do the job for me
[Mi 3 Android Development] fluster84:
Anyone got this working with Mokee latest nightly (7th October) on a Mi4? My Mi4 fails to boot, just shows the Mi logo and then stuck on a blank screen.
[Mi 3 Android Development] josedb:
Does Xcelerate have dt2w? because we can presume that the battery drain with this kernel is due to this feature. As the touchpad is energized, it consumes very low power but its something.
[Mi 3 Android Development] aditya70:
This is the best kernel I've used so far on my mi3!

Sometimes it gets wake by swipe though..

How do I integrate this to gmd gesture control?

I set gestures on lockscreen and the phone vibrates as soon as I complete a gesture while the screen is off. But the screen doesn't wake up.

Although after manually unlocking, the gesture is completed!

Can it be used to wake up the device on a successful gesture? Since it sometimes wakes up by a simple swipe on the screen which is not even a gesture.!
[Mi 3 Android Development] Hadi al-Haiqal:
Done flash to cm12.1... It's feel good.. Having dt2w.. Thanks dev.. This is my first phone that have dt2w.. Bitti did giving us first one, but i do stick to one rom, which is cm12.1... Been using it since build 3 which is bootable.. Now you make my dream reality.. And it is permissive.. Meaning that it can support fully viperfx.. Just one last question.. Do i need to flash this kernel everytime with full cm12.1 update?..
[Mi 3 Android Development] fotosintesis:
By default(every kernel work this way), you dont have to flash any kernel back for each consecutive OTA/rom update;

But then, flashing a working kernel does make a different on each custom rom.

Its your go.
[Mi 3 Android Development] avinashattitude:
Does this kernel support fast charging???? Like around 1400mA?? Like stuxnet did before?
[Mi 3 Android Development] Hadi al-Haiqal:
It is usb fast charge right?.. I use it to my laptop.. It does support usb fast charge also.. My battery was 65%, it just gone 1000mA.. 750mA at 90%..
[Mi 3 Android Development] 24likan:
Excellent job. So far all good in MIUI 6.lets see. Thanks a lot.
[Mi 3 Android Development] pratyush997:
I'm on" DU_cancro_5.1.1_20150928-0931.v9.7-TEST.zip " and Slim Gapps (mini ~ 200 MB).

My flashing procedure is kind of different.

Use CWM to Wipe everything.

Select "System 1" in advanced options to affirm the selected boot partition.

Use TWRP to wipe everything.

Reboot recovery ( to TWRP)

Flash DU

Flash Gapps

Reboot

Flash Kernel

Reboot

Tweak Kernel settings

Reboot

Leave it to rest for 5 mins.

Start using it.
[Mi 3 Android Development] sgcko7:
Please can you be more specific about the kernel settings? I have problem to reach such SOT. So if you can give a little more info about kernel settings so I can copy them it would be nice. Thanks ;)

---------- Post added at 09:58 AM ---------- Previous post was at 09:53 AM ----------

Hi,

Ive got MI3, MoKee (150927-release) working fine and so far no problems faced. Did you do wipe cache/dalvik before flashing kernel? I suggest you to use RELEASE versions of the MoKee ROM. If its not going to work for you with the RELEASE version try to do nandroid bckp and after that wipe system data, caches and istall ROM, GAPPS >> BOOT >> Install KERNEL >>> BOOT (As Gapps Im using TK micro gapps)

Hope you ll get it working
[Mi 3 Android Development] smh.saad:
could you please link.me.this rom.?
[Mi 3 Android Development] vyklouz:
Sorry, your metod didnt work in my case. :( I allways get phone.process fc, or just blank screen! :( I try three diferent gapps, but anytime its the same result. So i have some questions: what exactly gapps you are using? after flash gapps, you mean reboot to system and set it, or to recovery? Is it possible im using wrong recovery (CWM r11, TWRP v2.8.7.0 - 20150621), what recovery are u using? And last think, what kernel tweeks ar u mean? Thanks for reply!
[Mi 3 Android Development] fluster84:
Hi, unfortunately installing it with release version of Mokee didn't help. I downloaded the 150927-release version and followed your steps but still getting stuck on blank screen. Maybe its because im using a Mi4? Anyway Im back on mokee nightly for the time being. If I ever switch to another rom or when the kernel gets updated I will try again. :)
[Mi 3 Android Development] pratyush997:
Are you sure that you flashed the repartition zip?

I'm using the same recoveries. What I meant is that I selected Primary Boot system as System 1 (Works for AOSP).

I'm using this gapps
[Mi 3 Android Development] vasishath:
Yes because kitkat requires radio module but marshmallow has wants it built in.. So supporting both is impossible..
[Mi 3 Android Development] vasishath:
3 sec delay is there for everyone.. Its an explicitly added delay to prevent any accidental wake
[Mi 3 Android Development] smh.saad:
:'( where is the latest download link i can't find it
[Mi 3 Android Development] haitaczizi:
When you release full feature kernel for mm?
[Mi 3 Android Development] vasishath:
Post apocylapse.. No ETAs please
[Mi 3 Android Development] minhduong11:
Sometimes, my phone get very high temperature for no reason

Anyone gets this prob?
[Mi 3 Android Development] vasishath:
Probably you tried to edit build.prop from kernel adiutor.. There is a bug in that. Thats why ur sed process is taking up all cpu. Reboot your phone to fix this. Or manually kill the sed process using

killall -s KILL sed

In android terminal as root.
[Mi 3 Android Development] Kazryu:
anyone using slimbit? is it working with this kernel?

i mean my wifi are gone, seems like it's a CM build problem but slimbit isn't a full CM build
[Mi 3 Android Development] minhduong11:
I did right?
[Mi 3 Android Development] vasishath:
it is killall -s KILL sed

KILL is in uppercase
[Mi 3 Android Development] haitaczizi:
[MENTION=5579787]vasishath[/MENTION] you dont understand my bug

When i turn off phone by power button, if i use s2w immediately it work correctly. But after 3 second since screen off, s2w will not work anymore
[Mi 3 Android Development] sat13734:
I am a newbie when it comes to Kernel installation. How do I do that on the custom Beanstalk rom for MI3 Cancro? Is this kernel able to support that?
[Mi 3 Android Development] DroidBot:
just download zip file and flash from recovery.
[Mi 3 Android Development] rishabhsharma2708:
Is the WiFi problem fixed for cm13 ?
[Mi 3 Android Development] paul c:
No new builds have been posted since it was discussed.

Anyway, just try the kernel - if it doesn't work out, just flash your ROM zip back over (or your other preferred kernel) and you will be OK.

That's a lot faster than posting a question and waiting for a reply :)
[Mi 3 Android Development] rishabhsharma2708:
Thanks but I've already done that a lot earlier :)

I am also waiting for new build
[Mi 3 Android Development] kameFR:
hi, app photo seem not work with mui globale 7.1.1.0 stable 4.4.4
[Mi 3 Android Development] DevinNath:
Caf kernel

Can i install caf kernel on cm12.1 without any problem? Like wifi or etc...:)
[Mi 3 Android Development] vasishath:
New build

New build:-

1. Update to latest CAF tag

2. This should be last testing build as battery seems fine now.. Now all depends on reports from u guys..

Note :- this build is non modular.. Means its for cm users.. I will upload modular build later..
[Mi 3 Android Development] pipex:
My Mi4 LTE-CU not accept custom kernels... Any solve for this?
[Mi 3 Android Development] caped:
can we flash this on miui mm build??
[Mi 3 Android Development] harris123424:
Yes, you can.BUT wifi don't work...
[Mi 3 Android Development] caped:
Are you sure??
[Mi 3 Android Development] harris123424:
Wifi off...but it works.
[Mi 3 Android Development] caped:
How is the battery backup??? Is it better than stock kernel?? Any heating issues while playing games??
[Mi 3 Android Development] Me_Ashish_:
Wi-Fi works on Beanstalk.

But no hotplugs? At least keep the stock one.
[Mi 3 Android Development] pipex:
Anyone know why My Mi4 LTE-CU not accept custom kernels... Any solve for this? :eek:
[Mi 3 Android Development] vasishath:
Huh ? I didnt remove hotplug.. I am using the same build and i have mpdecision..
[Mi 3 Android Development] DevinNath:
Can i use it at last cm12.1 build on mi3? Reply me pls
[Mi 3 Android Development] Gaurav8651000:
Which build of beanstalk,please mention

Wifi not working for me
[Mi 3 Android Development] Me_Ashish_:
No hotplugs for me. Anyways as usual I switched back to CAF ROM.

BTW the stock kernel Beanstalk did not have MPDecison, only a custom hotplug it had (was Mako if I remember correct)
[Mi 3 Android Development] vasishath:
So did that fix ur problem ?
[Mi 3 Android Development] vasishath:
Module version of the kernel

Here is the module version of the kernel for caf and all other roms that use wifi module..
[Mi 3 Android Development] Me_Ashish_:
'That'? I did no more testing. Didn't flash that kernel on CAF either. Let someone else report it too.

Same kernel as included with last CAF ROM, or its updated?
[Mi 3 Android Development] error01671:
Wi-Fi is not working on latest Ivan's AOSP.

Edit: Never mind, I flashed this build and replaced the Wi-Fi module from 02/08 version and it worked again.
[Mi 3 Android Development] minhduong11:
What does sed process do? After killing it is ok. So can i do smt to remove it so dont have to kill it manually? Tks in adv
[Mi 3 Android Development] raul421:
Miui kk mi3

can we kk miui users also get the updated kernel please?:silly::confused:
[Mi 3 Android Development] damian12332146:
I installed the latest version of the kernel on Miui 6.2.18 (Mi4Lte), wifi works, but I have a problem with the camera. There is this error: "Camera error. Still can not connect to camera. Try restarting your device." I think it is the fault of the kernel because after returning to stock everything is OK.
[Mi 3 Android Development] minhduong11:
Some awake when screen off.
[Mi 3 Android Development] kewll65:
I am on Candy5 and i have camera unable to connect issue as well plus missing Flashlight in quick setting tile. Have reverted to version 01-09-16 as only this version does not have any issue for me. Any workaround for this? Otherwise this kernel is buttery smooth and the best I have tested. Thanks Vasi for the great job.
[Mi 3 Android Development] 11prathmesh:
Does the modular build work fine with Ivan's in you case? Because when I flashed it, screen went black few seconds after the boot. Phone was working, but not the screen.
[Mi 3 Android Development] error01671:
Yes, only Wi-Fi module was not working for me.
[Mi 3 Android Development] gamesky:
working fine, wifi also working. on mi3 miui 7 6.2.18
[Mi 3 Android Development] mms047:
did u flashed 6.2.18 through fastboot by miflash? and which twrp u installed 2.8.7.0 or 3.0.0?
[Mi 3 Android Development] shadab007g:
First of all thanks to the dev for the kernel and specially d2w and s2s feature. I flashed the latest kernel on miui 7 6.2.25 mm build and everything was working perfectly except the battery backup and thats why i returned back to stock kernel again.

D2w and s2s were working so well and the sound distortion problem at higher volume on miui mm rom vanishes after flashing this kernel.

But the battery backup was not so great, it was like 1% drop in every 20 mins approx when not using phone.

My setting for the kernel was d2w and s2s enabled and max cpu frequency fixed below 1.5Ghz. Kernel auditor was showing that deep sleep is getting active but then also battery were dropping by 1% every 20 mins. Please guide me if i did something wrong or messed up with the kernel setting.
[Mi 3 Android Development] gamesky:
twrp, 3.0
[Mi 3 Android Development] caped:
How to activate fast charging on beanstalk with ZeurionXCAF--02-18-16
[Mi 3 Android Development] miss:
ZeurionXCAF--02-18-16

Mi3 whit rom cm13 official, wifi no work
[Mi 3 Android Development] rxl.noir:
Use the non-modular one.

There are two versions of 02-18-16, the non-modular for CM, and modular for the rest.

View the post from the quote below to get to the link.
[Mi 3 Android Development] miss:
thanks and I tried both versions. wifi does not start
[Mi 3 Android Development] saxmydix:
i think you should dirty flash rom then flash the kernel. because of the left over from previous kernel.
[Mi 3 Android Development] Dashur7:
Anyone tried it on unofficial DU? I tried the 02-18-16 modular build but WiFi doesn't work. Any fix?
[Mi 3 Android Development] 1immortal:
try to flash this one:

http://xdaforums.com/showpost.php?p=65407895&postcount=799
[Mi 3 Android Development] Dashur7:
Thanks it worked :)
[Mi 3 Android Development] Me_Ashish_:
Hoping the next update to fix the random screen going black. Becomes annoying when happened while playing Vainglory, consumes up a minute of game.
[Mi 3 Android Development] mms047:
Faced a SOD during a call. Hae you faced any? [MENTION=6859896]Dashur7[/MENTION]? I am on DU latest with zeurionXcaf CM version.
[Mi 3 Android Development] Dashur7:
I'm also on the latest version of DU but haven't faced any SOD yet.
[Mi 3 Android Development] mms047:
[MENTION=5579787]vasishath[/MENTION] when I download apps froom playstore, the downloading when connecting to wifi pauses automatically when I turn off the screen. Other downloading were ok, like downloading in UC Browser. This happens after installing the kernel. I am on DU 11 March build.

---------- Post added at 11:43 PM ---------- Previous post was at 11:42 PM ----------

[/COLOR [MENTION=5579787]vasishath[/MENTION] when I download apps froom playstore, the downloading when connecting to wifi pauses automatically when I turn off the screen. Other downloading were ok, like downloading in UC Browser. This happens after installing the kernel. I am on DU 11 March build.
[Mi 3 Android Development] error01671:
Extract the Wi-Fi module from 02-08 version, I got this worked on Ivan's AOSP.
[Mi 3 Android Development] richard el renthlei:
will this work on miui 7 marshmallow rom????
[Mi 3 Android Development] mig0r:
main camera on mi4 (cm13) doesn't work with this kernel
[Mi 3 Android Development] mms047:
I am getting really good SOT in DU unofficial mm 11march build.

I have got 5 hours SOT today. Yesterday it was 5.3 hours.

I got only 3.5-4.5 hours SOT max in beanstalk.
[Mi 3 Android Development] mdfarazb2:
Wifi not working in RR Os MM after flashing CAF version...plzz someone guide me how to fix it...!!!!
[Mi 3 Android Development] likenplus01:
Mi4w rom miui xiaomi.eu 6.3.17 ?????

Gửi từ MI 4W của tôi bằng cách sử dụng Tapatalk
[Mi 3 Android Development] mms047:
which version u tried? if non-moduler build don't work, flash thehe moduler build.

try flashing the moduler build. It should work.
[Mi 3 Android Development] mdfarazb2:
Ohh....OK Let's try

Edit: flashed the modular version still wifi and hotspot are not working....:(
[Mi 3 Android Development] 1immortal:
funny i'm quoting myself :)
[Mi 3 Android Development] mms047:
go back a few replys. someone said replaicing the modues of previous build worked for him. U can try too.
[Mi 3 Android Development] Dashur7:
Nope had not faced any:)

Currently testing on Latest RR (No SODs yet:p)
[Mi 3 Android Development] tendulkaradi:
Thanks a lot

Will flash on miui mm 6.2.17 and report :)
[Mi 3 Android Development] R1kki:
hello.

my report.

kernel w modules

MI4W + custom MIUI MM from MiuiPRO + TWRP 3.0.0. last update a rom 6/3/17

in the start all working fine, have a great sound, working RILs and WiFi, working camera's, but have some micro-freezzes. i was change a governor to Ondemand - and everything was fine!

But..

my phone powered off and didnt power on a some time. i was open a TWRP and reboot to system.

but since 10 minutes - phone powered off again.

my opinion: good working s2w + s2s, have good battery life + customization.

but that incident say me about to return stock kernel.
[Mi 3 Android Development] mms047:
Yeah, I faced that too, I was on DU mm, everything worked fine with good battery backup, even I got 5+ hours sot wwith s2w on. only faced SOD during calls 4-5 times all so ever, used for 10 days. but today I flashed a font zip which I flashed earleier with successfull booting, but today it got stuck at the mi logo. so I had to dirty flash rom again. again, good kernel, thumbs up to dev.
[Mi 3 Android Development] R1kki:
i was back to stock rom (TWRP backup for boot didnt give me a working wifi) at install again. but i want flash it boot at this instruction:

1. install kernel auditor and change delay to change kernel's params - 80 sec

2. going to TWRP, wipe cache/art

3. install kernel

4. wipes again.

5. reboot, change Ondemand, 75% vibro, S2W + S2S.

now im charging but i dont hafe some reboot or power off. at least i have a night for test :)
[Mi 3 Android Development] 11prathmesh:
Did you ever change/replace the battery of your MI3 ? How old is your device?
[Mi 3 Android Development] mms047:
No, its mi4 and only 6 months old.
[Mi 3 Android Development] Shahan_mik3:
[MENTION=5579787]vasishath[/MENTION] has done good job with getting caf stable and now starts the good part.

All the builds from now will be tagged and will be easily identifiable and features which are useful and working will be added and oly feature request which are useful will be considered (please don't ask xyz govs as only the required ones will be added).

So kernel will be getting a bump soon.
[Mi 3 Android Development] vinaysp:
will u add back dt2w?
[Mi 3 Android Development] karthikb89:
A kind request to add download links and other important info (like compatible ROMs) to the first/second post.

Will the latest CAF kernel support Ivan's AOSP 2016.3.22?
[Mi 3 Android Development] Shahan_mik3:
Nope

U can test it out and let us know. Coz we can't test all roms

Use miui one (module)

Yeah download links and info will be updated in 2/3 post
[Mi 3 Android Development] vinaysp:
thanks
[Mi 3 Android Development] sdnavale:
Thermals🌋

Hi vasi

I have been using your kernel since 2 days now...i found almost no issues except for extreme heat on normal usage...

Rom-6.1.17 global miui

Hope you include good thermals in your next build.

Apart from that your kernel is rock solid!
[Mi 3 Android Development] jjbro007:
Does this kernel support miui KK.if so which version to download. i badly need double tap to wake ..
[Mi 3 Android Development] richard el renthlei:
me too lokking for kernel or rom which keeps the device really cool
[Mi 3 Android Development] mms047:
This kernel is only for MM roms.
[Mi 3 Android Development] Kanth's:
only this kernel works good for me
[Mi 3 Android Development] georgedao123:
This kernel is nearly perfect for MM ROMs built after March 1st. Thanks developer for your great work.

However, SELinux is always set to Permissive after fresh boot, although I can change it to Enforcing. Does anyone face the same thing?
[Mi 3 Android Development] Arman_Koradia:
Does this Kernel works with CyanogenMod 13 Android 6 on Mi3W ? Any updates coming for this kernel?
[Mi 3 Android Development] TheCarryEnd:
Some quick toggles disappear on latest RR. Flashlight and Hotspot for example.
[Mi 3 Android Development] BIOLorenz:
For hotspot you have to activate and deactivate hotspot at least 1 time, then the toogle remains there. For flashlight I think is kernel related.
[Mi 3 Android Development] NasiJagung:
can i use this kernel on PA ROM 5.1.1 ??
[Mi 3 Android Development] pratyush997:
S2W works as expected on MIUI MM 6.3.31 build.
[Mi 3 Android Development] TheCarryEnd:
Flashlight is more important to me. It's sad because I liked the battery life of this kernel.
[Mi 3 Android Development] vasishath:
Kernel updated. Please see second post for download links. The zips are now clearly named for wifi module and non module. Please read that post carefully.

Changes :-

1. Update to latest CAF tag LA.BF.1.1.3-01210-8x74.0

2. Update prima drivers to latest CAF tag.

3. Add slim, zzmove governor

4. Add sio, sioplus, fiops I/O scheds

5. Add LCD KCAL

6. Remove 1.5 Amp limit for fast charging current on Mi3. The limit is now 2 Ampere.

7. Add faux sound control

8. Add msm hotplug

9. Some battery driver changes that should improve battery life.
[Mi 3 Android Development] 1immortal:
Flashed the moduleless one, booted up, will report after 2~3 days of usage!

Thanks a gazillion for not dropping the development on this one !!!
[Mi 3 Android Development] marko94:
Thanks for new update :)

:good::o:)
[Mi 3 Android Development] pratyush997:
YAY KCAL is here!
[Mi 3 Android Development] Champi94:
Thanks¡¡¡ Testing for now¡¡
[Mi 3 Android Development] TheCarryEnd:
Testing this out now. Hope it fixes the flashlight issue. Thanks!

Edit: Flashlight bug still there on RR latest. Now I am sad
[Mi 3 Android Development] marko94:
Flashlight bug ? explain :)
[Mi 3 Android Development] TheCarryEnd:
Flashlight disappears on the Quick Toggles with this kernel. There's no way to put it back.
[Mi 3 Android Development] gingerboy92:
great work! currently running for 2-3 hours with no problems. btw, i flashed it while charging(and updating CM), the battery level jumped from around 20% to 99%, it's back to normal now though after it drained. also, kernel source link? :D
[Mi 3 Android Development] marko94:
Hm,for me ,no problems on miui :)

Btw awesome kernel, works perfect on miui, all works fine..so smooth,no heat in games,no lags during games or multitasking.. Thanks [MENTION=5579787]vasishath[/MENTION] for hard work:good::D
[Mi 3 Android Development] Shahan_mik3:
ROM issue
[Mi 3 Android Development] TheCarryEnd:
It's latest RR. Flashlight toggles are fine with stock kernel.
[Mi 3 Android Development] vasishath:
Thanks for shedding light on that one
[Mi 3 Android Development] Arman_Koradia:
Can i use it on CyanogenMod 13 on my Mi3W ??
[Mi 3 Android Development] marko94:
yes, u can :) flash CM version from here
[Mi 3 Android Development] danisfc6:
It works on miui kk?

Enviado desde mi MI 3W mediante Tapatalk
[Mi 3 Android Development] marko94:
No
[Mi 3 Android Development] paul c:
Using the cm variant on the AOSP CandySix ROM - NFC, autobrightness, phone, GPS all working great.

Thanks [MENTION=5579787]vasishath[/MENTION], great work.

Swipe to Wake also :good:but I haven't been able to convince it to sleep that way yet (using Kernel Adiutor)

Fast and smooth with the standard kernel settings (interactive) - I'll see what battery life looks like tomorrow after a full charge tonight.
[Mi 3 Android Development] neilrayer:
Thanks for the kernal.. everything is working fine.. fast charge, s2w fine and great.. no distortion via headphone.. but still there is distortion in speaker

I am currently in smiui 6.3.24.

kernal is awesome