yashsingh1/xdaforums huggingface dataset:
[Moto E Original Android Development] Adarsh1998:
No issues in r11 runnings fine here :)
[Moto E Original Android Development] 46R:
Is it possible to have an only-Sweep2Wake setting? (Without S2S) Because Sweep2Sleep is very sensitive and screen turns off e. g. when drawing pattern or turning pages in app drawer.
[Moto E Original Android Development] Adarsh1998:
No, it only sleeps when swipe through nav bar
[Moto E Original Android Development] 46R:
So maybe it just works badly on my device, because what I said doesn't happen anymore when disabling GW.
[Moto E Original Android Development] rainforce279:
What your rom currently ? please give a last_kmesg

sweep to sleep occur because powersuspend has been changed to userspace, so just change to hybrid back, it will just give us sweep to wake instead sweep to sleep.
[Moto E Original Android Development] treebaard:
Was using SlimLP, now PA 5.1. Happened once (bootloop) on PA as well, but didn't save the log. Will do if/next time it happens.
[Moto E Original Android Development] Adarsh1998:
-_- slimLP and PA is tooo outdated and not will be updated anymore, please use only latest ROMs to have custom kernels work flawlessly,
[Moto E Original Android Development] 46R:
Thank you very much! Solved!
[Moto E Original Android Development] saketh333:
It has to be added I guess

---------- Post added at 07:16 AM ---------- Previous post was at 07:16 AM ----------

What is LCD notify and how to use it?
[Moto E Original Android Development] rainforce279:
lcd notify doesn't have userspace control, its work automatic when lcd on or off, and used by some governor and simple core control, and it similiar like powersuspend, only just more speed over than powersuspend, but that not like powersuspend "can save some cycle(battery saver)".
[Moto E Original Android Development] chiranjitpanja:
Currently using r10 with CM13.. seems quite stable. No problem faced. It also fixed a bug of duplication of the vibration icon in status bar in landscape mode. In stock kernel, the vibration icon in status menu duplicated (one being at the correct position, the other at top of Nav bar in landscape mode).
[Moto E Original Android Development] Adarsh1998:
No such issue there in stock either
[Moto E Original Android Development] chiranjitpanja:
Humm.. thats good. But I faced it even after repeated installs.. Though it never caused any problem.
[Moto E Original Android Development] ankshious:
Anyone noticed the sudden fall in the battery, I mean to say that when the phone is operated for some time then there is no fall happen but after little bit of time there is sudden drop in the battery meter say 15 to 20%.

I'm using crdroid rom with smatmax+zen combination.

If someone has better combination then please tell me.

thanks in advance [emoji4] [emoji106].

Sent from STARK SERVER
[Moto E Original Android Development] rainforce279:
currently i'm working a commit, hope it will fix it.

try ondemandplus with tripndroid/noop (booth ext/int storage).

also try disable "gentle fair sleeper" in section misc kernel adiutor.
[Moto E Original Android Development] ankshious:
Okay, I'll try and review.

Finger crossed.

Sent from STARK SERVER
[Moto E Original Android Development] piyushkashyap216:
your r11 update is working fine (s2w version) since i installed no screen freeze issue but in over night battery droped to 25% beacuse of s2w pls implement pocket mode using proximity sensor so that when screen off and device screen is covered proximity sensor will disable the touch digitizer. this will save lots of power.

:good:
[Moto E Original Android Development] ankshious:
Hey [MENTION=5250109]rainforce279[/MENTION] I tried the combination whatever you said, battery backup is slightly improved but the battery drain bump is there yet.

Waiting for an update.

Thanks ?

Sent from STARK SERVER
[Moto E Original Android Development] rainforce279:
i was done add "pocket detection" and i'm still testing it, wait next update.

update will soon privided if no problem ;), currently i'm still testing some commit from caf and other.
[Moto E Original Android Development] -Adarsh-:
Hey whats this lcd notify ?plz explain
[Moto E Original Android Development] rainforce279:
have done explain in this http://xdaforums.com/showpost.php?p=64073953&postcount=258
[Moto E Original Android Development] rainforce279:
update r12.

here i bring some changes.

added features for GW version 'Pocket mode detection' for Sweep2wake ..

also i have try implement pocket mode in call activity and so far no issue.

and intelliplug added frequency limiter (disabled by default).

to enable pocket mode just type terminal:

echo 1 > /sys/android_touch/pocket_mode

disable pocket mode just change to 0.

for lazy people like me :p to enable pocket mode, i just build kernel adiutor so its unofficial, and if you want use it, you must uninstall official Kernel adiutor first and go install this.

i just add pocket mode switch, and done pull request to grarak.

unofficial_kernel_adiutor-13122015.apk -- MD5 : 3639b5d6e94f8ffad74549d9e8ea838e

thanks.

Download

CM-12.1 & AOSP = [ r12 - Release 2015-12-13 ] : Folder GestureWake/NoGestureWake Use Only for CM-12.1 & Aosp 5.1.1 Based Roms.

CM-13.0 (MarshMallow) = [ r10 - Release 2015-11-15 ] : Suspended currently wait until cm-13 nightly release.

NOTE : GestureWake = S2W.

Changelogs
[Moto E Original Android Development] booo159159:
[MENTION=5250109]rainforce279[/MENTION] what are your thoughts on underclocking.... just wanted to ask... if it's gonna be there or not... btw not asking when it is coming
[Moto E Original Android Development] rainforce279:
i was try uc, but too little effect on battery ..

if you want uc, i'll provided it on r13 release ...
[Moto E Original Android Development] booo159159:
well it won't hurt the kernel, would it? and it's always good to have a new feature though....
[Moto E Original Android Development] rainforce279:
testing and now freq not stable, always jump to high ..

not get to idle freq or min freq,

so i'm not sure this feature include or not in r13.
[Moto E Original Android Development] booo159159:
it's your choice,, you are the developer...this kernel is awesome anyways... :D stay awesome btw thanks :D
[Moto E Original Android Development] piyushkashyap216:
if implementation of uc makes kernel unstable pls don't add it

stable kernel will b more useful rather than having unstable kernel with many features
[Moto E Original Android Development] ankshious:
Can we use pocket mode option for NOGW kernel or it's only for GW?

Sent from STARK SERVER
[Moto E Original Android Development] 46R:
I think that this 'pocket mode' only works for GW, I mean, proximity sensor only activates/deactivates GW function when screen off, it doesn't turn on/off screen.
[Moto E Original Android Development] piyushkashyap216:
pocket mode is for s2w version

this mode saves battery

when we enable s2w if pocket mode is off and s2w is enabled battery drains very fast as touch is always enabled

pocket mode disables the touch when device's proximity sensor gets covered.
[Moto E Original Android Development] WickedCool19:
How to enable sweep to sleep?
[Moto E Original Android Development] ankshious:
Deleted.
[Moto E Original Android Development] magicw:
Use Kernel Adiutor app
[Moto E Original Android Development] WickedCool19:
Dude.. I know that ... I can see that.. but just turning on the wake.. Doesnt work for sleep.. Futher things need to be chnged.. That's what i was asking..
[Moto E Original Android Development] ankshious:
Deleted
[Moto E Original Android Development] 46R:
Screen freeze on boot

I'm facing screen freezing when device boots up with screen off. i.e. I reboot and let it completely load. When "Apply on boot" message from Kernel Adiutor appears, screen is off. After that, I use the button to turn it on but phone doesn't respond to touches. If I don't let screen to turn itself off during boot, there's no freeze.

It doesn't occur when S2W/S2S is off and still happens when S2W/S2S is on and 'Pocket mode' is off.

Please, tell me if Logcat is well provided. I'm trying to learn how to do it. :silly:
[Moto E Original Android Development] rainforce279:
already try fix it see my commit 3de23bdebb43539646b51a8d728f5bd4c885ac09

your logcat is usefull thanks.
[Moto E Original Android Development] magicw:
If you press on the marked area several options are provided - don't you have those?
[Moto E Original Android Development] WickedCool19:
I was on an earlier version of the kernel.. And it just had the sweep2sleep+wake option.. Enabled that.. But then the sleep option didn't work.. That is why is was a Lil confused.. Thanks anyway.. ?
[Moto E Original Android Development] Anish Goyal:
I got the same problem as 46R. Also one time I took my phone out of my pocket and i saw that it was doing anything like clicking buttons on its own. Unlock back again unlock. I managed to unlocl it somehow, then it was phone app back and then phone app. It was weird. Couldn't take a bug report.
[Moto E Original Android Development] WickedCool19:
Which version are u using?
[Moto E Original Android Development] Aashish:
great kernel but sometimes the touchscreen doesn't work when S2W is enabled !
[Moto E Original Android Development] dchatterjee172:
does gps work in "device only mode" in cm13 with this kernel?
[Moto E Original Android Development] Anish Goyal:
r12
[Moto E Original Android Development] 46R:
Hi! Merry Christmas!

I flashed 22nd Dec's nightly and 'Shadow finger' appeared (Without flashing Clarity)

'Shadow finger '=Screen isn't able to respond because it's like a finger is constantly touching it but nothing is on it.

I just say that because maybe kernel doesn't cause the whole issue.

I'm sorry, I couldn't repeat the bug and I can't provide logcat.
[Moto E Original Android Development] jaspreet.virdi:
It's happened when you touched screen with your wet hand. Lock your screen and clean with neat cloth. Its not kernel issue . use screen guard to protect .
[Moto E Original Android Development] rainforce279:
Update to r13 ...

CHANGELOGS​

# CM-12.1 - AOSP-L

- Build with UberToolchain 5.2

- Refresh Repo

- Back to Mpdecision by default and Intelliplug backend.

- Bring back doubletap2Wake.

- Cleanup unneeded commit/patch.

- Backport zram - zmalloc from linux 3.17.

- Tweaked deadline,cfq,zen,sio,sio+.

- Replace fsync control with dynamic fsync.

- add sysfs arch_power.

- Motorola QuickWakeup

- more.​

# CM-13 - AOSP-M

- Build with UberToolchain 5.2

- Upstream Linux 3.4.110.

- Sync to Latest cm-13 branch.

- Back to Mpdecision by default and Intelliplug backend.

- Cleanup unneeded commit/patch.

- Bring back doubletap2Wake.

- Backport zram - zmalloc from linux 3.17.

- Tweaked deadline,cfq,zen,sio,sio+.

- Replace fsync control with dynamic fsync.

- add sysfs arch_power.

- Motorola QuickWakeup.

- readahead to 512kb by default.

- more.​

For completely Changelogs see at my commit github
[Moto E Original Android Development] WickedCool19:
What is MotorolaQuickWakeUp?
[Moto E Original Android Development] rainforce279:
Allow kernel driver to do periodic jobs without resuming the full system. This option can increase battery life on android powered smartphone.

note: set by jira-key(motorola) check this : QuickWakeup
[Moto E Original Android Development] Aashish:
Just downloaded the kernel [emoji3]

Gonna flash it now !!!
[Moto E Original Android Development] Adarsh1998:
Awesome! Will try on marshmallow [emoji7]
[Moto E Original Android Development] Aashish:
[emoji7] [emoji7] Happy to see DT2W feature
[Moto E Original Android Development] ashuy93:
Awesome update..

Very smooth and good battery backup.

Nice to see dt2w back

Haven't experienced any screen freeze yet!!

PS : using r13 on lollipop
[Moto E Original Android Development] Anish Goyal:
Cant enable pocket mode...
[Moto E Original Android Development] -z3r0-:
You entered it wrong bruh.

Anyway use the attached kernel auditor app. There's an Wake Control option.
[Moto E Original Android Development] Anish Goyal:
I have entered it correctly. The e in the starting is not there in the screenshot. Anyways i will use the attached app.
[Moto E Original Android Development] -z3r0-:
Yes system partition is mounted as read-only using this kernel but it should not had interfered with that function.
[Moto E Original Android Development] abhishek8888:
Well after updating to r13 when battery drops below 10% screen doesn't respond after automatic lock I have to reboot the device to get it back to work
[Moto E Original Android Development] magicw:
Similar here. As soon as I activate a wake control feature (sweep or tap) it works fine during current running session.

But if I set "apply on boot" in KernelAdiutor and do a reboot the screen does not respond on any touch activity.

So I run adb and clear data in KernelAdiutor and reboot again then screen comes back responding on touch input. :silly:

That only happens with CM13 Kernel. CM12.1 kernel runs fine with "apply on boot" checked in KernelAdiutor.
[Moto E Original Android Development] spandu500:
This happened to me in the cm12.1 kernel too
[Moto E Original Android Development] Anish Goyal:
Yeah it happens when screen automatically locks first time after apply on boot has made its changes. Manually lock the screen after settings have been applied after boot.

---------- Post added at 07:48 AM ---------- Previous post was at 07:48 AM ----------

Can u enable otg support in the kernel please?
[Moto E Original Android Development] rainforce279:
ok .. now will be checked and try fixed it asap ..

thanks for reported!
[Moto E Original Android Development] Adarsh1998:
OTG? Our Little Device not supports OTG
[Moto E Original Android Development] Anish Goyal:
Ok
[Moto E Original Android Development] spandu500:
Does the kernel support f2fs file format and how is it better than ext4
[Moto E Original Android Development] Adarsh1998:
Yes it does!
[Moto E Original Android Development] rainforce279:
yes support, but you must format data partition to f2fs, probably you got bootloop, you must clean instal to do that ..

+1 ..

thanks for assist dude (y)
[Moto E Original Android Development] dchatterjee172:
for migrating data ext4 to f2fs:-

1> reboot to recovery

2>backup data

3>Go to Wipe/Advanced Wipe

4>Select Data

5>Select "Repair or Change File System"

6>Select "Change File System"

7>Select "F2FS" (Swipe to change will format the filesystem.)

8>Go to Settings

9>Select "Use rm -rf instead of formatting"

10>Go to Restore

11>Select your backup and check ONLY "Data"

12>Swipe to restore

13>When the restore is done, go to Settings and uncheck "Use rm -rf instead of formatting"
[Moto E Original Android Development] rainforce279:
r14 reserved for all.

in GW version has been fixed screen freeze after apply on boot, you don't neet set "apply on boot", dt2w already after boot.

And please if you have instal unofficial kernel adiutor in old op, please uninstal and reinstal with official on playstore. because we don't need to enable pocket mode since i was change it, and pocket mode always enable if S2W/DT2W enabled to.

Thanks. have a nice day!

This is Only main or separate for changelogs.

For completely Changelogs see at my commit github

# CM-12.1 - AOSP-L (r14 | 2016-01-05)

- Fix screen freeze on GW version after apply on boot, you don't neet set "apply on boot", dt2w already after boot.

- dyn_sync: use lcd notifier.

- Optimized ARM RWSEM algorithm.

- proc: enhance time-average nr_running stats.

- sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire.

- More.
​

# CM-13 - AOSP-M (r14 | 2016-01-05)

- Fix screen freeze on GW version after apply on boot, you don't neet set "apply on boot", dt2w already after boot.

- dyn_sync: use lcd notifier.

- Optimized ARM RWSEM algorithm.

- proc: enhance time-average nr_running stats.

- sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire.

- More.
​

Download

CM-12.1 & AOSP = [ r14 - Release 2016-01-05 ] : Folder GestureWake/NoGestureWake Use Only for CM-12.1 & Aosp 5.1.1 Based Roms.

CM-13.0 (MarshMallow) = [ r14 - Release 2016-01-05 ] : Folder GestureWake/NoGestureWake Use Only for CM-13.0 and should work in AOSP M.
[Moto E Original Android Development] TechnoAnder:
Good build (r14), :D
[Moto E Original Android Development] Anish Goyal:
Yeah good build. No freezes until now
[Moto E Original Android Development] spandu500:
Found a bug in r14 the screen freezes when we keep holding the top left of the screen ie where the carrier shows up I guess its due to the pocket mode (finger covering the proximity sensor) as in r13 it was not there
[Moto E Original Android Development] rainforce279:
it's not bugs, you may confused ..

it is feature pocket mode detection, if something hold the sensor(at the top left device) then touch screen goes to suspend and if not touch screen goes to on, it same like in the pocket, thats why that feature named "Pocket Mode Detection".
[Moto E Original Android Development] spandu500:
I know that but swiping from that side top left becomes impossible(nearly)
[Moto E Original Android Development] Raxcoms:
I'm using the latest gw kernel in lp and I don't have any problem like that.
[Moto E Original Android Development] spandu500:
Maybe its only me

---------- Post added at 05:36 PM ---------- Previous post was at 05:35 PM ----------

Or some cm13 issue as now its not there
[Moto E Original Android Development] ashuy93:
Nice update.. No screen freezes yet..

But after flashing GW version on LP, proximity sensor doesn't work for incoming calls.. (That is screen doesn't go off while talking on a incoming call).
[Moto E Original Android Development] rainforce279:
it seem hard to fix it, there was race condition of s2w/dt2w with notifier from phone.apk for enable proximity when call is comming.

if screen doesnt turn off when calling, you must off it manual(press power button or double tap statusbar). for now this workaround for it.
[Moto E Original Android Development] ashuy93:
Ohh ..

No worries

I'm using the same workaround ..

This is so far the most stable update..

Waiting for more exciting updates :)
[Moto E Original Android Development] suresh.anthati:
[MENTION=5250109]rainforce279[/MENTION] can fix call delay in next build?
[Moto E Original Android Development] abhishek8888:
Yeah fixing call delay would be sweet.
[Moto E Original Android Development] rainforce279:
i need logcat for it,

oh wait, i have plan build standart version next build, so there less caf code or something incorporate patches ..

just build with features, so hope thats fixed some bugs ...
[Moto E Original Android Development] rainforce279:
bump to r15

for lollipop maybe final on r15 and starting focus to M(cm-13).

so in this version, i decide to back linux 3.4.42 like CM original Repo.

and clear incorporate patches then apply some CAF patches only.

NOTE: on GW version if you using beanstalk and maybe some rom M(6.0), first boot DT2W maybe not work, simple way flip you phone or covered proximity sensor one time or twice and try DT2W, it should work but i have test in temasek-6.0 work and no problem, this is not cause by kernel but the rom problem.

CHANGELOGS​

# CM-12.1 - AOSP-L (r15 | 2016-01-11) FINAL

- down back to Linux 3.4.42 to make less nervous.

- Remove incorporate patches.

- lowmemorykiller: set TIF_MEMDIE before send kill sig.

- Adding AutoSMP with my mod.

- Adding Lionheart governor

- Remove intelliplug.

- Remove Powersuspend.

- more.
​

# CM-13 - AOSP-M (r15 | 2016-01-11)

- down back to Linux 3.4.42 to make less nervous.

- Remove incorporate patches.

- lowmemorykiller: set TIF_MEMDIE before send kill sig.

- Adding AutoSMP with my mod.

- Adding Lionheart governor

- Remove intelliplug.

- Remove Powersuspend.

- More.
​

Download

CM-12.1 & AOSP [FINAL] = [ r15 - Release 2016-01-11 ] : Folder GestureWake/NoGestureWake Use Only for CM-12.1 & Aosp 5.1.1 Based Roms.

CM-13.0/AOSP M = [ r15 - Release 2016-01-11 ] : Folder GestureWake/NoGestureWake Use Only for CM-13.0 and should work in AOSP M.
[Moto E Original Android Development] hetor99:
Removed power suspend??? This is more helpfull for battery backup???
[Moto E Original Android Development] rainforce279:
lol.

powersuspend can lead deadlock, also more overhead compare than lcd notify,

thats expected lead call delayed increased.

do you still want powersuspend ? oke next version will try add it again.
[Moto E Original Android Development] zeeshanhussain12:
I agree too that powersuspend leads deadlocks too but some governors work good with power suspend haven't tried them with LCD notify will give a try for sure [emoji6]
[Moto E Original Android Development] Anish Goyal:
Why has intelliplug been removed??
[Moto E Original Android Development] Adarsh1998:
Because He optimized AutoSMP well and probably that's enough!
[Moto E Original Android Development] rainforce279:
well, i have plan make devdb project for clarity-x hybrid and there will go with intelliplug by default.

why i remove it ? because since intelliplug get loads from sched kernel, this make strange kernel while mpdecision enabled, so i remove it for stabilty reason.

stay tune ;)
[Moto E Original Android Development] Anish Goyal:
Ok great..stability first..
[Moto E Original Android Development] booo159159:
hey, pls bring back the conservative governor.... maybe in the cm13...

and i was gonna ask about intelliplug but you already said that you plan to bring it back in clarity -x hybrid..... well.... stay awesome
[Moto E Original Android Development] rainforce279:
r16 up.

CHANGELOGS​

# CM-12.1 - AOSP-L (r16 | 2016-01-11) FINAL-2

- Bring Powersuspend 1.7 (some user need it)
- Adding back Conservative governor (some user need it)
- autoSMP: back to powersuspend
- dyn_sync: back to powersuspend
- mm/slub: don't wait for high-order page allocation
- mm: slub: Default slub_max_order to 0
- mmc: core: Fix mmc clk scale down during writes.
- mmc: clk_scaling: add sysfs for avoiding scale down in write
- template zip: restore mpdecision

# CM-13 - AOSP-M (r16 | 2016-01-11)

- Bring Powersuspend 1.7 (some user need it)
- Adding back Conservative governor (some user need it)
- autoSMP: back to powersuspend
- dyn_sync: back to powersuspend
- config: condor: disable CONFIG_SYSVIPC
- mm/slub: don't wait for high-order page allocation
- mm: slub: Default slub_max_order to 0
- mmc: core: Fix mmc clk scale down during writes.
- mmc: clk_scaling: add sysfs for avoiding scale down in write
- template zip: restore mpdecision

Download or OP

CM-12.1 & AOSP[ FINAL-2] = [ r16 - Release 2016-01-11 ] : Folder GestureWake/NoGestureWake Use Only for CM-12.1 & Aosp 5.1.1 Based Roms.

CM-13.0/AOSP M = [ r16 - Release 2016-01-11 ] : Folder GestureWake/NoGestureWake Use Only for CM-13.0 and should work in AOSP M.
[Moto E Original Android Development] rainforce279:
Hybrid - Clarity-X r1 is up now.

for description about std version and Hybrid version available in OP.

also check in OP about features.

Download

Hybrid Version - Clarity-X

CM-13.0/AOSP M = [ r1 - Release 2016-01-11 ] : Folder GestureWake/NoGestureWake Use Only for CM-13.0 and should work in AOSP M.
[Moto E Original Android Development] Anish Goyal:
Hybrid only for M? Not for L?
[Moto E Original Android Development] rainforce279:
for now, i just focus to M rom, sorry for that.
[Moto E Original Android Development] Anish Goyal:
No problem.

Btw nice work..
[Moto E Original Android Development] zeeshanhussain12:
Theoritically It would work on lollipop too [emoji6]
[Moto E Original Android Development] hetor99:
Jejeje i only asking, dont need to add these thing for muy comment, if you feel thast power suspend is dont needed remove it, your kernel ever bring me good battery life and performance

Sorry for my english :P

---------- Post added at 06:55 PM ---------- Previous post was at 06:54 PM ----------

I hate the corrector of the keyboard xD
[Moto E Original Android Development] Anish Goyal:
Clarity X works great on CM13..
[Moto E Original Android Development] -z3r0-:
Is this because of kernel? When screen turns off after sometime wifi gets disconnected automatically.
[Moto E Original Android Development] Anish Goyal:
Auto rotate is not working..it is because of kernel??
[Moto E Original Android Development] piyushkashyap216:
no its your wifi setting check ur wifi setting