Friday, October 14, 2011

How to install Google Android on the HP TouchPad (with CyanogenMod7)


HP TouchPad Android

The CyanogenMod team has released the first public build of Google Android for the HP TouchPad tablet. Right now the software is still in the alpha phase, which means that not everything works as it should. There are still bugs with the accelerometer, Bluetooth, camera, and other functions, for instance. But for the most part, the operating system is now up and running on HP’s discontinued tablet and anyone can install it.
While the HP TouchPad originally shipped with webOS 3.0 software, the tablet’s hardware is similar to many Android tablets. Since the future of webOS is uncertain — and right now there are hundreds of thousands of apps available for Android and less than 10,000 apps for webOS, many of the people who picked up cheap HP Touchpads when HP discontinued the tablet in a $99 fire-sale have been looking forward to installing Android.

The steps below will help you to do just that. This will create a dual-boot setup, allowing you to switch between Android and webOS. Again, this is alpha software, and things can go wrong. You’ll also lose music or other media stored in webOS when you follow these steps.

The current version of CyanogenMod for the TouchPad is based on Android 2.3.7. Once Google released the source code for Ice Cream Sandwich, developers will start working to port it to the TouchPad, but that work could take several months to complete.

1. Download and install the Palm Novacom software for your computer. You can find grab the latest software for Windows, Mac, or Linux from the HP website.

2. The next step is to download three files from the RootzWiki forum and one more file from the Moboot project.
If you want to install the Google Android Market and Google apps such as Gmail and YouTube (which you probably do), you’ll also want the gApps installer for CyanogenMod. You can download it from goo-inside.me or from the CyanogenMod wiki.
All told, you’re downloading 5 files:

  • ACMEInstaller.zip
  • update-cm-7.1.0-tenderloin-a1-fullofbugs.zip
  • update-cwm_tenderloin-1012.zip
  • moboot_0.3.3.zip
  • The latest gApps package for CyanogenMod
3. Unzip the ACMInstaller file to the same directory where Palm Novacom is installed. On my computer that directory is C:\Program Files\Palm, Inc.

4. Connect your HP TouchPad to your computer with a USB cable.

5. On the TouchPad you should see a USB notification. Tap the symbol to mount your tablet as a USB mass storage device on your computer.



6. Open a file browser on your computer and create a new folder on your HP TouchPad called “cminstall”

7. Copy the update-cm-7.1.0-tenderloin-a1-fullofbugs.zip, update-cwm_tenderloin-1012.zip, and moboot_0.3.3.zip files into that directory. If you’re also installing gApps, drag tat file to the cminstall folder as well.

Do not unzip these files first.

8. Now it’s time to reset your HP TouchPad. To do that follow these steps:
  • Tap the home button and then hit the arrow key to bring up a list of applications.
  • Navigate to Settings.
  • Choose Device Info.
  • Select the red Reset Options button at the bottom.
  • Tap the Restart option on the following screen.
If you want to install the Google Apps including the Android Market and Gmail apps, scroll down to the bottom of this article for details on how to add those features.



9. As soon as the screen goes dark, start holding the Volume Up button — don’t let go until you see a big USB symbol on your display.

10. Your computer might take a moment to recognize the TouchPad.

11. Once it’s recognized, open a terminal and navigate to the Palm Novacom directory. On a Windows computer you can do this by following these steps:
  • Click on the Start Menu.
  • Type “cmd” (without quotes) into the search box.
  • A terminal window should open up — but you’re in the wrong directory.
  • Type “cd c:\” and press enter to get to your root directory.
  • To navigate to the correct directory, type “dir” and press enter to see a list of directories.
  • On my computer, I next typed “cd Program Files” and hit enter, then “cd Palm, Inc” and hit enter again.
12. Enter the following command (without quotes) and hit return: “novacom boot mem:// < ACMEInstaller”.



That’s pretty much it. For the next few minutes you should see text flying across your screen. When it’s done, the HP TouchPad will boot Google Android.



In order to get back to webOS:
  • Press and hold the power button.
  • Choose the reboot option.
  • Then select “reboot to webOS” from the next menu.
Note that you’ll only be able to reboot to webOS if you’ve installed the “moboot” file as described above.
This method installs the open source CyanogenMod 7.1 version of Android on the tablet. It’s based on Google Android 2.3.7 software.
If you didn’t install the Android Market and other Google apps, it’s not too late to do it at this point. Just follow these steps:
  • Download the latest gApps package for CyanogenMod 7 from goo-inside.me or from the CyanogenMod wiki.
  • Copy it to the same “cminstall” directory on your TouchPad where you placed the CyanogenMod installers.
  • Run the ACMEInstaller program again from your computer — or you can try adding gApps during your initial installation.
If you’re familiar with using ClockworkMod Recovery, you can also place any update files in the root of your device’s storage and reboot into recovery from Android and use ClockworkMod to apply updates.
Note that the first time you boot after installing gApps you may want to hit the “cancel” button instead of signing in with your Google account right away. That way you have time to connect to a WiFi network before the Android Market tries to load the list of available Google applications.

App support
Even if you do install the Android Market, you may find that some of your favorite apps aren’t listed. I couldn’t find the Facebook, Twitter, Google Maps, or Dolphin HD web browser apps when I searched the Market for them on the TouchPad.

This is likely because the Android Market doesn’t think they’ll be able to run properly on the TouchPad’s hardware. They will.

You just need to install them manually. If you have a rooted Android phone or another device you can use an app such as Titanium Backup or ROM Toolbox to create backup copies of any apps installed on your device. You can then email them to yourself or copy them to your tablet using another method.

I was able to successfully install all four apps listed above. They don’t all look great on the TouchPad’s 9.7 inch, 1024 x 768 pixel display, but they do run.

Update: There’s an update that fixes the problem with the Android Market that had prevented certain apps from being listed. There are two ways to install it.

Method 1: Using Android and ClockworkMod Recovery:
  • Download update-cm-7.1.0-tenderloin-marketfix-Flemmard.zip from Multiupload
  • Connect your tablet to your PC via a USB cable and mount your tablet as a USB mass storage device.
  • Copy the update file to the root directory of your device.
  • Press and hold the power button on your tablet.
  • Choose the Reboot option.
  • Select Recovery from the next menu.
  • Your tablet will reboot to ClockworkMod Recovery.
  • Use the volume buttons to scroll down to “install zip from sdcard.”
  • Tap the home button to select that option.
  • Tap the home button again to “choose zip from sdcard.”
  • Use the volume keys to scroll down and select the update file.
  • Tap the home key to select.
  • From the next menu, use the volume keys and home key to select the “yes” option.
  • After the install is complete, press the power button to go back to the main menu, and tap home to reboot your system.
Method 2: Using Android or webOS and the ACMEInstaller
  • Download update-cm-7.1.0-tenderloin-marketfix-Flemmard.zip from Multiupload.
  • Connect your tablet to your computer and mount it as a mass storage device.
  • Create a folder called “cminstall” on your device.
  • Copy the update file to that folder.
  • Reboot your device into recovery mode by restarting the tablet and holding the Volume Up button until a big USB icon appears on the screen.
  • Follow steps 11 and 12 in the tutorial above to open a terminal, navigate to the Palm Novacom/ACMEInstaller directory, and enter market “novacom boot mem:// < ACMEInstaller” to start the install process.
Once you’ve done that, you should be able to find Google Maps, the Dolphin HD or Opera web browsers, or other apps in the Android Market.

If you’re wondering exactly how the ACMEInstaller works, you can read more about it at the CyanogenMod blog. Basically, the app resizes the webOS media volume to create space for Android system, cache, and data volumes. It then installs CyanogenMod, the Moboot bootloader, and anyother files such as the Google Apps.

This is why using the installer tool will erase any songs, photos, or other media stored in your HP TouchPad webOS media directory.

The good news is that CyanogenMod 7.1 for the TouchPad will then treat the webOS media area as if it were an SD card — so you can access webOS media from Android, or access your Android files from webOS.

You can find out more about how the first alpha release of CyanogenMod for the HP TouchPad works in my hands-on post, or check out this video:




What to do if you can’t reboot to webOS
If you followed the instructions and put Moboot and ClockworkMod Recovery in the cminstall folder when you first flashed Android you should be able to use the “reboot to webOS” option to restart your tablet in webOS. If not, you can only reboot to Android — but don’t worry. There’sa way to fix this.
  • While in Android, connect your tablet to a computer via a USB cable.
  • A “USB connected” option will show up in your notification bar. Tap the option that says “Turn on USB storage.”
  • Your tablet should show up on your computer as a USB disk drive.
  • Create a folder called “cminstall.”
  • Place Moboot, Google Apps, or any other file you need to flash into that folder.
  • Reboot your tablet while holding the Volume Up button to enter recovery mode.
  • From your computer, follow steps 11 and 12 from the installation tutorial again to open a terminal, navigate to the novacom folder and use the “novacom boot mem:// < ACMEInstaller” command.
That should send the new components over to your TouchPad and the next time you boot you should have the missing features such as the ability to enter ClockworkMod Recovery to select your boot options.

What do to is ClockworkMod Recovery fails to install
It’s possible that Android may install properly, while the ClockworkMod Recovery installation fails. One theory is that this happens sometimes if you have a custom webOS kernel in the /boot partition. Here’s what you can do manually install the Recovery:
  • Unzip the update-cwm_ternerloin-1012.zip file to the same director where Novacom and your ACMEInstaller files are located.
  • Connect your TouchPad to your computer and reboot into Recovery by holding the Up Volume button while you reboot.
  • Open a terminal and navigate to the Novacom directory.
  • Type the following (without the quotes): “novacom boot mem:// < uImage.ClockworkMod”
What to do if you’re pretty sure your tablet is frozen
First, make sure your device is really frozen. The install process can take a while, so it might look like nothing is happening even when there’s activity. But if five or six minutes pass and you find yourself looking at blank screen, try pressing and holding the power button and home button at the same time for about 30 seconds. This should cause your tablet to reboot.

Restoring webOS with the webOS Doctor
If you royally mess things up you can also try to restore your system to factory default condition using the webOS doctor. The folks at webOS Internals have put together a nice set of instructions for doing that.

Bonus round: If Android isn’t your thing, you can also install Ubuntu Linux on the TouchPad.
Note that while it’s pretty hard to completely “brick” the tablet and leave it entirely unusable, it is possible to do so. Installing Android may void your warranty — especially if you’re unable to restore the tablet to its factory default settings. So please proceed at your own risk, and understand that neither Liliputing nor the developers at CyanogenMod can be held responsible if something you do to your tablet causes it to stop working properly.

Source: http://liliputing.com/2011/10/how-to-install-google-android-on-the-hp-touchpad-with-cyanogenmod7.html

0 comments:

Twitter Delicious Facebook Digg Stumbleupon Favorites More