This project is no longer being maintained.
If you're looking for mjsxj05cm check this project: https://github.com/cmiguelcabral/mjsxj05cm-hacks
For mjsxj02cm keep reading.
Mi Camera Hacks
📹 RTSP Is Here!
Keep calm and follow the procedure!
Seriously now: it's still in beta, please read everything before continuing.
Supported Cameras
For now this is it...
Model Name(s) | Picture |
---|---|
MJSXJ02CM |
Features
Feature list
- RTSP Server
- Web Configuration Interface
- SSH Server
- SFTP Server
Install Instructions
The hacks exploits a flaw in firmware version 3.4.2_0062, please read the instructions very carefully!!
-
If you have firmware version 3.4.2_0062, go to Install the hacks
-
If you have another firmware version, go to Downgrade the Firmware
View camera firmware version
- Configure the camera using the Mi Home app
- Open the camera in the app and touch the 3 dots in the upper right corner
- Select the option "General Settings", and then "Check for firmware upgrades"
- The current firmware version is presented on the screen
Downgrade the Firmware
You will lose the camera configuration!
- Grab tf_recovery.bin file from here.
- Put the file in the root of your SD Card (don't change the name!)
- Power down the camera and insert the SD Card
- Power on the camera and wait, the led will be a solid yellow while the firmware is flashing (this will take several minutes!)
- When the camera starts rotating and asking for the QR code, it's done.
- Go to "Install the hacks" below.
Install the hacks
- Configure the camera using the Mi Home app
- Download the latest release from releases
- Copy the contents of "sdcard" folder to the root of your SD Card
- Power off the camera and insert the SD Card
- Power on the camera
- Find the IP address of your camera
- Open the web config interface o the camrea on your browser: http://<your-camera-ip/
FAQ
I can't downgrade the firmware, I follow the instructions but nothing happens.
Thy another SD Card. This actually happens a lot, trying a different SD Card usually solves it.
The RTSP stream is corrupted / stops working after a while.
The RTSP server is still in alpha stage.
You may see some corrupted frames here and there, and the server may stop working after a few hours (restarting the camera solves it). We're working on it, but if a 100% stable video stream is critical for you, then it's still not ready.
I'm worried about security, can I create/modify the [hack] password?
Security is in the roadmap, but still not the primary focus. Right now you'll have to secure the camera by making sure it's only accessible on your private network, and that your network is secure.
These Guys are Awesome
Huge thanks to everyone who contributed!