Commit graph

88 commits

Author SHA1 Message Date
Wang Han
4a1d8e02ea universal7885: Remove config_tether_upstream_types overlay
* No need for it now as framework side handles this well on P

Change-Id: I708663f3de23cf1677a81bf31e8fc5fed4145e1b
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Harshit Jain
82ae434028 universal7885: Drop deprecated KERNEL_ARCH & KERNEL_HEADER_ARCH flag
* Same as $(TARGET_ARCH), Build's fine without it.

Signed-off-by: Harshit Jain <god@hyper-labs.tech>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
d687ffe488 universal7885: sepolicy: Address health HAL denials
Change-Id: I7a5215175cdba42a8e9c422e138478733d172d26
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
62d8b28aa1 universal7885: Add Glove Mode support
* Ref: e8b16f2cc2

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
73f856920a universal7885: Decommonize recovery partition size
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
44697f9a6e universal7885: Decommonize dtbhtoolExynos
* also add m30lte, a30, a40 in guard

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Danny Lin
58c6213605 universal7885: Enable compositor background blurring
This allows us to create a "glass blur" look throughout the system for
improved visuals.

Change-Id: I77bb13a5711b05b43acf25e12abd9a2f5cd2502d
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Mikhail Naganov
4d9affc512 universal7885: Remove USE_XML_AUDIO_POLICY_CONF build flag
This flag is no more used by the build files and should
be removed.

Bug: 132435217
Test: make
Change-Id: Ie6031a533cff485a51a42a390e1975ad1d6bd3d
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
476fa29b9e universal7885: Remove libstagefright_foundation.so from prebuilt vndk-29
* F linker : CANNOT LINK EXECUTABLE "/vendor/bin/hw/android.hardware.media.omx@1.0-service": cannot locate symbol "_ZN7android24MEDIA_MIMETYPE_AUDIO_IMAE" referenced by "/vendor/lib/libstagefright_omx_utils.so"
 * This symbol does exist in /vendor/lib/libstagefright_foundation.so
 * Fixes media playback

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
7b43d9eb6f universal7885: Fulfil dependencies of camera HAL [1/2]
* Expose libgui.so to all vendor modules
 * Import libcamera.client.so to prebuilt vndk-29

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: Ia30c8f7cb8b420f1b19b6c973f047aa55b06b930
2021-10-21 22:12:08 +09:00
SamarV-121
11e19c497e universal7885: Enable VNDK runtime isolation
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I24860eb6a2fe0af3b4d9e9cd6e67e997dbfc9547
2021-10-21 22:12:08 +09:00
SamarV-121
310550cca5 universal7885: Copy Q VNDK blobs
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
293fd7fc91 universal7885: Enable TARGET_CAMERA_BOOTTIME_TIMESTAMP
* Ref: https://review.lineageos.org/c/LineageOS/android_frameworks_av/+/234657

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I1280bd73787bd283b34b02c7de45b88a6a68c24e
2021-10-21 22:12:08 +09:00
erfanoabdi
592e7a19ac universal7885: Initial recovery support
* Symlink partitions
 * Some flashable zips relies on this, such as opengapps

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: Ibf85283167dab825ad08bed3397923eed9278eca
2021-10-21 22:12:08 +09:00
ѕαмαя νιѕρυтє
304c88538a universal7885: Decommonize autobrightness enabler overlay 2021-10-21 22:12:08 +09:00
LuK1337
ccc15c4aa4 universal7885: Declare android XML namespace for nfcee_access.xml
Change-Id: I138d8e56bbc12f6c7d8b4c0050a6fb7f2dcb082f
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
2780a49e70 universal7885: configs: Import nfcee_access.xml & nfc_key
* from M307FNXXU3BTG3

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
309d9d3c8c universal7885: Set ZRAM to half of the accessible system RAM
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
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