1. Download AOSP
2. Download driver from Google's Nexus driver page.
3. unzip those drivers and put *.sh to root folder of AOSP
4. run each *.sh. Should get extract files to ./vendor
5.
$
source ./build/envsetup.sh
6. lunch. then choose flavor. (aosp_hammerhead-userdebug)
$
lunch
7. go to root folder of AOSP then make -j4
$ make -j4
8. Device goes to ‘’fast boot” mode.
$
adb reboot bootloader
9. Go to ./out/target/product/hammerhead
$ cd ./
out/target/product/hammerhead
10. flash real devices
$ fastboot -w flashall
No comments:
Post a Comment