yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] shayneflashindaily:
That's not a way to control color.... Its a present lol... ?
[Nexus 6 Android Development] Tex99:
You can change the values according to your taste and reboot, like on trickster etc....lol.. :/
[Nexus 6 Android Development] rignfool:
No... If you reboot without ticking set on boot... It resets...
[Nexus 6 Android Development] Mr_S:
I was using k.a...after reboot I grabbed logs straight away... Maybe k.a never had root permission yet?

Anyway will grab ramoops if happen again
[Nexus 6 Android Development] farahzadfarahzad:
This is a great kernel [MENTION=2967322]buckmarble[/MENTION] , but would you please look into adding auto high brightness mode from franco into this amazing kernel ,Thanks
[Nexus 6 Android Development] buckmarble:
It's already in there[emoji106] [emoji106]
[Nexus 6 Android Development] Poojan Patel:
why sound boosting isnt working??
[Nexus 6 Android Development] Mr_S:
Headphones sound boost works fine but AFAIK speaker gain is broken...I think you can adjust the values manually or if not try viper4android
[Nexus 6 Android Development] farahzadfarahzad:
Thanks mate for the the reply but i guess that is not automatic high brightness mode ,the feature is like when there is sun the screen will automatically activate high brightness mode ,and i guess this is the commit

https://github.com/franciscofranco/Shamu/commit/e82dcb26118703fc3cc24c02af81110ad0173159

And here is the video of how it does function

https://youtu.be/xcEA0ntrc18

And it can easily activate by this command:

echo 1 > /sys/devices/virtual/graphics/fb0/hbm

Or using Franco updater app

And thanks so much for the great kernel you guys put a lot of effort to make this kernel best really, that feature is really handy while driving or walking then you don't really have to do anything it just goes automatically into high brightness mode
[Nexus 6 Android Development] buckmarble:
It's all there. The sysfs node is there along with the auto mode in the fkupdater(I have the paid version if that matters). Have you tried it? I don't think we have that commit, so if it's not working I'll add that and you can try it again.
[Nexus 6 Android Development] farahzadfarahzad:
Thanks Mate, it works with fku app ,
[Nexus 6 Android Development] buckmarble:
Good deal!![emoji106] [emoji106]
[Nexus 6 Android Development] brymaster5000:
Just curious...doesn't auto-brightness work the same? Or does this just flip the switch to 100% full brightness. I don't seem to have an issue with autobrightness.
[Nexus 6 Android Development] buckmarble:
This is a setting that takes the brightness higher than auto brightness does.
[Nexus 6 Android Development] djcsurf:
Just did a clean installed of new PN CMTE rom along with 01-21 Elite kernel...

I have a strange issue in that if I reboot or power off/on the phone I have to turn screen on with power button the first time, after which the tap screen function will wake the screen.

EDIT: Lol, just tried rebooting again and it worked fine!
[Nexus 6 Android Development] djcsurf:
Referring to my above post, there is definitely something in it. Today I've rebooted a couple of times and both times I had to use the power button, tapping would not wake the screen. Using 01/30 Pure Nexus CMTE build. After waking with the power button it always works flawlessly. Not sure if a log would help in this situation but will try grab and post one if required.
[Nexus 6 Android Development] enzoevo:
I don't use tap to wake, as it's always given me some problem. Instead I've used swipe to wake and have never had any issues with the screen responding.
[Nexus 6 Android Development] Formhault:
Does the Franco kernel updater app offer same (if not better) functionality than Kernel Adiutor?

---------- Post added at 12:45 AM ---------- Previous post was at 12:43 AM ----------

Hope that feature doesn't activate high brightness mode whenever the light is slightly more powerful... And only when it is really powerful and requires more screen brightness.
[Nexus 6 Android Development] enzoevo:
Not sure if it was the update to PN-CMTE 2/3, but I can no longer get the lockscreen circle input to launch the camera to work. It's enabled in KA and swipe to wake works fine. I'm running Elite 1/21 build.
[Nexus 6 Android Development] brymaster5000:
Do you have swipe down enabled?
[Nexus 6 Android Development] enzoevo:
Yes. It just flashes the screen.

Edit:

I used adb to get a catlog. Screen off. I swipe down. Screen flashes, then goes dark.
[Nexus 6 Android Development] wase4711:
is there a newer version than the great 1-21 I have been using?

thanks!
[Nexus 6 Android Development] buckmarble:
We have had a few testing builds since then yes. Fixing a few oddball bugs reported. Also been working on a n5x(bullhead) kernel since a member of team bliss was so gracious to donate a n5x to us. I am looking for competent testers for the 5x kernel if anyone knows someone using the device as a daily driver.
[Nexus 6 Android Development] wase4711:
ok, thanks. :good::good:

I guess I will keep checking back for a link when it get posted!
[Nexus 6 Android Development] buckmarble:
You can test this one out if you want. In order to fix some issues reported with some streaming apps with a DRM initialization failing, we had to go to selinux enforcing by default and also set ro.secure to 1. This is also updated to linux 3.10.96.

http://projectelite.net/buck/shamu/M/Elite_Shamu_M-02_05_2016_test.zip
[Nexus 6 Android Development] Mr_S:
Flashed test build and got multiple f.c all over the place including sprintdm,k.a,su.... Soon as I pressed OK on one another popped up... Couldn't even get log from k.a and was not near lappy. Flashed over oldest build.... Will try and clean flash ROM first then kernel......pn cmte

Build before test build.....opened camera app,took some pics then camera went slomo and phone became unresponsive

Ramoops

https://www.dropbox.com/sh/d737gmcc8sgxd1j/AAAARVLHYXatiwjQ3Fi2N70la?dl=0
[Nexus 6 Android Development] buckmarble:
I tried looking through those logs. They were all garbled. I tried to find a panic through the gibberish but didn't see one. Let me know if you get it after a clean flash. Probably had something to do with going from permissive to enforcing and enabling ro.secure
[Nexus 6 Android Development] teinwhite:
Just experienced a hang and reboot. Was just browsing Amazon when it happened. Any chance someone could take a look at the oops files?

https://drive.google.com/a/raystark.com/file/d/0B3tVaa7bUH-QT3lMQ2ZMcktSR2s/view?usp=docslist_api
[Nexus 6 Android Development] buckmarble:
I didn't have permission to look at it. Requested permission
[Nexus 6 Android Development] teinwhite:
Thanks! Granted
[Nexus 6 Android Development] buckmarble:
Just looked through them. I don't see any reboots or kernel panics. If it happens again, grab us another set of logs.
[Nexus 6 Android Development] teinwhite:
Will do! Thanks for looking. Just out of curiosity, what strings are you looking for?
[Nexus 6 Android Development] buckmarble:
Toward the end of the file i usually see "kernel panic" or restarting or something to that affect in the console ramoops.
[Nexus 6 Android Development] teinwhite:
Thanks for the info! If it's something that I can do, I usually prefer to not burden someone else with it.
[Nexus 6 Android Development] kamilmirza:
greetings [MENTION=4428185]brymaster5000[/MENTION] & [MENTION=2967322]buckmarble[/MENTION]

your kernel does not steps down CPU after 50% battery; which is awesome :good:

its called BCL

while using different kernels, I am trying to disable BCL but CPU still steps down after 50% battery

echo disabled > /sys/devices/qcom,bcl.39/mode

i have even tried to disable thermal-engine.conf but CPU still steps down

can you help me out to achieve this?

correct me if i'm wrong anywhere
[Nexus 6 Android Development] buckmarble:
Well, helping with other kernels is a bit of a conflict of interest and I don't want to go code diving in their changes/modifications. For Elite kernel we simply disable bcl in kernel.
[Nexus 6 Android Development] kamilmirza:
I totally understand, no worries :)

just one more thing: is it because of BCL or anything else should I disable?
[Nexus 6 Android Development] buckmarble:
New kernel in OP

Changes since 1-21 release:

-updated to 3.10.96

-Fixed 3.18 interactive Governor with touch boost causing reboots

-PMC gov added

-Sound control cleaned up to remove options that don't work(credit to flar2)

-Other upstream patches from google

-ro.secure in default.prop is now set to 1. This fixes issue with some TV vendor streaming apps not working.
[Nexus 6 Android Development] Droidphilev:
Thanks!!!

Is this release set to enforcing? (if you don't mind me asking)
[Nexus 6 Android Development] buckmarble:
It is in permissive, but should still work with the streaming apps.
[Nexus 6 Android Development] Droidphilev:
thanks. will test and report asap!
[Nexus 6 Android Development] iamjimmy:
Thanks for posting this. The 1-21 version was running great with the latest Pure Nexus build. For whatever reason, the battery drain was lower than previous builds.

Will upgrade the kernel and report back. Thanks so much.
[Nexus 6 Android Development] Droidphilev:
Streaming working fine. Thanks!
[Nexus 6 Android Development] iamjimmy:
Quick question: When upgrading the Elite kernel from the previous version, is it necessary to first dirty flash the ROM (to get to the kernel that came with the ROM) and then flash the new release of the Kernel. Or can the Elite Kernel just be dirty flashed over a previous release of the elite kernel. Thanks.
[Nexus 6 Android Development] wase4711:
nope, just flash it
[Nexus 6 Android Development] adm1jtg:
[MENTION=4428185]brymaster5000[/MENTION]

reboot right in the middle of a phone call. Using PMC on latest version kernel. no other changes. logs linked below:

http://bit.ly/1Q7nYA5
[Nexus 6 Android Development] TheAceOfSpades:
Thanks [MENTION=4428185]brymaster5000[/MENTION] for the kernel! I'm currently running it right now with no complications.

What would you suggest I set it at for maximum battery life on a normal "non-heavy" daily use?

Many thanks for the help!
[Nexus 6 Android Development] brymaster5000:
I'm seeing some stuff in here, but what I'm seeing is pertaining to lean kernel. Nowhere in your logs shows that you were on this kernel. How did you pull your logs and did you come from another kernel and forget to reflash the ROM kernel?
[Nexus 6 Android Development] adm1jtg:
I had flashed lean previous then changed to elite. I am not sure why there would be any remnants of lean leftover. As far as pulling logs right after the reboot i went into the system/fs/pstore folder via root explorer and zipped all the files in there.

So is there a way to make sure the old lean crap gets cleaned up or just reflash the rom dirty and then reflash elite on top?

Btw rom was ubermallow but also previously had a reboot on Yaosp (yank555's build). Was on phone both times, unfortunately didnt have a chance ti pull logs on the yaosp build
[Nexus 6 Android Development] wrongway213:
Yeah, dirty flash ROM, let it boot on stock kernel, then flash Elite. Just to be safe, I'd let it boot once with stock ROM kernel to make sure Elite is writing over ROM kernel's stock ramdisk - this is probably unnecessary, but I would do so anyway just to be certain you'll have no issues going forward.
[Nexus 6 Android Development] shayneflashindaily:
I personally would clean flash ROM with latest elite... Switching kernels like that always runs into a problem somewhere...
[Nexus 6 Android Development] enzoevo:
You can either dirty flash the firmware, or if you know how pull the boot image from the fw zip just use flashify or similar app to flash it.

In the future to save yourself the trouble, you can use TWRP backup to backup the boot partition. Whenever switching kernels, restore the stock fw boot image first, then flash the new kernel. This saves me a lot of headaches. I usually back up the boot image as soon as the new fw is complete and prior to flashing Elite.
[Nexus 6 Android Development] wrongway213:
Honestly, dirty flashing the ROM is the only thing required to do what needs done to give Elite a clean slate: get on the stock ramdisk of the ROM's baked in kernel. Really, he could even just extract and flash the boot.img from his ROM, boot, reboot into TWRP and then flash Elite without issues. As long as you flash Elite over stock ramdisk, it won't have the type of issue he was having with kernel remnants - unless he has a ROM issue, in which case your advice would be the best course of action.
[Nexus 6 Android Development] Freak07:
Hey [MENTION=4428185]brymaster5000[/MENTION] and [MENTION=2967322]buckmarble[/MENTION]

I’m using the 08.02 kernel and I’m facing event0 and event3 kernelwakelocks. Do you have any idea whats the cause for them? Thanks for the kernel and the work you have put into it.
[Nexus 6 Android Development] brymaster5000:
Update to kernel: I found that adb has mysteriously decided to break on us. So I fixed it.

Elite_Shamu_M-02_12_2016
[Nexus 6 Android Development] adio201:
Anyone using elite on rr rom?
[Nexus 6 Android Development] Khizar:
Yes. Elite is my goto custom kernel on all roms.
[Nexus 6 Android Development] Freak07:
so I had the chance to investigate further. Left my phone overnight one time with wifi and the other with mobile data. On mobile data the wakelocks are back to normal and on wifi they are bad. Does this make sense to any one?
[Nexus 6 Android Development] khw1959:
That sounds like a issue with WIFI scanning.
[Nexus 6 Android Development] organick87:
Where did i miss the changelog?

i searched this forum for "changelog" and a meer three results appeared, none of which answers the question of the location of it. it's not out of distrust or anything, but I'm just genuine curious what the changes are lol

thanks is advance!
[Nexus 6 Android Development] wrongway213:
Source link to Github is in OP - that's where all the changes are made. You can track them commit by commit if you learn to navigate Github a bit and literally follow every single change made to the kernel, if you so desire. Hope that helps.
[Nexus 6 Android Development] Freak07:
Hm i have it on 2 different wifi networks which i'm constantly using. Overnight my battery gets drained by about 10% in eight hours. When on mobile data it drains just about 2%....

Thanks for your input!
[Nexus 6 Android Development] buckmarble:
Are the networks 2.4 or 5ghz and do they have dynamic dhcp?
[Nexus 6 Android Development] Poojan Patel:
just flashed 2-8-2016 build and i have to say that it is a bit laggy.it makes phone shutter,slight lower UI fps.So i flashed 1-21-2016 build and this build makes phone super fast,flawless.

i think something is wrong with 2-8-2016 build.
[Nexus 6 Android Development] buckmarble:
Will you try zzmoove or another gov to see if the lag persists? If it doesn't, I know what it is.
[Nexus 6 Android Development] Freak07:
both are automatic 2,4 and 5,0 ghz. I tried setting a static ip adress on one of them but it didn’t help.
[Nexus 6 Android Development] Poojan Patel:
yes, lag still persists with zzmoove and other governor except blu_active,performance. i prefer interactive governor for daily use.
[Nexus 6 Android Development] buckmarble:
I will do a new build for you to test shortly.
[Nexus 6 Android Development] Poojan Patel:
Sure. :good:
[Nexus 6 Android Development] djcsurf:
I have to say I noticed this but wasn't sure so never mentioned it!
[Nexus 6 Android Development] buckmarble:
try this one. https://www.androidfilehost.com/?fid=24415232478676276
[Nexus 6 Android Development] Freak07:
Is there anything i could do? Thanks in advance :)
[Nexus 6 Android Development] buckmarble:
I'll look at my router settings because my battery is equal on WiFi and mobile. I use wpa/wpa2 for security. What are you using?
[Nexus 6 Android Development] Freak07:
The same as you. Strange thing is my nexus 9 sleeps well on the same networks.
[Nexus 6 Android Development] Poojan Patel:
PERFECT!! lag is gone.Thanks.
[Nexus 6 Android Development] buckmarble:
Excellent!!

---------- Post added at 03:24 PM ---------- Previous post was at 03:22 PM ----------

What mode is it running in? Mixed or static b,g,n, etc
[Nexus 6 Android Development] buckmarble:
What mode is it running in? Mixed or static b,g,n, etc
[Nexus 6 Android Development] Freak07:
Mixed b,g,n
[Nexus 6 Android Development] cujo6801:
21 downloads on Test kernel already.....

That's including me
[Nexus 6 Android Development] buckmarble:
Keep em going!!
[Nexus 6 Android Development] adio201:
OK running test build with resurrection remix rom what setup you guys suggest? Also anyone having root explore not working with this kernel?
[Nexus 6 Android Development] teinwhite:
I've made it 34 :)
[Nexus 6 Android Development] buckmarble:
Here's another new build. I was having some issues with Hulu so i reverted some DRM and kgsl code back to stock and it has seemed to fix 90% of the problems i was having. The rest of them I believe are app related. https://www.androidfilehost.com/?fid=24415232478676424

---------- Post added at 08:35 PM ---------- Previous post was at 08:09 PM ----------

Start racking up those downloads everyone!!!
[Nexus 6 Android Development] manojpy:
I get system ui crash with this build. Not happening with elementalx or blackbird. Tried thrice. Systemless 2.67.
[Nexus 6 Android Development] buckmarble:
What ROM? I've tested stock and Pure Nexus without any issue

---------- Post added at 09:44 AM ---------- Previous post was at 09:42 AM ----------

Also, if you flashed other kernels, did you reflash the ROM in order to get back to the stock boot img that shipped with the ROM before flashed elite kernel?

---------- Post added at 09:48 AM ---------- Previous post was at 09:44 AM ----------

You should be good to go. I am not having any issues with root explorer. I modified build.prop without issue. I'm assuming r/w is the issue you were experiencing.
[Nexus 6 Android Development] manojpy:
Aosip 3.4
[Nexus 6 Android Development] cujo6801:
I'm on the same ROM & Build and flashed w/no problem...
[Nexus 6 Android Development] buckmarble:
If [MENTION=3429488]cujo6801[/MENTION] isn't having any issues, [MENTION=4685292]manojpy[/MENTION] I would dirty flash the ROM to clean out any left overs from the other kernels then try to flash again.
[Nexus 6 Android Development] manojpy:
Will try that for sure in the morning and revert. Have always loved your work. Thanks
[Nexus 6 Android Development] buckmarble:
Sounds good. Keep us updated. We will help however we can.
[Nexus 6 Android Development] enzoevo:
Latest test build running great. PN.
[Nexus 6 Android Development] Droidphilev:
Hello Buckmarble. I'm not able to download/test right now but i wonder: will this break the fix you made me before? (streaming problems)

Thanks for the build btw!
[Nexus 6 Android Development] buckmarble:
No it will not. You should be good.
[Nexus 6 Android Development] Droidphilev:
Thanks for the info. Enjoy your sunday!
[Nexus 6 Android Development] derdjango:
I'm running the newest test build on a deoxeded stock with Cataclysm mod. Super smooth and great battery life. 12 hours on, 2.5 hours SOT and still 50% left. Turns out that mpdecision isn't bad at all. Best kernel for me so far, thanks guys!
[Nexus 6 Android Development] buckmarble:
Here's my sot today. 75% of my usage is Hulu using Mobile data.
[Nexus 6 Android Development] organick87:
Oh jeez, yeah i did open that link but my knowledge level doesn't go past being able to successfully flash stuff and get myself outta small problems. I'm really just a user. i don't even know what "commit" means. lol:eek:
[Nexus 6 Android Development] manojpy:
Dirty flash did not help. Clean flashed and everything works fine. Guess there was something leftover causing the problem. Thanks
[Nexus 6 Android Development] bmg1001:
Hey guys, I was wondering if there was a way to control the kernel's settings (such as color settings) without root? I was thinking init.d scripts but I think it requires root, but I'm not sure. I think the elite.sh script that comes with the kernel would work but there are no values to change screen parameters, and I saw some here but they didn't work, at least on my device. I've searched the thread, but didn't find anything. Thanks!
[Nexus 6 Android Development] :
You would need to edit kcal settings in the ramdisk init scripts from recovery.

Sent from my Nexus 6

If I've helped you, don't forget to hit thanks!
[Nexus 6 Android Development] Jaani:
Is this a new test kernel build??If yes then i want to try it too...but the link is not working..new link plz & wat are the changes??
[Nexus 6 Android Development] Khizar:
Works fine for me.

Edit - You were trying the older link. Check his post after that one, it has another version linked.
[Nexus 6 Android Development] Jaani:
Can u please share the link?? Cant access pc now..& is it more smoother than 08/02/16???
[Nexus 6 Android Development] nodnarb91:
https://www.androidfilehost.com/?fid=24415232478676424
[Nexus 6 Android Development] derdjango:
Do you guys scale down max gpu frequency? Especially for non gamers, 600 MHz seems like an overkill and the msm adreno gov seems pretty aggressive.
[Nexus 6 Android Development] buckmarble:
600 is the stock max for our chipset. I leave it as is.
[Nexus 6 Android Development] mikeprius:
How do I disable the sweep left to sleep/wake ? I am trying to keep the double tap to wake, but prefer to turn off the other features.
[Nexus 6 Android Development] derdjango:
Use the script under /system/elite
[Nexus 6 Android Development] mikeprius:
I found the file, what do I type in to change it in elite.sh ?
[Nexus 6 Android Development] derdjango:
If you found the file, open it. Everything is explained in there under #Set Sweep2sleep
[Nexus 6 Android Development] adm1jtg:
Is it possible to set the default governor (to like pmc or smartmax) and all screen profile options in elite.sh? Trying to remove the need for an external program to set these things. I have already set all my wake gestures and I/O via elite.sh would love to set the rest this same way.
[Nexus 6 Android Development] Droidphilev:
Works fine, thx buckmarble!
[Nexus 6 Android Development] derdjango:
I don't know about the governor but you can add these to your elite script for color calibration. This is vomer_ips, adjust to your likings.

echo 230 232 255 > /sys/devices/platform/kcal_ctrl.0/kcal

echo 263 > /sys/devices/platform/kcal_ctrl.0/kcal_sat

echo 242 > /sys/devices/platform/kcal_ctrl.0/kcal_cont

echo 0 > /sys/devices/platform/kcal_ctrl.0/kcal_hue

echo 252 > /sys/devices/platform/kcal_ctrl.0/kcal_val
[Nexus 6 Android Development] derdjango:
Anybody still having the wifi battery drain? It's so frustrating.
[Nexus 6 Android Development] adm1jtg:
Edit: Almost perfect now with some help, anyone know how to set the governor via elite.sh?
[Nexus 6 Android Development] brymaster5000:
Add this and try it out:

echo "smartmax" > sys/devices/system/CPU/cpu0/scaling_governor

You may have to give permission in the script at the beginning with all the others, then relinquish at the end.... Meaning chmod 666 sys/devices/system/CPU/cpu0/scaling_governor then 444 at the end.

Try it out, check it in an app after you execute it.
[Nexus 6 Android Development] adm1jtg:
444 or 644 at the end.

Here is my current elite.sh does it look like what you would want to see?

http://pastebin.com/00RyxXYp
[Nexus 6 Android Development] brymaster5000:
444. The current permissions on it are read, read, read. You also need to add a / before sys/devices....So it'll be /sys/devices/... In all locations.
[Nexus 6 Android Development] adm1jtg:
Ok that didnt work here is the actual file. But more importantly when I looked in logcat to see what was going wrong i see tons of errors

http://bit.ly/1R5sjab

PowerHal:touch_boost:failed to send:No such file or directory

using 2-8 version

Tried the latest test version but had major issue screen wouldn't turn on and when i hit power to turn it on i can only get the power menu.

Rom is cm13 2/14 build no other mods applied