• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[GUIDE] 8.2.3 + Magisk root + MagiskHide + TWRP

Search This thread

Krijos

New member
Jan 2, 2019
1
3
Based on the work done in https://forum.xda-developers.com/t/how-to-root-and-install-magisk-on-nstv-2019-pro-v8-2-0.4189567/

User friendly guide written for Windows. Bash script for Linux flashing edited as well, but guide is focused on Windows users.

Enhanced upscaling is confirmed to work, have not been able to confirm AI upscaling (Unsupported content). Dolby Vision unconfirmed as I do not yet have a TV that supports it. If someone can verify if this works or not I will update this post accordingly.

Prerequisites:
  1. USB-A male to USB-A male cable.
  2. USB mouse.
  3. USB drivers: https://developer.nvidia.com/gameworksdownload#?search=SHIELD Family Windows USB
  4. Android SDK: https://developer.android.com/studio/releases/platform-tools
  5. Premade archive: https://drive.google.com/file/d/1XDzQyWviwVbjxNRsWJ8pG-HPSKW-Kzyl/view?usp=sharing
Unlocking the bootloader:
  1. Go into Settings > Device Preferences > About.
  2. Select "Build" several times until "You are now a developer!".
  3. Go into Settings > Device Preferences > Developer options.
  4. Activate USB debugging.
  5. Connect one end of your USB-A to USB-A cable into the port furthest away from the HDMI on your SHIELD TV and the other into your computer.
  6. Open a command shell (command prompt, powershell, bash, etc) on your computer.
  7. Navigate to where you extracted the Android SDK.
  8. Run command:
    1. adb devices
  9. Confirm that your device appears in the list of devices. If not this may be due to:
    1. USB cable not connected properly. Check cable.
    2. Device not recognized. Reinstall drivers/restart computer. Generic Android USB drivers may work if NVIDIA doesn't.
  10. Run command:
    1. adb reboot bootloader
  11. Wait for fastboot to start.
  12. Run command:
    1. fastboot devices
  13. Confirm that your device appears in the list of devices. If not see above reasons.
  14. Run command:
    1. fastboot oem unlock
Flashing:
  1. On your computer navigate to where you have extracted the archive from the post.
  2. Run command:
    1. flash-all.bat
  3. If all goes well you should be rebooted into TWRP recovery once the procedure is done.
  4. Connect your USB mouse to the USB port closest to the HDMI port on your SHIELD TV.
  5. Slide to unlock.
  6. Go into Mount.
  7. Select "Enable MTP".
  8. Move "Magisk-v23.0.zip" from the downloaded archive to your SHIELD TV.
  9. Select "Disable MTP".
  10. Go into Install.
  11. Select "Magisk-v23.0.zip" and install it.
  12. Go into Reboot.
  13. Select "System".
Getting Magiskhide to work:
  1. Install Termux from Google Play.
  2. Open Termux and run:
    1. su
    2. cat >/data/post-fs-data.d/bootfix-post.sh
    3. resetprop ro.boot.verifiedbootstate orange
  3. Press Ctrl+d.
  4. Run:
    1. chmod +x /data/post-fs-data.d/bootfix-post.sh
    2. cat >/data/service.d/bootfix-service.sh
    3. resetprop ro.boot.verifiedbootstate green
  5. Press Ctrl+d.
  6. Run:
    1. chmod +x /data/service.d/bootfix-service.sh
  7. Open Magisk (Settings > Apps > See all apps > Magisk > Open)
  8. Select the shield icon on the bottom bar.
  9. Enable MagiskHide
  10. Reboot system
ALL DONE!

Sources of the premade archive contents are the following:
  1. Android SDK: https://developer.android.com/studio/releases/platform-tools (fastboot)
  2. The following Shield ROMs from https://developer.nvidia.com/gameworksdownload#?search=2019&tx=$additional,shield:
    1. NVIDIA SHIELD ANDROID TV 2019 Pro Developer Only OS Image 8.1.0 (vbmeta_skip.img)
    2. NVIDIA SHIELD ANDROID TV 2019 Pro Developer Only OS Image 8.2.0 (mdarcy.dtb.img)
    3. NVIDIA SHIELD ANDROID TV 2019 Pro Developer Only OS Image 8.2.3
  3. Latest TWRP recovery from https://twrp.me/nvidia/nvidiashieldandroidtv2019.html (recovery.img)
  4. Latest Magisk from https://github.com/topjohnwu/Magisk/releases
 
Last edited:

albinoman887

Inactive Recognized Developer
Dec 14, 2010
3,899
16,162
Snohomish, WA
can someone explain the "MagiskHide" section of the guide? i dont have those .sh files present in /data/ . Should i just create them with the resetprop commands as the content? i just dont see where you even got those from
 

albinoman887

Inactive Recognized Developer
Dec 14, 2010
3,899
16,162
Snohomish, WA
Screenshot_20210905-181808.png



I revised some steps and am now passing CTS fully... AI upscailing still says unspoorted content but i dont know if thats cuz i dont have a 4k TV, enhanced works.... i'll write up a quick and dirty guide later tonight... I need to look through everything and make sure i didnt install unneeded ****... but mainly just some props changes
 

bolme123

Member
Sep 20, 2014
32
0
View attachment 5402781


I revised some steps and am now passing CTS fully... AI upscailing still says unspoorted content but i dont know if thats cuz i dont have a 4k TV, enhanced works.... i'll write up a quick and dirty guide later tonight... I need to look through everything and make sure i didnt install unneeded ****... but mainly just some props changes
Did you get around to make that guide?

Im struggling getting around the cts check.
 

bolme123

Member
Sep 20, 2014
32
0
View attachment 5402781


I revised some steps and am now passing CTS fully... AI upscailing still says unspoorted content but i dont know if thats cuz i dont have a 4k TV, enhanced works.... i'll write up a quick and dirty guide later tonight... I need to look through everything and make sure i didnt install unneeded ****... but mainly just some props changes
Did you get around to make that guide?

Im struggling getting around the cts check.
 

albinoman887

Inactive Recognized Developer
Dec 14, 2010
3,899
16,162
Snohomish, WA
Did you get around to make that guide?

Im struggling getting around the cts check.
Ahh crap... I'll be totally honest I completely forgot . I'll get that done by the time I go to bed today. . to be honest though I think what might have done it was I changed my device fingerprint using MagiskPropsConfig module and chose the one for sheid that's included with your IPTV service ... Other than that I just made sure there was no like things exposed that didn't need to be and removed
 
  • Like
Reactions: bolme123

bolme123

Member
Sep 20, 2014
32
0
Ahh crap... I'll be totally honest I completely forgot . I'll get that done by the time I go to bed today. . to be honest though I think what might have done it was I changed my device fingerprint using MagiskPropsConfig module and chose the one for sheid that's included with your IPTV service ... Other than that I just made sure there was no like things exposed that didn't need to be and removed
Thank you man, you nudged me in the right direction.

I was able to successfully pass the ctsCheck, and i accumulated new knowledge, thanks man!

Have a blessed day.

Before i go along with my day, did you have any success with LSPosed?
I''m gonna check now if i'm able to disable the SECURE_FLAG without tripping the SafetyNet.
 

tokoam

Senior Member
Jun 24, 2007
920
167
Plantation
Thank you man, you nudged me in the right direction.

I was able to successfully pass the ctsCheck, and i accumulated new knowledge, thanks man!

Have a blessed day.

Before i go along with my day, did you have any success with LSPosed?
I''m gonna check now if i'm able to disable the SECURE_FLAG without tripping the SafetyNet.
has anyone gotten AI- Upscaling to work ?
 

aouamed

New member
Aug 31, 2016
1
0
Nvidia Shield TV pro 2019 :
I did all the steps and I have this error
I start again several times the same problem


in start there is the following message...

 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Based on the work done in https://forum.xda-developers.com/t/how-to-root-and-install-magisk-on-nstv-2019-pro-v8-2-0.4189567/

    User friendly guide written for Windows. Bash script for Linux flashing edited as well, but guide is focused on Windows users.

    Enhanced upscaling is confirmed to work, have not been able to confirm AI upscaling (Unsupported content). Dolby Vision unconfirmed as I do not yet have a TV that supports it. If someone can verify if this works or not I will update this post accordingly.

    Prerequisites:
    1. USB-A male to USB-A male cable.
    2. USB mouse.
    3. USB drivers: https://developer.nvidia.com/gameworksdownload#?search=SHIELD Family Windows USB
    4. Android SDK: https://developer.android.com/studio/releases/platform-tools
    5. Premade archive: https://drive.google.com/file/d/1XDzQyWviwVbjxNRsWJ8pG-HPSKW-Kzyl/view?usp=sharing
    Unlocking the bootloader:
    1. Go into Settings > Device Preferences > About.
    2. Select "Build" several times until "You are now a developer!".
    3. Go into Settings > Device Preferences > Developer options.
    4. Activate USB debugging.
    5. Connect one end of your USB-A to USB-A cable into the port furthest away from the HDMI on your SHIELD TV and the other into your computer.
    6. Open a command shell (command prompt, powershell, bash, etc) on your computer.
    7. Navigate to where you extracted the Android SDK.
    8. Run command:
      1. adb devices
    9. Confirm that your device appears in the list of devices. If not this may be due to:
      1. USB cable not connected properly. Check cable.
      2. Device not recognized. Reinstall drivers/restart computer. Generic Android USB drivers may work if NVIDIA doesn't.
    10. Run command:
      1. adb reboot bootloader
    11. Wait for fastboot to start.
    12. Run command:
      1. fastboot devices
    13. Confirm that your device appears in the list of devices. If not see above reasons.
    14. Run command:
      1. fastboot oem unlock
    Flashing:
    1. On your computer navigate to where you have extracted the archive from the post.
    2. Run command:
      1. flash-all.bat
    3. If all goes well you should be rebooted into TWRP recovery once the procedure is done.
    4. Connect your USB mouse to the USB port closest to the HDMI port on your SHIELD TV.
    5. Slide to unlock.
    6. Go into Mount.
    7. Select "Enable MTP".
    8. Move "Magisk-v23.0.zip" from the downloaded archive to your SHIELD TV.
    9. Select "Disable MTP".
    10. Go into Install.
    11. Select "Magisk-v23.0.zip" and install it.
    12. Go into Reboot.
    13. Select "System".
    Getting Magiskhide to work:
    1. Install Termux from Google Play.
    2. Open Termux and run:
      1. su
      2. cat >/data/post-fs-data.d/bootfix-post.sh
      3. resetprop ro.boot.verifiedbootstate orange
    3. Press Ctrl+d.
    4. Run:
      1. chmod +x /data/post-fs-data.d/bootfix-post.sh
      2. cat >/data/service.d/bootfix-service.sh
      3. resetprop ro.boot.verifiedbootstate green
    5. Press Ctrl+d.
    6. Run:
      1. chmod +x /data/service.d/bootfix-service.sh
    7. Open Magisk (Settings > Apps > See all apps > Magisk > Open)
    8. Select the shield icon on the bottom bar.
    9. Enable MagiskHide
    10. Reboot system
    ALL DONE!

    Sources of the premade archive contents are the following:
    1. Android SDK: https://developer.android.com/studio/releases/platform-tools (fastboot)
    2. The following Shield ROMs from https://developer.nvidia.com/gameworksdownload#?search=2019&tx=$additional,shield:
      1. NVIDIA SHIELD ANDROID TV 2019 Pro Developer Only OS Image 8.1.0 (vbmeta_skip.img)
      2. NVIDIA SHIELD ANDROID TV 2019 Pro Developer Only OS Image 8.2.0 (mdarcy.dtb.img)
      3. NVIDIA SHIELD ANDROID TV 2019 Pro Developer Only OS Image 8.2.3
    3. Latest TWRP recovery from https://twrp.me/nvidia/nvidiashieldandroidtv2019.html (recovery.img)
    4. Latest Magisk from https://github.com/topjohnwu/Magisk/releases
    1
    reboot to recovery command fails with error and doesnt reboot to twrp. manually booting twrp from fastboot via fastboot boot recovery.img works
    1
    Did you get around to make that guide?

    Im struggling getting around the cts check.
    Ahh crap... I'll be totally honest I completely forgot . I'll get that done by the time I go to bed today. . to be honest though I think what might have done it was I changed my device fingerprint using MagiskPropsConfig module and chose the one for sheid that's included with your IPTV service ... Other than that I just made sure there was no like things exposed that didn't need to be and removed