Commit graph

918 commits

Author SHA1 Message Date
Giammarco Senatore
74e502a935
Import stock audio/media configs
and move some configs from system to vendor
From ZUI 11.5.160
2021-07-12 02:23:58 +02:00
Giammarco Senatore
1d0e49aa55
Import stock vendor and odm properties
from ZUI 11.5.160
2021-07-12 02:23:58 +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
Bruno Martins
6fc983fdd7
config_fs: Remove wcnss_filter
* No longer needed with QTI BT stack

Change-Id: I6c30349e177613adf943f20d1f27bcd0b936911d
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:57 +02:00
DennySPb
fadf940608
Update config_fs from LA.UM.8.3.r1-08500-sdm845.0
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: Iff3e29a4da61250cdee131e30bd663b048f17bf0
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
47f9cbc14b
kunlun2: Nuke neverallows 2021-05-14 15:13:34 +02:00
Georg Veichtlbauer
9e6425cf23
kunlun2: sepolicy: Allow changing read-ahead value in init
Change-Id: Id39212dcc9927192138b871a29f0bbafc85403ca
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-04-01 18:28:27 +02:00
Giammarco Senatore
60e9c1b64a
Create LICENSE 2021-03-22 09:45:31 +01:00
Giammarco Senatore
3c5b08ccc6
kunlun2: update Gcam to MGC_8.1.101_A9_PV0h_snap 2021-02-21 11:18:27 +01:00
Giammarco Senatore
ca7e2b32a0
kunlun2: Enable aux cameras 2021-02-17 15:29:54 +01:00
Giammarco Senatore
e0a7933eff
kunlun2: addressed some denials 2021-02-15 15:41:06 +01:00
Giammarco Senatore
6ab15e1726
Revert "kunlun2: drop soundtrigger hal"
This reverts commit 9e0bb715c6.
2021-02-15 15:41:06 +01:00
xyyx
ad74ced2e6
kunlun2: Address FM Radio denials 2021-02-15 15:41:06 +01:00
akhilnarang
0febe60110
kunlun2: Flash dtbo and print what's being flashed 2021-02-10 19:12:11 +01:00
Giammarco Senatore
8895212b30
kunlun2: Build kernel from source 2021-02-10 12:11:25 +01:00
Giammarco Senatore
3da4b8031b
Partially revert "kunlun2: light: minor cleanup"
This reverts commit 1d06f837c1.
2021-02-10 12:11:20 +01:00
jjpprrrr
9e0bb715c6 kunlun2: drop soundtrigger hal
Co-authored-by: SamarV-121 <samarvispute121@gmail.com>
2021-02-05 20:11:54 +01:00
Giammarco Senatore
0b5d4137fa kunlun2: We are still shipping CarrierSettings 2021-01-23 21:09:51 +01:00
Giammarco Senatore
28f5e83463 Revert "RMX1851: Kang CarrierConfig overlay from oneplus_sdm845-common"
This reverts commit 3eac25c37e.
2021-01-23 21:07:23 +01:00
mikeNG
25f2ae1553 kunlun2: Switch to standalone extract utils 2021-01-23 15:38:21 +01:00
Giammarco Senatore
0e92220187 kunlun2: Enable ADB on eng builds 2021-01-23 15:38:16 +01:00
TTTT555
da0889b45a kunlun2: Add camera aux package list
- Required for third party apps to use their built in camera e.g Telegram

Signed-off-by: Zinadin Zidan <zidan44@pixelexperience.org>
Change-Id: I22ab565d7d75e278faf4600cd5aecec59164bf8f
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-21 18:40:16 +01: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
GiaSen
abdf28791a kunlun2: sepolicy: cleanup and update 2021-01-02 21:05:16 +01:00
GiaSen
1d06f837c1 kunlun2: light: minor cleanup 2021-01-02 18:40:14 +01:00
GiaSen
b3e0af8270 kunlun2: Cleanup
- Remove unused build broken configs
- Remove RevengeOS early hack to bypass long baseband name
- Remove blur expensive prop, new power aidl doesn't support
- Live wallpapers are built by default
2021-01-02 16:43:53 +01:00
Volodymyr Zhdanov
4db1147a64 kunlun2: power-libperfmgr: move dt2w mode on top of setMode switch
* fixed dt2w after reboot

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 19:36:00 +01:00
Volodymyr Zhdanov
7fd6e62ecd kunlun2: power-libperfmgr: enable DOUBLE_TAP_TO_WAKE mode explicitly
* libperfmgr expects mode to be declared in powerhint but dt2w is handled in powerhal
* so let's just force enable it like google did with LOW_POWER
* also use break instead of fallthrough because there's no need to play with hints

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 19:34:49 +01:00
DennySPB
d4a7573cd1 kunlun2: Resolve power HAL denials on R
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 19:18:32 +01:00
SamarV-121
0b9dcc21d6 kunlun2: power-libperfmgr: Enable dt2w
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 18:09:57 +01:00
GiaSen
98dce4d4d5 kunlun2: Nuke LenovoParts 2021-01-01 17:53:10 +01:00
Kyle Lin
0d01eb2df5 kunlun2: libperfmgr.rc: let power hal start early
Bug: 162791243
Bug: 72471476
Test: build and using emul temp/running burn8 to verify it
Change-Id: I5ca475be8b73b940e4858634595a7918ae92f6ef
(cherry picked from commit 35e110fe669a7d2996ce503d7e31204554f972e3)
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 17:52:21 +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
Jesse Chan
bae3d485a5 kunlun2: power-libperfmgr: Initialize powerHAL when boot is completed
Change-Id: I801b3aba05ef0be14c7af1969ddf9318c05ef64c
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 17:52:21 +01:00
Jesse Chan
a485a2c7c8 kunlun2: power-libperfmgr: Remove Google-specific display LPM control
Change-Id: If58f38b99bf6fbd73f6b6ab2144293c63e18b600
Signed-off-by: Jesse Chan <jc@lineageos.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 17:52:21 +01:00
Jesse Chan
89e43efead kunlun2: power-libperfmgr: simply wait if idle state node is not present
Change-Id: I93dd97e5437761d2d969f93a5af0cae864fd0a65
Signed-off-by: Jesse Chan <jc@lineageos.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 17:52:21 +01:00
SamarV-121
30666f3913 kunlun2: Import Pixel power AIDL HAL
Nuke Powerstats
2021-01-01 17:52:11 +01:00
GiaSen
581940f777 kunlun2: Enable 4G by default 2021-01-01 15:46:37 +01:00
GiaSen
f5f839f3b3 kunlun2: Nuke manifest.xml
Was not needed at all
2021-01-01 15:46:25 +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
Kuber Sharma
b86cae0eba kunlun2: Copy updated handheld_core_hardware.xml to enable software controls feature
* AOSP has included device software controls feature permission
inside handheld_core_hardware.xml from android-11.0 but since
we use prebuilt OEM vendor which is from android-10.0 it
does not have this feature permission included in that.

a9708b1763%5E%21/#F1

Signed-off-by: Ayush Dubey <ayushdubey70@gmail.com>
Signed-off-by: aashil123 <singhalaashil@gmail.com>
Signed-off-by: victor10520 <merser2005@gmail.com>
2021-01-01 12:42:13 +01:00