yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] nsg86:
understood, but the kernel source might be different for developer edition and official marshmallow. Thus the ask, anyway, thanks for that piece of info. :)
[Nexus 5 Original Android Development] flar2:
There were only a few new commits in the final 6.0 kernel source

ElementalX 6.00 uses the official source
[Nexus 5 Original Android Development] nsg86:
thanks! will flash it later :D
[Nexus 5 Original Android Development] galapagos:
Yeah. Dump LeanRom and use the official image. Then make it lean yourself.
[Nexus 5 Original Android Development] #sharath:
What is "Insecure Kernel" option?
[Nexus 5 Original Android Development] ZacksBuilds:
Is that the cause of root not working?
[Nexus 5 Original Android Development] alvintimothyjr:
I concur...
[Nexus 5 Original Android Development] tmihai20:
Factory image, unaltered and official is the best one to get for Android M. I would not trust a flashable zip. You need the bootloader and the new radio anyway.
[Nexus 5 Original Android Development] matze0611:
Hello,

I'm using Nexus 5 with stock rom android m final release, despair kernel cause of root and chainfire supersu 2.49 beta.

What steps do I have to follow to install this kernel here and does supersu still work with this kernel?

Thank you in advance.

Matthias
[Nexus 5 Original Android Development] zerosum0:
Hi I've just swapped phones and could do with Your permissive zip. Could you, or anyone please point me to it? Thanks
[Nexus 5 Original Android Development] q1t1:
Have you read the OP...?
[Nexus 5 Original Android Development] Koragg618:
Yes, I wasn't able to get root, but once I flashed the factory image, I got root immediately.
[Nexus 5 Original Android Development] UnknownzD:
Actually the permissive design is not good at all, I am considering to move onto this kernel because of the problem that I have experienced from another kernel. Anyway, nice speedy update!
[Nexus 5 Original Android Development] linqdesires:
Hi all, I have stock image factory with ElementalX 6.0 and rooted with SuperSU Beta 2.49.

Root seems to work very well but I get a lot of random reboots though.

Any hint?

I tried to get last_k_msg and I got a Last boot reason: reboot_by_key

thank you
[Nexus 5 Original Android Development] alvintimothyjr:
I would flash the image from Google...

However, you can try this:

Factory reset

Flash rom

Flash kernel

Boot to system.

Setup your Google account ( basically let the ROM run for a bit)

Boot back to recovery and flash su.

Reboot to back to system. You should have #root

Good luck.
[Nexus 5 Original Android Development] zerosum0:
I did read it and reread it. We all miss things when trying to fit this in round work!

Thanks BTW
[Nexus 5 Original Android Development] verunks:
anyone else is having battery charging issues with marshmallow? even with fastcharge enabled it says that I need 6 hours to charge it from 30%, on lollipop it was usually around 1-2 hours
[Nexus 5 Original Android Development] maortrol:
I'm facing something strange...

Yesterday I flashed CWM Recovery by ADB commands from Fastboot (flashing the CWM file as recovery.img), and right then I could enter in CWM recovery perfectly. But today, if I reboot completely my device and go to Recovery (to flash ElementalX kernel and SuperSU), it shows the stock Recovery, not the CWM recovery... It's looks like CWM recovery is overwrited with the stock Recovery when I reboot my device, and I don't know why... :(

I've followed these steps:

- Reboot in Fastboot.

- Flash CWM Recovery (recovery.img) with "fastboot flash recovery recovery.img" command.

- Then I use "fastboot reboot-bootloader" command, and I can enter to CWM Recovery.

- Reboot the device.

- Turn off the device and reboot to Fastboot again, and when I choose Recovery, there is it again: the stock Recovery (and CWM Recovery is gone)...

Does anybody knows what I'm doing wrong? :confused:

Thanks in advance...
[Nexus 5 Original Android Development] flar2:
If you install the factory image, on first boot it sometimes overwrites the recovery

I would also highly recommend you use TWRP recovery
[Nexus 5 Original Android Development] maortrol:
I've flashed CWM Recovery with Fastboot commands several times in Android 6, since I installed the factory image, and it always goes back to stock Recovery after a reboot, so I honestly think it has nothing to do with the first boot after flashing the factory image. It looks like Android 6.0 had a sort of "security system" that detects that the recovery has been modified, and it restores the original stock recovery when the system is rebooted; but I'm not sure, cause I haven't read nobody else with this issue...

I've been using CWM Recovery since long time ago, through several versions of Android, and it never happened to me something like this...

Maybe I will try to flash TWRP (instead of CWM), and I will see if it happens again... Thank you for your advice! ;)
[Nexus 5 Original Android Development] LewisGauss:
There is something in the /system with the file name like blah-blah-go-back-recovery.bak, try flashing your recovery, then boot and delete the file.
[Nexus 5 Original Android Development] magnamentis:
cwm is totally outdated and if you insist to use it don't complain. those who don't recognize and accept the signs of change usually not only get into increasing trouble but as well for no good reason more and more use (abuse) the community. i would say that either you accept that advise to use twrp or at least don't bother anyone with recovery issues in the future. and yes, if it sounds bit harsh it's intentional because advice resistance is a P.I.A. IMO
[Nexus 5 Original Android Development] flar2:
Question:

Do you have write access on /system with Marshmallow?

If not, do you get write access by selecting the insecure kernel option?

Also, has anyone got a "corrupt" warning message on boot?

I don't have my N5 with me, and I'm at work anyways, so I can't check.
[Nexus 5 Original Android Development] MidtownHD:
Using factory image/ElementalX 6/supersu beta

--have write access on /system, no "corrupt" message, where is this "insecure kernel" option?
[Nexus 5 Original Android Development] maortrol:
-1: You didn't need to be so RUDE.

-2: Didn't you read my last phrase?: "I will try to flash TWRP (instead of CWM), and I will see if it happens again... Thank you for your advice!" Do you really think that it's "advice resistance", like you say? I do not COMPLAIN, and I do NOT insist to use CWM, cause I said "I WILL TRY TWRP". Read again, and read well, mate, before telling others that they are bothering you...

-3: I just explained my issue and explained the steps I followed, mostly to know if I missed something, or if anybody else was having the same issue; and I didn't mean to "bother" anyone, included you, with recovery issues; so please, EXCUSE ME, sir... :mad:

-4: [MENTION=4684315]flar2[/MENTION] Thank you very much for your advice, for your help, and I hope I don't "bothered" you too... ;)
[Nexus 5 Original Android Development] flar2:
It's in the installer. Someone asked me to add the insecure boot option a couple weeks ago. I'm not entirely sure how it works on Marshmallow yet.

On my other devices, users were complaining that they didn't have rw access on /system and others have a warning upon boot. I think the warning is dm_verity.

Anyway, Marshamllow is less than a day old, so lots of things to look into. Hopefully Chainfire is looking at the root situation so we don't have to set selinux permissive.
[Nexus 5 Original Android Development] Mikulec:
I dont know about that since he "sold" the app to some other company.

EDIT: https://plus.google.com/+Chainfire/posts/XJYJFPtS9Qb
[Nexus 5 Original Android Development] india86:
But he also said this "I've announced that I'll be gone from this project in at most two-ish years, not that I've left it." :) so hope for the best
[Nexus 5 Original Android Development] flar2:
I know that, but he's still working on it, or at least advising the new owners, and proper root on Marshmallow is their first order of business right now.
[Nexus 5 Original Android Development] treehugger38294:
Either a bad charger or bad battery.
[Nexus 5 Original Android Development] MrKaon:
I've just edited build.prop no problem.
[Nexus 5 Original Android Development] #sharath:
What does this option do?
[Nexus 5 Original Android Development] flar2:
Not sure on Marshmallow or Lollipop. It used to allow adb shell to login as root, but hasn't since Lollipop.
[Nexus 5 Original Android Development] MrKaon:
Are we not supposed to have 0 MHz for Doze time?
[Nexus 5 Original Android Development] flar2:
No, it's the same old deep sleep. Enable the deep sleep stats on that screen by clicking on the three dots at upper right and selecting "Show deep sleep"

Doze mode is purely at the system level, it simply tells apps not to do a lot of background tasks while the phone is idle for long periods.

Personally, I don't find it makes much difference. Sometimes my idle drain is marginally better on M, nothing dramatic. But I don't use a lot of apps with huge background activity (facebook type apps) in the first place.
[Nexus 5 Original Android Development] UnknownzD:
For people who has entered into a boot loop / boot problem with the kernel, after dirty-flashing the system.img from the factory image, you may want to flash the stock 6.0 kernel (boot.img) for once before flashing this kernel.

This is because the flashable zip file of this kernel will retrieve the files from the existing boot.img on your device, and if you have never obtained the updated files (init.rc and etc) from the stock 6.0 kernel image, your phone may not have a proper init.rc for setting up all the parameters neccessary for the new /mnt/runtime design (which is a new runtime permission design for accessing the filesystem).

Flar2, I have no offense though, but may be you can let others know about this by updating the OP post. I have reported the same issue to another kernel developer before, but just got offensive comment back at the end. So its up to you whether you want to tell others about this or not.
[Nexus 5 Original Android Development] flar2:
Thanks, it should be common knowledge by now that you always flash this over the stock kernel.
[Nexus 5 Original Android Development] kojak1989:
im on stock android 6.0 and i have HC kernel, I must flash boot.img first and then Elemental ?
[Nexus 5 Original Android Development] RusherDude:
ALWAYS flash the stock kernel between custom ones, you even have the OP talking about it on the post ABOVE yours..
[Nexus 5 Original Android Development] flar2:
From Hell's Core and Blu Spark, you need to flash system and boot. Otherwise ElementalX won't work correctly.

I get tons of users having a bad experience on ElementalX because they've flashed other kernels that disable mpdecision and touchboost in the system. Whenever you see people complain of lag on ElementalX, it's because of this. You have to be careful with some custom ROMs as well (I don't follow them, so I don't know which ones change what).

Smoothest and most problem free experience on this phone is Stock or Cataclysm + ElementalX
[Nexus 5 Original Android Development] MrKaon:
[MENTION=4684315]flar2[/MENTION] new SuperSU Beta can root the phone with SELinux Enforce mode.

http://xdaforums.com/showthread.php?p=63168377
[Nexus 5 Original Android Development] flar2:
Awesome. I knew Chainfire would come through for us
[Nexus 5 Original Android Development] RusherDude:
1 ****ing day.. and we have ElementalX and root updated for enforcing mode root on 6.0. This is sick.

Thank you a lot! [MENTION=4684315]flar2[/MENTION] [MENTION=631273]Chainfire[/MENTION]

Edit: Both sings per separate, but ElementalX 6.0 still forces permissive mode? flar2 can u remove that for us to use SuperSU 2.50?
[Nexus 5 Original Android Development] Balino:
I'll wait for an elementalx kernel version with selinux enforcing then... before updating to supersu 2.50
[Nexus 5 Original Android Development] bodi524:
I tried the latest Elemental-X with SuperSU beta 2.50 and I am still having issues giving the EX Control app root. Is there anything I am missing?
[Nexus 5 Original Android Development] MrKaon:
Clean flash?

No problem in mine:
[Nexus 5 Original Android Development] bodi524:
Yes. Clean flash. It asks and I grant root permission.. But then it says the app can't obtain root.

I can get root to work fine on es file explorer...but not EX Kernel Manager.

It doesn't work on Adaway either. :(
[Nexus 5 Original Android Development] Ieatnoobs:
Do you have root at all? or are you having root issues with the EX app not getting root?

Since you said you did a clean flash, did you use the factory image > install custom recovery > flash EX kernal > supersu... in this order?
[Nexus 5 Original Android Development] galakanokis:
If I read Chainfire's post correctly you have to flash his modified boot.img along with 2.50. Sounds like Flar would have to add the modified portions, sepolicy, to his side. Just guessing though.
[Nexus 5 Original Android Development] flar2:
A few people have run into these types of problems. Something is not clean in your installation.

For the move to marshmallow, you need to do a clean install, that means wipe data.

If you did that, it might mean reinstalling SuperSU app, or wiping its data, or clearing cache and Dalvik cache.

Something like that.
[Nexus 5 Original Android Development] truthlesshero:
I have a quick question about this. I installed a stock marshmallow rom yesterday with the HC kernel in order to get superSU 2.49. Everything's fine but everyone's pointing me towards this kernel. I saw this warning in the OP.. does this mean I have to re-flash the same rom then the kernel if i want try Elemental X?

And if so, I'm assuming just re-flashing the rom without system wipes (just dalvik, etc.), all my settings and apps stay the same and there's no difference? Thanks!
[Nexus 5 Original Android Development] flar2:
Yes, reflash the ROM without wiping (dirty flash). All your apps and settings will remain.
[Nexus 5 Original Android Development] flar2:
I'm going to hold off on an official update tonight.

Chainfire's root solution will change again soon, as it's a work in progress.

Let's wait and see if there are improvements in the next day or two.
[Nexus 5 Original Android Development] xeraphael:
Just asking in advance - EX 6.0 currently works well with stable versions of SuperSU. Will whatever updates you have in mind for EX require flashing SuperSU beta instead of stable?
[Nexus 5 Original Android Development] tavocabe:
How to activate double tap to sleep in lockscreen? I used to have this in Cataclysm Lollipop with ElementalX for a long time, but can't rememeber if there is a setting for that?

EDIT: now using stock 6.0 rooted with elemental 6.00
[Nexus 5 Original Android Development] alvintimothyjr:
Is there a solution for overheating? I'm running 6.0(Google version) on 6.0 and my device starts to over heat. I'm running the stock settings in kernel manager. It's issue prevalent (mostly) when games are played.

Thanks
[Nexus 5 Original Android Development] alexxandro84:
which recovery I have to flash to get this kernel?

TWRP cause bootloop
[Nexus 5 Original Android Development] jbowwow02:
Are you running the latest version of twrp because it should work.
[Nexus 5 Original Android Development] alexxandro84:
i installed last version with Nexus Root Toolkit but i have bootloop

How can i install it?
[Nexus 5 Original Android Development] ciano865:
SuperSU 2.50 beta available

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] bisco:
hi guys! just a little question, how is your battery life with MM 6.0 and elementalx 6.0?

i somehow experience more drain on MM than on Lollipop, same apps and of course elementalx kernel! :)
[Nexus 5 Original Android Development] matze0611:
Hi,

thank you for your answer, but isn't there an easier way? It took me 4 hours to fix my apps the way I want them to be (didn't use Titanium Backup cause of errors in some apps).

Could I unroot the phone, install boot.img from factory image, boot the phone once, go into recovery, flash this kernel here, reboot again and then flash su?

As I said, I already have stock rom from google on my phone, I only changed the kernel.
[Nexus 5 Original Android Development] xeraphael:
Reboot to bootloader mode.

fastboot erase boot

fastboot format system

fastboot reboot-bootloader

Flash stock M boot.img and system.img (you can extract these two .img files from the downloaded factory image).

Assuming that all you've done is flash another kernel and everything else is still stock, this will revert you to stock M. From this point onwards, you can flash EX and root as usual.
[Nexus 5 Original Android Development] Kpoch:
Im asking the same same setup as Lollipop but now on 6 is overheating
[Nexus 5 Original Android Development] flar2:
Are you sure it's not just because it had to rebuild ART and install all your apps? Reboot and give it a chance.

Another possibility is broken apps. There are tons of apps that will break on Marshmallow, many of them will break silently due to the new permissions model.

Mine is running absolutely great.
[Nexus 5 Original Android Development] bodi524:
I finally got mine working and EX kernel is running great.
[Nexus 5 Original Android Development] flar2:
My battery life is the same so far. It's too soon to make judgements though. When you make a new install, a lot of stuff goes on in the background, like installing all your apps, configuring, etc. This will obviously use much more battery than usual.
[Nexus 5 Original Android Development] Kpoch:
This behaviour is since yesterday 24 hours ago and still have the same problem im using just.

Whatsapp

es file explorer

castle clash

poweramp

gogle chrome

QuickPic

thats all i not use Fcebook ap or messenger or another kind of social app.

after several reboots and 3 full charges still the same problem.

Elemental Kernel Setup

All cores 1.4ghz

thermal cooler

disabled 2tap thing

extra options everything as default.
[Nexus 5 Original Android Development] bisco:
Yeah sure, today is my second day of marshmellow and drain has decreased from 5% an hour to 3% an hour, still not like the 2% I used to get on lollipop but it might improve another little bit by itself :)
[Nexus 5 Original Android Development] alexxandro84:
can you tell me the steps to get root and this kernel?
[Nexus 5 Original Android Development] ScottBobby:
Do I need to sideload this kernel? Or can I just DL the zip and flash from TWRP?

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

Sorry for the double post, I flashed EX kernel and all is well. Still don't have root though so I'll wait for whatever solution is created. Thanks!
[Nexus 5 Original Android Development] MatVekk:
Flash kernl 6 and superSu 2.49 in stock Marshmallow and alla works fine

Inviato dal mio Nexus 5 Marshmallow
[Nexus 5 Original Android Development] vermaekansh:
Can you share the 2.49 link, i am only able to find the Beta 2.50 one.

thanks.
[Nexus 5 Original Android Development] MatVekk:
It is present in Nexus Root Tool Kit

Inviato dal mio Nexus 7 FLO Marshmallow
[Nexus 5 Original Android Development] vermaekansh:
got it thanks.

Also by any change have you tried flashing Kernel 6 with Su 2.50, just checking if 2.50 is also safer to flash or just 2.49.
[Nexus 5 Original Android Development] magnamentis:
i did a totally normal clean install:

flashed rom after wiping system, dalvic, cache and data manually

then superSu 2.4,9

then kernel 6.00

then again superSu 2.49 ( i think the first is not necessary but wanted to be safe and i knew it won't do any harm

all running well from first attempt in philz recovery ( i cannot use twrp since my touch driver in recovery is broken from day 2 in november 2013)

EDIT: depending on how you flash you should not forget the new bootloader and the radios while it will work with the old modem but not with the old bootloader
[Nexus 5 Original Android Development] ScottBobby:
I'll just wait for an easier way to root like I did on Android L.
[Nexus 5 Original Android Development] MrKaon:
It is very simple, flash ElementalX kernel zip then latest Beta SuperSU zip.

Done
[Nexus 5 Original Android Development] ScottBobby:
Word? Can you link me to the SuperSu beta zip? I already have EX kernel running fine.
[Nexus 5 Original Android Development] mpgrimes:
I'm getting 1% drain per hour using this kernel. Try removing each app one at a time to see which is causing it. Also check your signal level. Less green in battery stats means it's having to use more power to keep cell signal
[Nexus 5 Original Android Development] MrKaon:
http://xdaforums.com/showthread.php?t=2868133
[Nexus 5 Original Android Development] Midomad:
[MENTION=4684315]flar2[/MENTION]

New boot image from chainfire

http://xdaforums.com/showthread.php?p=63185067
[Nexus 5 Original Android Development] star_throne:
Hmm.. Haven't had any problems with xtrasmooth, this kernel and supersu 2.49. Is this fix for the "device corrupted" and other safety things? Do those problems even exist on Nexus 5?
[Nexus 5 Original Android Development] flar2:
"Device corrupted" and system writes are not a problem on this device.

However, selinux has to be permissive for SuperSU 2.49.

We will need Chainfire's modified sepolicy and SuperSU 2.50 to run with selinux enforcing.
[Nexus 5 Original Android Development] star_throne:
Oh ok. I have been running permissive always, are there any drawbacks other than security?
[Nexus 5 Original Android Development] flar2:
no
[Nexus 5 Original Android Development] magnamentis:
it is as easy as ever, albeit not identical in procedure which means that you probably don't like changes? if so you're doomed, no more root for you because things are changing year after year LOL. i simply flashed 6.0 + kernel + superSU 2.49 and all was working like a charm. for the 3rd day now.
[Nexus 5 Original Android Development] ScottBobby:
Yea your right and I just got the link to the working SuperSu file so I'm good and rooted now ;)
[Nexus 5 Original Android Development] silvertrain78:
Mine has been terrible.. Stock kernel or EX 6.0. Awake constantly, draining badly even in Safe Mode
[Nexus 5 Original Android Development] MrKaon:
My battery life substantially improved can't believe Nexus 5 is two users old now and rocking just like old KK days.
[Nexus 5 Original Android Development] magnamentis:
yep, now i like it, we need brave people else we gonna end up like iphone users haha... btw this comes from a 30+ years mac user but one of those phablets with small displays was enough back in 2009 LOL. good luck for you.
[Nexus 5 Original Android Development] ScottBobby:
Haha your so right about that. Cheers mate!
[Nexus 5 Original Android Development] Brushstroke:
[MENTION=4684315]flar2[/MENTION] does EX 6.0 keep SELinux in Enforcing mode or does it still switch it to Permissive?
[Nexus 5 Original Android Development] powerkid39:
Does sweep2sleep work on stock marshmallow?

currently running stock M from dekefake, flashed EX 6.0 with the sweep2sleep left or right. It even says enabled on kernel adiutor..

will try reflashing stock and EX after work, hope it's just me. (daily life of broken power button)
[Nexus 5 Original Android Development] flar2:
6.0 is still permissive. 6.1 will be enforcing by default.

Yes, it still works. I can't live without it.
[Nexus 5 Original Android Development] akenis:
What are the implications of the various root methods, and permissive mode on the functionality of Android Pay?

I'm actually considering not rooting this time (or maybe rooting, restore apps and data, and then flash back to stock).

FYI...Marshmallow is supposed to actually backup data going forward. I read that there should be a folder created on Google drive with apps data. And restoring with the wizard will actually be useful.
[Nexus 5 Original Android Development] flar2:
AFAIK, you can't use Android Pay if you're rooted or have modified the system in any way.