Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,881
» Latest member: monawoqa46
» Forum threads: 16,320
» Forum posts: 117,399

Full Statistics

Latest Threads
ATTN: Pine 64 Marketing D...
Forum: Rock64 Hardware and Accessories
Last Post: georgegohl888
49 minutes ago
» Replies: 5
» Views: 10,436
http://pinenote.mweigand....
Forum: PineNote Software
Last Post: HippopoStar
10 hours ago
» Replies: 1
» Views: 797
Castle Game Engine on Pin...
Forum: General Discussion on PineTab
Last Post: monawoqa46
Yesterday, 10:47 AM
» Replies: 2
» Views: 3,222
OpenClaw
Forum: Linux on Rock64
Last Post: keithy
02-22-2026, 11:57 AM
» Replies: 0
» Views: 82
Wi-Fi Issues (Plasma and ...
Forum: Manjaro on PinePhone
Last Post: krissprat73
02-20-2026, 12:16 PM
» Replies: 11
» Views: 17,938
installed devuan 5/6 - mi...
Forum: General Discussion on ROCKPRO64
Last Post: kapqa
02-20-2026, 11:36 AM
» Replies: 0
» Views: 101
Powering two disks from R...
Forum: RockPro64 Hardware and Accessories
Last Post: some_pinephone_user
02-19-2026, 09:31 PM
» Replies: 2
» Views: 193
How many HD's can I utili...
Forum: RockPro64 Hardware and Accessories
Last Post: some_pinephone_user
02-19-2026, 06:10 PM
» Replies: 4
» Views: 3,488
Official Debian support!
Forum: News
Last Post: kapqa
02-18-2026, 12:58 PM
» Replies: 86
» Views: 190,788
Pine 64 Mount hole Dimens...
Forum: General Discussion on PINE A64-LTS / SOPINE
Last Post: Piney64
02-18-2026, 11:27 AM
» Replies: 0
» Views: 100

 
  Modem disabled, can't enable: Invalid transition
Posted by: pac - 03-10-2022, 10:57 AM - Forum: General Discussion on PinePhone - Replies (4)

I have a new PinePhone, with a new SIM card, and the modem won't connect. The carrier assures me the SIM card is activated. (I went through 5 or 6 support people and I believe the last one actually knew what he was doing.)

The phone came with Manjaro installed. I'm looking at the Cellular Network section of the Settings app, sometimes I see a SIM 1, sometimes SIM 2, I've even seen SIM 4. If I select SIM 1 (or whatever number) and go to Select Network Operator it says "Current operator: none". If I hit the Scan For Networks button, I get one of these messages:

  Scanning networks failed: Object does not exist at path "/org/freedesktop/ModemManager1/Modem/1"
  Scanning networks failed: Cannot scan networks: not enabled yet

I suppose the first one is because the number keeps changing.

When I hit View Modem Details, I see an Enable Modem button and a Force Modem Restart button. I have tried both of those a few times, and they don't do anything as far as I can tell. I have rebooted the phone a few times also.

I suspected a command line equivalent of the Enable Modem button might give me better feedback, so I tried this: `mmcli -m 2 -e` and it said

  error: couldn't enable the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Retry: Invalid transition'

And that, I guess, is the root problem. But I don't know what an invalid transition is so I can't troubleshoot any further without a hint.


  WIFI doesn't stay connected
Posted by: Matt73 - 03-10-2022, 08:10 AM - Forum: General Discussion on PinePhone - No Replies

Hello Good People,

Pine phone newbie here (altough I've been on Linux with my laptop for a couple of years). I've noticed the wifi disconnects after a while and it takes many attempts entering the password over and over to get it re-connected. Bit annoying. Any remedy? Any help appreciated.

Best

Matt


  Distro with suspend
Posted by: Frost1776 - 03-09-2022, 08:07 PM - Forum: General Discussion of PinePhone Pro - Replies (6)

Are there any distros that suspend(sleep) work on. I carried my phone the last couple days as my only phone. It was great for everything except the battery. Even with the keyboard case and battery in that fully charged and the phone fully charged I barely made it through the work day without it going dead.


Lightbulb Feature Request
Posted by: duilns - 03-09-2022, 04:37 PM - Forum: General Discussion on PineTime - Replies (8)

Dear PineTime community.

I have been in the shadows following the progress of Pine64 for quiet some item. Several years since the AOBs.

I am interested in acquiring a pinetime watch. How ever I follow a strict.. "time system"? If you would call it. 

I need "my watch" to display 'Day of year/week of year'. Example - Today March 9, 2022 would be W10 / D68. Also, an option to set the initial Week Day to Monday/Sunday would be great.

What would I need to do inorder to facilitate this type of feature? I can't code or anything the like of it. 

many thanks.


  Pinebook Pro not turn
Posted by: carbo29 - 03-09-2022, 12:48 PM - Forum: General Discussion on Pinebook Pro - Replies (11)

Buongiorno,
sono nuovo.
Dopo aver riavviato il Pinebook Pro, non si è più acceso.
La batteria era ormai scarica. Ho provato a attaccare l'alimentazione ma rimane rosso ma il Pinebook non si accende.
Ho provato ad unire i due cavetti senza la batteria ma non si accende, togliendo la batteria senza collegare i cavi la lucetta rossa inizia a lampeggiare ma in entrambi i casi non si accende. Ora lo sto tenendo in carica da circa 3 ore ma continua a non accendersi.
Potete aiutarmi. Grazie per un qualsiasi aiuto.

 Hello, I'm new. After restarting the Pinebook Pro, it no longer turned on. The battery was now dead. I tried to plug in the power but it stays red but the Pinebook won't turn on. I tried to join the two cables without the battery but it does not turn on, removing the battery without connecting the cables the red light starts flashing but in both cases it does not turn on. I've been charging it for about 3 hours now but it still won't turn on. Can you help me. Thanks for any help.

Sorry for the language I'm using a translator.


  new used twice now it wont turn on
Posted by: Timmer4323 - 03-09-2022, 10:42 AM - Forum: General Discussion on Pinecil - No Replies

I just bought it 2nd time to use it while I was using it , it turned off. wont restart. please help


  How to charge with 3 ampere / 5 volt / 15 watts?
Posted by: lacriz - 03-09-2022, 09:27 AM - Forum: PinePhone Hardware - Replies (3)

Hi,

in the pine phone manual that came with the phone it says the phone can be charged with up to 3 ampere.

I bought a 3 ampere phone charger but the 'Power supply' tool says this about the usb charger:

'Current Limit: 1.5A'


Can I do something about this?

The phone is charging just as slow as with my old 1.5A charger, so as of now I just wasted my money on the new charger Sad


  Uninstalling Applications
Posted by: Emilio - 03-09-2022, 08:57 AM - Forum: PinePhone Pro Software - Replies (3)

Does anybody know how to remove
Koko, Weather Clip etc ? 
I do not know where to find the package
Even reading the list of installed


  How can we have an always on VPN
Posted by: robocone - 03-09-2022, 07:01 AM - Forum: PinePhone Pro Software - Replies (2)

On my android smartphone I had an 'always on' VPN. Has anyone configured their pinephone in the same way?



I would like it to start a wireguard VPN before bringing up the wifi or mobile interfaces, as well as a kill-switch if the VPN disconnects somehow.

Edit: This is what I ended up doing:

I used wg-quick and the iptables rules @tophneal suggested (I didn't use the ip6tables commands).

Code:
PostUp  =  iptables -I OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT && ip6tables -I OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT
PreDown = iptables -D OUTPUT ! -o %i -m mark ! --mark $(wg show  %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT && ip6tables -D OUTPUT ! -o %i -m mark ! --mark $(wg show  %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT


1. Create an appropriate config /etc/wireguard/wg0.conf and create the private/public keys

2. I turned off ipv6 because I'm not using it

/etc/sysctl.d/disable-ipv6.conf
Code:
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.lo.disable_ipv6=1

For the wg-quick script utility and for wg-quick to be able to set the DNS
Code:
pacman -S wireguard-tools  systemd-resolvconf
# use systemd-resolved for dns
systemctl enable systemd-resolved
(https://wiki.archlinux.org/title/WireGua...resolution)

3. Start the service and enable it at boot
Code:
# Try starting and stopping the service to ensure the configuration is working
wg-quick up wg0
# test the config
wg-quick down wg0

# enable the service
systemctl enable wg-quick@wg0


Caveats:
The VPN is not started until the network is already up, so there is a short time during boot where packets could leak. Since it should still stay online when it's disconnected and when we changing interfaces, this was an acceptable compromise for me.

We could further improve it by copying and modifying the wg-quick systemd service so that it adds the firewall rule before we connect to the vpn and have it start earlier in the boot.
(see https://www.wireguard.com/netns/ for other ideas and explanation of how the wg-quick routing works)

Edit 2:
Now that I've tested it with the mobile modem as well, it turns out that the connection is not maintained when the interface changes. Based on the wg-quick rules I thought that it would continue to work, so further changes are needed.

Edit 3:
To work around this issue in the meantime I am persisting the killswitch firewall rule when restarting the VPN, using ' -C <rule> || -I <rule' so that the rule is only added once.
Code:
PostUp  =  iptables -C OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT && ip6tables -I OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT || iptables -I OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT && ip6tables -I OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT
# PreDown = iptables -D OUTPUT ! -o %i -m mark ! --mark $(wg show  %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT && ip6tables -D OUTPUT ! -o %i -m mark ! --mark $(wg show  %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT


  Howto Full disk encryption manjaro and detached header (with keyboard)
Posted by: robocone - 03-09-2022, 06:53 AM - Forum: PinePhone Pro Software - No Replies

This is a howto, from following the arch wiki, on how to encrypt the root partition with LUKS.

I'm using a Pinephone Pro with a keyboard, but you could probably explorer other methods if a keyboard is not available.

The SD card will contain the boot partition and the LUKS header. If it is removed, then there should be no way to access the phone or see what kind of data is present.

The internal eMMC will contain the encrypted LUKS volume.


Boot the phone from Manjaro SD and then fill the eMMC disk with random encrypted data

Code:
cryptsetup open --type plain -d /dev/urandom /dev/mmcblk2 to_be_wiped
dd if=/dev/zero of=/dev/mapper/to_be_wiped status=progress
(https://wiki.archlinux.org/title/Dm-cryp..._partition)


Format the eMMC as an encrypted disk and save our header file
Code:
cryptsetup luksFormat /dev/mmcblk2 --header /boot/header.img
(https://wiki.archlinux.org/title/Dm-cryp...UKS_header)


I was not able to get LVM to work from the Manjaro SD (2022-03-09). Creating an lvm volume group and volume worked, but after the disk was closed, the LVM volume group would not be detected when it was re-opened. I created a single partition instead.
Code:
cryptsetup open /dev/mmcblk2 crypt --header /boot/header.img
mkfs.ext4 /dev/mapper/crypt


Update our initramfs image
Follow the step in https://wiki.archlinux.org/title/Dm-cryp...crypt_hook to copy and modify the 'encrypt' hook to a custom 'encrypt2' hook to support our detached header and then modify mkinitcpio.conf
Code:
/etc/mkinitcpio.conf
...
FILES=(/boot/header.img)
...
HOOKS=(base udev keyboard autodetect keymap modconf block encrypt2 shell filesystems fsck)
Make sure to remove the bootspash-manjaro hook, so that we can see the password prompt.

Copy the system on the sd card to the encrypted partition and resize it to fit the remaining space
Code:
dd if=/dev/mmcblk1p2 of=/dev/mapper/crypt bs=4096
resize2fs /dev/mapper/crypt


Update the bootloader to boot our new system.
Code:
/boot/boot.txt
...
setenv bootargs loglevel=4 console=tty0 console=${console} earlycon=uart8250,mmio32,0xff1a0000 consoleblank=0 boot=PARTUUID=${uuid_boot} root=/dev/mapper/crypt cryptdevice=/dev/mmcblk2:crypt:header rw rootwait quiet audit=0


Finally build the initramfs and boot.scr
Code:
mkinitcpio -P
ppp-uboot-mkscr


After reboot, we should have a password prompt and boot into our encrypted system.

The /dev/mmcblk1p2 partition can be wiped and used for something else.