Commit graph

1,192 commits

Author SHA1 Message Date
Sujin Panicker
c4245cb9d6 universal7885: audio: Add BT SCO to routes list
- Issue with returning a valid device descriptor
  since BT SCO is not defined in IOProfile.
- First attempt to retrieve devicedescriptor from
  the available HwModule may fail due to address
  and encoded format conditions.
- Further device descriptor query is based on IOProfile
  with devices defined in audio_policy_configuration.
- This change adds BT SCO to IOProfile.

Change-Id: I52225070e97dd702f965ca5dbb5db9d128df1faf
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
erfanoabdi
e2f39c96d0 universal7885: configs: Enable USB Audio HAL
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
b0ccbed33a universal7885: Import stock audio policy config
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I017e01d91f5404ef46258eb4d1b3604a28276bd7
2021-10-21 22:12:07 +09:00
SamarV-121
c091426d08 universal7885: overlay: Apply padding for rounded corners
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Nolen Johnson
93b3aabe1a universal7885: Exclude AudioFX
Change-Id: I1ee4e89e3f7f8e199c0d9e2442f9d845d3e9fbd8
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Suren Baghdasaryan
a10ee5183d universal7885: Switch lmkd to use minfree levels for kill decisions
Enable ro.lmk.use_minfree_levels flag to use minfree levels to decide
when lmkd should kill. This makes lmkd work the same way lowmemorykiller
kernel driver used to work.

Bug: 77299493
Bug: 75322373
Test: lmkd_unit_test
Change-Id: Ic29d7fd21af1cb6af3a7d2a175d210775a09987e
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Arne Coucheron
00f1665d4a universal7885: Define properties for LMKD
* psi disabled since our kernel does not support it

Change-Id: Ie8748a46ce39f3c8c629d8862e767876f0c4c99f
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Anjaneya Prasad Musunuri
6c7466258e universal7885: Enable latch unsignaled buffers
Change-Id: I2b743100a49d1328177230c1952580b62543b245
CRs-Fixed: 2449258
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
synt4x93
468d557aa1 universal7885: Add reboot to download mode
Change-Id: I144b5cea48cf12cdbfebc1bdc8df5abc1b463710
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Danny Baumann
781c9e0c1c universal7885: overlay: Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
synt4x93
5f50e5c3ed universal7885: overlay-lineage: remove bootloader from menu
Change-Id: I01d069a08554db60eaf658750b65493ab1b6a53d
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Jesse Chan
873745a525 universal7885-common: overlay: enable option for full screen aspect ratio
Change-Id: Ica01880ce444313ae08151e6cfdcf5ef71a523b6
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
47669bcc00 universal7885-common: Use AOSP charger
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I90437daf1d47c53ef3b06cedca9a5469c9f8bae7
2021-10-21 22:12:07 +09:00
Erfan Abdi
03b9e8ddc6 universal7885-common: Set cache filesystem to create /cache mount point
Change-Id: I821ef70606479a5a4cda3fa053d01f3328ef2a05
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Jesse Chan
ac78a7d0d5 universal7885: Disable some unused services and vendor overlay
Change-Id: Icd899c4a379ae4300488ea90837d741881f228c2
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
86317e3472 universal7885: Remove dex and hwc2 flags
* enabled by default on Q
* also MKE2FS is enabled by default since P

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
1c66bcf9ca Revert "universal7885: remove duplicate exfat/sdfat defines from platform sepolicy"
This reverts commit 82903c0c8fd62a19e63b7ac816b1f73f511348a8.

 * No more needed in Q vendor

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
5abafa37b1 sed s/universal7885/universal7885/g
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
a682929eb0 universal7885: Nuke init scripts and fstab
* It exists in vendor/etc/init since official Q update

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: Ie02ce720b4f9ebeaa026632cc6adf8b54c96c0e6
2021-10-21 22:12:07 +09:00
SamarV-121
0c628deb56 universal7885: Remove TARGET_CPU_SMP
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Karthik Gopalan
ba0ff607c5 universal7885: Set TARGET_2ND_ARCH_VARIANT as armv8-a
Change from armv7-a-neon to armv8-a for 32-bit shared
libraries ABI compatibility.

CRs-Fixed: 2262190

Change-Id: I160bb25fb84b13bdb7604e46df534c0d60bfedae
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
99b8af3e2d universal7885: Update ramdisk from stock pie
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
197287a66a universal7885: Call proprietary blob setup
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
cb2639978f universal7885: Remove vndk compat layer
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Lucas Dupin
778a439693 universal9810: Renamed config_dozeAfterScreenOff
New name is config_dozeAfterScreenOffByDefault
Bug: 73178121

Change-Id: Ie3d1ea5a2cc480655592bf6e49b37f5ea07f3f58
Signed-off-by: Jesse Chan <jc@lineageos.org>
2021-10-21 22:12:07 +09:00
Mathieu Chartier
341bfd7bae universal9810: Fix shared vdex name
The files in arm/arm64 are symlinks and pinning symlinks is not
supported. Pin the target vdex file intead.

Bug: 73990433
Test: manual
Change-Id: I313e1f53487c0a21b615f65dc64c21a1ecb4b7d5
Signed-off-by: Jesse Chan <jc@lineageos.org>
2021-10-21 22:12:07 +09:00
Jesse Chan
17c3f51369 universal9810: proprietary-files-lpm: update for P
Change-Id: Iabee84a1e52933e98eae1ff1f1d401aa864ff940
2021-10-21 22:12:07 +09:00
SamarV-121
70457c6e44 Revert "universal7885: add CP boot daemon"
This reverts commit b4417ba32702a645c0cf28be6e4d1daf41c75f23.

Change-Id: I2b86547ab5053b2f096bfdb0ba404240ea52d3ae
2021-10-21 22:12:07 +09:00
SamarV-121
ea3c7a747c universal7885: Enable F2FS
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Jesse Chan
5363cd2a31 universal7885: rootdir: include Samsung changes to ueventd.rc 2021-10-21 22:12:07 +09:00
SamarV-121
3de9653f78 universal7885: Import init scripts from stock
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
866d62d789 universal7885: Add samsung dtb header
* https://github.com/LineageOS/android_device_samsung_star-common/blob/lineage-15.1/include/samsung_dtbh.h
2021-10-21 22:12:07 +09:00
jesec
4fa1e959e5 universal7885: add Samsung offline charging files
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
jesec
541df863b2 universal7885: add CP boot daemon
Change-Id: I33e57fb6d4a181f149af88e96decb132d2a24a0c
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
jesec
014fb0b0ac universal7885: Add vndk compat layer
Co-authored-by: luk1337 <priv.luk@gmail.com>
Co-authored-by: jesec <jc@lineageos.org>

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
ba6643b9bc universal7885: Enable inline kernel building
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
bbf6773b5c universal7885: Correct partition sizes
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
b7968c839d universal7885: Add overlays from stock
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Jesse Chan
5e6dfc115b universal7885: remove duplicate exfat/sdfat defines from platform sepolicy
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
b1cd86fbb0 universal7885: Enable fingerprint and ethernet
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
1dcddcc8ec Init trees
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:11:32 +09:00
Soo-Hwan Na
db32bda202 Initial commit 2021-10-21 21:53:39 +09:00