niceboygithub / AqaraGateway

Aqara Gateway/Hub integration for Home Assistant
521 stars 65 forks source link

My G2H PRO is bricked #265

Open Guizzan opened 5 months ago

Guizzan commented 5 months ago

I had firmware 3.34 on my Aqara G2H PRO out of the box and I enabled telnet using this guide: https://github.com/Wh1terat/aQRootG3 After that I followed the guide for connecting to home assistant and enabling rtsp. This didn't work for me that's why I made some changes on post_init.sh.

I edited post_init.sh script like this:

#!/bin/bash
fw_manager.sh -r
fw_manager.sh -t -k
killall -9 mosquitto; /data/bin/mosquitto -d
pkill rtsp
rtsp &

Using this configuration one of my camera works perfectly but another one doesn't boot up (stuck on yellow light after powering up). How can I recover my camera?

I tried to flash firmware (https://github.com/niceboygithub/AqaraCameraHubfw/tree/main/stock/G2HPro) using the guide provided here: https://github.com/wizardofozzie/aqara_g2hpro_hack but no luck...

niceboygithub commented 5 months ago

The "post_init.sh" still works in latest firmware.

Guizzan commented 5 months ago

@niceboygithub, right now my camera is not booting up. How can I fix it? I looked for different firmware files but I couldn't find any after an hour of search.

niceboygithub commented 5 months ago

Then open it then wire out the UART to get the boot log.

Guizzan commented 5 months ago

IMG_0262 How to find rx and tx pins here?

niceboygithub commented 5 months ago

Use the rx pin of the USB2TTL to connect every touch point while rebooting the G2H pro.