[Q] Proper directory for installing busybox - Android Q&A, Help & Troubleshooting

Hello,
I have a quick question?
Should busybox be installed in /system/bin or /system/xbin or does it matter?

Related

Busybox error

Guys my phone took a nose dive. I flashed back to global 2.1 from Eternity 2.1. I rooted via superoneclick. Installed busybox so I can reinstall xrecovery. Now when I try to install busybox it is telling me I am rooted but will not install due not being nand unlocked or unable to remount. Please help fast.
Update: I tried rooting with z4 still unsuccessful. busybox is in system/bin so I do not know. First time I have ran into this type of problem. do not know if is on my end or busybox's
1. remove busybox
- use rootexpoler mount r/w in /system/bin/busybox delete it
- download busybox in market and install busybox
2. xRecovery
copy 3 file /sdcard/android/data/com.zoz33.xRecoveryInstall/Xrecovery.rar/system/bin/
- chargemon
- busybox
- xrecovery.tar
to /system/bin/ mount r/w and past 3 file in filder
thanks I figured out that it was a bad flash file I used. It wouldn't save the information I was putting into it.

[Q] Help:Change system folder permission

I can't install xrecovery because my system folder is readonly
Is it possible to change permissions without having root explorer?
I tried
chmod 777 /system/bin/
but i get 'unable to chmod /system/bin/ Read-only file system'
thanks
are you trying that with root access?? (su)
adb shell
su
mount -o rw,remount /dev/block/mtdblock0 /system
(I'm pretty sure this should get your system folder into read write mode.. )
Kiwi
EDIT::
Or just use this (if you have a mini.. might be a version for pro too.. have a look around) Make sure you have busybox installed first! (like.. install it and then open the busybox app and click "install".. only then is busy box installed)
http://forum.xda-developers.com/showthread.php?t=914271
Thanks kiwiBratwurst
Yes i tried chmod from adb shell and a rooted phone
I have titanium installed so busybox should be installed too
I've seen a link to a free version of root explorer
I finally changed permissions and tried to install xrecovery apk but didn't work
I also tried to copy manually 3 files unzipped but didn't work
and after reboot system/bin is again readonly :-(
I think i have a problem with busybox but can not find in market
thank u
kiwiBratwurst said:
are you trying that with root access?? (su)
adb shell
su
mount -o rw,remount /dev/block/mtdblock0 /system
(I'm pretty sure this should get your system folder into read write mode.. )
Kiwi
EDIT::
Or just use this (if you have a mini.. might be a version for pro too.. have a look around) Make sure you have busybox installed first! (like.. install it and then open the busybox app and click "install".. only then is busy box installed)
http://forum.xda-developers.com/showthread.php?t=914271
Click to expand...
Click to collapse
Thank you

[Q] /system/bin/su: Not Found

I was trying to run GladEnable after rooting my phone using the new CWM rooting method (http://www.rootzwiki.com/showthread.php?1126-GUIDE-Complete-for-AT-amp-T-Atrix-MB860-*ONLY*) when I got the error /system/bin/su: Not Found in the script. So I ran root checker (https://market.android.com/details?id=com.joeykrim.rootcheck&feature=search_result), and I got:
Congratulations! You have root access!
Standard su binary location:
/system/bin/su: No such file or directory
So is there a quick fix or should I root it using a different method?
Make sure superuser.apk is in your system app folder then double click on
superuser.apk and install in it will correct it. its just not seeing the folder.
Well I moved the apk to the system/app folder, but I can't install it by clicking on it because that was the original problem... Being able to install 3rd party apps. That's why I was running GladEnable in the first place and that's when I ran into the su problem...

[Q] need help with busybox

iam new but always read a lot of threads here i want some help
i am trying to setup openvpn installer and settings in my coderom v2x2b
i tried to to install it without reading any guide first and installed it in
system/bin/openvpn
but now i read a guide somewhere like this
install openvpn installer and the binaries..
to install:
-run openvpn installer using file explorer
step:
- click install >choose /system/xbin/ > choose /system/xbin/bb
-check this directory if installation successfull: /system/xbin/openvpn
instal busybox
-open the application and click install.
-wait and check directory: /system/xbin/busybox or /system/bin/busybox <-- it(busybox) should be there.
now my problem is i dont knw about busybox but i searched it and its installed in
sbin/busybox <<< their is the file name busybox nowhere else
where it is required in system/xbin
and other i already installed openvpn in
system/bin/openvpn which also needs to be in system/xbin
i tried uninstalling openvpn but binary still remains their
can someone help me how should i fix all this paths and make openvpn working
no one has any idea to make openvpn work ?
noone had this prob ? can someone give me a guide to make openvpn work ? some places says linking the directory can work something like that but i dont have a clue how to do that ...........someone reply atleast lol
bumppppppppppppppppppppp

[SOLVED] Problems with busybox installer (help required)

I had installed the latest busybox installer (v7.3) by Stericson. It had an option to uninstall existing busybox installations.
Since I had multiple versions of busybox already installed on my P500, I decided to uninstall a few of them but on hitting uninstall it seems it removed a lot of binaries.
Now when I try to use any application that requires root it simply FC's.
Then I tried using ADB shell but it gave me the following error:
-exec /system/bin/sh: No such file or directory
I then manually tried to look into /system/bin from FileExpert app that I had installed on my mobile. I had almost every required essential binaries but sh was missing.
Therefore I did a adb push of sh from one of my other phones(a ZTC blade). It was successful but now ADB shell gives another error:
/system/bin/sh: Permission denied(13)
I need someones help in this. Am I proceeding the correct way. If yes, how do I set permissions without adb shell?
Also I few more points I had noticed (If it might me helpful)
--------------------------------------------------------
1) adb devices: now gives some generic device name (e.g- 80565403440...). Previously I think it was something like "LGP500" if I am not mistaken.
2) only /system/bin now holds some binaries. No binaries are to be found on other locations like /system/xbin, etc.
3) Is copying sh from another phone the correct way to proceed? Or shells are different for different mobiles. If yes, can a P500 owner provide a sh from /system/bin please? Thanks.
[EDIT: The problem has been resolved. Setting executable permission externally and making a adb push worked out. Only thing I needed was a Linux installation and VirtualBox saved my day. Windows powershell may also work it seems but I didnt try it.
I assumed the binary compiled for ZTC Blade will work successfully for the days to come. Thanks XDA]
Can someone please provide me the sh binary from P500 please? It resides in the /system/bin folder.
Also if anyone knows how to use the phones internal memory without adb and set file permissions, it would be a great help.
Someone please provide the sh binary from /system/bin . I will try pushing it with executable permissions set outside to see if it works...

Categories

Resources