Hybrid hacking methodFLIR E4 2.0L with 3.16.0 firmware, manual for noobs like me:
Believe it or not guys, I’m a noob, but I’m aware of it so I always go strict by the manual. Super frustrating because it took me 10 hours to figure out what was wrong. Went 100% by the manual and
got a lot of help from Bud and KCT_99 (thx guys!) but it was an error I could not find in the forum, so I will post a very detailed manual.
Until further, I will call it the “hybrid hacking method”, because it should work for every cam (with and without WiFi) and no matter the version.Short version was; It was not enough to substitute the ID (6390XXXXX) in the hacked conf.cfg but also the CRC03 (11223344). To get the CRC03 I used the cfccfg_V2.py and decrypted the original conf.cfc, copied both, the ID and the CRC03 to the hacked conf.cfg and encrypted it again to get the hacked conf.cfc.
But now from the start:
1) I used Windows 10 with 64 bit. No need for Windows 7 or virtual machine.
2) Install the free version of FLIR Tools (I used the latest version: 6.4.18039.1003). You will need it anyway because it is a damn fine software which can open the radiometric JPGs from your E4 and change e.g. measuring spot, colour code, temperature rage, can separate stacked images e.g. MSX etc.
3) Get FLIR Device Drivers (version: 1.9.1.0), I found it here in the forum.
4) FileZilla Client 3.58.0 (I used the latest X64, obviously).
5) Python 2.7.9 (also found it here in the forum links).
Now for the work:
6) Connect your FLIR E4 via USB to your computer. Start “FLIRInstallNet.exe” from your FLIR directory (C:\Program Files (x86)\FLIR Systems\FLIR Tools\bin).
7) Check if “Camera” shows the FLIR cam, otherwise you did not install the FLIR Device Drivers correctly.
Browse for “Set_RNDIS_temporary.fif” (also here from the forum) and click “Run FIF”. A message should appear that it was successfully. Now the camera will be set for RNDIS connection until you cold-start it again. You can also go for the “Set_RNDIS_permanently.fif” but I had trouble getting it of my FLIR E4 again.
9) Now “ThermaCAM Connect 3” should show a message “Cam connected via 192.168.0.2” or similar. If not, try to reboot your computer but leave the FLIR E4 on.
10) If this worked, start your FileZilla, connect to the E4 by IP: 192.168.0.2 (or whatever the ThermaCAM Connect 3 showed you), User: flir and Password: 3vlig.
11) BACKUP! The backup saved my ass! Just copy all files from your FLIR E4 to e.g. the desktop. After copying there will appear an error message that not all files could be saved, ignore that. At least backup three files:
-
_\FlashFS\system\appcore.d\config.d\conf.cfc contains ID and CRC03
-
_\FlashBFS\system\common_dll.dll-
_\FlashIFS\FLIRVers.rsc contains SUID
These three files are vital!The tricky part:
12) Go to _\FlashIFS\FLIRVers.rsc and open it with an editor. 2nd line after “.version entry” you will find:
.version.SUID text "XXXXXXXXXXXXXXXX". Copy the 16 chars between the quotation marks.
13) Go to your backup and copy the “_\FlashFS\system\appcore.d\config.d\conf.cfc” to your Python27 folder (like e.g. C:\Python27\).
14) Copy the cfccfg_V2.py to the same folder.
15) I opened CMD (command line) as administrator for it. Then go “CD C:\Python27” (CD is short for change directory) to reach the folder. Encrypt the conf.cfc with: cfccfg_v2.py XXXXXXXXXXXXXXXX conf.cfc conf.cfg where the X are the 16 digits (numbers and letters) of your SUID.
16) Now in the folder there will a file appear that is named “conf.cfg”. Open it with the editor.
17) On the very bottom you will find ID and CRC03. They will look like this:
# ID XXXXXXXXX (9 digits)
# CRC03 XXXXXXXX (8 chars, numbers and letters)
Copy both of them.
18) Use e.g. the conf.cfg from the “Advanced_3.12.0.zip”. Open it with the editor and go to the very bottom. Insert your ID and CRC03, save it and exit.
19) Copy the hacked conf.cfg where you just put in your ID and CRC03 into your Python27 folder, delete or substitute the one you encrypted from the original conf.cfc. Also delete the original conf.cfc in your Python27 folder. So now you only have your hacked conf.cfg in your Python27 folder.
20) Again use CMD as admin, go to C:\Python27\ and now decrypt it with: cfccfg_v2.py XXXXXXXXXXXXXXXX conf.cfg conf.cfc remember to put in your SUID for the 16 X.
21) Go with FileZilla to your FLIR E4 and copy the hacked conf.cfc to the folder: “_\FlashFS\system\appcore.d\config.d\”. Make sure FileZilla asks you to substitute the original conf.cfc and allow it.
22) Now go to “_\FlashBFS\system” and substitute the “common_dll.dll” with the one you need. I used the hacked “common_dll_3.16.zip” from the forum.
23) Close FileZilla, disconnect your FLIR E4 from USB, press and hold the power-button for at least 6 seconds (even if the screen turns dark after 2 seconds), remove the battery for a few seconds (e.g. 10).
24) That should have done the trick!
If you get a broken menu like me, where the image options are greyed out and cannot be selected, it is due to the missing entry for CRC03 or the wrong version of the cfccfg.py (V1 makes a mess out of my conf.cfc and V2 works like a charm) . It looks like in older version you could keep the 11223344 and it was running fine, for me it always ended up with the broken menu and the low resolution.
So why is this called “hybrid”? Because you have another option I tested successfully!
a) Backup everything.
b) Open the _\FlashIFS\FLIRVers.rsc and write down the 16 digit SUID.
c) Copy conf.cfc to C:\Python27\ and decrypt it.
d) Open the conf.cfg you just made and check for the following four lines:
.caps.config.image.settings.IRwidth int32 80
.caps.config.image.settings.IRheight int32 60
.caps.config.image.targetNoise.enabled bool true
.caps.config.image.targetNoise.targetNoiseMk int32 125
Substitute the 80 by 320, the 60 by 240, the true by false and the 125 by 0. This will enhance the geometric resolution from 80x60 pixels to 320x240 pixels and the thermographic resolution by reducing the artificial noise (true to false) from 125 millikelvin to 0 millikelvin.
e) Save the conf.cfg. Delete the conf.cfc in your Python27 folder, decrypt the conf.cfg with the cfccfg_V2.py to get your hacked conf.cfc.
f) Copy the hacked conf.cfc to the config.d folder and substitute the original one. Also copy and substitute the common_dll.dll in the system folder.
g) Switch off the cam and restart it.
Now you have “only” the increased resolution (geometric and thermographic) but this also worked fine for me!
Note that the most crucial codes you have to save are the
ID,
CRC03 and
SUID. If you lose one of these tree, you have a mayor problem! Also backup at least the
conf.cfc and
common_dll.dll! I attached the files I used to this post! Good luck and have fun!