[GUIDE][LOLLIPOP][ROOT]N7 2013 5.0 Install and root.

Search This thread

Feliox

Member
Sep 22, 2014
22
19
After few hours of playing with the new Android 5.0 Lollipop on my Nexus 7 2013, it looks like a stable OS with dramatically improved performance and battery life.
So I decided to write a simple guide to teach you how to flash it on your flo, and successfully get root access ;)
This tutorial works on Windows.

This process erases everything from your nexus, so BACK UP!!!

-------------------
Code:
#include <std/disclaimer.h>
/*
 * I am not responsible for bricked devices, dead SD cards, thermonuclear
 * war, or the current economic crisis caused by you following these
 * directions. YOU are choosing to make these modificiations, and
 * if you point your finger at me for messing up your device, I will
 * laugh at you.
 */
-------------------

1. Unlocking Bootloader

So the first step is to unlock your bootloader, but I think you already done that. If you don't, there are lots of tutorials on Google. (Your nexus doesn't need to be running original rom, or anything stock, if you can get to bootloader normaly, you're fine.)
-------------------

2. Flashing the 5.0

We need to flash Android 5.0 Developer preview! (obviously).

1. Go to
Code:
http://developer.android.com/preview/index.html
and download the .tgz for Nexus 7 (Yes, your device IS called razor... :D)

2. Unpack it with Total Commander or something, I don't care..

3. Install standard ADB and Fastboot from this link:
Code:
http://xdaforums.com/showthread.php?t=2588979

4. Use WugFresh to install ADB and Fastboot drivers (If you haven't done that already)

5. Restart your PC!

6. Enable USB Debugging.

7. We need to test, if your drivers are working correctly so open up command prompt and,
Code:
adb reboot bootloader
Wait until it reboots to Bootloader and then
Code:
fastboot reboot
If it rebooted back to normal state, we're ready to go!!!

8. Reboot to bootloader by:

Code:
adb reboot bootloader

9. Execute a flash_all.bat from the directory you extracted tgz to! (It needs to be extracted!!!) This process also reflashes your bootloader to newer version, and you already know that if it fails, you have a pretty nice paperweight, so DO NOT DISCONNECT YOUR DEVICE!!!

10. After everything is done, the Nexus will reboot and you have a working Android 5.0 on your nexus! Pretty cool already, but we are geeks and no android device is complete without the godly power of root access! So let's get into it!
-------------------
3. Flashing custom recovery, rooting, and fixing root!

1. Get your copy of the latest TWRP from here (I use 2.8.0.1):

Code:
http://techerrata.com/browse/twrp2/flo
2. Rename it to recovery.img and copy it to desktop

3. On desktop, press shift + right click on blank spot. (If you don't have one, move it somewhere else where you can find it) Select Open command window here.

4. Enable USB debugging on your nexus again.

5. Move this zip to the root of Nexus's internal memory.
Code:
http://download.chainfire.eu/578/SuperSU/UPDATE-SuperSU-v2.14.zip

6. Reboot to fastboot

7. Format cache by:
Code:
fastboot format cache

8. Flash the recovery! (make sure you're in the directory as the recovery img.. you can check that by typing dir.):
Code:
fastboot flash recovery recovery.img

9. On your nexus, choose to reboot to recovery (volume buttons up down, power to select.)

10. In TWRP install SuperSU zip.

11. Reboot your system.

12. After it booted back to Android, and you see the SuperSU in apps, reboot again :D

14. If you already tried, your root isn't working, so we need to fix it by flashing the chainfire's custom kernel. We 'll do it the fastboot way.

15. Reboot to Bootloader

16. Download the custom kernel from:
Code:
http://xdaforums.com/showpost.php?p=56109923&postcount=6924

17. Extract it, and flash it the similar way as recovery, but with using this command. Again, check if you're in the same directory as the boot.img!
Code:
fastboot flash boot boot.img

18. Now, just reboot with:
Code:
fastboot reboot

19. DONE!

Your Nexus 7 have working Android L with root access. Coolness overload!

Let me know if it worked for you!
If yes, please press that thanks button :)
 

jimbob_sf

Senior Member
Jul 16, 2010
435
110
San Rafael, CA
I read the 5 bootloader works for KK. IF I'm ok with the risk and I've completely backed up the disk, can we switch back to kk or is this a one way trip? If I restore the twrp files, can we treat 5 like any other ROM?
 
  • Like
Reactions: Tuckycv

Feliox

Member
Sep 22, 2014
22
19
Have you flashed the custom kernel? Try installing the SuperSU again. What version of SuperSU are you using?
 

Feliox

Member
Sep 22, 2014
22
19
I read the 5 bootloader works for KK. IF I'm ok with the risk and I've completely backed up the disk, can we switch back to kk or is this a one way trip? If I restore the twrp files, can we treat 5 like any other ROM?

I will try this for you, give me an hour.

Sent from my Nexus 7 using XDA Free mobile app
 

Feliox

Member
Sep 22, 2014
22
19
Yup, I flashed CleanRom (4.4.4) from recovery, and it's working just fine! And BTW, yes, you can restore to android 5.0 from recovery just fine :)

Sent from my Nexus 7 using XDA Free mobile app
 

horst0815

Senior Member
Oct 23, 2008
709
178
Heidelberg
I did the exact same thing last night when chainfire's post on g+ appeared.
so I do have root (2.14)...I guess, because Adaway works, and TiBu says I'm rooted as well. On ES File Explorer, I cannot access /system and in Titanium I cannot delete apps (Couldn't find APK). I tried the last version from store, and the test build from July/August, when L preview popped up for the first time.

Any advice?
 

Scipizoa

Senior Member
Oct 22, 2013
118
10
41
Spring Hill
can i get some quick opinions, I just unlocked my device and am about to root it, should I flash stock 4..4.4 then root or just root on 5.0, I ask because i'm wondering if i'll have more trouble flashing the final or updating to the final release with root

I guess what i'm asking is, which way is gonna be the least pain in the rear when rooted. ;P
 

beany>

Senior Member
Jul 11, 2014
1,622
1,980
Rugby
can i get some quick opinions, I just unlocked my device and am about to root it, should I flash stock 4..4.4 then root or just root on 5.0, I ask because i'm wondering if i'll have more trouble flashing the final or updating to the final release with root

I guess what i'm asking is, which way is gonna be the least pain in the rear when rooted. ;P
From what I've read, you'll need a clean flash to final 5, so it makes little difference. I'd flash whichever you want to use until final 5 is out and fully rooted.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 16
    After few hours of playing with the new Android 5.0 Lollipop on my Nexus 7 2013, it looks like a stable OS with dramatically improved performance and battery life.
    So I decided to write a simple guide to teach you how to flash it on your flo, and successfully get root access ;)
    This tutorial works on Windows.

    This process erases everything from your nexus, so BACK UP!!!

    -------------------
    Code:
    #include <std/disclaimer.h>
    /*
     * I am not responsible for bricked devices, dead SD cards, thermonuclear
     * war, or the current economic crisis caused by you following these
     * directions. YOU are choosing to make these modificiations, and
     * if you point your finger at me for messing up your device, I will
     * laugh at you.
     */
    -------------------

    1. Unlocking Bootloader

    So the first step is to unlock your bootloader, but I think you already done that. If you don't, there are lots of tutorials on Google. (Your nexus doesn't need to be running original rom, or anything stock, if you can get to bootloader normaly, you're fine.)
    -------------------

    2. Flashing the 5.0

    We need to flash Android 5.0 Developer preview! (obviously).

    1. Go to
    Code:
    http://developer.android.com/preview/index.html
    and download the .tgz for Nexus 7 (Yes, your device IS called razor... :D)

    2. Unpack it with Total Commander or something, I don't care..

    3. Install standard ADB and Fastboot from this link:
    Code:
    http://xdaforums.com/showthread.php?t=2588979

    4. Use WugFresh to install ADB and Fastboot drivers (If you haven't done that already)

    5. Restart your PC!

    6. Enable USB Debugging.

    7. We need to test, if your drivers are working correctly so open up command prompt and,
    Code:
    adb reboot bootloader
    Wait until it reboots to Bootloader and then
    Code:
    fastboot reboot
    If it rebooted back to normal state, we're ready to go!!!

    8. Reboot to bootloader by:

    Code:
    adb reboot bootloader

    9. Execute a flash_all.bat from the directory you extracted tgz to! (It needs to be extracted!!!) This process also reflashes your bootloader to newer version, and you already know that if it fails, you have a pretty nice paperweight, so DO NOT DISCONNECT YOUR DEVICE!!!

    10. After everything is done, the Nexus will reboot and you have a working Android 5.0 on your nexus! Pretty cool already, but we are geeks and no android device is complete without the godly power of root access! So let's get into it!
    -------------------
    3. Flashing custom recovery, rooting, and fixing root!

    1. Get your copy of the latest TWRP from here (I use 2.8.0.1):

    Code:
    http://techerrata.com/browse/twrp2/flo
    2. Rename it to recovery.img and copy it to desktop

    3. On desktop, press shift + right click on blank spot. (If you don't have one, move it somewhere else where you can find it) Select Open command window here.

    4. Enable USB debugging on your nexus again.

    5. Move this zip to the root of Nexus's internal memory.
    Code:
    http://download.chainfire.eu/578/SuperSU/UPDATE-SuperSU-v2.14.zip

    6. Reboot to fastboot

    7. Format cache by:
    Code:
    fastboot format cache

    8. Flash the recovery! (make sure you're in the directory as the recovery img.. you can check that by typing dir.):
    Code:
    fastboot flash recovery recovery.img

    9. On your nexus, choose to reboot to recovery (volume buttons up down, power to select.)

    10. In TWRP install SuperSU zip.

    11. Reboot your system.

    12. After it booted back to Android, and you see the SuperSU in apps, reboot again :D

    14. If you already tried, your root isn't working, so we need to fix it by flashing the chainfire's custom kernel. We 'll do it the fastboot way.

    15. Reboot to Bootloader

    16. Download the custom kernel from:
    Code:
    http://xdaforums.com/showpost.php?p=56109923&postcount=6924

    17. Extract it, and flash it the similar way as recovery, but with using this command. Again, check if you're in the same directory as the boot.img!
    Code:
    fastboot flash boot boot.img

    18. Now, just reboot with:
    Code:
    fastboot reboot

    19. DONE!

    Your Nexus 7 have working Android L with root access. Coolness overload!

    Let me know if it worked for you!
    If yes, please press that thanks button :)
    2
    Is there any flashable fully working zip till for this final preview?

    Yes its there in Android development section.

    Sent from my SM-G900W8 using Tapatalk
    1
    Awesome! One question, do I have to unzip the image-razor-lpx13d.zip file inside the tgz file as well?
    No :)
    1
    I read the 5 bootloader works for KK. IF I'm ok with the risk and I've completely backed up the disk, can we switch back to kk or is this a one way trip? If I restore the twrp files, can we treat 5 like any other ROM?