[quote=r47z,Sep 1 2011, 10:11 AM]
Added on September 1, 2011, 10:05 amJust flash Litening rom: It will give you auto root, install clockworkmod recovery, install a rom without wiping your phone. Try Litening ver 4.0 and below not v5 or 6 as these later versions has more issues/bugs than ver 4 below
[/quote]
i'm having issue with flashing. heimdall won't detect my phone on my mac. Odin is out of the question. I dun want to install parallel just to root my phone. it's sad to know that it's so difficult to do this. My old Desire could be done with rEVOked on OSX automatically. Any tips how do it get about it? I just want to remove all those bloatware on sgs2
[/quote]
Did you install ANDROID SDK MaCOSX VERSION (
http://developer.android.com/sdk/index.html ) to get the Android USB phone drivers - this will also install fastboot and all the adb files you need to start pushing files from terminal ( on Mac OSX) over:
If you have done that, than you can use this method to root: ( ODIN on Windows compared to this method is just plain ABC )
How to root the Samsung Galaxy SGII with GNU/Linux using the FOSS tool HEIMDALL on Apple Mac OSX :
Download and install heimdall.
Download an »insecure« kernel image from XDA
Put your SGII into download mode by pressing the volume down button, the home button and the power button at once.
Flash the device:
sudo heimdall flash --kernel zImage-insecure
If you now do
adb shellyou end up in a root shell.
If you would like to have further root functionality (e.g. for root apps), you can now install the su binary and the Superuser app from androidsu.com:
http://androidsu.com/superuser/From your computer: Remount the /system partition to read-write mode:
adb remountDownload the su zip file from androidsu.com to your computer and extract it. Then, on a console on your computer, push the su image to your phone with adb:
adb push su-2.3.6.3-efgh-signed/system/bin/su /system/bin/suStart a root shell on your phone with adb shell. On your phone: Correct the permissions and the ownership of the image and set a symlink to /system/xbin:
rm /system/xbin/su
ln -s /system/bin/su /system/xbin/su
chown root.shell /system/bin/su /system/xbin/su
chmod 6755 /system/bin/su /system/xbin/su
exitInstall the Superuser app (with a shell console on your computer):
adb install su-2.3.6.3-efgh-signed/system/app/Superuser.apk