因为是低端机器,2+4,存储空间小,所以需要尽量裁剪不需要的应用。
裁剪之前:
image.png
裁剪之后
image.png
裁剪内容
主要是修改build和device两个目录
diff --git a/target/product/core.mk b/target/product/core.mk index 7f850df..b1fcf11 100644 --- a/target/product/core.mk +++ b/target/product/core.mk @@ -21,11 +21,6 @@ PRODUCT_PACKAGES += \ ApplicationsProvider \ - BasicDreams \ - Browser \ - Contacts \ - DocumentsUI \ - DownloadProviderUi \ ExternalStorageProvider \ KeyChain \ PacProcessor \
diff --git a/target/product/core_base.mk b/target/product/core_base.mk index 4d5c17b..297143d 100644 --- a/target/product/core_base.mk +++ b/target/product/core_base.mk @@ -21,7 +21,6 @@ PRODUCT_PROPERTY_OVERRIDES := \ ro.config.alarm_alert=Alarm_Classic.ogg PRODUCT_PACKAGES += \ - ContactsProvider \ DefaultContainerService \ TelephonyProvider \ UserDictionaryProvider \
diff --git a/target/product/core_minimal.mk b/target/product/core_minimal.mk index 67626b1..a156539 100644 --- a/target/product/core_minimal.mk +++ b/target/product/core_minimal.mk @@ -25,8 +25,6 @@ PRODUCT_NAME := core PRODUCT_PACKAGES += \ ApplicationsProvider \ BackupRestoreConfirmation \ - DownloadProvider \ - HTMLViewer \ MediaProvider \ PackageInstaller \ SettingsProvider \
diff --git a/target/product/generic_no_telephony.mk b/target/product/generic_no_telephony.mk index 78369c3..16fb20f 100644 --- a/target/product/generic_no_telephony.mk +++ b/target/product/generic_no_telephony.mk @@ -20,32 +20,15 @@ PRODUCT_POLICY := android.policy_phone PRODUCT_PACKAGES := \ - DeskClock \ - Bluetooth \ - Calculator \ - Calendar \ - Camera2 \ CertInstaller \ - Email \ - Exchange2 \ - FusedLocation \ - Gallery2 \ InputDevices \ - Keyguard \ - LatinIME \ - Launcher3 \ - Music \ - MusicFX \ OneTimeInitializer \ PrintSpooler \ Provision \ - QuickSearchBox \ Settings \ SystemUI \ TeleService \ - CalendarProvider \ - bluetooth-health \ - WallpaperCropper + CalendarProvider
diff --git a/target/product/telephony.mk b/target/product/telephony.mk index f32b470..860ef4b 100644 --- a/target/product/telephony.mk +++ b/target/product/telephony.mk @@ -18,8 +18,6 @@ # to products that have telephony hardware. PRODUCT_PACKAGES := \ - Dialer \ - Mms \ CellBroadcastReceiver \ rild
diff --git a/common/DeviceCommon.mk b/common/DeviceCommon.mk index 3956ea2..6b7387c 100644 --- a/common/DeviceCommon.mk +++ b/common/DeviceCommon.mk @@ -302,9 +302,6 @@ PRODUCT_PACKAGES += connmgr PRODUCT_PACKAGES += \ AudioProfile -PRODUCT_PACKAGES += \ - FileExplorer - # Launcher PRODUCT_PACKAGES += \ ClassicHome @@ -391,7 +388,7 @@ PRODUCT_PACKAGES += \ #dataLogDaemon PRODUCT_PACKAGES += \ - dataLogDaemon +: dataLogDaemon # add sprd email PRODUCT_PACKAGES += \
diff --git a/common/common_packages.mk b/common/common_packages.mk index 3a83023..5fc0b08 100644 --- a/common/common_packages.mk +++ b/common/common_packages.mk @@ -1,15 +1,9 @@ # The default product packages these packages will set to trunk/prime products without feature configs PRODUCT_PACKAGES += \ - FMPlayer \ - FileExplorer \ - NoteBook \ EngineerMode \ EngineerInternal \ ValidationTools \ - DrmProvider \ CellBroadcastReceiver \ - SprdQuickSearchBox \ - Carddav-Sync \ SystemUpdate \ Caldav-Sync.apk
diff --git a/sp9820e_2h10_ft02/sp9820e_2h10_ft02_native.mk b/sp9820e_2h10_ft02/sp9820e_2h10_ft02_native.mk index f4f910c..c288103 100644 --- a/sp9820e_2h10_ft02/sp9820e_2h10_ft02_native.mk +++ b/sp9820e_2h10_ft02/sp9820e_2h10_ft02_native.mk @@ -17,7 +17,7 @@ #$(call inherit-product, device/sprd/sharkle/sp9820e_2h10/sp9820e_2h10_base.mk) include device/sprd/sharkle/sp9820e_2h10_ft02/sp9820e_2h10_base.mk -PRODUCT_REVISION += nikie/cn-lang +#PRODUCT_REVISION += nikie/cn-lang PLATDIR := device/sprd/sharkle TARGET_HOOK_FLAG :=true