adb permissions issue


Last Updated:

  1. plissje

    plissje Member This Topic's Starter

    Joined:
    Oct 30, 2009
    Messages:
    15
    Likes Received:
    0
    Hi,
    I've just upgraded my phone to jc4 & recovery 4.6.1
    Now im trying to install busybox so i can get the sense theme, but i cant seem to get it to work.

    when i use adb push it says permission denied even though i had su enabled via the recovery.

    any suggestions?
     

    Advertisement
  2. Broomfundel

    Broomfundel Active Member

    Joined:
    Oct 24, 2009
    Messages:
    39
    Likes Received:
    0
    Hi there,

    Make sure you are in the recovery menu when you try, and make sure you have typed "adb remount" to get rw permissions.

    Only glaxo roms alow full adb access while the phone is up and running properly.
     
  3. plissje

    plissje Member This Topic's Starter

    Joined:
    Oct 30, 2009
    Messages:
    15
    Likes Received:
    0
    ok seems to be working now, thanks.

    But a new issue rised: when i try to install busybox with busybox --install, i get tons of msg's about directory not exists..
    any clue? :>
     
  4. Broomfundel

    Broomfundel Active Member

    Joined:
    Oct 24, 2009
    Messages:
    39
    Likes Received:
    0
    The instructions I use, and worked fine on JC4 are

    Remount the mount points with read/write access by typing into the command line "adb remount"

    "adb push busybox /system/bin/busybox"
    "adb shell chmod 4755 /system/bin/busybox"
    "adb shell rm /system/bin/cp"
    "adb shell ln -s /system/bin/busybox /system/bin/cp"
    "adb shell /system/bin/busybox --install -s /system/bin"

    Try this and if you have problems say at which piont.
     
  5. plissje

    plissje Member This Topic's Starter

    Joined:
    Oct 30, 2009
    Messages:
    15
    Likes Received:
    0
    ok we're advancing. now i have a new error:

    "failed to copy 'busybox' to '/system/bin/busybox': No space left on device"

    suggestions? =)

    p.s.
    To remove any obvious doubt, i have no space problem on the device AFAIK =)
     
  6. Rastaman-FB

    Rastaman-FB Well-Known Member

    Joined:
    Sep 11, 2009
    Messages:
    6,113
    Likes Received:
    1,010
    this is refering to system space not standard device space
    its likely you have some apps that have large databases in the system storage which has a maximum of 1gb for everything including the os
     
  7. plissje

    plissje Member This Topic's Starter

    Joined:
    Oct 30, 2009
    Messages:
    15
    Likes Received:
    0
    I've tried the wipe from the recovery and it didnt seem to help either.
    So what exactly do i have to do? :\
     
  8. Broomfundel

    Broomfundel Active Member

    Joined:
    Oct 24, 2009
    Messages:
    39
    Likes Received:
    0
    Launch a shell from ADB ( adb shell )
    Then run the command df -k
    It will show you the amount of space you have in the various partitons. In this case your interested in /system

    That is where you are short of space. (Not sure why if its a clean build.)

    One way to free up space would to move some apps from
    \system\apps\ to \data\apps\

    But what do you have installed?? As you should have enough space. I would be tempted to start again from Odin.
     
  9. plissje

    plissje Member This Topic's Starter

    Joined:
    Oct 30, 2009
    Messages:
    15
    Likes Received:
    0
    Currently i got these progs installed:
    - Waze
    - Touchdown
    - Advanced TaskKiller
    - Bonsai Blast
    - Evernote
    - Gscript
    - Shazam
    - Anysoftkeyboard

    I haven't tried the command yet, i will report when i do.
    How exactly do i move the apps?
     
  10. MichaelW

    MichaelW Well-Known Member

    Joined:
    Oct 6, 2009
    Messages:
    364
    Likes Received:
    26
    You could always delete the google maps APK then reinstall from the Market.
     
  11. plissje

    plissje Member This Topic's Starter

    Joined:
    Oct 30, 2009
    Messages:
    15
    Likes Received:
    0
    And how do i do that?
    I've tried using DroidExplorer for it but it just seem to crash no metter what action i perform..
     
  12. Broomfundel

    Broomfundel Active Member

    Joined:
    Oct 24, 2009
    Messages:
    39
    Likes Received:
    0
    To move or delete files, it is best to do it from the ADB Shell. Standard linux shell commands so for example

    CD = Change Directory
    LS = List Files in current directory

    etc....

    If you are not familier with them, there many guides on the web.
     
  13. droidzone

    droidzone Well-Known Member

    Joined:
    Sep 24, 2010
    Messages:
    436
    Likes Received:
    58
    It is not a space issue at all. It seems to be a permissions issue. Try the following instructions, substituting the busybox file itself with one for your Samsung (I use an HTC Desire):

    download busybox for your device
    enter in recovery mode
    from your pc :
    adb shell
    mount /sdcard
    mount /system
    mount -o remount,rw /system
    dd if=/sdcard/busybox of=/system/bin/busybox
    chmod 4755 /system/bin/busybox
    mkdir /data/busybox
    /system/bin/busybox --install -s /system/bin/

    That should work.
     

Share This Page

Loading...