1. Are you ready for the Galaxy S20? Here is everything we know so far!

Problems with ADB

Discussion in 'Android Devices' started by rrrrramos, Aug 9, 2010.

  1. rrrrramos

    rrrrramos Member
    Thread Starter

    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...
     


  2. keredini

    keredini Member

    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 Member
    Thread Starter

  4. rrrrramos

    rrrrramos Member
    Thread Starter

    I just uninstalled and then reinstalled the drivers to see if that was the issue. Same result.
     
  5. keredini

    keredini Member

    What version of BusyBox do you have installed? It needs to be v1.17.1
     
  6. rrrrramos

    rrrrramos Member
    Thread Starter

    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 Android Expert

    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 Member
    Thread Starter

    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 Android Expert

    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 Member
    Thread Starter

    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 Member
    Thread Starter

    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 Lurker

    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/
     

Samsung Captivate Forum

The Samsung Captivate release date was July 2010. Features and Specs include a 4.0" inch screen, 5MP camera, 512GB RAM, Hummingbird processor, and 1500mAh battery.

July 2010
Release Date
0
Reviews
Loading...

Share This Page

Loading...