efforg/rayhunter#690

View on GitHub →
#690 PinePhone Received unexpected response: AT+QADBKEY

I’m using a PinePhone, UBIPorts edition. Running arch linux for pinephone, installed to eMMC.
The physical WiFi/Modem hardware switch is on.

[root@pine ~]# fastfetch
                  -`                     root@pine
                 .o+`                    ---------
                `ooo/                    OS: Arch Linux ARM aarch64
               `+oooo:                   Host: Pine64 PinePhone (1.2)
              `+oooooo:                  Kernel: Linux 6.15.6-2-megi-danctnix
              -+oooooo+:                 Uptime: 34 mins
            `/:-:++oooo+:                Packages: 317 (pacman)
           `/++++/+++++++:               Shell: bash 5.3.3
          `/++++++++++++++:              Display (DSI-1): 720x1440
         `/+++ooooooooooooo/`            Terminal: /dev/pts/1
        ./ooosssso++osssssso+`           CPU: sun50i-a64 (4) @ 1.15 GHz
       .oossssso-````/ossssss+`          GPU: Allwinner sun50i-a64-mali [Integrated]
      -osssssso.      :ssssssso.         Memory: 228.16 MiB / 1.93 GiB (12%)
     :osssssss/        osssso+++.        Swap: 0 B / 788.91 MiB (0%)
    /ossssssss/        +ssssooo/-        Disk (/): 2.35 GiB / 14.28 GiB (16%) - ext4
  `/ossssso+/:-        -:/+osssso+-      Battery: 75% [Charging, AC Connected]
 `+sso+:-`                 `.-/+oso:     Locale: en_US.UTF-8

This is the error I’m getting when installing:

[root@pine rayhunter-v0.7.1-linux-aarch64]# ./installer pinephone
Unlocking modem ... Failed to install rayhunter on the Pinephone's Quectel modem

Caused by:
    Received unexpected response: AT+QADBKEY?
[root@pine rayhunter-v0.7.1-linux-aarch64]# RUST_BACKTRACE=full ./installer pinephone
Unlocking modem ... Failed to install rayhunter on the Pinephone's Quectel modem

Caused by:
    Received unexpected response: AT+QADBKEY?

Stack backtrace:
   0: anyhow::error::<impl anyhow::Error>::msg
   1: installer::pinephone::start_adb::{{closure}}
   2: installer::run::{{closure}}
   3: tokio::runtime::runtime::Runtime::block_on
   4: installer::main
   5: std::sys::backtrace::__rust_begin_short_backtrace
   6: main

When I deactivate the wifi with nmtui, I get this instead:

[root@pine rayhunter-v0.7.1-linux-aarch64]# RUST_BACKTRACE=full ./installer pinephone
Unlocking modem ... Failed to install rayhunter on the Pinephone's Quectel modem

Caused by:
    Received unexpected response: AT+QADBKEY="XXXXXXXXXXXXXXXX"

Stack backtrace:
   0: anyhow::error::<impl anyhow::Error>::msg
   1: installer::pinephone::start_adb::{{closure}}
   2: installer::run::{{closure}}
   3: tokio::runtime::runtime::Runtime::block_on
   4: installer::main
   5: std::sys::backtrace::__rust_begin_short_backtrace
   6: main

Where XXXXXXXXXXXXXXXX is alphanumeric and looks like a key.

Comments (1)

I might have figured this out by posting it, because the fastfetch output shows a battery of 75% even though I’ve left it plugged in for days. According to the Pinephone FAQ

In order to use the modem and Wi-Fi/Bluetooth, you need to ensure the battery is inside the device and has a sufficient charge. Even when supplying the phone with enough power, the modem and Wi-Fi chip will not work without a connected battery.

So I am going to try replacing the battery and see if that works.