yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] mastero9017:
New test image performance is better (scaling actually). But i think Franco should tweak values, and maybe finally remove input boost (didn't test how it goes now).
[Nexus 5 Original Android Development] Technecium:
Comparison of some activities with screen on vs screen off for posterity.

cp of file in same directory :crying:

*** SCREEN ON ***
shell@hammerhead:/sdcard/Download $ time cp test.wmv on1.wmv
0m30.54s real 0m0.02s user 0m3.72s system
shell@hammerhead:/sdcard/Download $ time cp test.wmv on2.wmv
0m30.08s real 0m0.03s user 0m3.47s system
shell@hammerhead:/sdcard/Download $ time cp test.wmv on3.wmv
0m30.15s real 0m0.02s user 0m3.56s system

*** SCREEN OFF ***
shell@hammerhead:/sdcard/Download $ time cp test.wmv off1.wmv
0m43.87s real 0m0.01s user 0m5.77s system
shell@hammerhead:/sdcard/Download $ time cp test.wmv off2.wmv
0m44.70s real 0m0.00s user 0m5.76s system
shell@hammerhead:/sdcard/Download $ time cp test.wmv off3.wmv
0m44.74s real 0m0.04s user 0m5.70s system

adb push over usb :cool:

*** SCREEN ON ***
koe@koeslate ~/android/flash/sdcard $ time adb push update.zip /sdcard/Download/on1.zip
3273 KB/s (251391493 bytes in 74.994s)

real	1m15.085s
user	0m0.058s
sys	0m0.402s
koe@koeslate ~/android/flash/sdcard $ time adb push update.zip /sdcard/Download/on2.zip
3178 KB/s (251391493 bytes in 77.247s)

real	1m17.336s
user	0m0.049s
sys	0m0.226s
koe@koeslate ~/android/flash/sdcard $ time adb push update.zip /sdcard/Download/on3.zip
3180 KB/s (251391493 bytes in 77.186s)

real	1m17.275s
user	0m0.049s
sys	0m0.213s

*** SCREEN OFF ***
koe@koeslate ~/android/flash/sdcard $ time adb push update.zip /sdcard/Download/off1.zip
3140 KB/s (251391493 bytes in 78.165s)

real	1m18.255s
user	0m0.052s
sys	0m0.215s
koe@koeslate ~/android/flash/sdcard $ time adb push update.zip /sdcard/Download/off2.zip
3130 KB/s (251391493 bytes in 78.429s)

real	1m18.519s
user	0m0.052s
sys	0m0.212s
koe@koeslate ~/android/flash/sdcard $ time adb push update.zip /sdcard/Download/off3.zip
3105 KB/s (251391493 bytes in 79.064s)

real	1m19.151s
user	0m0.053s
sys	0m0.218s

wget over LAN to NAS :confused:

*** SCREEN ON ***
shell@hammerhead:/sdcard/Download $ time wget http://koenas/update.zip
update.zip 100% |*******************************| 239M 0:00:00 ETA
0m45.92s real 0m0.36s user 0m5.55s system
shell@hammerhead:/sdcard/Download $ time wget http://koenas/update.zip
update.zip 100% |*******************************| 239M 0:00:00 ETA
0m46.03s real 0m0.41s user 0m5.30s system
shell@hammerhead:/sdcard/Download $ time wget http://koenas/update.zip
update.zip 100% |*******************************| 239M 0:00:00 ETA
0m45.75s real 0m0.39s user 0m5.64s system

*** SCREEN OFF ***
shell@hammerhead:/sdcard/Download $ time wget http://koenas/update.zip
update.zip 100% |*******************************| 239M 0:00:00 ETA
0m48.18s real 0m0.30s user 0m5.89s system
shell@hammerhead:/sdcard/Download $ time wget http://koenas/update.zip
update.zip 100% |*******************************| 239M 0:00:00 ETA
0m47.52s real 0m0.27s user 0m5.92s system
shell@hammerhead:/sdcard/Download $ time wget http://koenas/update.zip
update.zip 100% |*******************************| 239M 0:00:00 ETA
0m47.56s real 0m0.25s user 0m5.93s system
[/hide]
[Nexus 5 Original Android Development] IWRH:
Best kernel for me :3 Wiil buy pro version of kernel updater :D
[Nexus 5 Original Android Development] fone_fanatic:
What's the best way to report logs? On r57 and I'm getting a bunch of random soft reboots. Dmesg and last kmesg are empty after the random soft reboots.
[Nexus 5 Original Android Development] KTT16:
What ROM, modifications have you done? I am running paranoid and haven't had one reboot on r57. Try going back to stock, flash r57, test that for a while then start making your mods, if any to see what might be the culprit.
[Nexus 5 Original Android Development] Technecium:
It's kind of messy but I've tried to make max_cap_freq tunable. I'm only doing this for the sake of testing different freqs without having to rebuild the kernel every time.

Everything works as expected but interactive's scaling_max_freq is not updated with mako_hotplug's new max_cap_freq.

Can you have a look at this code?

https://github.com/koe1974/hammerhead/commit/5a4a1c2a2c162c15b9f6cba16ff68b2d404a3270

---------- Post added at 10:58 PM ---------- Previous post was at 10:52 PM ----------

You should submit /proc/last_kmsg
[Nexus 5 Original Android Development] fone_fanatic:
Stock, rooted with xposed mods. I did a full reboot (had 85 hours under run time) and so far so good. If i get another one

I'll disable xposed and go from there.

It's empty. Nothing in it. Blank.
[Nexus 5 Original Android Development] Technecium:
gaaahh... these multiple submit are awful!

---------- Post added at 11:26 PM ---------- Previous post was at 11:06 PM ----------

You'll need root permission to even view it. If you did have root permission while trying to access it and it's still empty, then you'll have to figure out why.

I'm not going to begin to speculate what might be causing it since I don't have any insight about what changes you or an app might have made.
[Nexus 5 Original Android Development] granets:
My phone just froze while watching a stream in twitch app. Had to force a reboot. Initially video was frozen and phone was unresponsive, but audio was running. Here is the last_kmsg. Any help is appreciated. I am runing on latest test image with no changes to CPU and GPU settings. All I change is I run some volume and mic boost. everything else is stock franco settings. Rom is latest SlimKat Weekly 6.6
[Nexus 5 Original Android Development] Bronto9:
I'm having random ghost touches on the screen. A reboot didn't completely fix them.

Stock 4.4, art enabled, no other mod.

Last_kmsg: http://pastebin.com/fS9ip28X

EDIT: Now(after an exam at university) touch works ad usual.
[Nexus 5 Original Android Development] Tzfardaya:
Plugged into a charger when they were happening?

Dying/cheap chargers/cables have been known to cause that... No idea why though...
[Nexus 5 Original Android Development] Technecium:
Since the only thing that seemed to be affected by the screen off cap was read/write I decided to try and determine at which freq things don't slow down. Kind of wish I had worked my way from highest to lowest :eek:

File used for testing...

-rw-rw---- root sdcard_r 547356390 2014-07-25 22:03 Listening.zip

Screen On...

shell@hammerhead:/sdcard/Download $ time cp Listening.zip on1.zip
0m19.19s real 0m0.02s user 0m2.36s system
shell@hammerhead:/sdcard/Download $ time cp Listening.zip on2.zip
0m19.25s real 0m0.00s user 0m2.32s system
shell@hammerhead:/sdcard/Download $ time cp Listening.zip on3.zip
0m19.13s real 0m0.00s user 0m2.06s system

Screen Off...

@1113600
shell@hammerhead:/sdcard/Download $ time cp Listening.zip off1.zip
0m26.83s real 0m0.02s user 0m3.51s system
shell@hammerhead:/sdcard/Download $ time cp Listening.zip off2.zip
0m26.97s real 0m0.01s user 0m3.54s system
shell@hammerhead:/sdcard/Download $ time cp Listening.zip off3.zip
0m26.67s real 0m0.00s user 0m3.54s system

@1190400

shell@hammerhead:/sdcard/Download $ time cp Listening.zip off1.zip
0m26.51s real 0m0.01s user 0m3.10s system
shell@hammerhead:/sdcard/Download $ time cp Listening.zip off2.zip
0m25.89s real 0m0.01s user 0m3.11s system
shell@hammerhead:/sdcard/Download $ time cp Listening.zip off3zip
0m26.65s real 0m0.01s user 0m3.10s system

@1267200
shell@hammerhead:/sdcard/Download $ time cp Listening.zip off1.zip
0m25.23s real 0m0.01s user 0m2.64s system
shell@hammerhead:/sdcard/Download $ time cp Listening.zip off2.zip
0m25.59s real 0m0.01s user 0m2.79s system
shell@hammerhead:/sdcard/Download $ time cp Listening.zip off3.zip
0m25.00s real 0m0.02s user 0m2.80s system

@1574400

shell@hammerhead:/sdcard/Download $ time cp Listening.zip off1.zip
0m23.44s real 0m0.00s user 0m2.19s system
shell@hammerhead:/sdcard/Download $ time cp Listening.zip off2.zip
0m23.63s real 0m0.02s user 0m2.28s system
shell@hammerhead:/sdcard/Download $ time cp Listening.zip off3.zip
0m23.84s real 0m0.00s user 0m2.31s system

@1958400
shell@hammerhead:/sdcard/Download $ time cp Listening.zip off1.zip
0m21.38s real 0m0.00s user 0m1.87s system
shell@hammerhead:/sdcard/Download $ time cp Listening.zip off2.zip
0m22.30s real 0m0.02s user 0m1.95s system
shell@hammerhead:/sdcard/Download $ time cp Listening.zip off3.zip
0m22.61s real 0m0.00s user 0m1.98s system

I'm tired of rebuilding and I don't see any reason to continue.

Anywhoo... there you have it.

Off to build a big a** Lego Technic :D

EDIT: Oh and one more thing. If you recall, I recently did a test and got 11% loss over 6hrs. I did another test with everything underclocked to 96MHz ... Lost 9%. Eh...
[Nexus 5 Original Android Development] franciscofranco:
There was a crash in the video composer. I don't know what it is, but I'll try to have a look.

Yeah that code is ok! :)

I knew it wouldn't be much better just by decreasing the frequency. People think a low min frequency is the solution for all the problems, but nope :p
[Nexus 5 Original Android Development] Bronto9:
It was charging from a PC at my university with the originale cable. The PC was a bit old, so probably that was the problem
[Nexus 5 Original Android Development] dustinraditya:
Aahha I got it, okay thank you for your answers :)

Is it or on the go USB isn't working? I was on elementalx and copied a file yesterday then I flashed Franco few moments later and otg USB isn't working
[Nexus 5 Original Android Development] Tzfardaya:
USB otg is Stock, meaning you need a helper app like Stickmount.. But it does work fine... (I copy pictured of my camera all the time)
[Nexus 5 Original Android Development] PresidentMcCain:
Looks like I'm having a random radio issue again... I had full LTE and Wi-Fi the entire time:

r58-test kernel
[Nexus 5 Original Android Development] oOMavrikOo:
Does this kernel work with PA?
[Nexus 5 Original Android Development] Tzfardaya:
please check the FAQ pages

tl:dr (a.k.a. spoon) Yes, Yes it does...
[Nexus 5 Original Android Development] galakanokis:
Just wanted to give a shout out to Francisco and Kevin! Loving the actually kernel talk, very cool stuff. Thanks for all your efforts guys.
[Nexus 5 Original Android Development] blackt5:
Last time my radio went wonky was right when t mobile was dicking with stuff on their end. Mines been funky this past week. Who's your carrier?
[Nexus 5 Original Android Development] PresidentMcCain:
T-Mobile USA
[Nexus 5 Original Android Development] greveldinges:
I have PVS1 and I got 32613 on Antutu, using r14 and that MotoX dalvik thing from here
[Nexus 5 Original Android Development] reeco:
I wish I could provide the KnockOUT function on people like you.
[Nexus 5 Original Android Development] kashix:
pardon me if it's asked before, what does this MotoX dalvik thingy does to the phone? makes it smoother as in enhancing the phone? Thanks in advance!
[Nexus 5 Original Android Development] sidhaarthm:
High Android OS Consumption

Hey all,

Before flaming me for going OT, please go through my predicament. Also, I thought it best to post here as no separate thread exists for this issue, I own a Nexus 5 - and all my devices affected with the problem are running FrancoKernel.

Basically, from the last day or two - battery usage has gone bonkers because of Android OS. Please see attached screenshots from today. Normally I have 85% battery when I leave work on a day of minimum use. Today I was at 35%! I also checked CPU Spy and figured that my Nexus 4, 5 and 7 (2103) are simply unable to enter a state of deep sleep.

BetterBatteryStats has not been updated to work with 4.4 so I am unable to tell what is causing all the wakelocks keeping the device running at 300-400Mhz all the time.

Steps tried (to no avail):

- Wiped Google Framework Services Data

- Wiped Google Play Store Data Services

- Disabled Location and History Tracking

- Restarts

- Staying On Mobile Data as well as Wi-Fi

What surprises me that battery life was fantastic with FK and life was good on all devices. And then all of a sudden this issue plagued all 3 of my devices simultaneously. Any assistance will be massively appreciated.
[Nexus 5 Original Android Development] eep2378:
Long press on voltage control, tick set on boot.
[Nexus 5 Original Android Development] tr1cky1:
Antutu still crashes for me on r14.
[Nexus 5 Original Android Development] afunyun:
BetterBatteryStats 1.15.0.0_RC4 functions on KK, if you want to just install the APK. http://xdaforums.com/showthread.php?t=1179809
[Nexus 5 Original Android Development] :
It's not the kernel but Google Play Services. Read this It's Not Just You - Google Play Services Seems To Be A Battery Hog Today.

Plus you can download the RC4 of BBS from the xda thread. Kitkat broke some things so the dev had to work around it.
[Nexus 5 Original Android Development] dazz87:
I got betterbatterystats to work on my nexus 5

http://xdaforums.com/showthread.php?t=1179809
[Nexus 5 Original Android Development] Xxderek0822xx:
Does anyone know if color control will be implemented into this kernel? Other than that awesome kernel!
[Nexus 5 Original Android Development] Testraindrop:
Yes, when its done.
[Nexus 5 Original Android Development] mendozaram:
Where can i set this in TricksterMod ?

O.O Which ROM ?
[Nexus 5 Original Android Development] afunyun:
Pure Speed X, 33401 was first run. Gonna run again to see what happens
[Nexus 5 Original Android Development] pchtc:
edit delete

---------- Post added at 04:07 PM ---------- Previous post was at 04:03 PM ----------

can you please tell me how you disabled ipv6 on your phone

i have a hunch it may resolve a different issue i am having?
[Nexus 5 Original Android Development] GHOSTIVVI:
Is anyone else that's running cataclysm rom with r14 having stuttering issues? I doubt it's kernel related, but just in case it is I figured I would give a shot posting on this thread.
[Nexus 5 Original Android Development] itsfozzy:
I'm running that setup, and it's rock solid for me.
[Nexus 5 Original Android Development] FuMMoD:
Solid as can be for me too and under volted by 75.
[Nexus 5 Original Android Development] Tung_meister:
Has anyone had any luck getting force fast charge to work?
[Nexus 5 Original Android Development] GHOSTIVVI:
Figured it out. Thanks
[Nexus 5 Original Android Development] KTT16:
Yes
[Nexus 5 Original Android Development] combatdeity:
Yes, but change to SuperSu, the indbuilt root management app is abandonware and causing problems.
[Nexus 5 Original Android Development] KTT16:
Really? Hadn't heard, experienced any issues...
[Nexus 5 Original Android Development] LiquidSolstice:
Superuser has so many issues with so many apps that I gave up on it a long time ago. It doesn't work with Viper4Android or Titanium Backup, whereas SuperSu is one simple zip to flash, has a UI that makes WAY more sense and doesn't take up your whole screen, and quietly keeps itself updated without you needed to do anything.
[Nexus 5 Original Android Development] combatdeity:
Read back through the thread for some examples.
[Nexus 5 Original Android Development] fredfox_uk:
See that red line in your screen shot, that's when your trouble started. My guess is that something couldn't recover from the lack of signal. I've had the same with k9, reboot fixes.
[Nexus 5 Original Android Development] dannyella:
I've never had any issues with superuser. Has all featues of supersu. I use those apps and they work just fine. I prefer it because it's open source.
[Nexus 5 Original Android Development] franciscofranco:
https://plus.google.com/u/0/+FranciscoFranco1990/posts/GccDw79EX49
[Nexus 5 Original Android Development] Tzfardaya:
Grammar check "I hope you what I've done so far".. Think you missed a "like" . :P
[Nexus 5 Original Android Development] Binary Droids:
Looks incredible! I can't wait.

Nexus 5 - Paranoid Android - franco.Kernel
[Nexus 5 Original Android Development] Sonone:
Any way i can make this game Modern Combat 5 run a little faster with Franco Kernel....

only 2 cores running on stock!?
[Nexus 5 Original Android Development] krystyuc:
Just put 0 instead of 80 at load threshold in hotplug control and you will have 4 cores.
[Nexus 5 Original Android Development] UpSpin:
Only 2 cores are online is mostly because of thermal throttling.

You can

1. reduce the resolution of the display with https://play.google.com/store/apps/details?id=com.nomone.resolution_changer&hl=en

2. Actively cool your device or try to cool the back with a piece of aluminum.

3. Increase the thermal threshold (not recommeded, because it will reduce the overall lifetime of your battery and may cause other issues)

I also don't recommend to force 4 cores on all the time. It's very likely to run even slower. The limiting factor is the GPU most probably, which also gets throttled most likely.
[Nexus 5 Original Android Development] superdioz:
today i flashed v57 (over v55) after that i put the phone in charge and in 5h it charged just from 36% to 84%, it was incredibly slow.

so i flash v55, plugged to the same charger and now everything is normal again.

i'm with omnirom.

if you need more info let me know.
[Nexus 5 Original Android Development] Technecium:
No, mako_hotplug is not aware of temperature.

Okay maybe.

......?

Fair enough.

That just makes no sense at all.

Not likely.
[Nexus 5 Original Android Development] Technecium:
Please, please don't use the cloud upload icon for backup/restore if it's only local storage.

It literally makes me want to claw my eyes out!

I don't really want to claw my eyes out, I figuratively want to. But I wrote it anyway. It's just wrong. :D
[Nexus 5 Original Android Development] blackt5:
Wonder if they are up to something. Last time it was when Fanco came to the US. I forget what they did.
[Nexus 5 Original Android Development] franciscofranco:
Just changed it on my local build!
[Nexus 5 Original Android Development] bjoswald:
Is it necessary to use apps like Auto Memory Manager and Seeder with this kernel?
[Nexus 5 Original Android Development] icethegreat:
necessary? no :highfive:
[Nexus 5 Original Android Development] akash3656:
Seeder is totally unnecessary on any android device.

The auto memory manager isn't needed for this device. Useful on other devices? Maybe.
[Nexus 5 Original Android Development] bjoswald:
Thanks for letting me know. Will remove ASAP.
[Nexus 5 Original Android Development] WettbackMartyr:
"Necessary? Necessary?!? Is it necessary that I drink my own urine?!.....No!....but it's sterile , and I like the taste!"

....sorry couldn't resist [emoji16]
[Nexus 5 Original Android Development] blackt5:
I haven't laughed at a post like that in forever. Good one.
[Nexus 5 Original Android Development] neriamarillo:
App is looking very good so far! Great progress!
[Nexus 5 Original Android Development] UpSpin:
The frequency gets thermally throttled below the cpufreq_unplug_limit which most likely keeps core #3 and #4 disabled. I haven't taken a look at the algorithm, but at you can check it yourself with the App Usemon and you'll see core #3 and #4 stay disabled more or less once the SoC is at its thermal limit.

Somehow you have to dissipate more heat than the default thermal design of the Nexus 5 allows to minimize thermal throttling. You can do this by increasing the surface or by blowing air at it. It's not ideal, no question, especially because the SoC is oriented towards the display.

Why do you think so? Algorithms, even scientifically highly optimized parallelized ones, don't scale linearly with the number of cores. I highly doubt that a cheap and simple game is optimized in this direction in any way, especially with a constantly varying number of available cores.

Less, but faster cores are easier to handle and especially faster. So more but slower (to stay in the thermal limit) cores cause additional overhead, heat and reduce the performance.

Very likely. The CPU cores are total overkill in smartphones already. Games depend on the GPU mostly, which is still underpowered, especially if you compare it with Apple SoCs and the high resolution of current displays used in Android devices.

http://xdaforums.com/showpost.php?p=50565053&postcount=19510
[Nexus 5 Original Android Development] Technecium:
msm-thermal only affects what frequency the cores run at based on temperature. It doesn't influence how many cores are online.

mako_hotplug determines if cores are brought online or offline based on cpu load regardless of temperature.

mako_hotplug and msm-thermal are two separate mechanisms.

Regardless of the temperature or which frequency msm-thermal has lowered the frequency to, mako_hotplug will bring cores online.

FYI: cpu_unplug_limit is used to keep cores online a little bit longer if the load of the CPU is higher than the set limit. It is not used in the calculation to determine if a core comes online.
[Nexus 5 Original Android Development] ashirviskas:
r57.

Why is the step counter disabled/not working? Is it just a bug, or a removed feature?

EDIT: Running stok rom
[Nexus 5 Original Android Development] franciscofranco:
There is no step counter anywhere in the Kernel lol...
[Nexus 5 Original Android Development] Technecium:
You can use uptime to see how long it has been running but I think you need a 3rd party app to find out how far.
[Nexus 5 Original Android Development] granets:
My phone just made this bug report for some reason. the screen was off. it vibrated a couple of times and when I turned the screen on it had this report waiting for me. any ideas on what that was about?https://www.dropbox.com/s/wgzkkdswi8fush3/bugreport-2014-07-27-19-12-46.txt

wow that's a large file
[Nexus 5 Original Android Development] Playe:
Do you have a case?
[Nexus 5 Original Android Development] granets:
just a skin. actually I was applying my new skin when it happened.
[Nexus 5 Original Android Development] aavvaallooss:
Your skin push the buttons and take a bug report
[Nexus 5 Original Android Development] granets:
thanks mate. sorry for this OT guys
[Nexus 5 Original Android Development] combatdeity:
[MENTION=3292224]franciscofranco[/MENTION]

Had a kernel panic on r48 whilst it was just sat on charge.

Link to last kmsg

Let me know if anymore logs would be useful.
[Nexus 5 Original Android Development] franciscofranco:
Are you using ROW I/O? It looks like it derped when adding a request:

[34268.915251] PC is at row_add_request+0x5c/0x2cc
[Nexus 5 Original Android Development] blackt5:
Did you mean 58? 48 is super old. I'm just wondering.
[Nexus 5 Original Android Development] PhantomGamers:
Seems it.
[Nexus 5 Original Android Development] combatdeity:
Yeah, r48 is where I stopped running francos kernel on my 2012 nexus 7 when I sold it, the number just stuck in my head .

So back to deadline, or will this issue be fixed in possible future releases?

Confined to only r48 r58, or is it possible on older releases?

Cheers
[Nexus 5 Original Android Development] bjoswald:
Why not use noop?
[Nexus 5 Original Android Development] granets:
noop is a good scheduler, if not the best
[Nexus 5 Original Android Development] fonephanatic:
Has everyone made the jump to ART or do people still use dalvik (like myself)?
[Nexus 5 Original Android Development] fatspirit:
There are different people.
[Nexus 5 Original Android Development] granets:
Yeah. I've been using ART for a while. I find it smoother, but when you reflash a ROM it's very slow the first time it boots. Also when you install apps it takes forever and the phone lags alot while preloading the data it needs. But I find it a small price to pay for the smoother experience it brings. Also, google said they will fix those issues with android L
[Nexus 5 Original Android Development] franciscofranco:
Row's code been the same since ever. I don't know the subsystem nor why that crashed, there's nothing I can do.
[Nexus 5 Original Android Development] franciscofranco:
My latest G+ post about Android apps design and user experience: https://plus.google.com/u/0/+FranciscoFranco1990/posts/DEik2oz1n27