A set of Scripts (programs) that allows:
Easily manage LVM, one of the greatest features of the TP.
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?
A small Linux OS is built into an img (ext2) file system and is loaded into memory as a RAMDisk.
Built from branch: master
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
2. Unzip TPToolbox-2015-01-08-v42.zip to the directory hptoolbox (http://downloads.codefi.re/jcsullins...-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
4. Creat a loop disk to have read and write access of the RAMDisk
sudo udisksctl loop-setup -f RAMDisk
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)
[email protected]:~$ sudo nautilus [sudo] password for ubuntu:
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
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
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