This is just a play-by-play of what I did – I struggled my way through it so there are ways to run things more efficiently or better that I wasn’t aware of at the time.
Step 1: Get your Linux workstation functional, either by installing directly or running it within VirtualBox. I’m using a Windows PC so I’m running everything through VirtualBox, which just adds a couple intermediate steps.
Step 2: Get organized – I made 3 folders, “
Upgrade”, “
Enable SSH”, and “
Patch”.
- In the
Upgrade folder, download the 01.01.04.08 GEL from GitLab and rename it DS5000Update.GEL (
https://gitlab.com/riglol/rigolee/blob/MSO5000/GEL/DS5000Update_01.01.04.08.GEL)
- In the
Enable SSH folder, add the GEL file from this post and rename it DS5000Update.GEL (
https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/msg2234076/#msg2234076)
- In the
Patch folder, download the Bpatch folder from this post and remove the .txt extension (
https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/msg2620701/#msg2620701)
Step 3: Upgrade the MSO5000 using the DS5000Update.GEL file from the Upgrade Folder. Put the file onto the root directory of the USB drive and then go to the
Utility / System / Help / Local Upgade menu once you’ve put the USB into the MSO5000 and upgrade to 01.01.04.08. Restart the Oscilloscope
Step 4: Now time for the heavy lifting. Put the USB drive back into the computer and remove the update file you just used from the USB stick. Now go to the
Enable SSH folder and put that DS5000Update.GEL file onto the USB drive. Put the USB stick into the MSO5000 and run the Local Upgrade again.
Oh no, it failed! Except it didn’t, as
@mabl stated in his post, it will look like it failed but it works.
DO NOT RESTART THE OSCILLOSCOPE, otherwise you will have to run step 4 again. Also, leave the USB stick in the MSO5000 for the next steps.
Step 5: If it’s not already connected, connect your MSO5000 to your LAN or use a crossover cable if you have one to hook it to your computer. If all you have is “normal” LAN cables, you’ll need to use your router and can’t hook directly to your PC. Now go to the
Utility/ IO / LAN menu and write down the IP address of your MSO5000.
Step 6: If it’s not already in your distro, go to the software manager and download Putty so that you can SSH (Secure Shell) across the network into your MSO5000. Once it’s downloaded, you’re going to follow some of the instructions from
@TopLoser that
@TrickTronic posted. First, run PuTTY and put the IP address into the IP window, use
Port 22, and select SSH for your connection type. Then, use “
root” as the username and “
Rigol201” as the pwd. You’re now connected to the Oscilloscope.
Step 7: In the SSH, type (without quotes) “
cp /rigol/appEntry /media/sda1/”. Once it’s finished writing it to the USB stick (although it’s probably not the “best” answer, just pull the USB stick out and put it back into your computer. Copy the bspatch file into the root of the USB stick as well. Right click and open a terminal window starting in the USB stick and type “
bspatch appEntry appEntryPatched appEntry_01_01_04_08.bpatch” into the terminal. It will create you a new file called appEntryPatched. Rename the original file to appEntryUnpatched or something similar and then rename the patched file to appEntry. Now remove the USB stick and put it back into the Oscilloscope.
Step 8: I hope you kept your SSH open, if not then open it back up. Type “
cd /media/sda1”.
If the command fails, replace sda1 with sdb1. My MSO5000 mounted the USB drive into this second location when I put it back in. Type “
ls” (LS in lower case if the font here sucks) to see the files in the directory. You should see your files. Now run “
chmod +x appEntry” to allow the appEntry file to be an executable, otherwise it will not work. To make this next step easier, move back to the root directory using “
cd /”. You can type “
pwd” at any time in SSH or Terminal to see the directory you’re currently in at any time. Now copy the file back to the oscilloscope, “
cp /media/sda1/appEntry /rigol/” and you should be good to go.
Step 9: Restart your Oscilloscope and don’t forget to thank the dozens of people on this forum who made this possible.