maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SailfishOS 2.0 Nexus5 based on CM13 alpha release (https://talk.maemo.org/showthread.php?t=99377)

FlyingAntero 2018-12-11 09:17

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by claustn (Post 1551648)
Well, this is what happens updating immediately without some testing, it is just not worth it.

I got the volume patch working after all. The situation is still same. I can't hear anything when I play media but I can hear typing sounds. Also, the camera is not working.

Nexus 5 is not my daily driver so no worries. I can flash 3.0.0.8 image
again and start from scratch. Others did not have any issues on the other thread.
https://talk.maemo.org/showthread.ph...23#post1551623

mautz 2018-12-12 06:27

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
I would reflash to 3.0.0.8 and wait until 3.0.1 arrives. Maybe they changed some things in 3.0.0.11 which need some changes to the Nexus 5 packages. I'll check that when 3.0.1.x EA is out.

matemana 2018-12-15 08:47

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
At last i got my nexus 5 from ebay and installed 3.0.0.8 on it right away, but it has some issue. It does not go to suspend. I ran enabled and started this service like in the first post but still devices will not suspend
devel-su systemctl enable bt-sleep-monitor.timer
devel-su systemctl start bt-sleep-monitor.timer

How does 3.0.0.8 work for you guys? Did you had this issue?

dubliner 2018-12-15 09:01

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by matemana (Post 1551751)
I ran enabled and started this service like in the first post but still devices will not suspend
devel-su systemctl enable bt-sleep-monitor.timer
devel-su systemctl start bt-sleep-monitor.timer

First off, congratulations on your new Nexus 5. It's a wonderful device when it runs SailfishOS. ;)

To answer your question, I never had that problem - that is if I understand you correctly. What exactly did you install on top of mautz' image?

matemana 2018-12-15 11:55

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by dubliner (Post 1551752)
First off, congratulations on your new Nexus 5. It's a wonderful device when it runs SailfishOS. ;)

To answer your question, I never had that problem - that is if I understand you correctly. What exactly did you install on top of mautz' image?

Thank you! I have installed only Storeman, htop, keyboard for my native language (which i made myself) that's it. Looks like warehouse does not work on newer versions of SFOS. I want to look into aliendalvik. It runs on CM12 base but not CM13 on this device. Other devices have aliendalvik working on base 13. I think it can be run on nexus 5 too.

mautz 2018-12-16 16:01

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
@matemana

Coukd you or someone else post the output of 'devel-su systemctl status bt-sleep-monitor.service' '?

pi.3.141etc@gmail.com 2018-12-20 04:26

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by mautz (Post 1551789)
@matemana

Coukd you or someone else post the output of 'devel-su systemctl status bt-sleep-monitor.service' '?


â bt-sleep-monitor.service - Start Minimecs bt-sleep-monitor script at startup
Loaded: loaded (/lib/systemd/system/bt-sleep-monitor.service; disabled; vendor preset: enabled)
Active: active (exited) (Result: exit-code) since Wed 2018-12-19 23:25:23 EST; 21s ago
Process: 12311 ExecStart=/usr/bin/bt-sleep-monitor start (code=exited, status=203/EXEC)
Main PID: 12311 (code=exited, status=203/EXEC)
CGroup: /system.slice/bt-sleep-monitor.service

Dec 19 23:25:23 Sailfish systemd[1]: Started Start Minimecs bt-sleep-monitor script at startup.
Dec 19 23:25:23 Sailfish systemd[1]: bt-sleep-monitor.service: Main process exited, code=exited, status=203/EXEC

mautz 2018-12-20 08:45

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Thanks, seems like it is not working correctly. On my Nexus5 the file /usr/bin/bt-sleep-monitor had some formatting errors. I don't know where they came from...but could someone check the content of /usr/bin/bt-sleep-monitor and compare it with https://raw.githubusercontent.com/ma...-sleep-monitor ?

dubliner 2018-12-20 22:46

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by mautz (Post 1551902)
but could someone check the content of /usr/bin/bt-sleep-monitor?

If this is the formatting issue you mentioned, I think I got it, too.

Code:

$ diff bt-sleep-monitor /usr/bin/bt-sleep-monitor
3c3,4
< #description    : Bluetooth 'LowPowerMode' monitor for SailfishOS ports that face a bluetooth wakelock bug.
---
> #description    : Bluetooth 'LowPowerMode' monitor for SailfishOS ports
> that face a bluetooth wakelock bug.
8c9,10
< #notes          : Can be used as standalone program or as systemd service
---
> #notes          : Can be used as standalone program or as systemd
> service
10c12,13
< #How it works... : A dbus-monitor process is listening for different dbus events in parallel:
---
> #How it works... : A dbus-monitor process is listening for different
> dbus events in parallel:
14,18c17,26
< #                  When an event is triggered the program will decide whether to enable/disable
< #                  or temporarily disable bluetooth suspend (low power mode).
< #                  If bluetooth is powered and in low power mode, a display event will disable suspend mode for a given time.
< #                  In case there is no bluetooth connection after that time, suspend mode is enabled again. See $BTACTIVE.   
< #Monitor...      : After having launched the script in a console, you can follow a log, as long the console stays open.
---
> #                  When an event is triggered the program will decide
> whether to enable/disable
> #                  or temporarily disable bluetooth suspend (low power
> mode).
> #                  If bluetooth is powered and in low power mode, a
> display event will disable suspend mode for a given time.
> #                  In case there is no bluetooth connection after that
> time, suspend mode is enabled again. See $BTACTIVE.   
> #Monitor...      : After having launched the script in a console, you
> can follow a log, as long the console stays open.
23c31,32
< BTPOWER=$(connmanctl technologies | sed -n -e '/bluetooth/,+5p' | grep Powered | awk '{print $3; exit}')
---
> BTPOWER=$(connmanctl technologies | sed -n -e '/bluetooth/,+5p' | grep
> Powered | awk '{print $3; exit}')
52c61,62
<    if [ "$BTPOWER" == "True" ] && [ "$BTCONNECT" == "" ] && [ "$SLEEPTIMER" == "0" ] ; then
---
>    if [ "$BTPOWER" == "True" ] && [ "$BTCONNECT" == "" ] && [
> "$SLEEPTIMER" == "0" ] ; then
84c94,95
<    WATCH1="path='/net/connman/technology/bluetooth',interface='net.connman.Technology',member='SetProperty'"
---
>   
> WATCH1="path='/net/connman/technology/bluetooth',interface='net.connman.Technology',member='SetProperty'"
86c97,98
<    WATCH3="interface='com.nokia.mce.signal',member='display_status_ind'"
---
>   
> WATCH3="interface='com.nokia.mce.signal',member='display_status_ind'"
104c116,117
<    pkill -P $(cat /var/run/bt-sleep-monitor.pid) && rm /var/run/bt-sleep-monitor.pid
---
>    pkill -P $(cat /var/run/bt-sleep-monitor.pid) && rm
> /var/run/bt-sleep-monitor.pid
113c126,127
<        echo Bluetooth Sleep Monitor is running, pid=`cat /var/run/bt-sleep-monitor.pid`
---
>        echo Bluetooth Sleep Monitor is running, pid=`cat
> /var/run/bt-sleep-monitor.pid`
123c137,138
< # check for a command switch and call different functionality if it is found
---
> # check for a command switch and call different functionality if it is
> found


mautz 2018-12-21 11:15

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Yes, that is exactly what i meant, don't know why this happened. Just copy the correct script from the github link and restart the service, that should fix it.

dubliner 2018-12-21 13:53

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Another stupid question (sorry for all of those).

Shouldn't this file be executable?

Code:

$ ls -al /usr/bin/bt*
-rw-r--r-- 1 root root 4722 Nov 12 08:43 /usr/bin/bt-sleep-monitor

This is the one that came with the upgrade.

mautz 2018-12-21 17:00

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Sure, it must be executable. I don't know what happened to this file in the packaging process.

mautz 2019-01-08 06:08

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
OTA to 3.0.1 is available with following repo:

http://repo.merproject.org/obs/home:...fishos_latest/

I will move it to the normal OTA repo, when it is released to public.

Haven't updated myself yet, so nothing is guaranteed to work, update on your own risk!

mautz 2019-01-08 12:45

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Just did the update, no problems so far.

Repos should look like this after 'ssu release 3.0.1.11' :
Code:

- adaptation-community-common ... http://repo.merproject.org/obs/nemo:/testing:/hw:/common/sailfishos_3.0.1.11/

 - adpatation-community-common-hammerhead ... http://repo.merproject.org/obs/home:/mautz:/sfos-latest/sailfishos_latest/

Still the bt sleep script is broken, copy/paste from this link and make /usr/bin/bt-sleep-monitor executable to get the script working.

vcka 2019-01-08 19:25

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Hi, wht about camera?

mautz 2019-01-08 19:30

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Works, except for video recording.

dubliner 2019-01-08 20:48

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
@mautz, you are amazing! Thank you so much!!!

I haven't upgraded, yet. However, a question hit me. Should I worry about the first repo pointing to an invalid link?
- adaptation-community-common ... http://repo.merproject.org/obs/nemo:...shos_3.0.1.11/

mautz 2019-01-08 21:38

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Thanks for your hint, was thinking all day long about those version numbers. Seems like i got a bit confused....

So, you don't need to change the URL of both adaptation repos, they are still on 3.0.0.8. There isn't a newer version of the SDK released yet. So, upgrading without any url changes should work.

ierihon 2019-01-09 07:53

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by mautz (Post 1552477)
Works, except for video recording.

Not work for me. I installed CM13, then SF 3.0.0.8, then update to 3.0.1.11.

When i check camera - i have black screen :(

Screenshot combination won't work to.

UPD. Reinstalled with files from first post - camera work well. But after OTA uptade till 3.0.1.11 i have black screen in camera.

UUPD. Now i reflash to 3.0.0.8

thang_legend 2019-01-09 11:50

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
i have some bugs in 3.0.1.11:
- Black camera
- Can't use volume button
- no sound in media player
Sorry for my bad english

mautz 2019-01-09 17:19

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Could you post your output of 'ssu lr'?

I updated about 5 times now and it always worked. This my ssu lr output:

Code:

Enabled repositories (global):
 - adaptation-community-common ... http://repo.merproject.org/obs/nemo:/testing:/hw:/common/sailfishos_3.0.1.11/
 - apps                        ... https://releases.jolla.com/jolla-apps/3.0.1.11/armv7hl/
 - hotfixes                    ... https://releases.jolla.com/releases/3.0.1.11/hotfixes/armv7hl/
 - jolla                      ... https://releases.jolla.com/releases/3.0.1.11/jolla/armv7hl/

Enabled repositories (user):
 - adaptation-community-hammerhead ... http://repo.merproject.org/obs/home:/mautz:/sfos-latest/sailfishos/

Camera works, Volume keys work, haven't tested the media player, since it is not installed, but sound works.

Are you sure, you have updated to 3.0.1.11 and not 3.0.0.11?

ierihon 2019-01-09 22:39

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by mautz (Post 1552515)
Camera works, Volume keys work, haven't tested the media player, since it is not installed, but sound works.

Sorry, but not for me...
There is my instalation.
In terminal on device i enter commands (before update i disable repositories in Storeman. Patches are not installed):
- devel-su
- ssu release 3.0.1.11
- pkcon refresh
- version --dup
- reboot

After reboot:
- Black screen in camera
- Volume buttons won't work
- no sound in media player (confirm)
- accelerometer also not work (tested in calculator - no screen rotation)
- compass not working.

There is my 'ssu lr' output:
Code:

Enabled repositories (global):
 - adaptation-community        ... http://repo.merproject.org/obs/nemo:/testing:/hw:/lge:/hammerhead/sailfishos_3.0.1.11/
 - adaptation-community-common ... http://repo.merproject.org/obs/nemo:/testing:/hw:/common/sailfishos_3.0.1.11/
 - apps                        ... https://releases.jolla.com/jolla-apps/3.0.1.11/armv7hl/
 - hotfixes                    ... https://releases.jolla.com/releases/3.0.1.11/hotfixes/armv7hl/
 - jolla                      ... https://releases.jolla.com/releases/3.0.1.11/jolla/armv7hl/

Enabled repositories (user):
 - store ... https://store-repository.jolla.com/hammerhead/armv7hl/?version=3.0.1.11

Disabled repositories (global, might be overridden by user config):

Disabled repositories (user):
 - home                  ... https://download.jollamobile.com/home:/honeybadger/latest_armv7hl/
 - openrepos-BlackSailer ... https://sailfish.openrepos.net/BlackSailer/personal/main
 - openrepos-osetr      ... https://sailfish.openrepos.net/osetr/personal/main
 - openrepos-velox      ... https://sailfish.openrepos.net/velox/personal/main

Almost fixed.

I added your repository with command:
Code:

ssu ar adaptation-community-hammerhead http://repo.merproject.org/obs/home:/mautz:/sfos-latest/sailfishos/
Then one more update system (version --dup).

Result:
- Camera works
- Sound buttons works
- Sound in media player works.

But:
- accelerometer also not work (tested in calculator - no screen rotation)
- compass not working.

Have you Guide to fix it without reflashing?

mautz 2019-01-09 23:47

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Sorry, haven't checked the sensors. Just download and install this package:

http://repo.merproject.org/obs/home:...la.armv7hl.rpm

After installing a
Code:

devel-su systemctl restart sensorfwd
should get the sensors working.

It is fixed in sailfish_latest repo, which should be used to update until 3.0.1.11 is released to public.

ierihon 2019-01-10 00:17

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by mautz (Post 1552523)
Sorry, haven't checked the sensors. Just download and install this package:

http://repo.merproject.org/obs/home:...la.armv7hl.rpm

After installing a
Code:

devel-su systemctl restart sensorfwd
should get the sensors working.

It is fixed in sailfish_latest repo, which should be used to update until 3.0.1.11 is released to public.

Many thanks! Now worked!

thang_legend 2019-01-10 08:38

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
thank you, it worked :D

runwithcow 2019-02-05 02:34

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
https://lm.facebook.com/l.php?u=http...1-sipoonkorpi/

I found 3.0.1.14 version for the Xperia X through googling.
By nautz's recommandation, I could update Sailfish OS for the Nexus 5 from 3.0.1.11 to 3.0.1.14.

devel-su ssu release 3.0.1.14
ssu lr
devel-su pkcon refresh
version --dup.

dubliner 2019-02-06 14:08

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by runwithcow (Post 1553595)
I could update Sailfish OS for the Nexus 5 from 3.0.1.11 to 3.0.1.14.

I have two things on my mind before feeling comfortable enough to give the upgrade a try. My apologies for being overly careful but that N5 is my precious daily driver.

1) Could you please list the repositories that had been enabled before you tried the upgrade?

2) Someone mentioned elsewhere there might be problems finding GPS positions when using 3.0.1.14. Would it be possible for you to test this?

Again, kudos runwithcow, kudos mautz and kudos to everyone else involved in this wonderful project.

P.S. Maybe an interesting finding: The UBports folks seem to experience the same bluetooth car audio problem that has been bugging me/us. They actually filed two bug reports (which I reckon must be the same problem):

https://github.com/ubports/ubuntu-touch/issues/28
https://github.com/ubports/ubuntu-touch/issues/649

No solution yet, though.

mautz 2019-02-06 14:55

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
I wouldn't update to 3.0.1.14. It even isn't an 'official' EA release....there could be many things that wouldn't work right now.

Seems like 3.0.1.14 brings nothing new except Android 8.1 support for XA2 devices.

https://together.jolla.com/question/...-x-beta-30114/

runwithcow 2019-02-07 03:51

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Please refer to mautz's recommandation for respositoris.
As I said, 3.0.1.14 is the beta and unofficial version for Xperia-X
I'm using Nexus 5 daily in holiday and weekends.
I have stopped the installation of Ubports that too many storages about 10gigas were requied.
I alway want non-Google and non-Apple for the mobile O/S.
So, if possible, I will update and test for all new version. ;)

ierihon 2019-02-12 09:19

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
On Nexus 5 with 3.0.1.14 media player don't work. I roll back to 3.0.1.11 :)

dubliner 2019-05-07 16:34

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
With all the excitement about Hossa 3.0.3.9, I just have to ask: @mautz, do you think we might be getting this, too? ;)

tealc 2019-05-07 17:21

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
I updated to 3.0.2.8 last week and it seems to work fine except for camera app which shows a 'test image' (colored rectangles like test images for TV).

I tried to update to 3.0.3.9 today, but it fails. Perhaps this was expected?

Quote:

[root@Sailfish nemo]# version --dup
REFRESHING CACHE AND DOWNLOADING PACKAGES
Resolving: 100%
Error: pattern:jolla-configuration-hammerhead-0.0.25-10.30.4.jolla.noarch requires pattern:jolla-hw-adaptation-hammerhead, but this requirement cannot be provided
Quote:

[nemo@Sailfish ~]$ ssu lr
WARNING: ssu.ini does not seem to be writable. Setting values might not work.
Enabled repositories (global):
- adaptation-community-common ... http://repo.merproject.org/obs/nemo:...atest_armv7hl/
- apps ... https://releases.jolla.com/jolla-apps/3.0.3.9/armv7hl/
- hotfixes ... https://releases.jolla.com/releases/...fixes/armv7hl/
- jolla ... https://releases.jolla.com/releases/...jolla/armv7hl/

Enabled repositories (user):
- adaptation-community-hammerhead ... http://repo.merproject.org/obs/home:...st/sailfishos/
- store ... https://store-repository.jolla.com/h...ersion=3.0.3.9

mautz 2019-05-07 17:40

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
I don't have access to my Nexus until next week, so i can't test it myself at the moment.

Could you try with the following repos:

adaptation-community-hammerhead

http://repo.merproject.org/obs//home...3.0.2.8_latest

adaptation-community-common

http://repo.merproject.org/obs/nemo:...ishos_3.0.2.8/

Mike_F1 2019-05-07 18:35

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by mautz (Post 1556712)
I don't have access to my Nexus until next week, so i can't test it myself at the moment.

Could you try with the following repos:

adaptation-community-hammerhead

http://repo.merproject.org/obs//home...3.0.2.8_latest

adaptation-community-common

http://repo.merproject.org/obs/nemo:...ishos_3.0.2.8/

is there any way to run android app.. i do have nexus 5 but seems like aliendelvik is not working.. will you guys please help me how to install it .. i tried it on nexus 5 i got the "Android Support" but i was unable to start it.

i do have nokia n9 is there any way to run anbox or aliendelvik on it.

Thanks :)

tealc 2019-05-07 18:37

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Thank mautz! It still get the same error with your suggested repos. No rush. We can continue when you have time.

Mike_F1 2019-05-07 18:42

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by tealc (Post 1556715)
Thank mautz! It still get the same error with your suggested repos. No rush. We can continue when you have time.

hi tealc,

will u please give me the link of latest version of sailfish os. :)

Thanks.

tealc 2019-05-07 18:50

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by Mike_F1 (Post 1556714)
is there any way to run android app.. i do have nexus 5 but seems like aliendelvik is not working.. will you guys please help me how to install it .. i tried it on nexus 5 i got the "Android Support" but i was unable to start it.

i do have nokia n9 is there any way to run anbox or aliendelvik on it.

Thanks :)

Alien dalvik is only available on officially supported device (Jolla 1, Jolla C, Jolla Tablet, Sony Xperia X, Sony Xperia XA2 etc)

While it is possible to run Sailfish on Nokia N9 it is very buggy and not stable enough to be used as daily driver so getting a working anbox or alien dalvik there wouldn't be much use.

On other devices (including Nexus 5) there is no official (legal) way to run alien dalvik. Perhaps you can get anbox working there but from my understanding it is not ready yet so if you need android support I would suggest buying a Sony Xperia XA2.

tealc 2019-05-07 18:53

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by Mike_F1 (Post 1556716)
hi tealc,

will u please give me the link of latest version of sailfish os. :)

Thanks.

If you are asking for Nexus 5 then follow the instructions on the first page in this thread. After flashing image with 3.0.0.8 you can upgrade to 3.0.2.8 OTA.

Mike_F1 2019-05-07 18:56

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by tealc (Post 1556717)
Alien dalvik is only available on officially supported device (Jolla 1, Jolla C, Jolla Tablet, Sony Xperia X, Sony Xperia XA2 etc)

While it is possible to run Sailfish on Nokia N9 it is very buggy and not stable enough to be used as daily driver so getting a working anbox or alien dalvik there wouldn't be much use.

On other devices (including Nexus 5) there is no official (legal) way to run alien dalvik. Perhaps you can get anbox working there but from my understanding it is not ready yet so if you need android support I would suggest buying a Sony Xperia XA2.

Thanx bro, for brief information.

Just wanted to kwn tht is there any link available for 3.0.2 or do i need to install 3.0.1 in my nexus 5 then i have to update to 3.0.2 using sailfish terminal.

Thank

Mike_F1 2019-05-07 18:57

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by tealc (Post 1556718)
If you are asking for Nexus 5 then follow the instructions on the first page in this thread. After flashing image with 3.0.0.8 you can upgrade to 3.0.2.8 OTA.

Thanks again ..I am flashing my Nexus 5.


All times are GMT. The time now is 11:26.

vBulletin® Version 3.8.8