Commit graph

277 commits

Author SHA1 Message Date
Felix
ac571ee966
sdm660-common: Force restorecon for /mnt/vendor/persist
The restorecon_recursive directive in init is only applied if the
file_contexts file changed between builds, but not necessarily if any
file or folder inside /mnt/vendor/persist/ has changed.

The restorecon code checks whether an xattr named
"security.sehash" contains a string that matches the current
combined hashes of the SELinux context files and skips restoring labels
if there is a match, see
https://android.googlesource.com/platform/external/selinux/+/refs/tags/android-9.0.0_r35/libselinux/src/android/android_platform.c#1546

Force wiping that xattr so that restorecon always runs since it's not
very expensive (there are currently only about 50 files on /persist).

The restorecon is needed to fix issues such as wrong stock labels on
/mnt/vendor/persist/sensors/:
sensors_persist_file -> persist_sensors_file

Change-Id: Ic0cd848836ee550499d9236f56ed6e939e35f01e
2020-03-10 09:39:45 +01:00
Thierry Strudel
e713c18a84
sdm660-common: init: Adjust charger state CPUs
Bug: 74771887
Change-Id: Ifd5d2ac499866ce897cfa99a655da592248e7bbd
Signed-off-by: Thierry Strudel <tstrudel@google.com>
Signed-off-by: Zainudin Shamilov <renascape@beatwo.men>
2020-02-27 17:01:42 +01:00
Wei Wang
bb85a5d86c
sdm660-common: init: powersave in charger mode
Bug: 72445880
Test: boot to charger
Change-Id: I154304deabf219a0428d68d0c59cb64c143b7de6
2020-02-27 17:01:42 +01:00
Anant Goel
5eeebf4209
init.qcom.usb.sh: Set ADB as default composition for GVM targets
Set ADB as the default composition for GVM targets, as DIAG
over USB conflicts with the DIAG over IP used by the PVM.

Change-Id: I09389564db284b16ccb34243eaf34bb17860b30f
Signed-off-by: Anant Goel <anantg@codeaurora.org>
2020-02-27 17:01:41 +01:00
Sidipotu Ashok
eedaefc0f2
init: Define SYS_NICE caps for android.hardware.audio@2.0-service.
- Grant SYS_NICE capabilities to audio HAL processes as sound trigger
HAL threads need to run at real time priority as well as use the
CPU affinity, for far field voice.

CRs-Fixed: 2359951
Change-Id: Ie0da744978609c750e92aec2c6001ace1868ad31
2020-02-27 17:01:41 +01:00
Subhadra Jagadeesan
fac52b4226
init.qcom.post_boot: exclude CPUs 0-3 from isolation
- SnapdragonVoiceActivation feature for Far Field Voice version
affines its threads to 0-3 CPUs and so prevent them from isolation
for qcs605 target

Change-Id: I09ef5cc97ee245133315edc0821f3a2afc54e99b
2020-02-27 17:01:41 +01:00
Patrick Daly
20bc13de0e
post_boot: Ensure SLAB_STORE_USER is disabled for zram kmem_caches
ZRAM compression uses the linux slub allocator its internal data
structures. If these internal data structure consume a lot of memory,
ZRAM compression may increase memory usage, rather than decrease it
as expected. Decrease the chance of this occuring by ensuring the
SLAB_STORE_USER debug option is disabled.

Change-Id: I4684feda94b7bebacb6218b7f979c95771b0ee10
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2020-02-27 17:01:41 +01:00
Divyanand Rangu
a293622e25
post_boot: Update nodes of read_ahead_kb configs
check populated dm-* nodes and Update read_ahead_kb
values to them. This is needed because on targets
with verity disabled dm-0 to dm-6 are populated,
while on enabled targets dm-3 to dm-6 are populated.

Change-Id: Ia4e262d7487120695db53b562b5764598fd40a87
2020-02-27 17:01:40 +01:00
Venkata Rao Kakani
26f2e84b81
post_boot: change ddr freq from fixed to capped level.
Change-Id: I2e6b2112c54e019e72271bf34e22edb1a36488ea
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
2020-02-27 17:01:40 +01:00
zljing
b0de734ae5
post_boot: update zram setting avoid 32 bit overflow.
Change-Id: I790b5ef9fcf091e4af3ebaaac3341b8d4050c47e
2020-02-27 17:01:40 +01:00
Liron Daniel
75bef1e561
sdm660: ueventd.qcom.rc: Add permission to /dev/spu_hal_ssr
Needed for spu HAL service to register on spcom channel for ssr
notifications

Change-Id: I43f070bf9948d4330f9ae05f9d631f2681f75164
2020-02-27 17:01:37 +01:00
Amir Vajid
babc7f8aae
sdm660: post_boot: update memlat polling to 8 ms on kona
Update the polling_interval to 8 ms for all memlat
devices on kona.

Change-Id: Ia097e6e0a6aa3b761978e5df60c868a7f1d19401
2020-02-27 17:01:37 +01:00
Amir Samuelov
568313007c
sdm660: allow system to access UFS sysfs
Allow system to read/write UFS device attributes on sysfs.

Change-Id: I7ea0a8f289b29ebcff2b894237efbe90b76f1a80
2020-02-27 17:01:36 +01:00
Dyneteve
e970cc2df6
sdm660-common: Start the bootanimation on late-fs
Change-Id: I990ee05623b98a5faa5fea9085de27737ba2cb5b
2020-02-27 17:01:36 +01:00
Dyneteve
1a7c7d5840
sdm660-common: rootdir: Use auto for sdcard/usbotg
* Just so other file systems work

Change-Id: Ic7aa2b98ee4af1309b6155bdc5b77dc46f130503
2020-02-27 17:01:34 +01:00
Dyneteve
162633ad42
sdm660-common: rootdir: Import tunables/cpusets from coral
* Also start bootanim a little earlier

Change-Id: I1b43ead7d122a7042b8fd5e6b5fe41afa9e9fd1b
2020-02-27 17:01:34 +01:00
Wei Wang
0cc188a5c5
sdm660-common: Import SchedTune tuning from b4s4
Change-Id: Ia805b346b2b24fcc24f80af8dc4ffcba3f0c3fbc
2020-02-27 17:01:34 +01:00
Dyneteve
6917d046fa
sdm660-common: rootdir: Stop configuring read ahead from post_boot
Change-Id: I7ce2665c5cb78d8beb9e20cd296d32a520f6bbf4
2020-02-27 17:01:34 +01:00
Bharat Pawar
70b2ca98a0
sdm660_64: init: USB config update
Change-Id: I696c3622477c689bb31fb2d12183729ece59d54b
2020-02-10 14:22:01 +01:00
Aryan Gupta
5666e48876
sdm660: Switch to file based encryption for AB Targets
Ã*following stock

Change-Id: Ifcf9c07c4e00fa0b8362d4ae7505bb108e57cca6
2020-01-31 16:47:27 +01:00
Max Weffers
7e226bf4b8
sdm660: fstabAB: Use symlink only for persist partition 2020-01-31 16:28:35 +01:00
Rama Aparna Mallavarapu
ccfe87ba96
sdm660: post_boot: Update hi-speed freq for rev 2.1
Update kona rev 2.1 hi speed frequencies for dcvs.

Change-Id: I00ed9c7894600c20e7025f2c7ad2a197fb7d669d
2020-01-28 16:59:18 +01:00
Venkata Rao Kakani
1daf8c63a5
sdm660: post_boot: update frequencies based on sku feature id.
Change-Id: Iec2ceb2afc26498daeec45722f6bd76f13e66553
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
2020-01-28 16:59:18 +01:00
Libo Jin
b25e24b6a7
sdm660: Perf:increase touch boost duration
CRs-Fixed: 2586942
Change-Id: If984001dad652b82807553c08a6a54b6ce095e9a
2020-01-28 16:59:18 +01:00
Shailendra Gupta
ae0aeaa6f8
sdm660: common: Bring-Up changes for newer upgrade.
Change-Id: I027266c31b83dc7f45dc10dbfe2fc2a5856defba
2020-01-28 16:59:18 +01:00
Vijayakumar Badiger
c910661f7d
sdm660. update sku frequency for SA8155P
Change-Id: I9b36fc87fa9f04c810a6eadea0367a380c9cbf24
2020-01-28 16:59:18 +01:00
Lingutla Chandrasekhar
e14c92df55
sdm660: init.qcom.post_boot: Update scheduler settings for lito
Update scheduler settings for lito.

Change-Id: If7e2b9a3c6e0b930d6438b92ef3f3d10e9c4de5f
2020-01-28 16:59:18 +01:00
Raghavendra Kakarla
5626ca5359
sdm660: init.qcom.post_boot: enable LPMs for bengal
Enable low power modes and core_ctl for the bengal.

Change-Id: Ie6784fdacec66020c19fa67d1c3a095af9745f21
2020-01-28 16:59:17 +01:00
Max Weffers
12b0f38bd2
sdm660-common: Update Perf stack from Jasmine 10 Release
jasmine-user-10-QKQ1.190910.002-V11.0.4.0.QDIMIXM-release-keys


Change-Id: Ib646bbaf0678ec7597792afc63373c93e47be2e4
2020-01-14 18:18:15 +01:00
Max Weffers
42a78479fc
sdm660: ueventd: Update from from Mi A2 Android 10 release
jasmine-user-10-QKQ1.190910.002-V11.0.4.0.QDIMIXM-release-keys

Change-Id: I11280aa50fdbdd6451cc051d8d6d936f20ebccb3
2020-01-13 14:35:53 +01:00
Max Weffers
5d39827818
sdm660: parts: Rename hall prop to folio_daemon prop
*needed to prevent neverallow in user builds
2020-01-04 09:37:09 +01:00
ramandeep trehan
f7dd88877b
sdm660-common: Start qseecom daemon as early as possible for FBE
Qseecom needs to start at earlier stage for FBE to work properly.

* Wait for prop moved to device as we have still oreo qseecom devices with different prop name

Change-Id: Ie2408f652df291ad6a1b0dee1e4d559ff35c7c45
Signed-off-by: Ramandeep Trehan <rtrehan@codeaurora.org>
2020-01-02 11:46:29 +01:00
Author Nitesh Kataria
9f7368611b
post_boot : Syntax fix
Change-Id: I048fc014976ca16dfe94d1a972ecec7fca35e015
Signed-off-by: Nitesh Kataria <nkataria@codeaurora.org>
2019-12-16 18:31:38 +01:00
Rajashekar Adi
210e379088
Power: post boot: Enable conservative pl for atoll
Enable sched_conservative_pl for atoll

Change-Id: I8526c2703d50693041dca516fa0bd97d7b8a43f2
2019-12-16 18:31:25 +01:00
Sriharsha Allenki
36daa25b8b
init.qcom.usb.sh: Set USB default composition to 90DB
This change makes 90DB (interfaces: diag,dun,rmnet,dpl,qdss,adb)
as default usb composition on bengal.

Change-Id: If83a356219f802e8960c7d341296f3a7b3641e68
2019-12-16 18:30:01 +01:00
Viraja Kommaraju
c5b732e9a7
common: add KPI marker at start of ADSP
Add KPI marker to indicate the start of ADSP
mount.

Change-Id: Ifb2dfbb3717614bec542ab8545cdb0a6d8ae2b38
2019-12-16 18:29:21 +01:00
richagar
3ac15ebd13
Added bengal to init.qcom.post_boot.sh
Added bengal to post_boot to enable prop
vendor.post_boot.parsed

Change-Id: If1a2dcef4d7999a0b93574a24a212cd339cea76e
2019-12-16 18:29:06 +01:00
Vijayakumar Badiger
3882e725f8
add sdmshrike sku changes
Change-Id: I4b30e3600858eabc488ca13f80cff457d0e80b59
2019-12-16 18:25:11 +01:00
Maryia Maskaliova
8df20abf05
Modifying /sys/block nodes:
Setting dm-2 read_ahead_kb to 512 on boot completed

Change-Id: I7542a23e5f9197a5faa7ad20e4d18634780d13c9
2019-12-16 18:24:55 +01:00
Kishore Sri venkata Ganesh Bolisetty
484c827034
post_boot: update silver Fmin to 691M on kona
update silver Fmin to 691M on kona.

Change-Id: Ibbe72b27ddb03001235ed67c2a4ce9d2d53da4a0
2019-12-16 18:24:16 +01:00
Sanjeev Jakkilinki
6d9aa9ce2c
init.qcom.post_boot: initialize the tuning settings for bengal
perf/power tuning settings related sched and dcvs.

Change-Id: Ife99c2a6e5e6160851a11c44f053aae445665faf
2019-12-16 18:23:47 +01:00
Tharun Kumar Merugu
4cfd0a8294
init.qcom.post_boot.sh: Enable cdspl3 governor for atoll
CDSP subsytem uses rpmsg to send CPU L3 clock requests via cdspl3
governor. Use cdspl3 as the governor for CDSP L3 devfreq node for
serving CDSP L3 clock requests.

Change-Id: I49ad421811affa82458abd34d0a0851e1f1fc423
2019-12-16 18:22:45 +01:00
Author Nitesh Kataria
af748b5a6f
post_boot : Add cases for sdmshrike
Adding cases for sdmshrike to enable clocks
for APPS Power collapse.

Change-Id: I089556c1098d60022bdb3de1ec2024858f0d3b30
Signed-off-by: Nitesh Kataria <nkataria@codeaurora.org>
2019-12-16 18:22:12 +01:00
Gidon Studinski
dd63456a82
common: init: expose /dev/wigig_sensing device node to user space
/dev/wigig_sensing is the entry point to an SPI kernel driver which is a
part of a remote sensing solution using 60GHz HW.

Change-Id: I1b538e0c58ae784997407f91a7647c2188ee7d58
2019-12-16 18:21:06 +01:00
Ajay Agarwal
9c7d9c20bb
init.msm.usb.configfs.rc: Add support for USB PID 0x9020
0x9020 composition includes DIAG + ADB + DUN + NMEA. Add support
for the same.

Change-Id: I364d4e87b63d7e5dfb394db6e92e650764b7cc96
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2019-12-16 18:19:42 +01:00
Xiaojun Sang
42583ca43e
sdm660: add aud_pasthru_adsp access for audio
Change-Id: If4cb96e00ccfaff60b08c42d92370cb46fbb9a0e
2019-12-16 18:19:13 +01:00
Vijay Dandiga
b68ab8e7a9
post_boot: Set zRam disk size to 50% of RAM size.
Set zRam disk size to 50% of RAM size for non-Go devices.

Change-Id: Ifd015f7827db8ed9388833ec09627898e20fd209
2019-12-16 18:18:06 +01:00
Arne Coucheron
aeaffc4a19
sdm660-common: Change charger seclabel from healthd to charger
Change-Id: I86515de0f8ac1ae4d8d83dae7638592a619a3e7c
2019-12-14 23:20:16 +01:00
Stylogey
25dadea83b
sdm660-common: XiaomiParts: Start folio_daemon only if a prop is set 2019-12-13 16:57:53 +01:00
Michael Bestas
540804fce2
sdm660-common: Resolve vendor_init SELinux denials 2019-12-07 18:49:55 +01:00
Michael Bestas
9dc9da4d21
sdm660-common: Cleanup init.qcom.sh
* Remove unused SoCs from the script
* Remove qemu.hw.mainkeys to avoid SELinux denials
2019-12-07 18:49:55 +01:00
Arian
4729f1a854
sdm660-common: rootdir: Move ims service declarations to their own rc files
Change-Id: I1546d673c3d7e19bef8ada817fa6d32671541400
2019-12-02 17:22:37 +01:00
EnesSastim
14897802e8
sdm660-common: Update TimeService from LA.UM.8.2.r1-04300-sdm660.0
Signed-off-by: EnesSastim <sastimenes@gmail.com>
2019-11-14 17:12:03 +01:00
Max Weffers
f1d116fc9d
sdm660-common: Update init.class_main.sh from LA.UM.8.2.r1-04800-sdm660 2019-11-12 18:12:21 +01:00
Pavan Kumar M
843c0ae901
sdm660-common: FR 53051: Self Contained Module
Desc: Remove cnd, dpmQmiMgr daemon

Change-Id: I741a951bf71f72db009ddde94991aa876705b99a
2019-11-12 18:12:20 +01:00
Max Weffers
f9b74aaf49
sdm660: Remove now unneed setprop for boot parse
* now set in init.post.boot
2019-11-01 12:18:36 +01:00
Lior David
b3cc441dc5
sdm660: init.qcom.rc: remove interface line from hostapd_fst
The interface line in hostapd_fst is the same as the
default hostapd service and this can cause the lazy
HAL mechanism to start hostapd_fst instead of the
default hostapd, causing various errors.
This change only fixes the errors with default hostapd
operation. In order to fix FST feature with hostapd_fst,
additional changes are needed such as making it use
the default hostapd service and adding sepolicy rules
to support it.

Change-Id: I133336b1ae18fa823969f240b3e4376989fbf017
2019-11-01 12:18:36 +01:00
Li Li
ab75a7b947
sdm660: ueventd.qcom.rc: set permissions for /dev/sp_nvm device
/dev_sp_nvm is used by sp_iar_lib to store CMAC values for spu
 firmware and application

Change-Id: I2ac5f29b66448a526cdbc6a1ccefd5f80066c170
Signed-off-by: Li Li <liil1@codeaurora.org>
2019-11-01 12:18:36 +01:00
Max Weffers
98004138f5
sdm660: post_boot: checkout init.post.boot from LA.UM.8.2.r1-04800-sdm660.0
Change-Id: I8c6f512f20dd42c99cdb19597ced2013c11bd9bf
2019-11-01 12:18:13 +01:00
Subbaraman Narayanamurthy
47d26aa9b6
sdm660: init.qcom.rc: add CAP_SYS_BOOT for charger
Add CAP_SYS_BOOT capability for charger service so that it can
shutdown/reboot the system.

Change-Id: I17ccba74d5a3c38bd751c55bcf42fb3689d730a7
2019-11-01 11:52:54 +01:00
Muhammed Siju
f84faea716
sdm660: Init: Add system group for init.class_main.sh
/vendor/firmware_mnt/verinfo/ver_info.txt ownership
is now system,system. Hence need to add system group
for init.class_main.sh

Change-Id: I9c759c22aca7a8c5bc04908748f26916025c7b07
CRs-Fixed: 2534121
2019-11-01 11:51:58 +01:00
Shadab Naseem
91caad8a17
sdm660: init: qcom: Start IRQ balancer for bengal
Start the IRQ balancer for bengal, independent of the
platform ID.

Change-Id: Id7845daa03abf6b205244fa281bc4b1c54d20955
2019-11-01 11:51:00 +01:00
Biao Long
a8ba99ec61
sdm660: init.qcom.post_boot: initialize the tuning settings for NPU bwmon
Initialize the tuning parameters for NPU* BWMON monitoring the
traffic from NPU to DDR.

Change-Id: Ic0b0401cac87b25e37ef7fd44ae3dbe8508036d8
2019-11-01 11:48:12 +01:00
Sanjeev Jakkilinki
7757971994
sdm660: init.qcom.post_boot.sh: r2 related changes
updated frequency corner changes related to r2 for Lito.

Change-Id: I8ecc4ccb632399810e0997284eddec2c0aaa35d9
2019-11-01 11:44:10 +01:00
Rama Bondan Prakoso
153cfbd83f sdm660-common: Add support for lavender (Redmi Note 7/7S)
* add A-only SAR fstab
* hax manifest keymaster version

Signed-off-by: Rama Bondan Prakoso <ramanarubp@gmail.com>
2019-10-31 17:39:23 +00:00
1582130940
e36cce059a
sdm660: Set default wifi country code 2019-10-29 18:40:40 +01:00
Jeff Vander Stoep
c145e57b0f
sdm660: Move folio_daemon to system in sepolicy
Remove Treble violations.

Bug: 36867326
Bug: 62387246
Test: loaded on taimen, checked dmesg, and tested daemon with magnet
Change-Id: I4662b41206b94cae6ac9843b5dc7e1452003c63c
2019-10-19 20:50:52 +02:00
Andrew Lehmer
f08faed4c3
sdm660: Add support for folio cases
Bug: 35243564
Test: Used magnet to wake and lock device. Also tested during suspend.
Change-Id: I4b819e12cc23a3d7a8ce048e208c15eac4f8d6c5
2019-10-19 16:29:57 +02:00
dianlujitao
9cea8c75c9
sdm660-common: Set sys.post_boot.parsed on vendor.post_boot.parsed changed
Change-Id: Ibb924cd28408d9688e18d64b5b22ab10f1fc5227
2019-10-15 16:31:29 +02:00
Michael Bestas
0604dd4d45
sdm660-common: Set vendor.post_boot.parsed=1 for starting perf properly
* Allows perf to work properly on boot to restore selected power profile

Change-Id: Ib92f971f28ed875481170b056ac16aad05aadcfc
2019-10-15 16:24:33 +02:00
Jerry Zhang
90c8d2c729
sdm660-common: Remove configfs triggers from recovery rc
Configfs triggers will now be in the core
init.recovery.rc, similar to main system
files.

Test: Usb works in recovery
Bug: 78793464
Change-Id: I26a403425edce1d4947daf2510e28beb026ba5f6
2019-10-15 15:23:54 +02:00
Michael Bestas
bb4c22c198
sdm660-common: Add init.recovery.qcom.rc
* Copied from wahoo init.recovery.hardware.rc,
  fixes partition mounting and ADB in recovery

Change-Id: I8a0136dd08c0df0ffb08bec8f35bffd38f5d44bb
2019-10-15 15:23:47 +02:00
Bruno Martins
69c07a31dc
sdm660-common: Drop the creation of deprecated system_data folders
As per treble rules, this is no longer allowed from within
vendor init. At the same time these folders are long deprecated,
so drop them and get rid of the SELinux denials.

Change-Id: I47d25bcf92dcc16b7b112b7b1257cd3e66fee57b
2019-10-15 10:24:03 +02:00
Prateek Sood
6e7ebda7ad
sdm660: irqbalancer: msm_irqbalancer not starting
msm_irqbalancer was not starting for many targets. Call to start
irqbalancer was not getting initiated. Fix this by making a
call to start msm_irqbalancer.

Change-Id: I4fbdef032100c91dba7bdb48a3562c5f9ab38e4d
2019-10-04 18:53:18 +02:00
Raghavendra Kakarla
e23b67fe13
sdm660: init.qcom.post_boot: Enable the LPMs for atoll.
Enable the LPMs for atoll.

Change-Id: I4f1356dca9f00298e0a2e809c27efab3763ccb3e
2019-10-04 18:53:18 +02:00
Madhanraj Chelladurai
dcf98c87e2
sdm660: Add locSll library and add permissions to device node
Change-Id: Idacac778610699af0f01d65096092328bbe8ac1d
CRs-Fixed: 2413585
2019-10-04 18:53:18 +02:00
Vijayakumar Badiger
0fb9a6b06a
sdm660: gvm bringup changes
Add lcd density hab node permission

Change-Id: If9bfcbf21b0b3933cd2d0f567384de0c4685d044
2019-10-04 18:53:18 +02:00
Amandeep Virk
c2ba47c816
sdm660: qcom: devices: Add iuicc0 and iuicc1 devices
Add iuicc0 and iuicc1 devices that can be opened
by spdaemon to create iuicc0 and iuicc1 channels
respectively and interact with iuicc0 and iuicc1
applications respectively on the Secure Processor.

Change-Id: I2554616073553065416756e23c3e27f2f9c90021
2019-10-04 18:53:18 +02:00
Sumit Agrawal
07ea656524
sdm660: init.qcom.post_boot: Add soc_id for QCM2150
Change-Id: I6850648f3537819f8362508923cb788671c97396
2019-10-04 18:53:18 +02:00
Santosh Mardi
f5e6b6d545
sdm660: init.qcom.post_boot: split npu dcvs nodes configuration
Split NPU dcvs nodes to monitor traffic between NPU to LLC and
LLCC to DDR.

Change-Id: Iab0669855ad20b6f1e57d63d51e1521613a5619e
2019-10-04 18:53:18 +02:00
Bhargav Upperla
5466b0245c
sdm660: Increase ZRAM swap size.
On high RAM targets, due to more anonymous memory availability,
we can improve headroom by increasing ZRAM swap size,
especially under memory pressure, and during background app compact.

Also ZRAM swap size is logical and is used when needed and
shouldn't cause other side effects.

Change-Id: I11949b8bdf16e9b4b8abb1bd633ffa1a1c0b1ad6
2019-10-04 18:53:18 +02:00
Manoj Basapathi
37c1eeaf40
sdm660: init: qcom : remove unused /data access.
-IMS service is no longer using /data/shared path.
-remove unused /data/shared path access.

CRs-Fixed: 2526160
Change-Id: I072d0b922a48880d45f7c85ac3569b2cec3d7250
2019-10-04 18:53:18 +02:00
Amir Vajid
5e74a06d57
sdm660: post_boot: disable coloc sched busy hyst on lito
Disable the colocation aware sched busy hysteresis
feature for now on lito.

Change-Id: I40e75fedcaa3d317cc651c5059cabbbc032fbe2b
2019-10-04 18:53:17 +02:00
Jun-Hyung Kwon
1bde0c0aec
sdm660: init.qcom.rc: add wakelock and BLOCK_SUSPEND to vendor.sensors
add wakelock group and BLOCK_SuSPEND capabilities to vendor.sensors
to acess wake-lock sysfs nodes

Change-Id: I193836d097f15f5bfbe1645909ae70f3f870f972
2019-10-04 18:53:17 +02:00
Max Weffers
b249dc1710
sdm660-common: rootdir: Add back missing Services
* removed in last caf merge without think about it
2019-10-04 18:52:13 +02:00
Wei Wang
04d14b6518
sdm660-common: rootdir: remove interaction lock when idle
Allows earlier interaction lock release by polling on display updates to
stop happening (becomes idle) for a programmable amount of time.

Bug: 62110101
Test: Ran UiBench, didn't see regressions
susbset of tests - avg-jank:
testInflatingListViewFling: 0.09
testTrivialListViewFling:   0.15

Change-Id: I83c0fc75a3d7ca5bf76910ebbaeddb69343a7ee2
2019-10-04 18:52:13 +02:00
Wei Wang
cc04efcb21
sdm660-common: rootdir: remove CPUBW min freq setting
CPU BW is set to 200Mhz in QC MTP, since on Pixel, we also adjust CPU BW
in touch PowerHint, we can relax the setting to 100Mhz.

Bug: 69271302
Test: boot
Change-Id: Iead3634d9c6fb0b3edc24ab0a19d62157a6a1793
2019-10-04 18:52:01 +02:00
Tim Murray
ef77343066
sdm660-common: rootdir: disable mem_latency governor
Unclear if advantages are worth cumulative power draw.

bug 73364974
Test: boot taimen, memlat is powersave

Change-Id: I7b5eb176d0f22281e687b9577f5eedf311fb4a11
2019-10-04 18:51:58 +02:00
Demon Singur
908d4500b7
sdm660-common: Remove energy awareness daemon
All this does is to disable msm_core and set the
polling_interval to 0, which makes the driver useless.
We can achieve the same result by disabling the driver.

Change-Id: Ic19c505ed74811a3d1b76703255af3aa5cb37bf9
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
2019-10-04 18:51:57 +02:00
Subbaraman Narayanamurthy
8b0ce88c87
sdm660-common: Change seclabel for for charger
Make charger binary run as system instead of root. Since it
needs to handle input key events, add input as a supplemental
group in addition to system and graphics.

Change-Id: Id1dc46f335087147b7d8cf674664c26f0b511de1
2019-09-27 17:37:38 +02:00
guaiyihu
7694b15bde
sdm660-common: rootdir: Set MTP product name dynamically
Change-Id: I3af1f3ea3bd15a20e7623fcb5078e585619c1564
2019-09-27 17:13:45 +02:00
Erfan Abdi
ff0264f69d
sdm660-common: Update init from Q firmware for new Radio Stack 2019-09-27 17:13:45 +02:00
Artem Borisov
1f658096ee
sdm660-common: Make a legacy symlink for persist as well
Apparently, our bluetooth hal and TAS Soundriver wants it.

Change-Id: I673646a90f016c3d0e3f2244bed8e31cd0263f7e
2019-09-27 17:13:45 +02:00
Abhishek Srivastava
6415b88634
sdm660: wifi: Add move wifi data service
Add move_wifi_data service from /data/misc/wifi to
/data/vendor/wifi for OTA update.

Change-Id: I134fb663d1f358028eebb80106634d6eb0b87bc0
CRs-Fixed: 2270608
2019-09-27 17:13:45 +02:00
Max Weffers
6133ed7040
sdm660-common: Update init.rc and init.sh from LA.UM.8.2.r1-04000 2019-09-27 17:13:45 +02:00
Max Weffers
24d720206a
sdm660-common: Update ueventd from LA.UM.8.2.r1-04000-sdm660.0 2019-09-27 17:13:45 +02:00
Vinay Verma
4140eb5ed8
sdm660-common: Correct gid for /vendor/firmware_mnt due firmware class path change
In ueventd support has been added to read firmware path from
vendor.It wil parse /vendor/firmware_mnt/image information
and add in look up path/search path for loading firmware.
Change uid of /venodr/firmware_mnt back to system as kernel
firmware loading is removed. Previouly to support kernel firmware
loading root permissions were required.

Change-Id: I560ed75ee07626094acbc879b615190cf3a9faa3
2019-09-27 17:13:44 +02:00
Eric Chang
490ec94237
sdm660-common: Update rtp daemon user group
- Rtp Daemon user group updated from system to radio
- Updated diag permissions

Change-Id: Ie78a80e59782c935f5a7f0c37302dcc26fb9d98c
2019-09-27 17:13:44 +02:00
Brandon Solis
89a5d368d5
sdm660-common: Update user group for daemons
ImsDataDaemon, ImsQmiDaemon and ImsRcsService user groups updated from system to radio

Change-Id: I5368db8e29b41f583e7b258a6b56318725279412
2019-09-27 17:13:44 +02:00
Qimeng Pan
c6c623f7ed
sdm660-common: Remove old CarrierSwitch solution init.rc code for 660
CarrierSwitch use a new solution from P or later. the new solution
switch carrier by a standalone apk instead of modifing the init.rc
code in old solution.
So, Remove init.rc changes for old carrier switch solution.

Change-Id: I2da9861d71bc73df1b19066d2fad0dd3f4dedb3e
CRs-Fixed: 2377064
2019-09-27 17:13:44 +02:00