Author Topic: Hacking the HDO1k/HDO4k Rigol 12 bit scope  (Read 181872 times)

0 Members and 7 Guests are viewing this topic.

Offline black_cat

  • Newbie
  • Posts: 3
  • Country: cn
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #400 on: January 12, 2023, 11:29:20 am »
hdo1072固件版本00.02.04
 
The following users thanked this post: thm_w, namor

Offline skander36

  • Frequent Contributor
  • **
  • Posts: 783
  • Country: ro
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #401 on: January 12, 2023, 12:17:12 pm »
This does nothing.
Need some actions before?

I tend to agree with Martin about the unprofessional approach of support from Rigol ... Firmware published without release notes or upgrade instructions.
 

Offline markone

  • Frequent Contributor
  • **
  • Posts: 730
  • Country: it
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #402 on: January 12, 2023, 12:24:27 pm »
hdo1072固件版本00.02.04

My scope refuse to process the file, if I push the "Upgrade" button nothing happens, see the attachment.
 

Offline markone

  • Frequent Contributor
  • **
  • Posts: 730
  • Country: it
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #403 on: January 12, 2023, 01:18:11 pm »
This does nothing.
Need some actions before?

I tend to agree with Martin about the unprofessional approach of support from Rigol ... Firmware published without release notes or upgrade instructions.

I just found out the reason : you have to apply before the previous FW upgrade  ;)

Martin is right about that but he works for the "Siglent's Armada", they scan in real time every post in this forum to exploit every single opportunity to bash Rigol, so they are not an impartial judge and perfection is not at their side.

Anyway you can always buy a fancy SDS2000X HD for a mere 3600 euros  :)

In my case it's enough my HDO1074 "expanded", especially now that setup restore is fixed as well as High res mode, FAN is less noisy (with the cure posted days ago), still checking all the rest.
« Last Edit: January 12, 2023, 01:28:57 pm by markone »
 
The following users thanked this post: kahe40, Fungus

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16851
  • Country: 00
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #404 on: January 12, 2023, 01:40:25 pm »
In my case it's enough my HDO1074 "expanded"

Keeping it real.
 

Offline skander36

  • Frequent Contributor
  • **
  • Posts: 783
  • Country: ro
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #405 on: January 12, 2023, 01:56:52 pm »

I just found out the reason : you have to apply before the previous FW upgrade  ;)


Can you be more specific?
 

Offline skander36

  • Frequent Contributor
  • **
  • Posts: 783
  • Country: ro
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #406 on: January 12, 2023, 02:13:30 pm »

I just found out the reason : you have to apply before the previous FW upgrade  ;)


Can you be more specific?

Now I understand, you miss a coma somewhere...
 

Offline markone

  • Frequent Contributor
  • **
  • Posts: 730
  • Country: it
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #407 on: January 12, 2023, 02:14:10 pm »
Well Guyz,

user "black_cat" was right, HDO4000 FW upgrades are applicable to HDO1000 scopes apparently without problems, I downloaded them from Rigol.eu official site.

First you have to flash the  first one (00.02.00) then the latest (00.02.04), the result seems good, many bugs are fixed here below the list of what I have spotted till now :

- DSO setup is restored correctly at power ON
- HiRes mode now has right vertical scale
- Async Serial decoder is much faster and does not crash anymore

UI seems faster than before (and it was already much responsive than MSO5000) and last but not the least, the "door" is still open  ;)
« Last Edit: January 12, 2023, 02:16:47 pm by markone »
 

Offline skander36

  • Frequent Contributor
  • **
  • Posts: 783
  • Country: ro
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #408 on: January 12, 2023, 02:49:22 pm »

Anyway you can always buy a fancy SDS2000X HD for a mere 3600 euros  :)
than I m
What do you want to say? That is ok to put new Fw. for a 1K only to 4K model, without release notes and instruction?
That if I don't like this, shold buy a Siglent? Not to comment?
I don't really understand you.
 
 

Offline aurel

  • Contributor
  • Posts: 16
  • Country: fr
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #409 on: January 12, 2023, 05:43:30 pm »
I confirm that flashing the HDO4K Firmware on the HDO1K works perfectly.

Also, you don't need to install version 00.02.00 first. You can install version 00.02.04 directly.
The only issue is that the initial firmware installed on the HDO1K does not recognize upgrade files named DHO4000Update.GEL so you need to rename the file to HDO4000Update.GEL for it to be accepted.

Starting from version 00.02.00, the scope accept both file names for the upgrade, so that's why the 2 stage upgrade worked for you (version 00.02.00 firmware file is named HDO4000Update.GEL and version 00.02.04 firmware file is named DHO4000Update.GEL).

I also confirm that version 00.02.04 still has the adb port open (on port 55555), so we still have a adb shell available and still no root password (so just `su` to get root).
The fan speed setting still works writing to /sys/devices/platform/pwm_fan/hwmon/hwmon5/pwm1
 
The following users thanked this post: thm_w, Fungus, EL_ID_ioT

Offline markone

  • Frequent Contributor
  • **
  • Posts: 730
  • Country: it
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #410 on: January 12, 2023, 07:56:02 pm »
I confirm that flashing the HDO4K Firmware on the HDO1K works perfectly.
Also, you don't need to install version 00.02.00 first. You can install version 00.02.04 directly.

I can guarantee you this was NOT my case, I had to use first 2.00 then 2.04, otherwise hitting the button "Upgrade" with 2.04 had no effect, probably there are variables in play that we do not know.
 
The following users thanked this post: RobbiTobi

Offline markone

  • Frequent Contributor
  • **
  • Posts: 730
  • Country: it
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #411 on: January 12, 2023, 08:15:25 pm »

Anyway you can always buy a fancy SDS2000X HD for a mere 3600 euros  :)
than I m
What do you want to say? That is ok to put new Fw. for a 1K only to 4K model, without release notes and instruction?
That if I don't like this, shold buy a Siglent? Not to comment?
I don't really understand you.
 

Read my previous posts, I never said it's OK and I wonder why Rigol is behaving this way but IMHO at this price point I can bear such kind of inconvenience provided that the HW is decent and minimal level of FW quality is reached within some months, otherwise the closest alternative for a 12bits would have been the mentioned Siglent model at more than 3X the price.

For the rest it was a pinch of irony that doesn't hurt these days.

Returning OT, with 2.04 now I can see a more than decent scope considered the "age", apart the FAN aspect that required a user intervention and it's still not correctly managed by the Rigol software.
 

Offline skander36

  • Frequent Contributor
  • **
  • Posts: 783
  • Country: ro
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #412 on: January 12, 2023, 08:51:18 pm »
It is not about the price point. On 1000Z series they also put Relese notes and Upgrade instructions and this has much lower price that HDO1K.
 Rigol want to be a chalenger to big names and has done a realy good job with this scope. They can't afford it to do in that way for support.
This why I'm saying that is unprofessional how they choose to treat that time the firmware subject for HDO1K.
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16851
  • Country: 00
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #413 on: January 12, 2023, 10:19:30 pm »
It is not about the price point. On 1000Z series they also put Relese notes and Upgrade instructions and this has much lower price that HDO1K.
 Rigol want to be a chalenger to big names and has done a realy good job with this scope. They can't afford it to do in that way for support.
This why I'm saying that is unprofessional how they choose to treat that time the firmware subject for HDO1K.

You're getting a high bandwidth, touch screen, 12-bit, super low noise 'scope with all options for a little over $1000 ...

... and you're complaining there's no release notes?
« Last Edit: January 12, 2023, 10:21:42 pm by Fungus »
 

Offline markone

  • Frequent Contributor
  • **
  • Posts: 730
  • Country: it
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #414 on: January 12, 2023, 10:21:28 pm »
It is not about the price point. On 1000Z series they also put Relese notes and Upgrade instructions and this has much lower price that HDO1K.
 Rigol want to be a chalenger to big names and has done a realy good job with this scope. They can't afford it to do in that way for support.
This why I'm saying that is unprofessional how they choose to treat that time the firmware subject for HDO1K.

Again, I agree with that, my best explanation is they are suffering from Covid 19 more than we can think and some key figure is missing, of course I can't be sure.

I am definitely pragmatic, now we have a FW that is waaay better than what I originally got out of the box, tomorrow I will show the DSO to a customer that is looking for a cheap 12bits DSO.

Now it makes sense.

 

Offline markone

  • Frequent Contributor
  • **
  • Posts: 730
  • Country: it
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #415 on: January 12, 2023, 10:28:57 pm »
It is not about the price point. On 1000Z series they also put Relese notes and Upgrade instructions and this has much lower price that HDO1K.
 Rigol want to be a chalenger to big names and has done a realy good job with this scope. They can't afford it to do in that way for support.
This why I'm saying that is unprofessional how they choose to treat that time the firmware subject for HDO1K.

You're getting a high bandwidth, touch screen, 12-bit, super low noise 'scope with all options for a little over $1000 ...

... and you're complaining there's no release notes?

That's exactly my point (not to mention the 2 channels version at 700), If I had spent 3000 euros I would think differently.

Missing release notes apart now I wonder why they not listed it under HDO1K FW upgrade, to my eyes is a mystery. 
 

Offline pkilar

  • Newbie
  • Posts: 1
  • Country: us
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #416 on: January 13, 2023, 03:35:08 am »
Just got my 1074 :) After some poking around using ADB I have discovered that the only way to authenticate to SSH is using the keys:
Code: [Select]
rk3399_rigol:/ # egrep "RootLogin|KeysFile" /etc/ssh/sshd_config               
PermitRootLogin without-password
AuthorizedKeysFile /data/ssh/authorized_keys

The SSH daemon can only accept the RSA keys, so keep that in mind.

For anyone running Linux (or Mac) do the following:
1. Generate the RSA key:
Code: [Select]
pkilar@linux:~$ ssh-keygen -t rsa -f ~/.ssh/id_rsa -N ""
2. Add the public key to the "authorized_keys" on the scope:
Code: [Select]
pkilar@linux:~$ push ~/.ssh/id_rsa.pub /rigol/
pkilar@linux:~$ adb shell
rk3399_rigol:/ $ su -
rk3399_rigol:/ # cat /rigol/id_rsa.pub >> /data/ssh/authorized_keys
3. Modify the SSH client config on your computer and add the following block to your .ssh/config file, remember to replace xx.xx.xx.xx with IP address of your scope:
Code: [Select]
Host xx.xx.xx.xx
    User root
    PubkeyAcceptedAlgorithms +ssh-rsa
    HostkeyAlgorithms +ssh-rsa
4. Bingo!
Code: [Select]
pkilar@linux:~$ ssh xx.xx.xx.xx
rk3399_rigol:/ #
 
The following users thanked this post: thm_w, the Chris

Offline markone

  • Frequent Contributor
  • **
  • Posts: 730
  • Country: it
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #417 on: January 13, 2023, 05:03:24 am »
Just got my 1074 :) After some poking around using ADB I have discovered that the only way to authenticate to SSH is using the keys:
Code: [Select]
rk3399_rigol:/ # egrep "RootLogin|KeysFile" /etc/ssh/sshd_config               
PermitRootLogin without-password
AuthorizedKeysFile /data/ssh/authorized_keys

The SSH daemon can only accept the RSA keys, so keep that in mind.

For anyone running Linux (or Mac) do the following:
1. Generate the RSA key:
-snip

... and for the other part of the world that is using Windows ?  :D
 

Offline 2N3055

  • Super Contributor
  • ***
  • Posts: 6981
  • Country: hr
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #418 on: January 13, 2023, 07:40:42 am »
Just got my 1074 :) After some poking around using ADB I have discovered that the only way to authenticate to SSH is using the keys:
Code: [Select]
rk3399_rigol:/ # egrep "RootLogin|KeysFile" /etc/ssh/sshd_config               
PermitRootLogin without-password
AuthorizedKeysFile /data/ssh/authorized_keys

The SSH daemon can only accept the RSA keys, so keep that in mind.

For anyone running Linux (or Mac) do the following:
1. Generate the RSA key:
-snip

... and for the other part of the world that is using Windows ?  :D

You do the same.. Just use win directory syntax..
 

Offline skander36

  • Frequent Contributor
  • **
  • Posts: 783
  • Country: ro
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #419 on: January 13, 2023, 10:23:37 am »

You're getting a high bandwidth, touch screen, 12-bit, super low noise 'scope with all options for a little over $1000 ...

... and you're complaining there's no release notes?

People wake up! This is not a scope only for us EEVblog readers. Imagine that there are much more people that use it. Now they feel the need for a better Fw. On the other hand Rigol has already realased a new fw. from October as I remember, and a second one in January. But they put that fw. only into HDO4K download section, and they omit to put crucial instructions Without this,  the fw does not install. (explaining that you need to put both fw in a succesive manner or that you need to rename the file  from DHO to HDO). And that it is also for HDO1K. It's not a caprice, it's a need. This is unprofessional by any definition. You simply can't do that ...
« Last Edit: January 13, 2023, 10:25:11 am by skander36 »
 

Offline 2N3055

  • Super Contributor
  • ***
  • Posts: 6981
  • Country: hr
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #420 on: January 13, 2023, 11:26:55 am »
I hope this won't be taken wrongly..

I agree with Skander36. There is a huge difference between being able to buy cheapest version of the fully functioning scope and "unlock" it to full features and what is going on with Rigol DHOX000 series now.

Until there is no official version for DHO1000 there isn't one. Scope must first and foremost work for paying customers that don't hack it.
And, make no mistake, I'm not exactly criticising Rigol here.
Their mistake was they released it too soon.

Problem is with early adopters that pretend all is OK. It is not.

Remember, many of us warned about this happening. We told all of early adopters exactly this will happen.
And I personally never said to anybody not to buy it, but warned that what seems like a great deal will end up waiting for Rigol to fix stuff at their own pace.
Which means those that want to buy scope today that works, this DHO series is not it.

In a year (yes a year, like with any other Rigol scope before this) they will make product streamlined, all the basic critical stuff will be fixed and you will have a scope that basically works for all the basic stuff and has dozens of small annoyances that you can shrug of and say " well LeCroy has all this perfect but costs 8x so I'm willing to ignore small problems because it gets the job done"...

So my advice for all of those that rushed for a good deal to simply be more patient. You need to give Rigol at least 6 months to figure this out. R&S took more than that when they released RTB2000...
And those that bought HDO1000 so they can play with hacking it all the time, you guys already have fun and enjoy..
« Last Edit: January 13, 2023, 11:28:37 am by 2N3055 »
 
The following users thanked this post: Martin72

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16851
  • Country: 00
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #421 on: January 13, 2023, 04:01:23 pm »
And that it is also for HDO1K.

Where did Rigol say that?
 

Offline skander36

  • Frequent Contributor
  • **
  • Posts: 783
  • Country: ro
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #422 on: January 13, 2023, 07:17:45 pm »
And that it is also for HDO1K.

Where did Rigol say that?
This is the problem: they didn't. 
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16851
  • Country: 00
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #423 on: January 13, 2023, 08:04:30 pm »
And that it is also for HDO1K.

Where did Rigol say that?
This is the problem: they didn't.

So what makes you think it's supposed to be used on the 1000 series?

"I tried it and it seems to work!"?
 

Offline skander36

  • Frequent Contributor
  • **
  • Posts: 783
  • Country: ro
Re: Hacking the HDO1k/HDO4k Rigol 12 bit scope
« Reply #424 on: January 13, 2023, 08:09:00 pm »
Did you try it and doesn't work for you?  :D
 
The following users thanked this post: Martin72


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf