maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SailfishOS 2.0 on Nexus 5 (https://talk.maemo.org/showthread.php?t=94620)

liar 2015-12-12 18:35

Re: SailfishOS on Nexus 5
 
Quote:

Originally Posted by romu (Post 1491291)
Humm...sounds like could be nice to run Android beside SFOS. Could this be used without having to re-install the phone, or it could be setup on a current CM+SFOS ?

yes you can simply install this on top of your current installation. plan to make a flashable image the android way (not sure if i should create rpms instead)

EDIT: i hope you were talking about the sfdroid method, otherwise ignore me

m4r0v3r 2015-12-12 18:53

Re: SailfishOS on Nexus 5
 
Quote:

Originally Posted by jem555 (Post 1490431)
Hi. Thanks for your reply. You've tried this with a nexus 5 and SailfishOS?

it's so rare, it makes the same noise with a headset and carsystem. I've changed bluetooth connection mode to car system, headset and so on...and still the same.


I'm sure it's not the hardware of my nexus (works excellent with android or firefox os) or the devices (they work ok with other phones).
And the noise is only on my side, so the voice of the caller is too hard to hear because of that.

I think it's the codec that compress the voice when sending it to the device. I'll dig on pulseaudio 6.

Please try to test it with another device if you can, and let me know the results.

Pablo.

hmm tried it for a headset for a motorcycle helmet and its very choppy, somethings probably gone wrong

linuxunux 2015-12-13 00:30

Re: SailfishOS on Nexus 5
 
Quote:

Originally Posted by liar (Post 1491316)
yes you can simply install this on top of your current installation. plan to make a flashable image the android way (not sure if i should create rpms instead)

EDIT: i hope you were talking about the sfdroid method, otherwise ignore me

Hey Liar, regarding running android inside of SFos. While sound works perfectly in android, I have lost all sounds in SF. rebooting does not restore the SF audio. It appears that pulseaudio is unable to start. When in this state, if I launch android, audio is available for it, but not for SF. I tried to restore audio by uninstalling everything, but it seems to have touch something on the android side that made SF unable to start the service. Is this just me or is it a know issue?

Thanks and brilliant work...I am so impressed.

liar 2015-12-13 00:41

Re: SailfishOS on Nexus 5
 
Quote:

Originally Posted by linuxunux (Post 1491350)
Hey Liar, regarding running android inside of SFos. While sound works perfectly in android, I have lost all sounds in SF. rebooting does not restore the SF audio. It appears that pulseaudio is unable to start. When in this state, if I launch android, audio is available for it, but not for SF. I tried to restore audio by uninstalling everything, but it seems to have touch something on the android side that made SF unable to start the service. Is this just me or is it a know issue?

Thanks and brilliant work...I am so impressed.

can you start pulseaudio manually? i had similar issues on my jolla (But totally unrelated) check owner and group of /home/nemo

linuxunux 2015-12-13 02:13

Re: SailfishOS on Nexus 5
 
Quote:

Originally Posted by liar (Post 1491351)
can you start pulseaudio manually? i had similar issues on my jolla (But totally unrelated) check owner and group of /home/nemo

Pulseaudio will not start manually (or other). It give a permission error on user directory. Changing the permission did not help. It seem to revert to default permission (700) after starting pulseaudio. I tried running it as a deamon, but it would also fail to start (forget the error).

UPDATE: Fixed, home directory was set to incorrect user/group.

jem555 2015-12-13 05:00

Re: SailfishOS 2.0 on Nexus 5
 
Hi. In SFOS 2.0.0.10 I get android runing. But touchscreen isn't working. I've tried several time but nothing.

Any workaround for it??
Thanks!

linuxunux 2015-12-13 06:54

Re: SailfishOS 2.0 on Nexus 5
 
Did you run fix_input as root before running sfdroid?

gexc 2015-12-13 07:41

Re: SailfishOS on Nexus 5
 
Quote:

Originally Posted by linuxunux (Post 1491353)
Pulseaudio will not start manually (or other). It give a permission error on user directory. Changing the permission did not help. It seem to revert to default permission (700) after starting pulseaudio. I tried running it as a deamon, but it would also fail to start (forget the error).

change the ownership of /home/nemo back to nemo:nemo solved that

liar 2015-12-13 11:32

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by jem555 (Post 1491354)
Hi. In SFOS 2.0.0.10 I get android runing. But touchscreen isn't working. I've tried several time but nothing.

Any workaround for it??
Thanks!

try restarting sfdroid

jem555 2015-12-13 14:20

Re: SailfishOS 2.0 on Nexus 5
 
Thanks. I've changed ownership to nemo.nemo and now it shows a black screen. Before changing this it showed Cyanogenmod startup (language selection) but couldn't move forward as the touchscreen wasn't working. I'll do some tests and I'll tell you back.

Edit: Could this be related to Cyanogen version.? I installed SFOS with CM12.1.

liar 2015-12-13 20:56

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by jem555 (Post 1491367)
Thanks. I've changed ownership to nemo.nemo and now it shows a black screen. Before changing this it showed Cyanogenmod startup (language selection) but couldn't move forward as the touchscreen wasn't working. I'll do some tests and I'll tell you back.

Edit: Could this be related to Cyanogen version.? I installed SFOS with CM12.1.

This could very well be the case, this is built against cm11. Which version of CM did you use when it worked?

EDIT:
Regarding sfdroid and input, can someone try running this command:
# while true; do if [ -f /tmp/sfdroid/have_focus ]; then echo "focus"; else echo "no focus"; fi; sleep 1; done

and minimizing/maximizing sfdroid while this is running? It should print "focus" if the window is maximized and "no focus" otherwise, if it does not switch between "focus" and "no focus" we know where the issue lies. But i would be suprised if this is the problem, because on my Jolla the file gets created/deleted correctly. But BluesLee said input works when restarting sfdroid which would indicate that there really is something wrong with file creation when focus is gained.

jem555 2015-12-14 04:15

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by liar (Post 1491398)
This could very well be the case, this is built against cm11. Which version of CM did you use when it worked?

EDIT:
Regarding sfdroid and input, can someone try running this command:
# while true; do if [ -f /tmp/sfdroid/have_focus ]; then echo "focus"; else echo "no focus"; fi; sleep 1; done

and minimizing/maximizing sfdroid while this is running? It should print "focus" if the window is maximized and "no focus" otherwise, if it does not switch between "focus" and "no focus" we know where the issue lies. But i would be suprised if this is the problem, because on my Jolla the file gets created/deleted correctly. But BluesLee said input works when restarting sfdroid which would indicate that there really is something wrong with file creation when focus is gained.

Well, I ran the command and indeed works as it should be. Focus only when it's selected and no focus in any other instance. I've tried all combinations. Anyway touchscreen never worked for me. Even restarting sfdroid.
The only thing I can tell that now zygote process is eating my battery...it's keeps at 50% of cpu all the time. :eek: I'll dig a little more.
Next thing I'm going to try is a new installation of SFOS with CM11. I'll let you know what happens there.

EDIT: I've tried using CM11 and still the same...no touch. :(

EDIT:liar, I was wrong when I told you in my message it was 2.0 cause the new tests were in 1.1.9.28 as I said before I would. So, do you think the problem could be the distro then?
But I didn't try the other libinput in 2.0. Could it make the difference? Let's see...I'll let you know.

liar 2015-12-16 14:08

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by jem555 (Post 1491424)
Well, I ran the command and indeed works as it should be. Focus only when it's selected and no focus in any other instance. I've tried all combinations. Anyway touchscreen never worked for me. Even restarting sfdroid.
The only thing I can tell that now zygote process is eating my battery...it's keeps at 50% of cpu all the time. :eek: I'll dig a little more.
Next thing I'm going to try is a new installation of SFOS with CM11. I'll let you know what happens there.

EDIT: I've tried using CM11 and still the same...no touch. :(

EDIT:liar, I was wrong when I told you in my message it was 2.0 cause the new tests were in 1.1.9.28 as I said before I would. So, do you think the problem could be the distro then?
But I didn't try the other libinput in 2.0. Could it make the difference? Let's see...I'll let you know.

can you check if input also works with the newest upload?

i have an idea to make skipping events more reliable (not implemented yet) in corner cases which have not occured as of yet but ideally we would probably use something like uinput.

BluesLee 2015-12-16 21:40

Re: SailfishOS 2.0 on Nexus 5
 
Mentioned version v0.7 is a progress, you can switch between sfos and cm without losing touch in cm. Good work liar and nh1402.

jem555 2015-12-17 18:04

Re: SailfishOS 2.0 on Nexus 5
 
Great!!!. As BluesLee said...it doesn't lock up on changing focus.

What I can tell you is that wifi has problems... it's constantly reporting errors and also has problems with low wifi signal. It does not happen on sailfish where signal is good.

Good job guys!

Drekkie 2015-12-17 19:29

Re: SailfishOS 2.0 on Nexus 5
 
So i'm experiencing the same issue encountered earlier in this thread where after successfully flashing Sailfish 1.1.9.28 to my Nexus 5 via multi MultiRom it hangs at the google logo indefinitely. I wasn't sure what steps were taken to resolve it previously aside from deleting sailfish and flashing again (which ive tried) and multiple reboots. Has anyone encountered this recently or are there new thoughts? It seemed the Mer wiki talks about order or loading property files?

I have Cyanogen 12.1-20150901-snapshot successfully working as the main rom. I installed Ubuntu touch from MultiRom as a secondary and that boots fine as well. Seems just Sailfish is having the problem.

Edit: just noticed that this port was built off of 11 version of hammerhead. will try using that specific version instead of 12.1.

Edit2: That was it, I was using the 12.1 CM base image for flashing sailfish instead of the cm-11-20141008-SNAPSHOT-M11-hammerhead.zip one. Using the CM 11 image I'm finally in and able to try Sailfish for the first time.

jem555 2015-12-19 04:44

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by Drekkie (Post 1491919)
So i'm experiencing the same issue encountered earlier in this thread where after successfully flashing Sailfish 1.1.9.28 to my Nexus 5 via multi MultiRom it hangs at the google logo indefinitely. I wasn't sure what steps were taken to resolve it previously aside from deleting sailfish and flashing again (which ive tried) and multiple reboots. Has anyone encountered this recently or are there new thoughts? It seemed the Mer wiki talks about order or loading property files?

I have Cyanogen 12.1-20150901-snapshot successfully working as the main rom. I installed Ubuntu touch from MultiRom as a secondary and that boots fine as well. Seems just Sailfish is having the problem.

Edit: just noticed that this port was built off of 11 version of hammerhead. will try using that specific version instead of 12.1.

Edit2: That was it, I was using the 12.1 CM base image for flashing sailfish instead of the cm-11-20141008-SNAPSHOT-M11-hammerhead.zip one. Using the CM 11 image I'm finally in and able to try Sailfish for the first time.

Hi. You can use CM12.1. In any case you have to flash with a patched kernel for this to boot. Try flashing android stock kernel patched. You can get it from xda-dev forum.
Anyway, if you want to try this, only with CM11 worked for me.

oenone 2015-12-26 13:50

Re: SailfishOS 2.0 on Nexus 5
 
Does anyone know if it it possible to extract the maps application and the Exchange support from a Jolla device that one owns and to install that into a Nexus 5 Sailfish device that one owns?

These are the two things that are really missing.

gexc 2015-12-26 17:28

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by oenone (Post 1492689)
Does anyone know if it it possible to extract the maps application and the Exchange support from a Jolla device that one owns and to install that into a Nexus 5 Sailfish device that one owns?

These are the two things that are really missing.

It can be done by using the download only switch of pkcon.

m4r0v3r 2015-12-26 21:52

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by oenone (Post 1492689)
Does anyone know if it it possible to extract the maps application and the Exchange support from a Jolla device that one owns and to install that into a Nexus 5 Sailfish device that one owns?

These are the two things that are really missing.

yes its very possible. Well atleast the maps

zypper install --download-only

/var/cache/zypp/packages

Never tried the exchange stuff

jem555 2015-12-27 04:40

Re: SailfishOS 2.0 on Nexus 5
 
What maps application are you talking about?

jem555 2015-12-27 04:55

Re: SailfishOS on Nexus 5
 
Quote:

Originally Posted by m4r0v3r (Post 1491322)
hmm tried it for a headset for a motorcycle helmet and its very choppy, somethings probably gone wrong

Hi m4r0v3r,

Have you done any other test regarding bluetooth headsets??

Has anyone tried this out and got the same noisy results??

Thanks!!!

Feathers McGraw 2015-12-30 20:59

Re: SailfishOS 2.0 on Nexus 5
 
Would a 16GB N5 be OK for this, or would you run out of space really quickly with both Cyanogen + SFOS on the same phone?

jem555 2015-12-30 23:01

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by Feathers McGraw (Post 1492993)
Would a 16GB N5 be OK for this, or would you run out of space really quickly with both Cyanogen + SFOS on the same phone?

Hi! yes, it's ok. I've got a Nexus5 and have installed SFOS, CM12.1, FFOS, UbuntuMobile and Android 6 stock rom. Everything runs fine. This was just for a test purpose.

I think SFOS is the best. Some things are still missing of course (i.e. traffic maps, sip client), depends on your needs, but I'm sure it'll get better soon.
Feel free to ask what you need.
:)

Feathers McGraw 2015-12-30 23:17

Re: SailfishOS 2.0 on Nexus 5
 
Thanks man, I've had a Jolla phone for a while and love the software but I keep having problems with the hardware. I've never made use of the Android support (native all the way!) so I won't be missing that either.

N5 seems to be well supported and they are much cheaper now than they used to be (£110 on eBay from china), I'm hoping it will be the best of both!

Mikkosssss 2015-12-30 23:35

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by Feathers McGraw (Post 1493010)
...and they are much cheaper now than they used to be (£110 on eBay from china)

Are those legit? I checked some used ones in tori.fi and they try to sell them much higher.

Then, is Nexus 5 only phone that has good support for Sailfish OS?

Feathers McGraw 2015-12-30 23:55

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by Mikkosssss (Post 1493011)
Are those legit?

We'll soon find out! They might be unofficial from the same factory, if you know what i mean? Google probably cares less now that their new flagships are out.

Quote:

Then, is Nexus 5 only phone that has good support for Sailfish OS?
No, but it's one of the best:
https://wiki.merproject.org/wiki/Adaptations/libhybris

m4r0v3r 2015-12-31 00:30

Re: SailfishOS on Nexus 5
 
Quote:

Originally Posted by jem555 (Post 1492727)
Hi m4r0v3r,

Have you done any other test regarding bluetooth headsets??

Has anyone tried this out and got the same noisy results??

Thanks!!!

yeah no luck at all, its started to affect my normal music playback as well

Ken-Young 2015-12-31 06:25

Re: SailfishOS 2.0 on Nexus 5
 
Is it possible to run X11 applications on SailfishOS running on a Nexus 5?

nh1402 2015-12-31 13:29

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by Ken-Young (Post 1493025)
Is it possible to run X11 applications on SailfishOS running on a Nexus 5?

As far as I know, not properly. Sailfish uses Wayland and not X11 sure there's XWayland but as far as I remember input for X11 doesn't work with it.

jem555 2016-01-01 02:15

Re: SailfishOS 2.0 on Nexus 5
 
The thing is that I need a better bluetooth support and maps with traffic support would be awesome. Really don't need Android support per se but for now it's the best option till we get native apps.

Have a happy new year everyone!!! and trust Jolla...

juiceme 2016-01-01 17:46

Re: SailfishOS 2.0 on Nexus 5
 
How's the BTLE support for Nexus5/SFOS?
I got a BT HRM belt and a Magellan watch thingy for present and they require LE support for connectivity.

nh1402 2016-01-01 18:36

Re: SailfishOS 2.0 on Nexus 5
 
Tried turning on bluetooth in Android, didn't work.

What kind of Android apps would people use with the compatibility layer?, would you use the cellular network (texting and calling), WiFi and/or mobile data (yes im aware I said this seperate of cellular network).

Trying to figure out what is the best way of getting networking going. If it's just internet access via mobile data and WiFi we may have a solution which I'll be testing soon, if it's also cellular network stuff then will have to figure out a way to get that working too.

jetronic 2016-01-01 22:19

Re: SailfishOS 2.0 on Nexus 5
 
Hello everybody,
can anyone recommend a functioning flashlight app?

I use a Nexus 5 with SFOS 2.0.0.10

greetings

oenone 2016-01-02 05:37

Re: SailfishOS 2.0 on Nexus 5
 
I seem to be missing word prediction (word completion) in all languages on my Nexus 5. Sailfish OS 2.0.0.10 is installed. No keyboard layouts have been installed, default settings only. I tried deleting the saved dictionaries, but to no avail.

I see the top row where the word suggestions should be but there are no words ever suggested.

Is this an issue for anyone else? Is there a way to, perhaps, reinstall the dictionaries or whatever part of the software is responsible for word prediction?

jem555 2016-01-02 12:20

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by oenone (Post 1493291)
I seem to be missing word prediction (word completion) in all languages on my Nexus 5. Sailfish OS 2.0.0.10 is installed. No keyboard layouts have been installed, default settings only. I tried deleting the saved dictionaries, but to no avail.

I see the top row where the word suggestions should be but there are no words ever suggested.

Is this an issue for anyone else? Is there a way to, perhaps, reinstall the dictionaries or whatever part of the software is responsible for word prediction?

Did you install store-client and jolla-xt9 packages ?? these are for keyboard prediction.

romu 2016-01-02 13:48

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by jetronic (Post 1493234)
Hello everybody,
can anyone recommend a functioning flashlight app?

I use a Nexus 5 with SFOS 2.0.0.10

greetings

Unfortuntely, there is no working flashlight app for the moment.

jetronic 2016-01-02 15:12

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by romu (Post 1493309)
Unfortuntely, there is no working flashlight app for the moment.

Oh shame, a little workaround via terminal:

flashlight led on:
Code:

echo 1 > /sys/class/leds/led\:flash_torch/brightness
flashlight led off:
Code:

echo 0 > /sys/class/leds/led\:flash_torch/brightness

oenone 2016-01-02 18:07

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by jem555 (Post 1493304)
Did you install store-client and jolla-xt9 packages ?? these are for keyboard prediction.

Outstanding, thank you. Installing those two packages did the trick.

romu 2016-01-03 11:27

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by jetronic (Post 1493318)
Oh shame, a little workaround via terminal:

flashlight led on:
Code:

echo 1 > /sys/class/leds/led\:flash_torch/brightness
flashlight led off:
Code:

echo 0 > /sys/class/leds/led\:flash_torch/brightness

Oh great, thank you. Now, we just need to package this into something more usable than a terminal. Personaly, I can't, but I would greatly appreciate :D


All times are GMT. The time now is 16:06.

vBulletin® Version 3.8.8