Difference between revisions of "Rooting Android"

From Tech
Jump to navigationJump to search
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
  +
=Nexus 7=
  +
Here's my experience on rooting my Nexus 7.
  +
 
Needed debian/ubuntu packages:
 
Needed debian/ubuntu packages:
 
<nowiki>aptitude install android-tools-adb android-tools-fastboot</nowiki>
 
<nowiki>aptitude install android-tools-adb android-tools-fastboot</nowiki>
  +
* USB debugging needs to be turned on (first become developper by tapping the phone version 7 times).
 
  +
* Download <tt>CWM-SuperSU-v0.97.zip</tt>, and put it on the SD card somwhere (e.g. in Download); md5sum db2f8032fd1df99c92d1bfff490a9217
 
* [http://wiki.cyanogenmod.org/wiki/Nexus_7:_Full_Update_Guide cyanogenmod instructions for Nexus 7]
 
* [http://wiki.cyanogenmod.org/wiki/Nexus_7:_Full_Update_Guide cyanogenmod instructions for Nexus 7]
 
* note that fastboot needs to be run as root, otherwise it will just sit there with the <nowiki>< waiting for device ></nowiki> message)
 
* note that fastboot needs to be run as root, otherwise it will just sit there with the <nowiki>< waiting for device ></nowiki> message)
 
* Doing the <nowiki>fastboot oem unlock</nowiki> will whipe the device. Google calls it a 'factory reset', but the android system stays at the version from before the 'factory reset'.
 
* Doing the <nowiki>fastboot oem unlock</nowiki> will whipe the device. Google calls it a 'factory reset', but the android system stays at the version from before the 'factory reset'.
* This was the version of [download2.clockworkmod.com/recoveries/recovery-clockwork-6.0.2.3-grouper.img clockwork] I installed; md5sum: 6a797003e5afe3227587610b7af5dabb.
+
* This was the version of [http://download2.clockworkmod.com/recoveries/recovery-clockwork-6.0.1.0-grouper.img clockwork] I installed; md5sum: c4bd5c94000a4e917a703583298532b4.
  +
<nowiki>sudo fastboot oem unlock
* Then installed [https://play.google.com/store/apps/details?id=stericson.busybox BusyBox]
 
  +
sudo fastboot flash recovery recovery-clockwork-6.0.1.0-grouper.img</nowiki>
* Then installed [https://play.google.com/store/apps/details?id=me.shkschneider.dropbearserver2 DropBear SSH II]
 
  +
* Right after that last command, select 'Recovery mode' from the boot menu (with '''Volume Down''' key), you'll now enter into the ClockWorkMod recovery menu. Select installing zip file from sd card, search for <tt>CWM-SuperSU-v0.97.zip</tt> you downloaded earlier, and install it. Then select reboot; ClockWorkMod will ask you whether you want it to make sure it isn't erased on boot. If you don't select this, clockworkmod will be erased the next reboot (that's what I choose though)
 
* Install [https://play.google.com/store/apps/details?id=eu.chainfire.supersu SuperSU], [https://play.google.com/store/apps/details?id=stericson.busybox BusyBox]
  +
* This [http://www.androidpolice.com/2012/10/09/how-to-update-your-nexus-7-to-android-4-1-2-jzo54k-with-stock-or-custom-recovery/ procedure] helped somewhat (though not a lot).
  +
  +
=See Also=
  +
* [[Android]]
  +
* [[Backup Android phone]]
  +
* [[About the Android Filesystem]]
  +
* [[Android ssh server]]

Latest revision as of 22:55, 23 December 2012

Nexus 7

Here's my experience on rooting my Nexus 7.

Needed debian/ubuntu packages:

aptitude install android-tools-adb android-tools-fastboot
  • USB debugging needs to be turned on (first become developper by tapping the phone version 7 times).
  • Download CWM-SuperSU-v0.97.zip, and put it on the SD card somwhere (e.g. in Download); md5sum db2f8032fd1df99c92d1bfff490a9217
  • cyanogenmod instructions for Nexus 7
  • note that fastboot needs to be run as root, otherwise it will just sit there with the < waiting for device > message)
  • Doing the fastboot oem unlock will whipe the device. Google calls it a 'factory reset', but the android system stays at the version from before the 'factory reset'.
  • This was the version of clockwork I installed; md5sum: c4bd5c94000a4e917a703583298532b4.
sudo fastboot oem unlock
sudo fastboot flash recovery recovery-clockwork-6.0.1.0-grouper.img
  • Right after that last command, select 'Recovery mode' from the boot menu (with Volume Down key), you'll now enter into the ClockWorkMod recovery menu. Select installing zip file from sd card, search for CWM-SuperSU-v0.97.zip you downloaded earlier, and install it. Then select reboot; ClockWorkMod will ask you whether you want it to make sure it isn't erased on boot. If you don't select this, clockworkmod will be erased the next reboot (that's what I choose though)
  • Install SuperSU, BusyBox
  • This procedure helped somewhat (though not a lot).

See Also