summaryrefslogtreecommitdiff
path: root/Content/posts/2020-03-03-Playing-With-Android-TV.md
blob: ace4f4c0e0d370fc64dcd6ca11ab655a76559cc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
date: 2020-03-03 18:37
description: Tinkering with an Android TV
tags: Android-TV, Android
---

# Tinkering with an Android TV

So I have an Android TV, this posts covers everything I have tried on it

## Contents

1. [Getting TV's IP Address](#IP-Address)
2. [Enable Developer Settings](#Developer-Settings)
3. [Enable ADB](#Enable-ADB)
4. [Connect ADB](#Connect-ADB)
5. [Manipulating Packages](#)

## IP-Address


*These steps should be similar for all Android-TVs*

* Go To Settings
* Go to Network
* Advanced Settings
* Network Status
* Note Down IP-Address


The other option is to go to your router's server page and get connected devices

## Developer-Settings

* Go To Settings
* About
* Continously click on the "Build" option until it says "You are a Developer"

## Enable-ADB

* Go to Settings
* Go to Developer Options
* Scroll untill you find ADB Debugging and enable that option

## Connect-ADB

* Open Terminal (Make sure you have ADB installed)
* Enter the following command `adb connect <IP_ADDRESS>`
* To test the connection run `adb logcat`

## Manipulating Apps / Packages


### Listing Packages


*  `adb shell`
* `pm list packages`


### Installing Packages


* `adb install -r package.apk`


### Uninstalling Packages


* `adb uninstall com.company.yourpackagename`