[Q] Problem with BusyBox - Nook Color Q&A, Help & Troubleshooting

I am booting from SD Card for the NC. I am trying to install busybox so I can can get the full version of Titanium Backup to work properly.
The error message I'm getting is /system/xbin/ could not be mounted as RW, the install will fail.
If I click on install it just hangs there until I finally press and hold the power button to perform a reboot.
Is there something that I'm missing on this?
Thanks,
Dubg

It sounds as if you don't have SU. Head to Market and update/install the SuperUser app. Also, try letting Titanium Backup install its own BusyBox (it'll prompt for it if it doesn't detect one).
You can also try getting BusyBox off the market, look for BusyBox Installer or some such.

Related

Superuser?

Does anyone know how to install this on the aria?
http://forum.xda-developers.com/showthread.php?t=682828
It's best to flash your Aria to a Liberated ROM. You can find it within the forums here. Since I can't post links yet. This will root the device and SuperUser will be added.
Not sure about that app. It looks like it does the same thing as the SU that comes in the Liberated ROM by attn1, just without the few extra options.
I tried booting into clockwork and mounting the system partition and doing this:
adb push Superuser.apk /system/app
adb push su /system/xbin
adb shell chmod 06755 /system/xbin/su
adb reboot
but when it rebooted the superuser app did nothing at all. No prompt or nothing running apps that needs su. I had usb debugging enabled. So I just restored a nand backup.
Might be a dumb question, but did you do adb remount ?
I used clockwork to mount the system partition. When I tried it with just adb remount it wouldn't mount the system partition. I would always get "Not a directory" error. But when clockwork mounted the partition it wrote the files fine with no error. When I rebooted the superuser icon and version were different than the one that came with the liberated rom.
I'm trying this now, I'll report back when I do it. I'll try a few different apps that require SU
I did the commands it said, I see the new icon, and when I press 'Menu', it shows the prefrences, but when I click it, it freezes the app.
It's probably not compatible with our phone yet.
Could be, but I'm pretty sure it does work, because if I remember correctly, Titanium Backup needs SU permissions, and I haven't encountered any kind of errors with it yet.
I see you posted on the thread for the program itself. Hopefully someone there will have a response.
Yeah, I'm hoping to get a response to it. We will see.
The newer version 2.2.2 works.
Awesome, ill give it a shot a little later.
Tried the newer version, and I get the same issues.
How did you install this one? I booted in to clockwork and selected install from zip file on sd and selected that file on my sd card.
I just did it through adb. I'll give that method a shot.
Looks like after doing your method, it works perfect now. Not sure why using adb doesn't work.

[Q] Help with busybox

Hi guys. I have already rooted my Wildfire with unrevoked3 and worked like a charm. Superuser is OK, I installed Titanium Backup and I installed busybox with it.
But I can't find how to run the busybox shell with root. Can anyone help me?
I downloaded android sdk for my Ubuntu 10.10 (I don't use windows) and I typed as root: ./adb shell and the terminal has not root priviledges.
Is there anyway to do this? Also how to run busybox? Via Terminal Emulator?
I think that the Titanium Backup didn't installed correctly.
My goal is to get a root terminal
Thanks in advance
Assuming that stuff works the same as on my linux computer, you would just su in the terminal emulator, then cd into the busybox directory, then make sure you have execute permissions for it, and then just ./busybox. That should start busybox in shell mode. That's how it should work.I think.
xc1024 said:
Assuming that stuff works the same as on my linux computer, you would just su in the terminal emulator, then cd into the busybox directory, then make sure you have execute permissions for it, and then just ./busybox. That should start busybox in shell mode. That's how it should work.I think.
Click to expand...
Click to collapse
The busybox is executed in my machine not in my phone right?
No, on your phone. Open up terminal on your phone (you can get one off the Market or alternatively connect you phone to the computer and start a ashell using adb), then cd to the directory you have busybox in, and then ececute ./busybox. Remember, you can't put it on the SD card because it doesn't allow execution.
sorry for this Android newbie question..
I installed Titanium Backup on my Desire....but when I ran it, an error message says " Sorry I cannot acquire root priviledges. This application will not work! Please verify that your ROM is rooted and includes BusyBox, and try again".
My Froyo is rooted....but whats this BusyBox and where can I get it and install it?
thanks..
I'm assuming you haven't rooted yet. Turn wifi on. Get an app called "universal androot". You need to get a version at least 1.6.2. It's not in the market so you may have to look around. Install and Open it up. Tick the box that says "soft root". Click the button labelled "root ". When the application force closes, wait 10 second and do nothing. then click on force close. Toggle wifi on. Go to titanium. Press allow when asked for root privileges. If it doesn't come up, look around titanium. It should allow you to instal busybox. Busybox is a set of *NIX utilities that are better than androids builtin. It allows the apps to use more advanced features. And It helps users if they are knowledgeable though to know how to use it.
nope..mine is rooted already via unrevoked3
dinoalbert said:
sorry for this Android newbie question..
I installed Titanium Backup on my Desire....but when I ran it, an error message says " Sorry I cannot acquire root priviledges. This application will not work! Please verify that your ROM is rooted and includes BusyBox, and try again".
Click to expand...
Click to collapse
Same problem here
rooted with revok3
installed rom manager and did a first backup
install titanium n tried to backup apps
It said " Sorry I cannot acquire root priviledges. This application will not work! Please verify that your ROM is rooted and includes BusyBox, and try again"
could some one link me to busybox app for wildfire n guide on how to backup wit titanium
pl reply
realxception said:
Same problem here
rooted with revok3
installed rom manager and did a first backup
install titanium n tried to backup apps
It said " Sorry I cannot acquire root priviledges. This application will not work! Please verify that your ROM is rooted and includes BusyBox, and try again"
could some one link me to busybox app for wildfire n guide on how to backup wit titanium
pl reply
Click to expand...
Click to collapse
Go to titanium backup, go to problems then it,will install busybox
thanks , its worked

Root Explorer and Busybox woes, help?

So, I'm rooted. S=OFF, I get su access in Terminal, and I have the latest busybox installed in /system/bin. But, after a reboot of the device I can only get R/W access to certain parts of the directory structure - /system is unfortunately not one of them.
Now, here's the weird part: When I start the app Busybox Installer (downloaded from the market), the app searches for busybox installations and tells me I have the latest in /system/bin (this I already know). Once I have started this Installer without doing anything else, I can gain full R/W access to /system.
So, there seems to be some sort of strange busybox issue and how it relates to system R/W access. Is the latest busybox incompatible with this stock ROM?
Root explorer issues
I am also having the same issue I can not get R/W access in the system folder. I have been trying to re-map the Genius button. I am able to remove "bloatware" by using Titanium backup. I definitely have permanent root on the phone, so I am confused by this issue. I have been searching and have not seen other similar complaints. I tried the busybox from the above post but still am not able to R/W access.
You need the latest version of root explorer. Will solve the issue.
Sent from my HTC Glacier

[Q] SuperUser and SuperSu

I'm running cm7 Barebones on my KF and I've read that SuperSu is supposed to be "better" than regular SuperUser. First, can anyone confirm/deny this? Second, Is it ok to have both installed simultaneously? I can't seem to find a way to uninstall SuperUser. It isn't listed in Titanium backup(SuperSu is) and Settings-->Applications-->Manage Apps only allows me to force stop but not uninstall. Any help/input/comments would be appreciated. Thanks in advance.
Hi, you can remove superuser by deleting /system/app/superuser.apk (I'm assuming SuperSU overwrites /system/bin/su and busybox) and then rebooting. You may use ADB, Root Explorer, ES File Explorer with Root permissions mounting /system as writeable...
As for whether SuperSU is better, that's up to each individual's circumstances. It's best if you read a bit more about the features SuperSU has and then decide on your own: http://forum.xda-developers.com/showthread.php?t=1538053

Just rooted - unable to backup

Hi all,
Ive spent to weekend reading about rooting and ROMS/Kernels and decided to try it. I used a root kit found here from Mskip (great kit). Ive sucessfully rooted, and then sucessfully installed Smooth Rom 4.3 with the Motley kernel.
Ive downloaded Titanium Backup and Rom Manager. TB worked and I did a backup (which I now cant find) (i have ES File Explorer). I upgraded to Titanium Pro, and now when I open the app is states root was denied. I remember when I first opened TB SuperSu asked me to grant it access. After a reboot I opened SuperSu and stated a Binary update was necessary and performed it.
Now TB pro states root was denied, when I open SuperSu there is nothing there in the apps list, and I dont know how to manually grant TB root access.
Sorry if this is noobish, not sure what to do and I dont want to keep going without a backup.
Edit: When I try to backup in ROM Manager I hit backup, it brings up the notification to name the backup, I hit ok and nothing happens.
cam75 said:
After a reboot I opened SuperSu and stated a Binary update was necessary and performed it.
Now TB pro states root was denied, when I open SuperSu there is nothing there in the apps list, and I dont know how to manually grant TB root access.
Click to expand...
Click to collapse
That sort of sounds like the SuperSU "su" update might have failed. Can you get root with other apps? (e.g. go in to a terminal emulator and type "su")
Note there is a chicken-and-egg problem if (either) SuperSU/su or Superuser/su fail: they need root themselves to remount /system so that the "su" binary can be updated.
If no apps can get root, then you sort of have "lost root", and the fix is to manually insert the .apk and su binary into /system/app and /system/bin/su (or /system/xbin/su depending on flavor!) either with a flash package in recovery, or manually via the adb shell command line (with custom recovery running).
HTH
PS you should be able to just manually start the recovery and do a backup in the meantime, no? The fact that ROM manager isn't doing anything could either be a lack-of-root problem or something else (a busybox dependency?)
bftb0 said:
That sort of sounds like the SuperSU "su" update might have failed. Can you get root with other apps? (e.g. go in to a terminal emulator and type "su")
Note there is a chicken-and-egg problem if (either) SuperSU/su or Superuser/su fail: they need root themselves to remount /system so that the "su" binary can be updated.
If no apps can get root, then you sort of have "lost root", and the fix is to manually insert the .apk and su binary into /system/app and /system/bin/su (or /system/xbin/su depending on flavor!) either with a flash package in recovery, or manually via the adb shell command line (with custom recovery running).
HTH
PS you should be able to just manually start the recovery and do a backup in the meantime, no? The fact that ROM manager isn't doing anything could either be a lack-of-root problem or something else (a busybox dependency?)
Click to expand...
Click to collapse
thx for the quick response, however much of that is WAY over my head. I opened terminal emulator and typed su and this is what popped up. 1 [email protected]:/ $
When TB is opened it states error "sorry I could not acquire root privilegdes. this applidation will not work. please verify that your rom is rooted and try again. this attempt was made using the "/system/xbin/su" command.
I dont see busybox in my app drawer
cam75 said:
thx for the quick response, however much of that is WAY over my head. I opened terminal emulator and typed su and this is what popped up. 1 [email protected]droid:/ $
Click to expand...
Click to collapse
If the SuperSU app (and companion binary) were working correctly, you should have seen one of those "Accept / Deny" pop-up messages coming from the SuperSU app... assuming that you didn't previously grant root access to that terminal emulator app. You didn't mention that happening.... ?
Also, usually the command prompt usually changes from $ to # when you have root, but not always; the explicit way to check would be to (after you have tried the "su" command) to type in "id" and hit return at the prompt - that will tell you explicitly if you are root or not. (That's the letter "i" followed by the letter "d" followed by the return key).
From the way you describe this, it is sounding like you lost root.
I gotta go watch part of the game. In the meantime, perhaps you should at least create a backup manually.
As I said, the simplest fix-up would be to get Superuser.apk/su or SuperSU/su re-installed into /system/app and /system/{x}bin/su (it seems that chainsDD and chainfire use different locations).
There might be floating around someplace a flashable zip file with this stuff in it - to be used for "lightly rooting" a stock ROM after a custom recovery is in place. But things have been in flux recently with both the SuperSU (chainfire) and Superuser (chainsDD) kits because of the JellyBean multi-user support, so the version you might need is important. So you would have to do the research to figure out where.
gotta go - good luck.
bftb0 said:
If the SuperSU app (and companion binary) were working correctly, you should have seen one of those "Accept / Deny" pop-up messages coming from the SuperSU app... assuming that you didn't previously grant root access to that terminal emulator app. You didn't mention that happening.... ?
Also, usually the command prompt usually changes from $ to # when you have root, but not always; the explicit way to check would be to (after you have tried the "su" command) to type in "id" and hit return at the prompt - that will tell you explicitly if you are root or not. (That's the letter "i" followed by the letter "d" followed by the return key).
From the way you describe this, it is sounding like you lost root.
I gotta go watch part of the game. In the meantime, perhaps you should at least create a backup manually.
As I said, the simplest fix-up would be to get Superuser.apk/su or SuperSU/su re-installed into /system/app and /system/{x}bin/su (it seems that chainsDD and chainfire use different locations).
There might be floating around someplace a flashable zip file with this stuff in it - to be used for "lightly rooting" a stock ROM after a custom recovery is in place. But things have been in flux recently with both the SuperSU (chainfire) and Superuser (chainsDD) kits because of the JellyBean multi-user support, so the version you might need is important. So you would have to do the research to figure out where.
gotta go - good luck.
Click to expand...
Click to collapse
Thanks again.
Im watching Superbowl as well. I didnt grant Terminal access. I rebooted into recovery and restored to right after I rooted. SuperSu auto updated through the play store, and stated the binary need updated. I canceled that. TB and ROM manager are showing up in SuperSu. So now Im rebooting into recovery again to after I installed the Smooth Rom/Motley Kernal. I did make a backup of where SuperSu lost root. I now have three backups.
Question on installing the SuperSu apk file. I want to be sure I do it right, if needed. Download the file on my 7. it will go to my download folder. Move it to the system folder and open/run it? what do i do with the current SuperSu folder?
thanks again
I went to my restore point after root and reinstalled 4.3 Smooth ROM Mkernel. I did not take the SuperSu update, (ill wait for the next update) and everything is fine TB an ROM manager working fine, did a backup in both.
Thanks for your help on this.
cam75 said:
Question on installing the SuperSu apk file. I want to be sure I do it right, if needed. Download the file on my 7. it will go to my download folder. Move it to the system folder and open/run it? what do i do with the current SuperSu folder?
Click to expand...
Click to collapse
Dealing with .apk's is not that difficult - drop them into the correct place and reboot.
In Android, apps (.apk files) are stored in one of two places: /system/app or /data/app. It is even possible for two versions of an app to be on the phone - one in /system/app and one in /data/app; that is how upgrades of factory-installed apps happen: the pre-installed app is in /system/app... and never gets deleted (read-only filesystem), whereas update versions get dropped into /data/app. Generally you can just drop an .apk file into either of these locations, wipe the dalvik cache and reboot. During the android boot, these files are compiled into .dex objects in the dalvik-cache, and various version, consistency, rights and permissions are cross-checked.
Think of it this way: when you boot a new ROM for the first time, /data starts out completely empty. Everything needed to support each pre-installed app in /system/app gets created automatically during the android layer start-up.
The "su" native binary is a bit more complicated - it needs to be:
- owned by the user.group root.root
- be executable
- be setuid/setgid
Imagine that you had a copy of these two files on your "/sdcard". If you booted into the custom recovery, you could affect these changes like this:
C:\foo> adb shell
# mount # show what is already mounted
# mount /sdcard # if needed
# mount /system # if needed
# mv /system/app/SuperSU.apk /system/app/SuperSU.apk.old
# cp /sdcard/SuperSU.apk /system/app/SuperSU.apk
# mv /system/xbin/su /system/xbin/su.old
# cp /sdcard/su /system/xbin/su
# chown root.root /system/xbin/su
# chmod 6755 /system/xbin/su
# cd /
# umount /system
# exit
C:\foo>
*
As a practical matter, it is probably easier to just make sure to make a fresh backup if you are about to update the su binary - in case anything goes wrong. It might also be useful to use a root-aware file manager to remount the /system partition in rw mode prior to doing the "update su binary" procedure in the SuperSU app.
Good luck
* note that SuperSU and Superuser apps choose different locations for the su executable file - one uses /system/bin/su and the other /system/xbin/su. There might also be a symlink between these locations. Best policy is probably to examine a known-working installation to determine how to proceed.

Categories

Resources