Author Topic: Rigol MHO98 Teardown  (Read 13999 times)

0 Members and 6 Guests are viewing this topic.

Offline norbert.kiszka

  • Super Contributor
  • ***
  • !
  • Posts: 1132
  • Country: pl
Re: Rigol MHO98 Teardown
« Reply #50 on: October 30, 2025, 07:25:18 pm »
For some reason Im very interested with a image of this SD card :)

would be interesting if the contained apk modules would work on a DHO8xx/9xx as well - maybe thier decoders will work there as well.

I don't know how much MHO98 decoders has. But in my mod currently it looks like this:

Offline 0xdeadbeef

  • Super Contributor
  • ***
  • Posts: 1878
  • Country: de
Re: Rigol MHO98 Teardown
« Reply #51 on: October 30, 2025, 07:32:59 pm »
Looks like "DiskGenius" could actually delete files in a mounted image:
2687489-0
So, which are the critical files?
vendor.bin, BND.lic, RLU05.lic, key.data? Something else?
« Last Edit: October 30, 2025, 07:36:26 pm by 0xdeadbeef »
Trying is the first step towards failure - Homer J. Simpson
 

Offline norbert.kiszka

  • Super Contributor
  • ***
  • !
  • Posts: 1132
  • Country: pl
Re: Rigol MHO98 Teardown
« Reply #52 on: October 30, 2025, 07:38:07 pm »
Definitely I don't need .lic files, because Im hacking app directly.

Vendor.bin and Key.data contains serial number, model name, MAC address and staff like that.

Offline washley

  • Contributor
  • Posts: 30
  • Country: us
Re: Rigol MHO98 Teardown
« Reply #53 on: October 30, 2025, 07:38:37 pm »
Has anyone deconstructed the app enough to tell whether these decoders are implemented and packaged in such a way that we could write our own and inject them into the app?
 

Offline norbert.kiszka

  • Super Contributor
  • ***
  • !
  • Posts: 1132
  • Country: pl
Re: Rigol MHO98 Teardown
« Reply #54 on: October 30, 2025, 07:45:49 pm »
Has anyone deconstructed the app enough to tell whether these decoders are implemented and packaged in such a way that we could write our own and inject them into the app?

As they say: everything is open source if You can read Assembly.

After some old school hacking in the upcoming days-weeks, I will make a new app from the scratch - primarily linked with the original .so lib (because it will be much faster). With fast and open source API - at least for the separate UI (also open source).
 
The following users thanked this post: Markus2801A, washley

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 18106
  • Country: 00
Re: Rigol MHO98 Teardown
« Reply #55 on: October 30, 2025, 07:57:09 pm »
Has anyone deconstructed the app enough to tell whether these decoders are implemented and packaged in such a way that we could write our own and inject them into the app?

They aren't "plugins", if that's what you mean.

They're all in the app and enabled with license files.
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 18106
  • Country: 00
Re: Rigol MHO98 Teardown
« Reply #56 on: October 30, 2025, 07:58:07 pm »
Looks like "DiskGenius" could actually delete files in a mounted image:
(Attachment Link)
So, which are the critical files?
vendor.bin, BND.lic, RLU05.lic, key.data? Something else?

But ... is the info overwritten or does it just remove them from the directory?
 

Offline norbert.kiszka

  • Super Contributor
  • ***
  • !
  • Posts: 1132
  • Country: pl
Re: Rigol MHO98 Teardown
« Reply #57 on: October 30, 2025, 07:59:26 pm »
Has anyone deconstructed the app enough to tell whether these decoders are implemented and packaged in such a way that we could write our own and inject them into the app?

They aren't "plugins", if that's what you mean.

They're all in the app and enabled with license files.

It can be enabled by hacking You forget to say (as usual...).

New can be added by writing in Assembly.

Offline norbert.kiszka

  • Super Contributor
  • ***
  • !
  • Posts: 1132
  • Country: pl
Re: Rigol MHO98 Teardown
« Reply #58 on: October 30, 2025, 08:01:00 pm »
Looks like "DiskGenius" could actually delete files in a mounted image:
(Attachment Link)
So, which are the critical files?
vendor.bin, BND.lic, RLU05.lic, key.data? Something else?

But ... is the info overwritten or does it just remove them from the directory?

In DHO800/900 (stock app) additional licenses are saved in FRAM in a separate IC.

Offline 0xdeadbeef

  • Super Contributor
  • ***
  • Posts: 1878
  • Country: de
Re: Rigol MHO98 Teardown
« Reply #59 on: October 30, 2025, 08:14:06 pm »
But ... is the info overwritten or does it just remove them from the directory?
Both is possible. I used overwrite with 0 :)
Trying is the first step towards failure - Homer J. Simpson
 

Offline norbert.kiszka

  • Super Contributor
  • ***
  • !
  • Posts: 1132
  • Country: pl
Re: Rigol MHO98 Teardown
« Reply #60 on: October 30, 2025, 09:15:33 pm »
I was curious about the app (apk) and why it crashes on my DHO924S.

Code that made a crash was a part of completely different license system. This time they were more clever than using XOR or similar easy to hack things as they did before. So rigol_vendor_bin likely will not work here - at least not in the same way.

Anyway, still this is not a problem for me, because Im just bypassing those license functions. So the function contents doesn't matter.

Offline norbert.kiszka

  • Super Contributor
  • ***
  • !
  • Posts: 1132
  • Country: pl
Re: Rigol MHO98 Teardown
« Reply #61 on: October 30, 2025, 09:37:37 pm »
I bypassed communication with the FPGA and app now works on my DHO924S - as in the attachment.

Hacking it should be easy.

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 18106
  • Country: 00
Re: Rigol MHO98 Teardown
« Reply #62 on: October 30, 2025, 09:59:21 pm »
Has anyone deconstructed the app enough to tell whether these decoders are implemented and packaged in such a way that we could write our own and inject them into the app?

They aren't "plugins", if that's what you mean.

They're all in the app and enabled with license files.

It can be enabled by hacking You forget to say (as usual...).

Yes, because the question (and therefore my answer) was about writing custom decoders, not about how unlockable the existing ones are.

 

Offline washley

  • Contributor
  • Posts: 30
  • Country: us
Re: Rigol MHO98 Teardown
« Reply #63 on: October 30, 2025, 11:40:59 pm »
Has anyone deconstructed the app enough to tell whether these decoders are implemented and packaged in such a way that we could write our own and inject them into the app?

They aren't "plugins", if that's what you mean.

They're all in the app and enabled with license files.

It can be enabled by hacking You forget to say (as usual...).

Yes, because the question (and therefore my answer) was about writing custom decoders, not about how unlockable the existing ones are.

Correct. I was wondering whether Rigol had some sort of non-public mechanism that dynamically loaded (call it a plugin if you want) decoders. Where, if you could implement the same interface and drop a binary in the right place, you could sneak in your own. It sounds like the answer is no (I'll assume the decoders are all compiled into the same binary). Thanks for the answers.
 

Online EEVblog

  • Administrator
  • *****
  • Posts: 41717
  • Country: au
    • EEVblog
Re: Rigol MHO98 Teardown
« Reply #64 on: October 31, 2025, 11:55:23 pm »
 
The following users thanked this post: thm_w, Markus2801A, tonyalbus, norbert.kiszka, washley

Offline norbert.kiszka

  • Super Contributor
  • ***
  • !
  • Posts: 1132
  • Country: pl
Re: Rigol MHO98 Teardown
« Reply #65 on: November 01, 2025, 12:35:11 am »
My teardown pics are up:
https://www.flickr.com/photos/eevblog/albums/72177720330041928

In such case, hacking scope firmware without having exact scope model is quite easy :) All I need is stock firmware (which I have already) and photos from teardown.

Offline washley

  • Contributor
  • Posts: 30
  • Country: us
Re: Rigol MHO98 Teardown
« Reply #66 on: November 01, 2025, 02:01:53 am »
My teardown pics are up:
https://www.flickr.com/photos/eevblog/albums/72177720330041928
The standard 4-pin fan header will make fan upgrades/mods easy :-+
 

Offline norbert.kiszka

  • Super Contributor
  • ***
  • !
  • Posts: 1132
  • Country: pl
Re: Rigol MHO98 Teardown
« Reply #67 on: November 01, 2025, 02:05:46 am »
My teardown pics are up:
https://www.flickr.com/photos/eevblog/albums/72177720330041928
The standard 4-pin fan header will make fan upgrades/mods easy :-+

In my preliminary reverse engineering I noticed PWM kernel module - for sure it's used to drive fan. Knowing Rigol, they did this management in scope app instead of separate process - that's bad, because when app will crash and nobody will restart it, everything can overheat.

Online EEVblog

  • Administrator
  • *****
  • Posts: 41717
  • Country: au
    • EEVblog
Re: Rigol MHO98 Teardown
« Reply #68 on: November 01, 2025, 05:23:52 am »
The standard 4-pin fan header will make fan upgrades/mods easy :-+

I haven't looked for alternatives yet, but yes, the fan is annoyingly loud. 57W power consumption.
 

Online EEVblog

  • Administrator
  • *****
  • Posts: 41717
  • Country: au
    • EEVblog
Re: Rigol MHO98 Teardown
« Reply #69 on: November 01, 2025, 05:25:21 am »
FYI:
 
The following users thanked this post: Markus2801A, axantas, norbert.kiszka

Offline 0xdeadbeef

  • Super Contributor
  • ***
  • Posts: 1878
  • Country: de
Re: Rigol MHO98 Teardown
« Reply #70 on: November 01, 2025, 10:08:13 am »
No surprise for me. Windows and Windows-only software is almost always useless.
Just to be fair: "DiskGenius" is also able to find all the partitions in the complete raw "mmcblk0" SD card dump:
2688631-0
It's the only (somewhat) free Windows tool I found up to now which can actually do that.
This also allows inspecting (dumps of) SD cards from other Linux systems, e.g. Raspberry Pi.
Unfortunately, the free version is limited to extracting small files.
Trying is the first step towards failure - Homer J. Simpson
 

Offline washley

  • Contributor
  • Posts: 30
  • Country: us
Re: Rigol MHO98 Teardown
« Reply #71 on: November 01, 2025, 10:32:24 am »
My teardown pics are up:
https://www.flickr.com/photos/eevblog/albums/72177720330041928
The standard 4-pin fan header will make fan upgrades/mods easy :-+

In my preliminary reverse engineering I noticed PWM kernel module - for sure it's used to drive fan. Knowing Rigol, they did this management in scope app instead of separate process - that's bad, because when app will crash and nobody will restart it, everything can overheat.

Hopefully it has a fan controller that will revert to 100% if not constantly commanded to hold a lower speed (like on PCs).
 

Offline Hydron

  • Super Contributor
  • ***
  • Posts: 1515
  • Country: gb
Re: Rigol MHO98 Teardown
« Reply #72 on: November 01, 2025, 10:33:31 am »
Yeah but if the app crashes while the fan is set to a low speed I assume it will just not update the PWM value and cook itself.
 

Offline washley

  • Contributor
  • Posts: 30
  • Country: us
Re: Rigol MHO98 Teardown
« Reply #73 on: November 01, 2025, 11:26:44 am »
Yeah but if the app crashes while the fan is set to a low speed I assume it will just not update the PWM value and cook itself.
That's the worst-case scenario, and it might be the case if they are using what is literally only a PWM circuit. But if it's a fan controller, they fail-safe to 100% speed (or to a temperature-based speed control if fancy enough and configured to).
 

Offline 0xdeadbeef

  • Super Contributor
  • ***
  • Posts: 1878
  • Country: de
Re: Rigol MHO98 Teardown
« Reply #74 on: November 01, 2025, 11:28:37 am »
As a side note, I didn't have the impression that there is any kind of fan regulation. It seems to always run a the same speed.
Trying is the first step towards failure - Homer J. Simpson
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf