yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Vinnom:
Here is my profile

Here is my daily profile.

Remember that I did this changes expecting better battery life, so performance isn't the best with it. If you just open some apps and do not play heavy games, I think it could help you achieving goo battery life, at least, I'm liking it. Feel free to suggest some changes ^^

NOTE: I "dd" the file to tar so I could upload it. Please "dd" back to tgz so you can use at synapse. Only as a reminder, the tgz must be saved in ~/Synapse/saved_profiles/
[Nexus 4 Original Android Development] icu64:
Anyone know what arch power is? Can't find anything about it on google
[Nexus 4 Original Android Development] chineel:
Double tap 2 wake Working fine for me on Beanstalk ROM with a5

My Rom Is running Great with your kernel
[Nexus 4 Original Android Development] CamoGeko:
Latest 90u-a6 is working well for me on Android L.. :D
[Nexus 4 Original Android Development] kskevinstewart7:
81mhz lowest CPU freq at 650mV..can't go lower as it hangs and reboots.
[Nexus 4 Original Android Development] whatthefish:
Not bad isn't it? ? comments and violent reactions are welcome. Lol using latest release.
[Nexus 4 Original Android Development] Ms7Android:
I dont quite understand how 'dd" back the tgz.

Can you please explained it further.

I'm quite confused setting the kernel using synapse.

I would like to have a good battery life as i'm only using my n4 basically for social media, browsng and chats only without heavy gaming or movies or musics.

So i basically need approximately 18hrs of battery life.

At the moment with unleashed i could only manage to get up to 12 hrs of batt life with sot up to 2hrs.

Can you please give me a screen shot or settings of ur daily driver.

Thank you in advance.
[Nexus 4 Original Android Development] manueltts:
[MENTION=1316336]defconoi[/MENTION], Iafter reading this I've been using the phone with dt2w disabled. The idle consumption is 60% less; that means -for example- that if I was having 20 hours of idle time + x hours of SoT, now I'm having 50 hours of idle time + x hours of SoT. For those of us that go through the day without many hours of active phone usage, it's an incredible difference. An that makes this kernel even more awesome than it has been for me until now.

But since many of us love not using our mako's physical buttons, it would be great to find a middleground between dt2w on and off. I know that ElementalX kernel for hammerhead and flo have a "screen wake functions timeout" or something like that, and you can set 30, 60, or who knows how many minutes after screen goes off to autodisable dt2w and s2w. Do you think it's possible to implement something like that? Maybe with even shorter times (10 or 15 min)? Would you like to do it?

For now I'm gonna make a Tasker Profile, so for me it's not urgent (maybe even unnecessary). But it's an attractive feature for the kernel itself, I think. And it could serve many people "out of the box".

Hope it helps,

Cheers!
[Nexus 4 Original Android Development] CamoGeko:
Nice! You could get more though, I'm sure. ;)

DD??

Have you let your device settle after flashing the kernel?

There aren't any settings which are perfect for everyone, you have to play about and test whats best for you. Also, be smart and delete any battery hungry apps like Facebook and so on. Most of the time bad battery life comes from using crappy apps that arent optimized.
[Nexus 4 Original Android Development] Vinnom:
Save the file to sdcard, just to make a standard to the instructions I'' give.

- open a terminal emulator.

- type "dd if=/sdcard/daily.tar of=/sdcard/daily.tgz"

- you can leave terminao emulator now.

- save you daily.tgz in /synapse/saved_profiles/

-go in synapse, profiles, select daily apply and restore synapse

---------- Post added at 01:46 PM ---------- Previous post was at 01:41 PM ----------

the DD thing is about the profile I shared here... xda don't support tgz files, so I "dd" them to tar and told them to "dd" back to tgz.

I'm not sure if only change extension gives the same result, though. :confused:
[Nexus 4 Original Android Development] Ms7Android:
Yes, i use mostly for facebook and instagram and bbm.

But from what I see at the batt stats, most is screen and amdroid os.

Facbook doesnt eat a lot of my batt.

I'm currently using slimkat 8.4 and this kernel.

Flashing 90u4 for 3 days already. Do u think I should flash the 90u6?

I did set undervolt -70mv and use smartmax.

Thanks, I tried changing extension only but its not working.

Can you share tgz file on a dropbox or gpogle drive so I can download it?

Thank.
[Nexus 4 Original Android Development] Vinnom:
Here ^^

https://www.dropbox.com/s/cvflkfphy18cboa/daily.tgz?dl=0

I would recommend you to flash a6. It is stable and great ^^

Don't forget to wipe cache and wipe dalvik cache before flashing it ^^
[Nexus 4 Original Android Development] CamoGeko:
Facebook eats loads, just silently so you dont notice it. ;)

I've uninstalled it alltogether, and just use the mobile page.

You should definitely flash a6!
[Nexus 4 Original Android Development] Aaron_Knowles:
Pretty sure there's a Facebook app that doesn't eat much battery life.

It's in bit.ly/makostuff - apps, if you want to give it a try.
[Nexus 4 Original Android Development] gorilla p:
Yeah the standard FB app is horrible.

I finally found a good alternative app on XDA and added it to makostuff. The thread for it is

http://xdaforums.com/showthread.php?t=2864561

Sent from my Nexus 4
[Nexus 4 Original Android Development] Ms7Android:
thanks a lot bro.... i will try tomorrow.

i will flash it tomorrow.

thanks... i will try that out.

Is this somekind like a browser view only?
[Nexus 4 Original Android Development] bitstra:
I could build such a function into 'Extended PowerMenu L' - I think. . . should I?
[Nexus 4 Original Android Development] vampire36:
[MENTION=1316336]defconoi[/MENTION] : Also can you look at dt2w powerkey suspend...that would help a lot too :)
[Nexus 4 Original Android Development] defconoi:
I confirm this been running phone two days on one charge with dt2w disabled still got 50% left
[Nexus 4 Original Android Development] defconoi:
Just an FYI, I calculated dt2w battery usage at 4%+ per hour disabled phone uses 1-1.5%hr. Its a nice convenience to have but I'm leaving it disabled, for an extra hour or more screen on time or an extra day screen off time
[Nexus 4 Original Android Development] CamoGeko:
Thats quite a boost.

However, I prefer not to sacrifice my power button and I think many others will say the same. :angel:
[Nexus 4 Original Android Development] icu64:
So yo prefer to use the button?
[Nexus 4 Original Android Development] defconoi:
Not really, I actually love doubetap 2 wake but battery life is more important on certain days so I disable dt2w
[Nexus 4 Original Android Development] icu64:
Cool beans ?
[Nexus 4 Original Android Development] Rohit02:
For me Ideally I use volume wake and nav ring shortcut to sleep/lock the phone. In this was thepower button is saved and even no need of d2w. ;)
[Nexus 4 Original Android Development] underskyzx:
In my case, I don't want the volume buttons to have the same fate of the power button which in my N4 is unrealiable, barely usable, I use D2W mainly to preserve the hardware buttons.
[Nexus 4 Original Android Development] Almayce:
I always wondered, what do you guys do with your power buttons? :D I use it everyday a lot of times for almost a year and still rock solid.
[Nexus 4 Original Android Development] ivanich:
Just wondering is mako audio chip capable to perform audio offload feature like in hammerhead?
[Nexus 4 Original Android Development] Targaeryan:
[MENTION=1316336]defconoi[/MENTION] have you seen the zzmove governor? Its more customizable and more feature rich than pegasusq.. What's your opinion on it? :)
[Nexus 4 Original Android Development] CamoGeko:
No, I couldn't live without DT2W and Sweep2Sleep.

Thats how I love having my device for ease of use. :)
[Nexus 4 Original Android Development] defconoi:
I'll add that asap :)
[Nexus 4 Original Android Development] Targaeryan:
Hahahaha that's awesome!
[Nexus 4 Original Android Development] migueldbr:
have you guys tried https://play.google.com/store/apps/details?id=it.android.smartscreenon&hl=en as an alternative for dt2w?it should use a lot less battery and you dont have to use the power button
[Nexus 4 Original Android Development] sykopompos:
I was wondering the same thing too

Sent from my LG-D851
[Nexus 4 Original Android Development] icu64:
What about the hells active gov from hellscore?
[Nexus 4 Original Android Development] Targaeryan:
[MENTION=1316336]defconoi[/MENTION]

http://xdaforums.com/showthread.php?p=55993665

In case you didn't come across this thread..
[Nexus 4 Original Android Development] Utkarsh-ezzo:
This thread exactly resembles the ak thread, [MENTION=1316336]defconoi[/MENTION] I am loving your kernel, more customizations than ak and [MENTION=5403224]Targaeryan[/MENTION] thanks for heads up on zzmove .

Thank you So much both
[Nexus 4 Original Android Development] defconoi:
It might take some time to port over zzmoove, since they are using one plus one specific code in the implementation I saw, first thing on my agenda is updating kernel a bit more and finding a more power saving dt2w implementation. Currently the 2-4% per hour is ridiculous, after researching it would seem the proximity sensor would use even more power to detect if its in your pocket. Right now I'm using stratosks dt2w, I'm on the lookout for others. Using dt2w can use up to 30% battery in a day which I find obscene.
[Nexus 4 Original Android Development] Targaeryan:
http://xdaforums.com/showthread.php?p=40682393

Is this implementation different/useful for you? :silly:
[Nexus 4 Original Android Development] Maibol:
can i troll ti :p lol is posible to add blue plug and blue active i know blue active was before on the kernel and would love to see it around again :)
[Nexus 4 Original Android Development] akaHardison:
I found "msm_hsic_host" and "PMS.Display" wakelock is very high.Any help?
[Nexus 4 Original Android Development] hrishi420:
+1
[Nexus 4 Original Android Development] Ms7Android:
[MENTION=1316336]defconoi[/MENTION]: a small question.. how to activate usb otg?

I had enable usb otg from Synapse, but nothing happen when i insert usb y cable and flash disk.

Do i still need an app like stickmount?

Im using slimkat 8.4

Thank you in advance.
[Nexus 4 Original Android Development] iskandar1023:
i only getting the ghost touch when charging, and thats because the usb cable is bad grounded, CMIIW

its tiring to type while i charge the phone:silly:
[Nexus 4 Original Android Development] a g bell:
No but still every now and then find myself having to press harder than normal on the screen don't think its a hardware issue, seems to reset when l toggle screen on and off.
[Nexus 4 Original Android Development] frikakwa:
[MENTION=1316336]defconoi[/MENTION]: just wanted to thanks you with words! I'm back to KK (Mahdi) for enjoying the material Gapps (G+, G Play!) and new G services!

Incredible how good is your kernel: I have now around 4 hours without trying to save my battery! I'm really eager to enjoy your kernel on optimized Android L build!
[Nexus 4 Original Android Development] defconoi:
Thanks I really appreciate that, I spend allot of time doing it. Its my hobby ATM :)
[Nexus 4 Original Android Development] Kent Labo:
Yes. Ive experience some. Its very rare though.
[Nexus 4 Original Android Development] derboller:
Hey [MENTION=1316336]defconoi[/MENTION] are you still developing a Nexus 7 version of this awesome kernel? I'm rocking your kernel on my n4 for the last months and am checking back every day whether you released the n7 version. Any news on this? I'm so hoping for your battery magic on the n7 :)

Btw official android L for our beloved n4[emoji173]
[Nexus 4 Original Android Development] defconoi:
I will be, currently struggling to find time to do this one ;) I will eventually, its half done, allot more work needs to be done with it yet.
[Nexus 4 Original Android Development] frikakwa:
So [MENTION=1316336]defconoi[/MENTION], are you ready to be THE best kernel provider of Lollipop? :D
[Nexus 4 Original Android Development] nudou350:
Edit : will post log later

Reboot 2 times using snap with latest update
[Nexus 4 Original Android Development] defconoi:
Thanks, what's snap?
[Nexus 4 Original Android Development] manueltts:
Snapchat?
[Nexus 4 Original Android Development] Aaron_Knowles:
Snap me sum pix bb ;)
[Nexus 4 Original Android Development] Vinnom:
After a8 update, MSM hotplug gave me reboot every time I set it.

Intelliplug is working fine though... others I didn't tested
[Nexus 4 Original Android Development] BelzIgoh:
I just tested using MSM hotplug, no reboot so far.

Using latest kernel with HYPER.
[Nexus 4 Original Android Development] dcop7:
So geko95gek, how are your findings about the battery and several hotplugs?
[Nexus 4 Original Android Development] Vinnom:
Oh, that is strange. I tested and gave me reboots. So I went to recovery, did a dirty clean again, reflashed and rebooted.

After that, tried autosmp and everything went fine. Will try msm and report. Maybe something went wrong the first time :p

EDIT:

I've tried again and it seems first time something went wrong. Now everything works great ^^

But i think i'll stick to autosmp and see if it is better to me ^^
[Nexus 4 Original Android Development] nudou350:
Snapchat ! 3 times already.. And sometimes it freezes for 5 or 10 seconds while using Facebook messenger app in chat heads!

https://docs.google.com/file/d/0B5ph7ukq67haXzBHT0V4eGgtYXM/edit?usp=docslist_api
[Nexus 4 Original Android Development] guimendes:
Nexus 4 has a problem with frontal camera which is responsible for those reboots. It'll reboot on any kernel. I'm facing this problem, too and there is no solution, at least for now.
[Nexus 4 Original Android Development] nudou350:
I was using back camera and it never happened with previous version or any other kernel.. Screen just blacks-out and after a while it reboots by itself
[Nexus 4 Original Android Development] a g bell:
Yuck! Phablets
[Nexus 4 Original Android Development] kskevinstewart7:
L 9002 and latest kernel..Gets stuck and random reboots. ( the last reboot wiped my WiFi passwords saved on the phone) . HELP ::(:
[Nexus 4 Original Android Development] defconoi:
I would if I could afford one, jobless atm
[Nexus 4 Original Android Development] defconoi:
Any problems with a6?
[Nexus 4 Original Android Development] sykopompos:
I was thinking the same thing. Guess us guys will be sticking with the n4 for awhile along with a couple other devs so that should make a lot of people happy

Sent from my LG-D851
[Nexus 4 Original Android Development] nudou350:
Nop. A6 was stable
[Nexus 4 Original Android Development] defconoi:
k i'll revert to a6, a8 updates were too experimental imho, i noticed a few slowdowns myself
[Nexus 4 Original Android Development] manulemaboul:
Yep, had some too and reverted to a6.
[Nexus 4 Original Android Development] spider623:
I love a6

Test
[Nexus 4 Original Android Development] defconoi:
Kernel Update

ion-storm - update version to 90u-a9
ion-storm - re-enable unsafe math optimizations
Stepan Moskovchenko - ARM: proc: Add Krait proc info
Josef Bacik - rwsem: add rwsem_is_contended
Will Deacon - asm-generic: rwsem: de-PPCify rwsem.h
Will Deacon - asm-generic: rwsem: ensure sem->cnt is only accessed via atomic_long_*
ion-storm - ARM: 8011/1: ARM hibernation / suspend-to-disk
ion-storm - ARM: 7666/1: decompressor: add -mno-single-pic-base for building the decompressor
hellsgod - ARM: 7858/1: mm: make UACCESS_WITH_MEMCPY huge page aware
Darescu Ionut - netfilter: Fix Build Error with -ffast-math
Xiaocheng Li - qpnp-rtc: clear alarm register when rtc irq is disabled
ion-storm - CPU BOOST: diactivate all sync/hotplug and others. it's going crazy.
Willie Ruan - mfd: pm8821-core: fix a potential NULL dereference

This is basically a6 with a few tweaks, a9 commits causing issues are gone, this is pretty stable and fast

AOSP/L

CM11
[Nexus 4 Original Android Development] defconoi:
Max clock on boot is 1.5Ghz so its safe if you don't set it higher, allot of devices can handle it, some cannot.
[Nexus 4 Original Android Development] defconoi:
Updated 70u with DT2W fixes:

https://www.mediafire.com/folder/njncdvv3ixem4wa,r99gdoc60wbd3gm,sfta2sovl4t4nyo/shared

Sorry, this happens with new code sometimes :P Let me know how it runs now

Edit: this is test #1, this could be related to the fast wake I added, anyone experience this in 69u?
[Nexus 4 Original Android Development] defconoi:
Here is a newer zip with fast resume disabled as well, I think it was interfering with dt2w:

70u-r3:

https://www.mediafire.com/folder/7w...4ik6p4,rsr62qe544ik6p4,vdozcph2fbe29d2/shared

I need you guys to test dt2w for me now ;)
[Nexus 4 Original Android Development] defconoi:
missed a few more things, wait for r4
[Nexus 4 Original Android Development] mumaster20:
My goodness, all these updates. Love it!
[Nexus 4 Original Android Development] defconoi:
thanks ;)

Apparently the new dt2w code has some bugs in it, I ended up reverting stuff I didnt have to, compiling new stuff now after the stuff I missed to fix dt2w
[Nexus 4 Original Android Development] defconoi:
Should be fixed now, missed some more code that isnt ready yet:

Updated 70u-r5:

https://www.mediafire.com/folder/949z2ez5lb15uzf,nto6jqnngoctor0,o48sa984a5ro1c3/shared

hold on, dunno what is causing this dt2w issue, will check it again
[Nexus 4 Original Android Development] savoca:
If I didn't release it, there's probably a reason why. :rolleyes:
[Nexus 4 Original Android Development] ruicc:
Same problem here...it's was driving me mad...thought it was some other problem, maybe some OC or anything else.

The 5 fingers trick doesn't help too...or 10 fingers like i read in AK thread.

Hope defconoi fix this ASAP.
[Nexus 4 Original Android Development] biron_w:
What governor is best for battery life? I'm currently using Wheatley.
[Nexus 4 Original Android Development] txuki2005:
intellidemand with opton " only one processor boosted at same time" is a good option.

:)
[Nexus 4 Original Android Development] defconoi:
working on a fix, stay tuned
[Nexus 4 Original Android Development] kalpik:
Really appreciate how hard you're working trying to fix this :)
[Nexus 4 Original Android Development] ruicc:
For now i 've installed 68u, all seems running fine.

Thanks, i appreciate all of your efforts, defconoi.
[Nexus 4 Original Android Development] defconoi:
omg you wouldnt believe what is causing the dt2w issues

needle in a haystack caused it [MENTION=4316709]savoca[/MENTION] apparently your code is fine

This commit causes issues:

"qup_i2c: Handle scenario if runtime PM is disable"

doing quality assurance testing to make sure, but no issues for over an hr in my pocket on/off random times
[Nexus 4 Original Android Development] defconoi:
70u-r6:

Fixed dt2w, s2w, s2d

https://www.mediafire.com/folder/ogyk9eactuntyvr,g4lk6j089bvsav0,a349lw83255os83/shared
[Nexus 4 Original Android Development] kryzeK:
Thanks man! It fix the issue with "no touch screen"?
[Nexus 4 Original Android Development] defconoi:
Ya, I kid u not this one commit i had to revert took me all day to find lmao, its fixed now, I facepalmed all day over this

Its funny that something completely unrelated effected dt2w lol
[Nexus 4 Original Android Development] Yadro:
You are the king pal.many thanks for all the hard work.

I am eager to test the latest version.

With 68u or other kernels i have noticed something about the screen wake in pockets.

For me for example it happens a lot on a hot sunny day.i start feeling warmth in my pocket,i take my phone and see that screen is awake and like a lot of stuff has been opened unintentionally.

Happens way more often in d2w than s2w of course.
[Nexus 4 Original Android Development] defconoi:
Set the doubletap2wake feather to less distance, also screen off max is set to 702 by default so should keep temp down in pocket. Also thermal throttling is set to 70c for extra heat protection, also these are configurable.
[Nexus 4 Original Android Development] rodries:
Have you compiled it with latest Boostedtc GCC?
[Nexus 4 Original Android Development] defconoi:
i'm using the latest linaro, is boostedtc that big of a difference?
[Nexus 4 Original Android Development] rodries:
Not sure, but seems hells thinks is very good, check the last posts in his thread
[Nexus 4 Original Android Development] Aaron_Knowles:
CM link says a8 to me. Wrong link or just named wrong?
[Nexus 4 Original Android Development] defconoi:
i'll fix it in a sec hold

new a9 CM11:

https://www.androidfilehost.com/?fid=95747613655046804
[Nexus 4 Original Android Development] CamoGeko:
Hi mate, was running well on AutoSMP for a while but its been a pain in the ass on the last couple of versions, like I get touch screen freezes and then have to reboot. Or I just get random reboots.

Recently changed back to Intelliplug and it seems to be working great do far on a8. Gonna flash a9 now and see what's up.

Sent using N⁴ with Android L
[Nexus 4 Original Android Development] defconoi:
i'll try it
[Nexus 4 Original Android Development] defconoi:
a8 had a few issues regarding the memory changes I added that were not ready yet, flash a9 or a6
[Nexus 4 Original Android Development] CamoGeko:
Okay mate thanks, gonna flash a9 now and test AutoSMP again.

Sent using N⁴ with Android L
[Nexus 4 Original Android Development] rodries:
Great !!!
[Nexus 4 Original Android Development] Vinnom:
Didn't see a9 update, so I reverted to a6 haha

Soon i'll try a9 and give feedback :)
[Nexus 4 Original Android Development] defconoi:
Tried out boostedtc, I actually crashed the compiler, it has a few bugs, its pretty much the same as the cortex a15 optimized toolchain I'm already using.
[Nexus 4 Original Android Development] Vinnom:
a9 is great

Everything works as it should ^^

I'm feeling a bit more smooth and battery efficient. Thank you, [MENTION=1316336]defconoi[/MENTION]
[Nexus 4 Original Android Development] aznrice2k4:
Are you sure it crashed because you used -j when its more than pc could handle? I make -j32 on my AMD Opteron 63xx class CPU with no issues.
[Nexus 4 Original Android Development] defconoi:
Getting "thumb conditional instruction should be in IT block" errors for the aes updates I have
[Nexus 4 Original Android Development] gorilla p:
[emoji92] Updates on bit.my/makostuff[emoji92]

Added latest HD, AK and Unleashed kernels

Added Unleashed Synapse profile

Battery-Balanced[emoji367]

Added latest SuperSu zip - v2.14 stable

Added latest AdAway - v2.9.2

Added Sony Walkman media player app

Added Sony Z3 SoundPack

Added latest optimized dalvik and bionic patches.

Added custom Adobe Reader version from UC Browser that seems to work well.

Updated recommended apps doc.

Sent from my Nexus 4

Sent from my Nexus 4
[Nexus 4 Original Android Development] rirozizo:
going at 81MHz-1.5GHz dual core eco mode.. i had it on standby (screen off) when i heard a small vibration.

and turns out it rebooted randomly. last_kmsg is attached (NOT A PDF!!! but to make it attachable).

btw i didn't mod anything in the kernel except the stuff i mentioned.
[Nexus 4 Original Android Development] shadeMe:
Had a rather curious kernel panic just now - The kernel ran outta memory, so much that even the frame buffer had to be released. I think it's related to ZRAM - I had 1GB enabled with the faster of the two compression algorithms in Synapse. Kmesg, on Stock 4.4.4, u90a8.

[MENTION=1316336]defconoi[/MENTION] have you perhaps given some thought to the feature request in this post?
[Nexus 4 Original Android Development] defconoi:
i'll take a look @ that right now testing the new L with my kernel :)
[Nexus 4 Original Android Development] a g bell:
Erase please