yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Arstoien:
Check how often your apps are syncing. For the most part using push notifications is better, if possible (unless you receive notifications every minute or something like that...). Then disable the location service settings in Maps that you don't use. Especially "Reporting from this device". You can also disable Google Now if you don't use it. And, of course, don't keep Wifi on when you're not connected. You can also disable GPS when you don't use it, to prevent some apps running it every now and then on background (there are some nasty ones like that).

It's not the most helpful answer but if you're right that you don't have any nasty wakelocks from your apps, there's not much else you can do than disabling stuff you don't use and reducing the frequency your apps request internet for syncing. If you use a lot of apps that require periodic sync, you would benefit from an app that synchronizes their syncing. For example if you have 3 apps syncing every hour, you will have 1 total internet connection for all the apps instead of 3 separate. I'm using Tasker for this, but I'm sure there are other apps for this purpose too.
[Nexus 4 Original Android Development] paaaulo:
@up http://pastebin.com/
[Nexus 4 Original Android Development] eyahl:
Why can't you post a .txt file?? Whyyy???
[Nexus 4 Original Android Development] Arstoien:
It's in CODE tags but apparently the XDA app / Tapatalk doesn't collapse these. For the future it's probably better for people to use HIDE or just attach a TXT file.
[Nexus 4 Original Android Development] nellisere:
I've had this issue once, on r127, didn't think anything of it really, got a bit worried but just rebooted the phone and it's been fine since.
[Nexus 4 Original Android Development] tusing:
Does this include the PA color saturation fix? If not, how can I use that fix and this kernel at the same time?
[Nexus 4 Original Android Development] kaiser_tytnii:
sorry guys! forgot about the mobile app! EDITED~
[Nexus 4 Original Android Development] TrenchKato:
I've had that issue maybe a month or so ago. Thought it was a ROM issue
[Nexus 4 Original Android Development] steviewevie:
Sorry, I probably did then what I suspect others are doing now, and assuming this is the same as the previous issues with loaded profiles.

Franco, any idea why the greys value is going to 114 after a reboot if it had been previously set to zero?

Edit - actually I think it happens whatever the greys was set to.

Sent from my Nexus 4
[Nexus 4 Original Android Development] nellisere:
Happened on Stock to me, first time it's happened since I've had the phone (4 months)
[Nexus 4 Original Android Development] Testraindrop:
Actually its hard to believe its related to profiles, because if you manually set new values and reboot, every value you set new (and not saved in a profile) is set right, except the grays.

[MENTION=3292224]franciscofranco[/MENTION]

Could you have a look into this?

(first time using the new mention system :))
[Nexus 4 Original Android Development] liquidreign:
Franco this Kernel is the BEST

I just wanted say that the screen colors with this kernel are amazing.I was disappointed as many others with Nexus 4 screen colors and was almost considering going back to my Gnex,

but I knew I wouldn't be satisfied. So when I flashed francos kernel everything was made right. This is how LG and google should have released the N4, So shame on them.
[Nexus 4 Original Android Development] farmerbb:
When the app restores the gamma values after boot, it just doesn't restore the values for grays. Which is why they just show as 114, because that's the kernel's default value for grays.
[Nexus 4 Original Android Development] Cuzz1369:
Battery life depends on usage. Don't play a game, have brightness all the way down, and leave the phone sit on a table doing nothing and you too can have 6 hours of screen time on. Personally I don't obsess over battery life. I charge my phone at night. Its more than enough to get me through the work day, get home maybe throw it on the charger for a bit and spend the rest of my day enjoying this wonderful gift from Google called Nexus 4
[Nexus 4 Original Android Development] franciscofranco:
I will take a look yep.
[Nexus 4 Original Android Development] Testraindrop:
Wow, new mention system works better than expected, now should only serve cookies :)

Btw. r127 is flying, no problems so far, battery is nice as always, speed is fast and smooth... hm yep cookies are missing :good::cyclops:
[Nexus 4 Original Android Development] daerragh:
I didn't find anything about it in the changelog but still I'll ask: does the kernel support gpu & cpu overclocking?
[Nexus 4 Original Android Development] Vangelis13:
OOT warning: Francisco, I was at my Portuguese friend's restaurant, thought of you.. :p
[Nexus 4 Original Android Development] Testraindrop:
no
[Nexus 4 Original Android Development] DesertVelo:
My oh my.... that looks wonderful!

Sent from the singletrack...
[Nexus 4 Original Android Development] ceejay83:
I hate dealing with shelled shrimp :p
[Nexus 4 Original Android Development] Luigiesin:
Me too! LOL

Sent from my Rock & Roll Nexus 4 \m/

ROM: PA 3.15

Kernel: Franco #666/r126

T-Mobile
[Nexus 4 Original Android Development] drawde40599:
Not yet, don't think hes going to do gpu on N4 but he said he would add cpu oc after next milestone.
[Nexus 4 Original Android Development] jbrizz:
I'm getting very bad suspend_backoff kernel wakelock (20 - 25%) while connected to a moderately busy corporate wifi, goes away completely on typical home type wifi connections.

Does anyone know how I can fix this? I know the driver has been fixed properly by Qualcomm yet so I'll take delayed notifications over a phone that doesn't sleep.
[Nexus 4 Original Android Development] Vangelis13:
No no, only the last bit on the tail was still on them.. ;)

Proper chef at work there..
[Nexus 4 Original Android Development] ceejay83:
what? Head attached and no shell? Wo
[Nexus 4 Original Android Development] matus201:
My phone just turned off for no reason: I was running and listening to music via 8tracks, when it suddenly stopped. Holding the power button for few seconds turned the phone back on. It happened to me twice before already that the phone freezes. It always happens with screen off. Only solution is to hold the power for 10 seconds. Anyways, here's the last_kmsg, hopefully it helps to identify the problem..
[Nexus 4 Original Android Development] franciscofranco:
Now thats a ****ing nice dish!
[Nexus 4 Original Android Development] franciscofranco:
[29585.639551] resout_irq_handler PMIC Initiated shutdown

[29585.639673] PMIC Initiated shutdown cpu_power_off cpu=0

[29585.639673] PMIC Initiated shutdown cpu_power_off cpu=1

[29585.639826] Powering off the SoC

[29585.639917] Calling scm to disable arbiter

[29585.640039] SCM returned even when asked to busy loop rc=-4

[29585.640070] waiting on pmic to shut msm down

3968 Corrected bytes, 458 unrecoverable blocks

Boot info:

Last boot reason: hw_reset_or_poweron

Sounds to me thats caused by undervolting or very low suspend freq? Nothing else happened there, no kernel derp.
[Nexus 4 Original Android Development] matus201:
Thanks for quick response!

Anyways, that's weird.. I am running everything on default settings (no UV, no freq changes from default values..). Only thing I changed are colour settings, and vibration strength back to 70. Whenever I flash your kernel, I clear your app's data (via the in-app menu) before and after flashing the kernel.
[Nexus 4 Original Android Development] habskilla:
There MANY MANY people who are running stock ROM with franco's kernel.
[Nexus 4 Original Android Development] n0thing2bdone:
to those of you who undervolt--do you tether with built-in tethering? I undervolted all by just -50 but it seemed tethering wasn't reliable until I went back to stock voltages. no prob with -50 otherwise.
[Nexus 4 Original Android Development] gravitysandwich:
Any thoughts Franco? Thinking about adding this or not?
[Nexus 4 Original Android Development] tusing:
Done with my GNex and loved Franco/AK kernel (mostly Franco) on it. Glad to see it's available for the Nexus 4! Can't wait until mine finally ships.

Also, the Original Post is amazing! It should win an award or something, it made me LOL so much :D
[Nexus 4 Original Android Development] franciscofranco:
Yes, thats cool.
[Nexus 4 Original Android Development] ngkongArm:
I have alarm_rtc wakelock about 21min from 10hr using r127. Is this normal? Because it didn't happen on r126. Thanks,
[Nexus 4 Original Android Development] PunkOz:
Franco, I've got a question for you :)

When I set let's say .. The lowest frequency available in your kernel for screen off/suspend

Will it run at one core min frequency or it'll turn on more cores? If it turns on more cores depending on the load it would be cool to have something to disable cores when screen off in your app :) not requesting --- just saying. Anyway will the cores turn on depending on the load?

Thanks in advance!

Ps; Coming from S2 forums I didn't know you could improve both battery and perfomance in every kernel nightly, I got better perfomance and better battery when I should be getting worse battery! Insane kernel, keep it up! :)
[Nexus 4 Original Android Development] k_nivesout:
No idea what causes it but just wanted to chime in and say this happened once to me too. Everything except the reboot that is, i ended up manually rebooting to get my notification bar back. No touch control or other tweaks. Not sure what exact build it was on, whatever was current a few weeks ago. Wish I had something helpful like logs or the like to debug the issue, but just wanted to let dzap and Francisco know it wasn't an isolated incident.

As far as the current kernel, it's really hitting the balance between performance and efficiency incredibly nicely! Only issues I've had aside from the above is the rare weirdness with the notification bar while unlocking and the previously mentioned grey gamma bugginess after reboot.

Oh, and I forgot to thank Francisco after the last app update for fixing the numerical input fields (used to bring up regular keyboard instead of numerical keypad) and continuing to beautify the interface. Great work man! :thumbup: :beer:
[Nexus 4 Original Android Development] lonelysheep:
Suspend Backoff wakelock

it seems something will trigger my phone to be awoke. After boot up the phone, everything is fine and my phone can deep sleep, but don't know why suddenly my phone would keep award and has high suspend backoff wakelock, and only can back to deep sleep until reboot it. i already tried to uninstall/disable any possible app, but still same. sometime it take a whole day to become that, sometime it only take few hours.
[Nexus 4 Original Android Development] Luigiesin:
You should try wiping your phone... That would help.... Don't think it has anything to do with the kernel... Must likely ROM related.

If you're using the latest version of Pa, it comes with a wifi fix that it's known to have a hardcore wakelock... Flash ROM, reboot and flash Franco and that should take care if it.

Sent from my Rock & Roll Nexus 4 \m/

ROM: PA 3.15

Kernel: Franco #666/r126

T-Mobile
[Nexus 4 Original Android Development] leader288:
Same here I've experienced the bar not responding just once. Only a hard reboot would work to reactivate the bar

Sent from my Nexus⁴
[Nexus 4 Original Android Development] TiGuy82:
Franco,

I just bought your application, I think was the best way to donate to yourself ;)
[Nexus 4 Original Android Development] andybfmv96:
What app is everyone using to manage the I'm using android tuner.. Good choice or is there something better?
[Nexus 4 Original Android Development] mitchdickson:
Franco's app...

Sent from my iPad 4
[Nexus 4 Original Android Development] ridikolous:
Franco kernel updater app
[Nexus 4 Original Android Development] Cuzz1369:
+27 on the fku
[Nexus 4 Original Android Development] jtwlbz:
127 is so impressed that it can be m2 imo
[Nexus 4 Original Android Development] franciscofranco:
Yes, most likely.
[Nexus 4 Original Android Development] spicediablo:
As franco said, we can expect m2 to come out soon. :beer:

Sent from Mako⁴
[Nexus 4 Original Android Development] drawde40599:
It is pretty bada$$, no issues anywere, lag free, smooth, fast , no heat, data and wifi working great (all notifications coming threw for me screen on and off /wifi and data , completely stable
[Nexus 4 Original Android Development] giabritsos:
Happens to me too...what rom u use?paranoid?tell me if u find any solution

Στάλθηκε από το Nexus 4 μου χρησιμοποιώντας Tapatalk 2
[Nexus 4 Original Android Development] franciscofranco:
Random question, is your data connectivity better with r127 than it was on r126 and on the older r12X versions or is it the same?
[Nexus 4 Original Android Development] drawde40599:
Ummmmmmm, i no i thought i noticed data being better around 120's but i just figured it was the full wipe i did at 122 i think it was. I no my data has been a issue in the past with the kernel, but since full wipe makes me wonder if thats all i needed and wasnt kernel at all. So Yes i think i can say seems better.
[Nexus 4 Original Android Development] franciscofranco:
Ahah very curious :)
[Nexus 4 Original Android Development] Luigiesin:
+1

Sent from my Rock & Roll Nexus 4 \m/

ROM: PA 3.15

Kernel: Franco #666/r126

T-Mobile

---------- Post added at 10:46 PM ---------- Previous post was at 10:44 PM ----------

Data is definitely better for me in #666... Don't know the reason but I get 22mbits down at the same place I used to get about 12mbits.

Sent from my Rock & Roll Nexus 4 \m/

ROM: PA 3.15

Kernel: Franco #666/r126

T-Mobile
[Nexus 4 Original Android Development] vicgomez:
Random reboot on r127

Hi Francisco, I had a reboot on r127, I think is my second one since I've started to use several of your nightly kernels a month or so ago. I'll attach a link to the last_ksmg if it helps you in any way. It's really long so I'm pretty sure you might have neo's vision if you can read all the ones that we send you. http://pastebin.com/CVrHtphT

Thanks for your great work
[Nexus 4 Original Android Development] franciscofranco:
Something is seriously ****ed there. I need the whole last_kmsg, I need to see whats before that wall of warnings.
[Nexus 4 Original Android Development] JNewms:
I had a reboot as well today. First time I've ever had one in your kernel. I was in the midst of trying to get so be things accomplished so was unable to grab the kmsg. If it happens again I'll definitely get you a copy. No UV or anything, hopefully I can help.

Sent from my Nexus 4 using Xparent Skyblue Tapatalk 2
[Nexus 4 Original Android Development] franciscofranco:
Weird, there were no crazy patches for r127 O.o
[Nexus 4 Original Android Development] vicgomez:
Man you mean that wasn't all of it? I never had to get a last_kmsg, googled the instructions for the last one. Is there any special way I should get a complete last_kmsg
[Nexus 4 Original Android Development] JNewms:
It only happened once, thing is is that Google play had been updating some apps. One of them that updated was the theme I'm using. I haven't had another since so I chalked it up to that. If it happens again I'll grab you a copy. I feel like a slacker for not getting it earlier, but I was pretty distracted.

I know I'm not much help without that kmesg though.

Sent from my Nexus 4 using Xparent Skyblue Tapatalk 2
[Nexus 4 Original Android Development] franciscofranco:
Its in the OP :(
[Nexus 4 Original Android Development] GabrielSousa:
@franciscofranco

THANKS A LOT FOR r19

FOR THE 1ST time my wifi works !!!!!!

only with your new wifi drivers
[Nexus 4 Original Android Development] franciscofranco:
Yes I also believe theres a problem in battery reporting in this device, maybe due to half-assed drivers I don't know. Can't wait for Google to drop 4.2.2 to be honest.
[Nexus 4 Original Android Development] ben_pyett:
When it says charging does it actually say charging USB instead of AC? even though you've plugged it into mains? this is quite common....
[Nexus 4 Original Android Development] superbobup:
By that logic, AC charger means more heat so you shouldn't use it in case of battery damage.

But this is assuming that fast charge doesn't draw more than the 1.2 amps that the AC charger does, so I think it will be just fine
[Nexus 4 Original Android Development] CMNein:
Me neither. I truly hope 4.2.2 is the key. Still no factory images, but OTA's are still going out, not sure if this points to images being taken down because of licensing rather than a critical bug (?).

I hate feeling like I'm playing Russian Roulette when my battery level gets down to 20%. Please let it be OS vs hardware... :fingers-crossed:
[Nexus 4 Original Android Development] albundy2010:
It is choppy / laggy. All this user error silliness needs to stop.

If you can't see it or feel it do this. Run nova launcher. Set the app drawer and widgets to vertical scrolling. Scroll on default r19. Scroll on r19 performance and see the difference. Flash back 18 or whatever previous kernel and see the difference.
[Nexus 4 Original Android Development] SupWiz17:
Do you turn your phone to airplane mode when you go to sleep?

---------- Post added at 01:19 PM ---------- Previous post was at 01:16 PM ----------

R19 is running great so far for me. I just flashed it so I don't know about battery life but I think it's running smooth and I'm only seeing a slight lag or jerkiness in tapatalk when scrolling.

I think the auto flash after download is a great idea but is there any way that we can auto flash the kernel whenever we want and not just after the download? That would be a cool feature.
[Nexus 4 Original Android Development] superbobup:
Make a backup/place the boot.IMG in the kernel backup folder and restore using the app :thumbup:
[Nexus 4 Original Android Development] estallings15:
Good idea, bro. Have a thanks.
[Nexus 4 Original Android Development] CaspaTheGhost:
I did what you said with Nova but there's absolutely no lag for me on default settings.

Can't reproduce what you're seeing.

Sent from my Nexus 4
[Nexus 4 Original Android Development] drawde40599:
Ya i did the same no lag here either , those nova settings he posted are what i use daily i would notice if was a lag
[Nexus 4 Original Android Development] CaspaTheGhost:
Nova is my default but I use horizontal scrolling on the app drawer so thought I'd give it a try.

Sent from my Nexus 4
[Nexus 4 Original Android Development] franciscofranco:
Ok I'll share some settings that I'm currently testing (unfortunately I have to re-code the Governor Control in my app because its missing some options from that panel):

echo 5 > /sys/devices/system/cpu/cpufreq/ondemand/down_differential

echo 1026000 > /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq

echo 2 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor

echo 1026000 > /sys/devices/system/cpu/cpufreq/ondemand/sync_freq

echo 98 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold

Its a little more aggressive, test it out guys.
[Nexus 4 Original Android Development] CaspaTheGhost:
Thanks Franco, testing them out now.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Vanhoud:
Nope no ap mode I turn off data and that's about it

Sent from my Franco'd Nexus 4
[Nexus 4 Original Android Development] drawde40599:
I use vertical , just wanted c if I could duplicate his issue , i cant , cant get 19 or any other version to lag at all , games , launcher , utube , g+ , Facebook , and other apps no lag , complete opposite actually , sometimes to fast to were i forgot what the hell i was doing ;p
[Nexus 4 Original Android Development] comminus:
Definitely seeing a decrease in stuttering during inertial scrolling with these settings. In fact, during inertial scrolling is the only time that I see any issues and it is more pronounced on some applications than others. For example, in system applications, G+, I can't tell if there is a stutter. Tapatalk, Google Reader, twitter, have perceptible stuttering during inertial scrolling.
[Nexus 4 Original Android Development] Nark.GA60:
Nice improvement!

Inertial scrolling still feels unnatural to me, though. But that could just be an ondemand vs interactive thing.
[Nexus 4 Original Android Development] Puzzlegirl:
I don't see this at all. I don't have choppiness or lag. I use Nova with vertical scrolling anyway.
[Nexus 4 Original Android Development] spaceman860:
???

Sent from my Nexus 4
[Nexus 4 Original Android Development] ben_pyett:
Kernel panic also in afraid see attached.

http://pastebin.com/5us1HZ9g
[Nexus 4 Original Android Development] franciscofranco:
Nothing attached :(
[Nexus 4 Original Android Development] ben_pyett:
sorry working on it.... Xda and Chrome being an arse!

Edit: see above paste bin
[Nexus 4 Original Android Development] vicgomez:
Yeah sorry, I think reading a little more won't hurt me. Anyway here's the one from /proc. http://pastebin.com/MwqVP9zZ
[Nexus 4 Original Android Development] franciscofranco:
Ah sorry guys none logs show anything :p Don't worry, I'm gonna attach next milestone rc0 in a couple minutes for some testing, that might be fine.
[Nexus 4 Original Android Development] franciscofranco:
Attached goes a routine test dubbed rc0 for the next Milestone. Just want to know how the touch sensitivity feels because I made some changes in the touch driver and if anyone can reproduce the so called shadow after unlocking and touching the screen very fast. If thats fixed its a very good thing. Let me know.
[Nexus 4 Original Android Development] aimcr7:
Pretty good battery life today, busy day for my phone. r127.

3G all the time, sync on, no gaming.

EDIT: damn you are fast man, flashing it right now.
[Nexus 4 Original Android Development] ÜBER™:
Get ready for all the

Why doesn't touch control work!!!???

complaints.

Sent from my Nexus 4
[Nexus 4 Original Android Development] nachordez:
Nothing that I can feel. It was always OK for me, both in WiFi and data connection.

Nexus 4, stock kernel, last Franco.kernel nightly
[Nexus 4 Original Android Development] ceejay83:
Great battery life, at this rate I'm going to hit 8 hour screen time :good:
[Nexus 4 Original Android Development] Mercado_Negro:
Nice... I'll be eagerly waiting for that M2, Franco :) Thanks again for spending all this time on making our user experience much better.

Cheers
[Nexus 4 Original Android Development] ÜBER™:
Sent from my Nexus 4
[Nexus 4 Original Android Development] franciscofranco:
I'm prepared, FAQ entry number 7!

Anyone flashed that rc0? If so, hows the touch sensitivity?
[Nexus 4 Original Android Development] aimcr7:
No noticeable difference with rc0, haven't notice any ghosting with r127 tho, smooth as usual.

Tried locking and unlocking very fast, tried touching my phone like crazy, no, no ghosting at all. I am afraid I will break my screen with that crazy fast touch :(

About touch sensitivity, it feels better, but perhaps its only a placebo effect. :o
[Nexus 4 Original Android Development] franciscofranco:
Apart from ghosting hows the sensitivity? Same as before?
[Nexus 4 Original Android Development] jayeshrc:
i had the issue on one of the earlier kernels as well, it went away and now on 127 its back.. happened twice yesterday
[Nexus 4 Original Android Development] aimcr7:
Tested in gallery, launcher and browser. Seems better. :)
[Nexus 4 Original Android Development] Mercado_Negro:
I'm downloading it right now. I'm laying on my bed and don't feel like going to my PC again :p how's that flashing command using terminal emulator again? Just "su" and then "fastboot flash boot boot.img"? :)
[Nexus 4 Original Android Development] jayeshrc:
ghosting/shadowing is definitely better. sensitivity im not sure, never really noticed an issue from before, so.. :P
[Nexus 4 Original Android Development] franciscofranco:
You have two choices:

1 - if you have my app you can place the boot.img in the backup_restore folder on the sdcard and restore it using my app

2 - the command is wrong, the command to flash from the terminal emulator is something else, but if you write it wrong or with a typo in the block partition it can be the end of your device for real