Android8.0至Android13.0系统源码下载
https://source.android.com/setup/start/build-numbers#source-code-tags-and-builds
https://developers.google.com/android/drivers
https://developers.google.com/android/drivers#flametp1a.221005.002
sudo apt-get update
sudo apt-get install git-core gnupg flex bison build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 libncurses5-dev lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfig python libncurses5
mkdir ~/bin
export PATH=~/bin:$PATH
proxychains curl https://storage.googleapis.com/git-repo-downloads/repo -o ~/bin/repo
chmod a+x ~/bin/repo
mkdir WORKING_DIRECTORY
cd WORKING_DIRECTORY
git config --global user.name Your Name
git config --global user.email [email protected]
# -b 后面代号选择,访问:https://source.android.com/setup/start/build-numbers#source-code-tags-and-builds
proxychains repo init -u https://android.googlesource.com/platform/manifest -b android-8.0.0_r21
proxychains repo init -u https://android.googlesource.com/platform/manifest -b android-9.0.0_r46
proxychains repo init -u https://android.googlesource.com/platform/manifest -b android-10.0.0_r2
proxychains repo init -u https://android.googlesource.com/platform/manifest -b android-11.0.0_r46
proxychains repo init -u https://android.googlesource.com/platform/manifest -b android-12.1.0_r11
proxychains repo init -u https://android.googlesource.com/platform/manifest -b android-13.0.0_r7
# -j 的数字根据机器性能而定
proxychains repo sync -c -j8
export _JAVA_OPTIONS="-Xmx4g"
source build/envsetup.sh
lunch aosp_flame-userdebug
m
http://koifishly.com/2020/07/24/android/source-code/xia-zai-bian-yi-yun-xing-an-zhuo-yuan-ma/
Android系统源码结构
链接:https://pan.baidu.com/s/1ocvfmLXnkw2ufbg96dfzfQ
提取码:9hr4
定制版安全分析辅助测试手机
Android系统定制需求,联系作者
推荐阅读
Android10以上系统Audio音频遇到播放视频无声时的分析方法
干货|Android APP应用工程师转Framework工程师(仅此一篇够了)
Android中实现系统声音录制(内置声源的录制)-framework调用流程分析
商务合作
更多业务合作,点击下方"阅读原文"