Showing posts with label root. Show all posts
Showing posts with label root. Show all posts

Sunday, March 04, 2012

Galaxy Nexus: Root & ClockWorkMod Recovery


Turn on USB debugging. Attach the phone to the computer.
‎./adb devices [just to make sure it's recognized]
‎./adb reboot bootloader [to get to the bootloader]
./fastboot flash recovery recovery-clockwork-5.5.0.4-toro.img
Press volume down till you get the "recovery mode" option, and press Power to select recovery. [reboots into CWM]
Select install zip from sdcard
Select "choose zip from sdcard"

Select the su.zip

Back on the computer, in konsole:
./adb shell
then run:
>mount -o rw,remount /system
>mv /system/etc/install-recovery.sh /system/etc/install-recovery.bak
(This part didn't work for me: "mv: can't rename '/system/etc/install-recovery.sh': No such file or directory"
>exit [to leave the adb shell]

So, either use root explorer to rename it if it shows up, or use ROM Manager to reinstall CWM.

Then reboot.
Mostly simplicity.

Links:

Unlock the Galaxy Nexus Bootloader


Turn on USB debugging. Attach the phone to the computer.
‎./adb devices [just to make sure it's recognized]
‎./adb reboot bootloader [to get to the bootloader]
./fastboot oem unlock [unlocks the bootloader; select yes when asked on the phone]
‎./fastboot reboot
Simplicity.

Friday, May 13, 2011

Clockwork Recovery on the 3G Xoom

Ref XDA:

Download Clockwork Recovery for the Xoom, then:

Linux:

$ ./adb reboot bootloader
$ ./fastboot flash recovery recovery-solarnz-XXXXXX-XXXX.img
$ ./fastboot reboot

After rebooting:

$ ./adb reboot recovery

Or install Quickboot from the market.


Unlock & Root 3G Xoom

Software needed:

-Android SDK: http://developer.android.com/sdk/index.html

-Java SDK (use synaptic)

-fastboot (from HTC): http://developer.htc.com/google-io-device.html#s2


Linux:

Create this file (as root): /etc/udev/rules.d/51.android.rules containing:

SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"

SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"


Xoom: Make sure "USB Debugging" is on (Applications->Development)


Linux:

Open konsole in SDK/tools directory (ie: ~/Download/Motorola/xoom/SDK/android-sdk-linux_x86/tools):

$ ./adb reboot bootloader

$ chmod 777 fastboot

$ ./fastboot oem unlock


Wait....


Unlocked!!!


Enter info on Xoom...Make sure "USB Debugging" is on again.


Linux:

$ ./adb reboot bootloader

$ ./fastboot flash boot rootboot.img (From here.)

$ ./fastboot reboot


Wait...


Linux:

$ ./adb remount

$ ./adb push su /system/bin

$./adb shell

# ln –s /system/bin/su /system/xbin/su

# chmod 4755 /system/bin/su

# exit


Install Superuser from market

Install busybox from market

Install Titanium Backup from market (Do NOT install busybox from within Titanium Backup!)

Saturday, November 06, 2010

Friday, November 05, 2010

How To Unroot The Droid2

On a related note, here's how to unroot the Droid2, assuming no custom ROMs, and no deleting of stock bloatware apps:

  • open your trusty terminal app (that's the terminal emulator you downloaded)
  • you should see a $ symbol, now do the following (type each line exactly as writen after the "-" but do not type what is in the parenthesis)
  • su (give a minute to ask for Superuser Permission. If it doesn't ask, go into Superuser Permissions and grant access to your Terminal Emulator and go back and retry this step)
  • now you should see a # symbol (after each of the following steps is processed, you will see a #)
  • mount -o rw,remount -text3 /dev/block/mmcblk1p21 /system
  • rm /system/app/Superuser.apk
  • rm /system/bin/su
  • rm /system/bin/busybox
  • mount -o ro,remount -text3 /dev/block/mmcblk1p21 /system
  • reboot your phone. Tada, no more root! To prove this, try opening wireless tether or another program needing root access and you will be rejected.

Rooting The Droid2 Without a PC

From droidforums.net:

Download these and copy to root folder of sdcard:

  • rageagainstthecage-arm5.bin
  • su
  • Superuser.apk
  • Terminal emulator

Enable USB debugging: Settiings -> applications -> development -> USB debugging

Open terminal emulator and....

  • cd /tmp
  • cp /sdcard/rage*.bin /tmp/
  • chmod 777 rage*.bin
  • ./rage*.bin

Wait for about 5 minutes. It may finish and return with a $ prompt.

Hit the Home button, then: Settings -> Applications -> Manage Applications -> Running -> Terminal Emulator. Force close terminal emulator.

Return home, then open terminal emulator. (You should have a # prompt. If not, and/or you phone is lagging reboot your phone and start over at "cd /tmp".)

  • mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
  • cp /sdcard/Superuser.apk /system/app/Superuser.apk
  • cp /sdcard/su /system/bin/su
  • cp /sdcard/busybox /system/bin/busybox
  • chmod 4755 /system/bin/su
  • chmod 4755 /system/bin/busybox
  • mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
  • exit

Reboot phone.

Check to see if you have the superuser app in your app drawer. Also open terminal emulator and type the following command: "su"

A window should open prompting you to allow it to have superuser permissions.

You now have root.

Also, another droidfurums.net reference here, with what to do after rooting.

Tuesday, June 08, 2010

Rooted Droid

Well, I've finally taken the plunge and rooted my Motorola Droid. Started with the SPRecovery and a rooted vanilla Android 2.1. Then really went for it and installed the cyanogenmod. Cyanogen installed easily but seemed to have google voice problems when not connected via Wi-Fi. So I reROMed to bugless beast, and decided to up the ante to the 1.1 GHz kernel.

With bugless my benchmark has me faster than the HTC Incredible. It's blazing fast and has been quite stable, with no Google Voice issues.

Titanium backup has been essential for restoring my apps after flashing new ROMs. It does however not restore desktop widgets correctly. It leaves a placeholder for each widget, but each one must be fully replaced.

Can't wait for a bugless based on Froyo.

Published with Blogger-droid