yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Francois88:
Dunno if it's the kernel and/or the latest CM10.1 patches including the new AOSP code, but since I went from B31+CM10.1 from jan 23rd to B32+CM10.1 from feb 3rd. I'm getting amazing standby battery.

I used to drain a little less than a % per hour over night (7-8% over 9 hours) and now it's 1% over 9 hours! Only battery optimizations I've done are disabling GPS location (network location still on), Google Currents disabled, Google+ notifications/location reporter, and GTalk disabled
[Nexus 4 Original Android Development] JmPTaz09:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Just a quick note to say that all has been going well the past few days on B32; really fast smooth and stable. Great pairing with primerunner ROM. :beer:
[Nexus 4 Original Android Development] batman368:
i notice an increase of about 0.5% / hour with touch control, in idle that is. with touch control my phone uses about 0.6%/h at night, whereas without touch-control it's 0.1%/h. i'm on motley b32 with latest PA.

does anybody else notice that? i really love touch-control, it's awesome, but battery life is my holy grail ;)
[Nexus 4 Original Android Development] thracemerin:
Touch control would have to keep the touch drivers awake in order for you to be able to tap the screen and wake up the phone, anything that isn't fully asleep during idle will drain more battery.
[Nexus 4 Original Android Development] brolic925t:
Which version should I use for xylon? Cm10.1 or stock of experimental . and also can I control settings with faux clock?
[Nexus 4 Original Android Development] ctfrommn:
Xylon is AOSP based so the stock/aosp kernel.

Yes, you can control all the normal kernel functions with it....Motley's "special" settings you will need to access via /sys/module as per the OP.
[Nexus 4 Original Android Development] batman368:
i was thinking the same, however i thought it would be more like 1-2% per day, and not 12%. i'm really hope it get's fixed :)
[Nexus 4 Original Android Development] lazer155:
How did you leave only network location on and turn off location reporter in google+? I think disabling those things would help save some more battery on my N4.
[Nexus 4 Original Android Development] Franklin Bernard:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Thanks guys for the reply.. I have downloaded the outdated version.. It is actually not working on 31 too..I got the updated version. Now everything works
[Nexus 4 Original Android Development] starscream92:
What ROM are you running? I'm on CM10.1 Jan 28th Nightly and I get a big battery drain from Android System...I don't even see Android System on your screenshot!

Can anyone help with this drain I have? It's driving me nuts. I'm sure the problem is not at the kernel level.

Edit: Nevermind, I'm a fool for not seeing your "CM10.1 Feb 3rd Nightly" :) sorry!
[Nexus 4 Original Android Development] brolic925t:
How come GPU over clock doesn't stick with fauxclock
[Nexus 4 Original Android Development] jhericurls:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Wrong kernel, this kernel doesn't have GPU OC. The GPU doesn't need to OCing if anything it needs to be under clocked.
[Nexus 4 Original Android Development] brolic925t:
Oh just wondering. Didn't check if it was an option sorry. But the clock speed isn't for graphics its just for how smooth the game runs?

And one last thing.. Why doesn't blue put droid (keyboard app for other Bluetooth devices like a ps3) work on any kernels on the n4
[Nexus 4 Original Android Development] _motley:
Awesome, glad you have it sorted.

To be honest, I don't use the app everyday so I couldn't tell you what the impact is on battery. I just do what I can to support the app since I realize it is important to some users here.

I should be able to provide the FIOS io scheduler for us. I have never used it before, so it will be an interesting test.

As far as the other recommendations, while they are attractive features in the newer kernels, some of these are likely large and complex back-ports involving whole subsystems. When you get into larger backports, they tend to consume a lot of time and they don't always show the rewards you hope for. And then there is the question of whether or not they will even work correctly with our Android build. I did one for the Transformer Prime about a year ago and back-ported the MMC/SD subsystem. I had to retrofit the driver model and tweak bunch of other things along the way to get it to work. It did help some in benchmarks when I was done, but it generated additional complexities and made ongoing maintenance more difficult. In the long run, for the time spent, the reward just wasn't there. That said, there may be sub-patches in these merges that could be worthwhile. Little things that can easily be merged in that might increase performance, stop memory leaks, prevent potential crashes etc. The smp patches I did from mainline 3.5 is a good example of this. Some good changes, but not too complex to fit in nicely with our 3.4 base.
[Nexus 4 Original Android Development] jarjar124:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Just flashed this kernel and loving it.. found the default settings a bit extreme with go hispeed load at 99. I'm liking these settings. Smooth....
[Nexus 4 Original Android Development] ctfrommn:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Agree.... I switched to ondemand and things are much smoother.

Sent from my blazing bionic Nexus 4
[Nexus 4 Original Android Development] JmPTaz09:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Moles from PA just posted a kernel with some awesome color tweaks; made my phone come alive. He posted his sources in Trinity thread. I prefer to run your kernel but his colors are the bomb! Any chance you could release a version with his color settings? That would be tits :thumbup:

B32 running great but I had to try out these colors.
[Nexus 4 Original Android Development] thracemerin:
You can set the colors using the scripts in post 2 to how ever you would like.
[Nexus 4 Original Android Development] IAmAN00bie:
You can run the PA settings without switching from Motley's.
[Nexus 4 Original Android Development] _motley:
Thanks for the info. Just tried them out, here is a script with the the converted values (hex to decimal) and the correct checksums.

P.S. Damn, these colors are pretty solid. Got mine set via init.d so I can let them live for awhile. Great work Moles!

P.S.S. See post below for flashable zip and instructions...

#!/system/bin/sh
echo "362 64 21 118 0 29 0 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_red
echo "410 114 21 118 0 27 0 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_green
echo "409 114 21 118 0 26 0 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_blue

#set RGB
echo "245 248 247" > /sys/devices/platform/kcal_ctrl.0/kcal
echo 1 > /sys/devices/platform/kcal_ctrl.0/kcal_ctrl
[Nexus 4 Original Android Development] _motley:
Thanks jarjar, I'll give your settings a spin and see what I think.
[Nexus 4 Original Android Development] JmPTaz09:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

I know, I'm a lazy arse, Lol. Guess I'll have to use the script cuz I'm digging these colors and B32 is sweet. :thumbup:
[Nexus 4 Original Android Development] _motley:
Here is my script above as a flashable zip:

View attachment motley_colors_moles01.zip

It will put the script "48colors" inside /system/etc/init.d/

However, you have to have a working init.d (busybox installed to /system/xbin). Use busybox installer and use the smart install to install to /system/xbin. Hope this makes it a little easier!
[Nexus 4 Original Android Development] ceejay83:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

These PA colors remind me of an amoled screen. Gets rid of the true colors imo
[Nexus 4 Original Android Development] thracemerin:
Yeah, that's my feeling about it too, kinda turns an IPS display into an AMOLED. I think people like them because they are used to AMOLED screens.
[Nexus 4 Original Android Development] bugsy2126:
I copied the text into a script '48colours' into the system/etc/init.d/ folder, made sure Busybox was 'smart installed' and rebooted. I don't see any changes to the screen though. Could it not be working? How can I check the script ran on startup?

EDIT: I forgot to add execute permissions to the script. I think I have it working now.
[Nexus 4 Original Android Development] ceejay83:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Screen is darker also. Thing I liked about this screen was the brightness, you could actually use it in daylight
[Nexus 4 Original Android Development] thracemerin:
Yeah, everyone has a different eye for these things, that's why it's great that we can customize it to our liking, but if there were a vote on it, I'd vote for keeping the current defaults.
[Nexus 4 Original Android Development] Lazy Rich:
AW: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

The colours are brilliant, looks pretty much like an amoled display, yes, but I love it that way.

Something else...I plugged the phone to the wall charger last night, at 50%. Now I woke up a few minutes ago, the phone was plugged in for 7 hours and it only charged to 66%. Anyone else ever had this? There was nothing running in the background and the phone was completely cold when I unplugged it. Might this be kernel related? Using b32 at the moment.

×××[ Nexus 7 || Angry AOKP || Motley Kernel ]×××
[Nexus 4 Original Android Development] ctfrommn:
Stock charger? If so, yes....it sucks....use a different one.
[Nexus 4 Original Android Development] robstunner:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

That's not the answer even a old galaxy s1 charger would have fully charged it over night
[Nexus 4 Original Android Development] thracemerin:
Something isn't quite right there, if the phone was idle it should charge fairly quickly, certainly more than 16% over 7 hours, since wakelocks won't be accurate while the phone is on charge, you'd have to investigate what might be running in the background, something is really using the CPUs to drain that hard.
[Nexus 4 Original Android Development] Lazy Rich:
AW: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Actually I AM using an old charger from the Galaxy S1 lol.

But hey, 7 hours must be enough time, even if it just have 1 ampere.

Edit: The strange thing is that it worked yesterday...and the days before.

×××[ Nexus 7 || Angry AOKP || Motley Kernel ]×××
[Nexus 4 Original Android Development] JmPTaz09:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Back on Motley with Mole's colors, thanks guys! :beer:
[Nexus 4 Original Android Development] poolemit:
open the battery screen while charging. is it switching between AC/USB while connected to AC?
[Nexus 4 Original Android Development] :
AW: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Can someone explain me where the gpu clocksource is located in this kernel?
[Nexus 4 Original Android Development] brolic925t:
hey can anyone tell me if i can just add the colors manually to fauxclock?

cause i have it set to

255, 250, 245

20, 24, 22

0, 2, 3

and theyre pretty sick. if anyone can compare or let me know if i can manually add them ill appreciate it
[Nexus 4 Original Android Development] bamsbamx:
My case, is more amazing... i am using wall charger from Nokia N97 mini... with the same voltage and 1,2 A at output...

Its charged in about 2 hours or less hahaha
[Nexus 4 Original Android Development] coke15:
hello

is there a software to configure the kernel ,like "stweak" on galaxy s2 withe siyah kernel?

thanks :)
[Nexus 4 Original Android Development] :
Hi,

Try this: http://xdaforums.com/showthread.php?t=2030373, but it's a work in progress so some tweaks like Gamma settings are not implemented yet.

Or Faux app: https://play.google.com/store/apps/...GwsMSwxLDMsImNvbS50ZWFta2FuZy5mYXV4Y2xvY2siXQ..

In both you can set CPU freq, governors, i/o schedulers, RGB colors, etc...

:)
[Nexus 4 Original Android Development] _motley:
If you are asking how to set it manually without the app, then yes, see post #2 for how to create a script. I'll give the colors a try later, still looking for the perfect fit for my eyes;)

Yes, there is going to have to be overwhelming agreement to change the default colors in the kernel. We may get there, but not quite yet. And there should be no complaints since you can set the colors to whatever you like. I've been using init.d for awhile and it works flawless. I think Moles@PA has a great color scheme brewing for those that like the AMOLED look.

Good to hear it. Did you get the init.d working along with it?

Yeah, good idea poolemit, I think the device is sensing a non-stock charger and falling back to the stock USB trickle charge. It charges, but it is dog slow. If you have any background apps running, it would barely be able to keep up.

There may be a tweak I can make to the kernel to honor non-stock chargers and not fall back to USB charging current. Not sure if it works well, but I have seen the commit.

Yeah, mine charges very fast and I am using the crappy stock charger that nobody likes:rolleyes:

Take a look here at these source files:

arch/arm/mach-msm/clock-8960.c

arch/arm/mach-msm/lge/mako/board-mako-gpu.c

arch/arm/mach-msm/devices-8960.c
[Nexus 4 Original Android Development] j3di:
Hey Motley, just an update about the Perfmon screenshot i posted a couple of days ago. With Max clock set to 1.404GHz, the Perfmon app appeared to show that cores 2&3 were still hitting the 1.515GHz max.

Fast forward to yesterday. I flashed the latest CM update, b31+b32 as i had been on before and cleared the caches before rebooting, had to update the system/etc/init.d folder after updating (can't get the data/local/init.d setting to work) . The problem appears to have disappeared now! All 4 cores are obeying the 1.404GHz max set in my init.d script.

Just thought i'd let you know all is OK again with the world! Thanks!
[Nexus 4 Original Android Development] _motley:
Great to hear! I wasn't seeing this with the tools I use so I wasn't sure what was going on. Thanks for reporting back.
[Nexus 4 Original Android Development] josuetenista:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Thanks motley for this kernel I was using build 31 with latest cm nightly and uc to 1ghz because my chip uses only 650mv at 1ghz so It saved a lot of battery but I had a little lag. Now with build 32 I don't have lag at all uc at 1ghz. Battery life it's amazing
[Nexus 4 Original Android Development] starscream92:
I personally use Trickster MOD. I don't tweak my device's gamma, so this app has been more than enough for me. I believe they developers are releasing a version which supports gamma tweaks soon.
[Nexus 4 Original Android Development] trismegistos:
AW: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Any idea why on latest b32 scripts in init.d are not getting loaded. The permissions are correct and I can start manually and with script manager.. Thx
[Nexus 4 Original Android Development] IAmAN00bie:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Are you on PA? I've been having the same problems, and have even done a full wipe and reflash and made sure busybox was installed in xbin and still no dice.
[Nexus 4 Original Android Development] j3di:
Which ROM? Is working for me using CM10.1
[Nexus 4 Original Android Development] trismegistos:
AW: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Yes I am. I think pa don't has init.d support and b32 kernel also.
[Nexus 4 Original Android Development] Herminator19640927:
Hey guys,

these questions might sound a bit stupid to you, but I didn't find answers in this thread (if there is an answer pls just gimme a quick link to the post and I will apologize for posting my stupid question :P)

When I flash a new build of PA, the stock kernel of PA gets installed, right? For updating to build 32 I have to flash build 17 and then 31 first. So I'm flashing 17, then I reboot and then back to recovery I'm flashing 31 and so on, 'till I'm on 32. Is it possible to flash all three (first 17, then 31, then 32) without rebooting?

Can I flash 32 right behind the PA update or do I have to do it like I described it? My solution would require 3 reboots just for the latest kernel... :-\

Or can i flash this one (Stock/AOSP with init.d support: motley_n4_exp_build_31_initd.zip) right after the PA update and then flash 32?

Sorry guys I'm getting a little bit confused lately :P

I hope these questions don't sound too noobish^^

Greetz
[Nexus 4 Original Android Development] thracemerin:
Flash motley_n4_exp_build_31_initd.zip then b32 is all you need to do.
[Nexus 4 Original Android Development] trismegistos:
AW: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Just flash the latest b32 motley after you flashed pa. no need to flash all other kernels
[Nexus 4 Original Android Development] thracemerin:
Nope

Do what I said above.
[Nexus 4 Original Android Development] trismegistos:
AW: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Why flash 31?
[Nexus 4 Original Android Development] thracemerin:
This seems fairly self explanatory, in order to be on b31 you have to flash b31, the default PA kernel is

NOT

b31 so you shouldn't flash b32 over it.
[Nexus 4 Original Android Development] ceejay83:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Ooops, installed a new rom yesterday and only flashed b32. It's actually worked fine so far lol
[Nexus 4 Original Android Development] thracemerin:
Not flashing b31 first when you were on a kernel that uses mpdecision means that both mpdecision and hot plug will be active simultaneously, which could lead to unusual battery drain due to the CPUs going online and offline in unpredictable ways.
[Nexus 4 Original Android Development] Herminator19640927:
Thx guys :)

I'll flash 31 and 32 later :)
[Nexus 4 Original Android Development] trismegistos:
AW: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

AND you don't have init.d support
[Nexus 4 Original Android Development] rlaw:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Many people complain about the colors appearing washed out, which I don't think is true. I believe many people have allowed AMOLED screens to set their own bar for how colors should look, which is over saturated and very vibrant.

Every script I've flashed tries to make this LCD screen look like an AMOLED one. N4 isn't 'washed out,' it simply isn't as saturated or vibrant as AMOLED.

Personally, I prefer the tiniest little tweak this kernel provides to rgb values (which is almost imperceptible from stock).

But hey, to each their own, right? :beer:
[Nexus 4 Original Android Development] air2k57:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Tried the color tweak... Don't like it one bit. Colors look too saturated and not natural, I thought they looked great before. Also makes the screen darker and harder to see in sunlight.

Bahhh! How do you get rid of it? Tried flashing the kernel again to no luck
[Nexus 4 Original Android Development] starscream92:
I totally agree with you. Ever since I used my Nexus 4, my Galaxy Nexus screen just doesn't appeal to me anymore. I like the coolness and apparently more realistic nature of the Nexus 4's colors more than AMOLED's overly-saturated colors.

Flashed Franco's latest test kernel, which has AOSPA kernel's gamma and color tweaks, and I cringed the moment I saw the screen. It actually hurt my eyes!

Back to good old Motley's!
[Nexus 4 Original Android Development] air2k57:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Back to normal, hank god! I really do not dig that color mod one bit! Please don't make it stock on this kernel lol.
[Nexus 4 Original Android Development] ceejay83:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Just go into system/etc/init.d and delete the 48 color file
[Nexus 4 Original Android Development] air2k57:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Yea, got it figured out. So much better lol.
[Nexus 4 Original Android Development] coke15:
thanks tou ;)
[Nexus 4 Original Android Development] j3di:
If anyone is interested, I moved scripts from init.d folder to where they would still be executed automatically following flashing of a new CM10.1 nightly...

data/local/userinit.d <----- Use this folder instead of (system/etc/init.d).

Probably common knowledge, but i'm learning :)
[Nexus 4 Original Android Development] Ulver:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

I think I'm having an issue with charging like someone said earlier. I charge via a qi charger and when I woke up this morning it was only at 95%. I'll have to try it again when I get home and see if it's switching to USB charging.
[Nexus 4 Original Android Development] Franklin Bernard:
Even I have the same question. Do I need reboot after every flash or can I flash like PA ROM, B31 and B32 at one go.
[Nexus 4 Original Android Development] ctfrommn:
Yes, Rom then b31, then b32, then reboot.
[Nexus 4 Original Android Development] ReD_AvEnGeR:
AW: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Is there a script for motley kernel with the settings from pa Rom? Thanks.

Edit: found it :D
[Nexus 4 Original Android Development] thracemerin:
_motley posted a script to change to Moles colors a few pages back, you have to put that in init.d to get those color settings.
[Nexus 4 Original Android Development] IAmAN00bie:
Has anyone gotten around to making a script for mole's new colors that he posted in this thread: http://xdaforums.com/showthread.php?t=2136295
[Nexus 4 Original Android Development] jhericurls:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

Have you read the past few post?
[Nexus 4 Original Android Development] DroidBlaze:
Look at the post right above yours, that's the script for the latest moles colors :highfive:
[Nexus 4 Original Android Development] ctfrommn:
Just open the one you have and change the values. I've been playing with that all day :D
[Nexus 4 Original Android Development] IAmAN00bie:
Re: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

I didn't see that script.. It was posted right as I was posting my comment. Also the new colors in talking about are not the ones in the current paranoid android build, they are something moles refined today.
[Nexus 4 Original Android Development] z3r0_x:
AW: [KERNEL][Feb 3][Linaro]Exp:b32/Main:b57 _motley kernel for the N4

I am getting some errors! What am I doing wrong?

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] joeshmoe08:
I would also appreciate it if someone who already edited the colors correctly to post the zips for Version 2 Variant 1 and version 2 variant 2.
[Nexus 4 Original Android Development] thracemerin:
Probably not running the script as root, need to type su into the terminal emulator first.
[Nexus 4 Original Android Development] DroidBlaze:
The script posted in the previous page is for Version 2 variant 2... I'm using it but just changed the rgb values a bit to make the whites less yellow
[Nexus 4 Original Android Development] _motley:
Nice work jazzboyrules! Can't wait to get home from work so I can play around later. It's getting pretty gammalicious around here:laugh: