yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] Technecium:
Good point. I'll also look in the thermal code to see what I might be breaking.

I'm hoping to find a good range of freqs and/or maybe these findings can be used for determining the best sync_freq, hispeed_freq, etc.

I just hope I'm not making a paperweight.
[Nexus 5 Original Android Development] alchimia:
Can someone give to me 4.4.4 stock kernel?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] franciscofranco:
Nice discussion guys, keep it going.

You mean the navigation drawer? I'm aware, it needs to stand out a little bit. I'm gonna think about an alternative :)

You can get it yourself... nexus images...
[Nexus 5 Original Android Development] aavvaallooss:
Spoiler: He wants the link!!! ;)
[Nexus 5 Original Android Development] Tzfardaya:
There's a link to the stock Kernels in the op isn't there?
[Nexus 5 Original Android Development] aavvaallooss:
OP is the less readed post of this forum
[Nexus 5 Original Android Development] Tzfardaya:
Doesn't mean the link isn't there... :p
[Nexus 5 Original Android Development] cobhc:
I don't see it dude ;)
[Nexus 5 Original Android Development] Tzfardaya:
Download boot.img link, stock folder...

Iirc stock kernel hasn't changed from 4.4.2
[Nexus 5 Original Android Development] cobhc:
Well that's not very clear :) Lol.
[Nexus 5 Original Android Development] Tzfardaya:
Well, that's because I expect people to think for themselves.
[Nexus 5 Original Android Development] cobhc:
You do realise I was just trolling right?
[Nexus 5 Original Android Development] Tzfardaya:
Go check out the flack I'm catching in vomers L zip thread for expecting people to be able to think independently...

I don't have the link handy, sorry.. :P

Edit: here it is, maybe..
[Nexus 5 Original Android Development] cobhc:
Sorry man :)
[Nexus 5 Original Android Development] Tzfardaya:
Don't be, these guys may be shooting flack, but their aim sucks....

---------- Post added at 03:57 PM ---------- Previous post was at 03:51 PM ----------

That thread seems to be segregating into two factions... The "let's be nice and spoon feed everyone" faction, and the "use your brains for something other than skull stuffing" faction...

Guess which one I founded there... ;)
[Nexus 5 Original Android Development] rsa 329:
Now days, you cannot expect anyone to think for themselves. We as a people, have truly turned into "entitled" people. No one wants to learn anymore... no one wants to work anymore....

You could post something a thousand times and someone will still ask you to give it to them even when it is right under their nose. Idk how Francisco does it. Has the patience of a saint. I know myself, would just tell them where to go. I've been following vomers L thread...it's exactly as you described.
[Nexus 5 Original Android Development] franciscofranco:
Let's not derail this much longer. In one end theres us who been here for a long time and we know (most) all endpoints of this hacking business. But there are a lot of new people who don't know jack squat. Sometimes they are annoying, but some other times they are simply trying to learn. I'm going against myself on this statement because my patience limit is very low due to the amount of requests, messages, e-mails etc I get per-day, but I've been trying to improve and be better, and more friendly with new comers that (seem) to want to learn from us.
[Nexus 5 Original Android Development] Tzfardaya:
One last comment in my defense, then I'll drop it (for now :P )... Too many seem to think I'm not for helping people, I just prefer when they take the initiative and try to learn on their own first, then Come to us asking for suggestions and pointers (and the odd bit of omfg I broke it and need it fixed nao!)

I know almost nothing of this hacking business you refer to, but... I can reason my way through most of it, and am fairly adept at searching for what I can't reason... I just want the newcomers to be willing to put in the time required to learn, not just demand results from us then vanish... We are not paid help desk staff here, we volunteer our time and would rather not see it wasted in that regard.

And just let me say this, I love the terse, curt, blunt Franco of old... Let us be the welcome wagon for the newcomers, that leaves you freer to deal with the development and occasional hard-arse who won't listen to the rest of the community. ;)

Some of the best times in this thread are when you started trolling some of the newer members of the group. :D

But the entire tone of this thread is light enough that no one gets offended or upset, we all just laugh and play along..
[Nexus 5 Original Android Development] Tzfardaya:
One last bit...

When the forum starts losing people like The Gingerbread Man because they are getting tired and fed up with the sense of entitlement displayed by many of the newcomers there is something seriously wrong.

Unfortunately I don't know what to do... If we try to take a harder line and get people to help themselves, threads splinter like what happened in L, if we do nothing and allow the malaise to spread, more senior members may decide xda is not longer a good use of their time, neither option is good im(ns)ho... But what else is there to do?

Okay, I'll get off the soap box now.

*steps down*
[Nexus 5 Original Android Development] Ryrynz:
I haven't followed the entire thread, but from what I've seen you guys do an amazing job. There is ALWAYS more you can do to help someone but people have to understand that sometimes they need to put significant effort into researching their own interests, I find no fault with just providing people crumbs so that they can find the solution themselves.
[Nexus 5 Original Android Development] Tzfardaya:
Nah, this thread rocks, but that's largely because of the people (I know I'm going to miss a lot in this list) , Franciscofranco, ginger, red5, vomer, enddo, and so many others keep this thread going. The best part of the community in this thread is its ability to laugh at itself.. We all poke fun at each other, and everyone accepts it for the fun that it is, rather than getting upset and offended. Sure, we are always off topic, but as soon as anyone comes in with a question about francos kernel or apps, help comes fast and furious.. It's like we are fighting over who gets to help first.

Most of my ranting today stems from what I see in other threads... (vomers L zip thread for example, I linked it earlier today) and I know I can get away with the OT rant in this thread...
[Nexus 5 Original Android Development] Red5:
What happened to the gingerbread man? He left? This... This will not do.

I'll be heading to the OnePlus forums soon enough...
[Nexus 5 Original Android Development] Tzfardaya:
He's still around, but not nearly as much as before.. He's not posting or playing with us as much...

To be honest, the situation in the other threads is almost enough for me to throw my hands up in defeat... Even vomer seems absent more often than not these days...
[Nexus 5 Original Android Development] Tzfardaya:
What's a topic?
[Nexus 5 Original Android Development] occtec:
Haha, you are the man. You are the King of super fast replies ;)

---------- Post added at 01:08 PM ---------- Previous post was at 01:06 PM ----------

1.*The subject of a speech, essay, thesis, or discourse.

2.*A subject of discussion or conversation.

3.*A subdivision of a theme, thesis, or outline.
[Nexus 5 Original Android Development] Tzfardaya:
Based on your definition, it's impossible not to be on topic when having a discourse/discussion/conversation...

When I'm rather ting I'm usually not very far away from the keyboard...
[Nexus 5 Original Android Development] Technecium:
Group hug!

So anyone know how the smart guys/gals at Qualcomm determine which freqs to enable?

Currently I've got 345, 422, 576, 729, 960, 1.11, 1.96, 2.27.

EDIT: I've also selected 960 for sync_freq, hispeed_freq and up_threshold_any_cpu_freq as they offer the greatest bang for the buck.

I plan to do a test similar to the BBS results posted yesterday to see how things compare.

I saw the suggestion for 1.5 but I'm just trying usage and cost at this point.

Can anyone tell me if bandwidth affects battery?
[Nexus 5 Original Android Development] JNewms:
Don't worry, Vomer, and Gingerbread man are still around. The 3 of us and Franco talk daily. I won't speak for them, but I know I stepped back from XDA fit awhile because answering the same question 30 times a day gets old and tiring.
[Nexus 5 Original Android Development] Tzfardaya:
Not sure that bandwidth directly affects battery... It would depend on what other variables are used to manipulate bandwidth, bus freq, clock multiplier, ram freq, etc etc etc..

Unless I'm completely out to lunch, bandwidth in this case means data to and from the CPU...

---------- Post added at 09:51 PM ---------- Previous post was at 09:49 PM ----------

Yeah, that's what tgm was saying to me as well on hangouts... Wish I was in your guys little clique... :P

It just seemed that vomer got fed up with his own thread and bailed on us.. :-p
[Nexus 5 Original Android Development] JNewms:
Lol, I wouldn't call us a click. We're Franco's Guinea pigs
[Nexus 5 Original Android Development] Tzfardaya:
Yeah, and since I've left kitkat Franco refuses to provide me with test Kernels... :-p it's almost enough to convince me to try to learn to code again...
[Nexus 5 Original Android Development] JNewms:
Are you still on the L preview? I really like the UI, but I had some issues on the preview that made me come back to KitKat. It was fun to play with, but I need a fully functional device
[Nexus 5 Original Android Development] Tzfardaya:
Everything I use works.. Even got secure settings system+ working so all my tasker profiles are working again... (only because I don't use any root settings with secure settings)

But yeah, the lack of Franco kernel keeps making me think about migrating back..
[Nexus 5 Original Android Development] alanwyl:
I'd say the faster the connection the less time the modem needs to be alive.
[Nexus 5 Original Android Development] tylerdurden83:
[MENTION=3292224]franciscofranco[/MENTION]

I've had two random reboots when I opened / played candy crush saga, the first time I noticed that the colors where off and it rebooted, the second, it just rebooted, here is the last kmsg:

https://dl.dropboxusercontent.com/u/66751019/last_kmsg.log

https://dl.dropboxusercontent.com/u/66751019/last_kmsg_1.log

Stock r55 kernel settings, stock rom.
[Nexus 5 Original Android Development] franciscofranco:
As far as I know bus frequency are also mapped to a certain voltage, so the higher bus freq the higher battery it will consume.
[Nexus 5 Original Android Development] Technecium:
I'm not going to touch them yet, but in acpuclock-8974.c there are a few matrices that are used to define bandwidth, voltages, etc. for each freq. And there are comments that give vague explanations of the relationships. It's literally the difference of 0 and 1 to switch 300 MHz bandwidth from 600 to 800Mbps.

At a later time I'm going to see if bandwidth is playing a factor in the time in state between 300 & 345 MHz. It's a difference of 200Mbps, and maybe, 300 MHz gets choked up so switches to 345 MHz.

Right now as my kernel stands 345 & 422 MHz are equal in time in state. I suspect if 300 MHz bandwidth was 800Mbps it might clock up less frequently.
[Nexus 5 Original Android Development] SynnyG:
Hi all, for disabling the touch boost feature we can set boostpulse_duration to 0 or put the input_boost_freq to 300 that's true ?
[Nexus 5 Original Android Development] The Gingerbread Man:
Im still here and read nearly all posts here. Im just not posting as much. Pretty much all the help i provide here has all been put into my learner lounge thread to save me typing things out time and time again. Good luck with your new forum!

Links in the OP and fku app and my sig (granted it doesnt appear as much now but its still there :) )

Hit the nail on the head there. Fear not all I am still here lol

My n5 battery time got pretty bad so I went back to kit kat and still got L on my n7

I think to disable it I think changing boost pulse duration should do it. That way the CPU will think it wants to ramp to the input boost speed but shouldn't be able to spend any time at the boosted speed
[Nexus 5 Original Android Development] Technecium:
So it seems I was right. Increasing the bandwidth of the 300mhz frequency to 800 does result in more time in state at 300mhz. Which also explains why 4 of the freqs in the 1ghz range have so little time in state. They only have 600+ mbps.
[Nexus 5 Original Android Development] Technecium:
You might be interested in these commits from the staging branch. UI seems a little more snappy.

https://github.com/koe1974/hammerhead/commit/b34730c50e05a3c6a912bb342bb1a4b978a1f59a

https://github.com/koe1974/hammerhead/commit/9f3e4e611748ade2c4d4379cd830fbc1cd0604e3

https://github.com/koe1974/hammerhead/commit/34af9626d7ad6085540f5137ff00399078361273
[Nexus 5 Original Android Development] Tzfardaya:
So the next question is, what is the cost of the extra bandwidth? There must be a reason Qualcomm uses both bandwidths...
[Nexus 5 Original Android Development] Technecium:
Here's my theory, it's part of their power management.

If you look at the 1ghz range there are 4 freqs, 3 are enabled by default, that have a bandwidth of only 617 mbps. Why? The only thing I can think is that their power management, which I believe is closed source, allows the OS and kernel to communicate figuring in bandwidth when selecting freqs.

I think it would be possible to flag/tag a process as low/high bandwidth. I'm not really sure but it sounds possible. Hold on I have an itch under my tinfoil hat. Ok, that's better. Let's say messaging, if it's just sms, you could send it to 300, but if it's mms you can send it to 442. Same with the 1ghz range, audio could go to a low bandwidth freq and video to a high bandwidth freq.

I'm really just speculating. I can't think of any other reason those 4 freqs at 617 but all the others in the 1ghz range have 2000+.

If I'm right about the power management and if I'm right about bandwidth "cost" then I think I'll have some very interesting results in about 24hrs from the kernel/governor settings I'm about to test.

I do have a question that I would like some suggestions on. Which would be better freqs for sync_freq, hispeed_freq and up_threshold_any_cpu_freq, high or low bandwidth freqs?

I start testing in an hour so it's now or... umm.. not now.
[Nexus 5 Original Android Development] Tzfardaya:
If you're testing for cost of high band vs low band, my advice would be to lock the device to one freq and run something demanding (stability tester or the like) for a set period of time (radios off, screen at 25% brightness) and compare battery drain between the two bandwidths...

Try to isolate/remove as many battery draining variables as possible to test just the cost (if any) between the two.
[Nexus 5 Original Android Development] Technecium:
That much I think I've figured out. Low frequency less battery, high frequency more battery. Bandwidth will only affect battery if the process doesn't get a big enough pipe. For example if a process needs more bandwidth but gets stuck on a low bandwidth freq it will take longer.

Later I'll do some tests that focus on bandwidth/battery and completion times.
[Nexus 5 Original Android Development] arpitnathany:
I think I found a bug. Here is what happens if I plug my phone in (when off) and switch it on I let it charge to 100% then take out the charger, my max frequency gets stuck at 1190 mhz it won't go above even when I am doing CPU intensive stuff for eg in system monitor whenever I touch the screen it boosts up my CPU to 1.5ghz but in this case it only goes up to 1.2ghz. A reboot fixes it though. As a result phone feels slower than normal. Does anyone else experience this.
[Nexus 5 Original Android Development] Cuapy:
Thermal throttle..
[Nexus 5 Original Android Development] Tzfardaya:
Ah, I thought this set of tests was for the effect of bandwidth.. ;)
[Nexus 5 Original Android Development] sam razzy:
There was a thread by the name per app settings, I can't find it now. I find back up of smooth per app settings which can save my small portion of battery life. So would you mind sharing the customization of per app settings here. :)
[Nexus 5 Original Android Development] The Gingerbread Man:
Here http://xdaforums.com/showthread.php?p=51878351 ☺
[Nexus 5 Original Android Development] sjknight413:
You're being thermal throttled, there's something up with the throttling in this kernel that means you frequently get stuck at lower frequencies.
[Nexus 5 Original Android Development] K Rich:
Not to argue with anyone, but why is everyone so obsessed with what freq the kernel is "stuck" at? I've never noticed any shutters or lag or anything whether throttled or not and get fantastic battery life ta boot...
[Nexus 5 Original Android Development] suchevent:
I don't think obsession is the right term, in this case. I think it's just people wanting to make sure that there is nothing wrong with their phone/setup and that their phone is running optimally. in the end, that's what we all are striving for. otherwise, we wouldn't be running fk, right? ;p

Powered by Nexus 5
[Nexus 5 Original Android Development] arpitnathany:
I know about this but it shouldn't throttle just charging on the desk (I don't use my phone when charging).

If it is indeed throttling then I have a problem because temperatures here are frequently in the higher thirties.

I am not obsessing with the frequencies I only noticed it in the first place because my phone slowed down. A normal user would not have noticed it but we are not normal users are we. And anyway its normal to obsess over frequencies in a kernel development thread ;)
[Nexus 5 Original Android Development] nldxda:
Just had a random reboot..

R55, 4.4.4 xposed, jun24 GPU drivers, z2 dalvik, g3 bionic

http://pastebin.com/euxKw61x
[Nexus 5 Original Android Development] JNewms:
The log says you rebooted it
[Nexus 5 Original Android Development] Technecium:
I'm looking for some volunteers who have a pvs other than 3. PM me with your pvs if you're interested.

EDIT: I've got 1, 2, 3 & 4 covered.
[Nexus 5 Original Android Development] bushako:
Sent you a pm.
[Nexus 5 Original Android Development] nldxda:
Really, it rebooted itself!...

It just did it again, even..

http://pastebin.com/NrWdnNqz
[Nexus 5 Original Android Development] Enddo:
are you undervolting(i can't believe this question has to be asked)
[Nexus 5 Original Android Development] tylerdurden83:
Can you please take a quick look at my random reboots too? I posted them here: http://xdaforums.com/showpost.php?p=54016744&postcount=32940

As I wrote there, both happened while playing candy crush saga. Stock rom, stock franco r55 (meaning no under/over clock/volt, governor settings etc).
[Nexus 5 Original Android Development] Bobtehblob:
Is the FKU file manager auto flash working for everyone else on the latest beta?
[Nexus 5 Original Android Development] RobbieL811:
Yes. Just used it. And FKU is no longer beta.

Sent from my Nexus 5
[Nexus 5 Original Android Development] UpSpin:
Using the latest app version I got from the Play-Store v.11.55 (363) and I also can't scroll in the Backup/Restore section.

So I assume, there's a bug in the latest version? Or don't I use the latest FKU version?
[Nexus 5 Original Android Development] sjknight413:
Yeah that's what happens unfortunately, it's not you that has a problem it's Franco kernel. I was getting throttled down to 1190mhz at around 36 degrees and once it throttled it would be stuck there. Charging creates heat which on this kernel at least, will cause throttling.
[Nexus 5 Original Android Development] myfluxi:
Are you using xposed?
[Nexus 5 Original Android Development] mastero9017:
I just installed latest r56 test and applied settings from oneplus one ramdisk and phone is extremely smooth now. Last time I saw this on stock and never on Franco. Don't know about battery, but it's probably not the best battery saver.
[Nexus 5 Original Android Development] TrenchKato:
You can start by getting rid of all those third party drivers.
[Nexus 5 Original Android Development] Technecium:
Ref. Previous test with all freqs enabled at default Mbps

Test results from last 18hrs with only 10 freqs enabled.

300MHz changed from 600 to 800Mbps.

Much more time in state at 300MHz. :) Cool! That is what I hoped to see!

I did include 1 low bandwith freq, 1.57 GHz @ 617Mbps. I was curious to see how much time in state there would be.
[Nexus 5 Original Android Development] menting:
I personally have a theory that there is no need for more than like 5 frequencies, as any time frequency is changed there is a penalty (I know at least for DRAM there is...re-locking the DLL/PLL takes a few hundred cycles. Changing the DRAM voltage could require a re-lock as well if the voltage change is enough to break the lock point), so too many frequencies actually hurt performance if it changes around a lot, but I have absolutely 0 proof to back that up, and I dont have time currently to test it out either. :)
[Nexus 5 Original Android Development] thekondo:
best version to using?
[Nexus 5 Original Android Development] Red5:
The newest.
[Nexus 5 Original Android Development] tylerdurden83:
Yes xposed + gravitybox, but I didn't find it that relevant to be honest with you, I've used them since buying the N5 last november, and I never had a reboot on stock kernel.

I replaced with franco's 10-ish days ago (mostly because I was bummed by stock gamma).

Seemed a bit odd to never have had one in more than 180 days of stock kernel + gravitybox, and 2 in 10 days of franco + gravitybox.
[Nexus 5 Original Android Development] nldxda:
No, stock Franco settings

The dalvik and bionic patches??

And the gpu drivers?
[Nexus 5 Original Android Development] kypeth:
yea I had a lot more instances of the RAM issue when I had the dalvik/bionic patches installed on my system, quieted down near completely once I reverted back to stock libraries.

Edit: Not implying you're having RAM issues specifically, just that those patches tended to bring more variables into play when dealing with crashes/problems, and I wouldn't lie, removing them solved most of my issues.
[Nexus 5 Original Android Development] yoitsjustin:
Sorry in advance if this was answered but I couldn't find it. Do you need to be rooted to do this if your bootloader is already unlocked? Like can I just flash it through fastboot on my laptop? Thanks :)
[Nexus 5 Original Android Development] nldxda:
Yea I've also been getting seemingly random freezes in different apps as well... Not responding box comes up, and the app begins working again before I can even click wait...

Gonna reflash my rom...
[Nexus 5 Original Android Development] whitedragonz83:
First post:

Installation:

fastboot flash boot boot_name_img

So yes, fastboot flashing with an unlocked bootloader is all you need.
[Nexus 5 Original Android Development] yoitsjustin:
Okay I read that and thought that, I just wasn't sure if it needed anything from the root. Thank you!
[Nexus 5 Original Android Development] franciscofranco:
Since the bootloader is completely unrelated to root, no, you only need it unlocked. You don't even need a custom recovery.
[Nexus 5 Original Android Development] The Gingerbread Man:
The kernel it's self doesn't need root but if you want the accompanying application Franco kernel updater, that does need root (as with any cpu management type app). It depends if you want to play with settings or use the kernel as it ships which is already very good. There's some good reasons to buy the apk like per app modes, colour control and downloading a newer kernel directly to your chosen location and autoflash it for you. Its very simple to root, just flash latest SuperSU in a recovery (and if your able to unlock a boot loader via fast boot I bet you can fastboot flash recovery recovery.img ) ;) if you need to keep unrooted for work / security purchases then fair enough :)
[Nexus 5 Original Android Development] franciscofranco:
I'm still not convinced about increasing the bandwidth of 300MHz to be honest.