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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,768
» Latest member: hoorainhasaan
» Forum threads: 16,285
» Forum posts: 117,303

Full Statistics

Latest Threads
Window Maker Live for Pin...
Forum: Linux on Pinebook Pro
Last Post: vajak
Yesterday, 06:00 AM
» Replies: 2
» Views: 369
Rrkisp issue with CSI cam...
Forum: Linux on Quartz64
Last Post: lystar
Yesterday, 02:34 AM
» Replies: 1
» Views: 3,715
bookworm vs trixie discus...
Forum: Mobian on PinePhone
Last Post: Kevin Kofler
Yesterday, 12:11 AM
» Replies: 80
» Views: 45,541
Fedora + Phosh for PinePh...
Forum: PinePhone Software
Last Post: shanehill@mail.com
12-23-2025, 09:12 PM
» Replies: 75
» Views: 200,633
Trixie - bring up the On ...
Forum: Mobian on PinePhone
Last Post: grump_fiddle_reinstall
12-23-2025, 04:34 AM
» Replies: 0
» Views: 60
On-Screen Keyboard Arrow ...
Forum: Mobian on PinePhone
Last Post: grump_fiddle_reinstall
12-23-2025, 04:25 AM
» Replies: 11
» Views: 6,036
Armbian has been released...
Forum: News
Last Post: ArmbianForSBCs
12-23-2025, 01:36 AM
» Replies: 21
» Views: 32,226
Alarm clock doesn’t work
Forum: Mobian on PinePhone
Last Post: biketool
12-23-2025, 12:12 AM
» Replies: 14
» Views: 24,423
Diagnosing and fixing fai...
Forum: PinePhone Pro Software
Last Post: biketool
12-22-2025, 11:59 PM
» Replies: 7
» Views: 602
No phone call audio, logs...
Forum: PinePhone Pro Hardware
Last Post: biketool
12-22-2025, 05:09 PM
» Replies: 12
» Views: 821

 
  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.


  Faulty Pinephone add on Keyboard. Support Ticket: Id #12442
Posted by: Kawayuppie - 03-09-2022, 03:02 AM - Forum: PinePhone Accessories - Replies (6)

Hi,

I submitted a ticket on 29/30 January about this issue, but I have had no response there so I am posting my problem here in hope. All I need is a new part or where I can get it.

Date: 29 January 2022

Dear Pine64 Support,

It need a new circuit board for the keyboard.

I think the charging circuit has gone faulty, the 5208 gets extremely hot, too hot to touch.
The battery appears okay and is fully charged.

Also noticed the there is no power being supplied to the phone via the pogo connections if there isn’t a charger cable plugged in. This might be related to the above.

I can use Megi’s tools to still read the i2c bus, but the charger readings show only 2 volts and 0 mA, however the battery is measuring 4 volt directly.
Keyboard still works if a USB charger is plugged into the keyboard.

How it all started:
Keyboard was working just fine ever since I got it a couple weeks ago. No problems. I have been careful to follow the guidelines concerning charging and peripherals.
The charger I use is the PINE64 PinePower 65W.

I left the pinephone and keyboard overnight maybe logger but not plugged into charger.
In the morning I picked it up and it was dead, no power coming form keyboard.
So I plugged the charger into the keyboard USB port and left it for sometime.
Returned and discovered that keyboard power not working, nothing going to phone.

Previously when everything worked you could press the power button on the keyboard and power would d go to the phone.

Some points.

[] keyboard battery is at full charge, so it did charge or kept its charge?
[] there is no power going to the pogo pin connector unless usb cable is plugged in.
[] the i2c tools show the button is registering, but that says the battery has only 2 volts but when in charge mode shows only 0 mA and doe snot indicate sending current to pinephone.
[] the 5208 get really hot, so much so that you can burn your finger on it.
[] I2C bus is working, Tools do read from it, and keyboard works, as long as there the USB charger cable is plugged in.

Would I be able to get another circuit board? 

Yours Faithfully,

André Skarzynski, M0JEK


  First time pine phone user
Posted by: Matt73 - 03-09-2022, 02:06 AM - Forum: PinePhone Software - Replies (3)

Hi Guys,

I've been on Linux on my laptop for about 2 years now and have never looked back. I recently bought a pine phone for my wife because I am sick of her iphone eavesdropping on us constantly. Apparently, Ubuntu Touch is the 'best' operating system to use on the pine phone so I flashed it to an sd card. It's great but when the phone goes to sleep, I can't bring it out of sleep without restarting the phone. Maybe it's because the system is not installed to the internal phone? Any way t bring it out of suspend without a reboot?

Any advice appreciated

Best Wishes

Matt


  Article: Apache NuttX Driver for BME280 Sensor (PineCone BL602)
Posted by: lupyuen - 03-08-2022, 08:29 PM - Forum: General - No Replies

Here's how we ported the BME280 I2C Driver (Temperature / Humidity / Pressure) from Zephyr OS to NuttX on PineCone BL602...

Apache NuttX Driver for BME280 Sensor: Ported from Zephyr OS


  Pbp Dockingdeck compatibility with ppp
Posted by: Rosbeefandino - 03-08-2022, 07:55 PM - Forum: PinePhone Pro Accessories - Replies (5)

Hello and thanks to the community.

I would to buy the pinphone pro in remplacement of my realy old broken lineageos phone and linux laptop. 
I really want to support a open, decentralized, reparable and privacy friendly projects.

And a phone with a dock should be the best solution in my opinion.
Is the docking deck designed for the pinebookpro is compatible with pinephonepro?


  SFOS 4.3
Posted by: wryun - 03-08-2022, 06:15 PM - Forum: SailfishOS on PinePhone - Replies (4)

I noticed that CI is building SFOS 4.3.

How reliable is Sailfish now for calls and messaging? The 4.2 thread hinted that major work was about to happen.

And, if the camera is still not working, do we know why?


  Vmlinuz
Posted by: Emilio - 03-08-2022, 01:33 PM - Forum: PinePhone Pro Software - No Replies

Warning:Vmlinuz It is not in the /boot folder (lynis audit system)
Does not have to be there?
The port of an OS distribution to smartphone is
Complex(I have Manjaro Mobile plasma) and do not work that way?
Where it is or it is not necessary?
 Can anyone give an explanation for this questions?