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
103 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/...
1 vote
0 answers
508 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'...
4 votes
2 answers
3k views

Why are there so many tty files in the /dev directory?

It is confusing that there are so many tty files in the /dev directory... By the way, what does each file in /dev stand for? Do they stand for physical devices which are part of my Android device? ...
2 votes
0 answers
195 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 ...
1 vote
0 answers
154 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 ...
1 vote
0 answers
2k 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 ...
0 votes
0 answers
383 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 ...
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 ...
1 vote
1 answer
168 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 ...
1 vote
1 answer
475 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 ...
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) =========...
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 ...
-1 votes
1 answer
201 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 ...
2 votes
0 answers
466 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 ...
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?
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 ...
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 ...
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....
-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 ...
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 ...
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 -...
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/...
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/...
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 ...
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 ...
0 votes
1 answer
990 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, ...
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 ...
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 ...
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 ...
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 ...
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....
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 ...
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 ...
1 vote
0 answers
484 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 ...
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'...
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:...
0 votes
1 answer
585 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, ...
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?
0 votes
1 answer
449 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/...
0 votes
1 answer
812 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 ...
0 votes
0 answers
921 views

Installation of BusyBox on panda board on Android ICS kernel [duplicate]

I am trying to install BusyBox on panda board which has an ICS Android kernel. I used the steps below: Download binary file which supports the panda board Push it into /system/busybox folder Install ...
0 votes
0 answers
799 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 ...
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 ...
2 votes
0 answers
237 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 ...
1 vote
2 answers
390 views

How do I fix pwd (print working directory) on Cyanogenmod 7?

I want to use WinSCP to transfer data to my phone over wireless. I've enabled dropbear on my phone. WinSCP connects, but crashes after trying pwd. Logging in with PuTTy, I can see that pwd is ...
1 vote
0 answers
765 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 ...
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 ...
1 vote
4 answers
17k views

Installing BusyBox crashes phone

I'm trying to install BusyBox on my rooted stock Droid DNA. Every time I try the normal install, it fails saying that the program can't be installed in /system/bin. If I do the smart install, it ...
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 ...
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 ...