Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    SailfishOS 2.0 on Nexus 5

    Reply
    Page 60 of 84 | Prev | 50   58     59   60   61     62   70 | Next | Last
    m4r0v3r | # 591 | 2016-03-18, 08:38 | Report

    for people who have multirom and want music both on android and sfos, have the music on android and use the new tracker location patcj to add the android folder and reboot

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to m4r0v3r For This Useful Post:
    Feathers McGraw, szymeczek34

     
    RealJohnGalt | # 592 | 2016-03-18, 10:08 | Report

    Originally Posted by szymeczek34 View Post
    Hi, I was wondering if Sailfish on N5 has anything like Facebook Messenger with instant message notifications?
    Also, is it possible to use it on a daily basis? I remember owning N4 a year ago and SFOS on it was not good enough. For simple stuff like browsing the net it was fine but making calls was a terrible experience.

    Blackberry is now dropping Facebook support through their app which means no more Hub integration and since none of my friends text anymore I kinda don't see myself checking the website every now and then. For that I can simply go back to using my N9.
    Thanks.
    Aside from the sensors issue (which is more of an minor annoyance with the llelectronics script), the only other issue would be the bluetooth issue. It will fail within a few minutes of audio, and require a reboot to enable (so unusable).

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to RealJohnGalt For This Useful Post:
    Feathers McGraw

     
    Feathers McGraw | # 593 | 2016-03-18, 16:55 | Report

    Originally Posted by RealJohnGalt View Post
    Aside from the sensors issue (which is more of an minor annoyance with the llelectronics script), the only other issue would be the bluetooth issue. It will fail within a few minutes of audio, and require a reboot to enable (so unusable).
    True, this prevents using smartwatches too.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Feathers McGraw For This Useful Post:
    salyavin

     
    szymeczek34 | # 594 | 2016-03-18, 20:24 | Report

    That's a bummer, anyway, thanks guys a lot!
    I'm also considerating OnePlus X, it's not much more expensive than a used Nexus 5. Has anyone had any experience with that cell? It looks quite good on paper, Sailfish is said to be working well with the exception of camera and most of all it's brand new.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to szymeczek34 For This Useful Post:
    Feathers McGraw

     
    DJJonosound | # 595 | 2016-03-19, 08:42 | Report

    Originally Posted by szymeczek34 View Post
    That's a bummer, anyway, thanks guys a lot!
    I'm also considerating OnePlus X, it's not much more expensive than a used Nexus 5. Has anyone had any experience with that cell? It looks quite good on paper, Sailfish is said to be working well with the exception of camera and most of all it's brand new.
    I own a oneplus x in white at the moment. The only issues are that for me on OxygenOS video playback stutters and is just generally bad, and also its still on 5.1.1 which sucks, as I would love to get 6. (Haven't used a custom rom because oxygen has a great amoled theme) Also patchy LTE from what I have heard (lack of bands), but I'm not fussed as my phone plan doesn't support LTE and I really don't need it.

    Apart from that, the build quality is sublime, the screen has really good colour, and in general its pretty well rounded. The omission of features like NFC is a bit annoying but I can live without (I do miss mobile payments though) The build and design are the main reasons I bought it, its top stuff.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    romu | # 596 | 2016-03-21, 16:48 | Report

    Hi,
    I've recently seen than when the sensors driver crashes, it may eats too much CPU (we all know that) but the process may also be shutdown for good. So, I've modified the watchdog script to restart the service if no sensor process is found. I'm far from being a bash expert, feel free to correct me if I did something wrong.

    Code:
    #!/bin/bash
     
    # This checks every 1/2 minute and kills if
    # sensors.qcom 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 sensors.qcom | 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
        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 sensors.qcom: ${cpu_usage/.*}"
        if [[ ${cpu_usage/.*} -ge 8 ]]; then
                if [[ $kill_count -ge 1 ]]; then
                        echo "CPU Usage of sensors.qcom too high restarting..."
                        systemctl restart sensorfwd
                        kill_count=0
                else
                        echo "CPU Usage of sensors.qcom too high! Setting kill_count + 1"
                        kill_count=$((kill_count+1))
                fi
        else
                echo "Nothing to do"
        fi
      fi  
      sleep 30
    done

    Edit | Forward | Quote | Quick Reply | Thanks

     
    romu | # 597 | 2016-03-23, 12:02 | Report

    This script is buggy. Just experienced a sensor crash. As a result:
    • sensors.qcom processes was still active and ate about 0% of CPU
    • sensorfwd process was not running

    I tweaked the script to monitor sensorfwd instead of sensors.qcom. And I'll see how things are going.

    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
        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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to romu For This Useful Post:
    ammyt

     
    romu | # 598 | 2016-03-25, 09:22 | Report

    I'm feeling a bit alone on this thread

    The watchdog script has a problem, but this may come from the way it is setup on my N5.

    The .sh file is in my /home/nemo folder. The watchdog service file has been added to systemd and stands in /lib/systemd/system.

    The issue is the watchdog doesn't work if you don't unlock the phone. This morning, I saw the sensors framework was crashed. And once I unlocked the phone, the watchdog did its work as expected.

    Is there any way to get this to work even if the phone is locked?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to romu For This Useful Post:
    Feathers McGraw, padmaraj.ravi

     
    m4r0v3r | # 599 | 2016-03-25, 13:13 | Report

    could be due to wakelocks?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    romu | # 600 | 2016-03-25, 15:04 | Report

    What's wakelocks?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 60 of 84 | Prev | 50   58     59   60   61     62   70 | Next | Last
vBulletin® Version 3.8.8
Normal Logout