Nexus 7 source code

Source: Internet
Author: User

1. Download the corresponding driver in the https://developers.google.com/android/nexus/drivers, decompress the six sh files, after the execution will generate a vendor folder, copy the folder to the source directory.

2. Run the following command in the source code directory:

. Build/envsetup. Sh

Lunch 5

(Note: 5 represents the full_grouper-userdebug, you can also directly use the lunch full_grouper-userdebug)

Make-J4

3. After compilation, enter the out/target/product/grouper Directory, which contains all the image files to be burned.

4. Run ADB reboot bootloader to enter the fl mode.

5. If the last row at the bottom of the tablet shows lock-state-locked, it indicates that the bootloader has been locked. Unlock it first and enter the command.Fastboot OEM unlock, Press the power key to confirm. If the red letter changes to lock-state-unlocked, it indicates that it has been unlocked, and you can continue to execute.

6. Run fastboot flashall-W to flash the machine.

7. If the following error is prompted:
Bootloader version...: 3.34
Baseband version...: N/
Serial number ......: 015d24bcc5602408
--------------------------------------------
Checking product...
Okay [0.020 S]
Checking version-bootloader...
Failed

Device version-bootloader is '3. 34 '.
Update requires '3. 41 '.

Finished. Total time: 0.120 s

View out/target/product/grouper/android-info.txt in the source directory and find the file content is:
Require board = Grouper
Require version-bootloader = 3.41
Change the last line to require version-bootloader = 3.34, save and exit. Run./fastboot flashall-W again.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.