Aw100 Firmware Hack
I have yet to find a USB 3.0 card that will work without some kind of crazy firmware hack yet. From what I have read, I would not hold my breath for one anytime soon. I know your pain, I just purchased a new Mac Pro three months ago. Sjstremb's gear list:sjstremb's gear list. Nikon Coolpix AW100 Sony.
Why another Yi firmware?
The answer is simple: missing updates, RTSP and not based on the latest stock firmware (which features improvements and new cool stuff). The effort and work that has been put into the other projects is great and without them the making of this new version wouldn't be possible.
RTSP Server
I've been working on a functional RTSP implementation for the past 3 months. After that I published on Discord the first working closed-beta, available to supporters only.Since then I fixed some issues with Xiaomi's H264 encoder that happened to hang ffmpeg of Shinobi and Home Assistant.
Now everything works as it should and the app functionalities are intact (but they can be disabled if you want).
Tested on the following platforms (but it should work with anything that accepts an RTSP stream:
- Home Assistant
- Shinobi
- Zoneminder
- Synology Surveillance Station
I'm really thankful to those who supported the project and helped me by donating or sending me new cameras to test on, therefore I would like to reward them allowing to be the first ones to test the new functionalities.
Furthermore, installing the wrong Lexmark drivers can make these problems even worse. Lexmark X5470 drivers are tiny programs that enable your Inkjet Multi Function Printer hardware to communicate with your operating system software. Maintaining updated Lexmark X5470 software prevents crashes and maximizes hardware and system performance. Using outdated or corrupt Lexmark X5470 drivers can cause system errors, crashes, and cause your computer or hardware to fail. Recommendation: If you are inexperienced with updating Lexmark device drivers manually, we highly recommend downloading the. Lexmark x5470 win8 driver update.
Here's a quick guide on how to enable it: Enable RTSP Server.
Table of Contents
Features
This firmware will add the following features:
- NEW FEATURES
- NEW CAMERAS SUPPORTED: Yi Outdoor 1080p and Yi Cloud Dome 1080p.
- RTSP server - which will allow a RTSP stream of the video while keeping the cloud features enabled (available to the supporters of the project).
- viewd - a daemon to check the
/tmp/view
buffer heads/tails location (needed by the RTSP). - MQTT - detect motion directly from your home server!
- WebServer - user-friendly stats and configurations.
- SSH server - Enabled by default.
- Telnet server - Disabled by default.
- FTP server - Enabled by default.
- Web server - Enabled by default.
- Proxychains-ng - Disabled by default. Useful if the camera is region locked.
- The possibility to disable all the cloud features while keeping the RTSP stream.
- In development:
- ONVIF
- A static image snapshot from the web interface.
Aw100 Firmware Hack Free
This firmware might add:
- Alarm functionality via Telegram (@frekel's PR #177 in yi-hack-v3)
- Auto upload of the recorded footage to the cloud (eg. Google Drive, Dropbox, etc.)
- Rotation control (on Yi Dome versions of the camera) without need for the app.
- You decide, just open an issue with the request.
Supported cameras
Currently this project supports the following cameras:
- Yi Home 17CN / 27US / 47US
- Yi 1080p Home
- Yi Dome
- Yi 1080p Dome
- Yi 1080p Cloud Dome
- Yi 1080p Outdoor
Getting Started
Check that you have a correct Xiaomi Yi camera. (see the section above)
Get an microSD card, preferably of capacity 16gb or less and format it by selecting File System as FAT32.
IMPORTANT: The microSD card must be formatted in FAT32. exFAT formatted microSD cards will not work.
- Get the correct firmware files for your camera from this link: https://github.com/TheCrypt0/yi-hack-v4/releases
Camera | rootfs partition | home partition | Remarks |
---|---|---|---|
Yi Home | - | - | Not yet supported. |
Yi Home 17CN / 27US / 47US | rootfs_y18 | home_y18 | Firmware files required for the Yi Home 17CN / 27US / 47US camera. |
Yi 1080p Home | rootfs_y20 | home_y20 | Firmware files required for the Yi 1080p Home camera. |
Yi Dome | rootfs_v201 | home_v201 | Firmware files required for the Yi Dome camera. |
Yi 1080p Dome | rootfs_h20 | home_h20 | Firmware files required for the Yi 1080p Dome camera. |
Yi 1080p Cloud Dome | rootfs_y19 | home_y19 | Firmware files required for the Yi 1080p Cloud Dome camera. |
Yi Outdoor | rootfs_h30 | home_h30 | Firmware files required for the Yi Outdoor camera. |
- Save both files on root path of microSD card.
IMPORTANT: Make sure that the filename stored on microSD card are correct and didn't get changed. e.g. The firmware filenames for the Yi 1080p Dome camera must be home_h20 and rootfs_h20.
Remove power to the camera, insert the microSD card, turn the power back ON.
The yellow light will come ON and flash for roughly 30 seconds, which means the firmware is being flashed successfully. The camera will boot up.
The yellow light will come ON again for the final stage of flashing. This will take up to 2 minutes.
Blue light should come ON indicating that your WiFi connection has been successful.
Go in the browser and access the web interface of the camera as a website. By default, the hostname of the camera is
yi-hack-v4
. Access the web interface by entering the following in your web browser: http://yi-hack-v4
Depending upon your network setup, accessing the web interface with the hostname may not work. In this case, the IP address of the camera has to be found.
This can be done from the App. Open it and go to the Camera Settings --> Network Info --> IP Address.
Access the web interface by entering the IP address of the came in a web browser. e.g. http://192.168.1.5
IMPORTANT: If you have multiple cameras. It is important to configure each camera with a unique hostname. Otherwise the web interface will only be accessible by IP address.
- Done! You are now successfully running yi-hack-v4!
Unbrick your camera
TO DO - (It happened a few times and it's often possible to recover from it)
Acknowledgments
Aw100 Firmware Hack Software
Special thanks to the following people and projects, without them yi-hack-v4
wouldn't be possible.
- @shadow-1 - https://github.com/shadow-1/yi-hack-v3
- @fritz-smh - https://github.com/fritz-smh/yi-hack
- @niclet - https://github.com/niclet/yi-hack-v2
- @xmflsct - https://github.com/xmflsct/yi-hack-1080p
- @dvv - Ideas for the RSTP stream
- @andy2301 - Ideas for the RSTP rtsp and rtsp2301
DISCLAIMER
Aw100 Firmware Hack
I AM NOT RESPONSIBLE FOR ANY USE OR DAMAGE THIS SOFTWARE MAY CAUSE. THIS IS INTENDED FOR EDUCATIONAL PURPOSES ONLY. USE AT YOUR OWN RISK.