I have compiled an Android 5.1 Lollipop system which can run on Raspberry Pi 2. I call “my” new system RaspAnd.
What is Raspberry Pi?
The Raspberry Pi is a low cost, credit-card sized computer that plugs into a computer monitor or TV, and uses a standard keyboard and mouse. It is a capable little device that enables people of all ages to explore computing, and to learn how to program in languages like Scratch and Python. It’s capable of doing everything you’d expect a desktop computer to do, from browsing the internet and playing high-definition video, to making spreadsheets, word-processing, and playing games.
Read more about Raspberry Pi…
Raspberry Pi model B made in February 2015. It has a 900MHz quad-core ARM Cortex-A7 CPU and 1GB RAM. Read more…
Kernel 3.19.0-exton-v7+ is used in RaspAnd.
You’ll find my sources for RaspAnd here.
How do I install RaspAnd?
Almost like any other Raspberry system. The installation has to take place in Linux though. (From hard drive or while running a live Linux system from cd or a USB stick). Follow this instruction. The whole thing has to be done exactly like this.
1. Unpack the download Zip-file (unzip raspex-arm-android-lollipop-5.1-134mb-150405.zip). You will get the folder raspex-android-arm-lollipop-5.1 with the folder boot and the system file system.img
2. Create four partitions of/on your Micro SD Card with Fdisk or GParted.
a) Part 1 for BOOT of 512 MB ; format as fat32 ; flag as boot
b) Part 2 for /system of 512 MB; any filesystem
c) Part 3 for /cache of 512 MB ; format as ext4
d) Part 4 for /data; size the remain; format as ext4
When you are done with partitioning it shall look like this.
3. Now open up a terminal as root and run this command (make sure which name your SD card was given when you inserted it (/dev/sdb2 or /dev/sdc2 or as in the example here /dev/sdd2):
dd if=system.img of=/dev/sdd2 bs=1M
4. Then just copy every file in raspex-android-arm-lollipop-5.1/boot (8 files) to /dev/sdd1. If not mounted already you can mount it with mkdir /mnt/sdd1 followed by mount /dev/sdd1 /mnt/sdd1
Note: You shall not do anything with /dev/sdd3 and /dev/sdd4. I.e: Do not create folders /cache or /data.
Booting up RaspAnd – Slide show
Now just place your SD Card in your Raspberry Pi 2 machine and turn on the power. Watch this Slide show.
This version (150405) has been replaced by version 150527.