yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Hanny:
dpm_run_callback(): platform_pm_suspend+0x0/0x5c returns -16

This one has always appeared in my random reboot logs lately. Today had 5-6 and have forgotten how many I had over the week. So glad that its identified by you :)

I didn't save all the last_kmsgs but here are some of them, these reboots happened mostly after taking a shot (either HDR or not) with stock camera app, sometimes simply navigating on some other apps, sometimes after screen is turned off.

Happened with & without UV (my stable -75/-100 depend on ur voltage setting on something else i forgot, and now is -100)

Happened with & without Chrome Beta

sometimes its hw_reset, sometimes its watchdog, and most of the time its kernel panic, but all the time that line is present

and for the rom, im on cataclysm which is JWR :) cuz not all people are reporting and like most people are not answering your question of "what rom?"... does this happen mostly on JWR? just wondering
[Nexus 4 Original Android Development] JNewms:
Hey guys. Looking for a little help. I've been searching from my phone for the S4 color values. Unfortunately, it won't go back far enough to let me find them. Can anyone help me out?
[Nexus 4 Original Android Development] redsmith:
Use FKU app and load the color profiles from the users. There are several S4 profiles in there you can try...
[Nexus 4 Original Android Development] JNewms:
I would, but I just flashed SlimROM and unfortunately it isn't compatible with Franco kernel... Which is heart breaking.

---------- Post added at 04:34 PM ---------- Previous post was at 04:29 PM ----------

Never mind, finally found them.

---------- Post added at 04:35 PM ---------- Previous post was at 04:34 PM ----------

Never mind, finally found them.
[Nexus 4 Original Android Development] Whosdaman:
Those look great, but I have just as good if not better ones. The problem is that they come out looking too dark. Everyone demands the RGB be kept to 255. So that was my only requirement for mine. Yours are great though nonetheless.
[Nexus 4 Original Android Development] Luigiesin:
Hey brother... This one is the only S4 profile I have... Let me know if this helps.

Sent from my \m/ Nexus 4

Cataclysm + Franco
[Nexus 4 Original Android Development] spacebar2011:
Here is the S4 profile I use:

R, G, B - 255, 255, 255

Grays - 0 0 0

Mids - 119 119 119

Blacks - 119 119 119

Whites - 23 23 23

Contrast - 15

Brightness - 0

Saturation - 71

EDIT: Too late.. but mine's slightly different. Its full RGB.
[Nexus 4 Original Android Development] mazubo:
[MENTION=410271]fransisco[/MENTION]franco on my n4 182 is flying, thank you! Just curious of you've received your n7.2 yet?:D:D:D
[Nexus 4 Original Android Development] SevansD:
I messed with the color controls with little success and so tried the Obsanity default. It took a little getting used to but scrolling through thumbnails now looks much better than anything this N4 screen has shown previously. FWIW
[Nexus 4 Original Android Development] JNewms:
Thanks guys. I was able to find them right before you posted these. Using another kernel and app to control it reminding me how much Franco has spoiled us all... Lol
[Nexus 4 Original Android Development] franciscofranco:
Not yet, postal services have been playing "games" with me -.-

That's the goal :) You moved to another Kernel because you were having strange reboots with FK? I decided to roll back to r176 state and then just re-apply safe patches that I know are fine, and I coded a new GPU governor algorithm a few minutes ago. Will share tomorrow, need to test it through the day.
[Nexus 4 Original Android Development] JNewms:
I actually wasn't having any reboots. I was experimenting with roms and flashed Slim. Didn't realize that they changed their ramdisk to where it doesn't boot with your kernel. I'll be jumping back to a Franco friendly rom as soon as you release the new update.
[Nexus 4 Original Android Development] SevansD:
Why do you suppose some devices, like mine, rock on flawlessly while others are rebooting? I hate the thought of going back to anything previous to r180, it's like my phone got a B12 shot with that update and the battery has improved with both updates since.
[Nexus 4 Original Android Development] Mercado_Negro:
I'm in the same boat, using SlimBean but not your kernel because of that difference between ramdisks. It's a great ROM with a very nice team behind it, very organized and committed. Too bad we can't use your kernel anymore. I always read this thread, though ;)
[Nexus 4 Original Android Development] spacebar2011:
I was getting reboots on PA 3.99 with r182. Never had reboots prior to r182. Now I'm on the PA 3.99 Beta and decided to stick with the included kernel until Franco releases an update. Somehow, my phone status feels incomplete without flashing a Franco kernel after flashing a ROM/ROM update. :)
[Nexus 4 Original Android Development] franciscofranco:
I actually didn't notice any battery improvements to be honest, but I'll re-merge the internal sdcard clock scaling eventually. I didn't went back to r176 code totally, just reverted most of the patches that I got from CM's repo which most likely did a bunch of **** to some devices, can't really afford that to be honest.
[Nexus 4 Original Android Development] SevansD:
Not sure what that means but I'll follow along and see how it works. Of course I'll keep rocking this one till it acts up. PA 3.99 on an N4 BTW.
[Nexus 4 Original Android Development] leets4uc3:
This is a good one. https://www.youtube.com/watch?v=GpH4hrV38J0&feature=youtube_gdata_player
[Nexus 4 Original Android Development] sordna:
haha the accents starting at 2:40 onwords are HILARIOUS.
[Nexus 4 Original Android Development] leets4uc3:
Well fúck
[Nexus 4 Original Android Development] arlenwoot:
What rom?
[Nexus 4 Original Android Development] leets4uc3:
Carbon nightly 9-4-13. I don't think it's a ROM issue tho. Its just a Google service problem, I "think."
[Nexus 4 Original Android Development] JNewms:
If you'd like an extra tester, I'm willing to assist. :)
[Nexus 4 Original Android Development] arlenwoot:
Yeah. I think there was a bug with a cm nightly from last week that was causing play services to use up a lot of the battery, can't remember exactly but thats why I was asking what rom.
[Nexus 4 Original Android Development] jmudrick:
Of course it is. Google Now and Sync on.

Consistently over 5hrs SOT with r182
[Nexus 4 Original Android Development] arlenwoot:
Same here. I wouldn't mind helping.
[Nexus 4 Original Android Development] alanwyl:
I have encountered some weird thing lately, not sure if it is the deadlock thing. Sometimes when I touch the screen it has no response until after some seconds. Those response are the touches and swipes that I made within those seconds. I haven't install anything new as PA and Franco hasn't push out updates.

I checked kmsg it doesn't say anything about touch disabled. Very strange.

Btw FF the new ondemand is still not as good as your interactive
[Nexus 4 Original Android Development] AhmedFaiz:
Can you please share your kernel settings for that 5hrs SOT. I am running default settings only reaching near 4 hrs of SOT only. Would be nice to get that 5hr SOT :)

N⁴| PA3.99 |FRANCO r182 |V4A
[Nexus 4 Original Android Development] jmudrick:
Stock interactive, UV - 100, S4 screen profile, Cataclysm ROM. Using Greenify to sleep all appropriate apps. Almost all wifi.
[Nexus 4 Original Android Development] drawde40599:
Or maybe he could throw out a test. Img for all of us crack flashers :P
[Nexus 4 Original Android Development] arlenwoot:
True. I would imagine though that he'd want to keep a bleeding edge limited to only people who know what they're doing so the thread doesn't get spammed with people asking why its broken. If it was just posted straight to this thread people who barely know how to root their phone would grab it without thinking.
[Nexus 4 Original Android Development] drawde40599:
U must b new here, welcome aboard!
[Nexus 4 Original Android Development] arlenwoot:
Nope not new at all, but thanks for the welcome.
[Nexus 4 Original Android Development] Luigiesin:
I'm getting the same results give and take... Also using Cataclysm... It's been a blessing for my phone... Franco + Cataclysm has been the best combo for battery and performance after trying 4 different ROMs.... Interactive of course ;)

Franco was right when he said stock ROM is the best.... Cataclysm is stock with just a few customizations and it doesn't give me any hassle. Low maintenance! Good!

Sent from my \m/ Nexus 4

Cataclysm + Franco
[Nexus 4 Original Android Development] JNewms:
You just described every day on this site... Lol. I imagine he will just test it himself then release. I was just angling to fill a slot that I believe is empty.
[Nexus 4 Original Android Development] arlenwoot:
Lol guess so. Figured it'd be even worse though.
[Nexus 4 Original Android Development] franciscofranco:
I would drop a test .img but its 7am, I've been coding FKU stuff all night and I would need to rebase and merge commits around my Kernel branches and compile JWR then JSS... too tired for that today. But rest assured that the new algorithm is working great, good benchmark results, nice and smooth gaming and I think that its more efficient in how it scales. Also possible to tune up_threshold, down_threshold and sample_time, so that will be a fun addition to FKU sometime.

Oh and no more need for a Back button on the File Manager ActionBar, managed to build a small wrapper to interact from the Fragment to the MainActivity to Override the NavigationBar Back button accordingly. A bit hacky, but it works. Bloody static contexts and classes inheritances of Java!

Good nighty :)
[Nexus 4 Original Android Development] JNewms:
Tomorrow will be a great day then. :)
[Nexus 4 Original Android Development] Andre_Vitto:
GN.. Maybe you can answer tomorrow but can you please chare what do you use for benchmark?
[Nexus 4 Original Android Development] jak3z:
Franco nexus 7 2013 is on the road, expect him to get it today. We just had some fun this week with postal services :angel:

Also my battery life is worse than before since I have 50% deep sleep only, and I haven't change an app in 3 months, just updated them. :confused:
[Nexus 4 Original Android Development] energyword:
Are you the number one [MENTION=3292224]franciscofranco[/MENTION] ... Your Kernel is mandatory for anyone who owns a Nexus 4 ... Thanks
[Nexus 4 Original Android Development] Mihnea1996:
I have lost 26% of battery over the night since I flashed r182. Any idea? What's the problem? Android system has a huge consumption of 33% of battery. Sorry if the answer is in the previsious replies, but there are a lot of pages and I can't read them all. Thanks!
[Nexus 4 Original Android Development] fozzie:
An update is a change! Anything could have changed within any of the apps that have been updated. Also don't forget all the silent updates that happen to various OS related apps. ;)
[Nexus 4 Original Android Development] jak3z:
Well I know that, but from having 82% deep sleep to a 50%, something is really really broken.
[Nexus 4 Original Android Development] fozzie:
That doesn't mean anything is necessarily 'broken'. Your network conditions (Cell and/or WiFi) may changed.....in fact anything (as I've mentioned previously in http://xdaforums.com/showpost.php?p=41029765&postcount=28541).
[Nexus 4 Original Android Development] jak3z:
WiFi haven't changed in almost 2 years, and where I live nobody remotely uses the channels I use for WiFi, this is a very calm place with low population and I got a fcking antena 500 meters away that is the one giving me signal. So nothing have changed, even the weather haven't changed in 1 month, so it's an app / update.
[Nexus 4 Original Android Development] fozzie:
Which was exactly my point, whereas originally you tried to suggest it wasn't an app as you hadn't "change an app in 3 months, just updated them".

Oh well, I hope you get to the bottom of your problems.
[Nexus 4 Original Android Development] Arstoien:
Franco could you take a look at why input_boost_freq_duration gets reset to 1000 on boot? I'm sure many who are using android animation scale 0.5 could benefit from lowering it. And ye, I have checked Set governor control on boot.

Btw a small question to the rest of you: after using PA 3.99 for about a week I had to get away from it because of rom related reboots. Tried PAC-man and loved it but it's JSS based and suffers deadlocks, so I'm currently on stock JWR. Any recommendations for a stable JWR rom? I'd prefer PMs so we don't clog the thread with rom talk.
[Nexus 4 Original Android Development] Luigiesin:
For those having deep sleep issues... The new update of Gdrive is screwed up... Syncing gets stuck and that might keep your phone awake.

I greenified it and my phone went back to deep sleep.

Sent from my \m/ Nexus 4

Cataclysm + Franco
[Nexus 4 Original Android Development] mkfort:
I'll have to try that, thanks for info. I did have the same trouble with r176 after a while, so it very well might be an app. I've been testing with stock kernel since yesterday morning , so far haven't had the issue. I'll keep with stock kernel until next FK comes out, or until I can reproduce the deep sleep problem.
[Nexus 4 Original Android Development] im4eversmart:
hey guys,been testing this kernel and my phone is going in a very deep sleep , like my battery drops down 1% every 2 hours , is this normal?
[Nexus 4 Original Android Development] cobyman7035:
has anyone tried that linaro r182.franco kernel? im tempting to try that cuz i cannot get fauxsound app on this threads current r182
[Nexus 4 Original Android Development] jak3z:
If your phone got a terrible hungover it's totally normal!
[Nexus 4 Original Android Development] Redneck Trash:
Odd. Drive hasn't screwed up my sync but then I'm not having deep sleep or Google Services issues.
[Nexus 4 Original Android Development] im4eversmart:
lol good to know, everything is working pretty good from sync to gps and bluetooth but thought id ask around as ive never a had phone that goes to sleep that much lol
[Nexus 4 Original Android Development] anshumandash:
What's the best governor with 182. I get better smoothness with interactive, but it's using 1500 step too much and I am getting lesser battery life than ondemand. Is it normal or it's just me?

Sent from my Nexus 4
[Nexus 4 Original Android Development] amruth kiran:
Just wanted to say that the kernel (#182) is working perfectly ..

My battery life has increased considerably and its already been 22 hrs since I charged with 40% remaining!

Thank you Franco!!!

NEXUS 4 / CYANOGENMOD 10.2/FRANCO (r182)!
[Nexus 4 Original Android Development] lorolouis:
Do you have custom power modes checkmark disabled?

If so, enable it and try again. There were some things recently discovered (and Franco fixed on FKU 10.3 candidate (beta)) that caused some settings to not stick if the custom power modes service is not active.
[Nexus 4 Original Android Development] Arstoien:
Yeah, but that's related only to stuff that are controlled by the power modes. The input boost duration is not, so it's not related to that problem, I think. I've got the PerApp service running.

Sent from my Nexus 4
[Nexus 4 Original Android Development] lorolouis:
Then use ONDEMAND and forget about it :)
[Nexus 4 Original Android Development] Arstoien:
lol, silly solution, don't you think? :D I'm not bothered by having to manually do it on boot. If I was I'd just set a shell script on boot. I was just raising attention to a bug.

Sent from my Nexus 4
[Nexus 4 Original Android Development] vindikleuk:
I experienced a random reboot while playing Dots. I'm JWR66Y, stock, rooted and running a custom recovery - r182. Last_kmsg tells about "Last boot reason: watchdog" which I read before in this thread, but it also mentions thermal throttling. If you'd like to decipher, last_kmsg is attached.

Thanks again for your kernel Franco. I tried keeping 4.3 stock. And then I realized again why it was, that I switched over to your kernel in the first place :fingers-crossed:

edit: Oh, and if it matters: I'm on the ONDEMAND governor.
[Nexus 4 Original Android Development] tkalli:
Which Nexus 7, Flo or Deb?

Hope it is Deb.
[Nexus 4 Original Android Development] jak3z:
FLO, but for kernels it doesn't matter.

EDIT: Franco got the Nexus 7 2013 right now :) Kernel incoming.
[Nexus 4 Original Android Development] tkalli:
Thanks for the info on the kernel. I was thinking there should no difference, but

wasn't 100% sure.

I feel better now.
[Nexus 4 Original Android Development] hotnikkelz:
That's a deadlock.

Once you're on a JSS rom, you're gonna get it sooner or later no matter what Kernel u use
[Nexus 4 Original Android Development] drawde40599:
what you described is 100 percent the Google jss deadlock issue, but it doesn't make sense that it's happening on PA rom? Isn't PA jwr hybrid?

thanks! I forgot about defult on demand i haven't even tried interactive yet , guess i like ondemand :P
[Nexus 4 Original Android Development] anshumandash:
Which governor are you using?

Sent from my Nexus 4
[Nexus 4 Original Android Development] Waldos:
[MENTION=3292224]franciscofranco[/MENTION] and all

I read some papers about TCP Protocols and performance. Here a really good research about Westwood VS Cubic : http://www.academia.edu/1231530/Exp...d_and_TCP_CUBIC_congestion_control_algorithms

Westwood is an old code, a modification to TCP New Reno, it was developed in the 2001 and then updated.

In the other hand, Cubic is an enhancement of TCP BIC code, this algorithm is used y default in Linux kernels 2.6.19 and above.

In this paper you can see different scenarios:

1. When the Bandwidth is the same, without Delay and Packet loss -> Is the same​

2. When the Bandwidth is the same, with 500ms Delay and without Packet loss -> the average throughput in Westwood was the half of Cubic . Here the advantage of Cubic algorithm​

3. When the Bandwidth is the same, without Delay and 5% Packet loss -> the average throughput in Westwood was slightly better than Cubic . There are not really difference.​

I quote the final comment

tl;dr

Cubic is better than Westwood
[Nexus 4 Original Android Development] jak3z:
As for 4.3, Google started using Cubic ;) All stock images for 4.3 used cubic by default.
[Nexus 4 Original Android Development] khanhtrinh:
But it is westwood in franco kernel by default. Should we swtich to it and make cubic default in next releases?

Nexus 4 | Cataclysm | Franco | Viper4Android
[Nexus 4 Original Android Development] drawde40599:
Maybe on paper is better, in my real life situation westwood performs better, very noticeable when trying kernels that dont have it..
[Nexus 4 Original Android Development] Dark Emotion:
I believe franco put it as default for a reason ;)
[Nexus 4 Original Android Development] Waldos:
Thank you for this info! :)

I Test Cubic since yesterday, give me some days for more tests.

Thats why i put that post, i dont know why he use this algorithm. ;)
[Nexus 4 Original Android Development] ktkr:
Finally!
[Nexus 4 Original Android Development] samuelrf:
hey is there anyway to solve heating problem? the phone gets hot really fast...:(

NEXUS 4/ PA 3.99+/ FK r182
[Nexus 4 Original Android Development] sordna:
1. Avoid the performance governor

2. Undervolt. Most phones can safely undervolt by 100mv across all frequencies, some even much more.
[Nexus 4 Original Android Development] samuelrf:
thanks man! but I can't found undervolt options in trickster mod app...

NEXUS 4/ PA 3.99+/ FK r182
[Nexus 4 Original Android Development] scandalousk:
Yay! It's certainly been long overdue!
[Nexus 4 Original Android Development] Svarion:
i have the same issue...with r178 my device was really cold, from r182 it gets hot very fast... using both ondemand and interactive and undervolt of -150mv

sent from my nexus 4
[Nexus 4 Original Android Development] sordna:
haven't used trickester for a long time since I switched to FKU, but if you have a supported kernel (not stock), I remember trickster does have an undervolt setting, somewhere! I switched to FKU because of the color profiles (awesome), the easy flashing, and because it allows me to disable services. The dev is very responsive too! Trickester always has a service running for reapplying the RGB settings when screen goes off, and they don't allow you to turn off that service even though it's not needed for custom kernels. The dev didn't want to add a setting because the service doesn't impact battery he said, but still I don't like any service running unless my phone actually needs it.
[Nexus 4 Original Android Development] stark_br:
UV setting is under "Specific" on Trickster, but I dont know if the free app has it.
[Nexus 4 Original Android Development] samuelrf:
so i think that it haven't the option in the free app cause I can't found it...thanks anyway

NEXUS 4/ PA 3.99+/ FK r182
[Nexus 4 Original Android Development] drawde40599:
If your phone is getting that hot, UV not going to do anything anyway ... U shouldn't have any real noticeable heat anyways, what temp is hot?
[Nexus 4 Original Android Development] speedypoint:
The free app has the option alright. Are you sure you have a compatible kernel.
[Nexus 4 Original Android Development] samuelrf:
are you sure? I'm running fk r182 and I can't see it...

NEXUS 4/ PA 3.99+/ FK r182
[Nexus 4 Original Android Development] sordna:
Go to SPECIFIC and scroll all the way down. You'll see MPU Voltages. I just confirmed for you, using free version of trickster as well.

If you don't see it, double check your kernel version on the phone, maybe you booted some other kernel and din't notice.
[Nexus 4 Original Android Development] samuelrf:
is this? thanks for you help man :)

NEXUS 4/ PA 3.99+/ FK r182
[Nexus 4 Original Android Development] terranox:
R26 --> almost perfect

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] andryyyy:
If I remember right, you can change these values via framework-res.apk.

Speaking of the minimum brightness...

//edit: yep: /res/values/arrays.xml
[Nexus 4 Original Android Development] jak3z:
After 12 hours of r26 all I can say is Bravo

· Had a 45 minutes call while moving, no issues or drops.

· 3 hours 40 minutes screen on time.

· Watched a 1 hour video on YouTube with 3G, no issues.

· Did the same test on WiFi with youtube, not a single issue.

· 13 Minutes of msm_hsic_host over 12 hours+

· During sleep (8 hours) battery discharged 2,1 %. (Awesome)

And this was flashing this kernel when battery was at like 75% battery, I did 2 reboots as well and rebooting this device consumes a chunk of battery.
[Nexus 4 Original Android Development] Chochiwpg:
Wow that is pretty amazing, are you just running the kernel with the stock values or did you do any tweaking at all?
[Nexus 4 Original Android Development] terranox:
R26 ---> WiFi signal is stroger :) batery perfect, deep sleep perfect, all is smooth!!

Congratulations franco!!!

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] jak3z:
IO Scheduler: Row

hispeed_freq: 918

go_hispeed_load: 60

And battery got 18% left at this time.
[Nexus 4 Original Android Development] elmalote:
Is anyone else noticing decreased data speeds on R26 test?

I've measured it to be consistently lower than R23.

I had R26 measured it, then flashed R23 did speed tests, flashed back R26 and tested it again.

Getting approximately half the speed.

If its a coincidence, i don't know. But its at the exat same spot, minutes apart.
[Nexus 4 Original Android Development] hallucynogenyc:
Unsure if it's kernel related:

I've noticed my phone was charging very slow last week. Apparently, everytime I look at the phone status it says charging(USB) (but it's on the stock wall charger). I unplug and plug it back and it says charging(AC) for a while, but ends up on charging(USB) after some time.
[Nexus 4 Original Android Development] jak3z:
Try another usb cable, I had a faulty USB cable and it caused that.

---------- Post added at 12:28 PM ---------- Previous post was at 12:22 PM ----------

I will repeat the same tests later and see if I get the same. I just ran some tests and I get no difference.