Hacking the Rigol MSO5000 - Dr Mefisto Licensing Method - Page 1
Forum section: electronics / testgear

author: BTO
author_rank: Frequent Contributor
timestamp: April 27, 2024, 06:38:51 pm
content: HACKING THE RIGOL MSO5000 - Dr Mefisto's Fully Automatic License ActivatorBACKGROUND :This post exists because of the main rigol MSO5000 Post and specifically because of the python scripting method reverse engineered by Dr Mefisto (This is the VERSION 2 of the script)https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/2671/Also because SMAS laid out their path to activation in a very easy to understand way.https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/2840/But also because a few members have stated that there should be one simple place to come to instead of having to dig though almost 60 pages of discussion and then it's a matter of finding the files.The unavoidable fact of these posts is that they will be long and will have many pages.THE PROBLEM SUMMARIZED :- As always it starts with us wanting to unlock all the features of the MSO5000 (or whatever scope it is at the time)- as the method progressed it was quickly realized that rigol (Unlike the DS2000A) were not using "Symmetrical Encryption" but instead "Asymmetrical Encryption" which meant that since we didn't have Rigol's encryption key, we were not able to approach the solution in the same way. At this stage the "PATCH METHOD" was put into place. And it worked, but it had 1 problem... It would not survive a firmware upgrade. So in the future when the next upgrade came out and you installed it you would lose all your unlocked options.Same thing if you downgraded. But don't get me wrong... If you stayed on the same version you were totally fine and everything worked.- Then in Post #2671 Dr Mefisto had a eureka moment and worked out a python script that would CORRECTLY LICENSE THE SCOPE. (Actually the original script was in an earlier post and Post 2671 is the version 2 / aka The Automated Script.- However a lot of people found this challenging and difficult to perform. it became the case that faced with "Patch Method" vs "Python Licensing Method" it was seen much easier to do the former.WE NOW HAVE A FULLY WORKING SOLUTION...FIRST LET ME THROW SOME FEARS OUT OF THE WAYIt has become obvious also that even though everyone should upgrade to this method as it means.... when further upgrades come out you will have nothing to worry about and you'll just download the official upgrade from the Rigol website (No further hack or patching required). But even though everyone SHOULD, They are not doing it.Why not ?- one reason may be you're afraid of change and what may happen, because if it's working now with the patch why change ?Answer : Because you'll have to anyway- You've heard rumours of the scope being bricked- You've heard people having problems with it- You've heard that the script can damage your scopeLET ME PUT ALL THAT TO REST- My scope started on V 1.3.0.3 (00.01.03.00.03) , i used the patch method and went up to 1.3.3.0 (Latest Version). All Options UnlockedI then Downgraded to 1.3.2.2 (During the downgrade all options are lost). I then used Dr Mefisto's script to license the scope and All Options were unlocked successfully.I then upgraded to version 1.3.3.0 ALL OPTIONS SURVIVED, I then downgraded just to push my luck , to 1.3.0.3 ALL OPTIONS SURVIVED, i even went as low as 1.1.4.4 ALL OPTIONS SURVIVED.So Upgrading and downgrading is not a problem , But there's a catch, You can't downgrade via the operating system you have to do it in the Pre Boot Menu- A Note on the Pre Boot Menu. There are 2 Options "Firmware Upgrade", "Restore Defaults" . FIRMWARE UPGRADE both upgrades and downgrades your scope in a Pre O/S Environment.However RESTORE DEFAULTS Just restores your defaults,IT DOES NOT Lower you to a lower version of firmwareIT DOES NOT take your scope back to it's original version (After you upgraded)All it does is.. if you changed the settings in your scope, it restores them to stock settings. This step is NOT necessary in order to upgrading, Nor does it avoid you bricking your scope if you don't do it.it is a good step to do, but let there be no illusion, it's not a necessary step.- I have , at the time of writing this post upgraded and downgraded my scope over 30 times just to see if i could brick it and around 3 of those times i used restore defaults, the rest i didn't. Nothing happened. I have gone between the patch and back to the script method over and over. THIS METHOD IS A VERY RELIABLE METHOD- A WORD ON BRICKING YOUR SCOPE1. You're probably not going to2. IF YOU LOSE POWER during the FRAM copy process YES.. YOU'LL BRICK YOUR SCOPE3. IF YOUR LOSE ETHERNET CONNECTION during the FRAM copy process... YES, YOU'LL BRICK YOUR SCOPEBecause the data stream cannot be interrupted until it gets to 100% (this only applies to the .. maybe 2mins that the FRAM is actually being written to)If this method doesn't work for you you can always revert back to the Patch Method if you wish.- I have observed that most of the problems arise either from fear or lack of knowledge how to do this method so......HERE IS WHAT YOU NEED TO DO(This post has been put up so that if you can get through it you won't need to watch the video) but i have included a video that will take you through it step by step.and you can also ask me for help and i'll be happy to help youSTEP 1.DOWNLOAD THE FOLLOWINGRufushttps://rufus.ie/en/Pythonhttps://www.python.org/downloads/THEN. GO TO MY MEGA CLOUD SERVERhttps://mega.nz/folder/A8cEgQRI#5FSoMrCurJi71T7VkRPgYQHere you will find a few things that you'll need1. Scope Firmware Version 1.3.2.22. Scope Firmware Version 1.3.3.03.Rigol_kg2.py (Dr Mefisto's Script Version 2) ------ NOW OBSOLETE3. Rigol_MSO_LicensingUtility_2.10b -- CURRENT SCRIPT (as of 20th July 2024)4. STEP BY STEP INSTRUCTIONAL PDF FILE (MSO5000 DrMefisto Licensing Method) (Also Attached)OPTIONAL- Downgrading to 1.3.2.2 Video (this video shows you how to get into the Pre Boot Menu)THE ACTUAL UPGRADE PROCESSI'm going to give you 2 optionsOPTION 1 - I will BRIEFLY detail the steps in this post , You can take a crack at it if you feel competent, However i personally feel if you are competent enough you wouldn't be here in the first place.OPTION 2 - There will be a DETAILED pdf of the steps at my MEGA cloud location , Download the pdf and follow thatNOW...HERE ARE THE BRIEFLY OUTLINED STEPS that you'll have to do(THESE STEPS ASSUME THAT YOU HAVE A DECENT DEGREE OF NETWORKING EXPERIENCE AND BASIC PROGRAMMING EXPERIENCE - Python is preferred but not necessary, But you MUST have had some experience actually programming from scratch, not just uploading sketches into arduino for example. you must be familiar with C.L.I. if you don't know what C.L.I. is then don't do this method. you must be familiar with flashing EEPROM Basics.)Now, i'm not saying Dr Mefisto's method is hard, i'm just saying, if you want to take the quick road and just read this post and jump in the deep end, IT DOES REQUIRE TECHNICAL KNOWLEDGE.The other option is the PDF walkthrough. But the method is easy, it's just very particular.so...- Get a USB Stick(up to 16GB)- Download Rufus and format the USB stick to FAT32 File System (or... You can just use windows format if you like, but SOMETIMES this causes problems) Rufus is more reliable.- Establish which firmware version your scope is on.To do this upgrade you will need to start on Version 1.3.2.2The latest version as of today is 1.3.3.0if your scope is not on the latest version, You will be upgrading to 1.3.3.0But you must first do your backups.(NOTE : I AM ASSUMING A WINDOWS 10 PRO ENVIRONMENT - If you have Linux of Mac Make the appropriate Adjustments.- if you are on 1.3.3.0 and patched ,Put the 1.3.2.2 software version on your USB stick(First use Step 1 and do your backups) , Then Use the STEP 2 GEL file and put it on your USB stick.- if you are on 1.3.2.2 with no options installed (You're fine), You just need to download the 1.3.3.0 firmware, Use Step 1, Do your backups , Then use STEP 2 GEL file and put it on USB Stick (Min. 2GB)- Now you need to turn off your scope, Insert the USB stick into the scope, andEnter the PRE Boot menu and do the firmware ugprade(You can feel free to select RESTORE DEFAULTS if you want, it doesn't hurt anything )-After that , Regardless of what version you started on, you will now be on Ver. 1.3.2.2- If at this point you are on 1.3.2.2 and completed your Backups. NOW UPGRADE TO 1.3.3.0-Now download the rigol_kg2.py scriptTHE CURRENT SCRIPT IS Rigol_MSO_LicensingUtility_2.10b.py- Open your command shellYOU HAVE THE CHOICE TO USE WINDOWS cmd.exe OR WINDOWS POWERSHELL (Powershell is recommended), it has had a higher success rate.Start in Powershell though if not sure.- now whatever directory your command prompt or Powershell is starting in,Copy your script to that location .- NOW SET UP YOUR NETWORKYou need a router (Internet is not required) (But the downloaded files are)You need a PCThe PC needs to be connected to a LAN Port in the back of your routerYou need an MSO5000the MSO5000 needs to be connected to a LAN Port in the back of your router(This is a basic Star Toplogy Configuration)MAKE SURE THE POWER IS RELIABLEMAKE SURE THE ETHERNET CABLES ARE PLUGGED IN PROPERLYMake sure you don't have a lightning storm going on or power outtagesMake sure you don't have shit power boards and that everything is securely plugged in and can't fall out(YOU'VE BEEN WARNED... IF YOU BRICK YOUR SCOPE IT'S BECAUSE YOU IGNORED THIS)Now that everything is connected- Download Python_ Install Python(this is the part where ... if you're not sure... Read the PDF or watch the video)If you install python and run it and you can't connect to the scope (Uninstall Python and do not proceed with this method, but instead do the PDF or Video method). i'm assuming here you knowhow to install python correctly and run it and have basic programming experience.- Now take that USB stick out of your scope- Obtain the scopes IP Addressand Use Command prompt or powershell to run a ping command to see if your PC is communicating with it.IF YES... ProceedIF NO... Troubleshoot the networkStay on AUTO and DHCP (Try to avoid using STATIC IP)- TYPECode:pythonInto the command shell or powershell to see if it connects to the python interpreterif it does- TYPECode:exit()and press enter (do not enter the commands directly from the python interpreter) Use cmd or Powershell only to interface with the interpreterNow you want to see what options you have before you proceed (ASSUME MY RIGOL SCOPE IP ADDRESS IS 10.1.1.666)TYPECode:python Rigol_MSO_LicensingUtility_2.10b.py -h 10.1.1.666Press ENTERthis will bring up the help menu (you can do no harm to your scope by doing this)The options we are interested in the SWITCHES that we are interested in are-h HELP --------------------------------- (THIS CANNOT HARM YOUR SCOPE)-i INFORMATION ------------------------ (THIS CANNOT HARM YOUR SCOPE)-r REGENERATE PRIVATE KEY--------- (THIS GENERATE THE PRIVATE KEY (Priv Prem) needed before activation)-u UNINSTALL THE OPTIONS--------- (THIS Uninstalls all options and bundles) so if you are on 1.3.2.2 with installed patched options, you use this option to uninstall them--reboot -------------------------------(Reboots the scope without having to press the OFF button)Note the version of the scopeNote if the options are FOREVER or -if you are on 1.3.2.2 and it says FOREVER because you used the patched version do this nowif you are on the patched versionTYPECode:python Rigol_MSO_LicensingUtility_2.10b.py -u 10.1.1.666Press ENTERMake sure to restart your scope after thisRestart now happens AutomaticallyNOW LET'S PULL UP THE SCOPE INFORMATIONTYPECode:python Rigol_MSO_LicensingUtility_2.10b.py -i 10.1.1.666Press ENTERIf you now have- All Options Uninstalled(if you don't restart your scope )WE ARE NOW READY TO GENERATE THE PRIVATE KEY....(Ensure you do not lose network or power connection at this stage)TYPECode:python Rigol_MSO_LicensingUtility_2.10b.py -r 10.1.1.666Press ENTEREXPECT THIS...- the information table will appear- A progress bar will appear that says "READING CFRAM" ... Let it get to 100%- Then "APPLYING NEW CFRAM" Let it get to 100%(if it seems to stall for longer than 1 min, it means you clicked on the screen, RIGHT CLICK to un pause, then leave it alone)- Then you will see multiple lines of ACTIVATING- at the end of it you'll get an information window. The options will still NOT BE ACTIVATED (that's normal)-------------------------EDIT : THIS STEP IS OBSOLETE-----------------------------------------------NOW WE RUN THE SCRIPTTYPEpython rigol_kg2.py 10.1.1.666Press ENTER------------------------------------------------------------------------------------------------------------After this you will expect all options to be activated (They won't be), That's also normalUPDATE :- The scope will reboot on it's own if needed- After REGENERATE the scope will AUTOMATICALLY go into activation, which is this commandCode:python Rigol_MSO_LicensingUtility_2.10b.py -a 10.1.1.666BUT YOU WON'T NEED TO ENTER THISThe scope will then restart again on it's own.-------------------------EDIT : THIS STEP IS OBSOLETE-----------------------------------------------Now REINSTALL 1.3.2.2 even though the current version is 1.3.2.2 DO IT AGAIN, put the USB in the scope with that firmware version on it and run Firmwareupgrade again.(Sounds stupid.. Just do it)- Then follow the steps againGet the python INFORMATION up againNO NEED TO REGENERATE THE KEY THIS TIMEThen just run the script againTYPEpython rigol_kg2.py 10.1.1.666Press ENTER-------------------------------------------------------------------------------------------------------------THIS TIME YOU WILL BE ACTIVATEDBUT WAIT , YOU'RE NOT DONE JUST YET- Now erase the USB stick and load 1.3.3.0 onto itdo the Pre Boot Menu UPGRADE FIRMWARE to 1.3.3.0or you can do this straight from the operating systemNOW YOU WILL NOTICE A FEW THINGSYOU WILL NOW BE CORRECTLY LICENSED1. You're now on 1.3.3.02. ALL YOUR OPTIONS HAVE SURVIVED A FIRMWARE UPGRADE3. You're now good to goREMEMBER THOUGH1. Do a self check (3 tests)2. Do a self calibration3. RUN YOUR BACKUPS AGAIN (Always remember to backup)NOW YOU'RE ALL DONE , that's itLastly, if you have any further concerns, Let me know and i'll test it and post the results.My goal here is to get everyone comfortable with Dr Mefisto's script, and to upgrade their scopes confidently.EDIT : New pdf uploaded to include the step that shows you how to install the modules.EDIT : This Method also supports Activation of MSO5000, MSO7000, DSO7000, MSO8000 up to their Max. Respective settings.

author: BTO
author_rank: Frequent Contributor
timestamp: April 28, 2024, 01:42:28 pm
content: UPDATE : The Step by Step Instructional PDF is now available (it's detailed)Also if possible (Because i'm interested to know) could you please leave comments if this worked for you or if it didn't , i think this will start working for everyone.

author: Sergey_21
author_rank: Contributor
timestamp: April 30, 2024, 03:28:20 pm
content: Hello!I ran into a problem, perhaps this is due to the fact that some of the options are already activated (I bought it together with the oscilloscope). Is it possible to do anything?

author: BTO
author_rank: Frequent Contributor
timestamp: April 30, 2024, 03:43:02 pm
content: Quote from: Sergey_21 on April 30, 2024, 03:28:20 pmDefinitely.....DO THIS FIRSTCode:python d:/rigol_kg2.py -i 192.168.1.37THEN THIS..Code:python d:/rigol_kg2.py -u 192.168.1.37RESTART YOUR SCOPE.THEN THIS...DELETE THE PRIV PREM FILE from it's current location(it should be on the d Drive where you put your python scriptthenCode:python d:/rigol_kg2.py -r 192.168.1.37RESTART YOUR SCOPE.then..Code:python d:/rigol_kg2.py 192.168.1.37RESTART YOUR SCOPEDo you now have all options unlocked "FOREVER" ?You might, but i don't think so..IF NOTDO THIS- Put the 1.3.2.2 Firmware GEL File on the USB Stick and even though you are already on 1.3.2.2 ...... DO THE UPGRADE AGAIN- Go into the PRE BOOT menu by pressing Power button then repeatedly the SINGLE button and Select FIRMWARE UPGRADE(Whether you select Defaults, is completely up to you, some people feel more comfortable doing this... Your call)After the upgradeCode:python d:/rigol_kg2.py -i 192.168.1.37then.. You don't need to do -r anymore, Just jump straight intoCode:python d:/rigol_kg2.py 192.168.1.37AND VOILA...RESTART YOUR SCOPETHEN YOU NEED TO UPGRADE TO 1.3.3.0Grab the GEL file for 1.3.3.0 and you can now do this from the PRE Boot Menu or from the scope in Local Upgrade, it's up to you.then Restart your scopeCheck if it's all good, IF IT IS...GET THE 1.3.3.0 BACKUP FILES AND DO YOUR BACKUPSDo a Self CheckDo Self Caland there you goIf you need help, i'm still up, Let me know

author: BTO
author_rank: Frequent Contributor
timestamp: April 30, 2024, 03:47:55 pm
content: Quote from: Sergey_21 on April 30, 2024, 03:28:20 pmNOTE TO EVERYONE RE THE UPGRADE PATHCode:python d:/rigol_kg2.py -i 192.168.1.37Notice the d:/LET'S TRY TO AVOID USING USB STICKS WHEN DOING THE UPGRADEWARNING : if the USB Stick fails (as they tend to do ) and it happens during the write process ofCode:python d:/rigol_kg2.py 192.168.1.37YOU.... WILL...... BRICK YOUR SCOPEI only advised you to go ahead with it because you already had the python path installed and i didn't want to mess with it (to keep things simple)but in the future, i do not advise that you keep your python scripts on a USB, I WOULD ADVISE1. Open your shell Probably go for Powershell first2. Whatever directory location it starts with..3. Copy your script to that location (IT'S MUCH EASIER THAT WAY)

author: BTO
author_rank: Frequent Contributor
timestamp: April 30, 2024, 03:54:31 pm
content: Quote from: Sergey_21 on April 30, 2024, 03:28:20 pmAlso, Re The Assertion Error,if it fails to do it againTAKE YOUR SCRIPT OFF D DRIVE AND PUT IT IN YOUR C DRIVE AT THE LOCATION THAT THE COMMAND SHELL OPENS INUsually it will beC:\Users\Userand retry all the steps

author: BTO
author_rank: Frequent Contributor
timestamp: April 30, 2024, 05:19:23 pm
content: Quote from: Sergey_21 on April 30, 2024, 03:28:20 pmSo.. How did you go ?

author: Sergey_21
author_rank: Contributor
timestamp: April 30, 2024, 06:51:51 pm
content: So:1) command python d:/rigol_kg2.py -u 192.168.1.37 worked and reset all options and then the oscilloscope rebooted;2) the PRIV PREM file could not be deleted, because there is nothing to delete (there is no file);3) the command python d:/rigol_kg2.py -r 192.168.1.37did not give anything, the result is the same;4) then, following your advice, I reset the settings and updated the firmware, but this did not solve the problem;5) drive "D" is a local drive;6) moving the file to C:\Users\User did not bring any results;

author: BTO
author_rank: Frequent Contributor
timestamp: April 30, 2024, 07:18:37 pm
content: Quote from: Sergey_21 on April 30, 2024, 06:51:51 pmokLET'S DO THIS STEP BY STEPQuoteThe Command -u doesn't RESET all Options,it UNINSTALLS All options, Please confirm it uninstalled all options.QuoteEXCELLENT, So in the location where you have the rigol_kg2.py script there is no PRIV.PEM file.......GREAT !!!QuoteOK, SO THIS IS WHERE YOU ARE STUCKBefore you can runCode:python d:/rigol_kg2.py 192.168.1.37and expect it to work, The PRIV.PEM file with the key needs to be generated. Your attempts are failing because that file is not thereWATCH....After -r To REGENERATE the keyYou do this (To Run the Script)Code:python d:/rigol_kg2.py -u 192.168.1.37IT FAILS - Because there is no PRIV.PEM File to read from (The Script requires the PRIV.PEM File)then..QuoteEXCELLENT - But this will still lead you to a point where NO PRIV.PEM file is generated thus resulting in a fail to upgrade (DON'T WORRY, I'LL GET YOU THERE) Just follow me on this . Don't stressQuoteWHY IS D DRIVE THE LOCAL DRIVE ?I have installed and repaired computers for 35 years or more, I have NEVER seen a Primary Hard drive with Operating system on it (Assuming no Dual Boot configuration) that did not callthe Main Hard drive C:\Ever since computers started, A and B Are for floppy drives, C is the first primary Drive, D was used for Optical drives. Now OF COURSE we can re assign them, ButC IS ALWAYS THE PRIMARY DRIVEthe point being (For many reasons)DO NOT USE OTHER VOLUMES AND DRIVES WHEN DOING THIS, Use the Primary C Hard driveQuoteOK, I WANT YOU TO DO THIS1. Go in your computer to windows Explorer and select THIS PC and give me a screenshot of the window2. Open Powershell and give me a screenshot of Powershell (Close enough so i can see the directory in use)3. Give me a screenshot of the location where you have the rigol_kg2.py scriptdo that ...

author: Sergey_21
author_rank: Contributor
timestamp: April 30, 2024, 08:05:12 pm
content: The Command -u doesn't RESET all Options, it UNINSTALLS All options , Please confirm it uninstalled all options. - Yes it is, I confirm.After the last attempt, the file priv.pem appeared, but the result remained the same.

author: BTO
author_rank: Frequent Contributor
timestamp: April 30, 2024, 08:30:26 pm
content: Quote from: Sergey_21 on April 30, 2024, 08:05:12 pmGood, Well doneso your primary drive is C and the D Drive is a secondary drive.so LET'S USE THE C DriveYou've obviously copied the script to the C:\User\Admin Locationthat's goodNowto check you have communication with the scopeCode:python rigol_kg2.py -i 192.168.1.37followed byREGENERATE THE PRIV.PEM fileCode:python rigol_kg2.py -r 192.168.1.37CONFIRM THAT YOU NOW HAVE AN ADDITIONAL FILE IN THE C:\Users\Admin folder called priv.pemIF YOU DOthen..Code:python rigol_kg2.py 192.168.1.37RESTART THE SCOPEat this point it's normal to not have it activated.... no problemthenRelaod the 1.3.2.2 GEL FILE and do the FIRMWARE UPGARDE process via PRE BOOT menuAfter that's doneagainCode:python rigol_kg2.py -i 192.168.1.37then RUN THE SCRIPTCode:python rigol_kg2.py 192.168.1.37and now you should be activated with all options unlockedthenUpdate to 1.3.3.0LET ME KNOW IF THAT WORKSYou're almost there, once that priv.pem file generates , it's gonna work

author: BTO
author_rank: Frequent Contributor
timestamp: April 30, 2024, 08:47:33 pm
content: Quote from: Sergey_21 on April 30, 2024, 08:05:12 pmsorry didn't see that last photoNO.. THIS IS OKNow you just need to get that 1.3.2.2 GEL filewipe the USB,put the GEL file in the root of the USBand run it again VIA Pre Boot menuafter that restart your scoperun the INFORMATION -i commandthen run the scriptCode:python rigol_kg2.py 192.168.1.37and it'll be activatedthen.. Give me the good news

author: Sergey_21
author_rank: Contributor
timestamp: April 30, 2024, 09:00:46 pm
content: I did everything according to your advice, but the options remained unactivated.

author: BTO
author_rank: Frequent Contributor
timestamp: April 30, 2024, 09:07:46 pm
content: Quote from: Sergey_21 on April 30, 2024, 09:00:46 pmok and- After you did the upgrade of 1.3.2.2 FOR THE 2ND TIME1. Did you make sure it was the correct GEL file2. When you ran the Script, did you get 2 progress Bars ?or was it just the READING CFRAMalso did you get that error from before again ?

author: BTO
author_rank: Frequent Contributor
timestamp: May 01, 2024, 03:13:07 am
content: hi mate, how are you going with it , if you need me to do a zoom with you , let me know, Glad to help.You're really close we just need to figure out what's going on. I'm happy to do a 1 on 1 with you if you like.EDIT :I'm free this evening, if you want to jump on

author: Sergey_21
author_rank: Contributor
timestamp: May 01, 2024, 06:37:53 am
content: Quote from: BTO on April 30, 2024, 09:07:46 pmI used the file from the folder "Step 2. GEL File - Scope Firmware - 00.01.03.02.02"Quote from: BTO on April 30, 2024, 09:07:46 pmNo, the script, as before, did not work to completion, I only had 1 progress bar and an error after that, but the PRIV.PEM file appearedProbably the problem is that the script reads memory (this is done without errors) and tries to do something with it,then an error occurs and the data that the script was supposed to generate/rewrite is not generated.

author: BTO
author_rank: Frequent Contributor
timestamp: May 01, 2024, 08:19:49 am
content: Quote from: Sergey_21 on May 01, 2024, 06:37:53 amPossibly...TRY THIS1. Delete the old script and download another one from the link i supplied in this topic2. it's good that you used the 1.3.2.2 from the link in this topicNOW... Just try this, ok- Download 1.3.3.0 and Upgrade to it (don't worry about the options) Just do an upgrade.-Then.. Go to PreBoot Menu and hist Restore Defaults- Then.. Get that 1.3.2.2 and via Pre Boot Menu downgrade the scope to 1.3.2.2- Then repeat the processit's important to remember you need to do this TWICEso.... After your back down on 1.3.2.2put the script in the location of the command shellrun the -i commandrun the -r commandthen run the script without the switchTHEN.. (this is now 2nd Time Round)Power down the scopeLoad 1.3.2.2 into it againRun the -i commandThen just run the scriptand then you should be activatedI WOULD ALSO BE CHECKING AND DISABLING ANY ANTIVIRUS OR FIREWALL THAT MAY.. POSSIBLY BE MESSING WITH THISso try the upgrade then the downgrade and do it over again.We are really close mate, we are almost there,the script is supposed to read the Pri.pem file, it's as simple as that .so so far you have not done any damage to your scope, don't worry about that.it's just about getting those 2 to talk to each otherLet me know how that goes

author: Sergey_21
author_rank: Contributor
timestamp: May 01, 2024, 08:32:48 am
content: I ran a little through the main forum thread and had a suspicion that this script does not support my oscilloscope model (MSO5074).On the forum I found a mention only of MSO5072, but so far this is only an assumption.

author: BTO
author_rank: Frequent Contributor
timestamp: May 01, 2024, 08:50:42 am
content: Quote from: Sergey_21 on May 01, 2024, 08:32:48 amNo that's not correct. if anything the script supports Multiple scopes, my suspicion is that it even supports the MSO7000 and possibly the 8000as the Option Bundle JITTER is there which is not available in the 5000 and 7000Simply putThe Script Generates the Priv.pemthen uses that file to right to the CFRAMbut before doing so it searches for AVAILABLE OPTIONSas well as INSTALLED Optionsand then the one's that are not installed,.... it installsit supports all MSO5000 Models, it has nothing to do with that . if it didn't support it it would even run and it would spit out an error.I've seen that post as wellREMEMBER THIS...A Large part of what i'm doing here is.. TO DISPELL THE MYTHS Because this is a good upgrade, and it does work.but since the topic started , people have jumped to a lot of conclusions and we need to sort out a few of these incorrect assumptionslike one of them is.. the need to hit that Restore Defaults optionwhich then morphed to.... RESTORE DEFAULTS takes your scope off the current firmware and back to the firmware version that you bought it with.As a result of all this a lot of people are scared and freaking out.I have upgraded my scope over 30 times, i've tried to brick it (with the exception of pulling the power or network cable) i wasn't about to.I tried to fault the script, i couldn't, I've had a look through it, it's a pretty straight forward script.Mate, do what i requested before and let me know how it goes... Buti YOUR SCOPE IS COMPATIBLE TO THE SCRIPT. that's not the issue.

author: Sergey_21
author_rank: Contributor
timestamp: May 01, 2024, 10:02:59 am
content: Unfortunately, all these actions did not lead to a positive result.I think we need to return to the old method of hacking.Thanks for trying to help.

author: BTO
author_rank: Frequent Contributor
timestamp: May 01, 2024, 10:28:02 am
content: Quote from: Sergey_21 on May 01, 2024, 10:02:59 amI Disagree,Now we can always revert back to the patched method, There's no problem there.and it's your scope so it is totally up to you .But, we are really close to a permanent solution.1. This is proving unusually difficult, which tells me we just need to find the issue and we'll be good2. The first problem was that you had the file on a different directorySinc then we've made progress3. Now the issue is that the script is not speaking to the Priv.PremDo you want to jump on a 1 on 1 support with you this evening ?i'm confident we can work it outAlso @DrMeFistOMate do you have any ideas...- He's trying to licence the scope- He has the script in the same directory that Poweshell opens in- He is able to regenerate Priv.Prem- when whe runs the srcript it only get to the READING CFRAM but doesn't write to itthe is currently on 1.3.2.2 (the GEL is a known working file)the script is a known working fileI'm thinking some software is blocking it or firewall, i see nothing in the script that would not allow his model MSO5000 to not write to FRAM.we have also tried 2 timesrunning regenerate -rrunning scriptthen running GEL 1.3.2.2 AGAINthen ran the script againshould have licenced at this point, but didn'tfor some reason the script doesn't seem to proceed to the writing of the CFRAMin the code, i think he gets to line 127 but doesn't proceed past line 141ANY IDEAS ...

author: BTO
author_rank: Frequent Contributor
timestamp: May 01, 2024, 10:41:13 am
content: Quote from: Sergey_21 on May 01, 2024, 10:02:59 amTry this for meDo a SELF CALand Uninstall Python for methen REINSTALL PYTHON But make sure to do the followingSTEP 1 . on the first screen- SELECT..... CUSTOMIZE INSTALLATION Not Install Now- on the same screen CHECK THE BOXES- Use Admin Priviledges When Install Py.exe- Add Python.exe to PATHSTEP 2 - Advanced Options- Check the top 5 boxes from Install Python for all users to Precompile Standard LibrarySTEP 3 - Install itSTEP 4 - Open command shell and enter the -i command and see if it communicates with your scope, if it doestry the process again

author: BTO
author_rank: Frequent Contributor
timestamp: May 01, 2024, 10:43:35 am
content: Quote from: Sergey_21 on May 01, 2024, 08:32:48 amWhat Model do you have anyway ?

author: Sergey_21
author_rank: Contributor
timestamp: May 01, 2024, 11:48:13 am
content: Quote from: BTO on May 01, 2024, 10:43:35 amMSO5074

author: Swap_File
author_rank: Newbie
timestamp: May 01, 2024, 12:52:37 pm
content: Directions and script worked perfectly on my MSO5074. Thanks.It might be useful to add a reminder to use a USB stick at least 2GB in size when doing the backups. I have a little old 64MB stick I use for updates, and that was not big enough.

author: BTO
author_rank: Frequent Contributor
timestamp: May 01, 2024, 01:04:10 pm
content: Quote from: Sergey_21 on May 01, 2024, 11:48:13 amOh well then.. it's 100% compatible with your scope as i also have a MSO5074.Mate, my gut is saying things like....something blocking the script from reading the Priv.pem fileThis could include things like this- Folder PermissionsTHIS TOOL CAN HELP YOUhttps://www.majorgeeks.com/mg/getmirror/take_full_ownership_of_files_folders_registry_hack,1.htmlAfter you extract the file you'll have 2 registry files. click on the one that says"Add Take Ownership to Context menu" and run it, Accept both optionsthen go over to the folder that the script is in and right click ON THE FOLDER and select TAKE OWNERSHIP.You'll see a command shell open and do some stuff, don't worry about it, it's just setting permissions globally so you own the folder.- You're not using an account that is Admin(i imagine you likely are Admin but it's good to check)- Your PC MIGHT be having a problemthis can be weeded out by opening cmd.exe and runningCode:sfc/scannowThis takes a while- Perhaps Python is having trouble with the folder or you selected INSTALL when you installed it instead of CUSTOMIZE INSTALLATION.- it's unlikely the folder itself is having issues as the script was able to write to the folder and that same folder has both the scriptand Priv.pem, the problem is about or has something to do with python reading the Priv.pem filethis isn't a scope issue, this is a computer software issue, permissions or firewall relatedRun the Takeownership registry patch on the file and try it again.

author: BTO
author_rank: Frequent Contributor
timestamp: May 01, 2024, 01:11:39 pm
content: Quote from: Swap_File on May 01, 2024, 12:52:37 pm1 GREAT TO HEAR - I'm curious which directions did you use- The one's in this topic- The PDF2. Now.. A quick checkYOU LICENCED SUCCESSFULLY - CHECKDid you- Upgrade after the licensing to 1.3.3.0 (you can do this from the operating system or from PRE BOOT menu)-DO YOUR BACKUPS (by going into STEP 1. of the 1.3.3.0 file that i attached) Do not forget to do your backups.in all the excitement of activation you can be forgiven for forgetting.. but don't !- DO SELF CHECK - 3 Tests- DO SELF CALLastly Re the USB STICK.... Interesting.I was telling people not to exceed 16GB as it's what i used and it is a reasonable size to use. But You reckon 2GB min huh, OKI'll add that step.WELL DONE CONGRATULATIONS

author: Sergey_21
author_rank: Contributor
timestamp: May 01, 2024, 01:50:01 pm
content: I think firewall, access, etc. things have nothing to do with it. The script reads the contents of memory and tries to change it. But the script cannot do this, since it does not receive what it expects.I have unlocked some debugging information, but it may only be useful to the developer of this script.That is, the stage of transferring the changed information (key) to the oscilloscope does not occur, since a new key has not been created, access is not needed here.

author: BTO
author_rank: Frequent Contributor
timestamp: May 01, 2024, 02:11:14 pm
content: Quote from: Sergey_21 on May 01, 2024, 01:50:01 pmHOLD ON.. !!1. So are you still getting the Assertion Error ?2. Why are you using the regenerate command , My understanding is, you already generated the keyNow, you need to run the sript atCode:python rigo_kg2.py [Your I.P. Address here]there is no switch here.if you keep running the script asCode:python rigo_kg2.py -r [Your I.P. Address here]it's never going to activate, You need to delete the -rso what's the last thing that you tried , Did you try the Take Ownership thing that i suggested ?Also, do you want me to jump on zoom with you or something, i feel we are really close to getting it.

author: BTO
author_rank: Frequent Contributor
timestamp: May 01, 2024, 02:16:52 pm
content: Quote from: Sergey_21 on May 01, 2024, 01:50:01 pmQuoteBut.. Given the situation you are in, WE NEED TO TEST IT AND PROVE ITSomething is stopping it from reading the Priv.pem file, Now if you were running the command each time with the -r in there.THAT WOULD BE THE CAUSE.QuoteCorrect , it does read the FRAM and it does then write to it, but re "it doesn't receive what it expects" , The script asks the scope to provideit the information, Now there are commands like "len" for example where the Hex key needs to be the exact length that is expected (this is true)but.. THAT WOULD MEAN THAT YOUR SCOPE IS DIFFERENT TO ALL OF OUR SCOPES in some foundational way, I can't see that happeningif you have an MSO5074Quotebut... By running the regenerate command, You did create it .and after that, You run the script (without switches)DO THIS...RUN THE SCRIPT without switches, and shoot me a screenshot if you couldor........ZOOM

author: RemB
author_rank: Newbie
timestamp: May 01, 2024, 03:14:06 pm
content: Hi! I have an MSO5074 and had installed options (MSO5000-BND). I did everything according to the instructions and now I have all installed licenses. The method is working. I suggest adding a description of installing modules for python. Thanks!

author: BTO
author_rank: Frequent Contributor
timestamp: May 01, 2024, 03:47:36 pm
content: Quote from: RemB on May 01, 2024, 03:14:06 pmTHAT'S AWESOME.. GOOD WORKNow,1. Don't forget to upgrade to 1.3.3.02. DON'T FORGET TO DO YOUR BACKUPS (By going to STEP1 ) of the 1.3.3.0 download and running the 2 backups3. Then Do your SELF TEST4. Then do your SELF CALthen you're good to go.RE THE MODULES....Ahhh Yes, You are correct, i meant to do that, My wife interrupted me to give me dinner and when i returned it slipped my mind.it is in the video that i have not finished editing, but i will edit the PDF

author: BTO
author_rank: Frequent Contributor
timestamp: May 01, 2024, 03:57:36 pm
content: ModuleNotFoundErrorHi Guys, a bit of an oversight on my part but keep this in mind1. After you install Python2. The first thing you want to do is INSTALL THE REQUIRED MODULES, if you don't have them you will get an error likeCode:ModuleNotFoundErrorand it will have something on the end... Like thisCode:ModuleNotFoundError: No Module named 'requests'This means that you do not have the "REQUESTS" Module installed, to install the module you do this...QuotePress ENTERI personally had to install the following modules but if you get any others , just go ahead and install them, Just alter the name between the parenthesis.QuoteQuoteQuoteQuoteWhen you have all options installed and you runQuotewhere 00.00.00.00 is your I.P. Address, You will a table of installed options

author: BTO
author_rank: Frequent Contributor
timestamp: May 01, 2024, 04:04:20 pm
content: Quote from: Sergey_21 on May 01, 2024, 01:50:01 pmHey Sergey, Read my recent post on MODULE ERRORS, Perhaps this is as simple as you didn't install all the modules.The entire list of modules isCode:pip intstall argparseCode:pip intstall base64Code:pip intstall binasciiCode:pip intstall os.pathCode:pip intstall reCode:pip intstall socketCode:pip intstall structCode:pip intstall timeCode:pip intstall zlibCode:pip intstall requestsCode:pip intstall tqdmCode:pip intstall hashlibCode:pip intstall tabulateCode:pip intstall xxteaCode:pip intstall struct import packCode:pip intstall ecdsaYOU CAN RUN THIS COMMAND TO SEE THE INSTALLED MODULESCode:pip list

author: BTO
author_rank: Frequent Contributor
timestamp: May 01, 2024, 04:42:05 pm
content: Quote from: RemB on May 01, 2024, 03:14:06 pmPDF has been updated, thanks for letting me know that, That was KINDA An important step huh ?

author: Michal Mytnik
author_rank: Newbie
timestamp: May 01, 2024, 09:30:31 pm
content: Hi,for me all have worked very well. Job well done with PDF @BTOThe only small misalignment I have had was at point 16, where it says that script without parameters will run same way, meaning two progress bar should appear. In my case I have just got info that CFRAM is OK and then got the activation list screen, no progress bars. I have just went down the PDF file and at the end all worked super good.But it's true that I have had to import some libraries via pipAll in all it works, and excelent work with providing all the details @BTO

author: BTO
author_rank: Frequent Contributor
timestamp: May 02, 2024, 04:00:12 am
content: Quote from: Michal Mytnik on May 01, 2024, 09:30:31 pmQuoteThankyou and Excellent work WELL DONEQuoteHmmm??? well what i would say to that is...1. At step 16 THERE ARE PARAMETERS, Step 16 is where you REGENERATE THE PRIVATE KEY and use the -r switch .This is where the progress bars should happen2. STEP 17 is where you take away the switch (aka Parameters) and you run the script3. I would say .. if you were at Step 16 and the progress bars didn't start, it means you already had the Priv.pem file generatedand as such it didn't generate it anymore.then when you got to Step 17, without the switch, it just worked.Well , it wouldn't have worked if you didn't have the priv.pem file in place so you must have had it there and attempted to regenerated again.but all in all Good work.Now.. .GO AND READ POST #31 (So i don't have to keep retyping it)and follow those steps and then you're all good

author: BTO
author_rank: Frequent Contributor
timestamp: May 02, 2024, 04:10:32 am
content: Quote from: Sergey_21 on May 01, 2024, 01:50:01 pmSurgey, Just so i know, What's the deal with you mate ?- I'm happy to get on a zoom chat with you and get you over the line, But- Are you still proceeding with this ?- have you given up- have you reverted to just patching the scope,Where are you at ?

author: Sergey_21
author_rank: Contributor
timestamp: May 02, 2024, 04:13:12 pm
content: Quote from: BTO on May 02, 2024, 04:10:32 amHello!I tried it, but the result is the same.As I said earlier, or rather wrote, my script gives an error (and I tried to continue as you advised, but it didn’t give anything) and until I can sort this out, I don’t think anything will work out.I think it’s worth writing to the script developer or to the main forum thread.

author: BTO
author_rank: Frequent Contributor
timestamp: May 03, 2024, 05:51:24 pm
content: Quote from: Sergey_21 on May 02, 2024, 04:13:12 pmATTENTION SERGEYTHIS POST IS DUPLICATED HERE FROM THE MAIN THREAD FOR THE BENEFIT OF THOSE THAT DON'T SEE THE MAIN THREADMate, You may be in some luck here.Recently i had a member who had your exact same problem- After following the standard procedure and then re applying the update and then running the script, it still didn't work.- We did a bit of troubleshooting and we got there and activated and licensedCREDIT GOES TO SEPPLETRONICSI have attached A NEW PYTHON SCRIPTI would like you to do the following (No need for screenshots, Just do this)STEP 1- Download the script calledCode:rigol_kg2_3_000in the attachmentEnsure your scope is on 1.3.2.2STEP 1 - Delete your priv.pem key from it's locationSTEP 2 - Delete the old script from it's locationSTEP 3 - Open your command prompt or Powershell and copy the NEW SCRIPT into the location of the directory that the shell opens in(I'm assuming here that you still have python correctly installed with all the modules)STEP 4 - Run the -i command like thisCode:python rigol_kg2_3_000 -i 10.1.1.666replace 10.1.1.666 for your I.P. AddressSTEP 5 - Run the -r commandCode:python rigol_kg2_3_000 -r 10.1.1.666STEP 6 - CONFIRM THAT YOU DON'T HAVE ANY ERRORSCONFIRM THAT THE priv.pem FILE IS IN THE SAME LOCATION AS THE SCRIPTCONFIRM THAT YOU GOT 2 PROGRESS BARS INSTEAD OF ONESTEP 7 - Run the script without the switchCode:python rigol_kg2_3_000 10.1.1.666CONFIRM THAT YOU GOT 2 PROGRESS BARS INSTEAD OF ONEWhen this completes, it will NOT have activated OptionsSTEP 8 - SHUTDOWN YOUR SCOPESTEP 9 - Put the 1.3.2.2 GEL File on USB and as before , go to PRE BOOT and select Upgrade Firmware , to load over 1.3.2.2 againTake the USB Stick out and Restart your ScopeSTEP 10 - Run the -i command like thisCode:python rigol_kg2_3_000 -i 10.1.1.666STEP 11 - Run the script without the switchCode:python rigol_kg2_3_000 10.1.1.666NOW ..... PLEASE TELL ME THAT YOU ARE SUCCESSFULLY ACTIVATED AND LICENCED WITH "FOREVER"Give that a go.If it works.... Do not forgetStep 12 - Upgrade to 1.3.3.0Step 13 - DO YOUR BACKUP from the 1.3.3.0 Backup filesthen..Step 14- Do Self Check - 3 TestsStep 15 - Do Self CalMate if this works, Also do me a favour, can you please send me a list of WHICH OPTIONS YOU HAD INSTALLED AT THE TIME OF PURCHASE.

author: BTO
author_rank: Frequent Contributor
timestamp: May 03, 2024, 06:57:52 pm
content: Quote from: Swap_File on May 01, 2024, 12:52:37 pmHi mate,First, Hope your scope is going well for you .Secondly, Want to ask you a favour about your scope, (i'm gathering some information for the sake of helping others)Now.. You mentioned your scope was a MSO5074However... DID YOU BUY IT STANDARD or DID YOU HAVE OTHER OPTIONS INSTALLED FROM THE TIME OF PURCHASE ?FYI - This is a new script file called rigol_kg2_3_00.pyFor the record, this file will not apply to you , you just keep the one that you activated with if you need to do anything.But the original file has been modified and other users have successfully activated that couldn't before, so now i need to gathersome information to see which models are effected by this change and to find the common factor between them and this willhelp me understand if i need to modify the script further.thanks mate

author: BTO
author_rank: Frequent Contributor
timestamp: May 04, 2024, 08:51:25 am
content: Quote from: Michal Mytnik on May 01, 2024, 09:30:31 pmHi Michal, Hope your scope is going well.Can i ask something PRIOR TO FULL ACTIVATIONWhat Model was your scope ?Did it have any installed options from the factory ?I'm making a record of who activated and the specifics of the meters, i'm trying to find a correlation between a few thingsin the script as i feel i can edit the script to activate more scopes

author: dxl
author_rank: Regular Contributor
timestamp: May 13, 2024, 07:57:56 pm
content: Thanks BTO,that worked like a charm. I had an old Firmware version several years old on my MSO5072, i disassembled the scope binary at that time and patched the option code to get all the options. Now i thought it's time to update the Firmware. All what's required was:- flash DS5000Update.GEL via USB (from MSO5000(ARM)Update_v00.01.03.03.00.zip)- python rigol_kg2_3_000.py -r 192.168.0.158- powercycle DSO- python rigol_kg2_3_000.py 192.168.0.158voila, all options there - awesome, thanks!

author: BTO
author_rank: Frequent Contributor
timestamp: May 14, 2024, 01:16:32 am
content: Quote from: dxl on May 13, 2024, 07:57:56 pmTHAT'S AWESOME.. Well DoneYou're Welcomeit is interesting however that , You have an MSO5074 and yet you used theCode:python rigol_kg2_3_000.pyscriptand it worked. Generally this is used only if you have a MS5100 series or.. in rare cases when you have a MSO5074 with MSO5000BND Options.I haven't worked out why yet, but when they load options into a MSO5074 it seems to somehow recognize it as an MSO5100.Oh Well.. NOTED,In any case, You're all good, so well done

author: SuperD
author_rank: Newbie
timestamp: May 16, 2024, 02:05:08 am
content: Hi all, I have been reading and gathering all the details. First,thank youfor all of the instructions and hard work!Now, I was a lucky one to get the Rigol Bundle free when I got my 5104. I found the patch well after installing that. I used the scope & patch with everything unlocked for a couple of years and was on 1.3.0.3. I updated the scope to 1.3.3.0 today and lost the bandwidth, back at 100 mhz (expected).I downgraded to 1.3.2.2 to hopefully to lose all that (per instructions "If your scope is on Version 1.3.2.2 and has upgraded software on it you will need to uninstall those options") but nothing uninstalled. I still have the bundle options saying "Forever", and still on 100 mhz.My ask is, how important is it to get everything removed? Is the concern only to remove the patch? If not, and all options need to be removed, how would I uninstall licensed options? ( I did GTS quickly and could not find a way to uninstall options)I know the "Patch" is probably gone as the options I see, I would expect to remain. Just wondering how important it is to make those disappear. I have my back ups and holding off for now. I can always go back to the patch method, but I would like to get this perminent if possible, like the other options.Thanks for any help you can give.

author: BTO
author_rank: Frequent Contributor
timestamp: May 16, 2024, 02:29:42 am
content: Quote from: SuperD on May 16, 2024, 02:05:08 amQuoteYou're WelcomeQuoteYep THAT'S NOT A PROBLEMQuoteNot a problem, You just go into Python and use the -u command to uninstall the optionsQuoteNot Highly Important, We are just following a protocol that worksYou are free to try the python licensing method as is if you like, by all means, it can't hurt,worst case, we start over and uninstall itQuoteyes, the main concern is to remove the patchIf not, and all options need to be removed, how would I uninstall licensed options?OK, in the same way that would run the information switch with -iExampleCode:python rigol_kg2_3_000.py -i 192.168.0.158TO UNINSTALL YOU RUNCode:python rigol_kg2_3_000.py -u 192.168.0.158Quoteit likely is, it's likely the installed options as you bought it are still therei would just try upgrading without uninstalling personallyUse the rigol_kg2_3_000.py script because you have an MSO5100 seriesother than thatjust followCode:python rigol_kg2_3_000.py -i 192.168.0.158Code:python rigol_kg2_3_000.py -r 192.168.0.158Code:python rigol_kg2_3_000.py 192.168.0.158then load 1.3.2.2 again via pre boot menuthen -i againthenCode:python rigol_kg2_3_000.py 192.168.0.158with your IP of courseand you should be good.Let me know how it goesEDIT : then of course after that update to 1.3.3.0follow the procedure on the pdfsorry, had to run out to get the phoneso.. After you active on 1.3.2.2Upgrade to 1.3.3.0 as per the pdf you can do this via Pre Boot Menu or from the O/SLastly before you celebrateFollow the PDF to doBackup againSelf CheckSelf Calthen to set your scope up (this is optional)Visit this linkhttps://www.eevblog.com/forum/testgear/post-hacking-rigol-mso5000-post-hacking-tutorial-deep-dive/You have instructions (Video) on how to setup your scopeas well as around 13 videos to teach you how to use every part of your scope in depth.after that.. ENJOYLet me know if you activated and let me know if you did so by uninstalling everything first or did you just activatewith bundle options installed ?

author: dinosaur_rob
author_rank: Newbie
timestamp: May 16, 2024, 10:13:45 am
content: BTOYour summary of the diverse posts re the methods made it all so clear. Great work. Would these methods work on other Rigol instruments? I have an old Rigol DS1104B. I understand it may have the same board. It has Firmware 012.01.00.04.01.00.01 HW DB53 build 00.59. Is this upgradeable to 200mzh by any of the described methods. I also have a SA - DSA815 TG with Firmware 00.01.19 Boot 00.01.04. Despite searching I could not see any clear method to get either of these units upgraded. BTW I wanted to order (pay for) the DS1104B upgrade and was told by Rigol further licences are not available for that model.I am also having difficulty locating earlier versions of software. Is there a repository for these?

author: SuperD
author_rank: Newbie
timestamp: May 16, 2024, 01:34:41 pm
content: We have success! Here is what I saw (for reference). I trusted the process and didn't uninstall the bundle. I did the -i then the -r, then the full command. All the way though, the OEM bundle lasted (just bandwidth was still OEM 100 mhz)When I did the 1.3.2.2 reload through pre-boot, then booted up the scope after, now all options were uninstalled. Without me doing the -u at all.Instructions went according to plan otherwise. The scope is now on 1.3.3.0 and fully licensed. Thank you again for the help, all who contributed!

author: BTO
author_rank: Frequent Contributor
timestamp: May 16, 2024, 01:47:21 pm
content: Quote from: SuperD on May 16, 2024, 01:34:41 pmTHERE YOU GO, that's AwesomeNow don't forget to follow those last few steps in my last post in the EDIT sectionthe are important, but.. WELL DONE

author: BTO
author_rank: Frequent Contributor
timestamp: May 16, 2024, 02:18:39 pm
content: Quote from: dinosaur_rob on May 16, 2024, 10:13:45 amHi matefirstlyQuoteThat's ok, no problemQuoteThanks a a lot i really appreciate thatDave however is THE LEGEND, Without Dave none of us are herei have put in my contribution here , but I THINK A FEW OTHER DESERVE CREDITAs the title states, DRMEFIST0this is the guy that created the python script (at least finalized the first version)there were others at the beginning i don't know all their namesand then finally me and SEPPLETRONICS work out the version _3_00 thing of the script to allow the other models to be activated.so credit goes to SEPPLETRONICS for that oneAs for me (and if you're a beginner) this will be good for you,1. I'm helping people get off the patch method and activated properly and simplifying the process2. GO TO THIS LINKhttps://www.eevblog.com/forum/testgear/post-hacking-rigol-mso5000-post-hacking-tutorial-deep-diveTHERE IS A VIDEO SERIES THAT WILL SHOW YOU HOW TO USE EVERY FEATURE OF YOUR SCOPE.now as for thisQuoteTHANKS i appreciate that.QuoteNO, THIS PYTHON SCRIPT IS ONLY SPECIFICALLY FOR MSO5000 scopesNow, You being a newbie, this is the part where someone would say to you- See that search bar up the top- USE IT !!DON'T WORRY , I'LL HELP YOU OUTbut for the sake of continuity of this post let's not get other scopes mixed up into it as it will confuse future people reading this.I'm going to PM You with some instructions. but for now just to finish this.QuoteWOW... Not that is oldGOOD NEWS THOUGH, i have been monitoring this hardware hacking thing since Rigol DS1052E , then all the way through theDS2000A and onwards, at the time your scope came out i had an option DS2000A or DS1052E, I chose the former, Never regretted it.But lucky for you i do remember this stuff and there are posts on it.I'll email you with instructionsQuoteNo, the MSO5000 and the DS1100B have different boards, i'ts not even the same process.QuoteNot by the methods on this post, BUT IT IS UPGRADEABLE... YESQuotehmm Interesting , A Spectrum Analyzer, I LIke challenges,Let me look that up for you, Again i'll PM you with this as we don't go into all that on this forum, But again, i will help you so don't worry.QuoteDon't worry, we'll get at least the scope upgradedQuoteEXACTLY, that scope is DISCONTINUEDit's interesting that rigol recommends the MSO5104 as the closest scope, I'd say this is an upsell.I would say at this time if someone wanted an entry level cheapy, you're better going for the DHO1074, 12BIT SCOPES.the specs are basically on par with what the DS1052E Was, now this recommendation is a 70MHz option,but again.. Upgradeableto 200MHzQuoteI'll PM you and explain everything, Let's do everything with PM from here on in or email

author: SuperD
author_rank: Newbie
timestamp: May 16, 2024, 10:28:51 pm
content: Thank you again for the guidance and putting it all in one place! I did do the 1.3.3.0 update, all 3 self-tests & the self-cal. As well as the new backups too. Ready for Scope-a-geddon!

author: BTO
author_rank: Frequent Contributor
timestamp: May 17, 2024, 02:48:09 am
content: Quote from: SuperD on May 16, 2024, 10:28:51 pmOhh yeah....Now before the chalice of power is passed unto you , YOU HAVE 1 MORE TASKbefore unleashingSCOPE-A-GEDDONYOU MUST LISTEN TO THISand rememberTHERE CAN BE ONLY ONE

author: strahd_von_zarovich
author_rank: Contributor
timestamp: May 17, 2024, 07:35:18 am
content: Has anyone tried it with MSO8000 series.I have MSO8064 with all the options but, upgrading 600MHz to 2Ghz would be wonderful.

author: BTO
author_rank: Frequent Contributor
timestamp: May 17, 2024, 08:01:34 am
content: Quote from: strahd_von_zarovich on May 17, 2024, 07:35:18 amLOL... Man i love it when this happensYou don't get many (Actually there have been NONE) LOL that own an MSO8000 to put up their hand and say i want this unlocked.but yeah i'm pretty sure we can most definitely do it.I think it's best we tee up a time to get on a zoom session so it all goes properly, there's a few changes that need to be made in the script,but i'm pretty sure i can get you to 2GHz because it's plain to see in the script that the option is there.Quotewell on the MSO8000 post there is only 1 guy, and i reached out to him and he has not responded.But as i said, this script should be good forMSO5000MSO7000MSO8000and also, No one has approached me for MSO7000 either, You just don't get a lot of that, it's not popularBut my confidence level on this working is very high, I reckon we give it a go

author: tv84
author_rank: Super Contributor
timestamp: May 17, 2024, 09:33:41 am
content: This method works for all MSO 5000, 7000 and 8000 series. Nonetheless, given how this script works, it's not risk-free because of how the different FRAM areas are addressed.I advise all to do a FRAM backup before doing it, as a last option to fully restore the scope.FWIW, all this was tested when the 8000 came out.Here. Months earlier it had been done with the 7000.

author: BTO
author_rank: Frequent Contributor
timestamp: May 17, 2024, 09:33:58 am
content: Quote from: tv84 on May 17, 2024, 09:17:11 amQuoteNo mate, Most definitely. I wasn't just going to run the script as is.Even though it's not risk free, I've done extensive research on the Software Items that are included and they all seem to span across the 3 Models.I was actually going to reach out to you or DrMefist0 LOL, I suppose it's good timing that you chimed in.. Thanks.QuoteNo.. by all means , THAT WOULD BE NON NEGOTIABLE.I would of course go through and change the parts of the script that label the scope or require the name MSO5074 to the model of the MSO8000 that we are targetingNow.. I did actually look at Line 19Code:FRAM_MD5 = 'aadc292fe4063a7ac392e3c3dde51e84'and was wondering will this still work and if not, How to obtain a checksum that wouldas for Line 20Code:FRAM_OFFSETS = [3120, 3204, 3206, 3207]I do understand what these do, however i have not opened and interrogated the scope to the degree where i would understand which values needed to be insert to accommodate the offsets forMSO7000 and MSO8000I'm planning over the weekend to go through the script with a fine tooth comb and see what's what.also.. IF YOU KNOW things like lines 39 - 42 (as an example) they are commented out which leads me to sort of think that DrMefist0 kept this as an ace up his sleeve to enableshould we require it. Or... it could just be stuff that he tried then didn't work so he commented it out, Not sure to be honest.I do understand what all the modules do.I am going to go through the script carefullyand we are DEFINITELY going to do a full backupPersonally i think with a bit of tweaking and a bit of help from you perhaps and DrMefist0 (Since he wrote the thing) we should be able to pull it off.it definitely shouldn't work as it is, Although i was going to try it that way just to be sure it didn't (What are you thoughts, do you think it'll work as is ?)Also Line 421Code:model = model[:-2] + '00'is going to be interesting as to what the value should be.so far we've got2 00 for MSO50003 000 for MSO5100i haven't gone to MSO5200 but i assume 4 0000 and not that it'll be relevant but MSO5300 i assume 5 00000anyway, i think it's worth a crack, even though the MSO7000 and MSO8000 community are not a big one, why should they miss out ?ANY THOUGHTS MATE ?

author: BTO
author_rank: Frequent Contributor
timestamp: May 17, 2024, 09:35:50 am
content: Quote from: tv84 on May 17, 2024, 09:33:41 amThanks for that, I'll check that out VERY CAREFULLYI would try this on my own scope, however i don't have an MSO7000 or 8000, don't have a need for one.anyway, thanks for the update, saves me looking for it,I have gone through all the hacking posts and each page, Hundreds of pages, but it's easier if i don't have to look for it, thanks mate

author: tv84
author_rank: Super Contributor
timestamp: May 17, 2024, 10:31:01 am
content: If there is no evolution meanwhile, by year's end I'll release the SCPI command that does all the magic of writing to the FRAM.What started at Xmas 2018 will end then, and afterwards someone will be able to update Mefisto's script making it bullet proof.Until then the whole community still has time to solve the quest.No more replies for now...

author: dinosaur_rob
author_rank: Newbie
timestamp: May 17, 2024, 11:20:26 am
content: BTOImages as requested.Cheersdinosaur_rob

author: BTO
author_rank: Frequent Contributor
timestamp: May 17, 2024, 01:32:51 pm
content: Quote from: tv84 on May 17, 2024, 10:31:01 amQuoteSounds good, I'll see if i can beat you to the punch.QuoteAND IT SHALL RESTORE BALANCE TO THE UNIVERSE....... ONCE AND FOR ALLQuote...... AND WIN......THE MEDAL OF HEROES

author: BTO
author_rank: Frequent Contributor
timestamp: May 17, 2024, 01:35:02 pm
content: Thanks for the pictures.

author: BTO
author_rank: Frequent Contributor
timestamp: May 17, 2024, 07:29:23 pm
content: Quote from: strahd_von_zarovich on May 17, 2024, 07:35:18 amHi mate, just touching base,1. I now realize that you are in fact the guy from the other post, I was hoping you'd see my comment.2. I just had a really really good look through the Python Script.hmmmI SUSPECT THIS MAY BE ... A LOT EASIER THAN I ORIGINALLY THOUGHTI also think a certain someone (Who shall remain nameless) is playing games with us LOLNot necessarily bad games , but more like.... Let's force the lower life forms to learn something.However... I also think this conversation needs to take place on this threadhttps://www.eevblog.com/forum/testgear/rigol-mso8000-series-hack/THE MSO8000 HACKING THREADSo.. Let's jump back onto that shall weAlso, Even though i understand Python to a good degree, i think it may be helpful if you round up some othersthat are more experienced at python as well , if you can manage it.I do believe i can get through this on my own, but.... JUST IN CASE.. Ya Know.sometimes it's good to get another point of view.Anyway, I'll repost this on the other thread and we'll continue testing it there.Also get some people who have MSO8000 and even MSO7000 as i reckon i can make both of them happen.

author: electricMN
author_rank: Regular Contributor
timestamp: May 21, 2024, 07:50:51 pm
content: My scope has old firmware. Can I use this process to upgrade it to the latest version while adding all options?

author: BTO
author_rank: Frequent Contributor
timestamp: May 21, 2024, 11:59:22 pm
content: Quote from: electricMN on May 21, 2024, 07:50:51 pmyeah, Absolutely. it's not even a problem.you are on 1.1.4..8, the lowest version that i went toto test it was 1.1.4.4SO, YOU'LL DO IT LIKE THIS- From version 1.1.4.8- UPGRADE AS NORMAL TO 1.3.2.2- After that, Follow the pdf using the python script method,Since your scope is MSO5074 You're going to use the script calledCode:rigol_kg2.py

author: electricMN
author_rank: Regular Contributor
timestamp: May 22, 2024, 12:58:02 am
content: I have the options shown in the image. They came bundled with the scope. Is there anything special I need to do during the process of hacking to get all of the options? I thought I saw something about if you have the bundled options you'll have to delete them first prior to doing the hacking process.

author: BTO
author_rank: Frequent Contributor
timestamp: May 22, 2024, 01:12:18 am
content: Quote from: electricMN on May 22, 2024, 12:58:02 amThat's fine, don't worry too much about it.1. Just follow the PDF, it outlines the process of Uninstalling as well.2. Now, as for the options, The script actually checks what you have installed and what you don't.Since your options are correctly licenced from Rigol, Chances are they'll survive the upgrade.I would suggest you just do the process without uninstalling BECAUSE WE CAN KILL 2 BIRDS WITH 1 STONE HERE3. Then after doing it WITHOUT UNINSTALLING, Let me know if it all went through properly, My gut feeling is.. it will.Now if it doesn't, it doesn't matter, it'll just fail and then you go back and uninstall the options and do it again.but i reckon it'll go through just fine.Just go ahead with it mate, don't worry,Follow the PDF and let me now if you have any issuesYOUR BIGGEST CONCERN IS...DO NOT LOSE POWER DURING THE PYTHON SCRIPT PROCESSDO NOT UNPLUG OR LOSE NETWORK CONNECTION DURING THE PROCESSas for the rest of it, You should be fine.

author: electricMN
author_rank: Regular Contributor
timestamp: May 22, 2024, 01:23:01 am
content: Thanks, I'll give it a shot tomorrow.

author: BTO
author_rank: Frequent Contributor
timestamp: May 22, 2024, 01:33:29 am
content: Quote from: electricMN on May 22, 2024, 01:23:01 amNo worries mate, YOU'LL BE RIGHT, Just follow the PDF.I'm here if you need meBut since you have an older version 1.1.4.8- I have no questions or concerns that you'll be able to upgrade to 1.3.2.2 , None at all.- But since you have 1.1.4.8 WITH OPTIONS, do me a favour and the upgrade first WITHOUT Uninstalling OptionsAs for what that chatter was about the options.IN CERTAIN SITUATIONS, Usually on the 100MHz Models, the other script was required the one ending in 3_000.pyNow...there has only been 1 person who had a MSO5074 that needed (what i call, the version 3) of the script.Now.. it is possible that you'll need it.... Sure, it's a REMOTE Possibilitybut start on the first script that i mentioned and start without uninstalling options.Nothing bad can happen if it failsit's either(Most likely) - Just gonna work and install all the other options you don't haveor- You uninstall the options then do it again and it then worksor..(Very unlikely) LOL - it didn't work on the first script so.. You use the 3_000.py script and then it'll work without options uninstalledor..(Extremely Unlikely) - You then also need to uninstall the options and then it'll workbut in any of those cases, your scope isn't in any dangerif it fails you may get an ASSERTION ERRORthat's fine, it just means , use the other script (i won't go into the detail of it)BUT IN ALL LIKELIHOOD, IT'S JUST GONNA WORK THE FIRST TIMEBecause the rigol_kg2.py is for MSO5074the one ending in 3_000.py is for the MSO5100 (100MHz Series)that's how it works, As you increase to 100MHz, then 200MHz then 350MHz , Changes in the script need to be made to accomodatewhat the scope is doing, But most people have MSO0574 and only SOME have MSO5100I am yet to see a MSO5200 and i don't know why a person with a MSO5300 Would be here, since it's all unlocked anyway.so that's what it's all aboutJUST GO AHEAD AND DO IT, YOU'LL BE FINE

author: electricMN
author_rank: Regular Contributor
timestamp: May 22, 2024, 02:56:32 am
content: Version 1.3.2.2 isn't available on Rigol's web site. Can I just go to 1.3.3.0 and skip 1.3.2.2?

author: BTO
author_rank: Frequent Contributor
timestamp: May 22, 2024, 03:10:58 am
content: Quote from: electricMN on May 22, 2024, 02:56:32 amLOL,,,, I KNOW THATThat's why i put everything into this 1 postGO TO POST 1GO TO THE LINKDOWNLOAD WHAT YOU NEEDit's all thereall the versions that you needthe PDFthen a link to the training video's afterwardsbut No don't go to 1.3.3.0 off the batgo from 1.1.4.8 t0 1.3.2.2 then to 1.3.3.0All the files are in the linkALL THE FILES ARE ORIGINALS FROM RIGOL 100% Genuine Rigol files (Because, i keep these things when they come out)

author: electricMN
author_rank: Regular Contributor
timestamp: May 22, 2024, 03:41:37 am
content: Sorry, I didn't realize the GEL file was in the zip file in your link. I won't bother you anymore.

author: BTO
author_rank: Frequent Contributor
timestamp: May 22, 2024, 10:57:42 am
content: Quote from: electricMN on May 22, 2024, 03:41:37 amLOL, That's ok,it's not a bother and ... Feel free to bother me anytime, it's not a problem for me.but, EVERYTHING that you need is in that link, Just follow the PDF and you'll be ok, Everyone else has been so i'm confident you will as well.Give me the good news when it's done

author: electricMN
author_rank: Regular Contributor
timestamp: May 23, 2024, 03:17:30 am
content: Good news delivered. All is well with just a few minor hiccups, mostly my fault.I didn't delete the options and just went on through the PDF document and in the end I've got an upgraded scope. Thanks so much for documenting this process in a manner most can understand.

author: BTO
author_rank: Frequent Contributor
timestamp: May 23, 2024, 10:23:45 am
content: Quote from: electricMN on May 23, 2024, 03:17:30 amTHAT'S COOL... GOOD WORKAlso thanks for letting me know that you went from FOR THE BENEFIT OF FUTURE READERSFrom 1.1.4.8 (with Options Installed)To 1.3.2.2Then.. Running the scriptSuccessfully Installing the other optionsThen up to 1.3.3.0and everything workedNOW DON'T FORGET THE POST STUFF- DO YOUR BACKUP- SELF CHECK- SELF CALIBRATIONThen, if you're not totally familiar with the scope, head over to thehttps://www.eevblog.com/forum/testgear/post-hacking-rigol-mso5000-post-hacking-tutorial-deep-diveAnd you'll have a bunch of videos that will give you tutorial through the entire scope and it's featuresYou'll get some cool basic electronics troubleshootingENJOY YOUR SCOPE

author: electricMN
author_rank: Regular Contributor
timestamp: May 23, 2024, 04:33:04 pm
content: Did the post stuff as part of the process so I basically went from page 1 to the end and did it all.I'm fairly familiar with using an oscilloscope since I worked in electrical engineering but I'm not all that familiar with the capabilities of the MSO5000 so I'll be going to the thread you linked to and taking a look.

author: BTO
author_rank: Frequent Contributor
timestamp: May 23, 2024, 04:47:19 pm
content: Quote from: electricMN on May 23, 2024, 04:33:04 pmQuoteThat's great, I always make a habit of reminding everyone because the checks, cal and backup are very important.and peopole generally get caught up in the excitement of finally get all the options that they forget to backupAs for the rest, if you're familiar with scopes and you're an engineer, then you're probably ok.I just did those videos mainly for the beginners and intermediate who want to understand their scopes and to help themto understand how to test things properly with the scopeit has things like (if i remember).... Calculating inductance with a scope by building a simple Tank Circuit , and explaininghow a square wave with a given duty cycle can be used on certain inductors to derive it's valuei think there's some transistor stuff in there . as well as some PWM stuffthere there's a tutorial on cursors', Pass Fail mask , Etc etcthere's a lot there, chances are you'll find something interestingHave fun with it

author: Dorian_Kaf
author_rank: Newbie
timestamp: May 24, 2024, 08:45:26 pm
content: Good evening BTO,first of all, amazing work you are doing! I have an MSO5104 with all the options activated apart from the Memory and Bandwidth upgrade. Is this constellation possible?Best regards!

author: BTO
author_rank: Frequent Contributor
timestamp: May 26, 2024, 05:27:28 am
content: Quote from: Dorian_Kaf on May 24, 2024, 08:45:26 pmQuoteThank you , i appreciate it, Although i'm not the only one doing the work, But , thank you in any case.QuoteOK, That's not a problem.QuoteCONSTELLATION??, Not sure what you mean .However if you're asking"Martin, i have a MSO5104 With all options licensed EXCEPT Sampling Memory and Bandwidth to 350MHz, is it possible to upgradethe features that i don't have to licenced status ?"YES IT ISGo to Post #1https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-dr-mefisto-licensing-method/USE THIS LINK to get to the cloudhttps://mega.nz/folder/A8cEgQRI#5FSoMrCurJi71T7VkRPgYQWhen you are there YOU WANT TO DOWNLOAD THE FOLLOWING- Downgrading to 1.3.2.2 Video to show you how to get into the Pre Boot menu- MSO5000 DrMefisto Licencing Method PDF WITH DETAILED INSTRUCTIONS (Follow this step by step)- rigol_kg2_3_000.py This is the script you will use for MSO5100 SERIES- Upgrading to 350MHz (1.3.2.2) You will use this zip file for the 1.3.2.2 GEL FILE to downgrade to 1.3.2.2- Upgrading to 350MHz (1.3.3.0) You will use this zip file for the 1.3.3.0 GEL FILE and the backup filesdownload all that1. Follow the PDF2. Use the Script stated above for your particular scope3. After you do all that, don't forget to backup the scope BEFORE and AFTER (this is all in the PDF)and then you'll be finelet me know if you have any issues.Most people have said it's pretty easy to follow along

author: BTO
author_rank: Frequent Contributor
timestamp: May 27, 2024, 12:46:15 pm
content: Quote from: Dorian_Kaf on May 24, 2024, 08:45:26 pmSo.. How are you mateHow did you go with the licensing of your scope, Any Drama's ?

author: BTO
author_rank: Frequent Contributor
timestamp: May 30, 2024, 02:05:39 am
content: Quote from: elias? on May 29, 2024, 10:20:43 pmMate, it sounds like you're not doing something correctly Because...LET'S GO THROUGH YOUR COMMENT STEP BY STEPQuoteOK with 5072 it's likely you'll need to use the scriptCode:rigol_kg2.pyQuoteALL THE SCRIPTS? What do you mean "ALL" , There is only 1 script.DID YOU FOLLOW THE INSTRUCTIONS IN THE PDF THAT I SUPPLIED AND DID YOU DOWNLOAD THE FILES FROM THE LINK THAT I SUPPLIED IN COMMNET 1 OF THIS THREAD ?Quotethe -i Switch DOES NOT INSTALL ANYTHING, the -i Switch just brings up the INFORMATION of the scopeQuoteYou did WhatWHY ? What exactly did you do ?before you do this though , because i don't know what you've done, but it sounds really wrong.I would DEFAULT THE SCOPE TO FACTORY SETTINGSthen..Roughly stated the process is as follows(You should really read the PDF as it is details everything)- You connect your scope to power and network- You install Python on your computer- You download the content that you need from the link in Post 1- You do your backups- You get yourself on version 1.3.2.2you run the INFORMATION scriptYou run the REGEN ScriptYou then run the script on it's own WITHOUT ANY SWITCHthen, You'll need to run 1.3.2.2 againYou then run the INFORMATION SCRIPT AGAINThis time NO NEED to run regenYou just then run the normal script again without the switchand then it worksThere's no need to hardcode or change anythingso..HAVE YOU DOWNLOADED THE CONTENT FROM THE URL IN POST 1HAVE YOU FOLLOWED THE INSTRUCTIONS IN THE PDF

author: BTO
author_rank: Frequent Contributor
timestamp: May 30, 2024, 02:08:00 am
content: Quote from: elias? on May 29, 2024, 10:20:43 pmI wouldn't worry too much, at this point it has worked for many people that there isn't much risk.you should just need to follow the instructions in the pdfif you can't get it, i'm happy to jump on a zoom with you or something and help you out. but .... it cirrently seems like you are doing some weird and incorrect stuff.let me know how it goes

author: BTO
author_rank: Frequent Contributor
timestamp: May 30, 2024, 02:18:54 am
content: Quote from: elias? on May 29, 2024, 08:31:28 pmSorry i had to run out there for a second.I was going to sayRE :TYPE ERROR : CANNOT UNPLACK NON ITERABLE NON TYPE OBJECTBasically the script was not able to unpack an object because it encountered incorrect valuesCHECK THE FOLLOWING- Download and read the PDF- Ensure you have installed ALL THE MODULES- Use your backup that you created (Please tell me you created a backup before you did this................right) to restore the scope it's original settings- See.. when you mentioned you hardcoded the serial and the model number, this error may be happening because you did that .we need to start your scope from a factory stateall those scripts you say you ran, whatever you did, you need to bring it back to factory againthen download the PDF and just follow it , No need to do anything fancy here, Just follow the PDF

author: BTO
author_rank: Frequent Contributor
timestamp: May 30, 2024, 04:09:15 pm
content: Quote from: Dorian_Kaf on May 24, 2024, 08:45:26 pmHi mate, what happened to your comments ? They disappeared, this you delete them ?LookWHAT OPERATING SYSTEM ARE YOU USING ?so based on the message i got on my phone (that is no longer here on the forum)- You're on 1.3.2.2 now GOOD- You've factory reset it GOOD- You saidQuoteTHEN.... NOTHING ?so... What happened, When you send the ICMP Request (Communication Test) to the scope, What happened ?Did the Scope ACK (Acknowledge) the request for more than 4 cycles or did it not ACK ?then you saidQuoteTHAT'S INCORRECT !!it's notCode:rigol_kg2.py.it'sCode:rigol_kg2.pyit's very important that you followed PAGES 12 and 13 of the PDF and selected all those stated options during installationalso how are you running python ?is it from PowershellWindows Command PromptorPython CLINow you're supposed to be doing this....STEP 1. (Assuming scope IP is 10.1.1.666)Bring up INFORMATIONCode:python rigol_kg2.py –i 10.1.1.666PRESS ENTERSTEP 2. REGENERATE THE PRIVATE KEYCode:python rigol_kg2.py –r 10.1.1.666PRESS ENTERSTEP 3. RUN THE SCRIPTCode:python rigol_kg2.py 10.1.1.666PRESS ENTERnow, Restart your scopeReload 1.3.2.2 again via pre boot menuStartup your scopeSTEP 4. (Assuming scope IP is 10.1.1.666)Bring up INFORMATIONCode:python rigol_kg2.py –i 10.1.1.666PRESS ENTERSTEP 5. RUN THE SCRIPTCode:python rigol_kg2.py 10.1.1.666PRESS ENTERfollow those steps and copy and paste my code in and see what happens

author: Slats
author_rank: Newbie
timestamp: May 31, 2024, 12:24:17 pm
content: Please help.I have Rigol MSO5074. I have followed the instructions exactly, but get an "AssertionError" when I do the -r step.

author: BTO
author_rank: Frequent Contributor
timestamp: May 31, 2024, 12:32:05 pm
content: Quote from: Slats on May 31, 2024, 12:24:17 pmSure no problem, it's not the first time it's happened. Usually it happens when it's an MSO5000 with BND Options.or when it's MSO5100 series.In any case, instead of using the following scriptCode:rigol_kg2.pydownload and use this one...Code:rigo_kg2_3_000.pyRun it again, As per the response in my previous comment to Dorian_kafTry it again and let me know if it works.

author: Slats
author_rank: Newbie
timestamp: May 31, 2024, 12:58:29 pm
content: Hey BTO, thanks for the quick responce. No luck, still didn't work.Hardware version: 1.01.000. If that is of any use.

author: BTO
author_rank: Frequent Contributor
timestamp: May 31, 2024, 01:12:02 pm
content: Quote from: Slats on May 31, 2024, 12:58:29 pmQuoteNo problemHERE ARE MY THOUGHTS...1. No, the hardware version isn't relevant, You're on Version 1.3.2.2 According to the INFORMATION script.2. Something fundamental isn't correct, Either- you got the wrong I.P. address for the scope- The Data stream is disconnecting- I doubt it's a python based issue- could be that there is an issue with your regen file3. If you like and have some time we can jump on zoom now and sort this out a lot quicker than what it would be to go and forth with typing.Would you like to do that ?I feel, Just a few things need to be checked and i'm confident i'll find the issue and we'll have the scope licenced pretty quickly.What are your thoughts ?Also, Are you actually following the PDF or just the quick notes in the forum ?

author: BTO
author_rank: Frequent Contributor
timestamp: May 31, 2024, 03:48:53 pm
content: Quote from: Slats on May 31, 2024, 12:58:29 pmHere is a bit of a checklistdon't just skip through this and say yeah yeah... Actually confirm each step, ok- When you installed Python did you do a CUSTOM INSTALLATION ?- Did you also check the box that says PATH ?- then after installing python, did you open cmd.exe or powershell and typed inCode:pythonthen press ENTER to get the compiler screen,Did you successfully get the screen ?You can then typeCode:exit()and ENTER to get out of it- did you connect your scope to your PC Correctly and with Non Faulty Cables ?- did you go into the scopes LAN settings and confirm DHCP is on and that the I.P. Address range, Matches the I.P. Address range in your routerwhen you open cmd.exe and type inCode:ipconfigthen ENTER- then... Open cmd.exe or Powershell, (whichever you like) DID YOU NOTE THE WORKING DIRECTORY ?Meaning if you open it and the path isCode:C:\Users\UserDid you place the script in that location ? IF NOT.......... DO THAT !- then when you created the regen file-- was there another regen file or script in that location ? if there was.. DELETE IT !both the script and the regen file need to be in the same location as the working directory path that shows up in Python.You must also use ONLYcmd.exe ORPowershellDo not use the Python CLI that comes with the installation.- After that , You are supposed to ensure that you remove the patch method, this is done by dropping from version 1.3.3.0 to 1.3.2.2 (you've done this)- it's then just a question ofLoad the -i commandLoad the -r commandLoad the script without any switchthen shutdown and reinstall 1.3.2.2then restart and againLoad the -i commandDO NOT DO THE -r againthen load the script without any switch againAt this point it will activateYou seem to be falling over at the regen priv.pem stageCheck the folder locationsand also when redoing all this, i would use the first script again not the _3_000.py oneLet me know if you want to jump on zoomI'm off to bed now

author: Slats
author_rank: Newbie
timestamp: May 31, 2024, 11:59:06 pm
content: Hey BTO, thank you for trying. However, I have given up and just used the patch method, which worked perfectly.I went through your checklist again on my and my wifes computers.QuoteYes, uninstalled and reinstalled Python.QuoteYes, the Python interpretor loaded.QuoteYes.QuoteYes. Validated cable was good by coping large files between devices.QuoteYes, checked the IP and pinged successfully.QuoteYes.QuoteYes. Location is corect, with script file in that location. Tried with and without deleting the regen file. Made no difference.QuoteUsed both CMD and PowerShell. Made no difference.QuoteYes, did that.QuoteSame "AssertionError". Nothing activated.Thanks for trying, appreciate the effort.

author: BTO
author_rank: Frequent Contributor
timestamp: June 01, 2024, 04:17:03 am
content: Quote from: Slats on May 31, 2024, 11:59:06 pmSure no problem, i mean , i'm happy to jump on zoom but if you don't want to , then, okas for the patch method, Yes it does work, the only thing is you'll have to upgrade and repatch manually when the time comes.in saying that, I have a DS2000A that when i bought it was on version 1.1.0.0 or something like thatand i literally didn't upgrade for 11 Firmware versions and EVERYTHING WAS FINEso i reckon you'll be ok with the patch.so.. You're Welcome for the effort.

author: BTO
author_rank: Frequent Contributor
timestamp: June 22, 2024, 01:48:22 am
content: UPDATEASSERTION ERROR SOLVEDThe first thing i want to say here is this....If you got this error while activating- You're probably scared- You're probably discouraged- You probably don't want to risk bricking your scope- You're probably saying "You know... JUST IN CASE"DO ME A FAVOUR.........FORGET ALL THAT OKBecause it's not relevantNow that being saidI've created another script , it's at the same location.https://mega.nz/folder/A8cEgQRI#5FSoMrCurJi71T7VkRPgYQThe script you need is named :rigol_kg2_KEY2.pyThe PDF File has been updated to include new information relating to the Assertion Error.Follow the same process as you did beforeand you should then find that you get 2 progress bars and no assertion errorand then the scope will be activated with all the optionsWE HAVE PROVEN THIS WORKSAlso let me know which scope you have, as this worked on a MSO5072 with no bundles installed.if you have a MS5100 i do still have another modification i can use on the script, but for now lets' try this one, i reckon it'll work.NOW ....WHAT IS DIFFERENT IN THIS SCRIPTAn Assertion Error occurs- When an Assertion is made- And the Assertion returns FALSE- Then an ASSERTION ERROR gets put up- And the entire program HALTSThe reason it returns false is due to a "len" Statement. which means... The program tested the LENGTH of the HEX Keyin your scope and compared it to the HEX key it was using.Since the one the script is using is going to replace the one in your scope they need to be the same length.In your case they were not and as such you get the errorThe new script called KEY2 (as the name suggests) Uses a different key or a different lengthand when the challenge assertion is issued it returns TRUESO.. GOOD NEWS GUYS, WE HAVE A SOLUTION FOR YOUDo let me know how it goes ok

author: BTO
author_rank: Frequent Contributor
timestamp: June 27, 2024, 02:15:31 am
content: MSO8000 HAS NOW BEEN HACKED SUCCESSFULLYI'm putting this post here only because the MSO8000 and MSO7000 Guys are inevitably going to arrive here.I don't want MSO8000 Discussions to happen on this thread so please PROCEED TO THIS LINKhttps://www.eevblog.com/forum/testgear/hacking-the-rigol-mso8204-mso8000/msg5555455/#msg5555455But yeah... Heads up. THE MSO8000 HAS NOW BEEN FULLY LICENSED and unlocked with all options and up to 2GHz Bandwidth.I'm not going to say i'm not jealousI mean... I helped the guys get to the goal, while i'm on my pityful MSO5000 with my pityful 350MHz LOLBut yeah, it was cool.. CHECK IT OUTand i reckon if we have any MSO7000 Guys out there we should be able to help them out as well.That being said... Let's get back to MSO5000

author: jujug28
author_rank: Newbie
timestamp: June 29, 2024, 03:19:12 pm
content: I'm getting the AssertionError even with therigol_kg2_KEY2.pyscript. So far I've tried upgrading from 1.3.2.2 to 1.3.3.0, patching on 1.3.3.0, and "upgrading" back to 1.3.2.2. I have a brand new MSO5074 with no options other than some trial options that remain even after patching 1.3.3.0 and rolling back to 1.3.2.2. I'm not sure if that is normal, as I haven't found any information about it in other threads.I'm willing to poke around some more with you if you want.

author: BTO
author_rank: Frequent Contributor
timestamp: June 30, 2024, 05:07:32 am
content: Quote from: jujug28 on June 29, 2024, 03:19:12 pmHi mate1., You don't need to poke around, I'll help you2. You're not gonna find anything anyway if you do poke around3. in the last few days we've had some big progresses happeningso i reckon we'll do this.As well as getting the 5000's activated, we can now do 7000's and 8000's as wellDo me a favour...PM ME and we'll make a time to get on skype and i'll help you out

author: BTO
author_rank: Frequent Contributor
timestamp: July 12, 2024, 01:31:15 pm
content: Hi mateASSERTION ERROR IS SOLVEDWE HAVE A NEW SCRIPT1. The script has been Re-Written2. There is a new ScriptSame locationhttps://mega.nz/folder/A8cEgQRI#5FSoMrCurJi71T7VkRPgYQit's calledCode:rigol_kg_LicensingUtility.pyGrab itNOW READ THIS CAREFULLY(SOME COMMANDS HAVE BEEN CHANGED)1. it doesn't really matter what version your scope is on2. Delete and discard of all other scripts that you have and use this one moving forward(it will work for ANY MSO5000, MSO7000 and MSO8000)3. Ensure your working directory has the script copied into itand delete all Priv.pem files from it4. Assume your I.P. Address is 10.1.1.666RUN -i INFORMATIONCode:python rigol_kg_LicensingUtility.py -i 10.1.1.6665. RUN -r REGENERATE PRIV.PEMCode:python rigol_kg_LicensingUtility.py -r 10.1.1.6666. RUN -a ACTIVATIONCode:python rigol_kg_LicensingUtility.py -a 10.1.1.6667. RESTART THE SCOPE8. RUN -a ACTIVATION........AGAINNow your scope will be activated and No Assertion ErrorsAfter this- Upgrade your scope to the latest version 1.3.3.0 if not already on it- Do a Self Test- Do a Self CalENJOY

author: BTO
author_rank: Frequent Contributor
timestamp: July 12, 2024, 01:38:42 pm
content: IF ANYONE IS STILL GETTING ASSERTION ERRORASSERTION ERROR IS SOLVEDWE HAVE A NEW SCRIPTEDIT : This Post has been edited to include the latest script- it's Faster- Easier to use- No need for you to know when to restart1. The script has been Re-Written2. There is a new ScriptSame locationhttps://mega.nz/folder/A8cEgQRI#5FSoMrCurJi71T7VkRPgYQit's calledCode:Rigol_MSO_LicensingUtility_2.10b.pyGrab itNOTE : It's Based on the 2.10b script by asp, I've made a few changes so it's easier to read and understand what's happening at each stage.But all in all asp did the heavy lifting.NOW READ THIS CAREFULLY(SOME COMMANDS HAVE BEEN CHANGED)1. it doesn't really matter what version your scope is on2. Delete and discard of all other scripts that you have and use this one moving forward(it will work for ANY MSO5000, MSO7000 and MSO8000)3. Ensure your working directory has the script copied into itand delete all Priv.pem files from it4. Assume your I.P. Address is 10.1.1.666RUN -h HELP and CREDITS and to familiarize yourself with the commands you will be using.Code:Rigol_MSO_LicensingUtility_2.10b.py -h 10.1.1.6665. Assume your I.P. Address is 10.1.1.666RUN -i INFORMATIONCode:Rigol_MSO_LicensingUtility_2.10b.py -i 10.1.1.6666. RUN -r REGENERATE PRIV.PEMCode:Rigol_MSO_LicensingUtility_2.10b.py -r 10.1.1.666NOTE : RESTART WILL HAPPEN AUTOMATICALLYNOTE : ACTIVATION AND LICENSING WILL HAPPEN AUTOMATICALLYNOTE : RESTART WILL HAPPEN AUTOMATICALLYNOTE : YOU WILL BE ADVISED WHEN YOUR SCOPE IS RESTARTED AND READY AGAINNEW FEATURE ADDED ... REBOOT (From Command Line) - No Need to press the buttonCode:Rigol_MSO_LicensingUtility_2.10b.py --reboot 10.1.1.666ALSO, The Script runs much faster now, Approx 1min for activation (not 15mins)Now your scope will be activated and No Assertion ErrorsAfter this- Upgrade your scope to the latest version 1.3.3.0 if not already on it- Do a Self Test- Do a Self CalENJOY

author: Dude McGee
author_rank: Newbie
timestamp: July 17, 2024, 10:55:22 am
content: Quote from: BTO on April 27, 2024, 06:38:51 pmYesterday I have licensed my MSO5074 using your method successfully, thanks a lot! I used the PDF as the basis for the procedure. Worked right off the bat without any problems at all.I just have one question: Maybe it's my fault but I couldn't find details about the BACKUP DUMP folder. This is not pre-defined in the dataset on MEGA. Furthermore I don't understand how the backup data which is generated by your script can be used later in case I need to restore the scope. And should I put all of the different backup files in just one folder? I have no idea what all of these files are good for and how to organize them.It is highly unlikely that I'll ever do this but who knows...And the last question: In case of a return to Rigol, I could just remove all options with your script and reset it to one of the firmware versions, right?Thanks for taking your time!

author: BTO
author_rank: Frequent Contributor
timestamp: July 17, 2024, 02:54:26 pm
content: Quote from: Dude McGee on July 17, 2024, 10:55:22 amALL GOOD QUESTIONS....Quote- You're Very Welcome, ENJOY ITNow.. Don't forget a few things- Do your backups (i'll address that in a second)- Do your 3 Self Tests- Do your Self CalibrationThen if you wish to learn how to use your scope in depth, i have around 13 Tutorial videos for you to learn from. here..https://www.eevblog.com/forum/testgear/post-hacking-rigol-mso5000-post-hacking-tutorial-deep-diveOK.. Now..Quote- Well DoneI'm in the process of updating the PDF, But hey, these things take time, it should be done in a few days.See.... That PDF was created around the time when DrMefist0 and tv84 came out with the rigol_kg2.py script (Basically, the second script)and the PDF was relevant for the 2nd scriptthen.. We had a few modifications as a result of... someone had a 70MHz Scope with BUNDLES or they had a 100MHz scope etc etcand there were slight modifications which resulted in around 4 or 5 scripts in total, but that pdf was still relevantThen when we got the Assertion Errors and Rigol started playing with the Private Key again with scope models up to around 3months ago....we altered the script againTHE SCRIPT HAS NOW HAD A COMPLETE OVERHAULIt's Fasterand as you have seenit's More AutomatedNo More Assertion ErrorsSee... Your scope activated BECAUSE, The script looks at the Private key and the padding and the Length of allocated FRAMthen it does a bunch of stuff that i won't go into detail with ... Basically, we've added more stuff into it that will audit your scopeand check what key length is needed , instead of using the same key length for all (Because that's how Rigol Triggers the Assertion Errors)Then.. We made the script so..1. When you select -r for Regen of Priv.pem You don't need to reboot2. Reboot is now Automatic, if required3. You also don't need to -a for Activation, the script goes ahead and activates Automatically after the generation of the priv.pem fileBasically it does everything for you , You just need to put in -i and then -rit's kinda hard to get it wrongSo.. Good work for using the PDF as a basis, at this pointSHORTLY I WILL UPDATE THAT PDFWe are also going to see a lot more people activating MSO5000, MSO and DSO7000 and MSO8000Because this script looks at your scope and determines which one it is and applies the correct key lengthWe were looking at having it activate the DHO Series as well, Although at this point, i don't think they work the same way.but.. WE ARE LOOKING INTO THAT AS WELL.Quote- OF COURSE IT'S YOUR FAULT :p WHY WOULD YOU ASK SUCH A STUPID QUESTION... IT'S ALL YOUR FAULT MATE ... EVERYTHING !!!Quote- YES IT IS..!!it's in Steps 6 , 7 and 8 of the pdfHere is the link to the cloudhttps://mega.nz/folder/OsJyFY5A#8uS0fmepgBdNrXqvnxmFfgand I HAVE ATTACHED THE PDF FOR YOUR CONVENIENCE1. Since you're activated, UPGRADE TO 1.3.3.0 Firmware Version, If you are on that version, it doesn't matter, Get the same file anyway2. You're supposed to get the UPGRADING TO 350MHZ (1.3.3.0) Zip File and Extract it3. After Extraction, you're going to have 3 foldersBACKUPGEL FILEFIRMWARENo Points for guessing which one you're supposed to get (BACKUP FOLDER)do that and follow the PDFSo, Since your scope is now fully licensed and Activated, You want to back it all up, JUST IN CASE, something happens.QuoteOK... A BIT OF TECHNICAL JARGON COMING UPI don't wish to confuse matters, But....1. For simple backup, You don't use the script, in the first place.... You use the zip file that i provided2. You put that bugger on a USB stick and stick it in the scope in the pre start menu and hit UPGRADE and it adds the backup files to your USB,Then, You copy those files to your computer and save themNOW, IF YOU WANT TO GO BEYOND THAT.....3. OK, The script in total, HAS THE FOLLOWING OPTIONSWhich you can achieve by running the script with the -h Switch as followsCode:python Rigol_MSO_LicensingUtility_2.09b.py -h 10.1.1.666but the switches are as followsCode:INFORMATION (Brings up Basic Information)python Rigol_MSO_LicensingUtility_2.09b.py -i 10.1.1.666REGENERATE PRIVATE KEY (Creates the Priv.pem file and places it in the current working directory)python Rigol_MSO_LicensingUtility_2.09b.py -r 10.1.1.666(this will in turn trigger the Activation)ACTIVATION (If you need to do it manually, Only if Priv.pem already exists)python Rigol_MSO_LicensingUtility_2.09b.py -a 10.1.1.666Now... All of that is standard stuffBUT LET'S NOW GET INTO USEFUL STUFFCode:REBOOT THE SCOPE (No Need to press the power button, Restart the Scope from the C.L.I.)python Rigol_MSO_LicensingUtility_2.09b.py --reboot 10.1.1.666(FEEL FREE TO PLAY WITH THIS OPTION, it doesn't hurt your scope)DEBUGGING MODE (adds Extra Useful information if a problem exists)python Rigol_MSO_LicensingUtility_2.09b.py -d 10.1.1.666(FEEL FREE TO PLAY WITH THIS OPTION, it doesn't hurt your scope)Now.. if for any reason we need to debug your scope further and someone gets another Assertion Errorwe are going to ask for1. A DUMP of your FRAM2. A DUMP of your PUBLIC KEYso...FRAM DUMP (Copies your FRAM to a file in your Current working directory)python Rigol_MSO_LicensingUtility_2.09b.py -f 10.1.1.666(FEEL FREE TO PLAY WITH THIS OPTION, it doesn't hurt your scope)PRIVATE KEY DUMP (Copies your Private key to a file in your Current working directory)python Rigol_MSO_LicensingUtility_2.09b.py -p 10.1.1.666(FEEL FREE TO PLAY WITH THIS OPTION, it doesn't hurt your scope)There are other switches such as-k = Manually Change the Key in Use-m = Manually change the Model Name in Use-s = Manually change the Serial Number in Useit's highly likely we will never need to use these, However, it's just a provision IN CASE the script doesn't Automatically detect the key in useor Model Name or Serial number, (These options are here JUST IN CASE), it's not even worth explaining it , at this stage.NOW..... IF YOU WISH TO SSH INTO YOUR SCOPECode:SSH (Allows you to connect via SSH to your scope)python Rigol_MSO_LicensingUtility_2.09b.py -e 10.1.1.666NOW TAKE NOTE1. This option is put here so you IF YOU NEED TO, You can go in and change certain things or that i can , It's unlikely you'll need it.2. HOWEVER IT IS FUN TO PLAY WITH IF YOU HAVE NEVER DONE IT BEFORE3. but TAKE CAUTION4. So.. If you want to poke around a little, You can do this....5. Run the Above command and it will say"****SSH ACTIVATED****""Now..Open PuTTY."If you don't have it already, Download PuTTY, it's a serial Console that allows you to interface with the scope via a C.L.I.6. Open PuTTY- Enter the IP Address of your scope (Make sure your scope is turn on of course and connected to the network)- leave the port as 22Press connect and you'll see a console window pop up7. You want to now login as root Your Username and password are either going to beUsername : rigolPassword : rigolorUsername : rootPassword : Rigol201You won't see the cursor progressing, Just type it in and press enter DO NOT PRESS BACKSPACEif it lets you in, You'll see some more directories, You're going to access the root directory first, it'll be weirdNOW LET'S BRUSH UP ON SOME INSTRUCTIONSCode:cd = Change Directory , But this will fail if you don't specify WHICH directory you want to go tocd[DIRECTORY NAME]Example :cd data = This will change the directory location to the "data" foldercd .. = This takes you BACK one stepcd / = This takes you back to the HOME Directoryls = List the folders and files in THE CURRENT DIRECTORYls la = List ALL the folders and files in the current directory and add a few extra detailsso here is what you want to doAS SOON AS YOU GET THE SHELL AND GET PAST LOGINCode:cd ..BECAUSE, You're going to be in the root folder and you want to be in the HOME DIRECTORYNowCode:ls laPRESS ENTERYou might want to look around a little, so.. To see the contents of the home DIRECTORY you use "dir"Code:dirPRESS ENTER, You will see the folders in that directoryNow..You might want to go to, Let's say...... "data" or "user" if you want to go to user folderCode:cd userPRESS ENTERand.. that's how you navigate through the foldersRememberCode:cd ..is to go back to the previous folderand if you come across a file , you can open the file withCode:od PRESS ENTERSo if you're game.... Be Cautious and have some fun poking around a bitto get out, You just typeexitpress enterNOW...Quote- I Purposely didn't include that as i didn't want to confuse people, it's also very unlikely to occur- FOR NOW........BACKUP YOUR SCOPE, if it happens.... Send me a PMif it never happens, You'll never need to use itBut it's handy if you brick your scope (which almost never happens)QuoteThe PDF Explains itBut...You're going to do 2 BackupsBACKUP 1, You'll create a folder in your computer called BACKUP SCRIPTand when you run the backup script, it's gonna add files to your USBYou place those extra files into the BACKUP SCRIPT on your PCBACKUP 2, You do the same thing, except the folder is now called NAND SCRIPT.same thing, Run the NAND SCRIPT and copy the files from the USB to the folderWhat are the files good for.You'll thank yourself when you brick your scope or if the scope fails for some reason.QuoteOK, SO... EVERYONE ASKS THIS....We have included two switches that are relevantCode:UNINSTALL OPTIONS (Uninstalls all options in the scope)python Rigol_MSO_LicensingUtility_2.09b.py -u 10.1.1.666if however you want to just Uninstall 1 option at a time you useCode:UNINSTALL OPTIONS (Uninstalls all options in the scope)python Rigol_MSO_LicensingUtility_2.09b.py -o [Option Name]10.1.1.666Now, if you purchased the scope from Rigol WITHOUT OPTIONS, then you can useCode:python Rigol_MSO_LicensingUtility_2.09b.py -u 10.1.1.666This will Uninstall ALL OPTIONS and then it will Automatically REBOOT the scope to finish the process.when you restart you can run -i to confirm that they are all goneAS FOR RESETTING FIRMWARE VERSIONS1. it's not a RESET, do not view it that way .it's an UPGRADE or DOWNGRADE of Firmware Versions2. So.... if you are on a lower version, Say... 1.3.2.2 and you want to upgradeYOU CAN DO THAT DIRECTLY FROM THE SCOPE'S OPERATING SYSTEMorYou can enter the PRE BOOT Menu and select FIRMWARE UPGRADE.To do this you must have a USB Stick with the Higher Firmware Version loaded (Let's say 1.3.3.0)This process takes you from 1.3.2.2 to 1.3.3.03. You don't need to upgrade or downgrade Sequentially, You can jump from any version to any version, But not the same version4. Now... if you need to downgrade, Say from 1.3.3.0 to 1.3.2.2YOU PREPARE THE GEL FILE (1.3.2.2) , it's at the linkin this case, you cannot do it via the operating system, it won't allow downgradingHOWEVER... The preboot menu option that says UPGRADE FIRMWARE can do itYou see.... UPGRADE FIRMWARE doesn't mean UPGRADE firmware....... it means LOAD FIRMWARESO YES.... YOU CAN DOWNGRADE THE FIRMWAREBut..- Since your scope is fully licensed (unlike the Patched version, that would lose the options during upgrade or downgrade) YOU WON'T LOSE THE OPTIONSin the downgrade- You then need to Uninstall the options- it doesn't matter if you uninstall them , Before or After the downgrade or upgradeNOW WHEN YOU GET THE SCOPE BACK FROM RIGOLRun the script again -rand it'll just activate the scope as it did beforeYou then upgrade to the latest versionand confirm that your scope is licensed and activatedand do your Self Checks and Self CalLASTLY..........You are now fully licensed so.....ANY FUTURE FIRMWARE VERSIONS THAT COME OUTYou can just go to the Rigol Website and get the .GEL file and load it either via the operating system or Pre Boot MenuAND.......THAT'S PRETTY MUCH ITANY QUESTIONS ?

author: Dude McGee
author_rank: Newbie
timestamp: July 17, 2024, 05:33:59 pm
content: Quote from: BTO on July 17, 2024, 02:54:26 pmAt least not at this very moment! Your dedication is awesome, a thousand thanks go out to you for these answers!I've found the BACKUP DUMP reference in STEP 8 of the PDF, and I'll work further with your latest post and the PDF to understand more of all this. And then I'll be watching the 13 videos you've prepared

author: BTO
author_rank: Frequent Contributor
timestamp: July 17, 2024, 06:15:09 pm
content: Quote from: Dude McGee on July 17, 2024, 10:55:22 amNOTE : THE PDF FILE HAS BEEN UPDATEDIt can be obtained from herehttps://mega.nz/folder/A8cEgQRI#5FSoMrCurJi71T7VkRPgYQ

author: BTO
author_rank: Frequent Contributor
timestamp: July 17, 2024, 06:24:08 pm
content: Quote from: Dude McGee on July 17, 2024, 05:33:59 pmThe PDF HAS BEEN UPDATED....I have attached the updated version for you , Discard the old one.Quote- CoolQuote- You're welcome, it's not a problem, I Enjoy doing this .Quote- it's actually STEP 6, STEP 7 and STEP 8 Combined, Don't just skip to Step 8Quote- No Problem, In your own time.Quote- Cool, i hope you enjoy them, there's a lot of cool stuff there about your scope, and there's some useful electronics troubleshooting as well,Real world practical examples on how to use your scope when measuring things, Timings, Calculating inductor values and things as such.if you have any questions, Ask me !Be cool

author: BTO
author_rank: Frequent Contributor
timestamp: August 05, 2024, 12:40:10 pm
content: QUICK UPDATEPAGE 1 POST OF THIS THREAD HAS BEEN UPDATED- To Reflect The Correct CURRENT procedure for Correct Licensing of the scope- To make obsolete the "Hacking Method" that does not survive firmware upgrade - it is still useable, Just not advised- Firmware File has been upgraded to the latest 2.10b version- Firmware and instructional pdf has been added to the attachment on post 1- All outdated steps have been striked out

author: sdouble
author_rank: Frequent Contributor
timestamp: August 09, 2024, 05:54:56 am
content: I would like to thanks all of you guys for the effort you put into that work.I ordered some MSO5074s and plan to upgrade them.A stupid question though: is the router absolutely needed ? A direct ethernet connection would not work ?Best

author: BTO
author_rank: Frequent Contributor
timestamp: August 09, 2024, 06:24:48 am
content: Quote from: sdouble on August 09, 2024, 05:54:56 amQuote- You're Welcome, Much appreciatedQuote- CoolQuote- THERE ARE NO STUPID QUESTIONS....well... I mean... LOLUnless you ask then i repeat then you ask and i repeat and we do that 15timesThat would be stupidBut.... As you were LOLQuoteThis is a catch-22 question and answer.You see (Before i give you the answer)...What you're talking about required a "Cross over Cable" which works on a Peer To Peer Topology.This is basics of Networking.Now.. if you were familiar with the basics of Networking YOU WOULDN'T BE ASKING THIS QUESTION.If you were familiar with Crossover Cables and the OSI Model, this question wouldn't existSO FOR YOUFOR THE SAKE OF NOT BRICKING YOUR SCOPEFOR THE SAKE OF STUPID CRAP NOT HAPPENINGMY OFFICIAL POSITION IS............ YES FOR YOU A ROUTER IS ABSOLUTELY NECESSARYThe I.P. Address is required, Because of how the script works.INTERNET CONNECTION HOWEVER... IS NOT REQUIREDSo, to be clear, You can pull some shitty router out of the garage and all you need isROUTERPOWER SUPPLYETHERNET CABLERouter cannot be in Bridge mode (Must be in Router Mode with DHCP Enabled)But, Internet is not requiredLAN Connection is required, don't go down the WiFi RoadYou can find routers on gumtree for Free if you don't have one, but i'd be asking...How the hell are you on this forum if you don't have a router ?Hope that helps

author: sdouble
author_rank: Frequent Contributor
timestamp: August 09, 2024, 08:18:20 am
content: Dear BTO,Thanks for your thorough response.As you kindly noted, my experience with networking is limited. I frequently use high speed ethernet switches to connect various equipment (including relatively fast digitizers), but clearly, network technology is far from my area of expertise (which is primarily experimental nuclear physics).Is it a problem if I don't have a internet connection ?Don't jump on me, just kidding.I mentioned that fact that i'll be getting MSO5074s very soon. Actually I'll get a set of 4 with the current option bundle at work.Big lab, no available router there. Or, to be more precise, not allowed to connect to any of the routers there.I may bring a router from home for the very purpose of upgrading the scopes though.

author: BTO
author_rank: Frequent Contributor
timestamp: August 09, 2024, 01:43:08 pm
content: Quote from: sdouble on August 09, 2024, 08:18:20 amQuote- You're WelcomeQuote- Indeed, and i assure you the comment was made with all the best intentionsQuote- Fair enough, we all start somewhereQuote- Soooo.... You're saying..... You don't really have that much experienceQuote- if it's a question pertaining to activating your scope......NO PROBLEM AT ALL, NOT IN THE SLIGHTESTQuote- I was going to applaud you for learningQuote- OK, AND... OSCILLOSCOPES ARE NOT ALLLOWED TO BE HACKED...........................................WHAT'S YOUR POINT2. If you merely connect to the ethernet port , WHO'S GONNA KNOW and... What if you do , You literally need to be connected for 2 - 5minsIf i were you, i'd connect and upgrade it like you stole it3. if you must wimp out and "FOLLOW THE ROOLZ" then... Yes you can bring a router from home,After all it just needs power and ethernet cable. No internet required.

author: sdouble
author_rank: Frequent Contributor
timestamp: August 09, 2024, 01:58:41 pm
content: Quote from: BTO on August 09, 2024, 01:43:08 pm==>>I would love to be less "experienced"Quote==>> Yep, being in the grey zone I guess....Quote==>> I caught you being very wrong here. I would not do that knowing , that I don't want to be fired within hours... My lab is pretty closed...Quote==>> No internet required, for sure

author: BTO
author_rank: Frequent Contributor
timestamp: August 10, 2024, 12:35:18 am
content: Quote from: sdouble on August 09, 2024, 01:58:41 pmQuoteI Understand what you meanQuoteFair enoughQuoteahh yes, the corporate grip on the employee LOLYou gotta love the world we live in don't ya

author: Ralfyny
author_rank: Newbie
timestamp: October 12, 2024, 12:02:22 pm
content: MSO5074, Worked like a charm, initially started with the network / python version. Then opened up the PDF, took about 20 minutes after that. Used a 2Gb thumb drive from 12 years ago. In the end works perfectly… almost no computer skills required…Date 10/12/2024

author: el314
author_rank: Newbie
timestamp: October 13, 2024, 05:18:27 am
content: Hello,I don't understand where lies the problem.My python setup is ok, all the modules are ok as well.I'm on the MacOS Swquoia 15.0py --versionPython 3.11.2-hargument works well, but the-idoesn'tI have problems running the script:py Rigol_MSO_LicensingUtility_2.10b.py –i 192.168.1.89usage: Rigol_MSO_LicensingUtility_2.10b.py [-h] [-d] (-i | -e | -r | -a | -f | -p | -u | --reboot | --cfram-file rigol_fram_XXXXXXXXXXXX.data) [-k {1,2}] [-m MSO5074] [-s MS5A123456789] [-o AUTO,AERO,AUDIO][--sys-vendor-file rigol_vendor_XXXXXXXXXXXX.data] [--no-reboot] [--with-config] [--no-color]ip_addrRigol_MSO_LicensingUtility_2.10b.py: error: one of the arguments -i/--info -e/--ssh -r/--regen -a/--activate -f/--save-fram -p/--save-pk -u/--uninstall --reboot --cfram-file is required

author: serguletti
author_rank: Newbie
timestamp: October 22, 2024, 05:51:00 pm
content: Hello!Thank you for your work. Successfully updated my MSO5072 according to your instructions. Used the PyCharm terminal on MacOS with downgraded to V 1.3.2.2 and updated to V 1.3.3.0. I can't find what is included in self test ( 3 test ) ? Is this Key, Screen, Touch test? Thanks again.

author: BTO
author_rank: Frequent Contributor
timestamp: October 29, 2024, 04:08:34 pm
content: Quote from: serguletti on October 22, 2024, 05:51:00 pmCorrect, the 3 tests are Key tests, Screen Colours, Touch Testand do a self calibration

author: BTO
author_rank: Frequent Contributor
timestamp: October 29, 2024, 04:11:49 pm
content: Quote from: el314 on October 13, 2024, 05:18:27 amIf you are not successfully executing the -i switch then you have a networking issue.Mac is notorious for security and blocking thingsif you can't -i then it's likely it won't activate eitheri would suggest checking the security features of your mac and the network as something is blocking the python programdid you also install python as per the instructions i gave in the pdf or did you already have it installed ?

author: rteodor
author_rank: Frequent Contributor
timestamp: October 29, 2024, 04:18:37 pm
content: Quote from: BTO on October 29, 2024, 04:11:49 pmThe problem is that the "minus" sign is not realy minus but a Uicode char. Just replace it.

author: BTO
author_rank: Frequent Contributor
timestamp: October 29, 2024, 11:16:39 pm
content: Quote from: rteodor on October 29, 2024, 04:18:37 pmOK, if you want to do that thenthe problem is that the Unicode char is not really a Unicode Char but a sequence of electrical impulses turning on or offThe switch doesn't need to be changed, it has been tested and worked for hundreds of people thus far.There is a problem on your end , which is why you can't even bring up the information tableas i said... Mac is notorious for blocking things as a result of it's securityand also i would check the networking.Did you follow the instructions in the pdf or not ?

author: rteodor
author_rank: Frequent Contributor
timestamp: October 30, 2024, 06:53:08 am
content: I mean the problem is in el314 command and not in the script. "–i" is not the same as "-i" even if some fonts make it look the same.I won't look up what unicode chars are each. Its not worth that effort.

author: BTO
author_rank: Frequent Contributor
timestamp: October 30, 2024, 01:15:20 pm
content: Quote from: rteodor on October 30, 2024, 06:53:08 amI didn't ask you to look all that up, But i still don't understand your problem1. What is el3142. if the problem is in this el314 thing and not in the script then.. that's good3. You're simply just supposed toInstall PythonGet the scriptOpen a terminalCall the python interpreter to run the scriptwhat part of this are you not doing ?

author: Kean
author_rank: Unknown
timestamp: October 30, 2024, 01:26:44 pm
content: I copied and pasted the "-i" text from the error posted by user el314 into a text editor, and looked at it in hex viewA minus sign is 0x2D in ASCIIThe long-dash/hyphen in the command/error posted by el314 is utf-8 0xE28093 - this is a unicode en-dashhttps://decodeunicode.org/en/u+2013Thus it is not properly recognised by python command parsingThis is a common issue when copy/pasting command lines from a word processing document (or PDF created from one) as the word processor "helpfully" converts to nice unicode symbols.Other than minus/hyphen symbols, it often also happens to double quotes - changing to unicode opening and closing quotes.BTO, you need to spend more time reading/comprehending posts and less time replying. Please... as you are someone who talks about others disrespect...

author: BTO
author_rank: Frequent Contributor
timestamp: October 31, 2024, 12:01:13 am
content: Quote from: Kean on October 30, 2024, 01:26:44 pmOk mate1. thanks for clarifying that el314 is a user on the forum2. so the beginner doesn't know , then, if he is copying and pasting from a word doc that they need to copy and paste that into a text documentto remove the formatting that word docs add. OK3. At the end of the day ... HUNDREDS of people have activated and unlocked their scopes, Experts, Beginners , all of them. Not 1 has had this problem.so we need to ask, what is this user doing different that everyone else did not do ?Also if the problem is with copy and paste, why then don't they just enter the command manually.it's still unclear why this issue is happening with this user, I mean, i want to help this person but they are not being clear,i asked them did they follow the PDF i supplied, that was asked twice, i still have no received an answer to that question so that i could then ask themat what step they stuffed up at.This isn't rocket science mate, They just need a terminal and python and to enter the command and run the script.so why is it happening to this one user and not everyone else, do you think ?as for the rest of your advice, i'll take it onboard, but sometimes (just as you are busy with work) I don't have a lot of time to read through all the comments,sometimes i grab a coffee and do have the time and other times i can only respond quickly. the last few times were a quick response.but again, it's just the running of a script. why are they struggling with it ?so the question at the end of the day is... HOW DO WE GET THIS BEGINNER USER ACTIVATED ?What are your thoughts ?i'm thinking they should try and jump on another computer, Possibly a windows based system and just use cmd or powershelleven though people have activated via Mac, they tend to have issues, but they did get there in the end.But this guy is having an issue that no one else had.what are your thoughts ?

author: Kean
author_rank: Unknown
timestamp: October 31, 2024, 10:48:56 pm
content: Quote from: BTO on October 31, 2024, 12:01:13 amThe problem is that it is visually hard to spot, and the programs/scripts don't give helpful errors when parsing unicode parameters.I haven't checked, but I suspect this (unicode paste) may be more of an issue on Linux and Mac terminal than Windows command line.I know I've seen this issue on Linux when writing up documents with step-by-step instructions for clients. I make an effort to revert any changes that Word makes to quote and hyphen symbols so that copy/paste still works.Edit to add: Also, for short commands not everyone will use copy & paste. And I suspect some users when they get an error, will try again by manually retyping the command, not knowing about command history.

author: BTO
author_rank: Frequent Contributor
timestamp: November 01, 2024, 12:33:56 am
content: Quote from: Kean on October 31, 2024, 10:48:56 pmQuote- OK so it appears to be a thing with Terminal. I suspected it had to be something like that. Although other mac users have not had the same issue.I guess.. is there another terminal they could download and use in place of Terminal, Perhaps if they used a windows based terminal in Wine or something.I know wine isn't the most reliable thing but hey if it'll get past this step perhaps it's a viable option.Quote- I make an effort whenever copying things from word to put it in a text editor like Notepad or Notepad++ before pastingQuote- I Agree

author: BTO
author_rank: Frequent Contributor
timestamp: November 01, 2024, 12:35:53 am
content: Quote from: rteodor on October 30, 2024, 06:53:08 amHi mate, so if the problem is Mac TerminalAre you able to jump onto a windows system just for the sake of activating your scopeor.. Perhaps are you able to utilize Wine or another terminal, At the end of the day we just need to get past this command don't we ?If you can issue the command correctly then your scope will be activatedwhat are your thoughts on this?

author: rteodor
author_rank: Frequent Contributor
timestamp: November 01, 2024, 08:59:20 am
content: Quote from: BTO on November 01, 2024, 12:33:56 amThe user el314 might have copied the command from your pdf, page 14 step 13.There is a simple fix for this but it requires discipline from the documentation producer:use a proper font/text style for commands and code snippets.MS Word 2010 that produced that pdf has, if I remember correctly, such style already definedwith a monospace font. It is practical and aesthetically pleasing and avoids that dreaded"helpful flufishness"entirely.As for me I am not unlocking any scope. Just noticed the error in a moment of procrastination.

author: BTO
author_rank: Frequent Contributor
timestamp: November 01, 2024, 11:12:20 am
content: Quote from: rteodor on November 01, 2024, 08:59:20 amQuoteOH, okQuoteFair enough.. In saying that... Many other users have likely done the same thing and had no issues.QuoteFair enough, i'll have a look at that and redo it

author: Kean
author_rank: Unknown
timestamp: November 02, 2024, 10:48:47 am
content: Quote from: BTO on November 01, 2024, 12:33:56 amThis isn't really a workable solution as even simple text editors these days support (and generally default to) Unicode. You often have to go out of your way to get plain ASCII, and this can result in data loss as most Unicode symbols have no ASCII equivalent.FYI, I originally copied and pasted the bad command line posted earlier into Visual Studio Code on Win10 and saved it as a text file. I could then see the character data as Unicode in hex view, which I posted above.Just now, I did the same on my Mac using textEdit - the native text editor app on MacOS. By default it saves in RTF format, but I changed preferences to use plain text. I then confirmed that it also saved that hyphen/en-dash as Unicode by using the Hex Fiend app. For some reason Visual Studio Code on Mac isn't displaying anything for me in Hex Editor view. I can of course also see the hex data using od or xxd command line tools.As far as I know there is no Notepad++ for Mac. The equivalent was probably TextWrangler, now replaced by BBEdit, but I don't have those as I have standardized to VS Code across all my machines these days.

author: BTO
author_rank: Frequent Contributor
timestamp: November 02, 2024, 12:32:38 pm
content: Quote from: Kean on November 02, 2024, 10:48:47 amQuote- Well, putting all scope activation matters aside.I work on Linux (Zorin and Parrot) as well as Windows (7, 10, 11).I rarely jump on Mac but i do have one but the wife uses it more than i do.Now in the past whenever i've had to remove formatting i always threw it in notepad or notepad++ and it has ALWAYS Worked, Without Fail !I've never personally had that problem with Mac, then again i haven't done a majority of coding in Mac only Windows and Linux really.Quote- You're Correct... To my knowledge Notepad++ doesn't support Mac, although.. How hard is it really to find a text editor or source code editor ?If Mac users are having these issues they can just throw the code into a text editor then copy it out of it can't they.I can also (if it'll work) Create a Notepad document with the raw codes needed without the formattingNB. The formatting was put there in the first place (since you mentioned it earlier) to "Newbie Proof" the process so they don't brick their scopes or get confused as to what code to use. That's why i edited the text and colourized it.So Instead of me changing the original document i suppose they have these 3 options1. Copy it as is from the document and likely in most cases it will work2. If it doesn't, Type it in Manually3. I could make a text document and put a reference to it in the pdf and the txt document on the cloud so they can copy straight out of itThis also doesn't seem like it's a big problem1. I've only heard of it happening once (now) over hundreds of successful activations2. I mean... They can type it in manually can't they ? and it'll work3. In any case, it's going to be occurring in a very very small number of cases so couldn't i then handle that on a case by case basisBut hey, i'm willing to put in a bit of effort if it'll help people, So far the PDF has been successful with many many activations so on those groundsi'm inclined to keep it as is.As i said, Maybe i could include a .txt doc What do you think ?

author: clefranc
author_rank: Newbie
timestamp: November 08, 2024, 07:00:02 pm
content: Hi,Thanks a lot for the easy patch! I really appreciate it—I couldn’t afford all those options on my Rigol.I did run into a small issue when using the script. After manually installing Python on my Windows 11 system, the "python" command wasn't recognized; only "py" was. Since the script uses "python" as the command, I resolved this by adding the following PowerShell alias so both "py" and "python" would work:Code:Set-Alias -Name python -Value pyAlternatively, installing Python from the Microsoft Store ensures "python" is recognized right away (who knew!).

author: Kangfu
author_rank: Newbie
timestamp: November 12, 2024, 01:34:29 pm
content: Hi all,first of all thank you for the great effort and tutorials on the MSO Series.I just wanted to info about a fix I did for me in the python script, sorry if this was already covered and I didn't read the correct page.I had to exchange the Regex from:#SERIAL_PAT = re.compile(rb'RIGOL TECHNOLOGIES\$(.+?)\$(.+?)\$(.+?)\n\$(.+?)\$(.+?)\$(.+?)\$(.+?)$')to this:SERIAL_PAT = re.compile(rb'RIGOL TECHNOLOGIES\$(.+?)\$(.+?)\$(.+?)\n\$(.+?)\$(.+?)\n\$(.+?)\$(.+?)$')as there was a second new line in my response instead of a $, i have 4 times 3 digit ip adress.so maybe these new lines can happen on different systems depending on string size?So here is a general new Regex with matching $ or Newline and not interfering with the group numbersSERIAL_PAT = re.compile(rb'RIGOL TECHNOLOGIES(?:\n|\$)(.+?)(?:\n|\$)(.+?)(?:\n|\$)(.+?)(?:\n|\$)(?:\n|\$)(.+?)(?:\n|\$)(.+?)(?:\n|\$)(?:\n|\$)(.+?)(?:\n|\$)(.+?)$')best regards and thanks again!

author: andser
author_rank: Newbie
timestamp: November 16, 2024, 02:47:57 pm
content: Hi, BTO!Thanks a lot for your great work!I've successfully licenced my MSO5074.One little question. Is it required to update my scope to the latest version 1.3.3.0 or I can stay at 1.3.2.2?Thanks

author: BTO
author_rank: Frequent Contributor
timestamp: November 16, 2024, 08:47:47 pm
content: Quote from: Kangfu on November 12, 2024, 01:34:29 pmThanks for that, i'll have a look at it over the next few days

author: BTO
author_rank: Frequent Contributor
timestamp: November 16, 2024, 08:50:14 pm
content: Quote from: andser on November 16, 2024, 02:47:57 pmAssuming you used the latest licensing Method script and not the Patch method.NO. it's not strictly necessary to upgrade to the latest firmware version, Although it is recommended.You can stay on 1.3.2.2 if you like.Hell you can even stay on 1.3.1.1 if you like. it's up to you. But i do recommend keeping up with the latest versionAlso understand..... Regarding VNC Viewer , it isn't supported on versions below 1.3.2.2 i'm pretty sure on 2.2 is it , and i know it definitely is on 1.3.3.3.0so keep that in mind as well

author: andser
author_rank: Newbie
timestamp: November 17, 2024, 05:55:35 am
content: And if I stay at 1.3.2.2 (which was installed at the factory), use licensing method, should i recalibrate the scope after all?

author: BTO
author_rank: Frequent Contributor
timestamp: November 17, 2024, 09:56:21 am
content: Quote from: andser on November 17, 2024, 05:55:35 am1. You can stay on whichever version you like if you used the Licensing Method to activate your options on your scope.2. Regardless of which version you choose to stay on IT IS HIGHLY RECOMMENDED......AFTER EACH VERSION CHANGE that you run the followingSELF CALIBRATIONSELF TEST (this consists of 3 tests)However of all of them the Calibration is the most important, Now it's not like your scope will blow up if you don't run a self caland it's not like your readings will be incorrect necessarilybut .. there are reasons why we follow these procedures, and you as a beginner should make it good practice to follow them until you understandwhen and where you don't need to.so YES, YOU SHOULD RUN A SELF CALIBRATION after the upgrade

author: 65roadster
author_rank: Contributor
timestamp: December 23, 2024, 06:33:46 pm
content: Thanks for the diligent and ongoing work on this!I have carefully followed the PDF instructions but am hung up on Step 15, a screen shot is attached. ```No connection could be made because the target machine actively refuses it.```I verified that my scope has a proper IP address via DHCP (192.168.1.10). The subnet is correct (255.255.255.0). The default gateway is correct (192.168.1.1). The subnet and gateway match the results of 'ipconfig' on my windows PC.The scope pings (ping -t 192.168.1.10) with 1ms response.MSO5074Scope firmware 1.3.3.0.Python version 3.13.1Windows PC IP address is 192.168.1.17, subnet 255.255.255.0, default gateway 192.168.1.1.The scope and Windows PC are both connected via wired ethernet through a TP-Link access point.Any help is appreciated!Edit: webcontrol and Ultrasigma also do not work. Webcontrol just reports problem loading page and Ultra Sigma can't find the device by IP Address or by searching. This does not appear to be an issue related to the upgrade/hack process, but something I can't figure out on the scope itself. "Online Upgrade" and "option install" menu items on the scope are also greyed out.Edit: I tried resetting to factory defaults by pressing "single" several times at power-up. This didn't resolve connections via Ultra Sigma, web control, or the Python script.

author: 65roadster
author_rank: Contributor
timestamp: December 24, 2024, 05:50:41 am
content: Problem is solved. The IP address my scope showed on the screen was actually assigned to another device on my network. My scope is configured for DHCP, auto IP, not static IP, and showed being connected to the network. I'll go debug that.In the meantime, the hacked upgrade worked like a charm. Thanks to all who have contributed!

author: BTO
author_rank: Frequent Contributor
timestamp: December 24, 2024, 04:25:27 pm
content: Quote from: 65roadster on December 24, 2024, 05:50:41 amsorry for the late replyI realize you already solved it. but i was gonna say- Try Pinging the scope from your command shell first (that should always be common practice before you even post.Example : My scope works with VNC to my Electronics computer without issue and has been doing so for a long time.today i went to do a tutorial video for someone and all of a sudden , i go to open VNC Viewer and it's taken way too long to load then times out.Ultimately.. The plastic Mod 5 Connector on the end of the cable had come out of the port JUST A SMIDGE.Now the first thing i did was.... Ping the bloody scope. and i could not. Once you can't ping something you go back to Basic Troubleshooting... OSI MODEL Level troubleshooting.so..... LAYER 1 - Physical Layer , is anything broken etc etc (My problem was a layer 1 Problem)LAYER 2 - MAC Addresses , Figure out what you're network devices are doing and if they are functioning correcvtlyLAYER 3 - IP ADDRESSES (Your problem was a Layer 3 Problem)Usually you'll most commonly troubleshoot these 3 layers. sometimes (Especially in TP Link) the router can trip you upCHECK EASY MESH Settings (Best to Disable Easy Mesh)Also disable QOS (Quality of Service)Then you have FirewallsIn your case, You had an I.P. Address Conflict, now we need to ask WHYSince your SCOPE was on DHCP and AUTO IP then your scope is not the issueNow ask...Is your Router setup for DHCP or STATIC IP ?is the other device that shared the scopes I.P. Address STATIC of DHCPFor the most part , your network should be DHCP with the possible excption of your printera Printer I.P. Address is commonly 40 or 80 so 192.168.1.40 or 192.168.1.80 is the I.T. Accepted convention and if you have multiple printers you identify them as 40, 41 , 42 etc or 80,81,82 etcin any case, You got it done... WELL DONE.. GOOD WORKKeep those troubleshooting points in mind though.

author: Gerhan
author_rank: Contributor
timestamp: January 03, 2025, 04:50:10 pm
content: I would like to extend my sincere thanks to BVO for their clear and structured process in hacking the MSO5100. The video tutorial was detailed and thorough, allowing me to understand all aspects of the MSO5000 series. A month ago, I successfully updated my MSO5000, and today, I purchased a DP932U and hacked it to a DP932A. I am currently focused on acquiring a RIGOL spectrometer. I highly recommend the MSO5000 for its powerful logic analyzer – an excellent product that continues to impress.

author: nephilim
author_rank: Newbie
timestamp: January 03, 2025, 07:18:42 pm
content: Many thanks from my side, too! Got my 5074 today and with the pdf and scripts it was a breeze to unlock all the goodies. FYI, no problem here with a 4x3 digit IP.

author: BTO
author_rank: Frequent Contributor
timestamp: January 04, 2025, 01:02:22 am
content: Quote from: Gerhan on January 03, 2025, 04:50:10 pmThanks Mate, Appreciate itit's not all my doing actuallyThe title of this thread Dr Mefisto is largely to be thanked, as well as TV84 , ASP and many others.I'm just the one that helps people run the script and troubleshootit's me that you see and hear the most of , The other guys are hidden away in middle earth at the centre of the earth working on projects to Hack the PlanetThey are Night dwellers, The Nightbreed that only come out when they need to feed or gather information or pull down an unsuspecting victimthat they need to feed on LMFAOBut... YOU'RE WELCOMEand Glad you got your scope unlocked

author: BTO
author_rank: Frequent Contributor
timestamp: January 04, 2025, 01:03:10 am
content: Quote from: nephilim on January 03, 2025, 07:18:42 pmYou're very welcome mateDid you also check out the deep dive video series (since you're a newbie)

author: nephilim
author_rank: Newbie
timestamp: January 04, 2025, 02:32:07 pm
content: Quote from: BTO on January 04, 2025, 01:03:10 amYes - I started watching them already. Looking forward to exploring the scope! Many thanks for recording and sharing these!

author: BTO
author_rank: Frequent Contributor
timestamp: January 05, 2025, 03:29:31 am
content: Quote from: nephilim on January 04, 2025, 02:32:07 pmYou're WelcomeI'm glad you took a look at itThe one specific reason why i made those videos is so that beginners can get beyond the basics of- Adjust time Base- Adjust Amplitude Base- Measure a Battery voltage- Hook scope up to a blinking LEDThis gets boring very quickly and doesn't help anyone learn much.But now if you get into it a bit further , at least.. knowing how to use Cursors to measure.that can then take you much furtherand then you have a whole slew of tricks you learnthen Math Functions and triggersOnce you learn this YOUR SCOPE BECOMES FUN and you learn so so so muchthat was the main purpose of the video series. to get beginners out of the beginner phase.so i'm glad you saw it

author: Gerhan
author_rank: Contributor
timestamp: January 06, 2025, 08:05:29 pm
content: BVO,I trust your recommendations and have high confidence in them. I'm relatively new to spectrometers and was wondering – do you offer sessions on Rigol spectrometers? I’d love to find a tutorial for the RSA3000, along with some quality hacks. 😄 Would you agree that’s not too much to ask? :

author: LinuxGuy123
author_rank: Regular Contributor
timestamp: January 22, 2025, 11:10:41 pm
content: The build date on my scope is 2020-05-18.The "Firmware Reversion" string on my scope is 00.01.03.00.01. Does this mean it is running 1.3.00.01 ? Is that a safe version to start the process outlined on page 1 from ?

author: BTO
author_rank: Frequent Contributor
timestamp: January 22, 2025, 11:18:42 pm
content: Quote from: LinuxGuy123 on January 22, 2025, 11:10:41 pm00.01.03.00.01 is the full expanded format that rigol uses,1.3.0.1 is the exact same thing written in short format.Yes it's safe for you to start the upgrade process from that versionGood luck with it, don't worry about it, it's easy.Let me know when you've done it successfully

author: LinuxGuy123
author_rank: Regular Contributor
timestamp: January 23, 2025, 12:24:44 am
content: Done. Success.I used the patch method as outlined in the MSO5000 UPGRADE INSTRUCTIONS.docx document in the UPGRADING TO 350MHz (1.3.3.0) folder (archive) in the download.Thanks.

author: BTO
author_rank: Frequent Contributor
timestamp: January 23, 2025, 12:30:47 am
content: Quote from: LinuxGuy123 on January 23, 2025, 12:24:44 amThe Patch MethodNo, That's outdatedYou're supposed to go at the beginning of this threadBasically you'll find what you need herehttps://mega.nz/folder/A8cEgQRI#5FSoMrCurJi71T7VkRPgYQYou're supposed to use the Licensing Method as the patch method doesn't survivie future firmware upgradesbut the licensing method does

author: LinuxGuy123
author_rank: Regular Contributor
timestamp: January 23, 2025, 02:56:46 am
content: I was in a hurry. Next time.

author: BTO
author_rank: Frequent Contributor
timestamp: January 23, 2025, 04:46:13 am
content: Quote from: LinuxGuy123 on January 23, 2025, 02:56:46 amit takes roughly the same amount of time to do each onebut hey... As long as you got it activated, that's what mattersso, if you're sorted and happy, i'm happy

author: lmamakos
author_rank: Contributor
timestamp: February 06, 2025, 07:54:05 pm
content: I think that I might have posted this before, perhaps in another thread? But I recently upgraded my scope to the new version and was able to use the Rigol_MSO_LicensingUtility_2.10b.py script to turn on the SSH server in the scope. I was then able to reapply a change I had made previously that some others of you might find useful. The change adds a line to a startup script on the Rigol that causes it to check for a file on a plugged in USB stick, and if present, runs the file to do stuff.What I have the file do is start an SSH server with a modified configuration file to have it not try to look up DNS names before starting the session, add an SSH key to the root user's home directory and optionally populate the root user's home directory with other files (like shell configuration, etc.) Turning off the DNS name lookup makes SSH sessions (and sftp/scp) run much, much faster!Here's what I did:First, start an SSH server on the rigol scope using theRigol_MSO_LicensingUtility_2.10b.pyscript that you might already have around like this:python Rigol_MSO_LicensingUtility_2.10b.py -e 10.200.5.3of course, replace that IP address with whatever yours happens to be. Then you need to ssh into the scope:ssh root@10.200.5.3This is from a UNIX shell; use whatever python command and SSH client you happen to have if you're using Windoze. I don't do Windows myself, so have no specific advice to offer here. Note that there will be a delay as the SSH server is trying to lookup the host name for the IP address that just connected to it. Eventually you will get a password prompt. The password for the root user isRigol201(at least on my MSO5xxx scope). You should then see a shell prompt like<root@rigol>At that point, you can do these commands at the Rigol's shell prompt. Making a backup of the start.sh file is if you fumble the next command.Note that theechocommand has TWO>>characters for the shell redirection to append to the end of thestart.shfile. If you only use one, you'll replace the file which would be bad.If you did mistype that, then you can copy back the backup file.cd /rigol/shellcp start.sh start.sh.0echo "[ -f /media/sda1/init/init.sh ] && sh /media/sda1/init/init" >>start.shcat start.shthe last thing we do is print out the file; you should see a bunch of stuff, with that one line appended to the end. If you don't, then copy back the backup file before restarting the scope. You could do that with a command likecp start.sh.0 start.shto restore.This is the extent of changes on the scope.Now, get your USB stick, and at the top directory on the USB stick, create a directory calledinitand then put the attached file,init.shinside that directory. Then you can put a file calledauthorized_keysin that directory as well which should contain one or more SSH public keys of yours in there. On a UNIX-like system, this would be a copy of something like.ssh/id_rsa.pubor a number of public key files concatenated together if you've more than one SSH identity you commonly use.I had to add a.txtextension to the file to attach it to his post, but it must be namedinit/init.shon the USB stick, so make sure when you copy it to the USB stick, that's what its named. You can of course modify that init.sh file to do other stuff.. just make sure that the script exits so that Rigol's start-up script continues and the scope start-up process in general completes. Note that if you screw-up the init.sh file modifications, you can just unplug the USB stick. You just need to make sure that one line appended to the/rigol/shell/start.shis correctly added at the end, and the original contents of the start.sh file is intact.Now, put the USB stick in the scope and power-cycle it. If it was correctly set up, you should hear another set of 4 beeps while the scope boots.I've found having the SSH server turned on (and with the DNS lookup disabled) handy for using sftp or scp to copy screenshots, etc. off the scope, rather than having to move the USB stick to my computer. It's not likely that this modification will survive any firmware upgrades; but all you need to do is the first bit to append that one line to the start.sh file after subsequent upgrades. Enjoy.

author: BTO
author_rank: Frequent Contributor
timestamp: February 07, 2025, 01:03:38 am
content: Thanks for that,I'll have a look at it later as i have a lot of things going on right now.But, appreciate the effort, THANK YOU

author: robiom
author_rank: Newbie
timestamp: February 09, 2025, 03:57:19 pm
content: Quote from: BTO on April 28, 2024, 01:42:28 pmMany thanks for all the hard work and effort for providing this "licensing method".Yesterday I attempted to license my MSO5074 and to be honest, it didn't go as smoothly as I hoped.I started by updating to 1.3.2.2 from a very old version that I had patched. After finding all the missing modules for python I successfully connected to the 'scope and received the information screen. I then used the -u switch to uninstall the patched options and the display was refreshed with all the options gone. So far so good.Then the problems began. Upon rebooting the 'scope acquired a new IP address and that caused me many problems trying to get the information screen back .... even though I was able to ping both the 'scope and the laptop,Finally I was able to reconnect and successfully used the -r switch BUT after it had read CFRAM and then writing CFRAM successfully the 'scope rebooted and again the 'scope acquired another IP address so the "activation process" failed to connect to the 'scope and carry out activating the options.I checked and the priv.pem file had been produced so after entering the correct IP address and using the -a switch .....SUCCESS. The script didn't read and write the CFRAM because it had already produced the priv.pem and so the 'scope didn't reboot causing the IP problems.It might be worth adding that the 'scope reboots and may change the IP address causing the -a switch part of the -r switch routine would fail.I was worried the -a switch would again cause the CFRAM reading/writing and the 'scope to reboot leaving me in exactly the same trouble. Thankfully that was not the case.Once again a big thank you for all your hard work and efforts.Rob

author: BTO
author_rank: Frequent Contributor
timestamp: February 09, 2025, 05:18:23 pm
content: Quote from: robiom on February 09, 2025, 03:57:19 pm1. Glad to hear that your scope is now properly licensed2.QuoteAnd... that's not going to be the case because we have put in fail safes so the scope doesn't get bricked.3.QuoteI believe i have already added that the scope reboots on it's own.off Memory i think we did this in version 8 or something like that, Where the -r Reboot became Automatic, so that people weren't left staring at the scopewondering should they reboot it or not.As for the I.P. Address thing. Honestly....Out of HUNDREDS i think you're the first to mention that problem.so i would chance a guess to say , that's an issue with your P.C. , Router or Scope Settings.have you checked if your P.C. (Assuming it's windows) Network is not by chance set to PUBLIC Network ?in any case, it doesn't matter now.and you are correct.. there is the off chance that it happens to someone else...BUT AGAIN.. that's why we have the failsafes. so .. it is rare to occur, but IF it did occur, it's still not a problem anyway.Enjoy your scopeand check out the videos that i posted for beginners to understand their scopesEnjoy, Be Cool

author: bajticzek
author_rank: Newbie
timestamp: February 11, 2025, 11:44:44 am
content: Quote from: BTO on April 27, 2024, 06:38:51 pmHello, today I tried to do the upgrade and unlock all options. Well I guess I bricked my scope.It's Rigol MSO5104 and it was on firmware 00.01.03.00.03 with no Options installed. I downloaded all files from the mega source, prepared my usb stick, prepared the ethernet connection between laptop and scope (it is not really needed thanks to the patch, or is it?). I then unpacked all files from archive "UPGRADING TO 350MHz (1.3.3.0).zip" and did both the memory and NAND backups. Then I had to upgrade the scope to version 00.01.03.03.00 which I did. Take note that I always safely unplugged the flash drive so the filesystem didn't corrupt. I proceeded to do the upgrade, it asked me to power off my scope (as it did in both the previous backup steps) so I did. After powering back on I was greeted with the Rigol logo and loading bar. The bar reached the end and stayed there. I waited 5 minutes, 5 more minutes, 10 more minutes... It was an hour in total so I powered off the scope. Powering it back on - the same story.Now what to do with it? If I enter the preboot menu (pressing "Single" button repeatedly) I then cannot select either Upgrade Firmware or Restore Defaults option. The buttons do nothing, touch does not work either.What can I do now?EDIT:After powering the scope down, letting it rest for ~1 hour and then entering the preboot menu I was able to Restore Defaults by pressing corresponding hardware button. It worked without an issue. I have no idea why I couldn't proceed before. Then, after resetting to defaults, the scope booted successfully. I then installed the patch - again via usb - and now the scope is fully unlocked.

author: robiom
author_rank: Newbie
timestamp: February 11, 2025, 09:25:29 pm
content: So, I've just read your latest pdf instruction brochure and yes, you do mention after the -r switch the scope reboots after a load of licenses are attempted to be applied. My scope rebooted before the licenses were applied and when the scope restarted it had a different IP address. All the time the python script is saying "waiting for the scope to reboot and connect" which of course it never could as the IP address had changed.It might have been just me with the IP address changing problem but after I exited the script and got the new IP address and checked the state of the options (-i switch) there were none activated so I ran the script again with the -a switch and then I saw all the licenses being applied.Again the scope rebooted and hey presto ... everything is licensed FOREVER!Great work on the script and instructions, a real great piece of work.Rob

author: BTO
author_rank: Frequent Contributor
timestamp: February 12, 2025, 12:59:06 am
content: Quote from: bajticzek on February 11, 2025, 11:44:44 amYou're not supposed to install THE PATCHThe patch method is outdated, it is YEARS oldYou're supposed to use THE CORRECT LICENSING METHODi can tell that you did it incorrectly because you said, the scope asked you to restart and YOU restarted.in the new method, the scope restarts itselfWhere did you get the link from ?

author: BTO
author_rank: Frequent Contributor
timestamp: February 12, 2025, 01:01:13 am
content: Quote from: robiom on February 11, 2025, 09:25:29 pmTHANK YOUNo No, that's normal.Depending on which version of script you used, there was a time when ...First try (with everyone) it didn't license, it showed that the license was not appliedthen.. Second try and it IT WORKSthat happened with everyone.so.. what you did was perfectly normal.Congratulations

author: BTO
author_rank: Frequent Contributor
timestamp: February 12, 2025, 01:11:49 am
content: All you were supposed to do was this..1. You don't need to upgrade and downgrade and all that anymore..2. Just go the linkhttps://mega.nz/folder/A8cEgQRI#5FSoMrCurJi71T7VkRPgYQ3. You need the PDFthe 2.10b scriptthe 1.3.3.0 zip file4. with the zip fileYou do the backup stage Stage 1You get the GEL file from (Stage 2)You skip Stage 3, You don't do patchingJust follow the PDFso do it again, But this time to remove the patch, use the uninstall switchStart with the scope not licensed and do it again Using the Licensing MethodDON'T DO THE PATCH METHOD

author: overheater
author_rank: Newbie
timestamp: February 26, 2025, 01:09:14 pm
content: Hello,I got my Rigol MSO5074 yesterday. Unfortunately it is an older one with hardware version 01.01.000. The firmware was older too and I updated to 00.01.03.03.00 from the Rigol site. Have I to fear any issues when doing the licensing method because of this oldness?Is your version of the 01.03.03.00 file a special one, or is it equal with the Rigol one? So, have I to flash your one instead?Btw: Price of this new scope was 680 € in Germany including shipping - excl. vat.are there differences between this hardware and newer ones?

author: overheater
author_rank: Newbie
timestamp: February 26, 2025, 08:09:59 pm
content: another question: is it equal, which version of Python for install?The newest one or is a special version necessary for this script?I think about Arduino...... there sometimes it wasn't equal at all......

author: mwb1100
author_rank: Frequent Contributor
timestamp: February 26, 2025, 08:16:38 pm
content: Quote from: overheater on February 26, 2025, 01:09:14 pmI believe that is the latest hardware version (though from 5 years or more ago). It has fixes for an LCD brightness issue and a change to reduce fan noise.

author: overheater
author_rank: Newbie
timestamp: February 26, 2025, 08:21:47 pm
content: You make me happy! I thought it is an old version because of the price.

author: BTO
author_rank: Frequent Contributor
timestamp: February 26, 2025, 11:59:55 pm
content: Quote from: overheater on February 26, 2025, 08:21:47 pmNo.. THE MSO5000 Hardware is the same in each scope and each version.it's possible that the seller of your scope thought it was old.... BUT I'TS NOTYou just need to update the firmware and that's it.if it passes Calibration and the self tests. it's probably still fineI have a DS2000A that .. i think is close to 15 years old now. still going strong

author: overheater
author_rank: Newbie
timestamp: February 27, 2025, 11:34:47 am
content: Nice to here this from two sides.@ BTO,to do the licence method I have two questions open:is it equal, which version of Python for install?The newest one or is 3.12.3 version necessary for this script as shown on the photo in your PDF manual?I already updated to 00.01.03.03.00 from the Rigol site. Is your version of the 01.03.03.00 file equal with the Rigol one or is it a special one?So, have I to flash your one instead?

author: BTO
author_rank: Frequent Contributor
timestamp: February 27, 2025, 12:17:06 pm
content: Quote from: overheater on February 27, 2025, 11:34:47 amOh, i see1. The version of Python that you use doesn't really matter, Although it's good practice to use the latest version.so if there is a newer version than the pdf i created, USE THE NEWER VERSION.in any case, python just runs scripts and the libraries and modules that you're going to use don't change .2.My Version of EVERY GEL FILE in the Fully Licensed method is the Original Version taken from the Official Rigol Website.it's not Modified as it doesn't need to be.For the record... if you were to download the 1.3.3.0 from Rigol yourself, it would still work.I've just included for people's convenience so that everything is in one placebut NO, there's nothing special about the GEL Files, they are completely Stock from Rigol

author: gitm
author_rank: Regular Contributor
timestamp: February 27, 2025, 07:42:40 pm
content: Can I get a clarification on if you already have the original patched GEL file/hack installed, you don’t need to downgrade the version first before running the new script? I’m understanding that all you need to do is run the script and uninstall the options before proceeding. Is that correct?

author: BTO
author_rank: Frequent Contributor
timestamp: February 27, 2025, 09:46:50 pm
content: Quote from: gitm on February 27, 2025, 07:42:40 pmWhat you're referring to was relevant around 2 years ago when we were patching the scope.We don't do that anymore, don't worry about itit starts like this..You buy a MSO 5000 and it's on a certain Firmware VersionIt no longer matters which version you are on before the upgradeand if you are on 1.3.3.0 you DO NOT need to downgrade firstThen your scope will have trial timersYou do not need to wait for them to expire, you can just go ahead and do the upgrade and run the scriptIt is advisable before upgrade to get onto the latest firmware version, but it's not mandatory.Keep in mind if you are on version 1.3.2.2 or lower you will still unlock your scope but you won't have VNC ViewerQuoteYou don't need to hack the GEL File, Just use the one that i've providedIf your scope has already been PATCHED then you need to Uninstall the Optionsbut other than thatUse the provided GEL File, Follow the PDF and just run the scriptMy suggestion is forget what you already know about this process as it seems like you are remembering old information that is no longer relevant.Just follow the PDF

author: gitm
author_rank: Regular Contributor
timestamp: February 28, 2025, 10:16:45 am
content: Maybe I wasn’t clear in my question. I already owned the scope for 2+ years and it is already hacked with the hacked GEL. I would like to replace the hacked GEL options with the version that your script provides. Do I need to install the non-hacked GEL first -or- can I run the script and just uninstall the hacked options before continuing?

author: BTO
author_rank: Frequent Contributor
timestamp: February 28, 2025, 12:48:30 pm
content: Quote from: gitm on February 28, 2025, 10:16:45 amOh Okwell1. Use the script to Uninstall the Options2. The just follow the steps in the PDF using My GEL file , which is not Modified and Rigol Officialif your scope was hacked 2+ years ago, chances are you did it with the Patched Method.We are past that, as the patch method doesn't survive firmware upgradesthis current method, once implemented, properly licenses the scope and moving forward, you can upgrade via the official GEL File from the Rigol Site.No more hacking required...EVER !!so Just uninstall the options and follow the PDF and you should be good to go

author: overheater
author_rank: Newbie
timestamp: March 02, 2025, 11:39:28 pm
content: Hello,all is done for me and all worked as described!!!!Many thanks for this script and the introduction!Writing to the Ram of the Scope did only last several seconds.....

author: BTO
author_rank: Frequent Contributor
timestamp: March 03, 2025, 04:43:12 pm
content: Quote from: overheater on March 02, 2025, 11:39:28 pmGood Job and Well DoneEnjoy your scopeand yes, we optimized the process so that it is shorter.The idea here was1. The Longer it lasts, the More people worry2. The Longer it lasts, the more probability there is that someone touches the keyboard and causes issues3. The Longer it is , The higher the probability that you get caught in a power outage and you brick your Scopeand making the write time shorter has improved a lot of things

author: eleBoy
author_rank: Newbie
timestamp: March 16, 2025, 07:47:25 am
content: Trying to use the the Dr Mefisto's method and got stuck at step 15:Code:Python Rigol_MSO_LicensingUtility_2.10b.py -i 192.168.128.101Traceback (most recent call last):File "C:\Users\xxx\Rigol_MSO_LicensingUtility_2.10b.py", line 740, in <module>main()File "C:\Users\xxx\Rigol_MSO_LicensingUtility_2.10b.py", line 629, in maink_model = model_to_license_str(model)^^^^^^^^^^^^^^^^^^^^^^^^^^^File "C:\Users\xxx\Rigol_MSO_LicensingUtility_2.10b.py", line 424, in model_to_license_strm = re.match(r'([A-Za-z]+)(\d+)([A-Za-z]*)$', model)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "C:\Program Files\Python312\Lib\re\__init__.py", line 167, in matchreturn _compile(pattern, flags).match(string)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^TypeError: expected string or bytes-like object, got 'NoneType'Brand new scope, 1.3.2.2 firmwareThe PC certainly is seeing the scope - can ping it...I believe I was following the pdf instructions very carefully...

author: BTO
author_rank: Frequent Contributor
timestamp: March 16, 2025, 08:14:56 am
content: Quote from: eleBoy on March 16, 2025, 07:47:25 amOK, i won't go into it technically as to what's happening, But basicallyYou are trying to bring up scope INFORMATION with the -i switch.that SHOULD work flawlesslyDo this first..You're on a brand new scope and your firmware is version 1.3.2.2UPGRADE IT TO 1.3.3.0 Using the file provided in the cloud (it's a legitimate Rigol upgrade file)then try to run the -i switch again and tell me if it workedI'm thinking that the new upgrade file may fix the error pertaining to the scope Model numberbut i'm also curious, before the upgrade while you are still on 1.3.2.2 can you provide a screenshot or pictureof what the scope actually shows in system information ?I'm not interested in the Serial Number, I'm interested in what is displayed for the Model Number

author: eleBoy
author_rank: Newbie
timestamp: March 16, 2025, 08:51:49 am
content: Upgraded to 1.3.3.0 - getting the same issue with the script as before

author: BTO
author_rank: Frequent Contributor
timestamp: March 16, 2025, 11:05:21 am
content: Quote from: eleBoy on March 16, 2025, 08:51:49 amHmm Interesting.Question...Re "Python Rigol_MSO_LicensingUtility_2.10b.py -i 192.168.128.101"Why is your I.P. Address 192.168.128.101 ??why isn't it 192.168.0.101 or .1.101 ??Do me a favour and check if your router Has DHCP enabled and if your scope has DHCP enabledor the other way to go around this is...If you have an old router in the garage or bedroom, Plug it in and use that and see if you get the same result.it doesn't need internet connection and doesn't need to be a new router, it can be any old piece of crap as long as it powers up and runs DHCPand has a few Ethernet Portsit looks to me like either it's a subdomain issue or a firewall within the router issue.so far i wouldn't worry about your scope being bricked. it's safe for nowbut if you can't bring up, information..... something is wrong from a network point of viewor it could be python, but i doubt itDo you have another router you can try it with ? Most times you can get routers for free from gumtree and what not.Try that an let me know how you go and let me know what the DHCP status of your scope isif needed, i'm happy to jump on skype and help you with this one on one if you likeor we can continue like this

author: eleBoy
author_rank: Newbie
timestamp: March 16, 2025, 06:08:28 pm
content: BTO, I think you should mentioned somewhere that the network setup must be as simple as possible, with all default settings - because those 3 or 4 times you said this was certainly not enough for me !))From the very beginning I took a small router from my home network to connect just one PC and the scope. but the router still had some extra settings in it. Even if everything looked fine and the ping was working, I was getting that error. After I did the router factory reset, everything worked from the very first attempt ! The key question from you was "why I'm getting that strange IP address" - after that I decided to reset the router.Thank you VERY much !

author: BTO
author_rank: Frequent Contributor
timestamp: March 17, 2025, 12:57:28 pm
content: Quote from: eleBoy on March 16, 2025, 06:08:28 pmQuoteI have already done thaton Page 4 "Step 4. "Entitled "SETTING UP THE NETWORK"I stated- There needs to be 3 basic components to your network- Your P.C.- Your Router- Your Rigol MSO5000Now this implies that your network needs to be very simple, But in case it wasn't clear. this line is followed by a line in BIG RED LETTERS that reads"DO NOT GET CREATIVE, OTHERS HAVE AND IT HAS FAILED"Followed by"The MSO5000 should be connected to your router via Ethernet Cable and your P.C. should be connected to your router via Ethernet Cable.. Like this"follow by a diagramit's as simple as simple can be.Now you need to also understand there are many other scenario'sExamples :1 . Your router that you pulled from your garage or a box could have previously been used as a Wireless Bridge and thus is still in Bridge mode and you think it doesn't work2. DHCP could be switched off for whatever reason3. it could be completely functional but configured to not accept pings and to not respond to ping or ICMP RequestsFor this reason, i didn't bother telling people to reset their routersI WOULD PREFER THAT I SEE THE PROBLEM FIRST BEFORE THEY JUST GO RESETTING THE ROUTER.as resetting the router could cause more problems.QuoteOK , so now by that we can conclude that the routers settings were screwy and not compatible to the task you were trying to perform.Basically what is advised here is a DNS Flush , Stack Reset, TCPIP Reset, release of I.P. Address, Renew I.P. Address Things like that .However defaulting the router will take care of most of that , and if you knew how to do that stuff , you wouldn't be having a problem in the first place. so in this case..Defaulting the router is the best optionCONGRATULATIONS YOU HAVE NOW A PROPERLY ACTIVATED SCOPEA few speed humps but hey... You learned a bit about networkingIn the future... if the I.P. Address of the Gateway is not one of these10.0.0.110.1.1.1192.68.0.1192.168.1.1then you should suspect that something is wrong and out of place. the last 2 octets should end with 0.1 or 1.1 for the gateway.and if you pay attention to that it'll stick out like a sore thumb next time.. Just like it did for me.OK so now1. in the future you can get update files directly from Rigol and update them as normal, they will not affect your software options and they will not delete them.2. Do a Sel Cal on your scope and Self Check and Self Test3. DO A BACKUP AGAIN.... Since your scope is now activated, Backup this good version of your scope and keep it safeThen if you like you can go through the DEEP DIVE Video files that i have put out for you guys and you can learn how to use your scope in depth.Let me know if you need the link , but i think searching MSO5000 DEEP DIVE should get you thereBe Cool , Enjoy your scopeAsk questions if you need to

author: eleBoy
author_rank: Newbie
timestamp: March 17, 2025, 07:08:25 pm
content: Quote from: BTO on March 17, 2025, 12:57:28 pmJust to be clear - it was a joke on my side- of course, you have mentioned it a number of times !By the way, I believe that only specific setting at the route was to provide IP addresses within specific network - don't understand why it prevented the scrip to run properly (especially taking into account that the scope returned pings without any issues, and it was only three devices in the network - the router, the PC and the scope). In any case, it doesn't really matter for me anymore

author: malekia
author_rank: Contributor
timestamp: March 28, 2025, 12:51:56 pm
content: I followed the excellent instructions exactly as written; with the same attention one would startup a nuclear reactor.It worked perfectly! I move that Dr. Mefisto be awarded an additional PHDAli

author: BTO
author_rank: Frequent Contributor
timestamp: March 28, 2025, 03:31:45 pm
content: Quote from: malekia on March 28, 2025, 12:51:56 pmQuoteANOTHER ONE??

author: tiivonen
author_rank: Newbie
timestamp: March 28, 2025, 07:50:02 pm
content: Received mine today (5074) and hacked it today.Worked perfectly with Mac running Sequoia. Scope doesn't seem to be too worried about the usb memory stick because the one I used was fat16!!! at the beginning and it read it just fine. Formatted with macs disk utility to fat32.Scope was initially running version 1.3.2.2. I did the backups and those went through without glitches. So did the firmware update.Scope is connected with cable but Mac is on wifi so one leg was on the dark side.Python is the macOS pre-installed one 3.12.4. Installed dependencies and went for it. No problems. Was a bit worried when scope showed "invalid license" or something like that after every activation but after it finished everything is unlocked forever.Thank You Dr. Mefisto!

author: sdouble
author_rank: Frequent Contributor
timestamp: March 29, 2025, 05:45:46 am
content: Starting a nuclear reactor takes much more time and pain.Quote from: malekia on March 28, 2025, 12:51:56 pm

author: devau
author_rank: Newbie
timestamp: April 25, 2025, 02:29:30 pm
content: Working with the PDF-Document was OK, my MSO5104 now has all options "forever", thanks!One question: The "backups" done in Steps 6-8: How and when can they be used / restored?And: It should be noted, that backup in Step 8 can last 6 to 8 minutes. Even if the progress is at 100% youhaveto wait for "completed". Otherwise the largest file named "mtd12_User.bin" will not be completely saved (size about 613 MB)!

author: jmfcst
author_rank: Newbie
timestamp: May 02, 2025, 04:50:36 pm
content: Quote from: devau on April 25, 2025, 02:29:30 pmYep, my MSO5072 was hacked successfully (Thanks to the PDF and everyone's hard work!)...and I have same question regarding backup.

author: BTO
author_rank: Frequent Contributor
timestamp: May 03, 2025, 09:27:18 am
content: Quote from: jmfcst on May 02, 2025, 04:50:36 pmOk thenEven though i have answered this question for@devauin PMi'll copy the reply here for everyone's benefitQuote

author: Jkoffman
author_rank: Newbie
timestamp: May 04, 2025, 05:09:45 pm
content: Hey folks!Just got an MSO5074 and I will be looking to upgrade it once I'm done a project we're currently using it for.Just so I'm clear, it was delivered with firmware 1.3.2.2. Should I leave it there until I'm ready to do the update/upgrade all at once? I haven't found a compelling reason that I need to immediately update but figured I'd ask just in case.Thank you for all your hard work!

author: usama14
author_rank: Newbie
timestamp: June 02, 2025, 06:16:43 pm
content: @BTO I bought a new MSO5000. Help me guide to hack it.

author: BTO
author_rank: Frequent Contributor
timestamp: June 03, 2025, 02:16:59 am
content: Quote from: usama14 on June 02, 2025, 06:16:43 pmSure , no problemDo you feel that you can follow a PDF or do you want to jump on zoom or something.Most people are able to follow the PDF successfully FYIHere is the link to the cloudhttps://mega.nz/folder/A8cEgQRI#5FSoMrCurJi71T7VkRPgYQ- Download the PDF- Download the .py Python script- Download the UPGRADE 1.3.3.0 fileIf you can't understand the pdf, i'm happy to help you one on one

author: BTO
author_rank: Frequent Contributor
timestamp: June 03, 2025, 02:19:36 am
content: Quote from: Jkoffman on May 04, 2025, 05:09:45 pmOK received loud and clear.You no longer need to worry if it's 1.3.2.2 because we've sorted all that out.However when you do upgrade, upgrade to the latest version, Because.... Why notHere are the instructionsHere is the link to the cloudhttps://mega.nz/folder/A8cEgQRI#5FSoMrCurJi71T7VkRPgYQ- Download the PDF- Download the .py Python script- Download the UPGRADE 1.3.3.0 file

author: J-R
author_rank: Super Contributor
timestamp: June 06, 2025, 07:52:30 am
content: I picked up a lightly used MSO5072 for cheap. Had v1.02.something firmware and 3-4 channel license. The v2.10b script would never activate all the options. One option would randomly be missing each time I ran it. Uninstalling all options then re-running fixed the issue. This behavior is hinted to in the guide, but as far as I'm aware the 3-4 channel license was official.Using v2.13b of the script, I changed the model to MSO5504 and ran some tests to try to determine the capabilities. Using the Leo Bodnar 40ps fast risetime pulse generator (BNC), I manually calculated a rise time of ~675ps, which depending on your religion is a bandwidth somewhere between 519MHz and 667MHz.I next used the original Leo Bodnar GPSDO and the scope could display a waveform to the GPSDO's maximum ~810MHz, but it had trouble taking meaningful measurements beyond ~700MHz. Of course the signal was quite low at this point.Using square wave multiple harmonics as a guide, I did a separate run up in the 200MHz range to try to make a judgement call with regard to whether the displayed waveform was strictly a sine wave or not. I can't use the -3dB method because I don't really have any calibrated equipment that can generate such high frequencies. Ultimately, this method generally agrees with the previous measurements as the waveform is not really a sine wave at 200MHz (600MHz), but is definitely 100% a sine wave at 225MHz (675MHz). At 170MHz (510MHz) it's definitely a square wave shape, similar to what is shown in this video:

author: BTO
author_rank: Frequent Contributor
timestamp: June 06, 2025, 01:05:12 pm
content: Quote from: J-R on June 06, 2025, 07:52:30 amWell done, Just remember since you got it on a really low version, Upgrade it to the current firmware 1.3.3.0or at the least 1.3.2.2 because that's where you will pick up VNC Client and accessing your scope remotely is going to be much easier

author: J-R
author_rank: Super Contributor
timestamp: June 06, 2025, 08:45:41 pm
content: Quote from: BTO on June 06, 2025, 01:05:12 pmOh yes, of course I updated it to 1.3.3.0 pretty early in the process, per the guide. The script actually would not even work with the firmware version the scope came with, not that I was trying to proceed with that configuration. I was just going through the Python module installation at the time.

author: user_x
author_rank: Newbie
timestamp: September 17, 2025, 05:37:16 pm
content: I had the same problem with a brand new scope on firmware version 1.3.2.2. I got the same error messages that you had.However, for me, it's because the script could not properly decode the scope model. Looking into it, the read_rigol_model_serial(ip_addr) returns None. This is because the function requests.post('http://%s/cgi-bin/welcome.cgi'% ip_addr) returns a slightly different format that does not match SERIAL_PAT.The requests.post() returns b'RIGOL TECHNOLOGIES$MSO5074$[Serial#]$00.01.03.02.02\n$$\n$[MAC again?]$$'. I'm puzzled as to why the same firmware version yields different output formats.After manually updating to firmware 1.3.3.0, everything worked perfectly.

author: Noy
author_rank: Frequent Contributor
timestamp: September 25, 2025, 03:46:51 pm
content: Today i updated my (patched) 1.3.2.2 to 1.3.3.0 and tried the 2.10b and 2.13b script.Unfortunally it didn't work. Got these failure (removed the "KEYVALUE"):checking /rigol/tools/fram ...done!Saved priv.pem to 'priv.pem'Reading FRAM data ...done!System SetupLanguage: 64LoadLast: 1BPowerStatus: FDCycle count: 6356150Keep Imp: 64IPmode: BBActivation XXTEA key Traceback (most recent call last):File "C:\Users\XXXXX\Downloads\rigol_mso_util_2.13b.py", line 1052, in <module>main()File "C:\Users\XXXXX\Downloads\rigol_mso_util_2.13b.py", line 1031, in mainnew_cfram, new_key = rigol_fram.replace_fram_key(cfram, key_hex, using_key, keytype="publickey")File "C:\Users\XXXXX\Downloads\rigol_mso_util_2.13b.py", line 448, in replace_fram_keyitems = self.get_fram_blocks(fram)File "C:\Users\XXXXXl\Downloads\rigol_mso_util_2.13b.py", line 430, in get_fram_blocksassert (full_size + full_size_neg) == 0, "size + neg_size must be 0"AssertionError: size + neg_size must be 0Does somebody know what to do? Already PMed to BTO..Edit:I went the classic patch way.. It worked. But i get "save setup failure" all the time.. Tried "restore factory defaults" from boot menu, reverted to 1.3.2.2 and tried restore.. went back up to 1.3.3.0 and did everything agin (including patch and resotre) nothing helped.. It looks like everything is ok beside this message wich still pops up after each button press...Edit2: OK just realized my Touch is not working any longer... So same issue like the other guy in the past...Edit3: I'm back on 1.3.2.2 and Touch is working again and the "save setup failure" is gone.. Don't know how i did this.. was multiple flash of 1.3.2.2 and multiple "restore factory defaults"... Now im at Stock 1.3.2.2 and need to unlock or patch again.. Unfortunally the patch for 1.3.2.2 is missing in the Zip from BTO and the Python Script is still failing.. Patched 1.3.2.2 and everything is back working.. like yesterday on the old firmware.. i skip 1.3.3.0 don't think that it is a big benefit enough to do all again and hope to get 1.3.3.0 with touch working..Edit4: Hmm, selfcal finished and new boot -> Stuck at boot for long long time, restartet again and it booted but touch stopped working and "save setup failure" showed up... So another restart with "factory default" and its back working until i booted again "normal" and its stuck at boot..but recoverd after a minute with no touch screen working..I think i have a bigger issue now...looks like i have to do "factory default" on every boot..to get the touch working..Edit5: This scope drives me crazy... i flashed firmware 1.3.3.0 again.. 1. boot -> no touch... switched off waited a couple of minutes and bootet again (missed the boot menu to set factory default) and it booted up (quite fast) and touch was working with 1.3.3.0... but it is now unpatched / unlicened / uncalibrated.. will boot a few times and look at touch issues.. then i have to decide what to do.. probably its back on issue after calibration or patching or licencing..Edit6: Loooool... tried out of curiosity the script 2.10b again... this time no issue went smooth through...Edit7: Any advantages to set the Model to MSO5504 ? After all the licensing? 500ps scale available like tv84 said back in time..?Edit8: Too early.. after licensing i started calibration without a reboot and did the first backup part, after this i had to reboot to start the second backup part...-> After reboot touch was gone and the "save setup failure" reappeared.. did the second backup anyways.. and licensing + 1.3.3.0 is still OK...reboot after second backup its back working.. i think it is an issue if i switch off/on to fast.. if i wait a bit longer after switch off it looks like the issue is less often...Finally: Thanks to all the specialists !!