mirror of
https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git
synced 2025-09-01 20:23:11 +02:00
Sannce
This commit is contained in:
@@ -1,14 +1,43 @@
|
||||
1. Get Digma App from Play Store
|
||||
2. Connect to Camera using Digma. Go to Settings -> Advanced Settings -> Telnet-Access
|
||||
# Installation of the open source bootloader on generic devices:
|
||||
|
||||
1. Get Digma App from Play Store
|
||||
|
||||
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.
|
||||
|
||||
4. Find out how much ram your device have and which processor its using. Check if there is already an bootloader available here:
|
||||
https://github.com/Dafang-Hacks/uboot/tree/master/compiled_bootloader
|
||||
|
||||
If there is an bootloader available, ask for help in an issue. Provide some dumps if possible.
|
||||
|
||||
5. Put the bootloader-file to your microsd and rename it to "bootloader.bin"
|
||||
|
||||
6. Verify the MD5 Hash of the bootloader file!! Do not skip this step, or you may brick your cam!
|
||||
|
||||
7. Run following command in shell
|
||||
|
||||
```
|
||||
cd /mnt/
|
||||
flash_eraseall /dev/mtd0
|
||||
dd if=bootloader.bin of=/dev/mtd0
|
||||
```
|
||||
|
||||
8.
|
||||
|
||||
|
||||
|
||||
``
|
||||
|
||||
### Technical Information:
|
||||
|
||||
|
||||
|
||||
If your camera get stuck at the first command(like SANNCE Devices)
|
||||
|
||||
### Providing Firmware
|
||||
|
||||
Use following Command to dump the layout:
|
||||
cat /proc/mtd
|
||||
dev: size erasesize name
|
||||
mtd0: 00040000 00010000 "boot"
|
||||
mtd1: 00220000 00010000 "kernel"
|
||||
@@ -18,7 +47,7 @@ mtd4: 00010000 00010000 "factory"
|
||||
mtd5: 00010000 00010000 "param"
|
||||
|
||||
|
||||
Dump Firmware:
|
||||
Dump Firmware according to the layout
|
||||
dd if=/dev/mtdblock0 of=uboot.bin
|
||||
dd if=/dev/mtdblock1 of=kernel.bin
|
||||
dd if=/dev/mtdblock2 of=rootfs.bin
|
||||
@@ -26,9 +55,5 @@ 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
|
||||
|
||||
Flash New Bootloader:
|
||||
fatload mmc 0 0x82000000 sannce.bin
|
||||
sf probe
|
||||
sf erase 0x0000 0x40000
|
||||
sf write 0x82000000 0x00000 0x40000
|
||||
|
Reference in New Issue
Block a user