ADB/SCRIPTS help?

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

  1. budmonster
    Offline

    budmonster Guest

    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 New Member

    Joined:
    Dec 5, 2009
    Messages:
    1,898
    Likes Received:
    22
    Trophy Points:
    0
    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

,
adb+shell+run script
,
common adb scripts
,
how to run a script adb
,
how to run script over adb
,
run script adb shell
,
shell scripting adb commands
,
sysro sysrw
,
sysrw not found