How to install Android on Raspberry Pi in 2021

Here's how you can install Android on Raspberry Pi 3, 3B, 3B+ and 4. It is a fairly straightforward job and can be done by pretty much anyone.


By installing this, we'll try to emulate the experience of Android in Raspberry Pi.

How to Install Android Pie on Raspberry Pi 3, 3B, 3B+ and 4

Now the instructions for both are the same till step 5.  Now before getting our hands dirty, I would like to give you some Prelims.

Items Required

You'll need the following components in order to continue with the installation:
  • Raspberry Pi 3/3B/3B+
  • A Keyboard and Mouse (Preferably Wireless)
  • A Thumb Drive
  • 5V 2.5A or more rated Power adaptor with micro USB Type-B Cable
  • A Micro SD Card
  • A Computer with active Internet connection for installation.

Prelims for Android

We are going to install Lineage OS 16.0 Build for Raspberry Pi 3 by konstaKANG. Now, Lineage OS is a custom ROM for Android devices that have added functionality than Android. 

Now, this OS is based on Android, which means, you can't feel the difference between Android and Lineage. 

This build comes with TWRP Recovery for flashing apps in case you need it. Now, if you Google Apps like Play store, Play services and etc. you need to download the GApps package from OpenGapps

This is not compulsory but it can be a little useful. 

Now, installing GApps really slows your device down. That too with a device like Raspberry Pi 3 and 3B+, it's gonna be slow. Anyways, I've provided all instructions in detail in my post here.

Now you need to have heatsinks and fans for this build as the OS highly resource hungry.

I've found both the products at an affordable price. Check it out on Amazon:

https://amzn.to/2RHxebX - Raspberry Pi heatsink for 2 A/A+, B/B+, and 3 B/B+
https://amzn.to/3aiFBBe - Raspberry Pi 3 B/B+ Cooling Fan

Instructions

  • Go to Konsta's page for downloading Lineage OS 16.0 (Android 9) by clicking here
  • Now download the zip file by clicking on the link. It will route you to androidfilehost.com (Don't worry, it's a safe website)

  • After downloading the zip, Unzip it using your favorite software. 

  • Now to flash the .iso file to your SD card, we need Balena Etcher, the most and fast software to flash images onto disks and SD card. I would highly recommend using it.

  • If you have Balena Etcher, go ahead, select the image by clicking the Flash file, then select the target device, which is the SD card, and flash it. It took me just a minute to complete the flashing.

  • If you don't have Etcher, go to the Etcher download page by clicking here.

  • Then download it and follow the instructions above.

  • Then insert the SD card into the Pi and wait for a few minutes. The Lineage boot animation will be seen for a few moments.

  • There you go! you'll have the setup wizard next. Fill it with appropriate details and complete the installation. We have successfully installed Android 9.

    Now, the user experience is best in Android 9 than in any other previous and successor builds.

Troubleshooting

Here's the troubleshooting guide for the installation. You can also head over to the developer's website, which is KonstaKANG's website.

I've heard from many people that they get 'Device is not Play Protect Certified' Notification keeps popping. Although, it isn't a much of a big deal, it's wiser to fix the problem. Here's what you need to do to fix this issue:

Install the Device ID app from Apkmirror (An Android Police website, safe). Sideload it by copying the app to a thumb drive and plug it in to the Pi. 

Now, go to Files > Click on your Thumb-drive in the left sidebar and double click on the app to install it. Allow permissions where ever necessary.

After that's over, open the app after the installation. Copy the Google Services Framework Code.
Now, click on the non-dismissible notification at the top. That should reroute you to the registration page. Paste the code in the text box.

You'll get an another notification.

Sign in to Play Store now. The notification shouldn't be there. If it's still there, try rebooting.

There isn't any other problem I've experienced.

That's everything you have to do. Let me know in the comments below if you've faced any issues in the process.



Comments