TESTED ONLY ON Yi 4k i.e. Z16V13/14L**, should work on all Z16V12L to Z16V18L.
To control my cam, I prefer to use the station mode of Wi-Fi cause I do not want to switch between wifi tethering and wifi station on my phone everytime I want to use my cam.
I needed a way to unpack and repack my firmware easily, thus I have created python scripts heavely inspired from dji-firmware-tools.
Get it here : https://raw.githubusercontent.com/p...a/unpacker/firmware_unpacker/amba_fwpak_yi.py (only for 4k not 4k+)
I also modified the script to extract romfs (ROMFS or DSP uCode ) : https://raw.githubusercontent.com/p...a/unpacker/firmware_unpacker/amba_romfs_yi.py
Custom firmware - Copy the firmware on the SDCard and rename it firmware.bin
Changelog
Wi-fi instructions
Instruction on the wiki
Events manager instructions
Instruction on the wiki
Scripts booting
For events boot, a file called "events_boot.py" should be created in the events folder (file template)
For bash script, a file called "bootcmd.sh" should be created on the root of the SDCard (no file template)
More to come.../ Todo list
To control my cam, I prefer to use the station mode of Wi-Fi cause I do not want to switch between wifi tethering and wifi station on my phone everytime I want to use my cam.
I needed a way to unpack and repack my firmware easily, thus I have created python scripts heavely inspired from dji-firmware-tools.
Get it here : https://raw.githubusercontent.com/p...a/unpacker/firmware_unpacker/amba_fwpak_yi.py (only for 4k not 4k+)
I also modified the script to extract romfs (ROMFS or DSP uCode ) : https://raw.githubusercontent.com/p...a/unpacker/firmware_unpacker/amba_romfs_yi.py
Custom firmware - Copy the firmware on the SDCard and rename it firmware.bin
Firmware 1.10.52 based on 1.10.9
Firmware have now a custom number when installing.
To be able to debug please add the firmware version to any question (see "menu/hardware information/version").
The first of that kind is the 1.10.50.
This firmware run a python script in the background when events manager is loading, I did not test battery discharge.
Changelog
- See 1.10.52 commits
If you want to make your own firmware, feel free to grab a diff and patch your firmware.
This firmware has also the ability to load a script named Wifi.sh on STA.DEBUG or AP.DEBUG folders on the SDCard essentially for debugging purpose (station and AP mode).
Wi-fi instructions
Instruction on the wiki
Events manager instructions
Instruction on the wiki
Scripts booting
For events boot, a file called "events_boot.py" should be created in the events folder (file template)
For bash script, a file called "bootcmd.sh" should be created on the root of the SDCard (no file template)
More to come.../ Todo list
update to 1.10.9 firmware- clean uneeded files unless other hardware configuration exist,
- BT control by phone, do not know if possible,
Launch script(s) on USB connection (power or other)- custom shutter speed in video mode instead of auto
- loops (recorded in 10x slowmotion ) to be shorter
- other ?
- for firmware modification : Yi 4k rootfs
- for firmware (un)packing : Xiaomi Yi 4k Camera (unpacker branch)
- modified remote API : Yi4kAPI
- modified command : cmdYi
- 20/12/20 : Wifi scripts redone, custom connections, Ethernet-over-USB
- 20/07/15 : Stuffs and bug fixes
- 18/11/07 : Add boot scripts
- 18/09/13 : Add events callback (aka event manager)
- 18/08/25 : Fix EOL for configuration files on the SDCard
- 18/08/22 : Add instructions for wifi configuration
- 18/08/08 : Fix station mode for 1.10.9 firmware (fix loop if configured AP is not found)
- 18/07/30 : New 1.10.9 firmware
- Original Gangsters for dji-firmware-tools
- NikolayRag for Yi4kAPI and cmdYi base
- Thanks jacques, @Leo_SF for testing and feeback.
Last edited: