[TouchPad General] HP_TOUCHPAD:
What is the Touchpad Toolbox?

https://xdaforums.com/showthread.php?t=2756314

A set of Scripts (programs) that allows:

Easily manage LVM, one of the greatest features of the TP.

https://wiki.archlinux.org/index.php/LVM

Create Android, WebOS volumens, or total reset.

It can make a fresh /boot directory installation adding moboot.

Reflash the battery Firmware

Install specific, older version of recovery and Rom.

How is done?

https://webos-internals.org/wiki/Angstrom_on_Touchpad

A small Linux OS is built into an img (ext2) file system and is loaded into memory as a RAMDisk.

Angstrom v2015.01

Built from branch: master

Revision: 038d832

Target system: arm-angstrom-linux-gnueabi

This information is from the file angstrom-version located in the /etc folder of the RAMDisk.

Following this instructions will unpack the RAMDisk and Kernel, then can be repack as it would with any Android system.

All this is done on Linux ubuntu 18.04 x64 system. If you have any other OS you can install Linux as a virtual machine.

1 .Create a directory

hptoolbox

2. Unzip TPToolbox-2015-01-08-v42.zip to the directory hptoolbox (http://downloads.codefi.re/jcsullins/cmtouchpad/tptoolbox/TPToolbox-2015-01-08-v42.zip

3. Open terminal in the hptoolbox directoty and paste the following commands.

dumpimage -i TPToolbox-2015-01-08-v42.bin uImage.kernel

dumpimage -i TPToolbox-2015-01-08-v42.bin -p 1 RAMDisk_Compress

dd if=RAMDisk_Compress of=RAMDisk.xz bs=64 skip=1

xz -d RAMDisk.xz

## The RAMDisk which is 67.1MB is a Linux rev 0.0 ext2 filesystem data img file.

4. Creat a loop disk to have read and write access of the RAMDisk

sudo udisksctl loop-setup -f RAMDisk

## Mapped file RAMDisk as /dev/loop16 (this is only on my system and it will be different on others)

5. Mount the 67 MB Loop Device, it can easly be done using Disks

6. Open your file manager as sudo in (my system is nautilus, it can be different on other Linux)

ubuntu@ubuntu:~$ sudo nautilus
[sudo] password for ubuntu:

7. The settings for the ToolBox are in /usr/tptoolbox.

You have complete control on all the files, but read what each script says on top:

# This script is Copyright (c) 2014 James Sullins, All rights reserved.
# James (JC) Sullins, aka jcsullins
# No modifications or distribution without permission

To repack the Kernel and RAMDisk

1. Unmount the RAMDisk img and Detach the loop device

2 Open terminal in the hptoolbox directory and paste the following commands.

mkimage -A arm -T ramdisk -C none -n RAMDisk -d RAMDisk uImage.RAMDisk

mkimage -A arm -T multi -C none -n "Tenderloin ToolBOX Modified" -d uImage.kernel:uImage.RAMDisk uImage.ToolBox_Modified

In my system I can not make RAMDisk using xz compression but it works uncompress is just a 70MB file.

If the RAMDisk is compress using (( xz -9 RAMDisk )) then the file size will be as the original but it will not be recognized by the kernel at boot.

3. To load using the novacom driver:

novacom boot mem:// <uImage.ToolBox_Modified

Many thanks to jcsullins for creating the ToolBox ,which allowed many users to easily transition to Android from WebOS and gave new life to a device that could have been in landfills many years ago. In my opinion this has been the greatest Tool for the TP and finding out how it works made it even more amazing!