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://github.com/psolyca/Xiaomi_Yi...ba_fwpak_yi.py (only for 4k not 4k+)
I also modified the script to extract romfs (ROMFS or DSP uCode ) : https://github.com/psolyca/Xiaomi_Yi...ba_romfs_yi.py
Custom firmware - Copy the firmware on the SDCard and rename it firmware.bin
Firmware 1.10.9 v0.9
Firmware 1.10.9 v0.8
Firmware 1.10.9 v0.7
Firmware 1.10.7 v0.6
Changelog
General information
Wi-fi instructions
Instruction on the wiki
Events manager instructions
Instruction on the wiki
More to come...
Github repositories :
Update :
Thanks :
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://github.com/psolyca/Xiaomi_Yi...ba_fwpak_yi.py (only for 4k not 4k+)
I also modified the script to extract romfs (ROMFS or DSP uCode ) : https://github.com/psolyca/Xiaomi_Yi...ba_romfs_yi.py
Custom firmware - Copy the firmware on the SDCard and rename it firmware.bin
This new firmware run a python script in the background, I did not test battery discharge.
Firmware 1.10.9 v0.9
Firmware 1.10.9 v0.8
Firmware 1.10.9 v0.7
Firmware 1.10.7 v0.6
Changelog
- See 1.10.9 commit
General information
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
More to come...
- 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)
- other ?
Github repositories :
- for firmware modification : Yi 4k rootfs
- for firmware (un)packing : Xiaomi Yi 4k Camera (unpacker branch)
- modified remote API : Yi4kAPI
- modified command : cmdYi
Update :
- 13/09/18 : Add events callback (aka event manager)
- 08/25/18 : Fix EOL for configuration files on the SDCard
- 08/22/18 : Add instructions for wifi configuration
- 08/08/18 : Fix station mode for 1.10.9 firmware (fix loop if configured AP is not found)
- 07/30/18 : New 1.10.9 firmware
Thanks :
- Original Gangsters for dji-firmware-tools
- NikolayRag for Yi4kAPI and cmdYi base
- Thanks jacques, for testing and feeback.
Comment