1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

[guide] file management

Discussion in 'Android Hacks and Help' started by WhiskeySix, Dec 10, 2009.

  1. WhiskeySix
    Offline

    WhiskeySix New Member

    Joined:
    Nov 8, 2009
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    0
    I've rooted my phone and am interested in looking around and seeing what's going on in there! The only thing is I don't have much experience in a linux shell (though I used unix daily back in the day).

    So - what I'd like to get a better feel for is file management in this adb shell. As I learn more, I'll post here, but if you have any tips/tricks/links, please share :)


    -Whiskey
  2. WhiskeySix
    Offline

    WhiskeySix New Member

    Joined:
    Nov 8, 2009
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    0
    A practical example to get started:

    how do I grab boot animation of my card.

    I've got ADB shell open on my PC, and my rooted droid connected. What am I doing wrong here:


    Code:
    # cd system/media
    cd system/media
    # ls
    ls
    bootanimation.zip
    audio
    # pull bootanimation.zip
    pull bootanimation.zip
    pull: not found
    # su pull bootanimation.zip
    su pull bootanimation.zip
    su: access granted, courtesy of www.magicandroidapps.com
    su: exec failed for bootanimation.zip Error:No such file or directory
    # su pull /system/media/bootanimation.zip
    su pull /system/media/bootanimation.zip
    su: access granted, courtesy of www.magicandroidapps.com
    su: exec failed for /system/media/bootanimation.zip Error:Permission denied
    #
    do I need some hot chmod action, or?
  3. Randomocity
    Offline

    Randomocity New Member

    Joined:
    Nov 9, 2009
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Philadelphia, PA
    SU != Sudo
    Spend the two bucks and download root explorer from the market. I was able to copy the bootanimation zip in about 10 seconds without having to ever having to touch ADB.

    Well worth my money.
  4. WhiskeySix
    Offline

    WhiskeySix New Member

    Joined:
    Nov 8, 2009
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    0
    I'll probably grab that app, thanks Randomocity.

    That being said, I still wanna know how to do it the 'old fashioned way' :p


    Code:
    # sudo pull /system/media/bootanimation.zip
    sudo pull /system/media/bootanimation.zip
    sudo: not found
    lol!
  5. kbrede
    Offline

    kbrede New Member

    Joined:
    Nov 22, 2009
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    0
    I don't have any experience with adb but I think if you just loose "su" in front of your commands you'll be OK. If you have the "#" prompt, you should be root already.
    Kent
  6. WhiskeySix
    Offline

    WhiskeySix New Member

    Joined:
    Nov 8, 2009
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    0
    ah, well apparently "pull" isn't on the phone... so when I try that from the shell it doesn't work.

    if I do the same command 'locally', it works:

    Code:
    C:\droid\tools>adb pull /system/media/bootanimation.zip /myDir
    2325 KB/s (706924 bytes in 0.296s)
    :)
  7. WhiskeySix
    Offline

    WhiskeySix New Member

    Joined:
    Nov 8, 2009
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    0
    Is there a PC app that is the equivalent of the Root Explorer android app? Seems that'd be a lot more convenient for development.
Search tags for this page

android file management system

,
android su: exec failed for