The root location of this file is deprecated for Android T.
Bug: 189268918
Bug: 178221726
Test: device reaches boot complete after raising API level to 32
Change-Id: I97a6d2e5cacd0ac5eeb81daafeb8b1a0ad5c119b
These devices don't have surround sound, as nice as that would be, so
stop pretending. Otherwise, we get weird behavior, like playing surround
sound audio at full volume regardless of the media volume or mute state.
Now, it plays properly.
Issue: calyxos#2075
Change-Id: Ic530906a9dacb2699e32f2ed91f38fab0dad1492
Specify this so that USB can be properly brought back online via HAL.
It was already specified in these locations:
- device/motorola/sm6225-common/rootdir/etc/init.target.rc
But this apparently isn't early enough in the boot process.
- vendor/qcom/opensource/usb/vendor_product.mk
But this apparently isn't included and doesn't take effect.
As a result, vendor/qcom/opensource/usb/hal/Usb.cpp would use its
fallback value of a600000.dwc3, which is not correct.
Issue: calyxos#2154
Change-Id: I3f10cb8d902281b3cd06e8c2b51bdf60bb57742e
Qcom has issues that prevent it from working with a hermetic
partition build.
Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
Enable the persist.sys.fuse.passthrough.enable flag for the device
configuration to enable the FUSE passthrough feature.
This feature has been enabled on Cuttlefish, Wembley and Redbull devices for
months and no issues have been detected yet.
Bug: 168023149
Test: 'adb shell getprop | grep persist.sys.fuse.passthrough.enable',
ScopedStorageTest
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I3f39b02af436f7e508bb70efc702565a667a051c
Add/remove partitions and shuffle them to the proper list.
This should make all moto bengal devices work.
Removed: mdm1m9kefs3, spss
Added: recovery
Change-Id: I107d1c75cd44db02100042903f5794ed7efc8928
Triggered by notifications or by pickup gesture, hand wave and
pocket gesture shows the ambient display.
No AOD enabled.
Change-Id: I7c76d513c84084427b71305ec54e3033a0d7a08c
This applies the following tools/extract-utils changes:
* Allow overriding VENDOR with VENDOR_COMMON
Change-Id: Ib78643a3e6a648e21362b6a1fdc3581d41954700
* Seems to be an issue where if modemst1/2 (efs) is wiped modem only
looks for fsg to rebuild efs in the root_directory.
* Even though this isn't correct it should allow radio to be easily
flashed during future firmware upgrades as the stock radio.img is
a container which flashes fsg/modem then passes the command to
wipe modemst*
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: Ic7acabbe16d66740b3aee414be60c24d3a0de43d
When a call is received, if the ringtone is played through the speaker,
the audio HAL will freeze and restart when the call is answered,
leading to a few seconds of silence at the beginning of the call. This
happens because of a NULL pointer dereference, which is in turn caused
by a UAF in the check_usecases_codec_backend() function, in the audio
HAL.
The UAF occurs because the amplifier HAL appends its usecase at the
wrong end of the usecases list - tail instead of head. When the second
list_for_each() loop in the aforementioned function iterates through
the list, it first finds the regular low-latency-playback usecase,
and calls disable_snd_device() for the speaker output device. This
causes the amplifier HAL to execute aw882xx_stop_feedback(), which
frees its usecase in the list, but the internal pointer of the
list_for_each() macro already points to it, thus the following
iteration effectively operates on a free'd object.
To fix this issue, have the amplifier HAL append its usecase to the
head of the list: this way, it will be iterated on before the
low-latency-playback usecase, i.e. before it gets free'd.
Change-Id: Ia8dcb11b3ed320836a6602798ff5c390e7afa9d2