Sie sind auf Seite 1von 5

How to Install CyanogenMod on the Google Nex... http://webcache.googleusercontent.com/search...

Questa la copia cache di Google di http://wiki.cyanogenmod.org/w/Install_CM_for_hammerhead.


un'istantanea della pagina visualizzata il 23 dic 2016 13:02:05 GMT.
Nel frattempo la pagina corrente potrebbe essere stata modificata. Ulteriori informazioni

Versione completa Versione solo testo Visualizza sorgente


Suggerimento. Per trovare rapidamente il termine di ricerca su questa pagina, digita Ctrl+F o -F
(Mac) e utilizza la barra di ricerca.

How to Install CyanogenMod on the


Google Nexus 5 ("hammerhead")
From CyanogenMod
Jump to: navigation, search

This guide will walk you through the process of taking the Nexus 5 from stock
to having a custom recovery image and the ability to ash the latest version of
CyanogenMod.

Note: DISCLAIMER

Modifying or replacing your device's software may void your


device's warranty, lead to data loss, hair loss, nancial loss,
privacy loss, security breaches, or other damage, and therefore
must be done entirely at your own risk. No one ailiated with
the CyanogenMod project is responsible for your actions. Good
luck.

Contents
1 Unlocking the bootloader
2 Installing a custom recovery using fastboot
3 Installing CyanogenMod from recovery

Unlocking the bootloader

1 di 5 29/12/2016 14:56
How to Install CyanogenMod on the Google Nex... http://webcache.googleusercontent.com/search...

WARNING:

Unlocking the bootloader will automatically wipe all device data.

1. Make sure your computer has working fastboot and adb.


2. Enable USB debugging on the device.
3. Enable OEM unlock in the Developer options settings on the device.
(Note: Not all devices have this setting, so continue with next step if yours
does not.)
4. Connect the device to the computer through USB.
5. From a terminal on a computer, type the following to boot the device into
fastboot mode:
adb reboot bootloader
6. Once the device is in fastboot mode, verify your PC sees the device by
typing fastboot devices
If you don't see your device serial number, and instead see "<waiting
for device>", fastboot is not congured properly on your machine.
See fastboot documentation for more info.
If you see "no permissions fastboot", try running fastboot as root.
7. From the same terminal, type the following command to unlock the
bootloader:
fastboot oem unlock
8. A disclaimer will display on the device that must be accepted. Use the
volume keys to cycle through the options. Pressing the power button
should conrm your selection.
9. If the device doesn't automatically reboot, reboot it from the menu. It
should now be unlocked. You can conrm this is the case if you see an
unlocked icon at the bottom of the Google boot screen during reboots.
10. Since the device resets completely, you will need to re-enable USB
debugging on the device to continue.

Installing a custom recovery using fastboot


See All About Recovery Images for more information about custom recoveries
and their capabilities.

1. Make sure your computer has working fastboot and adb.


2. Download recovery -- you can directly download a recovery image using
the link below, or visit twrp.me to obtain the latest version of Team Win
Recovery Project for your device.
Recovery: Download
md5: 90b25a92f247fffb63016e09fe9c0231
3. Connect the Nexus 5 to the computer via USB.
4. Make sure the fastboot binary is in your PATH or that you place the
recovery image in the same directory as fastboot.
5. Open a terminal on your PC and reboot the device into fastboot mode by
typing
adb reboot bootloader

2 di 5 29/12/2016 14:56
How to Install CyanogenMod on the Google Nex... http://webcache.googleusercontent.com/search...

or by using the hardware key combination for your device while it is


powered o.
6. Once the device is in fastboot mode, verify your PC sees the device by
typing
fastboot devices
If you don't see your device serial number, and instead see "<waiting
for device>", fastboot is not congured properly on your machine.
See fastboot documentation for more info.
If you see "no permissions fastboot", make sure your UDEV rules are
setup correctly.
7. Flash recovery onto your device by entering the following command:
fastboot flash recovery your_recovery_image.img
where the latter part is the lename of the recovery image.
8. Once the ash completes successfully, reboot the device into recovery to
verify the installation. Boot to recovery instructions: With the device
powered down, hold the Volume Down and Volume Up buttons. Then
press and hold the Power button until a boot menu appears. Navigate
using the volume keys and select RECOVERY using the Power key.
Note: Some ROMs overwrite recovery at boot time so if you do not
plan to immediately boot into recovery to install CyanogenMod,
please be aware that this may overwrite your custom recovery with
the stock one.

Installing CyanogenMod from recovery


1. Make sure your computer has working adb.
2. Download the CyanogenMod build package for your device that you'd like
to install to your computer.
Optional: Download 3rd party applications packages, like Google
Apps which are necessary to download apps from Google Play.
3. Place the CyanogenMod .zip package, as well as any optional .zip
packages, on the root of /sdcard:
Using adb: adb push filename.zip /sdcard/
Note: You can copy the .zip packages to your device using any method
you are familiar with. The adb method is used here because it is
universal across all devices and works in both Android and recovery
mode. If you are in recovery mode, you may need to ensure /sdcard
(sometimes called Internal Storage) is mounted by checking its status
in the Mounts menu. If you have booted regularly, USB debugging
must be enabled.
4. If you are not already in recovery, boot to recovery mode now.
With the device powered down, hold the Volume Down and Volume
Up buttons. Then press and hold the Power button until a boot menu
appears. Navigate using the volume keys and select RECOVERY using
the Power key.
5. In Team Win Recovery Project, select menu choices by tapping on the
appropriately labelled button.
6. Optional (Recommended): Select the Backup button to create a backup.
7. Select Wipe and then Factory Reset.
8. Select Install.

3 di 5 29/12/2016 14:56
How to Install CyanogenMod on the Google Nex... http://webcache.googleusercontent.com/search...

9. Navigate to /sdcard and select the CyanogenMod .zip package.


10. Follow the on-screen notices to install the package.
11. Optional: Install any additional packages you wish using the same method
(if you are installing multiple packages, install CyanogenMod rst and
then install any subsequent packages on top of it).
12. Once installation has nished, return to the main menu and select Reboot,
then System. The device will now boot into CyanogenMod.

Helpful Tip

See something wrong on this page? Click here: Report a Wiki


Problem.
Retrieved from "https://wiki.cyanogenmod.org
/index.php?title=Install_CM_for_hammerhead&oldid=16686"

Navigation menu
Personal tools

English
Log in

Namespaces

Page
Discussion

Variants

Views

Read
View source
View history

More

Search

Search Search Go

Navigation

Main page
Devices

4 di 5 29/12/2016 14:56
How to Install CyanogenMod on the Google Nex... http://webcache.googleusercontent.com/search...

About CM
Report a Wiki Problem
Recent Changes

Get CyanogenMod

Oicial Downloads
Unoicial Ports

General Support

Start Here
Chat
Forums
Google+ Community
Issue Tracker

Community

Start Here
Blog
Contributors
Facebook
Twitter

Developer Resources

Start Here
Gerrit Code Review
Source Code

Tools

What links here


Related changes
Special pages
Printable version
Permanent link
Page information

This page was last modied on 15 November 2013, at 16:29.

Privacy policy
About CyanogenMod
Disclaimers

Powered by MediaWiki

5 di 5 29/12/2016 14:56

Das könnte Ihnen auch gefallen