From 43a1ed927b34403aab9a22016961d900104f07d9 Mon Sep 17 00:00:00 2001 From: Ernesto Castellotti Date: Mon, 12 Dec 2022 23:05:23 +0100 Subject: Replace the preboot uboot variable to unlock the stick with the correct one from the manufacturer (#43) * Replace the preboot uboot variable to unlock the stick with the correct one from the manufacturer --- _ont/ont-huawei-ma5671a-root.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_ont/ont-huawei-ma5671a-root.md') diff --git a/_ont/ont-huawei-ma5671a-root.md b/_ont/ont-huawei-ma5671a-root.md index 0812c99..88bc6a7 100644 --- a/_ont/ont-huawei-ma5671a-root.md +++ b/_ont/ont-huawei-ma5671a-root.md @@ -66,7 +66,7 @@ try: time.sleep(1) print('[+] Transfer command sequence 4') ser.write( - 'setenv preboot "gpio input 105;gpio input 106;gpio input 107;gpio input 108;gpio set 3;gpio set 109;gpio set 110;gpio clear 423;gpio clear 422;gpio clear 325;gpio clear 402;gpio clear 424"\n'.encode()) + 'gpio set 3;gpio input 2;gpio input 105;gpio input 106;gpio input 107;gpio input 108"\n'.encode()) time.sleep(1) print('[+] Transfer command sequence 5') ser.write('saveenv\n'.encode()) -- cgit v1.2.3