[GUIDE] Root NVIDIA SHIELD Experience Upgrade v7.2 with Magisk v18.0

slowgrind

Member
Oct 20, 2005
18
1
0
Hello slowgrind, which exact model of SHIELD TV* do you own and which Nvidia OS did you download?
Above you've talked about 2017 (aka Darcy) and 2015 models. The correct links to Nvidia's Recovery and Developer OS images is HERE. Check to make sure you've downloaded the correct software for your device. Note there are two flavors of 2015 models, SHIELD TV Pro (500GB) and SHIELD TV 2015 (16BG).

Do you still have ADB access to your device from your computer?
Model P2897, 16GB 2017 darcy. No adb, no fastboot, only APX mode. As I said, I used nv-recovery-image-shield-atv-7.2.1-dev_rooted.zip. Almost completely dead. Nvflash.exe job?
 

ACiDxCHRiST

Senior Member
Dec 23, 2010
223
133
0
Model P2897, 16GB 2017 darcy. No adb, no fastboot, only APX mode. As I said, I used nv-recovery-image-shield-atv-7.2.1-dev_rooted.zip. Almost completely dead. Nvflash.exe job?
Looks like you flashed the 2015 image to your 2017.

The file name for the SHIELD TV 2017 is:
nv-recovery-image-shield-atv-7.2.1-2017-dev_rooted.zip
 
  • Like
Reactions: nadia p.

Largewoodenspoon

Senior Member
Nov 12, 2011
379
97
58
Looks like you flashed the 2015 image to your 2017.

The file name for the SHIELD TV 2017 is:
nv-recovery-image-shield-atv-7.2.1-2017-dev_rooted.zip
Hi guys. Happy new year!

So, I'm still a bit confused here.

I've got the 2017 16gb unit. Fully rooted with magisk 18 on dev os image with unlocked bootloader.

I'm on 7.1.

I only ever booted into twrp via fastboot/adb to flash the image.

So, can I actually somehow update to 7.2.1 dev or even 7.2.2 test image whilst keeping full root!?

If so, what's the actual step by step process and what are the consequences? Presumably no more twrp.

Many thanks guys!

Sent from my [device_name] using XDA-Developers Legacy app
 

nadia p.

Senior Member
Dec 20, 2018
111
10
0
Hi guys. Happy new year!

So, I'm still a bit confused here.

I've got the 2017 16gb unit. Fully rooted with magisk 18 on dev os image with unlocked bootloader.

I'm on 7.1.

I only ever booted into twrp via fastboot/adb to flash the image.

So, can I actually somehow update to 7.2.1 dev or even 7.2.2 test image whilst keeping full root!?

If so, what's the actual step by step process and what are the consequences? Presumably no more twrp.

Many thanks guys!

Sent from my [device_name] using XDA-Developers Legacy app
Hello Largewoodenspoon, what ACiDxCHRiST was saying is that based on the file you listed previously:
nv-recovery-image-shield-atv-7.2.1-dev_rooted.zip <--- NOT 2017, for some other device.
nv-recovery-image-shield-atv-7.2.1-2017-dev_rooted.zip <-- 2017 for your device.

You grabbed the incorrect download by mistake from HERE and installed it. This is what caused your device to fail.
 

jinx10000

Senior Member
May 2, 2009
336
21
0
Hello Largewoodenspoon, what ACiDxCHRiST was saying is that based on the file you listed previously:
nv-recovery-image-shield-atv-7.2.1-dev_rooted.zip <--- NOT 2017, for some other device.
nv-recovery-image-shield-atv-7.2.1-2017-dev_rooted.zip <-- 2017 for your device.

You grabbed the incorrect download by mistake from HERE and installed it. This is what caused your device to fail.
I did the exact same thing. Chose the link for 2017 device but 2017 wasn't in the zip name. After I flashed it, my 2017 unit had no power at all. Sent it back and already got a new one.

https://developer.nvidia.com/gameworksdownload#?search=SHIELD%20TV%202017%20Developer&tx=$additional,shield

Can someone link me to the correct 2017 image zip file or at least the correct boot.img for the 2017?

Edit: Nevermind, found the stock images with 2017 in the file title. Bet the fact that the 2017 developer's image appears to be linking to the 2015 image is causing a few bricks...
 
Last edited:

jinx10000

Senior Member
May 2, 2009
336
21
0
It's showing the right version now but I had that link bookmarked so I know it's the one I used. It didn't have 2017 in the zip file name when I imaged it and it was a smaller file. 1.09 GB vs 1.1 GB.

Or I'm losing my mind... lol.

I looked to verify but the only zip I kept was the stock image that worked fine.
 

jionny

Senior Member
Aug 23, 2013
530
129
63
(Note before you begin: If you have a SHIELD TV 2017, you will need a quality Male-to-Male USB Type A cable to connect your SHIELD TV to a PC. If you have a SHIELD TV 2015 or a SHIELD TV Pro, you may be able to just use a regular micro USB cable, because those two models have a micro USB port)

A. Download these files to your PC:
  1. Download the Android SDK Platform-Tools
  2. Download the Official NVIDIA SHIELD family Windows USB Drivers
  3. Download the Magisk Manager APK (This is the latest version as of the time of writing)
  4. Download the ***CORRECT*** NVIDIA SHIELD Experience Upgrade v7.2 Image for your model
    (You will need to register for a Developer Account if you don't already have one. Flashing the wrong image will BRICK your device)

B. Setting up Android SDK Platform-Tools on your PC:
  1. On your PC, extract the Android SDK Platform-Tools somewhere where you can find them
  2. Add the platform-tools folder to PATH in the Windows System Environment Variables (Instructions HERE or HERE)

C. Installing the Official NVIDIA SHIELD family Windows USB Drivers on your PC:
  1. On your SHIELD TV, enable developer options and debugging (Instructions HERE)
  2. Using a Male-to-Male USB Type-A Cable, connect the USB port further away from the HDMI port on your SHIELD TV to your PC
  3. On your PC, extract the Official NVIDIA SHIELD family Windows USB Drivers somewhere where you can find them
  4. Open Device Manager and find the new device
  5. Right-click it and select Update driver
  6. Select "Browse my computer for driver software"
  7. Input the path to the folder where you extracted the Official NVIDIA SHIELD family Windows USB Drivers earlier (make sure the "Include subfolders" option is checked)
  8. Click Next and Install the Driver (if there is more than one option, select the one relating to ADB or Android Device Bridge)
  9. Open a Command Prompt and type:
    Code:
    adb devices
  10. On your SHIELD TV, a prompt will pop up asking you to allow ADB access from your computer. Check the box to remember your selection and then Grant Access
  11. On your PC, the Command Prompt should show the serial number of your SHIELD TV
    (You may have to run the 'adb devices' command again since it may have timed out the first time waiting on you to authorize the ADB connection on the SHIELD TV)
  12. Boot the SHIELD TV into bootloader/fastboot mode by typing the command:
    Code:
    adb reboot bootloader
    (Alternatively, you can enter bootloader/fastboot mode by following the instructions HERE)
  13. On your PC, open the Device Manager again and find the new device (it will probably have an error with a yellow triangle)
  14. Right-click it and select Update driver
  15. Select "Browse my computer for driver software"
  16. Input the path to the folder where you extracted the Official NVIDIA SHIELD family Windows USB Drivers earlier (make sure the "Include subfolders" option is checked)
  17. Click Next and Install the Driver (if there is more than one option, select the one NOT relating to ADB or Android Device Bridge)
  18. Open a Command Prompt and type:
    Code:
    fastboot devices
  19. The Command Prompt should show the serial number of your SHIELD TV

D. Unlocking the bootloader on your SHIELD TV (CAUTION: THIS WILL WIPE YOUR DATA AND FACTORY RESET YOUR SHIELD TV)
  1. Plug the NVIDIA SHIELD TV Game Controller or a USB Keyboard into the USB port closest to the HDMI port on your SHIELD TV
  2. In bootloader/fastboot mode on your SHIELD TV, select "Unlock Bootloader", read the message and confirm
    (Use the Y and X buttons to scroll UP and DOWN, and the A button to CONFIRM selection, if your button presses aren't doing anything you need to reboot the SHIELD TV into bootloader/fastboot mode with the Controller or Keyboard already plugged in)
  3. On your PC, open a Command Prompt and reboot your SHIELD TV to the OS by typing:
    Code:
    fastboot reboot
  4. This process only needs to be done once per device and you will not have to unlock the bootloader again for subsequent updates
    (From now on while your bootloader is unlocked, your SHIELD TV will display a warning message when it first boots saying that the system cannot check for corruption. This is perfectly normal and the boot process will resume automatically after a few seconds. There is no need to relock your bootloader unless you are selling the device or something. NEVER lock the bootloader if you have anything other than 100% stock full RECOVERY Image installed. Never even try it.)

E. Installing Magisk Manager on your SHIELD TV and Patching your boot.img
  1. On your PC, extract the NVIDIA SHIELD Experience Upgrade v7.2 Image that you downloaded to somewhere where you can find it
  2. Find the boot.img file in the folder that you extracted it to
  3. Open a Command Prompt and type:
    Code:
    adb push boot.img /storage/emulated/0/Download/
  4. Install Magisk Manager by typing 'adb install [path-to-magiskmanagerapk]' example:
    Code:
    adb install C:\MagiskManager-v6.1.0.apk
  5. On your SHIELD TV, open Magisk Manager [Settings > Device > Apps > Magisk Manager > Open]
    (The Magisk Manager App Interface is not designed to be operated with an Android TV Remote so I suggest you install the NVIDIA SHIELD TV app on your phone. Once paired with your SHIELD TV, the app has an option to let you use a virtual mouse to navigate and interact with your SHIELD TV. Alternatively, you can plug a USB Mouse into the USB port closest to the HDMI port on your SHIELD TV)
  6. If Magisk Manager automatically pops up and asks you if you would like to Install Magisk, select Cancel
  7. Make sure the "Preserve AVB 2.0/dm-verity" option is checked, and then select "Install"
  8. Select "Patch Boot Image File"
  9. Using the Virtual Mouse on the NVIDIA SHIELD TV remote app on your phone, or a USB Mouse, navigate to the "Download" folder on your internal storage and select the boot.img file that you copied over then click Open
  10. Magisk Manager will take a few moments to patch the boot.img (pay attention to the message in the console about the path to the patched_boot.img - It should be "/storage/emulated/0/Download/patched_boot.img"
  11. On your PC, in the Command Prompt type:
    Code:
    adb pull /storage/emulated/0/Download/patched_boot.img

F. Installing Magisk rooted SHIELD Experience Upgrade v7.2 on your SHIELD TV:
  1. On your PC, navigate to the folder where you extracted the NVIDIA SHIELD Experience Upgrade v7.2 Image
  2. Find the boot.img and rename it to boot.img.bak
  3. Rename the patched_boot.img to boot.img
  4. Open a Command Prompt and type:
    Code:
    adb reboot bootloader
  5. Once the SHIELD TV is in bootloader/fastboot mode, type:
    Code:
    flash-all.bat
    (It will take a few minutes for the flashing process to finish and then the SHIELD TV will automatically reboot to the OS)

Optional Stuff and Additional Information:
  • Disable Auto-Upgrades by going to [Settings > Device > About > System upgrade > Auto-upgrade]
  • Enable Full OTA's instead of Partial/Differential by going to [Settings > Preferences > Developer options > Provide full system upgrades]
    (It is the very last option at the bottom and this is very important when using a rooted device and modifications to the System partition are likely)
  • If you want to upgrade to a new OTA update with root without waiting on NVIDIA to post the Developer/Recovery images, the downloaded OTA file is in
    Code:
    /data/data/com.nvidia.ota/app_download
    (You will need a root file explorer to be able to access this directory)
  • You can extract the boot.img from the OTA zip and patch it using the same method described in step E.5 through E.10
  • You can then install the OTA the normal way [Settings > Device > About > System upgrade > Check for upgrade]
    (Make sure you have copied the OTA zip or extracted the boot.img to somewhere on your Internal Storage like "/storage/emulated/0/Download" BEFORE you install the OTA because the system will delete the file in "/data/data/com.nvidia.ota/app_download" when it installs the update and you will be unable to get it after that)
  • Copy the patched_boot.img that you made with Magisk to your PC
  • Reboot to bootloader/fastboot mode with:
    Code:
    adb reboot bootloader
  • Manually flash just the Magisk Patched boot:
    Code:
    fastboot flash boot patched_boot.img
  • Manually reboot back to the OS with:
    Code:
    fastboot reboot
I am on 7.1 developers image foster can I use this guide to go to 7.2
 
  • Like
Reactions: Topcatsheild

ACiDxCHRiST

Senior Member
Dec 23, 2010
223
133
0
I am on 7.1 developers image foster can I use this guide to go to 7.2
You can. But as has been mentioned in this thread, it won't give you FULL root permissions. If you are like me and just need root permissions for certain apps and Magisk Modules, it will work just fine. If you need to edit the build.prop or other things, you will have to flash a modified DTB as well.
 
  • Like
Reactions: jionny

jionny

Senior Member
Aug 23, 2013
530
129
63
You can. But as has been mentioned in this thread, it won't give you FULL root permissions. If you are like me and just need root permissions for certain apps and Magisk Modules, it will work just fine. If you need to edit the build.prop or other things, you will have to flash a modified DTB as well.
I have been trying to get clarification. DTB file is for Darcy only right? I have the Pro version(foster). I have not seen anything where DTB is needed for foster so just want to make sure.
 

ACiDxCHRiST

Senior Member
Dec 23, 2010
223
133
0
I have been trying to get clarification. DTB file is for Darcy only right? I have the Pro version(foster). I have not seen anything where DTB is needed for foster so just want to make sure.
Oh yeah, I guess I didn't pay attention to that in your post. Foster doesn't need it.
 

Largewoodenspoon

Senior Member
Nov 12, 2011
379
97
58
Oh yeah, I guess I didn't pay attention to that in your post. Foster doesn't need it.
Hi again guys.

I think in my previous post a couple of days ago I was unclear as to where I am at.

I'm on a 2017 16gb unit. Rooted fully with magisk v18 on nvidia experience 7.1 dev image.

I've not attempted to update to 7.2 or 7.2.1 or 7.2.2 test image which I believe is knocking around.

All I'm wanting to do is update to 7.2.1 with full root functionality. But it's a bit confusing.

Am I best to stay where I am for now guys. I'm just paranoid about the 7.2.1 update nag I keep getting!



Sent from my [device_name] using XDA-Developers Legacy app
 

ACiDxCHRiST

Senior Member
Dec 23, 2010
223
133
0
Hi again guys.

I think in my previous post a couple of days ago I was unclear as to where I am at.

I'm on a 2017 16gb unit. Rooted fully with magisk v18 on nvidia experience 7.1 dev image.

I've not attempted to update to 7.2 or 7.2.1 or 7.2.2 test image which I believe is knocking around.

All I'm wanting to do is update to 7.2.1 with full root functionality. But it's a bit confusing.

Am I best to stay where I am for now guys. I'm just paranoid about the 7.2.1 update nag I keep getting!



Sent from my [device_name] using XDA-Developers Legacy app
Go to
[Settings > Device > Apps > System upgrade > Notifications]

Turn that off. Update nag gone.

Follow the guide to get Magisk root on v7.2+

Like has been mentioned, it won't be full root, but many things will work. Magisk Modules, many apps that require root permissions, read access to whole filesystem, Adaway with Systemless hosts, etc. will all work.

If you need/want to edit the build.prop or do some other things which require writing to the /system partition that Magisk can't do for you systemlessly, then you will also need to flash a modified DTB.
 
Last edited:
  • Like
Reactions: Largewoodenspoon

elliwigy

Forum Moderator / Recognized Developer
Staff member
Mar 16, 2011
12,911
8,784
253
Phoenix
www.sampwnd.com
you can have full root without any dtb files.. all I did was started fresh, flashed the full 7.2.1 developer os images in fastboot.. set it up.. installed magisk manager.. patched the boot.img with v18 magisk.. reboot to fastboot.. "fastboot boot patched_boot.img".. once booted open magisk manager and install the zip by selecting direct install..

if you are having issues with "full root" try disabling dm-verity.. all you need to do is type "adb disable-verity" then reboot..

i tested full root by deleting play store and a number of other system apps.. and yes, they stayed gone after multiple reboots and a factory reset..

This was done on a 2017 16gb shield tv..

as mentioned in another root thread on here, there was issues with trying to root using the ota files that users had to flash a dtb file.. the full dev images were released on 12/27 tho for 7.2.1 and come with a root shell out of the box making it easy..

keep in mind twrp still doesnt work.. probably wont until someone updates it.. when i tried to boot it, it just hangs and never boots.. i also had issues at first bcuz i didnt wipe.. once i did a factoryreset everything went quick and smooth
 
  • Like
Reactions: Largewoodenspoon

Adromir

Senior Member
Aug 20, 2012
540
159
63
I am thinking about trying something entirely different right now. I am cooking a Rom from the stock images that might possibly work while still being on the 7.1 firmware. I am not sure if it will reliably work, but it might be a possibility.

Even if 7.2 firmware is required, it still might lead to a full rooting solution with magisk, but can someone on 7.2+ can do me a favor and tries to make a dump of the partition layout? Even if system partition is not mounted, I need to know if the partition is present (or if the identifier changed). I can't access my own shield rn and it's still running on 7.1 and I don't want to upgrade it yet
 
  • Like
Reactions: Largewoodenspoon