How to Root and install Magisk on NSTV 2019 Pro v8.2.0

Search This thread

LazorBlind

Senior Member
Feb 25, 2020
58
16
After some testing it seems to me that, at least when updating from magisk rooted 8.2.1 with various modules installed, following any part of this guide will cause different forms of bootloop.

First I tried following the entire guide, and I get hung up on the spinning colored circles forever.

Then I though that perhaps since the dtb and vmbeta files are from 8.2.0 and 8.1.0 that maybe that was causing the issue. So I restored my backup and started over. This time I only tried to flash magisk. Upon restarting I found I couldn't get past the nvidia logo, and it would just keep restarting.

I thought okay maybe it has something to do with my magisk modules. So I used the Magisk Manager for Recovery Mode zip to put Magisk in core only mode, which will not load any modules on start up, same issue.

This is only my result though. Maybe I did something wrong. Honestly I would suggest anyone that is on 8.2.2 and has never rooted before to give it a shot. Just make sure you make a backup in TWRP before you do anything.
 

protechtedd

Senior Member
Jun 17, 2014
260
192
OnePlus 5
OnePlus 7 Pro
After some testing it seems to me that, at least when updating from magisk rooted 8.2.1 with various modules installed, following any part of this guide will cause different forms of bootloop.

This is only my result though. Maybe I did something wrong. Honestly I would suggest anyone that is on 8.2.2 and has never rooted before to give it a shot. Just make sure you make a backup in TWRP before you do anything.
If I am reading this correct, you are saying you updated from 8.2.1 that was already rooted via Magisk, up to 8.2.2 with the Magisk intact?

IIRC, you should uninstall Magisk before updating a ROM. Did you try fully uninstalling Magisk and booting into 8.2.2? If that works, then if you install the same Magisk that worked on 8.2.1 and it does not work in the same way that it once worked, then it may be that we need a newer/hacked Magisk to make it work with 8.2.2.

Also, we may want to downgrade to 8.2.1 until someone figures this out. Did you use the main guide in this thread for 8.2.1 and that works fine? If so, I'll try that later.
 
  • Like
Reactions: mrhamed

LazorBlind

Senior Member
Feb 25, 2020
58
16
If I am reading this correct, you are saying you updated from 8.2.1 that was already rooted via Magisk, up to 8.2.2 with the Magisk intact?

IIRC, you should uninstall Magisk before updating a ROM. Did you try fully uninstalling Magisk and booting into 8.2.2? If that works, then if you install the same Magisk that worked on 8.2.1 and it does not work in the same way that it once worked, then it may be that we need a newer/hacked Magisk to make it work with 8.2.2.

Also, we may want to downgrade to 8.2.1 until someone figures this out. Did you use the main guide in this thread for 8.2.1 and that works fine? If so, I'll try that later.

Yes the guide works just fine on 8.2.1. That was what I was on when. I first rooted with this guide.

I didn't uninstall magisk before updating. I didn't even know about the recommendation to remove it before updating a ROM. When I updated and rebooted the shield, I checked Magisk Manager and Magisk just wasn't there. I used tried both the zip included here, and the latest zip and got the same results both times.

Oddly enough though, even though I restored my backup, the about page in settings still report as being 8.2.2, yet manually checking for an update asks me to update to it.

EDIT: meant to say the guide works fine on 8.2.1. Corrected above
 
Last edited:
  • Like
Reactions: KokkoM

cylarian

New member
Dec 1, 2016
1
2
I can confirm that the steps @mrhamed laid out in the first post work on 8.2.2. However, if you enable MagiskHide and reboot, the device will boot loop at the spinning circles.
If you disable MagiskHide before rebooting, you can avoid the boot loop.
If you get stuck in a boot loop, you will need to enter fastboot and flash the Magisk uninstaller.
If someone knows a way to flash a MagiskHide uninstaller, that would be great.
I'm curious what part of MagiskHide is causing it to boot loop though.
 

careloads

Senior Member
Jun 9, 2017
184
35
OnePlus 5T
I think I have done it with quite an effort. Here are some notes:
  • Driver issues persisted through the whole process. After many of the steps I had to reinstall them to get connectivity. In the end I found that selecting "MTB USB Device" and just hitting "Next" did it.
  • Without a Shield Controller it is much harder to use bootloader. With power off, hold A and B on a plugged in keyboard while powering up and it will enable the keyboard and boot bootloader.
  • I got bootloops frequently after unlocking bootloader. Had to try several times pressing "A" to stop the bootloop.
  • The steps didnt say to install Magisk Manager so I didnt. I also did not do a factory reset after the initial bootloader unlock factory reset. It appears to be ok without it. Any thoughts on that?
  • Forgot to make a backup before starting the whole thing so dont forget to do that! I have made one now.
Hope to see some ROMs soon. Thanks for the help all!

1) Download TWRP from https://androidfilehost.com/?fid=8889791610682947099

2) Download Magisk ZIP from https://github.com/topjohnwu/Magisk/releases/download/v21.2/Magisk-v21.2.zip

3) Download and install Android Platform Tools (ADB, Fastboot, etc) from https://developer.nvidia.com/gameworksdownload#?search=SHIELD Family Windows USB

4) Go into Bootloader/Fastboot mode

5) Unlock your bootloader:

fastboot oem unlock

6) Boot into TWRP:

fastboot boot twrp-3.4.0-0-20200926-UNOFFICIAL-foster.img

7) Install Magisk (Magisk-v21.2.zip)

8) Go back to the TWRP main menu, click on Reboot. DO NOT INSTALL TWRP

9) Reboot into Bootloader/Fastboot mode

10) Go to https://developer.nvidia.com/gameworksdownload#?search=nvidia shield android tv 2019

11) Download "NVIDIA SHIELD ANDROID TV 2019 Pro Recovery OS Image for 8.2.0"

12) Download "NVIDIA SHIELD ANDROID TV 2019 Pro Developer Only OS Image for 8.1.0"

13) Extract "NVIDIA SHIELD ANDROID TV 2019 Pro Recovery OS Image for 8.2.0" and install the ROM except for vbmeta:

fastboot flash staging blob
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash dtb mdarcy.dtb.img

14) Extract "NVIDIA SHIELD ANDROID TV 2019 Pro Developer Only OS Image for 8.1.0" and flash vbmeta_skip:

fastboot flash vbmeta vbmeta_skip.img

15) Reboot

16) In Android, select a language

17) At the "Do you have an Android phone or tablet?" screen, on the remote, press UP UP LEFT LEFT (or up up right right, I don't remember)

18) Debug menu will appear, select the option to use google
 
Last edited:
I did some test and with Magisk beta Ai-upscaling work with Magisk hide (what i quick testing), but still cant reboot.
Have to test hide some system apps or hide Magisk manager itself, it maybe work reboot tho.

But its not big thing disable Magisk hide before rebooting, because rarely need reboot.
Noticing that too. I revert stock backup, flash only Magisk.zip axidentaly (not vbmeta etc..) but it boot fine.

I testing more this weekend.
 

LazorBlind

Senior Member
Feb 25, 2020
58
16
I did some test and with Magisk beta Ai-upscaling work with Magisk hide (what i quick testing), but still cant reboot.
Have to test hide some system apps or hide Magisk manager itself, it maybe work reboot tho.

But its not big thing disable Magisk hide before rebooting, because rarely need reboot.
Noticing that too. I revert stock backup, flash only Magisk.zip axidentaly (not vbmeta etc..) but it boot fine.

I testing more this weekend.
Wait but don't you have to restart for magiskhide to take effect?
 
Did you check to see if it passes safetynet? I have an app that isn't working properly and I think that's why.
Yes it pass.
0B19A584-ED64-41AA-9A58-690226DACF9A.jpeg
0B19A584-ED64-41AA-9A58-690226DACF9A.jpeg
 

careloads

Senior Member
Jun 9, 2017
184
35
OnePlus 5T
But you dont need flash at all. Go Magisk manager setting and change beta channel update via manager, install page press next dont X on recovery mode, then it open Method and update direct install. Remember swith off magisk hide.
Thats just it, No Magisk Manager appears. I unlocked, used TWRP to flash Magisk.zip but maybe I flashed latest one instead of the one here. Maybe I flashed wrong Magisk? Update: I flashed 21.4 instead of the 21.2 that was instructed. Does that matter?
 
Last edited:
  • Like
Reactions: careloads

LazorBlind

Senior Member
Feb 25, 2020
58
16
Thats just it, No Magisk Manager appears. I unlocked, used TWRP to flash Magisk.zip but maybe I flashed latest one instead of the one here. Maybe I flashed wrong Magisk? Update: I flashed 21.4 instead of the 21.2 that was instructed. Does that matter?

Magisk manager doesn't show in the default app drawer. You will need to use an alternative launcher or go into the settings menu and click apps to view every app installed
 
  • Like
Reactions: careloads

LazorBlind

Senior Member
Feb 25, 2020
58
16
But you dont need flash at all. Go Magisk manager setting and change beta channel update via manager, install page press next dont X on recovery mode, then it open Method and update direct install. Remember swith off magisk hide.
Is it possible to flash beta over stable from magisk manager? In changed the update channel then tried a direct install but I think it just reflashed the same stable
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    1) Download TWRP from https://androidfilehost.com/?fid=8889791610682947099

    2) Download Magisk ZIP from https://github.com/topjohnwu/Magisk/releases/download/v21.2/Magisk-v21.2.zip

    3) Download and install Android Platform Tools (ADB, Fastboot, etc) from https://developer.nvidia.com/gameworksdownload#?search=SHIELD Family Windows USB

    4) Go into Bootloader/Fastboot mode

    5) Unlock your bootloader:

    fastboot oem unlock

    6) Boot into TWRP:

    fastboot boot twrp-3.4.0-0-20200926-UNOFFICIAL-foster.img

    7) Install Magisk (Magisk-v21.2.zip)

    8) Go back to the TWRP main menu, click on Reboot. DO NOT INSTALL TWRP

    9) Reboot into Bootloader/Fastboot mode

    10) Go to https://developer.nvidia.com/gameworksdownload#?search=nvidia shield android tv 2019

    11) Download "NVIDIA SHIELD ANDROID TV 2019 Pro Recovery OS Image for 8.2.0"

    12) Download "NVIDIA SHIELD ANDROID TV 2019 Pro Developer Only OS Image for 8.1.0"

    13) Extract "NVIDIA SHIELD ANDROID TV 2019 Pro Recovery OS Image for 8.2.0" and install the ROM except for vbmeta:

    fastboot flash staging blob
    fastboot flash boot boot.img
    fastboot flash recovery recovery.img
    fastboot flash system system.img
    fastboot flash vendor vendor.img
    fastboot flash dtb mdarcy.dtb.img

    14) Extract "NVIDIA SHIELD ANDROID TV 2019 Pro Developer Only OS Image for 8.1.0" and flash vbmeta_skip:

    fastboot flash vbmeta vbmeta_skip.img

    15) Reboot

    16) In Android, select a language

    17) At the "Do you have an Android phone or tablet?" screen, on the remote, press UP UP LEFT LEFT (or up up right right, I don't remember)

    18) Debug menu will appear, select the option to use google
    4
    *** You should unlock bootloader ***
    *** This steps is not contains details so is not for newbies ***
    *** I suggest fresh install v8.2.0 to gain stable result and skip Google sign-in to safe your privacy ***

    -In fastboot mode, boot TWRP:
    Code:
    fastboot boot twrp-3.4.0-0-20200926-UNOFFICIAL-foster.img
    (Download here!)

    -Your NSTV 16GB storage will be detected on windows, Copy Magisk v21 or later in it.
    (Download here!)

    - Connect a mouse to usb (near hdmi) and flash the magisk.zip

    - Reboot to bootloader, use TWRP reboot options.

    - Flash mdarcy.dtb.img:
    Code:
    fastboot flash dtb mdarcy.dtb.img
    extract from nv-recovery-image-shield-atv-2019-pro-8.2.0.zip package.

    - Flash vbmeta_skip.img:
    Code:
    fastboot flash vbmeta vbmeta_skip.img
    extract from nv-recovery-image-shield-atv-2019-pro-8.1.0-dev_rooted.zip package, or use attached file.

    - Reboot and wait for bootup:
    Code:
    fastboot reboot

    If you wish to skip Google sign-in: go here!
    3
    Can confirm too.

    EDIT :
    Activating MagiskHide produces a black screen after the nvidia logo

    This might be the only thing keeping me from trying it at the moment. Maybe someone can figure out how MagiskHide Props Config works with AI upscaling?
    2
    I have testing almost averything with Props config, safetynet fix etc..
    All Magisk versions work (22, beta, canary) it pass safetynet and "enchanced" mode work not AI.
    All other root, dolby sounds etc.. working, just dont enable Dolby audio processing it freezing ui.
    Sounds is better without, let receiver do to job.

    If reboot with Magisk hide enabled just do this:
    a) adb shell
    b) su
    c) resetprop ro.boot.verifiedbootstate orange
    d) after device boots run: resetprop ro.boot.verifiedbootstate green

    Also safetynetfix installed it stuck on animation, but we dont need it.

    All other modules should work, i test when time Viper4Android.

    Maybe some day we get Dolbyvision and AI.

    This is fine for me now, but i keep testing
    2
    I can confirm that the steps @mrhamed laid out in the first post work on 8.2.2. However, if you enable MagiskHide and reboot, the device will boot loop at the spinning circles.
    If you disable MagiskHide before rebooting, you can avoid the boot loop.
    If you get stuck in a boot loop, you will need to enter fastboot and flash the Magisk uninstaller.
    If someone knows a way to flash a MagiskHide uninstaller, that would be great.
    I'm curious what part of MagiskHide is causing it to boot loop though.