I'd like to simulate packet loss on a rooted Android device to see how different levels affect video streaming quality. I've tried netem and iptables, without success:
# tc qdisc change dev rmnet0 root netem loss 0.1%
tc qdisc change dev rmnet0 root netem loss 0.1%
Android does not support qdisc 'netem'
Garbage instead of arguments "loss ...". Try "tc qdisc help".
Is the format wrong or is it possible to add netem support somehow?
# iptables -A INPUT -m statistic --mode random --probability 0.01 -j DROP
iptables -A INPUT -m statistic --mode random --probability 0.01 -j DROP
iptables v1.3.7: Couldn't find match `statistic'
Try `iptables -h' or 'iptables --help' for more information.
Is there any other alternative in Android?