Flashing the Modem on Pine Phone Pro (Take 2)
Table of Contents
Just keeping a journal of changes made. Going to take another stab at fixing this modem by jumping some test pins.
The phone is currently disasembled which means the buttons are taken off and they must be pressed carefully with a pen/etc. This presents a challenge as the pins need to be jumped WHILE HOLDING the down-volume to boot from the SD card. So the first step will be installing a working OS on the internal eMMC. This will allow the phone to be booted without having to hold down any buttons.
# Mount phone as usb, plug into usb to power on while holding vol-up # Mounts at /dev/sda sudo dd if=20260213-0052-postmarketOS-v25.12-phosh-25-pine64-pinephonepro.img of=/dev/sda # This was very slow, set bs=16M next time
Enabling SSH
# On the phone sudo apk add openssh sudo systemctl start sshd sudo systemctl enable sshd
Installing needed tools
# ssh'd in sudo su - apk add git apk add android-tools mkdir Modem cd ~/Modem git clone https://github.com/Biktorgj/quectel_eg25_recovery.git
Establishing a baseline
pine64-pinephonepro:~/Modem# lsusb Bus 003 Device 001: ID 1d6b:0001 Linux 6.17.7 ohci_hcd Generic Platform OHCI controller Bus 002 Device 002: ID 2c7c:0125 Quectel EG25-G Bus 001 Device 001: ID 1d6b:0002 Linux 6.17.7 ehci_hcd EHCI Host Controller Bus 004 Device 001: ID 1d6b:0001 Linux 6.17.7 ohci_hcd Generic Platform OHCI controller Bus 002 Device 001: ID 1d6b:0002 Linux 6.17.7 ehci_hcd EHCI Host Controller
Pins & Diagrams
Found this thread at pine64.org of someone trying to do the same. The test pins are not labeled as well for the pro edition but they found out which pins need to be shorted by asking around on the forums. Came back with this image:
So let's reboot, short the pins, and see what happens.
First Reboot
Godamn it worked! Held my bent-paper-clip in place while the phone rebooted and came up with a "no modem" symbol in the upper-right.