Skip to content

Instantly share code, notes, and snippets.

Avatar
😷
We are doomed!

BirdZhang 0312birdzhang

😷
We are doomed!
View GitHub Profile
View gist:03364b1dbf5fd4fd9f196ae7831f669f

adb shell pm set-home-activity "com.volla.launcher/activity"

View gist:d4e723a43ddd5742f6222547ed6071db
09-15 21:16:06.901 4493 4542 D audio_hw_primary: start_output_stream: enter: stream(0x23ec48)usecase(0: deep-buffer-playback) devices(0x2)
09-15 21:16:06.901 4493 4542 D audio_hw_primary: select_devices for use case (deep-buffer-playback)
09-15 21:16:06.901 4493 4542 V msm8916_platform: platform_get_native_support:napb: ui Prop enabled(0) version(0)
09-15 21:16:06.901 2869 3093 E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
09-15 21:16:06.901 4493 4542 V msm8916_platform: platform_get_output_snd_device: enter: output devices(0x2)
09-15 21:16:06.901 4493 4542 V msm8916_platform: platform_get_output_snd_device: exit: snd_device(speaker)
09-15 21:16:06.901 4493 4542 D audio_hw_primary: select_devices: out_snd_device(2: speaker) in_snd_device(0: )
09-15 21:16:06.901 4493 4542 V msm8916_platform: platform_get_backend_index:napb: backend port - 0 device - 2
09-15 21:16:06.901 4493 4542 I msm8916_platform: platform_check_and_set_codec_backend_cfg:becf: afe: bitwidth 16, samplerate
@0312birdzhang
0312birdzhang / dmesg.log
Created Jun 20, 2019
hybris 15.1 UI crash log
View dmesg.log
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.18.137-Genom-MIUI-f2fs-vince-gf6ae507 (root@ubuntu1) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #4 SMP PREEMPT Wed Jun 19 07:33:23 UTC 2019
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] Powerup reason=0x40021
[ 0.000000] Machine: Qualcomm Technologies, Inc. E7 QRD SKU3
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: reserved region for node 'other_ext_region@0': base 0x0000000084a00000, size 30 MiB
View gist:cdc55da7c92be93a592429a0b549dad9
.jolla-startupwizard-done
.jolla-startupwizard-sfos2-tutorial
.jolla-startupwizard-usersession-done
View gist:db87349a45496ce45ad1f8df8f566d19
alsa/asoundlib.h' file not found
apt install libasound2-dev
/data/spurv/external/alsa-lib/include# cp -R /usr/include/alsa .
View gist:560945bcaf556a71c8798efab76bce14
on ubports:
[ 428.506368] tas2557 2-004c: tas2557_startup
[ 428.506569] tas2557 2-004c: tas2557_hw_params
[ 428.506575] tas2557_hw_params
[ 428.506583] tas2557 2-004c: tas2557_setup_clocks: nSamplingRate = 48000 [Hz]
[ 428.506591] tas2557 2-004c: Firmware not loaded
[ 428.512351] afe_get_cal_topology_id: [AFE_TOPOLOGY_CAL] not initialized for this port 4119
[ 428.519676] send_afe_cal_type cal_block not found!!
[ 428.535115] tas2557 2-004c: tas2557_prepare
View gist:a7074c8a1bb6b3a3d65596ff61585ee4
sudo -i
insmod /system/lib/modules/wlan.ko
mount -o remount rw /
mkdir /run/user/32011 && sudo chown phablet /run/user/32011 && sudo chmod 0700 /run/user/32011
adduser --force-badname --system --home /nonexistent --no-create-home --quiet _apt
chmod 4777 /usr/lib/dbus-1.0/dbus-daemon-launch-helper
chown root:messagebus /usr/lib/dbus-1.0/dbus-daemon-launch-helper
chmod u+s /usr/lib/dbus-1.0/dbus-daemon-launch-helper
View gist:c1d28e3ae451247c286c301744782f49
import Nemo.DBus 2.0
DBusInterface {
id: settingsApp
service: "com.jolla.settings"
path: "/com/jolla/settings/ui"
iface: "com.jolla.settings.ui"
}
View gist:e8378fe73230e96217c0d3231404da3d
[root@Sailfish flatpak-1.0.5]# ./configure --disable-xauth
appstream-glib-0.5.19
https://build.opensuse.org/package/view_file/openSUSE:Factory/appstream-glib/appstream-glib.spec?expand=0
https://build.opensuse.org/package/view_file/GNOME:Factory/appstream-glib/appstream-glib.spec?expand=1&rev=56219ca03e8473cca86205ae6aa01d31
intltool
gdk-pixbuf-devel
libyaml-devel
View faq-hadk.txt
https://public.etherpad-mozilla.org/p/faq-hadk
Please, do not use browser-in-place translation tools (right-click translate-this) or similar. They overwrite the content on this page.
---------------------------------------------------------------------------------------------------------------------
So you booted your Sailfish OS? Congrats! No GUI? Oh dear :)
both usb0 and rndis0 interfaces might be up, remove usb0 from init-script and rebuild kernel image with make hybris-boot or make hybris-recovery
You can’t perform that action at this time.