FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

[NO LONGER SUPPORTED][GUIDE] Triple Boot Ubuntu, Android, and WebOS

2,637 posts
Thanks Meter: 5,453
 
Thread Closed Email Thread
ATTENTION!

This guide is outdated and I can no longer support it as I no longer own an HP Touchpad.

Disclaimer:
  • This WILL void your warranty.
  • I am not responsible for mistakes, typos, bricked devices, or any problems you may encounter. You have been warned.
  • You will most likely brick your device if you aren't very familiar with Linux file systems and advanced UNIX CLI.
  • Follow steps PRECISELY.
  • Back up your files, you WILL lose everything you have on your Touchpad.
  • Please, be very careful.
  • I no longer own an HP Touchpad, so please help each other with issues.

What Works
  • WiFi
  • Bluetooth
  • USB Host (via OTG and Y-Cable Solution)
  • It's pretty much stable and very useable

What Doesn't Work/Some Bugs
  • Camera
  • Microphone
  • Audio
  • Unity is laggy (I suggest Gnome Classic or LXDE)
  • Mouse pointer disappears sometimes


Prerequisites:
  • PC (preferably running a Linux operating system)
  • The ability to follow directions precisely


For WebOS (Part 1):

For Ubuntu (Part 2):

For Android (Part 3):
Part 1 (WebOS)

FYI: How to enter Developer Mode In the "Just type..." text field at the home screen, type "webos20090606". In the results, there will be an icon labeled "Developer Mode". Select this, do not enter a password, and turn on Developer Mode.

A. Turn on Touchpad and connect to PC via USB
B. Open WebOS Doctor 3.0.0 and allow to run to 8%
C. Kill WebOS Doctor
D. Open Novaterm (Linux/OSX, simply type "novaterm" into a terminal window. Windows, navigate to C:\Program Files\Palm, Inc\Terminal\novaterm [it's a Windows Batch File], now press CTRL+SHIFT+C and hit enter to connect to the device [Windows only])
E. You should now be in a bash shell. Enter the following commands (one by one) to manually recreate the device partition scheme:

Code:
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
lvm.static vgremove store
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
lvm.static vgcreate -s 8M store /dev/mmcblk0p14
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
lvm.static lvcreate -l 71 -M y --major 254 --minor 0 -n root store
lvm.static lvcreate -l 8 -M y --major 254 --minor 1 -n var store
lvm.static lvcreate -l 2 -M y --major 254 --minor 2 -n update store
lvm.static lvcreate -l 3 -M y --major 254 --minor 3 -n log store
lvm.static lvcreate -l 32 -M y --major 254 --minor 4 -n mojodb store
lvm.static lvcreate -l 17 -M y --major 254 --minor 5 -n filecache store
lvm.static lvcreate -l 64 -M y --major 254 --minor 7 -n swap store
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
This command will display information about the Volume Group: store. At the bottom you will see "Free PE/SIZE X / XX" (where "X" is your own value). Please take note of the "Free PE" value.
Code:
lvm.static vgdisplay
Replace the "X" in the first command with the value you took note of in the previous command.
Code:
lvm.static lvcreate -l X -M y --major 254 --minor 6 -n media store
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
mkdosfs -f 1 -s 64 -F 32 /dev/store/media
F. Run WebOS Doctor 3.0.0, allow it to complete and reboot into the language selection screen.
G. Power down the Touchpad by holding the Home and Power buttons simultaneously.
H. Boot into WebOS Recovery Mode by holding down the Volume Up and Power buttons simultaneously until a USB logo appears on the screen.
I. Run WebOS Doctor 3.0.5
J. Set up WebOS as you normally would

Part 2 (Ubuntu)

A. Mount USB Drive mode
B. Copy files from the prerequisite section of this guide into the root folder of the device.
C. Unmount/eject device
D. Enable Developer Mode (webos20090606 in "Just type...")
E. Open Novaterm again
F. Enter the following commands (one at a time):

This will create a 4GB partition for Ubuntu. Your device will reboot afterward, make sure it ends up back into WebOS with Developer Mode enabled again.
Code:
cd /media/internal
cp 4GBPartition.sh /tmp
cd /tmp
sh 4GBPartition.sh
This will install Ubuntu and the Moboot Bootloader. After install has completed, your device will reboot into Moboot, select "Ubuntu" to boot into Ubuntu and finish setup.
Code:
cd /media/internal
cp 4GBUbuntuInstallSystem.sh /tmp
cd /tmp
sh 4GBUbuntuInstallSystem.sh
Once you reach the Ubuntu log in screen, click on the universal access icon in the top right-hand corner and select On-Board keyboard. Type in the password "ubuntu". Once booted into Unity, click the dash home and browse through installed applications (opening On-Board and Terminal). Type the following into the terminal to enable Bluetooth and Wifi (sudo password is "ubuntu"):
Code:
sudo depmod -a
sudo gedit /etc/modules
Now a Gedit text editor window has opened. Add "ath6kl" to the bottom, save, and close. Go back to the terminal and type the following:
Code:
sudo update-rc.d bcattach_srv defaults
sudo reboot
Part 3 (Android)

A. Boot into WebOS
B. Connect via USB and enable USB Drive mode
C. Create a folder called "cminstall" in the root of the device
D. Copy all files from the Android prerequisite section into "cminstall"
E. Unmount/eject device
F. Enable developer mode (webos20090606 in "Just type...")
G. Open Novaterm
H. If in Windows, please copy the "ACMEInstaller2" file to "C:\Program Files\Palm, Inc\Terminal"
I. If in Windows, open a terminal and type the following commands in one line at a time:

Code:
cd 'C:\Program Files\Palm, Inc\Terminal'
novacom boot mem:// < ACMEInstaller2
J. If you are in Linux, simply change directories to where you have "ACMEInstaller2".
Code:
cd /directory/containing/ACMEUninstaller2/
novacom boot mem:// < ACMEInstaller2
K. Android will now install and the device will now reboot again.
L. Boot into ClockworkMod and flash GAPPS.

Sources
http://forum.xda-developers.com/show....php?t=1305891
http://code.google.com/p/hp-touchpad...i/Installation
http://wiki.rootzwiki.com/HP_Touchpad
http://forum.xda-developers.com/show....php?t=1304475
http://rootzwiki.com/topic/18843-rel...od-9-touchpad/
The Following 8 Users Say Thank You to MikeCriggs For This Useful Post: [ View ]
 
 
25th May 2012, 11:40 AM |#2  
waynekirby's Avatar
Senior Member
Flag Barnsley
Thanks Meter: 534
 
Donate to Me
More
awesome
Been looking for this

Sent from my Touchpad using XDA Premium HD app
25th May 2012, 03:40 PM |#3  
Leoisright's Avatar
Inactive Recognized Developer
Flag MN
Thanks Meter: 6,949
 
Donate to Me
More
Nice. This is a nice rainy day project to check off the list. Well done.

Sent from my HTCEVO3D using Tapatalk
The Following User Says Thank You to Leoisright For This Useful Post: [ View ] Gift Leoisright Ad-Free
25th May 2012, 03:43 PM |#4  
MikeCriggs's Avatar
OP Recognized Developer / Contributor
Flag Liberty, NY
Thanks Meter: 5,453
 
Donate to Me
More
Quote:
Originally Posted by Leoisright

Nice. This is a nice rainy day project to check off the list. Well done.

Sent from my HTCEVO3D using Tapatalk

Thanks mate!

Sent from my Galaxy Nexus using Tapatalk 2
26th May 2012, 04:00 PM |#5  
Xmalek's Avatar
Member
Thanks Meter: 12
 
More
"TouchPadBuntuRootfs.tgz" link is broken
mirrors:
http://dl.dropbox.com/u/11867712/Tou...untuRootfs.tgz
http://dl.dropbox.com/u/4357827/Touc...untuRootfs.tgz
http://dl.dropbox.com/u/20796504/Tou...untuRootfs.tgz
http://touchpadbuntu-touchpadbunutu....untuRootfs.tgz

(found on http://wiki.hp-touchpad-ubuntu.googl...tallation.wiki )

edit Stuck on Part 2:
just after "cd /media/internal
cp 4GBPartition.sh /tmp
cd /tmp
sh 4GBPartition.sh"
Moboot works, but if I chose ubuntu it reboots after 15-20 sec (probably expected ?)
So I boot in WebOS in order to launch "sh 4GBUbuntuInstallSystem.sh" but I have "Cannot write: No space left on device"
Any hints please ? =)
The Following User Says Thank You to Xmalek For This Useful Post: [ View ] Gift Xmalek Ad-Free
27th May 2012, 04:48 PM |#6  
MikeCriggs's Avatar
OP Recognized Developer / Contributor
Flag Liberty, NY
Thanks Meter: 5,453
 
Donate to Me
More
Quote:
Originally Posted by Xmalek

"TouchPadBuntuRootfs.tgz" link is broken
mirrors:
http://dl.dropbox.com/u/11867712/Tou...untuRootfs.tgz
http://dl.dropbox.com/u/4357827/Touc...untuRootfs.tgz
http://dl.dropbox.com/u/20796504/Tou...untuRootfs.tgz
http://touchpadbuntu-touchpadbunutu....untuRootfs.tgz

(found on http://wiki.hp-touchpad-ubuntu.googl...tallation.wiki )

edit Stuck on Part 2:
just after "cd /media/internal
cp 4GBPartition.sh /tmp
cd /tmp
sh 4GBPartition.sh"
Moboot works, but if I chose ubuntu it reboots after 15-20 sec (probably expected ?)
So I boot in WebOS in order to launch "sh 4GBUbuntuInstallSystem.sh" but I have "Cannot write: No space left on device"
Any hints please ? =)

Thanks for the links. I'll place them in the OP when I get a chance.

Sorry to hear about your troubles, and even more sorry to say that you're going to have to go through Part 1 again :/. Even the slightest typo in a UNIX CLI can cause major issues. I'm on a 16GB TP and these are the steps I used to get a triple boot working perfectly. I can't imagine your EMMC is too small for 3 boot images.

Sent from my Galaxy Nexus using Tapatalk 2
27th May 2012, 11:43 PM |#7  
VitaZora's Avatar
Senior Member
Thanks Meter: 49
 
More
Thumbs up
I wanted to follow up these great instructions by adding that there is a way to do this if you are already dual booting Webos and Android.
I followed the instructions here http://code.google.com/p/hp-touchpad...i/Installation and had no trouble with a preexisting install of Android CM9 and Moboot. Smooth and easy as pie. I also was able to easily uninstall using the provided uninstall script.
Just wanted to let people know that if you are already dual booting you can add Ubuntu with no worry of breaking a preexisting dual boot or having to Doctor anything.
The Following User Says Thank You to VitaZora For This Useful Post: [ View ] Gift VitaZora Ad-Free
28th May 2012, 07:29 PM |#8  
MikeCriggs's Avatar
OP Recognized Developer / Contributor
Flag Liberty, NY
Thanks Meter: 5,453
 
Donate to Me
More
Quote:
Originally Posted by VitaZora

I wanted to follow up these great instructions by adding that there is a way to do this if you are already dual booting Webos and Android.
I followed the instructions here http://code.google.com/p/hp-touchpad...i/Installation and had no trouble with a preexisting install of Android CM9 and Moboot. Smooth and easy as pie. I also was able to easily uninstall using the provided uninstall script.
Just wanted to let people know that if you are already dual booting you can add Ubuntu with no worry of breaking a preexisting dual boot or having to Doctor anything.

I tried this a while back but it always bricked my device :/. And this is coming from an advanced Linux user.

Sent from my Galaxy Nexus using Tapatalk 2
28th May 2012, 08:17 PM |#9  
bbm21's Avatar
Senior Member
Thanks Meter: 45
 
More
ok so ubuntu doesn't work as the root password...

edit: nevermind
28th May 2012, 08:19 PM |#10  
MikeCriggs's Avatar
OP Recognized Developer / Contributor
Flag Liberty, NY
Thanks Meter: 5,453
 
Donate to Me
More
Quote:
Originally Posted by bbm21

ok so ubuntu doesn't work as the root password...

Ubuntu disables root by default. You can enable it by typing "sudo passwd".

Sent from my Galaxy Nexus using Tapatalk 2
29th May 2012, 04:12 AM |#11  
Senior Member
Thanks Meter: 17
 
More
I'm wanting to do this but I am not up to date on the status of the Ubuntu port. What is actually not working at this point? Do I have to have a usb mouse and keyboard to set up ubuntu or can i use the touch screen? Can you play videos and such correctly in ubuntu?
Thread Closed Subscribe to Thread

Tags
android webos ubuntu tenderloin touchpad
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes