Skip to content

Instantly share code, notes, and snippets.

@HonbraDev
Created April 23, 2022 18:45
Show Gist options
  • Save HonbraDev/dac888264b25bbdc41b29dadad0b4b4f to your computer and use it in GitHub Desktop.
Save HonbraDev/dac888264b25bbdc41b29dadad0b4b4f to your computer and use it in GitHub Desktop.
Installing Android TV 11 on a Raspberry Pi 4 and using USB as storage

Installing Android TV 11 on a Raspberry Pi 4 and using USB as storage

This guide will only focus on the things that are specific to installing the OS on a USB drive. Follow this tutorial for everything else.

Download images

OpenGapps are not available for Android 12, so download TVStock for Android 11 and the Android TV 11 image.


Flash the images onto the USB drive.


Unbrick boot

Download fixup4.dat, fixup4x.dat, start4.elf, and start4x.elf from the Raspberry Pi firmware repo and copy them to the boot partition of your flash drive.

Enable USB boot

Modify config.txt on the boot partition like this:

#dtoverlay=android-sdcard
dtoverlay=android-usb

Install system and boot into TWRP.


Mount partitions in TWRP

Go to Advanced > Terminal and enter the following commands:

mount /dev/block/sda1 /boot
mount /dev/block/sda2 /system_root

Then go to Mount > Select Storage and select USB


Install OpenGapps and finish setup


And you should be done.

@chiju
Copy link

chiju commented Oct 29, 2023

Hi, I have raspberry pi4, can use this tutorial for installing android tv 13?

@HonbraDev
Copy link
Author

Hi, I have raspberry pi4, can use this tutorial for installing android tv 13?

https://tryitands.ee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment