-
Notifications
You must be signed in to change notification settings - Fork 257
Lumi Aqara Gateway Root
Dennis Giese edited this page Apr 2, 2019
·
3 revisions
Warning: For this you need to open the device. Make sure that you never touch the power supply, as it is connected directly to mains (110V/220V).
Warning: This works so far only for the versions without homekit (lumi.gateway.miXX01). The Aqara Homekit versions have a different firmware, where additional steps are required (lumi.gateway.aqhm0X).
Warning: Be careful what you do, as there is no fallback or recovery method.
- Open the device. Be careful with removing the screws, as the plastic inside breaks easily (it is advised to loosen up all screws equally to avoid that).
- Connect your serial adapter to GND, TX and RX (see Pinout of Aqara Gateways). Do not connect VCC/3.3V.
- Setup your serial port with 115200 Baud, Flow control off!
- Power on Gateway, as soon as you see any output, press multiple times "Enter" to exit in the U-Boot shell
- setenv bootargs 'console=ttymxc0,115200 ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs cma=96M mtdparts=gpmi-nand:3m(boot),7m(kernel),1m(dtb),-(rootfs) rw single init=/bin/bash'
- As soon as you see the prompt, paste this command line: "mv /etc/rc5.d/K10dropbear /etc/rc5.d/S99dropbear" 6a) (You have only a few seconds time until the watchdog resets the gateway)
- redo 2-5
- Set the root password by using the command "passwd". You have again only a few seconds time until the watchdog kicks in.
- You should be able to SSH to the gateway
Navigation
- Home
- Vacuum Robots
- Lumi Aqara Camera (experimental)
- Lumi Aqara Gateway (new Version, without Homekit)
- Documentation
- Dustcloud