Skip to content

Commit

Permalink
Merge pull request #224 from broukema/flashing_doc_fixes
Browse files Browse the repository at this point in the history
Fix boot-mdm9607.img name; add AT+ADBON info; mmcli update
  • Loading branch information
Biktorgj authored Nov 5, 2023
2 parents 44cbd2a + 10fea13 commit 2b3c5fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/AT_INTERFACE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ These are all the base commands that appear in Quectel's AT Command Manual (Vers

To connect to the serial terminal with local echo and automatic LF trimming, you can use `sudo picocom --echo --omap ignlf /dev/ttyUSB2`.

Alternatively, you can use mmcli to run a command non-interactively: `sudo mmcli -m any --command='AT+QMBNCFG="list"'`
Alternatively, you can use mmcli to run a command non-interactively: `sudo mmcli -m any --command='AT+QMBNCFG="list"'`.
In systemd OSes such as Mobian as of 2023, you will likely need to stop ModemManager and run it in debug mode in a separate terminal: `systemctl stop ModemManager; ModemManager --debug`, and then run `mmcli` commands as ordinary user.

### Notes:
Handled by can be
Expand Down
4 changes: 2 additions & 2 deletions docs/FLASHING.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ If your Pinephone / Pro came with a really old stock firmware, you might need to
7. Now you can flash everything:
* `fastboot flash boot boot-mdm9607.img`
* If you get an error flashing the kernel, run fastboot flash:raw : `fastboot flash:raw boot boot-mdm9607.img`
* `fastboot flash recovery mdm9607-boot.img`
* `fastboot flash recovery boot-mdm9607.img`
* `fastboot flash system rootfs-mdm9607.ubi`
* `fastboot flash recoveryfs recoveryfs.ubi`
8. After you flashed everything, you can run 'fastboot reboot' and wait for it to come back (you might have to run `fastboot reboot` twice to clear Quectel's bootloader flags).

9. If all has gone well, to enable `adb` you will likely need to send the "AT+ADBON" command to the modem.

0 comments on commit 2b3c5fe

Please sign in to comment.