Busybox can provide implementation of many common Linux commands and is useful for Android debugging. To install busybox, you must have obtained the root permission of your mobile phone.
1. Download an object
Download armv6lfrom http://www.busybox.net/downloads/binaries/select armv6l.
2. Transfer the downloaded file to the mobile phone's sdcard:
ADB push busybox/sdcard/
3. Put busybox in the/system/xbin directory:
ADB shellsumount-RW-O remount/systemcat/sdcard/busybox>/system/xbin/busyboxcd/system/xbinchmod 755 busybox
At this time, you can use busybox ls commands like the busybox command in the ADB shell.
4. Create a shortcut for the busybox command
Busybox -- install.
In this way, we can directly use CP and other commands on the mobile phone, which is equivalent to using busybox CP.
Note: For commands that come with the Android system, such as LS, if we want to use the busybox command when entering ls, we can use the alias command to implement it:
Alias ls = 'busybox ls'
In this way, we use the Command provided by busybox when entering the LS command.