Divested-Mobile / DivestOS-Build

Everything needed to build DivestOS, a more private and more secure aftermarket mobile operating system.
https://divestos.org/index.php?page=build
Other
226 stars 31 forks source link

Remove more proprietary blobs #254

Open topminipie opened 1 year ago

topminipie commented 1 year ago

I apparently found several proprietary blobs for the WiFI Display function. This is how they are signed in LineageOS trees: https://github.com/LineageOS/android_device_oneplus_sm8550-common/blob/lineage-20/proprietary-files.txt#L2801 https://github.com/LineageOS/android_device_oneplus_sm8350-common/blob/lineage-20/proprietary-files.txt#L1288 https://github.com/LineageOS/android_device_motorola_sm7250-common/blob/lineage-20/proprietary-files.txt#L984 https://github.com/LineageOS/android_device_motorola_sm6225-common/blob/lineage-20/proprietary-files.txt#L881 https://github.com/LineageOS/android_device_oneplus_sm8250-common/blob/lineage-20/proprietary-files.txt#L2308 https://github.com/LineageOS/android_device_motorola_sm8250-common/blob/lineage-20/proprietary-files.txt#L1007 https://github.com/LineageOS/android_device_xiaomi_sm8250-common/blob/lineage-20/proprietary-files.txt#L792

These blobs are unlikely to work on devices or anything depends on them, but why not remove them too?

(blobs)

wfdservice64 wfdservice.rc vendor/etc/vintf/manifest/vendor.qti.hardware.wifidisplaysession-service.xml libFileMux_proprietary.so libmmrtpdecoder_vendor.so libmmrtpencoder_vendor.so vendor.qti.hardware.wifidisplaysessionl@1.0-halimpl.so libmmparser_lite.so libmm-hdcpmgr.so libmmosal.so libmmrtpdecoder_proprietary.so libmmrtpencoder_proprietary.so libDxHdcp.so libhdcp1prov.so libhdcp2p2prov.so libhdcpsrm.so wfd-system-ext-privapp-permissions-qti.xml ArmHDCP_QTI_Android.cfg

(sepolicy)

wfdservice64.policy wfdhdcphalservice.policy wfdvndservice.policy wifidisplayhalservice.policy

Sorry for the bad translation.

SkewedZeppelin commented 1 year ago

What makes you think these are present? Because they're all listed here: https://github.com/Divested-Mobile/DivestOS-Build/blob/master/Scripts/Common/Deblob.sh

topminipie commented 1 year ago

Sorry, I don't understand your question.

For example libFileMux_proprietary.so there is nothing similar in Deblob.sh

SkewedZeppelin commented 1 year ago

@topminipie extra supporting libraries that are only used by removed binaries will not execute themself

I'll try and remove them next update, but they are not running.