[TouchPad Development] HP_TOUCHPAD:
No need to follow this, Flash Files are available here to do automatically !

https://xdaforums.com/hp-touchpad/general/hp-touchpad-optimize-android-swap-t3901773?nocache=1

Do not judge by how the device will work by looking at the code, which is completely different from what have been suggested all this years.

That is the reason I am providing the boot image. So that you can test it on your tablet and see it for yourself.

None of this will create any damage, is the opposite your tablet will have less work to do and work faster.

Before trying this out you must have already created a swap partition here are the steps:

https://xdaforums.com/hp-touchpad/general/how-to-backup-restore-using-twrp-copy-t3892047

https://xdaforums.com/hp-touchpad/general/how-to-create-swap-partition-size-t3892060

If installing on a running system with a swap partition, or you back up the system and then restore it after creating the partition.

The Dalvik/Art Cache

Cache

Must be wipe using TWRP ( For all settings to work properly )

What would the changes do?

Make the HP Touchpad work as originally intended, a tablet not a smartphone.

You will be able to play HD 720 videos, using google youtube app and any browser.

Use Google Maps, Google Earth and many others apps that is impossible to use now.

CPU settings (The normal that all tablets will work) It can be increase to 1890000.

MAX 1728000 Minimum 192000 interactive

Readahead buffers (as per LVM)

4096

Scheduler bfq

The following Skz Kernel modules permanently removed. Even if the module is disable its settings will be active, that is the reason of the removal.

# CONFIG_HOTPLUG is not set

# CONFIG_INTELLI_PLUG is not set

# CONFIG_ASMP is not set
# CONFIG_HOTPLUG_CPU is not set

# CONFIG_KSM is not set
# CONFIG_UKSM is not set

# CONFIG_ANDROID_LOW_MEMORY_KILLER is not set
# CONFIG_ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES is not set

The following Ramdisk files have been modified to apply the optimum settings.

fstab.tenderloin

init.tenderloin.power.rc

init.tenderloin.rc

Details
fstab.tenderloin

#<src>	<mnt_point>	<type>	<mnt_flags and options>	<fs_mgr_flags>
/dev/block/mmcblk0p13	/boot	ext3	ro,noatime,barrier=0	recoveryonly
/dev/store/cm-system	/system	ext4	rw,errors=panic	wait
/dev/store/cm-data	/data	f2fs	rw,nosuid,nodev,noatime,nodiratime,inline_data,inline_xattr,inline_dentry	wait,check,formattable
/dev/store/cm-data	/data	ext4	nosuid,nodev,noatime,noauto_da_alloc,errors=panic	wait,check,formattable
/dev/store/cm-cache	/cache	f2fs	rw,nosuid,nodev,noatime,nodiratime,inline_data,inline_xattr,inline_dentry	wait,check,formattable
/dev/store/cm-cache	/cache	ext4	nosuid,nodev,barrier=1	wait,check,formattable
/dev/store/swap	swap swap defaults swapprio=1, 0 0

/devices/virtual/block/dm-6	auto	vfat	defaults	voldmanaged=sdcard1:auto,nonremovable,encryptable=userdata

/devices/platform/msm_hsusb_host.0	auto	auto	defaults	voldmanaged=usbdisk:auto,noemulatedsd

# zRAM
# /dev/block/zram0	none	swap	defaults	zramsize=1073741824,max_comp_streams=2,notrim,swapprio=2

init.tenderloin.power.rc
# Configure Performance Governor
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "performance"
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor "performance"

# CPU boost
write /sys/module/cpu_boost/parameters/boost_ms 0
write /sys/module/cpu_boost/parameters/input_boost_ms 0
write /sys/module/cpu_boost/parameters/sync_threshold 1728000
# write /sys/module/cpu_boost/parameters/input_boost_freq 1728000

# GPU boost
write /sys/devices/platform/kgsl-2d0.0/kgsl/kgsl-2d0/max_gpuclk "266667000"
write /sys/class/kgsl/kgsl-3d0/max_gpuclk "320000000"

# KGSL trustzone governor
write /sys/class/kgsl/kgsl-3d0/pwrscale/trustzone/governor ondemand

on property:sys.boot_completed=1
# Configure Interactive
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "interactive"
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor "interactive"

# CPU Workqueues
write /sys/module/workqueue/parameters/power_efficient "N"

# Entropy
write /proc/sys/kernel/random/write_wakeup_threshold 4096
write /proc/sys/kernel/random/read_wakeup_threshold 4096

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

init.tenderloin.rc

# Swap Settings
write /proc/sys/vm/block_dump 0
write /proc/sys/vm/dirty_background_bytes 0
write /proc/sys/vm/dirty_background_ratio 80
write /proc/sys/vm/dirty_bytes 0
write /proc/sys/vm/dirty_expire_centisecs 60000
write /proc/sys/vm/dirty_ratio 90
write /proc/sys/vm/dirty_writeback_centisecs 60000
write /proc/sys/vm/drop_caches 0
write /proc/sys/vm/extra_free_kbytes 9216
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 10000
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 1
write /proc/sys/vm/oom_kill_allocating_task 0
write /proc/sys/vm/overcommit_memory 1
write /proc/sys/vm/overcommit_ratio 50
write /proc/sys/vm/page-cluster 0
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 60
write /proc/sys/vm/vfs_cache_pressure 100

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

Download the file and copy it as is in your boot directory using TWRP. That is if you have extra space for 5.9MB, you should if only using Android.

Before booting you should have already disable any app that you have installed to optimized the settings, otherwise settings will be overwriten and will not take effect.

After booting for firs time, depending on how many apps you have, it could take very long time to be ready for use.

Give it some time, let it rest and finish rebuilding.

Many thanks to everyone that work on the Evervolv Team that provided the TP users with this great ROM and also to Shumash for creating the fastest Kernel for all Android ROMS.