GithubHelp home page GithubHelp logo

timawesomeness / foscam-r2-fw Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 105.38 MB

Firmware dump of Foscam R2, plus extracted content via binwalk. (All Foscam cameras appear to share [at least some] firmware for what it's worth)

Shell 23.98% C 4.64% HTML 1.62% JavaScript 69.76%
firmware-dump foscam firmware dump

foscam-r2-fw's Introduction

Root access to the camera is easy - hit enter at the Ambarella bootloader, password is ipc.fos~, then you can run boot console=ttyS0 ubi.mtd=lnx root=ubi0:rootfs rw rootfstype=ubifs init=/bin/sh to boot to a root shell. Environment is a moderately-featured busybox with a few extra utilities.

Serial is 3.3V UART next to ethernet jack - with the top side up, ethernet rotated towards you, from left to right: [TX, GND, RX, VCC]. 115200 baud, 8N1. Hardware flow control might have to be off?

Most foscam stuff appears to be in /mnt/mtd [in mtd5]. Otherwise an apparently reference design Ambarella IP cam.

# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00020000 "bst"   # ??
mtd1: 00140000 00020000 "bld"   # bootloader?
mtd2: 00140000 00020000 "ptb"   # device tree
mtd3: 01000000 00020000 "pba"   # rootfs
mtd4: 00800000 00020000 "pri"   # ? fw update?
mtd5: 03000000 00020000 "lnx"   # primary filesystem, UBI
mtd6: 00600000 00020000 "add"   # config, UBI
mtd7: 02c00000 00020000 "adc"   # backup of mtd5?

Most info here is relevant to this camera as well: https://github.com/santeri3700/opticam_o8_hacking

foscam-r2-fw's People

Contributors

timawesomeness avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.