Sunday, December 16, 2012

How to install Android(Ice Cream Sandwich) on HP Touchpad

Finally, I've successfully installed ICS on HP touchpad in dual boot mode from Windows 8 - 64bit machine. Here is how I've successfully installed android on my HP touchpad

Warning: Installing a custom recovery image on the HP Touchpad will void the warranty.

Pre-requisites: Installation requires all the following files. Download them to your computer
1. web OS SDK
2. VirtualBox
3. ACME Installer
4. MOBoot
5. ClockworkMod Recovery
6. CyanogenMod
7. Google Apps

S.No. Description File Name
1 Java JavaSetup7U9.exe
  http://java.com/en/
2 web OS SDK HP_webOS_SDK-Win-3.0.5-676-x64.exe
  https://cdn.downloads.palm.com/sdkdownloads/3.0.5.676/sdkBinaries/HP_webOS_SDK-Win-3.0.5-676-x64.exe
3 VirtualBox VirtualBox-4.1.18-78361-Win.exe/ 4.2.4-81684-win.exe
  http://download.virtualbox.org/virtualbox/4.2.4/VirtualBox-4.2.4-81684-Win.exe
4 ACME Installer ACMEInstaller3
  http://goo.im/devs/jcsullins/cmtouchpad/tools/ACMEInstaller3
5 MOBoot moboot_0.3.5.zip
  http://moboot.googlecode.com/files/moboot_0.3.5.zip
6 ClockworkMod Recovery update-cwm_tenderloin-1012.zip
  http://goo.im/devs/jcsullins/cmtouchpad/recovery/update-cwm_tenderloin-1012.zip
7 CyanogenMod cm-9-20121212-NIGHTLY-tenderloin.zip
  http://download.cyanogenmod.org/?type=nightly&device=tenderloin
8 Google Apps gapps-ics-20120429-signed.zip
  http://goo-inside.me/gapps/gapps-ics-20120429-signed.zip

Installation Steps:

i. ClockworkMod Recovery

1. Follow instructions under "Installing the SDK and PDK on a Windows PC" in the below article to install Java, webOS SDK(Novacom) and VirtualBox.
     https://developer.palm.com/content/resources/develop/sdk_pdk_download.html
2. Copy the ACME Installer into the same folder as Novacom .ie. C:\Program Files (x86)\HP webOS
3. Connect the HP Touchpad to the computer via USB.
4. Once connected, tap the alert to enable Mass Storage Mode on the HP Touchpad.
5. Create folder "cminstall" in the root directory of the HP Touchpad
6. Copy the ClockworkMod Recovery & MOBoot zips into a folder "cminstall".
7. Reboot the HP Touchpad. Go to Settings -> Device Info -> Reset Options -> Restart from HP webOS.
8. Hold down the Volume Up button until an USB symbol appears on the screen.
9. Once the computer recognizes the HP Touchpad, open command prompt as administrator and navigate to the directory Novacom is in(i.e C:\Program Files (x86)\HP webOS).
10. In the command prompt of the computer and run the following command:
           novacom boot mem:// < ACMEInstaller3
12. The ClockworkMod Recovery & MOBoot should now be installed on the HP Touchpad.

ii. Flashing CyanogenMod:

  1. Place the CyanogenMod .zip and Google Apps Zip files into the cminstall directory of the HP Touchpad.
  2. Restart the HP Touchpad - Go to Settings -> Device Info -> Reset Options -> Restart from HP webOS.
  3. Once the screen goes black, hold down the Volume Up button until an USB symbol appears on the screen.
  4. Once the computer recognizes the HP Touchpad, open command prompt and navigate to the directory Novacom is in (i.e C:\Program Files (x86)\HP webOS).
  5. In the command prompt on the computer and run the following command:
    novacom boot mem:// < ACMEInstaller
  6. Once the installation finishes, the HP Touchpad should automatically boot directly into CyanogenMod.

To switch between webOS and Android:
   If you are in webOS, Go to Settings -> Device Info -> Reset Options -> Restart.
   If you are in Android, press switch-off button for few seconds. You will see option to reboot.
Use Volume keys to select between webOS or CyanogenMod(Android)

Note: Once the installation completes, zip files placed under the cminstall folder will be consumed

Troubleshooting:
Error 1: It is possible that novacom says: "failed to connect to server" especially if you just installed it.
Resolution: In that case, you have to run novacomd before. novacomd can be run from 'C:\Program Files (x86)\HP webOS\SDK\bin\novacomd\x86' or similar.

Error 2: If Google Apps didn't get installed, i.e you wont see Play Store icon in the HP touch pad and as well, the Google Apps.zip file will be in cminstall folder.
Resolution: Follow the below steps to install Google Apps
  1. Boot into the ClockworkMod Recovery.
  2. Once the device boots into the ClockworkMod Recovery, use the side volume buttons to move around and the power button to select.
    Optional: Select backup and restore to create a backup of current installation on the HP Touchpad.
  3. Select the option to Wipe data/factory reset.
  4. Then select the option to Wipe cache partition.
  5. Select Install zip from sdcard.
  6. Select Choose zip from sdcard.
  7. Select the Google Apps.zip.
  8. Once the installation has finished, select +++++Go Back+++++ to get back to the main menu, and select the Reboot system now option. The HP Touchpad should now boot into CyanogenMod.
Installing Flash-Player to play Flash Videos with in the browser
1. Turn on 'Allow installing apps from other sources' in settings
2. Install .apk file from the below location
http://dow​nload.macr​omedia.com​/pub/flash​player/ins​tallers/ar​chive/andr​oid/11.1.1​15.34/inst​all_flash_​player_ics​.apk
Tips:
1. Always use Eject option to exit from USB mode from Windows Explorer by right clicking the HP drive. Otherwise, webOS give message like 'Uhh it hurts blah blah...'
2. Enter into USB mode by booting into webOS
3. If you by mistake enter into the screen where it just displays the USB symbol and you want to get out of it, just run  novacom boot mem:// < ACMEInstaller3 from command prompt.

Resources:
http://wiki.cyanogenmod.org/wiki/HP_Touchpad:_Full_Update_Guide#Installing_the_ClockworkMod_Recovery