1
0
mirror of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git synced 2025-09-08 23:20:48 +02:00
This commit is contained in:
Elias Kotlyar
2018-11-13 22:50:41 +01:00
parent 0741fb33b9
commit fb698c0c4f

View File

@@ -4,7 +4,9 @@
Link: https://play.google.com/store/apps/details?id=digma.p2pipcam&hl=de
2. Connect to Camera using Digma. Go to Settings -> Advanced Settings -> Telnet-Access and enable Telnet
3. Connect via Telnet to Camera using following credentials:
root:hslwificam
4. Find out how much ram your device have and which processor its using. Check if there is already an bootloader available here:
@@ -24,7 +26,12 @@ flash_eraseall /dev/mtd0
dd if=bootloader.bin of=/dev/mtd0
```
8.
8. Format your SDcard to Ext3
9. Put the content of the following Repository into Root Directory of the SdCard
https://github.com/Dafang-Hacks/rootfs
10. Modify the wpa_supplicant.conf file in /etc folder to match your Wifi-Settings. Also uncomment the instructions for Sannce in etc/init.d/rcS
@@ -32,11 +39,19 @@ dd if=bootloader.bin of=/dev/mtd0
### Experimental:
9. Install entware:
wget -O - http://pkg.entware.net/binaries/mipsel/installer/installer.sh | sh
If your camera get stuck at the first command(like SANNCE Devices)
### Providing Firmware
### New Hardware
Use following Command to dump the layout:
```$xslt
cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00010000 "boot"
@@ -46,7 +61,6 @@ mtd3: 00240000 00010000 "system"
mtd4: 00010000 00010000 "factory"
mtd5: 00010000 00010000 "param"
Dump Firmware according to the layout
dd if=/dev/mtdblock0 of=uboot.bin
dd if=/dev/mtdblock1 of=kernel.bin
@@ -54,6 +68,11 @@ dd if=/dev/mtdblock2 of=rootfs.bin
dd if=/dev/mtdblock3 of=system.bin
dd if=/dev/mtdblock4 of=factory.bin
dd if=/dev/mtdblock5 of=param.bin
```
Then zip everything and provide the zip in the issue