ADB/SCRIPTS help?

Discussion in 'Android Hacks and Help' started by budmonster, Apr 16, 2010.

DroidForums.net is the premier Android Forum - Registered Users do not see these ads. Please Register - It's Free!
  1. budmonster
    Online

    budmonster Guest

    Top Poster Of Month

    Ratings:
    +0
    I'm having a problem getting these scripts to work. I downloaded scripts.zip
    from the [ how to ] adb and why you will love it <3 page. I can't get the
    "sysrw" and "sysro" scripts to work.

    I downloaded the scripts.zip and the extracted it to the androidsdk folder. So the "sysrw" and "sysro" files are in the that folder.

    I then typed this in ADB:

    C:\Users\Home>cd c:\androidsdk
    c:\androidsdk>adb shell
    adb push sysrw /system/xbin/sysrw
    adb push sysro /system/xbin/sysro


    Then I typed this and got permission denied:


    C:\Users\Home>cd c:\androidsdk
    c:\androidsdk>adb shell
    # su
    su
    # sysrw
    sysrw
    sysrw: permission denied
    #

    Why isn't this working for me? I pushed both files to the xbin folder where busybox is located.

  2. cupfulloflol
    Offline

    cupfulloflol Senior Member

    Joined:
    Dec 5, 2009
    Messages:
    1,898
    Likes Received:
    22
    Trophy Points:
    68
    Ratings:
    +22
    You need to change the permissions of those files, which coincidentally requires you to mount system haha.

    This can be done via terminal if you want, just don't type adb shell first.
    Code:
    adb shell
    su
    mount -o remount, rw -t yaffs2 /dev/dblock/mtdblock4 /system
    chmod 777 /system/xbin/sysro
    chmod 777 /system/xbin/sysrw
    sync
    sysro
Search tags for this page

adb scripting

,

adb scripts

,
adb shell run script
,

adb shell scripting

,

adb shell scripts

,

adb shell sysrw not found

,

adb sysrw not found

,
common adb scripts
,
run script adb shell
,
sysrw not found