[TouchPad General] HP_TOUCHPAD:
HP Touchpad Universal Optimize Swap Settings for All Android ROMs

MAX 1GB RAM - MAX 1836 Frequency

Click HERE for detail Memory and Frequency information for each ROM

Click HERE to dual boot all listed Android ROMs and LuneOS

Click HERE for PowerOFF - Prevents Battery Drain

Upated: November 12, 2020: Added HP TOUCHPAD DEBRICK Linux Live CD

Upated: November 12, 2019: Added PowerOFF

Upated: November 07, 2019: Rom_Reducer to Evervolv, Kitkat by Milaq and LuneOS

Upated: October 09, 2019: HpTp_MaXtreme (Max Extreme Kernel Settings for All ROMs)

Upated: October 01, 2019: Added ROM: LineageOS 11 Kitkat by Milaq build October 01, 2019

Upated: September 28, 2019: All_Files for Lollipop got updated to fix WiFi

Upated: September 25, 2019: Added ROM LineageOS 14.1, HpTp_MAX_Settings, 1GB Swap

Upated: September 2, 2019: Fix Evervolv 7.1.2 Frequencies, Created: Universal Authority, Added: Evervolv Pie, Posted: Universal Settings

Upated: August 24, 2019: HP Touchpad Novacom Repair Android

Upated: August 2, 2019: New Improved Settings: HpTp_Universal_Optimized_Swap

Added ROM_Reducer; Removed support for Lineage 11

Upated: July 12, 2019: Flash ToolBox v42 by jcsullins to /boot

Upated: July 8, 2019: /System Partition is 2.2 GB:/ Improved Settings to All ROMs

________________________________________________________________

HP TOUCHPAD DEBRICK Linux Live CD

Built in with all the tools to properly run TP Debrick v005 by jcsullins and also novacom drivers.

Click HERE for the Guide

Click HERE to Download ISO File

________________________________________________________________

HP Touchpad Novacom Repair Android

Built in Novacom Driver, Repair non bootable Tablet, Flash ToolBox, Modify Ramdisk and more !

Click HERE for the Guide

Click HERE to Download ISO File

________________________________________________________________

Back up any data before making any changes to the Tablet, follow this guide:

Click here on how to backup ROM to PC and restore

Important, do not restore the /boot partition

________________________________________________________________

For WebOS users

WebOS has the swap partition and it can be share with Android.

There is no need to Flash the file Automatic_Wipe_All_and_Create_Android_with_Swap.

But to use Android PIE, Oreo and Nougat the Android /system partition must be 1400 MB.

There are two options to resize the Android /system partition.

Inside webOS using Tailor:

Click here for Tailor

Using the ToolBox:

Click here to download the ToolBox

After the Android /system partition have been resize Flash any listed ROM.

________________________________________________________________

The Automatic_Wipe_All_and_Create_Android_with _Swap can be flash using any Recovery.

It is best to use TWRP Recovery Version 3.1 or 3.2

Click here to download TWRP Recovery 3.1 by Flintman

Click here to download TWRP Recovery 3.2 by Flintman

________________________________________________________________

Easy Automatic process to Wipe All and Create Android partitions with Swap 1GB or 500MB

Click Here to Download Automatic_Wipe_All_and_Create_Android_with _Swap, choose 1GB or 500MB

This file MUST BE FLASH to create the swap partition to be use by the listed ROMs

A complete Data RESET of all the internal storage.

All partitions are deleted, is a total fresh start as if the Tablet came from factory with only Android install.

The Android partitions are created and formatted ready for use:

/system 2.2 GB ( Allows to install any ROM plus the maximum size of Open Gapps Variant Super )

/cache 200 MB ( Standard size )

/media 1GB or 500MB ( USB Media in Android, use it to save the ROM, Gapps and Universal Settings to Flash )

HpTp_MAX provides more RAM available and Android can use over 750 MB of swap space.

/swap 1GB or 500MB ( It allows Android to store temporally Data from RAM to allocate more Memory for Apps. )

/data depends on the model 16, 32 or 64 GB ( The free space available for Android Apps and user Data )

/boot 32 MB ( Is a fixed sized ) Moboot will be created and also TWRP Recovey 3.2.

The Tablet will boot as always, with Recovery in the Moboot Menu ready to Flash any ROM.

________________________________________________________________

Flash all listed ROMs in the order to download:

1. First the ROM ( Only the specific ROM by the built date will work )

2. HpTp MAX Universal Optimize Swap Settings ( Enables swap partition and provide the best settings for Android )

All_Files (name of the ROM) zip contains everything. Uncompress on PC first then flash the selected frequency.

2_A Optional -- HpTp_MaXtreme (Max Extreme Kernel for All ROMs)

Click HERE to Download HpTp_MaXtreme for All ROMs

If you do not know the maximum CPU speed of your Tablet flash 1674 first to set up.

All Kernels are the same, the speed is preset to avoid installing any Kernel App in Android.

Do not install any Apps in Android to make the Tablet work faster, it will be the opposite.

It will use more RAM and cause reboots, there is nothing to change.

This is a laptop with a touch screen keyboard not a phone.

3. Optional -- ROM Reducer Click HERE for ROM Reducer

4. Flash the Open Gapps according to the ROM version, is best to install Pico and build the system as need it.

5. Optional -- All listed ROMs have /system Read and Write enabled, Click HERE for Root access using SuperSu v2.82

6. Optional -- Universal Authority Click HERE for Universal Auhority

7. Important: Read the section on this guide -- Flash the ToolBox 2015-01-08-v42 by jcsullins into /boot

Flash the files in the listed order in TWRP all at one time.

The Tablet will boot into the Welcome setup screen as a brand new Device.

________________________________________________________________

Root access with SuperSu v2.82 for all the ROMs

5. Click Here to Download SR5-SuperSU-v2.82

________________________________________________________________

Evervolv v9 Android PIE by Elginsk8r

1. Click Here to Download the ROM

2. Click Here to Download HpTp_MAX, select All Files for this ROM

4. Click Here to download Google Open Apps

Select Platform ARM, Android 9 and the Variant you want, Pico is recommended

Click Here for detail information about the Pie ROM

________________________________________________________________

Dirty Unicorns v13 Android PIE by Flintman

1. Click Here to Download the ROM

2. Click Here to Download HpTp_MAX, select All Files for this ROM

4. Click Here to download Google Open Apps

Select Platform ARM, Android 9 and the Variant you want, Pico is recommended

Click Here for detail information about the Pie ROM

________________________________________________________________

Dirty Unicorns v8.1 Android Oreo by Flintman

1. Click Here to Download the ROM

2. Click Here to Download HpTp_MAX, select All Files for this ROM

4. Click Here to download Google Open Apps

Select Platform ARM, Android 8.1 and the Variant you want, Pico is recommended

Click Here for detail information about the Oreo ROM

________________________________________________________________

Evervolv 7.1.2 Android Nougat

1. Click Here to Download the ROM

2. Click Here to Download HpTp_MAX, select All Files for this ROM

4. Click Here to download Google Open Apps

Select Platform ARM, Android 7.1 and the Variant you want, Pico is recommended

Click Here for detail information about the Nougat ROM

________________________________________________________________

LineageOS 14.1 Android Nougat 7.1.2 by invisiblek

1. Click Here to Download the ROM

2. Click Here to Download HpTp_MAX, select All Files for this ROM

4. Click Here to download Google Open Apps

Select Platform ARM, Android 7.1 and the Variant you want, Pico is recommended

________________________________________________________________

CyanogenMod 12.1 Android Lollipop by Jcsullins

1. Click Here to Download the ROM

2. Click Here to Download HpTp_MAX, select All Files for this ROM

4. Click Here to download Google Open Apps

Select Platform ARM, Android 5.1 and only Pico

Click Here for detail information about the Lollipop ROM

________________________________________________________________

CyanogenMod 11 Android KitKat by Jcsullins

1. Click Here to Download the ROM

2. Click Here to Download HpTp_MAX, select All Files for this ROM

4. Click Here to download Google Open Apps

Select Platform ARM, Android 4.4 and only Pico

Click Here for detail information about the Kitkat ROM

________________________________________________________________

LineageOS 11 Android KitKat by Milaq November, 01 of 2019 Build

1. Click Here to Download the ROM

2. Click Here to Download HpTp_MAX, select All Files for this ROM

4. Click Here to download Google Open Apps

Select Platform ARM, Android 4.4 and only Pico

Click Here for detail information about the Kitkat ROM

________________________________________________________________

ROM Reducer

Click HERE for the Guide

2.Click HERE to Download, ROM Reducer is included in the All Files for each ROM.

________________________________________________________________

Universal Authority

Click HERE for the Guide

6. Click HERE for the Flash Files

________________________________________________________________

Flash the ToolBox 2015-01-08-v42 by jcsullins into /boot

________________________________________________________________

After successfully flashing any of the listed ROM the ToolBox can be flash into boot to maintain the battery.

Do NOT use the ToolBox to Resize or Repair Android Volumes.

If done it will corrupt all the Volumes ( Partitions ) and a PC with the Novacom driver must be use.

The ToolBox does not display the /swap partition, it was not created for that purpose.

Only after flashing all files from this guide the /boot partition has just enough space for the ToolBox.

7. Click Here to download all the files to flash the ToolBox to boot/

Flash_TPToolBox_v42_to_Boot.zip ( delete any splash *.tga images files and copy ToolBox into /boot )

Remove_TPToolBox_v42_from_Boot.zip ( delete the ToolBox from /boot )

If more than one ROM got flash and the ToolBox was not successfully copied to /boot then use this file:

Clean_Boot_Remove_All_ROM_Files.zip

It will create a back up of the boot files and clean /boot preserving the basic files, MoBoot and TWRP.

Then the Flash_TPToolBox_v42_to_Boot.zip can be flash.

Plus the Universal Optimize Swap Settings for the ROM installed in the Tablet.

The Universal Optimize Swap Settings copies the boot uImage for the ROM into /boot.

Keep all the downloaded files in the Micro SD card (USB Media) /external_sd ( it goes by all those names )

Any of the listed files can be flash any time and a PC is not required to maintain the battery of the Tablet.

Special Thanks to Jcsullins "The God Father of the HP Touchpad" for all the unique and great software that made it

possible to transition easily from WebOS to Android.

Click Here for my guide on How to unpack and repack the ToolBox

________________________________________________________________

/boot Partition Detail Information

________________________________________________________________

The boot partition was created with the basics to get everything working and provide
enough storage to accommodate:
TWRP/Recovery 3.2, each of the listed ROMs from Kitkat to Pie and the ToolBox.
The size of /boot is 32MB, is a fix size and can not be expanded.
Boot partition details after Automatic_Wipe_All:

Directories: size file name
bin 647.5k busybox
etc 16.1k lvm.conf
lib
lost+found
usr 1.2M lvm.static

Files: size
android.default.recovery 9 bytes
uImage 13 bytes (link to uImage.moboot )
uImage.moboot 63.8 K
uImage.Recovery 10.6 M

Total:
/dev/block/mmcblk0p13 size used available Use %
32.0M 14.1M 17.9M 44% /boot

A clean /boot has 17.9M of free space

Free Space After Pie ROM
/dev/block/mmcblk0p13
32.0M 20.8M 11.2M 65% /boot
The ToolBox is 11.2M

After flashing the ToolBox
/dev/block/mmcblk0p13
32.0M 31.6M 395.0K 99% /boot
There is only 395.0k available.

________________________________________________________________

HpTp Universal Optimize Swap Settings

________________________________________________________________

The following settings are applied to all listed ROMs and makes the Tablet work as a Laptop, not a phone.

All Developers have done a great job building the ROMs, if the same settings are apply then all performs very similar.

The hardware does not change and the basic requirements must be apply to all Android version.

There is nothing to add, but removed all the modules and only use the swap option.

The following features must be disable and can not be use:

Disable KSM, Low Memory Killer, CPU Boost, mpdecision

Changes in the Ramdisk:

The changes can be permanently modified using:

Click HERE to modify the Ramdisk

Not Permanent, Inside Android:

Click HERE to modify inside Android

File in the Ramdisk:fstab.tenderloin

/dev/store/swap none swap defaults swapprio=0, 0 0

File in the Ramdisk:init.rc

TCP Buffer increase to 6MB

on boot
# Define TCP buffer sizes for various networks
# ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
setprop net.tcp.buffersize.default 4194304,5242880,6291456,4194304,5242880,6291456
setprop net.tcp.buffersize.wifi 4194304,5242880,6291456,4194304,5242880,6291456

# Assign TCP buffer thresholds to be ceiling value of technology maximums
# Increased technology maximums should be reflected here.
write /proc/sys/net/core/rmem_max 6291456
write /proc/sys/net/core/wmem_max 6291456

extra_free_kbytes 20480

# system server cannot write to /proc/sys files,
# and chown/chmod does not work for /proc/sys/ entries.
# So proxy writes through init.
on property:sys.sysctl.extra_free_kbytes=*
write /proc/sys/vm/extra_free_kbytes 20480
# write /proc/sys/vm/extra_free_kbytes ${sys.sysctl.extra_free_kbytes}

File in the Ramdisk:Init.tenderloin.rc

on fs
# Enable swap partition
swapon_all /fstab.tenderloin

on property:sys.boot_completed=1
# Swap Partition Settings
write /proc/sys/vm/block_dump 0
write /proc/sys/vm/dirty_background_bytes 0
write /proc/sys/vm/dirty_background_ratio 10
write /proc/sys/vm/dirty_bytes 0
write /proc/sys/vm/dirty_expire_centisecs 600
write /proc/sys/vm/dirty_ratio 20
write /proc/sys/vm/dirty_writeback_centisecs 600
write /proc/sys/vm/drop_caches 3
# change in ramdisk init.rc write /proc/sys/vm/extra_free_kbytes 20480
write /proc/sys/vm/highmem_is_dirtyable 0
write /proc/sys/vm/laptop_mode 0
write /proc/sys/vm/legacy_va_layout 0
# write /proc/sys/vm/lowmem_reserve_ratio 32 32
write /proc/sys/vm/max_map_count 65530
write /proc/sys/vm/min_free_kbytes 40960
write /proc/sys/vm/min_free_order_shift 4
write /proc/sys/vm/mmap_min_addr 32768
write /proc/sys/vm/mmap_rnd_bits 16
write /proc/sys/vm/nr_pdflush_threads 0
write /proc/sys/vm/oom_dump_tasks 0
write /proc/sys/vm/oom_kill_allocating_task 1
write /proc/sys/vm/overcommit_memory 1
write /proc/sys/vm/overcommit_ratio 50
write /proc/sys/vm/page-cluster 8
write /proc/sys/vm/panic_on_oom 0
write /proc/sys/vm/percpu_pagelist_fraction 0
write /proc/sys/vm/scan_unevictable_pages 0
write /proc/sys/vm/stat_interval 1
write /proc/sys/vm/swappiness 100
write /proc/sys/vm/vfs_cache_pressure 100

# Increase readahead buffers on MMC devices
write /sys/block/mmcblk0/bdi/read_ahead_kb 0

# CPU Scaling
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 384000
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq 384000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1674000
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq 1674000

# Configure Performance
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor performance
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor performance

# Entropy
write /proc/sys/kernel/random/write_wakeup_threshold 2048
write /proc/sys/kernel/random/read_wakeup_threshold 1195

# I/O
write /sys/block/mmcblk0/queue/rq_affinity "0"
write /sys/block/mmcblk0/queue/scheduler "bfq"

________________________________________________________________

Disclaimer: I am not a developer, just a regular user like YOU that have found a way to improve the Tablet and would like others to benefit by sharing the information.

I am not the creator of any ROM, Recovery or App mentioned or used. All credits goes to the developers than have worked and provided the best ROMs there is for our Tablet and there are way too many to mentioned, but everyone know who they are! Thanks a lot to all of YOU (Developers for the HP Touchpad)!

Special Thanks:

@flintman for all his work creating TWRP Recovery and the many customs ROMs with the latest PIE.

@elginsk8r for developing and maintaining Evervolv ROMs, currently PIE.

* The stock Kernel has been modified to provide more RAM and a higher frequency.