Compare commits

...

7 commits

Author SHA1 Message Date
Jaegeuk Kim
dc751f7cf0
sdm710-common: Support adoptable storage encryption
Change-Id: I8225ef0499192503deafa440644d7ee3c177079f
Signed-off-by: rezaadi0105 <rezaadipangestu5@gmail.com>
2023-12-16 20:09:35 +02:00
1d2090a0db
sdm710-common: Drop KProfiles
This reverts commit f8e389999a.
2023-12-12 23:29:33 +02:00
oshmoun
9748bc930e
sdm710-common: fstab: add encryptable flag for external sdcards
* Starting from Android P, it is possible to use FBE in combination with adoptable storage.

Change-Id: If12c183b20f1c8197f5282d45e94eea26637e3f1
2023-12-12 22:59:04 +02:00
srfarias
c9b06b8adc
sdm710-common: overlay: Make the UI smoother
Signed-off-by: Unicote <arvogl874@gmail.com>
Signed-off-by: Rizak Kamal <rizakkamal999@gmail.com>
Signed-off-by: fajar <santuyz321@gmail.com>
Signed-off-by: fajar3109 <santuyz321@gmail.com>
Signed-off-by: fajar <santuyz321@gmail.com>
Signed-off-by: RahulGorai0206 <rahulgorai0206@gmail.com>
Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
2023-12-12 22:58:56 +02:00
Saitama69k
1e40442f20
sdm710-common: overlay: Enable night light and extra dim 2023-12-12 22:58:20 +02:00
Amit Kushwaha
a91964fc66
sdm710-common: init.qcom.rc: Removing unused setprop persist.camera.gyro.disable
Addressing error :
 avc:  denied  { set } for property=persist.camera.gyro.disable pid=377 uid=0 gid=0
 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0
 tclass=property_service permissive=0\x0a

CRs-Fixed: 2662429

Change-Id: Ibd0ed4646d52d67248ea33940c4463ecdbdefc36
2023-12-12 22:57:43 +02:00
giasen
90aba5e01f
sdm710-common: Require files to be included 2023-12-12 22:57:29 +02:00
11 changed files with 20 additions and 30 deletions

View file

@ -156,4 +156,4 @@ WPA_SUPPLICANT_VERSION := VER_0_8_X
TARGET_SEC_FP_HAS_FINGERPRINT_GESTURES := true
# Inherit from the proprietary version
-include vendor/lenovo/sdm710-common/BoardConfigVendor.mk
include vendor/lenovo/sdm710-common/BoardConfigVendor.mk

View file

@ -499,4 +499,16 @@
<!-- Whether to show the Preference for Adaptive connectivity -->
<bool name="config_show_adaptive_connectivity">false</bool>
<!-- Enable Night display, which requires HWC 2.0. -->
<bool name="config_nightDisplayAvailable">true</bool>
<!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
in hardware. -->
<bool name="config_setColorTransformAccelerated">true</bool>
<!-- Enables or disables fading edges when marquee is enabled in TextView.
Off by default, since the framebuffer readback used to implement the
fading edges is prohibitively expensive on most GPUs. -->
<bool name="config_ui_enableFadingMarquee">true</bool>
</resources>

View file

@ -9,8 +9,8 @@
/dev/block/bootdevice/by-name/system / ext4 ro,barrier=1,discard,i_version wait,avb
/dev/block/bootdevice/by-name/userdata /data ext4 noatime,nosuid,noatime,nodev,barrier=1,noauto_da_alloc,discard,lazytime latemount,wait,check,fileencryption=ice,reservedsize=128M
/dev/block/bootdevice/by-name/cache /cache ext4 nosuid,noatime,nodev,barrier=1 wait
/devices/platform/soc/8804000.sdhci/mmc_host* /storage/sdcard1 vfat nosuid,nodev wait,voldmanaged=sdcard1:auto,encryptable=footer
/devices/platform/soc/1da4000.ufshc_card/host* /storage/sdcard1 vfat nosuid,nodev wait,voldmanaged=sdcard1:auto,encryptable=footer
/devices/platform/soc/8804000.sdhci/mmc_host* /storage/sdcard1 vfat nosuid,nodev wait,voldmanaged=sdcard1:auto,encryptable=userdata
/devices/platform/soc/1da4000.ufshc_card/host* /storage/sdcard1 vfat nosuid,nodev wait,voldmanaged=sdcard1:auto,encryptable=userdata
/dev/block/bootdevice/by-name/modem /vendor/firmware_mnt vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait
/dev/block/bootdevice/by-name/dsp /vendor/dsp ext4 ro,nosuid,nodev,barrier=1 wait
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 nosuid,noatime,nodev,barrier=1 wait

View file

@ -214,9 +214,6 @@ on boot
setprop ro.telephony.call_ring.multiple false
#enable camera read sensors data
setprop persist.camera.gyro.disable 0
#Remove SUID bit for iproute2 ip tool
chmod 0755 /system/bin/ip

View file

@ -96,12 +96,6 @@ on boot
write /dev/cpuset/background/cpus 0-7
write /dev/cpuset/system-background/cpus 0-7
# Allow system to manipulate KProfiles modes and parameters
chown system system /sys/module/kprofiles/parameters/auto_kprofiles
chmod 0660 /sys/module/kprofiles/parameters/auto_kprofiles
chown system system /sys/module/kprofiles/parameters/kp_mode
chmod 0660 /sys/module/kprofiles/parameters/kp_mode
####Regionalization config and prop files####
chmod 0644 /persist/speccfg/spec
chmod 0644 /persist/speccfg/devicetype

View file

@ -4,7 +4,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
# Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/lenovo/sdm710-common/sdm710-common-vendor.mk)
$(call inherit-product, vendor/lenovo/sdm710-common/sdm710-common-vendor.mk)
# Setup dalvik vm configs
$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk)
@ -270,10 +270,6 @@ PRODUCT_PACKAGES += \
vendor.lineage.livedisplay@2.0-service-sdm
endif
# KProfiles
PRODUCT_PACKAGES += \
KProfiles
# Media
PRODUCT_PACKAGES += \
libavservices_minijail \

View file

@ -10,6 +10,3 @@ type sysfs_msm_subsys, sysfs_type, fs_type;
type sysfs_rpm, sysfs_type, fs_type;
type sysfs_system_sleep_stats, sysfs_type, fs_type;
type sysfs_tp, fs_type, sysfs_type;
# KProfiles
type sysfs_kprofiles, sysfs_type, fs_type;

View file

@ -7,10 +7,6 @@ genfscon proc /sys/kernel/sched_boost u:object_r:proc_sysctl_sch
# DT2W
genfscon sysfs /devices/virtual/touch/tp_dev/gesture_on u:object_r:sysfs_tp:s0
# KProfiles
genfscon sysfs /module/kprofiles/parameters/auto_kprofiles u:object_r:sysfs_kprofiles:s0
genfscon sysfs /module/kprofiles/parameters/kp_mode u:object_r:sysfs_kprofiles:s0
# Graphics
genfscon sysfs /devices/platform/soc/soc:qcom,msm-ext-disp/extcon/extcon1/name u:object_r:sysfs_graphics:s0
genfscon sysfs /devices/platform/soc/soc:qcom,msm-ext-disp/extcon/extcon2/name u:object_r:sysfs_graphics:s0

View file

@ -1,6 +1,3 @@
allow init self:netlink_route_socket rw_socket_perms_no_ioctl;
allow init self:rawip_socket create_socket_perms_no_ioctl;
allow init socket_device:sock_file { unlink setattr create };
# Allow init to set attribute to sysfs_kprofiles
allow init sysfs_kprofiles:file { setattr };

View file

@ -1,4 +1 @@
# Allow KProfiles to be adjusted by a system app
allow system_app sysfs_kprofiles:file rw_file_perms;
allow system_app zygote:unix_stream_socket getopt;

View file

@ -180,3 +180,7 @@ vendor.usb.use_ffs_mtp=0
# Zygote
zygote.critical_window.minute=10
# Crypto
ro.crypto.volume.contents_mode=ice
ro.crypto.volume.filenames_mode=aes-256-cts