Poll

Has the hackabiliy of the E4 made you buy one :  

Yes, I was already looking at the competition at a similar price, but the hack swung it to E4
237 (26.3%)
Yes, I'd not considered buying a TIC before, but 320x240 resolution at this price justifies it (as either tool or toy!)
423 (47%)
Yes, I was going to buy an E5/6/8 class of unit but will now get the E4
42 (4.7%)
No, but am looking out for a cheap i3 to hack
40 (4.4%)
Not yet, but probably will if now that a closed-box hack becomes is possible
158 (17.6%)

Total Members Voted: 775

Author Topic: Flir E4 Thermal imaging camera teardown  (Read 2617874 times)

0 Members and 5 Guests are viewing this topic.

Offline quadrobro

  • Newbie
  • Posts: 1
Re: Flir E4 Thermal imaging camera teardown
« Reply #7800 on: May 14, 2016, 12:04:43 am »
Hi guys, I've followed this thread on and off for about a year now and am ready to pull the trigger. After catching up a bit, it appears the downgrade isn't the best method, which begs the question, what version is ideal to hack for greatest ease and functionality?
 

Offline kultakala

  • Regular Contributor
  • *
  • Posts: 81
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #7801 on: May 15, 2016, 12:58:10 am »
Hi Guys,

Today i got my E4. It is E4 1.2L with SW 2.11.0.
It took me 4 hours to apply the hacks...  only because it took me so long to get and install a win7 32 bit and set all up in a virtual box  :phew:

The hacks were working fine and it took only about 15 minutes.
I followed the instructions for 2.3.0 but with using the hack files from post #7788, thanks to 2lps.

And of course thanks for all people involved in making this posible  :-+

The images look good and everything works good.
Btw, this is in my calib.rsc > .calib.nrdp.ds250C_we_ap_fi_le.measureInfo.temporalMk double 13.134015

Greetings from Germany!
 

Offline 2lps

  • Contributor
  • Posts: 28
  • Country: bg
Re: Flir E4 Thermal imaging camera teardown
« Reply #7802 on: May 15, 2016, 01:51:15 am »
Mine is as follows (bought from a German seller):

Model: E4 1.2L
Serial Number: 6397****
Part Number: 63901-0101
Software: 2.11.0
Calibration  date: 22 Feb 2016

.calib.nrdp.ds250C_we_ap_fi_le.measureInfo.temporalDu double 1.1954776
.calib.nrdp.ds250C_we_ap_fi_le.measureInfo.temporalMk double 13.062092

I converted the dead pixel map to a .png (see https://www.eevblog.com/forum/thermal-imaging/flir-e4-thermal-imaging-camera-teardown/msg343464/#msg343464).
 
There are 132 dead pixels out of 76800, which gives 99.832% functional pixels. According to this post from Fraser https://www.eevblog.com/forum/thermal-imaging/flir-e4-thermal-imaging-camera-teardown/msg343716/?topicseen#msg343716, 99.8% is the spec for the the cheaper sensors.
 

Offline iG0R

  • Newbie
  • Posts: 3
  • Country: ua
Re: Flir E4 Thermal imaging camera teardown
« Reply #7803 on: May 17, 2016, 06:23:47 am »
Hi, colleagues.
I got my E4 with the following characteristics:
Model: E4 1.2L
Serial Number: 6397****
Part Number: 63901-0101
Software: 2.11.0
Calibration  date: 8 Apr 2016

But I faced with one problem - when i'm trying to enter into the camera with username: flir and password: 3vlig i'm getting the error: "Error 530 bad username/password" :(
Anything can be advised on this?
« Last Edit: May 17, 2016, 06:32:02 am by iG0R »
 

Offline Chanc3

  • Frequent Contributor
  • **
  • Posts: 413
  • Country: gb
Re: Flir E4 Thermal imaging camera teardown
« Reply #7804 on: May 17, 2016, 06:38:47 am »
Hi, colleagues.
I got my E4 with the following characteristics:
Model: E4 1.2L
Serial Number: 6397****
Part Number: 63901-0101
Software: 2.11.0
Calibration  date: 8 Apr 2016

But I faced with one problem - when i'm trying to enter into the camera with username: flir and password: 3vlig i'm getting the error: "Error 530 bad username/password" :(
Anything can be advised on this?

What program are you using?
 

Offline 2lps

  • Contributor
  • Posts: 28
  • Country: bg
Re: Flir E4 Thermal imaging camera teardown
« Reply #7805 on: May 17, 2016, 07:18:59 am »
Is the camera booting normally?

While I played with some files, I messed something and was not able to use flir/3vlig.
Fortunately, you can use the anonymous user - do not enter any user name/password. Not sure what permissions it has, but I just checked and you can download/upload files to the file system. I was also able to backup the camera files. I used the anonymous user to correct my mistake and the camera booted normally after that.

I don't see any update of the 2.11 package on Flir's site (last one is from 21 Jan 2016), so flir/3vlig should be working if the camera is booting normally.
« Last Edit: May 17, 2016, 07:30:03 am by 2lps »
 
The following users thanked this post: iG0R

Offline dertoid

  • Newbie
  • Posts: 2
  • Country: ua
Re: Flir E4 Thermal imaging camera teardown
« Reply #7806 on: May 17, 2016, 09:20:41 am »
Hi all and let me apologize in advance for my noobness.
Just recently got into FLIR toys (got bts-xr 100mm and One 2gen).
My friend gave me an 'upgraded' E4 as a gift a week ago.
It's fully functioning as 'E8+' with all the bells and whistles.
The about page reads:
E4 1.2L
2.3.0
Free enhanced menu.
No calibration date displayed.

Now, i understand that there's an 2.11 update (got it from flir site) and a corresponding hack (post 7788).
Questions:
1. What are the benefits of 2.11? Any changelogs public?
2. What is the best course of action to apply 2.11 hack from current camera state (2.3.0 with hack)? If possible in some detail (no, i can work with python etc - my problem is the correct sequence of actions in flir's case); and
3. Do i need the original files that came on the camera 'pre-hack'? Because that can be quite hard or even impossible.

Thanks!
« Last Edit: May 17, 2016, 09:23:48 am by dertoid »
 

Offline iG0R

  • Newbie
  • Posts: 3
  • Country: ua
Re: Flir E4 Thermal imaging camera teardown
« Reply #7807 on: May 17, 2016, 03:54:49 pm »
What program are you using?

TotalCommander and FileZilla

Is the camera booting normally?

Yes, it is booting normally.

While I played with some files, I messed something and was not able to use flir/3vlig.
Fortunately, you can use the anonymous user - do not enter any user name/password. Not sure what permissions it has, but I just checked and you can download/upload files to the file system. I was also able to backup the camera files. I used the anonymous user to correct my mistake and the camera booted normally after that.

I don't see any update of the 2.11 package on Flir's site (last one is from 21 Jan 2016), so flir/3vlig should be working if the camera is booting normally.

 Oh, thank you very much, I'll try it.

Update: Yes, yes! It's working :) Anonymous user is working.
But I can't understand, why it all happened?

PS. Also I tried to use Windows 8.1 64bit and 10 64bit to hack the camera, but there is something wrong with flir_device_drivers, because camera couldn't obtain right IP, always 169.254.x.x. Even if I manual write down IP 192.168.1.2 I can't connect to it.
I've read that some people could access camera in Windows (8.1 and 10) 64bit but I could not understand how they do it.
« Last Edit: May 17, 2016, 04:13:43 pm by iG0R »
 

Offline 2lps

  • Contributor
  • Posts: 28
  • Country: bg
Re: Flir E4 Thermal imaging camera teardown
« Reply #7808 on: May 17, 2016, 06:04:17 pm »
...
Questions:
1. What are the benefits of 2.11? Any changelogs public?
2. What is the best course of action to apply 2.11 hack from current camera state (2.3.0 with hack)? If possible in some detail (no, i can work with python etc - my problem is the correct sequence of actions in flir's case); and
3. Do i need the original files that came on the camera 'pre-hack'? Because that can be quite hard or even impossible.
...

Take a look at this post from Solaris: https://www.eevblog.com/forum/thermal-imaging/flir-e4-thermal-imaging-camera-teardown/msg922176/#msg922176
If I was you, I would just keep 2.3. I am not aware of any benefit of 2.11 vs 2.3 (which doesn't mean there is not any). Also it seems that there are some advanced things, which don't work currently with 2.11 (not sure what are they).

To your questions:
1. I don't think there are public change logs.
2. Ideally, you need the original files and revert the hacks. Upgrade to 2.11. Apply the 2.11 hack.
3. You can do it without the original files and reverting the hacks, but you need to know what you are doing. This is actually how I made the 2.11 hack. There was the so called "ring of crap" when downgrading to 2.3, probably because of the way the calibration is done in 2.11, so I didn't have a choice, but use 2.11
 
The following users thanked this post: dertoid

Offline 2lps

  • Contributor
  • Posts: 28
  • Country: bg
Re: Flir E4 Thermal imaging camera teardown
« Reply #7809 on: May 17, 2016, 06:20:14 pm »
Update: Yes, yes! It's working :) Anonymous user is working.
But I can't understand, why it all happened?

I don't know why flir/3vlig is not working. Are you sure you don't add an additional symbol to the user name/password. Using the correct letter case?. You can try with root/3vlig too.

PS. Also I tried to use Windows 8.1 64bit and 10 64bit to hack the camera, but there is something wrong with flir_device_drivers, because camera couldn't obtain right IP, always 169.254.x.x. Even if I manual write down IP 192.168.1.2 I can't connect to it.
I've read that some people could access camera in Windows (8.1 and 10) 64bit but I could not understand how they do it.

I also couldn't do it with Windows 10, so used Windows 7 64 bit.

Switching the camera to RNDIS mode in Windows and then using Ubuntu also works. I think I needed to manually set the IP there.

There is a secret menu Settings --> Device Settings --> Camera Information. Then hold the right navigation button for some seconds. A new screen appears with the following entries:

USB mode >
Export Information
Version Information >
Latest calibration

There are options to change the USB mode there directly from the camera, instead of using FlirInstallNet.exe in Windows, but at the moment nothing happens when you change them. There may be another way to switch it to RNDIS mode and use only Ubuntu, but I am not aware.
 

Offline 2lps

  • Contributor
  • Posts: 28
  • Country: bg
Re: Flir E4 Thermal imaging camera teardown
« Reply #7810 on: May 17, 2016, 07:34:25 pm »
Actually, after reading how it was done in Linux (https://www.eevblog.com/forum/thermal-imaging/flir-e4-thermal-imaging-camera-teardown/msg417547/#msg417547 and https://www.eevblog.com/forum/thermal-imaging/flir-e4-thermal-imaging-camera-teardown/msg417771/#msg417771) I was able to connect using Windows 10.

You still need to set manually the IP of the interface after switching to RNDIS mode using the Set_RNDIS_temporary.fif. But use 192.168.250.1 for the IP. Then you will be able to connect to the camera using 192.168.250.2
 

Offline Kai-74

  • Newbie
  • Posts: 4
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #7811 on: May 17, 2016, 08:04:26 pm »
Hi...

My Name is Kai and i`m from Germany.

I found this Thread while i was interested in an Flir E6.

But with the informations found in this Thread i bought an E4!   :-)

My Camera seemed to be a little bit longer in the sstore, because it came with Firmware 1.22.
Unfortunately i made an update to 2.11.

But the Backup Files from 1.22 are still there.

Now to my Problems wit the 2.11 Hack..

The Hack itself worked without any issues, but the Result was not as expected.

1) The center Cursor was missing and i was not able to restore it by disabling and enabling it.

2) There was a bit of "ring of crap" in the image

3) When taking a picture the camera reported a serious Problem with appcore.exe and it has to be restarted.
This problem persists after every restart.

4) There was a lot of the extended Menu missing.

Do you have some suggestions for what i should do now?

Thank you in Advance!

...and sorry for my english...   :-D

Viele Grüße
Kai
 

Offline kultakala

  • Regular Contributor
  • *
  • Posts: 81
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #7812 on: May 17, 2016, 08:21:42 pm »
Hi Kai,

I am not an expert, just bought an E4 last week and hacked it successfully.
But did you remove the battery for a while before starting the E4 again ?

Greetings,
Olaf
 

Offline 2lps

  • Contributor
  • Posts: 28
  • Country: bg
Re: Flir E4 Thermal imaging camera teardown
« Reply #7813 on: May 17, 2016, 08:23:21 pm »
[...]
Do you have some suggestions for what i should do now?
[...]

Did it work fine after upgrading from 1.22 to 2.11, but before applying the 2.11 hack?

So:
1. The camera came with 1.22 and no hacks.
2. You upgraded to 2.11
3. Then applied the 2.11 hack?

If it worked fine before applying the hack, can I get /FlashBFS/system/common_dll.dll (the one currently on the camera). It is possible that during the upgrade from 1.22 to 2.11 it was not replaced (e.g for compatibility reasons). The 2.11 hack modifies it, but for each version it is different, so the offsets in the hack may not be the same, and the patched code may be completely different. The resolution hack doesn't do anything but change the resolution and noise generator values in conf.cfc and disable the signature checks in common_dll.dll.
« Last Edit: May 17, 2016, 08:29:59 pm by 2lps »
 

Offline mct75

  • Contributor
  • Posts: 49
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #7814 on: May 17, 2016, 09:41:46 pm »
Hi everyone!  I have been watching this thread for months now, and finally took the plunge.  I found a used E4 for $450 on Amazon which was too good to pass up.  I'm partially expecting to receive a box of rocks, but if not I look forward to hacking mine!

Thanks to all the hackers who developed these methods!
 

Offline Kai-74

  • Newbie
  • Posts: 4
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #7815 on: May 17, 2016, 09:42:03 pm »
Hi kultakala,

Thank you for your Reply... Yes, i removed it every time after changing anything.
I removed the Battery over Night to see if it get better, but no improvement...

Hi 2lps,

The camera was working fine with 1.22, and it was not hacked.

After upgrading to 2.11 the camera worked as expected, before the Hack was applied.
I reverted the Hack, because not being able to take pictures makes no sense.  :-D

I hope you can help me and i will send the common_dll.dll to you when i'm at home.

Thank you!!!
   
 

Offline dertoid

  • Newbie
  • Posts: 2
  • Country: ua
Re: Flir E4 Thermal imaging camera teardown
« Reply #7816 on: May 18, 2016, 01:36:30 am »
...
Questions:
1. What are the benefits of 2.11? Any changelogs public?
2. What is the best course of action to apply 2.11 hack from current camera state (2.3.0 with hack)? If possible in some detail (no, i can work with python etc - my problem is the correct sequence of actions in flir's case); and
3. Do i need the original files that came on the camera 'pre-hack'? Because that can be quite hard or even impossible.
...

Take a look at this post from Solaris: https://www.eevblog.com/forum/thermal-imaging/flir-e4-thermal-imaging-camera-teardown/msg922176/#msg922176
If I was you, I would just keep 2.3. I am not aware of any benefit of 2.11 vs 2.3 (which doesn't mean there is not any). Also it seems that there are some advanced things, which don't work currently with 2.11 (not sure what are they).

To your questions:
1. I don't think there are public change logs.
2. Ideally, you need the original files and revert the hacks. Upgrade to 2.11. Apply the 2.11 hack.
3. You can do it without the original files and reverting the hacks, but you need to know what you are doing. This is actually how I made the 2.11 hack. There was the so called "ring of crap" when downgrading to 2.3, probably because of the way the calibration is done in 2.11, so I didn't have a choice, but use 2.11

Ok, i obtained original files for my camera. Will wait a bit more for people to chime in regarding 2.3/2.11 differences, then perform the update/hack.
Oh, and mega thanks for about 'extended' menu -> resulted in:
25feb16 cal date.
 

Offline 2lps

  • Contributor
  • Posts: 28
  • Country: bg
Re: Flir E4 Thermal imaging camera teardown
« Reply #7817 on: May 18, 2016, 07:07:51 am »
[...]
Do you have some suggestions for what i should do now?
[...]

Did it work fine after upgrading from 1.22 to 2.11, but before applying the 2.11 hack?

So:
1. The camera came with 1.22 and no hacks.
2. You upgraded to 2.11
3. Then applied the 2.11 hack?

If it worked fine before applying the hack, can I get /FlashBFS/system/common_dll.dll (the one currently on the camera). It is possible that during the upgrade from 1.22 to 2.11 it was not replaced (e.g for compatibility reasons). The 2.11 hack modifies it, but for each version it is different, so the offsets in the hack may not be the same, and the patched code may be completely different. The resolution hack doesn't do anything but change the resolution and noise generator values in conf.cfc and disable the signature checks in common_dll.dll.

So, after few messages, it appears that we succeeded. The problem was not common_dll.dll, but the conf.cfc. The 2.11 hack didn't patch it correctly (probably there are some differences).

We used the 1.22 procedure for the resolution hack:


Now the res hack works too. It appears that the 2.11.0 menu hack (which is actually the same as the 2.3.0) works with the 1.22 --> 2.11 upgrade, and there was no need to use the 1.22 menu hack.
 

Offline Kai-74

  • Newbie
  • Posts: 4
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #7818 on: May 18, 2016, 07:13:03 am »
Thank you so much!

Great Job 2lps!

I'm so lucky...
 

Offline mct75

  • Contributor
  • Posts: 49
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #7819 on: May 18, 2016, 10:19:36 pm »
I have a few questions (probably "noob" questions but I'm excited and want to talk about my E4 before it gets here)

  • Has anyone taken the core out of an E4 and used it in other "hosts"?  I know the Leptons can be connected to other boards
  • Is it possible to cool the sensor and get better performance?
  • I know a few have messed with other lenses.  Is there a go-to Germanium lens to use?  I read that Germanium lenses are better
  • Is the current firmware still 2.11?  I keep reading threads where they say "only the old ones are hackable" which makes me nervous
  • Has anyone hacked the battery?  I'm guessing it's just an 18650 in a plastic case.  Not something I'm going to pay $50 for!

Thanks again to everyone who worked on unleashing the full potential of these cameras!
 

Offline iG0R

  • Newbie
  • Posts: 3
  • Country: ua
Re: Flir E4 Thermal imaging camera teardown
« Reply #7820 on: May 19, 2016, 02:03:58 am »
I tried to figured out why I couldn't access camera with standard login\password.
In my case when I use VirtualBox+IE10.Win7.For.Windows.VirtualBox.zip(from Microsoft official site https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/windows/) I can access camera with anonymous login\password, but when I use physical PC with Windows 7 32bit - I need to enter flir\3vlig to access camera. It's a very strange camera ftp server behavior. :-//
I also tried to use root\3vlig, root\indigo and other standard login\password that are used to access camera, but they were not fit.

Switching the camera to RNDIS mode in Windows and then using Ubuntu also works. I think I needed to manually set the IP there.
There is a secret menu Settings --> Device Settings --> Camera Information. Then hold the right navigation button for some seconds. A new screen appears with the following entries:
USB mode >
Export Information
Version Information >
Latest calibration
There are options to change the USB mode there directly from the camera, instead of using FlirInstallNet.exe in Windows, but at the moment nothing happens when you change them. There may be another way to switch it to RNDIS mode and use only Ubuntu, but I am not aware.

Yes, I knew about this possibility to change USB modes,
Settings --> Device Settings --> Camera Information -> pushing on "Set" button during 12sec. ->  USB mode > RNDIS*
but, as you mentioned, this technique doesn't work in 2.11.0

Actually, after reading how it was done in Linux (https://www.eevblog.com/forum/thermal-imaging/flir-e4-thermal-imaging-camera-teardown/msg417547/#msg417547 and https://www.eevblog.com/forum/thermal-imaging/flir-e4-thermal-imaging-camera-teardown/msg417771/#msg417771) I was able to connect using Windows 10.
You still need to set manually the IP of the interface after switching to RNDIS mode using the Set_RNDIS_temporary.fif. But use 192.168.250.1 for the IP. Then you will be able to connect to the camera using 192.168.250.2
As I see in screenshots, you didn't enter Default Gateway and despite that you were able to connect the camera in Windows10? Hm, very strange.

2lps
Thank  you very much for your help.
And many thanks to all people who made the hack possible.
« Last Edit: May 19, 2016, 04:29:58 am by iG0R »
 

Offline mct75

  • Contributor
  • Posts: 49
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #7821 on: May 20, 2016, 11:16:43 am »
My E4 just came in!  One thing, the pictures on it look really smooth already.  Does this look like 80x60 or 320x240?  It looks nothing like the "stock" pictures from the device.  Is there a chance mine is already modded?


 

Offline DaveWB

  • Regular Contributor
  • *
  • Posts: 140
Re: Flir E4 Thermal imaging camera teardown
« Reply #7822 on: May 20, 2016, 02:11:34 pm »
My E4 just came in!  One thing, the pictures on it look really smooth already.  Does this look like 80x60 or 320x240?  It looks nothing like the "stock" pictures from the device.  Is there a chance mine is already modded?



Looks upgraded already, where'd you get it from?
 

Offline mct75

  • Contributor
  • Posts: 49
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #7823 on: May 20, 2016, 09:17:47 pm »
Looks upgraded already, where'd you get it from?
I was looking at the Amazon page for the E4, and saw there was a "used" offer for $450.   I bought it instantly since I have never seen one that low.  The unit itself is 1.2L with software 2.3.0.  (But I don't know how much it has been tampered with)

I'm just glad I actually got an E4, for what I paid I was expecting to get a box of rocks in the mail.
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #7824 on: May 20, 2016, 10:24:39 pm »
check the sensor resolution with exiftool:

Code: [Select]
>exiftool -rawtherm* myimage.jpg
Raw Thermal Image Width         : 320
Raw Thermal Image Height        : 240
Raw Thermal Image Type          : PNG
Raw Thermal Image               : (Binary data 55611 bytes, use -b option to extract)


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf