Commit graph android_device_samsung_a20/universal7885-common/universal7885-common.mk
Author SHA1 Message Date
A2L5E0X1
2e6fa25a3a universal7885: Import dlopener debugging tool
[Linux4: This is helpful for things like OMX which hide dlopen errors]
2022-09-17 18:51:16 +09:00
Tim Zimmermann
36615e9d9f universal7885: Switch to new AIDL memtrack HAL
Change-Id: I3ae077b5f59e4fcf32489eef64bce8551d758998
2022-09-16 18:25:58 +09:00
GhostMaster69-dev
8570af7669 universal7885: GrapheneCam: Ship latest GrapheneOS Camera v47
Signed-off-by: GhostMaster69-dev <rathore6375@gmail.com>
2022-09-08 14:33:32 +00:00
Robert Shih
380475026d universal7885: Enable AIDL DRM HALs
Bug: 219538389
Test: atest GtsMediaTestCases
Change-Id: I431554dcbef014f8235f048ee062a218a2131f9c
2022-09-05 23:10:49 +09:00
roynatech2544
0ab8aa74bf universal7885: Inital commit of powerstats impl
Most code copied from Google's raven's powerstats source and adapted to ours
2022-08-27 06:45:40 +00:00
Sal Savage
69c5046e99 universal7885: bluetooth: enable profiles with product.prop 2022-08-19 07:12:10 +09:00
Sal Savage
807014fedb universal7885: bluetooth: set default the class of device
The class of device is a string with a list of uint8t values:
90,2,12

The meaning is as follows:
{Service Field, Major class, Minor class}

Service Field: 0x5A -> 90
    Bit 17: Networking
    Bit 19: Capturing
    Bit 20: Object Transfer
    Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)
2022-08-19 07:11:16 +09:00
Josh Wu
fa2d822329 universal7885: bluetooth: migrate to AIDL audio HAL 2022-08-19 07:10:09 +09:00
SamarV-121
e4084571ed universal7885: Link libexynosdisplay against VNDK 32 libutils
Abort message: 'incStrongRequireStrong() called on 0x7bc685a760 which isn't already owned'
Also remove the unused VNDK copy
2022-08-17 14:54:52 +09:00
roynatech2544
7e6531b412 universal7885: Revert bt audio hal version to 2.1
* Android U will have that 2.2
2022-08-17 13:51:51 +09:00
Gabriel2392
dfdfa733fb universal7885: drop a2dp and hearing_aid
Signed-off-by: Gabriel2392 <gabriel824m@gmail.com>
2022-08-17 00:49:25 +02:00
roynatech2544
dccf2e8013 universal7885: Uprev HALs for Android T
Change-Id: I9923b7fa89ea44286a36ffa93b3a80d97e53bd93
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-08-16 17:34:14 +02:00
Gabriel2392
c0e70c1f68 universal7885: add local arch variable 2022-07-30 09:33:09 -03:00
Gabriel2392
47023baaa2 universal7885: don't call universal vendor blobs for arm 2022-07-30 08:44:24 -03:00
Gabriel2392
9b035b514f universal7885: unify arm branch 2022-07-30 08:08:40 -03:00
Tim Zimmermann
dbd446b32c
Revert "universal7885: Uprev graphic composer HAL from 2.1 to 2.4"
* Our HWC does not support setActiveModeWithConstraints
* This way we can actually have mode switching working
  which will be needed for Tiramisu resolution settings

This reverts commit 6c0bc75905.
2022-05-27 17:52:15 +09:00
roynatech2544
2d5919abc1
universal7885: Copy volume tables from source
Change-Id: I6b583cb56dc4812e4483fe56e9e23359248e55e9
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-05-25 21:07:22 +09:00
roynatech2544
d97d8b7bfe
universal7885: Import radio hals
* Build them from source
* Drop prebuilts on vendor tree
2022-05-20 18:24:21 +09:00
roynatech2544
f7c01f23cc
universal7885: Remove legacy drm hal V1.0
We no longer need drm plugins
2022-05-06 23:28:59 +09:00
roynatech2544
3cefd465e9
universal7885: Use only top rev hidl for build list
All other higher rev interfaces require all the lowers anyway
2022-05-06 23:10:27 +09:00
roynatech2544
4518c61696
universal7885: Adapt to DRM hal changes from 9820
- Update proprietary files list to include drm 1.4 hal
- Also add missing entries on a10 proprietary files list
- Build needed interface for drm 1.4 for vendor
2022-05-06 16:22:07 +09:00
Steven Moreland
d1ed7506da
universal7885: Move ueventd.rc to /vendor/etc
The root location of this file is deprecated for Android T.

Bug: 189268918
Bug: 178221726
Test: device reaches boot complete after raising API level to 32
Change-Id: I97a6d2e5cacd0ac5eeb81daafeb8b1a0ad5c119b
2022-05-04 16:21:09 +09:00
roynatech2544
f90a9a09cf
universal7885: Implement health 2.1 hal 2022-04-30 15:10:08 +09:00
roynatech2544
6c43e1c6eb
universal7885: Fixup mistakes
* Set flag for keymaster, import Google hardware Soong namespaces back
2022-04-30 09:45:53 +09:00
roynatech2544
5171483a37
universal7885: Import hardware/samsung Soong namespace
Also track our fork of hardware/samsung
2022-04-30 09:45:52 +09:00
roynatech2544
3260efc9d0
universal7885: Remove custom apns conf xml 2022-04-29 22:11:47 +09:00
kevios12
2943ba730c universal7885: build FMRadio for A40
* we updated our vendor blobs to A405S - A405SKSU5CVB1, since them, FMRadio is now full working and this is not needed anymore (ifeq)
2022-04-22 07:43:40 +09:00
roynatech2544
55446bf371
universal7885: Inherit makefile changes
* A10-arm64 renamed to A10
* Inherit universal7885-common always

Change-Id: Id757b775c9f58ee03d6f1266d72b13e6b2341675
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-21 23:35:02 +09:00
roynatech2544
2151bd330a universal7885: Add simple overlay template
To make it easier for builders to add maintainer overlays for roms
2022-04-20 08:18:05 +09:00
roynatech2544
134d87b132 universal7885: Remove useless stuffs
Also reorganize
2022-04-20 08:03:45 +09:00
roynatech2544
516c1bd804
universal7885: Don't do findstring with TARGET_PRODUCT
* Use makefile flags instead...

Change-Id: Ic520154e8224fa59451a28dd117ee5f99cd46b10
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-16 10:05:02 +09:00
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