1.编译环境Ubuntu 18.04.4、python3.6
2.sudo apt-get install curl
3.mkdir ~/bin
4.cd ~/bin
5.sudo curl http://commondatastorage.googleapis.com/git-repo-downloads/repo
6.chmod a+x ~/bin/repo
7.export PATH=~/bin:$PATH
8.sudo apt-get install git
9.repo init -u https://source.codeaurora.org/quic/la/platform/manifest.git -b release -m LA.UM.5.6.r1-06700-89xx.0.xml --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=caf-stable
10.repo sync
11.sudo apt-get update
sudo apt-get install openjdk-8-jdk
sudo apt-get install openjdk-8-jre
12.Ubuntu添加swap分区(添加10G以上)
Ubuntu添加swap分区
13.sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev g++-multilib tofrodos python-markdown libxml2-utils xsltproc libssl-dev
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
14.覆盖AndroidSDK
15.覆盖no_pmi_patch(cp -rf /www/new_patch/camera_patch/* /root/my_android/)
16.修改 build/envsetup.sh 文件最后一行添加export LC_ALL=C
17./root/google_android2/kernel/msm-3.18/drivers/gpioclk的Makefile文件
image.png

15.source build/envsetup.sh
16.lunch msm8953_32-userdevelop 或者 lunch msm8953_32-userrelease 或者 lunch msm8953_32-userdebug
17.make -j8


恒不动
105 声望15 粉丝