Compare commits

..
Author SHA1 Message Date
Michael Bestas
dd97fc2721
milanf: Cleanup device specific init
Change-Id: I6e753997e9c296195fa9fbb7c8e3602cdeb9cdfd
2026-06-07 08:26:03 +03:00
Michael Bestas
9904daf636
Revert "rhodep: Enable mic/cam toggles"
This reverts commit 0e8c026ee6.

Reason for revert: Already set in vendor/lineage

Change-Id: I9f9ad45420ce3693c29dfede1305f1f2cd34f58d
2026-01-11 19:35:08 +02:00
Michael Bestas
0a13330da3
milanf: Remove unused libpowercore
Change-Id: I0cb33c36de3c2aec22b565e5791aa0b8ccfbbc93
2025-12-27 11:24:51 +02:00
Yumi Yukimura
7bb8416b92
milanf: Update some soong config variables to bool type
Change-Id: Ice4a8e2cc6d756a743116b46299cf833a0e78c57
2025-12-07 08:00:54 +02:00
7 changed files with 4 additions and 69 deletions

View file

@ -4,4 +4,4 @@
#
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/derp_milanf.mk
$(LOCAL_DIR)/lineage_milanf.mk

View file

@ -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 += \

View file

@ -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

View file

@ -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

View file

@ -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>

View file

@ -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

View file

@ -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>