Commit graph

402 commits

Author SHA1 Message Date
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
LuK1337
9061ea5381 sdm845-common: Set TARGET_BOARD_PLATFORM and enable QCOM additions
Change-Id: Ife1f6bc16a3cc002789e6d96bfeb87bbf42c901c
2019-08-06 17:29:41 +02:00
Luca Stefani
b81c2b7b33 sdm845-common: Import CAF bluetooth overlay
Change-Id: If2f8b03515bc5e3c4ed89ef2b1a1a7128bd50015
2019-07-29 21:21:03 +02:00
LuK1337
5e3dd25224 sdm845-common: Allow wfd to use some privileged permissions
* OnePlus has these in privapp-permissions-oem.xml
  instead of privapp-permissions-qti.xml for some
  reason but I don't want to copy their entire OOS
  specific file.

Change-Id: I0b1785e9f83d440936397dd9efe4e503bd4cac7a
2019-07-25 19:05:22 +02:00
Bruno Martins
7cf5c4f256 sdm845-common: Doze: Migrate to androidx
Change-Id: Ifaa67283a3437549a2304088a0ce377b399da19f
2019-07-09 23:42:44 +02:00
LuK1337
e903d18b6f sdm845-common: Enable custom audio policy
* AOSP one doesn't let us change volume when
  listening to surround audio stream.
* Fixes : https://gitlab.com/LineageOS/issues/android/issues/904

Change-Id: Ic3cb04c6a61f3fb58180ef379a73f709087b64cc
2019-07-06 20:35:57 +02:00
LuK1337
ebc1b49e46 sdm845-common: pocketmode: Switch to android.os.FileUtils
Change-Id: I8879e0db3822c34ed173652355e4c29f24d5d644
2019-07-04 02:03:00 +02:00
Ethan Chen
c1aefb6361 sdm845-common: Use Soong namespace to avoid device build conflicts
Change-Id: Id04f464102264b6f2e8d49b39389c7e346613b39
2019-06-28 14:40:38 +02:00
Christian Oder
ed04289a98 sdm845-common: Update pinned blobs to enchilada OB21
* taken from OnePlus/OnePlus6/OnePlus6:9/PKQ1.180716.001/1906102300

Change-Id: Ieaa8489e45955383f0d9378f51359c8b0ef5d113
2019-06-26 21:01:24 +02:00
Christian Oder
f3af61404d sdm845-common: Unpin libwfdnative and patch it on the fly
Change-Id: Ia55cda25820e93f968999b17124e67415ddcb08e
2019-06-26 21:01:13 +02:00
Christian Oder
66caef52ae sdm845-common: Update ims blobs from daisy
* from xiaomi/daisy/daisy_sprout:9/PKQ1.180917.001/V10.0.9.0.PDLMIXM

Change-Id: Ief02c17d3e71e2bbdaa499c1fd8be18c6d0502aa
2019-06-26 21:01:06 +02:00