Godmode Script

Discussion in 'cvpcs' started by KpAtch3s, Jul 6, 2010.

  1. KpAtch3s
    Offline

    KpAtch3s New Member

    Joined:
    May 27, 2010
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    0
    Since sapphire doesn't have a godmode script I decided to attempt creating one myself, but what I'm doing doesn't seem to work properly.

    I know that chmod 777 [some directory] gives permissions, but my script gets permission denied.

    In fact this pretty much Pete's script i got off BB. Anyway, I used adb to push it to /system/xbin and like I said earlier, permision denied. Any ideas?


    #!/system/bin/sh
    # godmode - Temporarily Allows Editing Of Any File

    mount -o rw,remount -t yaffs2 /dev/block/mtdblock4 /system
    chmod 777 /system/build.prop
    chmod 777 /system/app
    chmod 777 /data
    chmod 777 /data/app
    chmod 777 /data/app-private
    chmod 777 /data/dalvik-cache
    chmod 777 /data/data
  2. Se7enLC
    Offline

    Se7enLC New Member

    Joined:
    Nov 16, 2009
    Messages:
    1,263
    Likes Received:
    0
    Trophy Points:
    0
    Possible problems:
    1). You need to run the script as root, by typing su first
    2). The script itself needs to be marked executable (chmod 755 or 777), you only need to do this once.

    Code:
    su
    chmod 755 /system/bin/godmode
    godmode
    
    Last edited: Jul 7, 2010
  3. wingdo
    Offline

    wingdo New Member

    Joined:
    Feb 17, 2010
    Messages:
    1,035
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Chicago
    how is this different from tying sysrw at a # prompt?
  4. Se7enLC
    Offline

    Se7enLC New Member

    Joined:
    Nov 16, 2009
    Messages:
    1,263
    Likes Received:
    0
    Trophy Points:
    0
    sysrw only remounts /system as read/write. This so-called "godmode" script changes permissions on a lot of the stuff in /data as well.
Similar Threads
  1. solorca
    Replies:
    2
    Views:
    1,325
  2. mikeew83
    Replies:
    2
    Views:
    1,132
  3. Dinomight
    Replies:
    1
    Views:
    10,481
  4. Crf450r420
    Replies:
    5
    Views:
    1,517
  5. myfishbear
    Replies:
    5
    Views:
    1,247
Loading...
Search tags for this page

motorola droid x god mode

,

script for god mode