Fedora on Pinephone
#1
Hello everyone,

I posted this also on the Fedora forum, see here

I own a Pinephone 64 formerly with PostmarketOS and SXMO installed. I was happy when I read about Fedora Phosh 38 being available so I wanted to install it on my Pinephone. I downloaded the Fedora-Phosh-38-1.6.aarch64.raw.xz file from Fedora Phosh | The Fedora Project. Checksums did match, hence the file didn’t seem to be corrupted or anything. I connected and rebooted my Pinephone (which has TowBoot installed) and tried to write the downloaded file with Balena Etcher onto the eMMC. This left me with the message “Attention Something went wrong. If it is a compressed image, please check that the archive is not corrupted. The elevated process died unexpectedly”.

I then remembered that openSUSE also comes with a raw.xz image, so I checked out their install process, see HCLTongueinePhone - openSUSE Wiki , and it seemed straight forward. I used
Code:
lsblk
to determine that the device was mounted under /dev/sdd. I then executed

Code:
xzcat Fedora-Phosh-38-1.6.aarch64.raw.xz | sudo dd bs=4M of=/dev/sdd iflag=fullblock oflag=direct status=progress; sync

and that led to the following result:

Code:
146800640 bytes (147 MB, 140 MiB) copied, 20 s, 7,2 MB/s
dd: error writing '/dev/sdd': Input/output error
36+0 records in
35+0 records out
146800640 bytes (147 MB, 140 MiB) copied, 22,0027 s, 6,7 MB/s

I guess I should have specified sdd1 (pmOS_boot) or sdd2 (pmOS_root). Now the phone does not start anymore and I guess I have to come up with a solution how to reinstall an OS to it. Although, during starting process, I get past the first stage (red LED, short vibration) to the second stage (yellow LED, two short vibrations) but not to the third (green LED, long vibration). The screen stays black and LED stays yellow. I should also add that Towboot still seems to work, as holding the Volume-Up-Button pressed during boot turns the LED blue in the second stage.

Any help is much appreciated.
Thanks and greetings
Pasi
  Reply
#2
i wonder if this last step from the Fedora install page on the wiki might be the culprit:

Do not forget to resize the 2nd partition on the eMMC and the f2fs file system in that partition

https://fedoraproject.org/wiki/Architect...ll_to_eMMC
  Reply
#3
(04-25-2023, 07:38 AM)tophneal Wrote: i wonder if this last step from the Fedora install page on the wiki might be the culprit:

Do not forget to resize the 2nd partition on the eMMC and the f2fs file system in that partition

https://fedoraproject.org/wiki/Architect...ll_to_eMMC

I didn't really get to that point. The flashin process failed and now I can't start it anymore =/
  Reply
#4
(04-25-2023, 07:51 AM)pasifi808 Wrote:
(04-25-2023, 07:38 AM)tophneal Wrote: i wonder if this last step from the Fedora install page on the wiki might be the culprit:

Do not forget to resize the 2nd partition on the eMMC and the f2fs file system in that partition

https://fedoraproject.org/wiki/Architect...ll_to_eMMC

I didn't really get to that point. The flashin process failed and now I can't start it anymore =/

Have you tried writing jumpdrive to an SD, booting it, and connecting the phone to a computer so you can wipe the emmc and start over?
  Reply
#5
(04-25-2023, 10:58 AM)tophneal Wrote: Have you tried writing jumpdrive to an SD, booting it, and connecting the phone to a computer so you can wipe the emmc and start over?

Not yet. I will give that a try in the next few days. But I'm a bit concerned now, as I have posted this issues on the Fedora community forum as well, see https://discussion.fedoraproject.org/t/f...e-64/81550 , and while somone recommended another installing method, someone else mentioned that Fedora 38 does not yet work on Pinephones and nneds some extra patches =/

Anyhow, thank you for your quick response so far Smile
  Reply
#6
(04-27-2023, 01:50 AM)pasifi808 Wrote:
(04-25-2023, 10:58 AM)tophneal Wrote: Have you tried writing jumpdrive to an SD, booting it, and connecting the phone to a computer so you can wipe the emmc and start over?

Not yet. I will give that a try in the next few days. But I'm a bit concerned now, as I have posted this issues on the Fedora community forum as well, see https://discussion.fedoraproject.org/t/f...e-64/81550 , and while somone recommended another installing method, someone else mentioned that Fedora 38 does not yet work on Pinephones and nneds some extra patches =/

Anyhow, thank you for your quick response so far Smile

The official Fedora image does not work for Pinephones yet - and it has several other bugs, so it shouldn’t be used at all for now.

You shoud use the Fedora remixes we make for the Pinephones (there is Phosh and Plasma Mobile images ). You find them at:
ftp://pine.warpspeed.dk/nightly/pinephone
  Reply
#7
FTP? Seriously? Why are those files not served over HTTPS like everywhere else in 2023?
  Reply
#8
(04-28-2023, 05:00 PM)Kevin Kofler Wrote: FTP? Seriously? Why are those files not served over HTTPS like everywhere else in 2023?

what is the key reason why ftp is used, i can speculate.

ftp supports uploading by default. however, username and password are required and goes plain text. sftp could be used for uploading, but then why to use ftp for downloading. https requires cerificate, maybe fedora does not provide one, "let's encrypt" could provide a certificate.

maybe it's a complicated compromise.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Why does Pine64 sabotage office on the Pinephone? Peter Gamma 5 441 07-04-2024, 07:34 AM
Last Post: Kevin Kofler
  Which word processor to choose for the Pinephone? Peter Gamma 16 3,540 06-22-2024, 07:28 AM
Last Post: Peter Gamma
  Samba share on the Pinephone? Peter Gamma 0 445 06-16-2024, 10:26 PM
Last Post: Peter Gamma
  Struggle to install LibreOffice on the PinePhone Peter Gamma 49 29,640 06-13-2024, 05:50 PM
Last Post: Peter Gamma
  Possible Free Backup Carrier for PinePhone PineFone 0 143 06-13-2024, 03:45 PM
Last Post: PineFone
  Using Signal on PinePhone in mid-2023? dante404 47 17,774 05-03-2024, 02:19 AM
Last Post: dragonhospital
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 38 28,068 04-23-2024, 10:29 AM
Last Post: donchurch
  PinePhone app development WhiteHexagon 15 5,391 04-23-2024, 05:19 AM
Last Post: Jonnyc
Wink PINEPHONE not booting Touchwood 2 825 02-23-2024, 07:27 AM
Last Post: Touchwood
  Slack on PinePhone Adam Seline 5 5,903 12-20-2023, 07:20 AM
Last Post: nickolas

Forum Jump:


Users browsing this thread: 1 Guest(s)