yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] joderme:
Just remember to not upload One Plus files :)

---------- Post added at 11:29 PM ---------- Previous post was at 11:27 PM ----------

Same kernel.

MBPr$ md5 boot-lrx22c.img-kernel

MD5 (boot-lrx22c.img-kernel) = 47adcf8577ed90ca7598b335c9d43fea

MBPr$ md5 boot-lrx21o.img-kernel

MD5 (boot-lrx21o.img-kernel) = 47adcf8577ed90ca7598b335c9d43fea

There are some ramdisk differences...

init

selinux_version

sbin\adbd

sbin\healthd

sbin\ueventd

sbin\watchdog

Edit:

[MENTION=3357040]Imoseyon[/MENTION], it may be worth mentioning that [MENTION=1415579]adrynalyne[/MENTION] tested out his Droid Turbo tonight before and after encryption and it appears that there was no performance hit. Not sure if we can borrow from that device to enable hardware encryption support?
[Nexus 6  Original Android Development] Imoseyon:
Those numbers seem in line with what I get on my phone. My sequential writes are a tad faster around 60MB/sec. There should be a significant improvement from stock due to the arm NEON driver I'm using.

I'll have to see the actual throughput in controlled environment. CAF has done some qcrypto driver improvement in terms of doing multi-core, etc. but I tried them all - still not faster than sw crypto using arm NEON instructions. I think 180MB/s reads and 60MB/s writes are probably good enough for encrypted storage. I'd say if you want to go faster, decrypt it.
[Nexus 6  Original Android Development] garyd9:
A random suggestion (or two):

The "lkconfig" script works with another (boot time) script to set certain sysfs parameters on boot. For some params, it cat's the contents of a flag file to a sysfs node. For other params, it echo's a hard-coded value based on the existence of the flag file.

For the charging LED, it uses the latter (hard-coded value based on the existence of CFILE.) I'd suggest changing lkconfig to put a proper trigger value into that CFILE (I forget the name of it) and then cat that into the trigger sysfs node.

That would allow people to modify the flag file to use a different trigger, but still otherwise work on reboots, etc. (For example, I tend to prefer the "blink while charging, solid while full" trigger.)

...and one more: If there's room in the ramdisk, supply a basic busybox binary. I know the arguments in favor of having busybox be in /system, so I'd suggest only a very basic busybox (and without all the links) - at least enough to runparts so the init.d support works without a dependency on something being installed in /system.

Take care

Gary
[Nexus 6  Original Android Development] brizey:
So this is already implemented?... I may switch back to encrypted.
[Nexus 6  Original Android Development] spinkick:
If that speed boost is implemented I'd prob. switch back to encrypted as well. However, do you think we take a battery hit running the extra encrypt/decrypt through the cpu any time we access stored data? Are you running the oc/uc kernal? My benches are significantly less and I'm unencrypted.
[Nexus 6  Original Android Development] Imoseyon:
Hehe yeah that kinda sticks out like a sore thumb right? It's already on my todo list.

As for busybox, I had done exactly that on some of my older kernels, but then it became a bit of effort to make sure that it doesn't conflict with the busybox installed in /system. So now i just tell people to make sure that busybox is installed. As you can tell, I'm all about doing as little as possible to achieve as much as possible. ;) I may change this in the future still...

Yes, it's been there for a couple of beta versions now. Sequential read/writes are pretty good encrypted, however, random read/writes still fall short. Also keep in mind that sw crypto will use some cpu cycles while doing heavy I/O. I keep mine encrypted (for now).
[Nexus 6  Original Android Development] imtjnotu:
Noticed a strange bug today. When streaming to my pill xl on Bluetooth the music would sound like it's buffering and slowing down at the same time. It happend every other minute or so

Went back to b10 and the problem went away. Then again to v1and it was still there.
[Nexus 6  Original Android Development] Imoseyon:
I'll take a look at it - i got a BT speaker somewhere in the house.
[Nexus 6  Original Android Development] tonokeemon:
[MENTION=3357040]Imoseyon[/MENTION]

I flashed leanKernel 1.0 and see zero difference in any drive benchmarks. I get 35 sequential read, 22 sequential write whether I use your kernel with the NEON crypto libraries or the stock kernel. I'm using the newest Androbench with lollipop fixes to test.

Thoughts?
[Nexus 6  Original Android Development] Imoseyon:
ah yeah i got tired of all these different benchmark programs producing vastly different benchmark numbers so I decided to do my own using dd. I do remember even on Androbench there was noticeable difference between mine and stock. Strange...will take a look.
[Nexus 6  Original Android Development] ctbear:
Tried 1.0 last night on 5.0.1, and I couldn't make ambient display working. Flashed back stock kernel and it worked again.

If I am alone on this maybe I will try wiping :eek:
[Nexus 6  Original Android Development] oak:
Thanks

I am on 5.0.1 and this kernel is great. Everything works smoothly, battery seems good. And, lkconfig is just cool. Thanks! I am on 1.0

Donation sent: 0JR6892074142353S
[Nexus 6  Original Android Development] resynx:
Is there anyway to permanently disable dt2w? Sorry if it's been asked, I searched but only found people recommending to use the apps to turn it off. For me, the apps work only until the screen turns off and on and then it will be activated again.
[Nexus 6  Original Android Development] Imoseyon:
hmm this shouldn't be the case. Ambient display is working fine.

dt2w? you must be in the wrong thread.. :p Or are you using some sort of app to enable dt2w outside the kernel?
[Nexus 6  Original Android Development] zephiK:
As [MENTION=3357040]Imoseyon[/MENTION] mentioned, this isn't the place to ask. Your ROM probably has dt2w enabled by default, use the app to disable it and it shouldn't reactivate. Update your SuperSU and use the v1.2 app.

What you asked has nothing to do with the kernel though.
[Nexus 6  Original Android Development] resynx:
Haha:laugh: No I didn't use any app, I just noticed that dt2w was active on my way home and was curious. That's when I downloaded the apps to disable it, but they didn't stick upon screen off / on. I am on Minimus ROM, maybe that is the case? Can it be activated ROM-side instead of kernel-side?

Edit:

Oh I see. I had thought it was something that was enabled kernel-side as that's what I am used to. Thank you!
[Nexus 6  Original Android Development] zephiK:
Read the post above yours. Minimus enables Dt2w by default.
[Nexus 6  Original Android Development] joderme:
Paul Reioux appears to have some nice speeds with encryption.

https://plus.google.com/+PaulReioux/posts/3bawiwhK5Tz

I would like to the the random speeds as well, however, this looks somewhat promising.
[Nexus 6  Original Android Development] Imoseyon:
Yup saw that and agreed. But we'll need some details as to what the conditions of the test were, what cipher was used (ie. you need to re-encrypt to use a faster cipher), what exact benchmark apps were used, etc. There were a few posts on this subject a few pages back.
[Nexus 6  Original Android Development] joderme:
That's what I get for being somewhat lazy and not reading backwards. Glad you saw it too. I have complete faith that you or another dev will get a quick working solution. I am honestly content with stock speeds atm.

One has to wonder if encryption is truly working as intended too with some of these alternative methods. I don't know enough about kernels and encryption to tell or test.

Thanks for all of your work on this. You gave my Blunderbolt new life.
[Nexus 6  Original Android Development] Imoseyon:
Yeah it hasn't been a priority for me either. Haven't noticed any storage speed issues on my kernel myself, at least in terms of actual usability.

I'm pretty skeptical about how encrypted storage speed can be faster than unencrypted, so I have a lot of questions on that g+ post, but again it's not a priority for me. One of these days I want to re-encrypt using ctr aes (as opposed to default cbc), as the neon driver apparently is much better for ctr.
[Nexus 6  Original Android Development] arcanexvi:
I'd be curious to see these results as well. Thanks for your hard work!
[Nexus 6  Original Android Development] old_fart:
In lkconfig, option 9 - what is the "ipc000000xx_FLP ? I got four of them and they are doing it all. Is this because I updated the euphoria rom ?
[Nexus 6  Original Android Development] Guitarfreak26:
Hi Guys

Finally got my nexus today.. Just about to flash the kernel, just wondered if its best to flash the custom mpdecision or just flash the kernel and leave it?

Thanks
[Nexus 6  Original Android Development] zephiK:
If you want to change your minimum / maximium CPU frequency then flash custom mpdecision, otherwise, leave it the way it is.
[Nexus 6  Original Android Development] Guitarfreak26:
Any impact on battery life without lowering the min?
[Nexus 6  Original Android Development] zephiK:
I don't understand your question. The minimum would be 300 unless you use the ocuv which is underclocked at ~200.
[Nexus 6  Original Android Development] Guitarfreak26:
Sorry i thought mpdecision sticks it at 1496
[Nexus 6  Original Android Development] zephiK:
Mpdecision will not respect the custom minium / maximum values you input, it will adjust accordingly based on the cpu load which can be 1496 as the minimum causing your phone to heat up or sit at a CPU frequency that is not really needed to perform that task.

Its a fairly simple concept. If you want to change your minimum / maximum CPU frequency then flash custom mpdecision. Otherwise, leave it the way it is.

I personally don't like mpdecision because it makes your device ramp up to frequencies that it doesn't need to be in the first place.
[Nexus 6  Original Android Development] oak:
Very happy with this kernel. Battery is improved over anything else I've tried. Performance is excellent too. I'm just using default settings. Thanks, Imoseyon.
[Nexus 6  Original Android Development] 613BulletProof:
I downloaded the normal build as i would like to stay as stock as possible. Does the normal build allow you to change or alter cpu settings and such? Im not seeing the option to do that.

Sorry its been a while since i been on a custom kernel. Im just looking to increase battery life.
[Nexus 6  Original Android Development] zephiK:
If you want to alter cpu settings you have to flash custom mpdecision and then use a kernel app such as Trickster to modify that.
[Nexus 6  Original Android Development] Imoseyon:
That, sir, is your Fused Location Provider service. Google search should provide some info.

[MENTION=1978554]zephiK[/MENTION] is correct (as always). I also use Kernel Tweaker which works well.
[Nexus 6  Original Android Development] Mr. Steve:
So since you don't like mpdecision, do you just turn it off or do you use the patched version?
[Nexus 6  Original Android Development] :
Flash the patched version and leave mpdecision on
[Nexus 6  Original Android Development] Imoseyon:
Man, qualcomm with their hw drivers.

Tonight I tested its hw random number generator. Results:

hw_random (msm_rng): 0.56 MB/s

linux random/urandom: 4.4 MB/s

frandom/erandom: 90 MB/s

crazy, right?
[Nexus 6  Original Android Development] Skripka:
No wonder Moto went software encryption on them.
[Nexus 6  Original Android Development] garyd9:
:rolleyes:

I keep getting the impression that Qualcomm isn't being completely forthcoming with hw drivers. I just can't imagine that they'd dedicate any silicon to something that sucks so badly. There's something missing...
[Nexus 6  Original Android Development] old_fart:
Hmmm, using google on that string was like pushing a wet turd up a hill . . .

And so I muster my 'great intellect' to make an inference from the poopie results. . My guess. . The device is coming up with 'highly accurate' location data by FUSING together gps and wifi towers and carrier pigeons. . So I turn 'high accuracy' off. . And set the pigeons free. . Hmmm, the only ones who REALLY need such accuracy is a C.I.A. when they're sending in a predator drone.
[Nexus 6  Original Android Development] arcanexvi:
Should totally integrate that in...
[Nexus 6  Original Android Development] Imoseyon:
Of course
[Nexus 6  Original Android Development] poczynek:
Any chance of swipe up to wake?
[Nexus 6  Original Android Development] HowIChrgeLazer:
Awesome work on the kernel, been using it for awhile.

I am running into an issue at the moment, wonder if anybody else is having this problem. I'm on 5.0.1 and I flashed v1.0ocuc and the patched no min frequency mpdecision and I can't seem to get a min frequency to stick in trickster.

It's been working great in the past so I'm not sure if it was the update to 5.0.1 or going from beta9 to v1.0.
[Nexus 6  Original Android Development] frenchy714:
Did you disable cpu boost in lkconfig?
[Nexus 6  Original Android Development] HowIChrgeLazer:
That seems to have done the trick. Thank you.
[Nexus 6  Original Android Development] saddog5523:
I'm not able to access lkconfig. The first terminal emulator in the PS is giving me a 505 error, and ROM Toolbox FC when I open the baked in terminal, so I'm using Shell Terminal Emulator by MobilDev. I type su, grant permission, and then type lkconfig. It gives me the error in the picture attached. If someone could help me out, I'd greatly appreciate it. Stock 5.0, rooted and unlocked.
[Nexus 6  Original Android Development] zephiK:
Something is wrong with your terminal, as you can see it still says $. The $ is supposed to become a #. # indicates root.

Try https://play.google.com/store/apps/details?id=jackpal.androidterm instead and be sure you're on SuperSU 2.37

Imoseyon answered this question in the past,

Any form of sweep up/down/left/right to wake would be answered by the quote above.
[Nexus 6  Original Android Development] saddog5523:
That's the app that's giving me the 505 error when I try to install it from the Play Store. :(

Edit: Even tried pulling the .apk direct off the developers GitHub. I click the .apk, click install, and it says "App not installed". I feel like I should just wipe and start fresh, but I don't wanna. Lol.
[Nexus 6  Original Android Development] zephiK:
What ROM, gapps are you using? Most custom ROMs have the Terminal Emulator app included, so if anything you can always flash a custom ROM with the app included (most of them have it included).

Try ungranting root access to that Shell terminal app and then re-grant root access. See if that helps.
[Nexus 6  Original Android Development] saddog5523:
I'm stock 5.0 with root and bootloader unlocked. I did a quick search on Google and a few other people have had that issue. Apparently it's something to do with permissions, and Google fixed it with 5.0.1, so I'm downloading the factory 5.0.1 image to flash right now. Hopefully I will be back soon with lkconfig working. :) I appreciate your help!
[Nexus 6  Original Android Development] rignfool:
Go to /data/data and look... I bet you have skeletons...

Other alternative would be a factory reset
[Nexus 6  Original Android Development] cr4ck3r4lif3:
I had the same error trying to install. I pushed it to data/app, fixed permissions, rebooted and was good to go.
[Nexus 6  Original Android Development] saddog5523:
I just completely flashed the 5.0.1 image and wiped everything. Still did it.

[MENTION=3938325]superrelaxx[/MENTION] would you mind telling me the steps to do what you did?

[MENTION=3357040]Imoseyon[/MENTION] I'm sorry, I feel as if I'm hijacking your thread for this issue.

edit: Now that is VERY strange... I was still having issues, couldn't get it to install or anything. I uninstalled ROM Toolbox Lite, and it installed flawlessly from the Play Store.
[Nexus 6  Original Android Development] xploitnt:
just wanted to stop by and say i love your kernel, great work! thanks and keep up the good work :D
[Nexus 6  Original Android Development] arcanexvi:
This is what I noticed when I looked at his issue as well. The SU binary likely isn't up to date or installed properly or the terminal app isn't granted permissions. These are really the only reasons why it wouldn't work.
[Nexus 6  Original Android Development] Media_Blitz:
I'm on v1.0. Flashed that nominmpdecision file (and its activated). I don't have CPU boost activated. Don't have a custom ROM. Flashed latest SU. I can't get the high freq. to stick. It'll decrease to 1.9 from 2.5 GHz after a period of time. This happened before, though it was worse. Flashing the nomin helped before. But not this time. Any thoughts? Thanks.
[Nexus 6  Original Android Development] wrongway213:
flashed this just now, first custom kernel i've ever used, seems pretty stable and close to stock so i figure a good place to start
[Nexus 6  Original Android Development] cupfulloflol:
I think I found a small typo in lkconfig. When selecting 0) display current settings, the 5th line (rgb settings) shows greed instead of green.

I am glad you have made the transition to the Nexus 6. My previous devices and I have enjoyed your previous work on the Galaxy Nexus and Nexus 7. Thank you very much for all of your work.
[Nexus 6  Original Android Development] ryude:
Not really sure what to look for, but here is what mine shows when I look for wakelocks.
[Nexus 6  Original Android Development] Phantom Shadow:
I've noticed the same thing. Thought I must have just accidentally changed the value so keeping an eye on it atm to see if it changes again. Also nomin flashed, cpu boost turned off. 300mhz min freq works no problem.
[Nexus 6  Original Android Development] old_fart:
Count me also. The overclock / underclock get stuck at 1.9 . . . i've blown away everything on a reload ( even wiped system ! ) and then it'll got back to being stuck . . .
[Nexus 6  Original Android Development] Imoseyon:
I haven't looked into that myself yet, but it sounds to me like the good old thermal engine throttling. This should happen on stock as well.

try "stop thermal-engine" and see if it happens still (while thermal engine is stopped).
[Nexus 6  Original Android Development] old_fart:
k. will try. gotta put the ocuc back in onst maah.

in terminal emulator : 'su' and then a "stop thermal-engine" . . .

but, please be advised, that when it does go to the mode of "favoring" 1.9 . . . it'll keep that behavior thru hours ( day ? ) of 90+ percent of rest times ( ie. it's room temp. ) .
[Nexus 6  Original Android Development] old_fart:
And then queue the man sitting in the corner on the drum set ( tapitty , tapitty , tapitty , tapitty , tapitty , tapitty , kish ! ) no change happening ( for me ) . . .

On normal v1.0 ( uses 2.6 a lot ) antutu is 50xxx over and over... and then the chainfire bench is : 48918 / 27921 / 36319 .

On v1.0ocuc ( uses 1.9 a lot ) antutu is 43xxx ... . and then the CF Bench 1.3 Pro is : 38596 / 22065 / 28677 .

( as GOD is my witness )

.

and i love that 'system monitor' app where it lets you float a little window above it all.

.

As far as BM's go . . Vellamo Metal is very cool. One of the subsets is i/o storrage, and it track / shows temperature and frequency .

( um, using lk 1.0 -> got : 1922 . . ( 279, 291, 168, 316, 347, 521 ) . . That 521 is for storage i/o .

.

chuckle, chuckle . . . In 'Basemark OS II' - we just won the Bronze Metal ! ( overall was a 1650 )
[Nexus 6  Original Android Development] Media_Blitz:
No change here either.
[Nexus 6  Original Android Development] Phantom Shadow:
Checked a couple of hours ago and max was 2.6, just looked now and it's dropped back to 1.9. Using the standard leankernel (not ocuc). My phone has been sat idle, no app updates, the only thing it has done in last couple of hours is 2 email notifications. It's not charging either and feels cold, so there wouldn't be any reason for thermal throttling to be kicking in.
[Nexus 6  Original Android Development] wrongway213:
is there a way to uninstall this kernel and go back to stock or a stock kernel i can flash? decrypted and hoping to stay that way but wanna move back to stock kernel now that my rom has settled to compare battery life
[Nexus 6  Original Android Development] apascual89:
There is a stock kernel download in the stable build link in the op.
[Nexus 6  Original Android Development] wrongway213:
Restored to stock but it encrypted me
[Nexus 6  Original Android Development] Johnny424:
what are the cooler screen values provided in lkconfig?
[Nexus 6  Original Android Development] old_fart:
Yup ! . . . stock is ( well ) stock. . . Please go here : http://xdaforums.com/nexus-6/development/disable-forced-encryption-gain-root-t2946715
[Nexus 6  Original Android Development] Imoseyon:
v1.1 is up: https://github.com/imoseyon/leanKernel-shamu/wiki/Lollipop-ChangeLog
[Nexus 6  Original Android Development] arcanexvi:
Not seeing it in the stable folder

Edit: disregard. Was loading cached page
[Nexus 6  Original Android Development] oak:
This kernel is awesome. Battery is great on this kernel. I also appreciate your documentation.

Donation sent: 71L7715312934760Y
[Nexus 6  Original Android Development] old_fart:
Thank you, Sir . . . We all appreciate your hard work . . . You are the master guru of android KERNEL tweaking / squeezing / mud wrestling / and diaper changing . . .

Umm, please be advised ( in my old age impaired testing . . . ) the most recent characteristic of the 'ocuc' version remains .
[Nexus 6  Original Android Development] Imoseyon:
Sorry, what's the issue with the ocuc build?
[Nexus 6  Original Android Development] wrinklefree:
This is a kernel for grownups :)

Thanks for your hard work!
[Nexus 6  Original Android Development] ctbear:
Not sure what I am missing...I flashed 1.1 and wiped user data in recovery. When I booted it back up the encryption is still on?
[Nexus 6  Original Android Development] ryude:
Love the performance and battery life with this kernel.
[Nexus 6  Original Android Development] Elpatii:
Hi and thanks for this amazing kernel. I've excellent battery and performance results!

I use Franco Kernel Updater app to manage the kernel, I have many problems with Trickster about frequency's. It's better with Franco app. But do you know why sometimes, my CPU frequencies change to 1,9GHz?
[Nexus 6  Original Android Development] slick4mitch:
If you were encrypted before flashing then you will still be encrypted after flasging this kernel. This kernel will not decrypt you at all ;)
[Nexus 6  Original Android Development] mallman:
because you have to format user data with fastboot not with wipe it with twrp
[Nexus 6  Original Android Development] Pilz:
Great kernel, standby time is impressive using this! (V1.0 in the images below) I just flashed v1.1 this morning.
[Nexus 6  Original Android Development] Media_Blitz:
I've noticed that this doesn't happen when on interactivex. Are you on ondemand by any chance? If so, try interactivex.
[Nexus 6  Original Android Development] old_fart:
In a nutshell, the normal kernel will ( most often ) scale the freq to the 2.6 mhz when it needs to, while the ocuc will scale ( most often ) to 1.9 . . .

Verified many times over weeks. . . Using defaults, ie InteractiveX. . . Using the specially crafted 'no-minfreq-mpdecision' when plugging in the ocuc kernel .
[Nexus 6  Original Android Development] Imoseyon:
It's probably due to thermal throttling, as 2.9ghz will trigger that more often. Have you tried running it with thermal-engine stopped?
[Nexus 6  Original Android Development] Elpatii:
No, I'm already with interactiveX...

Too bad...
[Nexus 6  Original Android Development] old_fart:
Um, I am having a "ground hog day" moment now . . . . I believe you asked that ( maybe twenty posts back ) and I responded a couple times. Not meaning to speak disparagingly and I have the utmost highest respect for your intellect and your craft . . . but it is the holidays and then . . . when I responded with the UGLY word 'benchmark' included . . . well then possibly your brain 'flies' over those posts seeking more 'real' substance .