| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
Without that we have the following during the build:
[1027/1036] including vendor/lineage/bootanimation/Android.mk ...
vendor/lineage/bootanimation/Android.mk:19: warning: TARGET_SCREEN_WIDTH is not set, using default value: 1080
vendor/lineage/bootanimation/Android.mk:23: warning: TARGET_SCREEN_HEIGHT is not set, using default value: 1920
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The device's init.rc has the following comment:
# If there is no post-fs-data action in the init.<device>.rc file, you
# must uncomment this line, otherwise encrypted filesystems
# won't work.
# Set indication (checked by vold) that we have finished this action
#setprop vold.post_fs_data_done 1
So it's better to do it in init.smdk4x12.rc instead of having to
override init.rc.
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>
|
|
|
|
| |
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is required as part of the project Trebble and it also has
several technical advantages over the older solutions like the
ability to use bigger kernel images.
See the following documentation for more details on system as root:
https://source.android.com/devices/bootloader/system-as-root
The cache partition is also not used anymore:
# ls -ld /cache
lrw-r--r-- 1 root root 11 2008-12-31 23:00 /cache -> /data/cache
There is more information on that here:
https://source.android.com/devices/tech/ota/ab/ab_faqs
As for the EFS removal: since / is now read-only it's not possible
anymore to create an /efs directory from the init.smdk4x12.rc, so
we remove it for now. Ideally we'd need to find a way, from this
device repository, to tell build/make to create that directory.
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>
|