Sailfish OS pinephone

documentation is a bit behind…but the current flash-it requires tow-boot, do you have it installed? And there’s a possibility it only works with emmc, failed on my sdcard on PP.
if you’re on telegram the dev is here: Telegram: Join Group Chat

Thanks, Defactofactotum

Alas like Linguist I’m not a Telegram user as well :frowning:

I’ve pretty sure I’ve got tow-boot as my PPP shipped only a couple of weeks ago and I’m able to “Volume Down” boot fine to other SD Card Images like UBPorts and Mobian no problems. SD boot images running very well and surprisingly fast / responsive on the distros above !

I might have missed it but I didn’t notice an option to install the image directly to eMMC in the script ?

I’m reading your above post as I should try and attempt a build using flashit.sh directly to eMMC instead of SD card ? Plugging the PPP into my build linux pc and tow-booting “volume up” readable media mode ? I’m just not clear how I tell flashit.sh to build to the PPP via USB directly connected to my build PC ? I feel I’m missing something here ?

I’ve seen the question asked online without a response before. I’m wondering the technical reason why we can’t just download a zipped.img file similar to the way it’s done in UBports and Mobian for dd’ing straight to an SD card or eMMC partitions as required ? Is it a tow-boot / boot partitions issue with Sailfish OS or a building issue ? Why flashit.sh on Pine ?

Just for the record I’ve 2 x full blown Sailfish OS Licences already in use and I’ve been happily using them for several years on my Old Sony Xperia X and XA2.

I’m happy to Guinea Pig / Gumby install test Sailfish OS to PPP as well as draft and update any necessary install Doco for publishing if that helps anyone ?

Just let me know here.

Thanks :slight_smile:

Ok so I’ve gone back to the install doco @

Noting step 3 ;
“A list of block devices is displayed and the user is asked to enter the installation device
This will typically be /dev/sdX for the EMMC or /dev/mmcblkX for an SD card”
^Missed that :roll_eyes:^
Thus noting the ability to install to the dev/sdX option for directly to eMMC.
After running the flash-it.sh script and selecting option 5 for the PhinePhonePro
Alas I’m now getting the dreaded :wink:
“UBoot image download failed. Aborting.”
Which I was suffering prior to my posts here when trying to initially to build an SD Card :frowning:
^is this a script or image download problem once again ?^

Alternatively I also notice the flash-it.sh script has a -c “Custom” option ?
“Install from custom dir. Just put you rootfs.tar.bz2 and u-boot-sunxi-with-spl.bin into dir and system will istalled from it”

Is it possible to get a link to the correct PinePhonePro rootfs.tar.bz2 and u-boot-sunxi-with-spl.bin files posted here if there is a flash-it.sh download fault ?

An assistance is greatly appreciated in advance once again :slight_smile:

yes, to flash to emmc use tow-boot with vol up to expose file system, should be blue led.
The option to write an image is by typing raw instead of /dev/sdX but I’m not sure if it’s working at the moment, it was broken for a long time. Make sure the flash-it is the latest from GitHub - sailfish-on-dontbeevil/flash-it: Flasher script to flash Sailfish OS on a SD card for PinePhone/PineTab/devkit
It changed about 2 days ago. It’s been tested with sdcards on PP and PPP. You need to update immediately to get sound working: zypper ref and zypper dup
A faster way to flash is via another distro on sdcard, just put the flash-it script somewhere and run the command. I use danctnix alarm, you need to install wget and jq first but that’s quick to do. Mobian would probably work fine.

“The option to write an image is by typing raw instead of /dev/sdX”

Are we talking about when the flash-it.sh script asks
Device node (dev/sdx):
I should just type in ?
raw
He asks after telling the just re downloaded latest script to flash to /dev/sdb in my case :wink:

yes, should make a 4GB .img in the flash-it folder

Great stuff.

  1. I’ve updated to the latest flash-it.sh script via the link above
  2. Connect the PinePhonePro via USB to my Linux Build PC
  3. “Volume Up” booted the phone to readable media mode
  4. Run flash-it.sh
  5. Selected Option “5” for PhinePhonePro flash
  6. Selected Device node (dev/sdx): /dev/sdb ← in my case
  7. Are you Installing to an SD Card? : n
  8. Clear Root Password?: yes
  9. Flashing /dev/sdb OK!
  10. Rebooted PinePhonePro and ran initial Sailfish Setups and booted into Sailfish 4.5.0.19 on the eMMC

Woot !

Thanks again Defactofactotum for all the help :partying_face:

Doh forgot about resetting the devel-su root password in SailfishOS “Developer Menu” !
:blush:

note the camera has stopped working, the wifi disconnects during sleep and needs to be retoggled off and back on…and the display dies erratically, only remedy is long press on power and reboot…so not quite for daily use

Well I had some trouble running the zypper ref and zypper dup commands. All seemed to go well but it continually crashed out when I went through the Sailfish OS initial Setup and onto the desktop forced by zypper updates. Top Pull down menu would work it appears but nothing else. Loading Circle would spin endlessly with no desktop loading. Also WiFi would not detect (sleep issue ?)

So as per the extensive Sailfish OS Doco ;

Under “Update Software” just ran a devel-su and then a
version --dup

That seemed much better.
WiFi bombed out still (Due to the sleep issue I expect)
Booted Ok though back to the desktop this time
^after some time / be patient throughout re-Inital Boot / Skipped Tutorial by closing Tutorial WIndow^
Turned WiFi on and off and it reconnected fine.
Seems I now have sound and call’s (somewhat !).
As per above posts no camera
Regular screen crashes still but comes back Ok without reboot currently :crossed_fingers:

Gone back to a boot SD Card build while I continue to happily play with Sailfish OS on PinePhonePro

Oh and thanks of course to Piggz for all his and anyone I’ve missed’s Porting / Dev hard work !

Totally Awesome to be able to tinker with Sailfish on PinePhonePro

Great stuff all

:slight_smile: