Registered a URL and setup a forum as the IPCam stuff really needed its own site vs my irregular blog posts about IPCam hacking at

Author Topic: Hacking the F19821 W V2 to control an Arduino Tank Rover  (Read 3887 times)

  • No avatar
  • *
October 28, 2014, 04:20:18 am
Hey all. I built a tank rover based off a design on Makerbot's Thingiverse (

I soldered leads onto the UART on the board so that I can run the serial connections to an Arduino. The Arduino runs a pair of Poplolu stepper motor drivers (L&R) which control the motors which turn the tank treads. The camera that they originally used was a 3 yr old Foscam knockoff. They modified the WebUI to include a special webpage and JavaScript file to convert key strokes into camera movements and serial commands which activated the tank treads. This is the original hack:

So all of the firmware is obviously different with the new F19821W V2. A gentleman named Mnemonic on this board decompressed the new firmware for this camera using OpenSSL and posted the result here:,687.0.html

I'm going to try creating an html page based on the code from the original Thingiverse build, add it to the jffs2 partition, repack it into the FosIPC_A_app_ver2.x.1.6.bin, and upload it to the camera. What I'm not sure then is how to access the page. The new WebUI for these cameras doesn't allow you to just call up whatever html page you'd like.

I'm hoping that there's someone on this forum that could help me make the last few leaps on my project. If anyone can help me complete these final steps, I'd be happy to send you a rover of your own as a thank you. I'm a man of my word. See attached image of my build so far:

Any help would be greatly appreciated! Thanks!

Sent from my Commodore 64

  • No avatar
  • *
November 04, 2014, 03:28:19 am

I mounted the jffs2 file and after decompressing the www.tar.xz file, you find the html directory including login.html. I tried modifying the title of the page which is normally IPC Cam Client to something different "RoverBot". I then repacked the tar file, unmounted the partition, open ssl'd it back into the FosIPC_A_ver2x.1.10.bin file and uploaded it to the camera with the IP Camera config tool. Despite saying that it successfully uploaded the firmware, the changes I made did not appear. Do I need to make any changes to the FWUpgradeConfig.XML file or somethign else? Does the camera not allow you to overwrite firmware if it is not a newer version? Sooo close yet soooo far away. I just need to modify the login.html page to control my steppers, repack and upload it. UUGHHH. Any help would be great! my email is

  • No avatar
  • *
April 08, 2017, 09:09:49 am
Sorry to bump this old topic, but I'm looking at how to repack firmware as well... after research theoretically I know how to do it but I didn't try it yet... would like to ask if you ever succeed doing it? Also did you update md5 for the jffs2 image on fwupgrade.md5 file? (by looking at the firmwareupdate binary apparently it does an md5sum -c to check integrity...)

Also, if you used mtdram... after mounting the jffs2 image and applying you changes... did you then unmount it and created new image file with the updates (dd back from mtdblock...)?