Questions tagged [busybox]

A tool which combines several stripped-down Unix tools in a single, comapct executable. Because of its compactness and versatility, it is often used on devices with limited ressources.

What is Busybox?

Quoting Wikipedia:

BusyBox provides several stripped-down Unix tools in a single executable file. It runs in a variety of POSIX environments such as Linux (including Android), FreeBSD, and others, such as proprietary kernels, although many of the tools it provides are designed to work with interfaces provided by the Linux kernel. It was specifically created for embedded operating systems with very limited resources.

There are several Busybox implementations for Android, the best known probably is Stericson's BusyBox.

Different implementations might include different sets of commands. The Wikipedia page lists a set of commands from the official documentation.

Sources

63 questions
4
votes
1 answer

How to get shell with busybox on android?

I installed busybox free on my android device. I have super user and stuff. When I click on the busybox widget, it gets me to the configuration utility where I can install / uninstall. It is installed. How can I execute the busybox binary now?
Eric
  • 205
  • 1
  • 2
  • 7
3
votes
1 answer

fsck.auto: No such file or directory

So I'm trying to run fsck on my sdcard's ext4 partition and it doesn't work for some reason. sh-4.1# fsck /dev/block/vold/179:2 fsck (busybox 1.21.0-Stericson, 2013-01-28 21:49:55 GMT) fsck: fsck.auto: No such file or directory Any idea why is says…
Irfan
  • 2,921
  • 6
  • 32
  • 48
2
votes
2 answers

How can I check if busybox is working properly?

I have Busybox installed, but I suspect that it does not work properly. Total Commander ADB plugin invokes busybox mv -f and busybox rm -f commands, but it seems to fail silently. Is there a reasonable way how to check?
Fenikso
  • 293
  • 2
  • 4
  • 13
1
vote
1 answer

busybox ip link show doesn't work

I can't see the MAC address of my phone when I use command busybox ip link show on my rooted LG phone. Here is screen shot: Does anyone know what seems to be a problem?
aleksandar
  • 13
  • 3
1
vote
0 answers

BusyBox crond fails to run scripts with "time disparity" error message

I've installed BusyBox on my Android 4.1.1 phone and when I run crond, after some time it starts to failing to run scripts with message "time disparity of xxx minutes detected". Is there something I can do to make it work properly?
Lou
  • 21
  • 1
  • 2
1
vote
1 answer

A script to get a random file

Dear developers, I have an issue with my script switching from Android 9 to 10 (devices from a Umidigi S3 Pro to a Umidigi F2). I have installed Bosybox App on the first and Busybox Magisk module on the latter. Now the script does not work because…
1
vote
1 answer

How to add route with busybox (for specified destination and gateway)

I tried the code: alias netstat='/system/xbin/busybox netstat' alias grep='/system/xbin/busybox grep' alias awk='/system/xbin/busybox awk' alias route='/system/xbin/busybox route' gateway=`netstat -rn | grep ^0\.0\.0\.0 | awk '{print $2}'` route…
Aero Windwalker
  • 1,024
  • 8
  • 15
  • 27
1
vote
0 answers

busybox doesn't work on marshmallow

The system builtin ip command works correctly with: # ip route show table wlan0 xxx.xxx.xxx.xxx/xx dev wlan0 proto static scope link But busybox ip doesn't: # busybox ip route show table wlan0 ip: invalid argument 'wlan0' to 'table' Looks like…
Cyker
  • 457
  • 1
  • 6
  • 11
-1
votes
1 answer

busybox list command show different time format for file last modified time

e.g. android busybox command: busybox ls -ls foldername/ outputs are: Jan 1 2015 or Oct 16 14:18 The first one doesn't show time while second one does not show year. How to make the output show complete date time e.g.Oct 16 2019 14:18?
jlsky
  • 1