How do I create a folder on my sdcard in adb?

Discussion in 'Android General Discussions' started by iMpathetic, Mar 28, 2010.

  1. iMpathetic

    iMpathetic Member

    Joined:
    Feb 9, 2010
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NC
    Ratings:
    +0
    NANDROID RESTORE NOT WORKING, error code 20, PLEASE HELP!!!

    edit: scroll down to the last few posts, that's what's happening. Pulling my hair out here....
     
    #1 iMpathetic, Mar 28, 2010
    Last edited: Mar 29, 2010
  2. mwhartman

    mwhartman Super Moderator/RS
    Premium Member

    Joined:
    Jan 15, 2010
    Messages:
    10,737
    Likes Received:
    12
    Trophy Points:
    453
    Location:
    South FL
    Ratings:
    +12
    I do not use ADB. What is preventing your computer from accessing your Droid?
    Typically, once your phone is mounted your computer should recognize your phone.
    Mike
     
  3. iMpathetic

    iMpathetic Member

    Joined:
    Feb 9, 2010
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NC
    Ratings:
    +0
    The farthest I can get is sprecovery-- I had to wipe because I f###ed up a theme.
     
  4. mwhartman

    mwhartman Super Moderator/RS
    Premium Member

    Joined:
    Jan 15, 2010
    Messages:
    10,737
    Likes Received:
    12
    Trophy Points:
    453
    Location:
    South FL
    Ratings:
    +12
    What did you wipe your SD card or memory?
     
  5. iMpathetic

    iMpathetic Member

    Joined:
    Feb 9, 2010
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NC
    Ratings:
    +0
    Ehhhh.... I wiped data and cache and did a reset. The farthest I can get during boot is to the little eye, or I can get into recovery.

    This is literally THE ONLY THING I NEED TO KNOW, then I can create the folder and be ready to go.
     
  6. RoLa

    RoLa Member

    Joined:
    Jan 31, 2010
    Messages:
    876
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    801
    Ratings:
    +0
    you can mount your sd card through SPrecovery...
    mount options
    usb mass storage....that should do it..
     
  7. iMpathetic

    iMpathetic Member

    Joined:
    Feb 9, 2010
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NC
    Ratings:
    +0
    I do that and it says Removable disc but when I click on it it says "please insert a disc." Running XP 32 bit.
     
  8. Jonny Kansas

    Jonny Kansas Administrator
    Staff Member Rescue Squad

    Joined:
    Jan 21, 2010
    Messages:
    15,277
    Likes Received:
    5,991
    Trophy Points:
    1,238
    Location:
    Michigan's Upper Peninsula
    Ratings:
    +7,247
    Current Phone Model:
    Huawei Nexus 6P
    Twitter:
    jonny_ks
    Give me a minute out two...i know adb will allow to create directories...gonna be a decent string of code, but we'll figure it out.

    Have you previously installed roms via nandroid? Because you should still have the folder if you have. And if you still have the folder, ask you'll need to do is push the files...I'll go break my laptop out.
     
  9. titans

    titans Premium Member
    Rescue Squad Premium Member

    Joined:
    Dec 3, 2009
    Messages:
    2,662
    Likes Received:
    0
    Trophy Points:
    101
    Ratings:
    +0
    You do have drivers for the phone installed right?
     
  10. Jonny Kansas

    Jonny Kansas Administrator
    Staff Member Rescue Squad

    Joined:
    Jan 21, 2010
    Messages:
    15,277
    Likes Received:
    5,991
    Trophy Points:
    1,238
    Location:
    Michigan's Upper Peninsula
    Ratings:
    +7,247
    Current Phone Model:
    Huawei Nexus 6P
    Twitter:
    jonny_ks
    Agreed. That's important too...

    Also, how long did you let your phone sit when you got to the eye? Sometimes it just takes longer.

    However...I'm not exactly sure what SPrecovery's factory reset does...If it tries to reset your phone exactly to how it is out of the box, minus flashing the stock recovery and losing root, that's probably your problem.

    (There's a good lesson here for others...You should ALWAYS create a nandroid backup of you setup before trying to theme. Then it's just a matter of restoring if things don't go according to plan)

    I'd still like to know if you have previously installed any other nandroid backups or installed a rom using nandroid, as that would mean that the folder already exists.

    I think that rootyourdroid.info has some commands that can tell you how to create a new directory, but their bandwidth had been exceeded when I tried to get on there to find it, and googling "adb command create directory" didn't turn up what we're looking for...
     
  11. nphil

    nphil Member

    Joined:
    Feb 16, 2010
    Messages:
    348
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    Ratings:
    +0
    in shell,
    mkdir /sdcard/yourfoldernamehere

    if you want more unix commands, just search "unix commands" on google.
     
    #11 nphil, Mar 28, 2010
    Last edited: Mar 28, 2010
  12. Jonny Kansas

    Jonny Kansas Administrator
    Staff Member Rescue Squad

    Joined:
    Jan 21, 2010
    Messages:
    15,277
    Likes Received:
    5,991
    Trophy Points:
    1,238
    Location:
    Michigan's Upper Peninsula
    Ratings:
    +7,247
    Current Phone Model:
    Huawei Nexus 6P
    Twitter:
    jonny_ks
    There it is! I knew I've seen that code somewhere! Thanks for the help!
     
Search tags for this page
adb command to create folder
,

adb create directory

,

adb create folder

,

adb make directory

,
adb mkdir
,
adb shell create directory
,
adb shell create folder
,
adb shell mkdir
,
create directory adb
,
create folder adb