Fork from pix106's tree
5183d7fb36
Energy aware feature control is previously done through debugfs, which will be deprecated, so move the control to sysctl. Added permisson for it, and removed the one unused. [ 1.460128] audit: type=1400 audit(2753763.033:8): avc: denied { write } for pid=537 comm="init" name="energy_aware" dev="proc" ino=21663 scontext=u:r:vendor_init:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=0 10-05 16:49:18.933 820 820 W NodeLooperThrea: type=1400 audit(0.0:1097): avc: denied { write } for name="energy_aware" dev="proc" ino=66567 scontext=u:r:hal_power_default:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=0 10-05 17:00:15.726 822 822 W NodeLooperThrea: type=1400 audit(0.0:262): avc: denied { open } for path="/proc/sys/kernel/energy_aware" dev="proc" ino=51228 scontext=u:r:hal_power_default:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=0 Bug: 141333728 Test: function works as expected Change-Id: I2b4eda73bfa34824244e21d804b48eee49a71eae Signed-off-by: clarencelol <clarencekuiek@icloud.com> Signed-off-by: pix106 <sbordenave@gmail.com> |
||
---|---|---|
biometrics | ||
bluetooth | ||
configs | ||
data-ipa-cfg-mgr | ||
DeviceDoze | ||
DeviceSettings | ||
gps | ||
init | ||
ir | ||
libhidl | ||
libqti-perfd-client | ||
libshims | ||
light | ||
org.ifaa.android.manager | ||
overlay | ||
overlay-lineage | ||
power-libperfmgr | ||
powerstats | ||
properties | ||
rootdir | ||
rro_overlays/WifiOverlay | ||
seccomp | ||
sepolicy | ||
usb | ||
.clang-format | ||
Android.bp | ||
Android.mk | ||
BoardConfigCommon.mk | ||
compatibility_matrix.xml | ||
extract-files.sh | ||
framework_manifest.xml | ||
manifest.xml | ||
proprietary-files-ir.txt | ||
proprietary-files.txt | ||
README.md | ||
sdm660.mk | ||
setup-makefiles.sh | ||
update-sha1sums.py |
This repository contains device configuration for Xiaomi-SDM660 devices
Basic | Spec Sheet |
---|---|
CPU | Quad-core 1.84 GHz Qualcomm Kryo 260 LP |
CPU | Quad-core 2.20 GHz Qualcomm Kryo 260 HP |
Chipset | Qualcomm Snapdragon 660, SDM660 |
GPU | Adreno 512 |
ROM | 32/64/128GB |
RAM | 3/4/6GB |
Android | 8.1.0 |
Notes:
- Depends on: android_packages_resources_devicesettings from LineageOS
- Depends on: LA.QSSI.11.0.r1-09100-qssi.0 tag for vendor_codeaurora_telephony
- Depends on: LA.UM.9.6.2.r1-03600-89xx.0 tag for GPS and WFD
Currently Supported Devices:
- clover (MI PAD 4 /4 Plus)
- jason (Redmi Note 3)
- jasmine_sprout (MI A2)
- lavender (Redmi Note 7)
- platina (Mi 8 Lite)
- tulip (Redmi Note 6 Pro)
- wayne (MI 6X)
- whyred (Redmi Note 5)
Copyright
#
# Copyright (C) 2018 The LineageOS Project
# Copyright (C) 2018-2021 Xiaomi-SDM660 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.
#