• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root How to fix permissions on files with Busybox (Without using ROM Manager)

droidzone

Android Enthusiast
Sep 24, 2010
436
58
India
After trying and trying, I finally got Busybox successfully installed in the /system/bin of my rooted (Unrevoked 3) Desire running Clockworkmod and Neophyte TSense.

The reason I installed Busybox was because ROM Manager could use it to fix permissions on files so that less "Andoid.process.acore has stopped unexpectedly" errors would pop up.

But ROM Manager still gives me the stock "An error occured while trying to run privileged commands!" error.

Does anyone know how to fix this, or alternately if there is a script which can use Busybox to fix permissions on my files without using RomManager?
 
I read of a batch script which Cyanogen has incorporated into one his ROMS. Tried it but even that didnt help. But Cynogen's .sh which he originally had posted had a bad link so probably I wasn't using the right one.

I've tried ROM Manager>Fix Permissions in a Cyanogen ROM, and it's always done the job. A series of command line operations are executed, which fixes permissions. In this case however on a Neophyte, ROM Manager just says "An error occured while trying to run privileged commands!", which implies that somehow permissions aren't correct for it, or that its batch script runs into trouble while running (which may be because of lack of busybox/problem with busybox).

I've verified that busybox is indeed properly installed into /system/bin. The path too is correct, since invoking busybox from any command line brings up its options.

So what else could be the problem.
Superuser app has granted ROM Manager root privs, since it does seem to be able to boot to recovery rom direct from App. But I've previously had problems with the "Download ROM" option, while it automatically installs. It fails at the signature prompt, though I've toggled signature verification off.
 
Upvote 0
You shouldn't ever have to install busybox on a rooted phone (unless you're building your own ROM). It's essential for too many things that require root.

I agree, and installation of Busybox wasnt exactly a No-Brainer. But now that it is installed, I want to fix permissions using it, and cannot since ROM Manager is sulking. I can't manually issue thousands of busybox commands and fix permissions.

I guess I'll have to wait till someone who has a similiar problem comes up/finds a solution.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones