[Nexus 4 Q&A, Help & Troubleshooting] carepack:
[SIZE=+2]This thread has been created

for

Questions & Answers/Troubleshooting[/SIZE]​

[SIZE=+2]Specific to[/SIZE]

[ROM][29Jan][GNU/Linux] Sailfish OS (community port)

Click link here>> To jump to Development thread <<Click link here[/COLOR]

Please feel free to share issues, questions and offer help

It is always best to thank a ROM OP, in lieu of simply posting "Thank you".

-----------------------------------------------------------------------------------------------

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-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. But expect glitches because Jolla Store is going under maintenance until Tablet comes out. Known issues:

* "Essential Apps from Jolla" is not visible. Find them one by one via Seach

* Newly added apps might not show up for SFE devices

Alternatively, try Warehouse (openrepos.net):

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

* Download latest RPM

* Either run devel-su pkcon refresh in terminal, or download at least one app from Jolla Store

* 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 device (other than n4)?

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 (possible Nexus 7 too): Follow up: http://xdaforums.com/jolla-sailfish/general/09-06-sailfishos-multirom-how-to-set-t2869096

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?

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

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

su-devel 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 Filetug.

12. How to get files from/to device, because USB Mass Storage mode and 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 virual sdcard partition (Nexus4,5) with all my goodies?

Try:

devel-su
mkdir /android
mount /dev/mmcblk0p28 /android
# User data is then available in /android/media/0/

# You can update your fstab file by adding the following line at the end:
/dev/mmcblk0p28 /android ext4 rw,relatime,data 0 0

# And for media to be tracked:
ln -s /android/media/0 /home/nemo/android_sdcard

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)

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

-----------------------------------------------------------------------------------------------

Please keep discussion focused, on the topic described in the OP

​