yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] mko000:
I posted a log of a "watchdog" reboot on b12 and had another reboot the next day. I then flashed the inert PowerHAL and didn't have any reboots. Right now I'm on b14 and haven't had a reboot so far. I hope it stays that way.

I'm on a faster binned CPU and I always use the default settings of the kernel. So (more) undervolting was definitely not the reason b12 rebooted my phone. I love your kernel and I hope we can get this solved and arrive at the smoothest and most battery-saving experience :).
[Nexus 4 Original Android Development] popophobia:
For the people who reflashed b12 with inert PowerHAL and have no reboots, can you check if all your voltage levels are used? Probably UV is the reason for those reboots?
[Nexus 4 Original Android Development] benrees21:
So, gonna try exp10. What app do you use to control it? I have Franco, Faux or TKT apps to choose from, what one is best? Also why is exp10 the best one and the latest exp14 not any good? Thanks people.

A Nexus Connoisseur!! AOSPA!!
[Nexus 4 Original Android Development] UZ7:
You can use try to use the apps that you got, I know faux and system tuner works fine (ones I use). As for builds, b10 has been stable for everyone and has been out longer, b12 was recently released the beginning of the week but showed some instability with a few people so b14 was released later on modifying some of b12 w/ b10 files. So far b14 has been working fine for me but on the other hand i never really tested b12. So the next build as motley_ mentioned will have all the changes that were supposed to be working fine on b12 but was temporarily reverted. :good:
[Nexus 4 Original Android Development] ctfrommn:
Faux's is probably the best due to voltage control. Trickster is also nice (and free) ;)

14 was good, 10 was just faster for me.
[Nexus 4 Original Android Development] jazzboyrules:
@_motley I tried looking for the answer myself but I couldn't. What is the difference between boost and input_boost? For b14, is above_hispeed_delay associated to only input_boost? Thanks.
[Nexus 4 Original Android Development] benrees21:
On 14. Love it. Smooth all the way with codefireX ROM.

Super under-rated kernel. Blows my mind lol! I'm using Franco's app, I don't need voltage control anyway.

Sent from my Nexus 4
[Nexus 4 Original Android Development] lazer155:
Could various roms result in a need for increased voltage so the undervolting levels would have to be decreased? I'm running CM10.1 but am undervolted pretty significantly with b14 and want to know if different roms could require me to change the undervolting settings to remain stable.
[Nexus 4 Original Android Development] benrees21:
I doubt it very much.

Sent from my Nexus 4
[Nexus 4 Original Android Development] UZ7:
The thing with undervolting is you need to test it out to be stable so stability or stress testing is needed. Someone can undervolt their phone heavily and it'll run just fine if not tested under full load, therefore those are considered unstable undervolting. With phones though you dont want to stress test it too long as it will tend to heat up and heat is the #1 cause of killing or reducing battery life, so you can stress it for a few but to ensure that you're stable you would have to test it on a daily basis using the program/apps/games you regularly use. There are also cons to undervolting too much as it is counter intuitive meaning it could actually eat up more battery rather than save battery.

So with that, if a ROM uses up a little more resources than stock or to whatever you're comparing to, then you may or may not have to increase voltages. But do note that it shouldn't be a big problem if the proper stress testing was taken in the first place. Now that doesnt mean you have to leave a stress program for hours and hours like with PCs to test stability, but just test it to see if it can handle load and if it can do a significant amount then it should be good regardless of the ROM you use.

Also note that certain governors work differently and can scale at different levels so that means there is still a little room for error or a reboot if it hits a particular frequency with a given voltage.
[Nexus 4 Original Android Development] El Niche:
I want to try this kernel, but a quick question and hope one of you can help me. I have franco's app. I am running stock kernel and have a backup of this kernel. If I motley and want to back to stock, can I just restore from franco's app or will it cause a bootloop (or do i need to flash the reset kernel in the OP)

Thanks
[Nexus 4 Original Android Development] ctfrommn:
Francos app stores the entire boot image so you can go from his kernel direct to any backup without flashing anything else in between. If you have a stock kernel backup thats all you need, or flash the stock kernel from the OP....your choice.
[Nexus 4 Original Android Development] UZ7:
I would just have the stock kernel found on the 1st page just in case and if you ever get a boot loop just jump back on recovery and flash stock (reboot) then flash over though do have backups just in case :)

When I was using main and jumped back and forth to Franco I had a few bootloops which was fixed by the stock kernel.
[Nexus 4 Original Android Development] _motley:
Experiment build 17 posted

Hi everyone, exp b17 has now been posted. See the OP for details.

Also, many are asking about Touch Control (i.e. PGM). I have contacted the author this morning, but haven't heard back yet. I tried a couple things to try to get the module to load, but no luck thus far. I am happy to support this if it doesn't sacrifice performance, stability, or battery life. If anyone knows of a guide or instructions on how to make it work in our kernel, let me know. I looked for the CM kernel source since supposedly it works there, but I didn't see it on github (must be stock kernel?)

Let me know how it goes with b17...watch that mid-range UV please;)
[Nexus 4 Original Android Development] keda:
Thanks. Will give b17 a shot. Went back from b12 to b10 just today. :)

BTW, Touch Control looks awesome will be great if you can integrate it into this awesome ROM. awesome^2 :)
[Nexus 4 Original Android Development] mobilehavoc:
Running b17 completely stock and will report back if issues. So far feels smoother than b14
[Nexus 4 Original Android Development] _motley:
Thanks guys! Post #2 has been updated to reflect the new auto_hotplug and governor settings. For battery life, it will be interesting to castrate our CPU down to 2 cores and see how well it does on battery. I tested a bit today, but I didn't have a typical testing day to get a real feel for what it can do.

If anyone has reboot trouble with b17, please try to grab a last_kmsg (kernel) and a logcat so we can if Android is doing anything on that side. I'll try to check back in couple hours if I can.
[Nexus 4 Original Android Development] mobilehavoc:
I will say that while I did get reboots when basically not doing anything really with b12 with all stock settings there was just something about that release that was special. B17 is better but not quite as buttery as b12. Any ideas what could have made the difference in 12 that's not in 17?
[Nexus 4 Original Android Development] ptesmoke:
Added stock faster voltages to lazers table. Downloading b17 now. Excited :)

Initial impressions...b17 is smmoootthhh :) finally no lag in lock screen. Seems good so far. Tomorrow will be the true test for me.
[Nexus 4 Original Android Development] popophobia:
I'm trying out b17 and are a bit more cautious with the UV steps. I'm inching down slowly with 3-5 mins testing at a time. There has been no reboots so far. I'm really surprise at how low the voltage can go, especially for freq below 1ghz.
[Nexus 4 Original Android Development] thracemerin:
CM kernel is stock + new prima WiFi drivers, it's at https://github.com/CyanogenMod/lge-kernel-mako
[Nexus 4 Original Android Development] benrees21:
I heard PGM won't work at the moment unless kernel is completely stock.

The dev of PGM needs to update it to work with newer kernels.

Sent from my Nexus 4
[Nexus 4 Original Android Development] thunderger:
@motley_

Thank you for your great work. I played around with some "kernel settings" and here is one suggestion and one wish ;)

I've set throttle temp to 70. Some games are "snappier". No heat issues here. Perhaps you can rise default value to 67.

It would be nice if you acctivate the option to overclock the gpu part. I saw these settings in faux clock but they aren't stored.
[Nexus 4 Original Android Development] bamsbamx:
I have created super battery saving script.... What do you think about this?:

su

#Enable Fast Charge
echo 1 > /sys/kernel/fast_charge/force_fast_charge

#Eliminate unnecessary debug
echo 0 > /sys/module/lge_touch_core/parameters/debug_mask

#Thermal config
echo 40 > /sys/module/msm_thermal/parameters/throttle_temp

#Autohotplug config
echo 95 > /sys/module/auto_hotplug/parameters/disable_load_threshold
echo 230 > /sys/module/auto_hotplug/parameters/enable_load_threshold
echo 530 > /sys/module/auto_hotplug/parameters/enable_all_load_threshold
echo 35 > /sys/module/auto_hotplug/parameters/min_sampling_rate
echo 2 > /sys/module/auto_hotplug/parameters/max_online_cpus

exit
[Nexus 4 Original Android Development] popophobia:
When I use Trickster Mod to edit the interactive governor to enable the boost function, there are two options, above_highspeed_delay and boostpulse_duration. I assume they do the same thing. Also, when I enable it, the CPU stays at the high speed the entire time. Even when I set the duration to 10 seconds and waited. Is that intentional? I'm on b17 btw. So far so good, no reboot anymore.
[Nexus 4 Original Android Development] spaxx24:
Hello :)

Stock/AOSP with init.d support: motley_n4_exp_build_17_initd.zip

-or-

CM 10.1: motley_exp_build_17_CM.zip

Wich one is for AOKP?
[Nexus 4 Original Android Development] karanrajpal14:
The cm one
[Nexus 4 Original Android Development] grisha1:
First one, with in it'd and w/o cm in the name

by N4 via Tapatalk
[Nexus 4 Original Android Development] trismegistos:
that is not right, it is the srock one. AOKP ist NOT based on CM and NOT using the cm ramdisk
[Nexus 4 Original Android Development] karanrajpal14:
Oops sorry. I thought aokp is cm based! Haven't used it before.
[Nexus 4 Original Android Development] _motley:
It's likely the tuning of interactive and auto_hotplug. Touchboost freq is also a hair lower in b17. We'll have to run some tests to find a happy medium I think. It is tuned more towards battery in b17, but that can be changed with scripts on the fly no matter what defaults we decide on.

Thanks, they have so many repos I must have overlooked it. I am going to be looking at upgrading the WiFi drivers soon.

Thanks. The dev contacted me and said the same thing. I gave him my input as well and volunteered to help however I can.

Looks good, that should slow that bad boy down a bit. I am looking at the algo used for calculating load when max_online_cpus is lower than 4. It might need to change a bit.

I know this is confusing because we have switched back and forth between interactive governors (old, then new, then old, then new!) from Google. You shouldn't use the "boost" function in the governor. This is for persistent boost, not boostpulse. Boostpulse is enabled and is called from PowerHAL. See the OP release notes for b17 about PowerHAL etc. and then see post #2. If you want to turn it off, flash the "inert" PowerHAL. I suggest you leave it alone and tune the parameters in post #2.
[Nexus 4 Original Android Development] benrees21:
B17 is lovely. Slightly better then 14 to me. Thanks. This kernel is crazy, you don't get no little stuttering or anything, just complete smoothness.

Sent from my Nexus 4
[Nexus 4 Original Android Development] whittikins:
Considering the voltages that people (including myself) are able to use for 1026 mhz (600-650 mV), do you think it would save a good amount of battery to use 1026 instead of 12xx as the hispeed_freq? It seems that the 12xx frequency needs about 850-900 mV, which is quite a difference.

Thanks for the great kernel!
[Nexus 4 Original Android Development] dwang:
Motley,

Would you mind taking a look at this?

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

Seems like this kernel has all the hsic patches and also solves the data drop issues.

I haven't tested it out as I don't use cm10.1, but I would love to see a b17 test version with these patches.

Thanks!
[Nexus 4 Original Android Development] air2k57:
Re: [KERNEL][Jan-16][Linaro]Exp:b17/Main:b57 _motley kernel for the N4

Thank you for putting that color revert in, love it!

B17 is very nice, even compared to matrix kernel which I always found very responsive. I like how responsive touchscreen is, definitely an improvement.

I'm going to get better battery stats to see what's going on, but for some reason my battery drained 16% while phone was sleeping for 3 hours, seems high, android os usage was nearly 70%, weird.
[Nexus 4 Original Android Development] thracemerin:
FYI, I added an anykernel version thanks to motley's port of the anykernel system.

I'm not certain the whole thing is ready for prime time, it has been pointed out to me that there is some extraneous and potentially useless (though not harmful) stuff committed to my repo, so I am currently trying to identify and eliminate the offending commits without breaking the stuff that I fixed.
[Nexus 4 Original Android Development] tozfeekum:
Does that mean i can have motleys changes and your changes at the same time?
[Nexus 4 Original Android Development] thracemerin:
Nope, unless motley merges my changes (I'd advise he wait until a few more people put it through it's paces, in case there is a hidden problem I have yet to identify), anykernel just means it'll work on non-standard ramdisks, the kernel is a compiled binary at that point and can't be modified dynamically.
[Nexus 4 Original Android Development] _motley:
Great, thanks. I will keep an eye on the repo and thread to see how it goes. Working a separate build for a couple weeks is likely the only way we will get to the bottom of things with these patches. So many related patches to merge and test. I only have two of them merged right now and I saw how things went south after some of the other devs tried to merge a bunch of them. Then it became revert city. Once I have a chance to review, I will share my thoughts if I have any. My only advice at the moment would be to make a couple changes at a time and test them. Add some more and test again. I'm sure I am preaching to the choir as I type this;) But seriously, it is easy to get carried away. Been there, done that.

Thanks for the feedback b17.

air2k57, you shouldn't notice much difference with battery usage during sleep in these past couple of builds, so yeah I would definitely look into what is keeping it awake. I would do a full charge, reboot and then start monitoring to see what you can find with BBS. Let me know if you see anything.

I am looking forward to hearing the battery testing results bamsbamx was doing with the script he created a couple pages back with max_online_cpus etc. I haven't gotten a chance to play with it much since testing. It's hard to say how much it will help to only limit to 2 cpus since they aren't being used much of the time. It is pretty cool to see them staying offline though:good:
[Nexus 4 Original Android Development] m3lover1:
Quick question here guys...for those that have paranoid android and motley's exp kernel, you guys use the stock aosp kernel with init.d right?
[Nexus 4 Original Android Development] whittikins:
Re: [KERNEL][Jan-16][Linaro]Exp:b17/Main:b57 _motley kernel for the N4

Hey motley, not sure if you missed it, but any thoughts on my post http://xdaforums.com/showthread.php?p=36830419 ?

Thanks for the updates, and I'll probably try 2 cores tomorrow!
[Nexus 4 Original Android Development] phonepersonality:
Too many complaints and not nearly enough thanks.

Great Job OP!
[Nexus 4 Original Android Development] shr33kant:
I've managed to get the uv down to -175mv on all frequencies! It has definitely helped vs thermal throttling, I was able to get 18k on antutu.

Sent from my Nexus 4
[Nexus 4 Original Android Development] keda:
which ROM are you using? Anyway to get battery percentage on status bar work with Stock?
[Nexus 4 Original Android Development] shr33kant:
I'm using Xylon 0081: http://xdaforums.com/showpost.php?p=34763847&postcount=262

That battery icon is the stock cm circle battery with percentage (available in Xylon and many other roms).

Banks' Gapps: http://xdaforums.com/showthread.php?t=2012857

and motley's kernel.
[Nexus 4 Original Android Development] ryan92084:
http://xdaforums.com/showthread.php?t=2006169 is what you want. I'm sure others will pop up.
[Nexus 4 Original Android Development] terranox:
V2?

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] SleemLDJ:
I've been using no frils tool to manage this kernel. If i wanna switch to something else such as setcpu, is there anything special required?

Can i just uninstall and use another tool?
[Nexus 4 Original Android Development] jacklebott:
Simple as that
[Nexus 4 Original Android Development] _motley:
Build 29 posted

New release posted. Thanks for the feedback thus far. Let me know how this new build goes!
[Nexus 4 Original Android Development] reneph:
Thanks for that. And thanks for setting min-voltage to 700mV! :) First tests with 700mV@304MHz and 987,5mV@1,4GHz were stable.
[Nexus 4 Original Android Development] SleemLDJ:
Please can someone recommend an app I can use to UV aside system turner?

Thanks.
[Nexus 4 Original Android Development] keda:
What's wrong with System Tuner?

There is lighter version just for cpu settings by same author if you want.

https://play.google.com/store/apps/...esult#?t=W251bGwsMSwxLDMsImNjYzcxLnN0LmNwdSJd
[Nexus 4 Original Android Development] Logi_Ca1:
I'm using CPU Tweaker for my UV (great app BTW!) and I'm wondering how do I check if the voltage settings are being applied properly? I'm asking because I seem to be running 1134mhz at 700mv stable! That can't be right...
[Nexus 4 Original Android Development] ptesmoke:
Has anyone tried trickster kernel mod? I haven't tried it yet here but it works amazing with motley's N7 kernel...
[Nexus 4 Original Android Development] alstrike:
I flashed this kernel a few minutes ago and did a 150mv undervolt across the board. Ran Antutu 3.0 with a total score of 16800 (not that it matters too much).

Any stability test apps on Google Play?
[Nexus 4 Original Android Development] drdrewdown:
like this one? http://kan.gd/1u48
[Nexus 4 Original Android Development] alstrike:
I´m running that now and is chewing thru the battery like there´s no tomorrow.

8 CPU runs

200 RAM runs

No issues for now...
[Nexus 4 Original Android Development] keda:
I tried it yesterday. It didn't support N4. Too bad.
[Nexus 4 Original Android Development] sideeffects:
Kernel is really good, Thanks! 1404MHz seems more sensible for the CPU. So far running at 1404MHz 975mV and phone scores 17500 in AnTuTu and doesn't get hot :good:
[Nexus 4 Original Android Development] SleemLDJ:
Hi guys. How do you get your settings to stick upon reboot with System Turner Pro

I have uv'ed and clock to default but none of them stick when i reboot.

Help.

Thanks.
[Nexus 4 Original Android Development] IAmAN00bie:
Yes. PA is an AOSP-based ROM, so use the AOSP zip.
[Nexus 4 Original Android Development] m3lover1:
Thanks buddy!
[Nexus 4 Original Android Development] thracemerin:
I'd certainly welcome your input, these low level driver functions are getting to the very fringes of my ability, any comments you have on what's in vs what really needs to be in would be appreciated.
[Nexus 4 Original Android Development] Wanya79:
Hi there, just one quick question, the best Antutu Scores i've reached is with B10, from build to build the score is gettin lower, so less performance, identical settings. Can someone explain to me, if there are Performance tweaks that lowered Performance?

For example with B14 I've reached 11600 at Antutu, on B10 I've reached 18600!
[Nexus 4 Original Android Development] popophobia:
Re: [KERNEL][Jan-16][Linaro]Exp:b17/Main:b57 _motley kernel for the N4

Think about it like driving a manual car. Sure you can push it in third and drive like nut at 80mph. But then you'll burn your gas away. These tweaks are aiming at being at the right speed at the right time do you don't feel the lag, whilst saving battery life. Who needs to ref it up all the time. You can just use the user space governor and push it to 1.5ghz and score great for benchmark. But is it what we need all the time?
[Nexus 4 Original Android Development] greg17477:
Ye, but you won't get everytime 18600 (put kernel version in here) . Once you get 18600, the second run you get 15000 and so on. Its diferent on every run. I got the highest score on b14 (over 18000) so, you see. But avg i get ~18k on every core. So basically the performance is the same. (at least its not decrasing ;)) Do some Geekbench runs, they differ also on every run.
[Nexus 4 Original Android Development] bamsbamx:
Motley, I have got 5 screen hours from 100% to 0%... But i can say that I had been listening online radio: mediaserver and tunein radio took 30% both of the whole battery life.....

If we do 5/70*100= 7,14 hours of screen!!!

Which means that if i had not listened radio i would have got 7,14 hours :eek:

I have been using browser and AIDE a lot..

So i think battery life is very very goooood

Also set some conservative options for ondemand governor for example i set powersave bias to 200

Using codefire SR3 ROM

Thanks motley!!!
[Nexus 4 Original Android Development] lazer155:
Is the speed project butter ramps the cpu up to when touch input is occurring, 1024mhz or 1242mhz?
[Nexus 4 Original Android Development] rlaw:
Re: [KERNEL][Jan-16][Linaro]Exp:b17/Main:b57 _motley kernel for the N4

Fairly certain it's 1026MHz.
[Nexus 4 Original Android Development] lazer155:
System tuner shows it ramping up to 1242mhz when I touch the screen but I read it is 1026mhz. That's why I am confused.
[Nexus 4 Original Android Development] whittikins:
Re: [KERNEL][Jan-16][Linaro]Exp:b17/Main:b57 _motley kernel for the N4

Stock kernel is 1026 on touch, but motley's latest beta uses 1242. I personally changed it to 1026 because it seems plenty responsive and smooth while using less power.
[Nexus 4 Original Android Development] lazer155:
How would I change it using either Trickster Mod Pro or System Tuner Pro?
[Nexus 4 Original Android Development] ctfrommn:
In Trickster it is under governor settings if you are using interactive.
[Nexus 4 Original Android Development] lazer155:
Does System Tuner Pro have that feature? I'm using that as my voltage control app right now but also have Trickster Mod. I was trying to only use one or the other though to prevent conflicts.
[Nexus 4 Original Android Development] ctfrommn:
Yes? It is a bit more convoluted in System Tuner. It is under the boot settings menu and the governors tab. It is not nearly as comprehensive or easy to navigate though.