christianrowlands / android-network-survey-rooted

A rooted version of the Network Survey Android App for advanced cellular survey
Apache License 2.0
27 stars 12 forks source link

Support for Android 13 & 14 #6

Open high3eam opened 6 months ago

high3eam commented 6 months ago

Built and tested APK from latest commit to develop branch (84654bc) using a rooted Xiaomi 12T Pro on Android 14. It appears as if the app is not compatible with Android 13 & 14, yet. After granting root access and starting the pcap logger, no information is copied into the file.

No data in pcap file

The logcat output confirms that the diag device cannot be opened for monitoring.

Logcat output

The reason is most likely, that the /dev/diag device as well as the DIAGCHAR kernel module disappeared starting from Android 13, and the appropriate device name is now /dev/ffs-diag (see this issue on QCSuper and this commit for support of Android 13+)

The Xiaomi 12T Pro definitely provides such ffs-diag device. Perhaps it is possible to adapt QCSuper's approach to support of newer devices?

DIAG devices with Xiaomi on Android 14
christianrowlands commented 6 months ago

Yes, I like it. I will see what I can do to update this app to support newer devices.

Thank you for trying out the app and also for doing the research to figure out how to support newer versions of Android!