[KERNEL] [N4] [6.0][3.4.0][AOSP/CM] [10/26] [M2] - AK

Please vote the rom used with ak kernel?


  • Total voters
    420
  • Poll closed .

ak

Senior Member
Feb 19, 2011
14,849
69,622
0
Ak Land Valley
ak.hiddenbytes.org
new features

New features coming for s2w/s2s/dt2w:

drivers: input: 2w: rework s2s and now you can use dt2w with this feature
- now s2s work with trickster mod and you can use s2s for screen off and dt2w for screen on

drivers: input: 2w: add options for enable/disable 2w with power button
- with this feature you can enable an option for save battery.
/sys/module/input_core/parameters/pwrkey_suspend
pwrkey_suspend = Y or N
if yes when screen goes off without touch anything 2w is enabled otherwise if you use power button is disabled.
You can save your battery with this option on.

Stay tuned.

Thanks a lot to @showp1984 and @flar2
 
Last edited:

ak

Senior Member
Feb 19, 2011
14,849
69,622
0
Ak Land Valley
ak.hiddenbytes.org
Updated OP:
Legend: /sys/android_touch/ -rw-r--r-- root root 4096 2013-11-27 11:27 doubletap2wake -rw-r--r-- root root 4096 2013-11-27 11:25 doubletap2wake_version -rw-r--r-- root root 4096 2013-11-27 11:25 s2w_s2sonly -rw-r--r-- root root 4096 2013-11-27 11:27 sweep2wake -rw-r--r-- root root 4096 2013-11-27 11:25 sweep2wake_version Nb: Please do not use s2w/s2s with dt2w at the same time. - for have only S2S echo 2 > /sys/android_touch/sweep2wake - for have only S2w echo 1 > /sys/android_touch/sweep2wake - for have only dt2w echo 1 > /sys/android_touch/doubletap2wake - eco mode option s2s/s2w/dt2w with this feature you can enable an option for save battery. /sys/module/input_core/parameters/pwrkey_suspend pwrkey_suspend = Y or N if yes when screen goes off without touch anything 2w is enabled otherwise if you use power button is disabled. You can save your battery with this option on.
 

Arju

Senior Member
Nov 11, 2008
1,674
1,135
143
Örebro/Sweden
New features coming for s2w/s2s/dt2w:

drivers: input: 2w: rework s2s and now you can use dt2w with this feature
- now s2s work with trickster mod and you can use s2s for screen off and dt2w for screen on

drivers: input: 2w: add options for enable/disable 2w with power button
- with this feature you can enable an option for save battery.
/sys/module/input_core/parameters/pwrkey_suspend pwrkey_suspend = Y or N
if yes when screen goes off without touch anything 2w is enabled otherwise if you use power button is disabled.
You can save your battery with this option on.

Stay tuned.

Thanks a lot to @showp1984 and @flar2
Thank you AK! v210 is working great but by the sound of it. it sounds like we're able to save some more juice with your new implementation. Looking forward to test it as I really felt like v210 was doing good. Super excited about dt2w and s2s being able to work with eachother.
 
Last edited:
  • Like
Reactions: ak

ak

Senior Member
Feb 19, 2011
14,849
69,622
0
Ak Land Valley
ak.hiddenbytes.org
Thank you AK! v210 is working great but by the sound of it. it sounds like we're able to save some more juice with your new implementation. Lokking forward to test it as I really felt like v210 was doing good. Super excited about dt2w and s2s being able to work with eachother.
Im waiting new linux 3.4.71 .... probably today new version of my kernel will be out. ;)
 

Arju

Senior Member
Nov 11, 2008
1,674
1,135
143
Örebro/Sweden
Im waiting new linux 3.4.71 .... probably today new version of my kernel will be out. ;)
Sweet! Oh happy days! I'm planning to reflash full wipe my rom so I'll be able to start fresh when I test it out. I will report back on it when it's ready to flash and when I've tested it out for a while. Thank you!
 
  • Like
Reactions: ak

snak3ater

Recognized Contributor
Jul 31, 2012
4,777
7,384
0
Land of Pathans
New features coming for s2w/s2s/dt2w:

drivers: input: 2w: rework s2s and now you can use dt2w with this feature
- now s2s work with trickster mod and you can use s2s for screen off and dt2w for screen on

Stay tuned.
This is what was needed the most..Now this new s2s/s2w & dt2w is just perfect..
The other feature is also great..Can't wait to flash it.. :D
Thanks Anarkia :good:
 
  • Like
Reactions: ak

rodries

Senior Member
Jul 2, 2011
410
183
63
Alicante
Im waiting new linux 3.4.71 .... probably today new version of my kernel will be out. ;)
Hi I'm playing with your ak-xaosp-009-kk (v214) because I've seen kexec patch, but I've notice that multirom is now working fine, when I access to menu to select the rom the screen is not responsive. I've tested faux kernel and works fine, so it's kernel related.
Do you have any idea where the problem is?

Also I think /sys/module/input_core/parameters/pwrkey_suspend should be N by default, the users are going to report that 2w is not working because if you use s2s or power button to suspend you can not use 2w option to wake up the device.
 
Last edited:

ak

Senior Member
Feb 19, 2011
14,849
69,622
0
Ak Land Valley
ak.hiddenbytes.org
Hi I'm playing with your ak-xaosp-009-kk (v214) because I've seen kexec patch, but I've notice that multirom is now working fine, when I access to menu to select the rom the screen is not responsive. I've tested faux kernel and works fine, so it's kernel related.
Do you have any idea where the problem is?

Also I think /sys/module/input_core/parameters/pwrkey_suspend should be N by default, the users are going to report that 2w is not working because if you use s2s or power button to suspend you can not use 2w option to wake up the device.
v214 have module and symlink disabled.

Where do you see people report problems with power save? into N5 forum?
 
Last edited:

rodries

Senior Member
Jul 2, 2011
410
183
63
Alicante
v214 have module and symlink disabled.
Ok I'll enable it for testing.
Where do you see people report problems with power save? into N5 forum?
I've tested v214 compiling myself. I'm telling you what I think it's going to happen. When I enabled s2w I couldn't get screen on using s2w then I tested dt2w and it' didn't work, then I realize (reading your commit) that 2w options only works if the screen going off by timeout so I've disabled pwrkey_suspend and all works as I was expecting. If you suspend using power button or s2s then only way to wake up is using power button, so i changed pwrkey_suspend = N in init.d
It's my feeling maybe I'm wrong.

PS:
I've tested ak-xaosp-010-kk (v214) and multirom menu is not working, I can see the multirom menu but seems that the screen touch is disabled.
 
Last edited:
  • Like
Reactions: ak

jtwebfusion

Senior Member
Jul 31, 2007
424
96
0
Orlando, FL
Ok I'll enable it for testing.


I've tested v214 compiling myself. I'm telling you what I think it's going to happen. When I enabled s2w I couldn't get screen on using s2w then I tested dt2w and it' didn't work, then I realize (reading your commit) that 2w options only works if the screen going off by timeout so I've disabled pwrkey_suspend and all works as I was expecting. If you suspend using power button or s2s then only way to wake up is using power button, so i changed pwrkey_suspend = N in init.d
It's my feeling maybe I'm wrong.

PS:
I've tested ak-xaosp-010-kk (v214) and multirom menu is not working, I can see the multirom menu but seems that the screen touch is disabled.
I compiled version 215 and it worked better than yours. Lol, just kidding. Sorry, couldn't resist...
 
  • Like
Reactions: ak

ak

Senior Member
Feb 19, 2011
14,849
69,622
0
Ak Land Valley
ak.hiddenbytes.org
Ok I'll enable it for testing.


I've tested v214 compiling myself. I'm telling you what I think it's going to happen. When I enabled s2w I couldn't get screen on using s2w then I tested dt2w and it' didn't work, then I realize (reading your commit) that 2w options only works if the screen going off by timeout so I've disabled pwrkey_suspend and all works as I was expecting. If you suspend using power button or s2s then only way to wake up is using power button, so i changed pwrkey_suspend = N in init.d
It's my feeling maybe I'm wrong.

PS:
I've tested ak-xaosp-010-kk (v214) and multirom menu is not working, I can see the multirom menu but seems that the screen touch is disabled.
I have merged commits from faux kernel .... can you collect logs? i dont have multirom installed.

Probably needed another commit:
464bf83902c7c5e4e7b5e93db822b404a28cfc89

https://github.com/faux123/mako/commits/jb_mr2

what do you think?
 
Last edited:

rodries

Senior Member
Jul 2, 2011
410
183
63
Alicante
I have merged commits from faux kernel .... can you collect logs? i dont have multirom installed.
Not sure how to get multirom logs. It's before android begin to load, I doubt logcat is going to show anything, but I'll check it
Probably needed another commit:
464bf83902c7c5e4e7b5e93db822b404a28cfc89

https://github.com/faux123/mako/commits/jb_mr2

what do you think?
I'll test it rigth now
Are you talking "about fs/namespace.c: making system wide mounting possible" commit?
I think it's not related, I can see all my installed roms but the screen is not responsive. Anyway I'll apply the commit and I'll check it in a few minutes
No luck :(
 
Last edited:
  • Like
Reactions: ak

ak

Senior Member
Feb 19, 2011
14,849
69,622
0
Ak Land Valley
ak.hiddenbytes.org
Not sure how to get multirom logs. It's before android begin to load, I doubt logcat is going to show anything, but I'll check it

I'll test it rigth now
Are you talking "about fs/namespace.c: making system wide mounting possible" commit?
I think it's not related, I can see all my installed roms but the screen is not responsive. Anyway I'll apply the commit and I'll check it in a few minutes
No luck :(
Can you try to revert this commit

https://github.com/anarkia1976/AK-xAosp/commit/d924ef0dbdf8552b54dd60dbd2ad76c9c0613a2e

ak ka