mcchas / g2h-camera-mods

Modifying the G2H camera with rtsp, security and not to call home
MIT License
107 stars 14 forks source link

Discussion: Which latest version is verified to be working? #38

Open mouth4war opened 2 years ago

mouth4war commented 2 years ago

Since there is a hex search and replace, does it work with latest firmware 2.2.5_0003.0616? Has anyone tried successfully?

Is 2.2.1 the last known working firmware?

jarekmodra commented 2 years ago

I have run the hostname script with a fat32 ssd and it worked on the 1st go.

nielspeen commented 1 year ago

I can confirm it works with 2.2.5_0003.0616.

One issue I did run into: on first boot, with the sdcard inserted, the RTSP server started but there were no streams. Restarting the camera without the sdcard fixed this.

mouth4war commented 1 year ago

Homekit still works?

nielspeen commented 1 year ago

Homekit still works?

Yes

mouth4war commented 1 year ago

Got it to work with some fiddling. Changed the ntp server pool to a local one. Ran a reverse script seen in one of the forks first.

A new firmware is out 2.2.6. I'm staying with 2.2.5

trinitrion commented 1 year ago

2.2.7 is out and the Hostname trick does not seem to work (1st time to try out). Any different experiences?

th3cube commented 2 months ago

2.2.7 is out and the Hostname trick does not seem to work (1st time to try out). Any different experiences?

im on 2.2.7 and it did not work. Is there a way to downgrade without opening the device?

mcchas commented 2 months ago

2.2.7 is out and the Hostname trick does not seem to work (1st time to try out). Any different experiences?

im on 2.2.7 and it did not work. Is there a way to downgrade without opening the device?

There is no need to open it as you should still be able to access the serial console with a modified USB cable - see the readme

th3cube commented 2 months ago

That’s great. I can get an FTDI adapter but can you point me to the right direction for how to get the older firmware and flash it?

mcchas commented 2 months ago

That’s great. I can get an FTDI adapter but can you point me to the right direction for how to get the older firmware and flash it?

Someone has uploaded them here https://github.com/niceboygithub/AqaraCameraHubfw/tree/main/original/G2H. You could just replace the single 'camera' executable to downgrade the version (use binwalk to extract it from those files - or I can provide a copy). It depends what you want to achieve, once you have shell access you could also just run this hostname script manually.