How the Android device installs the full shell tool BusyBox

Source: Internet
Author: User

Due to work needs, often to connect the mobile phone and use the ADB to do some operations, found that the shell function is very good, but in castration state, the most obvious one is, the implementation of a number of commands, the directory appeared some of the-p,-l, 755, such as the file, people are very More obviously, some of the Linux-friendly third-party tools that move to Android can't be implemented at all. So it's a way to get Android devices to support a fully functional shell. The most direct thing here is to install the BusyBox.

What is BusyBox

BusyBox is a single executable implementation of standard Linux tools. BusyBox contains a few simple tools, such as Cat and Echo, and includes larger, more complex tools such as grep, find, Mount, and Telnet. Some people call BusyBox the Swiss Army Knife in the Linux tool. Simply put, BusyBox is like a large toolbox that integrates many of the tools and commands that compress Linux.

How to install BusyBox

1, Root mobile phone, the installation of ADB

It's a must! Search the Internet and there will be many versions of the root tutorial. The ADB is free to download and configure one, and the command line knocking on the ADB can respond.

2, download the latest version of the BusyBox

Go here: busybox.net
There are latest at the bottom, download a busybox-armv6l or busybox-armv7l.

3, installation

If, like me, is installed under Windows, then you can win+r open cmd, enter the ADB.

ADB root
ADB remount

This goes into root mode, and then push the busybox binaries to the phone.

ADB push Busybox/data/busybox

Then go to shell mode and install BusyBox

ADB shell
#cd Data/busybox
#./busybox–install

Last step Add environment variable

#export Path=/data/busybox: $PATH

OK, then enter the LS again, is it not the same as before?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.