This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run address-book-app with the folowing env vars | |
QTCONTACTS_MANAGER_OVERRIDE=memory | |
ADDRESS_BOOK_TEST_DATA=absolute_path_to_vcf_file.vcf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install `ofono-phonesim` | |
uncomment in `/etc/ofono/phonesim.conf`: | |
[phonesim] | |
Address=127.0.0.1 | |
Port=12345 | |
-->restart phone | |
#launch phonesim app: ( you should see a black background with activity indicator ) | |
[Xenial] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SET | |
dbus-send --system --print-reply --dest=org.freedesktop.Accounts /org/freedesktop/Accounts/User`id -u` org.freedesktop.DBus.Properties.Set string:'com.ubuntu.AccountsService.SecurityPrivacy' string:PinCodePromptManager variant:string:ClockPinPrompt | |
#GET | |
dbus-send --system --print-reply --dest=org.freedesktop.Accounts /org/freedesktop/Accounts/User`id -u` org.freedesktop.DBus.Properties.Get string:'com.ubuntu.AccountsService.SecurityPrivacy' string:'PinCodePromptManager' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set ril log to on | |
sudo env LD_LIBRARY_PATH=/system/lib64:/vendor/lib64 lxc-attach -n android -e -- /system/bin/setprop persist.radio.adb_log_on 1 | |
#in P3a (20.04) persist.vendor.radio.adb_log_on 1 | |
reboot | |
sudo env LD_LIBRARY_PATH=/vendor/lib64:/system/lib64 /system/bin/logcat -b radio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on device: | |
sudo apt install qt5-qmltooling-plugins | |
DESKTOP_FILE_HINT=/usr/share/applications/messaging-app.desktop messaging-app -qmljsdebugger=port:1234 | |
on QtCreator (not from clickable): | |
Create a remote device, device ip | |
Create a kit with that device | |
Analyze-> QML Profiler -> select the "device" kit and set port to 1234 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x0000007fb32e8c70 in syscall () from /lib/aarch64-linux-gnu/libc.so.6 | |
#1 0x0000007fb35c3244 in QBasicMutex::lockInternal() () | |
from /usr/lib/aarch64-linux-gnu/libQt5Core.so.5 | |
#2 0x0000007fb35c32bc in QMutex::lock() () | |
from /usr/lib/aarch64-linux-gnu/libQt5Core.so.5 | |
#3 0x0000007fb37bbe44 in QObject::isSignalConnected(QMetaMethod const&) const | |
() from /usr/lib/aarch64-linux-gnu/libQt5Core.so.5 | |
#4 0x0000007f9babd7c0 in QtContacts::QContactManager::disconnectNotify(QMetaMethod const&) () from /usr/lib/aarch64-linux-gnu/libQt5Contacts.so.5 | |
#5 0x0000007fb37c5124 in QObject::~QObject() () | |
from /usr/lib/aarch64-linux-gnu/libQt5Core.so.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
to get: | |
dbus-send --session --print-reply \ | |
--dest=com.canonical.Unity.Launcher \ | |
/com/canonical/Unity/Launcher/dialer_2Dapp \ | |
org.freedesktop.DBus.Properties.Get \ | |
string:com.canonical.Unity.Launcher.Item \ | |
string:'count' | |
to set: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/etc/xdg/ubuntu-push-client/config.json | |
log_level to debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this env var to the exe | |
QT_LOGGING_RULES=qt.qml.binding.removal.info=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
monitor Notifs: | |
dbus-monitor interface=org.freedesktop.Notifications | |
gdbus call --session --dest com.ubuntu.Postal --object-path /com/ubuntu/Postal/dekko2_2edekkoproject --method com.ubuntu.Postal.Post dekko2.dekkoproject_dekko \ | |
'"{\"message\": \"foobar\", \"notification\":{\"card\": {\"summary\": \"yes\", \"body\": \"hello\", \"popup\": true, \"persist\": true}}}"' | |
Avec son: | |
gdbus call --session --dest com.ubuntu.Postal --object-path /com/ubuntu/Postal/dekko2_2edekkoproject --method com.ubuntu.Postal.Post dekko2.dekkoproject_dekko \ | |
'"{\"message\": \"foobar\", \"notification\":{\"sound\": \"test.ogg\",\"card\": {\"summary\": \"yes\", \"body\": \"hello\", \"popup\": true, \"persist\": true}}}"' |