mirror of
https://github.com/BobTheBlinker/android_device_motorola_milanf.git
synced 2026-10-05 19:31:58 -04:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd97fc2721 |
||
|
|
9904daf636 |
||
|
|
0a13330da3 |
||
|
|
7bb8416b92 |
7 changed files with 4 additions and 69 deletions
|
|
@ -4,4 +4,4 @@
|
|||
#
|
||||
|
||||
PRODUCT_MAKEFILES := \
|
||||
$(LOCAL_DIR)/derp_milanf.mk
|
||||
$(LOCAL_DIR)/lineage_milanf.mk
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ PRODUCT_PACKAGES += \
|
|||
android.hardware.light-service.lineage
|
||||
|
||||
# LiveDisplay
|
||||
$(call soong_config_set,livedisplay_sysfs,enable_ab,true)
|
||||
$(call soong_config_set_bool,livedisplay_sysfs,enable_ab,true)
|
||||
|
||||
# NFC
|
||||
PRODUCT_PACKAGES += \
|
||||
|
|
|
|||
|
|
@ -1,52 +1,8 @@
|
|||
on post-fs
|
||||
chown system system /sys/devices/platform/soc/4804000.ufshc/clkgate_enable
|
||||
chown system system /sys/devices/platform/soc/4804000.ufshc/devfreq/4804000.ufshc/min_freq
|
||||
|
||||
# Sensors
|
||||
chown system system /sys/devices/platform/soc/4a80000.spi/spi_master/spi0/spi0.0/touchscreen/primary/double_tap_enabled
|
||||
chown system system /sys/devices/platform/soc/4a80000.spi/spi_master/spi0/spi0.0/touchscreen/primary/double_tap_pressed
|
||||
|
||||
#fps dual sensor
|
||||
service chipone_ident /vendor/bin/hw/chipone_ident
|
||||
class late_start
|
||||
user system
|
||||
group system
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
service vendor.ident-fps-overlay-sh /vendor/bin/init.oem.fingerprint.overlay.sh
|
||||
class core
|
||||
user root
|
||||
group drmrpc system
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
on post-fs-data
|
||||
exec_start vendor.ident-fps-overlay-sh
|
||||
chown system system /dev/fpsensor
|
||||
chmod 0660 /dev/fpsensor
|
||||
chown system system /sys/devices/platform/soc/soc:fm_wcn39x0/elna_en
|
||||
|
||||
# touch api
|
||||
chown system system /sys/class/touchscreen/primary/interpolation
|
||||
chmod 0660 /sys/class/touchscreen/primary/interpolation
|
||||
chown system system /sys/class/touchscreen/primary/first_filter
|
||||
chmod 0660 /sys/class/touchscreen/primary/first_filter
|
||||
chown system system /sys/class/touchscreen/primary/edge
|
||||
chmod 0660 /sys/class/touchscreen/primary/edge
|
||||
# touch
|
||||
chown system system /sys/class/touchscreen/primary/gesture
|
||||
chmod 0660 /sys/class/touchscreen/primary/gesture
|
||||
|
||||
# change permission for stylus
|
||||
chown system system /sys/class/touchscreen/primary/palm_settings
|
||||
chmod 0444 /dev/moto_penraw
|
||||
|
||||
# Change ownership and permission for cp-standalone factory testing
|
||||
chown system system /sys/class/power_supply/cp-standalone/voltage_now
|
||||
chown system system /sys/bus/iio/devices/iio:device5/in_index_sc8549_cp_enable_input
|
||||
chmod 0644 /sys/class/power_supply/cp-standalone/voltage_now
|
||||
chmod 0664 /sys/bus/iio/devices/iio:device5/in_index_sc8549_cp_enable_input
|
||||
|
||||
on early-init
|
||||
insmod /vendor/lib/modules/leds_aw99703.ko
|
||||
insmod /vendor/lib/modules/mcDrvModule.ko
|
||||
|
|
@ -54,9 +10,6 @@ on early-init
|
|||
on init
|
||||
insmod /vendor/lib/modules/${ro.vendor.mot.gki.path}/nova_0flash_mmi.ko
|
||||
|
||||
on boot && property:ro.vendor.mot.gki.path=5.4-gki
|
||||
insmod /vendor/lib/modules/${ro.vendor.mot.gki.path}/nfc_i2c.ko
|
||||
|
||||
on late-init
|
||||
insmod /vendor/lib/modules/${ro.vendor.mot.gki.path}/mmi_charger.ko
|
||||
insmod /vendor/lib/modules/${ro.vendor.mot.gki.path}/mmi_discrete_charger_class.ko
|
||||
|
|
|
|||
|
|
@ -14,10 +14,7 @@ $(call inherit-product, device/motorola/milanf/device.mk)
|
|||
# Inherit some common Lineage stuff.
|
||||
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
||||
|
||||
# Maintainer Overlay
|
||||
PRODUCT_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
|
||||
|
||||
PRODUCT_NAME := derp_milanf
|
||||
PRODUCT_NAME := lineage_milanf
|
||||
PRODUCT_DEVICE := milanf
|
||||
PRODUCT_MANUFACTURER := motorola
|
||||
PRODUCT_BRAND := motorola
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- # "Version" -->
|
||||
<string name="derpfest_version">A-Team</string>
|
||||
<!-- DerpFest maintainer -->
|
||||
<string name="derpfest_summary">b@k3d by BOBtheBlinker</string>
|
||||
<string name="derpfest_maintainer">BOBtheBlinker</string>
|
||||
</resources>
|
||||
|
|
@ -74,7 +74,6 @@ vendor/lib64/libofflinedump.so
|
|||
vendor/lib64/libofflinelog.so
|
||||
vendor/lib64/libopencv.so
|
||||
vendor/lib64/libopestriping.so
|
||||
vendor/lib64/libpowercore.so
|
||||
vendor/lib64/libremosaic_wrapper.so
|
||||
vendor/lib64/libswregistrationalgo.so
|
||||
vendor/lib64/libtfestriping.so
|
||||
|
|
|
|||
|
|
@ -264,10 +264,4 @@
|
|||
rates are available from hardware composer. Only has an effect if the value is
|
||||
non-zero. -->
|
||||
<integer name="config_defaultPeakRefreshRate">120</integer>
|
||||
|
||||
<!-- Whether this device is supporting the software microphone toggle -->
|
||||
<bool name="config_supportsMicToggle">true</bool>
|
||||
|
||||
<!-- Whether this device is supporting the camera toggle -->
|
||||
<bool name="config_supportsCamToggle">true</bool>
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Reference in a new issue