3 ms·
The Android Debugger is best for wrangling these unfortunate creations. Here are some random notes I took while beating my Sony Bravia into submission. # Enab
by nominated1 6y ago
The Android Debugger is best for wrangling these unfortunate creations. Here are some random notes I took while beating my Sony Bravia into submission.
# Enable Develepor Tools
TV > Home menu > Settings > About.
Click the build number 7 times to activate the developer tools menu item.
Open it and click on "enable ADB debugging."
# Default ADP Port TCP - 5037 and 5555
adb connect 192.168.x.xx
A popup will appear on your TV. Use your remote to check the box to always allow connections from your PC
# Sideload app
TV > Settings > Security & restrictions > Unknown Sources
adb install apkname.apk
# List all apps
adb shell pm list packages -f > bravia-tv-packages.txt
# Uninstall an app.
adb shell pm uninstall -k --user 0 tv.samba.ssm
adb uninstall tv.samba.ssm
# Reinstall (example only)
adb shell pm install -r --user 0 tv.samba.ssm
# Disable an app if uninstall fails
adb shell pm disable-user --user 0 <package_to_disable>
# Re-enable a disabled app
adb shell pm enable <package_to_enable>
# Safe Mode
Unplug or Reboot (Settings > About)
Press and hold volume down
# Factory Reset
Unplug
On lower left (ports side)
Press and hold bottom two
Plug back in
# Filter to only show system packages.
adb shell pm list packages -f -s
# List including uninstalled packages.
adb shell pm list packages -f -u
# List all disabled apps
adb shell pm list packages -d
# Force stop app
adb shell am force-stop com.netflix.ninja
adb shell top
adb shell ps > android-processes.txt
adb shell dumpsys wifi > dumpsys_wifi.txt
adb shell logcat > logcat.txt
adb shell dumpsys package com.foo.bar > dumpsys_com.foo.bar
adb shell pm [grant|revoke] [package] android.permission.CAMERA
When done, turn off ADB debugging on the TV for security.