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

NED88 and 7 Guests are viewing this topic.

Offline Urzov

  • Contributor
  • Posts: 9
  • Country: ua
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1375 on: October 11, 2019, 05:10:19 am »
Hello everybody. Same question! Is it possible not to apply a checksum? Should there be only 2 files on a USB drive? (renamed "patch_file" and "patch.txt") and "DS5000Update.GEL" is not needed on a USB drive?
Need help! I don’t feel like buying another MSO5072 and torturing him too...  :-[  Thank you!
 

Online NED88

  • Contributor
  • Posts: 9
  • Country: gb
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1376 on: October 11, 2019, 11:35:38 am »
  • after_patch_md5sum - change to value to the expected checksum after  patch_file was applied to file_to_patch.

Where/how does one come up with this checksum?


The expected md5 checksum is quoted here:  https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/msg2620701/#msg2620701  and the md5 checksum for the original file is generated with this command:  md5 -q appEntry (using a Unix/Linux/Mac terminal).  To check the md5 checksum of the patched file,  run:  echo "3f95cb3236b47826e303de960596f966  appEntry" | md5sum -c from the scope once you've ssh'd into it from Unix.
 

Offline seronday

  • Regular Contributor
  • *
  • Posts: 51
  • Country: au
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1377 on: October 12, 2019, 09:41:26 pm »
It is also possible to generate the MD5 checksum in windows, as delfinom pointed out in this message


Also instead of running strange third party software to compute a md5sum of a file on windows just do
  CertUtil -hashfile appEntry MD5
in a command window
 

Offline Xtremexp

  • Newbie
  • Posts: 2
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1378 on: October 12, 2019, 09:58:02 pm »
Or you can use hxd hex editor to find the md5 hash
 

Offline mabl

  • Regular Contributor
  • *
  • Posts: 100
  • Country: 00
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1379 on: October 14, 2019, 09:05:39 am »
It is also possible to generate the MD5 checksum in windows, as delfinom pointed out in this message


Also instead of running strange third party software to compute a md5sum of a file on windows just do
  CertUtil -hashfile appEntry MD5
in a command window

Or you can use hxd hex editor to find the md5 hash

The md5 checksum after patching is usually not available to the user, since the patched file is only on the scope. The md5 should be given together with the patch file. Note that if the md5 does not match, my patcher will output the mismatch checksum values.
 

Offline nelson_mendes

  • Newbie
  • Posts: 3
  • Country: pt
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1380 on: October 14, 2019, 09:16:40 pm »
Hello everyone!

I've been following this topic quite often but never broke the ice to present myself, so here it goes...

I'm Nelson, Portuguese and currently living in Sweden.

Owning a Rigol 5072 since some time, I was able to unlock was able to unlock its features thanks to the hard worked information from this topic.
So, a special thank you to Mabi, TV84, NED88 and so many others that made it possible...

The latest firmware got my interest due to fix the overshoot in the 4 channels, something that also seen in my scope in channels 3 and 4.

Being ungodly unblessed with any kind of hacking skills, I tried my best to follow the instructions given to other members and attached You can see what I got.


When I tried to patch the scope 04.08 using Mabi's autopatcher I got the MD5sum error and a whole different MD5sum and at this moment I'm feeling quite lost.
It was only today that I got SSH working (using Putty in windows 10 didn't work for me) and I'm strugling to basically do what needs to be done.

I generated the bpatch file over the firmware file and got a wrong md5sum while atempting to patch the scope.
I also generated the bpatch file over the app_Entry file copied by SSH and tried atempted to patch the scope, but again wrong md5.

Could someone please help?
I really don't have a notion about what I'm doing wrong...

Thank you all.

//Nelson





 

Online ebclr

  • Super Contributor
  • ***
  • Posts: 1826
  • Country: 00
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1381 on: Yesterday at 03:37:56 am »
Finally, the time arrives and I will trigger an order for 5072 or 5074

Are the new ones hackable same way, as the old ones?

Any terrifying problem that can void the new order plan?

Still the best Scope for 1K USD?  ( assuming I will hack, and I will )

 

Offline tv84

  • Frequent Contributor
  • **
  • Posts: 858
  • Country: pt
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1382 on: Yesterday at 08:53:17 am »
Could someone please help?
I really don't have a notion about what I'm doing wrong...

Which patch_file did you use? Reference it's origin.

Finally, the time arrives and I will trigger an order for 5072 or 5074

Are the new ones hackable same way, as the old ones?

Any terrifying problem that can void the new order plan?

Still the best Scope for 1K USD?  ( assuming I will hack, and I will )

Y N Y
« Last Edit: Yesterday at 08:54:48 am by tv84 »
 

Offline nelson_mendes

  • Newbie
  • Posts: 3
  • Country: pt
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1383 on: Yesterday at 10:31:22 am »
Hi TV84,

I got it from here and called it MABI.GEL just to make it simple during the bsdiff/bspatch process:
https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/msg2704640/#msg2704640

Let me see if I got this right...

Do I need to do "bsdiff Firmware_04.08.gel Mabi.GEL patch04.08.bpatch" or "bsdiff appEntry Mabi.GEL patch04.08.bpatch"?

Or is it something even different?


Thanks! ;)
 

Offline TK

  • Super Contributor
  • ***
  • Posts: 1119
  • Country: us
  • I am a Systems Analyst who plays with Electronics
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1384 on: Yesterday at 10:40:55 am »
Finally, the time arrives and I will trigger an order for 5072 or 5074

Are the new ones hackable same way, as the old ones?

Any terrifying problem that can void the new order plan?

Still the best Scope for 1K USD?  ( assuming I will hack, and I will )
And Rigol has a promotion where you can get lots of the software options included for free (does not include BW upgrade, 4-channel in case you purchase 2-channel model and maybe some other options are not included in the promotion)... but you can still hack it and get all  the options activated.
 

Offline tv84

  • Frequent Contributor
  • **
  • Posts: 858
  • Country: pt
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1385 on: Yesterday at 11:00:06 am »
I got it from here and called it MABI.GEL just to make it simple during the bsdiff/bspatch process:

Or is it something even different?

Way off! Read mabl's msg carefully. You need to place the 3 files in the USB pen. And, mabl's doesn't include any patching info. So, you must create it yourself or get it from another place.

mabl's GEL is just a patcher tool.
 
The following users thanked this post: nelson_mendes

Offline nelson_mendes

  • Newbie
  • Posts: 3
  • Country: pt
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1386 on: Yesterday at 08:46:56 pm »
Good evening!

I finally made it! A very special thanks to Mabi, AngusBeef, Delfinon, TV84 and many others...

It happens I was being such a "Nabo da Serra" |O and was mixing the md5sums... All good now...


//Nelson
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf