Commit graph

402 commits

Author SHA1 Message Date
Luca Stefani
11b69a1f0c sdm845-common: Update audio policy configuration to match P
Change-Id: I2696213354167443e9442f8d29c1d1c11427a57d
2018-12-24 22:35:43 +01:00
Luca Stefani
922b46d9f1 sdm845-common: Build only 64bit power hal
Change-Id: I3dd347b6fa66bbb82224adf9081d1512920263da
2018-12-23 20:20:00 +01:00
Danny Baumann
b7f7fa2a3f sdm845-common: Properly label display control files
Additionally, allow system_server access to them.

Change-Id: I12ceb3970460282d10b240e8a12207e2fd3ca882
2018-12-23 20:18:42 +01:00
Luca Stefani
066ab27624 sdm845-common: Switch back to vendor HWComposer
* Starting from Open Beta 6 we can use OP HAL

Change-Id: I11f62cee8bd512c928724f385b4851b0504b753d
2018-12-23 20:17:39 +01:00
Erik Kline
80539d3208 sdm845-common: Use tether automatic upstream selection
(config_tether_upstream_automatic=true)

Test: as follows
    - built, flashed, booted
Bug: 32163131
Bug: 62648872
Bug: 63282480
Bug: 110118584
Bug: 110260419

Change-Id: I604cda53d6d37a33de3e3ccc65c0da781d21278b
2018-11-13 22:15:45 +01:00
Jorim Jaggi
b24594c0d7 sdm845-common: Pin HOME application
Test: adb shell dumpsys pinner after boot
Bug: 111132016
Bug: 78585335
Change-Id: I4ed0587ae5348bbe03ad9ac5f1c5b1726dbb8246
2018-11-13 22:15:34 +01:00
Luca Stefani
9dbff962fe sdm845-common: Set target cpu to cortex-a75
* cortex-a75 now fallbacks to cortex-a55, our LITTLE core

Change-Id: I32633ea8856785042a03617199b7ff2e25fe53af
2018-11-13 22:13:16 +01:00
Luca Stefani
dd8fab4df5 Revert "sdm845-common: Override AVB version in kernel cmdline"
* As of 78934c9 (change-id: Ie1efa6f1abd8fa8f495aededd145c0ab2c0c1fae)
  in frameworks/base if treble is enabled AVB check is skipped.

This reverts commit 6c408b0c2e.

Change-Id: I999d3cda434b21c9dc9d6d08c5b646cb61f778ca
2018-11-07 22:27:33 +01:00
Udaya Bhaskara Reddy Mallavarapu
880a57acbf sdm845-common: Enable 64 bit DRM plugins compilation
Enable 64 bit compilation for DRM plugins.
This will generate DRM plugins, HALs & oemcrypto_test in 64 bit.

Change-Id: I451db39edea3446d9816fcaba77caa8d3b097afb
2018-11-04 14:57:07 +01:00
Luca Stefani
ecd5acbbf9 sdm845-common: Update CarrierConfig overlay to P
Change-Id: I5445e069780bf8d1fc46b481544bb722498d3032
2018-11-04 14:56:57 +01:00
Luca Stefani
c40f9a7756 sdm845-common: Add missing qti permissions
* qti_libpermissions.xml is used by qcrilmsgtunnel
* qti_permissions.xml new perms are used by ims.apk

Change-Id: Ifced0869228ee49f3f8ec01c5398e201b93b7101
2018-10-31 19:14:47 +01:00
Luca Stefani
376b9bba32 sdm845-common: Update custom HWComposer for P
* CAF tag: LA.UM.7.3.r1-05500-sdm845.0
* Remove support for color profiles
  -> https://gist.github.com/d70bc5984b0212bb76da91fc472ecf82

Change-Id: I064a92e870899f4dd7254a13d4ba5c39d3acfda9
2018-10-27 15:25:56 +02:00
Luca Stefani
b13cd82641 sdm845-common: Remove android.hidl.base
* P vendor doesn't require it anymore

Change-Id: Ie5ffb4b71ae62b772e0f94cc4ec777f2fcf9b6a7
2018-10-17 16:03:47 +02:00
rago
ba90d97f83 sdm845-common: Set voice call volume steps to 7
Bug: 28426597
Change-Id: Icf78d9acec75c500982b1e4391af4d6f3933da37
2018-10-17 16:03:32 +02:00
Jean-Michel Trivi
9ab37ec48d sdm845-common: Media volume: from 15 to 25 steps
Test: play media, use all 25 vol steps and observe varying attenuation
Bug: 32195657
Change-Id: I7ac87df0b2b15de3a7bb87e739bd88ef7b185236
2018-10-17 16:03:07 +02:00
LuK1337
047997a3be sdm845-common: Unset PRODUCT_FULL_TREBLE_OVERRIDE
* It's not needed since it's automatically set for any devices
  shipped with 26+.

Change-Id: I59e17fe3774af63dbea424be6206b77e0e6050ba
2018-10-14 14:48:34 +02:00
LuK1337
9fce32e23e sdm845-common: Move product_launched_with_o_mr1.mk inclusion to enchilada
* Obviously OP6T isn't going to launch with 8.1 therefore
  we got to move it to enchilada.

Change-Id: Ifec5e0ed00e751d9a9fdb945ddbd3054792bb3c6
2018-10-14 14:48:34 +02:00
Luca Stefani
4bce2e15f6 sdm845-common: Remove IOP system libs
* We now have runtime isolation enabled

Change-Id: Ie35d06e86fb3f2e7d42c9fc9d506458c2acd55d5
2018-10-14 14:34:09 +02:00
Luca Stefani
67c854d7f1 sdm845-common: Remove unneeded xml permissions
* These don't exist in P anymore

Change-Id: I5746b02c107de315a4c6c0eb6aeb1ef54c111037
2018-10-14 14:34:09 +02:00
Luca Stefani
790fc7c7d9 sdm845-common: Add missing power_supply genfscon rules
Change-Id: I8d6716ce364891483701f38bcc855d84249154fd
2018-10-14 14:34:09 +02:00
LuK1337
4b1d9b429e sdm845-common: Allow appdomain to get vendor_camera_prop
* Some apps rely on this and won't work properly if they
  can't read this property. See ~ Snapchat.

Change-Id: I737e28f038941e6d18b96ff512f29dbe0ad7b7e4
2018-10-14 14:34:09 +02:00
LuK1337
602b987857 sdm845-common: Add aptX blobs
* For some reason they decided to move these back to /system.

Change-Id: I1ec1b7744484240386fc7c4594e418f4e9c0b1f0
2018-10-14 14:34:09 +02:00
LuK1337
788f9b7522 sdm845-common: Allow hal_usb to read and write to sysfs_oem
Change-Id: I29187ad7844b953e63e356c405f4a18e107d902b
2018-10-14 14:34:09 +02:00
LuK1337
977444af69 sdm845-common: Load A2DP configuration from a2dp_audio_policy_configuration.xml
* CAF configuration doesn't really work for us.

Change-Id: Ib062430f9005a67354e2352a81fffd8cadc3c7cf
2018-10-14 14:34:09 +02:00
LuK1337
1272127b9a sdm845-common: Bind mount our own audio policy configuration
Change-Id: I830b0488d34f76169bceb33503eb701b3dfbfd27
2018-10-14 14:34:09 +02:00
LuK1337
25e29b6576 sdm845-common: Allow system_app to getattr on sysfs_fpc_proximity
* Required for pocketmode app.

Change-Id: I085839a449529d12cb3911ebfbab97f8e1ef155f
2018-10-14 14:34:09 +02:00
Bruno Martins
a92b254623 sdm845-common: Adapt for local LineageHW java overlays
Change-Id: Icb2b9810217f4b4d442ab83a16f455bd2ed82071
2018-10-14 14:34:09 +02:00
Christian Oder
86d08a2231 sdm845-common: Define DTBOIMG Size
Change-Id: I2049fe6ac4eca6061a1df22630d0708b7a81fc08
2018-10-14 14:28:13 +02:00
Christian Oder
cb2b662a34 sdm845-common: Build disabled VBMeta image
Change-Id: I381feef8f6fefc8449ca50d85d704b67bcc8a77e
2018-10-14 14:28:13 +02:00
Luca Stefani
df8cb508a7 Revert "sdm845-common: Provide our own vbmeta image"
* P firmware allows us to use an empty image

This reverts commit 0b10e12ab6.

Change-Id: I1bf5af932f9fe46f83cc547c57c70351138702ea
2018-10-14 14:28:13 +02:00
Mathieu Chartier
9178bcd59b sdm845-common: Fix shared vdex name
The files in arm/arm64 are symlinks and pinning symlinks is not
supported. Pin the target vdex file intead.

Bug: 73990433
Test: manual
Change-Id: I313e1f53487c0a21b615f65dc64c21a1ecb4b7d5
2018-10-14 14:28:13 +02:00
Luca Stefani
efb158ad45 sdm845-common: Update tether overlays
Change-Id: I2a4226b9f3affa2b44b58933205ad8e2ec6f7afb
2018-10-14 14:28:13 +02:00
Lucas Dupin
b2c61d2e43 sdm845-common: Renamed config_dozeAfterScreenOff
New name is config_dozeAfterScreenOffByDefault
Bug: 73178121

Change-Id: Ie3d1ea5a2cc480655592bf6e49b37f5ea07f3f58
2018-10-14 14:28:13 +02:00
LuK1337
6e02427beb sdm845-common: Fix lights HAL denials
* OnePlus decided to label these sysfs_oem for some reason.

Change-Id: I4f9012d1583d5d9068751f273b3aa1537c2ce540
2018-10-14 14:28:13 +02:00
LuK1337
1207730aa7 sdm845-common: sepolicy: Allow init to chown/chmod on pseudo files in /sys
Change-Id: Idf9cca465b9db3cfc9714ce170c5bf965968f79d
2018-10-14 14:28:13 +02:00
Anton Hansson
647531678e sdm845-common: doze: Set LOCAL_PRIVATE_PLATFORM_APIS
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Bug: 73535841
Change-Id: I61299717ab2a6a1fd9a14dde7e1c7961388f722a
2018-10-14 14:28:13 +02:00
Anton Hansson
d870ab5f1c sdm845-common: KeyHandler: Set LOCAL_PRIVATE_PLATFORM_APIS
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Bug: 73535841
Change-Id: Iabb0556dc1c80c7fc7f6c76d61d5e441b03cdce0
2018-10-14 14:28:13 +02:00
Luca Stefani
87734e04e8 sdm845-common: pocketmode: Add local FileUtils
* We don't really need lineageos sdk for one class

Change-Id: I5e06015c8ea65399bb3643183dd17641ca0d3ad7
2018-10-14 14:28:13 +02:00
Luca Stefani
73fc78d463 sdm845-common: Set 2nd CPU variant to cortex-a75
Change-Id: Icfcc4083f827a7a5ed83a05ec526feabac7ea57b
2018-10-14 14:28:13 +02:00
Luca Stefani
c26b6ced39 Revert "sdm845-common: overlay: Set higher status bar height"
* These props aren't working anymore, we must use the drawable overlay

This reverts commit 903b01d6f5.

Change-Id: I0ff95397a455840b4470bdf9a4b17258a9a5feeb
2018-10-14 14:28:04 +02:00
Luca Stefani
c114f9c532 Revert "sdm845-common: Adjust SystemUI layouts to compensate for notch."
* We're in P now

This reverts commit feb2b339bc.

Change-Id: Ic9ae02bbb1c4948b1152ffbce1bd51f2acbb02c0
2018-10-14 14:26:52 +02:00
Luca Stefani
9f04a3ff7f sdm845-common: lights: Update service entry for P
Change-Id: I3f557e1c2fc774e11326e0dc769fc7d25852d819
2018-10-14 14:26:52 +02:00
Luca Stefani
9248c23278 sdm845-common: Update media_profiles to P
Change-Id: I19fdf3b985d7d17c26a7c2fa52c594ca41fe6922
2018-10-14 14:26:52 +02:00
Luca Stefani
6de237d27b sdm845-common: Update some props for P
Change-Id: I02aa4ca0aded317d300ca3f03aecc0d03473f043
2018-10-14 14:26:52 +02:00
Luca Stefani
ec1f45e813 sdm845-common: Don't build vndk_package
* It's built by default if vndk is set to current

Change-Id: I2a00446046bafe265e5ac894656abc72514319d8
2018-10-14 14:26:52 +02:00
Luca Stefani
7bd8d2a26a sdm845-common: Update extra rootdir folders/symlinks for P
* Also update fstab.qcom to match these changes

Change-Id: I860bdec8a28b210a6bb2f155acce4bae18922e36
2018-10-14 14:26:51 +02:00
Luca Stefani
88d901fc67 sdm845-common: Enable vndk runtime isolation
Change-Id: I63f9fe3305490f764e74d21f505a8aca9ff687f1
2018-09-02 21:41:28 +02:00
Luca Stefani
0ca653ce15 sdm845-common: Update cmdline for P vendor
Change-Id: I67c9cbe6259df93a847d2f9cb99f7167b9835b99
2018-09-02 21:41:28 +02:00
BtbN
3f1b8156d3 sdm845-common: Add dependency on oneplus sdm845 kernel
Change-Id: Icbdd4a4df0765077c7294a0ca3e7c3ebed2fc042
2018-08-29 20:39:25 +02:00
Luca Stefani
c6f1c498c4 sdm845-common: Build dtbo
* Also add it to A/B list

Change-Id: Id7eca5ab0f62874fd69c58e6e0985d9826c735d8
2018-08-19 19:44:56 +02:00