Author Topic: Hacking the Rigol MSO5000 series oscilloscopes  (Read 180925 times)

0xdeadbeef, dafields and 6 Guests are viewing this topic.

Offline sbehnke

  • Contributor
  • Posts: 20
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1400 on: October 28, 2019, 09:16:20 pm »
Hello,

I have full opetion mode version 01.01.04.04, does someone try to make the upgrade 01.01.04.08?
Do you always keep the full option?

You don't. You have to apply the new fix for the patched appEntry, but it is possible after a bit of tinkering I was able to get it to work last night.
 

Offline typoknig

  • Contributor
  • Posts: 22
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1401 on: November 01, 2019, 06:25:12 am »
Does anyone know why the FW update is still absent from the North America site?

And still absent in europe (rigol.eu), strange….
I´ve ask them about without getting an answer.
I´ll try again.

And another month passes with no update :(
 

Online Martin72

  • Frequent Contributor
  • **
  • Posts: 583
  • Country: de
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1402 on: November 01, 2019, 07:36:17 am »
Yep.. :(
I´ve asked again on october 29th, answer was sorry for delaying but it should happen "soon".....
 
The following users thanked this post: tcottle

Offline Ditiris

  • Contributor
  • Posts: 9
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1403 on: November 01, 2019, 01:29:38 pm »
Just wanted to drop a big THANK YOU! on this thread.
 

Offline nikolai

  • Newbie
  • Posts: 1
  • Country: il
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1404 on: November 02, 2019, 04:40:37 am »
Got my MSO5074 from China two weeks ago. Hardware revision 01.01.000 FW revision 00.01.01.04.08 out of the box.
Hacked successfully. Big thanks to all smart contributers for the creative solutions.
 

Offline ilyacniihm

  • Newbie
  • Posts: 2
  • Country: ru
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1405 on: November 04, 2019, 02:32:53 pm »
Hello. please tell me again how to hack the firmware 01.01.04.08 correctly.

1) Сopy DS5000Update.GEL  file on the USB drive.

2) Download the Bpatch file from this post and remove the .txt extension (https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/msg2620701/#msg2620701)
and copy on USB drive

3) create configuration file on USB drive "patch.txt"

file_to_patch=/rigol/appEntry
file_to_patch_md5sum=afe3e7c2d38bdebb66d3f1f11d910743
patch_file=appEntry_01_01_04_08.bpatch
after_patch_md5sum=3f95cb3236b47826e303de960596f966

4) Connect USB drive and go to the Utility / System / Help / Local Upgade menu


correct me if something is wrong. I have never worked with linux. |O
Thank you very much.


 
The following users thanked this post: tcottle

Offline skander36

  • Regular Contributor
  • *
  • Posts: 90
  • Country: ro
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1406 on: November 04, 2019, 06:39:54 pm »
Hi ,
First do a backup of rigol/data directory with script from TV84 post above - https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/msg2757356/#msg2757356
Then upgrade scope to 01_01_04_08 version .
After that do what you said from point 1 to 4 .
Make sure that DS5000Update.gel is the right one . https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/?action=dlattach;attach=841706
You must have three files on the disk for this FW :

  DS5000Update.GEL
  patch.txt
  appEntry_01_01_04_08.bpatch

Succes !


A big thank you to all that have spend their personal time to make this thing and share with us !
« Last Edit: November 04, 2019, 07:41:59 pm by skander36 »
 
The following users thanked this post: tcottle, jemotrain

Offline matlipinski

  • Contributor
  • Posts: 13
  • Country: pl
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1407 on: November 05, 2019, 12:22:46 pm »
Could someone dump rights and ownership of /rigol/data directory and files (/rigol/data folder itself too). Thank you.
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 1579
  • Country: ca
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1408 on: November 05, 2019, 10:08:06 pm »
Could someone dump rights and ownership of /rigol/data directory and files (/rigol/data folder itself too). Thank you.

Done in the other thread.
 

Offline Xandr

  • Newbie
  • Posts: 4
  • Country: ua
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1409 on: November 07, 2019, 05:43:18 pm »
Hello!
Help patch. Did everything by intrusion above:
3 files on a flash drive, starting the update. Gives an error message:
« Last Edit: November 07, 2019, 05:48:38 pm by Xandr »
 

Offline Xandr

  • Newbie
  • Posts: 4
  • Country: ua
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1410 on: November 07, 2019, 07:16:21 pm »
Hello!
Help patch. Did everything by intrusion above:
3 files on a flash drive, starting the update. Gives an error message:

Dear skander36 promptly helped! Many thanks to everyone!
 

Offline ilyacniihm

  • Newbie
  • Posts: 2
  • Country: ru
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1411 on: November 08, 2019, 05:09:49 am »

Dear skander36 promptly helped! Many thanks to everyone!

Hi! Can you tell me how you hacked the oscilloscope? What was wrong with the three files? I just ordered the oscilloscope, haven't received it yet. Prepare)
 

Offline Xandr

  • Newbie
  • Posts: 4
  • Country: ua
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1412 on: November 08, 2019, 05:33:43 am »
I have not compared files yet.  I think it's all about file encoding "patch.txt"
 

Offline matlipinski

  • Contributor
  • Posts: 13
  • Country: pl
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1413 on: November 08, 2019, 08:49:03 am »
You have to use LINUX line endings (not Windows) for patch.txt.
 

Offline skander36

  • Regular Contributor
  • *
  • Posts: 90
  • Country: ro
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1414 on: November 08, 2019, 10:22:50 am »
You have to use LINUX line endings (not Windows) for patch.txt.
I have used Windows (Notepad used) with no problem. Nothing edit with Linux .
 

Offline Xandr

  • Newbie
  • Posts: 4
  • Country: ua
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1415 on: November 08, 2019, 12:59:24 pm »
I had in Windows (CR LF), I need Unix (LF). I don’t want to check anymore, but I think the reason was this.
(Screenshots Notepad ++)
 
The following users thanked this post: Sighound36

Offline ryohnosuke

  • Newbie
  • Posts: 1
  • Country: pe
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1416 on: November 12, 2019, 05:20:25 pm »

Dear skander36 promptly helped! Many thanks to everyone!

Hi! Can you tell me how you hacked the oscilloscope? What was wrong with the three files? I just ordered the oscilloscope, haven't received it yet. Prepare)

What was the fix? I checked the MD5 file and seems OK but I have the same error. :'(

Edit: You right!

With Notepad++

Edit -> EOL Convertion -> (Unix LF) and save changes


« Last Edit: November 12, 2019, 05:42:12 pm by ryohnosuke »
 
The following users thanked this post: sumect

Online ebclr

  • Super Contributor
  • ***
  • Posts: 1932
  • Country: 00
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1417 on: November 12, 2019, 06:54:08 pm »
My fresh 5074 just arrive, what is the latest procedure to do the magic?

I have a free bundle for some options, will the magic interfere with this?

Hardware 01 00 000
Firmware  00 01 01 04 04
« Last Edit: November 14, 2019, 09:35:46 am by ebclr »
 

Offline sumect

  • Newbie
  • Posts: 1
  • Country: cn
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1418 on: November 15, 2019, 08:35:25 am »
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.


Hi, I did exactly as you said, but after reboot oscilloscope, it can not work now,  it stuck in the logo interface.

can anyone help me ? thanks a lot!
 
The following users thanked this post: ebclr

Offline skander36

  • Regular Contributor
  • *
  • Posts: 90
  • Country: ro
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1419 on: November 15, 2019, 08:59:45 am »
Hi Sumect ,
Try to downgrade firmware using version from Rigol site .
For that you need to press "Single" key from oscilloscope keyboard after pressing power button . You will see a black screen with a menu with two entry that gives you the posibility to install firmware .
Please let us now if you succeed .
 
The following users thanked this post: sumect

Offline skander36

  • Regular Contributor
  • *
  • Posts: 90
  • Country: ro
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1420 on: November 15, 2019, 01:04:06 pm »
Hi ,
As long as the current fw. version 01.01.04.08 is available from Rigol site, the procedure for patching is simple .

1. Upgrade scope to version 01.01.04.08 by method Online upgrade. Please double check if the new version at which the scope was upgraded is 01.01.04.08 . If it's newer you cannot apply this patch until a new version will be released .
2. Put on a USB stick the three file attached (doc extension must be removed , as the forum does not allow gel or bpatch extension) and do the upgrade .

Thast's all .

Again a big Thank you to those that make this possible !  :-+



 
The following users thanked this post: KeBeNe, jaromir, tcottle, bitseeker, flair4ever, ur63, serg_77, Xandr, sumect, Mitchel

Offline sq6iyn

  • Newbie
  • Posts: 2
  • Country: pl
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1421 on: November 19, 2019, 05:10:06 pm »
OK. It works. Many thanks to those who give joy of this fun.  :-+ :D :clap:
 
The following users thanked this post: DeKu

Offline Mitchel

  • Newbie
  • Posts: 1
  • Country: br
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1422 on: November 21, 2019, 11:32:14 pm »
This Patch works great! Thank you very much. I just received my new MSO5074 and successfully aplied the patch in about 3 minutes. The scope is fully upgraded now. Thank you!
 

Offline DeKu

  • Newbie
  • Posts: 3
  • Country: de
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1423 on: November 30, 2019, 07:16:14 pm »
Hi again,
I too can confirm, that the Patch works just as easy as described. I did an online Upgrade of my MSO5074 which was already patched / unlocked.

After the Official Upgrade all Options went back to regular. And after Patching it via the 3 Files on an USB Stick, everything was unlocked again.

So big Thanks to everyone to make it such a simple Task.

DeKu
 

Offline rolfdegen

  • Newbie
  • Posts: 1
  • Country: de
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1424 on: November 30, 2019, 08:06:53 pm »
Hallo

Its my first time with an Rigol MSO5104. How can I trigger two waveforms on my MSO5104 ?

My old siglend Siglent SDS1102CML+ have Alternative trigger function.

I find in the trigger menu only this solution (see picture).

Trigger tow waveforms


Thanks for help. Rolf
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf