Sunday, April 14, 2013

HP Touchpad - All Space

I just posted how to Factory Refresh your HP TouchPad. That guide does not include the steps for recovering all space and deleting all data. That is this post.

Downloaded items you will need:
  • PalmWebOS SDK - here 
  • Recovery uImage - here 
  • WebOS Doctor 3.00 - From Palm.com
Mount the Palm WebOS SDK.dmg and install the mpkg file, it will install under /opt/nova/bin/

You want to boot into the recovery by either of the following steps

  1. Power off the device, then power it back on by holding Volume UP and Power 
  2. Your moboot menu and selectin 'boot weOS Recovery' 
Once you have booted into recover, you want to run the following command, this is the full path but you can shortcut it. 
/opt/nova/bin/novaterm boot mem:// < /Users/smcgroarty/Downloads/nova-installer-image-topaz.uimage

This will load you into a boot prompt that looks something like this 
root§webos-device:/#
Once at this prompt you want to delete all the partitions and re-create them required system once. 
You can either copy and paste the following or type them all out manually. 
If you cut and paste them do it one line at a time, some lines have a prompt. 
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
lvm.static vgremove store
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
lvm.static vgcreate -s 8M store /dev/mmcblk0p14
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
lvm.static lvcreate -l 71 -i 1 -M y --major 254 --minor 0 -n root store
lvm.static lvcreate -l 8 -i 1 -M y --major 254 --minor 1 -n var store
lvm.static lvcreate -l 2 -i 1 -M y --major 254 --minor 2 -n update store
lvm.static lvcreate -l 3 -i 1 -M y --major 254 --minor 3 -n log store
lvm.static lvcreate -l 32 -i 1 -M y --major 254 --minor 4 -n mojodb store
lvm.static lvcreate -l 17 -i 1 -M y --major 254 --minor 5 -n filecache store
lvm.static lvcreate -l 1618 -i 1 -M y --major 254 --minor 6 -n media store
lvm.static lvcreate -l 64 -i 1 -M y --major 254 --minor 7 -n swap store
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
mkdosfs -f 1 -s 64 /dev/store/media

Once you have recreated the file system, hold the home button and the power button to turn off the tablet. 
Turn it back on and hold the Volume Up+Power to get back into recovery mode.
Once in recovery mood, click on the webosdoctorp300hstnhwifi.jar file, WebOS Doctor 3.04 will not work for this part. 

Follow the on screen prompts, and when you get to the install drivers, you want to skip that part that installs the drivers, and it will still install. 
It will take about 10 minutes to install the software, and about 5 minutes to boot afterwards. 
Once you have booted and sighed in you can verify and the free space should be around 13GB. 

Extras: 
After you do the install of 3.0 you can login and do the update to 3.05. It will take about 15 minutes to do the update. 

HP Touchpad - Factory Refresh

With the HP Touchpad, you might have installed Android on it, and then you want to give it to someone else for their use, only problem is, you cannot seem to get android, and all your data off of it.
Well this is how I went about it.
I am doing this on a mac, and i did have issues doing this on windows as well.
I could not get novacom to install on Win7.
I tried to follow the Guide - Factory Condition Reset and I could not get all the tools to work

These are the tools that worked for me:


Mount the Palm WebOS SDK.dmg and install the mpkg file, it will install under /opt/nova/bin/

Boot your Touchpad into recovery mode by one of the following methods
  1. Power off the device, then power it back on by holding Volume UP and Power 
  2. Your moboot menu and selectin 'boot weOS Recovery' 
This will display a USB symbol on the screen

to test that it is running, you can open a console and type 
/opt/nova/bin/novacom 

It will display the usage menu
MyMacbook:~ smcgroarty$ novacom 
version: novacom-22
usage: novacom [-a address] [-p port] [-t] [-l] [-d device] [-c cmd] [-r password] [-w] <command>
<Trimed for space> 

Next you want to run the downloaded WebOS Doctor 3.04 
This will open a java windows and be labeled as "Recovery Tool" 

Select your language and click next
Confirm your language 
Accept the license agreement
It states it will take 15 minutes to 1 hour so make sure if you are on a laptop, you are have enough battery, and also, before i started the tablet was charged to 100%

At this point the software asked me to install the drivers, but it wouldnt let me because a newer version was installed. Clicking cancel still allowed me to move on. 

Click Accept and it will start the install, and it requests that you do not disconnect your device. 

Also at this stage it will display a microchip image on the screen with an arrow pointing at it on the TouchPad 
My computer took less than 10 minutes to do the install, and then about 5 more minutes of the tablet setting itself up.

After this, the device will reset. and should boot to HP WebOS and ask for your account details. 
Also, click Done in the java window, then go play with your fresh tablet, but remember our data s still on the device. 

Extra Steps:
After loading in WebOS, i created my account, let it update, then did a complete factory wipe to remove all of my data. 
I then logged in again, resynced my accounts, and then wiped the accounts again before shippit it out. 

Final Note, this will leave 10GB of space free on the device, for recovering all the space on the device, and deleting the CyanogenMod partitions and following the next guide.
EDIT - Next guide is All Space

Monday, April 1, 2013

Sleep with me

I recently upgraded my home computer. My first new one in 5 years.
A basic breakdown of the build is
Asus P8Z77-V LX motherboard
Intel i5 3570k CPU (overclocked stably to 4.2GHz)
16GB Patriot RAM
Asus NVidia GT640
320GB SATA2 HDD (OS X)
2TB SATA6 HDD (Windows)
Corsair H50 water cooler
ThermalTake Commander MS-I Snow Edition

So the parts list is pretty basic, but I did have some issues that were unexpected. Like Windows would not sleep. I thought this was an issue I had created at first, so after getting everything setup, all the drivers installed, and the choice apps setup, I discovered the issue.
So I started over with re-installing Windows 7, and only the basic network drivers.
Same issue.
Ran the powercfg -energy and discovered that USB was preventing it from sleeping. The board has USB 2 and USB 3 onboard. So I installed the drivers from Asus, and still received the same issues from the powercfg report.
After a bit of poking around I discovered a fix that works.
Go into Control Panel > Power Options

I just search for power because it does not display correctly on a desktop.
and then Change power-saving settings > Balanced - Change plan settings > Change advanced power settings
This will pop up a new window, in the new window you want to look for and expand Sleep > Allow hybrid sleep > settings: Off

Hit apply, and you can now test it by going Start > Shutdown > Sleep
To verify open a command prompt as administrator and type powercfg -lastwake


Edit - 4/2/2013 - 12:00AM - Changed screen shot of power settings to my own screen shot