yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] yanleites:
" /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."

You don't know how it's great to turn the dt2w option off with only power-key !

At night or when you know you are not going to use phone for a long time...
[Nexus 4 Original Android Development] mimsiroll:
Link please for v350
[Nexus 4 Original Android Development] yanleites:
You got it on the first page !
[Nexus 4 Original Android Development] CamoGeko:
I live on the edge and use DT2W and S2S at the same time.

Not noticed any detriment to battery life.

If I dont want to use my phone overnight I just turn it off. Simple.

Its in the OP.
[Nexus 4 Original Android Development] yanleites:
You are right - but pwr_key is easier !
[Nexus 4 Original Android Development] hooliganx:
we have it in Elementalx. that's the reason I use this kernel. [emoji6]

and help a lot to battery life. is a helpful feature.

power suspend and timeout for dt2w.

e.g.

dt2w always on, I have ~5h SOT

dt2w power & timeout suspend, I have ~6h SOT

dt2w always off, I have ~7h SOT

in same conditions, same place, using same things.

the difference? I use my device for work (a lot!), and... first option I have to recharge in middle of my work. second option I charge only in home (4..5% left), the third option I don't like, because I unlock my device every time, all the time... and dt2w is much easy for who work with and in a device [emoji16] [emoji6]

that's it! is helpful. [emoji16][emoji106]

n5sk7.2.Robbie08.21gapps216art

El.X.1.04twrp2.7.1.0rd2.08v4a

----------------------------------------------------------------------------

have doubts about Slim? click here:

http://slimroms.net/index.php/faq
[Nexus 4 Original Android Development] CallMeAldy:
DT2W is from stratosk which hardly drains battery so you should be cool with it :)
[Nexus 4 Original Android Development] thlinh130295:
link v350 404 not found
[Nexus 4 Original Android Development] yanleites:
OK.

Flashed AK again, how can I make the phone to forget last battery statistics, or it's not important?
[Nexus 4 Original Android Development] CamoGeko:
Not important, just go through your usual charge/discharge cycles.
[Nexus 4 Original Android Development] CallMeAldy:
Try now :)
[Nexus 4 Original Android Development] yanleites:
Yu mean discharge to zero and then charge full or you have other way?
[Nexus 4 Original Android Development] CamoGeko:
Yes just like that.

Dont discharge to 0%, taking down to 10% enough.
[Nexus 4 Original Android Development] gorilla p:
For battery saving on this kernel

Flash AK 350

Flash latest UKM

Install synapse

Apply AK 350 battery profile

Follow optimal battery life instructions linked in OP
[Nexus 4 Original Android Development] yanleites:
Thanks.

But when screen is off and someone is calling the screen doesn't turn on. What should I change?
[Nexus 4 Original Android Development] gorilla p:
[emoji92] Update to bit.ly/Makostuff[emoji92]

Added latest Unleashed and AK kernels

Added Battery, Balanced and Performance Synapse profiles for Unleashed HD and AK.

Added latest Greenify Beta[emoji260]

Added latest SuperSU flashable zip[emoji390]

Added PA compatible dalvik patch[emoji106]

Added latest Wug's root toolkit
[Nexus 4 Original Android Development] ScumDroid:
Hey this is a great kernel :) . Much better battery life then i was getting on previous kernel I was using, and seems snappier and more responsive.
[Nexus 4 Original Android Development] yoavain:
Care to share what you did to fix it?
[Nexus 4 Original Android Development] yanleites:
Hi.

You wrote M8 is best for N4 Stock 4.4.4. I don't see it on your Google Drive.
[Nexus 4 Original Android Development] gorilla p:
It was at the time of the document. There's been some debate between M8, Z2 and OnePlus. Ill put the M8 dalvik patch up.

You can get it from Tardis as well by flashing the AOSP dalvik patch.
[Nexus 4 Original Android Development] yanleites:
How exactly do I do it ?

You mean those to files: https://drive.google.com/folderview...sharing&tid=0B77BTW0zStYCSTRIYWpZQS1nOWs#list

I already use M8 - is Z2 better ?
[Nexus 4 Original Android Development] gorilla p:
I just reorganized everything. Flash the Z2 patch if you're looking for an AOSP dalvik patch.
[Nexus 4 Original Android Development] yanleites:
I saw you reorganized everything.

1. I flashed Z2 - will see how is it.

2. In "Optimized Dalvik and Bionic" folder you got 1 empty AOSP folder (first one).

Thank You !
[Nexus 4 Original Android Development] gorilla p:
Some people think so. Try both see which one you like better. Maybe do an antutu benchmark and see which works best for you.

---------- Post added at 03:55 AM ---------- Previous post was at 03:54 AM ----------

It's not empty, just updating.
[Nexus 4 Original Android Development] yanleites:
I don't care about benchmark, I want good performance with low battery usage.
[Nexus 4 Original Android Development] MementoMoriM:
CallMeAldy thanks for your work, it's smooth & battery life very good.

Enviado desde la muerte a través de un Nexus 4
[Nexus 4 Original Android Development] CallMeAldy:
Working on an update with a newer toolchain :)
[Nexus 4 Original Android Development] CamoGeko:
Good stuff, bring it on! :D
[Nexus 4 Original Android Development] groovepeppy:
i have download the profiles with tgz extention, follow the tutor for applying it a few pages back but it doesn't work

Synapse telling me it wasn't the file?

would anyone mind telling me how to do it?

Thank You
[Nexus 4 Original Android Development] Weehee:
Hey gorilla, could you add Z2 dalvik+bionic to the PA folder?

Removing the installd fixes the bootloop when installing Z2 patch on PA roms, as can be seen here: http://xdaforums.com/showpost.php?p=54143201&postcount=2221
[Nexus 4 Original Android Development] ohad129:
Is there also for hammerhead?
[Nexus 4 Original Android Development] CallMeAldy:
There was no need to quote the whole OP, there's no version for hammerhead at the moment but there will be one soon
[Nexus 4 Original Android Development] CallMeAldy:
AK.355.MAKO​

CallMeAldy - Switch to 4.9.2-2014.08.20140831.CR83 Toolchain
mrg666 - Random: backport updates from Linux master (3.13-rc4) lib, net: make isodigit() public and use it	Andy Shevchenko random: add debugging code to detect early use of get_random_bytes()	Theodore Ts'o random: initialize the last_time field in struct timer_rand_state	Theodore Ts'o random: don't zap entropy count in rand_initialize()	Theodore Ts'o random: printk notifications for urandom pool initialization	Theodore Ts'o random: make add_timer_randomness() fill the nonblocking pool first	Theodore Ts'o random: convert DEBUG_ENT to tracepoints	Theodore Ts'o random: push extra entropy to the output pools	Theodore Ts'o random: drop trickle mode	Theodore Ts'o random: adjust the generator polynomials in the mixing function slightly	Theodore Ts'o random: speed up the fast_mix function by a factor of four	Theodore Ts'o random: cap the rate which the /dev/urandom pool gets reseeded	Theodore Ts'o random: optimize the entropy_store structure	Theodore Ts'o random: optimize spinlock use in add_device_randomness()	Theodore Ts'o random: fix the tracepoint for get_random_bytes(_arch)	Theodore Ts'o random: account for entropy loss due to overwrites	H. Peter Anvin random: allow fractional bits to be tracked	H. Peter Anvin random: statically compute poolbitshift, poolbytes, poolbits	H. Peter Anvin random: mix in architectural randomness earlier in extract_buf()	Theodore Ts'o random: allow architectures to optionally define random_get_entropy()	Theodore Ts'o random: run random_int_secret_init() run after all late_initcalls	Theodore Ts'o char: Convert use of typedef ctl_table to struct ctl_table	Joe Perches	1 random: fix accounting race condition with lockless irq entropy_count update	Jiri Kosina drivers/char/random.c: fix priming of last_data	Jarod Wilson lib/string_helpers: introduce generic string_unescape	Andy Shevchenko random: fix locking dependency with the tasklist_lock	Theodore Ts'o locking: Various static lock initializer fixes	Thomas Gleixner random: prime last_data value per fips requirements	Jarod Wilson random: fix debug format strings	Jiri Kosina random: make it possible to enable debugging without rebuild	Jiri Kosina random: mix in architectural randomness in extract_buf()	H. Peter Anvin random: Add comment to random_initialize()	Tony Luck random: add tracepoints for easier debugging and verification	Theodore Ts'o
motley - mako LCD: keep RGB custom colors alive after screen off/on
savoca - LCD_KCAL: Introduce configurable kcal_min
savoca - LCD_KCAL: Prevent out-of-range input values
savoca - LCD_KCAL: Fix mistake on out-of-range values
savoca - s2d: turn off display if sweep < kcal_min, not 1
CallMeAldy - ak-mako-build.sh: Minor changes

DOWNLOAD​

​
[Nexus 4 Original Android Development] xDroid4Lifex:
Running Cm-M9, flashed AK v.355 and UKM 3.1, cleared cache and dalvik then went to reboot and after the Google splash screen it just sits there on a black screen and doesn't boot. Any ideas? I don't have xposed installed, I tried restoring a previous backup and reflashing the kernel and got the same result.

Sent from my Nexus 4
[Nexus 4 Original Android Development] icu64:
Not trying to insult your intelligence or any think bro but you do have the car kernel installed right? I know I've messed up and used aosp on accident without realizing it
[Nexus 4 Original Android Development] xDroid4Lifex:
Yep using AK.355.MAKO.CM.zip

Sent from my Nexus 4
[Nexus 4 Original Android Development] icu64:
Hmmm very strange, what about md5? Sure its not a bad download?
[Nexus 4 Original Android Development] opti916:
Mines won't boot either on 355cm on liquid smooth rom. Went back to 350 everythings OK again.
[Nexus 4 Original Android Development] xDroid4Lifex:
Just restored a PA backup to test the aosp version and it boots fine.

So the CM version is borked

Sent from my Nexus 4
[Nexus 4 Original Android Development] icu64:
Thanks for the heads up, won't be flashing just yet lol
[Nexus 4 Original Android Development] CallMeAldy:
This should boot for people having boot issues. I hope it does.
[Nexus 4 Original Android Development] sykopompos:
It doesn't boot on my g3, I want my money back!!!!!
[Nexus 4 Original Android Development] CallMeAldy:
Send your G3 to me i'll get everything booting on it, Even CM15 and Android M :silly:
[Nexus 4 Original Android Development] sykopompos:
Wow really???? Android M without me having to make it work??? Woot!!!
[Nexus 4 Original Android Development] CallMeAldy:
Even Android Z as long as i get your G3 and I ain't returning it back. Hahaha
[Nexus 4 Original Android Development] sykopompos:
But but but I like my g3.....

Eh maybe when I get the new nexus
[Nexus 4 Original Android Development] CallMeAldy:
Again. Wait in progress :P
[Nexus 4 Original Android Development] sykopompos:
I just keep making you wait. Maybe once L is officially out, I can finally get some time to work on other things but maybe I might have a use for my g3 by then.... Maybe.... Maybe not :p
[Nexus 4 Original Android Development] CallMeAldy:
Hahaha. The boot img maker sources is still cloning :crying:
[Nexus 4 Original Android Development] sykopompos:
That is some slow internet then, that thing is tiny compared to the full source
[Nexus 4 Original Android Development] CallMeAldy:
This happens when my internet is drunk :P Anyways it's cloned now :D
[Nexus 4 Original Android Development] sykopompos:
My internet and your internet should hang out and do some shots together, pretty sure there might be some bar brawls involved though
[Nexus 4 Original Android Development] CallMeAldy:
Hell Yeah.

12 downloads and no reports for the 355CM test version i uploaded so i assume it's working fine and i'm replacing it with the previous 355CM
[Nexus 4 Original Android Development] sykopompos:
I say you are good but of things start exploding, I'm running away
[Nexus 4 Original Android Development] CallMeAldy:
RUNNNNN RUNNN RUNNNN
[Nexus 4 Original Android Development] sykopompos:
That looks a lot like me right now
[Nexus 4 Original Android Development] CamoGeko:
Flashed 355 last nite on AOKPK 4.4.4 build and my N4 went crazy.

After booting, Gapps were removed for some reason (I had no play store, G+ etc...)... all the ROM settings had been restored to default so I had to go through everything and set it up again after dirty flashing the ROM again, oh and the Home nav bar button wouldn't work (back and recents worked fine). Android ID got changed, which means some apps would FC due to incorrect licensing.

Feels like it just wen't skitzo. I'm back on Franco for a bit now to stabilize the device, and to see if I can somehow re-create this event and rule out that it was an AK issue but so far nothing.
[Nexus 4 Original Android Development] CallMeAldy:
I'm using 355 (AOSP) No issues as of now been more than a day
[Nexus 4 Original Android Development] CamoGeko:
Hmm weird, something definitely didin't go right. All I did was flash 355 and reboot.
[Nexus 4 Original Android Development] CallMeAldy:
I remember the same thing happen to me on HellsCore but that was a month ago
[Nexus 4 Original Android Development] CamoGeko:
Ah, glad that you had the same occurrence.

Still wondering why it happens though. :eek:
[Nexus 4 Original Android Development] trane116:
I wonder if you will add more features to the kernel. Like more hotplugging :p

Sent from my Nexus 4
[Nexus 4 Original Android Development] CamoGeko:
The question is... Does the kernel really need it? ;)
[Nexus 4 Original Android Development] poondog:
Hotplug options are wayyy overrated
[Nexus 4 Original Android Development] CamoGeko:
Yep.

Just have one and that's enough.
[Nexus 4 Original Android Development] hooliganx:
sometimes, seems people don't wanna a good kernel...

but something to play with it.

n5sk7.4.Robbie08.21gapps216art

El.X.105twrp2.7.1.0rd2.08v4a

----------------------------------------------------------------------------

have doubts about Slim? click here:

http://slimroms.net/index.php/faqandmanual
[Nexus 4 Original Android Development] fr3quency:
Then mpd shouldn't had been replaced in the first place. ;)

Sent from my Nexus 4
[Nexus 4 Original Android Development] CamoGeko:
I guess thats up to the dev in the end.
[Nexus 4 Original Android Development] DingoDingo:
Did you flashed stock kernel first?
[Nexus 4 Original Android Development] CamoGeko:
Nope just went straight from v350 to v355. No wiping of anything.
[Nexus 4 Original Android Development] xylonfans:
The boot img maker sources is still cloning, on 355CM LiquidSmooth [MENTION=4450732]CallMeAldy[/MENTION]
[Nexus 4 Original Android Development] DingoDingo:
I thought you were on Franco before 355. Never happened to me, but I am new with AK, before 350 was on Semaphore for few months.
[Nexus 4 Original Android Development] CamoGeko:
Nope, I'm on Franco now. Primarily went to it to see if I could re-create the issue but no dice.

I just went from one AK version to another before the phone spazzed out.
[Nexus 4 Original Android Development] scoonie:
Does the 355 cm work yet?
[Nexus 4 Original Android Development] fr3quency:
So are the multiple hotplugs.

Sent from my Nexus 4
[Nexus 4 Original Android Development] CamoGeko:
Bang, hit the nail on the head!

Btw, I'm just about to flash the latest PA 4.4.4 beta 4 on my N4. Looking forward to running PA again! xD
[Nexus 4 Original Android Development] fabry83:
I can confirm that 355 doesn't boot on cm11 m9...
[Nexus 4 Original Android Development] He][razor:
It doesn't work for me either..
[Nexus 4 Original Android Development] MementoMoriM:
It goes great with Mahdi ROM August 12 ?

Enviado desde la muerte a través de un Nexus 4
[Nexus 4 Original Android Development] chok_thewa:
Doesn't work either.
[Nexus 4 Original Android Development] divxfan:
Me too. CM11 20140830
[Nexus 4 Original Android Development] sykopompos:
Sorry [MENTION=4450732]CallMeAldy[/MENTION] I didn't get a chance to look into ak kernel and see why WiFi isn't working on L yet. Been busy working out hammerhead and mako for b6 all day
[Nexus 4 Original Android Development] poondog:
Woo b6!!!!!!!!!
[Nexus 4 Original Android Development] sykopompos:
I plan to work on flo and deb tomorrow. Trying to do 4 devices at one time was a bit too much
[Nexus 4 Original Android Development] johnb380:
Anyway we can get 400 MHz on the GPU steps...?

TIA
[Nexus 4 Original Android Development] CallMeAldy:
Okay for the people who can't get it booting i'll download the roms mentioned above and test them. Shouldn't take much time a working CM version will be up soon :)

EDIT :- IDK what's wrong with my internet can't seem to download anything. I'd be glad if someone can test the attached kernel and report :)
[Nexus 4 Original Android Development] xylonfans:
HI [MENTION=4450732]CallMeAldy[/MENTION] ,It Doesn't work either.doesn't boot yet
[Nexus 4 Original Android Development] CallMeAldy:
That's very weird since i reverted everything to 350 only changed the toolchain in this test. Which rom did you test it on?
[Nexus 4 Original Android Development] xylonfans:
it liquidsmooth base caf LS-KK-v3.2-2014-09-01-mako

http://xdaforums.com/nexus-4/development/rom-liquidsmooth-v3-1-mako-t2616565

---------- Post added at 08:29 AM ---------- Previous post was at 08:23 AM ----------

My English is poor，but I hope I can help you [MENTION=4450732]CallMeAldy[/MENTION]
[Nexus 4 Original Android Development] CallMeAldy:
Currently downloading the rom. Will fix the issue asap :)
[Nexus 4 Original Android Development] groovepeppy:
355 AOSP works fine but after doing a reboot my wifi broke, try to turn it on but there's nothing changed

pardon me for not adding a logcat, cause i didn't have a reboot, dunno how to get last_kmsg
[Nexus 4 Original Android Development] CallMeAldy:
Which rom?
[Nexus 4 Original Android Development] CallMeAldy:
Fixed 355CM version is up and replaced in the download link on the first post. Personally tested it.
[Nexus 4 Original Android Development] xylonfans:
Thank you for everything you do
[Nexus 4 Original Android Development] CallMeAldy:
No problem. :)
[Nexus 4 Original Android Development] groovepeppy:
latest build SimpleAOSP Sir
[Nexus 4 Original Android Development] CallMeAldy:
I'm on the latest SimpleAOSP build too with Latest AK. Never faced such a problem
[Nexus 4 Original Android Development] groovepeppy:
uh, i'll try it again one more time, can i do fastboot flash boot boot.img after i took boot.img from 355 zip file?
[Nexus 4 Original Android Development] Rohit02:
yes. Flashing zip is more easier than that.
[Nexus 4 Original Android Development] groovepeppy:
yes it was easier but i found that the zip includes some files too, i wonder if i only flash the img only will not gave me errors since those additional files aren't flashed together...
[Nexus 4 Original Android Development] CallMeAldy:
You'll have to repack it to boot.img cause we use the anykernel format so i recommend just flashing the kernel
[Nexus 4 Original Android Development] mammenj:
Works fine on PAC ROM.

Thanks [MENTION=4450732]CallMeAldy[/MENTION]
[Nexus 4 Original Android Development] groovepeppy:
do you mean you recommend flash the zip rather than flashing the boot.img right?

last night i did flash the zip again and it works flawlessly until now, observing the batt now

by the way i notice longer time to open BBM, but i remember i UV until 700 on the 81. step up to 750 and it works very very fine now

Thank you for this wonderful kernel Sir :good:
[Nexus 4 Original Android Development] rabbo3:
after installing... my playstore not works... i use paranoid full f2fs .. i try to reflash gapps but not work..... crash continuos stock synapse setting....
[Nexus 4 Original Android Development] Rembi:
you changed the voltage on the GPU? how to throw directly 900/900 / 900mV, crashes all my apps. General, from version 350 something going on with faux hotplug - battery drain, not responsive.
[Nexus 4 Original Android Development] rabbo3:
Do you talk with me?? If yes... Before and after undervolt GPU play store crash...
[Nexus 4 Original Android Development] ak:
@CallMeAldy

i have send you a PM.
[Nexus 4 Original Android Development] sykopompos:
I don't get one too???? I don't feel special anymore :(
[Nexus 4 Original Android Development] ak:
if you want i can send you a bouquet of roses.
[Nexus 4 Original Android Development] sykopompos:
That actually did make me feel better but whacking me in the back of my head to put me to sleep might have worked better :p
[Nexus 4 Original Android Development] CallMeAldy:
Working on an update :)
[Nexus 4 Original Android Development] ak:
I have bought it for 2 reason:

- it's freaking cool

- i want to support @CallMeAldy
[Nexus 4 Original Android Development] CallMeAldy:
Thank you :D
[Nexus 4 Original Android Development] CamoGeko:
Cool theme mate.

Bit too yellow for my liking, but I will probably do same as AK and buy it when I got some cash just to support ya. :D
[Nexus 4 Original Android Development] Aaron_Knowles:
Reminds me of the game, Haze. Very cool, love the colour scheme.
[Nexus 4 Original Android Development] mammenj:
Cool theme, how about a red version too?
[Nexus 4 Original Android Development] rush25:
Here is the red one

https://play.google.com/store/apps/details?id=com.theme.flarex
[Nexus 4 Original Android Development] atulclassic:
flashed 355 but max frequency always coming back to 1512Mhz after reboot even though set at boot option is checked.
[Nexus 4 Original Android Development] FrozenLord:
What program are you using for setting those frequencies?
[Nexus 4 Original Android Development] hooliganx:
very beautiful theme!

congrats! [emoji6][emoji106]

n5sk7.8.Robbie09.03gapps226art

CD350twrp2.7.1.0rd2.08v4a

----------------------------------------------------------------------------

have doubts about Slim? click here:

http://slimroms.net/index.php/faqandmanual
[Nexus 4 Original Android Development] atulclassic:
using synapse with ukm
[Nexus 4 Original Android Development] Gemichi:
I have been encountering problem of getting errors when I flash AK.355.MAKO onto Liquidsmooth 3.1

The colour always gets mess up when I reboot it. Tried to wipe dalvik cache before and after the flash process and still not working.
[Nexus 4 Original Android Development] Pollie81:
Shouldn't you flash the CM version on liquid smooth?
[Nexus 4 Original Android Development] Gemichi:
I thought liquidsmooth is aosp..."LiquidSmooth is an aftermarket firmware based on the Android Open Source Project."
[Nexus 4 Original Android Development] Pollie81:
But if you search in the topic you will see that you need to install cm kernel.
[Nexus 4 Original Android Development] Weehee:
Is there a stable limit for GPU UV? I'm currently at 900/1000/1100mV but I don't even know what voltage 1, 2 and 3 means.
[Nexus 4 Original Android Development] CallMeAldy:
I'm at 900/900/900 If that helps
[Nexus 4 Original Android Development] sitong1991:
Can not work on Purity+ 4.4.4? Any solution??? thanks
[Nexus 4 Original Android Development] Aaron_Knowles:
Please don't quote the entire OP.

A simple [MENTION=4450732]CallMeAldy[/MENTION] would suffice.
[Nexus 4 Original Android Development] johnb380:
It works fine on Purity + ... You have to reflash ur rom and gapps before flashing AK Aosp Dont flash any dalvik mods and use ukm and synapse to control!
[Nexus 4 Original Android Development] sitong1991:
OK, Sorry!