818 Commits

Author SHA1 Message Date
Vivekachooz
a8cf30a6dd a71-common: Enable sf auto latch unsignaled property
Change-Id: I727d1f6ce54d9c688b3bc6de30a36e23cf88a74e
2024-12-30 00:30:14 +01:00
Wilson Sung
b1b20fd49d a71-common: Set SOC manufacturer and chipset properties
Bug: 158284209
Bug: 180589452
Change-Id: I9be67a1a78ab1d3b4a0e717fb3381458eb4996da
2024-12-30 00:29:52 +01:00
LuK1337
6a5a5b17fd a71-common: Set ro.hardware.egl to adreno
For whatever reason, after the U QPR1 merge, surfaceflinger is no longer
able to find an OpenGL implementation without this hint.

Change-Id: I59610ce628acb41807bb75b01a8c6cac7d08f740
2024-12-30 00:29:33 +01:00
Haky86
893497ba07 a71-common: Refactor some props
* Due to missing authorships.

Change-Id: Ia71c1c67f1038dea040fcf42564aa324d4f8b58c
2024-12-30 00:25:39 +01:00
Michael Bestas
73920be3be a71-common: Do not override ro.opengles.version
Change-Id: I84fb4d3f09a519384e005af7bc9085b17c26b7f7
2024-12-30 00:21:13 +01:00
Simon1511
5a6f9e1f9a a71-common: Add light sensor lcd_onoff node to powerhint
* On stock ROM Samsung uses that node to tell the light sensor if the screen is on or not in order to correct lux values reported by the sensor
* This will prevent our light sensor from reporting way too high lux values when the screen brightness is high and therefore heavily improves auto brightness behaviour

Change-Id: I5b2f44ea11b33ebc41b3467a881fbb23f919b804
2024-12-30 00:17:23 +01:00
Simon1511
e33d369e39 a71-common: Drop schedtune high cap from powerhint
Change-Id: Iba3aeb01ce2b18bc2e2fa1eb56d38dc4713ff196
2024-12-30 00:17:04 +01:00
Simon1511
3dfd46829f a71-common: Add DT2W fields to powerhint
Change-Id: I49ef5dfb4287bfb774c51b4a1b44c5a150f5e1d6
2024-12-30 00:16:51 +01:00
Alexander Winkowski
906cf8ef1a a71-common: Import cleaned up powerhint
Signed-off-by: Arjun-Ingole <arjuningole38@gmail.com>
Change-Id: I3d16e41487873dd25e51f0c8c9e2ecc0642b3c42
2024-12-30 00:12:04 +01:00
Wei Wang
215e699033 a71-common: Move PowerHAL into Pixel common
Bug: 129495482
Bug: 111098032
Test: Boot and check PowerHAL
Change-Id: I79b7276ff0c28885877af8b0533fe1f9d81b3b0c
2024-12-30 00:11:38 +01:00
Alexander Koskovich
ea0b380e19 a71-common: Remove TARGET_KERNEL_CLANG_COMPILE, implied
* https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/325948

Change-Id: Ie339b5e59dc064986cd5be7f606d6e802397946a
2024-12-30 00:11:10 +01:00
Haky86
e8fc71cc82 a71-common: Drop unneeded audio package
* libaudiopreprocessing are built by media_vendor.mk

Change-Id: I5a456b9c8de743ca4d294a6f9b99b55553edf434
2024-12-30 00:10:50 +01:00
Bruno Martins
e68942a108 a71-common: Merge fstab and make it a prebuilt_etc module
Change-Id: Id064ab9f31a26f127299a3560cfb105ca2eceb26
2024-12-30 00:10:08 +01:00
Bruno Martins
ccdaed24f0 a71-common: Rename rootdir to init and migrate to blueprints
Change-Id: If86021cd709b3d053e87f3a2a8b8640d3b82fb01
2024-12-30 00:09:14 +01:00
Haky86
6b464b874b a71-common: Correct libinit path
Change-Id: Idcd30013225bde8713e94b73171fe0b972c7635b
2024-12-30 00:08:48 +01:00
Haky86
f709d8b0ef a71-common: Migrate configs into a proper folder
Change-Id: I66de107231d5e54ee28f663f3e768584b91d79ae
2024-12-30 00:08:33 +01:00
DY3413
6b3a2e324a a71-common: Report OEM unlock support
* Access denied finding property "ro.oem_unlock_supported"

Change-Id: Ibbfb9073c84ece18d007af8ccf6bfa01dcdc20cb
Signed-off-by: DY3413 <milosix3413@gmail.com>
2024-12-30 00:08:15 +01:00
Yumi Yukimura
73cf4f7672 a71-common: Switch to QTI Memtrack AIDL HAL
Change-Id: Ibcbaff02fd56fbccc3a88c01a5f46a89cb212ef5
2024-12-30 00:07:58 +01:00
DY3413
3ae0b024dd a71-common: Remove unneeded kernel flags
Change-Id: I32483c1db31737c4e2b9dae3e856daf8f9e51560
Signed-off-by: DY3413 <milosix3413@gmail.com>
2024-12-30 00:07:00 +01:00
Nolen Johnson
e7af8d7119 a71-common: Kill deprecated/unneeded board flags
* TARGET_KERNEL_ARCH - no-op unless it differs from TARGET_ARCH.
* TARGET_LINUX_KERNEL_VERSION - Vendor specific.

Change-Id: I8d140fecdbbaac979bc8398745ffa95b911e4c89
2024-12-30 00:06:37 +01:00
Tim Zimmermann
37055ce44d a71-common: Remove unneccessary keylayout
* key 143 is already KEY_WAKEUP which is enough for dt2w

Change-Id: I8c20415e3a3c104e643377a610b6aaebb4ab7956
2024-12-30 00:06:17 +01:00
Tim Zimmermann
6f215ee021 a71-common: Remove DEXPREOPT_GENERATE_APEX_IMAGE
* Removed in https://android-review.googlesource.com/c/platform/build/+/1230120

Change-Id: I0db83d78ac34969a130975e0f730cfec9a1f55d4
2024-12-30 00:06:02 +01:00
Georg Veichtlbauer
1ce95b7158 a71-common: Remove unneeded NFC package
* NfcNci and SecureElement are built by handheld_system.mk

Change-Id: I83f686b67778634b584a58d8bae95d237e6dbad1
2024-12-30 00:05:36 +01:00
Albert Tang
b56b122f78 a71-common: Import missing CACertService.apk
This should end the logcat spam of cacert HAL not starting.

Change-Id: I799ba9ac1214405be696ebdfbf1c12ccd8d81dac
2024-11-27 15:28:18 +01:00
LuK1337
f41178b548 a71-common: Reapply blob patches with PatchELF 0.18.0
Change-Id: I0b303f698095ba0bee2ff40e41e0c964bd0a3f4e
2024-11-27 13:39:04 +01:00
Kelvin Zhang
87d2a9aba6 a71-common: Allow to access bootable/deprecated-ota targets
Galaxy A71 is still using non-AB update.
non-AB code will be moved to a separated namespace, add
deprecated-ota to a71-common namespace list.

Test: th
Bug: 324360816
Change-Id: I909064be36e8febe80492cf010eb6eac3d6bc33d
2024-11-23 18:42:43 +01:00
Yumi Yukimura
5d2bc343db a71-common: overlay: Add some padding on the start of status bar
The clock is placed against the screen's corner on 15, without gap. Fix it.

Change-Id: Ib6dc4788306d19d30fadafa7f7f02086bc045752
2024-11-23 18:41:10 +01:00
eun0115
1d36edf2f5 a71-common: overlay: Refactor landscape paddings
Change-Id: Iee98fd00cbe02f337059c5243cbf55ac54fe9da2
2024-11-23 18:30:40 +01:00
Haky86
803945287b a71-common: Restore sehradiomanager service
* Due to 401683 in fw/opt/telephony, signal bar become empty after rebooting so removing that commit has fixed it.

Change-Id: I1c64fe0d6ae06d97c4a091af133d7cf9f837730a
2024-11-09 20:28:07 +00:00
Haky86
f4c7356023 a71-common: Decommonize device specific camera components blobs
* These blobs are not compatible with Galaxy M51, use proper libs to fix camera on that phone.

Change-Id: Icd177c51769d0a196949656a7b6b4e5acbb70be5
2024-11-08 22:47:17 +00:00
Haky86
3e3d754c61 a71-common: Also patch 64 bit version of libsensorlistener
* It prevents errors (missing symbols) like on the 408071.

Co-authored-by: LuK1337 <priv.luk@gmail.com>
Co-authored-by: Haky86 <hakamelassouad@gmail.com>
Change-Id: Ia8347adf9160f12450a01742dcd10f298b228b7d
2024-11-08 18:09:11 +01:00
Haky86
d1080a8562 a71-common: Set DISABLE_CHECKELF to libsensorlistener
* It happens after removing check_elf=True from extract-files.py.
* Fixes:
error: Unresolved symbol: ALooper_forCamera
error: Unresolved symbol: ALooper_pollOnce_camera
error: Unresolved symbol: ALooper_release_forCamera

Change-Id: I4bfd7db51fb804e303dbbcb547f0bebbe638b6e4
2024-11-07 17:56:07 +01:00
LuK1337
79498a21da a71-common: Use common lib_fixups
Change-Id: I862e547f3375184729eb1a909bb7d6f676d45dfe
2024-11-07 17:51:06 +01:00
Michael Bestas
0a668c380e a71-common: ELF checks are enabled by default
Change-Id: I5740f4c8d359831b4cb794912c5d650f55c33f17
2024-11-06 12:35:16 +01:00
LuK1337
c0f6e6291a a71-common: Switch to py extract utils
* [Haky86]: Also add missing shared libraries.

Co-authored-by: LuK1337 <priv.luk@gmail.com>
Co-authored-by: Haky86 <hakamelassouad@gmail.com>

Change-Id: I10a2bc3472ff3294823a4565f80b558c6c14d9ec
2024-11-04 17:26:14 +01:00
Haky86
e71b48c87d a71-common: Drop vendor.qti.hardware.camera.device libs
* It does not affect on camera since we use hw/samsung aidl.
* Reduce the "warning: overriding commands for target".

Change-Id: I17aade10b06cd2be6d44ca6170dcb097e0064c29
2024-11-04 11:29:36 +00:00
Haky86
7c18ecdc8d a71-common: Switch to OSS librmnetctl
* Stock one caused Dialer crash when a user start a regular call, switching to OSS one has fixed the issue.
* We already build from vendor/qcom/opensource/dataservices/.

Change-Id: I97c799fc581ecb383874f47f4c7b74d0e83dd27e
2024-11-02 17:59:26 +01:00
Haky86
488c24ef10 a71-common: Switch blobs to generic Italy (ITV)
* Also move some configs into vendor repo.
* The previous list was based on Italy (TIM) fw.

Change-Id: I2827b06e8ed80289b16fd8559a3d4032a2ae75bc
2024-11-01 23:48:34 +01:00
Bruno Martins
2e8f13a54b a71-common: Build libsecril-client from sources
Change-Id: I093c25313b44d7e8ebb60902eab549ba797bd812
2024-11-01 20:17:41 +01:00
Bruno Martins
bf58cce053 a71-common: Add "system/" prefix to system blobs path
Change-Id: Id94956fbfd9695f398fd0580548aa17e9d0d126b
2024-11-01 20:04:51 +01:00
Haky86
e7d1da3bf3 a71-common: Refactor the proprietary-files.txt list
* Re-add camera blobs, no reasons to keep 'em in device-specific trees.
* Update libsensorlistener pins.

Change-Id: Ica12b2018deb49480253e180e012ab76c62422fd
2024-11-01 19:48:15 +01:00
Nolen Johnson
c812bf39fd a71-common: Ensure we build the vendor version of libcrypto_shim
Reference: Ia42de59ff157cddc930a111f8ce5e36e645055ed
Change-Id: I9c9340b37a1ad0d6c22d3947541fe1196a5efeec
2024-11-01 12:37:09 +01:00
Michael Bestas
7c38567e54 a71-common: Shim widevine with libcrypto_shim
The following change
e202e51cb0
removed symbols that our libs require.

Change-Id: I1325c34ecec3d339dd68c665010ecb36fa2e6a29
2024-11-01 12:33:36 +01:00
Luofan Chen
d363a2788a a71-common: Remove quotes in TARGET_RECOVERY_PIXEL_FORMAT
Change-Id: Ic400a47f0b4b8d2884082b99df3fe2e09c9438f6
2024-11-01 12:28:52 +01:00
Haky86
238308ca36 a71-common: Import common msmsteppe audio configs from CAF
* They're same as stock.

Change-Id: I2db1544cbb3e0ad4f5e0db19189e70568a694eb1
2024-10-12 01:12:58 +02:00
Haky86
862d3ac298 a71-common: Explicitly build audio.bluetooth.default from source
* Somehow I removed this lib accidentally in the previous commits (404192).
* Fixes:
10-11 22:14:31.732  1969  2341 I BluetoothAdapterService: getActiveDevices: Hearing Aid devices: Left[null] - Right[null]

Change-Id: Ifa3e2a33a635e272ea9c1d17c8a74912609e9eba
2024-10-11 22:51:12 +02:00
Haky86
ee45f277ae a71-common: manifest: Don't set Samsung keymint entry for now
* To avoid breakage with the current changes of hw/samsung/vintf, at least for next build.
* Until someone merge the following commit: https://review.lineageos.org/c/LineageOS/android_hardware_samsung/+/403940.

Change-Id: I8c48ef0290dd25e911f624e8c9d2562e76018634
2024-10-08 01:56:23 +02:00
Bruno Martins
f00f61c27e a71-common: Switch to health AIDL HAL
Change-Id: I0600fbe80dbd538dfe2aef0538b68e4e399c915e
2024-10-01 03:29:25 +02:00
Bruno Martins
d1f6809a3b a71-common: Let primary audio HAL be loaded automatically
No need to set ro.hardware.audio.primary if lib suffix matches
ro.hardware. Also make use of the recently introduced FIX_SONAME arg
and avoid patching it explicitly.

Change-Id: Idf1fde97d7714b4ce7d62e10d3ab87a7cd794f90
2024-10-01 03:28:20 +02:00
Aaron Kling
d4219a1b4f a71-common: Rename primary a-HAL to avoid conflict with source built
Change-Id: Id1123568e0e29d455d53fc923a71cad9adbb9f78
2024-10-01 03:26:27 +02:00