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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 20,443
» Latest member: AlexaWisdoms
» Forum threads: 9,791
» Forum posts: 79,869

Full Statistics

Latest Threads
Pinephone Wallpapers!
Forum: General Discussion on PinePhone
Last Post: MonCon
7 minutes ago
» Replies: 13
» Views: 3,367
Pinebook Pro 'xtreme'
Forum: General Discussion on Pinebook Pro
Last Post: nightranger73
52 minutes ago
» Replies: 56
» Views: 12,243
Remove striped screw
Forum: PinePhone Hardware
Last Post: RTP
2 hours ago
» Replies: 14
» Views: 398
Pinebook Pro and usb bus-...
Forum: General Discussion on Pinebook Pro
Last Post: qchapter1
2 hours ago
» Replies: 2
» Views: 100
How hard to replace scree...
Forum: PinePhone Hardware
Last Post: Zebulon Walton
2 hours ago
» Replies: 7
» Views: 281
Sim cards and carriers, d...
Forum: General Discussion on PinePhone
Last Post: bcnaz
2 hours ago
» Replies: 34
» Views: 3,401
Software store doesnt gen...
Forum: Manjaro on PinePhone
Last Post: ryo
3 hours ago
» Replies: 5
» Views: 210
Linus wants an ARM Laptop...
Forum: General Discussion on Pinebook Pro
Last Post: qchapter1
4 hours ago
» Replies: 11
» Views: 445
Arch Linux ARM on PinePho...
Forum: Arch Linux on PinePhone
Last Post: bcnaz
5 hours ago
» Replies: 91
» Views: 16,601
Modem can't dial out
Forum: PostmarketOS on PinePhone
Last Post: bcnaz
5 hours ago
» Replies: 12
» Views: 310

 
  Few questions about flashing to a MicroSD card on the Pinebook Pro
Posted by: SanjevR - 8 hours ago - Forum: General Discussion on Pinebook - Replies (1)

Hey all so I purchased another Pinephone and I want to flash an OS to my microSD card. Previously to flash I used my Mac Laptop and it required an acessory with a USB cable to connect the microsd to the laptop. Now I don't want to use a mac but rather i'd like to use my Pinebook Pro since I am trying to make this my main computer. It does seem that the pinebook Pro has a slot for sd cards but it doesn't appear to have anything for MicroSD cards. Another questions I have is it seems that I can't find Balena Etcher in the pacmac-manager. How do I download it?


Photo Screen replacement question - moving components
Posted by: Zebulon Walton - 9 hours ago - Forum: PinePhone Hardware - No Replies

I received the replacement screen for my Pinephone, and following the instructions and video for replacing the motherboard I'm most of the way there. Getting the midframe off was a real challenge but I managed to do so without breaking anything as far as I could tell. The big black adhesive patch over the ribbon cables came off pretty easily after being heated with a hairdryer.

How do I move the components highlighted below to new screen? Are they glued in place?

[Image: pinephone-screen-replacement.jpg]


  Pinecil
Posted by: Erincka - 10 hours ago - Forum: Getting Started - No Replies

Hello,

I have the TS100, is it possible to use your tips on the TS100 or is it not recommended?

To use your pinecil with a PD / QC charger, do you need a special PD / QC cable or it has nothing to do with it, and all cables are compatible?

For PD technology, I see that there are several versions, but 20V / 5A is PD 3.0?

Thank you


  kubernetes (k3s) on the pinephone
Posted by: e-minguez - Yesterday, 08:59 AM - Forum: PinePhone Software - No Replies

Just for fun! Smile

Using latest mobian:


Code:
sudo apt install curl
curl -sfL https://get.k3s.io | sh -

ipset nor vxlan are supported in the Mobian kernel, so I've ended up disabing networkpolicies and using host-gw for flannel configuration by creating a `/etc/rancher/k3s/config.yaml` file with the following content:


Code:
disable-network-policy: true
flannel-backend: "host-gw"


Then, restart the k3s service to pick up the changes:

Code:
sudo systemctl restart k3s

Profit!

Code:
root@pinephone:~# kubectl get pods -A
NAMESPACE     NAME                                     READY   STATUS      RESTARTS   AGE
kube-system   metrics-server-7b4f8b595-svk5l           1/1     Running     0          18m
kube-system   local-path-provisioner-7ff9579c6-scgbq   1/1     Running     0          18m
kube-system   coredns-66c464876b-lvjb9                 1/1     Running     0          18m
kube-system   helm-install-traefik-4nlkc               0/1     Completed   0          18m
kube-system   svclb-traefik-s8scj                      2/2     Running     0          4m44s
kube-system   traefik-5dd496474-sd82v                  1/1     Running     0          4m44s
root@pinephone:~# kubectl get nodes
NAME                  STATUS   ROLES    AGE   VERSION
pinephone.minwi.lan   Ready    master   18m   v1.19.3+k3s3
root@pinephone:~# uname -a
Linux pinephone.minwi.lan 5.9-sunxi64 #3 SMP PREEMPT Tue Nov 3 16:24:16 UTC 2020 aarch64 GNU/Linux


  Manjaro Pinephone adventure Lessions learned
Posted by: linux-aarhus - Yesterday, 08:52 AM - Forum: Manjaro on PinePhone - No Replies

This is a cross post from Manjaro Forum (by request)

https://forum.manjaro.org/t/wip-pinephon...aned/39655

---

## Be cautious
* The nano-to-micro sim adapter in the package is not a superfluous accessory.
* The sim reader is for micro sim - so if you have a nano sim - you will need it.
* The sim reader is the lower of the two slot - the upper slot is SD-card reader.

The pictograms showing sim/sd-card can be misunderstood - this will short you sim and cause irreparable damage to it. Because the nano sim is smaller than an SD card you will most likely bend the third leg in the reader - with a high probability of causing damage to the PCB and subsequently your SD-card.

So be sure to insert the cards in their appropriate slots.

So by now you will all know that I melted my sim and learned to take apart the pinephone and replace the pcb with a new undamaged counterpart.

## Pinephone boot order
Pinephone boots from USB or SD if present - otherwise the eMMC. Due to the high number of writes rumors are SD-cards don't last very long.

That means you can try out other images without actually flashing your phone

## Testing images
Download the xz compressed image to your computer and unpack the image

    [fh@a116h Downloads]$ ls
    Manjaro-ARM-plasma-mobile-dev-pinephone-201124.img.xz
    [fh@a116h Downloads]$ unxz Manjaro-ARM-plasma-mobile-dev-pinephone-201124.img.xz
    [fh@a116h Downloads]$ ls
    Manjaro-ARM-plasma-mobile-dev-pinephone-201124.img


Then use your favorite image writing tool - mine is **mintstick** - to write the image to the SD-card. You can also use **dd** but you **must** ensure all data is written before removing the card from your computer.

## Using jumpdrive
Depending on the sequence when connect your device - you may experience weird behavior of your network connection.

I have not been able to nail it completely but it seems be act like this

**Connect to computer after loading jumpdrive**
Your system will create a new route leading nowhere because 172.16.42.1 is broadcasted as router but has no internet connection.

**Connecting before loading jumpdriver**
Your network connection works as expected.

## Flashing your pinephone
Flashing from an SD-card is prone to failure. The only viable way is to get the jumpdrive image. Read more at Pine64 wiki by following [this link][1]. Download is found following [this link][2].

System used for this excercise is a cheap yepo laptop

    [fh@a116h ~]$ inxi -Sxxx
    System:
      Host: a116h Kernel: 5.9.11-2-MANJARO x86_64 bits: 64 compiler: gcc
      v: 10.2.0 Desktop: Xfce 4.14.3 tk: Gtk 3.24.23 info: xfce4-panel wm: xfwm4
      dm: LightDM 1.30.0 Distro: Manjaro Linux

I have no idea if it was/is my sd-card(s) or a limitation of the jumpdrive but I was only able to make it work using a smaller SD-card than the 8GB cards used to test images.

So if you cannot get jumpdrive to work - use a small card -  64MB is enough - I got a 2GB card to work. Remove the back cover and the battery and insert the jumpdrive in the ***upper*** slot. Attach the battery - and the phone starts - immediately displaying the jumpdrive.

[details="jumpdrive screen"]
![image|375x500](upload://zl5DWfKUjT58gdFJjqs8tkeCAMy.jpeg)
[/details]

Attach your device to your computer using the red cable. After a few seconds your system will display two new block devices - it could look like this

[details="jumpdrive devices"]
![Screenshot_2020-11-25_11-30-28|374x397](upload://ULD5x2xQKppbTM6t0reetyBaOu.png)
[/details]


and you can verify using the terminal

    [fh@a116h ~]$ lsblk
    NAME  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
    sda      8:0    0 238,5G  0 disk
    ├─sda1  8:1    0  100M  0 part /boot/efi
    └─sda2  8:2    0    16G  0 part /
    sdb    8:16  1  29,1G  0 disk
    ├─sdb1  8:17  1 213,6M  0 part
    └─sdb2  8:18  1  28,9G  0 part
    sdc      8:32  1  1,8G  0 disk
    └─sdc1  8:33  1    49M  0 part

In the example sdb is the eMMC of the device and sdc is the jumpdrive.

Open your image writer application select the unpacked image you want to write and write it to the device eMMC as shown below.

![2020-11-25_11-57|690x180](upload://vTUrPXGzpGmHS0LfKIONM7QOBZQ.png)

When flashing is done - ensure the data is synced - use the eject button of the file manager.

![2020-11-25_12-14|690x182](upload://dewGs3w90jUSmyYwjg2Se4YbYeu.png)

Remove the cable, battery and jumpdrive. Attach battery and the device starts using the new system.






[1]: https://wiki.pine64.org/wiki/PinePhone#F..._Jumpdrive
[2]: https://github.com/dreemurrs-embedded/Ju.../releases/


  Booting from micro SD card?
Posted by: ryo - 11-24-2020, 11:48 PM - Forum: PinePhone Software - Replies (1)

I just received the Pinephone today.
It seems like Phosh has no support for Japanese language interface, which was disappointing.
Probably I can opt in for localization, so not a big deal.
If there's no way, make your own way I'd say.

But this is not necessarily the reason to install another OS on it, the main reason is because I just prefer KDE over Gnome.
I flashed the micro SD card like this:

Code:
sudo dd if=Manjaro-ARM-plasma-mobile-dev-pinephone-201107.img of=/dev/sda1 bs=1M status=progress conv=fsync
Don't worry about the "sda1" part, my PC's drive is an NVMe type, so that one is stored on /dev/nvme0n1 instead.

I inserted the card into the phone, boot up, and the Manjaro Phosh that came pre-installed is booting up instead.
Am I missing something?
Am I supposed to hold one of the volume keys while booting?


  PinePhone for sale - JAPAN
Posted by: Carl - 11-24-2020, 07:37 PM - Forum: General Discussion on PinePhone - Replies (3)

Hello,

I'm selling PinePhone pmOS to anyone based in Japan.
It's in perfect new condition. Only used for a day, been left inside the box ever since because I couldn't find a way to incorporate it into my current workflow. Everything included with the official pmOS box.

I'm selling it for 1,4000円

If you're interested leave a comment below or pm me.

Best regards,
Carl


  networkmanager-l2tp on Manjaro 20.04
Posted by: EricL - 11-24-2020, 07:27 PM - Forum: Linux on Pinebook Pro - No Replies

Hey good people.

Has anyone managed to get networkmanager-l2tp to establish a connection on Manjaro 20.04 for the Pinebook Pro?  On mine, xl2tpd keeps quitting with a signal 15 as soon as it tries to establish a connection, and frustratingly does not provide any details as to why.  I'm not sure if it supports any sort of verbose logging, and I'm still fuzzy as to where networkmanager-l2tp stashes the configs it passes to strongswan and xl2tpd where I might turn such logging on or at least double-check the config.  The connection establishes fine on Debian using the unofficial installer, as well as other clients I've connected previously, so I know my general setup is fine.  I just can't figure out why Manjaro won't connect.

Anyone have any pitfalls they've encountered getting it working, something I might check for?  I really want to give Manjaro a fair shot if at all possible, but not being able to use my home VPN is a bit of an issue.   Undecided


  Securing / Hardening The PinePhone
Posted by: NobodyNew1 - 11-24-2020, 06:59 PM - Forum: General Discussion on PinePhone - Replies (1)

I'd love to know what people are doing as far as security tweaks for the pinephone. Not that I need anything like CalyxOS or Graphene type of phone, but I'd like to put a little VPN on it as it can only be used for a pocket linux. I don't have the skill set to really work on the phone like others, but maybe one day I will.


  Pinecil USB-C compatibility
Posted by: EricL - 11-24-2020, 04:31 PM - Forum: General - No Replies

I was looking at the schematic for the Pinecil, and it seems like the way the GPIO pins are broken out through the USB port might be a little strange.  I'm seeing SPI and UART broken out on the SSTX pins.  Is this thing likely to fry a regular USB port should someone absentmindedly try to use one?