Omkar Chandorkar
c5b7fc568b
sm8150-common: enable SecureElement only for sku_3
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-05 07:54:03 +05:30
Omkar Chandorkar
253e93dace
sm8150-common: switch to unified bdroid header
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-05 07:53:54 +05:30
ghostrider-reborn
cc07ff97fd
sm8150-common: Switch to LLVM tools for kernel build
...
* Required for building kernel with RELR relocations,
as binutils doesn't support this and throws errors like:
aarch64-linux-gnu-nm: vmlinux: unknown type [0x13] section `.relr.dyn'
aarch64-linux-gnu-nm: .tmp_vmlinux2: unknown type [0x13] section `.relr.dyn'
arch64-linux-gnu-objcopy: vmlinux: unknown type [0x13] section `.relr.dyn'
aarch64-linux-gnu-objcopy: Unable to recognise the format of the input file `vmlinux'
Change-Id: Idf9ad8595027e99c3f8156a830b8825902066262
2021-04-05 07:53:33 +05:30
Jake Weinstein
ccd17b4bcd
sm8150-common: Add init script to set properties per variant.
...
* Adapted from LineageOS.
Change-Id: Ief5d98e41a5808d057096b25a6e743e608660e12
2021-04-03 06:57:42 +05:30
Hikari-no-Tenshi
e140de117f
sm8150-common: Add product audio props
2021-04-03 06:57:34 +05:30
Omkar Chandorkar
5640594fdb
sm8150-common: switch to LOS kernel
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-03 06:56:59 +05:30
LuK1337
d0cbf9fcc7
sm8150-common: /{op1,op2} -> /mnt/vendor/{op1,op2}
...
Change-Id: I9de1b8fec80b18af959abc767d2ead833f1b0625
2021-04-03 06:56:32 +05:30
dianlujitao
5c9d522519
sm8150-common: Switch to QTI bt stack
...
Change-Id: I47016b066ae800d0071dbad6a1235cbc9db3cf80
2021-04-03 06:56:30 +05:30
LuK1337
fb250f82ed
sm8150-common: sensors: Bring back naruto light support
...
Also drop full treble flag as we are no longer
violating Treble SELinux tests.
Change-Id: If6802dc13c3ac56fa2e5cd032f3daad71958bffb
2021-04-03 06:56:29 +05:30
Han Wang
e7267bf6e7
sm8150-common: Correct TARGET_RECOVERY_PIXEL_FORMAT
...
Change-Id: I4c397d787aaddf02254f750298ffcde64269d386
2021-04-03 06:56:23 +05:30
Bruno Martins
2f709f39e9
sm8150-common: Remove deprecated telephony flag
...
The custom jar is dead for good in Android 11.
Change-Id: I7f0f7afd186b00f01183bf4479092d03897e074a
2021-04-03 06:56:20 +05:30
Jimmy Chen
9e6a31f3c5
sm8150-common: Move supplicant service init to wpa_supplicant
...
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2021-04-03 06:56:19 +05:30
Tao Bao
620943d218
sm8150-common: AB_OTA_UPDATER is BoardConfig variable.
...
Bug: 130433003
Test: TreeHugger
Change-Id: I70c7a884df45781e8b14339edd02985ba3de02fd
2021-04-03 06:56:18 +05:30
LuK1337
eb4b31c557
sm8150-common: Import OOS 11 changes
...
* Redo blobs list based on OnePlus sm8250-common
* Retire lights HAL
* Retire custom sensors HAL for time being
* Reimport rootdir
* Reimport seccomp
* Update audio configs
* Update priv app perms whitelist
* Update properties
* Update sec_config
* Update wifi configs
Change-Id: I2b56f03c1d3e4d0d9693d82e96e8501695ebfd74
2021-04-03 06:53:28 +05:30
LuK1337
1cf32738cd
sm8150-common: Update qcom sepolicy include
...
Change-Id: I7167575e82eb8c5de2d822643261757edda73a07
2021-04-03 06:48:54 +05:30
Yifan Hong
1040a750c2
sm8150-common: Replace BOARD_CHARGER_ENABLE_SUSPEND with ro.charger.enable_suspend
...
Test: charger mode
Bug: 124118169
Change-Id: I3825d08e38d677bd7154879609857de302348b6f
2021-04-03 06:48:47 +05:30
Arian
b3e1afe586
sm8150-common: Build libplatformconfig from source
...
Change-Id: I8b4f2272ee47f7652c21918792d9fb72c7018db6
2021-04-03 06:47:23 +05:30
Scott Warner
a56c51f7ad
sm8150-common: Update vendor security patch
...
OxygenOS 10.3.6 updates the patch level
Change-Id: Ife3f955ac980f74dae9b1301cb34f831cb5e43dc
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-11-21 13:30:04 +05:30
LuK1337
a7b7e2e911
sm8150-common: Move some partition flags to devices
...
Change-Id: I4fb0e9f3c0137584e99891d8b5b762382cd34901
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-09-08 22:00:32 +05:30
Scott Warner
f8ef23f8e8
sm8150-common: Update vendor security patch
...
OxygenOS 10.3.4 updates the patch level
Change-Id: If453e7c776a9da56e9dd003768d2cfaad349c8fb
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-09-08 21:58:59 +05:30
Michele Bono
108f82974a
sm8150-common: Switch to libfod extension
...
Decompiled stock libsurfaceflinger.so to get Z values from OPFingerprintView
and OPFingerprintVDpressed functions
Change-Id: I23b1af50a37cda342b1b119b792f1216e2ab0a0b
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-08-11 17:51:48 +05:30
LuK1337
9b89a79cdf
sm8150-common: Include dtbo in recovery image
...
* This allows us to drop dependency on dtbo partition
being in sync with recovery.
* Test: fastboot erase dtbo && fastboot boot recovery.img
Change-Id: Id0b36db9634ba7b20143c247c68da5d31891fce1
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-07-11 04:09:16 +05:30
Ashwin R C
627a09129f
sm8150-common: Update VENDOR_SECURITY_PATCH
...
* Now that ASB has been merged we don't have to worry about
rollback protection.
Change-Id: Ibc81ffe98beb28055868a60aa590cb788958a85b
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-05-28 17:50:09 +05:30
Anirudh Gupta
8f053ef9c5
sm8150-common: BoardConfig: Use latest clang to compile kernel
...
Requires: https://review.aosip.dev/c/AOSIP/platform_vendor_aosip/+/12107
Change-Id: I3de8abfd380799b05dd494012a54cf5142d005cf
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-05-02 14:30:10 +05:30
Anirudh Gupta
22bc804d0b
sm8150-common: BoardConfig: Switch to IllusionKernel
...
Signed-off-by: Anirudh Gupta <anirudhgupta109@gmail.com>
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-05-02 14:11:00 +05:30
Anirudh Gupta
c92ef59154
sm8150-common: Split vendor_props into {odm,vendor}.prop
...
Change-Id: I03a3529ebe36486534e83643bd1d1184de5c0b12
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-05-01 13:30:52 +02:00
Luca Stefani
4671233bfb
sm8150-common: Move soong namespaces to common.mk
...
* This is a product property
Change-Id: I411428687839fca7c794d488bb48e5f1773e570b
2020-04-03 10:58:21 +02:00
LuK1337
cb9a727500
sm8150-common: Unset BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED
...
* Not needed.
Change-Id: Id9fe5b5dd57a755e489703fb564d75c51df4d61d
2020-02-25 14:46:58 +01:00
LuK1337
494cde4240
sm8150-common: Workaround soong namespacing issue
...
Change-Id: I2d93be5b1b560d33fbf0454da5c6b036343dc14e
2020-01-31 16:57:49 +01:00
LuK1337
d149c58160
sm8150-common: Build odm.img on devices without dynamic partitions
...
Change-Id: I03e5639fb777c66d62034073f23823148a8d329e
2020-01-28 22:22:40 +01:00
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