This tutorial is available only for Raspberry Pi 3. To run with Raspberry Pi 2, see this link.
It explains how to install Android with 1920x1080 resolution, works with any full HD screen.
With time, a special image for Diskio Pi will be available.
The version choosen is RTAndroid, it's not an official version from the fundation, but works well and still in development. Thanks to Igor Kalkov for his development.
The touch screen is supported, and the USB DAC too.
- A formated 8Gb SD card, with UHS speed class 4. Class 10 is recommended.
- A SD card adapter
- A linux PC host to burn the SD card. Windows users should use a Live-CD or VirtualBox.
- Gparted if you use Ubuntu, or other partition soft.
1: Download the image.
Go to this page: https://rtandroid.embedded.rwth-aachen. … pberry-pi/ to download the latest image file.
2: Unzip the downloaded package.
cd Downloads unzip rtandroid-[VERSION]-[DATE]-rpi3.zip -d .
If you prefer run android in 1280x720 resolution, keep
To enable USB sound, add these lines in config.txt:
4: Insert your SD card in your PC.
5: Find the device name of the SD card. Several methods can be used.
- Terminal method:
sudo fdisk -l and find the letter correspond to your SD card.
- Graphical method:
You can check with Gparted the SD card name. You can also delete all partition already created before.
The name will be /dev/sdX (/dev/sde for example)
Be sure of this name, the next operation will delete all data of the device.
6: Burn the SD card:
On the terminal, run the install script:
Use the "-p" flag to partition your card.
Use the "-f" flag to format your card.
cd rtandroid-aosp-7.1-20170211-rpi3 ./install.sh -p -f /dev/sdX
with X your specific letter found in step 5
The script will create 4 partitions and burn the system.
Finally, you should have this:
* Copying new system files... - mounting the boot partition to /media/rpi-sd - copying boot files - unmounting the boot partition - writing the system image 2048+0 enregistrements lus 2048+0 enregistrements écrits 2147483648 bytes (2,1 GB, 2,0 GiB) copied, 234,006 s, 9,2 MB/s
Installation successful. You can now put your sdcard in the RPi.
7: If you have chosen 1280x720 resolution, you can remove your SD card from the PC and put it into the raspberry pi and power it on.
Next step is 9.
8: In the case of 1920x1080 resolution:
Mount the SD card. (I remove the card and re-plug, more easier)
Go to the system partition.
Comment (add #) before this line:
and add these lines:
and comment this line.
The file should be:
Save and close gedit.
Then, the system will start with 1792x1008 resolution.
To have a real 1920x1080 resolution, there's a command to send when Android will be started (see step 10).
You can unmount & remove your SD card from the PC and put it into the raspberry pi and power it on.
9: Gapps Installation:
Gapps is a suite of Android software including Google Play Store.
Your Android is runing on your RPi. You must be connected (wifi or Ethenet)
Settings -> Wifi -> Wifi ON -> Add your passphrase
Then, get the IP adress:
Setting -> About tablet -> Statut
The IP adress is like 192.168.1.xx
With the host PC, open a terminal, then:
Edit the gapps.sh file and find the ADB_ADDRESS="" line.
add your IP adress like this:
and execute the script:
./gapps.sh -a arm
You must maybe install some package (lzip or other)
Wait until the script end, the Raspberry must reboot.
All done, you should have Google Play Store installed!
10: Set the 1920x1080 resolution:
With the PC host, enter this (the Raspberry Pi must be connected)
To connect your PC with the Android RT,
adb connect 192.168.1.xx
and set the new resolution:
adb shell wm size 1920x1080
Limitations of this method:
At this time, we can not set the build.prop file with 1920x1080 resolution. The resolution is not reconized by the screen.
I will add corrections if I find a better method. (Or if I manage to modify/compile a custom image for Diskio Pi @RPi)