1. Are you ready for the Galaxy S20? Here is everything we know so far!

Rooting Android 5.0: Considerations

Discussion in 'Android Devices' started by scary alien, Oct 20, 2014.

  1. scary alien

    scary alien not really so scary
    VIP Member Thread Starter

    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:

    • 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!

    :)
     


    iowabowtech, jj14x and Rxpert83 like this.

    1. Download the Forums for Android™ app!


      Download

       
  2. Rxpert83

    Rxpert83 Dr. Feelgood

    Titanium backup for one is acting wonky right now on my nexus 5, while apps like root explorer are working just fine.

    I believe we'll have no issues rooting the nexus 6 (ignoring short term issues like you described), but those who aren't buying bootloader unlockable devices may not ever get root.
     
    scary alien likes this.
  3. scary alien

    scary alien not really so scary
    VIP Member Thread Starter

    Are you running the latest (LPX13D) preview version?

    Once I had the "aha!" moment(s) :)p) for the changes I needed to make in my app (Root Toolkit for Android), I've had few issues with the functionality and testing.

    But I'm guessing that TiBu might have more complex root logic than the functions that my app perform...:dontknow: (although, LOL, they have a team of folks and I just have me ;)).

    Yeah, Chainfire and others are espousing "vote with your wallet"--i.e., buy devices with unlockable bootloaders.
     
    Rxpert83 likes this.
  4. Rxpert83

    Rxpert83 Dr. Feelgood

    Yes, the latest version.

    I know suggesting devices with unlockable bootloaders is nice, but I also realize that's simply not an option for some people - whether that be due to their carrier locking phones down, or simply not knowing the new nuances before deciding and purchasing a device. I hope there's a better alternative, but as android security increases rooting a device from a manufacturer that doesnt want you to have those elevated abilities is getting harder and harder.
     
    scary alien likes this.
  5. jj14x

    jj14x Android Expert

    I've always rooted my devices till now, but the Android OS is now getting close to the point where root may not be needed for my usage scenario

    With the N6, since the kernel needs to be modified as well, I'm now wondering whether to even root or not.

    For me, the must-have benefits to root are ad-blocking (adaway) and permissions management (XPrivacy on XPosed).
    Rumor has it that Lollipop is going to bring some level of permissions management in the final release, and if it is good enough, the only thing left is ad-blocking.

    ABP may do the trick via the proxy (I use that on my unrooted N7 today - and it blocks most ads - not all though).

    Still debating though - I may just unlock the bootloader when I get the phone and figure out whether to root or not after trying it out without root initially :)
     
    Rxpert83 and scary alien like this.
  6. scary alien

    scary alien not really so scary
    VIP Member Thread Starter

    Quick update: Chainfire has got a beta version of root that should not require modifying and flashing your device's boot.img in order for you to have root on Android 5.0 (Lollipop) or version with SELinux set to enforcing mode.

    He's still having folks do beta testing on it and bugs/issues are being worked out, but I'm pretty confident Chainfire will have things smoothed out for devices that even / still have locked bootloaders.

    Cheers!
     
    BRAINZ2013 likes this.
  7. BRAINZ2013

    BRAINZ2013 Extreme Android User

    I seen it but couldn't post about it cause the site . but since we back up and running hey thanks for the word again. Love chainz what would we be without chainfire
     
    scary alien likes this.

Nexus 6 Forum

The Nexus 6 release date was November 2014. Features and Specs include a 5.96" inch screen, 13MP camera, 3GB RAM, Snapdragon 805 processor, and 3220mAh battery.

November 2014
Release Date
0
Reviews
Loading...
Similar Threads - Rooting Android Considerations
  1. EvasiveEmanual
    Replies:
    4
    Views:
    408
  2. Sunny Rio
    Replies:
    18
    Views:
    659
  3. LuckyBit33
    Replies:
    6
    Views:
    2,576
  4. Yesi Trotamundos
    Replies:
    6
    Views:
    6,997
  5. kumaranil13k
    Replies:
    4
    Views:
    1,332
  6. kumaranil13k
    Replies:
    5
    Views:
    920
  7. David Chang
    Replies:
    2
    Views:
    837
  8. lionheart8329
    Replies:
    2
    Views:
    1,576
  9. Roy Oxlade
    Replies:
    11
    Views:
    2,326
  10. Ajhalls
    Replies:
    0
    Views:
    2,873

Share This Page

Loading...