1
0
mirror of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git synced 2025-09-02 20:52:41 +02:00

Merge remote-tracking branch 'origin/master' into beta

run markdown lint
This commit is contained in:
Julian Tatsch
2022-09-17 11:48:31 +02:00
22 changed files with 228 additions and 140 deletions

View File

@@ -1,10 +1,16 @@
# Getting Root Access
## Using U-Boot
1. Boot into Uboot(press a Key when booting)
2. Use the following Command to get a Root-Shell
### 128MB Devices
`setenv bootargs console=ttyS1,115200n8 mem=104M@0x0 ispmem=8M@0x6800000 rmem=16M@0x7000000 init=/bin/sh rootfstype=squashfs root=/dev/mtdblock2 rw mtdparts=jz_sfc:256k(boot),2048k(kernel),3392k(root),640k(driver),4736k(appfs),2048k(backupk),640k(backupd),2048k(backupa),256k(config),256k(para),-(flag)`
### 64MB Devices (S1 etc)
`setenv bootargs console=ttyS1,115200n8 mem=41700K@0x0 ispmem=8M@0x28B9000 rmem=15644K@0x30B9000 init=/bin/sh rootfstype=squashfs root=/dev/mtdblock2 rw mtdparts=jz_sfc:256k(boot),2048k(kernel),3392k(root),640k(driver),4736k(appfs),2048k(backupk),640k(backupd),2048k(backupa),256k(config),256k(para),-(flag)`
3. Boot into the Root-Shell using "boot"
@@ -18,4 +24,3 @@ Password: ismart12
Attention: You will get a lot of debug messages, and you wont be able to work "normal".
To cirvumvent this, it's recommended to start a telnet daemon: `telnetd &` and connect to the device via telnet.