[GUIDE] 8.2.3 + Magisk root + MagiskHide + TWRP

Search This thread

Krijos

New member
Jan 2, 2019
1
4
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,919
16,268
Snohomish, WA
reboot to recovery command fails with error and doesnt reboot to twrp. manually booting twrp from fastboot via fastboot boot recovery.img works
 
  • Like
Reactions: aouamed

albinoman887

Inactive Recognized Developer
Dec 14, 2010
3,919
16,268
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,919
16,268
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
 

tokoam

Senior Member
Jun 24, 2007
931
167
Plantation
Is this the most updated guide also for the magisk hide section whats the easiest way to copy and paste this all in terminal .
 

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,919
16,268
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
931
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

Member
Aug 31, 2016
9
7
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...

 
Feb 12, 2014
18
7
So, any idea what to do when having diligently followed along and the result is those errors and now a Shield that can't boot and doesn't respond to ADB/Fastboot calls...
I can't believe I just blindly followed along and now my favourite thing in existence is bricked. I use it literally 24/7. Any ideas?
 
So, any idea what to do when having diligently followed along and the result is those errors and now a Shield that can't boot and doesn't respond to ADB/Fastboot calls...
I can't believe I just blindly followed along and now my favourite thing in existence is bricked. I use it literally 24/7. Any ideas?
its not bricked, and you didnt follow along else you wouldn't be in your current state. I literally just did this on my 2019 shield pro coming from the private beta without issue. The OP instructions need a few updates but most of those steps you should be familiar with anyway if you're going to be modding your devices

I lied, infinite loop, seems some derpy protection is getting tripped

 
Last edited:
  • Like
Reactions: aouamed
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...

its because Android is retarded and the script needs modified. After that error it should have booted into system setup, simply reboot into bootloader and `fastboot boot recovery.img` then continue onto installing magisk
 
  • Like
Reactions: aouamed

aouamed

Member
Aug 31, 2016
9
7
Thank you for your reply...
I succeeded rooted my NSTV 2019 Pro v8.2.3
NVIDIA SHIELD ANDROID TV 2019 Pro Recovery OS Image 8.2.3
NVIDIA SHIELD ANDROID TV 2019 Pro Developer Only OS Image 8.1.0 (vbmeta_skip.img)
TWRP : twrp-3.5.2_9-0-mdarcy.img
Magisk : Magisk v23.0 'beta'
Tested :
Safetynet checks pass fine...
reboot with magiskhide without probleme script 'bootfix-post.sh' 'bootfix-service.sh'
Demo mode work only Enhanced Mode
Other work well ...
Thank xda
 

LifelessLife

New member
Jul 15, 2015
4
0
Any solution for unlimited loading android splashscreen after enabled MagiskHide in Magisk after reboot shield?
 
Last edited:

aouamed

Member
Aug 31, 2016
9
7
Enable MagiskHide :
open PowerShell :
adb shell
su (confirm permission with remote control )
cat >/data/adb/post-fs-data.d/bootfix-post.sh
resetprop ro.boot.verifiedbootstate orange
Press Ctrl+d:
chmod +x /data/adb/post-fs-data.d/bootfix-post.sh
##############################
cat >/data/adb/service.d/bootfix-service.sh
resetprop ro.boot.verifiedbootstate green
Press Ctrl+d:
chmod +x /data/adb/service.d/bootfix-service.sh
Reboot system
 
  • Like
Reactions: LifelessLife
do i need to have the nvidia controller/gamepad for this? everything that needs to adb or fastboot, so far, works but ill get to a screen and itll ask to confirm something and so on. except i dont have the gamepad. if you guys say i need one, of course ill go buy one but in the mean time, if not, how are you going through it?

edit:

also, does 8.2.0 or 8 .2.3 matter? the first time, i did do it on 8.2.3 but had to restart because i didnt have a gamepad.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    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
    2
    Thank you for your reply...
    I succeeded rooted my NSTV 2019 Pro v8.2.3
    NVIDIA SHIELD ANDROID TV 2019 Pro Recovery OS Image 8.2.3
    NVIDIA SHIELD ANDROID TV 2019 Pro Developer Only OS Image 8.1.0 (vbmeta_skip.img)
    TWRP : twrp-3.5.2_9-0-mdarcy.img
    Magisk : Magisk v23.0 'beta'
    Tested :
    Safetynet checks pass fine...
    reboot with magiskhide without probleme script 'bootfix-post.sh' 'bootfix-service.sh'
    Demo mode work only Enhanced Mode
    Other work well ...
    Thank xda
    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
    1
    So, any idea what to do when having diligently followed along and the result is those errors and now a Shield that can't boot and doesn't respond to ADB/Fastboot calls...
    I can't believe I just blindly followed along and now my favourite thing in existence is bricked. I use it literally 24/7. Any ideas?
    its not bricked, and you didnt follow along else you wouldn't be in your current state. I literally just did this on my 2019 shield pro coming from the private beta without issue. The OP instructions need a few updates but most of those steps you should be familiar with anyway if you're going to be modding your devices

    I lied, infinite loop, seems some derpy protection is getting tripped