Camera: Eufy E220 ‐ Ingenic usb firmware installation - themactep/thingino-firmware GitHub Wiki
At the time of writing, there are 4 possible firmwares:
- T31X, SC3235, SYN4343, 32MB
- T31X, SC3335, SYN4343, 32MB
- T31X, SC3336, SYN4343, 32MB
- T31X, SC3338, SYN4343, 32MB
The correct one will depend on the image sensor. There is no way to know without trying each one of these. I recommend starting from last to first, assuming you bought the camera recently.
Before you do any installation of the new firmware, make sure to backup the original firmware, just in case.
USB connection
This video shows a case that works: https://youtube.com/shorts/sRiBUtaGxl4
Requirements:
- USB-A (male) to USB-A (male) cable
- USB-A (female) to micro-usb OTG cable
Note that simple USB-A micro-usb cables won't work. There are cables that are wrongly marked and are sold on Amazon.
Testing the USB connection
On Windows, a driver is required. To recognize whether it works, you have to see whether Windows has an unknown driver. The instructions to install the driver can be found here.
So Linux is easier, since you can check in dmesg
directly without a driver.
- Run
sudo dmesg -w
, where-w
will keep following. - Plug in the camera
- A few seconds later, some messages should show up with "Ingenic" USB stuff. That means it's working.
NOTE: If sudo dmesg -w
doesn't show anything OR the camera starts doing the mechanical rotation cycle, that means that the wire is not the correct one. It's REQUIRED to have OTG micro-usb wire, which grounds specific pins. You have to get the proper wiring to do this right.
How to backup the camera firmware
- DO NOT connect the camera yet
- Ensure that the connection is possible as mentioned in the USB section above.
- Start Ingenic Cloner with
sudo ./cloner
- Click on
Config
- Select the following options (leave everything else as is):
- Platform:
T
t31x
, from the drop-down combo- Board:
t31x_sfc_nor_reader_32MB.cfg
- Platform:
- Click "Save", and confirm
- Click "Start"
- NOW, connect the camera. It's assumed that the USB connection is correct.
- Once the reading is done, close the cloner firmware
- Find a directory in the form "0_Firmware_Root"
cd 0_Firmware_Root
- Make sure each of the
.bin
files is 1 MB in size - Run
sudo ./combine.sh
, or if you don't prefer to run this with sudo, change the permissions of the directory - The backup file has a name
fw_backup_full_combined.bin
Installing new firmware to the camera
To install the firmware on Eufy E220:
- DO NOT connect the camera yet
- Ensure that the connection is possible as mentioned in the USB section above.
- Start Ingenic Cloner with
sudo ./cloner
- Click on
Config
- Select the following options (leave everything else as is):
- Platform:
T
t31x
, from the drop-down combo- Board:
t31x_sfc_nor_writer_full.cfg
- Go to the POLICY tab, in the list, click on the
...
, and choose the firmware file
- Platform:
- Click "Save", and confirm
- Click "Start"
- NOW, connect the camera. It's assumed that the USB connection is correct. It should be detected and it will start writing.
- Wait for it to finish.
- REMOVE THE USB CABLE IMMEDIATELY, within a few seconds, once it's finished, because it will just keep restarting
You can now connect to the camera with wifi to configure it.
Once you configure the camera, if the stream doesn't work, and/or the logs show some sensor error, that means you picked the wrong firmware. Try another one.