Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
MikeyCriggz
Old
(Last edited by MikeyCriggz; 23rd February 2013 at 09:56 AM.) Reason: No longer supported.
#1  
MikeyCriggz's Avatar
Senior Member - OP
Thanks Meter 671
Posts: 1,048
Join Date: Dec 2010
Location: Liberty, NY

 
DONATE TO ME
Default [NO LONGER SUPPORTED][GUIDE] Triple Boot Ubuntu, Android, and WebOS

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/
If I have helped you at all, please hit the thanks button.

My Current Device:


My Current Work:


G+ | Twitter
The Following 8 Users Say Thank You to MikeyCriggz For This Useful Post: [ Click to Expand ]
 
waynekirby
Old
#2  
waynekirby's Avatar
Senior Member
Thanks Meter 358
Posts: 607
Join Date: Nov 2010
Location: Barnsley

 
DONATE TO ME
awesome
Been looking for this

Sent from my Touchpad using XDA Premium HD app


Want to Get Notified for Incoming SMS And Call with Camera FlashLight try this FlashBlink

Proud member of TeamXperia
GB & ICS Rom's
 
Leoisright
Old
#3  
Leoisright's Avatar
Recognized Developer
Thanks Meter 6602
Posts: 4,636
Join Date: Dec 2010
Location: MN

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

Sent from my HTCEVO3D using Tapatalk
Device: Samsung Note 2 and Samsung Nexus 10
ROM: Synergy, rooted 4.1.2
Kernel: Stock

Nexus 10 Developement
The Following User Says Thank You to Leoisright For This Useful Post: [ Click to Expand ]
 
MikeyCriggz
Old
#4  
MikeyCriggz's Avatar
Senior Member - OP
Thanks Meter 671
Posts: 1,048
Join Date: Dec 2010
Location: Liberty, NY

 
DONATE TO ME
Quote:
Originally Posted by Leoisright View Post
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
If I have helped you at all, please hit the thanks button.

My Current Device:


My Current Work:


G+ | Twitter
 
Xmalek
Old
(Last edited by Xmalek; 26th May 2012 at 04:55 PM.)
#5  
Xmalek's Avatar
Member
Thanks Meter 9
Posts: 34
Join Date: Feb 2010
"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: [ Click to Expand ]
 
MikeyCriggz
Old
#6  
MikeyCriggz's Avatar
Senior Member - OP
Thanks Meter 671
Posts: 1,048
Join Date: Dec 2010
Location: Liberty, NY

 
DONATE TO ME
Quote:
Originally Posted by Xmalek View Post
"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
If I have helped you at all, please hit the thanks button.

My Current Device:


My Current Work:


G+ | Twitter
 
VitaZora
Old
#7  
VitaZora's Avatar
Senior Member
Thanks Meter 46
Posts: 205
Join Date: Feb 2011
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: [ Click to Expand ]
 
MikeyCriggz
Old
#8  
MikeyCriggz's Avatar
Senior Member - OP
Thanks Meter 671
Posts: 1,048
Join Date: Dec 2010
Location: Liberty, NY

 
DONATE TO ME
Quote:
Originally Posted by VitaZora View Post
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
If I have helped you at all, please hit the thanks button.

My Current Device:


My Current Work:


G+ | Twitter
 
bbm21
Old
(Last edited by bbm21; 28th May 2012 at 07:31 PM.)
#9  
bbm21's Avatar
Senior Member
Thanks Meter 45
Posts: 473
Join Date: Jul 2010
ok so ubuntu doesn't work as the root password...

edit: nevermind
 
MikeyCriggz
Old
#10  
MikeyCriggz's Avatar
Senior Member - OP
Thanks Meter 671
Posts: 1,048
Join Date: Dec 2010
Location: Liberty, NY

 
DONATE TO ME
Quote:
Originally Posted by bbm21 View Post
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
If I have helped you at all, please hit the thanks button.

My Current Device:


My Current Work:


G+ | Twitter

 
Post Reply+
Tags
android webos ubuntu tenderloin touchpad
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...