yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] androcraze:
You have to install the correct boot.img version for your exact ROM. The boot.img that CF posted is for MRA58K. You might be using a ROM with MRA58N or MMB29K (the latest 6.0.1).

Folks are posting links to the various Marshmallow versions in that thread.
[Nexus 5 Original Android Development] :
Which thread are you referring to?

Since I was running 6.01 system and 6.0 boot.img with EX it sounds like I need to get a modified boot.img for 6.01? I have been digging but not finding anything
[Nexus 5 Original Android Development] androcraze:
In CF's Beta thread.

6.0.1 is new. I doubt anyone has posted one yet there, although there may eventually be something in the N5 General or Troubleshooting forums.

This new "systemless" isn't so clean-cut as everyone thinks it is: along with the SuperSU app, you need a matching boot.img for each AOSP/Google revision, even minor ones.

CF also has instructions for building your own, but probably like you, I'll gladly wait for someone to post it.
[Nexus 5 Original Android Development] creeve4:
Beginning with SuperSU 2.60, you no longer need a modified boot.img. Read the SuperSU WIP thread:

http://xdaforums.com/showthread.php?t=3219344
[Nexus 5 Original Android Development] :
2.60 is systemless, not everyone is using systemless yet :) I believe 2.52 is the latest "regular" supersu
[Nexus 5 Original Android Development] flar2:
Update!!!

Update for Android 6.0.1

For stock ROM:

If you want root, you must use SuperSU 2.61 found here:

http://xdaforums.com/showpost.php?p=64161125&postcount=3

Flash SuperSU 2.61 in recovery, then flash ElementalX in recovery

You only need to install SuperSU the first time. Once you are successfully rooted, you can install any future update of ElementalX without reflashing SuperSU again.

If you install other kernels after this, you must flash stock boot.img, then SuperSU 2.61, and then ElementalX.

For pre-rooted custom ROM:

Just flash ElementalX

Download

ElementalX-N5-6.07

Changes:

-update for Android 6.0.1
[Nexus 5 Original Android Development] acdbx:
flashed SuperSU 2.61 then EX 6.07 with enforcing unchecked and getting endless bootloops.
[Nexus 5 Original Android Development] lynnux:
Flashed 6.0.1 factory image, then SuperSu 2.61, booted system, then found this update and flashed it, enforcing unchecked, and everything's working fine.
[Nexus 5 Original Android Development] androcraze:
I'm required to have root now in order to install this kernel on 6.0.1?
[Nexus 5 Original Android Development] flar2:
You did something wrong
[Nexus 5 Original Android Development] flar2:
You could install with out root if you want
[Nexus 5 Original Android Development] yuannovesa:
i was on chroma 6.0.1 and supersu 2.52..

can i flash this kernel without change supersu??
[Nexus 5 Original Android Development] flar2:
Yes, just flash it like normal.
[Nexus 5 Original Android Development] Atok_fr:
I always used the supersu contained in the TWRP package and it worked well on 6.0. I see people recommanding the latest beta of supersu for Marshmallow but I have never understood why : what kind of bugs / risks can we have with other versions ? And why flash stock kernel and re-root it for installing EX over another kernel ? Just for curiosity :)
[Nexus 5 Original Android Development] matthian:
Ended up with bootloop as well after flashing new system followed by new SU and EX.

Reflashing latest SU fixed the bootloop.

Maybe that helps.
[Nexus 5 Original Android Development] Wolfen38:
Hi, since the 60.1 I have 4000% of battery...... and 32 days !

I put 6.07 elementalX but always the same problem...

A idea ? I'm afraid the battery monitor doesn't function.... because since 7.00 I have always all my battery
[Nexus 5 Original Android Development] maortrol:
I'd like to report something:

With root working and ElementalX 6.06 installed, I saw this morning new update to EX 6.07. I flashed EX 6.07 and then flashed again SuperSU 2.61. Rebooted, and I found that I still was on EX 6.06, no update was made to the kernel.

I tried to repeat the process again: went to recovery, flashed EX 6.07 and then flashed SuperSU 2.61, rebooted, and I was again in EX 6.06... :eek:

Then, I read on OP that once rooted, there was no need to flash SuperSU again; so this time I flashed just EX 6.07 and rebooted, and now I'm right with EX 6.07, update is ok.

It seems flashing SuperSU reverts the kernel update somehow, but I don't know why... Does anybody know? :confused:
[Nexus 5 Original Android Development] Koragg618:
You were supposed to flash SuperSU first, then the kernel.

As to why it was reverting, I have no idea :p
[Nexus 5 Original Android Development] flar2:
Flash 6.0.1 stock boot.img, then SuperSU 2.61, then elementalx

You have remnants of the 6.0 kernel
[Nexus 5 Original Android Development] flar2:
Because EX uses your existing kernel's ramdisk. If you install something else, you will have the incorrect ramdisk and ex will not work properly
[Nexus 5 Original Android Development] DroidIt!:
Don't know why I never really thought of this :angel: but if I use a ROM with a really customized kernel, off a clean flash should I be doing ROM ---> stock boot.img ---> Ex just to be kosher?
[Nexus 5 Original Android Development] flar2:
No, you should always use the kernel that came with the ROM. Unfortunately, that means EX may not work optimally on all ROMs. Flashing stock boot might help, but could screw something up with the custom ROM.
[Nexus 5 Original Android Development] xmaciek82x:
Does anyone else use Viper4Android with this kernel? I get static/buzzing when screen is off while I listen to spotify. It happens when I use the ElementalX governor and screen is off. I'm assuming it is because of the reduced power while screen is off. If I switch to Ondemand, everything is fine... Besides switching governors/kernels, does anyone know any other way to fix this?

I disabled Max screen off frequency and it helps but some of the static is still there.
[Nexus 5 Original Android Development] zerosum0:
This records both sides of the conversation with all EX builds on Marshmallow
[Nexus 5 Original Android Development] Marsou77:
Is 6.06 working under 6.0.1 ?
[Nexus 5 Original Android Development] caifaz:
quick question

Will 6.07 work on 6.0 and supersu 2.61?

thanks!
[Nexus 5 Original Android Development] nunoleite46:
Running cata 6.0.1 + superSu 2.61 + ex 6.07.

Everything ok. Thank you
[Nexus 5 Original Android Development] flar2:
6.06 for 6.0

6.07 for 6.0.1
[Nexus 5 Original Android Development] Lownita:
[KERNEL] [Dec 7] ElementalX-N5-6.07 (Android 6.0.1)

With latest cataclysm rom and elementalx 6.07, does it make a difference if I flash elementalx before supersu 2.61 or after?
[Nexus 5 Original Android Development] GianniDPC:
Can I disable the systemless modus? I want SuperSU in system
[Nexus 5 Original Android Development] flar2:
It shouldn't matter, but I recommend flashing SuperSU first.

You can, but it will be up to you to ensure you have the properly patched sepolicy in your ramdisk. Also, Chainfire is going with system-less root from now on. The older method is impractical and will not be updated.
[Nexus 5 Original Android Development] GianniDPC:
Will the option to disable root come back in SuperSU in future releases? I use it sometimes to hide root when using an application
[Nexus 5 Original Android Development] Natakranta:
Running Cata 6.0.1 + EX 6.07 + SuperSU 2.52

In this order of flashing as secondary ROM in MultiROM on wife's N5.

First I was trying to flash SuperSU 2.61 after EX 6.07 (express, i think previously on Cata 6.0.0 set to enforcing, i don't remember, I'm not using it) but it errored.

Then I tried flashing over it with SuperSU 2.52 and it all works, it booted, root present and working.

I'm only guessing that SuperSU 2.61 is necessary if you flash it before EX 6.07, straight after ROM. When EX 6.07 was flashed after ROM, and SuperSU later on, 2.61 was looping on flash or showed flash failed error. No problem using older 2.52.

Thanks [MENTION=4684315]flar2[/MENTION], you are Star!

EX Manager app is bought twice on both my wife's and mine accounts, the old version expelled from Play Store and the new version ;)

Keep it rolling!

And that 6.0.1 Cata with EX 6.07 is fast. F1 fast. I wish N5 was mine but wife doesn't want to exchange for my OnePlus One, too big.

That's what she said :D

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[Nexus 5 Original Android Development] techinv:
Can anyone give a location of zip file for SuperSU 2.61?
[Nexus 5 Original Android Development] iamelton:
http://xdaforums.com/showpost.php?p=64161125&postcount=3
[Nexus 5 Original Android Development] Wolfen38:
It doesn't work, my nexus doesn't start......

Helpppppppp

---------- Post added at 10:05 AM ---------- Previous post was at 09:16 AM ----------

I don't understand why, but after flash again system it is ok....
[Nexus 5 Original Android Development] capt_f0r3st:
Hi, i have a question, just to make it clear for me....now I am on stock 6.0.1 rom with cataclysm mod with different kernel. So If I want to flash ex kernel, I just need to flash stock boot.img and then ex kernel, right? Or should I flash stock system.img and also boot.img and after that ex kernel. Thank you
[Nexus 5 Original Android Development] gordonpn:
You flash stock boot.img, Cataclysm, SuperSU, ElementalX.
[Nexus 5 Original Android Development] blowtorch:
sound great :laugh:
[Nexus 5 Original Android Development] tommy.mann:
Not fully true. Aroma is unstable. Sometimes its not able to finish the operation (its freezes on last page and all the finish button isnt working)

The problem is, I dont know better alternative to aroma

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] NovaSlim:
What about giving the user two choices: " default" or "custom settings" when they enter aroma.
[Nexus 5 Original Android Development] Nucleotide:
I tried Elemental out a while ago - back on v0.9 I think. Been using Franco ever since. I just flashed the stock boot.img and then flashed ElementalX with mostly defaults - no s2w or dt2w, etc.

So far everything is running extremely well. The phone actually feels a little faster and snappier on Elemental then Franco.

Thanks a lot for your brilliant work [MENTION=4684315]flar2[/MENTION] :)
[Nexus 5 Original Android Development] drawde40599:
I don't think u wanna make an app that's y u have installer but maybe consider a donation app for your work , I no a lot of us would use it . :D. But really liking your kernel , I don't get impressed very easy with the amount of phones i have and have had but I'm freaking impressed with this kernel , no complaints ! .

its 10:30 here in alaska time to put phone away and get .......uped happy new year :D
[Nexus 5 Original Android Development] letmedanz:
Happy new year [MENTION=4684315]flar2[/MENTION]

and wishes to all fellow elemental users!

0.21 is working so awesome.. it's making me love my phone more :P

First time since memory serves me that my phone actually lasted all night long on new year's eve

This is with quite a bit of gaming, full time on 3G, calls/sms/internet plus online radio

And did i mention i have dt2w enabled too?? :D
[Nexus 5 Original Android Development] tommy.mann:
Flashed 0.21 yesterday evening. Max frequency 1,5GHz by 700mV. My daughter just watched video with max screen light for almost one hour and still have 84% battery. Great work flar. Btw: happy new year to you and your family.

Update:

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] Konsumhaus:
After two times oft getting not able to Mount SD card in recovery and flashing the Boot.IMG i'm using franco now with Purity Rom. It' good...but I think ElementalX is better with my phone.

What is the best way to come back to ElementalX now?

Must I flash the boot.IMG again? I don't want to loose again all data.

Vor can I just flash this kernel over the Franco?

btw.: Yes. I looked in OP. But Ihm not sure, If reflashing the Rom and than ElementalX is the right way with Franco.

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] jlevy73:
Just like you said at the very bottom of your post, dirty flash your existing Rom the flash EX. That's how I do it and it works fine.
[Nexus 5 Original Android Development] Nucleotide:
I came from Franco earlier today. I simply flashed the stock boot.img, rebooted, and then flashed elementalx via recovery.

Everything is working perfectly fine for me.

If you experience issues doing it this way you may need to reflash the ROM first.
[Nexus 5 Original Android Development] nealkoy:
This is not the clean way to install elementalX coming from franco. First you must revert back to the original filesnames of thermal-hh-bak and power-msm8974.so.bak by simple removing ".bak" and "-bak" before flashing stock kernel. Afterwards flash elemental x kernel.

The said files can be found in /system/lib/hw and /system/bin

No need to reflash ROM.
[Nexus 5 Original Android Development] drdoulittle:
You do not need the stock kernel before.

You just have under etc / init.d everything clean with Rootexplorer your Kernel Files.

Then into recovery and wipe cache and Dalvic cache and then flash the elemental X.

Then again wipe cache and dalvic cache and reboot system.

Never had problems when neither Franco nor the ElementalX Kernel.
[Nexus 5 Original Android Development] Alfonso87:
[MENTION=4684315]flar2[/MENTION] i See minimum freq At 1267, It is as intended? Should i move It to 300? Thanks

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] :
Its as intended the app reads the touch boost frequency, but it scales down to 300 if you don't touch the screen
[Nexus 5 Original Android Development] Flypwnz:
Simply amazing kernel. I have the same smoothness as stock kernel with about double battery life :) Thanks.
[Nexus 5 Original Android Development] xmlnoob:
0.21 is awesome! But why revert dt2w back to fullscreen? any config file to edit so i can go back to only lower half of the screen for dt2w??

---------- Post added at 12:12 AM ---------- Previous post was at 12:11 AM ----------

2nd that here. working great!
[Nexus 5 Original Android Development] letmedanz:
Second the half screen dt2h
[Nexus 5 Original Android Development] suneet mehta:
Using three different ROMs and all on elementalx 0.21. Having the best performance and battery life in all three ROMs. I have a question. If I overclock the cpu to max frequency, the ROM will become unstable and loose more battery, isnt that right?!

Check out my custom backplates for the spigen ultra hybrid case for the N5 here :- https://mega.co.nz/#F!xd8lGYSS!J9vcXf3IWOqlcng1zE4bpA .
[Nexus 5 Original Android Development] tlf55:
Is that normal that my GPU Freq stay at 200 mhz ?? Gov Ondemand with the aroma installer ..
[Nexus 5 Original Android Development] flar2:
Coming from franco, the best/easiest thing to do is dirty flash your ROM.

But I think my installer will revert his system changes. You still need to replace the franco ramdisk. Choosing stock ramdisk option will do that for ROMs that use stock/stockish kernel. If you're not sure, dirty flash.

I don't recommend overclocking. It's already so fast you won't notice a performance improvement and you'll likely run into heat issues and it will probably make your battery life worse. There is also the risk of instability whenever you overclock (or undervolt)
[Nexus 5 Original Android Development] dechronic:
Did you flash the radio, boatloader, boot.img, system and let it boot at least once? Then reboot to the bootloader flash TWRP, then boot recovery, flash SuperSU 2.61 and then EX. Let it boot.

You should be good then.
[Nexus 5 Original Android Development] edrickmph:
I am having severe lags and app freeze on cataclysm 6.0.1 and elementalx 6.0.7,

Any solution on this?
[Nexus 5 Original Android Development] grep_i:
You only have to flash boot.img when in fastboot mode and after that choose recovery mode in fastboot.

You can then install ElementalX zip image

---------- Post added at 01:47 PM ---------- Previous post was at 01:41 PM ----------

Faith made me update as phone did not work anymore.

Had a lot of problems with updating to Android 6.0.1 and staying with root and xposed. Finally I'm there after a long morning everything seems to work fine now.

ElementalX-N5-6.07, Supersu 2.61, Android 6.0.1 MMB29K
[Nexus 5 Original Android Development] flar2:
Is cataclysm pre-rooted on 6.0.1?

If so, just dirty flash cataclysm, then install EX.

If not rooted and you want root, dirty flash cataclysm, flash SuperSU 2.61, then flash EX.

Flashing stock boot.img is only if you installed a different kernel on stock ROM.

Full wipe and clean install.
[Nexus 5 Original Android Development] gordonpn:
Nope, Cataclysm isn't pre-rooted anymore since 6.0.1.

I thought stock boot.img was needed since he said he was on a different kernel with stock ROM with Cataclysm mod only.
[Nexus 5 Original Android Development] flar2:
You mean the setting can't be changed with an app?
[Nexus 5 Original Android Development] onesolo:
wrong post
[Nexus 5 Original Android Development] flar2:
NTFS and exFAT drivers are built into the kernel, but you need an app like StickMount to mount them.
[Nexus 5 Original Android Development] WettbackMartyr:
I apologise for my poor explanation. The setting can be changed with an app, your app more specifically, however when plugged into my usb port on my laptop the phone now displays "charging slowly" at the bottom of the lockacreen as opposed to where is used to simply say"charging" prior to 6.0.1. Am I correct in my understanding that this indicates that fastcharge is not working? If not I apologise and am very happy with the kernel regardless. Cheers!
[Nexus 5 Original Android Development] flar2:
Not sure, I will test later. It should work as normal, there is probably something hard coded in the system to say charging slowly when there is a USB connection.
[Nexus 5 Original Android Development] WettbackMartyr:
OK I thought that was a possibility also which is why I kept my original post so brief. Thank you anyways
[Nexus 5 Original Android Development] grep_i:
I see the same with my device
[Nexus 5 Original Android Development] flar2:
Yeah, but that doesn't mean it doesn't work. I'm 99% sure it does.

Fastcharge is not supposed to be there, so the Android system doesn't accommodate it with the lockscreen message. It expects a USB connection to charge slowly.
[Nexus 5 Original Android Development] androcraze:
I'm seeing the "Charging slowly" with the "stock" AOSP kernel and usb. It wasn't there before with the same usb cable plugged into my computer.

Plugging it into an AC transformer charger gives a solid "Charging"
[Nexus 5 Original Android Development] flar2:
I think that message is based on the connection type and not how fast it's actually charging.
[Nexus 5 Original Android Development] androcraze:
Agreed. It's doing it with the AOSP "stock" kernel, as well as your kernel; it's not kernel-related. It is a change from AOSP 6.0.0.

Either way, I'm not worried about it.

BTW.... Congratulations! You're my 1000th post! You're a worthy recipient, so I'm pleased.
[Nexus 5 Original Android Development] Bogeyman13:
I see the same when charging. I checked with Ampere and is showing just 750 mA instead of arround 1000 mA.
[Nexus 5 Original Android Development] till22:
What port are you using? USB 2.0 ports aren't designed to give more than 500 mA:

https://en.wikipedia.org/wiki/USB#Power
[Nexus 5 Original Android Development] flar2:
That means fastcharge is working. It would be limited to 500 normally.
[Nexus 5 Original Android Development] Bogeyman13:
Before I was using Franco and fast charging was working ok. I now tried charging in my car and it is also charging very slow.

I will try once again with Franco.
[Nexus 5 Original Android Development] flar2:
My fastcharge is limited to 900 and uses a USB connection type so it doesn't mess up data transfers. There are other implementations that have different current limits and some change the connection type to AC. I don't know what franco is using.
[Nexus 5 Original Android Development] xeraphael:
[MENTION=4684315]flar2[/MENTION],

Could you link me to the old permissive zip you used to provide, if it still exists? Your kernel doesn't need it now that it has an aroma installer option, but I'm guessing that it's still useful for other kernels that set enforcing by default.
[Nexus 5 Original Android Development] flar2:
https://www.androidfilehost.com/user/?w=settings-dev-files&flid=31752
[Nexus 5 Original Android Development] xeraphael:
That link brings me to an AFH login page.
[Nexus 5 Original Android Development] flar2:
https://www.androidfilehost.com/?fid=23991606952602503
[Nexus 5 Original Android Development] Paget96:
I just started with update for L Speed mod, and take a look inside a kernel. There is a lot of differences such a some kernel parameter which are missing inside new version for 6.0.1 android. :) [MENTION=4684315]flar2[/MENTION]

Things like shmmni, shmmax, shmall, msgmnb, msgmni, msgmax, sem.

Can you say me is it now hard coded in the source?

If yes, can you provide me a source link.

Thank you
[Nexus 5 Original Android Development] flar2:
Not sure, are these memory settings? Is selinux preventing access?
[Nexus 5 Original Android Development] grep_i:
As far as I know it are kernel parameters for shared memory and Oracle need this specifically to improve database performance. Don't know why it is needed for operating phones with Android OS
[Nexus 5 Original Android Development] Paget96:
Yes, memory settings

/proc/sys/kernel/shm* and sem

/proc/sys/vm/msg*
[Nexus 5 Original Android Development] edrickmph:
I have already full wipe and clean install everything. But still the extreme lag and freeze still persists. I suspect this is with the apps i have installed. I uninstalled pushbullet, and the lag has lessen. I think there are still other apps which causes the lag.

How can determine which app to uninstall? Any help on this.
[Nexus 5 Original Android Development] Atok_fr:
Maybe you can try wakelock detector and use a CPU monitor to track the CPU consumption of each app.
[Nexus 5 Original Android Development] edrickmph:
I have tried wakelock detector but it doesn't work when try to install as a system app "failed to initialize, try again later". What app can you suggest for cpu monitor?
[Nexus 5 Original Android Development] Atok_fr:
That's strange. Sometimes a factory image is the magic solution. I don't check my CPU usage...
[Nexus 5 Original Android Development] jatinkhatri:
Not a too big but littel issue

[MENTION=4684315]flar2[/MENTION],

little issue in Advanced options in 6.06 ..it displays only MHz not numerical values of Max GPU frequency ( see the attachment )
[Nexus 5 Original Android Development] grep_i:
You can try and flash stock image or wait for an update of cataclysm.

I am on stock for more than a year now and will never fiddle with those custom roms anymore too much hassle.

Stock is good enough for me don't see the benefit of using custom roms over good old stock.

In my personal opinion stock Nexus is better than all those custom roms.

For other devices custom roms can make sense to give them new software and sometimes even new options.

Nexus devices are surely the first to get new updated Android OS so why even bother with custom roms.
[Nexus 5 Original Android Development] edrickmph:
I think the problem is not with cataclysm or elementalx kernel, its with the app. In my own preference, i am into custom rom especially catacylsm, because i can modify things I want. I am also in stock roms for years but got bored already. Just our own preference.
[Nexus 5 Original Android Development] grep_i:
Maybe a stupid question

Did you try to boot the phone in safe mode and see if the problem persists

If you are using Xposed did you already disabled all modules and see if there is any improvement.