How to install Android on Raspberry Pi 4

While you can remotely configure and run Raspberry Pi without a monitor or ethernet cable, you will need a lot of wired accessories if you choose to install Android on your Raspberry Pi 4 board. So in this article, we bring you a detailed guide on how to install Android on Raspberry Pi 4 and 3. We have also mentioned a way to run Android 11 build on Raspberry Pi, but for stability and good performance we have opted to Stick with Android 10. With that in mind, let’s go ahead and learn to run Android on Raspberry Pi 4 and RPi 3.

Install Android on Raspberry Pi 4 and 3 (2021)

This is an all-in-one guide for beginners and experts to get Android running on Raspberry Pi. I suggest you follow the step-by-step instructions closely and you’ll have Android running on your dash in no time.

Basic requirements

  1. You will need a separate monitor to configure and install Android on the Raspberry Pi.
  2. HDMI cable based on your board. Raspberry Pi 4 will need a micro HDMI to HDMI cablewhile Raspberry Pi 3 will require an HDMI to HDMI cable.
  3. A microSD card with a free space of 16 GB or more.
  4. Keyboard and mouse. If you have a wireless combo, that’s even better.
  5. A power adapter depending on your board.

Essential Downloads

  1. First of all, download Android for Raspberry Pi. A developer named KonstaKANG is popular for making Android ROMs for Raspberry Pi 3 and 4. The ROMs are based on Lineage OSand available in many versions, including Android 9, 10 and 11. Depending on your board, download any version of Android , but I would recommend Android 10 for stability. You can click here to go to the RPi 4 download page. If you want to download Android for RPi3, click the Devices menu in the upper right corner.
  2. Next, you need to download the GApps packageas the Android build does not come with Google apps and services. Open this link and choose “ARM” and “Android 10”, since we are installing the build of Android 10 and “pico”, since it is the minimum necessary to run Google Play Services.
  3. Next, you need to download balenaEtcher(Free) to flash Android to SD card.

Install Android on Raspberry Pi

  1. Once you have downloaded the Android build, extract it and you will get an IMG File.
  2. Next, open balenaEtcher and select the Android IMG file. In my case it is a build of Android 10. After that choose the SD card and click “ Flash! “.
  3. Once the update process is complete, remove the SD card and insert it into the Raspberry Pi module. Also, connect a mouse and keyboard. Finally, connect the power supply and HDMI cable to the monitor.
  4. Turn on the Raspberry Pi and you will find Lineage OS Loadingon the screen in a few seconds.
  5. After a while, you will be greeted with the usual Android setup process. Follow the instructions on the screenand make sure to connect to a Wi-Fi network.

Install Google Play Store and Services on Android-based Raspberry Pi

  1. Now that you have Android installed on Raspberry Pi, it is time to add support for Google Play Store and other services. Use a USB drive and move the GApps packageto Raspberry Pi from your computer. I tried downloading the GApps package directly to the Raspberry Pi, but it didn’t work. If you can download it on the board itself, it will be easier for you.
  2. Once you have moved the GApps package to the dashboard, open Settings and go to “About tablet”. Here, click on “ Build Number” 7-8 times in a row to unlock Developer Options. You can search for “build” on the settings page if “About tablet” does not appear on the settings page.
  3. Now, go back to the main Settings menu and navigate to System -> Advanced -> Developer options.
  4. Then activate “ Advanced Reset“.
  5. Now, to restart Android on Raspberry Pi, you need to hold down the ” F5” key on the keyboard. Then click “Restart” and choose “Recovery.”

Note : Some keyboard shortcuts for Android on Raspberry Pi are as follows: F1 = Home, F2 = Back, F3 = Multitasking, F4 = Menu, F5 = Power, F11 = Volume Down, and F12 = Volume Up.

  1. Now the TWRP recovery will start. If prompted, click “Swipe to allow modifications.” After that, click on ” Install on pc“.
  2. Here, choose the GApps packagethat we transfer to the Raspberry Pi board.
  3. Finally, click on ” Swipe to confirm Flash“.
  4. Now, click on the TWRP icon in the upper left corner and it will take you to the main menu. This time navigate to Clean -> Swipe to Factory Reset.
  5. Once the reset is complete, click ” Reboot System” on the same page.
  6. And voila! It will boot directly into Android on your Raspberry Pi. And this time, you will be prompted for Google settings. Now, go ahead and follow the onscreen instructions to log into your Google account. I suggest not adding your main Google accountas Google has been terminating accounts for unknown policy violations lately.
  7. So here it is. Google Play Store and all Google services are now installed on Raspberry Pi and working absolutely fine. In case you get a ” The device is not Play Protect certified” notification or some apps like Netflix are not available for download, please follow the steps below to fix this problem.

Fixed “Device is not Play Protect certified” error on Android-based Raspberry Pi

If you are getting this error on your Android-based Raspberry Pi, there is nothing to worry about. You can manually enroll your Android-based Raspberry Pi in Google’s certified device list. To get started, install the Device ID app by Evozi (Play Store / APKMirror) on Raspberry Pi. If the Play Store doesn’t open for you, you can download the Device ID APK from APKMirror.

  1. Next, open the Device ID app and it will display the code for Google Service Framework(GSF). Click on it and “copy” the code.
  2. Now open google.com/android/uncertified on your Raspberry Pi and paste the GSF code. After that, click on ” Register“. That’s all you need to do to correct the “Device is not Play Protect certified” error. Now, wait 5-10 minutes and the notification will disappear. You will be able to access the Google Play Store and all its applications on your Raspberry Pi 4.
  3. If it still doesn’t work, reboot your Android-based Raspberry Pi. Hold down the F5 key and click Restart -> System. This time, the error should go away. You can check the certification of your devicefrom Play Store -> Profile menu in the upper right corner -> Settings -> About -> Play Protect Certification. Here, it should show “The device is certified”.

Run Android on Raspberry Pi without restrictions

This is how you can install and run Android on a Raspberry Pi. In this guide, I have chosen KonstaKANG’s Android build as it offers more stability and has more extensive support for older Pi boards. In case you want to run the latest Android 11 build, check out the recently released OmniROM builds. That said, it is only compatible with RPi 4, with at least 4GB of RAM. But the good thing is that it comes preloaded with Google services.

So for more such cool Raspberry Pi tutorials, stay tuned with us. And if you want to use your Raspberry Pi to configure the Pi-hole, we have a dedicated guide that provides the instructions from scratch. Finally, if you have any questions, comment below and let us know. We will try to help you.

by Abdullah Sam
I’m a teacher, researcher and writer. I write about study subjects to improve the learning of college and university students. I write top Quality study notes Mostly, Tech, Games, Education, And Solutions/Tips and Tricks. I am a person who helps students to acquire knowledge, competence or virtue.

Leave a Comment