Commit graph

124 commits

Author SHA1 Message Date
SamarV-121
c8b12e895a universal7885: Split system and product props
Change-Id: I8f4fe7db8262ecae5e7ea9acbe320b293515152e
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
0d5e511946 universal7885: Use TARGET_COPY_OUT_SYSTEM and TARGET_COPY_OUT_SYSTEM_EXT
Change-Id: Ic9e754e59857629b035a1fe5b1e70d23a6cf6a58
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
420bf8d221 universal7885: Change eSCO Transport Unit Size to 16
* Fixes bluetooth calls
 * depends on https://review.lineageos.org/c/LineageOS/android_system_bt/+/312698

Change-Id: Ia380fabeb4f890891b46acd9bf13f4a5b0c95eff
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
69841f6659 universal7885: sepolicy: Allow power HAL to write /sys/devices/system/cpu
Change-Id: I7e263adfd51eb2e2680b4ae5214734c0d5c4805c
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
ѕαмαя νιѕρυтє
5117c1c32d universal7885: sepolicy: Use system_internal_prop macro for system props
* 19b99f18c8
 * Fixes -
neverallow check failed at out/target/product/m20lte/obj/ETC/plat_sepolicy.cil_intermediates/plat_sepolicy.cil:13204 from system/sepolicy/public/property.te:564
(neverallow base_typeattr_507 base_typeattr_508 (property_service (set)))
allow at out/target/product/m20lte/obj/ETC/system_ext_sepolicy.cil_intermediates/system_ext_sepolicy.cil:150
(allow hal_fastcharge_samsung sec_fastcharge_prop (property_service (set)))

Change-Id: Icc2bb1a51daad9c0b4ba9cda87a945effe780fdc
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
ѕαмαя νιѕρυтє
c71d20b900 universal7885: overlay: Set minimum brightness to 1 2021-10-21 22:12:08 +09:00
ѕαмαя νιѕρυтє
b9ba616486 universal7885: Compile kernel with clang 2021-10-21 22:12:08 +09:00
Lucas Dupin
9ae95e8817 universal7885: Disable blur by default
Change-Id: If28a2b702597a7bfc331ae77dcb2e3f4ec07d3fc
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
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