[-]
[+]
|
Changed |
_service:tar_git:droid-config-ham.changes
|
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-ham.spec
^
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -2,7 +2,7 @@
<service name="tar_git">
<param name="url">https://github.com/Litew/droid-config-ham.git</param>
<param name="branch">master</param>
- <param name="revision">c4bb61ef593b85db4f4d64935c484b8fec758c60</param>
+ <param name="revision">cd5ea250476ac8f4c27586c9879c590dc8623362</param>
<param name="token"/>
<param name="debian">N</param>
<param name="dumb">N</param>
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-ham-0.0.1+master.20170307014830.1.gc4bb61e.tar.bz2/sparse/lib/systemd/system/bluetooth.service.wants/droid-hcismd-up.service
^
|
-(symlink to ../droid-hcismd-up.service)
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-ham-0.0.1+master.20170307014830.1.gc4bb61e.tar.bz2/sparse/lib/systemd/system/droid-hcismd-up.service
^
|
@@ -1,14 +0,0 @@
-[Unit]
-Description=Enable Bluetooth HCI over SMD
-After=droid-late-start.target
-Before=bluetooth.service
-Conflicts=shutdown.target actdead.target
-
-[Service]
-Type=oneshot
-ExecStart=/bin/sh /usr/bin/droid/droid-hcismd-up.sh
-RemainAfterExit=yes
-
-[Install]
-WantedBy=bluetooth.service
-
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-ham-0.0.1+master.20170307014830.1.gc4bb61e.tar.bz2/sparse/usr/bin/droid/droid-hcismd-up.sh
^
|
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-# Maximum number of attempts to enable hcismd to try to get
-# hci0 to come online. Writing to sysfs too early seems to
-# not work, so we loop.
-MAXTRIES=15
-
-i=1
-while [ ! $i -gt $MAXTRIES ] ; do
- echo 1 > /sys/module/hci_smd/parameters/hcismd_set
- if [ -e /sys/class/bluetooth/hci0 ] ; then
- # found hci0, exit successfully
- echo 0 > /sys/module/hci_smd/parameters/hcismd_set
- bt_mac=$(/system/bin/hci_qcomm_init -e | grep -oP '([0-9a-f]{2}:){5}([0-9a-f]{2})')
- echo "BT MAC: $bt_mac"
- if [ ! -z "$bt_mac" ] ; then
- echo $bt_mac > /var/lib/bluetooth/board-address
- echo "BT MAC: $bt_mac"
- fi
- echo 1 > /sys/module/hci_smd/parameters/hcismd_set
- exit 0
- fi
- sleep 1
- if [ $i == $MAXTRIES ] ; then
- # must have gotten through all our retries, fail
- exit 1
- fi
-done
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-ham-0.0.7.tar.bz2/droid-configs-device/droid-configs.inc
^
|
@@ -203,7 +203,7 @@
Provides: droid-config-flashing
Group: System
# Sparse image flashing support for flash-partition
-Requires: droid-hal-%{rpm_device}-tools
+Requires: droid-hal-tools
Summary: On device flashing files for %{rpm_device} hw
%description flashing
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-ham-0.0.7.tar.bz2/droid-configs-device/sparse/etc/pulse/arm_droid_default.pa
^
|
@@ -29,7 +29,14 @@
load-module module-meego-mainvolume virtual_stream=true
### Automatically restore the volume of streams
-load-module module-stream-restore-nemo restore_device=no restore_volume=yes restore_muted=no route_table=/etc/pulse/x-maemo-route.table fallback_table=/etc/pulse/x-maemo-stream-restore.table use_voice=false sink_volume_table=/etc/pulse/x-maemo-sink-volume.table
+# load configuration based on bluez version
+.ifexists /etc/pulse/bluez4_stream_restore.pa
+.include /etc/pulse/bluez4_stream_restore.pa
+.endif
+
+.ifexists /etc/pulse/bluez5_stream_restore.pa
+.include /etc/pulse/bluez5_stream_restore.pa
+.endif
load-module module-match table=/etc/pulse/x-maemo-match.table key=application.name
@@ -50,6 +57,8 @@
load-module module-null-source source_name=source.fake.sco rate=8000 channels=1
load-module module-bluez4-discover sco_sink=sink.fake.sco sco_source=source.fake.sco
+load-module module-combine-sink sink_name=sink.primaryandbluez resample_method=trivial rate=48000 channels=2 ignore=sink.low_latency
+
load-module module-policy-enforcement
load-module module-role-ducking trigger_roles=alarm,notification,warning ducking_roles=x-maemo volume=-200dB
@@ -104,7 +113,7 @@
load-module module-dbus-protocol
.endif
-load-module module-switch-on-port-available
+load-module module-rescue-streams sink_name=sink.null source_name=sink.null.monitor
### Make some devices default
set-default-sink sink.primary
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-ham-0.0.7.tar.bz2/droid-configs-device/sparse/etc/pulse/bluez4_stream_restore.pa
^
|
@@ -0,0 +1,2 @@
+### Bluez4 specific module arguments
+load-module module-stream-restore-nemo restore_device=no restore_volume=yes restore_muted=no route_table=/etc/pulse/x-maemo-route.table fallback_table=/etc/pulse/x-maemo-stream-restore.table use_voice=false sink_volume_table=/etc/pulse/x-maemo-sink-volume.table
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-ham-0.0.7.tar.bz2/droid-configs-device/sparse/etc/pulse/bluez5_stream_restore.pa
^
|
@@ -0,0 +1,2 @@
+### Bluez5 specific module arguments
+load-module module-stream-restore-nemo restore_device=no restore_volume=yes restore_muted=no route_table=/etc/pulse/x-maemo-route.table fallback_table=/etc/pulse/x-maemo-stream-restore.table use_voice=false
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-ham-0.0.7.tar.bz2/droid-configs-device/sparse/etc/pulse/xpolicy.conf
^
|
@@ -266,6 +266,11 @@
profile = voicecall
[card]
+type = earpieceforcall
+name = equals:droid_card.primary
+profile = voicecall
+
+[card]
type = earpieceforalien
name = equals:droid_card.primary
profile = communication
@@ -439,6 +444,11 @@
sink = equals:sink.primary
ports = sink.primary:output-earpiece
+[device]
+type = earpieceforcall
+sink = equals:sink.primary
+ports = sink.primary:output-earpiece
+
[device]
type = earpieceforalien
sink = equals:sink.primary
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-ham-0.0.7.tar.bz2/droid-configs-device/sparse/etc/xdg/QtProject/QtQuick2.conf
^
|
@@ -0,0 +1,2 @@
+[QuickMouseArea]
+PressAndHoldDelay=600
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-ham-0.0.7.tar.bz2/droid-configs-device/sparse/lib/systemd/system/adbd.service
^
|
@@ -7,3 +7,4 @@
[Service]
Environment=PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
ExecStart=/sbin/adbd
+Restart=always
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-ham-0.0.7.tar.bz2/droid-configs-device/sparse/lib/udev/rules.d/998-droid-system.rules
^
|
@@ -11,3 +11,5 @@
SUBSYSTEM=="misc", KERNEL=="log_main", SYMLINK+="alog/main"
ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_NAME}=="?*", IMPORT{program}="/bin/sh /lib/udev/platform-device $env{DEVPATH}", SYMLINK+="block/platform/$env{ANDROID_BLOCK_DEVICE}/by-name/$env{ID_PART_ENTRY_NAME}"
+
+ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_NAME}=="?*", IMPORT{program}="/bin/sh /lib/udev/platform-device $env{DEVPATH}", SYMLINK+="block/bootdevice/by-name/$env{ID_PART_ENTRY_NAME}"
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-ham-0.0.7.tar.bz2/droid-configs-device/sparse/var/lib/nemo-pulseaudio-parameters/algs/mainvolume/btmono
^
|
@@ -1,2 +1,2 @@
-x-nemo.mainvolume.call = "0:-20000,1:-6175,2:-4875,3:-4225,4:-3625,5:-3025,6:-2425,7:-1815,8:-1625,9:-1200,10:-1025,11:-700,12:-575,13:-450,14:-225,15:0"
+x-nemo.mainvolume.call = "0:-20000,1:-6175,2:-4875,3:-3625,4:-3025,5:-2425,6:-2025,7:-1815,8:-1625,9:-1200,10:-1025,11:-700,12:-575,13:-250,14:-125,15:0"
x-nemo.mainvolume.media = "0:-20000,1:-6175,2:-4875,3:-4225,4:-3625,5:-3025,6:-2425,7:-1815,8:-1625,9:-1200,10:-1025,11:-700,12:-575,13:-450,14:-225,15:0"
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-ham-0.0.7.tar.bz2/patterns/jolla-hw-adaptation-ham.yaml
^
|
@@ -12,7 +12,7 @@
- droid-config-ham-policy-settings
- droid-config-ham-preinit-plugin
- droid-config-ham-flashing
-- droid-config-ham-bluez4
+- droid-config-ham-bluez5
- droid-hal-version-ham
# Hybris packages
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-ham-0.0.7.tar.bz2/sparse/etc/dconf/db/vendor.d/jolla-camera-hw.txt
^
|
@@ -12,7 +12,7 @@
viewfinderResolution_4_3='1440x1080'
viewfinderResolution_16_9='1920x1080'
resolutionText_4_3='camera_settings-me-4-3-13m'
-resolutionText_16_9='camera_settings-me-16-9-10m'
+resolutionText_16_9='16:9 (10 Mpix)'
focusDistance=16
[apps/jolla-camera/secondary/image]
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-ham-0.0.7.tar.bz2/sparse/etc/mce/60-doubletap-jolla.ini
^
|
@@ -0,0 +1,7 @@
+[DoubleTap]
+# Path to doubletap wakeup control file
+ControlPath=/sys/devices/virtual/touch/tp_dev/gesture_on
+# Value to write when enabling doubletap wakeups
+EnableValue=1
+# Value to write when Disabling doubletap wakeups
+DisableValue=0
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-ham-0.0.7.tar.bz2/sparse/etc/pulse/arm_msm8974_zuk-ham.pa
^
|
@@ -29,7 +29,14 @@
load-module module-meego-mainvolume virtual_stream=true
### Automatically restore the volume of streams
-load-module module-stream-restore-nemo restore_device=no restore_volume=yes restore_muted=no route_table=/etc/pulse/x-maemo-route.table fallback_table=/etc/pulse/x-maemo-stream-restore.table use_voice=false sink_volume_table=/etc/pulse/x-maemo-sink-volume.table
+# load configuration based on bluez version
+.ifexists /etc/pulse/bluez4_stream_restore.pa
+.include /etc/pulse/bluez4_stream_restore.pa
+.endif
+
+.ifexists /etc/pulse/bluez5_stream_restore.pa
+.include /etc/pulse/bluez5_stream_restore.pa
+.endif
load-module module-match table=/etc/pulse/x-maemo-match.table key=application.name
@@ -50,6 +57,8 @@
load-module module-null-source source_name=source.fake.sco rate=8000 channels=1
load-module module-bluez4-discover sco_sink=sink.fake.sco sco_source=source.fake.sco
+load-module module-combine-sink sink_name=sink.primaryandbluez resample_method=trivial rate=48000 channels=2 ignore=sink.low_latency
+
load-module module-policy-enforcement
load-module module-role-ducking trigger_roles=alarm,notification,warning ducking_roles=x-maemo volume=-200dB
@@ -104,8 +113,8 @@
load-module module-dbus-protocol
.endif
-load-module module-switch-on-port-available
+load-module module-rescue-streams sink_name=sink.null source_name=sink.null.monitor
### Make some devices default
set-default-sink sink.primary
-set-default-source source.primary
+set-default-source source.primary
\ No newline at end of file
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-ham-0.0.7.tar.bz2/sparse/etc/tfa98xx
^
|
+(symlink to /system/etc/tfa98xx)
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-ham-0.0.7.tar.bz2/sparse/lib/systemd/system/bluetooth.service.wants/hcismd.service
^
|
+(symlink to ../hcismd.service)
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-ham-0.0.7.tar.bz2/sparse/lib/systemd/system/hcismd.service
^
|
@@ -0,0 +1,23 @@
+[Unit]
+Description=Enable Bluetooth HCI over SMD
+After=dev-wcnss_ctrl.device
+Before=bluetooth.service
+Conflicts=shutdown.target actdead.target
+
+[Service]
+Environment=WCNSS_IS_READY=/sys/module/wcnsscore/parameters/wcnss_is_ready
+Environment=HCISMD_SET=/sys/module/hci_smd/parameters/hcismd_set
+
+Type=forking
+RemainAfterExit=yes
+ExecStartPre=/bin/sh -c "[ $(cat $WCNSS_IS_READY) -eq '1' ]"
+ExecStartPre=/bin/sh -c "echo 0 > $HCISMD_SET"
+ExecStart=/system/bin/hci_qcomm_init -e
+ExecStartPost=/bin/sh -c "echo 1 > $HCISMD_SET"
+ExecStop=/bin/sh -c "echo 0 > $HCISMD_SET"
+Restart=on-failure
+RestartSec=5
+StartLimitBurst=20
+
+[Install]
+WantedBy=bluetooth.service
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-ham-0.0.7.tar.bz2/sparse/lib/systemd/system/wlan-module-load.service
^
|
@@ -1,15 +1,19 @@
[Unit]
Description=Load wifi module
+After=dev-wcnss_wlan.device
Conflicts=shutdown.target actdead.target
[Service]
-Type=simple
+Environment=WCNSS_IS_READY=/sys/module/wcnsscore/parameters/wcnss_is_ready
+
+Type=forking
RemainAfterExit=yes
-ExecStartPre=/bin/sleep 5s
+ExecStartPre=/bin/sh -c "[ $(cat $WCNSS_IS_READY) -eq '1' ]"
ExecStart=/sbin/modprobe wlan
ExecStop=/sbin/modprobe -r wlan
Restart=on-failure
RestartSec=2
+StartLimitBurst=15
[Install]
WantedBy=basic.target
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-ham-0.0.7.tar.bz2/sparse/lib/udev/rules.d/999-droid-wcnss.rules
^
|
@@ -0,0 +1,3 @@
+KERNEL=="wcnss_ctrl", SYMLINK="wcnss_ctrl", TAG+="systemd"
+KERNEL=="wcnss_wlan", SYMLINK="wcnss_wlan", TAG+="systemd"
+
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-ham-0.0.7.tar.bz2/sparse/var/lib/mce/builtin-gconf.values
^
|
@@ -0,0 +1 @@
+/system/osso/dsm/event_input/use_fake_double_tap=false
|