summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* m8-common: Switch IR HAL back to passthroughHEADs12.1TARKZiM2025-06-101-2/+1
| | | | * Fixes crashing on S.
* m8-common: releasetools: Remove bootloader assertions for nowTARKZiM2025-06-101-15/+0
|
* m8-common: camera: Restore HALv1 sourcesTARKZiM2025-06-103-0/+3
|
* m8-common: camera: Update libcamera_client for 12TARKZiM2025-06-105-8/+9
|
* m8-common: overlay: Remove doze_display_state_supportedNolen Johnson2025-06-101-25/+0
| | | | | | This is already set to default value Change-Id: I413c3118f3d679798f1098dbd5a7f886bc4cbb02
* m8-common: Unset TARGET_NEEDS_PLATFORM_TEXT_RELOCATIONSWang Han2025-06-101-1/+0
| | | | | | | * This is only used in system sepolicy to ignore some neverallows, but as we ignore all neverallows in qcom sepolicy, it is useless. Change-Id: Ic6e58a6ba68aaf6b5bbe59c7206b3fedfd886248
* m8-common: Don't let builds complete without vendor treeKevin F. Haggerty2025-06-102-2/+2
| | | | | | | | | * There is zero reason to ever build without blobs. We've even seen this situation with official builds from our servers. It's always better for a build to fail than it is for it to produce something that has no chance at working. Change-Id: I4968795670c91f691e9ecdc0e4af62e16ba3a93a
* m8-common: Enforce the presence of core componentsNolen Johnson2025-06-101-2/+2
| | | | | | * No way this builds without it. Change-Id: I370c29d438f2b83bed01b4b2d675345829791936
* m8-common: wipe our branch for dependenciess12.0r11.1Julian Veit2021-02-191-2/+1
| | | | Change-Id: I76a5090e1f97f0d08605214fd966e90276ce2481
* m8-common: Align with extraction-utils templatesBruno Martins2021-01-032-26/+12
| | | | Change-Id: Ifbf18f79a1d0f173cb5b83bdf0178db2a5f1373e
* m8-common: Rewrite integration with scripts in msm8974-commonBruno Martins2021-01-032-84/+7
| | | | Change-Id: I22b9589ebf089d678168e6f167d96799172e45a5
* m8-common: Switch to patchelf from tools-lineageMichael Bestas2021-01-031-1/+1
| | | | Change-Id: If1a7328804fb9bc39ccec70690f1090f2d0509b3
* m8-common: camera: Address unused-parameter compilation warningsBruno Martins2021-01-031-4/+4
| | | | | | | | | | | | | | | | | | | | Test: Compile and observe that the following warnings are gone: device/htc/m8-common/camera/CameraWrapper.cpp:212:75: warning: unused parameter 'user' [-Wunused-parameter] void camera_notify_cb(int32_t msg_type, int32_t ext1, int32_t ext2, void *user) { ^ device/htc/m8-common/camera/CameraWrapper.cpp:217:50: warning: unused parameter 'user' [-Wunused-parameter] camera_frame_metadata_t *metadata, void *user) { ^ device/htc/m8-common/camera/CameraWrapper.cpp:222:60: warning: unused parameter 'user' [-Wunused-parameter] const camera_memory_t *data, unsigned index, void *user) { ^ device/htc/m8-common/camera/CameraWrapper.cpp:227:32: warning: unused parameter 'user' [-Wunused-parameter] uint_t num_bufs, void *user) { ^ 4 warnings generated. Change-Id: I2d2de0cb6e6f7c0c6b197896844c20314482a4db
* m8-common: camera: Disable camera parameters loggingBruno Martins2021-01-032-1/+2
| | | | Change-Id: I5c53c2564aa3ee4579b047a33b90ba0059efb54b
* m8-common: camera: Make HTC libcamera_client compile in Rr11.0Bruno Martins2020-12-081-0/+16
| | | | Change-Id: Idea2e99a3082db81eb28edcee095abd87763c64b
* m8-common: Chain extract-files and setup-makefiles to msm8974-commonq10.0Kevin F. Haggerty2020-11-122-0/+4
| | | | | | * This is necessary to fully-execute both of these processes Change-Id: I6f7a5542541ae30b999e617fe84aa6c0e9cab563
* m8-common: Move all clearly shared blobs to msm8974-commonBruno Martins2020-11-121-51/+0
| | | | Change-Id: Ib8b312c3b6186a9ffe897cecc3eb1c60e8505a51
* m8-common: Bring in entire NFC related stuff from msm8974-commonBruno Martins2020-11-123-2/+44
| | | | Change-Id: If545f96c7bd65220e6bf4a48488bb53207ba8918
* m8-common: uprev dependencies to q10.0Julian Veit2020-04-051-1/+1
| | | | Change-Id: I7320e3f2d9ac6134ad0bbc8666f0a89d5b569101
* Revert "Revert "m8-common: add ro.aicp.create.ors.file for OTA functionality""Julian Veit2020-04-041-0/+4
| | | | This reverts commit 2dd16a1f07f838251c0f4fec571ad47b424b03f0.
* m8-common: overlay: use camera_open_legacy in SnapJulian Veit2020-02-101-6/+0
| | | | Change-Id: I5a404a0554cce176c2b03f13416eb87a2990a20e
* Revert "m8-common: add ro.aicp.create.ors.file for OTA functionality"Julian Veit2020-02-071-4/+0
| | | | | | This reverts commit 232df35b285486ab3999365dcbb02e172ceec2e8. Change-Id: I1879ab8a8b0d2c1eef339449c3fce49b6ead4bb2
* m8-common: Use TARGET_COPY_OUT_VENDORNolen Johnson2020-01-261-3/+3
| | | | Change-Id: I98b109e20601cf855365d532af56a841b1ad307b
* m8-common: camera: Bring it up to speedBruno Martins2020-01-052-1/+2
| | | | Change-Id: If6f28a68375f27306f50f94b0662685c16239bdb
* m8-common: Pin hex'ed sensors HALLuK13372019-11-161-1/+1
| | | | | | | | | | | | | | | | | HTC One M8 exposes a custom sensor "HTC Gesture sensor" with type 27, which is used for SENSOR_TYPE_DEVICE_ORIENTATION sensors. This is now an issue in Pie, since it is a one-shot sensor and cannot be registered by the WindowOrientationListener. Workaround the issue by replacing all the occurrences of 0x1B (the stock value of 'type', which is a member of 'sensor_t' struct) to 0x10001 in the sensors HAL. Alternative to the original solution: https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/242737 Change-Id: I99ac93ec485d7c349eb705a4e953e5410d1ae025
* m8-common: Kill the variant linking scriptBruno Martins2019-10-083-71/+1
| | | | | | | | | | | | | The only variant-specific RIL blob is now the QC libril, which can simply be shipped among the others and selected during runtime based on the rild.libpath system property. The motivation for doing this after all these years is that, as of Q, with the enablement of system-as-root it was not easy to adapt this script and make it recovery-agnostic at the same time. Change-Id: Ie863455f66a9561f405b6a9fa5b1ce0cb71ae432
* m8-common: Commonize all RIL blobs except QC librilBruno Martins2019-10-081-0/+8
| | | | | | | | Given that the variant-specific blobs have been reduced to just one, a little more space should be available on those devices with smaller system partitions. Change-Id: I90d2d7536077a98affd6b00ae0e03a18a3e59058
* m8-common: Set shipping API level in the common product makefileBruno Martins2019-10-042-4/+2
| | | | | | | | It's not meant to be set as a board config flag. Simply do it by inheriting the makefile that now also exists for devices launched with KitKat. Change-Id: I2ca1f9d207be90c58495b3e20c5e2275e09b18bc
* m8-common: Address 'LOCAL_MODULE_TAGS := eng debug' deprecation.padarshr2019-10-041-1/+1
| | | | | | | | | | | | Newer AOSP deprecates LOCAL_MODULE_TAGS := eng debug. We now remove that and instead add the package to PRODUCT_PACKAGES_ENG or PRODUCT_PACKAGES_DEBUG as applicable. To ensure that we don't miss out on any package during this switch, we add these explicitly, even though it might have been already added under PRODUCT_PACKAGES at some other location. Change-Id: I35bd67c3e7752be5bcd8f8682864062173e92724
* m8-common: Set SDK API level for mm-qcamera-daemonp9.0Christopher N. Hesse2019-08-091-1/+3
| | | | | | | | | | | In P, Google decided to tighten restrictions on mutex calls by ensuring mutex_destroy is not called on an already destroyed mutex (which can be potentially dangerous), however this caused issues because Qualcomm, in their infinite wisdom, decided to destroy mutexes in a loop, causing them to be 'destroyed' twice The offending library for m8 is: vendor/lib/libmmcamera2_imglib_modules.so Change-Id: If62d45f81ec4ca50283c095b600dc2dbcaa73517
* m8-common: camera: Do the shuffle with CameraParametersBruno Martins2019-08-0911-1335/+87
| | | | | | | | | | | | | | | | | Up until N it was possible for devices to hook extra classes and symbols into libcamera_client. Starting with O, several makefiles were converted to blueprints, camera headers changed place and overriding headers became almost impossible. Due to the nature of HTC's MSM8974 camera HAL, which expects CameraParameters to inherit from CameraParameters_EXT, injecting the custom CameraParameters code like in the past now resulted in mediaserver fatal crashes due to mismatched headers. Ship a kind of shim as a workaround to those issues and satisfy the camera HAL. Change-Id: I85055e485653e8e93424428fd0dc429f8c76f94f
* m8-common: camera: "Fork" slightly trimmed libcamera_clientBruno Martins2019-08-0926-0/+1321
| | | | | | | | As a preparation for creating a custom libcamera_client that will act like a shim, fork only the files that must be adapted and simply symlink almost everything else from frameworks/av/camera. Change-Id: Ie9297b17addb19f46992815dea84dfc0239e3fa4
* Revert "m8-common: overlay: rename Snap to SnapdragonCamera"Julian Veit2019-07-131-0/+0
| | | | | | This reverts commit be6b6818f5b950692d76e7174f7e32563f56d597. Change-Id: I648565f6867fcf0ee43af764191cfd687f8cd90b
* m8-common: overlays: Update power profile for PieAdithya R2019-06-091-4/+5
| | | | | | | | | | | * Match the changes made in LineageOS/android_frameworks_base@3d422c3 * Since Pie, AOSP is forcing us to define speeds and power values per CPU cluster. For single cluster chipsets like MSM8974, define cluster0 with only 4 cores to retain the existing behaviour. Change-Id: Ida1edb9cc0335ffdb0ec6857da02b84a6a9d1633 Co-authored-by: Alessandro Astone <ales.astone@gmail.com>
* m8-common: dependencies: fix missing commaJulian Veit2019-03-031-1/+1
| | | | Change-Id: I0a11beac76bfd7f4dbdbb7a2b9ce7eaf178b3c35
* m8-common: add ro.aicp.create.ors.file for OTA functionalityJulian Veit2019-03-031-0/+4
| | | | Change-Id: Ibc395034cbce44fab50f4ce00d5e8ce71b2364ca
* m8-common: AICPify vendor security patch levelJulian Veit2019-02-101-1/+1
| | | | Change-Id: Idc2b5c7a65501a0cf316eb2d77be323e9ca2bf0f
* m8-common: overlay: rename Snap to SnapdragonCameraJulian Veit2019-01-171-0/+0
| | | | Change-Id: I9a0706f0c74b1d608dbdf00f0db8371b11bec1cf
* m8-common: remove overlay-lineageJulian Veit2019-01-172-25/+1
| | | | Change-Id: I77bd9a1e3bd7f1e97bf7949fa57387882dfd5f0e
* m8-common: dependencies: switch to AICPJulian Veit2019-01-161-1/+1
| | | | Change-Id: Icd9ba08a56a1eb3bf9ed27edfd82d5fe422b015e
* m8-common: AICPifyJulian Veit2019-01-063-7/+8
|
* m8-common: Allow media UID process to access CameraServiceProxyBruno Martins2018-12-302-1/+25
| | | | | | | | * This fixes the following error on camera-in-mediaserver devices: E CameraService_proxy: Calling UID: 1013 doesn't match expected camera service UID! Change-Id: I185e34e8983b286436bfc0fe36cfdf260ef78170
* m8-common: Set SDK API level for mediaserver to allow text relocationsBruno Martins2018-10-131-1/+2
| | | | | | * Camera blobs need text relocations (see commit 476099b). Change-Id: I25cc51851469a702b2dc481d62c91f2aec868b8e
* m8-common: Nuke redundant hardware key overlaysWang Han2018-10-082-48/+2
| | | | | | * These are the default values now. Change-Id: Id375a3c5dcd80bf91e03c1879dfa6974dd83a9d1
* m8-common: Renamed config_dozeAfterScreenOffLucas Dupin2018-09-021-1/+1
| | | | | | | New name is config_dozeAfterScreenOffByDefault Bug: 73178121 Change-Id: Ie3d1ea5a2cc480655592bf6e49b37f5ea07f3f58
* m8-common: Remove no longer needed Android BlueprintsBruno Martins2018-08-202-6/+0
| | | | | | * Soong now finds all Android.bp and Blueprints files in the source tree Change-Id: I2b7b22ecec7efb439d4c20c9d579ed9ceed5b20d
* m8-common: Use non-conflicting consumerir HAL nameEthan Chen2018-08-111-1/+1
| | | | Change-Id: Ifdd31a03f2f8d28ec100581af127a073ffa81129
* m8-common: Define vendor security patch levelNolen Johnson2018-06-101-0/+4
| | | | | | | | | | | | | * This is needed for Trust, as we don't have a vendor image that sets a valid vendor security patch level. * The only devices that use this are m8 & m8d, and they use the same core blobs, and therefore, have the same core blob vendor patch level. * Taken from the latest M8 Google Play Edition release (HTC package 5.07.1700.15 - MRA58K.15). Change-Id: I821986f06132254d0d8007a3f6fc28105026be94
* m8-common: Move device-specific .rc files to /vendor/init/etc/hwBruno Martins2018-02-072-2/+2
| | | | | | Following main change in the msm8974-common repo. Change-Id: Ia99c4448f9754475f3aa30c4a1a80b7787a4875b
* m8-common: Ship QC Time servicesBruno Martins2018-02-061-1/+3
| | | | | | | | | | * Any pre-O framework did exact the same thing as TimeService.apk when the BOARD_USES_QC_TIME_SERVICES flag was enabled, which we used to set in the msm8974-common repo. Since the framework stuff hasn't been ported to O, TimeService.apk (along with its dependency) is now required. Change-Id: I0f87935f9d91ceac9bfaeabde2854661ebb5e0c0