[Samsung Galaxy Player 4.0, 5.0] nukleuzN:
---------------------------------------------------------------
Easy rooting toolkit (v1.0)
created by DooMLoRD
edited by Anthony Papousek
using exploit zergRush (Revolutionary Team)
Credits go to all those involved in making this possible!
---------------------------------------------------------------
[*] This script will:
(1) Root your device using the zergRush exploit
(2) Install Busybox (1.18.4)
(3) Install SU ./files (3.0.5)
[*] Before you begin:
(1) Make sure you have adb in your path and the correct udev rules for your device
(2) Enable USB DEBUGGING
from (Menu\Settings\Applications\Development)
(3) Enable UNKNOWN SOURCES
from (Menu\Settings\Applications)
(4) [OPTIONAL] Increase screen timeout to 10 minutes
(5) Connect USB cable to PHONE and then connect to PC
---------------------------------------------------------------
Connect Device to begin
--- STARTING ----
--- Cleaning
rm failed for *, No such file or directory
--- Pushing zergRush
331 KB/s (23052 bytes in 0.067s)
--- Correcting permissions of zergRush on device
--- Executing zergRush and giving primary root access over adb
This may take a while

[**] Zerg rush - Android 2.2/2.3 local root
[**] (C) 2011 Revolutionary. All rights reserved.

[**] Parts of code from Gingerbreak, (C) 2010-2011 The Android Exploid Crew.

[+] Found a Froyo ! 0x00017108
[+] Found a Samsung, running Samsung mode
[*] Scooting ...
[*] Sleeping a bit (~40s)...
[*] Waking !
[*] Sending 149 zerglings ...
[*] Sleeping a bit (~40s)...
[*] Waking !
[*] Sending 189 zerglings ...
[-] Hellions with BLUE flames !
--- WAITING FOR DEVICE TO RECONNECT
If it gets stuck over here for a long time then try:
disconnect usb cable and reconnect it
toggle USB DEBUGGING (first disable it then enable it)
--- DEVICE FOUND
--- pushing busybox
2290 KB/s (1075144 bytes in 0.458s)
--- correcting permissions
--- remounting /system
mount: permission denied (are you root?)
--- copying busybox to /system/xbin/
/system/xbin/busybox: cannot open for write: Read-only file system
--- correcting ownership
Unable to chmod /system/xbin/busybox: No such file or directory
--- correcting permissions
Unable to chmod /system/xbin/busybox: No such file or directory
--- installing busybox
/system/xbin/busybox: not found
--- pushing SU binary
failed to copy './files/su' to '/system/bin/su': Read-only file system
--- correcting ownership
Unable to chmod /system/bin/su: No such file or directory
--- correcting permissions
Unable to chmod /system/bin/su: No such file or directory
--- correcting symlinks
rm failed for /system/xbin/su, Read-only file system
link failed Read-only file system
--- pushing Superuser app
failed to copy './files/Superuser.apk' to '/system/app/./Superuser.apk': Read-only file system
--- cleaning
--- rebooting
Your device should now be rooted.

It's time to update your su binary.
Open the Superuser app, go to Preferences (Menu\Preferences),
and hit Su Binary v3.X (3.0, in this case). When prompted,
update to the newest version of the su binary.
Congratulations, you've successfully rooted!
If something went wrong, pm apapousek on the XDA Forums
or email anthony@papousek.org

Darn...

I have tried

Disconnect usb cable and reconnect it

Toggle USB DEBUGGING (first disable it then enable it)

This is my udev:

$ sudo vi /etc/udev/rules.d/51-android.rules

UBSYSTEM=="usb", ATTR{idVendor}=="04E8", MODE="0666", GROUP="plugdev"

$ sudo chmod a+r /etc/udev/rules.d/51-android.rules
$ sudo restart udev

adb:

joachim@joachim-ThinkPad-X220:~/Downloads/root$ adb devices
List of devices attached
c089041f0e4e939e	device

Phone

Model: YP-G70

Firmware: 2.2.2 (Stock, ofcourse..)

Kernel v.: 2.6.32.9 se.infra@SEP-53 #1

Build no.: FROYO.XXKG1

Computer

OS: Ubuntu 11.10 64-Bit

Hardware: Lenovo Thinkpad X220i

Anyone knows the trick? ;-)