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.

Filter by
Sorted by
Tagged with
2 votes
0 answers
89 views

Truncate a file inside Android filesystem

I have a large (1.3GB) binary file on internal/emulated storage of an Android device running KitKat (4.4.2, API 19); I want to truncate this file to a slightly smaller size (1.2GB), without copying/...
Janaka Bandara's user avatar
1 vote
0 answers
408 views

How do I uninstall toybox (a busybox alternative)?

In my /system/bin/ I have a executable named toybox, and various other directory entries in that directory symlinked to the toybox, eg basename and [. How do I uninstall toybox? Context: I believe it'...
Tom Hale's user avatar
  • 427
2 votes
0 answers
170 views

How to create system users on Androidx86?

I am trying to create system users on an Android x86 virtual machine, but the binaries adduser and addgroup don't exist (neither useradd or usermod). I installed BusyBox to get access to these ...
hldev's user avatar
  • 143
1 vote
0 answers
143 views

Android localhost to hotspot wlan0 UDP port not accesible

I have a drone remote that has android in it. It has an internal telemetry server that is publishing data on localhost:14445 via UDP. When I open the hotspot from this device and connect to it with my ...
Mert Eren KARABULUT's user avatar
1 vote
0 answers
1k views

Where to locate a dir without W^X? (/data/local/tmp)

I have an Android 10 LGK22 No-Rooted without option to do it (so rooting is out of the question/solution). Which is not ridiculously forcing W^X (the option to stop a binary from being executed from a ...
abacox's user avatar
  • 11
0 votes
0 answers
311 views

How to add user for busybox su

I have successfully been able to copy busybox into system/bin/. I have also set busybox chmod +g busybox chmod +s busybox chmod 4777 busybox When I run busybox su it says user root not found. How do ...
Bret Joseph's user avatar
0 votes
1 answer
1k views

How to infuse/push/modify/install busybox SU in twrprecovery.img for getting root privilages commands? [closed]

Question :How to infuse/push/modify/install busybox SU in twrprecovery.img for getting root privilages commands I want to take backup restore flash change some PM Package management and SM storage ...
Androidquery's user avatar
1 vote
1 answer
432 views

Overcoming softlock when creating /system/xbin on Android 9

Hoo roo, Installing Linux Deploy (Linux chroot with root) on Android 9 requires that you install a custom version of busybox. However, due to system-as-root limitations on Android 9, you can encounter ...
snug.gy's user avatar
  • 11
1 vote
1 answer
156 views

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 ...
Giuseppe Uranya Di Terlizzi's user avatar
0 votes
0 answers
1k views

Busybox is not detected even when it has been installed

The Debloater module module of Magisk tells me that Busybox isn't detected: root@android:/data/adb # debloat debloat ! Busybox not detected Please install one (@osm0sis' busybox recommended) =========...
Ooker's user avatar
  • 506
-1 votes
1 answer
183 views

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 ...
jlsky's user avatar
  • 1
2 votes
0 answers
433 views

Shutdown/Reboot Process Hangs Device

Is there any reason a programmatic or command-line shutdown (or reboot) process in Android 7.1 might randomly result in a hard freeze-up, requiring a long (~8 second) press of the power button to ...
csr19us's user avatar
  • 21
1 vote
2 answers
9k views

How can i mount all partitions of harddisk in android x86?

i installed android-x86-4.2-20130228 as a live but does'nt read my partition of my hardisk i tried with Paragon UFSD Root Mounter but not work good in 4.2.2 and es explorateur does'nt read any ...
Tifik aoryu's user avatar
0 votes
2 answers
7k views

root access failed or busybox was not found

Phone: Xiaomi Redmi 4 prime Rom (custom): lineage-13.0 Xposed: xposed-v87-sdk23-arm64 Root: SuperSU.Pro.2.82 Right now everything works just fine and those apps that need root privileges to work ...
wiki's user avatar
  • 465
2 votes
1 answer
2k views

How to get router's ip aka gateway in Android's shell?

In a normal linux environment we can do gateway=`netstat -rn | grep ^0\.0\.0\.0 | awk '{print $2}'` or gateway=$(netstat -rn | grep ^0\.0\.0\.0 | awk '{print $2}') but since Android's busybox/...
Aero Windwalker's user avatar
1 vote
1 answer
21k views

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 -...
Aero Windwalker's user avatar
1 vote
1 answer
1k views

Why is Busybox still not recognized after installed properly?

Busybox is installed in /system/bin successfully already, but I still can't call it as instructed in Using cut or sed in Android busybox: C:\Users\Acer\Downloads\adb>adb shell whence sed /system/...
Ooker's user avatar
  • 506
0 votes
1 answer
1k views

Stopping busybox's `httpd`

I just found that busybox has httpd. I started it, and now I don't know how to stop it without rebooting. My busybox version is Stephen Ericson, 1.26.2 Any help is appreciated. EDIT Here is the ...
Tyler Richardson's user avatar
1 vote
0 answers
3k views

Link2SD: Mount script cannot be created

After making a 1744MB ext2 partition on my 4GB MicroSD with the Aparted app (since my Windows SD slot is broken) and trying to select ext2 when I start Link2SD I always get the error: Mount script ...
kprovost7314's user avatar
0 votes
1 answer
977 views

How do I delete a symlink from /sbin?

I wanted to remove a symlink from /sbin/ directory. The link is swapon which is linked to busybox binary on the same directory. While trying to remove first-time, it said "Read only filesystem". So, ...
Anwar's user avatar
  • 148
2 votes
0 answers
1k views

selinux denies busybox although selinux is set to permissive?

Device-info: Phone: Sony Xperia Z1 Model number: C6903 Android version: 5.1.1 Build Number: 14.6.A.1.236 Rooted, BusyBox and Terminal Emulator installed (Play Store Version!!!) I have formatted an ...
goulashsoup's user avatar
1 vote
0 answers
2k views

I can't remount /system as rw. I get an error message: mount: Read-only file system

I'm using a rooted Huawei G7 and i'm trying to install BusyBox, but I keep getting an error. I'm 100% sure this error is because there is some weird write protection on /system. I know this because ...
Sjoerd Arts's user avatar
1 vote
0 answers
4k views

chroot: can't execute /init.sh: Permission denied - Error while want to start linux on Android

Introduction: I formatted a SDCard in ext4 and copied an ArchVersion on it to run it from Android like in this guide (step 7). Of course my device is rooted and I am running the following scripts and ...
goulashsoup's user avatar
1 vote
0 answers
470 views

Why can I write to a read-only system partition?

I have a rooted phone running android 4.4. When I check the output of 'mount' it says system is read only. My root file manager or terminal can't make any files or folders there, though only the file ...
jiggunjer's user avatar
  • 387
1 vote
1 answer
141 views

Complicated Wi-Fi Question

So every time that I enable and re-enable the wifi connection on my tablet, the MAC address is randomized (like the last 3-4 digits). I don't know what might be causing this, and the root account can'...
Mr. Minty Fresh's user avatar
1 vote
0 answers
428 views

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:...
Cyker's user avatar
  • 457
0 votes
1 answer
584 views

Why does my HP 10 Slate Tablet factory reset every time I turn it on?

I rooted my HP 10 (4.4.2) with Kingoroot, as I was unable to find anything else capable of doing so. It actually worked fairly well, except that if the tablet gets turned off and turned back on again, ...
Sebix's user avatar
  • 1
3 votes
1 answer
13k views

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....
Eric's user avatar
  • 195
0 votes
0 answers
795 views

mdev: applet not found when trying to populate /dev on android

I'm trying to install Debian on the Android 4.4 (modded with cyanogenmod) that's installed on my nexus 10 to one external sd card. I'm reading this tutorial : http://whiteboard.ping.se/Android/Debian ...
Marietto's user avatar
  • 213
0 votes
1 answer
445 views

How to debug inetd server on rooted Android phone?

I would like to run an inetd server on my rooted phone to accept incoming connections and launch an application in response. I've installed BusyBox since it includes inetd and I created a file /etc/...
WilliamKF's user avatar
  • 579
-1 votes
1 answer
4k views

Can't find "iplink" program on rooted phone

I'm using LG Optimus Black P970 with ICS 4.0.4. After rooting my phone, when I'm writing in the terminal the command busybox iplink show eth0, it shows iplink applet not found. What should I do? Also ...
K.Pal's user avatar
  • 1
0 votes
1 answer
4k views

Terminal emulator permission denied on complex commands

I'm porting a script that runs well on android 4.0.4 to android 4.4.2 Simplified it does this: ls *.a | ./busybox xargs ./busybox rm -f I'm using a busybox binary in mi app's folder. The error I'm ...
Rombus's user avatar
  • 121
1 vote
1 answer
2k views

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's user avatar
2 votes
0 answers
234 views

How can I add the user of an application to the group of another application?

I'd like to add the user of one application to the group of another so that I can read the other applications private content without doing a su every time. I can't find the adduser or the useradd ...
Mridang Agarwalla's user avatar
0 votes
1 answer
5k views

CyanogenMod comes with inbuilt busybox?

Does CyanogenMod 11 come with busybox pre-installed, or does it need to be installed separately?
Javed Salat's user avatar
1 vote
0 answers
751 views

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 ...
Lou's user avatar
  • 11
6 votes
2 answers
8k views

Which BusyBox is legitimate on Play Store?

BusyBox is a collection of *nix utilities. I am attempting to install it via the Play Store (I've had a lot of trouble in the past trying to cross-compile BusyBox). The problem I am having: there are ...
jww's user avatar
  • 385
0 votes
1 answer
2k views

Busybox installation on emulator[Error:/system/xbin/busybox: not executable: magic 7F45]

I was trying to install busybox on my emulator with the help of section 5.2 in Android Emulator. My AVD config Device: Nexus S Target: Google API(x86 System Image)-API Level 19 CPU/ABI: Intel Atom ...
nkg's user avatar
  • 261
3 votes
1 answer
11k views

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....
Irfan's user avatar
  • 2,921
0 votes
1 answer
807 views

Rooting Unknown Device

Actually i want to root not-branded tablet. That table is running Android Jelly bean 4.2.2, Kernel 3.0.8+. Current my status: From the start i have root access in adb shell I managed update su ...
Karolis's user avatar
0 votes
1 answer
15k views

"iplink: applet not found" error when trying to change the MAC adress

I want to change my mobiles MAC address because it got blacklisted at school. I have tried some apps from the market, but none of them are working. I have rooted my phone (Huawei Ascend Y300) with a ...
IAmFry's user avatar
  • 1
0 votes
1 answer
4k views

How to add a symbolic link to bypass unavailable busybox applet

I have BusyBox version v1.15.3 installed that came with the ROM gingerdx 31b. This busybox version cannot be updated/changed, because if it's being updated, the phone goes into a bootloop on the next ...
user3132187's user avatar
3 votes
1 answer
3k views

built in command line pager/viewer like less? Without busybox or root access

Sometimes i investigate foreign phones, where i can't root or install any Apps. But i want to examine the filesystem via adb shell, and view some text-files. Like i usually do with a *nix-shell: with ...
Lutz L.'s user avatar
  • 131
0 votes
1 answer
2k views

mount command outputs usage on correct arguments

I enabled root for adb, and then tried the following: root@crespo:/ # mount /dev/block/platform/s3c-sdhci.0/by-name/media /storage/sdcard0 Usage: mount [-r] [-w] [-o options] [-t type] device ...
berdario's user avatar
  • 111
2 votes
2 answers
26k views

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 ...
Fenikso's user avatar
  • 283
2 votes
2 answers
3k views

Update OpenDNS IP from Android tablet/phone

I want to use my Android tablet or phone to update my OpenDNS IP since there is no official OpenDNS client for Android. Is it possible? As a bonus, I'd like to do this automatically whenever I ...
Joshua Robison's user avatar
1 vote
1 answer
15k views

Why does bad Busybox installation in /system/xbin/ cause problems?

I've got familiar with Android not long ago. Having almost no experience, I carelessly installed Busybox, and after that the system started resetting itself after each power-off. It also didn't allow ...
Gas Welder's user avatar
2 votes
2 answers
8k views

ls command works but not with options?

In my terminal app when I type ls /? it gives me ls /d. Where can I find the other options? For example I want to list the file attributes and file length. I have tried also busybox to no avail.
Micromega's user avatar
  • 217
1 vote
0 answers
691 views

Using busybox telnet, teminal emulator and ubuntu

I want to conrol android command line (Jackpal's Terminal) using busybox telnet. With Spartacus Rex' Terminal ide telnet works but cant get out of 'application's context.' So I want to use Jackpal's ...
nfsk's user avatar
  • 11
3 votes
1 answer
16k views

BusyBox `ln -s`: How do I create symlink to a directory on external SD-card?

How do I create symlink to a directory on external SD-card? Do I have to edit /etc/passwd and add user or root to the sdcard_r group--since, I see that the /storage/ location is owned by sdcard_r? Do ...
ILMostro_7's user avatar