How to Install Android TV in Raspberry Pi 3


There are several Raspberry Pi models out there, and the latest Raspberry Pi 3 is the best of them all. It comes with a Wifi and Bluetooth adapter and a 64-bit CPU that makes it one of the best and affordable mini computers around. There are tons of things that you can do with a Raspberry Pi, but with a specs like this it is really great to be able to use it as a TV box. In this article we will show you how to install Android TV in Raspberry Pi 3.

Note: this article will show you the installation instructions in Linux, but the same steps are applicable for Windows and Mac OS X, too. Also, note that the Android TV build that we are using is not stable, and some of the apps might not work properly.

Things you need

Obviously, you will need a Raspberry Pi 3. You will also need a micro SD card (preferably class 10) with a minimum 8 GB.

Install Android TV in Raspberry Pi

We will make use of the Android TV image created by “Geek Till it Hertz.”

1. Go to the “Geek Till it Hertz” website, and download the ‘img.bz2″ file.


2. Extract the image. You should now have a “atvrpi320160530.img” file. (The filename might change if the developer updates the build, but it should still end with an .img extension.)

3. Insert your micro SD card into your computer. (You will need an SD card USB adaptor if your computer doesn’t come with a micro SD card slot.)

4. Open a terminal. Type the following command to find out the location of the micro SD card:

It should be in the “/dev/sdX” format. In this case my micro SD card is in the “/dev/sdc” slot.


Note: If your micro SD card is not in the FAT32 format, you will need to format it to FAT32 format. You can do that using the gParted tool. Also, back up the content in your SD card, as that will be wiped clean in the following step.

4. Run the following command to install the image to the SD card:

Replace “/location/to/androidtv-image-file.img” with the actual location of the Android TV image you downloaded earlier. Also replace “sdX” with the actual location of your micro SD card. In my case the command is as follows:

This will take some time. Sit back and enjoy your coffee.

5. Once it is done, unmount the SD card, plug it into the Raspberry Pi and boot it up. You should see your Android TV booting up.


Available GUI tool to burn an img file to a USB drive

If you prefer not to deal with the command line or are a Windows user, here are some GUI tools you can use to burn the img file to a USB drive (micro SD card).

Android TV configuration

It is best to connect a keyboard and mouse to your Raspberry Pi so you can navigate around in the home screen. On the first boot up you will see that there is nothing on the home screen except for the “Settings” and “Network Settings” icons. The first thing you want to do is connect your Android TV to the Internet.

Using your keyboard arrow key (The mouse click doesn’t seem to work for me.), navigate to the “Network Settings” icon and press Enter.


From there select “Wifi” and turn it on. It will then scan for an existing Wifi network. Select your local network and connect to it.

Once it is connected, you will need to identify the IP address of your network connection (for sideloading apps).

Select your connected network, press Enter and select “status info.”


Write down the IP address. In my case it was


You can continue to navigate around the different settings, but it is mostly empty for now. To install apps you will have to go to “Settings -> Security & restrictions” and enable “Unknown sources.”


Sideloading apps to your Android TV from another Android phone/tablet

You will notice that there aren’t any apps installed on your Android TV, and there is no App Store for you to find and install new apps. For this we will need to sideload an App store app so that you can start installing other apps. In this instance Google Play store is not well supported in this Android TV build, so we will use Aptoide app store instead.

You will need to have another Android device to sideload apps to your Raspberry Pi.

1. On your Android phone go to the Aptoide site, and download the Aptoide TV apk. Alternatively, you can download the main Aptoide App Store apk instead of the Aptoide TV app.

2. Once the apk file is downloaded, go to Play Store and install the Apps2Fire app. (Any other apps that can sideload to Kindle Fire will work as well.)

3. Launch the Apps2Fire app. Slide the screen to the last “SETUP” page. Enter the IP address of the Raspberry Pi and press “Save.”


4. With your Raspberry Pi still running, press the “Upload” button on the Apps2Fire app on your Android phone.


Select the Aptoide apk file that you downloaded earlier. Select “Install” when prompted.


If everything went well, you should see the “Aptoide” app on your Raspberry Pi home screen after a while.

That’s it. You can now run the Aptoide app and start installing other apps. I do recommend installing Es File Explorer so that you can navigate the file system and install the apk file directly.



This Android TV build for Raspberry Pi is buggy at the moment and not every app will work. I tried it with several games and TV apps, and some of them work fine, while others have graphic and display issues. Your experience might differ. With the instructions above you will have a working Android TV on your Raspberry Pi; just don’t expect everything to work. Enjoy!

Damien Damien

Damien Oh started writing tech articles since 2007 and has over 10 years of experience in the tech industry. He is proficient in Windows, Linux, Mac, Android and iOS, and worked as a part time WordPress Developer. He is currently the owner and Editor-in-Chief of Make Tech Easier.


  1. I tried using App2Fire to install youtube apk on android tv Raspberry pi3. Message is installation failed. Upload successful. I have enabled debugging. I have enabled unknown sources. What am I doing wrong?

    1. Did you do the original android version? If you did, that’s probably why. You’d need to install the tv leanback version of youtube to android tv.

  2. Thanks. Instructions worked well but I really need to get my mouse working. Any Suggestions? My Rii scratch pad works well but select will not operate.

  3. Hi.
    How can I install it, if NOOBS installed already?
    The Andorid install sequence don’t start. I see only an blank black page.

  4. I tried the steps in windows 10. Power & Lan shows light indication But the display is not working. How to fix this issue?

  5. Works fine, but it bugs too often on my raspberry pi3. Netflix and Amazon Video did not work so well.
    I had no Android Device to sideload, but it also works with the android studio´s adb and my unix console. (Found here:
    OSMC come back.

  6. The Apps2Fire app says that the installation was failed but uploading was succefful. Why is that happening?

  7. 2 questions, does it support Google cast? And on a zero?

    I’m thinking of using it on a zero as a cheap Chromecast audio.

  8. Works! Blazing fast too. Will be posting a list of working aoos, if I dont getcsucked into this thing. Git a bt controller working, awesome!

  9. Hi,
    I’m having problems with the starup. It shows the rainbow screen even if I’m using the same power supply as for rasbian i had before. It’s a 5V 2.5A I think It’s not the supply.
    Any idea ?


  10. I Have a bootloop after using script in gapps. It reboot after had push the apk and stay with the android logo animation indefinitly. Someone has a solution for that?

  11. The command sudo fdisk -l is not working for me
    I get the result “sudo is not recognized as internal or external command”

  12. When I boot my ras pi I get the rainbow screen and then it goes blank
    nothing after that!. I am using Mi 5V 1Amp adaptor

  13. Thanks for this. It would be useful if I could install anything on it though.

    It connects to my wifi fine, but the minute I try to upload the aptoide apk using apps2fire the upload fails anywhere between 10% and 20% and then wifi on the pi 3 just fails until I reboot. Same thing happens again until i reboot again.

    What’s going on?

Comments are closed.