| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Without that fix we have:
I ServiceManager: Waiting for service 'media.audio_flinger' on '/dev/binder'...
W ServiceManagement: Waited one second for android.hardware.audio@4.0::IDevicesFactory/default. Waiting another...
Adding android.hardware.audio@2.0-service to the list results in
hardware/interfaces/audio/common/all-versions/default/service/Android.mk
shipping android.hardware.audio@2.0-service.rc which results in
the audio service being started.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is because it's anoying to have the device power off when
we're using it though adb.
This is for early developement only as it is configurable in
the settings->developer menu and it's default value is here:
framework/base/packages/SettingsProvider/res/values/defaults.xml
It is not desirable to keep that hack in the long run as it
makes the device consume power power, which results in a shorter
battery life in hours.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The images built are smaller than the partition sizes. This
enables to flash them faster and reduce the probability
of failing the flashing.
The downside is that, for the data partition, the space available
is not enough to complete boot:
# df -h
Filesystem Size Used Avail Use% Mounted on
[...]
/dev/block/mmcblk2p16 6.4M 6.1M 308K 96% /data
The resizing is not done automatically because it's supposed to
happpen during the installation of the zip file.
This makes sures that the data partition is resized during boot.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
At boot, it complained that it could not get passthrough implementation
for the following:
- android.hardware.audio@4.0::IDevicesFactory/default.
- android.hardware.audio.effect@4.0::IEffectsFactory/default.
- android.hardware.bluetooth.a2dp@1.0::IBluetoothAudioOffload/default.
- android.hardware.soundtrigger@2.1::ISoundTriggerHw/default.
With that makes android.hardware.audio start and makes the
boot goes furthurer:
# lshal
All binderized services (registered services through hwservicemanager)
R Interface Thread Use Server Clients
[...]
Y android.hardware.audio.effect@4.0::IEffectsFactory/default 0/4 202 210 175
Y android.hardware.audio@4.0::IDevicesFactory/default 0/4 202 210 175
The null linux audio driver was also compiled in to make sure
that the device is not broken due to bad audio policies, and
before that no sound card were present on the target device.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead, there might be a way to make the default GateKeeper
implementation fall back on its internal software implementation
on which the goldfish implementation is based as it has the
following code:
hw_device = IGatekeeper::getService();
if (hw_device == nullptr) {
ALOGW("falling back to software GateKeeper");
soft_device.reset(new SoftGateKeeperDevice());
}
The implementation has been imported from the lineage-16.0 branch of
the https://github.com/LineageOS/android_device_generic_goldfish
repository at the following commit:
b05b939 Snap for 5130385 from eabd93d25de5a95d6544822d62af6744176fd5e6 to pi-qpr2-release
Only the module name and device name have been changed by:
* using sed 's#goldfish#i9305#g' -i gatekeeper/*
* using sed 's#gatekeeper.ranchu#gatekeeper.default.so#g' -i gatekeeper/Android.mk
* correcting gatekeeper module name
* changing gatekeeper_module.name and LOG_TAG from goldfish to I9305
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
|
|
|
|
|
|
|
|
| |
This goes in pair with the kernel configuration. Most of the
setup is done in the kernel through CONFIG_USB_FUNCTIONFS=y
The CONFIG_USB_FUNCTIONFS=y configuration should instead be
replaced by proper userspace setup.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The stock init.rc was modified with the following change:
service console /system/bin/sh
- user shell
+ user root
- seclabel u:r:shell:s0
+ seclabel u:r:su:s0
There is more informations on init.rc syntax here:
https://android.googlesource.com/platform/system/core/+/master/init/README.md
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
|
|
|
|
|
| |
See vendor/lineage/build/tasks/kernel.mk for the properties
documentation.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
|
|
| |
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
|