Commit Graph

2039 Commits

Author SHA1 Message Date
Rafeeqh Shaik 5c02f70d19 vendor: init: Remove code for starting legacy ril
Legacy ril is deprecated and no longer included in the builds.
Remove legacy ril starting logic as legacy ril is deprecated.

Change-Id: Ie4354592fe9f5d6aefdde2d37479cd5879c059c6
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-25 11:25:56 +00:00
chrisl ae571c2d58 common: Move seccomp to vendor folder
[1] - Why are they in system if it is copied to the vendor?

Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: If130c5ac9f7de819abb0f6d3f7317d09bf7a50ab
2022-07-25 11:25:35 +00:00
ghostrider-reborn f7b61b2753 common: Do not generate DTBO for prebuilt kernel
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I883b8d8c8d4220d2de8c702ea3ac6211d10574bf
2022-07-23 13:19:28 +00:00
Omkar Chandorkar 0ccb22dbb4
common: move config.fs declaration outside of BoardConfig
fixes
`device/qcom/common/BoardConfigQcom.mk:27: error: cannot assign to readonly variable: TARGET_FS_CONFIG_GEN`

Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Change-Id: I1694332eccb3aef0cb4485fc94e38dc9162ec914
2022-07-23 18:06:13 +09:00
chrisl7 104d9d9641 common: Import Qualcomm specific configs from aospa vendor
[1] - Now we have Pixel 6 here, which doesn't use any Qualcommon,
      so let's move it to the appropriate place.

Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I6027e8a0664a60de6b5d32e7cf98b8843088cf32
2022-07-23 01:00:05 +00:00
Jun Ji eaa219c4a9 vendor: init: init.qcom.post_boot: Enable support for divar apq
power tuning settings related sched and dcvs

Change-Id: I0130c077543a0c5d2d198a7b30e0417121c14dd1
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-23 00:53:47 +00:00
Paras Nagda e3dfabd174 vendor: init: early-boot: add socid for Diwar APQ
Change-Id: I9dc34bae2080748b9dff65a39a2a00125c1e98ee
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-23 00:53:38 +00:00
Manikanta Kanamarlapudi c08e6ee8b0 vendor: init: common: Remove media netflix prop
Remove media netflix prop for bengal variants.
This is moved to video project.

Change-Id: I8dddd001d8d91431d254a00e6e013e0ea0922ac5
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-23 00:53:31 +00:00
chrisl7 a08f0a29d4 vendor: perf: Update bengal perf configs
Change-Id: I7900612c05d9f8a0728893b3ab8967ae7e58bba3
2022-07-23 00:52:33 +00:00
Huang Li 83637d74a1 vendor: init: rootdir: Replace usage of ro.build.product with ro.board.platform
As replacing TARGET_PRODUCT with TARGET_BOARD_PLATFORM,
also need replace ro.build.product with ro.board.platform.

Change-Id: I01b27fad7fa263816964a3b53e75bdf3e55a26d5
CRs-Fixed: 2988932
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-13 01:03:00 +00:00
Naman Jain acc8c61103 vendor: init: init: remove getprop commands for fixing avc denials
remove logic from init scripts where getprop is used,
causing avc denials. Removed logic is not applicable
to current targets using this.

Change-Id: Ib783c6b2c341da59d24b8f4626e0461e1fbbdd0d
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-13 01:02:47 +00:00
Swathi K e625a345a0 vendor: init: Set property to disable cdsprpcd daemon in post boot
Set property to disable cdsprpcd daemon when
remote cdsp status returns false.

Change-Id: Id90290fb8bb26df51804c21b98a74774dffd60fa
Signed-off-by: Swathi K <quic_c_kataka@quicinc.com>
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-13 01:02:27 +00:00
Michael Adisumarta badd03ac1b vendor: init: ueventd: Add support for ipa_lnx_stats_ioctl
The device under /dev/ipa_lnx_stats_ioctl should be with permission
radio radio.

Change-Id: I531cbda9954e17012b247f6505b51cd5adda7c3d
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-13 01:02:13 +00:00
Mohammed Mirza Mandayappurath Manzoor 031caaa7bf vendor: init: ueventd: Set permissions for KGSL sysfs node
Some KGSL sysfs nodes need to be access controlled. Set proper
permissions for the same.

Change-Id: Idc7e2447d02742074873901c6539f2c6d9d25862
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-13 01:02:04 +00:00
Ramkumar Radhakrishnan daec54def3 vendor: init: init_qcom.rc: Set permission to access panel boot param node
Change-Id: I10a164d7935f2f94042d4120d6f800d3e3422c29
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-13 01:01:54 +00:00
P.Adarsh Reddy b28aece006 vendor: init: Enforce android-S new launch debugfs restrictions.
This removes the default mounting of debugfs, as
it is no longer allowed from android-S new-launch.

Change-Id: Ifeda709613c68234093947f7a92638b4069b089a
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-13 01:01:43 +00:00
Nagireddy Annem f35010ecb4 vendor: init: ueventd: set permissions to rawdump node
move permission setting logic from init rc file to ueventd rc file.

Change-Id: I4b94e0e188f8b420a608cc2e0d97e4b960381c31
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-07-13 01:01:30 +00:00
Omkar Chandorkar 27c0cb34ce
common: fix symlinks once and for all
Change-Id: I62a35417df0cf7a257f8f941d7579d861f712f43
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2022-06-29 14:13:50 +09:00
Omkar Chandorkar a2fec66f99 media-legacy: copy media_profiles to vendor/etc as well
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Change-Id: Id052bc1ed0a7dd959fa19d0373a9c5bf2b789330
2022-06-29 04:55:39 +00:00
Alexander Koskovich e4f311d5e3 common: Move all system side properties to /system_ext
* As a general rule /system should be as generic as possible,
   and these are not /product properties.

Change-Id: I77d0ed449a8d1db23f7607e41ee7e056a98d48b1
2022-06-28 14:47:40 +00:00
Alexander Koskovich 23c3b52a54 PRODUCT_PROPERTY_OVERRIDES -> PRODUCT_VENDOR_PROPERTIES
Change-Id: If9cfaf3b6f356fa0f880cc3ad2c2d032505f2d1e
2022-06-28 14:47:40 +00:00
Arvind Kumar e11e8a5977
system: display: Setup soong configs for lights aidl
To resolve compilation issue for legacy targets
where lights aidl is not required, adding soong module
and configs for lights aidl to remove shared
libs dependency for legacy target and adding
shared libs dependency only for target defined
in soong_config_variables.

Change-Id: I6e5f847313d2ab184b5ea7198012fbbe01b8028d
2022-06-20 22:58:25 +02:00
Chris Crump 16787fc1ae Move APN/SPN configurations out of QTI component
APN's specifically are need register the network and data for all devices, not just Qualcomm. SPN's should follow that configuration since it is also network related and not device specific

Change-Id: Ia357bfe0d9c16144fca257c3eacad100bef925c5
2022-06-08 01:17:16 -04:00
Jake Weinstein e95dec1ff6 Move telephony framework packages out of the QTI Telephony component
Some of these are needed to boot and use the radio
on non-Qualcomm devices running CLO as well.
Others such as CellBroadcastReceiver and Stk are not Qualcomm-specific
and should be built on all devices.

Change-Id: I9b6036cd727010041563bb706396a003e3a77594
2022-06-07 18:39:44 +00:00
Kunmun 6f9dd0ef08
Revert "common: Upgrade adreno stack to WAIPIO 13100"
• Add back c2d2 libs to adreno component as well.
• This breaks eis, as well as creating problems related to display in many devices.

This reverts commit 769e48d051.

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: I876a13074588065b4234505d05d2085c0e93326e
2022-06-03 17:48:46 +09:00
Roman Rihter f696f0cc34 components: Include adreno-legacy for msm8953
We cannot just use 4_9_FAMILY because sdm845 can
use adreno component.

Change-Id: I4c2db762c61fee07ccff992bafe9fa82291d1519
2022-05-29 06:04:40 +00:00
Kunmun db1322dca6 wfd-legacy: Restore from LA.UM.10.6.2.r1-01600-89xx.0
Change-Id: I3bc33f2730c562e5662ecf487339b3abc75d3ded
2022-05-29 06:04:21 +00:00
Kunmun 7388d5ca88 vendor: adreno-legacy: Updates from LA.UM.10.6.2.r1-01600-89xx.0
• Drop the SDM and Post processing stack as it ain't a part of Adreno

Change-Id: I7c5c7f57827e5fa115a31853066a54ec76e7ad5d
2022-05-29 06:03:56 +00:00
Marijn Suijten d3e6a7b053 vendor: adreno-legacy: Build (unused) qti mapper@2.0 interface libs
The blobs link against this interface library because of a fallback
mechanism when mapper@3.0 isn't made available (all our devices should
always provide that, never 2.0). Consequently this results in a silent
failure (not even a linker error appears) when trying to open the GPU
through EGL:

    I AdrenoGLES-0: Driver Path                      : /odm/lib64/egl/libGLESv2_adreno.so
    W libEGL  : eglInitialize(0xb40000743497a2d0) failed (EGL_BAD_ALLOC)
    E libEGL  : call to OpenGL ES API with no current context (logged once per thread)
    F RenderEngine: eglQueryStringImplementationANDROID(EGL_VERSION) failed

Adding this library - which is not explicitly linked/used by any other
bits in the OSS part of the stack - resolves that error.

Note that while the composer has a similar fallback mechanism to 2.0 it
only uses (and links against) the AOSP interface
(`android.hardware.graphics.mapper@2.0`), not the QTI one at
`vendor.qti.hardware.display.mapper@2.0`.

Note^2: All these hidl interfaces are defined as `system_ext`, which is
the desired place for packages (in this case interface
updates/extensions to the AOSP variant) may they ever land upstream.
We have not configured such a partition currently (on super) but instead
rely on it being in `/system/system_ext`. This is not compatible with
GSIs; we just request the vendor variant to be put on `/vendor`
(`.vendor` postfix on the package name).

Change-Id: I951154c3ef283f9f9e82bae2af8fd4aac3166ce0
2022-05-29 06:03:56 +00:00
Kunmun 7817162d3b system: display: drop unused libtinyxml
Change-Id: Ibed6c05a7217b1de24b59d7123a5181156cf92b0
2022-05-29 06:03:24 +00:00
Alexander Koskovich b1afc50ed9 common: init: Move init.recovery.qcom.rc to Android.bp
* /system/etc/init is automatically parsed in recovery.

Change-Id: I7914a9191c5a2ba13b1d60d59fd8b95436d131c3
2022-05-26 00:30:02 -07:00
Alexander Koskovich e6e959c2ad fixup! nq-nfc: Allow custom path for copying the permissions files
* The logic in the halimpl makefile is too late and
   does not make it here.

Change-Id: Id4a1212a1f2f2411512aad53baaca900c89f5eb1
2022-05-26 00:28:49 -07:00
Adithya R 769e48d051
common: Upgrade adreno stack to WAIPIO 13100
* move c2d libs to media as its required by c2

Change-Id: Ifea8af8717fbddc77452438f95b6b4fefb66d7c0
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-05-13 16:22:46 +09:00
Adithya R 77574f7581 common: system: Update to QSSI 07100
Change-Id: Ic122cb7cdaeec00ba7e843dd5fcb1eb95beb8f9d
2022-05-11 17:39:11 +09:00
Omkar Chandorkar 3065b7b4a1 common: vendor: update to 19300 LAHAINA
Change-Id: Ieb19098c7996e11eb28ba53f54658424cc81968e
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-05-11 08:36:18 +00:00
Omkar Chandorkar 6e9f41555d common: system: update to 07000 QSSI
Change-Id: I545e124dab776816d31dd1c7236c856bdb02f7d7
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-05-11 08:36:02 +00:00
Hernán Castañón 0edbe053e5 Revert "telephony: apns: track APNs from LineageOS."
This reverts commit b8c083be3e.

Reason for revert: Shouldn't have updated them this way, my bad.

Change-Id: I6c721f012ffafc8e65164923bffe277c90d5e374
2022-05-06 13:32:51 +00:00
Hernán Castañón b8c083be3e telephony: apns: track APNs from LineageOS.
Their APN is way more updated than the current one we have.

As well as it´s a community project, their APN gets updated with better APNs than
CAF or AOSP actually do.

Signed-off-by: Hernán Castañón <herna@paranoidandroid.co>
Change-Id: Ic8316741b98b5cfd82aa6e0dd3b293f425f94cc9
2022-05-06 11:39:30 +02:00
Jyotiraditya Panda 6ce8607b04 nq-nfc: Allow custom path for copying the permissions files
• Sometimes devices having multiple variants lack NFC support
  for few variants. They end up using SKU to load manifests.
  Copying these permisssions files to vendor may not help that
  and can cause issues.
• So, this might help defining the ODM SKU path.

<Usage> : TARGET_NFC_SKU := codename

Change-Id: I0978452f3e4bf468ec1a30f4da94e7e3489f26ab
2022-04-07 06:24:30 +00:00
Omkar Chandorkar 5a192ec6b1
system: wfd: add missing 64-bit wfd blobs
* used on taro

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: I9deccede050833734a523aadbea4dc06db81c05f
2022-04-07 14:40:44 +09:00
Omkar Chandorkar e13145ca86 wfd: drop miracast libs
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: I9d7335a865ae20ca4620f39e3f32a859020f27e1
2022-04-03 05:46:55 +00:00
Vinayak Soni 612e2f0044 system: wfd: enable Virtual Display in SF
* matches https://source.codeaurora.org/quic/la/device/qcom/qssi/tree/system.prop?h=LA.QSSI.12.0.r1-06400.01-qssi.0#n98

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: I2980ea8097d840336293dca11a6c2e03f2ace26b
2022-03-27 10:51:27 +00:00
Omkar Chandorkar 8f395aacb9 system: gps: bring in line with qssi-user
* qmapbridge is only used for debugging

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: Id9f8d7b5532cba8ab55aece8e8ebf575fc674974
2022-03-26 19:54:37 +00:00
Omkar Chandorkar 86677cd412 media-legacy: add libOmxVideoDSMode for avc.decoder DSMode
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: Idb50244bb5eff4af0de3a336e72c57842c37eecf
2022-03-26 19:52:37 +00:00
Omkar Chandorkar bfbcde3d83 common: add missing blobs
* taken with help of https://github.com/joshchoo/aosp-missing-blobs

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: I333b6da2c67a33885fb8a5af20e888e80acf712e
2022-03-26 19:50:07 +00:00
Omkar Chandorkar 057ad704a3 common: update symlinks
* get rid of ugly build time warnings

Change-Id: Ib4084c96572ba3bc1f0fa05477fc21d8af9cc414
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-03-19 02:47:00 +00:00
Omkar Chandorkar 3e75c67ab9 telephony: split vendor component
Change-Id: I7f7ee0fcce221fe5aa76dc7ab737d94104a0fa0c
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-03-19 02:46:51 +00:00
Omkar Chandorkar cd2609ae1c wfd: drop libwfdaac
* unused for a while and now a dead target

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: If5bb264f56ba881b1c86b9e6c9adeaff46e6a129
2022-03-18 04:51:49 +00:00
Omkar Chandorkar 838cb0afb5
bt: drop dun-server
* unused service

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: I1cd6fe66315a9597ddcac58ac9dbc677cfc98364
2022-03-16 12:21:48 +09:00
Ziqi Chen 38fc8d04c8 init.qcom.rc: Tuning UFS clkgate and ah8 during boot time
Disabling UFS clkgate and ah8 during boot time helps in reducing
IO delays, which helps in reducing the total boot time. This change
will disable UFS clkgate and ah8 during early-init and then enable
it back after boot completion.

Change-Id: I6a10cd57a30fe3bdc4fba72a0d84cdfa3b1fd513
2022-03-16 03:16:01 +00:00