Install Android on Raspberry Pi with Play Store.

Installing android on Raspberry Pi is an easy task.

Prerequisites :

  • As you know, you need a raspberry pi 3.
  • A power supply.
  • A SD card at least 16GB.
  • You will also need a screen and an HDMI cable to display interface. 

Downloads :

IMPORTANT - for the last part of the tutorial, you will have to use a machine with an unix OS (Linux ) to be able to execute the sh script. If you do not have one, you can use a virtual machine.

Installing Android on the SD card :

The installation of the Android img on the SD card is very simple. In this tutorial I will be Using a software which is very easy to use and above all compatible for all OS, it is Etcher.


Just select the .img file of Android that you extracted from the zip archive downloaded in the the start, Etcher automatically detects the SD card to install the OS, you can change it if you want to. Finally click on Flash to start the creation of the SD card.It will take 10-15 mins depending on the read/write speed.

When done, insert the SD card into your raspberry pi . Make sure it is turned on and connected to a display. Now your Raspberry Pi will boot with a functional Android. However, this one has no Play Store installed.

Now to Install the Play Store : 

For this, First connect you Raspberry Pi to internet with Wifi or using ethernet cable.
Once done, retrieve the IP address of your device simply by going to -


settings<about tablet<status<IP address(192.168.x.x)

Now return to our unix computer as specified in the start while leaving the raspberry pi. People on windows use Virtual machine.

Perform The Following Steps on your Unix machine :


Open the downloaded gapps.sh file that you download in the start. You will see the following lines.
SHOW_HELP = false 
ADB_ADDRESS = "192.168.10.173" 
ARCHITECTURE = "arm" 
PACKAGE_NAME = "pico" 
INIT_FILE = "/etc/init.d/gapps"

It is necessary to replace the IP address (ADB_ADDRESS) by that of your raspberry pi.

After that, in terminal, run the following command
sudo apt-get install android-tools-adb
This command will allow you to connect to your raspberry pi under android from your PC. Then install “LZip”
sudo apt-get install lzip
After this, connect to raspberry pi using.
adb connect IP_Address
And finally, go to the directory where gapps.sh script is located and run it in the terminal.
Drag and Drop gapps.sh in terminal and press enter.
This will install Google Play Store on ur Raspberry Pi .
Keep in mind the script is very long it can take some time. Once it’s finished,your Raspberry Pi will restart. You will find Play Store there. However, some applications will not run properly because of Raspberry Pi's hardware limitations.
Leave a comment if you face any problem. 

Comments

Popular Posts

Install Windows 10 IoT on a Raspberry Pi

[RUMOR ]'Made in India' iPhone SE 2 to Launch in Early 2018