Commit Graph

693 Commits

Author SHA1 Message Date
LuK1337 15ae1257d4
sm8150-common: wifi: Disable RX wakelock feature
Change-Id: I3e093c8fd16b231d531751056648bd6b745e5171
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-05 07:53:37 +05:30
Dede Dindin Qudsy ff3e0a0ee8
sm8150-common: disable SAE support on wifi configs
based on kerneltoast/android_kernel_google_wahoo@4219bf11

Signed-off-by: Dede Dindin Qudsy <xtrymind@gmail.com>
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-05 07:53:36 +05:30
Bruno Martins 7cbc24e097
sm8150-common: Deduplicate handheld_core_hardware.xml copy rule
Since Android 10 that this is already done while inheriting from
full_base_telephony.mk.

Change-Id: If533fbf95a9cf9798ddba24955a624d26f550d62
2021-04-05 07:53:35 +05:30
Prakash Pabba ec195c0345
sm8150-common: Enable ipsec_tunnel feature
Fixed : CTS issue due to ipsec_tunnel feature.

CTS issues are showing failure on devices with first_api_level set to
29 . With this api level certain test cases which weren't executing
till now begin executing. Ex: android.net.cts.IpSecManagerTunnelTest.

These tests mandatorily requrire ipsec_tunnel feature to be enabled.

Change-Id: If52b652ac3cc6488fefcf851527f224efa03e7eb
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-05 07:53:34 +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
Omkar Chandorkar 26ad8f20ca
sm8150-common: create symlinks for IMS and NxpNfcNci
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-05 07:53:32 +05:30
Murtaza@Piplod 7e0b864a1f
sm8150-common: DeviceSettings: Make icon color adaptive
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-05 07:53:30 +05:30
Ido Ben-Hur 4beb4f6f85
sm8150-common: DeviceSettings: Launch main activity on long QS tile press
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-05 07:53:29 +05:30
Ido Ben-Hur c62ced9719
sm8150-common: overlay: Don't show AOSP's display color mode picker
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-05 07:53:28 +05:30
Omkar Chandorkar 1179b34b3a
sm8150-common: overlay: set custom title for doze
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-05 07:53:25 +05:30
Bruno Martins 389844e8d6
sm8150-common: doze: Use all shared resources from devicesettings
Change-Id: Icd7f381c574ea36eb4d797cefd60ba9f1a0941bd
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-03 06:57:53 +05:30
SKULSHADY 04b69b8f8f
sm8150-common: DeviceSettings: Add a scrollable image view layout
- from Havoc-Devices/android_device_oneplus_settings@720debd

Derpfest edits:
- Migrate to androidx

EvoX edits:
- Adapt to DeviceSettings
- Swap display mode preview images 1 & 2

Signed-off-by: NurKeinNeid <mralexman3000@gmail.com>
Signed-off-by: AnierinB <anierinb@evolution-x.org>
2021-04-03 06:57:51 +05:30
Omkar Chandorkar 1b717310bb
sm8150-common: libinit: handle dalvik props based on sysram
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-03 06:57:50 +05:30
Omkar Chandorkar 130b2ee69e
sm8150-common: DeviceSettings: nuke night mode
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-03 06:57:49 +05:30
Omkar Chandorkar ea7e5816d1
[HAX]sm8150-common: correct string name for V gesture 2021-04-03 06:57:48 +05:30
Ido Ben-Hur d597d3fc54
overlay: Call dash charger warp
Users care about OneWut losing a lawsuit for some reason

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-03 06:57:47 +05:30
Ido Ben-Hur 5aa7fad8de
overlay: We have a 'dash' charger 2021-04-03 06:57:46 +05:30
Adhitya Mohan 81b3d25821
sm8150-common: override with coral R March fp
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-03 06:57:45 +05:30
TheScarastic 7330cb05bd
sm8150-common: libinit: include full static libbase
Change-Id: Icb67cd6b6759d8cc4fd2e7a98cea74ac68e8ad07
Signed-off-by: NurKeinNeid <mralexman3000@gmail.com>
2021-04-03 06:57:43 +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
poad42 b44cf3c8a1
sm8150-common: Import new biometric dialog for R and refactor
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-03 06:57:41 +05:30
Omkar Chandorkar 6f0f94cda7
overlay: enable InKernelDimming
OnePlus' FOD implementation gives us bright af icon all the time.
We counter this by changing the brightness w.r.t. current system brightness in sysui
Enable the said Hax by overlay
2021-04-03 06:57:40 +05:30
Ido Ben-Hur 9db79307b9
sm8150-common: Adapt DeviceSettings
* Avoid adding support preferences, using a regular SwitchPreference instead
2021-04-03 06:57:39 +05:30
Omkar Chandorkar b5efdf3edf
Le roi est mort, vive le roi!
(our meme way of saying aosip -> yaap)
2021-04-03 06:57:38 +05:30
Omkar Chandorkar ee24396f93
sm8150-common: fod: remove unused stuff
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-03 06:57:36 +05:30
Omkar Chandorkar 43e148d430
sm8150-common: props: update product audio props
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-03 06:57:35 +05:30
Hikari-no-Tenshi e140de117f
sm8150-common: Add product audio props 2021-04-03 06:57:34 +05:30
Hikari-no-Tenshi a59798724c
sm8150-common: Remove few props not used in OOS 10.3.4 2021-04-03 06:57:33 +05:30
Hikari-no-Tenshi 75254e112a
sm8150-common: Sync audio props with OOS 2021-04-03 06:57:32 +05:30
Hikari-no-Tenshi 3e090875b6
sm8150-common: Set parser input buffer size as on OOS 2021-04-03 06:57:31 +05:30
Sushil Chauhan a2c213c710
sm8150-common: Set vendor prop to disable 3d-tonemap on UI
Set vendor property "vendor.display.disable_ui_3d_tonemap" to
disable the 3d-tonemap feature for UI layers in display HAL.

CRs-Fixed: 2445385
Change-Id: I4017de82fe120629d0284710ea37e7eeb1b3c724
2021-04-03 06:57:29 +05:30
Padmanabhan Komanduru 228931a733
sm8150-common: enable Optimize Refresh feature
Enable optimize refresh feature for msmnile/talos. This
feature helps to avoid draw-cycles under following conditions-
    1. No change in layerstack attributes.
    2. No new buffer latched.
    3. No refresh request triggered by HWC.
    4. This display is not source of vsync.

Change-Id: I4b42bc5afd60e81fa0ae1ce6be54951f0f6cea10
CRs-Fixed: 2418804
2021-04-03 06:57:28 +05:30
Hikari-no-Tenshi 0fbde9e40f
sm8150-common : add audio_effects.conf
Change-Id: I594d59c4c5ad40e5f0534c475efbee34b35ad3cc
2021-04-03 06:57:27 +05:30
Lup Gabriel 8beaa0676e
sm8150-common: disable mask layer hint
This fixes the use of FOD for app lock and banking apps with
fod support like GPay.

Change-Id: Icc56fd7990e923cce46936fa461010a7143e89ac
2021-04-03 06:57:26 +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 02c048cbd0
sm8150-common: Disable BT A2DP AAC whitelist
Change-Id: Ie971c6f33f5cf125a43394e1abd406ac93701712
2021-04-03 06:56:31 +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
LuK1337 5def802c72
sm8150-common: Import sensors/2.0/multihal
Change-Id: I2615438912974f2f0f57fd96b930d4bd11d0de5b
2021-04-03 06:56:28 +05:30
LuK1337 df4becbd5a
sm8150-common: audio: Set proper interface for voice-handset-tmus
Fixes incall audio when using T-Mobile US sim card (?)

Change-Id: I692ca8a6d60d2ce64825500059a4bf8fd4786d8a
2021-04-03 06:56:26 +05:30
LuK1337 9c4aaa9356
sm8150-common: Add vendor.qti.hardware.data.iwlan to vintf manifest
Change-Id: I347a23b6ff25fa5bc2dd54e9c788b7c273940a8e
2021-04-03 06:56:25 +05:30
Alessandro Astone 08d750a8d1
sm8150-common: Build and enable fastbootd
Since OEM fastboot implementation does not allow us to flash
critical partitions, fastbootd is useful for upgrading firmware.

Change-Id: I0b20600fe7203a7aec19cbea8f6849052585c6ab
2021-04-03 06:56:24 +05:30
Han Wang e7267bf6e7
sm8150-common: Correct TARGET_RECOVERY_PIXEL_FORMAT
Change-Id: I4c397d787aaddf02254f750298ffcde64269d386
2021-04-03 06:56:23 +05:30
LuK1337 f7721aecc0
sm8150-common: Import surface flinger props from OOS
Change-Id: Iac8f215d02b0873f51a9ab0e35f5a659393b75e6
2021-04-03 06:56:21 +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 af042b8ce4
sm8150-common: Set SSR level to RELATED
Change-Id: I15871af43e62936ffde5e86aa1c0630bff909237
2021-04-03 06:56:17 +05:30
LuK1337 bb589b1052
sm8150-common: Set group/owner of selected motor nodes to system:system
Needed so that our camera helper app can access them.

Change-Id: Icc0856680fc9808f29600eabb2c7d1b1829e6c11
2021-04-03 06:56:15 +05:30