samtap / fang-hacks

Collection of modifications for the XiaoFang WiFi Camera
1.67k stars 340 forks source link

Create Script that copies all content from xiaofang internal drive to SD card #247

Open qualytest opened 6 years ago

qualytest commented 6 years ago

Hi Guys,

Is that possible using the snx_autorun.sh file? This will allow to back up the camera drive before attempting any modifications.

Thanks

samtap commented 6 years ago

Yes it's possible but creating a flashable fw image is more involved, not my expertise. You should use dd to create backups of /dev/mtdblock0-5 and combine them into a single firmware file, probably adding a header and some padding here and there?