Giter Club home page Giter Club logo

droid-config-pinephone's People

Contributors

attah avatar dylanvanassche avatar jmlich avatar jusa avatar neochapay avatar piggz avatar psychogame avatar simonschmeisser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

droid-config-pinephone's Issues

pinephone-v1.1 not boot on new (1/5/20) img.

carlosgonz-GNU:~/Descargas/flash-it-0.3.1$ ./flash-it.sh
Sailfish OS Pine64 device flasher V0.3.1

Which image do you want to flash?

  1. PinePhone 1.0 (Development) device 3) PineTab device
  2. PinePhone 1.1 (Brave Heart) device 4) Dont Be Evil devkit
    #? 2
    Downloading images...
    u-boot.zip 100%[===================>] 241.46K 370KB/s en 0.7s
    pinephone-1.1-rootfs.zip 100%[========================================================================================================================================>] 432.96M 6.75MB/s en 63s
    Which SD card do you want to flash?
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 447.1G 0 disk
    ├─sda1 8:1 0 731M 0 part /boot
    └─sda5 8:5 0 446.4G 0 part
    └─sda5_crypt 253:0 0 446.4G 0 crypt
    ├─trisquel--vg-root 253:1 0 445.4G 0 lvm /
    └─trisquel--vg-swap_1 253:2 0 976M 0 lvm [SWAP]
    sdb 8:16 1 14.7G 0 disk
    sr0 11:0 1 1024M 0 rom
    nvme0n1 259:0 0 477G 0 disk
    └─nvme0n1p1 259:1 0 477G 0 part
    raw
    Device node (/dev/sdX): /dev/sdb
    Flashing image to: /dev/sdb
    WARNING: All data will be erased! You have been warned!
    Some commands require root permissions, you might be asked to enter your sudo password.
    Creating EXT4 file system...
    Unmounting /dev/sdb
    [sudo] contraseña para carlosgonz:
    umount: /dev/sdb: no montado.
    mke2fs 1.44.1 (24-Mar-2018)
    Se está creando un sistema de ficheros con 242688 bloques de 1k y 60720 nodos-i
    UUID del sistema de ficheros: 9d63ba0a-12b7-45a8-8fb3-cf3122884d76
    Respaldo del superbloque guardado en los bloques:
    8193, 24577, 40961, 57345, 73729, 204801, 221185

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!

Boot in eMMC issues.

I installed Sailfish in eMMC, then it worked well for few time, but MAYBE after install many apps
and later restart the phone, the pinephone the not boot any more.
I still not have a JACK-SERIAL-CABLE to debugging the pinephone.
Just reporting ---

pine-

Emails do not open with any text

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

USB OTG Support

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.

PinePhone A64: No sound whatsoever

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.

Slow performance on PinePhone Beta

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.

No sound at all

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

Call bugs

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.

Sailfish OS boot up logo gone and no sign of boot up

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?

[non-critical / cosmetic] Malformed kernel boot parameter inpinebootpro boot script

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}

MMS not working

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.

Pinephone. When mobile data works calls don’t

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

Wifi wakeups and time till reconnect

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?

WiFi Connection Issues

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?

PinePhone CE BH needed to port.

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

flash-it 403 error on rootfs for Pinephone 1.2

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.

Sound Configuration

Several issues exist with the sound configuration, mainly that the volume control doesnt work and the meego volume plugin causes a crash in PA

Camera with libcamera

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/

  • kernel driver for sun6i_csi is missing a feature:

"[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

  • figuring out why opening /dev/video0 fails

thanks to @pinchartl and @MartijnBraam for infos

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.