Commit graph

212 commits

Author SHA1 Message Date
LuK1337
9fe3919db4 Revert "sdm845-common: sepolicy: Copy over public_vendor_default_prop rules from qcom sepolicy"
* No longer needed.

This reverts commit 8936a7fda0.

Change-Id: I64783f95497f1e6ff181113b7b751bd51867bfc8
2019-12-20 17:47:47 +01:00
LuK1337
c18bdcef2d sdm845-common: Drop qcacld bind mounts
* WiFi driver is now built-in.

Change-Id: If8d0489e851064838249f26e68f4bf5c58b1a97e
2019-12-20 17:47:47 +01:00
LuK1337
2624ff91d0 Revert "sdm845-common: Copy Android P VNDK blobs"
This reverts commit f80a7a0968.

Change-Id: If938e2e90cf1e5c38da5b786563adcdfa48393b0
2019-12-20 17:47:47 +01:00
Danny Baumann
7c6506557a sdm845-common: livedisplay: adaption -> widecolor
Change-Id: Id963f767adc9f1d023342a3a5e59c4aaec1a165f
2019-12-20 16:05:35 +01:00
Rashed Abdel-Tawab
e3b8932571 sdm845-common: Build kernel with clang
Change-Id: Ic799f96969548459ec2df3b6d6a1dbc41c6683e2
2019-12-20 16:05:35 +01:00
Marko Man
6ed3939611 sdm845-common: Disable oneplus_brain_service
Change-Id: Ia617de3cfabbfec7e7cf83c502c15eb10053076d
2019-12-20 16:05:35 +01:00
Danny Baumann
f403d143e7 sdm845-common: Disable CVP HAL
This isn't used on SDM845 and spams logs as it continues to try
to start.

Change-Id: I16928663232d5b4e9d005c60dfe080f9cc596d32
2019-12-20 16:05:35 +01:00
Luca Stefani
79173a0157 sdm845-common: Enable value added AOSP features
Change-Id: Id988dabcb97d38313d0e29b7aa87ec68418a9217
2019-12-20 16:05:35 +01:00
Luca Stefani
1cfaa070ec sdm845-common: Enable IWLAN assisted mode
Change-Id: I9bf9a4a2bc36867dd87ae43652bb5ebb84cc9bc3
2019-12-20 16:05:35 +01:00
LuK1337
c97bde19b3 sdm845-common: Update qti-telephony-common from DRG
* Funfact: the blob has been modified to not alter
  settings_network_and_internet_v2.

Change-Id: I2f7bbc5b1c028afca35c81b8d631c96417e3ecf9
2019-12-20 16:05:35 +01:00
LuK1337
cd87985dca sdm845-common: Update aptX blobs from crosshatch
* from crosshatch-user 10 QP1A.190711.020 5800535 release-keys

Change-Id: I8b2529297b9df383145779e9a3e2fe7b632b4782
2019-12-20 16:05:35 +01:00
LuK1337
cad7bf013a sdm845-common: Update blobs from OxygenOS 10.3.0
* Also pin P aptX blobs (they'll be updated in next patch)

Change-Id: I7d90dad4df10770d20818e683f2def428737af02
2019-12-20 16:05:33 +01:00
LuK1337
ba7e64f254 sdm845-common: Update device/qcom/sepolicy include paths
Change-Id: I5c242b8db7e92d753d19bf9c42f2394b9e6a0c6a
2019-11-19 12:34:40 +01:00
Brad Ebinger
18e8115c7c sdm845-common: Enable FEATURE_TELEPHONY_IMS for these devices
Bug: 118823723
Test: checkbuild
Merged-In: I69fd98160e852b371331a7bc169c7c97dd37f011
Change-Id: I69fd98160e852b371331a7bc169c7c97dd37f011
2019-11-19 12:34:40 +01:00
Sandeep Gutta
f89abaecef sdm845-common: Telephony: Add inject support for MultiSimSettingController
Add MultiSimSettingController class name to telephony_injection to
be able to creat proprietary extended instance.

Change-Id: Ie371001330a34eadab8b46fb2173e9a4f245b1a6
CRs-Fixed: 2475440
2019-11-19 12:34:40 +01:00
Sandeep Gutta
3423cb979c sdm845-common: Telephony: Move qti-telephony-common to product
Add qti-telephony-common.jar product path to inject xml

Change-Id: I0c9bb7c827589236c1231fec0cb2621c2a0e3032
CRs-Fixed: 2438412
2019-11-19 12:34:40 +01:00
Sandeep Gutta
fa1485640c sdm845-common: Telephony: Add telephony_injection file
Add telephony_injection file and required jar path, components.

Change-Id: Ia2e0d327c1eaed17cb229f1cfca62c6bda85d49b
CRs-Fixed: 2407245
2019-11-19 12:34:40 +01:00
Sumit Das
535b6c472d sdm845-common: FR53248: Android Q: Remove hidden API references in ims.apk
Add telephony-qti-utils libarary to product packages

Change-Id: Ie8651ebadc246c21bd5eb69ef060fe32d8f5f7c8
2019-11-19 12:34:40 +01:00
Wileen Chiu
41c4447e75 sdm845-common: Add support for telephony hidl wrapper
Change-Id: I4e248bb6de482d503e672d284189b24cafac8d20
2019-11-19 12:34:40 +01:00
Suresh Koleti
15cafdadd9 sdm845-common: IMS: decouple ims-ext-common from boot jars
-- Include ims_ext_common permission xml.

Change-Id: Ide3ecae57cc1909180c8d8f323aa31620e900888
CRs-Fixed: 2373721
2019-11-19 12:34:40 +01:00
LuK1337
6acb239dd7 sdm845-common: Update MAC randomization overlay location
Change-Id: Ib33d6f965019b5fbbaac9f0ee931f89addfc704d
2019-11-19 12:34:40 +01:00
Danny Baumann
2a60f4b011 sdm845-common: Adapt to Lineage sepolicy changes
device/lineage/sepolicy now also covers the system variant of the trust
HAL, so we must remove the respective definitions to not create
duplicate labels.

Change-Id: I4e8642072bde3c17f91688cfd8c91ac9db9dcaf7
2019-11-19 12:34:40 +01:00
LuK1337
60d417a52f sdm845-common: Start using vendor_overlay
* This lets us override files in /vendor without
  relying on bind mounts ^.^

Change-Id: Ib0b173682a48836aeac97e2c3691176a44f13aab
2019-09-29 14:29:37 +02:00
LuK1337
105677e43e sdm845-common: Update audio policy configuration
Change-Id: I93a44b238eb9092018b93429565035e0f2b153a0
2019-09-13 19:43:19 +02:00
Luca Stefani
88c063df79 sdm845-common: Dexpreopt everything
Change-Id: I65e8ce61e33256b2f2beecf390f6926b70920d02
2019-09-13 12:18:02 +02:00
Luca Stefani
596bd97aa0 sdm845-common: Update pinner files for Q
Change-Id: I46c9b23d9c01ab9c56edee1363ac7a5e331f7788
2019-09-13 12:18:02 +02:00
Luca Stefani
52523b4d21 sdm845-common: Enabled updateable APEX
Change-Id: Iae46cbf48ae5fbfa100e83e8d6ce19f225102cf3
2019-09-13 12:18:02 +02:00
LuK1337
b7127606f9 sdm845-common: Make SELinux great again!
Change-Id: Id479e031b584b24f79377aa244add20903a42b02
2019-09-12 19:11:57 +02:00
Michael Gernoth
1a7873d15d sdm845-common: Exclude AOSP NfcNci
* We use our own NFC app.

Change-Id: I5345fc03f45844bb10d629f100720e39fbbdf9ee
2019-09-12 19:11:57 +02:00
LuK1337
08c38d9b1f sdm845-common: Move bind mounts to post-fs
* Also bind mount regular audio_policy_configuration.xml

Change-Id: I979bb500ab36ec93e20a97cae7ac930c988b9a6d
2019-09-12 19:11:57 +02:00
LuK1337
02856bbb76 sdm845-common: Copy up to date handheld_core_hardware to system
* Vendor one is outdated and therefore we lose stuff
  like secure lockscreen...

Change-Id: I458867b3b322ad754b78877209b7f4d8fb78eb38
2019-09-12 19:11:57 +02:00
LuK1337
2d80176062 sdm845-common: doze: Update AmbientDisplayConfiguration class path
Change-Id: Ib0444acc1fd8614a9d47dbac06ac5f25cd6a5719
2019-09-12 19:11:57 +02:00
LuK1337
097077406f sdm845-common: Add tri-state-key_daemon to uhid group
Change-Id: I8d1dcd91bd560e0abe9488e2ecfcbf548259807e
2019-09-12 19:11:57 +02:00
LuK1337
56b2b205a4 sdm845-common: Let system read and write to FRP block device
* No clue why this is needed but ok.

Change-Id: Ib40ab18e42ced8995f57c9d0a8e1a6decdc7f146
2019-09-12 19:11:57 +02:00
LuK1337
f80a7a0968 sdm845-common: Copy Android P VNDK blobs
Change-Id: I4f2f48ca4810247b2b951de27b82da0769f7d1b1
2019-09-12 19:11:57 +02:00
LuK1337
7fdcbe8e69 sdm845-common: Don't build brillo_update_payload
* brillo_update_payload is a host package therefore
  we don't really need it.

Change-Id: I06bd7ea916d2652100cafe454bb2854d3e835cc9
2019-09-12 19:11:57 +02:00
dianlujitao
5f9c062db0 sdm845-common: Remove custom kernel cross compile prefix
Change-Id: Icc58f38fa2f66b833c73902d6733f84b77dcb575
2019-09-12 19:11:57 +02:00
Han Wang
bb58c0049f sdm845-common: Remove LOCAL_MODULE_TAGS := eng usage
Change-Id: I6dfb66adf5dcf5ecd650f192935818ff624de2e8
2019-09-12 19:11:57 +02:00
LuK1337
1832a7aa33 sdm845-common: Move PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE to common.mk
Change-Id: I2751014af71f222bd43e4bc17fc75d20499ea2f1
2019-09-12 19:11:57 +02:00
Hridya Valsaraju
29e2cde762 sdm845-common: Build bootctrl.sdm845 using Soong
This is required to build the recovery variant of the
same to be used by fastbootd.

Bug: 78793464
Test: make
Change-Id: I16eddcb853bda1a9969810f258884ebdbbfc1f5c
2019-09-12 19:11:57 +02:00
LuK1337
8937c5d867 sdm845-common: gpt-utils: Drop unnecessary include
* When using generated_kernel_headers including
  asm/byteorder.h will cause a warning due to
  unused static functions.

Change-Id: I2a74ec92487c13c4645048c96da8cb92b3cbd9f0
2019-09-10 04:20:20 +02:00
LuK1337
8972d3c504 sdm845-common: gpt-utils: Use generated_kernel_headers
Change-Id: Id56f1c0603ff13b5d64eb4db33807ac13dcdd619
2019-09-10 04:20:20 +02:00
Logan Chien
edf9d564c1 sdm845-common: gpt-utils: Replace libsparse.so with libz.so
This commit replaces sparse_crc32() with crc32() from libz.so because
libsparse.so won't be vendor available.

Bug: 38303202
Test: android builds
Change-Id: Ib318da74b5d55f729cbd40d9a62da53e6316fe7b
2019-09-10 04:20:20 +02:00
Tao Bao
3d44710fb6 sdm845-common: gpt-utils: Address the warnings
[ 11% 2/18] target  C++: libgptutils <= device/google/crosshatch/gpt-utils/gpt-utils.cpp
In file included from device/google/crosshatch/gpt-utils/gpt-utils.cpp:54:
system/core/libcutils/include_vndk/cutils/log.h:38:2: warning: "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h" [-W#warnings]
 ^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:750:17: warning: unused variable 'ufs_dir_stat' [-Wunused-variable]
    struct stat ufs_dir_stat;
                ^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:973:13: warning: unused variable 'r' [-Wunused-variable]
        int r, fd;
            ^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:973:16: warning: unused variable 'fd' [-Wunused-variable]
        int r, fd;
               ^
4 warnings generated.

Test: lunch blueline-userdebug && m -j libgptutils
Change-Id: Idd9174276d8a5b7b77c2ec48c745a78184f65fcf
2019-09-10 04:20:20 +02:00
Hridya Valsaraju
d83ed40ebd sdm845-common: Build libgptutils with Android.bp
This is required to build bootctrl.sdm845 with Android.bp.

Bug: 78793464
Test: make

Change-Id: Iff4f50ad363cc003d60a5380addd79749b547514
2019-09-10 04:20:20 +02:00
Anton Hansson
04056c3770 sdm845-common: Set cpu "runtime variant" to kryo385
This makes bionic and various art tools that compile/runs cpu-specific
code choose the kryo385 variant at runtime. It does not affect
build-time compilation.

Bug: 120773446
Test: bionic benchmarks with and without this change
Change-Id: I670c8acd094090135515688c5f057c2cc08a083f
2019-09-10 04:20:19 +02:00
Anton Hansson
e80a5ff054 sdm845-common: Use generic arch variant
Follow blueline which has not demonstrated any regressions
after switching to a generic arch variant.

Bug: 120773446
Test: make
Change-Id: I9e23963fcfa5ccaa912f2930a632458c4d2a692d
2019-09-10 04:20:19 +02:00
Artem Serov
4b52b64823 sdm845-common: Switch cpu variant to kryo 385.
Also switch to using armv8-2a for 32-bit build.

Related change:
https://android-review.googlesource.com/c/platform/build/soong/+/831260

Test: Pixel 3 builds.
Bug: 119564566
Change-Id: Iede5830093497abe753a34df3bc4913468be39d0
Merged-In: Iede5830093497abe753a34df3bc4913468be39d0
2019-09-10 04:20:18 +02:00
Christian Oder
a53ec793d1 sdm845-common: Update blobs to 9.0.8
* taken from OnePlus6-user-9-PKQ1.180716.001-1908012000-release-keys

Change-Id: I9163cfb6b8073fb41c78a38bc483a777f4a37ab9
2019-08-26 14:30:29 +02:00
LuK1337
b7b20467fa sdm845-common: sepolicy: Add FOD related rules
Change-Id: I8fd985bf4eab1747351f9e717cc33fa6d5ab1517
2019-08-24 10:44:09 +02:00