[Philips, Sony, TCL Android TV] audio_inside:
This technique is being used to root a cheap Android TV box called the Dinobot. https://www.facebook.com/dinobottv The script used to implement this technique relies on the ability to run the 'adb root' command, which restarts the adbd daemon with root permissions, accessing otherwise locked-down areas of the Android filesystem. Unfortunately, the 'adb root' command does not work on the production builds of the Sony TV.

---------- Post added at 01:59 PM ---------- Previous post was at 01:34 PM ----------

DINOROOT.BAT:

-----------------------------------------------------------------------------------------------------------------------------

echo off

cls

color 0a

echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

echo +++ ROOT ANDROID +++

echo +++ by Christ Art +++

echo +++ Satui,25 februari 2018 +++

echo +++ +++

echo +++ DINOBOT 4K +++

echo +++ " DO WITH YOUR OWN RISK " +++

echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

echo +++ +++

echo +++ Turn on your Dinobot and connect it to the computer +++

echo +++ on the local network. Note the IP address specified. +++

echo +++ +++

echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

echo +++ Press any key to start the ROOT process +++

echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

pause

taskkill /f /im adb.exe

taskkill /f /im adb.exe

:ROOT

cls

color 0b

echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

echo +++ Enter your Dinobot IP-address "X.X.X.X" +++

echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

set /p var= IP:

cls

color 0d

echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

echo +++ Starting ADB... +++

echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

adb connect %var%:5555

adb root

adb connect %var%:5555

adb remount

taskkill /f /im adb.exe

adb connect %var%:5555

adb root

adb connect %var%:5555

adb remount

color 0c

echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

echo +++ Starting ROOT... +++

echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

echo +++ Remove Cache +++

adb shell rm -f /system/bin/su

adb shell rm -f /system/xbin/su

adb shell rm -f /system/sbin/su

adb shell rm -f /vendor/sbin/su

adb shell rm -f /vendor/bin/su

adb shell rm -f /vendor/xbin/su

adb shell rm -f /system/xbin/daemonsu

adb shell rm -f /system/xbin/sugote

adb shell rm -f /system/xbin/sugote-mksh

adb shell rm -f /system/xbin/supolicy

adb shell rm -f /system/lib/libsupol.so

adb shell rm -f /system/lib64/libsupol.so

adb shell rm -f /system/bin/.ext/.su

adb shell rm -f /system/bin/install-recovery.sh

adb shell rm -f /system/etc/install-recovery.sh

adb shell rm -f /system/etc/init.d/99SuperSUDaemon

adb shell rm -f /system/etc/.installed_su_daemon

adb shell rm -f /system/app/Superuser.apk

adb shell rm -f /system/app/Superuser.odex

adb shell rm -rf /system/app/Superuser

adb shell rm -f /system/app/SuperUser.apk

adb shell rm -f /system/app/SuperUser.odex

adb shell rm -rf /system/app/SuperUser

adb shell rm -f /system/app/superuser.apk

adb shell rm -f /system/app/superuser.odex

adb shell rm -rf /system/app/superuser

adb shell rm -f /system/app/Supersu.apk

adb shell rm -f /system/app/Supersu.odex

adb shell rm -rf /system/app/Supersu

adb shell rm -f /system/app/SuperSU.apk

adb shell rm -f /system/app/SuperSU.odex

adb shell rm -rf /system/app/SuperSU

adb shell rm -f /system/app/supersu.apk

adb shell rm -f /system/app/supersu.odex

adb shell rm -rf /system/app/supersu

adb shell rm -f /system/app/VenomSuperUser.apk

adb shell rm -f /system/app/VenomSuperUser.odex

adb shell rm -rf /system/app/VenomSuperUser

adb shell rm -f /data/dalvik-cache/*com.noshufou.android.su*

adb shell rm -f /data/dalvik-cache/*/*com.noshufou.android.su*

adb shell rm -f /data/dalvik-cache/*com.koushikdutta.superuser*

adb shell rm -f /data/dalvik-cache/*/*com.koushikdutta.superuser*

adb shell rm -f /data/dalvik-cache/*com.mgyun.shua.su*

adb shell rm -f /data/dalvik-cache/*/*com.mgyun.shua.su*

adb shell rm -f /data/dalvik-cache/*com.m0narx.su*

adb shell rm -f /data/dalvik-cache/*/*com.m0narx.su*

adb shell rm -f /data/dalvik-cache/*Superuser.apk*

adb shell rm -f /data/dalvik-cache/*/*Superuser.apk*

adb shell rm -f /data/dalvik-cache/*SuperUser.apk*

adb shell rm -f /data/dalvik-cache/*/*SuperUser.apk*

adb shell rm -f /data/dalvik-cache/*superuser.apk*

adb shell rm -f /data/dalvik-cache/*/*superuser.apk*

adb shell rm -f /data/dalvik-cache/*VenomSuperUser.apk*

adb shell rm -f /data/dalvik-cache/*/*VenomSuperUser.apk*

adb shell rm -f /data/dalvik-cache/*eu.chainfire.supersu*

adb shell rm -f /data/dalvik-cache/*/*eu.chainfire.supersu*

adb shell rm -f /data/dalvik-cache/*Supersu.apk*

adb shell rm -f /data/dalvik-cache/*/*Supersu.apk*

adb shell rm -f /data/dalvik-cache/*SuperSU.apk*

adb shell rm -f /data/dalvik-cache/*/*SuperSU.apk*

adb shell rm -f /data/dalvik-cache/*supersu.apk*

adb shell rm -f /data/dalvik-cache/*/*supersu.apk*

adb shell rm -f /data/dalvik-cache/*.oat

adb shell rm -f /data/app/com.noshufou.android.su*

adb shell rm -f /data/app/com.koushikdutta.superuser*

adb shell rm -f /data/app/com.mgyun.shua.su*

adb shell rm -f /data/app/com.m0narx.su*

adb shell rm -R /data/app/eu.chainfire.supersu-*

adb shell rm -f /data/app/eu.chainfire.supersu.apk

echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

echo +++ Installing ROOT... +++

echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

adb shell mkdir -p /system/bin/.ext

adb shell chmod 0777 /system/bin/.ext

adb push su /system/bin/.ext/.su

adb push su /system/xbin/su

adb push su /system/xbin/daemonsu

adb push su /system/xbin/sugote

adb push sugote-mksh /system/xbin/sugote-mksh

adb shell chmod 6755 /system/bin/.ext/.su

adb shell chmod 6755 /system/xbin/su

adb shell chmod 6755 /system/xbin/daemonsu

adb shell chmod 6755 /system/xbin/sugote

adb shell chmod 6755 /system/xbin/sugote-mksh

adb shell mkdir -p /system/app/Superuser

adb shell mkdir -p /system/app/SuperuserPro

adb push Superuser.apk /system/app/Superuser

adb push SuperuserPro.apk /system/app/SuperuserPro

adb shell chmod 0644 /system/app/Superuser/Superuser.apk

adb shell chmod 0644 /system/app/SuperuserPro/SuperuserPro.apk

adb push .installed_su_daemon /system/etc

adb shell chmod 0644 /system/etc/.installed_su_daemon

adb push install-recovery.sh /system/etc/install-recovery.sh

adb shell ln /system/etc/install-recovery.sh /system/bin/install-recovery.sh

adb shell chmod 0755 /system/etc/install-recovery.sh

adb shell /system/xbin/su --install

color 0a

echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

echo +++ ROOT Successfully completed. +++

echo +++ DINOBOT You will restart now. +++

echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

echo +++ You can now close this window with

echo +++ the Ctrl-C shortcut.+++

echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

adb shell reboot

taskkill /IM adb.exe /F

exit