(1) Make sure you have CF-Root flashed (see the first post). You must have the “CWM Manager” app available.
(2) Make sure you have the same version of CF-Root extracted until you have the zImage file. (ZIP –> extract –> TAR –> extract –> zImage).
(3) Push the zImage file to /sdcard . It must still be called zImage !
(4) Find an original Samsung signed stock kernel (preferably from the same stock firmware you have, but it’s not terribly important)
(5) Reboot into download mode (adb reboot download, or boot the device with home and volume-down pressed)
(6) Fire up ODIN, and flash the Samsung kernel
(7) Boot the device with the stock kernel. CWM Manager will still be available.
(8) Start CWM Manager, select Flash Kernel, and select the zImage from CF-Root you previously put on your SD-card. The kernel will flash and the device will reboot.
(9) You will now notice you no longer have the warning triangle during boot, but you are actually running CF-Root with all it’s goodies!
(10) In the future, if you only use the Flash Kernel option inside CWM Manager instead of ODIN, the triangle will not return, neither will your flash counter increase. But keep in mind, that CWM Manager can only handle a direct “zImage” if you are NOT running a kernel with full busybox support (this is currently needed for flashing kernels out of .TAR and .ZIP files)
1. Root
2.
You can fill the fields with this info:
You can find the binaries here.
zcat rsync-3.0.6-arm-softfloat-linux-gnueabi.gz > rsync
rsync to your phone, make sure it’s in the PATH and chmod 755 rsync. I have put mind to QuickSSH’s homedir (/data/data/com.teslacoilsw.quicksshd/dropbear or /data/data/berserker.android.apps.sshdroid/dropbear).Here are a few examples that can be scripted.
Initiate a backup from your phone:
rsync -e "ssh -p <port>" -vrt <local-source> <user>@<server>:/<path> e.g. rsync -e "ssh -p 443" -vrt /mnt/sdcard/astrid me@<my-ip>:/home/me/temp
Initiate a backup from your server:
rsync rsync -vrt -e "ssh -p <port>" <user>@<phone>:/<path> <local-dest> e.g. rsync -vrt -e "ssh -p 2222" <user>@android:/mnt/sdcard/astrid /home/me/temp source source2
1. Create a dsa-key-pair on your linux client
ssh-keygen -t dsa -f id_dsa-android
Note: I named the key id_dsa-android because that’s my own convention
2. Copy the public key to your Android device
scp -P 2222 id_dsa-android.pub <your-ip-goes-here>:/sdcard
Note: This assumes you have password enabled and sshd running on port 2222
3. Validate the public key
cat /sdcard/id_dsa-android.pub >> /data/data/com.teslacoilsw.quicksshd/home/.ssh/authorized_keys
Note: Validating means in this case to copy the pubkey to authorized_keys (it’s located in /data/data/com.teslacoilsw.quicksshd/home/.ssh)
4. Configure Go to your QuickSSHD settings and remove the checkbox Password and check Shared Keys (If you did right the key added to authorized_keys should be listed right under the checkbox.
5. Test
ssh -i <your-home-goes-here>/.ssh/id_dsa-android -p 2222 <your-ip-goes-here>
If everything went fine you should get:
Enter passphrase for key '/home/sven/.ssh/id_dsa-android' source
samsung galaxy s2 root
http://forum.xda-developers.com/showthread.php?t=1125414
or untested: http://forum.xda-developers.com/showthread.php?t=1103399