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

0 Members and 7 Guests are viewing this topic.

Offline azone

  • Contributor
  • Posts: 5
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1650 on: April 06, 2020, 08:53:30 pm »
After reading the entire thread a few times... below are details on updating your MSO5000 to  v01.02.00.02 or v01.01.04.08 with all options enabled.
Also of note, you can revert to a previous firmware version.

Updating to v01.02.00.02 w/ all options enabled
1) Format your USB stick FAT32. Format the damn USB stick every time you add/remove files - I had problems if I didn't.
2) Update to v01.02.00.02 if not already installed. Use the official update, this one will have 66- 68 MB.
3) Put the stick in your MSO5000 and goto Utility -> System -> Help -> Local Upgrade and update the firmware.
4) Delete the file from the USB stick, format again just in case.
5) Download the DS5000Update.GEL file from Post #1558 which is the script that will apply the patch (bspatch). This one will have 130k.
6) Download 01.02.00.02.bspatch from Post #1558. Delete the .txt extension (this is only done because this forum won't host the file without a qualified extension). Put it on the USB Stick.
7) Make a new patch.txt file with the contents below (this is the new md5 checksums for v01.02.00.02 and the correct name link to the bspatch file). Put this on the USB stick too.

file_to_patch=/rigol/appEntry
file_to_patch_md5sum=78d71292a1828ee597a341bd14797e18
patch_file=01.02.00.02.bspatch
after_patch_md5sum=86d162a29297ae03af88a6d8f7c40247

8] Put the stick in your MSO5000 and goto Utility -> System -> Help -> Local Upgrade and update the firmware.
 
I couldn't get it to work - after reading skanders response below I think I had the wrong DS5000Update.GEL file.
v01.02.00.02 has a few bugs so it may be better to wait for new firmware.

[Edit] typoknig notes in Post #1649
It does not appear 01.02.00.03 has a bug, it just looks like the noise threshold was reduced in that firmware
https://www.eevblog.com/forum/testgear/rigol-mso-5000-hardwaresoftware-revisions/msg2984056/#msg2984056
Maybe it's better to wait for someone to share the v01.02.00.03 patch it will most likely be shared very soon.

Reverting firmware to an earlier version and updating v01.01.04.08 w/ all options enabled
1) Apparently v01.02.00.02 & v01.02.00.03 firmware is buggy, and the patch is not verified/proven like v01.01.04.08. Since new MSO's are now shipping with firmware greater than v01.01.04.08 I had to revert firmware to this earlier version.
2) Format your USB stick FAT32. Format the damn USB stick every time you add/remove files - I had problems if I didn't.
3) Put the official v01.01.04.08 firmware on the USB stick. Make sure the firmware is named DS5000Update.GEL. Sometimes the name has been extended to differentiate versions, however the firmware must be name DS5000Update.GEL
4) If you can't find older firmware get it from Gitlab
5) Put the USB stick in the MSO5000. While turning it on keep pressing SINGLE to enter 'secret' mode. The screen will have an option to Upgrade Firmware.
6) Press Upgrade firmware. If the scope doesn't respond and you don't hear a beep when you press "Upgrade Firmware" restart the scope and try again. For some reason if you wait a few milliseconds too long it won't recognize your selection.
7) The firmware will update and ask you to reboot. Turn off the scope.
8] Now, follow the exact instruction from Post #1451 to update to v01.01.04.08 w/ all options enabled. Again make sure you are using the correct DS5000Update.GEL file from post #1451 - it should be ~130KB.
« Last Edit: April 07, 2020, 03:52:52 pm by azone »
 
The following users thanked this post: willp1203, TrickTronic, dc8wan, mantis

Offline skander36

  • Regular Contributor
  • *
  • Posts: 236
  • Country: ro
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1651 on: April 06, 2020, 09:33:27 pm »
Please.
There are two steps.
Step 1 - DS5000Update.GEL is the Rigol firmware that must be applied before. This one will have 66- 68 MB. After apply, delete it from stick (or format if you feell safe ... :) )
Step 2 - DS5000Update.GEL is the script that will apply the patch (bspatch) . This one will have 130 k. On the stick must be this gel (130k) + patch.txt + patch file, 3 files . Run local update.

Good luck !
« Last Edit: April 06, 2020, 09:54:27 pm by skander36 »
 
The following users thanked this post: sjm

Offline azone

  • Contributor
  • Posts: 5
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1652 on: April 06, 2020, 09:58:54 pm »
thanks skander, I updated my post for us laymen/clueless of the bunch.
I don't think I was using the correct DS5000Update file when I was trying to unlock everything with v01.02.00.02 - I think I was using the actual v01.02.00.02 firmware file by mistake.
 
The following users thanked this post: willp1203

Offline Norbi

  • Newbie
  • Posts: 2
  • Country: pl
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1653 on: April 16, 2020, 11:46:55 pm »

new firmware 00.01.03.00.01 mso5000 has appeared
 
The following users thanked this post: thm_w, Gandalf_Sr, Fungus, boris.t, NoisyBoy, serg_77, Sergey Astakhov, sjm

Offline NoisyBoy

  • Frequent Contributor
  • **
  • Posts: 387
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1654 on: April 17, 2020, 12:16:57 am »
I just saw that in the US site as well, Bode Plot is here!
 

Offline bmx

  • Contributor
  • Posts: 19
  • Country: fr
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1655 on: April 17, 2020, 05:38:09 am »
MSO5_FW_V1_1_4_4.zip, hmm, no enhancement on winzip usage  :palm:
 

Offline mabl

  • Regular Contributor
  • *
  • Posts: 114
  • Country: 00
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1656 on: April 17, 2020, 06:16:52 am »
There has been no changes to license checks etc. so the binary can be patched the usual way  :-+. However you will need a new patch file. If you cannot prepare one yourself, maybe somebody is friendly enough to do one and post it.
 

Offline yumcca

  • Newbie
  • Posts: 1
  • Country: cn
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1657 on: April 18, 2020, 02:31:41 am »
support bode plot ?? where to down?  I search the RIGOL webside they only offer the v00.01.02.00.03
 

Offline YZEPT

  • Contributor
  • Posts: 5
  • Country: au
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1658 on: April 18, 2020, 02:41:29 am »
The link is labeled incorrectly on the RigolNA site. The new version with Bode plots will download. For whatever reason Rigol are very slack about how they label links. |O
 

Online ToThePub

  • Newbie
  • Posts: 4
  • Country: au
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1659 on: April 18, 2020, 02:55:37 am »
In true Rigol style it's a bit of mess.

If you go here:
https://www.rigolna.com/products/digital-oscilloscopes/MSO5000/

Scroll down, go to the "Downloads" tab, Click the firmware file "MSO5000 scope family latest firmware" and it'll download the correct version.
If you look at the link, you will think it's downloading MSO5_FW_V1_1_4_4.zip
But it'll actually download a file called MSO5_FW_Update.zip which is the latest:
v00.01.03.00.01 2020/04/13
     -Add bode map function
 

Offline YZEPT

  • Contributor
  • Posts: 5
  • Country: au
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1660 on: April 18, 2020, 10:13:52 am »
I thought I knew how to generate the new hashes but the results prove otherwise :--
Is there anyone out there that has the knowledge and time to show me and the other script kiddies the correct CRC values to plug into the script so we can patch the newest version MSO5074 firmware Rigol just released? : v00.01.03.00.01
I have tried but I cannot get it to work and I think its to do with how I've gotten lost down this many kilometre deep rabbit hole.
 

Offline ForceFed

  • Contributor
  • Posts: 8
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1661 on: April 19, 2020, 07:45:21 pm »
Cool. Bode plotting in new firmware, happy I didn't jump ship...
 

Offline el_man

  • Contributor
  • Posts: 14
  • Country: bg
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1662 on: April 19, 2020, 08:41:23 pm »
Can someone attach a screenshot of Bode plot function ;D
 

Offline MegaVolt

  • Frequent Contributor
  • **
  • Posts: 366
  • Country: by
 

Offline el_man

  • Contributor
  • Posts: 14
  • Country: bg
 

Offline sb42

  • Contributor
  • Posts: 35
  • Country: 00
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1665 on: April 19, 2020, 10:47:18 pm »
Here's a patch for 01.03.00.01.

Before: 2efa4605b83bf1af48bf6736bfae3255
After: 965a689e7e5f29c180db4a2aaf21ce6b

Offline typoknig

  • Regular Contributor
  • *
  • Posts: 53
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1666 on: April 20, 2020, 12:20:24 am »
Here's a patch for 01.03.00.01.

Before: 2efa4605b83bf1af48bf6736bfae3255
After: 965a689e7e5f29c180db4a2aaf21ce6b

Here is another flavor of patch for 01.03.00.01 that will disable the "phone home" firmware upgrade check in addition to enabling options.

Offline boris.t

  • Contributor
  • Posts: 8
  • Country: ru
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1667 on: April 20, 2020, 01:27:05 am »
Here's a patch for 01.03.00.01.

Before: 2efa4605b83bf1af48bf6736bfae3255
After: 965a689e7e5f29c180db4a2aaf21ce6b

Here is another flavor of patch for 01.03.00.01 that will disable the "phone home" firmware upgrade check in addition to enabling options.
Thank you! But, can anyone make full instruction for 01.03.00.01?
 
The following users thanked this post: tcottle, el_man, TrickTronic

Offline typoknig

  • Regular Contributor
  • *
  • Posts: 53
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1668 on: April 20, 2020, 02:02:46 am »
Here's a patch for 01.03.00.01.

Before: 2efa4605b83bf1af48bf6736bfae3255
After: 965a689e7e5f29c180db4a2aaf21ce6b

Here is another flavor of patch for 01.03.00.01 that will disable the "phone home" firmware upgrade check in addition to enabling options.
Thank you! But, can anyone make full instruction for 01.03.00.01?

Same as all the other patches. Just read the instructions in the first post on this page:

https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/msg3002776/#msg3002776
 
The following users thanked this post: boris.t, willp1203

Offline Noy

  • Regular Contributor
  • *
  • Posts: 218
  • Country: de
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1669 on: April 20, 2020, 02:47:36 pm »
Hm,
I think your (typoknig) patch is not working right.

I updated to 1.3 and it was working. Then i sshed in and grabbed appEntry. Checked the md5sums and then i applied your patch on my linux machine. Checked md5sum again. Patched appEntry has correct md5sum. I did chmod +x appEntry and copied back onto the scope.
But now it is not starting up anymore. Think i have to apply the original patch again...

Maybe i have to check again spelling and chmod but i think it was correct..

« Last Edit: April 20, 2020, 02:55:40 pm by Noy »
 

Offline typoknig

  • Regular Contributor
  • *
  • Posts: 53
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1670 on: April 20, 2020, 03:38:39 pm »
Hm,
I think your (typoknig) patch is not working right.

I updated to 1.3 and it was working. Then i sshed in and grabbed appEntry. Checked the md5sums and then i applied your patch on my linux machine. Checked md5sum again. Patched appEntry has correct md5sum. I did chmod +x appEntry and copied back onto the scope.
But now it is not starting up anymore. Think i have to apply the original patch again...

Maybe i have to check again spelling and chmod but i think it was correct..

Using SSH to apply the patch isn't necessary.  Just use the DS5000Update.GEL.doc file from this post.  I have re-attached it here for convenience.

The permissions, owner, and group of appEntry should be 0755, root, and root respectively.  It will look like this when correct:

Code: [Select]
-rwxr-xr-x    1 root     root      22558088 Apr 19 07:00 appEntry
« Last Edit: April 20, 2020, 03:52:53 pm by typoknig »
 
The following users thanked this post: boris.t, stenbror, Claus1

Offline Cerebus

  • Super Contributor
  • ***
  • Posts: 6230
  • Country: gb
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1671 on: April 20, 2020, 05:40:52 pm »
... Checked the md5sums and then i applied your patch on my linux machine. Checked md5sum again. Patched appEntry has correct md5sum. I did chmod +x appEntry and copied back onto the scope.
But now it is not starting up anymore. Think i have to apply the original patch again...

That ordering might be your problem, chmod then copying it. Might have lost permissions during the copy, I'd have copied and then chmod'd. Check the md5sum of what you copied onto the scope on the scope and check the permissions as above.
Anybody got a syringe I can use to squeeze the magic smoke back into this?
 
The following users thanked this post: srjaynes49

Offline boris.t

  • Contributor
  • Posts: 8
  • Country: ru
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1672 on: April 20, 2020, 06:13:10 pm »
Hm,
I think your (typoknig) patch is not working right.

I updated to 1.3 and it was working. Then i sshed in and grabbed appEntry. Checked the md5sums and then i applied your patch on my linux machine. Checked md5sum again. Patched appEntry has correct md5sum. I did chmod +x appEntry and copied back onto the scope.
But now it is not starting up anymore. Think i have to apply the original patch again...

Maybe i have to check again spelling and chmod but i think it was correct..

Using SSH to apply the patch isn't necessary.  Just use the DS5000Update.GEL.doc file from this post.  I have re-attached it here for convenience.

The permissions, owner, and group of appEntry should be 0755, root, and root respectively.  It will look like this when correct:

Code: [Select]
-rwxr-xr-x    1 root     root      22558088 Apr 19 07:00 appEntry

Works. Thank you!
 

Offline Norbi

  • Newbie
  • Posts: 2
  • Country: pl
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1673 on: April 20, 2020, 09:46:43 pm »

I confirm works, thank you :)
 

Offline Noy

  • Regular Contributor
  • *
  • Posts: 218
  • Country: de
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1674 on: April 21, 2020, 07:31:02 am »
Thx for the hint with the "autopatcher" ;-)
This time it worked. So must be my fault with chmod before copy or something else...
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf