mcchas / g2h-camera-mods

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

G2H Stuck on a loop #36

Open nedisonn opened 2 years ago

nedisonn commented 2 years ago

I've accidentally overwritten the S90app file with the hostname file. I tried getting access through UART but no luck, I can read the logs but can't write into it. It loads fine until it loads the S90app script and it gets stuck in the loop. Is there a way I can access this file and revert what I did? It literally has the normal log, I overwrote the S90app with a code that had a loop, so when it starts that it gets stuck, I would need to find a way to reoverwrite that file but I can't seem to be able to, any ideas? I tried booting with rootfs and no luck also... UART_ROOTFS.txt UART_DUMP.txt

mcchas commented 2 years ago

@nedisonn that is unfortunate. The camera program is what tries to run the missing hostname command so if that never starts there is not much I can think of that you can do here (if the network is not up). The init scripts that run before S90app don't really offer any way in but you can definitely revive this by directly accessing the SPI flash rom.