Google官方开发指导:
http://developer.android.com/index.html
Android源码网站:
Github:
https://github.com/Trinea/android-open-project
https://github.com/cesards/AndroidElementals
https://github.com/kesenhoo/android-training-course-in-chinese
https://github.com/googlesamples
https://android.googlesource.com/
https://github.com/lukasz-madon/awesome-remote-job
CM源码下载:
https://github.com/CyanogenMod/android
Google产品:
https://developers.google.com/
https://developers.google.com/android/nexus/images
http://gjsq.link/
Nexus刷机:
Flashing Instructions
To flash a device using one of the system images below (or one of your own), you need the fastboot
tool. You can get the fastboot
tool either:
- From a compiled version of the the Android Open Source Project.
- Or, from the
platform-tools/
directory in the Android SDK. Be sure that you have the latest version of theAndroid SDK Platform-tools from the SDK Manager.
Once you have the fastboot
tool, add it to your PATH
environment variable (the flash-all
script below must be able to find it). Also be certain that you've set up USB access for your device, as described in the Using Hardware Devicesguide.
Caution: Flashing a new system image deletes all user data. Be certain to first backup any personal data such as photos.
To flash a system image:
- Download the appropriate system image for your device below, then unzip it to a safe directory.
- Connect your device to your computer over USB.
- Start the device in fastboot mode with one of the following methods:
- Using the adb tool: With the device powered on, execute:
adb reboot bootloader
- Using a key combo: Turn the device off, then turn it on and immediately hold down the relevant key combination for your device. For example, to put a Nexus 5 ("hammerhead") into fastboot mode, press and hold Volume Up + Volume Down + Power as the device begins booting up.
- Using the adb tool: With the device powered on, execute:
- If necessary, unlock the device's bootloader by running:
fastboot oem unlock
The target device will show you a confirmation screen. (This erases all data on the target device.) - Open a terminal and navigate to the unzipped system image directory.
- Execute the
flash-all
script. This script installs the necessary bootloader, baseband firmware(s), and operating system.
Once the script finishes, your device reboots. You should now lock the bootloader for security:
- Start the device in fastboot mode again, as described above.
- Execute:
fastboot oem lock
Locking the bootloader does not wipe any data, but when you want to flash it again, you must run fastboot oem unlock
again, which will wipe the data.
Nexus Root: Nexus Root Toolkit