yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] vineet381:
can you please share the Gdoc sheet, I want to play around with different gamma values on my phone.
[Nexus 4 Original Android Development] jazzboyrules:
Yes
[Nexus 4 Original Android Development] PoisonWolf:
So....right now, I should....

1) Wipe cache/dalvik in recovery.

2) Go back to stock kernel. Allow it to boot and set everything up. Go back to recovery.

3) Wipe cache/dalvik.

4) Install B17. Allow it to boot and set everything up.

After this, do I simply install B22 over B17, or do I need to wipe cache/dalvik before installing B22?
[Nexus 4 Original Android Development] z3r0_x:
See here: https://docs.google.com/spreadsheet/ccc?key=0AoDp2qRui0u0dGE4T2gtSDBTRHVFSldPS2RrX1Rya0E#gid=0
[Nexus 4 Original Android Development] jazzboyrules:
It doesn't have to be so complicated.

1. Boot to recovery

2. Flash b17 (as you are currently on motley mainline, you don't need to flash the stock/reset kernel)

3. Flash b22/b28/b29/b31 (your choice)

4. Wipe cache/dalvik (just to be safe, I don't do this step and it works for me).

5. Reboot
[Nexus 4 Original Android Development] PoisonWolf:
Thank you, I'll do that! I wonder what improvements it'll do presently. I'm actually currently on B22. I came directly from Mainline with a stock-kernel reset in between. I'm already topping at 4 hours of screen on time with 20% battery left most days now. Lol.
[Nexus 4 Original Android Development] jazzboyrules:
Ah, right, I missed that you mentioned that you moved from mainline to b22. But as you didn't flash b17 then, it's a good time to do so now. :)
[Nexus 4 Original Android Development] greg17477:
AW: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

Great Kernel ;)

Aokp Rom with those famous patches here.
[Nexus 4 Original Android Development] :
Hi,

Nice score, which "famous" patches in AOKP? the "bionic" things (like this: http://xdaforums.com/showpost.php?p=37283653&postcount=853) ?

Wich version of AOKP?

Thanks ;)
[Nexus 4 Original Android Development] bamsbamx:
Wow! This explains why benchmarks dont show real performance...

My phone works very well....
[Nexus 4 Original Android Development] elkhouri:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

I've been noticing a slight touch delay like a sec or two in the lockscreen whenever I wake the device, presumably from deep sleep, after not using it for a while. This is on all the recent builds, starting from around b22, and I've been using codefireX SR6.
[Nexus 4 Original Android Development] z3r0_x:
AW: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

Switched from Faux to the newest experimental... And holy cow, this kernel is flying!! I'm seriously impressed, can't wait to test the battery life once it's settled!

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] greg17477:
yep the bionic stuff and some Krait optimization. Ye, should be from that thread you posted.

Its an AOKP version (unofficial) i compiled for myself. Still testing ;)
[Nexus 4 Original Android Development] Francois88:
Got the same thing on CM10.1 with all the versions of this kernel since a few weeks. The music widget on the lockscreen is unresponsive (takes 1-2 second to skip a track), but the lock pattern itself responds instantly. It's so minor compared to the awesomeness of the kernel that I overlook it :)
[Nexus 4 Original Android Development] PoisonWolf:
Interesting. When I did stock kernel reset and went straight to b22, cpuspy indicated that 1024mhz wasn't used at all over 24 plus hours (including 4 plus hours of temple run 2). Now when I switch to install b17 and them b22, I get the following as you see in the attached picture. It is as though mpdecision is running again as you see 1024mhz triggering more than 1.5ghz.

Is something wrong here ?

If I get the same pattern after a few hours, I'm reverting to my stock install then to b22. Lol.
[Nexus 4 Original Android Development] G1ForFun:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

Read the instructions in ree in the op. I believe you have to flash 17 before flashing 22.
[Nexus 4 Original Android Development] _motley:
How is the gamma control going for everybody? I hope the 2nd post was clear on how it works. I rushed through it last night and it probably needs a proofread through again.

I haven't noticed any issues with the standard lock screen or pattern unlock. However, I don't have widgets running there typically. Is this music widget you are talking about stock? If so, I will give it a try to see what I can see. Also, if you UV, make sure you aren't applying too much UV at the lower freqs.

Not sure, but I did get better download speeds with veno after some testing. For others having issues with data drops, make sure you have roaming turned on in mobile data if this doesn't incur extra charges. In the USA, many of don't pay roaming charges and it wouldn't be good to have it turned off. I have heard that this fixes the issue for some as they didn't realize it was off. I looked at mine today after a new ROM flash yesterday and it was off by default. That could definitely cause you issues if you are mobile and on the go all the time.

Thx, nice score @1.67GHz. Glad to see those patches making their way into other ROMs. Once you run a ROM with them, you won't want to go back!

If you installed b17 first and then b22, that is the proper way. I wouldn't go back to the way you were before because you don't want mpdecision and hotplug working at the same time. If I understand the sequence correctly, that is what was going on (stock ramdisk with b22).

The experimental kernel has boostpulse with the default interactive gov, but it does it more elegantly than the stock mpdecision/PowerHAL since it can be controlled and it doesn't raise the min freq to achieve it. The default touchboost frequency is 1026MHz so that is why you will see it used. If you don't like it, you can (1) tweak the interactive governor boostpulse_duration (how long is boosts) and the hispeed_freq (what freq it boosts to). (2) Use OnDemand, or (3) Flash the "inert" PowerHAL at the bottom of the OP. Also, why not give b31 a try? (twists arm):)
[Nexus 4 Original Android Development] PoisonWolf:
Thanks Motley. Your detailed responses to the inquiry of your userbase is nothing short of amazing. With your words, I'll stick with the B17->B22 approach. What happens when you run mpdecision and hotplug simultaneously?

Are you damaging your phone when mpdecision and hotplug are running simultaneously? I'm just curious. With my odd funky setup of Stock -> B22, I was getting 4.5 hours of screen on time. Lol. I'm looking forward to see if the same can be gotten with B17>B22.

I need my phone to be reliable and do not want SODs, etc since I need my phone for my schedule, etc. Hence, I typically move up to the latest kernel only once you flag it as stable. Lol.

Cheers Motley.
[Nexus 4 Original Android Development] z3r0_x:
AW: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

Trickster Mod shows Boost OFF... Does the mentioned boostpulse still apply?

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] Elchemist:
Hello,

I was wondering if I am able to jump from exp build 22 to 31 or do I have to flash 28 first?

Yeah for Linaro compiler coming back :good:

Thanks for all the excellent work Motley
[Nexus 4 Original Android Development] thracemerin:
As long as you're on b17 or higher you can flash direct.
[Nexus 4 Original Android Development] _motley:
That's a different boost setting...it will persist after you turn it on. I wouldn't touch that. The boostpulse requests I send come from a custom PowerHAL module.
[Nexus 4 Original Android Development] Underworld79:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

Yes... Boost and boostpulse offers two different functions. It is enabled by default when you use the interactive governor but it can be disabled by installing "inert" PowerHAL in motley's OP. boostpulse is controlled by setting values to boostpulse_duration and hispeed_freq.
[Nexus 4 Original Android Development] ptesmoke:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

Now...to talk to the trickster devs and get gamma control added in :)

Amazing work motley...looking forward to a be all end all gamma setting that you can set as default...so I don't have to mess with it :))
[Nexus 4 Original Android Development] _motley:
LOL, that is kinda what I am thinking too. However, the view of the screen is so subjective...it will be hard to make everyone happy. We can just have a bunch of zip files that flash color schemes...kinda what I am hoping for. When you are blue, flash this one...when you are excited, flash that one...LOL.
[Nexus 4 Original Android Development] rlaw:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

I'm pretty happy with default settings. Tried the one linked a page or two back, just made the colors seem really dark and washed out to me.

But I guess I prove your point, huh? :p
[Nexus 4 Original Android Development] IAmAN00bie:
The Trickster Mod devs have already got a working gamma control interface set up, check out their thread in the Nexus 4 Themes and Apps section where one of the devs posted a screenshot.
[Nexus 4 Original Android Development] ptesmoke:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

Yes its in testing...I can't say no more Cuz I'm just a tester :) what I can say is motley, and the trickster mod Devs....are legit #beastmode.
[Nexus 4 Original Android Development] j3di:
View attachment 1686168 View attachment 1686169

I'm using System Tuner to restore CPU settings with the init.d option.

However, the first image shows what is being echoed to the vdd_levels table, and the second image shows the values within the vdd_levels table.

Where is the ":" separator coming from ?

Now that System Tuner has written to the init.d folder, will they be run on each boot, even if System Tuner is not installed? And how would I check this?

Thanks
[Nexus 4 Original Android Development] bamsbamx:
Motley, in build b31 my logcat seems to be spammed by Android-perflock, using ondemand ,flashed inert hal, capped to 2 max online cpus and 45°C throttle

Also, do I have echo Y > /sys/module/msm_thermal/parameters/enable to enable thermal throttle???
[Nexus 4 Original Android Development] Remoteconcern:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

This kernel gives really good battery life. I currently have 4 hours screen on with 40% remaining. All on WiFi though. The only thing I've done differently to stock settings is under volt my 1026mHz step to 650mV, which means that the input boost is less energetically expensive than it would be on a stock kernel.

I'm grateful for the implementation of the gamma control motley, although I've found the instructions quite hard top follow so haven't done anything with it yet. Will probably end up waiting until trickster app is updated with an interface to control it.
[Nexus 4 Original Android Development] _motley:
The ":" separator is coming from the show table function that displays the current values. This is normal. As long as the init.d script is written out correctly and init.d is working, it will apply correctly on startup. I'll check out that option later. I have been meaning to implement my voltages using init.d anyhow since I never like to allow an app to be required on startup to set my preferred defaults.

You can check if it is working by looking at /sys/devices/system/cpu/cpufreq/vddlevels

View the file with a file manager. Or from a terminal:

cat /sys/devices/system/cpu/cpufreq/vddlevels

I'll have to try your settings and see what I get. Thermal throttle is enabled by default, so no need to turn it on. Do you have an app that is trying to lock frequencies via profiles etc.?

Thanks for the feedback. Yes, it is a bit tricky if you are not used to hacking things like this. It will be nice when we have all sorts of options to control gamma.
[Nexus 4 Original Android Development] efan3719:
Motley, been running 31 for about a day. things seem smooth as ever. One thing i noticed after running some speed tests was that my speeds have increased a decent amount. granted i had horrible speeds before, roughly 10 kpbs with the highest seen at 50 kbps, but i ran the tests last night and got 189 kbps peak with averaging around 80 kbps. still terrible i know, but i'm pretty sure i'm just in a bad coverage area. at least it's to almost usable speeds now haha. thanks!
[Nexus 4 Original Android Development] bamsbamx:
No, i am using trickstermod, its only setting	freqs at boot, nothing more... Also i am using Xylon ROM
[Nexus 4 Original Android Development] whittikins:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

Motley, since so many people can use voltages as low as 600 for 304 mhz and even 600 to 700 for 1026 mhz, is there a reason you have defaults set much higher? Are there side effects that you've noticed or are you just being cautious with it?

Thanks for the great updates! :)
[Nexus 4 Original Android Development] ceejay83:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

Not a lot of people can uv that much. With my fast binned chip lowest I can go is 725 mv
[Nexus 4 Original Android Development] _motley:
Cool, thanks for reporting back. Our data speeds aren't the best where I am at, but it seem to take advantage of what we have better with the veno algo as opposed to westwood.

Ok, I'll take a look and see if I can reproduce the errors. I am assuming that the errors in the log don't occur if you run interactive and PowerHAL right out the box?

Yes, I am just choosing some safe starting values. The last thing we want is to have voltages that are too low to start with and have many users having issues.
[Nexus 4 Original Android Development] thracemerin:
Always better to start safe and let users mess with it, if you go too low to begin with people will be in here complaining about SODs on their Slow and Nominal binned chips.
[Nexus 4 Original Android Development] poolemit:
lately i've capped the cpu freq to 1026 mhz since I can UV that to 600 mV. it seems fine - smooth and 'buttery' as ever. am I missing something though?
[Nexus 4 Original Android Development] morfic:
Undervolting too much can lead to increased battery consumption, funny side effect, i know, a real one though.
[Nexus 4 Original Android Development] _motley:
Yes, agreed. I look at some of the voltages being implemented and I am amazed.:eek: I test with linpack and when I can see the performance scores stabilize for a given frequency, this is how I find my sweet spot when I care to spend the extra time.
[Nexus 4 Original Android Development] keda:
So far the bottle neck for the battery life is HSPA network. When I'm on wifi I can get descendant battery life enough for 2+ days usage. But when I'm on the move, the battery drains a lot faster. I assume that's the case for everyone else as well. Seriously hoping Google can fix this issue in their next release. Now they have more N4 in stock, hopefully they can get faster with software release as well. :)
[Nexus 4 Original Android Development] ceejay83:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

Good job motley, been flashing a bunch of kernels lately and this is the smoothest :)
[Nexus 4 Original Android Development] whittikins:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

Ah makes sense. Thank you. Btw, any idea what these wake locks are or why they're always pretty high? This is in 12 hours, mostly wifi, 1h 45m screen on, and right at 50% as shown. I'm referring to the top 2 or 3, not msm wake lock. :)

Edit, more info and another screenshot. Phone call use is only 2 or 3 minutes. Latitude is off.
[Nexus 4 Original Android Development] apascual89:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

Motley, thanks for your work put into this kernel it's the perfect balance of performance and battery consumption. I make my personal paranoid android builds and want to try and compile the kernel inline with my build. I have a couple of questions if you have time:

1. Will it affect any of your optimizations and/or features?

2. In my device BoardConfig.mk, do I point my TARGET_KERNEL_CONFIG to "motley-exp_defconfig" or "mako_defconfig".

My thoughts for question #2 is to point it to motley-exp_defconfig, but I have no technical reasons for that, just pure guessing ;)
[Nexus 4 Original Android Development] _motley:
Check out this thread, it might help you figure it out. I see one of those wakelocks, but it is very minimal.

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

Thanks for kind words. For number 1, you will need to build with Linaro to best keep it in line with my build. If you don't want to build with that toolchain, then you will need to revert some of the compiler flags that aren't compatible (see the recent commit) Google 4.7 from the latest NDK is good too.

Linux toolchain I use from here:

http://launchpad.net/linaro-toolcha...-gnueabihf-4.7-2012.12-20121214_linux.tar.bz2

For number 2, yes you are correct about the motley-exp_defconfig

export USE_CCACHE=1

export ARCH=arm

export CROSS_COMPILE=/home/username/sdks/linaro20121214/bin/arm-linux-gnueabihf-

make motley-exp_defconfig

make -j8

(this is what I use on my i7 Linux Mint workstation, I set the first three variables in my .bash.rc...set and forget until I change my toolchain version)
[Nexus 4 Original Android Development] xdaShex:
Hey guys just recently flash the experimental kernel, and as soon as i finished flashing it the phone loaded to the desktop... its lagging like hell any procedure that i missed that's causing this ?

any help will be appreciated.
[Nexus 4 Original Android Development] thamch:
Is there a command line to increase the vibration intensity? I found this kernel vibration is softer compared to franco kernel.
[Nexus 4 Original Android Development] _motley:
Flash b17 first, then flash b31. See if that does it.

Try

echo "80" > /sys/class/timed_output/vibrator/amp

Also adjustable in Trickster MOD so you can give different settings a try. Default is 70 and is set in init.mako.rc on boot.
[Nexus 4 Original Android Development] xdaShex:
ye that did it, i think i might of flash the main instead or something :S

thank you for the fast reply.
[Nexus 4 Original Android Development] JmPTaz09:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

First impression of B31: fast; nuff said.
[Nexus 4 Original Android Development] thamch:
Thanks for the quick reply.
[Nexus 4 Original Android Development] xdaShex:
Btw is there any specific app people use to tweak the kernel or, are other alternates OK to use like CPU tweak ?
[Nexus 4 Original Android Development] thracemerin:
I think most people use trickster, but if other apps adjust the settings correctly there is no reason you can't or shouldn't use another.
[Nexus 4 Original Android Development] guapinoy:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

Great kernel. You know what's a great combo? Exp 31 and bionic Rasbean with only two cores running. Super smooth. Here's a benchmark. Will test out battery tomorrow.
[Nexus 4 Original Android Development] ptesmoke:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

I don't mean to be a tease...but...its coming ladies and gents :)

For anyone looking for a kernel tweak app...trickster kernel mod. And no I don't work for them...this app is just #beastmode for #motleysearthsavingkernel
[Nexus 4 Original Android Development] lazer155:
Does trickster mod or system tuner pro have an option built in to disable cpu cores? I would prefer to have it in an app so the setting wouldn't be set on boot like it does with the script and would reset back to 4 cores after a reboot just in case something went wrong.
[Nexus 4 Original Android Development] dark_ente:
Same question here, anybody has experience any problem?
[Nexus 4 Original Android Development] ptesmoke:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

The next version of trickster does..

---------- Post added at 11:00 PM ---------- Previous post was at 10:55 PM ----------
[Nexus 4 Original Android Development] PoisonWolf:
Does anyone have hard numbers on how much battery savings is gained when knocking down to a dual core or triple core setup?
[Nexus 4 Original Android Development] yurilebbie:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

Hard numbers? Not really

But when I use dual core I get about 35 hours out of the phone where as I used to only get about 25 before. These are approximate figures.
[Nexus 4 Original Android Development] keda:
3g or wifi..it's pretty good if it's 3g.
[Nexus 4 Original Android Development] bamsbamx:
Sorry motley ... the spammed logcat was caused because I flashed xylon rom, then directly b31, without previously flashing b17....

Now flashed xylon rom, b17, b31, inert hal and problem gone ;)
[Nexus 4 Original Android Development] _motley:
Experiment build 31 now stable

Build 31 has been tagged as stable and I have now provided the full installs so you don't have to flash b17 anymore (see OP).

Thanks for all the great feedback and assistance from others in the thread.

That does sound like a great combo. I am on that ROM currently:)

Great to hear, thanks for info!
[Nexus 4 Original Android Development] tengen:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

Got a bad data drop this morning coming off WiFi; had to reboot to regain mobile data. Happened after leaving my phone plugged in all night on WiFi, then leaving the house this morning with the phone sleeping in my pocket. When I pulled it out later, it still showed WiFi connectivity (which didn't exist), which dropped as soon as I unlocked the screen. After that mobile data wouldn't connect until I rebooted. Airplane mode and even switching apns didn't help.

On b31, stock rooted ROM.
[Nexus 4 Original Android Development] air2k57:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

A little bit off topic, but what ROM do you guys use with this kernel? I used to love code fire, then switched to stock rooted. The other night, tried a few ROMs and they fly... But interface?! I hate how they all have the new hspa+ icon and how with most of them, H icon changes to blue when synced. Is there a ROM out there that's built from source, fast, and doesn't have all of the weird modifications?!
[Nexus 4 Original Android Development] ctfrommn:
Try the new Bionic Stock over on the Nexus 4 Development thread. It is pure AOSP and fast fast fast.
[Nexus 4 Original Android Development] mundixx:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

Thanks!!

Sent from my AOSPA Nexus 4
[Nexus 4 Original Android Development] drewtang:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

I personally use stevespear's PUB AOKP builds. Love the customization, and they're compiled with the Linaro tool chain. Not sure about bionic though.
[Nexus 4 Original Android Development] inspire4gfreak:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

I currently use franco kernel and I would like to try this one. Do I need to flash stock reset zip first?
[Nexus 4 Original Android Development] kalel86:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

That setting of gamma control are with the motley? Or bits another kernel with tricksterMOD?
[Nexus 4 Original Android Development] thracemerin:
Trickster Mod gamma control will work with Motley kernel, but the screenshot of the interface was from the closed test version that isn't currently available to anyone but testers, it will probably be available in a few days.
[Nexus 4 Original Android Development] kalel86:
Re: [KERNEL][Jan-28][Linaro]Exp:b31/Main:b57 _motley kernel for the N4

Excellent!!... I will be waiting =D