CK7n FULL RESTORE ZIP This archive contains: - android_device_tecno_CK7n.bundle - android_vendor_tecno_CK7n.bundle - android_hardware_mediatek_libaedv.bundle - all saved working source patches - patch apply script - local manifest - restore guide This includes vendor blobs. Keep it private. RESTORE LATER ON NEW VPS 1. Install repo/build tools. 2. Sync VoltageOS: mkdir -p ~/voltage cd ~/voltage repo init -u https://github.com/VoltageOS/manifest -b 16.2 --git-lfs repo sync -c --force-sync --no-clone-bundle --no-tags --optimized-fetch -j8 If rate limited: repo sync -c --force-sync --no-clone-bundle --no-tags --optimized-fetch -j4 3. Extract this restore ZIP: cd ~ unzip CK7n_FULL_RESTORE_*.zip mv CK7n_FULL_RESTORE_* CK7n_FULL_RESTORE 2>/dev/null || true 4. Restore CK7n trees: cd ~/voltage rm -rf device/tecno/CK7n rm -rf vendor/tecno/CK7n rm -rf hardware/mediatek/libaedv mkdir -p device/tecno vendor/tecno hardware/mediatek git clone ~/CK7n_FULL_RESTORE/bundles/android_device_tecno_CK7n.bundle device/tecno/CK7n git clone ~/CK7n_FULL_RESTORE/bundles/android_vendor_tecno_CK7n.bundle vendor/tecno/CK7n git clone ~/CK7n_FULL_RESTORE/bundles/android_hardware_mediatek_libaedv.bundle hardware/mediatek/libaedv 5. Apply working patches: cd ~/voltage bash device/tecno/CK7n/scripts/apply_ck7n_patches.sh 6. Gate check storage fix: grep -n "com.android.providers.media.module" system/sepolicy/private/seapp_contexts || echo "BAD storage fix missing" grep -n "mediaprovider_app" system/sepolicy/private/seapp_contexts | tail -10 7. Build: cd ~/voltage source build/envsetup.sh lunch voltage_CK7n-bp4a-userdebug TARGET_RELEASE=bp4a mka bacon -j64 Important: - Do not use otapackage - Do not use SELINUX_IGNORE_NEVERALLOWS=true - Use TARGET_RELEASE=bp4a - Use lunch voltage_CK7n-bp4a-userdebug or voltage_CK7n-bp4a-eng