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.

General :: busybox dd command not working?


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 :: 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?

View 3 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

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

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

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

General :: Listen To Voice Command Not Working Anymore?

Dec 6, 2012

Yesterday I was trying to showoff the features of our phone to a friend and decided to demo the listen to command, but it didn't launch a song it just did a google search.

I have my langauge set to English (US). I cleared the Google Search application data.

Other voice actions work, likes "send text", "navigate to", "call", pizza, "how old is Barak Obama". For some reason "Listen to" just does a google search. SGH-I317M

View 4 Replies View Related

General :: How To Install Python On Android With Working Command SU

May 11, 2014

I've got a moto g and its my first android and its rooted and bootrom is unlocked, and ive installed terminal emulator, but I cant find out how to install python so that it works in terminal eit su, cd , ls ... commands?!?

I've installed qpython app from playstore but you cant do commands like su, cd ..... I've tried ping in terminal emulator and it works so you can enter internet over terminal emulator, so i tried apt-get install python but it says no apt-get command founder something like this, so how to install python on android with working commands( su ...) so that it can enter filesystem directories like /sdcard....

View 2 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

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

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

Android :: Logcat Not Working On Command Prompt - Freezes

Oct 13, 2010

So I can see Logcat working with no problems in my eclipse IDE. However, when I try to run it in a command prompt, i get a bunch of logcat data for about a second, and then the whole thing freezes.

View 2 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

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

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

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

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 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 :: Milestone With ADB Command

Apr 6, 2013

I have milestone A853. I want to up cook ROM but it can't enter recovery menu because camera button have problem. Any enter menu of recovery with adb command?

View 2 Replies View Related

General :: Possible To Use Setprop Command In CWM?

May 13, 2012

I'm trying to make a patch for my phone and was wondering if it's possible to use the setprop command in CWM? I need to adjust some build.prop settings and was hoping to make it easy. XT860 running ICS

View 2 Replies View Related

General :: How To Take Log File With ADB Command

Mar 20, 2013

How to take logs file with adb command

View 2 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 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







Copyrights 2005-15 www.BigResource.com, All rights reserved