Help - Extracted /system/xbin contents and didnt chmod


Last Updated:

  1. sbursik

    sbursik Well-Known Member This Topic's Starter

    Joined:
    Feb 4, 2010
    Messages:
    167
    Likes Received:
    14
    Well I messed up pretty bad. I had froyo 2.2 loaded up and rooted etc and decided I wanted the scripts from /system/xbin that I extracted from NexBeast. I made a zip and transfered it over to the phone and extracted it into /system/xbin. The part I messed up on was not chmod the files so it appears that su isnt executable. None of my rooted programs run and I cannot su in the terminal window. I tried adb but I am getting permissions issues there too. I cannot mount the file system as RW either. Permission denied. I also cannot boot into recovery. I hold down x and it never gets past the initial M screen. The phone will boot if I allow it to but I appear to be locked out. HELP! Thanks in advance.
     

    Advertisement
  2. OMJ

    OMJ Bazinga VIP Member

    Joined:
    Nov 27, 2009
    Messages:
    3,290
    Likes Received:
    825
  3. sbursik

    sbursik Well-Known Member This Topic's Starter

    Joined:
    Feb 4, 2010
    Messages:
    167
    Likes Received:
    14
    Great. I'll give it a shot. Thanks!
     
  4. sbursik

    sbursik Well-Known Member This Topic's Starter

    Joined:
    Feb 4, 2010
    Messages:
    167
    Likes Received:
    14
    I get permission denied when I get to the su part....

    Code (Text):
    1.  
    2. C:\Users\Scott\Documents\android-sdk-windows\tools>adb shell
    3. $ dd if=/sdcard/flash_image of=/data/local/flash_image
    4. dd if=/sdcard/flash_image of=/data/local/flash_image
    5. 51+1 records in
    6. 51+1 records out
    7. 26172 bytes transferred in 0.021 secs (1246285 bytes/sec)
    8. $ chmod 755 /data/local/flash_image
    9. chmod 755 /data/local/flash_image
    10. $       rm /sdcard/flash_image
    11.         rm /sdcard/flash_image
    12. $ su
    13. su
    14. Permission denied
    15. $
    16.  
     
  5. OMJ

    OMJ Bazinga VIP Member

    Joined:
    Nov 27, 2009
    Messages:
    3,290
    Likes Received:
    825
    your getting that running these commands in adb?

    adb push su /system/bin/su
    adb shell "chmod 6755 /system/bin/su"
    adb push Superuser.apk /system/app/Superuser.apk
    adb shell "chmod 644 /system/app/Superuser.apk"




    your running these while booted in recovery right?
     
  6. sbursik

    sbursik Well-Known Member This Topic's Starter

    Joined:
    Feb 4, 2010
    Messages:
    167
    Likes Received:
    14
    Loading sprecovery via RSD. We'll see what happens.
     
  7. sbursik

    sbursik Well-Known Member This Topic's Starter

    Joined:
    Feb 4, 2010
    Messages:
    167
    Likes Received:
    14
    That did the trick. Thanks a LOT!
     
  8. OMJ

    OMJ Bazinga VIP Member

    Joined:
    Nov 27, 2009
    Messages:
    3,290
    Likes Received:
    825
    no problem
     
    sbursik likes this.

Share This Page

Loading...