yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] DespairFactor:
Interesting, because mine has that, was there anything else you had to change?

EDIT: Screw it, mind if I use your ramdisk?
[Nexus 6  Original Android Development] Imoseyon:
So how you benchmark and which method you use has a huge effect on the numbers you end up with. For sequential reads, you guys can do your own testing, and not rely on these apps (who knows whether these apps are written correctly or not?). Here's how you do it yourself:

root@shamu:/ # dd of=/data/speetest if=/dev/zero bs=1000 count=100000
100000+0 records in
100000+0 records out
100000000 bytes transferred in 2.377 secs (42069835 bytes/sec)
root@shamu:/ # dd if=/data/speetest of=/dev/zero bs=1000 count=100000
100000+0 records in
100000+0 records out
100000000 bytes transferred in 0.571 secs (175131348 bytes/sec)

That's my numbers, encrypted storage. 42MB/s writes, 175MB/s reads. Not too bad right?
[Nexus 6  Original Android Development] Imoseyon:
hehe of course not. But no.. I don't recall anything else that needed to be changed. If you look at my source lk.ramdisk directory has all changes I made from stock ramdisk.
[Nexus 6  Original Android Development] DespairFactor:
I know, I even tried doing a diff between mine and yours and it still wasn't helping me out. And hey, then again users will be able to use your script to modify some extra parameters:)
[Nexus 6  Original Android Development] Imoseyon:
beta10 is up:

1) Linux 3.10.62 update

2) lkconfig show wakeup sources option

3) more optimizations and made even leaner

This is likely the last beta before v1.0. I'll most likely keep the ocuc build separate.
[Nexus 6  Original Android Development] zephiK:
What a great way to end my night :D
[Nexus 6  Original Android Development] :
hey when we update kernels to the newer versions, do we have to flash the no-minfreq-mpdecision zip again? Or is it just when we change roms? And thanks for the new update, can't wait to try it out!
[Nexus 6  Original Android Development] Imoseyon:
Only when you flash ROMs.
[Nexus 6  Original Android Development] old_fart:
[MENTION=3357040]Imoseyon[/MENTION], I know your advice and counsel about the shadiness and evils of antutu's and their ilk but . . .

I just dropped in 'beta 10ucoc' over 'beta9' and um . . . the numbers dropped from 49k to ~ 43k. . Arrgghh !

Am now dropping in 'beta10' . . .

.

Drop done. . Result is now ~ 44k.

My tired cranial cells tell me I have to do a 'factory reset / wipe'. Oh my.

.

Wipe / Do Over done. . Looks like it is rushing a smidgen faster ! . HaHaHa ( self delusional / psychological ) . . Result is now 48k.

.

After greenifying the crap out of it ( system apps too ), am at 50998. . The background stuff steals that many clock cycles ?
[Nexus 6  Original Android Development] Imoseyon:
hmm I haven't run antutu in a while. Let me take a look at it - the only commit that could possibly have this effect (between beta9 and beta10) is the Linux 3.10.62 update. Linux updates rarely have an effect on benchmark scores so that's puzzling.

EDIT: just got 51k
[Nexus 6  Original Android Development] Skripka:
B10 running great here so far.
[Nexus 6  Original Android Development] stuff:
Was messing with lkconfig colors (advanced) and i set mt screen to completely black. No biggie, i had the clean file to fix it.

But just a thought, could you just change the coding to alert you if you set those values too low? Maybe have a check that if they are set below a certain number, say 40, the program will make you verify you want that.

Also i think it accepts anything as input, not just integers. I typed exit and it changed the values, i assume to zero.

Maybe you could check it out.
[Nexus 6  Original Android Development] old_fart:
I have been into your built-in 'lkconfig' utility several times and am not able to see anything pertaining to 'show wakeup sources option' . . I'm probably blind, but where is it ?
[Nexus 6  Original Android Development] MrDSL:
deleted....
[Nexus 6  Original Android Development] magnum870:
Option 9 in lkconfig as long as you've got b10 installed. That's where I see it atleast
[Nexus 6  Original Android Development] flar2:
The panel drivers are insanely complex on these qualcomm devices. Did you look at myfluxi's work on the Nexus 5? That's where I would start, but it's low on my long todo list right now.
[Nexus 6  Original Android Development] old_fart:
Thanks ! oh, by the way . . . . what is :

.

adsp_IPCTR . . count is 10601

ipc000000ca_sensors.qcom . . count is 10415

wlan_wake . . count is 6160

.

I thinking the top one only is a true mystery ( and how to get rid of it, or at least lessen it ) !

.

Wow, google is being ZERO help on that first one . . .

"Your search - adsp_IPCTR - did not match any documents."

Ooooo ! . . its adsp_IPCRTR . . aarrgghh ! still nothing !

.

adsp -> Advanced Digital Sound Processor . . hmmm, this is the phone listening ( all of the time ) for spoken words like 'Okay Google'.
[Nexus 6  Original Android Development] Imoseyon:
I did for a bit. His code doesn't work at all for shamu as our panel DT files lack the necessary on-commands for gamma curve. I'll PM ya in case you have better luck getting it to work.
[Nexus 6  Original Android Development] imtjnotu:
What are everyone's favorite rgb settings..
[Nexus 6  Original Android Development] zephiK:
The cool setting in lkconfig (#2)
[Nexus 6  Original Android Development] ryude:
I did a bunch of tests with RGB settings side-by-side an iPhone 6, iPhone 5S, and an iPad Air.

The only way I could get it to look the same is if I turned off Adaptive Display. It made this screen look dingy and have a weird tint. Disabling it, I found 242/240/255 to look pretty close to all 3 of the iOS devices. The iPhone 6 had a slightly warmer display, the iphone 5S was slightly cooler, and the iPad Air looked almost exactly like the RGB settings I used. Just make sure you don't use adaptive display if you want the display to look good, it really ruins the look of the display.

All devices were set to 50% brightness and adaptive brightness off.
[Nexus 6  Original Android Development] Imoseyon:
Believe it or not that lkconfig script actually have some error checking in place. But I think I want to put the hard limits in the kernel itself. I can't imagine anyone going below, say 50. Well any sane person at least.

I will provide a list of what the top contenders are (and explanations), pretty soon I hope!
[Nexus 6  Original Android Development] old_fart:
And then does most everything falls into the category of a trade-off ? I wish the new trick of spoken word detection. Ergo my "most" egregious offender - I have to live with . . .
[Nexus 6  Original Android Development] joderme:
[MENTION=3357040]Imoseyon[/MENTION]

Does the zip change system at all?

I ask because I want to flash back to the stock kernel for a bit and believe I can do so by just flashing the stock boot.img.

Thanks!
[Nexus 6  Original Android Development] zephiK:
Be careful with that because if you're not encrypted and you flash stock kernel which is force encrypt. It can cause a problem.
[Nexus 6  Original Android Development] ebuechler3:
Cant seem to try how to enable the s2w and dt2w feature... And is s2sleep on this also? Thanks
[Nexus 6  Original Android Development] joderme:
Good point. Thanks for the heads up. Fortunately I am encrypted.
[Nexus 6  Original Android Development] zephiK:
Sweep to wake / sleep is not in this kernel.

Double tap to wake can be activated by double tap to wake app in themes and apps section.

In that case, you'll be fine. Op uploaded stock kernel to the drive if you wish to just flash that. https://onedrive.live.com/?cid=f1ed...#cid=F1ED4BADFEE3FC02&id=F1ED4BADFEE3FC02!380
[Nexus 6  Original Android Development] ryude:
Just a heads up for anyone having some battery life issues.

I have been getting horrible battery life the past few days and I couldn't figure out why. I did some digging and it turns out Chrome is using a bunch of battery for no apparent reason.

I have since switched to Naked Browser and it's not only better on battery life, but it is much smoother and faster. I highly recommend this browser to anyone that prefers a minimalistic browsing experience.

But see the attached screencaps. Yeah, why is Chrome using 50% more battery than the screen itself (2 and a half hours of screen time mind you).
[Nexus 6  Original Android Development] cheami:
Or just close the tab that causes chrome to use a lot of battery.
[Nexus 6  Original Android Development] ryude:
I always close every tab before I lock my screen. You shouldn't assume things.
[Nexus 6  Original Android Development] slick4mitch:
Chrome itself cant be the cause, I use it all the time and it doesnt eat battery as much. Like someone else said, it might be open tabs, just saying.
[Nexus 6  Original Android Development] Cheater912:
Is there any way to change the minimum brightness?
[Nexus 6  Original Android Development] dankoman:
ro.debuggable in ramdisk default.prop

https://github.com/imoseyon/leanKer...94073caaddbf621ab8/lk.ramdisk/default.prop#L6

is there a reason this is set to 0? i can't get adb root access...
[Nexus 6  Original Android Development] Imoseyon:
Flashable zip for kernels should never change anything outside of the boot partition. At least that's what I live by. ;)

I have never incorporated these features in my kernel. There is actually a decrease in power efficiency with those features, wether that is measurable/noticeable or not. Having said that, if you see a really well implemented (code-wise) version, point me to it and I may incorporate that in the future. Chances are low though.

Nah no apparent good reason. I will change that soon...
[Nexus 6  Original Android Development] stuff:
On the topic of battery life, with lkconfig I checked whats sucking my battery.

Turns out these are my top:

9) check top 10 wake locks (ie. wakeup sources)

please enter a number (or press enter to exit): 9

1046024 wlan_wake

401622 adsp_IPCRTR

334308 ipc000000d2_sensors.qcom

108884 KeyEvents

66817 ipc0000000a_sensors.qcom

46017 eventpoll

45333 NETLINK

18264 qpnp-vadc-f0066a00

17280 ipc0000001f_sensors.qcom

11693 external-modem_ipc_bridge

Im at work and wifi has been turned on, but I never thought it would drain a good 20% in 2 hours. Has wifi always been a huge drain when its not connected?
[Nexus 6  Original Android Development] rignfool:
Depends on your WiFi scan interval...

The longer the interval... The better the battery life
[Nexus 6  Original Android Development] stuff:
Well clearly its keeping my phone awake a lot. How can i change the interval?
[Nexus 6  Original Android Development] rignfool:
wifi.supplicant_scan_interval=xxx

In build.prop
[Nexus 6  Original Android Development] stuff:
Well whats a proper interval? It only affects when not connected to wifi right?

Also do i add it in or is it already there?
[Nexus 6  Original Android Development] rignfool:
The interval is in seconds... It only affects when WiFi is disconnected... Most people use 120 to 180 seconds... Meaning broadcasts every 2 to 3 minutes
[Nexus 6  Original Android Development] ebuechler3:
Cant figure out how to use the mpdecision patched zip... Flash it, then enable it in settings? I usually have if disabled. Thanks
[Nexus 6  Original Android Development] old_fart:
That wasn't in there. . So I added it. . Am using '3C Toolbox Pro'. . Thanks !
[Nexus 6  Original Android Development] cheami:
Flash it and keep it enabled. That is how OP says to use it.
[Nexus 6  Original Android Development] old_fart:
That is discouraging news. . . The guru / experts will ( hopefully ) teach us how. . . I googled it the other day and saw mostly build lists ? . . I'm going off to google it again . . . . .
[Nexus 6  Original Android Development] :
Small World

Hey [MENTION=1811927]simms22[/MENTION] I remember you from [MENTION=1050103]sykopompos[/MENTION] thread :highfive:

Small world ;)
[Nexus 6  Original Android Development] Smallsmx3:
Simms22 is around a few more threads than that one
[Nexus 6  Original Android Development] hupo224:
PVS is 5. Is this okay? You have me worried haha. It came out weird in terminal but I'm assuming the 5 before root on the next line is the value I wanted.
[Nexus 6  Original Android Development] simms22:
yup. sykopompos ive known since the beginning of android :)

ha

you can say that. i just cant believe that this is already my 6th nexus.

---------- Post added at 07:21 PM ---------- Previous post was at 07:19 PM ----------

5 is fine. thats what i have. pvs is really just so you know the voltage chart that your device uses. a lower pvs means a little more voltage, and a higher pvs means a little less voltage.
[Nexus 6  Original Android Development] Imoseyon:
You are lucky, sir.

I will take a look at it. I think I may know how to fix that (provided that I can reproduce it).

hmmm Tricker is one that works. I tried Infamous and it FC'ed on me.
[Nexus 6  Original Android Development] Lewis2100:
Just flashed and so far so good, thanks for the kernel!

I'm pvs 7, would you be able to post the voltage chart for pvs 15? I'm wondering how close I can get.
[Nexus 6  Original Android Development] ryude:
PVS 9 here, is that a keeper?
[Nexus 6  Original Android Development] jarjar124:
Does the second build have video playback?

I shouldn't be asking here :/

BTW, PVS7 here :p
[Nexus 6  Original Android Development] Circaflex:
PVS 5 here, got it from tmobile retail store
[Nexus 6  Original Android Development] :
Is there a way to check the PVS without root?
[Nexus 6  Original Android Development] magus15:
I keep putting this into windows command prompt at the adb location but nothing happens:

adb cat /proc/cpu/msm_acpu_pvs﻿

I have checked to make sure the device is attached with adb devices command.

Can someone tell what I am doing wrong? I am rooted and unlocked and am using windows command prompt with the adb command but it isn't working.
[Nexus 6  Original Android Development] simms22:
you can try using root explorer without root, it might let you check. you would have to look in /proc/cpu/msm_acpu_pvs/. it might let you wuthout root.
[Nexus 6  Original Android Development] Circaflex:
just go ahead and use a terminal emulator on your phone
[Nexus 6  Original Android Development] :
I've tried that. All I see is an "a" without the quotes.

Edit: I prefer to wait until SuperSU has any bugs worked out. I know SuperSU is fine for now, but I'm not the crack flasher I used to be.
[Nexus 6  Original Android Development] zephiK:
adb cat is not a command. you have to type

adb shell

cat /proc/cpu/msm_acpu_pvs
[Nexus 6  Original Android Development] simms22:
using a root file explorer, i checked manually. look in /proc/cpu/msm_acpu_pvs/ for your answer ;)

---------- Post added at 08:17 PM ---------- Previous post was at 08:15 PM ----------

then you need root
[Nexus 6  Original Android Development] joackie27:
Is the value returned by this command -> cat /proc/cpu/msm_acpu_pvs/ in decimal?
[Nexus 6  Original Android Development] magus15:
Didn't work then I figured it was supposed to be msm_acpu_pvs not msm_acpu/pvs

Thanks that works. I had a 6 PVS.
[Nexus 6  Original Android Development] frenchy714:
Good seeing you here Imoseyon, I loved your kernels on the GNex! So I believe I'm a 2, in terminal it said "2root@shamu". Does that mean that my battery will burn quicker than someone with a 15, and if so should I undervolt to compensate? Thanks in advance for your response(s).

I pooped my pants once, it's a long story....
[Nexus 6  Original Android Development] Lebage:
PVS 8. I've been able to track this thread so far. Where I'm getting confused is how I use the chart, or the code, once I've got my PVS #. Any help would be appreciated.
[Nexus 6  Original Android Development] slick4mitch:
Deleted ... ;)
[Nexus 6  Original Android Development] ebuechler3:
I don't see it either. How exactly do you add something like that?
[Nexus 6  Original Android Development] rignfool:
Put it at the bottom... Placement doesn't matter since its not already in there
[Nexus 6  Original Android Development] bikeryder007:
Just wanted to thank you for sharing your settings. My screen looks great with you same setup, and I was surprised at the difference with adaptive display off.
[Nexus 6  Original Android Development] joderme:
Thank you. IIRC Franco's did change some stuff in system. I could be wrong as I am going off of other posts.
[Nexus 6  Original Android Development] old_fart:
The tool was smart enough to make a rookie like me, make it happen.

There are probably a dozen app to get it done and google is your best friend . . .

On this tool, i went to the 'tune performance' / left most group, scrolled to the bottom

and tapped on the 'build.prop' editor, then on the bottom - tapped on 'add'. .

It wanted a label and then a value, and tap 'okay'. . . Added !
[Nexus 6  Original Android Development] evocalante:
What app do you use to change the rgb?
[Nexus 6  Original Android Development] Tsukasa Buddha:
You just need a terminal app. The enter "su" to enable root. Then enter "lkconfig". Then choose "5" for custom or "6" for easy choice between wrinklefree's calibrated options.
[Nexus 6  Original Android Development] zephiK:
You can use terminal (as mentioned) or trickster mod.
[Nexus 6  Original Android Development] Imoseyon:
wakeup sources explanation

I kinda promised earlier I would post up an explanation on what those wakeup sources are. Here are some top ones:

1) adsp_IPCRTR: this is actually an android process that is part of the ROM/firmware. IPCRTR stands for IPC Router.

root@shamu:/ # ps | grep adsp_IPCRTR
root 224 2 0 0 c0177e98 00000000 S adsp_IPCRTR
root@shamu:/ # strings /system/vendor/firmware/adsp* | grep IPCRTR
IPCRTR

Do a google search for qualcomm adsp and you'll get some information on it.

2) ipcsomething_something: The first part isn't too important (ipc port number). It's the part after the "_" which tells us which process is causing the wakeup sources. For instance I have this one: ipc000000e2_sensors.qcom, which is the sensors service.

root@shamu:/ # ps | grep sensors.qcom
nobody 235 1 49780 1500 ffffffff b6ea2640 S /system/bin/sensors.qcom

3) eventpoll: event processing of linux/android. We want the phone to be awake when events are still being processed.

Anything else?

Also, I'm using the "active" counter for these wakeup sources which are kinda noisy. For 1.0, I will display the wakeup_counter instead so the numbers are a bit more meaningful.
[Nexus 6  Original Android Development] ebuechler3:
What is mmc CRC in lk config?
[Nexus 6  Original Android Development] zephiK:
Search before asking, http://xdaforums.com/showpost.php?p=57205423&postcount=477
[Nexus 6  Original Android Development] jermaine151:
If anyone has issues with Light Flow after changing to this kernel, like I did, it's because Light Flow has the wrong device names remembered for the LEDs. I wiped data on the LIght Flow app, configured the settings again and Voila.

Thought I'd share.
[Nexus 6  Original Android Development] Imoseyon:
Let me look into that. Probably not too easily.
[Nexus 6  Original Android Development] :
[MENTION=3357040]Imoseyon[/MENTION] honestly, this is the first time I've run a kernel that didn't have any issues. I haven't experienced any reboots, any issues at all so far. Thanks for such a stable kernel :D
[Nexus 6  Original Android Development] shelooga:
q: is the stable release the beta 10?

great work btw. this thing is stable and does what its supposed to!
[Nexus 6  Original Android Development] Imoseyon:
v1.0 is up: https://github.com/imoseyon/leanKernel-shamu/wiki/Lollipop-ChangeLog

I feel that v1.0 is a pretty good balance between battery life and performance. Enjoy...
[Nexus 6  Original Android Development] jimmypop13:
Awesome! Thank you! I loved your work on the gnex. Can't wait to try this!

Is this compatible with the new Android 5.0.1 build that just released?
[Nexus 6  Original Android Development] arcanexvi:
Just flashed it and it boots fine. As the packaged kernel with 5.0.1 doesn't seem to have changed from 5.0 I'd assume that there shouldn't be any new issues.
[Nexus 6  Original Android Development] Imoseyon:
Oh man when did 5.0.1 come out? lol
[Nexus 6  Original Android Development] mjwhirly:
Few days ago but you've been so busy building this kernel you didn't notice lol
[Nexus 6  Original Android Development] Pilz:
It was just posted earlier today on google's page from what I saw. I've been checking daily because I always keep the updated factory image on my laptop for those bad days like today.
[Nexus 6  Original Android Development] jrhatfield:
Tap2Unlock!?

First of all, thank you for the Dev's hard work on this project, it is much appreciated. I was wondering if it was at all possible (or not too much work) to incorrporate T2U in the next build. Or possible a test build?

http://xdaforums.com/andr...ature-t2965344

Thanks
[Nexus 6  Original Android Development] simms22:
5.0.1 hit with a factory img today.. but in reality, its been in aosp for a week+ already :)
[Nexus 6  Original Android Development] tflogic:
thanks Imoseyon! upgrading to official now :)

what parts of the factory image are safe to be flashed that wouldn't otherwise be updated in our current AOSP ROMs? probably the radio?
[Nexus 6  Original Android Development] simms22:
boot.img, only if you are encrypted. otherwise it would encrypt if you are decrypted. radio would be safe, if a new radio was included.
[Nexus 6  Original Android Development] beerbaronstatic:
New radio, bootloader looks to be the same, nothing else if you're running a custom AOSP build
[Nexus 6  Original Android Development] natezire71:
Somewhere said there was a new radio and kernel for Shamu
[Nexus 6  Original Android Development] HTC_Phone:
New radio for sure. I was on stock build, so I manually flashed boot loader and radio, then rebooted boot loader and flashed system, all is good. Running 1.0, lost no data.

Keep in mind I was on STOCK, not AOSP
[Nexus 6  Original Android Development] joderme:
Before leankernel (5.0.1 w/ 5.0 kernel):

root@shamu:/ # dd of=/data/speetest if=/dev/zero bs=1000 count=100000
dd of=/data/speetest if=/dev/zero bs=1000 count=100000
100000+0 records in
100000+0 records out
100000000 bytes transferred in 2.040 secs (49019607 bytes/sec)
root@shamu:/ # dd if=/data/speetest of=/dev/zero bs=1000 count=100000
dd if=/data/speetest of=/dev/zero bs=1000 count=100000
100000+0 records in
100000+0 records out
100000000 bytes transferred in 0.897 secs (111482720 bytes/sec)

After leankernel (5.0.1)

root@shamu:/ # dd of=/data/speetest if=/dev/zero bs=1000 count=100000
dd of=/data/speetest if=/dev/zero bs=1000 count=100000
100000+0 records in
100000+0 records out
100000000 bytes transferred in 2.345 secs (42643923 bytes/sec)
root@shamu:/ # dd if=/data/speetest of=/dev/zero bs=1000 count=100000
dd if=/data/speetest of=/dev/zero bs=1000 count=100000
100000+0 records in
100000+0 records out
100000000 bytes transferred in 0.550 secs (181818181 bytes/sec)

Files that have a different MD5 are boot.img, radio.img, system.img, and recovery.img.

Not sure how different though. I flashed radio and system. I will have to try to flash boot.img and rerun the speed tests. Granted I guess root might not work on a newer boot.img.
[Nexus 6  Original Android Development] zephiK:
Its obvious that the radios differ from each other. The .img files within the factory images are different and upon flashing them, your Baseband version changes as well.

I put a thread up with the .imgs http://xdaforums.com/nexus-6/general/ref-nexus-6-modem-collection-t2969380

I'm having a hard time making a flashable zip for them though.
[Nexus 6  Original Android Development] jermaine151:
Imoseyon, your kernel is like magic to my phone! Thanks!