Skip to content

Angel0726/andriod_kernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

https://www.sqlsec.com/2018/05/termux.html#toc-heading-31

安装环境

# zlib1g-dev:i386、python-networkx没有安装包所以没有安装
sudo apt-get install git ccache automake flex lzop bison \
gperf build-essential zip curl zlib1g-dev  \
g++-multilib  libxml2-utils bzip2 libbz2-dev \
libbz2-1.0 libghc-bzlib-dev squashfs-tools pngcrush \
schedtool dpkg-dev liblz4-tool make optipng maven libssl-dev \
pwgen libswitch-perl policycoreutils minicom libxml-sax-base-perl \
libxml-simple-perl bc libc6-dev-i386 lib32ncurses5-dev \
x11proto-core-dev libx11-dev lib32z-dev libgl1-mesa-dev xsltproc unzip
# 必须用python,将python链接到python3
sudo ln -s /usr/bin/python3 /usr/bin/python

下载编译工具

# git clone https://github.com/Angel0726/toolchains.git      可以使用里面的aarch64-linux-android-4.9
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 toolgcc
git clone  --recursive -c http.proxy="http://127.0.0.1:1082" https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86  toolclang
git clone https://android.googlesource.com/platform/prebuilts/build-tools;

编译环境

google-gcc google-clang build-tools 备注
k30_ultra R 95280 b800f 小米官方源码有问题。编译请使用 提取码mhhh
realme_6pro_7pro_8pro_X2 R 95280 b800f

如何编译andriod教程 honor8: https://github.com/Angel0726/android_kernel_hisi_hi3650

About

如何编译andriod教程

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published