The BusyBox Headache - Nexus One Q&A, Help & Troubleshooting

I love my phone to death, but the few things I have left I want to do/use on my phone require busybox. I could just flash a new rom, but I like the stock rom as it is, and don't want to have to install the 150 apps i have all over again (and am too poor for titanium backup donate).
So i just want to install busybox on my phone. I've been googling, and reading, and googling some more, but I still can't seem to get past the first few steps. I am new to ADB and really don't know what I am doing, but I tend to be good at following directions.
Right now im using this guide:
http://www.gadgetsdna.com/busybox-installation-steps-on-jailbroken-android-device/683/
I get to:
adb push busybox /data/local
and cmd throws "adb: permission denied"
I have searched to no avail, and have tried everything my limited linux command experience has to try. I'm down to begging yall for some help.

Is your phone root?

One click root. Didn't know if that would hurt anything. I have already installed CM6 and gone back to stock, so i figured installing busybox would be no problem.

I used the universal androot app and it installed busybox for me. Piece of cake.

You could install Titanium Backup and then click "Problems?"

why don't u just get it from the Market?

Related

help installing apk using terminal

ok i just updated to CM 5. and well none of my apps are there, now im trying
this following :
sh /sdcard/installapk.sh /sdcard/theapp.apk
and no luck i think i can b doing it wrong.
cant DL the app cause i dont have the market app ether
Download DroidExplorer and you can do a bulk install of all your apps straight to the sdcard. Works everytime!!!
Link is in my sig
yea but i have no market on the phone and i dont have adb set up on my pc is it possible trew terminal to install astro so i can go on from there?
If your market is not there then you failed to flash the gapps.
You need to flash those AFTER CM5 or BEFORE. I've heard it works different for some people. First time I flashed it, it was before. Now it's after. Before and after won't hurt.
i figured that but the link on CM page for gapps is not working for me
I'm not really sure what having the market working has to do with anything. Clearly you didn't even take the time to click the link in my sig and go to the DroidExplorer thread.
it seems like that is for computers 64bit and up i have 32
brios86 said:
it seems like that is for computers 64bit and up i have 32
Click to expand...
Click to collapse
Are you talking about DroidExplorer? I have it installed on my 10 year old Dell and it is definitely a 32 bit machine. I'm assuming you are talking about something else.
You can use busybox if you have the latest CM ROM installed which you do. Busybox is included in the ROM so you can run busybox commands from terminal.
Put the apps you want to install on the root of your sdcard just to make them easy to find. Once in terminal, su so you have a # symbol
Then
Code:
busybox install /sdcard/yourapp.apk /sd-ext/app
great now i am F*** i tried installing the debug phone ota file that was required for CM 4.x and now i have no recovery it comes out the phone with exclamation mark
trying the droid explorer now
no luck droidexplorer seems to view the device but nothing else
brios86 said:
no luck droidexplorer seems to view the device but nothing else
Click to expand...
Click to collapse
Well that makes sense considering Droid Explorer requires root...According to your post on the first page, you are seeing an exclamation point when booting into recovery which means you lost root access by flashing whatever it is you flashed. Time to start all over again.
There is an updated rooting post for the Dream over at theunlockr.com
ok now my thing is i cant have the phone on cause it will keep getting FC and after a few it reboots
im trying to set up ADB on my pc now will that help me fix this? the phone boots up and the it reboots on its owne
It seems pretty clear that you don't really know what you are doing when it comes to modding your G1, and it is also pretty clear that you aren't willing to listen to directions.
I told you that you could batch install applications through Droid Explorer and you blatantly ignored my directions then said that it wouldn't work because you have a 32 bit computer.
I then gave you directions on how to use busybox to install the application that you wanted and never got a response regarding whether you even tried it or not.
You responded further into the thread saying that now you are getting an exclamation point when booting into recovery which MEANS THAT YOU DON"T HAVE ROOT ANYMORE!!!!!!!!!!!!!!!!!!
Installing adb and getting it working isn't going to do anything for you as far as installing applications because you lost root access which means you don't have the correct permissions to do anything anymore.
I gave you the link to an updated post on rooting so either do that or update this thread with where you stand exactly. Can you get into recovery? Is it an exclamation point? Can you launch the terminal app? When you type "su" do you get a # or an $? Does it say permission denied? ETC ETC ETC
DirectMatrix said:
It seems pretty clear that you don't really know what you are doing when it comes to modding your G1, and it is also pretty clear that you aren't willing to listen to directions.
I told you that you could batch install applications through Droid Explorer and you blatantly ignored my directions then said that it wouldn't work because you have a 32 bit computer.
I then gave you directions on how to use busybox to install the application that you wanted and never got a response regarding whether you even tried it or not.
You responded further into the thread saying that now you are getting an exclamation point when booting into recovery which MEANS THAT YOU DON"T HAVE ROOT ANYMORE!!!!!!!!!!!!!!!!!!
Installing adb and getting it working isn't going to do anything for you as far as installing applications because you lost root access which means you don't have the correct permissions to do anything anymore.
I gave you the link to an updated post on rooting so either do that or update this thread with where you stand exactly. Can you get into recovery? Is it an exclamation point? Can you launch the terminal app? When you type "su" do you get a # or an $? Does it say permission denied? ETC ETC ETC
Click to expand...
Click to collapse
My whole point with the no market is if he would have flashed the gapps or found another way to get them he could have installed a file manager then installed the app off his sdcard.
This was a 1 - 2 minute procedure that he has not made an hour/s procedure.
I agree with droidexplorer, I use it quite constantly. However, if he would have correctly installed CM5 this issue would have never arisen.
As for OP, I strongly advise that you unroot and stick to stock. If you cannot successfully do this, there is a high chance you are going to brick and it's just not worth it.
this is not the first time i try this i have a understanding of what i am doing, for some reason i decided to try another sdcard and it magically booted fine, now the gapps link doesn't work for me, so i am trying to install astro threw terminal emulator (astro is on the root of the sdcard) so i can just install the rest of my apps
thank you busybox worked thank you so much
funny after all the stuff i tried i decided to try a diff sdcard and it booted fine and then changed back to the old sdcard and it works fine

Need help from botched root attempt.

GRRRRR SuperOneClick breaks it also
I hate posting a question, but I've exhausted searching for an answer.
I have a G1 that i am trying to root in order to flash, I made the mistake of using ANDROOT because it said it worked for G1. Well it said it rooted my phone, but I think it botched something internally because I can't actually get root access.
I then attempted to use the SUPERONECLICK and it ran through the whole proccess and failed when it did a test command at the end to send a SU request.
I then tried some other things to flash clockworkmod recovery with no success.
Now when I attempt to access root in terminal I get...
"371 could not load needed library 'libbinder.so' for 'su' (lLibrary 'libbinder.so' not found)CANNOT LINK EXECUTABLE"
I'm not an idiot, I've rooted and flashed both the NEXUS ONE and CAPTIVATE many times problem free, but this has now got me stumpped and I've searched to no avail. Any help is appreciated.
I'm having the same problem.
Path I took was a bit different, just got here from WM some Linux exp not much.
I tried universal androot
It said it worked. But it didn't.
Then SuperOneClick
Failed at SU test.
So i tried the Shell Root that said it worked.
Only proof I have that it works is that android screen cast works.
Then I was installing Titanium and it said I didn't have root or my busy box was not installed. So I pushed I'm having trouble ... I downloads it.. to where i dont know
I tried pushing it from command prompt with
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
at this point I get that error
when I exit and come back into shell I get the same error just by typing SU.
Any help would be appreciated it. I have a Zio
What's a zio?
To both...start over with the DREAIMG.nbh and just start from scratch. These one clicks may work but they're boring. I actually unrooted one of my dreams and used visionary and it worked too funny (but boring)
htc vision

[Q] nTelos Milestone Root Failed. Can't find Mount Path or /etc/fstab

Hey all, just purchased my Milestone 1 from my local provider nTelos. They are CDMA carrier located in the Shenandoah Valley of Virginia. Now, everything has been working fine for almost a week and a half now, but yesterday upon trying to update my Busybox install (from 1.14.x to 1.17.x) it completely killed my root. What I mean by that is no Barnacle, no Titanium Backup, no SuperUser privileges!
Even from the Terminal Emulator, if I try to su into the system after "rerooting" with Universal Androot, it says that I need to be suid for it to work.
Upon typing anything else, suid, root, suid su, etc. it says permission denied.
ADB is a hit or miss because I can obtain shell root using SUPEROneClick for a short time in order to push and pull things from the device. Thinking this would be a cure all, I tried rooting with SOC and found out that it cannot do this because it cannot find the mount path. Digging around further, I find out that my Android can't access /etc/fstab because it doesn't exist on Android devices do to no media drives.
So, is there anyone out there that can help me in any way possible? I've been digging online for over 24 hours for this and have yet to find anything helpful/useful for my situation. I'm thinking if I can reset the "su" permissions or remove Busybox and reinstall, it could fix things? Idk, any help is appreciated!
I reinstalled the GOT 2.2.1 ROM and also could not get BusyBox to work. Even though the phone is rooted, apparently, BusyBox cannot remount.
Anyway, I'm no longer using Titanium. So long as you have real root access, there are plenty of other back up apps that you can use (Root Explorer, Super Manager, etc.).
Try z4root by RyanZA for rooting your phone. I'm sick of BusyBox and its fussiness.
Found out that after flashing with the sbf file for my build A854, I was unable to join the nTelos network. Had to get a new phone, for free of.course
Sent from the Milestone

Require some guidence Samsung Captivate

I just switched to the samsung captivate (build number:ECLAIR.UXJI2) after being an iphone user for years. I put in every mod in that i could, unlocked it, & jailbroke it as much as humanly possible. Android is totally new to me. I have sucessfully rooted my device, but have no idea how to unlock the nand protection in order to install busy box so that I can install certan apps and utilities. My other problem is that I dont know what nand is, what busybox is, or what they do. I'm unfemilliar with the android terms as well and what they do, sush as flash, rom, ect.
I put 20 hrs of research in, in the last 3 days on line, and all i got done was a root.
I know im asking alot, but i can return the favors of android info with iphone info.
Thanks in advance to who ever helps me.
Did you download busy box app from market?
Busy box is a set of commands that many root programs utilize
groovydude1981 said:
I just switched to the samsung captivate (build number:ECLAIR.UXJI2) after being an iphone user for years. I put in every mod in that i could, unlocked it, & jailbroke it as much as humanly possible. Android is totally new to me. I have sucessfully rooted my device, but have no idea how to unlock the nand protection in order to install busy box so that I can install certan apps and utilities. My other problem is that I dont know what nand is, what busybox is, or what they do. I'm unfemilliar with the android terms as well and what they do, sush as flash, rom, ect.
I put 20 hrs of research in, in the last 3 days on line, and all i got done was a root.
I know im asking alot, but i can return the favors of android info with iphone info.
Thanks in advance to who ever helps me.
Click to expand...
Click to collapse
After u root:
1. Go to market and search for busybox and install it.
2. Open busy box, and follow the steps in it install the required commands.
You should be good now.
mcord11758 said:
Did you download busy box app from market?
Busy box is a set of commands that many root programs utilize
Click to expand...
Click to collapse
@mcord11758: * one more collision *
diablo009 said:
@mcord11758: * one more collision *
Click to expand...
Click to collapse
We are in sync
mcord11758 said:
We are in sync
Click to expand...
Click to collapse
oops. wrong word. u sure know how to phrase ur sentences. r u in any business/management role?
diablo009 said:
oops. wrong word. u sure know how to phrase ur sentences. r u in any business/management role?
Click to expand...
Click to collapse
I am in sales, but my educational background Is business
groovydude1981 said:
I just switched to the samsung captivate (build number:ECLAIR.UXJI2) after being an iphone user for years. I put in every mod in that i could, unlocked it, & jailbroke it as much as humanly possible. Android is totally new to me. I have sucessfully rooted my device, but have no idea how to unlock the nand protection in order to install busy box so that I can install certan apps and utilities. My other problem is that I dont know what nand is, what busybox is, or what they do. I'm unfemilliar with the android terms as well and what they do, sush as flash, rom, ect.
I put 20 hrs of research in, in the last 3 days on line, and all i got done was a root.
I know im asking alot, but i can return the favors of android info with iphone info.
Thanks in advance to who ever helps me.
Click to expand...
Click to collapse
Wow, I had my phone rooted and flashed within an hour of even learning what it all was.
Video tutorials are the best way to learn the basics, and once you have a grasp of what youre doing written instructions become easier to understand.
I recommend watching as many ROM review and install videos as possible, make sure to watch them more than once and while youre actually doing the steps.
thanks for the quick responce
I did download busybox from the market, but it tells me that everything is unavailable, and that my phone is rooted but my nand protection is still on. Plus busybox tells me that it can't find itself, whatever that means. lol
Pls let me know how to correct this.
By the way I used super 1 click 1.6.3 to root my device.
Thanks ppl your all awsome.
I also watched lots of videos, but could not find anything specific to my device. What other device videos are compatible in content with my samsung captivate?
thanks again.
Did you click install in busy box?
I dont know why but Itried busy box again and it installed. Now i think I just need nand protection removed andthe on click lag fix installed. it still wont install
groovydude1981 said:
I dont know why but Itried busy box again and it installed. Now i think I just need nand protection removed andthe on click lag fix installed. it still wont install
Click to expand...
Click to collapse
I would not use one click lash fix, but that is just me. If you want a lag fix consider a custom rom. One click lag fix is obsolete
thanks for the heads up. I installed the one click lag fix for now. When i learn how to use custom roms, ill uninstall it and use an up to date rom.
some help
groovydude1981 said:
thanks for the heads up. I installed the one click lag fix for now. When i learn how to use custom roms, ill uninstall it and use an up to date rom.
Click to expand...
Click to collapse
This is probably a great place for you to start.
http://forum.xda-developers.com/showthread.php?t=887525
there is a one click out there with root, unroot, and non market apps. i'm looking for it for you
EDIT
Here it is
http://forum.xda-developers.com/showthread.php?t=803682
Also before doing too much i'd familiarize yourself with the ODIN one click and learn about it as well as download mode so you know how to fix a bricked phone, well a soft bricked one.
I used super 1 click to root my phone, but anything you can send me is most appreciated. I will not be able to thank you enough.
Try rooting again with Galaxy one click root.
What will galaxy one click do for me that super one click wont?
They both essentially do the same thing. After your phone has been rooted you need to see if you can find the Super User app. It should be installed on your phone.
I've meant to update the Q&A sticky with what versions are easy to root.. so I apologize for not having it there.
When you install anything that requires root access (hence why your phone is rooted to begin with ) you would get a pop up requesting to have that application gain root access.
But.. there are only a few 3rd party apps that require root access if your not going to flash a custom ROM.
Titanium Backup btw will install the latest version of BusyBox for you - it is a highly used application to backup your system and applications for your phone.
Another highly used application is ROM Manager (used for flashing ROMs)
I would highly suggest you get familiar with how you restore your phone back to stock - then check out teh sticky under the dev forum on how to flash a custom ROM.
Then your on your way to becoming a fellow flash junky
I'm in the same boat as groovydude.
I have a 2 month old Samsung Captivate (first smart phone). I'm trying to root it. I have run SuperOneClick at least 6 times trying everything that I can find in the forums. I have drivers installed. Does anyone know if this tool will work on this phone, or if there is a tool that does. The output from SuperOneClick-ShortFuse is below. Every time it runs it tells me it is rooted, and every app that I open requiring root tells me it is not.
I have tried instructions to root via Update.zip. The instructions were to drop the file on the internal sd. When I plug the phone into the usb port, two drives show up. Nothing can be dropped on either. They both say to insert a disk. I have no external sd card. Does anyone know what might be the holdback?
Also, SuperOneClick said that BusyBox was installed, but I could not find it, so I downloaded Stericson's BusyBox installer. It failed to install with a message that the phone was now rooted but BusyBox was not found. It said the application failed because the phone is not "nand unlocked." What is nand unlocked? The only unlocking procedures that I can find instructions for are to unlock a phone from a carrier. Is this what "nand means"?
I tried Titanium Backup to install BusyBox, and it complains that the rom is not rooted after both other processes said it was. TI offered to download and install BusyBox and it failed too.
Does anyone know why all these procedures say that they have rooted the phone but nothing still works? Or what is nand unlock? and how is it done?
SUPERONECLICK OUTPUT:
SuperOneClick v1.6.5.0
Killing ADB Server...
OK
Starting ADB Server...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
OK
Waiting for device...
OK
Pushing psneuter...
558 KB/s (585731 bytes in 1.024s)
OK
chmod psneuter...
OK
Running psneuter...
OK
***IF IT KEEPS LOOPING, TRY DISABLING USB DEBUGGING NOW***
Killing ADB Server...
OK
Starting ADB Server...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
OK
Waiting for device...
OK
Running psneuter...
ROOTED
Pushing busybox...
974 KB/s (1062992 bytes in 1.065s)
OK
chmod busybox...
OK
Getting mount path...
/dev/block/stl9
OK
Reading OS Version properties...
Version: 1.5
OK
Remounting system with read-write access...
OK
Pushing su-v1...
640 KB/s (26256 bytes in 0.040s)
OK
chmod su...
OK
Creating /system/xbin...
mkdir failed for /system/xbin, File exists
OK
Copying busybox (/system/xbin/)...
OK
chmod busybox (/system/xbin/)...
OK
Installing busybox (/system/xbin/)...
OK
Pushing Superuser.apk...
1626 KB/s (196521 bytes in 0.118s)
OK
Remounting system with read-only access...
OK
Running a SU test...
Test failed!
FAILED
ro.wifi.channels=
ro.product.cpu.abi=armeabi-v7a
ro.product.model=SAMSUNG-SGH-I897
ro.build.tags=test-keys
ro.build.version.release=2.1-update1
ro.build.description=SGH-I897-user 2.1-update1 ECLAIR UCJH7 release-keys
ro.product.brand=Samsung
ro.product.device=SGH-I897
ro.build.version.incremental=UCJH7
ro.build.type=user
ro.build.date.utc=1282903617
ro.board.platform=s5pc110
ro.product.name=SGH-I897
ro.product.board=SGH-I897
ro.build.user=jetaek.lee
ro.build.display.id=ECLAIR
ro.build.version.codename=REL
ro.build.product=SGH-I897
ro.build.id=ECLAIR
ro.build.version.sdk=7
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=samsung
ro.product.locale.region=GB
ro.build.date=2010. 08. 27. (???) 19:06:57 KST
ro.product.locale.language=en
ro.build.host=sep-11
ro.build.fingerprint=Samsung/

[Q] Flash_Image??

Okay so I have recently rooted my HTC Hero and would like to flash a custom ROM, but I am getting held up in ADB when trying to flash_image my custom recovery.
I have tried to put the Flash_Image file in the root of my SD Card, in my ADB folder, etc.... But nothing has worked so far.
Here is what I am doing, with the outcomes.
C:\Program Files\Android\Android-sdk\Platform-tools\>adb shell
$ su
# flash_image recovery /sdcard/CWRecovery.img
flash_image: not found
# ./flash_image recovery /sdcard/CWRecovery.img
flash_image: not found
Also I have adb pushed all the files required, and shortened the CWM Recovery image to 'CWRecovery.img' so I don't have to type as much lol.
My phone is rooted successfully, have installed BusyBox, SU, etc. So I don't know where the problem is coming from, but if anyone with any information could help, it would be greatly appreciated!
I couldn't tell you what is wrong with it, but have you tried using a terminal emulator on your phone to get it done? From there I'd just
$ su
#flash_image recovery /sdcard/CWRecovery.img
like you've done in adb.
I have tried doing it through Terminal Emulator.. But after trying for about 3 days, I have come up with something. Apparently in the 2.27.651.6 update there is no flash_image. So I had to downgrade to 2.27.651.5.
So I followed this guide http://forum.xda-developers.com/showthread.php?t=694572
Thanks to regaw_leinad for posting that!
Ah, now you've refreshed my memory. I actually had trouble with rooting my phone because mine was at 2.27.651.6 as well. I tried a bunch of the one-click methods and stuff, and they weren't compatible with it... Glad it worked out.
I think if you install busybox (via the Busybox installer app), that'll give you the flash_image executable on your phone. You shouldn't have to downgrade anything to get that functionality.
Not around my laptop atm but I believe Windows has two Android folders. One named "android-sdk-windows" and the other "AndroidSDK" . Have you checked to make sure you put the recovery.img into the "AndroidSDK" folder and not the
"android-sdk-windows" folder???
Also have you checked to make sure both img's are named exactly alike??
#Root-Hack_Mod*Always\
Thank you for the responses fellas, I tried to install BusyBox by downloading the App on the Market, and it said that BusyBox was already installed and asked if I would like to remove it or install over it, tried both options and still nothing. Tried re RUU-ing with .6 and doing z4Root, SuperOneClick, and tried RegrawMOD. Still could not access the flash_image.
Yeah, when I tried to root mine I also tried z4Root, SuperOneClick, andRegrawMOD, none of which worked for me either. I really didn't want to do the whole command line thing, but that's what I ended up having to do. This is the guide I used for root:
http://wiki.cyanogenmod.com/index.php?title=HTC_Hero_(CDMA):_Full_Update_Guide
I followed the directions in step one to install the SDK, then completed the rest of them. It actually wasn't as bad as I thought it would be, and after that I was able to flash a recovery.
Use Rom Manager from the market to flash a recovery
Sent from my HERO200 using XDA

Categories

Resources