Saturday, February 4, 2012

CyanogenMod 9 on the HP TouchPad

The first public build of Google Android 4.0 Ice Cream Sandwich is now available for the HP TouchPad. The tablet originally shipped with HP’s webOS software, but hackers have been installing Google Android on the TouchPad for months.

Up until recently, only Android 2.3 Gingerbread was available for the tablet, but now the CyanogenMod team has released CyanogenMod 9 Alpha 0 for the TouchPad. It’s based on Android 4.0 and includes Google’s new user interface which is optimized for tablets without physical buttons. It’s a good fit for the TouchPad, which doesn’t have the home, back, and menu buttons found on most earlier Android phones and tablets.

Updated 1/30/12: CM9 Alpha 0.6 offers a number of bug fixes and a few new features including a quick settings menu that takes up less space and a menu that appears when you press-and-hold the power button. You can install the latest software using the steps below. If you’re upgrading from an earlier build, just copy the new files to your cminstall folder and skip to step 8 below — or follow our guide for updating your software using ClockworkMod.

CyanogenMod 9 Alpha 0 is still pretty rough around the edges — which is why it’s labeled Alpha 0. The camera doesn’t work, and it might never work. There’s no hardware video acceleration, which means Netflix won’t work, and HD YouTube videos wan’t play. The microphone doesn’t work and audio is glitchy.

Titanium Backup doesn’t work, and many apps may fail to show up in the Android Market.

My TouchPad has also rebooted unexpectedly several times since installing Android 4.0.

If that doesn’t scare you off, here’s how you can install CM9 on the HP TouchPad. First I’ll talk about installing it from scratch — assuming that you’re starting from webOS and you’ve never installed Android on the tablet before.

Further down in the article I’ll also explain how to upgrade from CyanogenMod 7 or other Android software.

1. Make sure Java is installed on your computer.

Visit the Java download page from your Windows, Mac, or Linux computer and download and install the latest version.

2. Install Palm Novacom driver

There are several ways to install the Palm Novacom software, but the easiest is to use the Universal Novacom Installer.

You can download the .jar file from Google Code, and once it’s downloaded, click it to run.

Follow the instructions and it should install Novacom on your computer. Note that this will only work if Java is already installed.

You’ll also want to make a note of where the files are installed. On my Windows 7 PC, the Universal Novacom Installer created a folder called c:\Program Files\Palm, Inc.

3. Downoad ACMEINstaller, Moboot, ClockworkMod and optionally gApps

The next step is to download all the files you’re going to need. You’ll find the latest links for most of these files at the RootzWiki forum, but here’s a list of what you need:

  1. ACMEInstaller2
  5. gApps for CyanogenMod 9

You can find links for the first 4 files at RootzWiki. There are a number of different places to find gApps files. CyanogenMod is based on open source software and doesn’t include the Google Android Market or other Google apps such as Google Maps out of the box. Since CyanogenMod 9 is still in the early testing phases, there’s no official gApps add-on, but a number of independent developers have created versions of gApps that may work with the software.

I downloaded gApps 4.0.3 from here.

Bonus round: You can open the gApps zip file and remove the apk installers for any apps you don’t want to install. Just make sure to leave GoogleServicesFramework alone.

As a matter of explanation, ACMEInstaller2 is an installer file which is run from your PC. the update-cm-9.0 file is the Android 4.0 ROM, update-cwm is the ClockworkMod custom recovery utility, and Moboot is an app that allows you to choose between Android, webOS, and ClockworkMod when you boot your tablet.

4. Place ACMEInstaller in the same directory as your Novacom files

If, like me, Novacom is in your c:\Program Files\Palm, Inc directory, just copy ACMEInstaller2 to that directory.

5. Connect your HP TouchPad to your computer and enable USB mass storage mode

Use the USB cable that came with your tablet to connect it to a PC. You should see a USB notification in the upper-right corner of the TouchPad. Tap on it to enter USB drive mode.

This will allow your tablet to show up as a removable drive on your desktop computer.

6. Copy remaining files to your TouchPad

Open a file explorer on your computer and navigate to your TouchPad. Create a new folder called “cminstall” without the quotes. Then copy these files from your PC to that new folder:

  4. gApps 4.0.3

Do not unzip any of these files first. They’re supposed to be zip files.

If you’re using Windows, you may need to eject your TouchPad from your PC before continuing.

7. Reboot your TouchPad

  1. Tap the home button and then hit the arrow icon to bring up a list of applications.
  2. Navigate to the Settings tab.
  3. Choose Device Info.
  4. Select the red Reset Options button.
  5. On the following screen (see image below) tap the Restart option.

If you’re already running an earlier build of Android, you can restart much more quickly just by pressing and holding the power button and then choosing the restart option.

8. Press and hold the volume button

As soon as the screen goes dark, press the volume up button until you see a big USB icon on your screen. Then wait for your computer to install any drivers. Assuming you’ve already installed the Palm Novacom software correctly this should just take a minute or two.

9. Open a command terminal and navigate to the Novacom directory

After your computer installs the drivers, it’s time to get ready to run ACMEInstaller. Here’s how you do that on a Windows computer:

  1. Click the Start Menu.
  2. Type “cmd” (without quotes) in the search box.
  3. This will open a command prompt.
  4. Type “cd /” (without quotes) to enter your root directory.
  5. Navigate to the correct directory. Typing “dir” (without quotes) will show a list of directories.
  6. On my computer, I next typed “cd Program Files” and hit enter, then “cd Palm, Inc” and hit enter again.

10. Run ACMEInstaller

Now enter the following command, without quotes: “novacom.exe boot mem:// < ACMEInstaller2″

The USB icon should disappear from your TouchPad screen and now you should see lines of text run across your screen for a few minutes. If you don’t, it’s probably because the Novacom drivers haven’t been installed properly.

Try rebooting your computer and trying again. If that doesn’t work, try uninstalling and reinstalling Novacom by revisiting step two.

If everything works properly, your TouchPad should now boot into Moboot.

From here, you can choose to boot into CyanogenMod by hitting the home button. Or you can choose to reboot to webOS by using the up and down volume keys to navigate to the webOS option and then hitting home.

11. (Optional) Install update-chargerFix

Update: This step isn’t necessary if you’re installing Alpha 0.5 or later — but these are the same steps you would use to flash *any* update using ClockworkMod Recovery.

One of the bugs in CM9 Alpha 0 is that the tablet charges very slowly. But there’s already a fix for that. You can download the file from or Techerrata. Then follow these steps to install it:

  1. Place the zip file in the root directory of your TouchPad’s storage (or in a folder that you can remember).
  2. Press-and-hold the power button to reboot the touchPad.
  3. From the Moboot menu, choose ClockworkMod.
  4. Use the volume keys to scroll down to the entry that says “install a zip from SDcard” and tap the home button to select.
  5. Using the volume and home keys, highlight the update-chargerFix file and select it.
  6. Scroll down to select yes.
  7. When it’s done installing reboot into CyanogenMod.

You won’t need to install the ChargerFix for future versions of CyanogenMod, since it should be included.

gApps addendum: Note that some users have reported that ACMEInstaller2 doesn’t automatically install gApps, but you can use ClockworkMod to install the gApps zip following the steps outlined in part 11 for applying the charging fix. Just substitute the gApps zip file for the update-chargerFix file.

It’s a good idea to familiarize yourself with ClockworkMod anyway, since it provides the simplest tools for backing up and restoring your system, wiping data, or applying OS updates.

Upgrading from CyanogenMod 7, MIUI, or any other Android software

If you’re upgrading from an earlier build of Android you can skip many of these steps. In fact, all you need to do is download on your TouchPad, reboot to ClockworkMod, and install update from ZIP.

But, and it’s a big but, you’ll run into trouble if you do this without wiping your data first. In other words, you’ll lose all your apps and settings. So the preferred method for upgrading from CyanogenMod 7 Alpha 1, 2, 3, or 3.5 to CyanogenMod 9 Alpha 0 is to use ACMEInstaller2.

Note that the original ACMEInstaller will not work. So make sure to upgrade to version 2. Then just:

  1. Copy and thelatest gApps zip file to the cminstall folder on your TouchPad.
  2. Connect your TouchPad to your PC.
  3. Reboot the TouchPad, pressing the volume-up button until the USB icon appears.
  4. Run ACMEInstaller2

This should install CM9 without erasing your preferences. You’ll also probably want to install the latest gApps. But there’s no need to update ClockworkMod or Moboot unless you really want to.

Once you’re done, you may also want to check out step 11 above for instructions on applying an update that will help the Touchpad charge more quickly.

It’s also probably not a bad idea to use ClockworkMod to make a backup of your system before starting, and it’s never a bad idea to use it to wipe your cache.

While it is theoretically possible to triple boot CM7, CM9, and webOS, it’s apparently a pain in the behind, and the CyanogenMod team doesn’t plan to release any tools to make it easier.

This upgrade method should work whether you’re running CyanogenMod,MIUI, or any other software — assuming you’ve already installed ClockworkMod and Moboot.

No comments: