extra: Initial commit

lineage-17.1
Nolen Johnson 4 years ago
commit 5467abf41f
  1. 12
      BoardConfigExtra.mk
  2. 3
      adb_keys
  3. 31
      oem-cameras/MotCamera2-denali/Android.mk
  4. BIN
      oem-cameras/MotCamera2-denali/MotCamera2-denali.apk
  5. 5
      oem-cameras/MotCamera2-denali/MotCamera2-denali.mk
  6. 11
      oem-cameras/MotCamera2-denali/privapp-permissions-com.motorola.camera2.denali.xml
  7. 52
      product.mk
  8. 11
      remove-dialer/Android.mk
  9. 11
      remove-telephony/Android.mk
  10. 6
      sepolicy/fastbootd.te

@ -0,0 +1,12 @@
# Product
ifndef TARGET_COPY_OUT_PRODUCT
TARGET_COPY_OUT_PRODUCT := system/product
endif
# System_ext
ifndef TARGET_COPY_OUT_SYSTEM_EXT
TARGET_COPY_OUT_SYSTEM_EXT := system/system_ext
endif
## SELinux
BOARD_SEPOLICY_DIRS += vendor/extra/sepolicy

@ -0,0 +1,3 @@
QAAAABtLfTbt6OPLZT4fn/3A+qzkvtN9Rv0exmMUPkfTzwrectlxLZlY9fRzxvcKB4wojiVJGY8BhW8yH8n1AEBWGvnkQxPT5+RBYp/pcouYOcAd9bTRvzKI/rxLN3NvHuQAuqZpkpk2JPLsnOZL5BiNyidxukxObbRG2qSSo4xrthGvyKMQXPAAnwoPCn0WtWigJ8BsQ/1037PfjCJnvsin8guLQul/yHFLvC8LzsU/sfwVqRmn4MkVOhyimQ67gvn053gtVPx1kLEL2nvqPPjEXFfBHawAy28tDYSyaddcTOY3tbakXDIi2YKCM+tp0X0s0Kur0ygIwZaqk/EUI2LpbueP1CfUwTRexY1k38pv51UzhfAQihz8DWr+fNlUAQzufaZ3Sa3OpYF2Yhj0VPG8+DkP1gxVasLRp6SeFpHvRcHDPgxMSch0jwxQj/bZT7IzEGlPWSIlU3yV1+utqM41J5m96J/U4iPCIryD6vN+UbF92MAGDI+O+S7ghlW6BN8NGNMD0gEVlxUNpTCKNo/6YRgqC5X06rHjo3MrpUCdlDuzbiZB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6CLh5cHXikH965Vl3w/hVL1KvcolNxxqiLI1TKcyLpP7ioD+esxWU6DI440rzlHIkl/j4GDIpDQKhHxOX84kDHCklyjE/t9PKWQ7dJ6eSE0MHAqzbAXDVrzALva7qvg0TcTbcKzRbGudCsKxel4TgE5VxiYoAbHGIupZgEb6f1po13mBqkKeg5vy79jSgtpg2cY2zW1TgsrzwJLCymOYOP6S+3tqQbEYkp28ARo3wlTj/GXbT4cnfl1mleegFVClVj3xyZBdITgxnNIi2dj1lvpGgPdX+gapnkrBfujtowqYGfAkrd3hxXW6fr6BTH9QnJkw+a2cyBp+8qYxZW3GWBhYPlHfRuZlC2wENqHOZCgUnRZxZfVYSPk7MHIO4EYQL6u/cLxK4llCgvpIQQUIMo3YIkd3C+IgQ0Go9eRA1yBl1Y2xNtK5dC8bYPhR3upYmv+l3iaq8KWaDSDeb1ACgPtMm7l8tgTbO0LFxLcQEAAQA= nolenjohnson@ODS-PRO

@ -0,0 +1,31 @@
# Copyright (C) 2017-2018 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file is generated by device/motorola/nash/setup-makefiles.sh
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := MotCamera2-denali
LOCAL_MODULE_OWNER := motorola
LOCAL_SRC_FILES := MotCamera2-denali.apk
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_DEX_PREOPT := false
LOCAL_MODULE_SUFFIX := .apk
LOCAL_PRIVILEGED_MODULE := true
LOCAL_REPLACE_PREBUILT_APK_INSTALLED := $(LOCAL_PATH)/$(LOCAL_SRC_FILES)
LOCAL_OVERRIDES_PACKAGES := Snap
include $(BUILD_PREBUILT)

@ -0,0 +1,5 @@
PRODUCT_PACKAGES += \
MotCamera2-denali
PRODUCT_COPY_FILES += \
vendor/extra/oem-cameras/MotCamera2-denali/privapp-permissions-com.motorola.camera2.denali.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-com.motorola.camera2.xml

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<permissions>
<privapp-permissions package="com.motorola.camera2">
<!-- System defined permissions -->
<permission name="android.permission.STOP_APP_SWITCHES" />
<permission name="android.permission.WRITE_SECURE_SETTINGS" />
<permission name="android.permission.WRITE_MEDIA_STORAGE" />
</privapp-permissions>
</permissions>

@ -0,0 +1,52 @@
## ADB Keys
# Android
PRODUCT_COPY_FILES += \
vendor/extra/adb_keys:root/adb_keys
# Recovery
PRODUCT_COPY_FILES += \
vendor/extra/adb_keys:recovery/root/adb_keys
## Bash
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
persist.sys.adb.shell=/system/xbin/bash
## Custom Cameras
# river
ifneq ($(filter %river,$(TARGET_PRODUCT)),)
-include vendor/extra/oem-cameras/MotCamera2-denali/MotCamera2-denali.mk
endif
## fastbootd
PRODUCT_PACKAGES += fastbootd
PRODUCT_SYSTEM_PROPERTY_OVERRIDES += ro.fastbootd.available=true
## Media
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ro.config.vc_call_vol_steps=7 \
ro.config.media_vol_steps=25
## Recovery
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += persist.sys.recovery_update=true
## Remove Dialer Apps
ifneq ($(filter %shieldtablet %yellowstone,$(TARGET_PRODUCT)),)
PRODUCT_PACKAGES += remove-dialer
endif
## Remove Telephony Apps
ifneq ($(filter %flo %flox %gts4lvwifi %foster %mdarcy %mdarcy_tab %foster_tab %icosa,$(TARGET_PRODUCT)),)
PRODUCT_PACKAGES += remove-telephony
endif
## Updater
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += lineage.updater.uri="https://updater-api.oddsolutions.us/api/v1/{device}/{type}/{incr}"
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += lineage.updater.allow_downgrading=true
## Signing
PRODUCT_DEFAULT_DEV_CERTIFICATE := vendor/certs/releasekey
ifeq ($(WITH_GMS),true)
ifneq ($(PRODUCT_IS_ATV),true)
-include vendor/google_pixel/product.mk
endif # PRODUCT_IS_ATV
endif # WITH_GMS

@ -0,0 +1,11 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := remove-dialer
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_OVERRIDES_PACKAGES := Dialer GoogleDialer
LOCAL_UNINSTALLABLE_MODULE := true
LOCAL_SRC_FILES := /dev/null
LOCAL_CERTIFICATE := PRESIGNED
include $(BUILD_PREBUILT)

@ -0,0 +1,11 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := remove-telephony
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_OVERRIDES_PACKAGES := CarrierServicesGoogle Dialer GoogleDialer Messages Messaging Telecom Telephony
LOCAL_UNINSTALLABLE_MODULE := true
LOCAL_SRC_FILES := /dev/null
LOCAL_CERTIFICATE := PRESIGNED
include $(BUILD_PREBUILT)

@ -0,0 +1,6 @@
recovery_only(`
userdebug_or_eng(`
permissive fastbootd;
')
')
Loading…
Cancel
Save