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
  New PinePhone user issues greenpineuser 8 943 12-19-2024, 09:47 PM
Last Post: emilianojay
  PinePhone Beta Edition will not boot from MicroSD card Timothy_Ecc 10 8,966 10-04-2024, 12:01 AM
Last Post: spazz
  Pinephone with KDE plasma - Battery drain when phone is not used Daniello 1 476 07-03-2024, 08:38 PM
Last Post: Kevin Kofler
  link for supported pinephone os manjharo et all penguins_rule 3 1,079 05-09-2024, 03:02 AM
Last Post: Eugo
  systemic issue pinephone penguins_rule 3 1,235 04-02-2024, 11:52 AM
Last Post: Kevin Kofler
  Manjaro: Settings doesnt open nbh 0 928 09-24-2023, 05:25 PM
Last Post: nbh
  Can't get ring on Manjaro Pine Phone thorensjubilee 12 6,087 06-09-2023, 04:40 AM
Last Post: thorensjubilee
  Is Manjaro ARM a Rolling Release? jojuma 4 2,477 05-10-2023, 09:27 PM
Last Post: Kevin Kofler
  new PinePhone upgrade issue WhiteHexagon 5 2,918 05-09-2023, 04:09 PM
Last Post: WhiteHexagon
  Where Does Manjaro Phosh Store Its Custom Keystrokes? jakfish 0 1,130 04-25-2023, 09:49 AM
Last Post: jakfish

Forum Jump:


Users browsing this thread: 1 Guest(s)