phytool print uses %n in print_phy.c::print_attr_name and it will thus not run on Android newer then 2018 ish (8 or 9).
This might not be a problem for Andriod on mobile devices since they rarely have a PHY. I encountered this problem on a custom device that the company I work for is developing where we have a radio module that runs Android and that has a PHY that I wanted to debug. This is a pretty common use case I think.
Since a few year back %n is not allowed in Android libc anymore due to security reasons: https://android.googlesource.com/platform/bionic/+/41398d03b7e8e0dfb951660ae713e682e9fc0336
phytool print uses %n in print_phy.c::print_attr_name and it will thus not run on Android newer then 2018 ish (8 or 9).
This might not be a problem for Andriod on mobile devices since they rarely have a PHY. I encountered this problem on a custom device that the company I work for is developing where we have a radio module that runs Android and that has a PHY that I wanted to debug. This is a pretty common use case I think.