yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] JulianXhokaxhiu:
I did not try build 1.8 honestly. I can try it tomorrow.

And actually I'm using only CM12.1, i did not try Android M. Sorry
[Nexus 5 Original Android Development] DespairFactor:
I think I know what is is but I would need it tested
[Nexus 5 Original Android Development] ewoks:
Just small remark.. This zips (Kernel and root) can't be sideloaded.. You will get errors: E: footer is wrong, E: signature verification failed ..

So flash with fastboot custom recovery like twrp, then flash those zips from sd card..
[Nexus 5 Original Android Development] miessos:
Had the same problem with Android M Preview 1 (secondary ROM on Multirom) using the R2 build. Just flashed the R1.8 build, tested it and the problem was gone. Reflashed R2 and the problem was there again unfortunately. If you need logcats let me know.

Cheers, M
[Nexus 5 Original Android Development] DespairFactor:
Do you have hangouts? I have an idea of what causes it, it may require a few test builds though.

EDIT: Just pushed R2.1, try it out.
[Nexus 5 Original Android Development] JulianXhokaxhiu:
Actually tryed it right now and it's not solved. Logcat here: https://www.dropbox.com/s/af1a4oxklg1jg52/logcat.txt?dl=0

Also, tryed 1.8 and there it's working for me fine. Thank you for any effor on this :)
[Nexus 5 Original Android Development] DespairFactor:
2.1?
[Nexus 5 Original Android Development] JulianXhokaxhiu:
Yes, that's why I quoted your post. Logcat is from 2.1.

So:

- 2.1: does not work

- 1.8: it does work
[Nexus 5 Original Android Development] DespairFactor:
I guess we can still blame Google:P, I will look again later tonight and push R2.2

I actually just pushed R2.2
[Nexus 5 Original Android Development] DespairFactor:
Just noticed my awesome 3 star rating
[Nexus 5 Original Android Development] miessos:
Awesome! R2.2 solved the problem for Android M Preview 1. Thank you very much!

Cheers, M
[Nexus 5 Original Android Development] JulianXhokaxhiu:
I confirm that it works here too! Thank you very much for the quick fix :)
[Nexus 5 Original Android Development] granets:
Changelogs? Is the default scheduler still performance? It made my phone really hot and burnt through my battery very fast, and I could not change it for some reason.
[Nexus 5 Original Android Development] FloGatt:
DespairFactor is ignoring all requests for changelogs or feature lists.

But you can look here: https://github.com/DespairFactor/N5M/commits/despair
[Nexus 5 Original Android Development] shoxyy:
[MENTION=5169465]DespairFactor[/MENTION]

What govenor settings do you recommend for conservative? Like up and down threshold? Thank you
[Nexus 5 Original Android Development] DespairFactor:
Try up at 95, down 30 and if I have input boost on here(I can't remember) try around 960mhz as the frequency and 800000 as the duration.
[Nexus 5 Original Android Development] matt1515:
I've noticed on R2.2 some videos are doing that green **** again.
[Nexus 5 Original Android Development] DespairFactor:
Well, I guess you can't win, its either green videos or no video recording
[Nexus 5 Original Android Development] granets:
Maybe you are dirty flashing on top of another custom kernel?
[Nexus 5 Original Android Development] kamots:
I flashed r2.2 over r2 and wiped dalvik and cache before rebooting, and I still have green and purple videos sometimes. Not a big enough deal for me to stress over , since I don't watch YouTube that much anymore
[Nexus 5 Original Android Development] matt1515:
Hahah ya it's all good I've just gone back to R2 I'm still able to record videos too.
[Nexus 5 Original Android Development] thereal_bigjake:
Thanks, it flashed fine and I have root ?
[Nexus 5 Original Android Development] cell2011:
Do we flash kernel then SU? I tried fixed kernel I got in the red update binary. My bad was restoring then flashed all is well this is so dam awesome
[Nexus 5 Original Android Development] 31ken31:
Yes that's the order.I did a busybox install before attempting root access

Try updated version
[Nexus 5 Original Android Development] androidpost:
Thanks for your work. It all turned out just fine. I've got root... Adds gone and benefits of root is nice to have.

Thankes a Ton??
[Nexus 5 Original Android Development] coolsid8:
Anyone tried with MultiROM ? It replaced the primary kernel having kexec support. So now can't boot into M ? Is it a Kernel issue or MultiROM bug?
[Nexus 5 Original Android Development] mikaole:
All fine here and layers manager is working. Sublime is on:)
[Nexus 5 Original Android Development] Gorgtech:
My system uses Android Lollipop 5.1.1 as a primary ROM, Android M is secondary.

Only the kernel of the primary ROM needs kexec support. If Android M is your primary ROM...well...you´re screwed :p
[Nexus 5 Original Android Development] DespairFactor:
Not for long, new release will have kexec patch, I am compiling it shortly after I add fq_codel:)
[Nexus 5 Original Android Development] cell2011:
Also kinda off topic but since we have root. Data enabler 5.0 works
[Nexus 5 Original Android Development] PabloCruzIII:
Awesome work!!! Thanks Matthew, still waiting on wake gestures...
[Nexus 5 Original Android Development] newhor1z0n:
Guys, I'm stuck on the starting apps screen for the last 10 mins?

Anyone knows what might be going wrong? Can I get the stock boot.img?
[Nexus 5 Original Android Development] cell2011:
S2S and DTW would be nice
[Nexus 5 Original Android Development] SketchyStunts:
Have root here. Thanks.
[Nexus 5 Original Android Development] 31ken31:
I had 26 apps upgraded n took forever
[Nexus 5 Original Android Development] vaindil:
SuperSU (beta 2.49) flashed properly and Titanium Backup detects that it has root, but when it actually tries to do anything with root access it fails. Same thing with Tasker, Secure Settings, GSam Battery Root Companion, etc. Root doesn't appear to actually be working properly.
[Nexus 5 Original Android Development] Apocalypse~:
Thank you for your work. ow that root is working, I noticed that clock speed was high, at 2 GHz, even at idle. So, I downloaded Trickster and noted that default CPU governer was performance. Is this intended?
[Nexus 5 Original Android Development] Gorgtech:
Some Apps are broken due to Android M incompatibilities and will need to be updated ;)
[Nexus 5 Original Android Development] DespairFactor:
It is set to boot with performance, it is not intended to be kept that way, but I suppose that how google may have it set by default.
[Nexus 5 Original Android Development] Apocalypse~:
Ah, no problem. I usually edit the Kernel settings to my need anyway. Do you plan to add Color Control, by the way?

Thanks again.
[Nexus 5 Original Android Development] Koopa777:
So this explains my worse battery life on M? :p Can ondemand or such be implemented? Or is it already in there and can be set with Trickster?
[Nexus 5 Original Android Development] Apocalypse~:
You can change it to on demand, and set it to boot using any app. I used TricksterMod. You might also need to change the minimum frequency lock, too.
[Nexus 5 Original Android Development] kevtrysmoddin:
There's a few to choose from just set mine to conservative and toying with turning mp-desicion off
[Nexus 5 Original Android Development] Ben36:
Is this just a stock kernel with root as it doesn't state anything else in the OP?

Sent from my Android M Nexus 5 yo!
[Nexus 5 Original Android Development] Kevingoot1:
So Titanium Backup isn't working? I have a FC when I start it up. Kinda weird.
[Nexus 5 Original Android Development] mikaole:
No tb is not running and as they stated on Twitter they will look into it when m is settled.
[Nexus 5 Original Android Development] Kroniq:
Everything so far works. Greenify, supersu, busybox etc...

However, I am getting a problem with max frequency sticking to 1574 mhz.
[Nexus 5 Original Android Development] 31ken31:
I had 26 apps upgraded n took forever

---------- Post added at 03:44 PM ---------- Previous post was at 03:44 PM ----------

1.3 coming soon

---------- Post added at 03:55 PM ---------- Previous post was at 03:44 PM ----------

That's how it started
[Nexus 5 Original Android Development] neFAST:
Are Layer themes compatible with the automatic light/dark UI in M?
[Nexus 5 Original Android Development] Ben36:
It should stay that way ?

Sent from my Android M Nexus 5 yo!
[Nexus 5 Original Android Development] Koopa777:
Mines stuck at 1200 MHz. The dialer is lagging. [emoji35]

Edit: This is after tinkering with frequencies. So dont.
[Nexus 5 Original Android Development] :
Root does not work here. Ist here anything I need to do other than just flasing the kernel?
[Nexus 5 Original Android Development] kevtrysmoddin:
Once you have flashed the kernel then flash super su v2.49
[Nexus 5 Original Android Development] DespairFactor:
It's being added, I am just about to upload R1.4.

EDIT: It is up.
[Nexus 5 Original Android Development] newhor1z0n:
Brilliant! Color Control working as well now!
[Nexus 5 Original Android Development] kevtrysmoddin:
Could someone share the link please its gone from the op
[Nexus 5 Original Android Development] ridobe:
Wow! This thing has taken off! 1.4 is working great with many new features. Thank you.
[Nexus 5 Original Android Development] lo2ay:
Link seems to be missing from the OP.
[Nexus 5 Original Android Development] DespairFactor:
Many more to come tonight too:)
[Nexus 5 Original Android Development] 19dragon98:
Here http://renderserver.net/devs/DespairFactor/WIP/M/hammerhead/
[Nexus 5 Original Android Development] cell2011:
Anyone have a link for R1.4. This is awesome have M root and DTW and others wow
[Nexus 5 Original Android Development] Kroniq:
http://renderserver.net/devs/DespairFactor/WIP/M/hammerhead/
[Nexus 5 Original Android Development] DespairFactor:
just fixed it
[Nexus 5 Original Android Development] lo2ay:
Gonna test it right away.
[Nexus 5 Original Android Development] Kroniq:
R 1.4 is nice?
[Nexus 5 Original Android Development] kevtrysmoddin:
Running like a boss
[Nexus 5 Original Android Development] MrMarques01:
Is this working in an multirom environment?
[Nexus 5 Original Android Development] 19dragon98:
R1.4 has changed the lowest brightness of display? Just half slider for brightness work :'/
[Nexus 5 Original Android Development] Ben36:
Ok.. I'm confused...

Sent from my Android M Nexus 5 yo!
[Nexus 5 Original Android Development] DespairFactor:
Request desktop site
[Nexus 5 Original Android Development] 31ken31:
5.2 mb
[Nexus 5 Original Android Development] Ben36:
I did :-\

Sent from my Android M Nexus 5 yo!
[Nexus 5 Original Android Development] kevtrysmoddin:
In that case rotate your device to display horizontal view
[Nexus 5 Original Android Development] Ben36:
Wow! Learn something new every day! Thanks!

Sent from my Android M Nexus 5 yo!
[Nexus 5 Original Android Development] Kroniq:
You could just hit the websites menu button and view by grid
[Nexus 5 Original Android Development] eminembdg:
I got linked to this thread talking about root for M preview but OP says lollipop. So will this allow root on M?
[Nexus 5 Original Android Development] neFAST:
Same here
[Nexus 5 Original Android Development] 31ken31:
Yes
[Nexus 5 Original Android Development] sakacjakub:
Successfully rooted. Color profile works, cpu tuner works, greenify works. Anyone tried xposed and amplify?
[Nexus 5 Original Android Development] Galaxy98:
bootloop when tried xposed
[Nexus 5 Original Android Development] jackie_jagger:
Works fine, rooted and just in case anyone is wondering Viper4Android works well too.
[Nexus 5 Original Android Development] jaxbierley:
How are you getting root? I flashed the kernel, then flash SuperSU 2.49 and it just reboots my recovery and nothing happens

Edit: had a bad download. All good now. Thank you.
[Nexus 5 Original Android Development] 31ken31:
Did ya wipe dalvik cache before reboot? And first boot is kinda long
[Nexus 5 Original Android Development] jaxbierley:
Figured it out. Bad download. All good now. Thank you.
[Nexus 5 Original Android Development] 31ken31:
No problem
[Nexus 5 Original Android Development] MrMarques01:
To answer my own question: Yes it does.
[Nexus 5 Original Android Development] Kevingoot1:
I know it hasn't been out for a while, but has anybody found a good kernel setup?
[Nexus 5 Original Android Development] ridobe:
Damn. 1.6 already. Intelliplug? Nice.
[Nexus 5 Original Android Development] Enoma27:
I'm trying some setup using ElementalX Kernel app (I guess any app is good, though) and using system monitor to check how the kernel is behaving.

Well, it feels like trying to tame a crazy horse. I had to set governor to powersave (unusable with custom kernels on Lollipop), to reduce min freq to 300 (stock seemed to be 1200!), in hotplug to raise the load threshold to 95 (but most of the times 4 cores are on anyway).

However after some time all of these settings seem to revert back to stock by the Kernel's own will, except for the governor. I'll try again with next kernel updates.
[Nexus 5 Original Android Development] DespairFactor:
1.6 was a qdisc test, it wasn't good, don't use it.
[Nexus 5 Original Android Development] ijrod21i:
Question from a kernel noob if you guys don't mind.. I haven't flashed a custom kernel since my Galaxy Nexus, so I flashed this and it's working well, except the auto brightness seems much darker and the brightness bar isn't applying the brightness that I'm used to. Is this a feature that I don't know about or is it possibly a bug? Anything I can do to change it back to stock brightness settings? Thank you much.
[Nexus 5 Original Android Development] 31ken31:
Gotta be on your end its fine here
[Nexus 5 Original Android Development] PabloCruzIII:
Did you turn off adaptive brightness in the display settings?
[Nexus 5 Original Android Development] ijrod21i:
I haven't tried that yet.. I usually just leave it on and set in the middle and it works fine.
[Nexus 5 Original Android Development] jeromechrome1:
Anyone else capped @ 1497 Mhz?
[Nexus 5 Original Android Development] PabloCruzIII:
I see.
[Nexus 5 Original Android Development] pmbabu:
Thanks for the kernel. Root, color profile work :)

Which Viper4Android zip are you using? The latest (May 1) zip doesn't seem to be working - I can't even see the app in the drawer :(
[Nexus 5 Original Android Development] Apocalypse~:
Backlight dimmer has been added to the Kernel, so you'll need a Kernel Manager to turn it off, to make it stock-like.

Ah, thanks. Color profiles work brilliantly. Just one thing. The clock speeds are stuck at 1.2 GHz, and I have to manually change them in the Kernel Auditor app to change that. Is it default or is my Kernel app causing a conflict?

Edit. Using v1.5
[Nexus 5 Original Android Development] bhuvan9111:
It is because of throttling (cool your cpu temperature ,clockspeeds will increase automatically)
[Nexus 5 Original Android Development] Apocalypse~:
Hmm, i thought the same at first.. But it would be true if it wasn't STUCK at 1.2 GHz. Minimum and Maximum. For throttling, it goes up to 1.2 GHz. And when I change it in the Kernel App, it behaves normally, and goes up to 2.3 GHz at the same temperature, so it's obviously not the case.

Edit. I'm ranging between High 40s and low 50s.
[Nexus 5 Original Android Development] bhuvan9111:
Maybe this is to deal with the kernel . Any way we all are going to change the max clockspeed any way though
[Nexus 5 Original Android Development] hiimimtayaz:
Guys! Just a heads up.....layer manager works fine but not all the elements are themeable..... Nevertheless, awesome support and million thanks.

Few SS with prodigy + vif layers....
[Nexus 5 Original Android Development] hiimimtayaz:
Guys! Just need little help.... I Just forgot to backup the stock kernel via flashify before flashing this kernel..... Could someone provide zip. Thanks
[Nexus 5 Original Android Development] linj:
Hey!

Thanks for the frequent updates.

Would you be willing to put in KCAL support?

Oddly, cf.lumen doesn't seem to pick up color-adjusting without KCAL, so kernels like Franco which don't have KCAL but have some color support don't work, but any that explicitly have KCAL support (Chroma, ElementalX) will work.
[Nexus 5 Original Android Development] bhuvan9111:
Currently there is no zip file to flash stock kernel (for M) but you can just dirtyflash the M preview and backup your kenel and then flash this kernel for root.this is the only way so far i think.
[Nexus 5 Original Android Development] Gorgtech:
Here you go: https://www.dropbox.com/s/3mt6qu96vig3sgm/nexus5-m-stock-kernel.zip?dl=0

Permanent Mirror : http://d-h.st/M21A

Who told you this ? :D I created one yesterday while I way trying to achieve a rooted kernel myself :p
[Nexus 5 Original Android Development] bhuvan9111:
Okay everything is for good. ;) kepp the hell up
[Nexus 5 Original Android Development] prithvi999:
Hi i am using multirom 32c. Android M is a secondary rom. when i installed this kernal (5.2MB) i am getting error when i try to boot up android M. The error says "Kexec-hardboot support is required to boot this ROM.Install kernal with Kexec-hardboot support to your internal ROM!". Can anyone let me know what mistake I have done.
[Nexus 5 Original Android Development] bhuvan9111:
Are you sure you have flshed the kernel from

1) twrp/install zip/kernel.zip

(Or)

2)twrp/advanced/multirom/list roms/m-preview/install zip or flash zip/kernel.zip

If you have done 1st step you have done wrong.try flashing 2nd step. But to boot in to your secondary rom install your previous kernel.
[Nexus 5 Original Android Development] Ben36:
That and you'd only need the img file anyway in twrp or flashify etc

Sent from my Android M Nexus 5 yo!
[Nexus 5 Original Android Development] prithvi999:
oh okay okay..yeah i had done the first step.Thank you i will correct it now.
[Nexus 5 Original Android Development] DespairFactor:
I Have KCAL, as does franco, I have no idea what you are on about.
[Nexus 5 Original Android Development] horza:
Worked great for me. Hope you don't mind me sharing https://plus.google.com/+DavorGrubisa/posts/b91MpooV2iB
[Nexus 5 Original Android Development] linj:
Hi Despair,

Apologies--I guess I didn't know what I was talking about.

On a closer look, looks like the R/G/B tunable for kcal works and is there. It certainly works with both Kernel Adiutor and savoca's Color Control.

However, cf.lumen isn't able to work without the full KCAL kernel driver. Ref Chainfire: http://xdaforums.com/showthread.php?p=59336715&highlight=kcal#post59336715 (apologies, I hope I'm not nagging).

I'm guessing that it's looking for the kcal_hue tunable (and/or kcal_val ...?) to control LCD temperature. I suppose that's why ElementalX/Chroma work fine with cf.lumen, but not Franco.
[Nexus 5 Original Android Development] DespairFactor:
This is in savoca's new drivers I suppose. Can you link me the Chroma github so I can look?
[Nexus 5 Original Android Development] pianistaPL:
[MENTION=5169465]DespairFactor[/MENTION] Do you think there is possible to add f2fs support for data and cache?
[Nexus 5 Original Android Development] linj:
Hi Despair,

Thanks for your reply/taking a look at this!

Chroma github: https://github.com/ChromaKernel/hammerhead

mdss folder: https://github.com/ChromaKernel/hammerhead/tree/lollipop-mr1/drivers/video/msm/mdss

Looking at Savoca's github, looks like branch MDP3 provides only the RGB multipliers, while MDP5 provides the full KCAL implementation. It also looks like MDP5 is more recent...

https://github.com/savoca/kernel-msm/commits/mdp5

https://github.com/savoca/kernel-msm/commits/mdp3

Thanks!
[Nexus 5 Original Android Development] DespairFactor:
It is possible, just not a priority. There are things that will bring more performance and usefulness than F2FS.
[Nexus 5 Original Android Development] DespairFactor:
Thanks, that's easy enough to implement
[Nexus 5 Original Android Development] Kroniq:
[MENTION=5169465]DespairFactor[/MENTION]

Sorry in advance if this is in the wrong forum , but would this miscellaneous battery drain have anything to do with the kernel or would that be a ROM issue?
[Nexus 5 Original Android Development] DespairFactor:
Likely ROM, I found a way to disable WiFi and Bluetooth always scanning, I don't have time to type out a tutorial at the moment.
[Nexus 5 Original Android Development] kevtrysmoddin:
Have you edited your build prop to user debug for multi screen?

If you did revert the build prop change and miscellaneous drain vanishes oh and if you don't disable multi screen it's still activated after reverting
[Nexus 5 Original Android Development] Kroniq:
Not a problem man. Is this what you were talking about? (Attachment) If not, no big deal.

Ahh yes I did, I just changed that back. Thanks
[Nexus 5 Original Android Development] DespairFactor:
Yes it was
[Nexus 5 Original Android Development] JoaoPaulo:
Yo! My friend you around here now! Glad to see You! :p
[Nexus 5 Original Android Development] :
The kernel disables selinux to get root working? Not good at all.
[Nexus 5 Original Android Development] 31ken31:
And why not?
[Nexus 5 Original Android Development] Ben36:
Lol. Mega scary eh?

Sent from my Android M Nexus 5 yo!
[Nexus 5 Original Android Development] 31ken31:
If u need selinux running on your phone then maybe ya shouldn't be rooting if security is a priority

---------- Post added at 02:13 PM ---------- Previous post was at 02:10 PM ----------

Read this. It's all cause of the NSA protocols.

http://m.nsa.gov/research/selinux/faqs.shtml
[Nexus 5 Original Android Development] DespairFactor:
Yes sir:) I had to join you!

Okay, go get root yourself. Oh wait...
[Nexus 5 Original Android Development] 31ken31:
What he said ^^^^
[Nexus 5 Original Android Development] ape96:
Thank you, flashed and rooted without a single problem.
[Nexus 5 Original Android Development] Mr.Jay:
Has anyone a flashable zip of the stock m preview kernel?

Sent from my Nexus 5
[Nexus 5 Original Android Development] SketchyStunts:
Noticed some issue with max frequency not sticking. Usually hangs at either 1190MHz or 1497Mhz. I've disabled MPDecision & enabled MSM Hotplug by myfluxi.

---------- Post added at 04:10 PM ---------- Previous post was at 04:09 PM ----------

https://www.dropbox.com/s/3mt6qu96vig3sgm/nexus5-m-stock-kernel.zip?dl=0
[Nexus 5 Original Android Development] Wezi:
Turn your phone on its side, landscape, it'll show properly
[Nexus 5 Original Android Development] 31ken31:
Don't flash 1.6 was only a test and was not working properly.
[Nexus 5 Original Android Development] Apocalypse~:
I have a doubt. If I want to test some other kernel or revert to stock kernel, should in simply flash the kernel, or should I first flash the system.img and then flash the kernel zip? Since this disables SELinux, I'm not sure how to proceed.
[Nexus 5 Original Android Development] hiimimtayaz:
Just flash it in normal recovery style....

Besides always make backup for CTRL+Z. ?.

Try out code blue, dev has released a build for M preview...
[Nexus 5 Original Android Development] DespairFactor:
Please do not promote other work within my thread.
[Nexus 5 Original Android Development] hiimimtayaz:
My bad .... Won't happen again....
[Nexus 5 Original Android Development] haseoxth:
For me I always flash system.img and boot.img before switching to a different kernel, just to avoid unexpected issues.
[Nexus 5 Original Android Development] yanleites:
Hi.

What Kernel Tuner to use with this kernel ?

I got, Franco, ElementalX, Trikster.... All of them gave me MIN CPU - 1267 and "Performance". When I change to MIN - 300 and "ON Demand", I save it, and after I exit program and enter it again, it goes back to 1267+performance....

Any solution ?
[Nexus 5 Original Android Development] ridobe:
Turn off MPDecision?
[Nexus 5 Original Android Development] yanleites:
OK.

Works fine ONLY with ElementalX Kernel manager....
[Nexus 5 Original Android Development] DespairFactor:
use Kernel Adiutor
[Nexus 5 Original Android Development] yanleites:
Ok.

Trying it right now....

Thanks.
[Nexus 5 Original Android Development] DespairFactor:
This kernel also works on Android 5.1.X
[Nexus 5 Original Android Development] Maibol:
hey [MENTION=5169465]DespairFactor[/MENTION] this kernel has the same features as the nexus 6 one ?