Android M command-line improvements.
toybox replaces much of toolbox.
The tools from http://landley.net/toybox/
replace most of the old toolbox tools in M. SELinux support and a few other things that were better in toolbox have been pushed upstream, and the following tools have been switched over (or added if they weren’t previously in toolbox):
basename blockdev bzcat
cal cat chcon chgrp chmod chown chroot cksum clear comm cmp cp cpio cut
date dirname dmesg dos2unix
echo env expand expr
fallocate false find free
getenforce getprop groups
head hostname hwclock
id ifconfig inotifyd insmod
load_policy ln logname losetup lsmod lsusb
md5sum mkdir mknod mkswap mktemp modinfo more mountpoint mv
netstat nice nl nohup
paste patch pgrep pidof pkill pmap printenv printf pwd
readlink realpath restorecon rm rmdir rmmod route runcon
sed seq setenforce setprop setsid sha1sum sleep sort split stat strings swapoff swapon sync sysctl
tac tail tar taskset tee time timeout touch tr true truncate
umount uname uniq unix2dos usleep
wc which whoami
The grep family remains the NetBSD grep, and dd and du are still from NetBSD.
For a variety of reasons, the following are still using the toolbox implementations: df, getevent, iftop, ioctl, ionice, log, ls, lsof, mount, nandread, newfs_msdos, ps, prlimit, renice, sendevent, start, stop, top, uptime, watchprops.
Other tools like mksh and strace have been upgraded to the current upstream versions.#androiddev #io15