Testing LunaCE

Introduction
The intent of this page is to provide a tester who may have far more enthusiasm than knowledge of webOS software development with some basic information on what they're doing, a set of commands that they can cut and paste into a terminal window and some reference material. The webos-internals disclaimer and testing feeds rules all apply here. While it's highly unlikely, you can brick your TouchPad while testing. Be prepared to need to recover LunaSysMgr with palm-install (part of the SDK-PDK), or to have to use the webOS doctor to restore webOS, or to lose all of your data. Those last three are all covered below.

Notes and Assumptions

 * " " is Unix/Linux shorthand for the location of your home directory.
 * " " represents the command prompt in your terminal window.
 * The commands you are to cut and paste are in.
 * Do not include the " " when you cut and paste (it's ok if you include the space between the " " and the command).
 * You have at least skimmed WebOS Internals' Basic Linux Use page.
 * Unless you're intending to try your hand at building WOCE, you don't need to install VirtualBox.

Requirements

 * Computer running Ubuntu Linux or Mac OS X
 * 'Developer Mode' is enabled on your TouchPad (How To Enable Developer Mode)
 * Install git.
 * Install the appropriate versions of the Palm SDK-PDK (you will need this if you have to recover) and novacom on your computer (the novacom install is on the SDK-PDK install page).
 * Installing the SDK-PDK on Linux
 * Installing the SDK-PDK on OS X
 * Install Save/Restore from Preware on your TouchPad and set it to back up your app data daily.
 * Check that the Palm Backup app backups are "on" and that your data is being backed up to their servers daily.
 * Donate to webos-internals. Yes, right now. We'll wait :)

How to Recover

 * 1) Download the stock Palm LunaSysMgr 3.0.5-3 to your computer. This is the same recovery package that you can install with Preware, but if something goes really wrong, you won't be able to run Preware.
 * 2) Open a terminal window (Linux) or Terminal.app (OS X).
 * 3) Using that window, go to your downloads directory and check the MD5 fingerprint of the ipkg, which should match this string:
 * 4) *for Linux type
 * 5) *for OS X type
 * 6) If the fingerprint strings do not match, something may have gone wrong. Delete the file you just downloaded and download another copy. If they still don't match, let the developer you're working with know and/or send a PM via the webOS Nation forums to member lagoldste.
 * 7) If it's not still connected from doing the install, connect your TouchPad via USB to your computer.
 * 8) From your TouchPad, when the connection is detected, just tap 'Close' in the notification window.
 * 9) Go back to the terminal window on your computer and type:
 * This will install the stock ipkg and reboot your TouchPad.
 * 1) Go back to the terminal window on your computer and type:
 * This will install the stock ipkg and reboot your TouchPad.
 * This will install the stock ipkg and reboot your TouchPad.
 * This will install the stock ipkg and reboot your TouchPad.


 * If your TouchPad is still borked, it's probably time for the webOS Doctor.

Installing a LunaSysMgr pre-release test binary

 * Before you do anything else:
 * Run a Save/Restore backup.
 * Run a Palm Backup app backup.
 * Connect your TouchPad via USB to your computer, put it in USB mode, and copy the entire USB drive folder to your computer.
 * Eject your TouchPad and disconnect it from your computer to take it out of USB mode.

NOW you're ready to test.


 * 1) Connect your TouchPad via USB to your computer.
 * 2) From your TouchPad, when the connection is detected, just tap 'Close' in the notification window.
 * 3) Go to the terminal window on your computer, download the binary from the WOCE git repository and install it on your TouchPad.
 * 4) *If this is your first time testing, you need to clone the repository:
 * 5) *If you already have a copy of the repository:
 * 6) *Note: The script will stop the LunaSysMgr that is currently installed on the TouchPad, make the root filesystem writeable, copy over the test LunaSysMgr, make the root filesystem read only again and reboot the TouchPad.
 * 1) *If you already have a copy of the repository:
 * 2) *Note: The script will stop the LunaSysMgr that is currently installed on the TouchPad, make the root filesystem writeable, copy over the test LunaSysMgr, make the root filesystem read only again and reboot the TouchPad.
 * 1) *If you already have a copy of the repository:
 * 2) *Note: The script will stop the LunaSysMgr that is currently installed on the TouchPad, make the root filesystem writeable, copy over the test LunaSysMgr, make the root filesystem read only again and reboot the TouchPad.
 * 1) *Note: The script will stop the LunaSysMgr that is currently installed on the TouchPad, make the root filesystem writeable, copy over the test LunaSysMgr, make the root filesystem read only again and reboot the TouchPad.
 * 1) *Note: The script will stop the LunaSysMgr that is currently installed on the TouchPad, make the root filesystem writeable, copy over the test LunaSysMgr, make the root filesystem read only again and reboot the TouchPad.
 * 1) *Note: The script will stop the LunaSysMgr that is currently installed on the TouchPad, make the root filesystem writeable, copy over the test LunaSysMgr, make the root filesystem read only again and reboot the TouchPad.

Have fun testing :)

Is it a LunaCE related issue?
From rwhitby:

This is the required test sequence for any person who is beta testing, to prove whether the issue is related to LunaCE or not.


 * 1) Install Palm LunaSysMgr ; reboot ; test.
 * 2) Install LunaCE ; reboot ; test
 * 3) Install Palm LunaSysMgr ; reboot ; test
 * 4) Install LunaCE ; reboot ; test

If it is repeatable in that sequence, then please open a ticket in the Issue Tracker.