Hikari-no-Tenshi
0b8a9ede05
Revert "sm8150-common: fod: Add optional HBM toggle"
...
This reverts commit 3621940f67
.
2020-01-06 14:14:24 +01:00
Hikari-no-Tenshi
3621940f67
sm8150-common: fod: Add optional HBM toggle
...
* Needed for 7/7T/7T Pro.
Change-Id: Ia5b9c5e9551bf8142e063c656eb93617c727f7ac
2019-12-27 17:20:11 +01:00
LuK1337
e66432ebbe
sm8150-common: Move BOARD_USES_RECOVERY_AS_BOOT to guacamole
...
Change-Id: Id00b03f938a92594e2baea33a6502e64975033cb
2019-12-27 17:20:11 +01:00
LuK1337
17f77b5672
sm8150-common: Move TARGET_NO_RECOVERY to guacamole
...
Change-Id: Ieaef4e360262ea5068cea5c25844100cf3d19a18
2019-12-27 17:20:11 +01:00
LuK1337
fce85fa1cc
sm8150-common: Remove no longer needed rootfs symlinks
...
Change-Id: I3eefcdedd2a041dec9186a1ca8c3c3007663d395
2019-12-27 17:20:11 +01:00
LuK1337
7f4db2bcff
sm8150-common: Remove /odm root folder
...
Change-Id: I13f098b04aa7cc2bab1a9f1e28da72bec9913f05
2019-12-27 17:20:11 +01:00
LuK1337
49c3090999
sm8150-common: Add support for dynamic partitions
...
Change-Id: I5eee1463cc68b086ef03223d66e6382d7d0aa296
2019-12-27 17:20:11 +01:00
LuK1337
2b3717f70f
sm8150-common: Yawn out permissive SELinux
...
* It has been mostly working for a long time.
Change-Id: I72226daf07229fda459041d0f31ddecd3f84720c
2019-12-27 17:20:11 +01:00
LuK1337
cc274a9f4b
sm8150-common: Set TARGET_USES_PRE_UPLINK_FEATURES_NETMGRD := true
...
Change-Id: I2e5f63f3cb688f3d141fa9123f3a6e91b6294157
2019-12-27 17:20:10 +01:00
Peter Cai
58d5ca25c3
sm8150-common: sync vendor security patch with OOS 10
...
Change-Id: Ia157b1d7868f0a431bf988e4b4b0b095656da853
2019-10-12 12:34:50 +08:00
Peter Cai
a93cecb2c0
sm8150-common: update vendor blobs from OOS 10 OB2
...
* Updated all blobs from OOS 10 OB2.
* Ramdisk is not fully synchronized, but necessary changes are made to
support the new blobs.
* Device manifest has been updated to match the new blobs. However,
clean-ups might be needed due to some vendor changes.
* SELinux permissive is flipped on for now until all the new denials are
addressed.
Change-Id: I8e0e72445da8ecab1c4e85735ebfcabc5ff2ed7b
2019-10-11 13:02:27 +02:00
Anton Hansson
1433f80dcd
sm8150-common: Set cpu "runtime variant" to cortex-a76
...
This makes bionic and various art tools that compile/runs cpu-specific
code choose the cortex-a76 variant at runtime. It does not affect
build-time compilation.
Bug: 120773446
Test: bionic benchmarks with and without this change
Change-Id: I670c8acd094090135515688c5f057c2cc08a083f
2019-10-06 19:59:40 +02:00
Anton Hansson
9a82afff48
sm8150-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-10-06 19:59:40 +02:00
Luca Stefani
1af66580cd
sm8150-common: Set target CPU variant to cortex-a76
...
* This will generate code optimized for A76/A55 big.LITTLE
Change-Id: Ice35be266ddc9c8825c3c5fbec6ec577c0dd95fc
2019-10-06 19:59:40 +02:00
Dan Willemsen
db379db24f
sm8150-common: Mark as having overridden commands
...
To allow turning these into errors on other devices, and incrementally
fix these issue, set BUILD_BROKEN_DUP_RULES.
Bug: 77611511
Test: check out/soong.log
Change-Id: I3b8f29f0f9e2ad445e72c65e7688b109817dcff3
2019-10-06 19:59:40 +02:00
Peter Cai
b4e29240f1
sm8150-common: Remove qcom bootctrl flag
...
Change-Id: I7d15164bb1a00f0df8a2c36cc364dc6cd9d744d9
2019-10-06 19:59:40 +02:00
Luca Stefani
0fee76b396
sm8150-common: Enabled updateable APEX
...
Change-Id: Iae46cbf48ae5fbfa100e83e8d6ce19f225102cf3
2019-10-06 19:59:40 +02:00
Luca Stefani
12b47d467b
sm8150-common: Set target cpu to cortex-a75
...
* cortex-a75 now fallbacks to cortex-a55, our LITTLE core
Change-Id: I32633ea8856785042a03617199b7ff2e25fe53af
2019-09-27 11:43:57 +02:00
Shashi Shekar Shankar
d44c5f5964
sm8150-common: cortex-a75 should use armv8-2a architecture
...
cortex-a75 should use armv8-2a architecture.
Change-Id: If51bf1b5a242833417554ce11bb9007558c4a3d9
2019-09-27 11:37:29 +02:00
LuK1337
81f811438a
sm8150-common: Override vbmeta version in kernel cmdline
...
* Somehow OnePlus bootloader stops reporting everything about
vbmeta after flashing a disabled image, so we need to set
the version of it here to ensure runtime vs. compatibility
matrix check won't fail on OTA.
Change-Id: Ia26a84cb38e2f03025809a3ec52587481a6d8217
2019-08-27 18:39:45 +02:00
Ashwin R C
74a19f0c7c
sm8150-common: Set TARGET_BOOTLOADER_NAME to msmnile
...
* Stock vendor image sets ro.product.board=msmnile.
Change-Id: I7380610b96fdf6ed4b06188229ff05bdb369475f
Signed-off-by: Ashwin R C <ashwin2001achu@gmail.com>
2019-08-12 18:38:12 +02:00
Wang Han
fcd9f7088a
sm8150-common: Enable audio features for sound FX libraries
...
Change-Id: I309f41db19e60674a225438e676943f2145a5d2e
2019-08-08 21:10:50 +02:00
LuK1337
9366a0819f
sm8150-common: Unset BOARD_VNDK_VERSION
...
Change-Id: Ie9e8615eb7fe186dbb595fc3fa0d2bfc013b5d47
2019-08-05 21:06:30 +02:00
Han Wang
9a152d5d26
sm8150-common: Enable TARGET_USES_DISPLAY_RENDER_INTENTS
...
Change-Id: Idb764aee4380d9892ead2af832a5d236552211d8
2019-07-31 11:16:14 +02:00
LuK1337
5ef588c7bb
sm8150-common: Enable triple buffering as per CAF config
...
Change-Id: I7432678a56887eed6b2b979484510bbdfa470faf
2019-07-31 11:15:23 +02:00
Ethan Chen
7dd985a554
sm8150-common: Drop custom display flags
...
* TARGET_USES_NEW_ION_API, TARGET_USES_OVERLAY and
USE_OPENGL_RENDERER are largely deprecated.
Change-Id: If2892c83726c3558a96b28a8404f49982ebb9ba0
2019-07-31 11:11:55 +02:00
LuK1337
74200ccb93
sm8150-common: Build most of display HAL stack from source
...
* TODO: figure out why oss hwcomposer and sdmcore does not work.
Change-Id: I8a276230b28f48ad38f4bd92d56742850d71aae1
2019-07-29 19:34:57 +02:00
LuK1337
157d73f409
sm8150-common: Switch to enforcing
...
Change-Id: I74855e483a80c3be5096c815f4c15c38e66b340e
2019-07-17 23:19:49 +02:00
Peter Cai
8c8601125f
sm8150-common: sensors: use soong config instead of properties
2019-07-15 12:24:51 +08:00
LuK1337
419276477d
sm8150-common: Adjust debugfs paths for power HAL
...
Change-Id: Ia796ba67918d3fdd82f10d423b86706323127dcb
2019-07-12 19:09:27 +02:00
LuK1337
c5a654eb06
sm8150-common: sepolicy: Address binder related hal_sensors_default denials
...
* Also enable PRODUCT_FULL_TREBLE_OVERRIDE to bypass
SELinux treble tests since we are violating treble
rules now.
Change-Id: I314946bffa9bdfc99881927b4f74b5c42b3eb021
2019-07-11 19:27:19 +02:00
LuK1337
a97629d004
sm8150-common: Use kryo300 for ARM64
...
Change-Id: I52749fd0ef276bc11fd2f87d3d158b4ecd972ce1
2019-07-09 00:36:43 +02:00
LuK1337
3747e04733
sm8150-common: sepolicy: Address camera motor related denials
...
Change-Id: I08a5811f748aa322896ed1005eea353c8f0a9758
2019-07-08 11:38:45 +02:00
LuK1337
da40640ef3
sm8150-common: sepolicy: Label camera helper app
...
Change-Id: I733ace8aa5a3c78322265e8f91ac6c3d522b0ef8
2019-07-07 23:35:11 +02:00
LuK1337
182487c2ad
sm8150-common: Use device/qcom/sepolicy
...
Change-Id: I8064593caab0e057724fec74d072a63217282651
2019-07-04 20:54:02 +02:00
LuK1337
993287d22a
sm8150-common: Set partition sizes
...
* These will allow us to use device/qcom/sepolicy
in the near future.
Change-Id: I6aa8daac3d3e795e798c9cfa4a46d1a3246367cc
2019-07-04 20:42:44 +02:00
LuK1337
37551a6817
sm8150-common: Clean up device layout
...
Change-Id: Icee155f555f2280092fe7d82c216a47366cfb434
2019-07-04 01:42:26 +02:00
LuK1337
0f1e326a5f
sm8150-common: Get rid of framework_*.mk
...
Change-Id: I89db15b83564fc7fc0081afbc1b53b7a1caa46aa
2019-07-02 23:49:15 +02:00
LuK1337
a2891a4c46
sm8150-common: Update dt2w node
...
Change-Id: Iaa24fb587952952e30d51e4f5a738e39d26909bf
2019-07-02 22:59:03 +02:00
Peter Cai
aa2a51329d
sm8150-common: fod: prettify soong variables
2019-07-02 18:28:12 +08:00
Peter Cai
f36ea1ade1
sm8150-common: fod: implement position / size interface
...
* pass the position and size as SOONG_CONFIG_ variables. see guacamole
tree for example.
2019-07-02 14:52:47 +08:00
Ethan Chen
6d20c7365c
sm8150-common: Use Soong namespace to avoid device build conflicts
2019-06-29 08:17:35 +08:00
Peter Cai
b38c4814dd
sm8150-common: fix double-tap-to-wake
...
* Added a kernel interface at `/proc/touchpanel/gesture_dt2w` for easier
interaction with power HAL.
* Add parameter to OSS power HAL to use this interface
* Added keycode for touchpanel to wake up the device
* TODO: Maybe add support for more touchscreen gestures?
2019-06-28 20:14:29 +08:00
Peter Cai
382d8fee8d
[WIP, DO NOT MERGE] sm8150-common: build vendor image
...
* Initial full vendor building. Do not merge, does not boot.
2019-06-24 21:32:23 +08:00
Peter Cai
529ec479f0
sm8150-common: commonize
...
* guacamole and guacamoleb share a lot of common configurations. Put
them all in a common tree.
2019-06-24 12:12:35 +08:00