Commit graph

70 commits

Author SHA1 Message Date
Joey
1c4088af6d universal7885: Build Trust HAL
Change-Id: I92706987f8d3094cdfb82e71e5331b7efe69e5df
Signed-off-by: Joey <joey@lineageos.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Erfan Abdi
a87e97145d universal7885: Set board has downloading mode flag
Change-Id: I443100965a37158d4dbf46786526823fb694e7d6
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Jesse Chan
6d5b82b9ea universal7885: Enable NFC support
/system/etc/libnfc-nci.conf from M307FNXXU3BTG3

Signed-off-by: Jesse Chan <jc@lineageos.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
93acf1f219 universal7885: Track common kernel source
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Vladimir Oltean
d7f92c190b universal7885: Sync extractors with templates
* This introduces fixup scripts and kang mode and fixes
   passing of arguments longer than one word,
   such as --section "Hello world".

Change-Id: I42dde659e9bea4f7e1c9a7a3fa8da3243774ca4e
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
481f9d23c2 universal7885: Cleanup and decommonize overlays
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
luk1337
c29c6e5616 universal7885: Use vendor_overlay for audio_policy_configuration.xml
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: Ifaa42cb1547529085cb73e3a493e8064dae07215
2021-10-21 22:12:07 +09:00
Jesse Chan
54be77083c universal7885: Address rro disabling sepolicy
Change-Id: I528946f9cc6dbd6cb4558c3cdacbbc2343c8d376
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Jesse Chan
f5af2d259a universal7885: rootdir: Import samsung init.usb.configfs.rc changes
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I4ea3bafff8e5d48114dfe2c166fb8e268d3dc28f
2021-10-21 22:12:07 +09:00
Alessandro Astone
2e4278499e universal7885: Make fastbootd permissive in non-user recovery builds
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
d4d93fdded universal7885: rootdir: Disable more useless services
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: Ifc02e956d38d47d22ef084ca54d3e2dfc6cab021
2021-10-21 22:12:07 +09:00
Alessandro Astone
a01c5a4854 universal7885: Compile fastbootd
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
8442a3db29 universal7885: Decommonize system partition size
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Sundong Ahn
421ec5a683 universal7885: Add system properties for surfaceflinger
The configstore will be not used in surfaceflinger. So surfaceflinger
will use the system properties instead of configstore.
For this, the system properties are added.

Bug: 112386364
Test: m -j && boot test
Change-Id: Ie3d2adccca06702217984cf2c9db986d852b7014
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
5c3e933e0a universal7885: Compile SamsungDoze
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Jesse Chan
59581c75de universal7885: overlay: decouple Interactive and AutoSuspend from display
Additionally remove a filler comment which shouldn't have been merged.

Change-Id: I9c940ab3992f9ecf0fb9085430a4f2f7100622f5
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Jesse Chan
6a625a2c65 universal7885: overlay: advertise STATE_DOZE_SUSPEND support
Change-Id: Ifa01fef4d4d85b4a1acc7445fbca0db6d9f86af9
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Jesse Chan
0345d23d41 universal7885: overlay: suspend when screen off due to proximity sensor
Change-Id: I6a7fffb2600b1e982448fe466251c8c1be34dde9
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Jesse Chan
dd04af1c2d universal7885: overlay: set fast charging indicator threshold to 10.8W
We no longer call 7.5W charging "fast charging" nowadays

Change-Id: I3a11f50f89933bd44b70d9f30a6e74a3d77abb25
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Luca Stefani
bdf4cb0657 universal7885: Specify device has a notch
Change-Id: Ib912728020f85c820b10d5102365dc37f9a54342
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
cb0a5bcccb universal7885: Enable ZRAM
Change-Id: Icd48749ad781ba48592fbcc2dc7c3ad88c659a57
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Bruno Martins
cf69a175e8 universal7885: Define Soong namespaces in the common product makefile
This is where it belongs.

Change-Id: Ibea0e8fe5dbc26d8953a9735f0b38cf087805b76
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Ethan Chen
dd143a88a3 universal7885: Use Soong namespace to avoid device build conflicts
Change-Id: Id04f464102264b6f2e8d49b39389c7e346613b39
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Anton Hansson
d19392cdc2 universal7885: Set cpu "runtime variant" to cortex-a53
This makes bionic and various art tools that compile/runs cpu-specific
code choose the cortex-a53 variant at runtime. It does not affect
build-time compilation.

Bug: 120773446
Test: bionic benchmarks with and without this change
Change-Id: I670c8acd094090135515688c5f057c2cc08a083f
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Anton Hansson
7d4a27cacc universal7885: Use generic arch variant
Follow blueline which has not demonstrated any regressions
after switching to a generic arch variant.

Bug: 120773446
Test: make
Change-Id: I9e23963fcfa5ccaa912f2930a632458c4d2a692d
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Jesse Chan
66f4700f0d universal7885: overlay: configure SQLite to operate in MEMORY mode
Change-Id: I4988cba2570d2076b50554da962be6e3a12d0ef7
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Jesse Chan
9bb4da00c2 universal7885: overlay: limit the number of fingerprints to 4
FP trustlet limits the number to 4.

Change-Id: I6bfe835e113adc001c4eb3d98a2a937019e1927a
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
0985b31072 universal7885: overlay: Enable config_setColorTransformAccelerated
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
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