mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 12:35:33 -04:00
universal7885: Add prebuilt GCam
This commit is contained in:
parent
7329c87196
commit
d195a1d848
73 changed files with 20 additions and 39 deletions
|
|
@ -1,13 +0,0 @@
|
||||||
on property:sys.boot_completed=1
|
|
||||||
chmod 664 /sys/devices/platform/11500000.mali/tmu
|
|
||||||
chown system system /sys/devices/platform/11500000.mali/tmu
|
|
||||||
chmod 664 /sys/class/camera/flash/torch_brightness_lvl
|
|
||||||
chown system system /sys/class/camera/flash/torch_brightness_lvl
|
|
||||||
chmod 664 /sys/class/camera/flash/torch_brightness_lvl_enable
|
|
||||||
chown system system /sys/class/camera/flash/torch_brightness_lvl_enable
|
|
||||||
chmod 664 /sys/devices/platform/battery/power_supply/battery/batt_slate_mode
|
|
||||||
chown system system /sys/devices/platform/battery/power_supply/battery/batt_slate_mode
|
|
||||||
chmod 644 /sys/class/sec/switch/afc_disable
|
|
||||||
chown system system /sys/class/sec/switch/afc_disable
|
|
||||||
chmod 644 /sys/fs/selinux/enforce
|
|
||||||
chown system system /sys/fs/selinux/enforce
|
|
||||||
12
universal7885-common/apps/GCamGo/Android.bp
Normal file
12
universal7885-common/apps/GCamGo/Android.bp
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
android_app_import {
|
||||||
|
name: "GCamGo",
|
||||||
|
owner: "google",
|
||||||
|
apk: "GcamGo.apk",
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
privileged: true,
|
||||||
|
product_specific: true,
|
||||||
|
overrides: ["Camera2", "Snap"],
|
||||||
|
}
|
||||||
BIN
universal7885-common/apps/GCamGo/GcamGo.apk
Normal file
BIN
universal7885-common/apps/GCamGo/GcamGo.apk
Normal file
Binary file not shown.
|
|
@ -1 +0,0 @@
|
||||||
sensors.universal7884B.so
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
PRODUCT_GMS_CLIENTID_BASE := android-google
|
PRODUCT_GMS_CLIENTID_BASE := android-google
|
||||||
|
|
||||||
# Set BUILD_FINGERPRINT variable to be picked up by both system and vendor build.prop
|
# Set BUILD_FINGERPRINT variable to be picked up by both system and vendor build.prop
|
||||||
BUILD_FINGERPRINT := "google/redfin/redfin:12/SP1A.210812.015/7679548:user/release-keys"
|
BUILD_FINGERPRINT := "google/raven/raven:12/SD1A.210817.015.A4/7697517:user/release-keys"
|
||||||
|
|
||||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||||
PRIVATE_BUILD_DESC="redfin-user 12 SP1A.210812.015 7679548 release-keys"
|
PRIVATE_BUILD_DESC="raven-user 12 SD1A.210817.015.A4 7697517 release-keys"
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
LOCAL_PATH := $(call my-dir)
|
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := init.recovery.exynos7884B.rc
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := ETC
|
|
||||||
LOCAL_SRC_FILES := init.recovery.exynos7884B.rc
|
|
||||||
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
on init
|
|
||||||
setprop sys.usb.configfs 1
|
|
||||||
|
|
||||||
on fs
|
|
||||||
wait /dev/block/platform/13500000.dwmmc0
|
|
||||||
symlink /dev/block/platform/13500000.dwmmc0 /dev/block/bootdevice
|
|
||||||
|
|
||||||
symlink /dev/block/bootdevice/by-name/BOOT /dev/block/bootdevice/by-name/boot
|
|
||||||
symlink /dev/block/bootdevice/by-name/SYSTEM /dev/block/bootdevice/by-name/system
|
|
||||||
symlink /dev/block/bootdevice/by-name/VENDOR /dev/block/bootdevice/by-name/vendor
|
|
||||||
symlink /dev/block/bootdevice/by-name/CACHE /dev/block/bootdevice/by-name/cache
|
|
||||||
|
|
@ -90,6 +90,9 @@ PRODUCT_PACKAGES += \
|
||||||
android.hardware.graphics.mapper@2.0-impl \
|
android.hardware.graphics.mapper@2.0-impl \
|
||||||
libgui_vendor
|
libgui_vendor
|
||||||
|
|
||||||
|
# GcamGO
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
GCamGo
|
||||||
# Health
|
# Health
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.health@2.1-impl \
|
android.hardware.health@2.1-impl \
|
||||||
|
|
@ -226,9 +229,9 @@ PRODUCT_COPY_FILES += \
|
||||||
|
|
||||||
# Sensors
|
# Sensors
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.sensors@2.1-service.samsung-multihal \
|
android.hardware.sensors@1.0-impl.samsung \
|
||||||
libsensorndkbridge \
|
android.hardware.sensors@1.0-service \
|
||||||
$(LOCAL_PATH)/configs/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf
|
libsensorndkbridge
|
||||||
|
|
||||||
# Shims
|
# Shims
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue