Commit graph android_device_samsung_a20/universal7885-common/universal7885-common.mk
Author SHA1 Message Date
roynatech2544
723dfbec38
universal7885: debug_daemon: Rename to EKLogger
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-14 00:20:05 +09:00
roynatech2544
8845240e10
universal7885: Drop unused rro notch overlays 2022-04-13 18:34:15 +09:00
kevios12
c90bfd800a
universal7885: don't build FMRadio for A40 and add universal7904-vendor back
due to vendor (audio) problems, the universal7904 vendor was included again and fm radio is not built for the a40 for this reason (routing, low quality problems)
2022-04-08 16:40:55 +02:00
roynaetch2544
8e46e80dc7
universal7885: Drop custom pixel sysconfig
Already exists on many ROMs
2022-04-07 07:03:16 +09:00
roynaetch2544
55a45d1c9c
universa7885: Force override compability matrix
* Fixes 'Internal problem, please contact OEM' warning message on every boot
2022-04-07 06:58:56 +09:00
Ramii ahmed
8582551795
universal7885: Import KeyLogger
This lib helps to log input keycodes
2022-04-03 02:21:36 +09:00
roynatech2544
6c0bc75905
universal7885: Uprev graphic composer HAL from 2.1 to 2.4
Change-Id: I73cc611c1856bc57e2377e3baa7f8e56d9d878f9
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-31 19:46:41 +09:00
roynatech2544
01d6f13145
universal7885: rootdir: Convert to blueprint
* Also, set rule of copying ueventd rc in one Makefile

Change-Id: I0c4ba12d1d579a61cd52d473e24febf91a5e3380
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-27 21:38:54 +09:00
roynatech2544
db41cdbe70
universal7885: Build FM Radio app for A40 too
* FM audio issue on A40 was fixed in vendor repo 'A40: kang audio libs from A30' commit
See: 5c30ac7da5

Change-Id: I3270a050e57660d115ca3558ee55eb0e249672de
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-27 19:54:56 +09:00
kevios12
f9dbfdeb20 universal7885: drop universal7904-common-vendor
drop $(call inherit-product,...universal7904-common-vendor. a40 uses now a single vendor folder...
see here: cfefff0430
2022-03-26 18:57:02 +01:00
roynatech2544
bda0713fdb
universal7885: Change apns xml copy location
* It is copied as LOCAL_PRODUCT_MODULE, as seen on Lineage and Derpfest and Ancient and probably other ROMs too

See: https://github.com/LineageOS/android_vendor_lineage/blob/lineage-19.1/prebuilt/common/Android.mk
Change-Id: I610de723679a7e7dc663867b415b6fd94ae3b000
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-26 21:03:43 +09:00
roynatech2544
054dd717d5
universal7885: Drop unused flags
* PRODUCT_COMPRESSED_APEX: Only effective if including updateable_apex.mk
* TARGET_EXCLUDES_AUDIOFX: Cannot find this on Android src root
* Also, add if guard with derp maintainer overlay

Change-Id: I8eb36822dfe6d6d0d59cc58637d8b1fab6c1dc71
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-26 20:57:24 +09:00
Ethan Chen
af728d1aed
universal7885: Add AOSP RCS packages
[roynatech2544: Verified that those targets still exist on Android 12]

Change-Id: I5b82e6a09a90b6d334073de2090171db578ae5c6
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-26 10:50:29 +09:00
kubersharma001
0131e98508
universal7885: Don't inherit updatable_apex.mk
This is because of the following reasons:
- Many build scripts force disable it anyways by settings OVERRIDE_TARGET_FLATTEN_APEX env flag so why bother rendering differences in official and local builds [1][2].
- Compressed apex causes issues with OTA on A only devices [3].
- Compressed apex may cause issues on devices which do not meet kernel requirements [4].
- Highly anticipated mainline modules update aka Play System updates is limited to OEMs/Pixels only [5], we don't do such things on AOSP; shipping Pixel prebuilt apex components feels somewhat unethical.

Ref:
[1]: 8e435ce7ff/android/build.sh (L9)
[2]: https://github.com/LineageOS/android_build/blob/lineage-18.1/target/product/updatable_apex.mk#L19
[3]: RecoverySystemService: Failed to reserve space for compressed apex
[4]: https://source.android.com/devices/tech/ota/apex#kernel-requirements
[5]: "pushed to end-user devices, either by Google (using the Google Play Store infrastructure) or by the Android partner (using a partner-provided OTA mechanism)." as stated in https://source.android.com/devices/architecture/modular-system#architecture

test: m, boots and ota.
Signed-off-by: YadavMohit19 <mohityadav050575@gmail.com>
Change-Id: Ib15f59ccfaaab43eea8d0a7a1671529da5bc0365
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-24 18:50:53 +09:00
Soo-Hwan Na
0fde9697c9
universal7885: Drop non existing copy files 2022-03-23 07:22:06 +09:00
Gabriel2392
b8e119aaf8
universal7885: add messaging to build list
* Fixes messaging not being built in some roms such as aex, syberia
2022-03-22 19:05:30 +09:00
Gabriel2392
c2d2f3b4f1
universal7885: don't build fingerprint hal for a10 2022-03-22 19:05:30 +09:00
Gabriel2392
cc847a4262
universal7885: include apns-conf.xml
* Taken from lineage-19.0
2022-03-22 19:05:30 +09:00
roynatech2544
e9d83bf897
universal7885: Add libcorrectcamera shim
* Supposed to map camera ID 2's info to camera ID 1

Change-Id: I154b0a3357ac689530f53dbf4d251aa7f60c6a2f
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:29 +09:00
roynatech2544
aa3a35f830
universal7885: libshims: Remove useless camera shims
* It is same as android.hardware.camera.common@1.0-helper

Change-Id: I7aa14667989a10663b6d7ea290e205f9e6b1bd93
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:29 +09:00
roynatech2544
cb9599acdb
universal7885: FMRadio: Build our own implementation of FM
Change-Id: I913ed9e5791d067e606c5e094d4fca5a40dbb70a
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:28 +09:00
roynatech2544
45e292f408
universal7885: camera.provider: Label and build
* Except for a10 which has only 1 back cam

Change-Id: Ibf6f07ea36c16880bf760bf66f5454485889c792
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:26 +09:00
roynatech2544
4b0238fe98
universal7885: parts: jni: Adapt for interface unify
* Also, Mark parts HAL is required for SamsungParts
2022-03-22 19:05:22 +09:00
roynatech2544
c8b0cf2f9f
[SQUASH] Revert "universal7885: import Pixel thermal HAL"
This reverts commit cb95ff03729f9721c1a2af56e349a880c416ea59.

Revert "universal7885: sepolicy: Add another rule for thermal hal"

This reverts commit e695df796cf6b39e88652b2829bb18fc797ac0c8.

Revert "universal7885: switch to pixel thermal hal"

This reverts commit b8f413737399e34405322865d1efb391648124d7.
2022-03-22 19:04:25 +09:00
roynatech2544
aba91daeb2
universal7885: Enable Bluetooth rro target
* Again OSS vendor capabilities...

Change-Id: I7c613e621475892d10898dc0cc4844e0263f5a21
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:04:24 +09:00
roynatech2544
4be5170ee0
universal7885: derp: Use legacy bootanimation
Change-Id: Id1616d6b7103653742b324e441bccebed48bdaf8
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:04:23 +09:00
Ryan Mitchell
3399fe3a01
universal7885: Use component-override to configure Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default.

Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth components.

Bug: 135048762
Test: adb shell pm query-services \
      com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
      adb shell pm query-services \
      com.android.bluetooth/.hid.HidDeviceService
      adb shell pm query-services \
      com.android.bluetooth/.sap.SapService
2022-03-22 19:04:23 +09:00
roynatech2544
0e16cac0bf
universal7885: Drop non-working permissions, move props back to root
* platform-samsung.xml:
<assign-permission> not allowed in partition of /vendor/etc/permissions/platform-samsung.xml at START_TAG (empty) <assign-permission name='com.samsung.permission.SSENSOR' uid='cameraserver'>@22:83 in java.io.FileReader@9549221

* component-overrides-bluetooth.xml: Useless, its already disabled, why kill it twice

Change-Id: I3e2a1ae37cd340e2005293aaf7f046d4c3eda0ca
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:03:27 +09:00
roynatech2544
bb8d32dfd7
universal7885: remove 'rmpkg'
* Not that useful

Change-Id: I803b1a85f3a2fa411f5a4ce4d669ab61a4204b30
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:03:27 +09:00
FraSharp
056b9c7bc8
exynos7885: common: cleanup makefiles
Signed-off-by: FraSharp <s23265@iisve.it>
2022-03-22 19:03:25 +09:00
neel0210
3582ed5a25
universal7885: import Google sysconfig xml
* Remove QTI IMS declaration since this is Samsung phone
* Remove previous commit about Google sysconfig
* Add CameraLightSensor to battery optimization list

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:03:23 +09:00
roynatech2544
1174152761
universal7885: Enable SystemUI rro target
* Paddings on GSIs

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:03:22 +09:00
roynatech2544
99f4af4c4d
universal7885: use footej camera 2022-03-22 19:03:20 +09:00
roynatech2544
eaeed21781
Revert "universal7885: disable apex compressing"
This reverts commit 6a6d66d5e1a3ce47e1e64b9f7541a0bce0c45d27.
2022-03-22 19:03:19 +09:00
roynatech2544
8d0cd32875
universal7885: build strace
* System call debugger

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:03:18 +09:00
roynatech2544
439e02b93b
universal7885: compile debug_daemon
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:51 +09:00
roynatech2544
dffab3bb92
universal7885: tidy up tree
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:50 +09:00
rdx420
bd34a05a17
universal7885: Add 'V' Shaped Notch
Kang from OOS port https://t.me/violet_oos/185110

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:49 +09:00
Bruno Martins
672deba398
universal7885: Build offline charging daemon dependency
This must be explicitly built as of R. Fixes off mode charging.

Change-Id: Ie013d25d55105b4eb2191b9fd625ed8e02c863c5
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:48 +09:00
nato6613
a1c0496cbb
universal7885: Add pixel_2016_exclusive.xml
- This allows us to use unlimited backup in Google Photos infinitely.

Signed-off-by: Pranav Temkar <pranavtemkar@gmail.com>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:47 +09:00
roynatech2544
7a3b4163b0
Revert "universal7885: revert bt hal changes"
This reverts commit 81e5ff004f08c81cacf65332ca39b08026c739af.

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:47 +09:00
roynatech2544
581387e4c1
Revert "universal7885: remove unsupported HALs"
This reverts commit e019bb575fa24e9586a5253c0fdafd0cf1d09cfa.
2022-03-22 19:02:44 +09:00
Tim Zimmermann
cd2039b47a
universal7885: Switch to opensource secril_config_svc
* Depend on https://review.lineageos.org/c/LineageOS/android_hardware_samsung/+/319921

Change-Id: Ife2b16a2df2549ed298d3c2f866861379428366e
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:17 +09:00
Tim Zimmermann
a3850a3ba8
universal7885: Switch to new AIDL vibrator HAL
Change-Id: If10972cce06dd5128729d4d7409c57f79775b09b
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:16 +09:00
Tim Zimmermann
8034522881
universal7885: Switch to new AIDL light HAL
Change-Id: I7917b1da162e28187216fc8f55f164fae2ec8eef
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:16 +09:00
roynatech2544
366d425cc0
universal7885: fingerprint: match latest changes from lineage
* remove fingerprint vintf entry
* Uprev to 2.3

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:16 +09:00
roynatech2544
ba4f5671b1
universal7885: enable nfc for all a202f
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:16 +09:00
roynatech2544
8b8df6d333
universal7885: don't copy com.android.nfc_extras.xml
* It was already being copied

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:15 +09:00
roynatech2544
d77d80d2c5
universal7885: re-commonize fingerprint hal 2022-03-22 19:02:15 +09:00
roynatech2544
59e0ac89e7
universal7885: props: add ro.csc. 2022-03-22 19:02:14 +09:00