[Nexus 5X Android Development] nathanchance:
Installation of 6.0.1

12/18/15: I have an updated version of this post here. I'll leave this post intact in case anyone wants to see it again.

Hey guys, I have seen quite a few posts in the Shamu thread about how to upgrade to Cataclysm 6.0.1. I have not seen too many here but I am sure they will continue to come and I personally do better with a step by step so here we go. I will keep this as up to date as I can.

PLEASE READ THE PROCESS BEFORE ATTEMPTING AND MAKE SURE YOU UNDERSTAND.

1. If you are on a custom ROM:

1. Download Cataclysm 6.0.1 full zip file, custom kernel if applicable (make sure the kernel is updated for 6.0.1), and SuperSU 2.62 if you want root.

2. Backup any important data you have.

3. Boot into the bootloader and flash the bootloader, radio, and vendor images from here via fastboot (optional but recommended).

4. Boot into TWRP.

5. Backup your previous ROM (optional but HIGHLY recommended).

6. Wipe > Advanced Wipe and wipe system, data, cache, and dalvik cache.

7. Flash Cataclysm 6.0.1 (and this vendor.img if you did not do step three above)

8. Flash SuperSU 2.62 (optional).

9. Flash the custom kernel (optional).

10. Reboot and profit.

2. If you are on Cataclysm build date November 18th or later OR on stock 6.0:

1. Download Cataclysm 6.0.1 full zip file, custom kernel if applicable (make sure the kernel is updated for 6.0.1), UnSU if you are currently rooted, and SuperSU 2.62 if you want root.

2. Backup any important data you have.

3. Boot into the bootloader and flash the bootloader, radio, and vendor images from here via fastboot (optional but recommended).

4. Boot into TWRP.

5. Backup your previous ROM (optional but HIGHLY recommended).

6. If you are rooted, flash UnSU to remove SuperSU from your system partition.

7. Flash Cataclysm 6.0.1 (and this vendor.img if you did not do step three above, dirty flash should be okay).

8. Flash SuperSU 2.62 (optional).

9. Flash the custom kernel (optional).

10. Reboot and profit.

3. If you are on stock 6.0.1:

1. Download Cataclysm 6.0.1 full zip file or small Mod zip, custom kernel if applicable (make sure the kernel is updated for 6.0.1), and SuperSU 2.62 if you want root.

2. Backup any important data you have.

3. Boot into the bootloader and flash the bootloader, radio, and vendor images from here via fastboot if you didn't do it when you upgraded (optional but recommended).

4. Boot into TWRP.

5. Backup your previous ROM (optional but HIGHLY recommended).

6. Flash Cataclysm 6.0.1 (small or large and this vendor.img if you did not do step three above)

7. Flash SuperSU 2.62 (optional).

8. Flash the custom kernel (optional).

9. Reboot and profit.

If you have any issues, either restore from your backup or do a clean install (the first process).

FAQs:

Q: My camera doesn't work!

A: Did you flash a custom kernel and/or is your vendor.img up to date? If so, make sure that the kernel is up to date with 6.0.1 and flash this flashable vendor.img if you haven't done so already.

Q: I flashed SuperSU and I don't have root.

A: See the note below. You either didn't flash SuperSU in the proper order or your particular app is having issues with systemless root.

Q: I am having xyz problem.

A: Make sure you followed the process above. If so, follow these steps.

1. Uninstall any mods (kernel, Xposed, etc.). Problem fixed? Great! If not, go on.

2. Clean flash the ROM (Process 1 above). Still having a problem? Go on.

3. Get a logcat and post it here for us to look at.

NOTE ABOUT ROOT:

[MENTION=5372360]magnamentis[/MENTION] and I worked to see if/how system root could work on this ROM since it is based on stock. We came to the conclusion it is too much of a hassle to recommend in the process, systemless root works so much better for this ROM and anything stock based. If you REALLY need system root, feel free to message him with more information but it is not for the faint of heart.

Here are the facts about rooting that you need to know:

- SuperSU 2.62 is systemless root, 2.52 is system root.

- Systemless root is experimental and, while I have been running it for three days now and not had any issues, there could be unforeseen consequences. The main side effect is apps with hard-coded su paths (something Chainfire frowns upon) will have some issues (the major one thus far is ES File Manager).

- atl4ntis himself recommends SuperSU 2.61/2.62 in the OP and it will be easy to maintain with the updates (to update, simply flash Cataclysm Mod then SuperSU 2.62 again to get the patched boot.img).

- If you run into issues with some of your root apps, you can try switching to system root but I don't recommend it at all. You instead should contact the developers of that app to let them know they should update their app for systemless root.

- If you have any other questions, read Chainfire's post, which will have more info since he is 1000% smarter than me.