Uti260b-Uti690b Firmware backup script - Page 1
Forum section: electronics / general

author: ausdim
author_rank: Contributor
timestamp: July 16, 2023, 09:56:52 am
content: Hi i make a simple script to backup some firmware files of your device...1) Copy these 2 folders to the SD card:UpgradeFWBackup2) Insert SD card into thermal camera.3) Power ON the thermal camera.4) After initializing is complete and the progress bar is no longer displayed, press right arrow > for 3 seconds, then press left arrow <.5) When the Upgrade menu appears, select APP, then press SET and wait until a message appears that says "upgrade complete."4) Power off the thermal camera, remove the SD card, ZIP the files, then upload to the cloud and provide a download link here if you want with the firmware version you have and the device 690b or 260b.Script will do:Code:cp /root/UTi260B_Thermal /media/mmcblk0p1/FWBackup/UTi260B_Thermalcp /usr/lib/* /media/mmcblk0p1/FWBackup/usr/lib/cp /root/tau* /media/mmcblk0p1/FWBackup/cp /etc/rc.d/apps.sh /media/mmcblk0p1/FWBackup/etc/rc.d/apps.shcp /media/mmcblk1p1/zImage /media/mmcblk0p1/FWBackup/zImagecp /media/mmcblk1p1/logo-7.bmp /media/mmcblk0p1/FWBackup/logo-7.bmpV2 of the script copy some files more.https://mega.nz/file/e5AjGADI#fWHWZyzGZ2q5ojQD2_0jGow8vBDH8VzG51JnjDMnQlgThanks

author: Fraser
author_rank: Super Contributor
timestamp: July 16, 2023, 10:25:23 am
content: Excellent work AusdimI would certainly appreciate copies of the UTi-690B firmware file set as I am currently doing battle with a UTi-690B that will not boot and I have yet to prove whether it is a hardware or firmware issue (a hardware fault was found but the camera still has a fault after a new part was fitted). I will take a look at the UTi-260B backup that you have kindly providedI am so pleased that you managed to repair your camera by installing your file backup. Is there a process that you can detail for replacing corrupt/incompatible files please ? I am no expert on Linux!Fraser

author: ausdim
author_rank: Contributor
timestamp: July 16, 2023, 11:17:16 am
content: Thanks Fraser you are the first trying to help me and point me!!I just replace the uti260b_thermal app file and device come back to normal.What is the situation you have?I mean why the device is bricked? Charge? Or firmware upgrade or something else?It is hardware or software related?I have some firmwares to give you to play with..I will update the script soon to take all the files from int.d and rc.d folder to take all the initial scripts..ThanksThanks

author: Silicium81
author_rank: Regular Contributor
timestamp: July 16, 2023, 03:39:18 pm
content: I have a UTI-690b, I can recover the firmware of my device on one condition: Can you certify that it is 100% risk-free?

author: ausdim
author_rank: Contributor
timestamp: July 16, 2023, 06:47:32 pm
content: Yes it is risk free 100% because it is just copy files from device to sd card and nothing more…Tried on my device before upload it here.I will upload a second one that it will copy and some other files.Thanks

author: Silicium81
author_rank: Regular Contributor
timestamp: July 17, 2023, 06:48:48 pm
content: Ok, I placed the two folders on the SD card, after the initialization on which buttons should I press?? I can't access the upgrade menu...

author: ausdim
author_rank: Contributor
timestamp: July 17, 2023, 06:52:28 pm
content: QuoteThanks

author: Silicium81
author_rank: Regular Contributor
timestamp: July 17, 2023, 08:07:32 pm
content: Quote from: ausdim on July 17, 2023, 06:52:28 pmThere are two buttons on the right and two buttons on the left. What are the buttons to press? I have tried them all without success.Your description is not easy to understand!

author: Veteran68
author_rank: Frequent Contributor
timestamp: July 17, 2023, 08:46:03 pm
content: They're referring to the left and right arrows: < and >

author: Silicium81
author_rank: Regular Contributor
timestamp: July 17, 2023, 08:57:30 pm
content: Quote from: Veteran68 on July 17, 2023, 08:46:03 pmThanks for the precision.For this to work, you must not be in image mode...To do this, go to the Image Mode menu and select the thermal-only mode (the highest one).You have to press and hold the right arrow for 3 seconds then while holding down the right arrow press the left arrow.The script works fine

author: ausdim
author_rank: Contributor
timestamp: July 17, 2023, 09:08:04 pm
content: Yes you are right.The description is corrected now.Thanks and sorry for misunderstand.

author: ausdim
author_rank: Contributor
timestamp: July 17, 2023, 10:38:42 pm
content: Added v2 that will copy more files from the device.Thanks

author: Silicium81
author_rank: Regular Contributor
timestamp: July 18, 2023, 07:38:56 am
content: Quote from: ausdim on July 17, 2023, 10:38:42 pmHere is the backup obtained on my UTi-690B (FWBackup Uti-690 V1.1.23) with the V2 script:https://mega.nz/file/N4YxQIxQ#JY6--S2Gm1FaFou0Ctls8Q7vL5eupqKURkwlTVVkEIANew link (more durable, y hope)

author: Fraser
author_rank: Super Contributor
timestamp: July 18, 2023, 08:54:04 am
content: Silicium81,Thank you for sharing your backup fileFraser

author: ausdim
author_rank: Contributor
timestamp: July 18, 2023, 09:56:24 am
content: Fraser do you know what those bin files is?Code:bt_H.binbt_L.binkt_H.binkt_L.binnuct_H.binnuct_L.binI try 2.0.20 and 2.0.22 app files from users and none of them boot.Boot say infrared camera fail! Something like that…After cp my UTi260B_Thermal back to the root device boot ok.From backup I see those bin files that isn’t on my firmware 1.2.28 also the UTi160E_config.ini and the uvc-gadget files have changed too.I’m afraid with those bin files if it any firmware and burn any module in my camera permanently..Thanks

author: Fraser
author_rank: Super Contributor
timestamp: July 18, 2023, 10:43:55 am
content: Those are B, K and NUC calibration filesFraser

author: ausdim
author_rank: Contributor
timestamp: July 18, 2023, 10:49:07 am
content: Ok but why those bin files isn’t on oldest firmware? except tau.Thanks

author: Fraser
author_rank: Super Contributor
timestamp: July 18, 2023, 10:59:51 am
content: Firmware changes over time to meet the needs of the hardware. It is not unusual for a manufacturer to make a significant change to a firmware that is not obvious to the user of the camera. This can even be due to a change in the “System on a Chip” at the heart of the camera. We have seen changes to the IC that is used on other models of camera similar to the UTI-260B. This is why it is very risky to use someone else’s firmware on your camera without understanding the firmware compatibility restrictions.I do not know, but firmware starting with 1.x.x could be for a very different platform to that starting with 2.x.x. The location of the calibration tables can change with firmware development and I have seen this on Cameras myself. A complete re-write of a firmware, especially if done by a new person in the team, can look very different to the earlier releases. Sometimes firmware can be pretty flaky and a new coder is brought in to fix the problems and ends up writing a completely new firmware in their preferred format.Hope this helps a little. Needless to say, if your camera works and the temperature measurements are correct, you have calibration tables hidden away somewhere in the firmware, even if they are not titled as obviously as Bt, Kt and NUCtFraser

author: KedasProbe
author_rank: Frequent Contributor
timestamp: July 27, 2023, 12:06:33 pm
content: FYI I received a new 260B today.Firmware version on it is 1.2.28about attachments (IR only, no Photoshop .bmp saved to jpg with 98%)toaster isn't on, only put it on for a few seconds then turned it off. used macro lens on top edge inside view, you can see losing focus further away inside the toaster.hand print on the wall, leaving my hand there for some seconds before moving it.

author: Veteran68
author_rank: Frequent Contributor
timestamp: July 29, 2023, 12:28:25 am
content: Quote from: Silicium81 on July 18, 2023, 07:38:56 amThanks, I was able to recover my bricked 690B with your 1.1.23 UTi260B_Thermal file. I also recovered the UNI-T boot logo. I failed to note the version I was on before my failed attempt to upgrade to 2.2.23, but it seemed newer than yours. I know ausdim has a 1.2.28 version for his 260B model which would likely work, but it would then identify itself as a 260B (the model is coded in the fw image).I'm going to see if Banggood can get me a later 1.x version, but in the meantime if someone else has a 690B with a later fw version than 1.1.23 and can run ausdim's backup script and ship it over to me, I would be much appreciative.

author: Silicium81
author_rank: Regular Contributor
timestamp: July 29, 2023, 01:13:00 pm
content: Quote from: Veteran68 on July 29, 2023, 12:28:25 amGood !I'm glad my backup was useful. Too bad there's only mine here...Can you describe precisely how and what files you transferred?

author: Veteran68
author_rank: Frequent Contributor
timestamp: July 29, 2023, 01:25:24 pm
content: Quote from: Silicium81 on July 29, 2023, 01:13:00 pmI just copied your UTi260B_Thermal file from your FWBackup folder to the /root folder on the 690B, overwriting the (bad) one there. I then also copied your logo-7.bmp to /media/mmcblk1p1, overwriting the one there.I debated whether I should also restore the tau* files, zImage file, and the lib files, but decided to leave well enough alone for now. It seems to be working fine now as best I can tell, and I'm reluctant to make things worse again.

author: kensei
author_rank: Newbie
timestamp: September 24, 2023, 03:44:54 pm
content: Hi,I am new hereI have just downloaded firmware 1.2.30 for 260B. Should I do something with it? Anu suggestions how to share it?Best,Marcin

author: tchleb
author_rank: Newbie
timestamp: October 01, 2023, 01:02:35 pm
content: I received my UTi260B on last Friday (ordered from Banggood)Installed was the FW 2.0.22https://mega.nz/file/LpERgICT#ZGhpFXDtrNGvYzR31A-aPn6gs3bnERrWWZbHy221xtgI took a quick look on the backuped files and i found the config file UTi160E_config.ini in this file i can see all the current and factory settings.There is wifi switch present. Does anybody tried to active it and test with an external usb wifi stick?

author: EV.geny
author_rank: Newbie
timestamp: October 28, 2023, 01:42:13 pm
content: Does anyone have a backup of version 2.0.20?

author: EV.geny
author_rank: Newbie
timestamp: October 31, 2023, 03:04:05 pm
content: Quote from: Fraser on July 18, 2023, 10:43:55 amWhat exactly are these files provided to calibrate?

author: sergk
author_rank: Newbie
timestamp: November 08, 2023, 02:24:38 pm
content: Original script backups only part of filesystem, for example zImage (which is kernel image), but not /lib, where kernel modules are located (and they are unique for each kernel version/build), as you can see in init scripts some custom module loading (for example in usbcamerasetting.sh) happens, restoring only image from newer or older firmware version can lead to non working unit or parts of unit, so i suggest to backup full fs and explore it if you are interested. There is 3 interesting mount points:/dev/root 3.0G 306.5M 2.5G 11% //dev/mmcblk1p2 3.0G 306.5M 2.5G 11% /media/mmcblk1p2 (this is rootfs ( / ) in fact)/dev/mmcblk1p1 499.7M 7.5M 492.2M 2% /media/mmcblk1p1I've attached my version of backup script, it'll tar (without compression for speed reasons) all this 3 mount points, you can exclude one of / or /media/mmcblk1p2 if you don't want two copies.Script can run few minutes, executing instructions are same.

author: mabe
author_rank: Newbie
timestamp: December 24, 2023, 11:01:14 pm
content: I tryed the backup Script but recognized on the console that memory was used completely and OOM killer was doing his job.[ 348.791230] IRayCameraThrea invoked oom-killer: gfp_mask=0x200da, order=0, oom_score_adj=0Perhaps this should be investigated further before relying on the fact that everything has been secured.

author: Sercan
author_rank: Contributor
timestamp: December 29, 2023, 07:40:08 pm
content: I attempted the upload, but my UTi690B device is stuck on the 'Loading...' message during boot, and the loading bar isn't appearing. Do you have any suggestions on how I can resolve this issue?

author: Veteran68
author_rank: Frequent Contributor
timestamp: December 29, 2023, 11:26:15 pm
content: Quote from: Sercan on December 29, 2023, 07:40:08 pmDid you attempt to upgrade a v1.x firmware to v2.x, or vice versa? That will brick the unit, as you found out. Happened to me a few months ago, but I was able to recover it.Refer to thisthread. You'll have to open it up and solder header pins on the LVTTL UART port and use a RS-232 (or USB to RS-232) cable to login and restore the main firmware file, and possibly the UNI-T boot logo if you want it back.The UTi260B and UTi690B are identical, by the way. The 690B is an exclusive whitelabeled model sold only by Banggood.

author: Sercan
author_rank: Contributor
timestamp: January 14, 2024, 08:04:07 am
content: Quote from: Veteran68 on December 29, 2023, 11:26:15 pmExactly. It looks the same. I attempted to upgrade from version 1.x to 2.x.I have limited experience with connecting UART.Which command should I use for a factory reset (or firmware restore)?Do I need the 1.x firmware, or are the restore commands alone sufficient for recovery?

author: Veteran68
author_rank: Frequent Contributor
timestamp: January 14, 2024, 02:38:09 pm
content: There isn't any restore command. Yes you need to have a compatible 1.x firmware. You have to put the main firmware file and optionally the .bmp for the loading screen on an SD card, then boot up the camera with the serial cable installed and a terminal program opened. Then you login to the console and copy over the files from the SD mount point to the appropriate directory on the device.It's all documented in that thread.

author: Sercan
author_rank: Contributor
timestamp: January 31, 2024, 02:37:55 pm
content: I contacted Banggood, and they mentioned that they are awaiting a response from the manufacturer regarding the appropriate firmware for my device. I believe they are currently on holiday due to the Chinese New Year.If you have the 1.x.x firmware, would it be possible for you to share it? Alternatively, a friend of mine has version 1.1.23. How can I properly back it up to use it on my own device? My broken firmware version was v1.1.9.

author: Veteran68
author_rank: Frequent Contributor
timestamp: January 31, 2024, 04:28:07 pm
content: Quote from: Sercan on January 31, 2024, 02:37:55 pmYeah, they told me the same thing after I told them the v2 they sent bricked my unit. They were contacting Uni-T for a resolution and would get back with me. Nothing since. Uni-T isn't well known for having good support, especially for end users. I'd have thought they'd be more responsive to a partner they're providing custom products for, but I wouldn't hold my breath.Quote from: Sercan on January 31, 2024, 02:37:55 pmThis thread should contain firmware backups that others have saved using this backup script, that's where I got the version I used to restore mine. All you need should be found here on the forums. I'm not currently where I'd have firmware available to me and it's been too long ago for me to remember all the details.

author: Sercan
author_rank: Contributor
timestamp: February 08, 2024, 07:35:39 am
content: Banggood did not respond to my firmware request,so I downloaded the backup version 1.1.23 shared by Silicium81.Quote from: Silicium81 on July 18, 2023, 07:38:56 amI replaced the calibration file from my backup and placed all the files on an SD card in a folder named FWBackup.Then, I established a serial connection at a baud rate of 115200 using Putty. With the following user credentials, I accessed the Linux system.Username: rootPassword: uti160eThen, I successfully recovered the device by running the following commands.Code:cp -r /media/mmcblk0p1/FWBackup/etc/ /etc/cp -r /media/mmcblk0p1/FWBackup/usr/lib/ /usr/lib/cp -r /media/mmcblk0p1/FWBackup/ /root/Thanks folk!

author: Silicium81
author_rank: Regular Contributor
timestamp: February 08, 2024, 11:00:09 am
content: Good !Thank you for detailed method !

author: Kaputen
author_rank: Newbie
timestamp: February 29, 2024, 02:20:23 pm
content: Hi, here is my backup for the UTi260B, Version 1.2.2Hope it helps someone.https://mega.nz/file/ZXADBJbI#Uo30tTt16ITLV0nU_NN8Haa5xbTNUAUwgebzkQz_7WAIf anyone has other newer versions please upload them as I would like to try them, also compare them to try and see the differences.Even older versions are welcome.Kaputen

author: DFurno
author_rank: Newbie
timestamp: April 19, 2024, 08:11:57 pm
content: Greetings,I was searching for a firmware update for my UTi260B since I do not like the way that it saves the photographs with the annoying screen animation. It seems that I cannot find firmware that can disable the animation, so I suppose I will have to live with it unless someone has a method to change the way it works.In the meantime, I have noticed that my device has firmware 1.2.6 which I have uploaded for your consideration.https://mega.nz/folder/FC1xkIII#jdqtphIlcEomHfkVyVFm1Q

author: tunguyengevn
author_rank: Newbie
timestamp: August 09, 2024, 09:51:18 pm
content: Hello.I got UTi-260B stuck at 100% bar . do you have any instruction to upload firmware ?Thanks

author: OiD
author_rank: Regular Contributor
timestamp: August 13, 2024, 06:11:44 pm
content: Bit late but...UTi260B V1.2.28https://www.mediafire.com/file/b4x28v6nenos85v/Uti260B_v1.2.28.zip/fileMine will often boot back into Chinese for some reason. Wondering how to upgrade it hahaha

author: unit260buser
author_rank: Newbie
timestamp: September 05, 2024, 10:00:58 am
content: hi,please excuse my ignorance.My UNI-T 260B has Firmware 1.0.22 and it stutters like crazy when you move it, so annoyingMaking a backup seems easy with the SD Card script and I have downloaded someone's 1.1.23 and 1.2.28 backup version from the forum, any later version that still allows UVC would be an improvement...How can I install the versions from the backup?eg can i reverse the backup script and copy the files from SD Card to internal using the built-in "update" folder script execution? eg /media/ to /root/or does it need to be via a serial console? as root? will a STM ver 2 usb-serial adaptor work?which specific files are needed?UNI-T say they have no idea....so any assistance would be great

author: TA3UIS
author_rank: Contributor
timestamp: September 28, 2024, 07:33:47 pm
content: Quote from: kensei on September 24, 2023, 03:44:54 pmHi,Can you share firmware 1.2.30 or newer version for UTI260B ?

author: sawas
author_rank: Newbie
timestamp: November 23, 2024, 11:17:45 pm
content: Hello, may by have some one uit260A V1.0.29 backup bin file?

author: sawas
author_rank: Newbie
timestamp: November 25, 2024, 11:55:33 am
content: Hello can somebody help me to reanimate my device and get back to the life?

author: harm
author_rank: Contributor
timestamp: January 19, 2025, 03:32:02 pm
content: Quote from: Sercan on February 08, 2024, 07:35:39 amWanted upgrade firmware 1.26 to 1.2.28 (or 1.2.32), so connected to USB run the script and I was in. Made error with copying files and bricked my Uti260B.Hooked up wires RX/TX and connect with Putty (Hyperterminal). However kernel doesn't start because of failure:[ 2.654536] kjournald starting. Commit interval 5 seconds[ 2.660324] EXT3-fs (mmcblk1p2): using internal journal[ 2.665576] EXT3-fs (mmcblk1p2): recovery complete[ 2.670467] EXT3-fs (mmcblk1p2): mounted filesystem with ordered data mode[ 2.677408] VFS: Mounted root (ext3 filesystem) on device 179:2.[ 2.684954] devtmpfs: mounted[ 2.688615] Freeing unused kernel memory: 460K (80a15000 - 80a88000)[ 2.700425] Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.I'm stuck to the U-BOOT base system:switch to partitions #0, OKmmc1(part 0) is current deviceNet: CPU Net Initialization FailedNo ethernet found.Normal BootHit any key to stop autoboot: 0=>Within the U-BOOT tools I don't know how to restore files or .bin image.Is it possible to have a minimal kernel from SD card that can bring file system back to life where we can play around with (FWBackup) files??=> printenvbaudrate=115200boot_fdt=trybootcmd=if mmc rescan; then if run loadbootscript; then run bootscript; else iftest ${bootdev} = sd1; then echo update firmware.........; run update_from_sd; else echo mmc boot..........; if run loadimage; then run mmcboot; else run netboot; fi; fi; fi; else run netboot; fi;bootcmd_mfg=run mfgtool_args;bootz ${loadaddr} ${initrd_addr} ${fdt_addr};bootdelay=1bootdev=mmc2bootscript=echo Running bootscript from mmc ...; sourcechargestatus=completedconsole=ttymxc0ethprime=FECfdt_addr=0x83000000fdt_file=imx6ul-14x14-evk.dtbfdt_high=0xfffffffffilesize=38436image=zImageinitrd_addr=0x83800000initrd_high=0xffffffffip_dyn=yesloadaddr=0x80800000loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}mfgtool_args=setenv bootargs console=${console},${baudrate} rdinit=/linuxrc g_mass_storage.stall=0 g_mass_storage.removable=1 g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF g_mass_storage.iSerialNumber="" clk_ignore_unusedmmcargs=setenv bootargs console=${console},${baudrate} cma=64M root=${mmcroot}mmcautodetect=yesmmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdt_addr};else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT;fi; fi; else bootz; fi;mmcdev=1mmcpart=1mmcroot=/dev/mmcblk1p2 rootwait rwnetargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcpnetboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${image}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;panel=TFT28ABscript=boot.scrsplashimage=0x83800000update_emmc=mmc rescan; fatload mmc 0 ${loadaddr} /bin/${image}; fatload mmc 0${initrd_addr} /bin/ramdisk.img.u; fatload mmc 0 ${fdt_addr} /bin/${fdt_file};set bootargs console=${console},${baudrate} cma=64M rdinit=/linuxrc; bootz ${loadaddr} ${initrd_addr} ${fdt_addr};update_from_sd=run update_emmc;Environment size: 2484/8188 bytes=>Any help is very much appreciated.Harm

author: salavat
author_rank: Contributor
timestamp: February 16, 2025, 07:49:43 pm
content: Dump files for UTi260B version 1.1.20:https://github.com/salavatkhafizov/UTi260B/tree/main

author: ausdim
author_rank: Contributor
timestamp: February 17, 2025, 07:45:07 am
content: Quote from: harm on January 19, 2025, 03:32:02 pmIf i understand correctly and for that i remember, you have to copy those two files from root of your sd card to the root of your device.Use that command after you place those two files in root of your sd card:QuoteKeep on mind that you need known working files, if your device come with firmware 1.xx then use anything that start from 1.xx if you have 2.xx then use anything that starts from 2.xxThanks