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)

jellyroll 2016-03-26 15:04

Re: SailfishOS 2.0 on Nexus 5
 
Hi all

I want to use the volume up/down buttons on the N5 to decline and accept incoming calls. Does anyone known hiw to do this or the files that need to modify to achieve this?

Jedibeeftrix 2016-03-27 08:17

Re: SailfishOS 2.0 on Nexus 5
 
So..... Cyanogen 13.0.

Any luck? I have got that far on my N5, curious about getting to the desired endpoint of SFOS.

frullewulle 2016-04-04 08:09

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by romu (Post 1502090)
I'm feeling a bit alone on this thread :D

you're not alone :-)

for the moment, i only use sailfish on my N5 in the weekend due to missing functionality in the week during the job; bluetooth car kit not working with volvo v50, and waze navigation app not available

power consumption of sailfish compared to android is also not ideal, propably as a result of the sensors problem: from 68% to 49% overnight while i was asleep (in ± 6,5 hours)

romu 2016-04-04 08:40

Re: SailfishOS 2.0 on Nexus 5
 
Small change in the watchdog script. I've seen that when the sensors framework crashes and the sensorfwd process is killed, I can't restart the service if I don't kill the sensors.qcom process.

So, I implemented this into the script.

Code:

#!/bin/bash
 
# This checks every 1/2 minute and kills if
# sensorfwd process is eating more than 8% CPU for 1 minute
 
TERM=linux
export TERM
 
kill_count=0
 
while true; do
  sensors_pid=$(ps aux | grep sensorfwd | grep -v grep | awk '{print $2}')
 
  # If the process has crashed it may not be running,
  # so we restart it
  if [ -z $sensors_pid ]; then
    echo "sensorfwd not found"
    # Before restarting the service, we must first kill the sensors.qcom process
    sensors_qcom=$(ps aux | grep sensors.qcom | grep -v grep | awk '{print $2}')
    kill $sensors_qcom
    systemctl restart sensorfwd
  else
    cpu_usage=$(top -b -p $sensors_pid -n1 | grep $sensors_pid | awk '{print $9}')
    echo $cpu_usage
    echo "CPU Usage of sensorfwd: ${cpu_usage/.*}"
    if [[ ${cpu_usage/.*} -ge 8 ]]; then
            if [[ $kill_count -ge 1 ]]; then
                    echo "CPU Usage of sensorfwd too high restarting..."
                    systemctl restart sensorfwd
                    kill_count=0
            else
                    echo "CPU Usage of sensorfwd too high! Setting kill_count + 1"
                    kill_count=$((kill_count+1))
            fi
    else
            echo "Nothing to do"
    fi
  fi 
  sleep 30
done

Now, remaining issue: the sensors framework can crash, but the process may remain alive while not eating the CPU, so we need another way to detec the crash.

frullewulle 2016-04-04 09:36

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by romu (Post 1502771)

No, remaining issue: the sensors framework can crash, but the process may remain while not eating the CPU, so we need another way to detec the crash.

do you still keep all the sensors activated with your script or only those who are most needed as proximity ?

romu 2016-04-04 09:46

Re: SailfishOS 2.0 on Nexus 5
 
The script is pretty basic, it deals only with the sensors framework, not matter you want or not use only specific sensors.

And it's: "Now, remaining issue...", and not "No", wrong typing, sorry.

beobachter 2016-04-06 15:20

Re: SailfishOS 2.0 on Nexus 5
 
Considered FairPhone2 ? SfOS is amazing on it even in beta ... SfOS 2.0 preinstalled to be available shortly.

Feathers McGraw 2016-04-06 17:48

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by beobachter (Post 1502907)
Considered FairPhone2 ? SfOS is amazing on it even in beta ... SfOS 2.0 preinstalled to be available shortly.

Do you have A FP2 already? I wasn't one of the original backers, placed an order through their website quite recently (mid Feb i think).

The website said "ships in March!" but March is over and i haven't heard anything! Point being, if you order one don't expect to get it quickly. I think it'll be worth the wait though.

Jef91 2016-04-06 18:31

Re: SailfishOS 2.0 on Nexus 5
 
Anyone know how to increase the microphone volume? Everyone I have called says it is near impossible to hear me.

abyzthomas 2016-04-06 20:20

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by Jef91 (Post 1502932)
Anyone know how to increase the microphone volume? Everyone I have called says it is near impossible to hear me.

I was able to do it with the Patch: Speaker volume up

Jef91 2016-04-06 20:35

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by abyzthomas (Post 1502944)
I was able to do it with the Patch: Speaker volume up

This and the other applications like it only appear to adjust the speaker level on my phone. People I am calling are having a hard time hearing me. My voice coming through to them is very quiet.

abyzthomas 2016-04-07 15:18

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by oenone (Post 1501460)
What is the verdict on the sensors crashing bug and how best to fix it?
.

Is it just my phone or can you guys try this. I don't have any scripts monitoring the sensor processes.

I got mad at the crash one time during an important call and almost threw away my Nexus 5. I shook it so hard with anger. To my surprise, the sensor and the touch screen started working again. I have been doing this, every time my touch screen stops responding, since this happened a few days ago. It always recover if you shake it very hard and wait for few seconds. Sometimes I have to shake it few times. I shake top end of the phone to the sides and up down --hard. Don't know why this is working.

I do have an issues with SFdroid that makes me reboot once or twice a day. It feels like SF and Droid is fighting for access to disk or running out of RAM or something and the LED starts blinking red. I don't know if anyone has reported it or know any work around.

lkravovicz 2016-04-08 06:31

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by Feathers McGraw (Post 1502925)
Do you have A FP2 already? I wasn't one of the original backers, placed an order through their website quite recently (mid Feb i think).

The website said "ships in March!" but March is over and i haven't heard anything! Point being, if you order one don't expect to get it quickly. I think it'll be worth the wait though.

I ordered the FP2 in mid-Jan, received it in mid-Feb.

Installed SFOS2 on it a few nights ago, and it's fantastic.

frullewulle 2016-04-08 18:27

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by Jef91 (Post 1502947)
This and the other applications like it only appear to adjust the speaker level on my phone. People I am calling are having a hard time hearing me. My voice coming through to them is very quiet.

well i have this too on android, so its not sailfishos related

jellyroll 2016-04-08 18:57

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by abyzthomas (Post 1502992)

I do have an issues with SFdroid that makes me reboot once or twice a day. It feels like SF and Droid is fighting for access to disk or running out of RAM or something and the LED starts blinking red. I don't know if anyone has reported it or know any work around.

I have the same. When the LED starts blinking red just press on the power button a couple of time to keep the phone from rebooting. I'm using sfdroid on the N5 most of the time.

Jef91 2016-04-08 19:59

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by frullewulle (Post 1503102)
well i have this too on android, so its not sailfishos related

Maybe it is hardware related, but that doesn't answer my question:

is there no way to increase the sensitivity of the microphone?

Really happy with Sailfish OS on the Nexus 5, but I am going to have to get a different phone if I cannot make phone calls on it.

frullewulle 2016-04-16 06:48

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by Jef91 (Post 1503110)
Maybe it is hardware related, but that doesn't answer my question:

is there no way to increase the sensitivity of the microphone?

Really happy with Sailfish OS on the Nexus 5, but I am going to have to get a different phone if I cannot make phone calls on it.

I've have the same feeling about this; have read somewhere that covering the second mic hole on top of the phone helps, because it happens mostly in noisy surroundings, with bad signal quality

padmaraj.ravi 2016-04-17 04:29

Re: SailfishOS 2.0 on Nexus 5
 
What is the approx battery life on nexus 5 with sailfish. I understand the sensor framework issue. But still just curious.

jem555 2016-04-17 13:36

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by jellyroll (Post 1503104)
I have the same. When the LED starts blinking red just press on the power button a couple of time to keep the phone from rebooting. I'm using sfdroid on the N5 most of the time.

I have the same issue...red blinking led. I do exactly that. Press power one or twice or keep it pressed. Usually it doesn't reboot, but sometimes does.
Anybody knows why this is happening?

jem555 2016-04-17 13:52

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by padmaraj.ravi (Post 1503827)
What is the approx battery life on nexus 5 with sailfish. I understand the sensor framework issue. But still just curious.

Well, to be honest it lasts less comparing to Android. But If Android does quite well the battery life so SF wouldn't be so bad at all, right?. But It always depends on your everyday use. Of course this is with sfdroid enabled and I think it makes sense. But if you disable sfdroid it lasts longer than Android ...as I remember (have sfdroid now). Hope it helps but anyway you should give it a try, despite its drawbacks or missing apps (maps or bluetooth headset connectivity) I think it worth it!.

m4r0v3r 2016-04-17 18:08

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by romu (Post 1502102)
What's wakelocks?

i have to assume the phone is in deep sleep, and only a wakelock would wake it from deep sleep. am unsure how SFOS deals with wakelocks, because there an android thing.

jellyroll 2016-04-17 20:24

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by padmaraj.ravi (Post 1503827)
What is the approx battery life on nexus 5 with sailfish. I understand the sensor framework issue. But still just curious.

Sfdroid is not the battery issue.
Disable the sensors that you don't need. You can't disable all. I use SFOS on the N5 with sfdroid installed and all sensors enabled for 4 hours or less and with most sensors turned off for 10 hours min. You shouldn't disable all sensors. The latest sfdrois doesn't use that much battery power.

jem555 2016-04-17 23:41

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by jellyroll (Post 1503892)
Sfdroid is not the battery issue.
Disable the sensors that you don't need. You can't disable all. I use SFOS on the N5 with sfdroid installed and all sensors enabled for 4 hours or less and with most sensors turned off for 10 hours min. You shouldn't disable all sensors. The latest sfdrois doesn't use that much battery power.

Great! how do I disable all sensors? you mean all sensors in sfdroid? or sensors in sfos?
Thanks.

kayaman_00 2016-04-19 16:36

Re: SailfishOS 2.0 on Nexus 5
 
Hi guise,

Old n900 and n9 user, n9 broke, so I just got a nexus 5 because I need a linux phone for daily use.

Will start installing CM11 + SFOS today, but I am not being able to find What is the workaround for whatsapp.

I dont want to keep on booting to CM, is everyone using sfdroid as a workaround for having whatsapp available at all times inside sailfish??

or what is the best solution to use whatsapp thoughout the day in SFOS?

thanks

kayaman_00 2016-04-19 19:34

Re: SailfishOS 2.0 on Nexus 5
 
http://talk.maemo.com/showthread.php?t=94689

jellyroll 2016-04-19 20:02

Re: SailfishOS 2.0 on Nexus 5
 
All alternative WA clients are not usable at this moment.

m4r0v3r 2016-04-19 21:01

Re: SailfishOS 2.0 on Nexus 5
 
i use whatsapp alright atm

jem555 2016-04-19 22:49

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by kayaman_00 (Post 1504024)
Hi guise,

Old n900 and n9 user, n9 broke, so I just got a nexus 5 because I need a linux phone for daily use.

Will start installing CM11 + SFOS today, but I am not being able to find What is the workaround for whatsapp.

I dont want to keep on booting to CM, is everyone using sfdroid as a workaround for having whatsapp available at all times inside sailfish??

or what is the best solution to use whatsapp thoughout the day in SFOS?

thanks

Using Whatsapp in sfdroid inside sailfish for everyday use here!
Works ok! ;)

kayaman_00 2016-04-20 00:39

Re: SailfishOS 2.0 on Nexus 5
 
thank you for the valuable and timed input.

I think I will try the sfdroid route first, while I get the hang of everyday use of sailfish, I just finished the install and I have multirom cm11+SFOS will try OTA to 2.0 tomorrow.

kayaman_00 2016-04-21 00:07

Re: SailfishOS 2.0 on Nexus 5
 
I'm all set and migrated to SFOS with sfdroid, all I have to say is wow, and thanks!

I will apply the monitoring script for the sensors and start installing packages and browsing the warehouse.
:D

jellyroll 2016-04-21 09:38

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by jem555 (Post 1503920)
Great! how do I disable all sensors? you mean all sensors in sfdroid? or sensors in sfos?
Thanks.

http://talk.maemo.org/showpost.php?p...&postcount=483

cvp 2016-04-21 09:50

Re: SailfishOS 2.0 on Nexus 5
 
Will worked on the sensor problem? Because without sensors, it is half a smartphone :(

romu 2016-04-21 11:18

Re: SailfishOS 2.0 on Nexus 5
 
The problem is nobody is able to reproduce the bug with the proximity and orientation sensors. Without way to reproduct the bug, don't expect for a fix.

jellyroll 2016-04-22 07:08

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by cvp (Post 1504106)
Will worked on the sensor problem? Because without sensors, it is half a smartphone :(

I don't rely on the sensors. Do not disable the proximity and alsdpter sensors.

kayaman_00 2016-04-25 12:46

Re: SailfishOS 2.0 on Nexus 5
 
I went back to base CM for daily use :(
SFOS is not for daily usage in my opinion, the red light flashing and freeze issue happened to me once a day during the first 3 days of my trial in using SFOS as main OS making it unusable, even after disabling the mentioned sensors it crashed... Also SFdroid took like 4 seconds to respond whenever i switched to it to check whatsapp.


I'll wait for a more stable version if it ever happens...thanks all

RealJohnGalt 2016-04-28 00:08

Re: SailfishOS 2.0 on Nexus 5
 
I just built and flashed a hybris-12.1 (cm-12.1) based hammerhead 2.0.1.7 build. This is the first build, so broken stuff is to be expected (and apparent). I grabbed cm-12.1 device and kernel repos, then rebased the mer-hybris specific commits on top.

What works:
- Radio appears to work, can't thoroughly test since this isn't my main device.
- Sound, touchscreen, screen, WiFi all are working.
- Bluetooth
- Camera now works in second build :D...Camcorder is iffy (nothing new there).

What doesn't:
- No sensors (so nothing in messwerk).
- Store won't install apps (to be expected).


Edit: Updated above.
Edit2: apparently bluetooth works.
Edit3: I've played music over bluetooth for a few minutes now, something that would have been impossible on the cm-11.0 based build. Should be interesting to see if a pebble works now :).

Edit4: The new build I'm doing has more default apps, and I'm working toward fixing camera based on lines 126+ of http://piratepad.net/hadk-faq

Edit5: Second build, fixed camera. Only thing I can verify as not working are sensors. Uploading/linking the build shortly.

m4r0v3r 2016-04-28 09:27

Re: SailfishOS 2.0 on Nexus 5
 
oooo

10 chars

BluesLee 2016-04-28 10:10

Re: SailfishOS 2.0 on Nexus 5
 
Why basing on 2.0.1.7? Personally i had to downgrade because of the known issues.. Otherwise perfect.

Quote:

Originally Posted by RealJohnGalt (Post 1504532)
I just built and flashed a hybris-12.1 (cm-12.1) based hammerhead 2.0.1.7 build. This is the first build, so broken stuff is to be expected (and apparent). I grabbed cm-12.1 device and kernel repos, then rebased the mer-hybris specific commits on top.

What works:
- Radio appears to work, can't thoroughly test since this isn't my main device.
- Sound, touchscreen, screen, WiFi all are working.
- Bluetooth
- Camera now works in second build :D...Camcorder is iffy (nothing new there).

What doesn't:
- No sensors (so nothing in messwerk).
- Store won't install apps (to be expected).


Edit: Updated above.
Edit2: apparently bluetooth works.
Edit3: I've played music over bluetooth for a few minutes now, something that would have been impossible on the cm-11.0 based build. Should be interesting to see if a pebble works now :).

Edit4: The new build I'm doing has more default apps, and I'm working toward fixing camera based on lines 126+ of http://piratepad.net/hadk-faq

Edit5: Second build, fixed camera. Only thing I can verify as not working are sensors. Uploading/linking the build shortly.


Feathers McGraw 2016-04-28 10:15

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by RealJohnGalt (Post 1504532)
Edit: Updated above.
Edit2: apparently bluetooth works.
Edit3: I've played music over bluetooth for a few minutes now, something that would have been impossible on the cm-11.0 based build. Should be interesting to see if a pebble works now :).

Edit4: The new build I'm doing has more default apps, and I'm working toward fixing camera based on lines 126+ of http://piratepad.net/hadk-faq

Edit5: Second build, fixed camera. Only thing I can verify as not working are sensors. Uploading/linking the build shortly.

Crikey, that went from "not much works yet" to "most stuff is now working, some of it better than the CM11 base" pretty fast!

Great work :)

nh1402 2016-04-28 10:39

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by RealJohnGalt (Post 1504532)
I just built and flashed a hybris-12.1 (cm-12.1) based hammerhead 2.0.1.7 build. This is the first build, so broken stuff is to be expected (and apparent). I grabbed cm-12.1 device and kernel repos, then rebased the mer-hybris specific commits on top.

What works:
- Radio appears to work, can't thoroughly test since this isn't my main device.
- Sound, touchscreen, screen, WiFi all are working.
- Bluetooth
- Camera now works in second build :D...Camcorder is iffy (nothing new there).

What doesn't:
- No sensors (so nothing in messwerk).
- Store won't install apps (to be expected).


Edit: Updated above.
Edit2: apparently bluetooth works.
Edit3: I've played music over bluetooth for a few minutes now, something that would have been impossible on the cm-11.0 based build. Should be interesting to see if a pebble works now :).

Edit4: The new build I'm doing has more default apps, and I'm working toward fixing camera based on lines 126+ of http://piratepad.net/hadk-faq

Edit5: Second build, fixed camera. Only thing I can verify as not working are sensors. Uploading/linking the build shortly.

Sounds like an sfdroid port is in order.


All times are GMT. The time now is 07:37.

vBulletin® Version 3.8.8