Over the past couple of months we’ve seen multiple requests in our forums regarding how to install Google Apps on Android. Well, thanks to our community member gryphius_g, today we are showing how to quickly install the Gapps in your UDOO (check out the Forum Thread):
Download the gapps package from https://www.androidfilehost.com/?fid=23311191640114013 (be sure to select the correct one for android 4.2.2: gapps-jb-20130812-signed.zip)
Unmount all the SD existing partitions
sudo umount /dev/sdb*
Unpack the zip in a local temp directory.
sudo unzip gapps-jb-20130812-signed.zip sudo mkdir /media/sdb5
Mount partition 5 (/dev/sdb5 in the example below).
sudo mount /dev/sdb5 /media/sdb5
Rsync everything from the “system” folder in the zip file to the mounted partition.
sudo rsync -avu system/* /media/sdb5/
Unmount SD, put it in the UDOO, and voilà, google play store etc. is available.
sudo umount /media/sdb5
where sdX is your sd device name, it may changes on different computer. Check it with dmesg command.
Previous Android Issues:
In older versions of UDOO Android the “system” fs on the image is too small (it doesn’t fill the partition). It should have 512MB, but the OS only sees around 270 MB, most of which is already occupied, so there is not enough space left for Gapps.
Open sdcard on a linux computer with gparted, select partition 5 (system), select menu “partition” -> “check”, then apply. This will grow the file system to use the full partition.
sudo e2fsck -f /dev/sdb5 e2fsck 1.42.8 (20-Jun-2013) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information /dev/sdb5: 1278/17952 files (0.0% non-contiguous), 49905/71680 blocks
sudo resize2fs /dev/sdb5 resize2fs 1.42.8 (20-Jun-2013) Resizing the filesystem on /dev/sdb5 to 131827 (4k) blocks. The filesystem on /dev/sdb5 is now 131827 blocks long.