yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] Wolfsen:
[MENTION=4415714]radbme[/MENTION]: thanks a lot for your help and the suggested workaround! Thanks to that I'm writing this reply with word prediction from my N4 right now :)
[Nexus 4 Android Development] radbme:
Woohoo!
[Nexus 4 Android Development] riBoon:
I had done this before with sailfish 2.0.2.51-> yesterday I've done the ota to 2.0.5.6 which comes with ofono 1.17 and now mms with mobile data on wont working again.

To just set dataCallFormat=6 in /etc/ofono/ril_subscription.conf won't fix the problem so maybe the version in 2.0.5.6 is too low and we need to install a newer ofono package. Has someone already fixed it?
[Nexus 4 Android Development] radbme:
You have to do it again after you OTA. Install the packages and edit the file. Mine worked after that.
[Nexus 4 Android Development] happyassshit:
So?!..

How good does it work on the Nexus 4?

Right now I've got Ubuntu Touch on it but I'm considering to switch.
[Nexus 4 Android Development] fishears:
I recently did the same because UT is finished now (or at least for some time). Sailfish is better IMO - much more flexible. I recommend you try it.
[Nexus 4 Android Development] aureliomilitao:
link download ??
[Nexus 4 Android Development] fishears:
Follow the wiki.merproject.org link in the first post. The download link is at at that site plus all the information you'll need to get up and running.
[Nexus 4 Android Development] riBoon:
Yea, right. My fault was to use "rpm" instead of "pkcon install-local" and rpm said: "Hey, there is a conflict. I will doing nothing here" After tipping right command all was fine. Thanks.
[Nexus 4 Android Development] Wolfsen:
Messenger

Hey, I am wondering if there is any chance to get signal work on the N4. Or are there any suggestions for comparable messengers that work on 2.0.5.6 on the N4?

Thanks in advance for every hint!
[Nexus 4 Android Development] slash.tux:
Strangly the bluez package was missing

zypper install bluez
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
bluez

1 new package to install.
Overall download size: 479.4 KiB. After the operation, additional 1.5 MiB will be used.
Continue? [y/n/?] (y): y
Retrieving package bluez-4.101+git73-1.31.1.armv7hl (1/1), 479.4 KiB ( 1.5 MiB unpacked)
Retrieving: bluez-4.101+git73-1.31.1.armv7hl.rpm ...............................................................................................[done]
Installing: bluez-4.101+git73-1.31.1 ...........................................................................................................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/jolla/core/armv7hl/bluez-4.101+git73-1.31.1.armv7hl.rpm: Header V3 DSA/SHA1 Signature, key ID f2633ee0: NOKEY
[Nexus 4 Android Development] bolek1337:
Indeed. Looks like the bluez-configs-sailfish package that was incorporated into adaptation upstream had these dependencies:

- bluez

- libkeepalive-glib

which I did not add to the adaptation layer's dependencies. Good catch!
[Nexus 4 Android Development] slash.tux:
It seems there is an error around bluez :

- The package is missing

- then after the package has been installed the bluetooth configuration doens't stick after a reboot. No problem with the gamma 7.1

Thanks for the work !
[Nexus 4 Android Development] slash.tux:
Installing libkeepalive-glib for the bluetooth config dodn't help.
[Nexus 4 Android Development] Malk4ever:
MTP doesnt work... any chance to fix that?
[Nexus 4 Android Development] bolek1337:
Sorry, can't flash my device to see what's going on, I'm currently testing cm13 sailfish adaptation there. But I'm looking at package diff against that build and see these missing:

- bluez

- kf5bluezqt-bluez4

- ohm-plugin-route

And this is removed now from the adaptation:

- usb-moded-pc-suite-mode-android

I don't see a reason MTP would stop working in this release. Was it working in 2.0.2?
[Nexus 4 Android Development] Malk4ever:
I don't know. I started with 2.0.5.6.

I'm new to SFOS, maybe I did something wrong. When I connected it the first time it showed only a 64MB partition... after clicking "connect as "Massenspeicher"" don't know the english name (using german) it shows a USB device in Windows Explorer, but its grey, can't open it.

I get a 'qtn_usb_mound_failed' when I plug in the USB cable.
[Nexus 4 Android Development] bolek1337:
Hey, good for you! Although you started with a release that is known to break some stuff for adaptations, Nexus4 works quite nicely with SFOS. Hope you're going to have a lot of fun with it.

I know of a number of people complaining about MTP in general, something about the idea or implementation. I never used it, tbh, and I don't have a Windows machine to check against.

You should definitely try SCP, there's a good Windows client - WinSCP that does the job. You'll need to have the Developer Mode enabled, there's the 'nemo' user password in there for you to connect.

I saw some tip about a race condition regarding MTP on our hardware adaptation Etherpad instance, but that one has different symptoms. I might check that out at one point, would you be in a position to test the change?
[Nexus 4 Android Development] Malk4ever:
Sure (when I'm back at home).

It's not my daily driver yet, just for playing and getting into SFOS (I still hope they will realease some official devices this year).
[Nexus 4 Android Development] Malk4ever:
by the way: sfdroid doesn't work too.

It tries to start but after a few seconds the App closes.
[Nexus 4 Android Development] Malk4ever:
This storage is mounted when I use MTP on the Nexus 4.

It's german, but the core should be cleear ;)
[Nexus 4 Android Development] nexus4still:
hey all, I'm trying to flash sailfish os to my nexus 4, 4.2.2, which version of Sailfish should I flash it with? there are a lot to choose from, beta 1,2,3, gamma 1,2,3... which is which? thanks!

---------- Post added at 05:00 PM ---------- Previous post was at 04:56 PM ----------

is there anything else that I need to download and to add after I've download the following:

- superuser

- busybox

- multirom

anything else that I should know?
[Nexus 4 Android Development] bolek1337:
As per the opening post and https://wiki.merproject.org/wiki/Adaptations/libhybris/Install_SailfishOS_for_mako - you need to first update your radio firmware to Android 4.4, so go grab that from https://developers.google.com/android/images - you can just flash your whole device with Google's 4.4.4 factory image.

Then, you need cm11. I'm sure you'll find guides to install cm11 on mako, even though the official cyanogenmod website is down. Along with cm11 installation, you can install the latest gamma image of sfos (currently gamma8) in the same run. Voila.

Good luck and wish you happy sailing with your Nexus 4!
[Nexus 4 Android Development] deshmukhrb2000:
Hi Sailfish developer, just saw that developer m4r0v3r in Nexus 5X (https://xdaforums.com/nexus-5x/general/sailfish-os-bullhead-t3542388), uses cm-13.0-20161222-SNAPSHOT for Sailfish. Just to an update you guys.

BTW thanks for the work and keep it up.
[Nexus 4 Android Development] nexus4still:
can you please share your CM11? Yeah the site is down and I cannot download anything from the web

Or can I still use the CM 10.1.3? if yes, what version of Sailfish should I use?
[Nexus 4 Android Development] Kubino:
temporarily I uploaded the CM11 here
[Nexus 4 Android Development] nexus4still:
by the way, do I still need the GApps installed for the CM11? or just the CM11 then the sailfish os?
[Nexus 4 Android Development] Kubino:
No, you don't need GApps. Just the CM11 then the sailfish os.
[Nexus 4 Android Development] nexus4still:
I was able to install the CM11, but now im getting an error with the Sailfish os. Can I install the lower version of sailfish, like gamma 7.1?
[Nexus 4 Android Development] deshmukhrb2000:
Yes Absolutely, no problem. go ahead and flash.......
[Nexus 4 Android Development] matemana:
That's it this OS is my daily driver on my nexus 4. And i am not going to remove it even to try android 8 when it comes out.
[Nexus 4 Android Development] nexus4still:
can you share your pro's and con's of your sailfish?
[Nexus 4 Android Development] matemana:
Of course.

pros

First of all i like to have full linux terminal in my pocket.

The best multitasking experience you can get on any mobile os.

I have some programs that notify me about information i need. With this OS it's much easier for me.

cons

apps, there are no apps. Actually i need 10 apps at max. The only thing i hate about this OS is that there is no good browser.

I do not use facebook, and ther social sites. Do not use skype, viber and things like that. I only use gmail.
[Nexus 4 Android Development] Malk4ever:
Imho the most annnoying thing in this gamma8 is the WiFi / UMTS connection bug.

Loosing connection often when leaving WiFi and returning.

With a fix of this it could be my daily driver ;)
[Nexus 4 Android Development] nexus4still:
I can't wait to have this installed! I'm still having the "SOD" problem and its getting into my nerves!! I even can't use the phone without the thing plugged in... I don't know if the upgrade to sailfish will fix this... Any fix on this? Are you guys still having the same sudden shutdown?
[Nexus 4 Android Development] caxda:
Big thank you to everyone who made this port possible as it gave some fresh life to my Nexus 4.

There is one bigger issue I'm having:

1. Phone vibration when receiving notifications is very soft (e.g SMS).

2. When receiving a phone call, there's only a short vibration (same like SMS), instead of a continuous one (same with alarms in Clock app)

3. Vibration test in CSD-Tool fails (no feedback)

Haptic feedback for Pulley Menu, virtual keyboard and other GUI elements are strong and similar to an original Jolla device - so issue occurs only with non-graphical feedback. I've tried various settings (in Settings/Sound and Feedback) and looked into .ini files in /usr/share/ngfd/ - but maybe it's actually a driver issue.

Is this a known issue, or did I set up something wrong?
[Nexus 4 Android Development] ddaggebi:
How can I install Play store and play services? Should I manually install them all?(installing gapps within recovery didn't do anything...)

If I have to install them all, then what should I install to make everything(play store, keep, Google play games, etc...) work?

Thank you!
[Nexus 4 Android Development] matusala:
To install google play store, google services and voice assistant follow this guide.

became root devel-su

Download this archive and extract it. http://bin.ge/dl/247451/SFOS-GAPPS-tar.gz.html

You will see APPS and GAPPS folders.

enter GAPPS folder and copy system folder with this command

cp -avR system/ /opt/alien/

and change permissions

chmod 664 /opt/alien/system/framework/com.google.android.maps.jar

chmod 664 /opt/alien/system/etc/permissions/com.google.android.maps.xml

then copy GmsCore.apk, Phonesky.apk, GoogleLoginService.apk and GoogleServicesFramework.apk here /opt/alien/system/priv-app

and chmod them with "chmod 664 full/path/to/these/files"

then install them

cd /opt/alien/system/priv-app

apkd-install Phonesky.apk

after this install updates they are located in APPS folder. There also are firefox and youtube apk if you want them. After install restart the phone. that's it. Google play and google services should work.

P.S. PM me if something goes wrong.
[Nexus 4 Android Development] ddaggebi:
Thank you! Everything installed correctly(although I had to learn to use some linux codes and their usage)

Big thanks!
[Nexus 4 Android Development] radbme:
Well I followed this but nothing shows up in the app drawer other than the sailfish apps. I double checked the locations like /opt/alien/system/priv-app/ and all the files are there. A restart didn't help. What'd I do wrong?
[Nexus 4 Android Development] ddaggebi:
IF the files are in the right directory, check whether if

1. Alien dalvik is working correctly. Go to setting, and scroll down untill you see 'Android Support'. Click it to see whether it is available.

2. You gave the file right permissions with chmod 664.

If those two are not the case, then I can't help you...
[Nexus 4 Android Development] deshmukhrb2000:
In my setting, i can see "Android Support"

also i have run chmod 664 as well.

Still not able to install apk and use.

---------- Post added at 11:47 AM ---------- Previous post was at 11:34 AM ----------

in the Wiki merproejct page, saw i can upgrade OTA for nexus 4. but the steps which they gave not able to get it.

if somebody has a steps to upgrade using OTA will help. otherwise will start from fresh.

Now able to get my play store working.

One quick question, i tried to install xplanet-bachgound for ambiance i.e. real time earth from "https://openrepos.net/content/eatdirt/xplanet-background" but it did not get install giveing error as "Failed to issue method call: Unit xplanet.service failed to load: No such file or directory."

Can anybody try it and get it working, it is live earth wallpaper.... would be amazing....

Thanks
[Nexus 4 Android Development] radbme:
My issue is definitely with Alien Dalvik. It can't start.

[nemo@Sailfish ~]$ devel-su
Password:
[root@Sailfish nemo]# systemctl stop aliendalvik
[root@Sailfish nemo]# chmod +x /opt/alien/system/script/platform_extraenvsetup.sh
[root@Sailfish nemo]# systemctl start aliendalvik
Job for aliendalvik.service failed. See 'systemctl status aliendalvik.service' and 'journalctl -xn' for details.
[root@Sailfish nemo]# chmod 664 /opt/alien/system/script/platform_extraenvsetup.sh
[root@Sailfish nemo]# systemctl start aliendalvik
Job for aliendalvik.service failed. See 'systemctl status aliendalvik.service' and 'journalctl -xn' for details.

Should I start over?
[Nexus 4 Android Development] matusala:
When i had the same issue i reinstalled aliendalvik and it worked.

---------- Post added at 03:52 PM ---------- Previous post was at 03:47 PM ----------

I wrote on page 57 how to OTA correctly, here is that post it will help you upgrade.

https://xdaforums.com/showpost.php?p=68638995&postcount=570

As for that planet background it will hog your battery.
[Nexus 4 Android Development] radbme:
It seems the GAPPS install affects Alien Dalvik somehow. Alien Dalvik installed (the second time) just fine and was even working after a reboot. I never saw the work I did to get the GAPPS to work though so I followed your tutorial again exactly as follows:

Extracted the tar.gz into Downloads (APPS and GAPPS folders)

copy system folder from GAPPS with cp -avR system/ /opt/alien/

then

chmod 664 /opt/alien/system/framework/com.google.android.maps.jar

chmod 664 /opt/alien/system/etc/permissions/com.google.android.maps.xml

then

cp GmsCore.apk, Phonesky.apk, GoogleLoginService.apk GoogleServicesFramework.apk /opt/alien/system/priv-app

then

chmod 664 /opt/alien/system/priv-app/GmsCore.apk

chmod 664 /opt/alien/system/priv-app/Phonesky.apk

chmod 664 /opt/alien/system/priv-app/GoogleLoginService.apk

chmod 664 /opt/alien/system/priv-app/GoogleServicesFramework.apk

then

cd /opt/alien/system/priv-app

apkd-install GmsCore.apk

apkd-install Phonesky.apk

apkd-install GoogleLoginService.apk

apkd-install GoogleServicesFramework.apk

and then

cd /home/nemo/Downloads/APPS

apkd-install com.google.android.googlequicksearchbox-5.2.33.19.arm-300441176-minAPI19.apk

apkd-install com.android.vending_7.4.12.L-all-0-PR_144479971-80741200_Android-4.0.apk

apkd-install com.google.android.gms_10.2.91_(030-144333517)-10291030_minAPI14(armeabi-v7a)(nodpi)_apkmirror.com_

reboot

But after the reboot Alien Dalvik won't start again. No amount of disabling, reenabling, reinstalling, stopping, or starting gets it to start. Any ideas? Did I do something wrong?
[Nexus 4 Android Development] Jorge R:
What version of cm do I need?
[Nexus 4 Android Development] matusala:
Maybe you are right and it affects aliendalvik. Try just installing aliendalvik again after these steps. Do not delete anything just install aliendalvik.

deshmukhrb2000 too got working google play store as i have.

P.S. i can't disable or enable aliendalvik with this command systemctl aliendalvik start or something like that. I just stop and start it from settings->Android support. I think you should use that menu too.

---------- Post added at 08:18 AM ---------- Previous post was at 08:18 AM ----------

CM11 M12
[Nexus 4 Android Development] TheArt.:
Great project!

I'm gonna install it on my mako. One question: I read that multiROM support is available, but I don't understand what is the best practice to have Android 7.1.x and SailFishOS working correctly. Which one should be the primary ROM? I see that MultiROMv33 supports 6.0, and Nougat?

(As of now I'm on PureNexus 6.0.1 and never tried multiROM).

Please share your experience and point me to a guide to accompish this, if it is possible.
[Nexus 4 Android Development] slash.tux:
I'm using lineage OS + Sailfish via multirom.

A patch for th kernel is available on the forum.

Not so much problem so far .
[Nexus 4 Android Development] Jorge R:
thank you very much.

I think they should make a thread, in the general section, to install Alien Dalvik
[Nexus 4 Android Development] matusala:
Guys i need help. Now when cyanogenmod is down from where can i download it's old ROMs?

Thanks god i had saved CM11 M12 for Nexus 4 and CM12.1 for Nexus 5 to use as base for SFOS, but now i need CM11 M11 for Nexus 5 and i can't find place to download it. Please help. Or can i compile it from sources if they are not deleted too. What a shame Cyanogenmod.
[Nexus 4 Android Development] TheArt.:
Can you upload please CM11 M12 for mako? I'm also searching it.
[Nexus 4 Android Development] matusala:
Here you go.

http://bin.ge/dl/247686/cm-11-20141115-SNAPSHOT-M12-mako.zip.html
[Nexus 4 Android Development] preflex:
After following these steps, I was having the same problem. Here's what I did on a fresh install of gamma8:

First: install aliendalvik as previously described:

zypper in aliendalvik-1.0.46-1.armv7hl.rpm

systemctl stop aliendalvik

cp platform_extraenvsetup.sh /opt/alien/system/script/platform_extraenvsetup.sh

chmod +x /opt/alien/system/script/platform_extraenvsetup.sh

systemctl start aliendalvik

Second:

tar -xzvf SFOS_GAPPS.tar.gz

Then, Install File Browser from Jolla store to navigate to APPS. Install Firefox apk from APPS and test that it's working. Don't use apkd-install.

Next:

Complete all steps listed in your post:

cd GAPPS

cp -avR system/ /opt/alien/

chmod 664 /opt/alien/system/framework/com.google.android.maps.jar

chmod 664 /opt/alien/system/etc/permissions/com.google.android.maps.xml

cp GmsCore.apk /opt/alien/system/priv-app

cp Phonesky.apk /opt/alien/system/priv-app

cp GoogleLoginService.apk /opt/alien/system/priv-app

cp GoogleServicesFramework.apk /opt/alien/system/priv-app

chmod 664 /opt/alien/system/priv-app/GmsCore.apk

chmod 664 /opt/alien/system/priv-app/Phonesky.apk

chmod 664 /opt/alien/system/priv-app/GoogleLoginService.apk

chmod 664 /opt/alien/system/priv-app/GoogleServicesFramework.apk

cd /opt/alien/system/priv-app

apkd-install GmsCore.apk

apkd-install Phonesky.apk

apkd-install GoogleLoginService.apk

apkd-install GoogleServicesFramework.apk

cd /home/nemo/APPS

apkd-install com.google.android.googlequicksearchbox-5.2.33.19.arm-300441176-minAPI19.apk

apkd-install com.android.vending_7.4.12.L-all-0-PR_144479971-80741200_Android-4.0.apk

apkd-install com.google.android.gms_10.2.91_(030-144333517)-10291030_minAPI14(armeabi-v7a)(nodpi)_apkmirror.com_

reboot.

Notice that it doesn't work.

Next:

Reinstall aliendalvik rpm and script. Since zypper complained that it was already installed, i used pkcon.

pkcon install-local aliendalvik-1.0.46-1.armv7hl.rpm

systemctl stop aliendalvik

cp platform_extraenvsetup.sh /opt/alien/system/script/platform_extraenvsetup.sh

chmod +x /opt/alien/system/script/platform_extraenvsetup.sh

systemctl start aliendalvik

if it doesn't complain, launch firefox and notice that it works.

then, use file browser to again navigate to APPS, and install each of the apk files.

Now, it works!

BONUS FUN: Install XServer-XSDL, chroot into a rootfs of your favorite linux distro, and no longer be annoyed that there is no proper XWayland for Sailfish.
[Nexus 4 Android Development] slash.tux:
Did you experience any the bluetooth configuration after reboot ?

After installing the missing package in the Gamma 8, i change setup the bluetooth and pair anything.

Switching on and off the bluetooth reconnect to the speaker,

Switching on and off the speaker reconnect automatically,

When i reboot the phone, all the bluetooth config is reset...

Do you know where to look to troubleshoot the config not getting saved ?
[Nexus 4 Android Development] radbme:
Thanks. I'm writing this from Tapatalk on sailfish.

In other news, has anyone had issues getting Warehouse to resolve and install dependencies? I'm trying to install the facebook messenger account plugin but can't resolve libpurple. Installing libpurple gives yet another error resolving another lib. What gives?

---------- Post added at 09:42 PM ---------- Previous post was at 09:37 PM ----------

Oh one more thing. If you disconnect from Wi-Fi and then reconnect there's no internet connection. Odd. I seem to remember this bug from the old Sailfish 1.x N4 builds. Can anyone else confirm?
[Nexus 4 Android Development] slash.tux:
I'm confirming for the wifi and internet connection
[Nexus 4 Android Development] moriel5:
Did any of you attempt to use microG with SailFish OS?

It may help to try.
[Nexus 4 Android Development] g33k0 b3lk0w:
Can someone post some new screenshots for this rom or a mini-video, I'm interested in it
[Nexus 4 Android Development] matusala:
This is not a rom. This is whole new operating system that comes from nokia/meego, it's written in Qt/QML, C++ it's fast, it's apps are fast. Does not hog your ram and battery like android and google do.

there are many videos on youtube https://www.youtube.com/results?q=sailfish+os&sp=EgIIBA%3D%3D
[Nexus 4 Android Development] Malk4ever:
I can confirm, Internet connection is lost when leaving WiFi and returning to it.

Thats the only reason atm why this is not my daily driver.
[Nexus 4 Android Development] Malk4ever:
Here you go.

But this is NOT Android, it is a Linux based mobile OS, based on the mer-core which is made from maemo/meego (a godlike mobile OS which has been killed after NOKIA was dumb enough to get Stephen Elon aka trojan horse from Redmond as new leader).

:good:
[Nexus 4 Android Development] GAndrel:
That issue was reported long time ago. Against version 1.1.6.27...

together.jolla.com/question/97554/with-the-new-update-of-11627-wifi-and-network-switch-does-not-happen/?answer=97576

Today I was trying to find out what is going on with that switching. As I wrote earlier issue is with adding default route, which is not configured when switching back to WiFi.

I found today that it only happens if Cellular Data network is Online. I such case Gateway information is lost even if provided by DHCP:

When Cellular dats is offline default gateway is configured properly:

--

BR, GAndrel
[Nexus 4 Android Development] Kubino:
this workaround doesn't work anymore :(
[Nexus 4 Android Development] radbme:
Oh no. That sucks. I'll definitely have to make a nandroid backup of my current install!!

---------- Post added at 08:22 PM ---------- Previous post was at 08:21 PM ----------

Now that I'm reading this I remember that. The workaround was to disable data, connect to WiFi, and then re-enable data. Thanks for the reminder.
[Nexus 4 Android Development] Kubino:
Good news, the workaround still works :) For backup you can do in terminal

$ pkcon download /home/nemo jolla-xt9

and you will have rpm package ;)

Now I will try flash gamma 8 and install the package jolla-xt9, EDIT: it works.
[Nexus 4 Android Development] radbme:
Now what did I do??
[Nexus 4 Android Development] GAndrel:
Anybody knows application which can automate this workaround?