On some newer platforms USB relies on PMIC to notify it of
cable connection status, but the PMIC driver has relocated
to ADSP FW. Since ADSP is not expected to be loaded in
recovery or fastbootd mode, USB may not get notified and
hence won't start up. Force the USB to start in peripheral
mode since the whole purpose of recovery/fastbootd is to
interact with a USB connection anyhow.
Currently the command assumes that there is a sysfs "mode"
param located at /sys/class/udc/${ro.boot.usbcontroller}/device/..
which is true for dwc3-msm based driver on most QC SoCs.
Change-Id: I5f7a01defdf987dbf4bd48f77bc70344c212a623
Add new mixport in policy configuration to support
native dsd playback. Add routes from dsd mix port to
headphone/headset devices.
Add mixer control path for headphones-dsd device.
Add RX_CDC_DMA_RX_5 as backend interface for headphones dsd.
Change-Id: I77a94a57eb27aacd8e08db9191e54b692aa1cc36
Note that media_codecs.xml, media_codecs_performance.xml and
media_profiles_vendor.xml are now plain copies of media_codecs_lahaina.xml,
media_codecs_performance_lahaina.xml and media_profiles_lahaina.xml,
respectively.
Change-Id: I420d583f014ba4fd13f3e8f9629f36f7d158c957
This enables boot header v3 which creates a vendor_boot images that
holds the vendor kernel modules.
Signed-off-by: Will McVicker <willmcvicker@google.com>
Fixes: 151949371
Test: boot, verify vendor_boot ramdisk is loaded, check lsmod
Change-Id: Ia1b7df306d3a9f0e2f1f3ec8e7c2547da0b07596
For devices launching with virtual A/B, inherit the virtual A/B
device base configuration.
Bug: 146466421
Bug: 149155051
Test: boot to home, check system property of virtual_ab
Test: Run full storage-qa test
Change-Id: I8ebbbe897dc9278f43e37a6a9599b89d68419b27
Signed-off-by: Leo Liou <leoliou@google.com>
This enables casefolding, which is required for removal of sdcardfs.
Test: Wipe data and boot. lsattr /data/media, check for +F
Bug: 138322712
Change-Id: I020aa6bb9c121e7bda83c07bc9fb37dcfa26702c
OnePlus places FP layer upon the dimlayer, causing the former one
highlighted. Only return the z-order with fingerprint pressed to
target the layer we need.
Signed-off-by: alk3pInjection <webmaster@raspii.tech>
Change-Id: I4666718018aa135a7d6387d957f136f23a5a5670
* Highly inspired by iOS raise to wake
- Adapted to OnePlus sm8250 doze
sm8250-common: doze: Add min interval for raise2wake
* avoid having early wakeup
* also fix typo in acquire timeout
sm8250-common: doze: Enable pickup when raise to wake is toggled
- This is needed in order for raise to wake to function properly.
sm8250-common: doze: Fix pickup status for raise to wake
Co-authored-by: AnierinB <anierinb@evolution-x.org>
Co-authored-by: AshutoshSundresh <ashutoshsundresh@gmail.com>
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Signed-off-by: AnierinB <anierinb@evolution-x.org>
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Signed-off-by: LuK1337 <priv.luk@gmail.com>
Change-Id: I5df0c4f11f1b24ab813abc393960c5f03f5fab1f
* Call volume step is directly picked from OOS and it seems
that OOS hardcoded media volume step to 30, which is the
behavior that user experiences.
Change-Id: Ib306646dbde61934d8a29447cd186f54f775a407