sailfish-on-dontbeevil / droid-config-pinephone Goto Github PK
View Code? Open in Web Editor NEWPinePhone configuration package
PinePhone configuration package
I thinks > beeps < when is booting a pinephone is unnatural.
Version 4.4 is out, but the PinePhone Beta port is on 4.3 with a old 5.17 kernel.
Which image do you want to flash?
Reservando las tablas de grupo: hecho
Escribiendo las tablas de nodos-i: hecho
Creando el fichero de transacciones (4096 bloques): hecho
Escribiendo superbloques y la información contable del sistema de archivos: hecho
mke2fs 1.44.1 (24-Mar-2018)
Se está creando un sistema de ficheros con 3787264 bloques de 4k y 948416 nodos-i
UUID del sistema de ficheros: 912823f1-165e-4ced-912e-560d511ef661
Respaldo del superbloque guardado en los bloques:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
Reservando las tablas de grupo: hecho
Escribiendo las tablas de nodos-i: hecho
Creando el fichero de transacciones (16384 bloques): hecho
Escribiendo superbloques y la información contable del sistema de archivos: hecho
Flashing U-boot...
Archive: u-boot.zip
inflating: u-boot-bootloader/devkit/boot.scr
inflating: u-boot-bootloader/pinephone-1.0/boot.scr
inflating: u-boot-bootloader/pinephone-1.1/boot.scr
inflating: u-boot-bootloader/pinetab/boot.scr
inflating: u-boot-bootloader/u-boot/u-boot-sunxi-with-spl.bin
60+1 registros leídos
60+1 registros escritos
494864 bytes (495 kB, 483 KiB) copied, 0.11773 s, 4.2 MB/s
Flashing rootFS...
Archive: pinephone-1.1-rootfs.zip
inflating: pinephone-1.1/sfe-pinephone-1.1-3.3.0.16-devel-20200501/Jolla-3.3.0.16-pinephone-1.1-armv7hl.ks
inflating: pinephone-1.1/sfe-pinephone-1.1-3.3.0.16-devel-20200501/Jolla-3.3.0.16-pinephone-1.1-armv7hl.packages
inflating: pinephone-1.1/sfe-pinephone-1.1-3.3.0.16-devel-20200501/Jolla-3.3.0.16-pinephone-1.1-armv7hl.urls
inflating: pinephone-1.1/sfe-pinephone-1.1-3.3.0.16-devel-20200501/sfe-pinephone-1.1-3.3.0.16-devel-20200501.tar.bz2
pinephone-1.1/sfe-pinephone-1.1-3.3.0.16-devel-20200501/sfe-pinephone-1.1-3.3.0.16-devel-20200501.tar.bz2
Copying kernel to boot partition...
cp: no se puede efectuar `stat' sobre './data/boot/*': No existe el archivo o el directorio
Cleaning up!
Unmounting /dev/sdb
umount: /dev/sdb: no montado.
Unmounting /dev/sdb1
Unmounting /dev/sdb2
Flashing /dev/sdb OK!
You may now remove the SD card and insert it in your Pine64 device!
Fresh install today
Set up google account
I can receive emails
I get a notification
I get the first few lines in the home screen
I can open the email app
I can see the emails I receive
I can open the emails
There is no text to read other that the title/sender
With the 5.6 kernel, USB oTG is enabled and mostly works well. RNDIS and MTP both work, but with rndis, the sailfish firewall doesnt allow connetions. A workaround is to issue an iptables command to allow connections.
I flashed the latest version of Sailfish for my PinePhone and I found that no audio was playing at all.
I don't have any logs currently, but I will follow instructions to get them.
On the PinePhone Beta after selecting yes on the encryption prompt I notice that whenever the pull-down menus are shown, or the keyboard is shown for text input, the UI lags and becomes unusable.
Unfortunately I got no sound at all with the current (and slightly older ones as well)
This line fails because there is no card 1, only card 0
the second part of that script fails as well, here is some output:
[nemo@PinePhone ~]$ pactl list sources
Source #0
State: IDLE
Name: alsa_output.0.analog-mono.monitor
Description: Monitor of PinePhone Analog Mono
Driver: module-alsa-card.c
Sample Specification: s16le 1ch 48000Hz
Channel Map: mono
Owner Module: 8
Mute: no
Volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor of Sink: alsa_output.0.analog-mono
Latency: 0 usec, configured 1837500 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
device.description = "Monitor of PinePhone Analog Mono"
device.class = "monitor"
alsa.card = "0"
alsa.card_name = "PinePhone"
alsa.long_card_name = "PinePhone"
alsa.driver_name = "snd_soc_simple_card"
device.bus_path = "platform-sound"
sysfs.path = "/devices/platform/sound/sound/card0"
device.string = "0"
device.icon_name = "audio-card"
Formats:
pcm
Source #1
State: SUSPENDED
Name: alsa_input.0.analog-mono
Description: PinePhone Analog Mono
Driver: module-alsa-card.c
Sample Specification: s16le 1ch 44100Hz
Channel Map: mono
Owner Module: 8
Mute: no
Volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor of Sink: n/a
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0"
alsa.id = "1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "PinePhone"
alsa.long_card_name = "PinePhone"
alsa.driver_name = "snd_soc_simple_card"
device.bus_path = "platform-sound"
sysfs.path = "/devices/platform/sound/sound/card0"
device.string = "hw:0"
device.buffering.buffer_size = "176400"
device.buffering.fragment_size = "58800"
device.access_mode = "mmap+timer"
device.profile.name = "analog-mono"
device.profile.description = "Analog Mono"
device.description = "PinePhone Analog Mono"
device.icon_name = "audio-card"
Ports:
analog-input: Analoger Eingang (priority: 10000)
Active Port: analog-input
Formats:
pcm
Attempt to connect to pinephone via SSH via ssh [email protected]
Expected to be connected and request for password
Connection never happens and times out
Need to upgrade to kernel 5.5 and try out the new wifi driver
Will be fixed now with? **
https://git.sailfishos.org/mer-core/qtbase/merge_requests/68 **
@piggz
What are you doing in PMOS ?? @DylanVanAssche : )
Contacts that have an international code +XXX but are local to me do not connect. I get a recording saying the number is incorrect. Foreign numbers get the same message.
If I dial a number and try to 'cancel' the call before it answers it continues anyway. The 'end call' button works correctly.
Boots up
Red light
White light
No bootsplash (unlike first boot on install)
Terminal
Then a spinning circle
Can swipe down
Can swipe up for camera
No Home screen presented
Not got a pin code
Fix seems to be a side swipe - others getting this?
Need to keep updating mesa to check for improvements.
Glass effects not working
Particle effects not working
While turning on persistent JournalD to solve my problem, I noticed an unrelated warning message in early boot:
PinePhonePro kernel: Malformed early option 'console'
And indeed in the boot.pinephonepro.cmd
source code of the boot script:
setenv bootargs loglevel=4 console=tty0 console=ttyS2,1500000 console=${console}
I presume, the initial intent was to do something along the lines of:
setenv console=tty0 console=ttyS2,1500000
setenv bootargs loglevel=4 console=tty0 console=ttyS2,1500000 console=${console}
Can not install some Jolla store apps like ' Tiding ' in pinephone.
Would anyone have any quick suggestions for a direction for me to take on troubleshooting and fixing MMS on this image? The hardware adaptation guide doesn't say anything about MMS. I've compiled mmsd and while it seems to hook up to ofono via dbus, it doesn't see any MMS messages I send the phone, unlike other distros like Arch where it sees it but dies trying to get the messages from the MMSC. I'm imagining there's another process that is getting them first but failing to put them in the messaging app, or the messaging app itself (proprietary, right?) is failing.
Switch automatically to headset when plugged in
It is better to disable the camera sensor when booting to prevent unwanted noise and prevent Tearing of the optical sensor ATM.
Hi all,
I have a Pinephone 1.2 Community Edition, I lately tested Sailfish OS that is great if compared to others (Mobian, Manjaro, SXMO) in making the battery last all day that was the biggest problem I had in 2 years of testing. Now my problem is about mobile data that don’t work at all after boot. I discovered that restarting ofono data start to work flawlessly but after that I can’t receive calls because phone turns on the screen that start flickering at the same frequency of ring tone on the calling phone but doesn’t show the controls to answer.
I noticed that via command line I can answer but there’s no audio at all. I tried restarting connman and eg25-manager but nothing works. I also tried to restart audio service but no luck. The only way to make it work again is reboot.
Remembering I had similar problem with other systems too I tried to update eg25 firmware from 01.002 to 30.006 but nothing changed. I noticed that when problem happens this error shows in logs: connmand [ofono] ERROR! GDBus.Error:org.ofono.Error.NotImplemented: Implementation not provided. I tried to restart dbus but it makes the phone unusable, no desktop, no icons, the only way to go is reboot. After reboot without restarting ofono calls are correctly handled without problems.
Anybody else experienced this behaviour? Any idea to solve?
Thanks to community and developers.
PS
Sailfish OS 4.5.0.24 (Struven ketju)
kernel: Linux PinePhone 6.5.0-pgz-pine64
When in suspend the display lights up every ? minutes and tells me about connection problems. Also mobian seems to discharge slower when suspended.
After waking up from suspend it takes a quite long time till it reconnects to wifi (half a minute?)
there was the following comment on pine64-dev:
smaeul
there are a bunch of power-related parameters in /sys/module/8723cs/parameters/ you can try adjusting, as well as a suspicious-looking
rtw_scan_interval_thr
, which is 16000 (16 seconds?)
Eko
Cut the value by a factor of 10 and wifi connected way faster after sleep. Would this affect battery life though, or does it not scan while connected?
My PinePhone was modified for improved eMMC speed with eMMC VCCQ hardware modification. In postmarketOS all that is needed to make it work is to install a package. Similarly, in Arch Linux ARM DanctNIX two files need to be copied to the boot partition. If this is already working, this report is a reminder to add instructions to the wiki.
Need to get the vaapi backend for the codec.
I've encountered an issue where I'm unable to connect to WiFi networks anymore. I am not exactly sure what happened, but I was previously able to connect just fine, and then now I cannot connect to any. No connection seems to work, and all Sailfish says is that there was an error connecting. Forgetting the network and reconnecting does not work, neither does rebooting.
Presumably there's somewhere I can dig into the log files for internet connectivity. Where to start looking?
I just want to know if YOU have the PinePhone CE or BH to port SF as well, if missing, to get one for you.
Thanks of advance
Detailed failure:
pi20$ wget 'https://gitlab.com/sailfishos-porters-ci/dont_be_evil-ci/-/jobs/artifacts/master/download?job=pinephone-1.1-rootfs'
--2022-12-21 07:36:09-- https://gitlab.com/sailfishos-porters-ci/dont_be_evil-ci/-/jobs/artifacts/master/download?job=pinephone-1.1-rootfs
Resolving gitlab.com (gitlab.com)... 172.65.251.78, 2606:4700:90:0:f22e:fbec:5bed:a9b9
Connecting to gitlab.com (gitlab.com)|172.65.251.78|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://gitlab.com/sailfishos-porters-ci/dont_be_evil-ci/-/jobs/3492759419/artifacts/download [following]
--2022-12-21 07:36:10-- https://gitlab.com/sailfishos-porters-ci/dont_be_evil-ci/-/jobs/3492759419/artifacts/download
Reusing existing connection to gitlab.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://cdn.artifacts.gitlab-static.net/95/af/95afef4491db0fadb6db22d1447af705ff00bf54177433cfe0a4573721b859ba/2022_12_18/3492759419/3816730035/artifacts.zip?response-content-disposition=attachment%3B%20filename%3D%22artifacts.zip%22%3B%20filename%2A%3DUTF-8%27%27artifacts.zip&response-content-type=application%2Fzip&Expires=1671637570&KeyName=gprd-artifacts-cdn&Signature=4BJ0H_0_YFabVJ5ZG76SzVsOMFI= [following]
--2022-12-21 07:36:10-- https://cdn.artifacts.gitlab-static.net/95/af/95afef4491db0fadb6db22d1447af705ff00bf54177433cfe0a4573721b859ba/2022_12_18/3492759419/3816730035/artifacts.zip?response-content-disposition=attachment%3B%20filename%3D%22artifacts.zip%22%3B%20filename*%3DUTF-8''artifacts.zip&response-content-type=application%2Fzip&Expires=1671637570&KeyName=gprd-artifacts-cdn&Signature=4BJ0H_0_YFabVJ5ZG76SzVsOMFI=
Resolving cdn.artifacts.gitlab-static.net (cdn.artifacts.gitlab-static.net)... 34.110.204.38
Connecting to cdn.artifacts.gitlab-static.net (cdn.artifacts.gitlab-static.net)|34.110.204.38|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2022-12-21 07:36:10 ERROR 403: Forbidden.
Several issues exist with the sound configuration, mainly that the volume control doesnt work and the meego volume plugin causes a crash in PA
The big picture is that libcamera talks to the sun6i_csi and the camera drivers. It also provides a gstreamer source. This source can then be used by the normal sfos camera app.
Issues:
flash driver is broken, needs to be disabled in dts: sailfish-on-dontbeevil/kernel-megi@9429f77 thanks @piggz
libcamera as packaged by mal crashes due to (?) gnutls patch (workaround: set HAVE_GNUTLS to 0 in libcamera/meson.build)
missing firmware files: dmesg:
[ 1369.125711] ov5640 3-004c: ov5640_af_init: no autofocus firmware available (ov5640_af.bin)
[ 1369.125730] ov5640 3-004c: ov5640_set_ctrl_focus: no autofocus firmware loaded
and
[ 1580.581516] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[ 1580.581531] gc2145 3-003c: Failed to read firmware gc2145-init.bin, continuing anyway...
Update: gc2145-init.bin is not needed (thanks MartijnBraam)
for more see https://paste.ubuntu.com/p/hw5ZVpB2cr/
"[0:26:20.623064785] [4767] ERROR V4L2 v4l2_videodevice.cpp:988 /dev/video0[cap]: Media bus code filtering not supported by the device" is an issue that needs to be solved
see commit d5f74a1eff9aef3ba23673c8ef74719ba8a105f7 in the mainline kernel for an example
( torvalds/linux@d5f74a1 )
will need to be added here: https://github.com/sailfish-on-dontbeevil/kernel-megi/blob/9429f77dc7e252a99f11cd0613913e5634a2e981/drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c#L708
thanks to @pinchartl and @MartijnBraam for infos
If you try to run ping
from the terminal as the regular user, you get permission denied.
The installer fails if you select no when it asks for encryption (PinePhone Beta Edition)
MCE double tap no work after extract cc chipsets, PinePhone BH, not tested on PP CE.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.