Drop many more repositories

This commit is contained in:
Tad 2020-05-24 14:05:00 -04:00
parent 7af3c42325
commit 5106063cb5
9 changed files with 118 additions and 5 deletions

View File

@ -33,6 +33,7 @@
<remove-project name="LineageOS/android_packages_screensavers_Basic" /> <remove-project name="LineageOS/android_packages_screensavers_Basic" />
<remove-project name="LineageOS/android_packages_screensavers_PhotoTable" /> <remove-project name="LineageOS/android_packages_screensavers_PhotoTable" />
<remove-project name="LineageOS/android_packages_screensavers_WebView" /> <remove-project name="LineageOS/android_packages_screensavers_WebView" />
<!--<remove-project name="LineageOS/android_packages_services_Car" />-->
<remove-project name="LineageOS/android_packages_services_WeatherService" /> <remove-project name="LineageOS/android_packages_services_WeatherService" />
<remove-project name="LineageOS/android_prebuilts_gcc_darwin-x86_aarch64_aarch64-linux-android-4.9" /> <remove-project name="LineageOS/android_prebuilts_gcc_darwin-x86_aarch64_aarch64-linux-android-4.9" />
<remove-project name="LineageOS/android_prebuilts_gcc_darwin-x86_arm_arm-linux-androideabi-4.9" /> <remove-project name="LineageOS/android_prebuilts_gcc_darwin-x86_arm_arm-linux-androideabi-4.9" />
@ -49,6 +50,8 @@
<remove-project name="LineageOS/slackbot" /> <remove-project name="LineageOS/slackbot" />
<remove-project name="LineageOS/www" /> <remove-project name="LineageOS/www" />
<remove-project name="platform/cts" /> <remove-project name="platform/cts" />
<remove-project name="platform/external/replicaisland" />
<remove-project name="platform/packages/apps/RetailDemo" />
<remove-project name="platform/prebuilts/clang/darwin-x86/host/3.6" /> <remove-project name="platform/prebuilts/clang/darwin-x86/host/3.6" />
<remove-project name="platform/prebuilts/clang/host/darwin-x86" /> <remove-project name="platform/prebuilts/clang/host/darwin-x86" />
<remove-project name="platform/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8" /> <remove-project name="platform/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8" />
@ -57,6 +60,7 @@
<remove-project name="platform/prebuilts/go/darwin-x86" /> <remove-project name="platform/prebuilts/go/darwin-x86" />
<remove-project name="platform/prebuilts/ninja/darwin-x86" /> <remove-project name="platform/prebuilts/ninja/darwin-x86" />
<remove-project name="platform/prebuilts/python/darwin-x86/2.7.5" /> <remove-project name="platform/prebuilts/python/darwin-x86/2.7.5" />
<remove-project name="platform/prebuilts/qemu-kernel" />
<!-- END OF UNNECESSARY REPO REMOVAL --> <!-- END OF UNNECESSARY REPO REMOVAL -->
<!-- START OF ADDITIONAL REPOS --> <!-- START OF ADDITIONAL REPOS -->

View File

@ -2,6 +2,7 @@
<manifest> <manifest>
<!-- START OF UNNECESSARY REPO REMOVAL --> <!-- START OF UNNECESSARY REPO REMOVAL -->
<remove-project name="device/generic/car" />
<remove-project name="device/generic/goldfish" /> <remove-project name="device/generic/goldfish" />
<remove-project name="device/generic/goldfish-opengl" /> <remove-project name="device/generic/goldfish-opengl" />
<remove-project name="device/generic/mini-emulator-arm64" /> <remove-project name="device/generic/mini-emulator-arm64" />
@ -22,6 +23,8 @@
<remove-project name="LineageOS/android_external_rsync" /> <remove-project name="LineageOS/android_external_rsync" />
<remove-project name="LineageOS/android_external_unrar" /> <remove-project name="LineageOS/android_external_unrar" />
<remove-project name="LineageOS/android_external_vim" /> <remove-project name="LineageOS/android_external_vim" />
<remove-project name="LineageOS/android_hardware_qcom_neuralnetworks_hvxservice" />
<remove-project name="LineageOS/android_hardware_qcom_vr" />
<remove-project name="LineageOS/android_packages_apps_Jelly" /> <remove-project name="LineageOS/android_packages_apps_Jelly" />
<remove-project name="LineageOS/android_packages_apps_LockClock" /> <remove-project name="LineageOS/android_packages_apps_LockClock" />
<remove-project name="LineageOS/android_packages_apps_OpenWeatherMapProvider" /> <remove-project name="LineageOS/android_packages_apps_OpenWeatherMapProvider" />
@ -34,6 +37,7 @@
<remove-project name="LineageOS/android_packages_screensavers_PhotoTable" /> <remove-project name="LineageOS/android_packages_screensavers_PhotoTable" />
<remove-project name="LineageOS/android_packages_screensavers_WebView" /> <remove-project name="LineageOS/android_packages_screensavers_WebView" />
<remove-project name="LineageOS/android_system_extras_su" /> <remove-project name="LineageOS/android_system_extras_su" />
<remove-project name="LineageOS/android_vendor_qcom_opensource_rcs-service" />
<remove-project name="LineageOS/ansible" /> <remove-project name="LineageOS/ansible" />
<remove-project name="LineageOS/charter" /> <remove-project name="LineageOS/charter" />
<remove-project name="LineageOS/cm_crowdin" /> <remove-project name="LineageOS/cm_crowdin" />
@ -45,6 +49,22 @@
<remove-project name="LineageOS/scripts" /> <remove-project name="LineageOS/scripts" />
<remove-project name="LineageOS/slackbot" /> <remove-project name="LineageOS/slackbot" />
<remove-project name="LineageOS/www" /> <remove-project name="LineageOS/www" />
<remove-project name="platform/external/replicaisland" />
<remove-project name="platform/packages/apps/Car/Dialer" />
<remove-project name="platform/packages/apps/Car/Hvac" />
<remove-project name="platform/packages/apps/Car/LatinIME" />
<remove-project name="platform/packages/apps/Car/LensPicker" />
<!--<remove-project name="platform/packages/apps/Car/libs" />-->
<remove-project name="platform/packages/apps/Car/LocalMediaPlayer" />
<remove-project name="platform/packages/apps/Car/Media" />
<remove-project name="platform/packages/apps/Car/Messenger" />
<remove-project name="platform/packages/apps/Car/Overview" />
<remove-project name="platform/packages/apps/Car/Radio" />
<remove-project name="platform/packages/apps/Car/Settings" />
<remove-project name="platform/packages/apps/Car/Stream" />
<remove-project name="platform/packages/apps/Car/SystemUpdater" />
<remove-project name="platform/packages/apps/Car/UserManagement" />
<!--<remove-project name="platform/packages/services/Car" />-->
<remove-project name="platform/prebuilts/clang/host/darwin-x86" /> <remove-project name="platform/prebuilts/clang/host/darwin-x86" />
<remove-project name="platform/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9" /> <remove-project name="platform/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9" />
<remove-project name="platform/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8" /> <remove-project name="platform/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8" />
@ -54,6 +74,7 @@
<remove-project name="platform/prebuilts/gdb/darwin-x86" /> <remove-project name="platform/prebuilts/gdb/darwin-x86" />
<remove-project name="platform/prebuilts/go/darwin-x86" /> <remove-project name="platform/prebuilts/go/darwin-x86" />
<remove-project name="platform/prebuilts/python/darwin-x86/2.7.5" /> <remove-project name="platform/prebuilts/python/darwin-x86/2.7.5" />
<remove-project name="platform/prebuilts/qemu-kernel" />
<!-- END OF UNNECESSARY REPO REMOVAL --> <!-- END OF UNNECESSARY REPO REMOVAL -->
<!-- START OF BRANCH SWITCHING --> <!-- START OF BRANCH SWITCHING -->

View File

@ -2,6 +2,7 @@
<manifest> <manifest>
<!-- START OF UNNECESSARY REPO REMOVAL --> <!-- START OF UNNECESSARY REPO REMOVAL -->
<remove-project name="device/generic/car" />
<remove-project name="device/generic/goldfish-opengl" /> <remove-project name="device/generic/goldfish-opengl" />
<remove-project name="device/generic/mini-emulator-arm64" /> <remove-project name="device/generic/mini-emulator-arm64" />
<remove-project name="device/generic/mini-emulator-armv7-a-neon" /> <remove-project name="device/generic/mini-emulator-armv7-a-neon" />
@ -21,6 +22,8 @@
<remove-project name="LineageOS/android_external_rsync" /> <remove-project name="LineageOS/android_external_rsync" />
<remove-project name="LineageOS/android_external_unrar" /> <remove-project name="LineageOS/android_external_unrar" />
<remove-project name="LineageOS/android_external_vim" /> <remove-project name="LineageOS/android_external_vim" />
<remove-project name="LineageOS/android_hardware_qcom_sdm845_vr" />
<remove-project name="LineageOS/android_hardware_qcom_vr" />
<remove-project name="LineageOS/android_packages_apps_Jelly" /> <remove-project name="LineageOS/android_packages_apps_Jelly" />
<remove-project name="LineageOS/android_packages_apps_LockClock" /> <remove-project name="LineageOS/android_packages_apps_LockClock" />
<remove-project name="LineageOS/android_packages_apps_OpenWeatherMapProvider" /> <remove-project name="LineageOS/android_packages_apps_OpenWeatherMapProvider" />
@ -45,6 +48,29 @@
<remove-project name="LineageOS/scripts" /> <remove-project name="LineageOS/scripts" />
<remove-project name="LineageOS/slackbot" /> <remove-project name="LineageOS/slackbot" />
<remove-project name="LineageOS/www" /> <remove-project name="LineageOS/www" />
<remove-project name="platform/external/replicaisland" />
<remove-project name="platform/external/tcpdump" />
<remove-project name="platform/external/wayland" />
<remove-project name="platform/external/wayland-protocols" />
<!--<remove-project name="platform/frameworks/opt/car/services" />-->
<remove-project name="platform/frameworks/opt/car/setupwizard" />
<remove-project name="platform/hardware/qcom/neuralnetworks/hvxservice" />
<remove-project name="platform/hardware/qcom/sdm710/vr" />
<remove-project name="platform/packages/apps/Car/Dialer" />
<remove-project name="platform/packages/apps/Car/Hvac" />
<remove-project name="platform/packages/apps/Car/LatinIME" />
<remove-project name="platform/packages/apps/Car/Launcher" />
<remove-project name="platform/packages/apps/Car/LensPicker" />
<!--<remove-project name="platform/packages/apps/Car/libs" />-->
<remove-project name="platform/packages/apps/Car/LocalMediaPlayer" />
<remove-project name="platform/packages/apps/Car/Media" />
<remove-project name="platform/packages/apps/Car/Messenger" />
<remove-project name="platform/packages/apps/Car/Overview" />
<remove-project name="platform/packages/apps/Car/Radio" />
<remove-project name="platform/packages/apps/Car/Settings" />
<remove-project name="platform/packages/apps/Car/Stream" />
<remove-project name="platform/packages/apps/Car/SystemUpdater" />
<!--<remove-project name="platform/packages/services/Car" />-->
<remove-project name="platform/prebuilts/clang/host/darwin-x86" /> <remove-project name="platform/prebuilts/clang/host/darwin-x86" />
<remove-project name="platform/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9" /> <remove-project name="platform/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9" />
<remove-project name="platform/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9" /> <remove-project name="platform/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9" />
@ -53,6 +79,7 @@
<remove-project name="platform/prebuilts/gdb/darwin-x86" /> <remove-project name="platform/prebuilts/gdb/darwin-x86" />
<remove-project name="platform/prebuilts/go/darwin-x86" /> <remove-project name="platform/prebuilts/go/darwin-x86" />
<remove-project name="platform/prebuilts/python/darwin-x86/2.7.5" /> <remove-project name="platform/prebuilts/python/darwin-x86/2.7.5" />
<remove-project name="platform/prebuilts/qemu-kernel" />
<!-- END OF UNNECESSARY REPO REMOVAL --> <!-- END OF UNNECESSARY REPO REMOVAL -->
<!-- START OF BRANCH SWITCHING --> <!-- START OF BRANCH SWITCHING -->

View File

@ -2,6 +2,7 @@
<manifest> <manifest>
<!-- START OF UNNECESSARY REPO REMOVAL --> <!-- START OF UNNECESSARY REPO REMOVAL -->
<remove-project name="device/generic/car" />
<remove-project name="device/generic/goldfish-opengl" /> <remove-project name="device/generic/goldfish-opengl" />
<remove-project name="device/generic/mini-emulator-arm64" /> <remove-project name="device/generic/mini-emulator-arm64" />
<remove-project name="device/generic/mini-emulator-armv7-a-neon" /> <remove-project name="device/generic/mini-emulator-armv7-a-neon" />
@ -21,7 +22,9 @@
<remove-project name="LineageOS/android_external_rsync" /> <remove-project name="LineageOS/android_external_rsync" />
<remove-project name="LineageOS/android_external_unrar" /> <remove-project name="LineageOS/android_external_unrar" />
<remove-project name="LineageOS/android_external_vim" /> <remove-project name="LineageOS/android_external_vim" />
<remove-project name="LineageOS/android_hardware_qcom_vr" />
<remove-project name="LineageOS/android_packages_apps_Jelly" /> <remove-project name="LineageOS/android_packages_apps_Jelly" />
<remove-project name="LineageOS/android_packages_apps_ManagedProvisioning" />
<remove-project name="LineageOS/android_packages_apps_Stk" /> <remove-project name="LineageOS/android_packages_apps_Stk" />
<remove-project name="LineageOS/android_packages_apps_StorageManager" /> <remove-project name="LineageOS/android_packages_apps_StorageManager" />
<remove-project name="LineageOS/android_packages_apps_Terminal" /> <remove-project name="LineageOS/android_packages_apps_Terminal" />
@ -29,6 +32,8 @@
<remove-project name="LineageOS/android_packages_providers_PartnerBookmarksProvider" /> <remove-project name="LineageOS/android_packages_providers_PartnerBookmarksProvider" />
<remove-project name="LineageOS/android_packages_screensavers_Basic" /> <remove-project name="LineageOS/android_packages_screensavers_Basic" />
<remove-project name="LineageOS/android_packages_screensavers_PhotoTable" /> <remove-project name="LineageOS/android_packages_screensavers_PhotoTable" />
<remove-project name="LineageOS/android_prebuilts_gcc_darwin-x86_aarch64_aarch64-linux-android-4.9" />
<remove-project name="LineageOS/android_prebuilts_gcc_darwin-x86_arm_arm-linux-androideabi-4.9" />
<remove-project name="LineageOS/ansible" /> <remove-project name="LineageOS/ansible" />
<remove-project name="LineageOS/charter" /> <remove-project name="LineageOS/charter" />
<remove-project name="LineageOS/cm_crowdin" /> <remove-project name="LineageOS/cm_crowdin" />
@ -40,6 +45,46 @@
<remove-project name="LineageOS/scripts" /> <remove-project name="LineageOS/scripts" />
<remove-project name="LineageOS/slackbot" /> <remove-project name="LineageOS/slackbot" />
<remove-project name="LineageOS/www" /> <remove-project name="LineageOS/www" />
<remove-project name="platform/external/iperf3" />
<remove-project name="platform/external/replicaisland" />
<remove-project name="platform/external/tcpdump" />
<remove-project name="platform/external/virglrenderer" />
<remove-project name="platform/external/wayland" />
<remove-project name="platform/external/wayland-protocols" />
<remove-project name="platform/frameworks/opt/car/services" />
<remove-project name="platform/frameworks/opt/car/setupwizard" />
<remove-project name="platform/hardware/qcom/neuralnetworks/hvxservice" />
<remove-project name="platform/hardware/qcom/sdm845/vr" />
<remove-project name="platform/hardware/qcom/sm8150/vr" />
<remove-project name="platform/packages/apps/Car/Cluster" />
<remove-project name="platform/packages/apps/Car/Dialer" />
<remove-project name="platform/packages/apps/Car/externallibs" />
<remove-project name="platform/packages/apps/Car/Hvac" />
<remove-project name="platform/packages/apps/Car/LatinIME" />
<remove-project name="platform/packages/apps/Car/Launcher" />
<remove-project name="platform/packages/apps/Car/LensPicker" />
<remove-project name="platform/packages/apps/Car/libs" />
<remove-project name="platform/packages/apps/Car/LinkViewer" />
<remove-project name="platform/packages/apps/Car/LocalMediaPlayer" />
<remove-project name="platform/packages/apps/Car/Media" />
<remove-project name="platform/packages/apps/Car/Messenger" />
<remove-project name="platform/packages/apps/Car/Notification" />
<remove-project name="platform/packages/apps/Car/Overview" />
<remove-project name="platform/packages/apps/Car/Radio" />
<remove-project name="platform/packages/apps/Car/Settings" />
<remove-project name="platform/packages/apps/Car/Stream" />
<remove-project name="platform/packages/apps/Car/SystemUpdater" />
<remove-project name="platform/packages/apps/Car/tests" />
<remove-project name="platform/packages/apps/SampleLocationAttribution" />
<remove-project name="platform/packages/services/Car" />
<remove-project name="platform/prebuilts/clang/host/darwin-x86" />
<remove-project name="platform/prebuilts/fuchsia_sdk" />
<remove-project name="platform/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1" />
<remove-project name="platform/prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.9" />
<remove-project name="platform/prebuilts/gdb/darwin-x86" />
<remove-project name="platform/prebuilts/go/darwin-x86" />
<remove-project name="platform/prebuilts/python/darwin-x86/2.7.5" />
<remove-project name="platform/prebuilts/qemu-kernel" />
<!-- END OF UNNECESSARY REPO REMOVAL --> <!-- END OF UNNECESSARY REPO REMOVAL -->
<!-- START OF BRANCH SWITCHING --> <!-- START OF BRANCH SWITCHING -->

@ -1 +1 @@
Subproject commit 432c6defef0b024bd0069324098e4ea70fd1b31c Subproject commit b3ceb95272f684a3d5bb2bd7131c7c5738c602e7

View File

@ -99,7 +99,8 @@ changeDefaultDNS;
patch -p1 < "$DOS_PATCHES/android_frameworks_base/0008-Disable_Analytics.patch"; #Disable/reduce functionality of various ad/analytics libraries patch -p1 < "$DOS_PATCHES/android_frameworks_base/0008-Disable_Analytics.patch"; #Disable/reduce functionality of various ad/analytics libraries
patch -p1 < "$DOS_PATCHES_COMMON/android_frameworks_base/0001-Browser_No_Location.patch"; #don't grant location permission to system browsers (GrapheneOS) patch -p1 < "$DOS_PATCHES_COMMON/android_frameworks_base/0001-Browser_No_Location.patch"; #don't grant location permission to system browsers (GrapheneOS)
patch -p1 < "$DOS_PATCHES_COMMON/android_frameworks_base/0003-SUPL_No_IMSI.patch"; #don't send IMSI to SUPL (MSe) patch -p1 < "$DOS_PATCHES_COMMON/android_frameworks_base/0003-SUPL_No_IMSI.patch"; #don't send IMSI to SUPL (MSe)
rm -rf packages/PrintRecommendationService; #App that just creates popups to install proprietary print apps rm -rf packages/Osu; #Automatic Wi-Fi connection non-sense
rm -rf packages/PrintRecommendationService; #Creates popups to install proprietary print apps
if [ "$DOS_DEBLOBBER_REMOVE_IMS" = true ]; then if [ "$DOS_DEBLOBBER_REMOVE_IMS" = true ]; then
enterAndClear "frameworks/opt/net/ims"; enterAndClear "frameworks/opt/net/ims";

View File

@ -100,7 +100,9 @@ patch -p1 < "$DOS_PATCHES/android_frameworks_base/0006-Disable_Analytics.patch";
patch -p1 < "$DOS_PATCHES_COMMON/android_frameworks_base/0001-Browser_No_Location.patch"; #don't grant location permission to system browsers (GrapheneOS) patch -p1 < "$DOS_PATCHES_COMMON/android_frameworks_base/0001-Browser_No_Location.patch"; #don't grant location permission to system browsers (GrapheneOS)
patch -p1 < "$DOS_PATCHES_COMMON/android_frameworks_base/0003-SUPL_No_IMSI.patch"; #don't send IMSI to SUPL (MSe) patch -p1 < "$DOS_PATCHES_COMMON/android_frameworks_base/0003-SUPL_No_IMSI.patch"; #don't send IMSI to SUPL (MSe)
patch -p1 < "$DOS_PATCHES_COMMON/android_frameworks_base/0004-Fingerprint_Lockout.patch"; #enable fingerprint failed lockout after 5 attempts (GrapheneOS) patch -p1 < "$DOS_PATCHES_COMMON/android_frameworks_base/0004-Fingerprint_Lockout.patch"; #enable fingerprint failed lockout after 5 attempts (GrapheneOS)
rm -rf packages/PrintRecommendationService; #App that just creates popups to install proprietary print apps rm -rf packages/CompanionDeviceManager; #Used to support Android Wear (which hard depends on GMS)
rm -rf packages/Osu packages/Osu2; #Automatic Wi-Fi connection non-sense
rm -rf packages/PrintRecommendationService; #Creates popups to install proprietary print apps
if [ "$DOS_DEBLOBBER_REMOVE_IMS" = true ]; then if [ "$DOS_DEBLOBBER_REMOVE_IMS" = true ]; then
enterAndClear "frameworks/opt/net/ims"; enterAndClear "frameworks/opt/net/ims";

View File

@ -72,6 +72,9 @@ patch -p1 < "$DOS_PATCHES_COMMON/android_build/0001-OTA_Keys.patch"; #add correc
awk -i inplace '!/PRODUCT_EXTRA_RECOVERY_KEYS/' core/product.mk; awk -i inplace '!/PRODUCT_EXTRA_RECOVERY_KEYS/' core/product.mk;
sed -i '74i$(my_res_package): PRIVATE_AAPT_FLAGS += --auto-add-overlay' core/aapt2.mk; sed -i '74i$(my_res_package): PRIVATE_AAPT_FLAGS += --auto-add-overlay' core/aapt2.mk;
enterAndClear "cts";
rm -rf tests/tests/car; #Remove Car related packages
enterAndClear "device/qcom/sepolicy-legacy"; enterAndClear "device/qcom/sepolicy-legacy";
patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy-legacy/0001-Camera_Fix.patch"; #Fix camera on -user builds XXX: REMOVE THIS TRASH patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy-legacy/0001-Camera_Fix.patch"; #Fix camera on -user builds XXX: REMOVE THIS TRASH
echo "SELINUX_IGNORE_NEVERALLOWS := true" >> sepolicy.mk; #necessary for -user builds of legacy devices echo "SELINUX_IGNORE_NEVERALLOWS := true" >> sepolicy.mk; #necessary for -user builds of legacy devices
@ -104,7 +107,8 @@ if [ "$DOS_GRAPHENE_EXEC" = true ]; then patch -p1 < "$DOS_PATCHES/android_frame
patch -p1 < "$DOS_PATCHES_COMMON/android_frameworks_base/0003-SUPL_No_IMSI.patch"; #don't send IMSI to SUPL (MSe) patch -p1 < "$DOS_PATCHES_COMMON/android_frameworks_base/0003-SUPL_No_IMSI.patch"; #don't send IMSI to SUPL (MSe)
patch -p1 < "$DOS_PATCHES_COMMON/android_frameworks_base/0004-Fingerprint_Lockout.patch"; #enable fingerprint failed lockout after 5 attempts (GrapheneOS) patch -p1 < "$DOS_PATCHES_COMMON/android_frameworks_base/0004-Fingerprint_Lockout.patch"; #enable fingerprint failed lockout after 5 attempts (GrapheneOS)
sed -i '301i\ if(packageList.length() > 0) { packageList += ","; } packageList += "net.sourceforge.opencamera";' core/java/android/hardware/Camera.java; #add Open Camera to aux camera whitelist sed -i '301i\ if(packageList.length() > 0) { packageList += ","; } packageList += "net.sourceforge.opencamera";' core/java/android/hardware/Camera.java; #add Open Camera to aux camera whitelist
rm -rf packages/PrintRecommendationService; #App that just creates popups to install proprietary print apps rm -rf packages/CompanionDeviceManager; #Used to support Android Wear (which hard depends on GMS)
rm -rf packages/PrintRecommendationService; #Creates popups to install proprietary print apps
if [ "$DOS_DEBLOBBER_REMOVE_IMS" = true ]; then if [ "$DOS_DEBLOBBER_REMOVE_IMS" = true ]; then
enterAndClear "frameworks/opt/net/ims"; enterAndClear "frameworks/opt/net/ims";

View File

@ -66,6 +66,9 @@ patch -p1 < "$DOS_PATCHES_COMMON/android_build/0001-OTA_Keys.patch"; #add correc
awk -i inplace '!/PRODUCT_EXTRA_RECOVERY_KEYS/' core/product.mk; awk -i inplace '!/PRODUCT_EXTRA_RECOVERY_KEYS/' core/product.mk;
sed -i '75i$(my_res_package): PRIVATE_AAPT_FLAGS += --auto-add-overlay' core/aapt2.mk; sed -i '75i$(my_res_package): PRIVATE_AAPT_FLAGS += --auto-add-overlay' core/aapt2.mk;
enterAndClear "cts";
rm -rf tests/tests/car; #Remove Car related packages
enterAndClear "device/qcom/sepolicy-legacy"; enterAndClear "device/qcom/sepolicy-legacy";
patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy-legacy/0001-Camera_Fix.patch"; #Fix camera on -user builds XXX: REMOVE THIS TRASH patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy-legacy/0001-Camera_Fix.patch"; #Fix camera on -user builds XXX: REMOVE THIS TRASH
echo "SELINUX_IGNORE_NEVERALLOWS := true" >> sepolicy.mk; #necessary for -user builds of legacy devices echo "SELINUX_IGNORE_NEVERALLOWS := true" >> sepolicy.mk; #necessary for -user builds of legacy devices
@ -96,7 +99,10 @@ patch -p1 < "$DOS_PATCHES/android_frameworks_base/0009-SystemUI_No_Permission_Re
if [ "$DOS_GRAPHENE_EXEC" = true ]; then patch -p1 < "$DOS_PATCHES/android_frameworks_base/0010-Exec_Based_Spawning.patch"; fi; #add exec-based spawning support (GrapheneOS) if [ "$DOS_GRAPHENE_EXEC" = true ]; then patch -p1 < "$DOS_PATCHES/android_frameworks_base/0010-Exec_Based_Spawning.patch"; fi; #add exec-based spawning support (GrapheneOS)
patch -p1 < "$DOS_PATCHES/android_frameworks_base/0003-SUPL_No_IMSI.patch"; #don't send IMSI to SUPL (MSe) patch -p1 < "$DOS_PATCHES/android_frameworks_base/0003-SUPL_No_IMSI.patch"; #don't send IMSI to SUPL (MSe)
patch -p1 < "$DOS_PATCHES/android_frameworks_base/0004-Fingerprint_Lockout.patch"; #enable fingerprint failed lockout after 5 attempts (GrapheneOS) patch -p1 < "$DOS_PATCHES/android_frameworks_base/0004-Fingerprint_Lockout.patch"; #enable fingerprint failed lockout after 5 attempts (GrapheneOS)
rm -rf packages/PrintRecommendationService; #App that just creates popups to install proprietary print apps rm -rf packages/CarSystemUI; #Remove Car related packages
rm -rf packages/CompanionDeviceManager; #Used to support Android Wear (which hard depends on GMS)
rm -rf packages/OsuLogin; #Automatic Wi-Fi connection non-sense
rm -rf packages/PrintRecommendationService; #Creates popups to install proprietary print apps
if [ "$DOS_DEBLOBBER_REMOVE_IMS" = true ]; then if [ "$DOS_DEBLOBBER_REMOVE_IMS" = true ]; then
enterAndClear "frameworks/opt/net/ims"; enterAndClear "frameworks/opt/net/ims";
@ -153,6 +159,9 @@ patch -p1 < "$DOS_PATCHES_COMMON/android_packages_inputmethods_LatinIME/0001-Voi
#patch -p1 < "$DOS_PATCHES/android_packages_services_Telephony/0001-PREREQ_Handle_All_Modes.patch"; #XXX 17REBASE #patch -p1 < "$DOS_PATCHES/android_packages_services_Telephony/0001-PREREQ_Handle_All_Modes.patch"; #XXX 17REBASE
#patch -p1 < "$DOS_PATCHES/android_packages_services_Telephony/0002-More_Preferred_Network_Modes.patch"; #XXX 17REBASE #patch -p1 < "$DOS_PATCHES/android_packages_services_Telephony/0002-More_Preferred_Network_Modes.patch"; #XXX 17REBASE
enterAndClear "platform-testing";
rm -rf libraries/car-helpers; #Remove Car related packages
enterAndClear "system/extras" enterAndClear "system/extras"
patch -p1 < "$DOS_PATCHES/android_system_extras/0001-ext4_pad_filenames.patch"; #FBE: pad filenames more (GrapheneOS) patch -p1 < "$DOS_PATCHES/android_system_extras/0001-ext4_pad_filenames.patch"; #FBE: pad filenames more (GrapheneOS)