Skip to content

Commit

Permalink
Install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasKotlyar committed Dec 3, 2017
1 parent 326a8fa commit c939794
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 1 addition & 12 deletions firmware_mod/run.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
#!/bin/sh
CONFIGPATH=/system/sdcard/config
SAMPLE_CONFIGPATH=/system/sdcard/sample_config

echo "Starting up CFW"
## Copy Configs:
if [ ! -f $CONFIGPATH/wpa_supplicant.conf ]; then
cp $SAMPLE_CONFIGPATH/wpa_supplicant.conf $CONFIGPATH/wpa_supplicant.conf
fi
if [ ! -f $CONFIGPATH/bftpd.conf ]; then
cp $SAMPLE_CONFIGPATH/bftpd.conf $CONFIGPATH/bftpd.conf
fi
if [ ! -f $CONFIGPATH/boa.conf ]; then
cp $SAMPLE_CONFIGPATH/boa.conf $CONFIGPATH/boa.conf
fi


## Start Wifi:
insmod /driver/8189es.ko
Expand Down
25 changes: 18 additions & 7 deletions hacks/install_cfw.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,21 @@

The CFW will boot only if the SDCard is plugged in and has a "run.sh" file on it. It wont affect the normal firmware in any way.

## Installation of CFW
1. Download [CFW-Binary](/hacks/cfw/cfw-1.0.bin)
## Installation of custom Firmware(microsd-bootloader)
1. Download [CFW-Binary](/hacks/cfw/cfw-1.1.bin)
2. Format your microsd to FAT. NTFS,EXFAT etc wont work.
2. Put it to microsd and rename to "demo.bin". There should be no more files in the sdcard! This is really important, and it wont work if there are any other files there.
3. Shutdown the Dafang, remove power cable, and plug the SDCard into the Dafang
3. Hold the Setup-Button on the Dafang
4. Plug in the Power-Cable(USB)
5. Wait for 5 minutes(dont unplug the camera until it will bootup to the normal firmware)
6. Unplug the Camera, put everything from "firmware_mod" Folder into the **root** of the microsd
5. Wait until the firmware will flash(like 5 minutes). Disconnect the power as soon as the base starts moving.
6. Remove the SDCard and try to start the Dafang
7. You should see the blue led shining up for 5 seconds(not blinking) **before** the base starts moving. If not, something went wrong. You should try another microsd. Start over from Point1


## Installation of the new Firmware

1. Put everything from "firmware_mod" Folder into the **root** of the microsd

It should look like this:
```
Expand All @@ -22,8 +29,10 @@ E:/
└── www
```
7. Modify the file wpa_supplicant.conf from the CFW to match your wifi network.
8. Reboot the Camera - it will boot now into CFW

2. Modify the file config/wpa_supplicant.conf on the sdcard, to match your wifi-settings
3. Insert the SDcard and start the camera.


## Uninstallation

Expand All @@ -33,6 +42,8 @@ Remove the "run.sh" file from microsd.
- SSH-Server
- FTP-Server
- Webserver
- Image-Snap functionality.
- Image-Snap functionality:

-Fang-Hacks(not working correctly for now):


0 comments on commit c939794

Please sign in to comment.