Android8.0至Android13.0系统源码下载
https://source.android.com/setup/start/build-numbers#source-code-tags-and-buildshttps://developers.google.com/android/drivershttps://developers.google.com/android/drivers#flametp1a.221005.002
sudo apt-get updatesudo 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 libncurses5mkdir ~/binexport PATH=~/bin:$PATHproxychains curl https://storage.googleapis.com/git-repo-downloads/repo -o ~/bin/repochmod a+x ~/bin/repomkdir WORKING_DIRECTORYcd WORKING_DIRECTORYgit config --global user.name Your Namegit config --global user.email [email protected]# -b 后面代号选择,访问:https://source.android.com/setup/start/build-numbers#source-code-tags-and-buildsproxychains repo init -u https://android.googlesource.com/platform/manifest -b android-8.0.0_r21proxychains repo init -u https://android.googlesource.com/platform/manifest -b android-9.0.0_r46proxychains repo init -u https://android.googlesource.com/platform/manifest -b android-10.0.0_r2proxychains repo init -u https://android.googlesource.com/platform/manifest -b android-11.0.0_r46proxychains repo init -u https://android.googlesource.com/platform/manifest -b android-12.1.0_r11proxychains 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.shlunch aosp_flame-userdebugm
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调用流程分析
商务合作
更多业务合作,点击下方"阅读原文"