[Q] Root only? - Nexus 7 (2013) Q&A

Hi. Just wondering if it is possible to root stock Nexus 7 (2013) without installing a custom bootloader / recovery etc. I am not looking to install a custom rom, just looking for root access to run apps.
Thanks

flavorcrystal7 said:
Hi. Just wondering if it is possible to root stock Nexus 7 (2013) without installing a custom bootloader / recovery etc. I am not looking to install a custom rom, just looking for root access to run apps.
Thanks
Click to expand...
Click to collapse
Yes i believe it's called cf-auto root by chainfire look for the thread on original android development forum for this device.
Edit: find it here http://forum.xda-developers.com/showthread.php?t=2467014
Sent from my Nexus 7 using XDA Premium 4 mobile app

railed said:
Yes i believe it's called cf-auto root by chainfire look for the thread on original android development forum for this device.
Edit: find it here http://forum.xda-developers.com/showthread.php?t=2467014
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks for the info and link. That's very helpful.

You can also temperary load and use TWRP in stead of flashing it permanently. That's how I root and still keep stock bootloader/recovery.
Just follow steps to install TWRP, but use command 'boot' and not 'flash' TWRP.
(' fastboot boot twrp.img' is than commando with the correct name of twrp.img).

My personnal saved instructions for easier future (re-)rooting (after OTA's) using temperary loaded TWRP. Off course with help XDA-topics.
Temperary load and use TWRP (and in the proces keep stock bootloader/recovery):
--------------------------------------------------------------------------------------------------------------
Off course Nexus-bootloader must be unlocked already and correct hardware drivers installed on PC.
1. Copy the zipfile(s) you want to flash with TWRP to internal SD of Nexus. (For example latest SuperSU, download: http://download.chainfire.eu/370/SuperSU/UPDATE-SuperSU-v1.80.zip)
2. On PC download and extract to folder latest Android SDK. Go to folder 'Platform' or 'Platform Tools'. (Folder including adb, fastboot, etc.). ( Android SDK download: https://developer.android.com/sdk/index.html )
3. Download and extract latest TWRP(.img) for Nexus 7 Flo and copy to folder Platform/Platform Tools (with adb, fastboot, etc. in it) You might want to give 'recovery-twrp.img' a shorter name. (TWRP download: http://techerrata.com/browse/twrp2/flo )
4. In the folder with the platform tools while pressing <SHIFT> on keyboard click right mousebutton and click with left mousebutton on 'Open Command Window Here'.
5. On Nexus switch on 'USB Debugging' in System settings-> Developper options. Shut down Nexus.
6. Connect Nexus with Usb-cable to PC. Start the device untill Nexus 7 folder opens on PC.
7. In earlier started Command Window type 'adb devices'and push <ENTER> on keyboard. (If all is well you will now see that Nexus is connected in Command Window. (If says device offline that means missing/incorrect hardwaredrivers or USB-cable broken/not connected)
8. On the Nexus now appears the messagge 'Allow Usb Debugging'. Tap 'oké/yes' on Nexus.
9. In Command Window type 'adb reboot bootloader' and push <ENTER>
10. To load TWRP without flashing for temperary use now type in Command Window 'fastboot boot twrp.img' (with correct name for twrp.img) and push <ENTER>
Now TWRP loads and can be used without losing stock recovery
-------------
Flashing with TWRP:
1. The zip(s) you want to flash must be copied to internal SD in advance. (for instance latest SuperSu.zip)
2. In TWRP tap on 'install'
3. Browse to the zip you want to flash and select by tapping on it
4. Now 'Swipe to confirm flash'
5. After reboot
--------------------
Finally I want to mention I bought Pro version of SuperSu for the option 'OTA Survival Mode'. Worked great. After last 4.4->4.4.2 OTA I still had root and did not have to reflash latest SuperSu.
Also before applying new OTA first check SuperSu-topic if latest SuperSu is compatible so OTA will not fail. If incompatible follow instructions there. I thjink than you must remove/switch off SuperSu first within app itself. Or flash new SuperSu, flash OTA and flash SuperSu again in same flash-session I was told on a Xda-topic and aplied once succesfully.

Related

[ROOT] Root for One VX

This method is pretty simple. Flash recovery, flash superuser.zip.
Step 1.
Ensure you are HTC Unlocked
Step 2.
Download superuser zip
Download Recovery Image
Step 3.
Open command prompt where you put the recovery image
Step 4.
Reboot your device to fastboot
Step 5.
Run the command "fastboot flash recovery twrprecovery.img" without quotes
Step 6.
On your phone choose the hboot option then the recovery option
Step 7.
Now in recovery choose the mount option and select mount sdcard
Step 8.
Copy superuser.zip to your sdcard
Step 9.
Unmount sd card and hit the back button
Step 10.
Choose install and select the superuser.zip and slide the bar to flash it
Step 11.
Reboot and profit.
mine too
Get a feeling some one gonna ask how to root with this method. Ha, thanks for the updated method for root fast simple and clean..
Question though if the flash twrp recovery could. Any flash straight to a rom with root already? Or need to root first then flash rom
ilostchild said:
Get a feeling some one gonna ask how to root with this method. Ha, thanks for the updated method for root fast simple and clean..
Question though if the flash twrp recovery could. Any flash straight to a rom with root already? Or need to root first then flash rom
Click to expand...
Click to collapse
You could flash recovery then flash one of my roms yes. That would work
Sent from my HTC One VX using xda premium
jmztaylor said:
You could flash recovery then flash one of my roms yes. That would work
Sent from my HTC One VX using xda premium
Click to expand...
Click to collapse
Thanks for single handling the Vx, without your support this would have been a dead end low end device
And jcase for s-off
HTC Unlocked = Bootloader is unlocked?
Not to take away from the OP, but i created a guide for a guy here at work and thought others might benefit from it.
Unlock Bootloader and Root
Unlocking your bootloader will wipe all data from your phone. Meaning you will loose everything make a backup.
Step 1: ADB Installation Instructions. NOTE:You must have ADB installed on your PC even if you use method 2b to unlock the bootloader. You will need adb to install recovery in Step 4.
1. Go to http://developer.android.com/sdk/index.html and download the sdk.
2. Follow installation instructions found here. Note: This is not a forum for this device DO NOT do anything but the adb installation on your system.​Step 2a: Download software from HTC to allow your bootloader to be unlocked.
1. Go to http://www.htcdev.com/
2. Login to the website. NOTE: Register for an account if you haven’t already. You must provide a valid email address.
3. Select “All Other Supported Models” from the drop down list and click “Begin Unlock Bootloader”
4. Follow online instructions.
5. A Youtube video I came across the shows the steps. http://www.youtube.com/watch?v=X0MttMw6mgQ​Step 2b: Alternate method to unlock bootloader *UNTESTED* by me.
1. [TOOL] HTC Easy Unlock Bootloader Tool http://forum.xda-developers.com/showthread.php?t=2133336 ​Step 3: Download Files to root device. NOTE: Only after unlocking bootloader.
1. SuperUser http://androidfiles.org/getdownload.php?file=TotemC2/root/superuser.zip - Copy this file you phone. Special thanks to jmztaylor his link.
2. Recovery TWRP Recovery http://androidfiles.org/getdownload.php?file=TotemC2/Recoveries/twrprecovery.img or CWM Recovery http://forum.xda-developers.com/showthread.php?t=2161706. Put this file in the platform-tools folder (where you installed the SDK in step one). NOTE: You must type the name of this file perfectly when using adb to flash it in step 4.​Step 4: Using ADB to install recovery
1. Open command prompt ( shift + right click, then choose “Open command window here”) and type “ADB devices” you should see you phone listed, if you do not start over at Step 1. NOTE: Phone must be plugged in and USB Debugging must be checked in settings.
1.5. Reboot into fastboot
2. Type “fastboot flash recovery recovery.img” without the quotes. NOTE: the red is actually the title of the recovery file that you copied in step 3. If it’s different substitute your files name instead.
3. Once complete On your phone choose the hboot option then the recovery option
4. You should at this point backup your device
5. Once you create a backup, Choose install and navigate to the SuperUser file you put on your phone in Step 3.
6. If all goes well you are now rooted. Select reboot system to restart phone.​There is some very good information here but its spread out pretty thin. Guides IMHO are very usefull to fill the gap between devs/powerusers and the newbs.Most people that come here have a hard time with the things we take for granted such as adb commands, or adb its self (most will be setting it up for the first time). I tried my best to put it in a knowledge base that everyone can understand if for some reason you do not understand what i was trying to say please ask. I don't own this phone, just helped a friend root his, but if you need to get ahold of me pm me. I'll get back to you as soon as possible.
Jnewell05 said:
HTC Unlocked = Bootloader is unlocked?
Click to expand...
Click to collapse
Yup
Sent from my HTC One VX using xda app-developers app
jmztaylor said:
This method is pretty simple. Flash recovery, flash superuser.zip.
Step 1.
Ensure you are HTC Unlocked
Step 2.
Download superuser zip
Download Recovery Image
Step 3.
Open command prompt where you put the recovery image
Step 4.
Reboot your device to fastboot
Step 5.
Run the command "fastboot flash recovery twrprecovery.img" without quotes
Step 6.
On your phone choose the hboot option then the recovery option
Step 7.
Now in recovery choose the mount option and select mount sdcard
Step 8.
Copy superuser.zip to your sdcard
Step 9.
Unmount sd card and hit the back button
Step 10.
Choose install and select the superuser.zip and slide the bar to flash it
Step 11.
Reboot and profit.
Click to expand...
Click to collapse
This is a proper permanent root correct?
Sent from my HTC One VX using xda app-developers app
Define "proper" and define "permanent"
Sent from my HTC One VX using xda premium
mattplo said:
Define "proper" and define "permanent"
Sent from my HTC One VX using xda premium
Click to expand...
Click to collapse
I'm questioning it prior to the old HTC G1, once you ROOTED the phone and flashed a ROM you'd loose the ROOT access.
I've got it installed, it seems to be official and unrecoverable until you unROOT the device itself!
Thanks.
Sent from my HTC One VX using xda app-developers app
Does not work as instructed
jmz said:
This method is pretty simple. Flash recovery, flash superuser.zip.
Step 1.
Ensure you are HTC Unlocked
Step 2.
Download superuser zip
Download Recovery Image
Step 3.
Open command prompt where you put the recovery image
Step 4.
Reboot your device to fastboot
Step 5.
Run the command "fastboot flash recovery twrprecovery.img" without quotes
Step 6.
On your phone choose the hboot option then the recovery option
Step 7.
Now in recovery choose the mount option and select mount sdcard
Step 8.
Copy superuser.zip to your sdcard
Step 9.
Unmount sd card and hit the back button
Step 10.
Choose install and select the superuser.zip and slide the bar to flash it
Step 11.
Reboot and profit.
Click to expand...
Click to collapse
Hi,
It's not working.
I'm not a noob. I've rooted my Xoom and GS4 but this method for the HTC One VX is not working.
I've downloaded the 2 files.
Extracted the .zip to the root of C:\ and put the twrprecovery.img in the root of C:\ drive also.
I have my phone set to USB Debugging, and rebooted the phone into fastboot USB mode.
Connected my device.
I launch CMD and then type cd.., cd.. until i'm at the root level of C:/.
Then I type "fastboot flash recovery twrprecovery.img" without the quotes.
And I get this:
'fastboot' is not recognized as an internal or external command, operable program or batch file.
I've searched other threads and other forums and read that I need to have the HTCDriver.exe installed.
So I installed it, rebooted the computer, and tried it all again and the same thing.
'fastboot' is not recognized as an internal or external command, operable program or batch file.
Anyone have any answers?
Thanks
Are you opening the cmd prompt in the dir where you have your adb and fastboot files you must have the recovery.img in the same folder.
Sent from my HTC One VX using xda app-developers app
Mhjeff301 said:
I'm not a noob.
Click to expand...
Click to collapse
LOL
Sent from my HTC One VX
Just checking---do you have the android toolkit installed? If so, you need to put the image in the same directory as fastboot--not at the root of C drive....
I realize that I just re-worded one of the posts above, but at C drive's root won't work.....
Mhjeff301 said:
Hi,
It's not working.
I'm not a noob. I've rooted my Xoom and GS4 but this method for the HTC One VX is not working.
I've downloaded the 2 files.
Extracted the .zip to the root of C:\ and put the twrprecovery.img in the root of C:\ drive also.
I have my phone set to USB Debugging, and rebooted the phone into fastboot USB mode.
Connected my device.
I launch CMD and then type cd.., cd.. until i'm at the root level of C:/.
Then I type "fastboot flash recovery twrprecovery.img" without the quotes.
And I get this:
'fastboot' is not recognized as an internal or external command, operable program or batch file.
I've searched other threads and other forums and read that I need to have the HTCDriver.exe installed.
So I installed it, rebooted the computer, and tried it all again and the same thing.
'fastboot' is not recognized as an internal or external command, operable program or batch file.
Anyone have any answers?
Thanks
Click to expand...
Click to collapse
The files are not in the same folder ,
What is the reasoning for this extra SU zip? If you install twrp, then reboot into recovery, then tell twrp to reboot to system, it will ask to install SU and then BAM, SU installed, no issues. You just download it.
Edit: This version of TWRP is very old and crashed my phone a lot. Might want to update the link to a newer image 2.6 twrp.

[HOWTO] Complete guide stock 4.3, root and recovery - Samsung Gnx GSM (Linux/Win 7)

Hi All,
I have spent this afternoon rooting stock 4.3 yakju and thought that I'd share the latest on how to go about doing this manually for the maguro GT-I9250. This is a complete guide which brings all the information you will need under the one thread which doesn't seem to have been done before except as separate guides and scattered information all over the internet.
NOTE: Unlocking and Rooting your device will void your warranty and can in some instances if not performed properly brick the phone. This process will also wipe your phone back to factory defaults so any personal files and applications will be lost. You should backup the device using the backup options in the recovery environment or by saving any personal files off the device via the USB cable, prior to unlocking your device. You follow this procedure at your own risk!!
With that disclaimer out the way there, We can begin.
NB: I ran all linux commands in this tutorial as root, I am not able to say if running as a standard user may cause issues, although one forum suggested to run as root or sudo up if you have a bootloop issue so I did this to avoid problems. This tutorial assumes that you have some experience with using basic Linux commands including but not limited to copying and moving files, changing directories, listing files, running scripts and executables using './' and using the console
So Firstly I am running Fedora 19 x64 with the latest kernel. It's a lot easier than trying to muck around with Windows 7 drivers and there are tutorials for installing these. To update on that tutorial you can use the official samsung drivers to install the adb and mtp drivers (may already be noted in the thread, but I might as well state it here also.) and the best place to get the official samsung drivers is by installing the Samsung Kies application.
You need to enable 'USB debugging' in order for ADB to work, you do this from 'settings --> developer options' if you can't see 'developer options' you may need to enable them, to do this, select 'settings --> about phone' and tap 'build number' until it says 'you are now a developer' which takes around 7 taps. In 'developer options', you may need to turn them on by clicking the 'on' button at the top. Once you have turned them on, select 'usb debugging' and this will then tell you that 'this may make your device less secure', agree/accept this, and continue. You can always turn it off later if you need to. Once you enable this, within linux you may get prompted when running adb to authorize (e.g. you are not authorized, check the device screen). You need to authorise from the phone, so allow the connection and select 'remember this computer' to save having to do it again.
Now for the bootloader driver it's a bit trickier to install. You need to reboot into the bootloader, by powering off the device and then powering back on again while holding the volume + and volume - keys at the same time. You will then probably get a failed driver install for 'Android 1.0'. At this point, you will need the universal Naked driver from this thread. Download and extract it to your 'Downloads' folder. Now go to device manager, right click on the 'Android 1.0' device and select 'update driver...' and then select 'browse my computer for driver software' and then select 'let me pick from a list of drivers'. Click 'have disk' and you will be able to install from the folder you extracted the 'Universal Naked Driver' into. You will now be able to use the fastboot command in Windows.
Ok. Now we have the windows users covered. In Linux, All I needed to do was download the android sdk adt tools. I'm using the 64 bit version, so I downloaded the 64 bit version from the adt bundle section here. Once I had downloaded and extracted these into a folder in my Downloads folder under my user profile, I copied the adb and fastboot files to a separate folder as these are the only things I needed in the bundle. you do this by typing
Code:
cp /home/<your_username>/Downloads/Androidadt/adb /home/<your_username>/Downloads/Nexusroot/
cp /home/<your_username>/Downloads/Androidadt/fastboot /home/<your_username>/Downloads/Nexusroot/
From here on you will want to be working from the 'Nexusroot' folder, so type
Code:
cd /home/<your_username>/Downloads/Nexusroot
.
From here, you need to obtain the recovery you wish you use, I chose to use the CWM v6.0.4.3 touch recovery which can be obtained from here. Once it's saved to your downloads folder you should copy it to your previously created 'Nexusroot' folder where we saved adb and fastboot.
The next item on the list is something I did because I was running the yakjuxw firmware and is the reason I did everything in Linux for this tutorial, as the firmware files are tarballed and opening the tar in 7zip shows 'unix filesystem' as the base folder. I installed the stock 4.3 firmware from google. I used the extracted files for the firmware as my 'Nexusroot' folder and copied fastboot and adb into this folder as well as the recovery image. I then ran ./flash-all.sh with the device in fastboot mode (you will need to have unlocked the bootloader prior to doing this, instructions are below in the next paragraph. The script basically just flashes the firmware with the fastboot command, if you want to flash the CWM recovery at the same time, you will need to rename the recovery file to the same name as the recovery image in the tarball and replace or rename the one that came with the tar file from google), If you have setup your environment in Windows 7 as described above, there is also a batch file that will do the same thing ensure the device is in fastboot before running the batch file/script or it will sit there and say 'waiting for device' and make sure the fastboot application is in the same folder as the script. Once the flash is complete your device will be running the stock 4.3 firmware. (edit: I have since extracted the entire image out of the tar with 7zip from Windows 7, you will be able to flash the base once you extract it all to a folder but you need to open the secondary container file in 7zip separately)
The next step is to flash the recovery. To do this, put the device into fastboot mode and unlock the bootloader using the command
Code:
fastboot oem unlock
select 'Yes' at the prompt, your device will now reboot twice and perform a factory reset which will wipe all data, at this point you may need to re-enable 'usb debugging' from your settings (see above for instructions), re-enter fastboot mode by typing
Code:
adb reboot bootloader
next type in
Code:
fastboot flash recovery recovery-clockwork-touch-6.0.4.3-maguro.img
Your device will now install the touch recovery we downloaded earlier. Once done, type the command
Code:
fastboot reboot-bootloader
.
Now to root the device, download the SuperSU zip file from the link and copy it to your 'Nexusroot' folder. Now boot into your recovery environment by using your 'Volume -' key to select 'boot recovery' and allow the device to boot into the recovery environment. This will allow you to use the adb command. Change directory into your 'Nexusroot' folder if not already in it, and type
Code:
adb push UPDATE-SuperSU-v1.43.zip /sdcard/0
This will copy the zip file to the internal memory card. From the recovery environment on the phone, select 'install file from sdcard' and then 'choose zip from sd card'. Select '0' and then select the 'UPDATE-SuperSU-v1.43.zip' file and select 'yes - install...' and the zip file will install the SuperSU application and binaries. Your device is now rooted, however you will need to run the SuperSU app to update the binary again. We will discuss this further after the next step.
Now we should lock the bootloader again to prevent tampering with our recovery and other firmware images however if you wish to flash other ROMS you will want to leave this unlocked, or you will need to unlock it again next time you want to flash a rom. To lock the bootloader, with the phone in fastboot mode, you simply type
Code:
fastboot oem lock
and this will re-lock the bootloader. Note you will not be able to flash any radios, kernels, or other .img files while this is locked. Now reboot your phone back into Android.
Now that you know how to unlock your phone, it's rooted, and has a recovery environment installed, you need to activate your SuperUser install. To do this, open the SuperSU app, and when prompted to update, click 'continue'. You will at this point be asked how you want to install it, select 'CWM/TWRP Recovery' and your phone will reboot, you will see an update occur on the screen and SuperSU will now be correctly installed.
You can now begin experiencing the freedom to use whatever ROM you want, customise your device how you want, and even change which applications you want installed regardless of whether they are system apps or otherwise.
I hope this guide is helpful.
References:
http://forum.xda-developers.com/showthread.php?t=1379875
http://forum.xda-developers.com/showthread.php?t=1830108
http://forum.xda-developers.com/showthread.php?t=2117822
http://forum.xda-developers.com/showthread.php?t=2065470
http://www.ibtimes.com/how-root-galaxy-nexus-i9250-nexus-4-android-43-jelly-bean-official-firmware-tutorial-1362063
http://www.clockworkmod.com/rommanager
https://developer.android.com/sdk/index.html
http://www.ubuntu.com/phone/install
https://developers.google.com/android/nexus/images
Thanks:
@1wayjonny
@TECK
@samersh72
Without your guides I wouldn't have been able to do this.

I must be stupid -- I cannot flash KitKat on my 2013 N7

Note: everything stock on my 2013 N7... locked bootloader, stock recovery and not rooted...
Followed the instructions for downloading & manually flashing kitkat OTA here:
www.androidpolice.com/2013/11/13/yo...4-4-ota-update-krt16o-for-2013-wi-fi-nexus-7/
Noted this from the instructions:
"You don't need a USB cable if you're just planning to download the OTA zip directly to your device and flash it from recovery."
When I booted into stock recovery there is no option to flash the update.zip... only option is to sideload update via ADB..
What am I missing
Sent from my Nexus 7 using xda app-developers app
OldDogEyes said:
Note: everything stock on my 2013 N7... locked bootloader, stock recovery and not rooted...
Followed the instructions for downloading & manually flashing kitkat OTA here:
www.androidpolice.com/2013/11/13/yo...4-4-ota-update-krt16o-for-2013-wi-fi-nexus-7/
Noted this from the instructions:
"You don't need a USB cable if you're just planning to download the OTA zip directly to your device and flash it from recovery."
When I booted into stock recovery there is no option to flash the update.zip... only option is to sideload update via ADB..
What am I missing
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
they are talking about flashing it from a custom recovery, if i am not mistaken. you can still use the asb method
OldDogEyes said:
Note: everything stock on my 2013 N7... locked bootloader, stock recovery and not rooted...
Followed the instructions for downloading & manually flashing kitkat OTA here:
www.androidpolice.com/2013/11/13/yo...4-4-ota-update-krt16o-for-2013-wi-fi-nexus-7/
Noted this from the instructions:
"You don't need a USB cable if you're just planning to download the OTA zip directly to your device and flash it from recovery."
When I booted into stock recovery there is no option to flash the update.zip... only option is to sideload update via ADB..
What am I missing
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Sideload. Do you have the Android SDK installed? If not, do you at least have the basic tools? ADB, Fastboot,etc? If so...
Enter sideload mode.
put the update.zip file in that folder ( with the adb exe) and open a command window (with nothing selected, hold shift and right click in the empty area in that folder. Click on "open command window here"). (Windows instructions) type adb sideload <filename>.zip <Enter>
That should push the file to your device, and immediately flash it.
Soapy77 said:
Sideload. Do you have the Android SDK installed? If not, do you at least have the basic tools? ADB, Fastboot,etc? If so...
Enter sideload mode.
put the update.zip file in that folder ( with the adb exe) and open a command window (with nothing selected, hold shift and right click in the empty area in that folder. Click on "open command window here"). (Windows instructions) type adb sideload <filename>.zip <Enter>
That should push the file to your device, and immediately flash it.
Click to expand...
Click to collapse
Pardon my ignorance but is there a way to flash 4.4 without a PC? My laptop is broke.
mikepahl318 said:
they are talking about flashing it from a custom recovery, if i am not mistaken. you can still use the asb method
Click to expand...
Click to collapse
I have a PC.. and ADB. But the article said that it could be done on the device... poorly written article ... made it sound like it could be flashed sans PC from a stock device... guess not...
Sent from my Nexus 7 using xda app-developers app
crspang said:
Pardon my ignorance but is there a way to flash 4.4 without a PC? My laptop is broke.
Click to expand...
Click to collapse
Yes, if your bootloader is unlocked and you have a custom recovery installed. You should be able to download it to the device, then flash it with the custom recovery.

[HOW-TO] Root the Shield TV

First of all, let me say this isn't my post, and I didn't develop this method. The user, "Teletype" got this all figured out and did an amazing write-up for it. I'm posting it on their behalf so it can be in this newly added forum. The link to the recovery zip is also in his original thread, which I've linked below.
Here's the link to his original thread. If you feel the urge to press "thanks", please go to his original thread and press it for him, he deserves all the credit.
teletype said:
I just managed to get TWRP running on the new Shield console, and installed SuperSU successfully. Two caveats: the display is upside down, and the USB host ports don't work. I had to plugin a mouse via an OTG cable in order to interact with it. ETA: That's only an issue when booted to TWRP. Everything's working fine in the stock ROM after rooting.
Procedure:
- enable developer tools / USB debugging
- adb push supersu.zip /sdcard
- adb reboot bootloader
- fastboot oem unlock
- fastboot boot twrp-2.8.6.0-shieldtv-unofficial.img
- unplug USB cable, connect mouse via USB, install SuperSU
TWRP boot image is attached. Off to explore...
EDIT: by request, some more detailed instructions:
On the Shield device, head to Settings -> About, and click "Build number" 7 times. This will enable Android's Developer options.
Go to Settings -> Developer options, and enable USB debugging.
Install the ADB/fastboot drivers and utilities if you don't already have them. When "adb devices" shows your Shield, you're good to go.
Download and extract recovery.zip from this thread.
Head to the SuperSU forum and download the latest version.
Open a command prompt and navigate to the directory where you downloaded everything. (Google this for your OS if you don't know how).
With the Shield still booted, run "adb push supersu.zip /sdcard" (change supersu.zip to appropriate file name). This will upload the SuperSU update zip to your device, which you'll install from TWRP.
If that worked fine, run "adb reboot bootloader". Your device should shut down, and display the Fastboot screen after a few seconds.
FOLLOW THE NEXT THREE INSTRUCTIONS AT YOUR OWN RISK. This WILL wipe all your user data, back it up with ADB first if you want to preserve it. DISCLAIMER #2: I have no idea if there are any DRM keys or anything that get wiped when this is done (this was the case on my Xperia Z3 Compact). I will say that Grid streaming still works fine after doing this.
This step will unlock your bootloader to enable booting unsigned images.
Run "fastboot devices" and make sure your Shield is visible.
Run "fastboot oem unlock" and follow the prompts on the screen. Your bootloader is now unlocked.
Now, boot the TWRP image with: "fastboot boot twrp-2.8.6.0-shieldtv-unofficial.img" - Note: I used this instead of "fastboot flash" so I could keep the stock recovery around, to grab an image of it after rooting.
You should now see a TWRP recovery menu (upside down for now).
Connect a keyboard or mouse via OTG cable, and select "Install", navigate to your SuperSU zip, select it, and follow the prompts.
Click "reboot" and you should now be rooted.
Click to expand...
Click to collapse
does this have to be done with an otg cable
You can use the supplied micro USB cable to do the adb portion. You shouldn't ever need otg with this device since it also has 2 full sized USB ports.
Sent from my nexus 9 using XDA Free mobile app
Instructions got updated
Hi,
I have updated the instructions to ones that more closely aligned with my experience of doing this. The initial instructions were good for me - but some were in slightly the wrong order or not quite clear enough to be immediately intuitive. I've tried to fix that Hope it helps.
On the Shield device, head to Settings -> About, and click "Build number" 7 times. This will enable Android's Developer options.
Exit settings, then go back in to settings -> Developer options, and enable USB debugging.
Install the ADB/fastboot drivers and utilities on to your PC if you don't already have them. When "adb devices" shows your Shield, you're good to go.
Download the latest Super user zip file from the super user thread here.
Download and extract the recovery file from here. (it needs to be a .img not a .zip)
run "adb reboot bootloader". Your device should shut down, and display the Fastboot screen after a few seconds.
FOLLOW THE NEXT THREE INSTRUCTIONS AT YOUR OWN RISK. This WILL wipe all your user data, back it up with ADB first if you want to preserve it. DISCLAIMER #2: I have no idea if there are any DRM keys or anything that get wiped when this is done.
This step will unlock your bootloader to enable booting unsigned images.
Run "fastboot devices" and make sure your Shield is listed when you do so.
Run "fastboot oem unlock" and follow the prompts on the Shield's screen. You use the power button on the shield device itself to navigate the menu, and long press to select an option. Once you have confirmed, this can take along time to unlock (hour and a half for me on the Pro version). Your bootloader is now unlocked.
"Fastboot reboot" to reboot to AndroidTV.
run "adb push supersu.zip /sdcard/" (change supersu.zip to appropriate file name that you downloaded earlier). This will upload the SuperSU update zip to your device, which you'll install from TWRP.
Now, boot the TWRP image with: "fastboot boot RECOVERYFILENAME.img" - Note: I used this instead of "fastboot flash" so I could keep the stock recovery around, to grab an image of it after rooting. (change the name of the file in the instructions to the name of your recovery file that you downloaded).
After a short while you should now see a TWRP recovery menu.
Connect a keyboard or mouse via OTG cable, and select "Install", navigate to your SuperSU zip, select it, and follow the prompts.
Click "reboot" and you should now be rooted.
Click to expand...
Click to collapse
Anyone tried kingroot?
Sean09 said:
Anyone tried kingroot?
Click to expand...
Click to collapse
We have a factory supported way to unlock and root. No real point in trying to exploit the system. If you are rooted, you should have a custom recovery anyway, which means you need to unlock the bootloader anyway in case you need to fix something.
Hey, I have rooted my shield and I didn't backup my stock recovery, anyone have a stock recovery img, I want to update to 1.4
Thanks
Gig11gs said:
Hey, I have rooted my shield and I didn't backup my stock recovery, anyone have a stock recovery img, I want to update to 1.4
Thanks
Click to expand...
Click to collapse
You can download the 1.4 firmware and flash it manually. There's a discussion on it a few pages back :good:
Will I be able to get OTA updates if I root ?
rahulkadukar said:
Will I be able to get OTA updates if I root ?
Click to expand...
Click to collapse
You'll get the OTA notification but I was not able to install the OTA. You will need to download and new firmware and flash from fastboot.
Can I still root it this way if I already updated to 1.4 as I'm still fully stock and took the OTA
Im asking the same, im on the latest as of 2015 10 19, can i root using this method ?
baileyjr said:
You'll get the OTA notification but I was not able to install the OTA. You will need to download and new firmware and flash from fastboot.
Click to expand...
Click to collapse
You're guided imagery? I read without understanding very much
Can anyone confirm this rooting method works for new firmware 2.1?
garz said:
Can anyone confirm this rooting method works for new firmware 2.1?
Click to expand...
Click to collapse
I struggled to get root with this write up, and I am not a rookie. There were a few key steps missing, for example, you actually have to flash twrp, you can't just boot from twrp as suggested, if you are on 1.4 and up. Also, you have to let the unit reboot after you do the OEM unlock before flashing twrp. I didn't and mine just froze after flashing the recovery img. I found this write up http://nvidiashieldzone.com/index.php/shield-android-tv/root-shield-android-tv/
That one in the shield zone forum was so much more complete. And yes, it worked just fine with the 2.1 update. I did it yesterday with no problems. It will wipe out your data, and it will take a long time after you do the fastboot oem unlock, especially if you have the PRO version. But root is working with no problems.
RyanInBinary said:
First of all, let me say this isn't my post, and I didn't develop this method. The user, "Teletype" got this all figured out and did an amazing write-up for it. I'm posting it on their behalf so it can be in this newly added forum. The link to the recovery zip is also in his original thread, which I've linked below.
Here's the link to his original thread. If you feel the urge to press "thanks", please go to his original thread and press it for him, he deserves all the credit.
Click to expand...
Click to collapse
Do you want to build pre-root shiled TV firmware by nvidia open source? and have experience?
Rooting.
KingRoot dose not work on this device.
Good guide thanks.
OK i have a 16gb model on 2.1, got adb hooked up but get this when trying to push supersu.zip to sdcard0:
C:\shield>adb push supersu.zip /sdcard1
failed to copy 'supersu.zip' to '/sdcard1': Read-only file system
Any ideas?
bearkilla said:
OK i have a 16gb model on 2.1, got adb hooked up but get this when trying to push supersu.zip to sdcard0:
C:\shield>adb push supersu.zip /sdcard1
failed to copy 'supersu.zip' to '/sdcard1': Read-only file system
Any ideas?
Click to expand...
Click to collapse
Try
Adb push supersu.zip /sdcard/
Inviato dal mio SHIELD Tablet utilizzando Tapatalk

Help rooting Huawei Watch

Hi,
I'm a noob trying to root my Huawei Watch (to be able to read BTLE messages). I used egalite_kernel_HW_dffc4c0-2.0 which should be rooted (and indeed I see su.sh and busybox.sh script in the /setup folder)
I did the following:
sudo adb reboot bootloader
sudo fastboot reboot-bootloader
# Unzip TWRP_3.1.1.-0_Unofficial-Sturgeon.zip => recovery.img
sudo fastboot boot recovery.img
#In the phone, using TWRP, set to ADB sidleoad (wipe data and wipe cache)
sudo adb sideload negalite_kernel_HW_dffc4c0-2.0.zip
TWRP loaded fine and the rom installed fine to, but when opening the "Advanced Settings" it says that the phone is not rooted.
Any hint of what I did wrong?
Thanks
ruscull said:
Hi,
I'm a noob trying to root my Huawei Watch (to be able to read BTLE messages). I used egalite_kernel_HW_dffc4c0-2.0 which should be rooted (and indeed I see su.sh and busybox.sh script in the /setup folder)
I did the following:
sudo adb reboot bootloader
sudo fastboot reboot-bootloader
# Unzip TWRP_3.1.1.-0_Unofficial-Sturgeon.zip => recovery.img
sudo fastboot boot recovery.img
#In the phone, using TWRP, set to ADB sidleoad (wipe data and wipe cache)
sudo adb sideload negalite_kernel_HW_dffc4c0-2.0.zip
TWRP loaded fine and the rom installed fine to, but when opening the "Advanced Settings" it says that the phone is not rooted.
Any hint of what I did wrong?
Thanks
Click to expand...
Click to collapse
You keep saying your phone. Are you trying to root a phone or a watch? I'll assume you're talking about your watch.
adb sideload is for applying OTA updates. What you want to do is flash that zip.
While in TWRP, do the following:
sudo adb push [path to kernel zip] /sdcard
In the TWRP menu, select install. Navigate to /sdcard and select the zip. Install it.
If you can't get that working, just flash the supersuwear.zip I've attached to this post using TWRP: https://forum.xda-developers.com/hu...aw-1-5-build-m9e42c-to-downgrade-2-0-t3607859
Also, use the advanced wear settings from the play store. I've had issues with the one that negaman includes in his thread.
TheSt33v said:
You keep saying your phone. Are you trying to root a phone or a watch? I'll assume you're talking about your watch.
Click to expand...
Click to collapse
Yes! I just want to root the watch.
Thanks, for the reply. I'll try it and report back
I installed TWRP_3.1.1.-0_Unofficial-Sturgeon and then I tried to install negalite_kernel_HW_dffc4c0-2.0.zip
sudo adb push negalite_kernel_HW_dffc4c0-2.0.zip /sdcard
and Installed using TWRP.
Unfortunately I got the error below:
--
set_perm: some changes failed
Updaterrocess ended with ERROR:
Error installing zip failed
--
Trying to fix the problem I started wiping parts and I screw-up and delete the system. Wonderful.
I then tried to find ROMs and finally I found Huawei-Rom-NX-v2.7.zip and successfully installed (with Root)
https://forum.xda-developers.com/hu...-negalite-huawei-rom-nx-root-bb-v1-6-t3406813
Unfortunately I find out I need a specific build NWD1.171016.002 (Stock ROM from December 2017).
Any idea were to find it?
Or shall I open a new thread?
ruscull said:
I installed TWRP_3.1.1.-0_Unofficial-Sturgeon and then I tried to install negalite_kernel_HW_dffc4c0-2.0.zip...
Click to expand...
Click to collapse
Why do you need that? You're running a rooted rom, right? Wasn't that the goal?
If your goal is actually to be on a rooted rom AND be on the latest system software, I think it would probably be best to start from scratch since you've done so much flashing and I'm really not sure what state your watch is in at this point. This is how you do that:
1. Download this factory image: https://www.androidfilehost.com/?fid=745425885120748838
2. Extract output.tar from that package. If you need software to do this, I recommend 7zip.
3. Extract the contents of output.tar.
4. Copy flash-all.sh, image-sturgeon-m6e69f.zip, flash-all.bat and bootloader-sturgeon-m6e69f.img to the same folder where you have installed fastboot.exe.
5. Boot your watch in bootloader mode (aka fastboot mode), connect it to the computer and double click on flash-all.bat. This will bring your watch to a 100% stock state.
6. Setup the watch and keep taking OTAs until you are on NWD1.171016.002 (there should only be 1 or 2 that you have to take).
7. Boot into bootloader mode and do one of the following steps:
If you want to keep the stock recovery menu and only use TWRP temporarily, perform the command fastboot boot [path to TWRP image].
If you want to have TWRP permanently installed on your watch, replacing the stock recovery menu, perform the command fastboot flash recovery [path to TWRP image]. Then select reboot to recovery in the bootloader menu.
8. Download the supersuwear.zip package that I linked to in my previous post.
9. While in TWRP, adb push [path to supersuwear.zip] /sdcard
10. Install supersuwear.zip using TWRP menu.
And there you go. Latest firmware version, rooted. Download advanced wear settings from the play store if you want it.
Youre the man.
TheSt33v said:
Why do you need that? You're running a rooted rom, right? Wasn't that the goal?
If your goal is actually to be on a rooted rom AND be on the latest system software, I think it would probably be best to start from scratch since you've done so much flashing and I'm really not sure what state your watch is in at this point. This is how you do that:
1. Download this factory image: https://www.androidfilehost.com/?fid=745425885120748838
2. Extract output.tar from that package. If you need software to do this, I recommend 7zip.
3. Extract the contents of output.tar.
4. Copy flash-all.sh, image-sturgeon-m6e69f.zip, flash-all.bat and bootloader-sturgeon-m6e69f.img to the same folder where you have installed fastboot.exe.
5. Boot your watch in bootloader mode (aka fastboot mode), connect it to the computer and double click on flash-all.bat. This will bring your watch to a 100% stock state.
6. Setup the watch and keep taking OTAs until you are on NWD1.171016.002 (there should only be 1 or 2 that you have to take).
7. Boot into bootloader mode and do one of the following steps:
If you want to keep the stock recovery menu and only use TWRP temporarily, perform the command fastboot boot [path to TWRP image].
If you want to have TWRP permanently installed on your watch, replacing the stock recovery menu, perform the command fastboot flash recovery [path to TWRP image]. Then select reboot to recovery in the bootloader menu.
8. Download the supersuwear.zip package that I linked to in my previous post.
9. While in TWRP, adb push [path to supersuwear.zip] /sdcard
10. Install supersuwear.zip using TWRP menu.
And there you go. Latest firmware version, rooted. Download advanced wear settings from the play store if you want it.
Click to expand...
Click to collapse
Bro Thanks!!!!!

Categories

Resources