[-]
[+]
|
Changed |
_service:tar_git:droid-config-cancro.changes
|
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cancro.spec
^
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -6,7 +6,7 @@
<service name="tar_git">
<param name="url">https://github.com/CancroSailors/droid-config-cancro.git</param>
<param name="branch">master</param>
- <param name="revision">f55aad2264a278c0acd6d9dc4b78f4e18d4acef8</param>
+ <param name="revision">7b8772cf6f63da4e74f93e3231a8b32408615d1f</param>
<param name="token"/>
<param name="debian">N</param>
<param name="dumb">N</param>
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cancro-0.1.1.tar.bz2/droid-configs-device/kickstart/post_nochroot/hybris
^
|
@@ -1,8 +0,0 @@
-cp $INSTALL_ROOT/etc/os-release $IMG_OUT_DIR
-ls -l $INSTALL_ROOT/usr/share/ssu/features.d/customer-*.ini &> /dev/null
-if [ "$?" == "0" ]; then
- for CFILE in $(ls -1 $INSTALL_ROOT/usr/share/ssu/features.d/customer-*.ini); do
- CUSTOMER_TMP+=${CUSTOMER_TMP:+ }$(grep -i "^name[ ]*=" $CFILE | sed 's/^.*=[ \t]*//')
- done
- echo "SAILFISH_CUSTOMER=\""$(echo ${CUSTOMER_TMP} | sed 's![/ ()]\+!_!g')"\"" >> $IMG_OUT_DIR/os-release
-fi
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cancro-0.1.1.tar.bz2/droid-configs-device/sparse/lib/udev/platform-device
^
|
@@ -1,5 +0,0 @@
-#!/bin/sh
-RESULT=`echo "$1" | sed "s|/devices/\([^/]*\)/\([^/]*\)/.*|\1/\2|g"| cut -d'/' -f1`
-
-echo ANDROID_BLOCK_DEVICE=$RESULT
-
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cancro-0.1.1.tar.bz2/sparse/etc/pulse/arm_qualcomm_msm_8974_cancro_flattened_device_tree_000b.pa
^
|
@@ -1,123 +0,0 @@
-#!/usr/bin/pulseaudio -nF
-#
-# This file is part of PulseAudio.
-#
-# PulseAudio is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# PulseAudio is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with PulseAudio; if not, write to the Free Software Foundation,
-# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
-
-# This startup script is used only if PulseAudio is started per-user
-# (i.e. not in system mode)
-
-.nofail
-
-.fail
-
-load-module module-droid-keepalive
-
-load-module module-meego-parameters cache=1 directory=/var/lib/nemo-pulseaudio-parameters use_voice=false
-load-module module-meego-mainvolume virtual_stream=true
-
-### Automatically restore the volume of streams
-# load configuration based on bluez version
-.ifexists /etc/pulse/bluez5_stream_restore.pa
- .include /etc/pulse/bluez5_stream_restore.pa
-.else
- .include /etc/pulse/bluez4_stream_restore.pa
-.endif
-
-load-module module-match table=/etc/pulse/x-maemo-match.table key=application.name
-
-### Automatically augment property information from .desktop files
-### stored in /usr/share/application
-load-module module-augment-properties
-
-load-module module-null-sink sink_name=sink.null rate=48000
-
-### If droid-card needs other arguments than the default, have the new
-### load-module line in /etc/pulse/arm_droid_card_custom.pa
-.ifexists /etc/pulse/arm_droid_card_custom.pa
- .include /etc/pulse/arm_droid_card_custom.pa
-.else
- load-module module-droid-card rate=48000
-.endif
-
-### Needed on many new devices. HADK guide explains how to implement this fully
-.ifexists module-droid-glue.so
- .nofail
- load-module module-droid-glue
- .fail
-.endif
-
-load-module module-null-sink sink_name=sink.fake.sco rate=8000 channels=1
-load-module module-null-source source_name=source.fake.sco rate=8000 channels=1
-load-module module-bluetooth-discover bluez4_args="sco_sink=sink.fake.sco sco_source=source.fake.sco" bluez5_args="headset=droid"
-
-load-module module-policy-enforcement route_sources_first=true
-
-load-module module-role-ducking trigger_roles=notification,warning ducking_roles=x-maemo volume=-12dB
-
-### Load several protocols
-.ifexists module-esound-protocol-unix.so
-load-module module-esound-protocol-unix
-.endif
-load-module module-native-protocol-unix
-
-### Network access (may be configured with paprefs, so leave this commented
-### here if you plan to use paprefs)
-#load-module module-esound-protocol-tcp
-#load-module module-native-protocol-tcp
-
-### Load the RTP receiver module (also configured via paprefs, see above)
-#load-module module-rtp-recv
-
-### Load the RTP sender module (also configured via paprefs, see above)
-#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
-#load-module module-rtp-send source=rtp.monitor
-
-### Load additional modules from GConf settings. This can be configured with the paprefs tool.
-### Please keep in mind that the modules configured by paprefs might conflict with manually
-### loaded modules.
-.ifexists module-gconf.so
-.nofail
-load-module module-gconf
-.fail
-.endif
-
-### Make sure we always have a sink around, even if it is a null sink.
-load-module module-always-sink
-
-### Honour intended role device property
-load-module module-intended-roles
-
-### Automatically suspend sinks/sources that become idle for too long
-load-module module-suspend-on-idle timeout=1
-
-### If autoexit on idle is enabled we want to make sure we only quit
-### when no local session needs us anymore.
-.ifexists module-console-kit.so
-load-module module-console-kit
-.endif
-.ifexists module-systemd-login.so
-load-module module-systemd-login
-.endif
-
-### Load DBus protocol
-.ifexists module-dbus-protocol.so
-load-module module-dbus-protocol
-.endif
-
-### Move orphan streams to placeholder sinks or sources so that playback doesn't get
-### interrupted. Policy enforcement module then moves the streams to new appropriate
-### sinks or sources.
-load-module module-rescue-streams sink_name=sink.null source_name=sink.null.monitor
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cancro-0.1.1.tar.bz2/sparse/etc/sysconfig/pulseaudio
^
|
@@ -1,2 +0,0 @@
-CONFIG="-n --file=/etc/pulse/arm_qualcomm_msm_8974_cancro_flattened_device_tree_000b.pa"
-
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cancro-0.1.1.tar.bz2/sparse/lib/udev/platform-device
^
|
@@ -1,5 +0,0 @@
-#!/bin/sh
-RESULT=`echo "$1" | sed "s|/devices/\([^/]*\)/\([^/]*\)/.*|\1/\2|g"| cut -d'/' -f1`
-
-echo ANDROID_BLOCK_DEVICE=$RESULT
-
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cancro-0.1.1.tar.bz2/sparse/lib/udev/rules.d/998-droid-system.rules
^
|
@@ -1,14 +0,0 @@
-SUBSYSTEM=="graphics", SYMLINK+="$env{SUBSYSTEM}/%k"
-SUBSYSTEM=="block", SYMLINK+="$env{SUBSYSTEM}/%k"
-SUBSYSTEM=="drm", SYMLINK+="dri/%k"
-SUBSYSTEM=="oncrpc", SYMLINK+="$env{SUBSYSTEM}/%k"
-SUBSYSTEM=="adsp", SYMLINK+="$env{SUBSYSTEM}/%k"
-SUBSYSTEM=="msm_camera", SYMLINK+="$env{SUBSYSTEM}/%k"
-SUBSYSTEM=="mtd", SYMLINK+="$env{SUBSYSTEM}/%k"
-SUBSYSTEM=="block", SYMLINK+="$env{SUBSYSTEM}/%k"
-SUBSYSTEM=="misc", KERNEL=="log_events", SYMLINK+="alog/events"
-SUBSYSTEM=="misc", KERNEL=="log_radio", SYMLINK+="alog/radio"
-SUBSYSTEM=="misc", KERNEL=="log_system", SYMLINK+="alog/system"
-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}"
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cancro-0.1.1.tar.bz2/sparse/lib/udev/rules.d/999-droid-vidc.rules
^
|
@@ -1,9 +0,0 @@
-KERNEL=="video32", MODE="0660", GROUP="audio", OWNER="system"
-KERNEL=="video33", MODE="0660", GROUP="audio", OWNER="system"
-KERNEL=="video34", MODE="0660", GROUP="audio", OWNER="system"
-KERNEL=="video35", MODE="0660", GROUP="audio", OWNER="system"
-
-KERNEL=="video32", SYMLINK+="video/venus_dec"
-KERNEL=="video33", SYMLINK+="video/venus_enc"
-KERNEL=="video34", SYMLINK+="video/q6_dec"
-KERNEL=="video35", SYMLINK+="video/q6_enc"
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cancro-0.1.1.tar.bz2/sparse/usr/share/ngfd/plugins.d/50-ffmemless.ini
^
|
@@ -1,153 +0,0 @@
-[ffmemless]
-
-# System wide effect settings file evironment variable.
-# The if there are parameters for any effects in the system settings file
-# pointed by the given environment variable, they will override the effect
-# settings for those effects. Other effects remain unchanged.
-system_effects_env = NGF_FFMEMLESS_SETTINGS
-
-# EXAMPLE: re-define NGF_SHORT in system settings file
-# export NGF_FFMEMLESS_SETTINGS=/path/to/my/feedback.ini
-# contents of "feedback.ini" would look like this
-#[ffmemless]
-#NGF_SHORT_TYPE = rumble
-#NGF_SHORT_DURATION = 110
-#NGF_SHORT_DELAY = 1
-#NGF_SHORT_MAGNITUDE = 56000
-#
-# Please note that the [ffmemless] tag is needed for glib to find the effects.
-# Now this will change the NGF_SHORT settings to what they are above.
-
-
-# All effect names must be listed here, otherwise they don't get created
-supported_effects = NGF_SHORT;NGF_LONG;NGF_STRONG;NGF_BATTERYLOW;NGF_RINGTONE;NGF_CLOCK;NGF_SMS;NGF_PULLEY;NGF_TOH;NGF_PWROFF;NGF_PWRKEY
-
-# Setting up the effect parameters.
-# - The only mandatory parameter is _TYPE, if it's missing effect is not created
-# - Full list of valid parameter value ranges below
-#
-# - Generic parameters for all effect types
-#
-# _TYPE = [rumble|periodic], no default, mandatory parameter
-# _DIRECTION = [forward|reverse], defaults to forward
-# _DURATION = [0,65535], milliseconds, defaults to NGF_DEFAULT_DURATION
-# _DELAY = [0,65535], milliseconds before starting playback, defaults to 0
-#
-# _REPEAT = [1,4294967295], how many times to repeat effect, defaults to 1
-# Please note that if the event has "sound.repeat" enabled,
-# the effect is repeated until stop signal regardless of _REPEAT
-# value.
-#
-# - Type specific parameters for rumble effects:
-#
-# _MAGNITUDE = [0,65535], defaults to NGF_DEFAULT_RMAGNITUDE
-#
-# -Type specific parameters for periodic effects
-#
-# _WAVEFORM = [sine|triangle|square], defaults to sine
-# _PERIOD = [0,65535], defaults to 0
-# _MAGNITUDE = [0,32767], defaults to NGF_DEFAULT_PMAGNITUDE
-# _OFFSET = [0,32767], defaults to 0
-# _PHASE = [0,65535], in milliseconds, defaults to 0
-# _ATTACK = [0,65535], in milliseconds, defaults to 0
-# _ALEVEL = [0,32767], defaults to 0
-# _FADE = [0,65535], in milliseconds, defaults to 0
-# _FLEVEL = [0,32767], defaults to 0
-
-NGF_SHORT_TYPE = rumble
-NGF_SHORT_DURATION = 240
-NGF_SHORT_DELAY = 0
-NGF_SHORT_MAGNITUDE = 16383
-
-NGF_LONG_TYPE = periodic
-NGF_LONG_WAVEFORM = sine
-NGF_LONG_DURATION = 850
-NGF_LONG_PERIOD = 150
-NGF_LONG_MAGNITUDE = 15383
-NGF_LONG_ATTACK = 0
-NGF_LONG_ALEVEL = 0
-NGF_LONG_FADE = 180
-NGF_LONG_FLEVEL = 0
-
-NGF_STRONG_TYPE = rumble
-NGF_STRONG_DURATION = 320
-NGF_STRONG_DELAY = 0
-NGF_STRONG_MAGNITUDE = 65535
-
-NGF_BATTERYLOW_TYPE = periodic
-NGF_BATTERYLOW_WAVEFORM = sine
-NGF_BATTERYLOW_DURATION = 120
-NGF_BATTERYLOW_REPEAT = 2
-NGF_BATTERYLOW_DELAY = 40
-NGF_BATTERYLOW_PERIOD = 150
-NGF_BATTERYLOW_MAGNITUDE = 19383
-NGF_BATTERYLOW_OFFSET = 0
-NGF_BATTERYLOW_PHASE = 0
-NGF_BATTERYLOW_DIRECTION = forward
-NGF_BATTERYLOW_ATTACK = 0
-NGF_BATTERYLOW_ALEVEL = 0
-NGF_BATTERYLOW_FADE = 180
-NGF_BATTERYLOW_FLEVEL = 0
-
-NGF_SMS_TYPE = periodic
-NGF_SMS_WAVEFORM = sine
-NGF_SMS_DURATION = 240
-NGF_SMS_REPEAT = 2
-NGF_SMS_DELAY = 140
-NGF_SMS_PERIOD = 50
-NGF_SMS_MAGNITUDE = 16383
-NGF_SMS_OFFSET = 0
-NGF_SMS_PHASE = 0
-NGF_SMS_DIRECTION = forward
-NGF_SMS_ATTACK = 0
-NGF_SMS_ALEVEL = 0
-NGF_SMS_FADE = 80
-NGF_SMS_FLEVEL = 0
-
-NGF_RINGTONE_TYPE = periodic
-NGF_RINGTONE_WAVEFORM = sine
-NGF_RINGTONE_DURATION = 2400
-NGF_RINGTONE_DELAY = 400
-NGF_RINGTONE_PERIOD = 100
-NGF_RINGTONE_MAGNITUDE = 16383
-NGF_RINGTONE_OFFSET = 0
-NGF_RINGTONE_PHASE = 0
-NGF_RINGTONE_DIRECTION = forward
-NGF_RINGTONE_ATTACK = 0
-NGF_RINGTONE_ALEVEL = 0
-NGF_RINGTONE_FADE = 300
-NGF_RINGTONE_FLEVEL = 4096
-
-NGF_CLOCK_TYPE = periodic
-NGF_CLOCK_WAVEFORM = sine
-NGF_CLOCK_DURATION = 4000
-NGF_CLOCK_DELAY = 500
-NGF_CLOCK_PERIOD = 100
-NGF_CLOCK_MAGNITUDE = 8000
-NGF_CLOCK_OFFSET = 0
-NGF_CLOCK_PHASE = 0
-NGF_CLOCK_DIRECTION = forward
-NGF_CLOCK_ATTACK = 1000
-NGF_CLOCK_ALEVEL = 0
-NGF_CLOCK_FADE = 400
-NGF_CLOCK_FLEVEL = 0
-
-NGF_PULLEY_TYPE = rumble
-NGF_PULLEY_DURATION = 120
-NGF_PULLEY_DELAY = 0
-NGF_PULLEY_MAGNITUDE = 14000
-
-NGF_TOH_TYPE = periodic
-NGF_TOH_DURATION = 240
-NGF_TOH_DELAY = 0
-NGF_TOH_MAGNITUDE = 14000
-
-NGF_PWROFF_TYPE = rumble
-NGF_PWROFF_DURATION = 140
-NGF_PWROFF_DELAY = 0
-NGF_PWROFF_MAGNITUDE = 57000
-
-NGF_PWRKEY_TYPE = rumble
-NGF_PWRKEY_DURATION = 100
-NGF_PWRKEY_DELAY = 0
-NGF_PWRKEY_MAGNITUDE = 28000
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/droid-configs-device/droid-configs.inc
^
|
@@ -135,8 +135,8 @@
Requires: ohm-plugin-ruleengine
Requires: ohm-plugin-profile
Requires: ohm-plugin-route
-Requires: pulseaudio-modules-nemo-common >= 8.0.24
-Requires: pulseaudio-policy-enforcement >= 8.0.33
+Requires: pulseaudio-modules-nemo-common >= 11.1.24
+Requires: pulseaudio-policy-enforcement >= 11.1.35
Requires: policy-settings-common >= 0.7.3
Obsoletes: ohm-config <= 1.1.15
# ohm-configs-default should not be installed ever, thus no version
@@ -172,12 +172,12 @@
%package pulseaudio-settings
Summary: PulseAudio settings for %{rpm_device} hw
Provides: droid-config-pulseaudio-settings
-Requires: pulseaudio >= 8.0
-Requires: pulseaudio-modules-nemo-parameters >= 8.0.24
-Requires: pulseaudio-modules-nemo-stream-restore >= 8.0.24
-Requires: pulseaudio-modules-nemo-mainvolume >= 8.0.24
-Requires: pulseaudio-modules-droid >= 8.0.63
-Requires: pulseaudio-policy-enforcement >= 8.0.33
+Requires: pulseaudio >= 11.1
+Requires: pulseaudio-modules-nemo-parameters >= 11.1.24
+Requires: pulseaudio-modules-nemo-stream-restore >= 11.1.24
+Requires: pulseaudio-modules-nemo-mainvolume >= 11.1.24
+Requires: pulseaudio-modules-droid >= 11.1.66
+Requires: pulseaudio-policy-enforcement >= 11.1.35
Provides: pulseaudio-settings
%description pulseaudio-settings
@@ -473,10 +473,6 @@
sed -e 's|@DEVICE@|%{rpm_device}|g' %{dcd_path}/kickstart/pack_package-droid-updater > $DEST_UPDATER || true
fi
-# post_nochroot
-mkdir -p $RPM_BUILD_ROOT/%{_datadir}/ssu/kickstart/post_nochroot/
-cp %{dcd_common}/kickstart/post_nochroot/hybris $RPM_BUILD_ROOT/%{_datadir}/ssu/kickstart/post_nochroot/%{rpm_device}
-
# and attachments (override if there is one)
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/ssu/kickstart/attachment
cp -f %{dcd_common}/kickstart/attachment_hybris $RPM_BUILD_ROOT/%{_datadir}/ssu/kickstart/attachment/%{rpm_device}
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/droid-configs-device/helpers/process_patterns.sh
^
|
@@ -33,7 +33,8 @@
echo "<patterns count=\"$COUNT\">" > ../patterns.xml
find . -type f -name "*.xml" -exec cat {} + >> ../patterns.xml
echo "</patterns>" >> ../patterns.xml
-modifyrepo ../patterns.xml $ANDROID_ROOT/droid-local-repo/$DEVICE/repodata
+modifyrepo_c ../patterns.xml $ANDROID_ROOT/droid-local-repo/$DEVICE/repodata ||
+ modifyrepo ../patterns.xml $ANDROID_ROOT/droid-local-repo/$DEVICE/repodata
cd ../..
rm -rf tmp/patterns
rm tmp/patterns.xml
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/droid-configs-device/patterns/templates/jolla-hw-adaptation-@DEVICE@.yaml
^
|
@@ -66,7 +66,7 @@
- rfkill
# enable device lock and allow to select untrusted software
-- jolla-devicelock-plugin-encsfa
+- jolla-devicelock-daemon-encsfa
# For GPS
- geoclue-provider-hybris
@@ -75,5 +75,8 @@
#- qt5-qtmultimedia-plugin-mediaservice-irisradio
#- jolla-mediaplayer-radio
+# For devices with SD Card
+#- sd-utils
+
Summary: Jolla HW Adaptation @DEVICE@
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/droid-configs-device/sparse/etc/media_codecs_performance.xml
^
|
+(symlink to /system/etc/media_codecs_performance.xml)
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/droid-configs-device/sparse/etc/pulse/xpolicy.conf
^
|
@@ -353,29 +353,6 @@
ports = droid.output.primary@equals:"true"->output-wired_headphone
[device]
-type = earpieceandtvout
-sink = droid.output.primary@equals:"true"
-ports = droid.output.primary@equals:"true"->output-earpiece
-
-[device]
-type = earpieceforcall
-sink = droid.output.primary@equals:"true"
-ports = droid.output.primary@equals:"true"->output-earpiece
-flags = delayed_port_change
-delay = 200
-
-[device]
-type = earpiece
-sink = droid.output.primary@equals:"true"
-ports = droid.output.primary@equals:"true"->output-earpiece
-
-[device]
-type = earpieceforalien
-sink = droid.output.media_latency@equals:"true"
-ports = droid.output.primary@equals:"true"->output-earpiece
-flags = refresh_always
-
-[device]
type = microphone
source = droid.input.builtin@equals:"true"
ports = droid.input.builtin@equals:"true"->$droid_source_input_microphone
@@ -539,10 +516,6 @@
name = "input of source."
group = internal
-[stream]
-property = media.role@equals:"abstract"
-group = internal
-
# For routing to sink.primaryandbluez
[stream]
property = media.name@startswith:"Simultaneous output on"
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/droid-configs-device/sparse/etc/pulse/xpolicy.conf.d/bluez4.conf
^
|
@@ -46,21 +46,6 @@
profile = $droid_card_profile
[card]
-type = earpiece
-name = equals:$droid_card
-profile = voicecall
-
-[card]
-type = earpieceforcall
-name = equals:$droid_card
-profile = voicecall
-
-[card]
-type = earpieceforalien
-name = equals:$droid_card
-profile = communication
-
-[card]
type = ihfforcall
name = equals:$droid_card
profile = voicecall
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/droid-configs-device/sparse/etc/pulse/xpolicy.conf.d/bluez4_earpiece.conf
^
|
@@ -0,0 +1,14 @@
+[card]
+type = earpiece
+name = equals:$droid_card
+profile = voicecall
+
+[card]
+type = earpieceforcall
+name = equals:$droid_card
+profile = voicecall
+
+[card]
+type = earpieceforalien
+name = equals:$droid_card
+profile = communication
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/droid-configs-device/sparse/etc/pulse/xpolicy.conf.d/bluez5.conf
^
|
@@ -25,7 +25,7 @@
[card]
type = bthsp
name0 = startswith:"bluez_card"
-profile0 = droid_hsp
+profile0 = headset_head_unit
name1 = equals:$droid_card
profile1 = $droid_card_profile
flags1 = disable_notify
@@ -33,7 +33,7 @@
[card]
type = bthspforcall
name0 = startswith:"bluez_card"
-profile0 = droid_hsp
+profile0 = headset_head_unit
name1 = equals:$droid_card
profile1 = voicecall
flags1 = disable_notify
@@ -41,7 +41,7 @@
[card]
type = bthspforalien
name0 = startswith:"bluez_card"
-profile0 = droid_hsp
+profile0 = headset_head_unit
name1 = equals:$droid_card
profile1 = communication
flags1 = disable_notify
@@ -49,7 +49,7 @@
[card]
type = bthfp
name0 = startswith:"bluez_card"
-profile0 = droid_hfp
+profile0 = headset_head_unit
name1 = equals:$droid_card
profile1 = $droid_card_profile
flags1 = disable_notify
@@ -57,7 +57,7 @@
[card]
type = bthfpforcall
name0 = startswith:"bluez_card"
-profile0 = droid_hfp
+profile0 = headset_head_unit
name1 = equals:$droid_card
profile1 = voicecall
flags1 = disable_notify
@@ -65,7 +65,7 @@
[card]
type = bthfpforalien
name0 = startswith:"bluez_card"
-profile0 = droid_hfp
+profile0 = headset_head_unit
name1 = equals:$droid_card
profile1 = communication
flags1 = disable_notify
@@ -141,30 +141,6 @@
name1 = startswith:"bluez_card"
profile1 = off
flags1 = disable_notify
-
-[card]
-type = earpiece
-name0 = equals:$droid_card
-profile0= voicecall
-name1 = startswith:"bluez_card"
-profile1 = off
-flags1 = disable_notify
-
-[card]
-type = earpieceforcall
-name0 = equals:$droid_card
-profile0= voicecall
-name1 = startswith:"bluez_card"
-profile1 = off
-flags1 = disable_notify
-
-[card]
-type = earpieceforalien
-name0 = equals:$droid_card
-profile0= communication
-name1 = startswith:"bluez_card"
-profile1 = off
-flags1 = disable_notify
[card]
type = ihfforcall
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/droid-configs-device/sparse/etc/pulse/xpolicy.conf.d/bluez5_earpiece.conf
^
|
@@ -0,0 +1,23 @@
+[card]
+type = earpiece
+name0 = equals:$droid_card
+profile0= voicecall
+name1 = startswith:"bluez_card"
+profile1 = off
+flags1 = disable_notify
+
+[card]
+type = earpieceforcall
+name0 = equals:$droid_card
+profile0= voicecall
+name1 = startswith:"bluez_card"
+profile1 = off
+flags1 = disable_notify
+
+[card]
+type = earpieceforalien
+name0 = equals:$droid_card
+profile0= communication
+name1 = startswith:"bluez_card"
+profile1 = off
+flags1 = disable_notify
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/droid-configs-device/sparse/etc/pulse/xpolicy.conf.d/earpiece.conf
^
|
@@ -0,0 +1,22 @@
+[device]
+type = earpieceandtvout
+sink = droid.output.primary@equals:"true"
+ports = droid.output.primary@equals:"true"->output-earpiece
+
+[device]
+type = earpieceforcall
+sink = droid.output.primary@equals:"true"
+ports = droid.output.primary@equals:"true"->output-earpiece
+flags = delayed_port_change
+delay = 200
+
+[device]
+type = earpiece
+sink = droid.output.primary@equals:"true"
+ports = droid.output.primary@equals:"true"->output-earpiece
+
+[device]
+type = earpieceforalien
+sink = droid.output.media_latency@equals:"true"
+ports = droid.output.primary@equals:"true"->output-earpiece
+flags = refresh_always
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/droid-configs-device/sparse/etc/pulse/xpolicy.conf.d/fmradio.conf.disabled
^
|
@@ -14,7 +14,7 @@
type = headphoneasfmradiolp
source= droid.input.external@equals:true
ports = droid.input.external@equals:true->$droid_source_input_fmradio
-module= module-loopback@sink_input_properties='media.role=x-maemo%20media.name=fmradio-loopback'%20latency_msec=250%20reset_on_attach=true
+module= module-loopback@sink_input_properties='media.role=x-maemo%20media.name=fmradio-loopback'%20source_output_properties='media.name=fmradio-loopback-source'%20latency_msec=250
flags = refresh_always, module_unload_immediately
[device]
@@ -27,9 +27,13 @@
type = headsetasfmradiolp
source= droid.input.external@equals:true
ports = droid.input.external@equals:true->$droid_source_input_fmradio
-module= module-loopback@sink_input_properties='media.role=x-maemo%20media.name=fmradio-loopback'%20latency_msec=250%20reset_on_attach=true
+module= module-loopback@sink_input_properties='media.role=x-maemo%20media.name=fmradio-loopback'%20source_output_properties='media.name=fmradio-loopback-source'%20latency_msec=250
flags = refresh_always, module_unload_immediately
[stream]
property = media.name@equals:"fmradio-loopback"
group = player
+
+[stream]
+property = media.name@equals:"fmradio-loopback-source"
+group = player
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/droid-configs-device/sparse/etc/zypp/systemCheck.d/ha.check
^
|
@@ -1,5 +1,6 @@
-requires:droid-hal-@DEVICE@
requires:droid-config-@DEVICE@
+requires:droid-hal
+requires:droid-hal-img-boot
requires:droid-hal-version-@DEVICE@
requires:libhybris-libEGL
requires:libhybris-libGLESv2
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/droid-configs-device/sparse/lib/udev/rules.d/998-droid-system.rules
^
|
@@ -10,6 +10,53 @@
SUBSYSTEM=="misc", KERNEL=="log_system", SYMLINK+="alog/system"
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}"
+# Video device symlinks needed for video codecs
+SUBSYSTEM=="video4linux", KERNEL=="video[0-9]*", ATTRS{link_name}!="", SYMLINK+="video/%s{link_name}"
+
+# Partition symlinks, compatible with the android way of setting up the
+# symlinks.
+
+# Pass collected (see below) information down to lower levels.
+SUBSYSTEM=="?*", ENV{PLATFORM_FOLDER}=="", IMPORT{parent}="PLATFORM_FOLDER"
+SUBSYSTEM=="?*", ENV{PLATFORM_DEVICE}=="", IMPORT{parent}="PLATFORM_DEVICE"
+# Collect information about the platform devices:
+# /sys/devices/platform/FOLDER
+SUBSYSTEM=="platform", KERNEL!="", DEVPATH=="/devices/platform/*", DEVPATH!="/devices/platform/*/*", DEVPATH=="/devices/platform/*", ENV{PLATFORM_FOLDER}="$kernel"
+# /sys/devices/platform/FOLDER/DEVICE
+SUBSYSTEM=="platform", KERNEL!="", DEVPATH=="/devices/platform/*", DEVPATH!="/devices/platform/*/*/*", DEVPATH=="/devices/platform/*/*", ENV{PLATFORM_DEVICE}="$kernel"
+# /sys/devices/FOLDER
+SUBSYSTEM=="platform", KERNEL!="", DEVPATH!="/devices/platform/*", DEVPATH!="/devices/*/*", DEVPATH=="/devices/*", ENV{PLATFORM_FOLDER}="$kernel"
+# /sys/devices/FOLDER/DEVICE
+SUBSYSTEM=="platform", KERNEL!="", DEVPATH!="/devices/platform/*", DEVPATH!="/devices/*/*/*", DEVPATH=="/devices/*/*", ENV{PLATFORM_DEVICE}="$kernel"
+
+# This will set up the bootdevice symlink, given that androidboot.bootdevice
+# is set on the commandline. If it is not given on the cmdline, android-init
+# will create the bootdevice (if the paths are correct, which they now should
+# be). If android-init doesn't create the bootdevice symlink and there is no
+# androidboot.bootdevice on the cmdline, then the bootdevice symlink is not
+# required.
+IMPORT{cmdline}="bootdevice"
+# Unfortunately we cannot compare two variables, therefore use a workaround
+# with a file.
+ENV{bootdevice}!="", RUN+="/bin/touch /tmp/udev-$env{bootdevice}"
+SUBSYSTEM=="platform", KERNEL!="", DEVPATH=="/devices/platform/*", DEVPATH!="/devices/platform/*/*/*", DEVPATH=="/devices/platform/*/*", TEST=="/tmp/udev-$env{PLATFORM_DEVICE}", RUN+="/bin/mkdir -p /dev/block/platform/$env{PLATFORM_FOLDER}/$env{bootdevice}"
+SUBSYSTEM=="platform", KERNEL!="", DEVPATH=="/devices/platform/*", DEVPATH!="/devices/platform/*/*/*", DEVPATH=="/devices/platform/*/*", TEST=="/tmp/udev-$env{PLATFORM_DEVICE}", RUN+="/bin/ln -s /dev/block/platform/$env{PLATFORM_FOLDER}/$env{bootdevice} /dev/block/bootdevice"
+SUBSYSTEM=="platform", KERNEL!="", DEVPATH!="/devices/platform/*", DEVPATH!="/devices/*/*/*", DEVPATH=="/devices/*/*", TEST=="/tmp/udev-$env{PLATFORM_DEVICE}", RUN+="/bin/mkdir -p /dev/block/platform/$env{PLATFORM_FOLDER}/$env{bootdevice}"
+SUBSYSTEM=="platform", KERNEL!="", DEVPATH!="/devices/platform/*", DEVPATH!="/devices/*/*/*", DEVPATH=="/devices/*/*", TEST=="/tmp/udev-$env{PLATFORM_DEVICE}", RUN+="/bin/ln -s /dev/block/platform/$env{PLATFORM_FOLDER}/$env{bootdevice} /dev/block/bootdevice"
+# On certain devices the path is .../$PLATFORM_FOLDER/$PLATFORM_DEVICE/...,
+# but on others there is no $PLATFORM_DEVICE subdirectory, or in other words,
+# PLATFORM_FOLDER=platform device, PLATFORM_DEVICE=empty string. (1).
+SUBSYSTEM=="platform", KERNEL!="", DEVPATH=="/devices/platform/*", DEVPATH!="/devices/platform/*/*", DEVPATH=="/devices/platform/*", TEST=="/tmp/udev-$env{PLATFORM_FOLDER}", RUN+="/bin/mkdir -p /dev/block/platform/$env{bootdevice}"
+SUBSYSTEM=="platform", KERNEL!="", DEVPATH=="/devices/platform/*", DEVPATH!="/devices/platform/*/*", DEVPATH=="/devices/platform/*", TEST=="/tmp/udev-$env{PLATFORM_FOLDER}", RUN+="/bin/ln -s /dev/block/platform/$env{bootdevice} /dev/block/bootdevice"
+SUBSYSTEM=="platform", KERNEL!="", DEVPATH!="/devices/platform/*", DEVPATH!="/devices/*/*", DEVPATH=="/devices/*", TEST=="/tmp/udev-$env{PLATFORM_FOLDER}", RUN+="/bin/mkdir -p /dev/block/platform/$env{bootdevice}"
+SUBSYSTEM=="platform", KERNEL!="", DEVPATH!="/devices/platform/*", DEVPATH!="/devices/*/*", DEVPATH=="/devices/*", TEST=="/tmp/udev-$env{PLATFORM_FOLDER}", RUN+="/bin/ln -s /dev/block/platform/$env{bootdevice} /dev/block/bootdevice"
+
+# Create the partition symlinks.
+ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_NAME}=="?*", SYMLINK+="block/platform/$env{PLATFORM_FOLDER}/$env{PLATFORM_DEVICE}/by-name/$env{ID_PART_ENTRY_NAME}"
+ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_NAME}=="?*", SYMLINK+="block/platform/$env{PLATFORM_FOLDER}/$env{PLATFORM_DEVICE}/by-num/p$env{ID_PART_ENTRY_NUMBER}"
+ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_NAME}=="?*", SYMLINK+="block/platform/$env{PLATFORM_FOLDER}/$env{PLATFORM_DEVICE}/$name"
+
+# Backwards compatibility for old SailfishOS approach (might not be necessary)
+# NOTE: if the comment marked with (1) applies then this will not do anything.
+ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_NAME}=="?*", SYMLINK+="block/platform/$env{PLATFORM_FOLDER}/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-cancro-0.1.2.tar.bz2/droid-configs-device/sparse/usr/bin/droid/droid-hal-startup.sh
^
|
@@ -13,5 +13,8 @@
# Save systemd notify socket name to let droid-init-done.sh pick it up later
echo $NOTIFY_SOCKET > /run/droid-hal/notify-socket-name
-exec /sbin/droid-hal-init
+# Use exec nohup since systemd may send SIGHUP, but droid-hal-init doesn't
+# handle it. This avoids having to modify android_system_core, which would
+# require different handling for every different android version.
+exec nohup /sbin/droid-hal-init
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/droid-configs-device/sparse/usr/bin/droid/droid-init-done.sh
^
|
@@ -35,7 +35,7 @@
# oneshot
export LD_LIBRARY_PATH=/lib:/usr/lib
-export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
+export PATH=/sbin:/bin:/usr/sbin:/usr/bin
export NOTIFY_SOCKET="$(cat /run/droid-hal/notify-socket-name)"
DROID_PID=$(pgrep droid-hal-init)
systemd-notify --pid=$DROID_PID --ready
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/droid-configs-device/sparse/usr/sbin/flash-partition
^
|
@@ -199,6 +199,10 @@
fi
fi
+ if [[ "$SAILFISHOS_WIPE_PARTITIONS" == "1" ]]; then
+ dd if=/dev/zero bs=1M of=$DEVDIR/$DEVICE
+ fi
+
dd if=$FILENAME bs=4096 of=$DEVDIR/$DEVICE
if [[ "$SPARSE" == "ed26ff3a" ]]; then
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/patterns/jolla-configuration-cancro.yaml
^
|
@@ -5,10 +5,10 @@
Name: jolla-configuration-cancro
Requires:
- pattern:jolla-hw-adaptation-cancro
-- pattern:jolla-sailfish-applications
-- pattern:jolla-ui-wayland
+- patterns-sailfish-applications
+- patterns-sailfish-ui
# For devices with cellular modem. Those without one, please comment out:
-- pattern:jolla-sailfish-cellular-apps
+- patterns-sailfish-cellular-apps
# Early stages of porting benefit from these:
- pattern:sailfish-porter-tools
@@ -32,5 +32,9 @@
# needs some configuration to get all features working
- csd
+# Devices with 2G or more memory should also include this booster
+# to improve camera startup times and the like
+- mapplauncherd-booster-silica-qt5-media
+
Summary: Jolla Configuration cancro
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/patterns/jolla-hw-adaptation-cancro.yaml
^
|
@@ -73,7 +73,7 @@
- rfkill
# enable device lock and allow to select untrusted software
-- jolla-devicelock-plugin-encsfa
+- jolla-devicelock-daemon-encsfa
# Settings app needs this since update15
- jolla-settings-layout
@@ -90,7 +90,7 @@
- jolla-settings-system-flashlight
# For sdcard on Mi4
-- sd-utils
+#- sd-utils
Summary: Jolla HW Adaptation cancro
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/sparse/etc/pulse/xpolicy.conf.d/fmradio.conf
^
|
@@ -1,29 +0,0 @@
-[device]
-type = headphoneasfmradio
-source= equals:source.primary
-ports = source.primary:input-fm_rx
-flags = refresh_always
-
-[device]
-type = headphoneasfmradiolp
-source= equals:source.primary
-ports = source.primary:input-fm_rx
-module= module-loopback@sink_input_properties='media.role=x-maemo%20media.name=fmradio-loopback' latency_msec=200
-flags = refresh_always
-
-[device]
-type = headsetasfmradio
-source= equals:source.primary
-ports = source.primary:input-fm_rx
-flags = refresh_always
-
-[device]
-type = headsetasfmradiolp
-source= equals:source.primary
-ports = source.primary:input-fm_rx
-module= module-loopback@sink_input_properties='media.role=x-maemo%20media.name=fmradio-loopback' latency_msec=200
-flags = refresh_always
-
-[stream]
-property = media.name@equals:"fmradio-loopback"
-group = player
+(symlink to fmradio.conf.disabled)
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/sparse/etc/pulse/xpolicy.conf.d/xvars.conf
^
|
@@ -0,0 +1,2 @@
+[variable]
+droid_source_input_fmradio = input-fm_rx
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/sparse/usr/lib/qt5/plugins/feedback/qtfeedback-cancro.ini
^
|
@@ -1,134 +1,18 @@
-[ffmemless]
-
-# System wide effect settings file evironment variable.
-# The if there are parameters for any effects in the system settings file
-# pointed by the given environment variable, they will override the effect
-# settings for those effects. Other effects remain unchanged.
-system_effects_env = NGF_FFMEMLESS_SETTINGS
-
-# EXAMPLE: re-define NGF_SHORT in system settings file
-# export NGF_FFMEMLESS_SETTINGS=/path/to/my/feedback.ini
-# contents of "feedback.ini" would look like this
-#[ffmemless]
-#NGF_SHORT_TYPE = rumble
-#NGF_SHORT_DURATION = 110
-#NGF_SHORT_DELAY = 1
-#NGF_SHORT_MAGNITUDE = 56000
-#
-# Please note that the [ffmemless] tag is needed for glib to find the effects.
-# Now this will change the NGF_SHORT settings to what they are above.
-
-
-# All effect names must be listed here, otherwise they don't get created
-supported_effects = NGF_SHORT;NGF_LONG;NGF_STRONG;NGF_BATTERYLOW;NGF_RINGTONE;NGF_CLOCK;NGF_SMS
-
-# Setting up the effect parameters.
-# - The only mandatory parameter is _TYPE, if it's missing effect is not created
-# - Full list of valid parameter value ranges below
-#
-# - Generic parameters for all effect types
-#
-# _TYPE = [rumble|periodic], no default, mandatory parameter
-# _DIRECTION = [forward|reverse], defaults to forward
-# _DURATION = [0,65535], milliseconds, defaults to NGF_DEFAULT_DURATION
-# _DELAY = [0,65535], milliseconds before starting playback, defaults to 0
-#
-# _REPEAT = [1,4294967295], how many times to repeat effect, defaults to 1
-# Please note that if the event has "sound.repeat" enabled,
-# the effect is repeated until stop signal regardless of _REPEAT
-# value.
-#
-# - Type specific parameters for rumble effects:
-#
-# _MAGNITUDE = [0,65535], defaults to NGF_DEFAULT_RMAGNITUDE
-#
-# -Type specific parameters for periodic effects
-#
-# _WAVEFORM = [sine|triangle|square], defaults to sine
-# _PERIOD = [0,65535], defaults to 0
-# _MAGNITUDE = [0,32767], defaults to NGF_DEFAULT_PMAGNITUDE
-# _OFFSET = [0,32767], defaults to 0
-# _PHASE = [0,65535], in milliseconds, defaults to 0
-# _ATTACK = [0,65535], in milliseconds, defaults to 0
-# _ALEVEL = [0,32767], defaults to 0
-# _FADE = [0,65535], in milliseconds, defaults to 0
-# _FLEVEL = [0,32767], defaults to 0
-
-NGF_SHORT_TYPE = rumble
-NGF_SHORT_DURATION = 240
-NGF_SHORT_DELAY = 0
-NGF_SHORT_MAGNITUDE = 27000
-
-NGF_LONG_TYPE = periodic
-NGF_LONG_WAVEFORM = sine
-NGF_LONG_DURATION = 850
-NGF_LONG_PERIOD = 150
-NGF_LONG_MAGNITUDE = 15383
-NGF_LONG_ATTACK = 0
-NGF_LONG_ALEVEL = 0
-NGF_LONG_FADE = 180
-NGF_LONG_FLEVEL = 0
-
-NGF_STRONG_TYPE = rumble
-NGF_STRONG_DURATION = 320
-NGF_STRONG_DELAY = 0
-NGF_STRONG_MAGNITUDE = 65535
-
-NGF_BATTERYLOW_TYPE = periodic
-NGF_BATTERYLOW_WAVEFORM = sine
-NGF_BATTERYLOW_DURATION = 120
-NGF_BATTERYLOW_REPEAT = 2
-NGF_BATTERYLOW_DELAY = 40
-NGF_BATTERYLOW_PERIOD = 150
-NGF_BATTERYLOW_MAGNITUDE = 19383
-NGF_BATTERYLOW_OFFSET = 0
-NGF_BATTERYLOW_PHASE = 0
-NGF_BATTERYLOW_DIRECTION = forward
-NGF_BATTERYLOW_ATTACK = 0
-NGF_BATTERYLOW_ALEVEL = 0
-NGF_BATTERYLOW_FADE = 180
-NGF_BATTERYLOW_FLEVEL = 0
-
-NGF_SMS_TYPE = periodic
-NGF_SMS_WAVEFORM = sine
-NGF_SMS_DURATION = 240
-NGF_SMS_REPEAT = 2
-NGF_SMS_DELAY = 140
-NGF_SMS_PERIOD = 50
-NGF_SMS_MAGNITUDE = 27000
-NGF_SMS_OFFSET = 0
-NGF_SMS_PHASE = 0
-NGF_SMS_DIRECTION = forward
-NGF_SMS_ATTACK = 0
-NGF_SMS_ALEVEL = 0
-NGF_SMS_FADE = 80
-NGF_SMS_FLEVEL = 0
-
-NGF_RINGTONE_TYPE = periodic
-NGF_RINGTONE_WAVEFORM = sine
-NGF_RINGTONE_DURATION = 2400
-NGF_RINGTONE_DELAY = 400
-NGF_RINGTONE_PERIOD = 100
-NGF_RINGTONE_MAGNITUDE = 16383
-NGF_RINGTONE_OFFSET = 0
-NGF_RINGTONE_PHASE = 0
-NGF_RINGTONE_DIRECTION = forward
-NGF_RINGTONE_ATTACK = 500
-NGF_RINGTONE_ALEVEL = 2560
-NGF_RINGTONE_FADE = 300
-NGF_RINGTONE_FLEVEL = 4096
-
-NGF_CLOCK_TYPE = periodic
-NGF_CLOCK_WAVEFORM = sine
-NGF_CLOCK_DURATION = 4000
-NGF_CLOCK_DELAY = 500
-NGF_CLOCK_PERIOD = 100
-NGF_CLOCK_MAGNITUDE = 8000
-NGF_CLOCK_OFFSET = 0
-NGF_CLOCK_PHASE = 0
-NGF_CLOCK_DIRECTION = forward
-NGF_CLOCK_ATTACK = 1000
-NGF_CLOCK_ALEVEL = 0
-NGF_CLOCK_FADE = 400
-NGF_CLOCK_FLEVEL = 0
-
+ACTUATOR_SPIN_UP=2
+ACTUATOR_SPIN_DOWN=4
+ACTUATOR_RUMBLE_MIN=8191
+ACTUATOR_RUMBLE_MAX=32767
+ACTUATOR_MAGNITUDE_MAX=16000
+ACTUATOR_MAGNITUDE_MEAN=12000
+LONG_PRESS_DURATION=250
+LONG_PRESS_DELAY=4
+LONG_PRESS_MAX=16384
+LONG_PRESS_MIN=8191
+BUTTON_PRESS_DURATION=35
+BUTTON_PRESS_DELAY=4
+BUTTON_PRESS_MAX=24576
+BUTTON_PRESS_MIN=20478
+KEYPAD_PRESS_DURATION=23
+KEYPAD_PRESS_DELAY=4
+KEYPAD_PRESS_MAX=32767
+KEYPAD_PRESS_MIN=32767
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/sparse/usr/share/csd/settings.d/hw-settings.ini
^
|
@@ -2,39 +2,87 @@
AudioMic1=1
AudioMic2=1
BackCamera=1
+BackCameraFlash=1
Backlight=1
Battery=1
Bluetooth=1
CellularData=1
+CellularVoice=1
ECompass=1
FmRadio=1
FrontCamera=1
+FrontCameraFlash=0
GPS=1
CellInfo=1
GSensor=1
Gyro=1
+Hall=0
+Fingerprint=0
Headset=1
Key=1
LCD=1
LED=1
LightSensor=1
Loudspeaker=1
+TOH=0
ProxSensor=1
Receiver=1
SDCard=1
SIM=1
StereoLoudspeaker=0
Touch=1
+TouchAuto=0
UsbCharging=1
UsbOtg=1
Vibrator=1
Wifi=1
+VideoPlayback=1
[BackCamera]
Flash=1
+# Focus modes:
+# 1 == Manual
+# 2 == Hyperfocal
+# 4 == Infinity
+# 8 == Auto
+# 16 == Continious
+# 32 == Manual
+#FocusMode=8
+#[FrontCamera]
+#FocusMode=2
+
+# Each RunInTest can be configured to have a pass rate requirement.
+# By default we're expecting 100% pass rate.
[FrontBackCamera]
RunInTestPassRateRequirement=0.95
+[LED]
+# Supported types are: Binary, White, AmberGreen, RedGreen, and RGB
+LedType=RGB
+
[SIM]
ModemCount=1
+
+[FmRadio]
+DefaultFrequency=91.9
+
+# Defaults should be fine for most of the devices,
+# but in case one wants to loosen or stricten the defaults
+# it can be done here.
+#[GSensor]
+#MinY=-1.0
+#MaxY=1.0
+#MinX=-1.0
+#MaxX=1.0
+#MinZ=8.8
+#MaxZ=10.8
+
+# As for GSensor, default should be fine, but if need adjustment
+# Min and Max values set min and max for all axis X, Y and Z
+#[Gyro]
+#Min=-1.3
+#Max=1.3
+
+[Battery]
+VoltageTest=False
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/sparse/usr/share/ngfd/plugins.d/ngf-vibra-cancro.ini
^
|
@@ -1,19 +1,133 @@
-ACTUATOR_SPIN_UP=2
-ACTUATOR_SPIN_DOWN=4
-ACTUATOR_RUMBLE_MIN=8191
-ACTUATOR_RUMBLE_MAX=32767
-ACTUATOR_MAGNITUDE_MAX=16000
-ACTUATOR_MAGNITUDE_MEAN=12000
-LONG_PRESS_DURATION=250
-LONG_PRESS_DELAY=4
-LONG_PRESS_MAX=16384
-LONG_PRESS_MIN=8191
-BUTTON_PRESS_DURATION=35
-BUTTON_PRESS_DELAY=4
-BUTTON_PRESS_MAX=24576
-BUTTON_PRESS_MIN=20478
-KEYPAD_PRESS_DURATION=23
-KEYPAD_PRESS_DELAY=4
-KEYPAD_PRESS_MAX=32767
-KEYPAD_PRESS_MIN=32767
+[ffmemless]
+# System wide effect settings file evironment variable.
+# The if there are parameters for any effects in the system settings file
+# pointed by the given environment variable, they will override the effect
+# settings for those effects. Other effects remain unchanged.
+system_effects_env = NGF_FFMEMLESS_SETTINGS
+
+# EXAMPLE: re-define NGF_SHORT in system settings file
+# export NGF_FFMEMLESS_SETTINGS=/path/to/my/feedback.ini
+# contents of "feedback.ini" would look like this
+#[ffmemless]
+#NGF_SHORT_TYPE = rumble
+#NGF_SHORT_DURATION = 110
+#NGF_SHORT_DELAY = 1
+#NGF_SHORT_MAGNITUDE = 56000
+#
+# Please note that the [ffmemless] tag is needed for glib to find the effects.
+# Now this will change the NGF_SHORT settings to what they are above.
+
+
+# All effect names must be listed here, otherwise they don't get created
+supported_effects = NGF_SHORT;NGF_LONG;NGF_STRONG;NGF_BATTERYLOW;NGF_RINGTONE;NGF_CLOCK;NGF_SMS
+
+# Setting up the effect parameters.
+# - The only mandatory parameter is _TYPE, if it's missing effect is not created
+# - Full list of valid parameter value ranges below
+#
+# - Generic parameters for all effect types
+#
+# _TYPE = [rumble|periodic], no default, mandatory parameter
+# _DIRECTION = [forward|reverse], defaults to forward
+# _DURATION = [0,65535], milliseconds, defaults to NGF_DEFAULT_DURATION
+# _DELAY = [0,65535], milliseconds before starting playback, defaults to 0
+#
+# _REPEAT = [1,4294967295], how many times to repeat effect, defaults to 1
+# Please note that if the event has "sound.repeat" enabled,
+# the effect is repeated until stop signal regardless of _REPEAT
+# value.
+#
+# - Type specific parameters for rumble effects:
+#
+# _MAGNITUDE = [0,65535], defaults to NGF_DEFAULT_RMAGNITUDE
+#
+# -Type specific parameters for periodic effects
+#
+# _WAVEFORM = [sine|triangle|square], defaults to sine
+# _PERIOD = [0,65535], defaults to 0
+# _MAGNITUDE = [0,32767], defaults to NGF_DEFAULT_PMAGNITUDE
+# _OFFSET = [0,32767], defaults to 0
+# _PHASE = [0,65535], in milliseconds, defaults to 0
+# _ATTACK = [0,65535], in milliseconds, defaults to 0
+# _ALEVEL = [0,32767], defaults to 0
+# _FADE = [0,65535], in milliseconds, defaults to 0
+# _FLEVEL = [0,32767], defaults to 0
+
+NGF_SHORT_TYPE = rumble
+NGF_SHORT_DURATION = 240
+NGF_SHORT_DELAY = 0
+NGF_SHORT_MAGNITUDE = 27000
+
+NGF_LONG_TYPE = periodic
+NGF_LONG_WAVEFORM = sine
+NGF_LONG_DURATION = 850
+NGF_LONG_PERIOD = 150
+NGF_LONG_MAGNITUDE = 15383
+NGF_LONG_ATTACK = 0
+NGF_LONG_ALEVEL = 0
+NGF_LONG_FADE = 180
+NGF_LONG_FLEVEL = 0
+
+NGF_STRONG_TYPE = rumble
+NGF_STRONG_DURATION = 320
+NGF_STRONG_DELAY = 0
+NGF_STRONG_MAGNITUDE = 65535
+
+NGF_BATTERYLOW_TYPE = periodic
+NGF_BATTERYLOW_WAVEFORM = sine
+NGF_BATTERYLOW_DURATION = 120
+NGF_BATTERYLOW_REPEAT = 2
+NGF_BATTERYLOW_DELAY = 40
+NGF_BATTERYLOW_PERIOD = 150
+NGF_BATTERYLOW_MAGNITUDE = 19383
+NGF_BATTERYLOW_OFFSET = 0
+NGF_BATTERYLOW_PHASE = 0
+NGF_BATTERYLOW_DIRECTION = forward
+NGF_BATTERYLOW_ATTACK = 0
+NGF_BATTERYLOW_ALEVEL = 0
+NGF_BATTERYLOW_FADE = 180
+NGF_BATTERYLOW_FLEVEL = 0
+
+NGF_SMS_TYPE = periodic
+NGF_SMS_WAVEFORM = sine
+NGF_SMS_DURATION = 240
+NGF_SMS_REPEAT = 2
+NGF_SMS_DELAY = 140
+NGF_SMS_PERIOD = 50
+NGF_SMS_MAGNITUDE = 27000
+NGF_SMS_OFFSET = 0
+NGF_SMS_PHASE = 0
+NGF_SMS_DIRECTION = forward
+NGF_SMS_ATTACK = 0
+NGF_SMS_ALEVEL = 0
+NGF_SMS_FADE = 80
+NGF_SMS_FLEVEL = 0
+
+NGF_RINGTONE_TYPE = periodic
+NGF_RINGTONE_WAVEFORM = sine
+NGF_RINGTONE_DURATION = 2400
+NGF_RINGTONE_DELAY = 400
+NGF_RINGTONE_PERIOD = 100
+NGF_RINGTONE_MAGNITUDE = 16383
+NGF_RINGTONE_OFFSET = 0
+NGF_RINGTONE_PHASE = 0
+NGF_RINGTONE_DIRECTION = forward
+NGF_RINGTONE_ATTACK = 500
+NGF_RINGTONE_ALEVEL = 2560
+NGF_RINGTONE_FADE = 300
+NGF_RINGTONE_FLEVEL = 4096
+
+NGF_CLOCK_TYPE = periodic
+NGF_CLOCK_WAVEFORM = sine
+NGF_CLOCK_DURATION = 4000
+NGF_CLOCK_DELAY = 500
+NGF_CLOCK_PERIOD = 100
+NGF_CLOCK_MAGNITUDE = 8000
+NGF_CLOCK_OFFSET = 0
+NGF_CLOCK_PHASE = 0
+NGF_CLOCK_DIRECTION = forward
+NGF_CLOCK_ATTACK = 1000
+NGF_CLOCK_ALEVEL = 0
+NGF_CLOCK_FADE = 400
+NGF_CLOCK_FLEVEL = 0
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-cancro-0.1.2.tar.bz2/sparse/var/lib/environment/nemo/60-cancro-vibra.conf
^
|
@@ -0,0 +1,2 @@
+FF_MEMLESS_SETTINGS=/usr/lib/qt5/plugins/feedback/qtfeedback-cancro.ini
+NGF_FFMEMLESS_SETTINGS=/usr/share/ngfd/plugins.d/ngf-vibra-cancro.ini
|