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

0 Members and 7 Guests are viewing this topic.

Offline NoisyBoy

  • Frequent Contributor
  • **
  • Posts: 503
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2500 on: April 11, 2023, 03:09:19 pm »
The link shows it is again their public file upload site in China, not their official firmware site.  I would highly recommend folks to wait for official firmware to show up in their home country before doing upgrade.  For two reasons, so you can get support  from Rigol if the upgrade goes south.  Second, I would never download firmware from a dubious site in China, let alone running it.

This happened once with the existing firmware 01.03.02.02, when it showed up in the exact same site, then disappeared, then it showed up on the official download site weeks later. I would wait.
 
The following users thanked this post: oldjackbob

Offline skander36

  • Frequent Contributor
  • **
  • Posts: 725
  • Country: ro
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2501 on: April 13, 2023, 09:36:30 am »
It seem to be a legit location.
Firmware work very well after upgrade.
Anyone remember how to generate bspatch file?
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 3221
  • Country: pt
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2502 on: April 13, 2023, 09:56:59 am »
It seem to be a legit location.

Sure it is. Can't understand why people find it more trustful to use a forum patched FW than to use the Rigol's official FW, just because it's on a chinese server/domain...  :-//
 
The following users thanked this post: thm_w, Mountaincat

Offline hve

  • Contributor
  • Posts: 47
  • Country: nl
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2503 on: April 13, 2023, 06:52:12 pm »
I didn't think about it, I ordered 5072.
But I would like to buy 1:10 probes on the 500MHz
https://aliexpress.ru/item/1005004828373989.html?

Hi Andrey

These 1:10 probes have indeed a bigger bandwidth than the original 350MHz Rigol ones.
But they seem are also a tiny bit more noisy
 
The following users thanked this post: Andrey_Ak

Offline Felo2023

  • Newbie
  • Posts: 1
  • Country: cl
    • speedhunter
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2504 on: April 14, 2023, 12:05:23 am »
Succesful upgrade here! Thanks!
 

Offline skander36

  • Frequent Contributor
  • **
  • Posts: 725
  • Country: ro
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2505 on: April 14, 2023, 08:16:51 am »
Succesful upgrade here! Thanks!

Did you mean upgrade with patching?
 

Offline mironex

  • Newbie
  • Posts: 8
  • Country: pl
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2506 on: April 14, 2023, 09:06:07 pm »
How does it look now patching for this version: Firmware v00.01.03.03.00?
Thank you.
 

Offline Ede

  • Newbie
  • Posts: 1
  • Country: th
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2507 on: April 15, 2023, 12:40:51 pm »
Hi guys, I upgraded my oscilloscope perfectly well and smooth. I made a guide to help all the users to get through the upgrade process.

I hope you can find it useful and of course, any suggestion to improve the guide will be very welcome.

https://www.mediafire.com/folder/zh1uiu3umgoai/Documents

I uploaded to mediafire because I can't share them here. The firmware.rar files contains all the files needed to work with the guide. The Word file is the guide with images.

Thanks a lot!!!!

Hi!  The link is no longer working, who has this information on the link?


I just tried the link above. There are two files for download. A word document and a file with the patched firmware.
I checked for viruses, all clear. Now I am reading the word document. I didn't patch it until now.

Update: I just did the firmware upgrade and patch according to above. It all works. Now I have the newest firmware and all options.
Thanks a lot to everybody!

« Last Edit: April 16, 2023, 07:06:18 am by Ede »
 
The following users thanked this post: faktorqm

Offline skander36

  • Frequent Contributor
  • **
  • Posts: 725
  • Country: ro
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2508 on: April 15, 2023, 12:56:11 pm »
This is for previous fw. version.
Every new version need a proper bspatch file created just for that version.
 
The following users thanked this post: oldjackbob

Offline Andrey_Ak

  • Contributor
  • Posts: 42
  • Country: kz
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2509 on: April 18, 2023, 02:04:20 am »
Hi guys, I upgraded my oscilloscope perfectly well and smooth. I made a guide to help all the users to get through the upgrade process.

I hope you can find it useful and of course, any suggestion to improve the guide will be very welcome.

https://www.mediafire.com/folder/zh1uiu3umgoai/Documents

I uploaded to mediafire because I can't share them here. The firmware.rar files contains all the files needed to work with the guide. The Word file is the guide with images.

Thanks a lot!!!!

Hi!  The link is no longer working, who has this information on the link?


I just tried the link above. There are two files for download. A word document and a file with the patched firmware.
I checked for viruses, all clear. Now I am reading the word document. I didn't patch it until now.

Update: I just did the firmware upgrade and patch according to above. It all works. Now I have the newest firmware and all options.
Thanks a lot to everybody!

This link does not work, does not open..
https://www.mediafire.com/folder/zh1uiu3umgoai/Documents

you can email me admin@tis.kz

I will be deeply grateful
« Last Edit: April 18, 2023, 06:28:12 am by Andrey_Ak »
 

Offline mopra

  • Newbie
  • Posts: 2
  • Country: ru
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2510 on: April 18, 2023, 09:38:27 am »

I have RIGOL mso 5072, updated to 5074. But I noticed that some options in the menu are still not available. What can be wrong? Firmware 00,01,03,00,03

these options are not enabled.

can you tell me how to turn it on.
 

Offline skander36

  • Frequent Contributor
  • **
  • Posts: 725
  • Country: ro
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2511 on: April 18, 2023, 10:08:45 am »
I think they are only informative. I don't remember to see them anytime active.
CH SampleRate is changing while the sample rate vary. Also the rest of them while you increase Horizontal scale.
Maybe if you attach original logic probe interface, I don't know.
« Last Edit: April 18, 2023, 10:16:19 am by skander36 »
 

Offline ken830

  • Contributor
  • Posts: 22
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2512 on: April 18, 2023, 10:22:55 am »
Fairly new here. Obviously, lujji was able to read through this thread and create a patch for the previous fw version even before owning the scope, so I started to read too... I'm only up to mid-2019 when the ideal of using a patch file surfaced after SSH was removed by Rigol... Surely, there's got to be a better way to summarize the knowledge of this thread and how to create patch files without having to read the entire history, right?
 

Offline Andrey_Ak

  • Contributor
  • Posts: 42
  • Country: kz
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2513 on: April 18, 2023, 05:28:38 pm »
I asked a friend from Canada to download files from the link:
https://www.mediafire.com/folder/zh1uiu3umgoai/Documents
Now I have these files. Apparently this hosting does not work in our country.

Also, I got the MSO5072 the other day, firmware
in the device is: 00.01.03.02.02





I noticed that the fan is very quiet, much quieter than in the DS1054Z,
I really did not like it, since it is quiet, it means cooling is worse.


In the instructions, from the link above, I understood that you can unlock
all the options of the device with firmware 00.01.03.02.02 ?

Will SSH work with this firmware 00.01.03.02.02?

For the firmware 00.01.03.03.00 there is no hacking yet?
Is there a chance that SSH will not work with it?
« Last Edit: April 18, 2023, 05:34:22 pm by Andrey_Ak »
 

Offline OliverHB

  • Newbie
  • Posts: 1
  • Country: de
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2514 on: April 18, 2023, 06:47:54 pm »
Just switched my MSO5074 off. I can confirm that SSH works after applying the SSH enabler from faktorqm.
 

Offline albedo

  • Newbie
  • Posts: 1
  • Country: pe
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2515 on: April 18, 2023, 08:31:44 pm »
Hello to all :D. I am new to this forum and honestly it has been very complicated to find information on a specific subtopic in hundreds of posts :-BROKE. I think something should be done about this, maybe synthesize all the really useful info and create a software style manual or documentation  :-+
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 6389
  • Country: ca
  • Non-expert
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2516 on: April 18, 2023, 09:58:33 pm »
Fairly new here. Obviously, lujji was able to read through this thread and create a patch for the previous fw version even before owning the scope, so I started to read too... I'm only up to mid-2019 when the ideal of using a patch file surfaced after SSH was removed by Rigol... Surely, there's got to be a better way to summarize the knowledge of this thread and how to create patch files without having to read the entire history, right?

You can click Print in the top right, and ctrl-f to find posts, here are some examples:

https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/msg3339974/#msg3339974
https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/msg3341214/#msg3341214 (same page, keep reading down)
https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/msg3577757/#msg3577757
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline faktorqm

  • Contributor
  • Posts: 25
  • Country: es
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2517 on: April 19, 2023, 08:07:24 am »
Hi guys, I upgraded my oscilloscope perfectly well and smooth. I made a guide to help all the users to get through the upgrade process.

I hope you can find it useful and of course, any suggestion to improve the guide will be very welcome.

https://www.mediafire.com/folder/zh1uiu3umgoai/Documents

I uploaded to mediafire because I can't share them here. The firmware.rar files contains all the files needed to work with the guide. The Word file is the guide with images.

Thanks a lot!!!!

Hi faktorqm,

Great work done sorting it out and do such a detailed explanation.
Just one question to clarify from the guide at the beginning:
Quote
"Have an ethernet network wire to connect it directly to your computer. "

Do you connect ethernet cable to the oscilloscope through router or the connection was done directly - from oscilloscope to PC? If it is direct connection to PC without router, did you use LAN crossover cable or LAN straight through cable?

Thanks!

Hi! it's the same. it's just for practical purposes, I mean, if you connect it to a switch or router and it did not work, you will not know if the problem is the router, the switch, or the cable. Just for clarification, always is better to avoid failure points. At networking level, it's transparent.
 
The following users thanked this post: vadimcreates

Offline ken830

  • Contributor
  • Posts: 22
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2518 on: April 19, 2023, 10:48:40 am »
Okay... I've gotten as far as extracting the appEntry from the V00.01.03.03.00 GEL file.

It's got an MD5 checksum of AD018912E3D9BA19809EB3A44B63FEA0

But I don't know what to edit. Are people just patching the appEntry back to the previously patched appEntry or something?? I'm still trying to read through the whole thread.

EDIT: After a lot more reading, I found that back in 2020, omgoleus pretty much went through the same thought process and asked the same questions that I have and I'm asking today. I even started down the path of disassembling appEntry. omgoleus did write a nifty script to do partially automate the comparison process of the previously-patched appEntry. I'll attempt to try this later... it's 4:30am and I have to wake up for an 8am daily stand-up meeting for my day job soon.
« Last Edit: April 19, 2023, 11:29:07 am by ken830 »
 
The following users thanked this post: tcottle, eklein

Offline trixy

  • Newbie
  • Posts: 4
  • Country: se
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2519 on: April 19, 2023, 01:44:57 pm »
You can't use the old bspatch with the latest firmware because one of the functions moved. Try this one.

This is the same as the old patch except modified for the 00.01.03.03.00 firmware.

I don't know why you guys are using the hard method like objdump to figure out patches when there is Ghidra.

-----------------------------------

Edited for clarity.
« Last Edit: April 21, 2023, 03:24:47 pm by trixy »
 
The following users thanked this post: thm_w, ken830, MegaVolt, NoisyBoy, core, Varz, Mountaincat, HellKern, 3PinFanHeader

Offline ken830

  • Contributor
  • Posts: 22
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2520 on: April 19, 2023, 04:20:45 pm »
Thanks.

I did start to go down the path with Ghidra, but I didn't know which specific changes needed to be made. I'm definitely not trying the hard way. I just haven't gotten through the entire thread yet to find the most recent, easiest way, I guess.
 

Offline trixy

  • Newbie
  • Posts: 4
  • Country: se
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2521 on: April 19, 2023, 04:59:08 pm »
I did start to go down the path with Ghidra, but I didn't know which specific changes needed to be made. I'm definitely not trying the hard way. I just haven't gotten through the entire thread yet to find the most recent, easiest way, I guess.

For a quick start you can add both an original binary and a patched binary to a project. Fully analyze both then close and save one of them. Then in the open CodeBrowser go to Tools --> Program Differences and select the other binary. Then you can step through the differences and code using the blue arrows.
 
The following users thanked this post: ken830

Offline reztek

  • Newbie
  • Posts: 7
  • Country: br
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2522 on: April 19, 2023, 05:18:05 pm »
You can't use the old bspatch with the latest firmware because one of the functions moved. Try this one. Be warned I have not tried it myself so if someone that knows what they are doing (ie. you can recover) can verify first that would be great.

I don't know why you guys are using the hard method like objdump to figure out patches when there is Ghidra.

-----------------------------------
Tried the patch here. Seems to work OK, will report back if/when something changes, but so far everything good.
 
The following users thanked this post: trixy

Offline trixy

  • Newbie
  • Posts: 4
  • Country: se
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2523 on: April 19, 2023, 11:23:47 pm »
Tried the patch here. Seems to work OK, will report back if/when something changes, but so far everything good.

I finally had a chance to try it myself and I can also confirm it seems to work fine.
 

Offline ken830

  • Contributor
  • Posts: 22
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2524 on: April 19, 2023, 11:59:16 pm »
Tried the patch here. Seems to work OK, will report back if/when something changes, but so far everything good.

I finally had a chance to try it myself and I can also confirm it seems to work fine.

I just patched mine and it works! Thanks!! Now I will slowly go through the analysis with Ghidra and try to work out the process for myself thanks to your help!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf