The email immediately previously to this has information on flashing a binary android 10 system to this mediatek phone, focusing on Android 10. It turns out the Android 11 and Android 12 images also boot. Images beyond Android 10: d4b8ea9d3682bef57d176300ff3d0be7e7d4ab9d4b48e6680e2eadc94d667bb63ddc54112c853b48d14de22927a7dec87f0e3c53b762687df38c3181c52ffdbe v301-2022-07-19-system-roar-arm64-ab-vanilla.img size=1570042268 boots=true 1889bad614a8c47abcdde27b20ac969eb3c3a29499efe3189289f8bcc41f02ee27318b74547052da2f0a689815c66daf56cad28a7cf42aa03b3545b9315dd2c5 v310-2022-07-19-system-roar-arm64-ab-vanilla.img size=1574547868 boots=true d580538c7e67f049fbf198bb36c4c34169b6936f84ba05de19d79abf802ff067df02cdbd74eb29b151881de006065129ea1e65af560ae392ade2544c10520556 v313-2022-07-19-system-roar-arm64-ab-vanilla.img size=1577128348 boots=true 1941cdabb972b360600e1acd6edb6cca14897a5d50f22bd877d56e8347e6d1ca76946dc2ee94d6c0ec54940f5dd6625698a5ebefb787e944c6dace9bccb9ddd7 v401-2022-07-19-system-squeak-arm64-ab-vanilla.img size=1796673536 boots=true 0b036b42ff97ad59d7f410bdd8f8720beddec109d801ab388d259fa7ed927799b835e4ed3eb8f81f29eb617d464e4d02b48291f911c197b6ee7a615bab9ff8e5 v415-2022-07-19-system-squeak-arm64-ab-vanilla.img size=1814552576 boots=true LATEST RELEASE as of today boots: https://github.com/phhusson/treble_experimentations/releases/download/v415/s... Here is a draft for building from source. It does not work yet. Below is as far as I've gotten this morning. This was written during attempts to build Android 10. Since Android 12 boots, likely it is much simpler to build from the most recent, up-to-date sources, where old urls are fixed and there is active development. Total size: >110GB . # set up repo git config --global user.name 'John Doe' git config --global user.email john.doe@example.com apt-get install -y zip repo python-is-python3 python3-virtualenv # if system is old: wget https://storage.googleapis.com/git-repo-downloads/repo-1; chmod 755 repo-1; mv repo-1 /usr/local/bin/repo # clone git clone --branch v222 https://github.com/phhusson/treble_experimentations mkdir treble_experimentations/build cd treble_experimentations/build # build using build-dakkar.sh (builds r40 rather than r41) python3 -m virtualenv .venv curl https://raw.githubusercontent.com/xloem/treble_experimentations/titan/build-...
../build-dakkar.sh echo y | bash ../build-dakkar.sh -j $(grep -c ^processor /proc/cpuinfo) aosp10 arm64-ab-vanilla-su
device/sample/etc/apns-conf.xml mkdir -p device/generic/common/nfc curl "https://android.googlesource.com/device/generic/common/+/refs/tags/android-10.0.0_r40/nfc/libnfc-nci.conf?format=TEXT"|
Should get as far as this unaddressed error: error: vendor/foss/SeedvaultOverlay/Android.bp:1:1: unrecognized module type "runtime_resource_overlay" 14:23:47 soong bootstrap failed with: exit status 1 # build with build-rom.sh bash ../build-rom.sh android-10.0 lineage # compare build-dakkar sources to find right parameters here # build manually repo init -u https://android.googlesource.com/platform/manifest.git -b android-10.0.0_r40 git clone https://github.com/phhusson/treble_manifest .repo/local_manifests -b android-10.0 repo sync -c -j 32 -f --force-sync --no-tag --no-clone-bundle --optimized-fetch --prune rm -rf vendor/*/packages/overlays/NoCutout* # fix kernel source missing (on quack/Q) sed 's;.*KERNEL_;//&;' -i vendor/*/build/soong/Android.bp 2>/dev/null || true mkdir -p device/sample/etc curl "https://raw.githubusercontent.com/LineageOS/android_vendor_lineage/lineage-1..." base64 --decode > device/sample/etc/libnfc-nci.conf sed -i '/Copies the APN/,/include $(BUILD_PREBUILT)/{/include $(BUILD_PREBUILT)/ s/.*/ /; t; d}' vendor/*/prebuilt/common/Android.mk 2>/dev/null || true # patches pushd device/phh/treble git clean -fdx bash generate.sh popd repo manifest -r > output/manifest.xml bash ../list-patches.sh cp patches.zip output/patches.zip # build . build/envsetup.sh # b = ab partition layout; v = vanilla w/out apps ; S = su lunch treble_bvS-userdebug make installclean systemimage vndk-test-sepolicy cp "$OUT"/system.img output/system-arm64.img