[Shield Android TV Android Development] nanerasingh:
nVidia Shield TV 2017(16gb)China Version(Iqiyi)

Flash non Chinese Version firmware Installation Guide with root

Things to know:

1.Adb & fastboot drivers,shield family drivers.(https://nvidiashieldzone.com/download/shield-family-drivers/).

2.Download the latest Stock Recovery or developer OS Images from nvidia download site(https://developer.nvidia.com/gameworksdownload#?search=SHIELD%20TV%202017&tx=$additional,shield)

Downlaod and extract.(There will be system flash-all.bat to execute in bootloader mode for flashing firmware)

3.To flash firmware you must unlock your bootloader.(It will void your warranty and every reboot Message for lock bootlodaer to avoid corrupt & that cant be removed forever)

4.TWRP download link ,Alwyas check latest build(https://twrp.me/nvidia/nvidiahshieldandroidtv.html (https://eu.dl.twrp.me/foster/twrp-3.2.3-0-foster.img)Thanks for the developer who made custom recovery.

5.Super users or Magisk patching for rooting.Check latest Build on related websites.(Superuser Also Attached)

6.Build.prop modifications.As if user in china need skip setup wizard to go to Launcher screen other wise Google services blocked in china and cant skip the setupwizard without Google linking for signup.Or There are other guides to connect shield with google services wifi. People can able to create hotspot in windows pc or any vpn router.

7.Male to male usb cable.Connect with pc & shield Tv.

Goto to Instructions :

SHIELD TV drivers and conenction is must before go head to below steps.

1.Put shield to Bootloader state by Gamepad Controller.There are adb command also after enabling USB Debugging to put device in bootloader.

PLug your gamepad controller usb in shield tv Near to HDMI usb port.Power Off Shield TV plug take out.

While keep holding down the A and B buttons at the same time, plug the Shield TV into the power supply till it shows bootloader options.(Gamepad will vibrate two times)Ater that you will be in Bootloader screen.

X and Y buttons can use for menu option selection.A for confirm.

Ton makesure if device is connected with pc without any issue use the below command in windiws CMD.

fastboot reboot-bootloader

-or

fastboot devices

2.Unlocking bootloader(Latest 7.2 bootloader will show more options then 7.1 Firmware) Sleect unlock bootloader for latest bootloader 7.2.

otherwise use below commands.Type below command

fastboot oem unlock

-Confirm by pressing A button.It will take while to unlock bootloader(Tooks max 5-10 min)

3.Flashing Stock Firmware(7.1 or 7.2 latest build)

Open the flash-all.bat. It will start flashing the firmware took 5-10 min max.

It will reboot your device and you can see Setupwizard.Firmware Updated.(In China its quite not easy to finish setupwizard)

4.Flashing or Booting custom Recovery or fully repalcing recovery.Put your device in BOOTLOADER as mentiond in Instructions 1.

Open CMD in same directory location.(Rename your TWRP recovery file to recovery.img)

-Type below for Temproray booting to custom recovery.

fastboot boot recovery.img

-Fully Replace stock recovery to Custom TWRP use below command

fastboot flash recovery recovery.img

You will boot in TWRP.And use Backup restore or other funtions.

Install Magisk Mangaer Root or SuperUser Root.There are other Thread available for Superuser & Magisk installation.

5.Applying Superuser root patch OR Magisk Mangaer root patch to boot.img.Download files from Things to know: in step 5.

Click Advanced Adb sideloaded in TWRP menu and apply below commands.

For Flashing Supersuer root(Change zip file name to supersu.zip) OR For flashing Magisk root(Change zip file name to Magisk-v18.0.zip).

adb sideload supersu.zip

or

adb sideload Magisk-v18.0.zip

Skipping SetupWizard

6.This is for Skipping SetupWizard and go to Launcher screen directly.

Got to TWRP Mount option and slect System tick.And use below commands.

adb pull system/build.prop

adb shell mv system/build.prop /system/build.propp

You will see build.prop file in your folder.Open it and go to ro.setupwizard.mode=OPTIONAL and change OPTIONAL to DISABLED (ro.setupwizard.mode=DISABLED)

and Save file.Apply below command tp push modiefied build.prop to system and setting Permissions.

adb push build.prop system/

adb shell chmod 0755 system/build.prop

7.Reboot system from TWRP or adb reboot

I will update this thread based on New 7.2 Upgrade Version after Root & TWRP got updates.

Update 26.12.2018

I downgraded to 7.1 by below step.

-Flashed developer 7.1 firmware.Flash all.bat.Device will reboot after finish and next step must has to follow.

Next step is important-Note

-After install finish shield will reboot so be ready with your Game controller plugged by usb in device in near hdmi usb port.

-hold A B button of controller to enter fastboot and locked the bootloader.

-Rebooted and on 7.1 firmware setupwizard,Luckily after few steps i goes directly to Home screen and adb debugging on.

-Unlocked bootloader and flashed Magiskv18 via twrp.

Now i downloaded FULL OTA Update 7.2.2 and update after backup ota file from Root explorer i patched it with magisk app with Preserve AVB 2.0/dm-verity checked.And saved pathced_boot.img of 7.2.2.

-Then Updated to 7.2.2 ota.

-After boot to home screen enabled adb debugging.and reboot to bootloader.

-flashed pathced_boot.img of 7.2.2.

-rebooted and magisk root available on my 7.2.2 version(as it doesnt shows any version in system info just- Unkown)

-As current magisk wont give full root acces and work as sysemless root.

thanks to follwing guide too.

https://xdaforums.com/shield-tv/development/shield-tv-7-2-developer-update-downgrade-t3880950/page4

https://xdaforums.com/shield-tv/general/guide-root-nvidia-shield-experience-t3882254/page4