Monday, September 12, 2011

hp touchpad teared down

Saturday, September 03, 2011

Customization on hp touchpad: Disk partition for Linux and CPU Overclocking

Step 1. Update webOS from hp touchpad;

Step 2. On the unattached TouchPad enable the Developer Mode to install your third-party software:
Next Click on the Developer Mode Enabler icon that appears. The very 1st time you do this Click the "OFF" button to "ON" (w/blue button showing) if it requests a password Leave it Blank and just Click "Submit" bar. After that 1st time it will just put your TouchPad in Developer Mode to "ON" - Do not Click on the Set/Change Password bar.

Step 3. Create an ext3fs partition on hp touchpad for Ubuntu in developer mode.

3.1:  on Linux: open terminal and install git and Java runtime. Type:
sudo add-apt-repository "deb lucid partner"
sudo apt-get update
sudo apt-get install git
sudo apt-get install sun-java6-jre

3.1' Windows users can  download a copy of Ubuntu 11.04 from and run it in windows (like a usual application, no need to install). Then  follow the instructions in step 3.1 and the Linux section below.
 3.2:  Download the meta-doctor scripts using git. Type:
git clone git://
Navigate to the meta-doctor directory.
cd meta-doctor
 3.3: Create a downloads directory. Type:
mkdir downloads 
3.4: Type:
 cd downloads
3.5: open the Makefile with a text editor and uncomment (remove the leading # characters from) the options you would like to use. For example,  uncomment the line of EXT3FS_PARTITION_SIZE.
Then type:  
cd meta-doctor
make DEVICE=touchpad CARRIER=wifi all
3.6:  type: 
cd downloads
sudo mv webosdoctorp302hstnhwifi.jar webosdoctorp302hstnhwifi-3.0.2.jar
3.7: Type:
cd meta-doctor/build/touchpad-p302hstnh-wifi-3.0.2 
java -jar *.jar
3.8 Connect hp touchpad (in develop mode)  to PC via USB and select "Next" when it becomes available.    Ignore the question box appears on the TouchPad "USB Drive" or "Cancel"  and leave it up on the screen. 

Now disconnect hp touchpad.
Step 4. Install "WebOS Quick Install" on a PC;
In windows, just double click to run;
In ubuntu, use command line:
java -jar WebOSQuickInstall v4.2.3.jar

Now connect hp touchpad.
Step 5:  From the screen of WebOS click the "globe" icon to install preware

Step 6.  Get the optional ext3fs partition mounted at device boot. Note Novaterm was installed along with WebOSInstaller automatically. On ubuntu, type 
cd /opt/Palm/novacom
(On windows, download novaterm for windows and unzip it into the sdk/bin, run novaterm.exe or novaterm-1.exe from the palm/sdk/bin directory)
6.1:  Type:
mount -o remount,rw /
mkdir -p /media/ext3fs
echo "/dev/mapper/store-ext3fs /media/ext3fs ext3 noatime,data=writeback 0 0" >> /etc/fstab 
mount -a 

Step 7. Unattach touchpad and  open preware, touch left upper corner to find "Manage Feeds" and go to the bottom "NEW FEED "
7.1 Enter another new feed:
Name: webos-testing-armv7
Click “Add Feed” and then press OK to confirm
7.2: Enter another new feed:
Name: webos-kernels-testing

Click “Add Feed” and then press OK to confirm and reboot
Step 8. Open preware from hp touchpad, install " Govnah" from preware on hp touchpad 

Step 9. (Optional) Overclocking CPU to 1.8/1.732GHZ.  Restart (must restart! and keep the developer mode) touchpad to update Feed and return to REWARE---->List of Everything,Install "F4 Phantom (Touchpad)" in the list.

Step 10. Install ubuntuchroot or Debian chroot from preware.

Step 11. To install Ubuntu graphical desktop, one needs to firstly install Xceutah/Xserver/Xterm first, it seems that we can install Xauth from preware and the remaing two are automatically installed. 

Then run Xceutah which gives a screen with options to run xserver/xterm and Ubuntuchroot. 

 Touch xserver and then Ubuntu11.04 chroot will lead to a terminal. Type:
apt-get install ubuntu-desktop 
If one prefers xfce4 graphical desktop environment, type:
 apt-get install xfce4
After installation, type 

Step 12.  The p key issue in xfce4: The p key does not work by default after installation. In the graphical environment, go to system-->keyboard settings-->application shortcuts, remove the super p key.

Labels: , ,

HowTo: Run .jar files

HowTo: Run .jar files in Ubuntu in command line

java -jar filename.jar