How to properly uninstall busybox - Galaxy S II Q&A, Help & Troubleshooting

I have a feeling that it is screwing with my system. I tried to update to 1.19 at one point and the busybox installer told me that there was a problem and that I have multiple copies installed.
I just did a fresh install, wiping /system. However, busybox is still installed, and I'm sure it's in /sbin.
How can I remove it cleanly?

Bump. Please, I'm at wits end!
Sent from my GT-I9100 using xda premium

rickytenzer said:
I have a feeling that it is screwing with my system. I tried to update to 1.19 at one point and the busybox installer told me that there was a problem and that I have multiple copies installed.
I just did a fresh install, wiping /system. However, busybox is still installed, and I'm sure it's in /sbin.
How can I remove it cleanly?
Click to expand...
Click to collapse
Busybox is baked in the kernel.
Clockworkmod needs busybox, if you build a kernel, then you see.
Only stock kernels doesnt have!

Thanks for your reply!
Sent from my GT-I9100 using xda premium

Related

[Q] Anyone try PDroid?

I am trying to find a way to block permissions to certain apps after installation. I came across this app called PDroid but requires a patched ROM using a linux script. App can be found here http://forum.xda-developers.com/showthread.php?t=1357056.
Has anyone tried this app?
splttingatms said:
I am trying to find a way to block permissions to certain apps after installation. I came across this app called PDroid but requires a patched ROM using a linux script. App can be found here http://forum.xda-developers.com/showthread.php?t=1357056.
Has anyone tried this app?
Click to expand...
Click to collapse
I haven't. I use App Shield, and it works well
I forgot to mention there is also LBE privacy guard but I wanted to see all my options
You can try permissions denied.
Sent from my SAMSUNG-SGH-I777 using xda premium
If you have a ROM in mind, if be happy to compile for you. I've been using it on icscrewd personally the last few versions. It is a really easy install, just flash a zip in cwm and install pdroid from the market
Sent from my SGH-I777 using xda premium
avidmovies said:
If you have a ROM in mind, if be happy to compile for you. I've been using it on icscrewd personally the last few versions. It is a really easy install, just flash a zip in cwm and install pdroid from the market
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
I am currently using UnNamed v1.3.2 from this thread: http://forum.xda-developers.com/showthread.php?t=1299474 second post.
Do you mind making a flashable patch? Thanks!
Sure expect one and a revert zip tomorrow.
Sent from my SGH-I777 using xda premium
There's a windows version of the patcher now if you're feeling adventurous
Downloading the ROM to my Linux box right now, in any case.
Sent from my SGH-I777 using xda premium
Mount /system in CWM before flashing.
Clear cache and dalvik for good luck
Install PDroid app from market to access features.
avidmovies said:
Mount /system in CWM before flashing.
Clear cache and dalvik for good luck
Install PDroid app from market to access features.
Click to expand...
Click to collapse
Thanks I will try it out this week.
UPDATE: Bad news bears. I flashed the patch as described (mounted system, wiped cache) but the system went into a boot loop. The boot animation kept cycling over and over again.
Did the restore zip work at least? That's the first I've heard of a bout loop caused by it.
It only edits 3 files, none of which could possibly cause more than a boot loop in any case.
EDIT: May have been a corrupted download, I'll be sure to post MD5, hashes next time. Sorry about that!
Sent from my SGH-I777 using xda premium
avidmovies said:
Did the restore zip work at least? That's the first I've heard of a bout loop caused by it.
It only edits 3 files, none of which could possibly cause more than a boot loop in any case.
EDIT: May have been a corrupted download, I'll be sure to post MD5, hashes next time. Sorry about that!
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
I don't think it was a corrupt download. I just created a patch myself using the Windows program and it also produced a boot loop. I restored from a nandroid the first time, trying out the restore file right now.
Alright sounds good. That's still really is though, and I have no idea why it happens. Did you flash any addons on top of the stock ROM?
Sent from my SGH-I777 using xda premium
avidmovies said:
Alright sounds good. That's still really is though, and I have no idea why it happens. Did you flash any addons on top of the stock ROM?
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
Nope. Just the patch. Although the second time I didn't mount the system. Is this a necessary step? I didn't see anything in the OP of the PDroid thread.
Possible reasons for failure:
* Corrupt download first time
* Second time, didn't mount system
What is this "If you "integrated sys Dalvik into ROM" with Titanium Backup, you will have to undo it"? I am using TB but I'm not sure if this applies to my situation.
I noticed the ROM must be deodexed and I didn't see any odex filetypes in the system/framework directory. That should be the only place they appear right?
On a better note, the restore file works =) Thanks for the help
Yes, you should mount /system in CWM, as I didn't manually edit the patch to add in auto-mounting.
I just tried on Unnamed 2.2.1 and experienced the boot loop as well (created the patch using the Windows patcher). Restore zip works fine, and tried with and without mounting /system in CWM. There apparently is something in Unnamed that the code doesn't like
Too bad, sounds like a good program (I also use LBE and wanted to use it along side).
pinoymutt said:
I just tried on Unnamed 2.2.1 and experienced the boot loop as well (created the patch using the Windows patcher). Restore zip works fine, and tried with and without mounting /system in CWM. There apparently is something in Unnamed that the code doesn't like
Too bad, sounds like a good program (I also use LBE and wanted to use it along side).
Click to expand...
Click to collapse
It's a great app. I am running it on a Hellraised ROM. None of the AT&T base ones work. I sent the dev an error log from UnNamed 1.3.1 and he knows what the problem is and will try to address it in a future patcher release. (http://forum.xda-developers.com/showpost.php?p=22111242&postcount=757)
Check back on that thread whenever he updates it. It's worth it!
Alright, I'm currently running it on the latest ICScrewD flawlessly
Sent from my SGH-I777 using xda premium
stone_ship said:
It's a great app. I am running it on a Hellraised ROM. None of the AT&T base ones work. I sent the dev an error log from UnNamed 1.3.1 and he knows what the problem is and will try to address it in a future patcher release. (http://forum.xda-developers.com/showpost.php?p=22111242&postcount=757)
Check back on that thread whenever he updates it. It's worth it!
Click to expand...
Click to collapse
Thanks! I guess I didn't go far enough back in the dev's thread (DUH!) so hopefully he's got the info he needs to fix it. I'd really like to try it sometime.
The developer of PDroid has released an update to his patcher that fixes the bootloop issue for AT&T roms. I just installed using UnNamed v1.32 and it works great.
Feels good to block all of those permissions.

how to instal busybox permanently?

im using rom checkrom and neak kernel. to the point,how to install busybox permanently since it will change to default busybox on next reboot after sucessful installation of busybox.
Sent from my GT-I9100 using Tapatalk
You've got a couple of options.
First, you could use something like Titanium Backup to make your latest installation the system version, therefore overwriting the earlier one. To do that, do menu, batch and then find "Integrate updates of system apps into the rom". When you click that it will give you a list of apps that will be affected. Tick and untick to suit and click run.
Second, you could do that manually, by pushing the apk into /system/app/.
you obviously need root to do either of them, but if you've not got root then why the hell are we talking about busybox?
Good luck mate.
ok, ill try,,
Sent from my GT-I9100 using Tapatalk

Lost root, out if ideas now.

Okay, after spending the whole day screwing with my phone me and my wife's phones are rooted, unlocked, and s-off running custom roms. Everything is cool except for one thing, somehow my wife's phone lost root and she is getting frustrated not being able to open certain apps and she's getting super pissed at me. Can someone please help. I tried running the perm root in the "noob proof tool thing" and reinstalled superuser in AmanRa and it did nothing. Out of ideas. How do you just root it?
from my ADR6425LVW using XDA
Have you tried checking the app that handles superuser permissions within the ROM itself?
Most Rezound ROMs have "Superuser" or "Super SU" in the app drawer.
Check how the program is handling permissions in settings and try updating the busybox binaries there for starters.
More than one superuser app running at the same time can be problematic too.
Reinstall the rom
---HTC Rezound with Tapatalk
In recovery clear cache and dalvik cache. And if you flash the same ROM you shouldn't have to wipe data.
Sent from my ADR6425LVW using xda premium
MedleHed said:
In recovery clear cache and dalvik cache. And if you flash the same ROM you shouldn't have to wipe data.
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
Yep, and back up text messages of course, she'll probably not appreciate those disappearing.
Got an option built into message app for SMS, and MMS can be saved a few ways such as this here (if Titanium Backup is installed and working properly with root, since you said "some" apps):
http://forum.xda-developers.com/showthread.php?t=1537931
okay, so can I just update su binaries and, in recovery, wipe cache and davlic cache then just restore her backup? Really trying to avoid having her set all her $hit up again.
Sent from my ADR6425LVW using XDA
Ohschit said:
okay, so can I just update su binaries and, in recovery, wipe cache and davlic cache then just restore her backup? Really trying to avoid having her set all her $hit up again.
Sent from my ADR6425LVW using XDA
Click to expand...
Click to collapse
Backup was suggested for if you re-flash the ROM and have her set back up lol, I mean that doesn't hurt.
Update SU binaries and wipe caches and check things out again.
To try and sit down and reason it out a bit: What apps are having issues, why just "some." Are all these issues actually connected and directly related to root access? Could just be permissions issue, or problem with restoring from Titanium Backups.
You can use Root Checker off Play Store to check that quickly. If that says you're ok, check the SU app on your ROM and settings, reinstall of that may help.
Again, all root is in a nutshell is access to the whole filesystem, accomplished on our phone by running the system as a particular user with administrative permissions. You interact with the Superuser apps, which in turn use busybox binaries to interface with the system.
Kinda odd it could just dissappear after being installed successfully, unless it got deleted or settings changed, or very unlikely file corruption. Worse case, if it is not another issue, you do not have root access, and cannot pin down the solution, a ROM reflash is suggested. Remember to reinstall SU then if the ROM doesn't have it of course, most all custom ones have root built in, Stock ROMs don't.
Flash a superuser.zip
That's what I had to do.
Sent from my ADR6425LVW
I actually did ALL the things you all recommended. Wiped all cache, flashed SU, and updated binaries. It worked. Thanks! You guys are awesome, saved me a huge headache!
Sent from my ADR6425LVW using XDA
same boat here iv flashed all and cleared all. but havent reinstalled yet...
Should work
Sent from my ADR6425LVW using XDA

Trying to install busybox crashes phone, cant install!

Hey All-
just have to say this phone is awesome.
It is rooted, and I have titanium backup and a few other things installed without any bumps.
but when u try to install busybox, it either days "busybox installation failed",.or it crashes.
I have tried busybox installer with the same results.
Help!!
How is Titanium Backup working if you don't have busybox installed? I thought busybox is needed in order for TB to work properly.
Sent from my HTC One using Tapatalk 2
i am curious too. My titanium works, when i try normal or smart install of busy box it either fails or the phone reboots.
When you flash supersu on recovery, do you still need busybox?
What does it do?
Sent from my HTC One using Tapatalk 2
If I remember I couldn't install busybox from the play store app. I had to install it via recovery.. I got the .zip from the android general forums. After that it worked fine.
Sent from my HTC One
relic120 said:
If I remember I couldn't install busybox from the play store app. I had to install it via recovery.. I got the .zip from the android general forums. After that it worked fine.
Sent from my HTC One
Click to expand...
Click to collapse
from where you got the zip ?
thanks
Had the same issue
xquantums said:
Hey All-
just have to say this phone is awesome.
It is rooted, and I have titanium backup and a few other things installed without any bumps.
but when u try to install busybox, it either days "busybox installation failed",.or it crashes.
I have tried busybox installer with the same results.
Help!!
Click to expand...
Click to collapse
I had this exact same problem with stock ROM and unlocked with root. Cedric at Android Tuner reviewed my catlogs and its something to do with CPU3. I flashed [ROM][4/27] - AT&T Stock Root 1.26.502.10 -| Flashes boot.img | System RW capable! and haven't had a problem since. Hope this helps.
I was also having this problem as well as trying to install Secure Settings Helper. Both wouldn't install even though I had root. I discovered from another thread it is the kernel. You need a kernel that will allow you to actually right to the system dir. Once I flashed a new kernel, both busybox and secure settings helper installed just fine.
sponge_worthy said:
I was also having this problem as well as trying to install Secure Settings Helper. Both wouldn't install even though I had root. I discovered from another thread it is the kernel. You need a kernel that will allow you to actually right to the system dir. Once I flashed a new kernel, both busybox and secure settings helper installed just fine.
Click to expand...
Click to collapse
any help about kernel flash?
Thanks
senadaruc said:
any help about kernel flash?
Thanks
Click to expand...
Click to collapse
Ever get this sorted?
I just got my phone yesterday and having the same issue. Though I'm on international HTC One.
I read somewhere else, that BusyBox could not be installed because of S-ON, what I did is: flash BusyBox.zip directly from TRWP, which works perfectly!
calanizzle said:
I read somewhere else, that BusyBox could not be installed because of S-ON, what I did is: flash BusyBox.zip directly from TRWP, which works perfectly!
Click to expand...
Click to collapse
I ended up doing this, worked like a charm:
http://forum.xda-developers.com/showthread.php?p=45390938&postcount=4
plmiller0905 said:
How is Titanium Backup working if you don't have busybox installed? I thought busybox is needed in order for TB to work properly.
Sent from my HTC One using Tapatalk 2
Click to expand...
Click to collapse
TB has its own busybox in TB files.to help it run
zip file
senadaruc said:
from where you got the zip ?
thanks
Click to expand...
Click to collapse
where do i find the .zip file of busybox to flash???

[Q] Dead android when updating ota

My wife and I both have rooted L9 and used that script in /etc which freezes all the T-Mobile apps.
She was able to do the ota update but my phone shows dead android when I try it.
Any idea how I can get my upgrade to work?
The biggest difference I can think of between our phones is that I'm using link2sd and she's not.
Sent from my LG-P769 using xda app-developers app
I was in the same boat this morning until I
downloaded the JB kdz file with link in http://forum.xda-developers.com/showpost.php?p=43646179&postcount=276
flashed my phone with instruction in http://forum.xda-developers.com/showthread.php?t=2085344
szczys said:
My wife and I both have rooted L9 and used that script in /etc which freezes all the T-Mobile apps.
She was able to do the ota update but my phone shows dead android when I try it.
Any idea how I can get my upgrade to work?
The biggest difference I can think of between our phones is that I'm using link2sd and she's not.
Sent from my LG-P769 using xda app-developers app
Click to expand...
Click to collapse
Dude link2sd is your problem. Unlink apps and uninstall link2sd. Remember to uninstall busybox as well. Anything that modified the build.prop or system. Install voodoo ota rootkeeper and protect your root. Good luck!
Sent from my LG-P769(20F) using the xda-developers app. If I helped you please hit the "thanks" button.
szczys said:
My wife and I both have rooted L9 and used that script in /etc which freezes all the T-Mobile apps.
She was able to do the ota update but my phone shows dead android when I try it.
Any idea how I can get my upgrade to work?
The biggest difference I can think of between our phones is that I'm using link2sd and she's not.
Sent from my LG-P769 using xda app-developers app
Click to expand...
Click to collapse
Unfreeze the T-Mobile apps that you froze. Then uninstall link2sd... Try updating now and give me results.. And the only .apk that should be frozen is lookout security and LGsetupwizard.
Sent from my LG-P769 using Tapatalk 4 Beta
geeshiet said:
Unfreeze the T-Mobile apps that you froze. Then uninstall link2sd... Try updating now and give me results.. And the only .apk that should be frozen is lookout security and LGsetupwizard.
Sent from my LG-P769 using Tapatalk 4 Beta
Click to expand...
Click to collapse
No Dice, still getting dead android:
Unlinked all apps and unistalled Link2sd
Uninstalled Busybox
Unfroze everything except the two apks mentioned
I did use the Mass Storage script from this thread. It was installed via CWM. Could that be causing the problem? If so, what should I do to fix it?
Now I've gone and made a mess.
I didn't uninstall BusyBox, I only uninstalled the BusyBox installer APK. Now I can't reinstall that package to use it to remove the actual busybox binary. When I try to install Stericson's BusyBox installer from google play store I get "error downloading" RPC:S-5:AEC-0
Any idea where I should go from here?
szczys said:
Now I've gone and made a mess.
I didn't uninstall BusyBox, I only uninstalled the BusyBox installer APK. Now I can't reinstall that package to use it to remove the actual busybox binary. When I try to install Stericson's BusyBox installer from google play store I get "error downloading" RPC:S-5:AEC-0
Any idea where I should go from here?
Click to expand...
Click to collapse
Download a nandroid backup and you will have no worries. But you should make your own stock backup before doing any mods sui you won't have this problem again.
Sent from my LG-P769(20F) using the xda-developers app. If I helped you please hit the "thanks" button.
Nathan.7118391 said:
Download a nandroid backup and you will have no worries. But you should make your own stock backup before doing any mods sui you won't have this problem again.
Sent from my LG-P769(20F) using the xda-developers app. If I helped you please hit the "thanks" button.
Click to expand...
Click to collapse
Thanks, I'm all set now.
Here's what I did:
Installed a rooted V20D nandroid from the sticky thread
Installed BusyBox
Used Voodoo Rootkeeper to preserve root
Installed the OTA upgrade (clear data for Google Services Framework then check for update in the settings menu to force this)
Upgraded SuperSU binary
Restored Root (I might have done this before the SuperSU binary upgrade)
Let the phone fully update itself
Reboot into CWM
Make an initial backup
Wipe all data and cache
Make a clean backup for the next time this happens (per Nathan's advice)
Restore the initial backup
Perfect glad I could help.
Sent from my LG-P769(20F) using the xda-developers app. If I helped you please hit the "thanks" button.

Categories

Resources