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
LuK1337
a871fa7e4f
sdm845-common: Don't advertise vorbis offloading support
...
* Doesn't work at all.
Change-Id: I8cd6341b240c3820dbbdef497e23e785b6ed99dc
2019-06-24 22:05:56 +02:00
LuK1337
d50c6c07ab
sdm845-common: sepolicy: Transition pocketmode app to its own domain
...
Change-Id: Id87176c2430e49851a6c65ab3490ad59ea1764a2
2019-06-19 19:24:59 +02:00
Pranav Vashi
5fc97900ac
sdm845-common: Enable Wi-Fi MAC randomization
...
Change-Id: Ibcabf871f0e35a6f81905392f749478f96b3c47d
2019-06-19 11:33:05 +02:00
LuK1337
31600d1e52
sdm845-common: Write to otg_switch node in our own init script
...
* Not sure why but /vendor/etc/init/hw/init.oem.rc property
listeners aren't getting triggered thus I'm moving it here
as it's not really worth figuring out.
Change-Id: I5b3d17745fbc086fbd560cfc122dada7b4b98272
2019-06-18 03:25:47 +02:00
LuK1337
031d6ba43a
sdm845-common: Switch to common Trust HAL implementation
...
* OnePlus's OTG switch sysfs doesn't act the same as
'deny_new_usb' node breaking OTG entirely in some
situations.
Change-Id: I4f67d5cec5ded72ee835bfed9d34407eba1612d1
2019-06-18 03:25:14 +02:00
LuK1337
702507f7c0
sdm845-common: Fix restoring default LiveDisplay mode
...
* Call DisplayModes::setDisplayMode(modeID, false) in the constructor
* Move sysfs nodes chown/chmod to from 'on boot' to on init' so that
they have proper perms right away.
Change-Id: I51ee19136688f83703e85b76d5219e5a567bbaa3
2019-06-17 14:23:24 +02:00
LuK1337
f0e0e8184e
sdm845-common: Move LiveDisplay HAL default profile path to /data/misc/display
...
* /data/display does not exist and we are unable to allow
writing to /data/system since it's a neverallow. Instead
we are creating /data/misc/display which coredomain is
allowed to write to.
Change-Id: I1198c61177b75fd2ad460aafab5f2d5010b2ca63
2019-06-17 14:23:00 +02:00
LuK1337
4875e13d6a
sdm845-common: sepolicy: Allow LiveDisplay HAL to write to its sysfs tunables
...
Change-Id: If0a80437547ee9e93312d26fbcdd8cbd901978e8
2019-06-17 14:20:51 +02:00
LuK1337
b687e1a04f
sdm845-common: sepolicy: Drop unnecessary HAL rules
...
* coredomain can write to binder device without granting anything.
Change-Id: Ie657d1e79702b557f00376d31f87d33e104eaf3d
2019-06-17 11:09:51 +02:00
LuK1337
92fc5501e5
sdm845-common: Update ssr restart level prop
...
Change-Id: Icaca77128671f1b0180cc3315f062f3f123f8b04
2019-06-15 15:40:37 +02:00