Author Topic: Hacking the Rigol DHO800/900 Scope  (Read 348393 times)

gbix, julien, Szasza7400, beta-tester, skench, conrad550, mianos and 13 Guests are viewing this topic.

Offline S2084

  • Regular Contributor
  • *
  • Posts: 73
  • Country: cz
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2125 on: March 12, 2024, 06:58:40 pm »

I have 924S, later I will do some photosmodules

@norbert.kiszka I still dare to remind you.....

As for now I never removed heatsink. I was going to modify one channel, but I didnt. Also I cant find thermopads - Im not sure if I can reuse existing ones after heatisnk removal (maybe clean them with isopropyl?).

Anyway, I just did two photos just above heatsink. If You need something more (right now without removing heatsink), just give me a sign.

If You going to change only HW number, then read my previous posts about it, because You can change it in "soft" way, without changing resistors or decompiling anything.

Yes, I would like to see a photo of the back of the board.  Thank you...... By the way, it is not necessary to remove the radiator for this.... Your method is good, but when updating the firmware it needs to be repeated... I would like to permanently change the HW configuration.... configuration resistors are located on the reverse side  boards.... Thanks again!!!

Offline norbert.kiszka

  • Regular Contributor
  • *
  • Posts: 227
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2126 on: March 12, 2024, 07:07:31 pm »
After some sdcard edits, got my scope back.

I believe this older droid uses sdcardfs on android_meta and android_expand partitions. sdcardfs apparently is a layer that does not use block addressing.
From what I know of and read about sdcardfs, ext4 is the underlying filesystem. Yep, android is as goofy as they come.

Good to hear that. Make some backup of working sd card image (at least in two places) and when You will need to do some write test on image, then dont forget to make another copy for that.

Speaking of ext4 - that is great file system, probably best one in world. Long time ago I was using ext3 and after I decided to use brand new ext4 it was crazy fast, especially with fsck (seconds instead of hours). Some people can say ReiserFS is better, but its not longer developed, because currently Hans Reiser is in jail.

Yes, I would like to see a photo of the back of the board.  Thank you...... By the way, it is not necessary to remove the radiator for this.... Your method is good, but when updating the firmware it needs to be repeated... I would like to permanently change the HW configuration.... configuration resistors are located on the reverse side  boards.... Thanks again!!!

Damn... After upgrading by GEL file, its just two lines of code - how often You do updates? :)

Currently Im working on some software changes, and right now probably I have some "small" breakthrough.

Offline Randy222

  • Frequent Contributor
  • **
  • Posts: 643
  • Country: ca
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2127 on: March 12, 2024, 08:47:05 pm »
Scope cpu temp. for stock fan configurations only.
In Utility , in the self-check board test, what do your ambient and cpu temps say?

Some many posts back I mentioned I added thermal paste between the heatsink pads, trying to ascertain any benefits.

My 804 scope has been on for about 1hr, it's doing no work (all channels are off) temps are
cpu_chip 52.7
cpu_amb 48.7
room amb is 23.5
« Last Edit: March 12, 2024, 09:12:10 pm by Randy222 »
 
The following users thanked this post: AceyTech

Online shapirus

  • Super Contributor
  • ***
  • Posts: 1551
  • Country: ua
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2128 on: March 12, 2024, 08:50:39 pm »
Scope cpu temp. for stock fan configurations only.
In Utility , in the self-check board test, what do your ambient and cpu temps say?

Some many posts back I mentioned I added thermal paste between the heatsink pads, trying to ascertain any benefits.

My scope has been on for about 1hr, it's doing no work (all channels are off) temps are
cpu_chip 52.7
cpu_amb 48.7
room amb is 23.5
Mine had ~56/52 respectively at ~21-22 room ambient.
 
The following users thanked this post: AceyTech, Randy222

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16746
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2129 on: March 12, 2024, 09:18:02 pm »
Is the bandwidth and memory hack stable enough that there's no point spending the extra on the DHO814 instead of the DHO804?

Yes.

I think we're overdue for a separate "how to unlock a DHO804" thread now. This one has devolved into Android hacking.

 
The following users thanked this post: Bob_McBob, Randy222, Aleksandr

Offline Randy222

  • Frequent Contributor
  • **
  • Posts: 643
  • Country: ca
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2130 on: March 12, 2024, 09:19:19 pm »


If You going to change only HW number, then read my previous posts about it, because You can change it in "soft" way, without changing resistors or decompiling anything.
I have some questions about this.

If they can do it via shoving some data into gpio char device, then why use resistors at all?

If my 804 runs as a 924 vendor.bin, what does the scope gain by changing the HW type number? Does HW type number just unlock features without need for a lic file?
 

Offline Randy222

  • Frequent Contributor
  • **
  • Posts: 643
  • Country: ca
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2131 on: March 12, 2024, 09:21:05 pm »
Is the bandwidth and memory hack stable enough that there's no point spending the extra on the DHO814 instead of the DHO804?

Yes.

I think we're overdue for a separate "how to unlock a DHO804" thread now. This one has devolved into Android hacking.

The scope is an android, there's really no way to de-couple the two. A hack of droid is a hack of the scope device, a hack of the scope device is a hack of the droid. ;)
 
The following users thanked this post: rifkum, AceyTech

Offline norbert.kiszka

  • Regular Contributor
  • *
  • Posts: 227
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2132 on: March 12, 2024, 09:34:54 pm »


If You going to change only HW number, then read my previous posts about it, because You can change it in "soft" way, without changing resistors or decompiling anything.
I have some questions about this.

If they can do it via shoving some data into gpio char device, then why use resistors at all?

If my 804 runs as a 924 vendor.bin, what does the scope gain by changing the HW type number? Does HW type number just unlock features without need for a lic file?

App reads file /dev/hdcode_gpio many times (according to strace output) and also its being read by one script in DHO1000 and DHO4000 models. I tried to make DHO804 from DHO924S by changing this byte, but it doesnt change anything - maybe its used only if model in vendor.bin is DHO800.

In my scope I can even change this to 255 without any result in app, beside this number in "about".

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16746
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2133 on: March 12, 2024, 09:42:04 pm »
I think we're overdue for a separate "how to unlock a DHO804" thread now. This one has devolved into Android hacking.

The scope is an android, there's really no way to de-couple the two. A hack of droid is a hack of the scope device, a hack of the scope device is a hack of the droid. ;)

Yes, but most people are only interested in getting more bandwidth and 50M memory on thier 804.

Finding the info in this thread isn't easy...
 
The following users thanked this post: AndyBig, AceyTech, Aleksandr

Offline AceyTech

  • Regular Contributor
  • *
  • Posts: 189
  • Country: us
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2134 on: March 12, 2024, 09:48:16 pm »
BTW. FPGA Image from DHO1000 works, however after reflashing I see no changes - not at all. BTW2. PLL is driven by a kernel module.
The DHO1000 has a completely different FPGA (Artix) and its firmware (configuration) cannot work on the FPGA in the DHO800/900 (Zync). There are no changes, probably because foreign firmware is not accepted by this FPGA and its native firmware is loaded into it.

I don't think he is ready to accept the architectural differences between the 2 platforms/FPGAs.  :palm:  Kudos to you for trying to help.
« Last Edit: March 12, 2024, 09:55:12 pm by AceyTech »
 

Offline Randy222

  • Frequent Contributor
  • **
  • Posts: 643
  • Country: ca
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2135 on: March 12, 2024, 09:51:18 pm »


If You going to change only HW number, then read my previous posts about it, because You can change it in "soft" way, without changing resistors or decompiling anything.
I have some questions about this.

If they can do it via shoving some data into gpio char device, then why use resistors at all?

If my 804 runs as a 924 vendor.bin, what does the scope gain by changing the HW type number? Does HW type number just unlock features without need for a lic file?

App reads file /dev/hdcode_gpio many times (according to strace output) and also its being read by one script in DHO1000 and DHO4000 models. I tried to make DHO804 from DHO924S by changing this byte, but it doesnt change anything - maybe its used only if model in vendor.bin is DHO800.

In my scope I can even change this to 255 without any result in app, beside this number in "about".

I suspect it only changes default options/features. Example, all the 900's are 50M already. My guess is, a HW number in the 900 series simply allows 50M without any lic, etc.

If the HW number of a 924 provides 50M depth to any 800, then would we 800 folks even need the lic hack?

 

Offline AceyTech

  • Regular Contributor
  • *
  • Posts: 189
  • Country: us
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2136 on: March 12, 2024, 09:54:41 pm »
I have some questions about this.

If they can do it via shoving some data into gpio char device, then why use resistors at all?

If my 804 runs as a 924 vendor.bin, what does the scope gain by changing the HW type number? Does HW type number just unlock features without need for a lic file?

We don't know for sure that the app isn't periodically looking at the config bits on those GPIO lines as a sanity/authenticity check.  The effort to disable the checking might be a good idea in the long run, but it sure seems a good idea to change those hardware bits on a 802 to make a 804 upgrade so you could potentially use the 4th AFE as a 3rd channel.,(on the cheap)

Offline norbert.kiszka

  • Regular Contributor
  • *
  • Posts: 227
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2137 on: March 12, 2024, 10:04:06 pm »


If You going to change only HW number, then read my previous posts about it, because You can change it in "soft" way, without changing resistors or decompiling anything.
I have some questions about this.

If they can do it via shoving some data into gpio char device, then why use resistors at all?

If my 804 runs as a 924 vendor.bin, what does the scope gain by changing the HW type number? Does HW type number just unlock features without need for a lic file?

App reads file /dev/hdcode_gpio many times (according to strace output) and also its being read by one script in DHO1000 and DHO4000 models. I tried to make DHO804 from DHO924S by changing this byte, but it doesnt change anything - maybe its used only if model in vendor.bin is DHO800.

In my scope I can even change this to 255 without any result in app, beside this number in "about".

I suspect it only changes default options/features. Example, all the 900's are 50M already. My guess is, a HW number in the 900 series simply allows 50M without any lic, etc.

If the HW number of a 924 provides 50M depth to any 800, then would we 800 folks even need the lic hack?

I tested with HW 12 and I still have 50M depth.

Offline AceyTech

  • Regular Contributor
  • *
  • Posts: 189
  • Country: us
SDCard hack.
« Reply #2138 on: March 12, 2024, 10:08:47 pm »
Greetings.  I did a quick mod to my scope to make the SDCard easier to access.
2067911-0

The cool thing is, you could do this to YOUR scope without peeling your Warranty sticker, if you just need to back up your card or try different cards..  Is there any language in the warranty statement that prohibits a plastic alteration?   ;)

If anyone cares, I can post step by step pix and instructions how to do it.
 
The following users thanked this post: Randy222

Offline Randy222

  • Frequent Contributor
  • **
  • Posts: 643
  • Country: ca
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2139 on: March 12, 2024, 10:11:11 pm »
My suspect idea is probably good.

https://www.eevblog.com/forum/testgear/hacking-the-rigol-dho800900-scope/msg5078275/#msg5078275

All the 9's are same HW #, they are all 4ch 50M. The only diff is bandwidth.
The 800's have two HW numbers, because 800's are 2ch and 4ch models with different bandwidth.

This leads me to believe HW number is mem depth only setting as default, and then lics for 800's.
We can't apply a lic to a 900 for more mem depth, they are all 50M already.

I can test by removing my 804 mem lic and changing HW # from 12 to 8.





 

Online ebastler

  • Super Contributor
  • ***
  • Posts: 6643
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2140 on: March 12, 2024, 10:11:27 pm »
The scope is an android, there's really no way to de-couple the two. A hack of droid is a hack of the scope device, a hack of the scope device is a hack of the droid. ;)

I beg to differ. The working hacks which unlock new functionality do that on the application level, by using existing configuration options (option keys or vendor.bin). No software disassembly required, and nothing to do with Android.

On the other hand, the Android exploration has not really produced working hacks beyond some nice cosmetic improvements. Frankly I am not sure what the expectations are for the "Android hacking". What do you expect to gain from it? (Beyond satisfying technical curiosity, which is a perfectly valid reason of course.)

For the DHO1000, I could understand the desire to unlock the built-in 50 Ohm terminators and 400 or 800 MHz bandwidth, which the Rigol firmware for that series does not support at all. But in the DHO800/900 there is no such unused hardware. So what is the end game here?
 

Offline Randy222

  • Frequent Contributor
  • **
  • Posts: 643
  • Country: ca
Re: SDCard hack.
« Reply #2141 on: March 12, 2024, 10:13:50 pm »
Greetings.  I did a quick mod to my scope to make the SDCard easier to access.
(Attachment Link)

The cool thing is, you could do this to YOUR scope without peeling your Warranty sticker, if you just need to back up your card or try different cards..  Is there any language in the warranty statement that prohibits a plastic alteration?   ;)

If anyone cares, I can post step by step pix and instructions how to do it.
Funny, I was thinking about same today. I have sdcard ribbon extensions. They also make pcb extensions M-F too.
 
The following users thanked this post: AceyTech

Offline Randy222

  • Frequent Contributor
  • **
  • Posts: 643
  • Country: ca
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2142 on: March 12, 2024, 10:15:21 pm »
The scope is an android, there's really no way to de-couple the two. A hack of droid is a hack of the scope device, a hack of the scope device is a hack of the droid. ;)

I beg to differ. The working hacks which unlock new functionality do that on the application level, by using existing configuration options (option keys or vendor.bin). No software disassembly required, and nothing to do with Android.

On the other hand, the Android exploration has not really produced working hacks beyond some nice cosmetic improvements. Frankly I am not sure what the expectations are for the "Android hacking". What do you expect to gain from it? (Beyond satisfying technical curiosity, which is a perfectly valid reason of course.)

For the DHO1000, I could understand the desire to unlock the built-in 50 Ohm terminators and 400 or 800 MHz bandwidth, which the Rigol firmware for that series does not support at all. But in the DHO800/900 there is no such unused hardware. So what is the end game here?
Mod apk that needs to save images with quick button, needs a droid hack to allow it. ;)
 

Offline norbert.kiszka

  • Regular Contributor
  • *
  • Posts: 227
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2143 on: March 12, 2024, 10:15:40 pm »
For the DHO1000, I could understand the desire to unlock the built-in 50 Ohm terminators and 400 or 800 MHz bandwidth, which the Rigol firmware for that series does not support at all.

It is in the app but its locked somehow. If I had DHO1000 then I will try to hack it - maybe someone already did it.

Offline AceyTech

  • Regular Contributor
  • *
  • Posts: 189
  • Country: us
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2144 on: March 12, 2024, 10:16:18 pm »
The scope is an android, there's really no way to de-couple the two. A hack of droid is a hack of the scope device, a hack of the scope device is a hack of the droid. ;)

I beg to differ. The working hacks which unlock new functionality do that on the application level, by using existing configuration options (option keys or vendor.bin). No software disassembly required, and nothing to do with Android.

I think his comment was in direct response to Fungus, "suggesting to fork the thread".  --at least that's how I read it.

I think we're overdue for a separate "how to unlock a DHO804" thread now. This one has devolved into Android hacking.

The scope is an android, there's really no way to de-couple the two. A hack of droid is a hack of the scope device, a hack of the scope device is a hack of the droid. ;)

Yes, but most people are only interested in getting more bandwidth and 50M memory on thier 804.

Finding the info in this thread isn't easy...


Offline norbert.kiszka

  • Regular Contributor
  • *
  • Posts: 227
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2145 on: March 12, 2024, 10:17:20 pm »
Mod apk that needs to save images with quick button, needs a droid hack to allow it. ;)

Unless You will use print screen on usb keyboard or use Linux/GNU installed on this scope (which I personally did).

Online ebastler

  • Super Contributor
  • ***
  • Posts: 6643
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2146 on: March 12, 2024, 10:22:10 pm »
For the DHO1000, I could understand the desire to unlock the built-in 50 Ohm terminators and 400 or 800 MHz bandwidth, which the Rigol firmware for that series does not support at all.

It is in the app but its locked somehow. If I had DHO1000 then I will try to hack it - maybe someone already did it.

Yes, there was decent progress in the DHO1000 hacking thread. The code seems to be there, but in conditional clauses which skip it on the DHO1000 models. But there were some stumbling blocks -- maybe due to the fact that the code fragments were "abandoned" long ago and no longer fully functional. I am not aware of a fully working DHO1000 hack which gives it the missing hardware features.
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11700
  • Country: my
  • reassessing directives...
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2147 on: March 12, 2024, 10:22:41 pm »
Yes, I would like to see a photo of the back of the board.  Thank you...... By the way, it is not necessary to remove the radiator for this.... Your method is good, but when updating the firmware it needs to be repeated... I would like to permanently change the HW configuration.... configuration resistors are located on the reverse side  boards.... Thanks again!!!
Damn... After upgrading by GEL file, its just two lines of code - how often You do updates? :)
Currently Im working on some software changes, and right now probably I have some "small" breakthrough.
i thought you could change HW version by just modding SW... souldevelop hinted us months ago its all about hooking or something hdcode_gpio. if its just a call to those plugin/module then my thinking it shouldnt be that hard to modify that module and push back to dso. but i guess its not as simple as 3 words? (linux is file)? if its Windows, maybe i guess i can start from what i already know, i imagine its something like DLL or drv? i have free ed IDA, so i can open a little bit exe or dll, but since its Linux/android i'm pretty much zero about how things work in those system. maybe later if it turns out config resistor is nowhere to be found in HW, maybe i'll start learning whats all those syntaxes in start_rigol_app.sh and what bits and pieces inside hdcode_gpio dot io or dot apk whatever.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline AceyTech

  • Regular Contributor
  • *
  • Posts: 189
  • Country: us
Re: SDCard hack.
« Reply #2148 on: March 12, 2024, 10:22:53 pm »
Funny, I was thinking about same today. I have sdcard ribbon extensions. They also make pcb extensions M-F too.

Thanks!  Yeah., I have one of those.  Problem: If you don't cut the slot, the extension doesn't fit, and you can't put the case back together.  BTW: the M-F extension I bought has a flared PCB where it attached to the ribbon cable, and will need a wider slot to work.


Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11700
  • Country: my
  • reassessing directives...
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2149 on: March 12, 2024, 10:32:51 pm »
If my 804 runs as a 924 vendor.bin, what does the scope gain by changing the HW type number? Does HW type number just unlock features without need for a lic file?
you need to step few posts/pages back to see why. if you cant find it, trace my posts... my hacked 804->924 cannot do digital trigger while legit 924 can... on a very same FW version. if you can make my dho804 (hacked to 924S) to report HW 8 (instead of 12) in the About Menu, i will be thankful ;)
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf