![]() |
Re: SailfishOS 2.0 on Nexus 5
Quote:
Code:
devel-su sed -i -e "s|^adaptation=.*$|adaptation=http://repo.merproject.org/obs/nemo:/testing:/hw:/lge:/hammerhead/sailfish_latest_armv7hl/|" /usr/share/ssu/repos.ini Code:
ssu release 2.0.1.7 |
Re: SailfishOS 2.0 on Nexus 5
I did it and I'm still on the same version. http://uploads.tapatalk-cdn.com/2016...bd5bd292e3.jpg
|
Re: SailfishOS 2.0 on Nexus 5
Quote:
|
Re: SailfishOS 2.0 on Nexus 5
I created an alternative workaround for the sensor services running amok in the background and eating cpu thus battery life.
I was not so happy that I need to compile a python library for the proposed fix to test, so I took a look at the python script and wrote my own version of it in a more simpler way in bash script. You can download it from here: https://www.dropbox.com/s/86wvsayyg5...ensors.sh?dl=0 You don't need python just execute the script and let it running. You can also use the service for systemd and edit it to use this bash script instead of the python one. I also did that here: https://www.dropbox.com/s/xs7rkzcpdh...l.service?dl=0 (see the .service file check_sensors.sh needs to be put into /home/nemo if you don't want to change the location) In fact the bash script is so small I can attach the 29 lines directly here. What it does should be self explanatory: Code:
#!/bin/bash |
Re: SailfishOS 2.0 on Nexus 5
Quote:
|
Re: SailfishOS 2.0 on Nexus 5
Thanks fixed that typo :)
|
Re: SailfishOS 2.0 on Nexus 5
i'm also looking to this sensors.qcom error except i rather would like to find the reason for its behavior.
i don't see errors when enabling debug for sensorfwd (it are exactly the same things that appear in journalctl -af on jolla phone and on nexus5) temporary disabled sensors.qcom in init.hammerhead.rc for now i've seen that in cm 13 and 12.1 the build.prop fiole has changed. it's nor longer ro.qc.sensor.xxx but it's now ro.qti.sensors.xxx i would like to find a way to disable each specific sensors to find which one exactly is the reason for the high cpu usage someone else a suggestion to achieve this? regards |
Re: SailfishOS 2.0 on Nexus 5
1 Attachment(s)
I think i found a solution.
I've replaced sensors.msm8974.so in /vendor/lib/hw with the one from the 6.0.1 android rom and now sensors.qcom en sensorfwd do stay below 1% Can somenone else try this too? (unzip attached file before copying into the proper directory) |
Re: SailfishOS 2.0 on Nexus 5
Hmm... replacing it on my system does not work.
After a restart sensors won't work at all. Did you modified anything else to make it work ? journalctl shows me this when trying to start sensorfwd service: Quote:
|
Re: SailfishOS 2.0 on Nexus 5
rebooted afterwards...
have put debug mode back to warning changed the name of the original file to sensors.msm8974.so.bak to be sure that the copy infiletug root worked well, maybe filepermissions? |
All times are GMT. The time now is 15:00. |
vBulletin® Version 3.8.8