apex signing updates

untested

Signed-off-by: Tavi <tavi@divested.dev>
This commit is contained in:
Tavi 2024-04-09 13:25:54 -04:00
parent 835fbb7d2c
commit ea83b47d59
No known key found for this signature in database
GPG Key ID: E599F62ECBAEAF2E
3 changed files with 118 additions and 6 deletions

6
Misc/apex.py Normal file
View File

@ -0,0 +1,6 @@
import sys
apexes = open(sys.argv[1], "r");
for line in apexes:
print('--extra_apks ' + line.strip() + '.apex="$KEY_DIR/releasekey" \\');
print('--extra_apex_payload_key ' + line.strip() + '.apex="$KEY_DIR/avb.pem" \\');

58
Misc/apex.txt Normal file
View File

@ -0,0 +1,58 @@
com.android.adbd
com.android.adservices
com.android.adservices.api
com.android.apex.cts.shim
com.android.appsearch
com.android.art
com.android.art.debug
com.android.bluetooth
com.android.btservices
com.android.cellbroadcast
com.android.compos
com.android.configinfrastructure
com.android.connectivity.resources
com.android.conscrypt
com.android.devicelock
com.android.extservices
com.android.graphics.pdf
com.android.hardware.biometrics.face.virtual
com.android.hardware.biometrics.fingerprint.virtual
com.android.hardware.cas
com.android.hardware.wifi
com.android.healthfitness
com.android.hotspot2.osulogin
com.android.i18n
com.android.ipsec
com.android.media
com.android.mediaprovider
com.android.media.swcodec
com.android.nearby.halfsheet
com.android.networkstack.tethering
com.android.neuralnetworks
com.android.ondevicepersonalization
com.android.os.statsd
com.android.permission
com.android.resolv
com.android.rkpd
com.android.runtime
com.android.safetycenter.resources
com.android.scheduling
com.android.sdkext
com.android.support.apexer
com.android.telephony
com.android.telephonymodules
com.android.tethering
com.android.tzdata
com.android.uwb
com.android.uwb.resources
com.android.vibrator.drv2624
com.android.vibrator.sunfish
com.android.virt
com.android.vndk.current
com.android.vndk.current.on_vendor
com.android.wifi
com.android.wifi.dialog
com.android.wifi.resources
com.google.pixel.camera.hal
com.google.pixel.vibrator.hal
com.qorvo.uwb

View File

@ -247,6 +247,8 @@ processRelease() {
--extra_apex_payload_key com.android.adbd.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.adservices.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.adservices.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.adservices.api.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.adservices.api.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.apex.cts.shim.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.apex.cts.shim.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.appsearch.apex="$KEY_DIR/releasekey" \
@ -261,20 +263,44 @@ processRelease() {
--extra_apex_payload_key com.android.cellbroadcast.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.compos.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.compos.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.configinfrastructure.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.configinfrastructure.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.connectivity.resources.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.connectivity.resources.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.conscrypt.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.conscrypt.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.devicelock.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.devicelock.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.extservices.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.extservices.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.graphics.pdf.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.graphics.pdf.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.hardware.biometrics.face.virtual.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.hardware.biometrics.face.virtual.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.hardware.biometrics.fingerprint.virtual.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.hardware.biometrics.fingerprint.virtual.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.hardware.cas.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.hardware.cas.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.hardware.wifi.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.hardware.wifi.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.healthfitness.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.healthfitness.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.hotspot2.osulogin.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.hotspot2.osulogin.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.i18n.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.i18n.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.ipsec.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.ipsec.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.media.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.media.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.media.swcodec.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.media.swcodec.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.mediaprovider.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.mediaprovider.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.media.swcodec.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.media.swcodec.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.nearby.halfsheet.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.nearby.halfsheet.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.networkstack.tethering.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.networkstack.tethering.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.neuralnetworks.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.neuralnetworks.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.ondevicepersonalization.apex="$KEY_DIR/releasekey" \
@ -285,30 +311,52 @@ processRelease() {
--extra_apex_payload_key com.android.permission.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.resolv.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.resolv.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.rkpd.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.rkpd.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.runtime.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.runtime.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.safetycenter.resources.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.safetycenter.resources.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.scheduling.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.scheduling.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.sdkext.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.sdkext.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.support.apexer.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.support.apexer.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.telephony.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.telephony.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.telephonymodules.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.telephonymodules.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.tethering.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.tethering.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.tzdata.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.tzdata.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.uwb.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.uwb.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.uwb.resources.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.uwb.resources.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.vibrator.drv2624.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.vibrator.drv2624.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.vibrator.sunfish.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.vibrator.sunfish.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.virt.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.virt.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.vndk.current.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.vndk.current.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.vndk.current.on_vendor.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.vndk.current.on_vendor.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.wifi.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.wifi.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.wifi.dialog.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.wifi.dialog.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.wifi.resources.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.wifi.resources.apex="$KEY_DIR/avb.pem" \
--extra_apks com.google.pixel.camera.hal.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.google.pixel.camera.hal.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.vibrator.sunfish.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.vibrator.sunfish.apex="$KEY_DIR/avb.pem" \
--extra_apks com.android.vibrator.drv2624.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.android.vibrator.drv2624.apex="$KEY_DIR/avb.pem");
--extra_apks com.google.pixel.vibrator.hal.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.google.pixel.vibrator.hal.apex="$KEY_DIR/avb.pem" \
--extra_apks com.qorvo.uwb.apex="$KEY_DIR/releasekey" \
--extra_apex_payload_key com.qorvo.uwb.apex="$KEY_DIR/avb.pem");
fi;
#Malware Scan