networkcameracritic
Getting the hang of it
- Mar 10, 2014
- 717
- 203
I don't see why not, it's been done before with 5.2.0 that someone posted.
I took a look extracting initrd from mtd11 and having trouble. There's a 64 byte header, then a gzip file, When I extract this from the MTD11 dump, the file has a standard GZIP header, the only quirk is the flag is 08 which is a reserved flag and can't find much info on that and get a corruption error, even using gunzip on the camera. So the Magic header looks like this
1F 8B - GZip Magic Number
08 - compression method - deflate
08 - flags - ??? reserved
83 59 BF 53 - file mod time
02 - extra flags
03 - OS type - Unix
initrd - initial file name - zero terminated
My best guess is I can copy MTD11 from the hacked camera to an unhacked camera, but that would not help the cause of providing a firmware update with this. If I can un-zip MTD11 to initrd, I can see if there's a difference in a certain file and then update that in the firmware.
I took a look extracting initrd from mtd11 and having trouble. There's a 64 byte header, then a gzip file, When I extract this from the MTD11 dump, the file has a standard GZIP header, the only quirk is the flag is 08 which is a reserved flag and can't find much info on that and get a corruption error, even using gunzip on the camera. So the Magic header looks like this
1F 8B - GZip Magic Number
08 - compression method - deflate
08 - flags - ??? reserved
83 59 BF 53 - file mod time
02 - extra flags
03 - OS type - Unix
initrd - initial file name - zero terminated
My best guess is I can copy MTD11 from the hacked camera to an unhacked camera, but that would not help the cause of providing a firmware update with this. If I can un-zip MTD11 to initrd, I can see if there's a difference in a certain file and then update that in the firmware.