Pasha
93aa72e64a
sdm710-common: rootdir: Remove ssgtzd
...
Could not start service 'ssgtzd' as part of class 'late_start': Cannot find '/vendor/bin/ssgtzd': No such file or directory
2023-06-17 17:03:35 +03:00
Pasha
7e605bed68
sdm710-common: rootdir: Remove qcom-c_core-sh
...
Could not start service 'qcom-c_core-sh' as part of class 'core': Cannot find '/vendor/bin/init.qcom.class_core.sh': No such file or directory
2023-06-17 17:03:35 +03:00
Dhina17
885697f5c9
sdm710-common: rootdir: Remove vendor.sensors
...
- Our device doesn't have sscrpcd, so remove it from init.qcom.rc
fixes:
init: Could not start service 'vendor.sensors' as part of class 'early_hal': Cannot find '/vendor/bin/sscrpcd': No such file or directory
Change-Id: I54e93aaa5e76c168d515d626fb7f4f5e88d30f9f
2023-06-17 17:03:35 +03:00
srfarias
c57a990c78
sdm710-common: rootdir: Hide Magisk Better
...
* Some banking apps read the file /proc/net/unix to
find out whether things like Magisk are installed/running.
To prevent that, chmod it 440.
This file isn't needed by any other process when boot is finished.
I've tested this and banking apps that did not work before
and recognized Magisk being installed now don't recognize
that and work just fine.
2023-06-17 17:03:33 +03:00
Chenyang Zhong
699b06ae9f
sdm710-common: override pixel thermal HAL service with HAL interfaces
...
Google removed the HAL interfaces in Pixel thermal HAL service after
QPR1 [1]. As a result, the pixel thermal HAL on Xiaomi sdm845 devices
cannot be started correct at boot. Override it in sdm845-common, and
restore the interface definitions.
[1] be6336211e
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2023-01-27 22:53:22 +01:00
Mohammed Mirza Mandayappurath Manzoor
e1b63048b3
sdm710-common: ueventd: Set permissions for KGSL sysfs node
...
Some KGSL sysfs nodes need to be access controlled. Set proper
permissions for the same.
Change-Id: Idc7e2447d02742074873901c6539f2c6d9d25862
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-11-12 15:25:50 +01:00
Alexander Koskovich
b2809fddd0
sdm710-common: Pick up USB configurations from QCOM
...
Change-Id: I83882d8992eb367211871130c163f4ca5689fcd4
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-05-22 18:53:21 +02:00
Rick Yiu
ae1bd89aa2
sdm710-common: rootdir: Remove some camera-daemon commands
...
Those commands have moved to init.rc.
Bug: 170507876
Bug: 171740453
Test: build pass
Change-Id: Ib7acc0fd83adca37e247cd9f3113c1f117e5196e
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-10-21 19:39:24 +02:00
Giammarco Senatore
ea5649d744
sdm710-common: Add missing init.msm.usb.configfs.rc from stock
...
- files are same on both jd2019 and kunlun2
2021-08-17 22:36:47 +02:00
Giammarco Senatore
09cd80eeb5
sdm710-common: Go enforcing
...
- major cleanup
- sepolicy from xiaomi-sdm845-common
- label both goodix and fpc
- allystar GPS uart port and ontim nodes
2021-08-11 22:41:19 +02:00
LuK1337
1aaa277c78
sdm710-common: Drop mkdir /data/{fota, hostapd}
...
* vendor_init isn't allowed to create files under system_data_file
context, leading to early init panic.
Change-Id: Ie344cc4ece2783bb7d372f64c2c23b4d5ea2cda0
2021-08-11 13:59:58 +02:00
Giammarco Senatore
f6f497c743
sdm710-common: Initial commonized tree
...
* minor cleanup in overlay and init rc
* drop dolby
2021-07-25 21:56:17 +02:00
Giammarco Senatore
f63ead3994
kunlun2: Remove unnened lenovo init scripts
...
and some cleanup
2021-07-17 18:14:46 +02:00
Giammarco Senatore
c119216557
kunlun2: Address some initial denials
...
- Nuke folder creation that breaks encryption
- Nuke permissivers and other creepy things
- Properly label light and fp HALs
- Address initial fingerprint denials
- Label camera zui prop
2021-07-17 18:11:00 +02:00
George Chang
c78d20bfcd
rootdir: Default enable uicc se
...
It should be true in new versions.
uicc_se_enabled is true by default, but persist property
may remain false after ota
Bug: 149075883
Test: enable uicc_se
Change-Id: I78f8d51cb9ffb92f4eb7dea232920c2b69ce359d
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:44:07 +02:00
Giammarco Senatore
647ce59262
fstab: switch to FBE
2021-07-16 17:54:59 +02:00
Marty E. Plummer
c32862f441
Set SSR9-10 restart_level in init.qcom.rc
...
Change-Id: Ic0da5fec9734be8b92e8a2868f0bc1b16ff34acf
Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:58 +02:00
LuK1337
68d09ebf7f
Drop SSR blobs and set SSR restart_level in init.qcom.rc
...
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:58 +02:00
Bruno Martins
0f5c6d1630
rootdir: Remove vendor-ril lib path property trigger
...
No longer used with QC RIL services.
Change-Id: Ib660b20f2a3cca222a10a1919f0f81ee174bf6dc
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:58 +02:00
Daniel Micay
445a740cc7
rootdir: fix hw_random permissions
...
EntropyMixer: java.io.FileNotFoundException: /dev/hw_random: open failed: EACCES (Permission denied)
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I3b604f051ed6f8b867895f2446cb2fa3cb66c047
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:55 +02:00
Jimmy Chen
00a3574cef
Move supplicant service init to wpa_supplicant
...
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:04 +02:00
Dhananjay Kumar
799b8745bb
init: update audio hal service override as per latest base service definition
...
Change-Id: I1c57ad2e448a95230a4adfff8fba94ffb0cddead
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:58 +02:00
Dan Pasanen
923fbb3963
rootdir: Turn down debugging on wpa_supplicant
...
Change-Id: I15f8aff12ebcccbc97263b1d82b7ec0d3baea263
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:57 +02:00
Hai Shalom
2222a23732
rootdir: Add supplicant 1.2 to init.qcom.rc
...
Add missing supplicant 1.2
Change-Id: I34577cac4892563774f035d3a68ed17cc1edeeb9
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:57 +02:00
Sachin Mohan Gadag
1f1f7eeea2
rootdir: Update rc files
...
- Add fileownership as root:system with 0660
permission for cpu_dma_latency dev node.
- Register audio service to system group to
access cpu_dma_latency node.
Change-Id: Ib832634d74f488ece0879fb05781646b1f4ee7a1
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:57 +02:00
Veerubhotla Hari
50d7c3e65e
rootdir: Change ownership of /data/vendor/tombstones to system
...
Change ownershiip of /data/vendor/tombstones to system
Change-Id: Ia8583c48c80fc97d68df912f0672ff0cd2cb6510
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:56 +02:00
Hari Veerubhotla
3762cdea9b
rootdir: Clean-up tombstone related commands in rc
...
Accessing /data/vendor/tombstones causing sepolicy denials.
Change-Id: I0230025822e681bd1402893725d83e2b2d2742b0
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:56 +02:00
Giammarco Senatore
08e188d663
kunlun2: Import stock init scripts
2021-07-12 02:23:52 +02:00
Giammarco Senatore
38b77bd32e
kunlun2: Drop vendor_overlay and its hax
2021-07-11 17:06:19 +02:00
Giammarco Senatore
60633c1215
kunlun2: Update and cleanup init qcom rc
...
* we don't have some paths
* we have emmc
2021-01-21 18:31:18 +01:00
SamarV-121
4416341c21
kunlun2: Hack to override empty power hidl
2021-01-01 17:52:21 +01:00
Robb Glasser
5ec60c1e74
kunlun2: Enable idle_state mechanism
...
Allows us to check the idle state of the display in order to use perf
hints to improve system performance.
Bug: 69270928
Bug: 69915886
Test: Booted and cat-ed the affected files
Change-Id: I8717093e9b8ed9ed35b6ca51a20225abbf71f775
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 17:52:21 +01:00
Andres Oportus
37bb69e906
kunlun2: Add SchedTune configuration
...
Bug: 36367381
Test: Boot and check stune configuration effect on sysfs
Change-Id: I838c31d164684a5d88550c92284b65bb50f2ed56
Signed-off-by: Andres Oportus <andresoportus@google.com>
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 17:52:21 +01:00
GiaSen
2f07f5abc0
kunlun2: Go enforcing
...
Bind mount etc files because vendor_overlay/29/etc makes device to reboot to recovery
from pstore
vdc: Command: cryptfs enablefilecrypto Failed: Status(-8, EX_SERVICE_SPECIFIC): '0: '
2021-01-01 13:33:47 +01:00
jesec
a568f64847
kunlun2: Bind mount /vendor/overlay to empty folder
...
* Instead of removing it directly from vendor
2020-11-28 21:45:41 +01:00
GiaSen
936551ec37
kunlun2: Pixel Experience 11
...
Nuked safailnet and pixel prop
Nuked CarrierSettings
2020-11-28 17:22:10 +01:00
GiaSen
6e374c1939
kunlun2: Remove non-working and useless light rc
...
This reverts commit b6b7486d55
.
2020-11-13 00:01:27 +01:00
GiaSen
6f69e21cbf
kunlun2: Import and bind mount stock audio policy configuration
2020-11-13 00:01:13 +01:00
Subbaraman Narayanamurthy
1190b97d46
sdm710-common: 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
Signed-off-by: SamarV-121 <samarv121@pixelexperience.org>
2020-07-20 18:32:03 +02:00
SamarV-121
e0d6fd2533
sdm710-common: Import charger service definition
...
Signed-off-by: SamarV-121 <samarv121@pixelexperience.org>
2020-07-20 18:31:44 +02:00
Henrique Pereira
5d670a8d37
sdm710-common: Set schedtune boost to 5
...
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-28 20:18:23 +02:00
SamarV-121
a64a64897d
kunlun2: Import power init scripts from bonito
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:29:25 +02:00
SamarV-121
2d90abaa7c
sdm710-common: Disable IOP and PERF HAL
...
* also revert 56f6504f61
, eb7a690439
, d5cb550169
* in the favour of power-libperfmgr
* also nuke all sepolicies for now
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:27:40 +02:00
GiaSen
b6b7486d55
temp hax: move light init to init.qcom.rc
2020-05-07 13:42:41 +02:00
GiaSen
0d084503fa
kunlun2: Introduce 'SafailNet'
...
This reverts commit 6b8ab2e503
.
2020-04-12 20:53:14 +02:00
SamarV-121
9fb2f8e0b8
kunlun2: Update tap to wake node
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-11 18:58:44 +05:30
SamarV-121
d5cc7b6ce3
kunlun2: Remove all useless stuffs
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-11 18:58:43 +05:30
Diogo Ferreira
baac476693
sdm710-common: Disable tap to wake by default
...
Tap to wake introduces some additional power consumption, this patch
disables it by default.
Change-Id: Ic33c44d72a2d0efcbe3a7dca0206558cbe1f4d6a
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-10 12:38:18 +00:00
SamarV-121
6b8ab2e503
Revert "sdm710-common: Introduce 'SafailNet'"
...
This reverts commit 46d5e09e1c
.
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-07 20:24:04 +00:00
Danny Baumann
f369b61ff6
sdm710-common: Disable CVP HAL
...
This isn't used on SDM710 and spams logs as it continues to try
to start.
Change-Id: I16928663232d5b4e9d005c60dfe080f9cc596d32
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-06 06:17:09 +00:00
SamarV-121
ea54233e57
sdm710-common: rootdir: Disable edge limit control interface
...
* Enable oppo touchpanel direction too
* Fixes multitouch on edge issue
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-30 18:37:36 +05:30
SamarV-121
fc18d77e8e
sdm710-common: rootdir: Remove useless perms
...
* also move blkio settings to on property:sys.boot_completed=1
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-30 18:37:36 +05:30
SamarV-121
d07301de0a
sdm710-common: Import QTI Power HAL from Lineage
...
* 0db671a262
* https://github.com/LineageOS/android_hardware_lineage_interfaces/tree/lineage-17.1/power/1.0
* rootdir: Disable vendor.power-hal-1-0
* sepolicy: Lable android.hardware.power@1.2-service-qti
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-30 18:37:36 +05:30
SamarV-121
530df18b17
sdm710-common: rootdir: Update blkio settings from coral
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-30 18:37:36 +05:30
SamarV-121
dd2a913043
sdm710-common: rootdir: Disable oppo face hal
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-21 00:33:32 +05:30
SamarV-121
3a6a043d4e
sdm710-common: rootdir: Apply blkio and Boot time FS tune settings from stock init.rc
...
* also remove duplicate shitz
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-21 00:26:03 +05:30
luk1337
78c5637be5
sdm710-common: Start using vendor_overlay
...
* This lets us override files in /vendor without
relying on bind mounts ^.^
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-17 11:25:54 +05:30
SamarV-121
d0f96fa3da
Revert "sdm710-common: Nuke custom power HAL"
...
This reverts commit 050ba7b364
.
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-13 19:13:36 +05:30
SamarV-121
edc5bfe69b
sdm710-common: Import and bind mount stock manifest
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 21:31:49 +05:30
SamarV-121
82bbf4d638
sdm710-common: usb: Convert to realme_sdm710 targets
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 20:13:54 +05:30
SamarV-121
a685c189e6
sdm710-common: usb: Override stock usb hal service definition
...
* also bind mount to vendor
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 20:13:54 +05:30
SamarV-121
d0a4a684fe
sdm710-common: Remove bind mounted fstab
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 20:10:44 +05:30
SamarV-121
0ebb79695c
sdm710-common: Remove redundant things
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 20:07:09 +05:30
SamarV-121
c8b4b91fe2
sdm710-common: Update configs from stock Q
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 20:06:43 +05:30
SamarV-121
a75d676746
sdm710-common: Nuke BluetoothResCommon
...
* Not needed on Q vendor
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 20:02:31 +05:30
SamarV-121
050ba7b364
sdm710-common: Nuke custom power HAL
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 20:02:31 +05:30
Vinay Verma
ceb5f7f1e8
sdm710-common: Remove firmware class path for kernel firmware loading
...
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 /vendor/firmware_mnt back to system as kernel
firmware loading is removed. Previously root permissions were
required to support kernel firmware loading.
Change-Id: I560ed75ee07626094acbc879b615190cf3a9faa3
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-02-18 22:02:32 +05:30
SamarV-121
082d309c9c
sdm710-common: Import and bind mount stock WCNSS_qcom_cfg.ini
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-02-14 09:12:02 +05:30
LuK1337
fdd114c2ef
sdm710-common: Move bind mounts to post-fs
...
* Also bind mount regular audio_policy_configuration.xml
Change-Id: I979bb500ab36ec93e20a97cae7ac930c988b9a6d
2020-02-14 09:11:57 +05:30
jhenrique09
46d5e09e1c
sdm710-common: Introduce 'SafailNet'
...
Bypass safetynet even if we have permissive selinux
Change-Id: Ib44cdbd15b53af3a1768cb0912f2dbcc56a8d97e
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-02-14 09:11:20 +05:30
LuK1337
564b50eacd
sdm710-common: Remove unsupported fstab flag
...
* fs_mgr: Warning: unknown flag reservedsize=128M
Change-Id: I39a8b2e4e1e3ff6d9c2258fd259298d08714e4e3
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-22 09:08:17 +00:00
SamarV-121
b629214af6
sdm710-common: Bind mount fstab.qcom
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-22 09:05:04 +00:00
SamarV-121
5159bc3568
sdm710-common: Fix derp
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-21 10:41:26 +00:00
SamarV-121
59a3188e96
sdm710-common: Force enable d2tw
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-21 10:05:37 +00:00
SamarV-121
2d54794bd7
sdm710-common: Add perms for egis fp
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-08 06:19:29 +00:00
Bruno Martins
a24d7a5d35
sdm710-common: Ship proper postprocessing soundfx libs
...
* The lib responsible for audio postprocessing (libvolumelistener)
Change-Id: I27d631e5fea0dbd338c18a529b26d1ef700affd7
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-08 06:18:55 +00:00
Luca Stefani
ea2559bd96
sdm710-common: Build only 64bit power hal
...
Change-Id: I3dd347b6fa66bbb82224adf9081d1512920263da
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-01 12:56:07 +00:00
Bruno Martins
311ead102a
sdm710-common: Import QCOM power HAL
...
Change-Id: Ia4fe5dd8e0240955b7d2199e3e1d6743138b511d
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-01 12:52:29 +00:00
Andrew LeCain
b86fd1c6fe
sdm710-common: Adding uhid permissions to default fingerprint rc
...
Test: Sailfish has fingerprint present
Bug: 120112580
Change-Id: I11c3bf02ddb2102a6d326a35e360e067812b0b75
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-11-30 09:08:37 +00:00
SamarV-121
6bc03c5391
sdm710-common: Bind mount vendor.oppo.hardware.biometrics.fingerprint@2.1-service.rc
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-11-30 09:07:59 +00:00
SamarV-121
6d8e8d4426
sdm710-common: Update touchscreen firmware
...
* Fixes touch not working after boot
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-11-27 11:54:48 +00:00
Sᴀᴍᴀʀ Vɪꜱᴘᴜᴛᴇ
b7a5650490
sdm710-common: Remove seclabel for rutilsdaemon
2019-11-27 11:49:31 +00:00
SamarV-121
054d67fa11
sdm710-common: Rename init.target.rc to init.qcom.rc
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-08 17:01:21 +05:30
bgcngm
44ad53081b
sdm710-common: Import and bind mount stock custom audio policy config
...
* The purpose is to apply the same BT A2DP fix that used to be
applied in the individual device trees.
2019-09-26 01:14:55 +00:00
GuaiYiHu
b77e83d232
sdm710-common: Fix a2dp
2019-09-09 14:44:46 +00:00
SamarV-121
9d212ba3f5
Init trees
2019-08-29 09:37:42 +00:00