Tag Info

Hot answers tagged

6

It's not quite as seamless, but the ssh binary provided by busybox (mine, at least) supports the -i flag, so you can put the key wherever you want and use that: ssh -i /path/to/key_file joeuser@somehost.com The relevant man page entry for -i (with the caveat that the information about the default path may not be the same on Android): -i identity_file ...


4

Install & run ConnectBot (a dedicated SSH client). Tap/press menu key. From the menu, tap Manage Pubkeys. On next screen, again press/tap menu key. From the menu, tap Import.


3

"How do i know if I have busybox?" Open Terminal Emulator and type "busybox". If it gives you a giant list of command options, it's installed. If it says "Command not found", it's not. edit Rather than putting this in the comments: you could also try su to become root followed by busybox, busybox --version, busybox --help or anything that will give ...


3

It sounds like you want the extremely common ls -l For reference, the complete busybox help for ls: BusyBox v1.21.0-Stericson (2013-01-28 21:49:55 GMT) multi-call binary. Usage: ls [-1AaCxdLHRFplinsehrSXvctu] [-w WIDTH] [FILE]... List directory contents -1 One column output -a Include entries which start with . -A ...


2

You should never mess with the system without having a backup. To get root back you can just re-flash the rom that you're using without wiping anything. This will remove whatever happened with your busybox.


2

Can you replace the pwd symbolic link with a script that just runs 'busybox pwd'? Or would an alias work?


2

You are not specifying the device to mount, only the directory so it is telling you that you are missing one of the required parameters. I believe that the busybox mount will let you get away with not supplying the device, if it can figure out the device to mount, but the "stock" mount requires that you supply both the directory and the device. you would ...


2

Android has built-in formatting capabilities that are usually available via Settings -> Storage -> Format SD card (or something similar depending on the device you use).


2

I would generally not expect /? to provide meaningful output, because it's really a DOS/Windows thing. Linux/Unix command option are typically passed with hyphens, either a single one for short flags (for example, ls -l) or two hyphens for verbose ones (e.g. --help). Two possibilities that you can try: If you're using a version provided by busybox, you can ...


1

You can't run x86_64 binaries on an x86 system, regardless of whether it's real or emulated. You need to install an x86 binary of busybox.


1

To add to the answer above: Titanium Backup from Play Store You can install this, and it will have Root > OK "->Tap for more Information <-." Once you click on this it will display whether your root is correct and your current busybox version. Alternatively, using terminal commands like in the accepted answer, you may need to enter the SuperUser command ...


1

SUCCESS!! I went through a free web service called dnsomatic (run by the folks at opendns) It's as simple as signing up for an account and adding opendns to your services. No configuration beyond that. For Android users busybox versions of wget are way behind and don't have options to use user names and passwords, so we will have to install and use cURL ...


1

The rootfs (/) as well as /system have to be mounted with rw permissions. So, to check for that execute # mount |grep -i rootfs and # mount |grep -i '/system' If you don't see rw for the permissions, do # mount -o remount,rw / and/or # mount -o remount,rw /system


1

I too have a HTC DNA but did not want to root my phone so I just did it the "non-root" way with https://play.google.com/store/apps/details?id=burrows.apps.busybox. This way I am not voiding any boot-loaders or warranties. Required: ✔ Android Terminal Emulator Application After having a rooted phone for years, I know that there are plenty of applications ...


1

Not all devices at /dev are physical, some of them are logical and may be temporary needed by kernel/software (and some of them are symlinks, like log_modem -> /dev/ttyACM2). And, as I see, you have default linux tty count. It's not used (reserved and may be used), but it's no problem.


1

The reason for the different behavior is that dropbear was using a different shell than the terminal app. A workaround would be to just use the same shell as the terminal app: echo "/system/bin/sh" > /data/dropbear/.profile Note that this is in contrast to the Cyanogenmod wiki, which instructs you to use the busybox shell: /system/xbin/busybox sh


1

Yay, the phone boots again. Here's the magic recipe. Boot into recovery. adb shell mkdir /data/s mount -o rw -t yaffs2 /dev/block/mtdblock3 /data/s chmod 755 /data/s/xbin/busybox Reboot the phone. My shell is back. There's a weird quirk now - ls (from the busybox, one assumes) thinks ADB is an ANSI terminal and tries to emit ANSI escape sequences. Still, ...


1

There is busybox installer program in Market. Also good rooting programs may install busybox themselves. You can install it manually into /system/xdev/ (with necessary symbolic links) Here is one I have: /system/xbin # md5sum busybox 26d429e0541c42684225a880dc331053 busybox /system/xbin # ./busybox BusyBox v1.19.0 (2011-08-14 23:46:58 CDT) multi-call ...



Only top voted, non community-wiki answers of a minimum length are eligible