Evervolv 7.1.2 SKZ Kernel with Swap partition enable and optimized

Search This thread

HP_TOUCHPAD

Senior Member
Jan 18, 2017
1,259
529
No need to follow this, Flash Files are available here to do automatically !
https://forum.xda-developers.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://forum.xda-developers.com/hp-touchpad/general/how-to-backup-restore-using-twrp-copy-t3892047
https://forum.xda-developers.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.
Code:
# 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

Code:
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.
 
Last edited:

middle_road

Senior Member
Feb 21, 2011
357
105
East TN
No need to follow this, Flash Files are available here to do automatically !
https://forum.xda-developers.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.
.......
Going to have to give this a try.
Thanks for taking the time to put it together.
 

HP_TOUCHPAD

Senior Member
Jan 18, 2017
1,259
529
@HP_TOUCHPAD. Cheers for this man. I've flashed the rom yesterday and followed the guide after you posted the final version.
Evervolv 7.x feels really snappy :)
Yes all the ROMs works the same as it have the same settings. Pick and the one you like the most all work with the same speed.
Thanks for trying it out and reporting, enjoy your brand new Tablet. !
 

jhonnyx

Senior Member
Oct 14, 2009
810
608
Buenos Aires
Yes all the ROMs works the same as it have the same settings. Pick and the one you like the most all work with the same speed.
Thanks for trying it out and reporting, enjoy your brand new Tablet. !
Not all the roms. Picked DU 12.5, which was Oreo based, I believe, and it was sluggish. That's why I chose the other ROM.

Anyhow, I'll test the Other roms as they come. Feel free to hit me up/mention me if you need testing.

Great work, man, keep it up!
 

HP_TOUCHPAD

Senior Member
Jan 18, 2017
1,259
529
Not all the roms. Picked DU 12.5, which was Oreo based, I believe, and it was sluggish. That's why I chose the other ROM.

Anyhow, I'll test the Other roms as they come. Feel free to hit me up/mention me if you need testing.

Great work, man, keep it up!
I want to make sure we are on the same page, you installed 7.1.2 using this guide and flash the proper speed for your tablet:https://forum.xda-developers.com/hp-touchpad/general/hp-touchpad-optimize-android-swap-t3901773
You also installed 8.1 from that guide but found it slow?
Did you tried 9?
 

Sanras

Senior Member
I want to make sure we are on the same page, you installed 7.1.2 using this guide and flash the proper speed for your tablet:https://forum.xda-developers.com/hp-touchpad/general/hp-touchpad-optimize-android-swap-t3901773
You also installed 8.1 from that guide but found it slow?
Did you tried 9?
Is there any advantage to using to this SKZ kernel over the Max 1836 kernel? Or is your Max kernel included in the "All files for this rom.zip" based off of this kernel? Also, does the Max kernel include the GPU overclock? I noticed the Touchpad is a bit lacking in the GPU department.
 

HP_TOUCHPAD

Senior Member
Jan 18, 2017
1,259
529
Is there any advantage to using to this SKZ kernel over the Max 1836 kernel? Or is your Max kernel included in the "All files for this rom.zip" based off of this kernel? Also, does the Max kernel include the GPU overclock? I noticed the Touchpad is a bit lacking in the GPU department.
This is an obsolete guide, it is posted on the first page:
No need to follow this, Flash Files are available here to do automatically !
HpTp_Max and HpTp_MaXtreme (optimized settings ) includes everything.
The HP Touchpad lack of everything, is an 11 year old device, now in 2022.
But still functional in many ways.
 

Sanras

Senior Member
This is an obsolete guide, it is posted on the first page:
No need to follow this, Flash Files are available here to do automatically !
HpTp_Max and HpTp_MaXtreme (optimized settings ) includes everything.
The HP Touchpad lack of everything, is an 11 year old device, now in 2022.
But still functional in many ways.
Ok, thanks. And to confirm, HpTp_Max does include the GPU overclock too right?
 

HP_TOUCHPAD

Senior Member
Jan 18, 2017
1,259
529
Ok, thanks. And to confirm, HpTp_Max does include the GPU overclock too right?
For all ARM based devices, the GPU is built into the CPU ( combo ) same as desktop or laptops that do not offer a dedicated GPU.
For the HP Touchpad:
ChipsetQualcomm APQ8060 Snapdragon S3
CPUDual-core 1.2 GHz Scorpion
GPUAdreno 220

The 1GB RAM is shared by the GPU, some of that RAM is used by the GPU for the driver resources.
Then Android run a Virtual Machine for the java apps and the graphics settings are specified in the build.prop.
If you are familiar with virtual machines on the PC, there are settings to allocate GPU RAM for the graphics ( display settings ). It does not matter how fast or new the GPU card is, but how much RAM is assigned to the virtual machine to be able to handle the proper display resolution.
The same applies to Android, if the settings to run the virtual machine in the build.prop are not properly configured then nothing will run regardless of how overclock the GPU is. The lack of graphics performance on the tablet is due to 1GB or RAM and that is why the importance of the swap partition to gain some RAM.
There is no magic code to improve or make the display better because is all about " RAM " and there is only 1GB for everything.
If you would like to see all the settings from any Kernel that is running on the Tablet, then you can install Kernel Adiutor, just to check the settings.

https://m.apkpure.com/kernel-adiutor-root/com.grarak.kerneladiutor

 
Last edited:
  • Like
Reactions: Steelskinz

Sanras

Senior Member
For all ARM based devices, the GPU is built into the CPU ( combo ) same as desktop or laptops that do not offer dedicated GPU.
For the HP Touchpad:
ChipsetQualcomm APQ8060 Snapdragon S3
CPUDual-core 1.2 GHz Scorpion
GPUAdreno 220
Yes, I know it's integrated into the SoC. It does seem to have a separate clock speed though.

The original thread for the SKZ kernel mentions a GPU overclock as well: https://forum.xda-developers.com/t/...vervolv-7-1-x-1890khz-cpu-320mhz-gpu.3513534/
 

HP_TOUCHPAD

Senior Member
Jan 18, 2017
1,259
529
Yes, I know it's integrated into the SoC. It does seem to have a separate clock speed though.

The original thread for the SKZ kernel mentions a GPU overclock as well: https://forum.xda-developers.com/t/...vervolv-7-1-x-1890khz-cpu-320mhz-gpu.3513534/
Install Kernel Adiutor and you will see all the settings. It must be uninstall or better re-flash the ROM to avoid any issues.
As already mentioned, the issue with the GPU is the limited about of RAM, not the clock speed.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    No need to follow this, Flash Files are available here to do automatically !
    https://forum.xda-developers.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://forum.xda-developers.com/hp-touchpad/general/how-to-backup-restore-using-twrp-copy-t3892047
    https://forum.xda-developers.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.
    Code:
    # 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

    Code:
    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.
    2
    I have to say thanks to HP_TOUCHPAD for his consistent replies and guidance for overclocking and getting this tablet to work again.
    You are very welcome ! A lot of developers spent a lot of time on this Tablet, they deserve all the credits.
    1
    Ok, thanks. And to confirm, HpTp_Max does include the GPU overclock too right?
    For all ARM based devices, the GPU is built into the CPU ( combo ) same as desktop or laptops that do not offer a dedicated GPU.
    For the HP Touchpad:
    ChipsetQualcomm APQ8060 Snapdragon S3
    CPUDual-core 1.2 GHz Scorpion
    GPUAdreno 220

    The 1GB RAM is shared by the GPU, some of that RAM is used by the GPU for the driver resources.
    Then Android run a Virtual Machine for the java apps and the graphics settings are specified in the build.prop.
    If you are familiar with virtual machines on the PC, there are settings to allocate GPU RAM for the graphics ( display settings ). It does not matter how fast or new the GPU card is, but how much RAM is assigned to the virtual machine to be able to handle the proper display resolution.
    The same applies to Android, if the settings to run the virtual machine in the build.prop are not properly configured then nothing will run regardless of how overclock the GPU is. The lack of graphics performance on the tablet is due to 1GB or RAM and that is why the importance of the swap partition to gain some RAM.
    There is no magic code to improve or make the display better because is all about " RAM " and there is only 1GB for everything.
    If you would like to see all the settings from any Kernel that is running on the Tablet, then you can install Kernel Adiutor, just to check the settings.

    https://m.apkpure.com/kernel-adiutor-root/com.grarak.kerneladiutor