As I mentioned in this thread: http://androidforums.com/android-lounge/876518-rooting-android-5-0-l-ollipop.html, since the Nexus 6 will come with Android 5.0 (Lollipop) installed, you need to be aware of some additional considerations for rooting your new device:
That's all I got for now...cheers!
- If you plan to root your device, you should probably unlock your bootloader after you've booted your device for the first time since the unlocking process will wipe your device (trying to save you some time & effort).
- You'll likely need to flash a modified kernel (boot.img) that has the SELinux context for the install_recovery.sh script in the init.rc file of the ramdisk "relaxed" to still run under the init context. This is a linchpin for Chainfire's SuperSU/su to work on 5.0. [a modded boot.img will likely be readily available soon or fairly easily made from a stock factory image boot.img file].
- You'll need to download and flash (via a custom recovery) the latest SuperSU package from Chainfire's SuperSU Download site (it'll be named something like UPDATE-SuperSU-v#.##.zip file). Flash it via your favorite custom recovery (TWRP, CWM, etc.).
- Note: you don't have to actually flash a custom recovery to run it: you can softboot it via fastboot boot <recovery.img file> This means that you can keep your current stock recovery installed if you just want to temporarily use the custom recovery.
- Be aware that Chainfire warns that the retail release of Android 5.0 may still include some surprises that could affect the ability to root (or at least right away); follow Chainfire on Google+ for more information.
- It's possible that not all of your root apps will work (or at least right away) after rooting on Android 5.0. I can tell you that the changes needed to support the new SELinux enforcement policies were a bit confusing at first and required a complete re-test of all of the functions of one of my apps. Kudos to Chainfire and others for providing information on what changes might be needed. We'll all just need to be patient as the devs update their apps and see what the official 5.0 release brings us.
That's all I got for now...cheers!