Xiaomi common hack for cameras (Mijia 360)
Many files on the Mijia 360 are writable. Be very careful when you modify files on it, you might brick it forever.
Special thanks go to fritz-smh : https://github.com/fritz-smh/yi-hack
This xiaomi_hack project has been totally inspired from its own project.
This project is a collection of scripts and binary files to hack various Xiaomi cameras :
These cameras have the following default features :
This hack intends to provide following features :
The memory card must stay in the camera ! If you remove it, the camera will start without using the hack.
Clone this repository on a computer :
git clone http://github.com/niclet/xiaomi_hack.git
Then, format a micro SD card in fat32 (vfat) format and copy the content of the xiaomi_hack/sd/ folder at the root of your memory card.
The camera will start. The led will indicate the current status :
The telnet server runs on port 23.
Default password for root user is imi_ipc
The FTP server runs on port 21.
No authentication is needed, you can use anonymous user.
The RTSP server is not yet available.
You can customize timezone in the config.cfg file with the XIAOMI_HACK_TIMEZONE variable.
Following voices are available:
For now, it is just a proof of concept. Many work has still to be done.
ext-pro.sh Mijia 360 camera backdoor xiaomi_hack/ Hacks folder config.cfg Configuration file logs/ Logs folder, you'll find various logs there mijia360/ Mijia 360 hack audio/ common/ This folder contains sounds files which doesn't require any translation en/ This folder contains English voices fr/ This folder contains French voices bin/ tcpsvd TCP Service Daemon (http://smarden.org/ipsvd/index.html) to launch FTP Server Daemon (ftpd) sh/ miio_post.sh This script is run after official miio.sh miio_pre.sh This script is run before official miio.sh shadow.backup Backup of original /etc/shadow, don't modify it in anyway !
Each camera hack can be customized from its config.cfg file.
Custom voices are still in beta stage, you may still hear Chinese voices. That's why audio logs are activated through XIAOMIHACKLANGUAGE_TRACES=YES
In this case, a log file called mijia360_audio.log will appear in xiaomi_hack/logs folder. If you hear Chinese voice, please open a bug report and provide this log file.