Adb Push Permission Denied

This is a discussion on Adb Push Permission Denied within the Droid Hacks forums, part of the Droid Hacking category; I am trying to enable the SystemTap on Nexus S Samsung phone, however, no matter what I did, I just can not upload the files ...

+ Reply to Thread
Results 1 to 1 of 1

Thread: Adb Push Permission Denied

  1. Droid Newbie
    jiaoyang_28's Avatar
    Member #
    226162
    Join Date
    Sep 2011
    Posts
    1
    Phone
    Enter Current Phone Model Here
    #1

    Adb Push Permission Denied

    I am trying to enable the SystemTap on Nexus S Samsung phone, however, no matter what I did, I just can not upload the files into the "/data" folder.

    The following are what I did:
    1. Root the phone by following video on link:
    How To: Root the Samsung Nexus S (Updated 01.20.11) | TheUnlockr
    2. Download the Nexus S kernel code by:
    git clone http://github.com/CyanogenMod/androi...samsung_c1.git kernel
    3. Add debug flags and modify ptrace.h as mentioned in:
    Systemtap - OMAPpedia
    4. Reboot the phone with new kernel:
    fastboot flash zimage zImage

    The following are the problems I met:

    When I try to push any file, it either tells me the file does not exit, or permission denied. For example:
    sudo ./adb push /data/systemtap-1.5-macharm/ bin/staprun /data/staprun
    failed to copy '/data/systemtap-1.5-macharm/bin/staprun' to '/data/staprun': Permission denied
    or
    ./adb push /data/systemtap-1.5-macharm/ /data/systemtap-1.5-macharm/
    push: /data/systemtap-1.5-macharm/libexec/systemtap/stap-env -> /data/systemtap-1.5-macharm/libexec/systemtap/stap-env
    failed to copy '/data/systemtap-1.5-macharm/libexec/systemtap/stap-env' to '/data/systemtap-1.5-macharm/libexec/systemtap/stap-env': No such file or directory

    I first guess that is the problem of the "ro" of file systems, so I remount them to be:
    rootfs / rootfs rw,relatime 0 0
    tmpfs /dev tmpfs rw,relatime,mode=755 0 0
    devpts /dev/pts devpts rw,relatime,mode=600 0 0
    proc /proc proc rw,relatime 0 0
    sysfs /sys sysfs rw,relatime 0 0
    none /acct cgroup rw,relatime,cpuacct 0 0
    tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
    tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
    none /dev/cpuctl cgroup rw,relatime,cpu 0 0
    /dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
    /dev/block/mtdblock6 /efs yaffs2 rw,nosuid,nodev,relatime 0 0
    /dev/block/platform/s3c-sdhci.0/by-name/system /system ext4 rw,relatime,barrier=1,data=ordered 0 0
    /dev/block/platform/s3c-sdhci.0/by-name/userdata /data ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
    /sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
    /dev/block/vold/179:3 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,g id=1015,fmask=0702,dmask=0702,allow_utime=0020,cod epage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount- ro 0 0
    /dev/block/vold/179:3 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,g id=1015,fmask=0702,dmask=0702,allow_utime=0020,cod epage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount- ro 0 0
    tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

    However, the problem is still there.

    Is this the problem of my method of Root the phone? Why I just can not push the SystemTap tools into the "/data" folder?

    Any hint would be warmly welcomed.

    Yours
    Sincerely
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     

Sponsors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. SU Permission Denied
    By Konor in forum Droid X Tech Support
    Replies: 7
    Last Post: 04-11-2011, 07:43 PM
  2. SU Permission Denied
    By Konor in forum Droid Hacks
    Replies: 1
    Last Post: 04-11-2011, 07:07 PM
  3. Help Please!! SU Permission Denied
    By hogowner in forum Hacking Help
    Replies: 1
    Last Post: 03-26-2010, 08:56 PM
  4. Permission Denied
    By Shmooze in forum Droid Hacks
    Replies: 11
    Last Post: 01-29-2010, 11:11 AM
  5. ADB Push -- Permission Denied
    By vpshockwave in forum Droid Hacks
    Replies: 13
    Last Post: 01-08-2010, 10:27 PM

Search tags for this page

adb failed to copy
,
adb failed to copy permission denied
,

adb permission denied

,
adb permission denied push
,
adb permissions denied
,

adb push permission denied

,
adb push permission denied sdcard
,
adb push sdcard permission denied
,
adb push su sdcard permission denied
,
adb su permission denied
,
adb: permission denied
,
android adb push permission denied
,
permission denied adb
,
permission denied adb push
,
su permission denied adb
Click on a term to search our site for related topics.

Tags for this Thread