Alexander Koskovich
1dc7cad6f0
sm8250-common: Copy PFM licenses to persist
...
* This is read by the feature enabler client. OOS already
does this but we want to make sure we're doing this for
users upgrading from Lineage 18.1.
Change-Id: I1d112d9cea6f3d0e87cdf12898587c7bacf8de9c
2022-08-19 21:59:19 +02:00
LuK1337
6ed9f1e67f
sm8250-common: Use hardware/oplus/sepolicy/qti
...
Change-Id: I8d1f4c402a4e9ce8d97cf315d32148f88089c4c5
2022-08-19 21:59:19 +02:00
Alexander Koskovich
d29a4ea5c7
sm8250-common: init: Set 'ro.separate.soft' to project name
...
Change-Id: I4ae6281c323a68e0f21af5b0c4e2a578fe80794a
2022-08-19 21:59:19 +02:00
LuK1337
50ddba9a7c
sm8250-common: Regenerate config.fs
...
Change-Id: I73e85d9d33f87dafef930bad0c2d7c08ef31d7c2
2022-08-19 21:59:19 +02:00
LuK1337
739cd46580
sm8250-common: Reenable KeyHandler
...
Change-Id: I0ac48d3b16086401b6226582901c4a04f53df6eb
2022-08-19 21:59:19 +02:00
LuK1337
9f8a912529
sm8250-common: Switch doze to android.sensor.tilt_detector
...
Change-Id: Ieb91a64f7e03f6d4a6e755c35c68054817e858f2
2022-08-19 21:59:19 +02:00
LuK1337
7e3d4ba421
sm8250-common: Sync color modes with stock
...
Change-Id: I0f5ea1dc6f352c34bd3a321ef19f2e9c7866a1de
2022-08-19 21:59:19 +02:00
Alexander Koskovich
f44013625e
sm8250-common: Update audio configurations from IN2025_11.C.33
...
* Copy configurations from the audio HAL where it
makes sense.
Change-Id: I62737d24f309203010d42988bde453593ab7f204
2022-08-19 21:59:19 +02:00
Alexander Koskovich
4245f4088e
sm8250-common: Switch to hardware/oplus
...
Change-Id: Ifb472cf1cd5f4c198394de41bc5d337d1f066b16
2022-08-19 21:59:19 +02:00
Alexander Koskovich
470df1663d
sm8250-common: Update WCNSS configuration from IN2025_11.C.33
...
* OnePlus reads MAC address from QMI DMS now.
* Since that was the only custom change, move back
to proprietary files.
This commit is a partial revert of 83d053860901aaa5b6fdb54c6160aac817c6806b.
Change-Id: I9e89def5258f9085e7169a1a6753cbdabd1d548c
2022-08-19 21:59:19 +02:00
Alexander Koskovich
84c4bd95ef
sm8250-common: init: Use the same PID/VIDs from OOS
...
Change-Id: Ieaa52f748c75272b80fa6f3e7018cdb71e3a2f7f
2022-08-19 21:59:19 +02:00
Alexander Koskovich
801916b502
sm8250-common: init: Add oplusreserve1 ueventd entry
...
Change-Id: I3aa6e23e38d9e525e0e1d823e0933ab81c8f81af
2022-08-19 21:59:19 +02:00
Alexander Koskovich
bb994f61e8
sm8250-common: init: Load WiFi firmware from ODM
...
Change-Id: Id18a7aea8d38a62bb871f588d3620583a0e4e562
2022-08-19 21:59:19 +02:00
Alexander Koskovich
6ba455d610
sm8250-common: Add oplus_sensor_fb
...
Change-Id: I289d5e3270fe0b3e8b185b4bf22f1d9c59209f48
2022-08-19 21:59:19 +02:00
Alexander Koskovich
0ad0214091
sm8250-common: init: Chown used display nodes
...
Change-Id: Iea4985c06e6094464b5b5dfa7a06294e895a9971
2022-08-19 21:59:19 +02:00
Jimmy Chen
aa145e77e6
sm8250-common: Move WiFi supplicant service definition to dedicated RC
...
Change-Id: I7c448ecb511a738903ebe3702fefdf2cb13c3be3
2022-08-19 21:59:19 +02:00
Alexander Koskovich
1d37758773
sm8250-common: Pick up USB configurations from QCOM
...
* If we want to override anything in particular, e.g.
PID/VIDs we will create a seperate script named
'init.oplus.usb.rc'.
Change-Id: I83882d8992eb367211871130c163f4ca5689fcd4
2022-08-19 21:59:19 +02:00
Alexander Koskovich
f7889666bb
sm8250-common: Add rest of QTI scripts to proprietary-files
...
* We won't be touching these.
Change-Id: Iec07925125b8fc27e807dea635ef2b17f5c7898b
2022-08-19 21:59:19 +02:00
Alexander Koskovich
9e7143d5a4
sm8250-common: Import QCOM scripts from LA.UM.9.12.r1-14300.01-SMxx50.QSSI13.0
...
Change-Id: Ia624b92cbbaeaf240958df2f640140d79f9f9335
2022-08-19 21:59:19 +02:00
Alexander Koskovich
fc045e3a4e
sm8250-common: Nuke rootdir from orbit
...
Change-Id: I163b5a68e2791ba379add991bf68cd171e722ba0
2022-08-19 21:59:19 +02:00
Bruno Martins
253d6a5f43
sm8250-common: Update blobs to Android 12 (IN2025_11.C.33)
...
* Move some configurations to proprietary files since
we make no edits to them.
Change-Id: Ia412660d84825b47c2f272f89baf73cf5981879c
2022-08-19 21:59:19 +02:00
Alexander Koskovich
a910da70e7
sm8250-common: Drop all component overrides
...
* Qualcomm no longer disables these for targets
that support RRO, e.g. all QSSI targets.
Change-Id: I0372817623e8d0e58926fbfb519671c3caa07b86
2022-06-24 14:17:18 +02:00
Alexander Koskovich
090da35226
sm8250-common: Sort kernel cmdline and additional flags as a list
...
* This allows better readability and eases tracking further changes.
Change-Id: I3a23f7ccb238b5f0e18dfa18080f1ae8ff51109f
2022-06-24 14:17:16 +02:00
Bruno Martins
91e554c1a0
sm8250-common: Inherit from QTI FCM
...
Change-Id: I0bdd4d63b60a1e29cdd69e71f7268932a105c16b
2022-06-24 14:16:54 +02:00
Alexander Koskovich
b63da1f7c6
sm8250-common: Move DTC_EXT definition to vendor/lineage
...
Change-Id: I452ec4dabfd6abf052f020fe48527403df873f5f
2022-06-18 00:45:35 +03:00
Michael Bestas
b1b9e5ca08
sm8250-common: Build fastboot custom HAL
...
* This adds getprop functionality in fastbootd.
Change-Id: I4906f6e9dcc00d37a7fa97e0139ba536f00755fa
2022-06-06 17:51:31 +03:00
Michael Bestas
5a841ec2e3
sm8250-common: bootctrl: Remove bootctrl.kona target
...
* This is no longer used after switching to QTI 1.1 impl
Change-Id: Id770b77da62c3b16eaea83cec366b299b1ea49d2
2022-06-06 17:51:27 +03:00
Michael Bestas
310f11ef0a
sm8250-common: Set ro.boot.hardware.revision based on RF version
...
ro.boot.hardware.revision is used in fastbootd UI, getvar hw-revision
output and Settings app.
Set based on the RF version so external tools can use it to flash
the correct firmware variant and show the HW variant in Settings.
Change-Id: Ib92b080ace4d14fc2f13b5b3705249a15f1671c8
2022-06-03 01:06:49 +03:00
Alexander Koskovich
d9700cfc9b
sm8250-common: Set the USB model to something more device specific
...
* Also allow devices to override ro.product.vendor.model
in cases where it's not really suitable for UX facing
stuff, e.g. on OnePlus 8T our model is KB2003.
This is not a suitable model to show users.
Change-Id: Ica487b993c215ad258cfc44062daffe868a65556
2022-05-16 21:50:19 +03:00
LuK1337
b6a6e1ca2e
sm8250-common: Build libhidltransport.vendor
...
Display HAL is no longer building this for us.
Change-Id: I59cb610b487ac2d655dfca5245e6fb35485ae424
2022-04-26 10:56:42 +02:00
Alexander Koskovich
2090f18511
Revert "sm8250-common: enable unspecialized app process pool"
...
* Does not appear to work anymore, denials all over.
This reverts commit e6554e26d6 .
Change-Id: I16e4c5bbad3a443e7b69b669f173d5869b29c633
2022-04-25 18:54:37 +02:00
LuK1337
f5974f82c3
Revert "sdm845-common: Make Android.mk search recursive"
...
No longer needed.
This reverts commit b56fd4bc01 .
Change-Id: Iae9c4257a98dd4ba47ef9992b1dec133ccc56764
2022-04-08 18:13:18 +02:00
LuK1337
901baf95a9
sm8250-common: Autopatch vendor.qti.hardware.camera.postproc impl
...
Change-Id: If9b730f83853a169066291c6787dd81d5609ac5e
2022-04-03 21:05:31 +02:00
Lokesh Gidra
56fb9175ca
sm8250-common: Use 6GB dalvik-heap config
...
We are currently using 2GB dalvik-heap config.
Bug: 145823510
Test: MPTS
Change-Id: I086d4a5c09634c3c7bd51ec5d08dcaa1551511b4
2022-04-01 15:19:21 +02:00
LuK1337
6bc9b4ac6e
sm8250-common: Remove trust HAL from product packages
...
USB 1.3 HAL now provides the same functionality and even more.
Change-Id: Idda908a90d3b935e1065eb41abec4babeefc4fd0
2022-03-23 20:30:55 +02:00
Albert Wang
55895e141e
sm8250-common: Update USB HAL to V1.3 implementation
...
Supports to enable/disable USB data signaling
Bug: 161414036
Test: Pass USB V1.3 HIDL tests
Signed-off-by: Albert Wang <albertccwang@google.com >
Change-Id: Iffe00f8753206fb66cd3ab96cae5aa5ad9c410cd
2022-03-23 20:30:53 +02:00
Michael Bestas
9595860018
sm8250-common: sepolicy: Migrate to vendor_ prefixed contexts
...
Change-Id: Id2785839653b275e1b51e5ff10e4e96b3fd18a46
2022-03-23 20:30:50 +02:00
Alexander Koskovich
65a414d1cf
sm8250-common: Drop support for Snapdragon Camera.
...
* Won't be implemented this cycle (or ever again hopefully).
Change-Id: Ie2a346319dfe814deaf9833cb31640505cc6b7dc
2022-03-23 20:30:47 +02:00
Georg Veichtlbauer
74e3a80c0f
sm8250-common: Remove CLANG compile flag
...
Defaults to true now project-wide.
Change-Id: I1e0ff5adadc889d81c90c816457a72d2621e4b5a
2022-03-17 11:46:16 +01:00
Kilian von Pflugk
b04fa8b9cf
sm8250-common: Remove TARGET_USES_64_BIT_BINDER
...
The TARGET_USES_64_BIT_BINDER option is deprecated and can be removed
Change-Id: Ieab43c6baf17eff134a11312d8f8ee7d1b310d55
2022-03-12 09:51:18 +01:00
LuK1337
9c9e8bdcd2
sm8250-common: Unlock gc5035 camera
...
This change lets us use gc5035 camera, which was blocked by OnePlus long
time ago after people discovered its *magic* capabilities. By default
only `com.oem.autotest` can use it, however if we replace the first
character with a NULL byte, then strncmp returns 0, and thus we pass the
check and allow everyone to use it.
You can see the logs below that led me to discover that behavior.
[DEBUG ] JIANJIA.cpp:89 PretendOpenCamera() logicalCameraId 4, m_ClientPackageName 0
[DEBUG ] STELLA.cpp:1445 informKernel() force: -1 value: 6 buf: 5
[DEBUG ] chxextensionmodule.cpp:1005 ExtendOpen() You shall not pass 0
[DEBUG ] chxextensioninterface.cpp:298 chi_extend_open() [OP_EXT] OPEN_CAMERA X
[ERROR][HAL ] camxhal3module.cpp:772 ProcessCameraOpen() Camera Open failed with error status = CamxResultEInvalidArg
Change-Id: I9b3e4e55f07cef40886e09941f7ed0523cdf8cfa
2022-03-05 01:35:32 +01:00
jabashque
6620360df7
sm8250-common: overlay: Decommonize refresh rate config
...
instantnoodle is a contrarian that has a 90Hz display, so unfortunately,
we have to set the refresh rate and peak refresh rate values for each
device instead.
Change-Id: I868d84352a46eed19b2433c6aff32a4d9c0b9d03
2022-02-28 01:06:31 +01:00
Bruno Martins
9530fdf1c5
sm8250-common: overlay: Enable smooth display with 120Hz
...
There's no point to keep using custom pref to set minimum refresh rate
when AOSP smooth display feature behaves in the exact same way in
our case.
Change-Id: I497918a9c9687443a9438fb6291769f6e51d9379
2022-02-27 18:25:56 +01:00
LuK1337
4386e25d5f
sm8250-common: Update blobs from OOS 11.0.11.11
...
Change-Id: Ie778c23099989d4b91fa3a927882e5364f3c5358
2022-02-27 12:13:05 +01:00
LuK1337
5a6bc9a295
sm8250-common: sepolicy: Allow camera to access vendor_xdsp_device
...
Change-Id: I59ee2b5a5f37690c2d55f8ee3acb0cdfb127e678
2022-02-26 01:40:44 +01:00
LuK1337
aafc10c24b
Revert "sm8250-common: Remove BOARD_SYSTEM_EXTIMAGE_EXTFS_INODE_COUNT"
...
Wasn't necessary.
This reverts commit e6efc6c08f .
Change-Id: I3ef84929299152b8f40ad4b8c45ee5099fca9fc5
2022-02-25 09:22:12 +01:00
Bruno Martins
e0c3fbb417
sm8250-common: Migrate to fingerprint HIDL v2.3
...
Change-Id: Ibf065cfb9b6b8210713ab6dba8302937f56cf4c1
2022-02-22 10:03:47 +01:00
Michael Bestas
e6efc6c08f
sm8250-common: Remove BOARD_SYSTEM_EXTIMAGE_EXTFS_INODE_COUNT
...
* Uses too much of the reserved space so gapps no longer fit.
Change-Id: I0419cc1cef820ecac6b148cded9ecf296bfcb348
2022-02-22 09:49:30 +01:00
Alexander Koskovich
dbc084b1dc
sm8250-common: overlay-lineage: Remove obsolete fps location config
...
Change-Id: I2569c77b4daa84263903f710d421d05d0a491d08
2022-02-21 22:06:10 +01:00
LuK1337
b07cd6f83d
sm8250-common: Update WFD system stack from lemonadep
...
Change-Id: I728810877f3aa40a4fe068f23fd2cfc9194f8066
2022-02-21 22:06:10 +01:00