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
[basamaryan: This is needed to fix RIL on Android U]
Signed-off-by: basamaryan <basam.aryan@gmail.com>
Change-Id: Ie3fa610f71077b4ee2af1b4d57bd0c30b34f30fa
writepid command usage to join a cgroup has been deprecated in favor
of a more flexible approach using task_profiles. This way cgroup path
is not hardcoded and cgroup changes can be easily made. Replace
writepid with task_profiles command to migrate between cgroups.
Bug: 191283136
Test: build and boot
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I249ecc45a001a69d73b06b77154f9b6e5f9964d9
For easy transition from SchedTune to UtilClamp, direct access to these
cgroups should be abstracted by using task profiles. Replace writepid
commands with new task_profiles command.
Bug: 155419956
Test: change .rc file and confirm task profile is applied
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ide373c283359cf4b73af4cb0813d8c0306942595
The health AIDL HAL service provides functionalities of charger,
therefore system charger at /system/bin/charger is deprecated.
On top of that, QTI health AIDL HAL service enables suspend by
default, the equivalent of setting ro.charger.enable_suspend
for legacy charger.
Change-Id: I59c23e7974cea1174b0161f31a535fa3afa1e5c9
For now this is implicitly built by lineage specific
libprotobuf-cpp-lite-3.9.1-vendorcompat lib, but in the future this
might not be the case.
Change-Id: I724e933e046cbf631c078321d55550b96ca998da
The new folder structure now looks like this:
device/qcom/sepolicy_vndr
├─ legacy-um (meant for sdm845 until sm8350)
├─ sm8450
└─ sm8550
SEPolicy.mk placed in the root automatically redirects devices to the
proper subfolder.
Change-Id: I4ed1a06af779909d64172da294c4a99a3ae9ba0d
These HALs are already included in VINTF fragments, so
there's no need to be specified here.
Test: TH
Bug: 148808037
Change-Id: Iec5ef12eeb803ae904c1bd4f8feb32dfc1bae972
* This prop is illegal due to violating the
* vendor property namespace rules
[Dhina17: Adapted for sm6225]
Signed-off-by: electimon <electimon@gmail.com>
Change-Id: I2da4951e19e97e5291cbb0f0b18cdae14f63fbaa
* The close-sourced binary uses symbols removed on R. It doesn't make
much sense to fix the 45MB binary :), simply use AOSP one instead.
* Move charge-only services to init.mmi.charge_only.rc while at it.
Change-Id: I62cdd36603afb46d5287dfcaac3d16acc9fca178
First, It was enabled by 10e1bc345d
to sync with CodeLinaro and fixed incall speaker volume control.
Later, It was disabled by a3f3ca2931 again
accidently.
So, re-enable it again.
Change-Id: I0adf0171772f073487cb5e3f71538faf65394039