=== Making Car Build === See the diff file gta4xlwifi_lineage-20.diff.txt Sources for changes: - Car Build - https://www.reddit.com/r/LineageOS/comments/1bkmnun/error_in_building_android_automotive_os_for/ - Developer Settings Fix - https://review.lineageos.org/c/LineageOS/android_packages_modules_adb/+/380254 - https://github.com/LineageOS/android_device_lineage_sepolicy/commit/ac2362bf410ad8497a7767f56b5f0a3808c6d04d - Rotation Enabling - https://github.com/LineageOS/android_device_lineage_car/commit/d8ef5acd25a56158cba376131d96766b84564b76 === Extracting proprietary blobs === # Doesn't work for lineage-20-gta4xlwifi # unzip /PUBLIC/s/lineage-20.0-20240608-nightly-gta4xlwifi-signed.zip \ unzip /PUBLIC/s/lineage-19.1-20230517-nightly-gta4xlwifi-signed.zip \ system.transfer.list system.new.dat* \ vendor.transfer.list vendor.new.dat* \ odm.transfer.list odm.new.dat* \ product.transfer.list product.new.dat* \ system_ext.transfer.list system_ext.new.dat* brotli --decompress --output=system.new.dat system.new.dat.br brotli --decompress --output=vendor.new.dat vendor.new.dat.br brotli --decompress --output=odm.new.dat odm.new.dat.br brotli --decompress --output=product.new.dat product.new.dat.br brotli --decompress --output=system_ext.new.dat system_ext.new.dat.br git clone https://github.com/xpirt/sdat2img python sdat2img/sdat2img.py system.transfer.list system.new.dat system.img python sdat2img/sdat2img.py vendor.transfer.list vendor.new.dat vendor.img python sdat2img/sdat2img.py odm.transfer.list odm.new.dat odm.img python sdat2img/sdat2img.py product.transfer.list product.new.dat product.img python sdat2img/sdat2img.py system_ext.transfer.list system_ext.new.dat system_ext.img # May or may not be necessary umount system/vendor/ umount system/odm/ umount system/product/ umount system/system_ext/ umount system/ mkdir system mount system.img system/ mount vendor.img system/vendor/ mount odm.img system/odm/ mount product.img system/product/ mount system_ext.img system/system_ext/ cd /LINEAGE/device/samsung/gta4xlwifi/ ./extract-files.sh ~/system_dump === Some heimdall commands tried === heimdall flash \ --BOOT boot.img \ --CACHE cache.img \ --CM cm.bin \ --DTBO dtbo.img \ --KEYSTORAGE keystorage.bin \ --METADATA metadata.img \ --OMR omr.img \ --OPTICS optics.img \ --PRISM prism.img \ --RECOVERY recovery.img \ --BOOTLOADER sboot.bin \ --SUPER super.img \ --UH uh.bin \ --UP_PARAM up_param.bin \ --USERDATA userdata.img \ --VBMETA vbmeta.img \ --VBMETA_SAMSUNG vbmeta_samsung.img