[Nexus 5 Android Development] stephanmc:
​

Well, I decided to make a working flashable ZIP of Android 6.0 Marshmallow for our lovely Nexus 5 ! It's working pretty well on TWRP, and allows to be rooted !

[About this build]

- Contains all stock (kernel, system, ... )

- Requires bootloader minimum HHZ12h, and Radio M8974A-2.0.50.2.26 (if you come from Lollipop, it's just fine)

- Google released new bootloaders and radio, but the above one works fine too.

[Note before installation]

- I suggest you to backup your app data with Titanium Backup if you want to restore your apps later

- It is not needed to backup your full internal storage. With this installation process, you will not lose anything

[Downloads]

* Marshmallow 6.0.1 (MMB29K)

Older releases:

- Marshmallow 6.0.0 (Build MRA58N) - Released on November 02

- Marshmallow 6.0.0 (Build MRA58K) - Released on October 06

- M Preview 3 (Build MPA44I - Released on 08/19)

- M Preview 3 (Build MPA44G - Released on 08/17)

- M Preview 2

- Latest Bootloader & Radio (By [MENTION=5512499]dekefake[/MENTION]. Notice that they are not obligatory for M Preview 3)

[How to Install]

- Boot in recovery (TWRP)

- Wipe only Data, System, Cache, Dalvik-cache (do not wipe INTERNAL DATA, unless it is what you want)

- Install the ROM

- Reboot. If TWRP prompt you to install SuperSu, deny it.

"But hey! I want Root !!"

So you want root on your Nexus 5 ;) ! Great. This is how to do :

- Make sure your phone is first booted properly with above installation process, without installing any zip more

- Download a custom kernel that allows root, because root doesn't work anymore on stock kernel since M (checkout next paragraph for kernel list)

- Download SuperSU Beta

- Flash them (Kernel, then Super Su)

- Reboot

- Enjoy, you're now rooted !

"Ok Stock Kernel can't have root, then what custom kernel should I use to enable root ?"

- Well, I just made a Google Stock + root-possible kernel. No more adds or tweaks, just stock + root allowed. I called it StephanMc Kernel, available here (for Android 6.0.1 Marshmallow).

- StephanMc Kernel for 6.0.1 - Build 20151216

Older releases:

- StephanMc Kernel for 6.0.0

- StephanMc Kernel for Android M Preview

- As alternative, you can download :

* Despair KERNEL

* ElemantalX

* HellsCore

*(let me know others, I will add it here! )

- Once downloaded kernel, read instruction above to root

[Some recommandations]

- Enable Developer Options: Settings -> About -> tap 7 times on Build number

- Enable USB Debbuging

- Enable Offline APK installations: Security -> Unkown sources

[About Titanium Backup (read this to fix it)]

Problem 1

) TB doesn't shows my previous backup

It tries to find backup files into /storage/emulated/legacy/TitaniumBackup, while they are located here: /storage/emulated/0/TitaniumBackup (in my case, which is default place). In older Android releases, legacy was a symlink to 0/, so there was no problem at all. This changed on M Preview 2, so we have to make this change in TB.

- Open Titanium Backup

- MENU -> Preferences -> Backup Folder

- Hit "Back" button to go in parent folder. Navigate to /sdcard (not /storage), then TitaniumBackup, then USE this folder

- Congrats, TB is fixed !!

[Where is System Ui Tuner ?]

- Expand the Notification bar until you see the Settings icon (on top right corner)

- Hold on the icon for about 5 seconds

- Congrats! You can find System UI Tuner menu into Settings -> just under "About phone" menu

[About Snapchat ? ]

- Snapchat crashes at login with Marshmallow. You can workaround this by downgrading to v9.9.0 (google it), then log in the app. Once done, you're free to update it as usual if you want.

[Screenshots]

- See attachments

[Wants to remove Root and re-use stock kernel ?]

This is how to do:

- Just reflash ROM in TWRP (no wipe required)

If you find this useful, feel free to hit

thanks

button, or share it with people you love :)

.