Commit graph

116 commits

Author SHA1 Message Date
Pierre-Hugues Husson
328eecea8d universal7885: rootdir: Disable secondary watchdog
* See, https://github.com/phhusson/treble_experimentations/issues/1730#issuecomment-784210632, https://github.com/phhusson/treble_experimentations/issues/1730#issuecomment-784222396

Change-Id: Ic8db676a1e4f42248aefaad5cf7057f427dc72a1
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
99477ee519 universal7885: Move TARGET_EXCLUDES_AUDIOFX to common product makefile
* https://review.lineageos.org/q/topic:%22eleven-audiofx-exclude%22+(status:open%20OR%20status:merged)

Change-Id: I584d506e5b65d9c161423ef303a40a450a2fbd8c
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
synt4x93
8656a64ffa universal7885: rootdir: Disable some more samsung stuff
Change-Id: I3e35b933b6fc164952a2062cde9adf0e73f06e14
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
891ca20fab universal7885: power: Convert to blueprint
* also rebrand to universal7885

Change-Id: Id2cddbef53eaecb2ee5df08ec635af55c104f97f
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
LuK1337
10b382e30e universal7885: sensors: Statically link {libbase,libutils}
* Fixes unresolved R symbols.
  _ZN7android4base9ShouldLogENS0_11LogSeverityEPKc
  _ZN7android23sp_report_stack_pointerEv

Change-Id: I1bb820eb7e8e1ae914298657c2ffc38999989109
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Willi Ye
048849fcdf universal7885: Use custom Samsung sensors implementation
* Get rid of com.samsung.permission.SSENSOR
* Map vendor proximity sensor type to generic

Signed-off-by: Jesse Chan <jc@lineageos.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I022d9061b144925b1291ba6294fe018faba07fed
2021-10-21 22:12:08 +09:00
Andreas Schneider
495763a954 universal7885: overlay: Update config_chargingFastThreshold position
* This has been moved to SettingsLib

Change-Id: I17a07db29fcbf9bfb0611a0d7215bb302e4a00c5
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Francescodario Cuzzocrea
c5a166f294 universal7885: Build fastcharge hidl
* https://review.lineageos.org/c/LineageOS/android_hardware_samsung/+/305684

Change-Id: Iec1a7faec24f0d5b4b1d2f1ef52b781368c5bd51
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Michael Bestas
f9b798ba2b universal7885: Remove Trust interface entry
This has been turned into a VINTF fragment.

Change-Id: Iaf53a2e1fbac75d53ec11d4c56c51230f4758daf
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
e36249331b universal7885: Enable proximity sensor
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Michael Bestas
83cea22677 universal7885: Adapt for new extraction script location
Change-Id: Ife50623a3d1b8733f5cc76995c982d8950d39ad4
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Bruno Martins
724f6c3fd8 universal7885: overlay: Pin standard SystemUI instead of Google's
Change-Id: If96bb13d6cc2c2156d8df111a1037247c96c6e0f
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
f41e0cbd26 universal7885: Kang Pinner Service configs from crosshatch
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
9dfefb7cfa universal7885: sepolicy: Allow power HAL to access touchpanel node
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
d48312f054 universal7885: Enable dt2w support
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I94472cb028204aee3ff8379f4638848a90698234
2021-10-21 22:12:08 +09:00
SamarV-121
a13a3e7023 universal7885: Import power HAL code to DT
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
25cadfd8aa universal7885: Compile OSS exynos power hal
* https://github.com/LineageOS/android_hardware_samsung/tree/lineage-18.0/hidl/power

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
710e5f1073 universal7885: Set default network to LTE,LTE
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
88a8e570e0 universal7885: Use skip_mount.cfg to skip /product mounting
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Kilian von Pflugk
732905bb3b universal7885: Remove TARGET_USES_64_BIT_BINDER
* the TARGET_USES_64_BIT_BINDER option is deprecated and can be removed

Change-Id: I6b828da1fbcc8c054c5b35ff78c870a689f7ed9f
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Weilun Du
39d0711c3c universal7885: Add TetheringOverlay
BUG: 163800715
Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: Ia0834f5215ff8c3b13effa591bd2f84d93419a06
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
LuK1337
ef04b3c207 universal7885: overlay: Disable BPF
* Such is life with 4.4 kernels.

Change-Id: I1c5e3fab63271b1e3fe6c814d96edbde782f27e8
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Roshan Pius
64eadfa865 universal7885: overlay: Change wifi tether regex
The wifi interface names for wifi can either be wlan0 or wlan1.
Change the "config_tether_wifi_regexs" appropriately.

Bug: 80375412
Test: Ensured we display "Hotspot on" in settings when softap is started
on either wlan0 or wlan1.

Change-Id: I0c456412f9b71ef2ee784f3bfa58b01b9287ca73
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
b3bf6dc14b universal7885: Override vndk*.libraries.29.txt and libstagefright_foundation.so
* Instead of editing it from recovery, https://github.com/SamarV-121/android_device_samsung_universal7885-common/commits/974a3c72d5ab7162214a031a8b722c369aa7b4b1/rootdir/bin/sys.sh

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I2c51933bb0ee7e5d8db8b533d8ac329d44165f89
2021-10-21 22:12:08 +09:00
SamarV-121
ba2c97b3d7 universal7885: Enable device controls feature in power menu
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Kevin Chyn
dd4d2f0886 universal7885: Add fingerprint configuration to overlay
The framework was changed in Android R to require explicit authenticator registration.
This change allows apps to continue to use the fingerprint sensor.

Bug: 147445115

Test: Builds
Change-Id: Id3385edc784b2053c8b54ec3153728f4e6e22a45
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Wei Wang
3fc74a62de universal7885: Enable zram on boot_complete
This help to save ~50ms in boot time and bootanim shown time

Bug: 62957152
Test: Taimen boot and swap look normal after boot
Change-Id: Idda2cc2aafca2f98f3c1faf4d1a08c7ae3203483
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Kyle Harrison
6d69224d10 universal7885: Move tethering overlays
Config overlay values moved from frameworks_base core to
frameworks_base packages/Tethering

https://github.com/LineageOS/android_frameworks_base/blob/lineage-18.0/packages/Tethering/res/values/config.xml

Change-Id: Ia5a8056d6334cd78e79853c0ada4e8873a9669e0
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
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