* 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
* 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
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
* 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
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
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
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
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
The modified library NOPs out the instruction to change binder
threadpool, allowing the library to load and camera to work on S.
Command used:
$ SigScan -p "1F 0A 00 94" -P "1F 20 03 D5" -f vendor.qti.hardware.camera.postproc@1.0-service-impl.so
Change-Id: I1ef0ed29e4a2eb820826e5d7df1fa53c9e3df584
We are going to enforce that each property has an explicit owner, such
as system, vendor, or product. This attaches vendor_property_type to
properties defined under vendor sepolicy directories.
Change-Id: Iedbbcc5086c09f549e91e73ece7311563c378347