Thursday, July 12, 2012

Adding Gapps to ICS Arnova 8b G3

NOTE: This is a blog for information purposes, if you brick your tablet by repeating this then on your own head be it!
Yesterday, I picked up an Arnova 8b G3 tablet for my parents. This was a bargain from Maplin! I  had to spend a little time adding the missing Google apps. How? I'm glad you asked!
First of all you need to get adb talking to the tablet; I download the latest android sdk from google and I'm using Linux here as my host machine (Ubuntu 12.04), so after unpacking the tgz file you have to execute tools\android (read the instructions for the sdk mostly page 2). Download the platform tools (you don't need anything more unless you're going to do some coding :D ).
Once the platform tools are down and installed you will need to edit your udev rules to get the tablet to be visible in ADB; here's the additional line to add to /etc/udev/rules.d/51-android.rules (I got the info for this from a google search) :
SUBSYSTEM=="usb", ATTR{idvendor}=="0e79", MODE="0666", GROUP=plugdev
Make sure you're in the plugdev group! If you're trying this with a different phone or table then lsusb will give you the info to use instead of 0x0e79 (my htc kaiser running cyanogen mod 7 is 0bb4 for instance, you should probably execute lsusb and check your tablet gives you this value too).
I did a reboot at this point to make sure udev updated. After the reboot running abd devices will  tell you if you're able to connect, my first mistake here was to not check that I'd got the usb cable plugged firmly in.
On the tablet go into the developer settings and enable usb debugging, then the following commands will help you prepare to install the missing gapps:
  • adb root - restarts adb on the device as root, if this fails you will need to do some more work.
  • abd remount - remounts /system in read/write mode (usually it's read only). ditto if this fails.
Now to install the apps! I downloaded the cyanogenmod9 Google apps from the cyanogenmod wiki. Once downloaded I unzipped them to a folder called gapps in the android sdk folder; execute the following commands in order installed all the gapps to the tablet:
  • export PATH=`pwd`/platform-tools:$PATH - set the path to include adb.
  • cd gapps
  • adb -p ./ sync system - pushes the current folder to the device using sync on the current folder.
Reboot the tablet, if all goes well this will take some time (you may get a pop-up during reboot about optimizing the applications, or about android updating).
Gmail will immediately update and you should be on your way. You can also turn off usb debuggnig.

Needless to say this took longer to work out than this short entry implies. There's a lot of duff info out there on the interwebs.