yashsingh1/xdaforums huggingface dataset:
[TouchPad General] anonxlg:
-edit again-

thought it might because of /boot not enough space, but I think it's enough now, i'm checking it AGAIN, I've copied /boot and it seems to be using 28mb after a new install of evervolv 9

is everyone using ev_tenderloin-9-userbuild-2019.08.30.zip?

upon 1st boot, with just the build zip installed with nothing else, the boot error is invalid data crc
[TouchPad General] HP_TOUCHPAD:
To check the size of /boot using TWRP Recovery select mount and check only Boot.

Go to Terminal and enter df -h , it will show the details in MB.

Attached is a Terminal screenshot using ADB Shell of /boot on a Tablet with Evervolv PIE.
[TouchPad General] HP_TOUCHPAD:
HP TOUCHPAD - MAX 1GB RAM - MAX 1836 Frequency - For All ROMs

The Guide was updated and the new HpTp_Max settings posted for all ROM.
[MENTION=4544215]Steelskinz[/MENTION] LineageOs was added, camera support was dropped as it does not work for video recording. If the camera is disable there is more RAM available.

Only ROMs with a full working camera , picture and video have it active.

The Maximum free RAM is 952 MB, more RAM more Swap space.

Automatic_Wipe_All, is provided in two configurations 1GB swap 1GB USB Media and 500MB swap 500MB USB Media.

If the user will be using Apps that require a lot of RAM at once then is best to redo Wipe_All of 1GB swap.

Swap been used:

shell@tenderloin:/ $ free -h
total used free shared buffers
Mem: 952M 912M 40M 0 152K
-/+ buffers/cache: 912M 40M
Swap: 1.0G 739M 285M

Click HERE for Detail Info.
[TouchPad General] anonxlg:
Filesystem Size Used Available Use% Mounted on
tmpfs 414.1M 188.0K 414.0M 0% /dev
tmpfs 414.1M 20.0K 414.1M 0% /tmp
/dev/mapper/store-cm--cache 196.8M 6.1M 190.7M 3% /cache
/dev/mapper/store-cm--data 17.0G 1.1G 15.9G 6% /data
/dev/mapper/store-cm--data 17.0G 1.1G 15.9G 6% /sdcard
/dev/mapper/store-media 8.0G 1.6G 6.4G 19% /external_sd
/dev/block/mmcblk0p13 31.0M 31.0M 0 100% /boot
/dev/mapper/store-cm--system 2.1G 868.0M 1.2G 41% /system

i guess it really is too full.

I copied my boot folder over and it's 28mb.

is there anything on here i can delete/clean up?

(what i don't get here is that the uImage.Android here IS 7mb, the same size as the boot.img in the zip file file, however, when I delete and copy over the boot.img manually, it give me the error 1 and becomes a 5.98mb file)
[TouchPad General] middle_road:
It doesn't appear that you've done up your tablet per this method with 'Wipe All'.

There's a lot of items in there for this method and you're maxed out.

Here's what /boot has in it w/EV9 installed via 'Wipe_All'.

On this tablet - /boot is at 66%.

-=- LINK to ScreenShots-=-

https://www.mediafire.com/view/gdn989n098z9xi2/Screenshot_20190926-113034_BOOT.png

(still can't post/embed images. Guess I'll go submit another ticket...)
[TouchPad General] anonxlg:
because i have webos i want to keep and my partitions are sized the way i want it to
[TouchPad General] middle_road:
Ah, then you're going to need to trim down /boot of files before trying to flash EV9.

I just went and dug through my backups from 2011, and found one from CM.

Grabbed a screenshot of a CWM bu. Shows sizes of the sub-directories also.

Perhaps that can serve as a reference for removing files to reclaim some space.

-=- LINK -=- CM_Boot_2011.jpg

...

..

.
[TouchPad General] anonxlg:
are those folders 4KB?

my /usr folder:

/usr/bin (empty)

/usr/lib (empty)

/usr/sbin/ lvm.static (1.20MB)

my /lib folder:

/lib/ld-2.8.so (147KB)

/lib/libc-2.8.so (1.46MB)

/lib-2.8.so (497KB)

i deleted: boot-genesis.tar.gz, boot-images.tar.gz, genesis-update.xml, image-update.xml so far, 6.6MB free

Also, i opened internalz pro with error: service does not exist: ca.canucksoftware.filemgr

(i removed and installed it back on preware and it still doesn't work)
[TouchPad General] HP_TOUCHPAD:
Whatever happens inside WebOS, stays there, nothing can de done to fix it.

For the record:

The Tablet can have up to Three OS Options in the moboot menu, example:

WebOS

LuneOS

Android

If you are familiar how to use the PC and loading uImages with the novacom driver, TWRP Recovery is not need it in the /boot partition.

TWRP Recovery is only use to flash Android, back up and restore and that does not need to be done often.

By Removing TWRP Recovery from /boot it will free over 10MB, allowing for Three OS uImages to be flash.

Any time TWRP Recovery needs to be use, place the Tablet into the WebOS Recovery ( USB Symbol )

Connect to PC, unzip TWRP and load the uImage.Recovery using the novacom command.

novacom boot mem:// < uImage.Recovery

TWRP Recovery will be loaded into the Tablet's memory and will work the same as if run from /boot.

That is an option if three uImage files are need it in /boot.

For Android only Tablets, can also work by having three settings for the same ROM.

Android (Original ROM Settings ) Run Android with smartphone settings ( no swap partition )

Android (HpTp_Universal_Optimize_Settings) Stock Kernel, changed Ramdisk and build.prop

Android (HpTp_MAX) Modified Kernel, Ramdisk and build.prop

The uImage can be rename as:

uImage.Android_Original

uImage.Android_HpTp_Universal

uImage.Android_HpTp_MAX
[TouchPad General] anonxlg:
In that case, I think i'll just delete webos uimage and copy back when I need it.

Another question for everyone, did you guys format to f2fs? it's suppose to be faster than ext4 if it's working properly.
[TouchPad General] HP_TOUCHPAD:
The f2fs is not supported by all ROMs, in Android PIE is only supported in /data and /cache as per fstab:

/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

The file system needs to be changed only using TWRP Recovery, for only /data and /cache. I do not know if there is going to be any significant speed improvement.

What makes any Device faster, specially low RAM hardware is by keeping only the necessary that will be use for, RAM is ALL.
[TouchPad General] middle_road:
Thanks again for taking the time and effort to put this together.

Now I need to pick a tablet and wipe it with the 1GB version and test drive it.

...

..

.
[TouchPad General] HP_TOUCHPAD:
During testing the MAX settings I noticed that with the increase of RAM the swap file also grew in size.

The 1GB version will only be used if the HpTp_MAX settings is flashed.

Also while updating the Tablets with the new Automatic_Wipe_All (1GB). One Tablet failed to get the Micro sd card ( USB MEDIA ) partition created and formatted.

I had to run Automatic_Wipe_All a second time, just as it happened to you. It has nothing to do with the /boot partition, it maybe that when the script runs and there is an issue with a partition it stops and then reboots without finishing the process, but a second run fixed it. Whiteout seen the output on the screen is impossible to know why it happened.
[TouchPad General] HP_TOUCHPAD:
Updated: All_Files_CM_12_1_JC_5_1_Lollipop.zip ( Fix WiFi )

Update:

September, 28 2019

The HpTp_Max settings for Lollipop got changed to fix the WiFi.
[TouchPad General] chrissss91:
Hi, sorry but I don't find the link
[TouchPad General] BGrosse:
It's all in the thread "HP TOUCHPAD Optimize for All Android ROMs with Swap Partition" by HP_TOUCHPAD (this thread)! You have to read the OP carefully...
[TouchPad General] chrissss91:
I've read it multiple times, but I'm a bit lost :cyclops:.

Each time I read it I feel like I'm falling in a rabbit hole, being sent from HP TOUCHPAD Optimize for All Android ROMs with Swap Partition to HP TOUCHPAD - MAX 1GB RAM - MAX 1836 Frequency - For All ROMs and then I loop to the beginning :eek:

I'm actually on DU13 with :

- "ROM_Reducer_DU_v13_Flintman_Pie.zip

- "1728_Performance_DU_v13_Pie_Boost_Optimize.zip" (an old one from may it seems)

- Pico Gapps

Wait, I think I've got it : https://xdaforums.com/hp-touchpad/general/hp-touchpad-optimize-android-swap-t3901773

Number 2 go to https://www.mediafire.com/folder/uecjn1dmraxk8/, download "All_Files_DU_v13_flintman_9_Pie.zip", open zip file and finally flash one of zipped files in "MAX_Kernel_Ramdisk_build_prop_Settings" folder of the downloaded archive :highfive:.

I'll give it a try :good:

[Edit] And as I'm on DU 13, I use Android 9, so finally no need of Lollipop new files. Sorry to have bothered you
[TouchPad General] Steelskinz:
WiFi not working anymore after flashing HpTp_MAX_1674_CPU_Universal_Optimize_Swap_LineageOS_14_1_invisiblek_Nougat.zip it connects but doesn't work
[TouchPad General] HP_TOUCHPAD:
Verified WiFi works for HpTp_MAX_1674_CPU_Universal_Optimize_Swap_LineageOS_14_1_invisiblek_Nougat.zip and also 1836 and all other frequencies.

Attached are screenshots using Firefox to browse this site.
[TouchPad General] anonxlg:
I played around with evervolv pie, it works pretty well. Pretty cool seeing full 1gb ram and working at 1.8ghz. However, I switched back to 7.1.2 because xposed framework doesn't work on pie without magisk and magisk doesn't work with hp touchpad. I actually tried manually patching the boot.img with magisk, but it doesn't work.

I'm going to start over on 7.1.2 with f2fs and hope that IO problem I had before doesn't show up. Flashed to 1.8ghz and 910mb ram and all is working fine so far.

Great work as always HP_TOUCHPAD.

I'm really curious as to why devs reserved like 150mb of ram to be not used. I'm guessing when rom dev was starting, 1gb was a luxury and there might have been a future use for it, but as time went on, it was forgotten and legacy code from rom to rom.
[TouchPad General] HP_TOUCHPAD:
Read this article, but I will give my own explanation of the reserved memory in Android.

https://gadgetstouse.com/blog/2013/08/08/listed-ram-free-ram/
[TouchPad General] HP_TOUCHPAD:
Xposed Framework for the HP Touchpad

Xposed Framework, works on the HP Touchpad.

Xposed Framework works with Android version.

Lollipop

Marshmallow

Nougat

Oreo

Click HERE for the Xposed Forum on XDA

All the ROMs provided on this guide have system read and write access and the following works with Xposed:

Lollipop

Nougat

Oreo

Click HERE for Xposed Guide

Download the installer from the guide:

https://xdaforums.com/attachment.php?attachmentid=4393082&d=1516301692

To be install after flashing the Xposed Frame work in TWRP

How to flash Xposed on the Touchpad.

Follow the same flash process from this guide.

Flash SuperSU for root access.

Flash the Xposed Framework for the Android ROM in use.

( I will use DU Oreo 8.1 as an example )

Click HERE for the Index of all Framework

Select sdk27 / arm and the file xposed-v90-sdk27-arm-beta3.zip

Reboot to Android

Install the Xposedinstaller_3.1.5.apk

make sure to grant root access when asked.

Reboot to activate and done !

The attached screenshot is of DU Oreo 8.1
[TouchPad General] HP_TOUCHPAD:
Block Advertisement from ALL Web Browsers

The issue with the Tablet been slow while browsing the internet is due to the massive amount of advertisement.

Installing Ad blockers and Apps will take resources (RAM) and make it even slower.

By changing the hosts file with the list of the advertisers and prevent a connection resolves the issue.

It works system wide with all installed browser, no extra resources is use and the Web site does not detect that Ads are been block.

Download load the following file and flash it with TWRP to All ROMs

Click HERE to Download Universal WEB AD Block
[TouchPad General] middle_road:
yep, yep, browsing has been slowing to a crawl recently and doing poorly.

Going to try this suggestion and see how it goes. (Right after I get done with the 1GB test-drive)

I installed Brave a while back and it's quite a bit better, but a bunch of sites complain and popups appear all over.

Sites are scrambling for advertising dollars and I understand that, but when is it going to dawn on someone that

they have to be less intrusive and resource hungry?
[TouchPad General] Steelskinz:
My bad. It is still not working anymore after full wipe and reinstall. Will investigate that. Going to wipe all with your files as it is a long long time i didn't do anything about the partitions.

For browsing i'm using Bromite which is a fork of chromium with adblock integrated : https://www.bromite.org/
[TouchPad General] HP_TOUCHPAD:
Bromite Web Browser

Installed the latest version of bromite web browser, it works perfectly!

By the way Bromite browser works extremely fast, I could say is the best to use, thanks [MENTION=4544215]Steelskinz[/MENTION] for sharing it.

Click here to Download Bromite Web Browser

Attached are screenshot running LineageO S_14_1_invisiblek_Nougat
[TouchPad General] HP_TOUCHPAD:
[MENTION=769509]Tipika[/MENTION] thanks for your question. It does worked, I installed Dirty Unicorns or Evervolv ( both will work ) on my original WebOS Tablet from the Firesale.

The swap partition can be share by both WebOS and Android, the only thing that was need it back in 2011 was to add the swap partition in the fstab to be mounted by Android and the Tablet will have been performing at its best performance since the beginning of the first port of Android to the tablet.

But the new ROMS needs more space in the /system partition, this is a requirement of Android regardless if is use with a swap or not.

The /system folder needs to be 1400MB and I think now must be set up to 1200MB? It only needs 200 MB to be taken from the Media partitions.

Shrink Media and Expand /system.

To avoid data loss and because every user may have their WebOS and Android partition layout different, is very difficult to provide a flash file that will make the changes.

This is to prove the same Swap Partition been use in WebOS and Android.

WebOS:

root@TP:/# free -m
total used free shared buffers cached
Mem: 918 363 554 0 61 110
-/+ buffers/cache: 192 726
Swap: 399 0 399

Android (Dirty Unicorns) it does work also for Evervolv

root@android:/ # free -h
total used free shared buffers
Mem: 828M 794M 34M 0 26M
-/+ buffers/cache: 768M 60M
Swap: 400M 40M 360M
[TouchPad General] Nomad1600:
I installed Evervolv (and Pico version of OpenGapps 7.1), not Dirty Unicorns and it stays on the Evervolv scrolling color logo for way longer than 5 minutes. Is it safe to proceed with the same fix described above (advanced wipe, repair partition (one at a time), resize file system, back, back)? Thanks for the response!
[TouchPad General] HP_TOUCHPAD:
[MENTION=5590960]Gborg3[/MENTION] you have my permission to share and mentioned anything I post on XDA and if you want to change it and improve you can do that as well.

Read this

Read this

Read this

Google did not implemented a Swap Partition.

WebOS did and it used LVM to manage the storage.

Android smartphones users can use a swap file, instead of a swap partition, but when it comes to performance is not the same. Also zRAM is used to compress RAM.

The HP Touchpad was ahead of its time by using LVM.

RAM is very inexpensive now and for smartphones a swap file is not need it, even in desktops.

All this is very old and was implemented originally by WebOS in 2011.
[TouchPad General] HP_TOUCHPAD:
For Evervolv:

After selecting Evervolv from the moboot menu the installation will begin.

The animation of the Evervolv Logo will be active for about 8 minutes, if Pico Open Gapps was flashed, if other Gapps then it will take longer until the welcome set up screen. It takes time to be set up for first time, it will only freeze if the animation is still or taken more than 15 minutes if Pico Gapps was Flashed.

Yes it is safe to do that to all ROMS, what is doing is checking and fixing the file system for errors. It will not damage the data in any way.

Is a good process to do if you feel the tablet may have a file system problem.

Is like running Ckeck Disk.
[TouchPad General] Nomad1600:
OK, thanks, Checked and fixed the three partitions it let me fix. I rebooted and I'll let it run through the boot process for a while (its been a while since I used Evervolv... so watching the logo roll).

Update, after at least 40 minutes the tablet never got past the Evervolv logo. Should I start all over again?
[TouchPad General] HP_TOUCHPAD:
Did you followed the instructions : Click here

Unmounted all partitions and check after for a susses rebuild?
[TouchPad General] Nomad1600:
I believe I followed the instructions in the OP. I don't know what you mean "check after susses rebuild is"? Can you explain? Thanks!
[TouchPad General] HP_TOUCHPAD:
Did you look at the Graphical screen instructions Click here to see the instructions

When all done in TWRP Terminal entering ./lvm.static/lvs and see the swap partition at the end.

As you had to check the file system for errors it may not terminated the process correctly.
[TouchPad General] Nomad1600:
I must not doing it correctly. From twrp I go Advanced>Terminal and type in .lvm.static/lvs and all it says is .lvm.static/lvs: Not Found.

I tried starting over, wiping everything including internal storage and reran the first flash. Here are the "error messages" listed:

Failed to mount cache,

Failed to mount data

Failed to mount system

Then it said Done

Failed to mount system.

It says if you get two error messages it worked correctly. Seems I get four error messages?
[TouchPad General] HP_TOUCHPAD:
did you click on on here and follow the directions?

CLICK HERE for the INSTRUCTIONS

the command is enter by mounting /boot

then

/boot/usr/sbin/./lvm.static/lvs
[TouchPad General] Nomad1600:
Yes, I did go through both the OP directions and tried to watch the gif directions, when you get to step 15 it doesn't provide the details mounting /boot and and including /boot/usr/sbin before "./lvm.static/lvs". At least if it did I missed it. Thanks.

I tried a second time, this time with DU and OpenGapps 8.1 Pico instead of Evervolv and OpenGapps 7.x and it seems I now have a working TouchPad again (I'm adding apps now). I will have to try it for a while to get a sense of how much faster it is.

btw, If I decide to try Evervolv again, do I need to start over, or simply flash the ROM and correct Gapps (plus keyboard fix)?
[TouchPad General] Gborg3:
Backup data through TWRP or Titanium for Backup of user apps if desired and move backup to external sd partition once made large enough through TouchPad Toolbox or transfer to a computer.

Wipe>>Advanced wipe>>Dalvik/ART Cache/Cache/Data/System

Install>>ev_tenderloin-7.1.1-testing-2017.03.25.zip+Gapps+Keyboard fix(if necessary)+SuperSu(if root is desired)

Reboot>>System

Sign in Google account, Set up settings and SuperSu

Reboot Recovery

Install>>ev_tenderloin-7.1.2-nightly-2017.11.03+SuperSU(if flashed previously)

Reboot>>System

Reboot to recovery>>Install>>swap optimized kernel at the speed your TouchPad will function with

Reboot>>System

Restore apps if they are backed up

Setup Wizard force closes on my TouchPad if I directly flash 2017.11.03 without 2017.03.25 first and booting to system and logging into Google account. I do the rom with Gapps and SuperSu first and boot while leaving out the kernel because I have gotten a boot loop every time I have flashed them together with no boot in between. Also, I used Pico Gapps and did not use the keyboard fix and oddly had no errors, force closes or anything beyond a functioning keyboard and everything going as I hoped.

Going from DU to EV is just backing up data, then clean flashing like normal once the swap partitioning is configured. Nothing different than normal happens until you flash the necessary kernel for either rom. Once that is done and everything is logged in, you have a happy little TouchPad.
[TouchPad General] HP_TOUCHPAD:
If the instructions are not followed exactly as posted it is not going to work, this is not a regular flash zip file.

This will completely wipe everything and rebuild it again same as the ToolBox Data Reset.

NO partition can be mounted, the Tablet can not be connected to the PC by USB.

The Flash file must be copy to acct directory (memory) then:

All Partitions must be manually unmounted like showed in the instructions.

Only two errors will show, if you had more, it failed as the partitions did not get unmounted and data error will happened.

A reboot must be done and then installed the other flash files in the number specified at one shot with no reboots.
[TouchPad General] HP_TOUCHPAD:
Where are you getting all this instructions from?

None are listed in the guide, all that is completely wrong and it will not work at all.

After a Wipe out and rebuild.

You must flash all the zip files in the order listed 1 , 2 , 3, 4 ,5 with no reboots in between.

After all is flashed, you reboot, get the welcome screen and set up your tablet, that is all to do.
[TouchPad General] Nomad1600:
OK, so it sounds like I still haven't done it correctly. And from the above, I can start over, doing a fullwipe (including data and internal storage, then start the process as shown in the instructions.
[TouchPad General] HP_TOUCHPAD:
I updated the guide to make it easier to follow, you can add your comments and I will change it.

You can flash the Wipe all and rebuilt Flash file as many times as you want.

If done correctly, it only needs to be done once and never again.

Is the same thing as reformatting your PC hard drive and install a different operating system or the same.

This will make the Tablet an Android only Device optimized with a swap file for the first time using Android.

Think of it, instead of getting it whit WebOS, it is with 100% Pure Android.

My advice to you, since you had the data error is to do it again and pay attention to the two ending errors. If you got only those two, then it all work.

You can now install Dirty Unicorns or Evervolv. If you want to switch any time, you can and there is no need to start the process again.

If you want to install any other ROM you can, but the Kernel and Ramdisk for that ROM will not be set up to use the Swap Partition.
[TouchPad General] Gborg3:
[MENTION=8005714]HP_TOUCHPAD[/MENTION] I think I did it originally exactly as your directions stated and ended up in the boot loop. After that I wiped through TWRP and did the rom, gapps, su and kernel the way I indicated. Remembering everything is challenging for me since having way too many strokes, parts of my brain removed and being stuck in the Philippines for a few years with a constant everyday audio based assault on my neurological health. I am pretty sure I thought I killed my TouchPad at least once during the swap install and I am still clueless how I accomplished the repartitioning and getting everything up and running well with swap. Ignore me unless I accidentally start making complete sense.
[TouchPad General] HP_TOUCHPAD:
If is not done exactly as posted, the result will not be the same and you will end up with a Tablet that will be slow.

The Touchpad will not get Brick by doing this process.

Is very simple, do not over complicated, you can certainly do it.

The most important is to do the Wipe_All process correctly, follow the Graphical screen it takes 15 seconds to go from one step to the next, if you want a version that takes longer, I can do that.

A Reboot is required, if is not done it won't work

Then flash all the zip files in the order listed.

Then Reboot and you will get the welcome screen to set up the tablet.

There is only two reboots to do and is all set.