Manjaro Pinephone adventure Lessions learned
#1
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/
#2
For updates and additions to the above post ... follow the link to Manjaro Forum.


Possibly Related Threads…
Thread Author Replies Views Last Post
  systemic issue pinephone penguins_rule 1 152 03-22-2024, 06:06 AM
Last Post: penguins_rule
  link for supported pinephone os manjharo et all penguins_rule 2 115 03-19-2024, 10:36 AM
Last Post: penguins_rule
  Manjaro: Settings doesnt open nbh 0 496 09-24-2023, 05:25 PM
Last Post: nbh
  Can't get ring on Manjaro Pine Phone thorensjubilee 12 3,065 06-09-2023, 04:40 AM
Last Post: thorensjubilee
  Is Manjaro ARM a Rolling Release? jojuma 4 1,421 05-10-2023, 09:27 PM
Last Post: Kevin Kofler
  new PinePhone upgrade issue WhiteHexagon 5 1,614 05-09-2023, 04:09 PM
Last Post: WhiteHexagon
  Where Does Manjaro Phosh Store Its Custom Keystrokes? jakfish 0 716 04-25-2023, 09:49 AM
Last Post: jakfish
Exclamation My short experience with Manjaro Plasma Mobile anonymous 10 4,352 03-02-2023, 07:25 PM
Last Post: Kevin Kofler
  Can't add micro SD card to Pinephone thorensjubilee 7 2,345 02-27-2023, 10:21 AM
Last Post: mikehenson
  Can't install Manjaro thorensjubilee 1 957 02-09-2023, 08:17 AM
Last Post: thorensjubilee

Forum Jump:


Users browsing this thread: 1 Guest(s)