# Xiaomi Yi Action Camera hacking

- Link: https://tongfamily.com/2016/03/20/xiaomi-yi-action-camera-hacking/
- Published: 2016-03-20T12:31:12-07:00
- Author: rich

I’ve been busy recovering lots of camera work. The latest is getting the Xiaoyi 
cameras working again. Some quick notes:

 1. [Tawbaware.com](http://www.tawbaware.com/xiaomiyi.htm). It has a 12Mp Sony sensor
    and a Ambarella A7 processor just like the GoPro Hero 4. You can actually changed
    the fixed focus by rotating the ring. It is set to be in focus a few feet away 
    to infinity. You can also have it generate RAW files which a DOS utility can convert
    to a DNG file. You can also turn down the JPEG smoothing as well. And also turn
    up the video camera to 2.5Kp30 from 1080p60.
 2. [Dashcamhack.com](https://dashcamtalk.com/forum/) is the best forum on hackers 
    working through the various settings with various [firmwares](https://dashcamtalk.com/forum/threads/xiaomi-yi-custom-firmware-with-lastest-revision.13557/)
    available with the most current being 1.2.13.
 3. [Wifi STA mode](https://dashcamtalk.com/forum/threads/camera-wifi-in-client-mode-working-ash-script-inside.12239/).
    This means it can join an existing Wifi network by writing a wpa_supplicant.conf
    file and have a watchdog.sh script kicked off from autoexec.ash
 4. [Xiaomi_yi](https://github.com/deltaflyer4747/Xiaomi_Yi). This is a simple controller
    that runs on Mac, Linux and Windows to control your camera via it’s onboard wifi.
    By default, you get a wifi network with a default password `123456890` and you 
    can run the camera with python scripts.
 5. [autoexec.ash configurations](https://github.com/funneld/XiaomiYi/tree/master/autoexec.ash).
    You can hack the thing by putting various files on the SD card. The most important
    is autoexec.ash which runs when you boot the action camera. The settings are all
    collected so for example `writel 0xC05C2C8C 0x05A00A00` will create a resolution
    of 2560×1440 30P and then the bit rate `writew 0xC05C1E52 0x4190` sets the bit 
    rate to 18Mbps and if you set that address to 0x4190 you will get 30Mbps. But make
    sure you have a microSD card that can write that fast.
 6.   |   |   |
 7. You can also create a file so that you can telnet into a running camera.

Here are some links:

 * [XYC Configurator](https://github.com/alex-agency/XYC). Runs on the XiaoYi camera
   and auto configures the autoexec.ash
 * During runtime, the SD card is mounted at `/tmp/fuse-d`

### Share this:

 * [  Mastodon ](https://tongfamily.com/2016/03/20/xiaomi-yi-action-camera-hacking/?share=mastodon)
 * [  LinkedIn ](https://tongfamily.com/2016/03/20/xiaomi-yi-action-camera-hacking/?share=linkedin)
 * [  Facebook ](https://tongfamily.com/2016/03/20/xiaomi-yi-action-camera-hacking/?share=facebook)
 * [  WhatsApp ](https://tongfamily.com/2016/03/20/xiaomi-yi-action-camera-hacking/?share=jetpack-whatsapp)
 * [  Email ](https://tongfamily.com/2016/03/20/xiaomi-yi-action-camera-hacking/?subject=%5BShared%20Post%5D%20Xiaomi%20Yi%20Action%20Camera%20hacking&body=https%3A%2F%2Ftongfamily.com%2F2016%2F03%2F20%2Fxiaomi-yi-action-camera-hacking%2F&share=email)
 * [More](https://tongfamily.com/2016/03/20/xiaomi-yi-action-camera-hacking/#)

 * [  Telegram ](https://tongfamily.com/2016/03/20/xiaomi-yi-action-camera-hacking/?share=telegram)
 * [  Print ](https://tongfamily.com/2016/03/20/xiaomi-yi-action-camera-hacking/#print?share=print)
 * [  Pinterest ](https://tongfamily.com/2016/03/20/xiaomi-yi-action-camera-hacking/?share=pinterest)
 * [  Tumblr ](https://tongfamily.com/2016/03/20/xiaomi-yi-action-camera-hacking/?share=tumblr)
 * [  X ](https://tongfamily.com/2016/03/20/xiaomi-yi-action-camera-hacking/?share=twitter)

### Like this:

Like Loading…
