mirror of
https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git
synced 2025-09-08 15:10:45 +02:00
Infos
This commit is contained in:
32
README.md
32
README.md
@@ -1,20 +1,21 @@
|
||||
## Xiaomi Dafang Teardown
|
||||
## Xiaomi Dafang Hacks
|
||||
|
||||
This repository is a collection of Informations about the Dafang Camera
|
||||
This repository is a collection of informations&software for the Dafang Camera
|
||||
|
||||

|
||||
|
||||
## Teardown
|
||||
|
||||

|
||||
|
||||
Can be found in the "teardown"-folder
|
||||
|
||||
## Usage
|
||||
## Informations:
|
||||
[Teardown](/teardown)
|
||||
[Hardware](/informations/hardware.md)
|
||||
[Portscan of original Software](/informations/portscan.md)
|
||||
|
||||
## Hacks
|
||||
[Installation of Serial-Headers](/mod_serial)
|
||||
[Getting Root-Access using Serial](/mod_getroot/getroot.md)
|
||||
|
||||
[Dumping-Firmware](/mod_getroot/firmware-dump.md)
|
||||
[Installing Telnet & configuring Wifi](/mod_getroot/install_telnetandwifi.md)
|
||||
|
||||
|
||||
|
||||
## Contribution
|
||||
@@ -22,22 +23,9 @@ Can be found in the "teardown"-folder
|
||||
Any contribution to the development is highly welcome. The best possibility to provide any change is to open a pull request on GitHub.
|
||||
|
||||
|
||||
## Hardware infos
|
||||
Main Processor:
|
||||
[Ingenic T20](ftp://ftp.ingenic.com/SOC/T20/T20_PB.PDF)
|
||||
|
||||
Wifi:
|
||||
[Realtek 8192](http://www.realtek.com.tw/products/productsView.aspx?Langid=1&PFid=48&Level=5&Conn=4&ProdID=277)
|
||||
|
||||
LED Driver:
|
||||
[ULN2803](http://www.ti.com/lit/ds/symlink/uln2803a.pdf)
|
||||
|
||||
|
||||
|
||||
The Hardware should be similar to [Icamera Keep](https://www.ismartalarm.com/devices/cameras/icamera-keep/ISA00008.html)
|
||||
|
||||
Source of this Information: [Source](https://xiaomi.eu/community/threads/cant-open-camera-plugin-xiaomi-mijia-dafang-home-1080p-hd.41855/#post-391171)
|
||||
|
||||
## Software Infos:
|
||||
|
||||
Opened Ports:
|
||||
|
0
firmware/unpacker.py
Normal file → Executable file
0
firmware/unpacker.py
Normal file → Executable file
30
hacks/drivers.md
Normal file
30
hacks/drivers.md
Normal file
@@ -0,0 +1,30 @@
|
||||
Adding of Sensor:
|
||||
```
|
||||
insmod /driver/sensor_jxf22.ko data_interface=2 pwdn_gpio=-1 reset_gpio=18 sensor_gpio_func=0
|
||||
```
|
||||
|
||||
|
||||
Get informations about the Sensor:
|
||||
|
||||
Get Info about the Sensor:
|
||||
echo 1 >/proc/jz/sinfo/info
|
||||
|
||||
|
||||
Enable more RAM:
|
||||
```
|
||||
|
||||
echo 100 > /proc/sys/vm/swappiness
|
||||
echo 16777216 > /sys/block/zram0/disksize
|
||||
mkswap /dev/zram0
|
||||
swapon /dev/zram0
|
||||
|
||||
```
|
||||
|
||||
Params of the Motor:
|
||||
```
|
||||
Insmod Motor:
|
||||
hmaxstep = 2600
|
||||
hmotor2vmotor = 1
|
||||
vmaxstep = 700
|
||||
```
|
||||
|
@@ -1,5 +1,17 @@
|
||||
## Infos
|
||||
|
||||
## Hardware infos
|
||||
Main Processor:
|
||||
[Ingenic T20](ftp://ftp.ingenic.com/SOC/T20/T20_PB.PDF)
|
||||
|
||||
Wifi:
|
||||
[Realtek 8192](http://www.realtek.com.tw/products/productsView.aspx?Langid=1&PFid=48&Level=5&Conn=4&ProdID=277)
|
||||
|
||||
LED Driver:
|
||||
[ULN2803](http://www.ti.com/lit/ds/symlink/uln2803a.pdf)
|
||||
|
||||
|
||||
|
||||
## Some Information about the System:
|
||||
```
|
||||
[root@Ingenic-uc1_1:mmc]# cat /proc/cpuinfo
|
||||
@@ -30,30 +42,12 @@ It is a little-Endian System
|
||||
|
||||
```
|
||||
|
||||
The Hardware should be similar to [Icamera Keep](https://www.ismartalarm.com/devices/cameras/icamera-keep/ISA00008.html)
|
||||
|
||||
Source of this Information: [Source](https://xiaomi.eu/community/threads/cant-open-camera-plugin-xiaomi-mijia-dafang-home-1080p-hd.41855/#post-391171)
|
||||
|
||||
|
||||
|
||||
Here is a
|
||||
|
||||
|
||||
```
|
||||
Add Sensor:
|
||||
|
||||
insmod /driver/sensor_jxf22.ko data_interface=2 pwdn_gpio=-1 reset_gpio=18 sensor_gpio_func=0
|
||||
|
||||
|
||||
Insmod Motor:
|
||||
hmaxstep = 2600
|
||||
hmotor2vmotor = 1
|
||||
vmaxstep = 700
|
||||
|
||||
|
||||
Get Info about the Sensor:
|
||||
echo 1 >/proc/jz/sinfo/info
|
||||
|
||||
|
||||
|
||||
echo 100 > /proc/sys/vm/swappiness
|
||||
echo 16777216 > /sys/block/zram0/disksize
|
||||
mkswap /dev/zram0
|
||||
swapon /dev/zram0
|
||||
|
||||
|
||||
```
|
1
teardown/teardown.md
Normal file
1
teardown/teardown.md
Normal file
@@ -0,0 +1 @@
|
||||

|
Reference in New Issue
Block a user