build/core/Makefile和build/make/core/Makefile中:
# Display parameters shown under Settings -> About Phone
build_display_id := XX_XX_$(shell date +%Y%m%d%H%M) //这里修改
build/core/version_defaults.mk中
ifndef PLATFORM_SECURITY_PATCH
# Used to indicate the security patch that has been applied to the device.
# It must signify that the build includes all security patches issued up through the designated Android Public Security Bulletin.
# It must be of the form "YYYY-MM-DD" on production devices.
# It must match one of the Android Security Patch Level strings of the Public Security Bulletins.
# If there is no $PLATFORM_SECURITY_PATCH set, keep it empty.
PLATFORM_SECURITY_PATCH := 2019-03-05 //修改这里
endif
build/make/arget\product/core.mk中:
# devices (including non-phones and non-tablets), modify
# core_minimal.mk instead. If you care about wearables, you need to modify
# core_tiny.mk in addition to core_minimal.mk.
PRODUCT_PACKAGES += \
BasicDreams \
BlockedNumberProvider \
BookmarkProvider \
Browser2 \
BuiltInPrintService \
Calendar \
CalendarProvider \
CaptivePortalLogin \
CertInstaller \
Contacts \
DeskClock \
DocumentsUI \
DownloadProviderUi \
ExactCalculator \
ExternalStorageProvider \
FusedLocation \
InputDevices \
KeyChain \
Keyguard \
LatinIME \
Launcher3QuickStep \
ManagedProvisioning \
MtpDocumentsProvider \
PacProcessor \
libpac \
PrintSpooler \
PrintRecommendationService \
ProxyHandler \
SecureElement \
Settings \
SettingsIntelligence \
SharedStorageBackup \
StorageManager \
Telecom \
TeleService \
Traceur \
VpnDialogs \
vr \
MmsService
//可以去掉相对应的应用