Giter VIP home page Giter VIP logo

wired-dev / yi-hack-v5 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alienatedsec/yi-hack-v5

0.0 0.0 0.0 998 KB

Even newer Custom Firmware for Xiaomi Cameras based on Hi3518ev200 Chipset. It includes free RTSP, ONVIF and other improvements based on the work by roleoroleo

License: GNU General Public License v3.0

Shell 23.75% C 28.55% Makefile 2.12% C++ 17.93% CSS 0.71% HTML 20.40% JavaScript 6.51% Awk 0.04%

yi-hack-v5's Introduction

Official Discord Server Releases Downloads

Why this Yi-Hack-V5 firmware?

The answer is simple: missing updates, RTSP and not based on the latest stock firmware (which features improvements and new cool stuff). Besides, there were no updates to Yi-Hack-V4, and I am really against that RTSP licensing model. I have contributed enough and will continue my work separately.

I am slowly releasing beta versions, and I can see lots of downloads, testing and contributions. A big thank you to the community.

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 all and its free).
    • 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.
    • The possibility to change some camera settings (copied from the official app):
      • camera on/off
      • video saving mode
      • detection sensitivity
      • status led
      • ir led
      • rotate
    • PTZ support through a web page.
    • Snapshot feature
    • 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.

Supported cameras

Currently this project supports the following cameras:

  • Yi 1080p Home 48US - confirmed
  • Yi 1080p Home 20US - confirmed
  • Yi Home 17CN / 27US / 47US - confirmed
  • Yi Dome - confirmed, but heavy performance issues with Snapshot and ONVIF is killing the CPU
  • Yi 1080p Dome - confirmed; however, I have no device to test
  • Yi 1080p Cloud Dome - confirmed; however, I have no device to test
  • Yi 1080p Outdoor - confirmed; however, I have no device to test

Getting Started

  1. Check that you have a correct Xiaomi Yi camera. (see the section above)

  2. 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. I have not formatted any of my 32GB cards in order to load the firmware. Just copy files directly and it should work.

How to format microSD cards > 32GB as FAT32 in Windows 10

For microSD cards larger than 32 GB, Windows 10 only gives you the option to format as NTFS or exFAT. You can create a small partition (e.g 4 GB) on a large microSD card (e.g. 64 GB) to get the FAT32 formatting option.

  • insert microSD card into PC card reader
  • open Disk Management (e.g. Win+x, k)
    • Disk Management: delete all partitions on the microSD card
      • right click each partition > "Delete Volume..."
      • repeat until there are no partitions on the card
    • Disk Management: create a new FAT32 partition
      • right click on "Unallocated" > "New Simple Volume..."
      • Welcome to the New Simple Volume Wizard: click "Next"
      • Specify Volume Size: 4096 > "Next"
      • Assign Drive Letter or Path: (Any) > "Next"
      • Format Partition: Format this volume with the following settings:
        • File system: FAT32
        • Allocation unit size: Default
        • Volume label: Something
        • Perform a quick format: โ˜‘

You should now have a FAT32 partition on your microSD card that will allow the camera to load the firmware files to update to yi-hack-v5.

Example: 4 GB FAT32 partition on 64 GB microSD card

example: 4 GB FAT32 on 64 GB

Alternative way:

  • open cmd with admin permissions
  • run diskpart
  • type "list disk"
  • find your sd card (for example Disk 7)
  • type "select disk 7"
  • if it has one partition - type "select partition 1". If more - delete all the partitions and then create one
  • type "format FS=FAT32 QUICK"
  • done. 32GB partition in FAT32.

  1. Get the correct firmware files for your camera from this link: https://github.com/alienatedsec/yi-hack-v5/releases
Camera rootfs partition home partition Remarks
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.
  1. Save both files and the folder 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.

  1. Remove power to the camera, insert the microSD card, turn the power back ON.

  2. 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.

  3. The yellow light will come ON again for the final stage of flashing. This will take up to 2 minutes.

  4. Blue light should come ON indicating that your WiFi connection has been successful.

  5. Go in the browser and access the web interface of the camera as a website.

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:8080

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.

  1. Done! You are now successfully running yi-hack-v5!

Unbrick your camera

TO DO - (It happened a few times and it's often possible to recover from it)

Acknowledgments

Special thanks to the following people and projects, without them yi-hack-v5 wouldn't be possible.

Acknowledgments #2

As much as TheCrypt0 has made it possible for the 'yi-hack-v4', the latest features are based on the work from:


DISCLAIMER

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.

DONATIONS

I HAVE BEEN ASKED FOR A LINK MULTIPLE TIMES; THEREFORE, PLEASE FOLLOW THE BELOW

paypal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.