initial commit
This commit is contained in:
commit
d2c2e8ea2a
9
build.sh
Executable file
9
build.sh
Executable file
@ -0,0 +1,9 @@
|
||||
cd /android
|
||||
lunch treble_arm64_bgN-userdebug
|
||||
|
||||
RELAX_USES_LIBRARY_CHECK=true
|
||||
BUILD_NUMBER=$rom_fp
|
||||
make installclean
|
||||
make -j 16 systemimage
|
||||
make vndk-test-sepolicy
|
||||
xz -c -T16 $OUT/system.img > /android/system-$rom_fp.img.xz
|
31
install_dependencies.sh
Executable file
31
install_dependencies.sh
Executable file
@ -0,0 +1,31 @@
|
||||
apt-get install -y \
|
||||
build-essential \
|
||||
imagemagick \
|
||||
xorriso \
|
||||
locales \
|
||||
openjdk-8-jdk \
|
||||
python \
|
||||
git \
|
||||
m4 \
|
||||
unzip \
|
||||
bison \
|
||||
zip \
|
||||
gperf \
|
||||
libxml2-utils \
|
||||
zlib1g:i386 \
|
||||
libstdc++6:i386 \
|
||||
bc \
|
||||
curl \
|
||||
lzop \
|
||||
lzip \
|
||||
lunzip \
|
||||
jq \
|
||||
wget \
|
||||
squashfs-tools \
|
||||
sudo ;
|
||||
ln -s /usr/bin/xorrisofs /usr/bin/mkisofs
|
||||
curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo
|
||||
chmod a+x /usr/local/bin/repo
|
||||
|
||||
git config --global user.name "Damillora"
|
||||
git config --global user.email "developer@damillora.com"
|
18
prepare_source.sh
Executable file
18
prepare_source.sh
Executable file
@ -0,0 +1,18 @@
|
||||
rom_fp="$(date +%y%m%d).sophie"
|
||||
|
||||
manifest_url="https://android.googlesource.com/platform/manifest"
|
||||
aosp="android-12.1.0_r8"
|
||||
phh="android-12.0"
|
||||
|
||||
mkdir /android
|
||||
cd /android
|
||||
repo init -u "$manifest_url" -b $aosp --depth=1
|
||||
git clone https://git.nanao.moe/android/treble_manifest .repo/local_manifests -b $phh
|
||||
repo sync -c -j 1
|
||||
|
||||
cd device/phh/treble
|
||||
bash generate.sh
|
||||
wget https://github.com/phhusson/treble_experimentations/raw/master/0001-Fix-SearchLauncher-for-Android-12.1.patch
|
||||
cd vendor/partner_gms
|
||||
git am /android/0001-Fix-SearchLauncher-for-Android-12.1.patch
|
||||
cd /android
|
Loading…
Reference in New Issue
Block a user