[Sailfish General] carepack:
Hi guys,

i've started a general Q&A thread for n4 and others. Everything related to sailfish and of course n4 can be posted here.

1. Which HW components are working?

A: take a look at the spreadsheet libhybris: https://wiki.merproject.org/wiki/Adaptations/libhybris

2. Can I run my android apps?

A: atm = no. due to licensing issues the dalvik runtime is not included in android ports. Join community efforts in this XDA thread. The jolla phone run android apps.

3. What about playing videos and music

A: new ports with gstreamer1.0 (Nexus 5) play MP3, MP4, H264 out-of-the-box.

Install gstreamer1.0-libav for more codecs.

For old gst0.10 ports:

MP3: install gst-fluendo-mp3-0.10.23-1.armv7hl.rpm via rpm -i fluendo

Video: Install gst streamer plugins and ultimate codec support. detailed instructions: http://xdaforums.com/showpost.php?p=53552092&postcount=424

4. I'm able to install apps?

A: On Nexus 4 and Nexus 5 yes, soon on other devices too, always use Jolla Store for tested quality apps! Not there might still be scalability/stability issues on ported = non-official Sailfish OS devices.

As alternative and if you want to try many but NOT QUALITY-TESTED/POTENTIALLY DANGEROUS apps you can try Warehouse (openrepos.net):

* Navigate via your phone's browser to https://openrepos.net/content/basil/warehouse-sailfishos

* Download latest RPM

* In Terminal type `devel-su zypper in Downloads/harbour-warehouse*.rpm` and install

If you have Jolla Store also working on your ported device, you can install that app via UI instead of terminal:

* Ensure you have download at least one app from Jolla Store beforehand (which triggers `pkcon refresh`)

* Ensure Settings->System->Untrusted software is allowed

* Go to Settings->System->Transfers, click on downloaded file, and it will be installed

5. whatsapp?

A: Beware of WhatsApp temporary banning 3rd party app users. You can try WhatsUp: http://xdaforums.com/showpost.php?p=60264278&postcount=137

Next Mitäkuuluu version is rumoured to be unbannable, lets all wayt

6. How to access the device?

A: Via ssh or sftp. Take a look on [MENTION=4565663]Daycrawler[/MENTION] thread: http://xdaforums.com/jolla-sailfish/general/sailfish-android-devices-release-t2696409. He released the ea mail where everything is described.

7. How to install sailfish on my Android device ?

A: You will be able to install when an image is available. Check "Downloadable Image" column in https://wiki.merproject.org/wiki/Adaptations/libhybris .

Porting Sailfish OS by yourself is possible via following the HADK: https://sailfishos.org/hadk

For Nokia N9: http://wiki.maemo.org/Sailfish#Sailfish_Images

9. What about multirom?

A: MultiROM is supported on Nexus 4, Nexus 5, and OnePlus One (possibly Nexus 7 too)

10. Why I have to flash so much to get sailfish on my device?

mmmmmhhhh. Answer question by yourself and try :)

E.g. for Nexus 4 please do all steps you'll find in: http://xdaforums.com/nexus-4/development/rom-sailfish-os-community-port-t2969823 . It's necessary to have the right baseband / modem firmware. Maybe wifi won't work if you haven't.

11. How to take a screenshot?

A1: Install screenshot app by lbt, from Jolla Store.

A2: do `zypper in lipstick-qt5-tools lipstick-qt5-tools-ui` - iconless Screenshot app will be among the App Grid

A3: This can be done on the phone via terminal and also on a remote SSH PC client.

grabscreen /home/nemo/Pictures/Test.png

If you need a times then use the 'sleep' command. e.g. below is a timer for 5 seconds.

sleep 5 && grabscreen /home/nemo/Pictures/Test.png

The picture can be accessed in the Gallery or via a file manager (question #17 below).

12. How to get files from/to device, if USB Mass Storage mode or SD card are not available ?

A1: ssh + scp combo (windows[putty] & linux)

This combo is a set of linux standard tools. You can connect to the phone via secure socket shell from your pc and transfer files to your phone and vice versa.

A2: sftp + filezilla (windows & linux)

You can access the files via filezilla. You can transfer files like you're doing with an ftp server.

A3: Gnome Desktop Environment

The gnome filemanager nautilus has an build in option for accessing sftp / ssh servers or devices easily.

A4: WinSCP (windows)

To connect via these methods, enable developer mode, set a new password and take a look what ip you've get. Behind the wlan symbol. Then choose one of the above methods:

username = nemo

password = the one you entered in developer mode section

[ssh]= ssh nemo@device_ip

[filezilla] = sftp://device_ip

[nautilus] = select: Connect to server (on the left side) and enter: ssh://device_ip

13. How can I use the Backup app when there's no (working) SD Card?

A: Launch Settings->System->Backup to save all the settings you want to preserve

Perform

tar cf $HOME/backup.tar -C $HOME .vault

scp backup.tar onto your PC (other ways of how pull files, see FAQ #12 above)

Install new Sailfish OS.zip, put the tarball back onto device (say at $HOME), then perform:

cd $HOME && tar xpf backup.tar

Go to Settings->System->Backup and restore your content from a chosen backup

14. How can I provide another radio.img only for Sailfish OS?

Put radio.img onto Sailfish OS rootfs somewhere safe.

Edit /lib/systemd/system/firmware.mount and replace "What=/dev/mmcblk0p1" with "What=/path/to/firmware.img"

Be careful with that and always do backup (i.e. comment the first What out ;))

15. How can I skip tutorial?

On first screen, tap on corners in sequence: top-left, top-right, bottom-right, bottom-left

16. How can I mount android's virtual sdcard partition (Nexus4,5) with all my goodies?

Try:

devel-su
mkdir /android
mount /dev/mmcblk0p28 /android
# virtual sdcard content is then available in /android/media/0/

# enable nemo user to read/write the contents (use file manager for those):
usermod -aG media_rw nemo

# And for media to be tracked:
ln -s /android/media/0/DCIM /home/nemo/Pictures/Android
ln -s /android/media/0/Music /home/nemo/Music/Android
ln -s /android/media/0/Movies /home/nemo/Videos/Android

# To make this permanent, update your /etc/fstab file by adding the following line at the end:
/dev/mmcblk0p28 /android ext4 rw,relatime,data 0 0

17. Filemanager?

Install File Browser by Kari from Jolla Store.

For root access add on https://openrepos.net/content/schturman/startasroot-file-browser (See question #4 on how to access openrepos via Warehouse app)

18. OTA?

Over-the-air updates are not straightforwardly supported (it's possible to hack around via ssu release 1.x.y.z and version --dup commands but not been tested and breakages might happen).

Just do backup and restore via a backed up file (question #13), and reflash new .zip (which will overwrite the whole Sailfish OS partition), then restore backup

--

This thread should be a collection for sailfish on devices and I will update frequently if news or tipps & tricks are available.