Reflashing Tool for the O2 Joggler

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Locked
User avatar
roobarb!
Posts: 1529
Joined: Sat Mar 05, 2011 1:30 pm
Location: Manchester, UK
Contact:

Reflashing Tool for the O2 Joggler

Post by roobarb! » Thu May 12, 2011 1:31 pm

-------------------------
Reflash System
New Version Available Here!
-------------------------

The Reflashing Tool is designed to be a reliable method of reflashing the O2 Joggler, even in the event that the internal flash memory has had it’s partitions destroyed. The Joggler is remarkably robust and will continue to boot from external USB devices even when the internal memory has given up, so unless you have a hardware failure or EFI problem this should get things working again.

In addition, this system can also be used to write a completely different operating system to the internal memory, such as SqueezePlay OS. Please note that the alternative OS should have been designed to run from the internal memory. You could potentially flash anything, but not everything will work.


Full instructions are on the site, but briefly:

1. Download the Reflashing System from the link above and write it to a USB device of at least 2GB capacity.

- If you wish to restore the original (O2) operating system:
2. Download the latest Reflash Script and (optionally) the original OpenPeak O2 image, then copy them both to the reflash directory on rfl-boot.

- If you wish to write an alternative image file, such as SqueezePlay OS:
2. Simply copy both the .img.gz and .img.gz.md5 files to the reflash directory on rfl-boot.

3. Power off your Joggler and insert the USB stick into the side socket.

4. Power on your Joggler and watch.


The reflashing system talks you through what's happening on screen, so even if something goes wrong you should be able to post the output here and we can help you out.

The Reflashing Tool has now been extensively tested on many Jogglers, with a high degree of success. However, this software is used entirely at your own risk and will not repair a Joggler where the internal flash memory has become worn or damaged. If the internal memory has failed, you will no longer be able to run the default operating system, but there are many alternatives available that work extremely well from a USB storage device.
birdslikewires.net - home of the Reflash System, SqueezePlay (OS) and various tools for the Joggler!

User avatar
BuZz
Site Admin
Posts: 1449
Joined: Fri Mar 04, 2011 1:15 am

Re: Reflashing Tool for the O2 Joggler

Post by BuZz » Thu May 12, 2011 3:33 pm

Cool stuff! I added a link to this to the sticky thread also.

User avatar
dwl99
Posts: 765
Joined: Fri Mar 04, 2011 7:38 am
Location: Glasgow

Re: Reflashing Tool for the O2 Joggler

Post by dwl99 » Fri May 13, 2011 6:22 am

What a star!

danjog2
Posts: 60
Joined: Fri Mar 04, 2011 12:01 pm

Re: Reflashing Tool for the O2 Joggler

Post by danjog2 » Sat May 14, 2011 3:34 pm

Just done this using the Windows instructions all recovered, except the bleeping joggler still goes into the "Updates have finished, will now reboot" loop.
So infuriating...

Thanks for making this tool, I feel like I'm closer, just not quite close enough.

AshleyGiles
Posts: 4
Joined: Sat May 14, 2011 3:14 pm

Re: Reflashing Tool for the O2 Joggler

Post by AshleyGiles » Sat May 14, 2011 5:15 pm

I have followed all of the instructions and my Joggler is displaying 'Stalling for network..' and has been for some time. Is this normal?

User avatar
roobarb!
Posts: 1529
Joined: Sat Mar 05, 2011 1:30 pm
Location: Manchester, UK
Contact:

Re: Reflashing Tool for the O2 Joggler

Post by roobarb! » Sun May 15, 2011 1:02 am

AshleyGiles wrote:I have followed all of the instructions and my Joggler is displaying 'Stalling for network..' and has been for some time. Is this normal?
That's normal if you've got no wired internet connection to your Joggler or it has not received an address by DHCP. You'll need to add the reimage file to the USB stick by hand. The instructions describe how to do this.
birdslikewires.net - home of the Reflash System, SqueezePlay (OS) and various tools for the Joggler!

User avatar
roobarb!
Posts: 1529
Joined: Sat Mar 05, 2011 1:30 pm
Location: Manchester, UK
Contact:

Re: Reflashing Tool for the O2 Joggler

Post by roobarb! » Sun May 15, 2011 1:04 am

danjog2 wrote:Just done this using the Windows instructions all recovered, except the bleeping joggler still goes into the "Updates have finished, will now reboot" loop.
So infuriating...

Thanks for making this tool, I feel like I'm closer, just not quite close enough.
That is very interesting. Could you post a picture of the message? It must be something held in the Joggler's NVRAM, because if the reflash has completed then the internal memory has been completely wiped.
birdslikewires.net - home of the Reflash System, SqueezePlay (OS) and various tools for the Joggler!

danjog2
Posts: 60
Joined: Fri Mar 04, 2011 12:01 pm

Re: Reflashing Tool for the O2 Joggler

Post by danjog2 » Sun May 15, 2011 12:48 pm

I'll do that

AshleyGiles
Posts: 4
Joined: Sat May 14, 2011 3:14 pm

Re: Reflashing Tool for the O2 Joggler

Post by AshleyGiles » Sun May 15, 2011 8:59 pm

My Joggler said that the reflashing process was complete so I powered off, removed the flash drive and powered on and its still just freezes on the 02 boot screen. Does this mean it hasn't/won't work or do I just need to use a better flash drive?

User avatar
roobarb!
Posts: 1529
Joined: Sat Mar 05, 2011 1:30 pm
Location: Manchester, UK
Contact:

Re: Reflashing Tool for the O2 Joggler

Post by roobarb! » Sun May 15, 2011 11:52 pm

AshleyGiles wrote:My Joggler said that the reflashing process was complete so I powered off, removed the flash drive and powered on and its still just freezes on the 02 boot screen. Does this mean it hasn't/won't work or do I just need to use a better flash drive?
Did the reflash sections complete successfully? There will be three rounds where it should count up to 100%, plus rebuilding the boot partition. This should take a good few minutes. Afterwards an initial boot can take up to five minutes.

If things happened as described, I'm not sure what else may be wrong with your Joggler, unless it's NVRAM or EFI related.
birdslikewires.net - home of the Reflash System, SqueezePlay (OS) and various tools for the Joggler!

danjog2
Posts: 60
Joined: Fri Mar 04, 2011 12:01 pm

Re: Reflashing Tool for the O2 Joggler

Post by danjog2 » Mon May 16, 2011 4:04 pm

roobarb! wrote:
danjog2 wrote:Just done this using the Windows instructions all recovered, except the bleeping joggler still goes into the "Updates have finished, will now reboot" loop.
So infuriating...

Thanks for making this tool, I feel like I'm closer, just not quite close enough.
That is very interesting. Could you post a picture of the message? It must be something held in the Joggler's NVRAM, because if the reflash has completed then the internal memory has been completely wiped.
Here it is:

https://sites.google.com/site/placetodu ... Screen.jpg

This comes up after I ran the reflasher, and was in the process of giving the Joggler my name, phone number and email.

User avatar
roobarb!
Posts: 1529
Joined: Sat Mar 05, 2011 1:30 pm
Location: Manchester, UK
Contact:

Re: Reflashing Tool for the O2 Joggler

Post by roobarb! » Mon May 16, 2011 6:21 pm

danjog2 wrote:Just done this using the Windows instructions all recovered, except the bleeping joggler still goes into the "Updates have finished, will now reboot" loop.

https://sites.google.com/site/placetodu ... Screen.jpg

This comes up after I ran the reflasher, and was in the process of giving the Joggler my name, phone number and email.
It has to be reading that from somewhere else other than the flash memory. Perhaps there's something running that checks the NVRAM for a marker for a 'successful update', then triggers a reboot in the process of which the NVRAM flag should be removed, but never is.

I'm the in the process of putting together another release of the reimaging tool that also zaps the NVRAM. It'll be another couple of hundred meg to download I'm afraid, but I've made this version easier to update in the future. I'll post back when it's online.
birdslikewires.net - home of the Reflash System, SqueezePlay (OS) and various tools for the Joggler!

danjog2
Posts: 60
Joined: Fri Mar 04, 2011 12:01 pm

Re: Reflashing Tool for the O2 Joggler

Post by danjog2 » Mon May 16, 2011 6:47 pm

roobarb! wrote:
danjog2 wrote:Just done this using the Windows instructions all recovered, except the bleeping joggler still goes into the "Updates have finished, will now reboot" loop.

https://sites.google.com/site/placetodu ... Screen.jpg

This comes up after I ran the reflasher, and was in the process of giving the Joggler my name, phone number and email.
It has to be reading that from somewhere else other than the flash memory. Perhaps there's something running that checks the NVRAM for a marker for a 'successful update', then triggers a reboot in the process of which the NVRAM flag should be removed, but never is.

I'm the in the process of putting together another release of the reimaging tool that also zaps the NVRAM. It'll be another couple of hundred meg to download I'm afraid, but I've made this version easier to update in the future. I'll post back when it's online.
Thanks roobarb! ! It will be nice to get my joggle back - pretty sure it was pmj doing something unexpected...

User avatar
roobarb!
Posts: 1529
Joined: Sat Mar 05, 2011 1:30 pm
Location: Manchester, UK
Contact:

Re: Reflashing Tool for the O2 Joggler

Post by roobarb! » Mon May 16, 2011 10:45 pm

Version 1.03 should be up now. Not had chance to checksum it on the server tho, so fingers crossed it's okay.

This version brings NVRAM zapping and moves the flashing script to make upgrades easier in the future.
birdslikewires.net - home of the Reflash System, SqueezePlay (OS) and various tools for the Joggler!

Utakos
Posts: 17
Joined: Tue May 17, 2011 2:03 pm

Re: Reflashing Tool for the O2 Joggler

Post by Utakos » Tue May 17, 2011 2:09 pm

Reflashing tool link give "404" error is there a problem with the new flash tool?

User avatar
roobarb!
Posts: 1529
Joined: Sat Mar 05, 2011 1:30 pm
Location: Manchester, UK
Contact:

Re: Reflashing Tool for the O2 Joggler

Post by roobarb! » Tue May 17, 2011 4:23 pm

Utakos wrote:Reflashing tool link give "404" error is there a problem with the new flash tool?
Nope, just a problem with the link you're using. If you reload http://birdslikewires.co.uk/articles/jogglerflash you should find that it works.
birdslikewires.net - home of the Reflash System, SqueezePlay (OS) and various tools for the Joggler!

danjog2
Posts: 60
Joined: Fri Mar 04, 2011 12:01 pm

Re: Reflashing Tool for the O2 Joggler

Post by danjog2 » Wed May 18, 2011 4:39 pm

Just downloaded the new version roobarb! Gonna give it a go soon.

danjog2
Posts: 60
Joined: Fri Mar 04, 2011 12:01 pm

Re: Reflashing Tool for the O2 Joggler

Post by danjog2 » Wed May 18, 2011 6:44 pm

ok - all went well, after it reflashed successfully with 1.03 I got a brand new joggler screen. Entered my name, mobile & email. Everything still ok, so I connect wirelessly to my network. As soon as the internet connection is made, the flaming joggler brings up the familiar "updates have finished joggler will now reboot" and it just reboots over and over again. Bizarrely there seems to be some flag that survives the flashing process...

User avatar
roobarb!
Posts: 1529
Joined: Sat Mar 05, 2011 1:30 pm
Location: Manchester, UK
Contact:

Re: Reflashing Tool for the O2 Joggler

Post by roobarb! » Wed May 18, 2011 7:44 pm

danjog2 wrote:ok - all went well, after it reflashed successfully with 1.03 I got a brand new joggler screen. Entered my name, mobile & email. Everything still ok, so I connect wirelessly to my network. As soon as the internet connection is made, the flaming joggler brings up the familiar "updates have finished joggler will now reboot" and it just reboots over and over again. Bizarrely there seems to be some flag that survives the flashing process...
Now that is bizarre. I'm not sure anything is surviving the reflash process, as it's at the point at which you regained a network connection that it went wrong.

Something you could try is downloading the SSH tool I've posted about before and then reflashing your Joggler again, but not reconnecting to the network until you have disconnected that network from the internet. Then, use the SSH tool to gain access, log in to the Joggler with a Terminal app and run:

Code: Select all

nvram -a
And post the output here. While you're there there's also some code in /etc/init (I think, this is all from memory) that governs whether an update is fetched. You could comment that out. Then reconnect to the 'net and see what happens...

Very strange predicament this one!
birdslikewires.net - home of the Reflash System, SqueezePlay (OS) and various tools for the Joggler!

danjog2
Posts: 60
Joined: Fri Mar 04, 2011 12:01 pm

Re: Reflashing Tool for the O2 Joggler

Post by danjog2 » Thu May 19, 2011 3:15 pm

that sounds daunting! I'll pluck up my courage and try at the weekend, best do it without a "work head" on.

Locked