mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-22 06:04:57 -05:00
09b38c1f04
- by disabling mtp over functionfs - affects both GrapheneOS and LineageOS - might need to be applied to other devices [pid 2482] ppoll([{fd=42, events=POLLIN}, {fd=51, events=POLLIN}], 2, {tv_sec=0, tv_nsec=0}, NULL, 0) = 0 (Timeout) lrwx------ 1 u0_a13 u0_a13 64 2019-09-05 18:47 42 -> /dev/usb-ffs/mtp/ep0 lrwx------ 1 u0_a13 u0_a13 64 2019-09-05 18:47 51 -> anon_inode:[eventfd] https://forum.xda-developers.com/android/help/pixel2-help-diagnose-android-process-t3863274 https://bugs.chromium.org/p/chromium/issues/detail?id=947901
28 lines
768 B
Makefile
28 lines
768 B
Makefile
PRODUCT_BRAND ?= DivestOS
|
|
#PRODUCT_VERSION_MAJOR = 1
|
|
#PRODUCT_VERSION_MINOR = 0
|
|
#PRODUCT_VERSION_MAINTENANCE := 0
|
|
|
|
#Overlays
|
|
LOCAL_AAPT_FLAGS += --auto-add-overlay
|
|
DEVICE_PACKAGE_OVERLAYS += vendor/divested/overlay/common
|
|
|
|
#Extra settings
|
|
PRODUCT_BUILD_PROP_OVERRIDES += \
|
|
BUILD_UTC_DATE=0
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
ro.config.notification_sound=Pong.ogg \
|
|
ro.config.alarm_alert=Alarm_Buzzer.ogg \
|
|
keyguard.no_require_sim=true \
|
|
ro.build.selinux=1
|
|
# ro.control_privapp_permissions=log
|
|
# ro.control_privapp_permissions=enforce
|
|
|
|
#Copy extra files
|
|
PRODUCT_COPY_FILES += \
|
|
vendor/divested/prebuilts/etc/additional_fdroid_repos.xml:system/etc/org.fdroid.fdroid/additional_repos.xml
|
|
|
|
#Include packages
|
|
include vendor/divested/packages.mk
|