2009
07.30

Full root on Samsung Galaxy without NPS

It works and no need! of the f***ing NPS.

WARNING: All doing on your own risk!!! If you did not understand what the commands do, do nothing. Beware, if you flash the flase image you got a stylish brick!

Steps to do:

a) flash the modified recovery i describe here Root for adb on Samsung Galaxy

b) download a working su from http://android-dls.com/wiki/index.php?title=Magic_Root_Access or direct from http://www.magicandroidapps.com/su.zip

unzip the file.

c) boot in recovery mode and start adb on your desktop, next copy su to your phone

adb push su /tmp/su

d) follow the intructions:

adb shell

mount -o rw -t yaffs2 /dev/block/mtdblock1 /system
cat /tmp/su > /system/xbin/su
chmod 6755 /system/xbin/su
sync
reboot

Final: After reboot start adb on your desktop and type these commands

adb shell

id
su
id

If it looks like this you have root!

$ id
uid=2000(shell) gid=2000(shell) groups=1003(graphics),1004(input),1007(log),1011(adb),3001(net_bt_admin),3002(net_bt),3003(inet)
$ su
# id
uid=0(root) gid=0(root) groups=1003(graphics),1004(input),1007(log),1011(adb),3001(net_bt_admin),3002(net_bt),3003(inet)

If it works write a comment please. If it not work also write a comment please, and put the errors to them.

Update:

Mounting the system partion breaks the recovery image to start. So after doing all the steps reflash the recovery image!

9 comments so far

Add Your Comment
  1. [...] bekommen. Wenn etwas nicht funktioniert bitte mit ausf

  2. [...] bootet er neu… hab aber eigentlich nichts ge

  3. [...] finner ni bland annat här. Instruktionerna är på engelska, men vi kommer förstås även lägga upp en svensk guide på [...]

  4. [...] Теперь есть такая возможность, далее смотрим по ссылке: http://www.receptorblog.com/wordpress/?p=20 [...]

  5. [...] forward: 1- Get adb & fastboot files from the end of this post andthe su command from here (source) 2- Get the new recovery image built from the end of this post and follow the instructions (until [...]

  6. Can you provide a link of the stock samsung recovery image?

    Just realised I can’t after flashing the custom recovery image. I need the image for factory reset.

  7. thanks mine works fine :)

  8. Thanks a lot, it works fine (on Galaxy).
    Note: I had to “umount /dev/block/mtdblock1″ prior to remount it rw

  9. thanks