Problems with ADB


Last Updated:

  1. rrrrramos

    rrrrramos Well-Known Member This Topic's Starter

    Joined:
    Jul 12, 2010
    Messages:
    89
    Likes Received:
    11
    Trying to do some push/pull and do the new lag fix to no avail. After adb devices, the phone shows up as attached, but after adb remount I get "remount failed: No such file or directory" I'm not able to execute a push or pull command, and therefore I'm not able to run the lag fix.
    I have USB Debugging selected, and I was able to delete the bloatware via adb shell, but none of the other commands go through for me...
     

    Advertisement
  2. keredini

    keredini Well-Known Member

    Joined:
    Jul 16, 2010
    Messages:
    88
    Likes Received:
    15
    Which lagfix are you trying to run (a link would be helpful, as there are a bunch floating around)? And which specific line of code is throwing your error?
     
  3. rrrrramos

    rrrrramos Well-Known Member This Topic's Starter

    Joined:
    Jul 12, 2010
    Messages:
    89
    Likes Received:
    11
  4. rrrrramos

    rrrrramos Well-Known Member This Topic's Starter

    Joined:
    Jul 12, 2010
    Messages:
    89
    Likes Received:
    11
    I just uninstalled and then reinstalled the drivers to see if that was the issue. Same result.
     
  5. keredini

    keredini Well-Known Member

    Joined:
    Jul 16, 2010
    Messages:
    88
    Likes Received:
    15
    What version of BusyBox do you have installed? It needs to be v1.17.1
     
  6. rrrrramos

    rrrrramos Well-Known Member This Topic's Starter

    Joined:
    Jul 12, 2010
    Messages:
    89
    Likes Received:
    11
    It's 1.17.1
    My issue is that I'm not able to access any ADB functions outside of adb shell and adb devices. I can't remount, can't push or pull, any of the functions that I'd really need.
    I've reinstalled the drivers, removed and reinstalled the Android SDK. I've got USB Debugging turned on. Am I missing anything else?
     
  7. DT

    DT Well-Known Member

    Joined:
    Jul 23, 2010
    Messages:
    787
    Likes Received:
    145
    Can push a file to your external SD? I'm assuming the push/pull commands are failing because the specified mount isn't present (since the mount command is failing). It sounds like the new partition is wacky (hence the mount command failure).
     
  8. rrrrramos

    rrrrramos Well-Known Member This Topic's Starter

    Joined:
    Jul 12, 2010
    Messages:
    89
    Likes Received:
    11
    There is no new partition, I haven't been able to get on there to make said new partition. It's been doing this since the first time I tried a push command. I just need to know how to get this to mount correctly. I would like to push apk's to my phone but without the mount present I can't.

    Here is the code I use to get into ADB and then attempt a remount:

    Code (Text):
    1. cd C:\android-sdk-windows
    2. cd tools
    3. adb remount
    4. remount failed: No such file or directory
    When I try to push and/or pull, I get this:

    Code (Text):
    1. adb push ./smoothcalendar.apk /system/app
    2. failed to copy './smoothcalendar.apk' to '/system/app/smoothcalendar.apk': Permission denied
     
  9. DT

    DT Well-Known Member

    Joined:
    Jul 23, 2010
    Messages:
    787
    Likes Received:
    145
    Did you go through busybox commands to create the ext2 partition?

    On the other issue: you're just being denied write perms to /system/app, you'll need su privs, so you can just push something over to /sdcard (as I know that has write permissions), then shell in, su, and cp or mv from /sdcard to /system/app
     
  10. rrrrramos

    rrrrramos Well-Known Member This Topic's Starter

    Joined:
    Jul 12, 2010
    Messages:
    89
    Likes Received:
    11
    Perhaps something is wrong in my setup. ADB has SU privileges, from the first time I ran it. Just tried a push to /sdcard and it gave me the same error (permission denied)....

    Trying to solve the problem here before I have to deal with it once we get CM6 or other ROMs...

    And I didn't go through busybox or anything, so far none of what I'm attempting has gone through. I tried the one click and the ADB shell method and neither returned anything.
     
  11. rrrrramos

    rrrrramos Well-Known Member This Topic's Starter

    Joined:
    Jul 12, 2010
    Messages:
    89
    Likes Received:
    11
    I'm still having this problem. Trying to do the EliteSuperRooter Mod found on XDA, and was going to try to root again. It's still not being able to push to the phone (or SD card).
    I've installed one set of USB drivers, then when those didn't work, tried another. Same with the SDK/ADB. It's recognizing my device when I run the adb devices command, but it seems like that is where it stops...
     
  12. jmyii

    jmyii New Member

    Joined:
    Aug 15, 2010
    Messages:
    1
    Likes Received:
    0
    FWIW, having the same problem trying to copy settings.db to somewhere that I can use adb to pull it from. When I try to copy it to /sdcard, I get permission denied. I know cp is working because I can create a copy of settings.db called settings.db.bak in /dbdata/databases/com.android.providers.settings/
     

Share This Page

Loading...