On Tue, 10 Mar 2009 18:22:06 -0400
Chris Frey <cdf...@foursquare.net> wrote:

> I could not, in good conscience, add this without user confirmation,
> so I added an ssh-style yes/no prompt to make sure the user knows what
> will happen if he says yes.

Good call...

> Also... what is your testing procedure for this? :-)

Testing procedure?  Run the command:

        bjavaloader wipe

If your device resets and shows a JVM error icon, congratulations your
device is wiped! :)

It helps to have an extra handheld laying around to test this with.  I
didn't bother to restore user data, so here is the procedure I used to
wipe a device and reload the OS.

You need to locate the exact Device Software bundle for your device.
For example if your device has 4.5.0.102 (2.7.0.85) then make sure the
package you download has that same version number.  This can usually be
retrieved from the support section on your carriers website.

You'll have to get this package extracted.  You can use a Windows PC,
and the files will be installed under:

c:\program files\common files\research in motion\shared\loader files

Hint: wine comes with a builtin msiexec tool which can extract windows
installer packages too.

Save the list of cod files already on the device:
        bjavaloader dir | grep -v '0x' |\
                sed 's/^[ \t]*//' | sed 's/[ \t]*$/.cod/' >list.txt

Wipe:
        bjavaloader wipe

Reload cod files:
        bjavaloader load `cat list.txt`

The device I am using is an 8800 and it took at least 10 minutes for it
to reboot after the cod files where finished loading.  And then a JVM
error was displayed.  After another reset the device was working fine.

I suspect the JVM error has to do with the device waiting for a
connections from the host computer which would in turn restore data?
I'm not 100% sure.

-- 
Josh Kropf <j...@slashdev.ca>

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to