AI RMA Documentation:AI AI Factory Tool Configuration
AI Factory Tool Configuration
You will need a switch box to be able to power on the AI and Ignition switches, a micro USB3 cable and a Wi-Fi. You will not need a programmer. Also a TORX Driver to open the case if needed.
Factory Toll passwords
idrive2#dev
New methodology
Factory Tool has now the ability to skip the AOSP install (see Idrive Settings). We needed this option here in RO, because there is a special station now where AOSP is loaded without using Factory Tool anymore. However, this option is not recommended in RMA process because a camera in RMA can have an old AOSP.
A very important change is in final test where the new firmware can now detect a "factory mode" based on a quick bluetooth scan at Ignition ON. So, you have a configure a bluetooth device (a phone or a PC with an USB bluetooth dongle) to be available for a scan under the name: IDRIVE-FACTORY
This can be easily done on a phone on both IOS / Android OS by changing the phone name. It can also be made on PC by changing the PC name...
So, before entering in final test and turning ON Ignition, make sure that an IDRIVE-FACTORY device is available for a bluetooth scan (there is no other communication between camera and the device, just a simple scan). During the bluetooth scan you will see the bluetooth icon flickering on camera display. If camera detectes the device, will talk and say "factory mode detected" (also displayed on the screen). From that moment, camera will enter in a factory mode and will internally check for GPS, cellular operators and accelerometter. If everything is fine you will see a "FACTORY OK" message on the display after a while and from that moment you can turn off ignition and connect the camera to Factory Tool.
There is no need to trigger a shock event anymore because the camera automatically triggers a 4 seconds live event when an IDRIVE-FACTORY device is detected...so, you can see how the lens are configured by playing the event in final test of the Factory Tool...
Download Tools
https://admincenter.idriveglobal.com/wiki/?title=Idrive_Downloads
Idrive Manufacturing - Factory Tool 3.7.8
AI Firmware – ASOP 9.0 – Factory Tool (this is the android OS for the camera)
AI Firmware – Firmware 42.6.287-3 (Latest Idrive firmware 7/11/23)
Install Tools
Factory Tool
Remove any old Factory Tool and install the new version
Idrive Development PW is idrive2#dev
Stage ASOP9
ASOP 9.0 & Firmware instructions from Radu:
Once the Factory Tool is installed, you have to go in c:\Program Files (x86)\idrive\FactoryTool2.0\Factory\FactoryToolsAI folder.
1. Aosp folder is the place where FT is looking for installing the Aosp (Android Operating System) on camera. By default this folder is empty and you have to populate it with the files from the aosp archive.
- Every time when a new AOSP is released, the files from Aosp folder should be replaced with the new files.
2. Firmware folder is auto-populated by the Factory Tool installer and should have the following structure:
- firmware.apk represents the current firmware version (41.8.209)
- updater.apk is a background application taking care about firmware and aosp upgrades / firmware crashes / background staffs. The current version is 1.0
- idrive_root is the place where we keep different files (neural networks, settings, etc)
- firmware.apk should be replaced every time when a new stable firmware is released. For example, if you have a new update.apk file, you can rename this file and copy it over firmware.apk. You have also to copy the same file over idrive_root/recovery.apk file
- The same mechanism should be used if we will upgrade updater.apk. That apk should also be copied over idrive_root/recovery_updater_app.apk.
- Any file from idrive_root folder is replaceable. In the future we can add / remove / replace any file from idrive_root
3. Tools folder should be leaved as it is 🙂
The Factory Tool is documented, but I don't have the documentation now 🙂 (Alexandra will send you all documents tomorrow morning) However the process is very similar with X2. There are AI settings in Idrive Development->Settings->Config and Install (see below)
(DO NOT CHANGE the "sleep seconds" fields for AI devices only).
Updating Firmware
The usb files are available in Idrive Downloads.
The updater_app.apk from archive is identical with the one from 41.8.209. You can ignore it if you choose to upgrade a 41.8.209 camera with an USB stick.
For Factory Tool (US / Mexico), you have to upgrade FactoryToolsAI folder:
- rename update.apk from archive with firmware.apk and copy it over FactoryToolsAI\Firmware\firmware.apk
- rename update.apk from archive with recovery.apk and copy it over FactoryToolsAI\Firmware\idrive_root\recovery.apk
- rename updater_app.apk from archive with updater.apk and copy it over FactoryToolsAI\Firmware\updater.apk
- rename updater_app.apk from archive with recovery_updater_app.apk and copy it over FactoryToolsAI\Firmware\idrive_root\recovery_updater_app.apk
Update Networks
Download Outside Camera Network 2.1.0 and Outside Camera Calibration Network 2.3.0 from Admin Center
Copy OutsideCameraAI.dlc, OutsideCameraCalibration.txt in Firmware\idrive_root folder
Install new facial recognition
Face Recognition Idrive archive from Idrive Downloads you can find 2 files: dlib_face_recognition_resnet_model_v1.dat and shape_predictor_5_face_landmarks.dat
copy these 2 files in FactoryToolsAI/Firmware/idrive_root folder of Factory Tool.
Android Drivers
Android usb driver: https://developer.android.com/studio/run/win-usb
Fastboot driver: https://drive.google.com/drive/folders/1D96njoYn-n3alu3ggaK3Kw8hMGLKhJVg
Install Google USB drivers https://developer.android.com/studio/run/oem-usb#InstallingDriver
Settings >Windows Update Settings> Optional Updates > Advanced options >Drivers >Android etc
Appendix E - Idrive AI Labels/Printing Documentation
ZT410 Printer Configuration
Label for AI Main PCB serial number/bar code label
1 ea Brady THT-103-727-10 - Placed on X1 Main Board at build time
Requires Ribbon R6000
1"X.25", White, Thermal, High Temp Polyimide, 1 per row, 3" core, 10k per roll
Brady Product description: http://www.bradyid.com/bradyid/pdpv/THT-103-727-10.html
Catalog page: http://www.bradyid.com/downloads/ISD_148.pdf
- Serial number Example: 025821100001
- Bar Code of serial number (Code 128)