build_script/prepare_source.sh

19 lines
593 B
Bash
Raw Normal View History

2022-06-13 06:58:57 +00:00
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
2022-06-13 07:31:03 +00:00
cd /android/device/phh/treble
2022-06-13 06:58:57 +00:00
bash generate.sh
wget https://github.com/phhusson/treble_experimentations/raw/master/0001-Fix-SearchLauncher-for-Android-12.1.patch
2022-06-13 07:31:03 +00:00
cd /android/vendor/partner_gms
2022-06-13 06:58:57 +00:00
git am /android/0001-Fix-SearchLauncher-for-Android-12.1.patch
cd /android