maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Sailfish OS for the OnePlus 3/3T (https://talk.maemo.org/showthread.php?t=100117)

meemorph 2019-01-16 21:01

Re: Sailfish OS for the OnePlus 3/3T
 
The hard back key is working too. Can I swap the hard keys? I like the back key on the right (not left).

BluesLee 2019-01-16 21:30

Re: Sailfish OS for the OnePlus 3/3T
 
Quote:

Originally Posted by delaya73 (Post 1552822)
Hi.
Bluetooth now works.
Check.

Upgrade:
# ssu re 3.0.1.11
# version --dup

Confirmed that bluetooth is working somehow. Turning bluetooth on/off does not give the corresponding toggle feedback within settings / bluetooth. It looks like its not turning on but a bluetooth loudspeaker is automatically connected after initial pairing. I observed sound dropouts here.

@all: Still open: camera bug, it takes about 2 secs until a shot is taken after sound feedback. Can someone confirm this issue?

delaya73 2019-01-17 09:21

Re: Sailfish OS for the OnePlus 3/3T
 
Hi.
About bluetooth.
Fixed getting bluetooth MAC address

Commits:
1. https://github.com/delaya73/droid-co...77e212b0a3ea5e
2. https://github.com/delaya73/droid-co...ab6a80ca59f024

delaya73 2019-01-17 09:24

Re: Sailfish OS for the OnePlus 3/3T
 
Quote:

Originally Posted by BluesLee (Post 1552884)
Confirmed that bluetooth is working somehow. Turning bluetooth on/off does not give the corresponding toggle feedback within settings / bluetooth. It looks like its not turning on but a bluetooth loudspeaker is automatically connected after initial pairing. I observed sound dropouts here.

@all: Still open: camera bug, it takes about 2 secs until a shot is taken after sound feedback. Can someone confirm this issue?

Hi.
All of these problems are known to me. I am working on their solution.

delaya73 2019-01-22 08:37

Re: Sailfish OS for the OnePlus 3/3T
 
Bluetooth turns on and off better from the top menu.
As an option to add the option exec_timeout = 2 to the /etc/qca_rome.conf file
It should help a little, but this is not a solution.

For some reason, bluetooth does not turn off.

strace -p <process bluetooth-rfkill-event.service>

Code:

ioctl(5, HCIDEVUP, 0)                  = -1 EALREADY (Operation already in progress)
close(5)                                = 0
poll([{fd=4, events=POLLIN|POLLHUP}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
read(4, "\5\0\0\0\2\1\0\0", 8)          = 8
poll([{fd=4, events=POLLIN|POLLHUP}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
read(4, "\6\0\0\0\2\0\0\0", 8)          = 8
open("/sys/class/rfkill/rfkill6/name", O_RDONLY) = 5
read(5, "hci0\n", 4095)                = 5
close(5)                                = 0
socket(AF_BLUETOOTH, SOCK_RAW, 1)      = 5
ioctl(5, HCIGETDEVINFO, 0xffe2f364)    = 0
close(5)                                = 0
poll([{fd=4, events=POLLIN|POLLHUP}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
read(4, "\0\0\0\0\2\2\1\0", 8)          = 8
gettimeofday({tv_sec=1548146004, tv_usec=363081}, NULL) = 0
send(3, "<30>Jan 22 13:33:24 bluetooth_rf"..., 111, MSG_NOSIGNAL) = 111
pipe([5, 6])                            = 0
pipe([7, 8])                            = 0
pipe([9, 10])                          = 0
fcntl64(5, F_GETFL)                    = 0 (flags O_RDONLY)
fcntl64(5, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(6, F_GETFL)                    = 0x1 (flags O_WRONLY)
fcntl64(6, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
fcntl64(7, F_GETFL)                    = 0 (flags O_RDONLY)
fcntl64(7, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(8, F_GETFL)                    = 0x1 (flags O_WRONLY)
fcntl64(8, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
fcntl64(9, F_GETFL)                    = 0 (flags O_RDONLY)
fcntl64(9, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(10, F_GETFL)                    = 0x1 (flags O_WRONLY)
fcntl64(10, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf6c54278) = 8182
close(5)                                = 0
close(8)                                = 0
close(10)                              = 0
_newselect(10, [7 9], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [7], left {tv_sec=0, tv_usec=968589})
read(7, "8124\n", 4096)                = 5
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=8182, si_uid=0, si_status=0, si_utime=0, si_stime=2} ---
wait4(8182, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 8182
close(6)                                = 0
close(7)                                = 0
close(9)                                = 0
pipe([5, 6])                            = 0
pipe([7, 8])                            = 0
pipe([9, 10])                          = 0
fcntl64(5, F_GETFL)                    = 0 (flags O_RDONLY)
fcntl64(5, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(6, F_GETFL)                    = 0x1 (flags O_WRONLY)
fcntl64(6, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
fcntl64(7, F_GETFL)                    = 0 (flags O_RDONLY)
fcntl64(7, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(8, F_GETFL)                    = 0x1 (flags O_WRONLY)
fcntl64(8, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
fcntl64(9, F_GETFL)                    = 0 (flags O_RDONLY)
fcntl64(9, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(10, F_GETFL)                    = 0x1 (flags O_WRONLY)
fcntl64(10, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf6c54278) = 8183
close(5)                                = 0
close(8)                                = 0
close(10)                              = 0
_newselect(10, [7 9], NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
wait4(8183, 0xffe2d2ec, WNOHANG, NULL)  = 0
_newselect(10, [7 9], NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
wait4(8183, 0xffe2d2ec, WNOHANG, NULL)  = 0
_newselect(10, [7 9], NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
wait4(8183, 0xffe2d2ec, WNOHANG, NULL)  = 0
_newselect(10, [7 9], NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
wait4(8183, 0xffe2d2ec, WNOHANG, NULL)  = 0
_newselect(10, [7 9], NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
wait4(8183, 0xffe2d2ec, WNOHANG, NULL)  = 0
_newselect(10, [7 9], NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
wait4(8183, 0xffe2d2ec, WNOHANG, NULL)  = 0
_newselect(10, [7 9], NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)

Link on code: https://github.com/delaya73/bluetoot...l_event.c#L935

delaya73 2019-01-25 19:20

Re: Sailfish OS for the OnePlus 3/3T
 
Hi.
On my Marshall Major III Bluetooth works out at all 200% ;)

meemorph 2020-05-15 11:19

Re: Sailfish OS for the OnePlus 3/3T
 
HI, I habe an old op3t and want to flash sfos. Can I find an image near to sfos version 3.3 somewhere?

coderus 2020-05-15 12:31

Re: Sailfish OS for the OnePlus 3/3T
 
probably here: https://forum.xda-developers.com/one...-3-3t-t3724264

meemorph 2020-05-15 13:07

Re: Sailfish OS for the OnePlus 3/3T
 
Thats are the old 2.1. Thanks, looks like I have to start with it and have the update fun. ;-)
edit: oh no, there is a 3.2.1.20 too. I will take that one. :)

meemorph 2020-05-19 12:26

Re: Sailfish OS for the OnePlus 3/3T
 
Quote:

Originally Posted by r0kk3rz (Post 1548791)
Sailfish image can be found here:
http://gitlab.com/sailfishos-porters...?job=run-build
...

I took this image and flashed it with lineageos-14 firmware and SFOS is alive. After that I dup'ed up to 3.3.0.16, worked so far.

Whats missing:
  • BT
  • video
  • cam live image
  • power management very strong (disturbes listening music)

I could fix BT with installing (downgrading to) bluetooth-rfkill-event-hciattach-1.0.6+master.20190118102602.2.g1ab3b06-1.10.1.jolla.armv7hl.rpm and installing bluez5-tools.

But I cannot fix the video and music issue. Looks to me like the video overlay could not be started/displayed. Thats why the cam live image is missing too. Taking a picture works.

Can somebody give me any hints for fixing?

edit: looks like the 3.3.0.16 is not finished atm.


All times are GMT. The time now is 23:00.

vBulletin® Version 3.8.8