Stop building toybox route.
From the commit that stopped creating the symlink:
We should remove the "route" command because its output is irrelevant and
misleading. This is because it only looks at the "main" routing table,
which is a last resort routing table that is a) trumped by all other
networks, b) empty except for directly-connected routes c) cannot even be
used by non-root users.
The proper way to understand device routing is to look at the output of
"ip rule" and "ip route", both of which are already available.
Example of how this is confusing:
$ adb shell route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
18.104.22.168 * 255.255.255.248 U 0 0 0 rmnet_data0
192.168.144.0 * 255.255.240.0 U 0 0 0 wlan0
These aren't guaranteed to be used. For example, according to the output
above 22.214.171.124 should go through rmnet_data0, but it doesn't:
$ adb shell ip route get 126.96.36.199
188.8.131.52 via 192.168.159.254 dev wlan0 src 192.168.159.164 uid 0
Also, there is no default route. But the device has networking just fine:
$ adb shell ip route get 184.108.40.206
220.127.116.11 via 192.168.159.254 dev wlan0 src 192.168.159.164 uid 0
4 files changed