Jump to content

Welcome to CyanogenMod

Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Get your own profile and make new friends
  • Download files attached to the forum.
  • Customize your experience here
  • Share your CyanogenMod experience!
Guest Message by DevFuse
 

Unlock, Root & Install Cyanogenmod 10 Nightlies


  • Please log in to reply
7 replies to this topic

#1 Kow@lski

Kow@lski
  • Members
  • 23 posts
  • Country:
    fr - France
  • Device Model:
    HTC Desire - Asus Nexus 7
  • CM Version:
    SpazeDog ICS 0.9.0 Update 1 - CM 10 Nightly
  • Recovery Image:
    Other

Posted 09 September 2012 - 09:54 AM

Posted Image


Almost all of the information from the XDA forum
I just added images, adapted to my liking, certainly add a few english mistakes


Disclaimer: I do not take any responsibility for anything you do to your phone, whether be brick, break, or somehow mess it up.


Requirements

1. You must have the Android SDK installed and you are able to access, and use adb and fastboot.

2. You must have debugging enabled on your Nexus 7.
Posted Image

3. Download Cyanogenmod 10 Nightlies

4. Download Google Apps
gapps-jb-20121011-signed.zip + gapps-jb-picasa-20121011-signed.zip (Currently)
Posted Image
Be careful with  : gapps-jb-20121011-signed.zip and gapps-jb-picasa-20121011-signed.zip

Quote

Goo.Im
Changelog for gapps-jb-20121011-signed.zip
All apps updated to 4.1.2 versions.

Google Play Store updated to 3.9.16.

Should be backwards-compatible with 4.1.1.

Does NOT contain the leaked Gmail with pinch-to-zoom. GApps do not include leaked/test versions of Play Store applications, especially when the signing key differs from the Play Store version(s).

--From wiki.rootzwiki.com/Google_Apps

Quote

Goo.Im
Changelog for gapps-jb-picasa-20121011-signed.zip
GoogleGallery.apk with Picasa sync enabled for use with 20121011.

This will disable any special non-AOSP camera features, like those from CyanogenMod 10.

--From wiki.rootzwiki.com/Google_Apps


5. A Recovery Image :

5.a Download ClockworkMod "Recovery" or "Touch Recovery".
Scroll down to Google Nexus 7.
Posted Image

5.b Download Team Win Recovery Project 2.3 (TWRP 2.3)
(This is also a Touch Recovery with on-screen keyboard)
Posted Image

Send CyanogenMod + Google Apps to the Nexus 7

In terminal :
sudo [Path To Your Android SDK]/android-sdks/platform-tools/adb push [Path To CyanogenMod On Your Computer]/cm-10-20120908-NIGHTLY-grouper.zip /sdcard/
sudo [Path To Your Android SDK]/android-sdks/platform-tools/adb push [Path To Google Apps On Your Computer]/gapps-jb-20121011-signed.zip and gapps-jb-picasa-20121011-signed.zip /sdcard/


Unlocking Your Bootloader

1. Go to Bootloader
In terminal :
sudo [Path To Your Android SDK]/android-sdks/platform-tools/adb reboot bootloader
Posted Image
Nb : Device is still Locked
Posted Image

2. Unlock your Bootloader
sudo [Path To Your Android SDK]/android-sdks/platform-tools/fastboot oem unlock
Press Volume Down/Up to select
"Yes
Unlock bootloader (may void warranty)"
This will erase all the user data on the tablet.
Posted Image
Then press the Power button
See here, where are buttons

Now, your bootloader is unlocked
Posted Image

Flash Recovery
(You're still inside the bootloader)

Depending of wich Recovery you want to install
For exemple :
ClockworkMod Recovery
sudo [Path To Your Android SDK]/android-sdks/platform-tools/fastboot flash recovery [Path To Recovery On Your Computer]/recovery-clockwork-6.0.1.0-grouper.img
ClockworkMod Touch Recovery
sudo [Path To Your Android SDK]/android-sdks/platform-tools/fastboot flash recovery [Path To Recovery On Your Computer]/recovery-clockwork-touch-6.0.1.0-grouper.img
Team Win Recovery Project 2.3
sudo [Path To Your Android SDK]/android-sdks/platform-tools/fastboot flash recovery [Path To Recovery On Your Computer]/openrecovery-twrp-2.3.2.1-grouper.img

Be careful
The stock ROM will automatically replace the recovery you have flashed with the stock recovery.
To prevent it, go immediately in Recovery mode (the recovery you have flashed) pressing Volume Key + the Power button.
Posted Image

"ClockworkMod Recovery (Touch or not)" & "Team Win Recovery Project 2.3" warn you and allow you to fix it.
(I do not have pictures for this part.
Thank you to send me one that I place in this guide please.)


If not, still inside the recovery you have flashed :

A. FadedLite from xda says for "ClockworkMod Recovery (Touch or not)" :

Quote

Go to Mounts and Storage
Mount /System

On your computer,
Type in Terminal
adb shell
cd /system
mv recovery-from-boot.p recovery-from-boot.bak

B. The "Team Win Recovery Project 2.3" site says :

Quote

go to the mount menu
mount system,
press the home button
then press Advanced -> File Manager.
Browse to /system and select the file named recovery-from-boot.p
then choose to rename the file to recovery-from-boot.bak

Install Cyanogenmod 10 Nightlies & Google Apps

1. Select the option to Wipe data/factory reset.
2. Then select the option to Wipe cache partition.
3. Go to "Install zip from sdcard"
   "Choose zip from sdcard"

First,
select your Cyanogenmod 10 Nightlies.zip
Choose "Yes" to install it.
Wait until the end of the installation.

Then,
select your Google Apps.zip
Choose "Yes" to install it.
Wait until the end of the installation.

Once the installation has finished
back to the main menu
and select the Reboot system now option.

Your Nexus 7 should now boot into CyanogenMod 10.

Sources :
XDA

Edited by Kow@lski, 24 November 2012 - 06:17 AM.


#2 Migaloo

Migaloo
  • Donators
  • 25 posts
  • Country:
    au - Australia
  • Device Model:
    HTC Desire | Nexus 7
  • CM Version:
    CM7.2 | CM10
  • Recovery Image:
    ClockworkMod

Posted 09 September 2012 - 10:08 AM

The recovery image being reflashed had me baffled for a good 1/2 hour but persistence paid off.

Thanks ikslawok.

Edited by Migaloo, 09 September 2012 - 10:10 AM.


#3 evilsock

evilsock
  • Members
  • 31 posts
  • Twitter:evilsock
  • Device Model:
    |3|
  • CM Version:
    latest cm
  • Recovery Image:
    Cyanogen

Posted 22 October 2012 - 08:51 AM

If u could add a how to flash back to stock in here this would be a sticky waiting to happen. Could someone point me to a link how to. I'm used to Samsung so I'm looking for a "Odin"  but I'm not sure what asus's Odin is

Sent from my Nexus 7 using Tapatalk 2

#4 Kow@lski

Kow@lski
  • Members
  • 23 posts
  • Country:
    fr - France
  • Device Model:
    HTC Desire - Asus Nexus 7
  • CM Version:
    SpazeDog ICS 0.9.0 Update 1 - CM 10 Nightly
  • Recovery Image:
    Other

Posted 22 October 2012 - 05:19 PM

View Postevilsock, on 22 October 2012 - 08:51 AM, said:

If u could add a how to flash back to stock in here this would be a sticky waiting to happen. Could someone point me to a link how to.
I do not have any idea.

#5 Firerat

Firerat
  • Members
  • 1803 posts
  • Twitter:firer4t
  • Country:
    uk - United Kingdom
  • Device Model:
    Dream aka G1 aka trout
  • CM Version:
    CM6 Magpie Ezt 2708
  • Recovery Image:
    ClockworkMod

Posted 22 October 2012 - 07:31 PM

View Postevilsock, on 22 October 2012 - 08:51 AM, said:

If u could add a how to flash back to stock in here this would be a sticky waiting to happen. Could someone point me to a link how to. I'm used to Samsung so I'm looking for a "Odin"  but I'm not sure what asus's Odin is

Sent from my Nexus 7 using Tapatalk 2


After installing Clockwork do a backup, then you can restore your rooted stock at a later date

If you followed the OP and didn't backup your stock install.. Well this should help you out :
https://developers.g...id/nexus/images

#6 georgeh2k

georgeh2k
  • Members
  • 1 posts
  • Country:
    us - United States
  • Device Model:
    Nexus 7
  • CM Version:
    stock
  • Recovery Image:
    ClockworkMod

Posted 24 November 2012 - 05:14 AM

After I tried to do this step:

The stock ROM will automatically replace the recovery you have flashed with the stock recovery.
To prevent it, go immediately in Recovery mode (the recovery you have flashed) pressing Volume Key + the Power button.


my brand new Nexus 7 got bricked!  Nothing on the screen at all.  Cannot connect via adb or fastboot.  Power + volume up has no effect.  Any ideas?

Update: nevermind!  Vol down+power for 10 seconds, then let go of power got me back.

Edited by georgeh2k, 24 November 2012 - 05:25 AM.


#7 Kow@lski

Kow@lski
  • Members
  • 23 posts
  • Country:
    fr - France
  • Device Model:
    HTC Desire - Asus Nexus 7
  • CM Version:
    SpazeDog ICS 0.9.0 Update 1 - CM 10 Nightly
  • Recovery Image:
    Other

Posted 24 November 2012 - 06:00 AM

I really need to update the first topic because it is outdated, obsolete.
Edit : Done !

Edited by Kow@lski, 24 November 2012 - 06:21 AM.


#8 R2D2S2

R2D2S2
  • Members
  • 8 posts
  • Country:
    nl - Netherlands
  • Device Model:
    galaxysmtd
  • CM Version:
    CM11
  • Recovery Image:
    ClockworkMod

Posted 25 May 2014 - 05:18 PM

Just for the one who recently bought his or hers first second hand Nexus 7 or any other Nexus product, (Galaxy Nexus, Nexus 4, Nexus 5, Nexus 10) and wants to root it and install a recovery on it and got to this post, I have good news as it's been made very easy:

Go here: http://www.wugfresh.com/nrt/

And let this magic program to all the work for you.
Just follow it step by step and don't try to be smarter and you will have your Nexus rooted, with recovery and ready to rock with whatever ROM you choose.

One addition if you're halfway, ROM-manager from Google Play is also an easy way to install the recovery after the rooting process.
Hopefully it helps someone, this is Mai 2014.