Fix Xiaomi Yi Ant Camera connected through serial port, TTL, UART-Serial connection

Jonas Moreira
Jonas Moreira
10.4 هزار بار بازدید - 8 سال پیش - Step by step to recover
Step by step to recover your Xiaomi Yi Ant Camera live again. This tutorial works for my case and never see again the message on log error "No space left on device" or the Chinese voice "Wi-fi password wrong" Version camera, used in this video, is 22CNxx Required hardware: - Device with a serial port USB-to-Serial adapter as I did. (PL2303HX USB Adaptor Replaces FT232 USB-TTL UART 3.3-5V): Buy where: http://s.click.aliexpress.com/e/vrnMBEY - US $0.67 - PC (with windows) in my case W10 Required software: - Download PuTTY from http://viid.me/qj5mrf - Drivers for USB-to-Serial adapter from http://viid.me/qkatxq Note: Install the drivers BEFORE plugin in the adapter on your PC. After start: - Open Device Manager application on your Windows and plug-in USB-to-Serial adapter to PC. Wait until you will see under "Ports (COM & LPT)". Look for the port name, in my case the port is COM5. Step 1: Open PuTTY In "Connection type" select "Serial". In "Serial line" put your port name, in my case COM5. In "Speed" put 115200. Click "Open". If you don't get any error message and see a black screen in PuTTY, you are successfully connected to the adapter. Now close PuTTY window and unplug the adapter to connect it to the camera. Step 2: - With the adapter and the camera unplugged, connect the camera to the adapter. Connect TX pin in the camera to RX pin in the adapter. Connect RX pin in the camera to TX pin in the adapter. Connect GND pin to GND pin. Step 3: - Connect the adapter to the PC (with the camera connected to it). Open Device Manager to check that the adapter was recognized. Open PuTTY and repeat the step number 1 Step 4: - After Open in PuTTY and having the black screen displayed, then connect the camera to the power. You will start seeing the boot commands in the PuTTY window. It will first load U-Boot and then try to boot the Linux OS in the camera. Step 5: - Unplug the camera. Now plug the camera and IMMEDIATELY start pressing Control+C several times to stop linux boot. When stopped you will be in U-boot. Execute this commands: 1. This command show the current value of bootargs variable printenv bootargs ex: 2. This add a value to end of bootargs variable setenv bootargs (value of 1.) single ex: 3. Check the single string as at end of bootargs variable printenv bootargs ex: 4. Save changes saveenv Step 6: - Unplug camera Plug camera The Camera SO will boot and you will have shell access and you can run any linux command to delete files or whatever you want to do. In my case, need to remove one file (info.zip) to get a little space on device. Step 7: - After doing the changes in your camera. Unplug it. Plug the camera and immediately start pressing Control+C several times to stop linux boot. Like Step 5 When stopped you will be in U-boot. Now you need to restore bootargs variable and remove the string added on Step 5 (single) Execute this commands: 1. This command show the current value of bootargs variable printenv bootargs 2. This add a value to end of bootargs variable setenv bootargs (value of 1. without string single) 3. Check the single string not exist at end of bootargs variable printenv bootargs 4. Save changes saveenv Step 8: - Unplug and close your camera. - Download the last firmware available for your model from http://viid.me/qj5F04 - Put the home file on SD card and insert SD on your camera to update the firmware. Step 9: Install the "MI HOME" APP - Android: http://viid.me/qj5GG8 - iOS: http://viid.me/qj5HrB Enjoy ;)
8 سال پیش در تاریخ 1395/11/16 منتشر شده است.
10,445 بـار بازدید شده
... بیشتر