Android :: BusyBox - How To Use Terminal IP Command?

Sep 16, 2009

I'm using a Google phone running Android, and I need to figure out how to use the terminal's
'ip' command. I found out that Android uses BusyBox in its terminal, but I can't find any help or tutorials or any information regarding it other than the basic information given in the terminal help. Can anyone point me to a site that would give me more information on how to use the commands, or tell me how to use the 'IP' command if you are familiar with it?

ADVERTISEMENT

General :: What Is Busybox And Terminal Emulator And What Are They Used For

Jun 30, 2012

What is busybox and terminal emulator and what are they used for? How can i get them for my sga?

GT-S5830

View 4 Replies View Related

General :: Busybox Dd Command Not Working?

Feb 28, 2012

I'm currently working on a project which involves imaging Android phones - specifically, the program I've written is mean to automate identifying the memory block containing the userdata and then using the following sequence of commands (using Android Debug Bridge) to copy it to the computer that the phone is connected to:

Code:
adb forward tcp:5555 tcp:5555
adb shell
busybox nc –l –p 5555 –e dd if=/dev/mtd/mtd[mtd block number] bs=4096

This is done in command prompt and then you have to manually open another command prompt and type in:

Code:

adb forward tcp:5555 tcp:5555
nc 127.0.0.1 5555 | dd of=[chosen file name].bin bs=4096 -- progress

This copies the memory block over without any problems when done manually and even shows you in real time how much data has been transferred.The problem I have is with automating the process in C#. Specifically, I can get every stage of it to work through using a process to write the commands to standard input and using a tcp listening port to receive the data. Apart from this crucial element of the process:

Code:
adb shell "busybox nc –l –p 5555 –e dd if=/dev/mtd/mtd[mtd block number] bs=4096"

For some reason, no matter how I try to phrase it or do it, C# hates that command and won't execute it. I can manually type the exact same thing into the command prompt and it works fine but trying to do it in C# just leads to busybox acting as though I typed the command in incorrectly - this is what it gives me:

Code:

BusyBox v1.15.2 <2009-11-27 10:38:30 GMT> multi-call binary

Usage: nc [-in] [-wN] [-l] [-p Port] [-f FILENAME|PADDR PORT] [-e PROG]

Open a pipe to IP:port or file[code]....

At the moment I'm using a script to send the commands to the command prompt but that's a kludge that I'd really prefer not to have to use.

View 4 Replies View Related

General :: Rooted Irulu 4.2.2 Tablet - BusyBox Works But Command Does Not Elevate To Root?

Dec 6, 2013

i recently bought a cheap irulu tablet off ebay. it's running 4.2.2, and i'm not quite sure if it's rooted or not. i've read that most of their tablets are rooted right out of the box, so i downloaded 4 or 5 root checkers from the marketplace and some said it was rooted and some said it was not. i know that it does have su and busybox installed, but i don't have one of those superuser apps that request permission or anything. i can browse my full phone with any file explorer. i installed titanium backup, and it says on the main screen that root access is ok, but then it will pop up an error message that says:

BusyBox works but the "su" command does not elevate to root. There's something wrong with your "su" binary and/or "Superuser" app.

View 9 Replies View Related

Android :: Run Terminal Command In Droid Application?

May 16, 2010

How to send a command to the terminal through android app and get the output back? For example, sending "ls /" and getting the output to print it in the GUI?

View 2 Replies View Related

General :: How To Create Script To Run Terminal Command

May 24, 2012

How to create a script to run a terminal command. I looked up google but didn't find any good results.

View 9 Replies View Related

General :: How To Pause Android Terminal Top Command

Jun 18, 2012

I want to pause terminal 'top' command. I tried using 'top -d 1000' but it makes it draw its output for the first time after 1000 seconds from launch, so first I would have to wait 1000 seconds to actually see its output.

How do I make 'top' stop refreshing itself?

View 1 Replies View Related

Motorola Droid :: Using The Terminal Emulator And Pro - Unrecognized Command

Feb 12, 2010

How much are you using the terminal, and what kind of stuff do you use it for? Which emulator are you using? I like the idea of tinkering with command line on my phone, using it to do simple stuff, partly as a fun way to get reacquainted with it, as I use to use command line a little bit with XP and ubuntu. I've batted around between Better Terminal Emulator Pro and Terminal Emulator. One confusing thing is that they seem to use different commands. For example, in terminal emulator the help command brings up a help menu, in TEP it is unrecognized as a command. What accounts for these differences? Lastly, any suggestions for lists of commands and tips for using them, in a way that will work with these emulators?

View 10 Replies View Related

Sprint HTC Hero : Terminal Emulators / Command Prompt

Mar 11, 2010

I've seen these programs and tried one and just looks like a command prompt and i was wondering if one of these programs eliminates having to use the command prompt on my pc.but my next question is how would you use it for commands that requires you to be in recovery?

View 1 Replies View Related

Android :: Command Access Device Shell / Terminal Permission Denied Error

Nov 22, 2010

By using command prompt access the device shell/terminal. then use the su command getting permission denied error. Why this happening? how can i solve this problem.

View 4 Replies View Related

General :: Installing New Version Of Busybox If Using Modded Rom With Built-in Busybox?

Nov 10, 2011

Is there any way to install new version of busybox if using modded rom with built-in busybox?

Cause I have 1.15.3 and not all features of zep's supercharger script will work with this version... X8

View 3 Replies View Related

Samsung Captivate :: Wifi - Error 'mmc1 Got Command Interrupt 0x00060001 Even Though No Command Operation Was In Progress

Sep 6, 2010

I have a rooted samsung captivate with sideloading enabled. After experimenting with different wifi tethering apps from the unofficial market, I began experiencing difficulties with my wifi connection. Even after uninstalling every app that I thought was changing the wifi state, the problem still persists. I can turn on the wifi and it will act normally for about 30 seconds before turning off without user intervention. In dmesg, the error is as follows: 'mmc1: Got command interrupt 0x00060001 even though no command operation was in progress.' Is this caused by an app or is this a more complicated problem?

View 15 Replies View Related

HTC Eris :: Terminal Emulator Or Better Terminal Emulator?

Mar 23, 2010

I know root is new for the eris but what do you guys perfer. The one cost 3.99 in the market and the other is free. Is there a difference?

View 2 Replies View Related

Android :: Why Busybox Necessary - How It Functions?

Aug 28, 2010

Can someone tell me what busybox actually does and why it's required or necessary? I'm using a rooted captivate if it matters.

View 1 Replies View Related

HTC Eris :: Busybox - Which One To Install?

Mar 24, 2010

Which busybox should I install? I know grd has one with it on. But I rather try to install my own its funner that way.

View 8 Replies View Related

General :: When And Where To Install Busybox

Dec 28, 2013

Should Busybox (and the Linux stuff it downloads) be installed directly after rooting, or after every single flashing of a ROM? I am assuming this has to be done after every flash only.

Another thing, should Busybox be installed to /system/bin, or /system/xbin? By default Busybox wants to install to /system/bin. I am safely assuming that formatting /system in recovery would remove all the Busybox components. To some people, formatting /system before flashing a ROM is imperative.

View 6 Replies View Related

General :: All App Gone After Getting MOUNT2SD And BUSYBOX

Oct 26, 2013

My tablet's app disappeared from my app drawer almost as if i did a factory reset but all my files are still there...

What I did before this happened

Installed MOUNT2SD
Installed Busybox
Went back to MOUNT2SD
enable script
accidentally DISABLED Safe Mode in MOUNT2SD app
Did a normal restart
Then it happened

View 3 Replies View Related

HTC Hero :: 2.1 Stock Root - How To Get Busybox?

Aug 10, 2010

So I have used the one click root thingy. Have the superuser app. Tested. I have root (look screenshot). Now I want to install busy box. When I got the app from market to install the latest I got this. What I want to know. Is it safe and if so whats safe to erase from the system folder. (would kinda like to get rid of the stocks and footprints app) but really not sure its not linked somehow and I get some big system error , since these apps run all the time. (actually I want to install busy box to be able to remove these apps anyway). I installed titanium backup and it installed busybox version 16 or soemthing. Problem is other apps like the cache cleaner doesnt find busybox installed even if I do it via titanium app.

View 1 Replies View Related

HTC Desire :: BusyBox Not Working - How To Install 2.2?

Sep 21, 2010

I'd like to install rooted 2.2 on my Desire as per Lekky's guide, but there's a problem with BusyBox - it doesn't currently work with the Desire. As most of the root apps seem to need BusyBox to run (including Titanium), should I just wait for a fixed version of BusyBox before trying to upgrade to 2.2, or using any other rom for that matter? Is there an alternative method I could use? Also, my Desire is on 3UK network. Do I need to use a goldcard to upgrade to 2.2/ install another rom? I'm not clear on this bit.

View 9 Replies View Related

HTC EVO 4G :: Verify ROM Rooted And Includes BusyBox?

Sep 29, 2010

I am rooted with unrEVOked 3.2.1 as of yesterday. I want to remove a bunch of the bloatware that came installed on my phone. I downloaded Titanium Backup to do this, but it comes up with an error that says "Please verify that your ROM is rooted and includes BusyBox, and try again." I tried to download BusyBox from the market, but it just sits there and doesn't download.

View 2 Replies View Related

General :: How To Lower Version Of Busybox

Oct 6, 2011

I want to apply the supercharger script. i have v1.19.1 busybox

GT-S5570

View 9 Replies View Related

General :: Busybox Installation Fail?

Oct 7, 2013

I got busybox pro from the market but when I try to smart install it, it shows free space as 0.0mb whereas I have around 500 my left.

AUXUS Nuclea N1

View 8 Replies View Related

Motorola Droid :: Edit Text Within Busybox Vi

Sep 19, 2010

im trying to edit txt within busybox vi, but i need help with saving/exit. im running it out of the terminal emulator, and have ctrl set up as <vol. up>, so i believe i need to do <vol up><sym><1> to enter command mode, but i cant seem to get typical vi commands to work (zz) for write/exit. ok if i get past that then i have mounted system as rw, but within the vi it says [read only]. will this be an issue?

View 1 Replies View Related

Motorola Droid :: Busybox Working For Explorer On PC

Dec 10, 2009

If you are rooted try this out.

Step 1) download busybox binary to your adb tools directory
Step 2) cd to your adb tools directory
Step 3) adb push busybox /data/local/busybox
Step 4) adb shell
Step 5) cd /data/local
Step 6) chmod 755 busybox
Step 7) ./busybox

Now to have this run so droid explorer and detect your phone and so you can use busybox (ie so its in your PATH) run this.
Step 8) mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Step 9) /data/local/busybox cp /data/local/busybox /system/bin
Step 10) mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
Step 11) sync
Step 12) reboot

Download Links:
Droid Explorer: Droid Explorer
busybox: Download busybox.zip from Sendspace.com - send big files the easy way
Disclaimer- I put this together really quick so please only try if you know what you are doing so I can save my butt from any problems that may come of my or your own error.

View 11 Replies View Related

Motorola Milestone :: How To Install Busybox To Android 2.1?

May 10, 2010

I've been looking to install busybox on UK Milestone 2.1 and have found only a few pages of instructions, but all of these seem to come up with errors, I dunno if its the new firmware or just something I'm doing wrong with ADB. I'm fairly new at this but I know my way around flashing and had a shot at ADB so I'm not entirely a newbie. Anyone know of any (working) how-to's for busybox?

View 9 Replies View Related

Android :: BusyBox Installation - No ADB Tools Directory

Dec 16, 2009

Yes my phone is rooted. Trying to run metamorph on the droid but I apparently need busybox first. I am having problems installing it. I tried to follow the directions:

cd to your adb tools directory
adb push busybox /data/local/busybox
adb shell
su
cd /data/local
chmod 755 busybox
./busybox
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
mkdir /system/xbin
/data/local/busybox cp /data/local/busybox /system/xbin
/data/local/busybox cp /data/local/busybox /system/bin
cd /system/xbin
busybox --install .
mount -o ro,remount -t yaffs2 /dev/block/mtdblock4 /system
sync
reboot

I don't have an adb tools directory and adb isn't even a command on my phone. There has to be something I am missing. Also, if I get those working, how would I get the file where it needs to be? I tried copying it from my SD card into the directory, but it never shows up.

View 4 Replies View Related

Motorola Droid :: Rooting And Installing BusyBox With Mac?

Mar 26, 2010

I've been reading some info about rooting a droid here and at rootyourdroid.info, probably going to buy one this afternoon since the incredible isn't out yet. Rooting seems to be pretty universal between PC/Mac, but when it gets to the USB debugging/Busybox install it appears a PC is required. Anyone know if this can be done from a Mac or a Linux box? I don't currently have a Windows computer anywhere in the house, and don't really want to use my work laptop for this if I don't have to.

View 5 Replies View Related

General :: GS5 - BusyBox Or Xposed Making It Run Slow?

Jun 9, 2014

I've rooted my Sprint Galaxy S5 and it made the phone work slow. The buttons took a good 3-4 seconds before responding, and sometimes would not respond at all. "HealthService" would always crash, and other slowdowns like when I drag down the notification bar. I installed Xposed and BusyBox. However, the phone was working slow before those were installed. So I unrooted it and flashed the stock ROM, and everything worked fine. Time passed by... I decided to root it again. So I did, same method, same files, and it was working normal. No slowdowns, buttons worked perfectly and were responsive. "HealthService" still force stops but I presume that is an easy fix. Then I installed BusyBox and Xposed again. Once both were installed and after 5-7 minutes, the phone started to work slow as before.

View 1 Replies View Related

General :: Force Install Busybox In Android X86

Jun 17, 2013

I'm using Android x86 4.0.4 in my netbook with the /system mounted as rw. I had lost my busybox installation.

View 2 Replies View Related

General :: How To Choose Busybox Install Path

Aug 1, 2012

when installing Busybox with Stericsson Installer it allow to choose between system/bin or system/xbin to install it, which one to choose and why ? What's the difference ?

SuperSU has an option "Survival Mode" that says that we must disable it before Nandroid Backup, what happends if I forgot to disable it ?

View 4 Replies View Related

Motorola Droid :: Put Busybox - Making Directory On Phone

Feb 12, 2010

I just got my droid last week and decided to root it and try to get a little crazy with it. However I'm very new, obviously, to the droid and to linux. I just got ubuntu for my computer yesterday and already have it on there and have been working with it a little trying to get things settled. So far I'm very happy with both, but I'm also having some trouble, hence the following...

Well I'm trying to put busybox on my droid. I've got it on there but I'm having problems with making a directory on my phone, which I need to do to continue.

Anyway, what's happening is, ill put in mkdir /system/xbin and it returns "mkdir failed. Read only filesystem." This is after Ive already launched busybox. I don't understand what I'm doing wrong.

View 6 Replies View Related

Samsung Captivate :: BusyBox - Nand Installed And RW Enabled

Aug 28, 2010

I am trying to get busybox installed. It says I must have Nand installed and RW enabled. What does this mean?

View 1 Replies View Related

Motorola Droid X :: How To Check / Make Sure BusyBox Installed?

Oct 23, 2010

I have another thread on the troubleshooting sub-section SetCpu suddenly stop working with 2.2 OTA Root device (setcpu isn't working and I think it might be busybox), and I have a question about BusyBox. I have used the Busybox app on the market it detects the root but doesn't find any Busybox. I have the file Busybox on my sd card which I did not put there. How can I check and make sure BusyBox is installed where it is suppose to be?

View 7 Replies View Related

General :: LG Optimus 690 - Internet Not Working After Installing BusyBox

Jun 5, 2012

I am using LG optimus 690 and today I tried to install BusyBox several times but whenever I install busy box my internet stops working using wifi and data connection and to recover that I need to flash my phone

Any way by which I can make my internet working after installing BusyBox. Let me explain what I did.

1. I put the BusyBox PRO apk in /system/app and restarted my Phone and after restarting I opened the BusyBox and install all the binaries and after that all commands started working fine in terminal emulator only thing that didn't worked my internet.

Flashed my phone using stock rom

2. After installing fresh ROM this time I installed BusyBox normally and after installation I updated all the binaries again and everything started working well but yet again my internet stopped working.

What should I do to make my internet connection work after installing BusyBox.

View 1 Replies View Related

General :: SuperUser And BusyBox On Hard Rooted Phone?

Mar 8, 2013

How do I get SuperUser and Busybox on my hard rooted phone(i.e. Root access from ADB and Android Commander) ? I need to install quite some apps that need internal root access from SuperUser, How do I do It?

View 2 Replies View Related

General :: How To Gain Root Access If Busybox And System App Is Already Installed

Oct 11, 2013

I have a Rockchip RK3188 Tablet with Android 4.2.2, which I need to root ON DEVICE. Actually, the device was already rooted (using a Laptop via the adb bridge), so I already have busybox installed and I have one of my own apps in /system/app. However I managed to delete the su program (yeah great!) and therefore don't have root access any more. I know I can easily root the device again if I connect it to my laptop again, but that is not possible, because the device is at my parent's place and I can't go over there any time soon.

Therefore I want to root the device just with an app. Actually I would only need to copy su to /system/xbin. These are the things I already tried (without success):Framaroot (doesn't work, because framaroot does not support Rockchip tablets)

Writing my own app, which contains su in the assets and using this su for temporary root

Using adb (on the device) for a local connection (adb connect localhost), because if I connect from my PC I automatically have root (doesn't work because Android 4.2.2 has increased security on adb)

Start telnetd via busybox and then execute my commands via nc (doesn't work, because I can't start telnetd in a way that it ends up with a root shell)

My last idea is, that I could maybe gain temporary root access with the app I already have in /system/app. Basically this would be similar to the Master Key Exploit, except that I do not have to fiddle around with the apk and instead install it normally. However I don't know how to continue from that point. I know, I have special permissions if I have an app in /system/app, but which permissions are that? And how can I use those permissions to make /system writeable (and copy my su file there)?

View 4 Replies View Related

HTC Eris :: Terminal Emulator Vs Adb

Sep 19, 2010

So I hear a lot of talk about "pushing" things with adb shell, and from what I've read I believe this requires a PC? If I have a Mac, and want to perform some of these actions, can they be done with the terminal emulator, and if so, do I just copy exactly the directions for adb or do I have to change them slightly? And yes, that was quite the run-on sentence, my English teachers would probably cringe...

View 5 Replies View Related

HTC EVO 4G : Terminal Emulator After Unrevoked

Nov 11, 2010

Having trouble figuring out how to make terminal emulator work. I'm trying to setup Collin_Phone's battery tweak according to these instructions: [GUIDE][UPDATE] Try the battery tweak with Myn's RLS3! - xda-developers but when i type in batt-cfg, it tells me something like command not found so i cannot move on into the later steps.My questions are:

1)should i have done something in particular to setup terminal emulator before running it?

2)can TE even work on my phone since i didn't use ADB to root, but unrevoked instead?

3) Lastly can i still somehow install/hook up into ADB even though i used unrevoked? There are still some functions I'd like to try out that i dont think i can without a direct link to my PC.

View 2 Replies View Related

LG Ally : Terminal For Velocity

Sep 14, 2010

I just compiled a very small theme to test the waters. Its basically only an edit of the status bar, battery icon, browser background, and for no reason what so ever made the gtalk icon grey scale.Like I said, testing the waters here and only did a tiny bit of modifying. When Velocity 0.2 comes out I will be making a more detailed theme. This is just something to throw on your rom while you wait.Note: This will not completely replace your current theme if you have one. This theme will work best when installed on the stock theme.Beautiful Widgets and launcherpro not included.

View 8 Replies View Related

HTC Desire :: Terminal Rebooting - Won't Go Into Recovery

Nov 17, 2010

Right, as of yesterday my rebooting problem seems to have become terminal. It won't boot beyond the red circle, and although it will load into the bootloader it won't go into recovery after that. Now obviously I'll be sending back for repair but what are the chances (given that it won't boot at all now) that they'll know the phone has been rooted and refuse to fix it?

View 19 Replies View Related

Samsung Moment :: What Is Terminal Application?

Feb 8, 2010

I am rooting my phone and there is a list of safe apps to remove. One was a terminal app and it says to remove it so I can install a functional one...so I was wondering what a terminal app is for and if I should be looking for one.

View 1 Replies View Related

Sprint HTC Hero :: Need Terminal App / Recommendations?

Nov 18, 2009

Can someone please recommend a terminal app that works on CDMA Hero? I'm in the middle of re-rooting after the MR and don't have the one I used last time, it was not a market download and I don't recall what it was. A lot of the ones on the market seem to be flawed in one way or another according to the comments.

View 1 Replies View Related

Motorola Droid X : Using Terminal Emulator

Oct 21, 2010

I'm very intimidated by terminal emulator because I've never used such a thing and it seems like a powerful tool.Many of the roms I'm considering offer special scripts (like Overclock or switch apps) that I'd like to be able to use.Would someone mind sharing exactly step by step how to use terminal emulator to install a program or use a custom script.Are there settings in terminal emulator that I should adjust? Basically I open TE and see a blue screen (yes reminds me of BSOD).Then what.just type the script instructions verbatim? After typing do I use the enter key to run?I'm looking at Fab's Apex Rom.Maybe that will help give an idea as to what options/scripts I'd like to be able to tinker with.Maybe a short video tutorial would help?

View 7 Replies View Related

Android : Telnet From Terminal Emulator

May 3, 2010

I would like to do some simple things from the command line on my HTC desire such as telnet, DNS lookup and looking at ARP Tables, DHCP client functions etc. (for testing network services as part of my job, typical things such as testing SMTP access or testing connections to web server etc. e.g. using telnet {host} {port}) Telnet from the terminal seems to require root access (permission denied) I haven't rooted my HTC Desire and don't intend to root it at present unless I have to.I'm wondering how droid applications such as telnet clients etc. gain access without root and hence how I can?

View 4 Replies View Related

Building Android Terminal Emulator?

Nov 1, 2011

I am doing a project where we have to use the Android Terminal Emulator. I downloaded the the Jackpal Android Terminal Emulator from github and using the instructions in the document to build the terminal emulator.

[code].....

I am having trouble installing the package in the first step itself, i.e. building the ndk shared libraries.

According to the instructions provided:

Build the shared library:

cd <the-android-terminal-emulator-directory>
<path-to-the-android-ndk>/ndk-build

Accordingly, I typed the following in my cmd

C:>cd androidterm
C:androidterm>android-ndk-r6b/ndk-build

I got the following error message:

'android-ndk-r6b' is not recognized as an internal or external command, operable program or batch file.

I am still learning Android and have never worked with the command line before. Is it a problem with the way I have typed the command?

View 8 Replies View Related

ADVERTISEMENT