DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18

Thread: ROM Manger wont fix permissions

  1. Master Droid
    n0m0n's Avatar
    Member #
    632
    Join Date
    Nov 2009
    Location
    HERE
    Posts
    869
    Liked
    5 times
    Phone
    Storm1+2,D1,DX,D2
    #1

    ROM Manger wont fix permissions

    Has anyone noticed that ROM Manager and Froyo won't allow access to fix permissions?
    At least its doing that to me.
    I got this message:
    "An error occurred while attempting to run privileged commands!"

    I have installed, re-installed, updated (this morning) and so on.

    What can I do to get this to work right?
    I am a Premium owner so its not that I didn't fork out the $$$.

    Thanks
    JW
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Junior Droid
    Erren's Avatar
    Member #
    17836
    Join Date
    Dec 2009
    Posts
    11
    Phone
    Motorola Droid
    #2
    What Froyo rom are you running? The early couple didn't have busybox installed and the version that can be easily installed by Titianium Backup wouldn't work for me.

    I ended up installing the attached copy of busybox. The version in the below link is the same file, but no longer available on Alldroid. Follow the steps only for busybox.

    Complete How-To Root, Busybox, Flash/Recovery, Framework-res.apk, custom boot ani...
    Attached Files
  4. Master Droid
    n0m0n's Avatar
    Member #
    632
    Join Date
    Nov 2009
    Location
    HERE
    Posts
    869
    Liked
    5 times
    Phone
    Storm1+2,D1,DX,D2
    #3
    Quote Originally Posted by Erren View Post
    What Froyo rom are you running? The early couple didn't have busybox installed and the version that can be easily installed by Titianium Backup wouldn't work for me.

    I ended up installing the attached copy of busybox. The version in the below link is the same file, but no longer available on Alldroid. Follow the steps only for busybox.

    Complete How-To Root, Busybox, Flash/Recovery, Framework-res.apk, custom boot ani...

    The version is 33333, I think I heard that hteres another version but I cant find the update.
    Your right, I relied on Titanium to install busybox.
    The version that you attached has to be installed via ADB, or can it be installed by installing via rootexplorer?

    Thanks
    Last edited by n0m0n; 06-11-2010 at 07:21 AM.
    JW
  5. Junior Droid
    Erren's Avatar
    Member #
    17836
    Join Date
    Dec 2009
    Posts
    11
    Phone
    Motorola Droid
    #4
    I installed it with ADB. You could probably use RootExplorer to put it in the right places and then terminal emulator to install it but why go through the hassle when ADB takes less then a minute?
  6. Junior Droid
    Hashi's Avatar
    Member #
    59419
    Join Date
    Apr 2010
    Posts
    18
    Phone
    Motorola Droid
    #5
    Quote Originally Posted by n0m0n View Post
    Has anyone noticed that ROM Manager and Froyo won't allow access to fix permissions?
    At least its doing that to me.
    I got this message:
    "An error occurred while attempting to run privileged commands!"

    I have installed, re-installed, updated (this morning) and so on.

    What can I do to get this to work right?
    I am a Premium owner so its not that I didn't fork out the $$$.

    Thanks
    I've got the exact problem. I spent a few years on the linux kernel development team and also x.org, so I have a good feel for the linux kernel and it's components.

    I've made sure that anything I thought Rom Manager might want to test to see if it should return that message is in place. By that I mean that of course I am rooted correctly, that superuser.apk is installed, and that other apps requiring root work correctly like 'setcpu' or 'root explorer' or just typing in 'su' at the terminal emulator prompt.

    All the copies of su (usual places /system/bin, /system/xbin) are set to the proper permissions and work from each spot, that busybox (/system/bin, /system/xbin/ and /data/data/{home of titanium pro} are all correct and working and tested.

    Still every click on anything in paid Rom Manager returns the error noted by the original poster.

    At this point, I don't care or need Rom Manager because you can do anything a different way, but it has become a project on it's own. What I'd like to really know is what is Rom Manager's criteria for deciding to return that message?

    By the way, I flashed an image of it (from terminal emulator "./flash_image recovery ./recovery.img" where recovery.img is the latest RM image) and that works OK, but still all the boxes are greyed out. I've also 'enabled' the buttons in Rom Manager using that option that allows you to (you tell it you flashed the image yourself), so now I have even more buttons returning that error.

    Any help would be greatly appreciated,

    Hashi

    Edit: I suppose it could somehow matter that I've got a Motorola Droid. The kernel is a p3 1G (but set to lowest speed (550 or 600) and (not to set boot when trying these things above) and the OS is 2.1.
    Last edited by Hashi; 06-11-2010 at 09:07 AM. Reason: Phone type
  7. Master Droid
    n0m0n's Avatar
    Member #
    632
    Join Date
    Nov 2009
    Location
    HERE
    Posts
    869
    Liked
    5 times
    Phone
    Storm1+2,D1,DX,D2
    #6
    Quote Originally Posted by Erren View Post
    I installed it with ADB. You could probably use RootExplorer to put it in the right places and then terminal emulator to install it but why go through the hassle when ADB takes less then a minute?
    well I am getting a lot of error or bad cmd messages.
    I typed in:

    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Users\jefw

    C:\Users\jefw>cd\

    C:\>cd android

    C:\android>cd tools

    C:\android\tools>adb shell
    $ su
    su
    mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
    mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
    exit
    exit
    adb push busybox /data/local
    adb push busybox /data/local
    adb shell
    adb shell
    cd /systemPermission denied
    $ mount: Operation not permitted
    $
    C:\android\tools>adb shell
    $ cd /system
    cd /system
    $ ls -al
    ls -al
    -al: No such file or directory
    $ adb push busybox /data/local
    adb push busybox /data/local
    adb: permission denied
    $ adb shell
    adb shell
    adb: permission denied
    $
    C:\android\tools>adb shell
    $ su
    su
    # cd /data/local
    cd /data/local
    # chmod busybox 755
    chmod busybox 755
    Bad mode
    # /data/local/busybox cp /data/local/busybox /system/xbin/busybox
    /data/local/busybox cp /data/local/busybox /system/xbin/busybox
    /data/local/busybox: not found
    # /data/local/busybox mkdir /system/xbin
    /data/local/busybox mkdir /system/xbin
    /data/local/busybox: not found
    # cd /data/local
    cd /data/local
    # chmod busybox 755
    chmod busybox 755
    Bad mode
    # chmod busybox 0755
    chmod busybox 0755
    Bad mode
    # /data/local/busybox cp /data/local/busybox /system/xbox/busybox
    /data/local/busybox cp /data/local/busybox /system/xbox/busybox
    /data/local/busybox: not found
    # cd /system/xbin
    cd /system/xbin
    # chmod busybox 755
    chmod busybox 755
    Bad mode
    # ./busybox --install -s /system/xbin
    ./busybox --install -s /system/xbin
    # rm /data/local/busybox
    rm /data/local/busybox
    rm failed for /data/local/busybox, No such file or directory
    # chmod busybox 755
    chmod busybox 755
    Bad mode
    # reboot
    reboot

    C:\android\tools>

    Tried to use a few different instructions when the for me.

    Install BusyBox on Rooted Android Phone | Gadgets DNA

    Yeah I'm just learning here
    JW
  8. Droid Ninja
    pdroid's Avatar
    Member #
    43531
    Join Date
    Mar 2010
    Location
    Philly
    Posts
    2,254
    Liked
    16 times
    Phone
    iPhone 5
    #7
    it's chmod 755 busybox

    you should learn what these linux commands do
  9. Master Droid
    n0m0n's Avatar
    Member #
    632
    Join Date
    Nov 2009
    Location
    HERE
    Posts
    869
    Liked
    5 times
    Phone
    Storm1+2,D1,DX,D2
    #8
    Quote Originally Posted by pdroid View Post
    it's chmod 755 busybox

    you should learn what these linux commands do
    OOPPs Yeah that would be nice which is why I am trying this to learn/do this.
    Hey many ppl like my grown kids cant believe I am playing in this realm so give me some credit.

    BUT the chmod is below additional error or bad cmd, messages,
    I copied most of the above chmod and pasted so I know I didn't type that wrong.

    Anything you can share as to why I got the bad command messages?

    Thanks
    JW
  10. Junior Droid
    Erren's Avatar
    Member #
    17836
    Join Date
    Dec 2009
    Posts
    11
    Phone
    Motorola Droid
    #9
    Quote Originally Posted by Hashi View Post
    I've got the exact problem. I spent a few years on the linux kernel development team and also x.org, so I have a good feel for the linux kernel and it's components.

    I've made sure that anything I thought Rom Manager might want to test to see if it should return that message is in place. By that I mean that of course I am rooted correctly, that superuser.apk is installed, and that other apps requiring root work correctly like 'setcpu' or 'root explorer' or just typing in 'su' at the terminal emulator prompt.

    All the copies of su (usual places /system/bin, /system/xbin) are set to the proper permissions and work from each spot, that busybox (/system/bin, /system/xbin/ and /data/data/{home of titanium pro} are all correct and working and tested.

    Still every click on anything in paid Rom Manager returns the error noted by the original poster.

    At this point, I don't care or need Rom Manager because you can do anything a different way, but it has become a project on it's own. What I'd like to really know is what is Rom Manager's criteria for deciding to return that message?

    By the way, I flashed an image of it (from terminal emulator "./flash_image recovery ./recovery.img" where recovery.img is the latest RM image) and that works OK, but still all the boxes are greyed out. I've also 'enabled' the buttons in Rom Manager using that option that allows you to (you tell it you flashed the image yourself), so now I have even more buttons returning that error.

    Any help would be greatly appreciated,

    Hashi
    Once again, the problem is not Rom Manager. Rom Manager relies on a working copy of busybox installed to perform the advanced functions. Go read what busybox does for more information. Buysbox is not included in the Android OS by default. It is added 3rd party by rom devs/cooks. The Froyo builds that were released off the bat were about as 'stock' as you can get from a hacked rom. As I said, the version of Busybox that Titanium installs is not compatible with Rom Manager. My suspicions are that it is not a complete copy of buysbox and only includes parts needed for Titanium. I don't know why, but it isn't. If you use a known working copy of busybox (like the one I linked above) Rom Manager will function on Froyo.

    Edit: I just saw your edit. If you are on 2.1, what Rom are using? If it is stock 2.1, the above still applies.
    Last edited by Erren; 06-11-2010 at 11:33 AM.
  11. Junior Droid
    Erren's Avatar
    Member #
    17836
    Join Date
    Dec 2009
    Posts
    11
    Phone
    Motorola Droid
    #10
    Quote Originally Posted by n0m0n View Post
    Quote Originally Posted by pdroid View Post
    it's chmod 755 busybox

    you should learn what these linux commands do
    OOPPs Yeah that would be nice which is why I am trying this to learn/do this.
    Hey many ppl like my grown kids cant believe I am playing in this realm so give me some credit.

    BUT the chmod is below additional error or bad cmd, messages,
    I copied most of the above chmod and pasted so I know I didn't type that wrong.

    Anything you can share as to why I got the bad command messages?

    Thanks
    What you typed doesn't quite match what I posted. Here it is again for reference. Each line is a separate command you enter and enter in order. your phone should be on and on the homescreen as you do this. I recommend you open up another browser tab and google each command as you enter it for what it does. Don't change the syntax, but you should at least understand what each step does.

    BusyBox
    download busybox binary to your adb tools directory
    cd to your adb tools directory

    Commands:
    Code:
    adb push busybox /data/local/busybox
    adb shell
    su
    cd /data/local
    chmod 755 busybox
    ./busybox
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
    mkdir /system/xbin
    /data/local/busybox cp /data/local/busybox /system/xbin
    /data/local/busybox cp /data/local/busybox /system/bin
    cd /system/xbin
    busybox --install .
    mount -o ro,remount -t yaffs2 /dev/block/mtdblock4 /system
    sync
    reboot
Page 1 of 2 1 2 LastLast

Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Permissions explained?
    By senorferdinand in forum Android Applications
    Replies: 4
    Last Post: 09-19-2011, 01:35 PM
  2. Replies: 11
    Last Post: 05-08-2011, 01:03 PM
  3. Superuser Permissions
    By doktabl4ck in forum Droid Hacks
    Replies: 1
    Last Post: 03-20-2010, 12:34 PM
  4. Busybox permissions
    By SuGaR in forum Droid Themes
    Replies: 4
    Last Post: 03-20-2010, 11:10 AM
  5. Replies: 57
    Last Post: 03-15-2010, 09:11 PM

Search tags for this page

adb fix permissions

,
chmod bad mode
,
fix permissions adb terminal
,
fix permissions in rom manager
,
fix permissions not found
,
fix permissions not working rom manager
,
fix permissions rom manager
,

rom manager fix permissions

,

rom manager fix permissions an error occurred

,

rom manager fix permissions error

,
rom manager fix permissions error occurred
,
rom manager fixing permissions error
,
rom manager permission fix
,
rom manager permissions error
,
rom manager wont let me fix permissions
Click on a term to search our site for related topics.
Find us on Google+