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.