QCSuper icon indicating copy to clipboard operation
QCSuper copied to clipboard

Added Android 14 support to adb_bridge

Open ianbrown53 opened this issue 7 months ago • 2 comments

I'm using a Google Pixel 5 running Android 14 and adb_bridge was throwing errors because:

  1. The adb_bridge binary was compiled for 32-bit ARM, so I added the option to recompile for 64-bit ARM in the Makefile
  2. adb_bridge.c only supported up to Android 11. Since Android 14 uses the exact same DIAG_IOCTL_SWITCH_LOGGING structure as Android 11, I let that if-statement accept system_version = "14" as well. This might also apply to other versions of Android, but I don't have the hardware to test that with.

These small changes fixed the bug I was facing and made QCSuper work for my Google Pixel 5, so I created a pull request in case you want integrate them into the baseline.

ianbrown53 avatar Jun 01 '25 14:06 ianbrown53

This also works on Android 13 but I had to set new_mode.device_mask = 2 for my device (SM-G9860), otherwise the write() to /dev/diag will have an I/O Error, not sure why.

gsr933 avatar Jul 05 '25 23:07 gsr933

hi @ianbrown53 @gsr933 were you able to receive/dump LTE packets with your respected phones (Pixel 5 & S10?)

having difficulties of not receiving packets on Pixel 4a with this patch, and no errors thrown.

morpig avatar Sep 14 '25 09:09 morpig