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)

breiti_oi 2015-12-10 08:48

Re: SailfishOS on Nexus 5
 
okay, on step 9 for me it seems that you mustn't be root to get an black display when surfaceflinger starts, but after calling sfdroid it shows me
Code:

[nemo@Jolla ~]$ ./sfdroid
height: 110, width 62, xres: 1080, yres 1920, line_length: 4352
waiting for handle
fd_pass_fd: 19
registerBuffer failed
fd_pass_fd: 19
sending status
waiting for handle
fd_pass_fd: 19
registerBuffer failed
fd_pass_fd: 19
sending status


BluesLee 2015-12-10 10:27

Re: SailfishOS on Nexus 5
 
Quote:

Originally Posted by breiti_oi (Post 1491064)
okay, on step 9 for me it seems that you mustn't be root to get an black display when surfaceflinger starts, but after calling sfdroid it shows me
Code:

[nemo@Jolla ~]$ ./sfdroid
height: 110, width 62, xres: 1080, yres 1920, line_length: 4352
waiting for handle
fd_pass_fd: 19
registerBuffer failed
fd_pass_fd: 19
sending status
waiting for handle
fd_pass_fd: 19
registerBuffer failed
fd_pass_fd: 19
sending status


Same issue here
Code:

[root@Jolla nemo]# /system/bin/logcat -d -f logcat.txt
Unable to open log device '/dev/log/main': Not a directory
[root@Jolla nemo]# ps
PID TTY          TIME CMD
3356 pts/0    00:00:00 sh
6469 pts/0    00:00:04 surfaceflinger
7917 pts/0    00:00:00 ps

[nemo@Jolla ~]$ ./sfdroid
height: 110, width 62, xres: 1080, yres 1920,
line_length: 4352
waiting for handle
fd_pass_fd: 19
registerBuffer failed
fd_pass_fd: 19
sending status
waiting for handle
fd_pass_fd: 19
registerBuffer failed
fd_pass_fd: 19


liar 2015-12-10 15:51

Re: SailfishOS on Nexus 5
 
Quote:

Originally Posted by breiti_oi (Post 1491064)
okay, on step 9 for me it seems that you mustn't be root to get an black display when surfaceflinger starts, but after calling sfdroid it shows me
Code:

[nemo@Jolla ~]$ ./sfdroid
height: 110, width 62, xres: 1080, yres 1920, line_length: 4352
waiting for handle
fd_pass_fd: 19
registerBuffer failed
fd_pass_fd: 19
sending status
waiting for handle
fd_pass_fd: 19
registerBuffer failed
fd_pass_fd: 19
sending status


There was a typo in the native handle send and receive functions. I corrected it. Please try again and let me know what happens.

http://piratepad.net/FtZYtm4tDY

breiti_oi 2015-12-10 17:14

Re: SailfishOS on Nexus 5
 
Quote:

Originally Posted by liar (Post 1491108)
There was a typo in the native handle send and receive functions. I corrected it. Please try again and let me know what happens.

http://piratepad.net/FtZYtm4tDY

now a new black window on homescreen opens,but still no CM.
I noticed the WiFi Connection disconnects, as soon as you enable sfdroid.
the output of sfdroid:
Code:

sending status
waiting for handle
sending status
waiting for handle
sending status
waiting for handle
...


BluesLee 2015-12-10 21:06

Re: SailfishOS on Nexus 5
 
1 Attachment(s)
It works ... sort of! Fast like hell, mobile network works, additional apps can be installed.

Thanks to one of our mighty coders krnlyng aka liar we might get proper Android support in the upcoming days / weeks. He updated instructions on piratepad.

Current issues:
  1. Wifi stops working when sfdroid is started
  1. All SFOS interactions like swipes transfer to the Android window, funny somehow.
  1. Android navigation buttons are not visible but you can anticipate their position at the bottom of the window and use them.

Screenshot

liar 2015-12-11 10:07

Re: SailfishOS on Nexus 5
 
Quote:

Originally Posted by BluesLee (Post 1491155)
It works ... sort of! Fast like hell, mobile network works, additional apps can be installed.

Thanks to one of our mighty coders krnlyng aka liar we might get proper Android support in the upcoming days / weeks. He updated instructions on piratepad.

Current issues:
  1. Wifi stops working when sfdroid is started
  1. All SFOS interactions like swipes transfer to the Android window, funny somehow.
  1. Android navigation buttons are not visible but you can anticipate their position at the bottom of the window and use them.

Screenshot

can you try if this reenables the buttons? http://forum.archosfans.com/viewtopi...=43871#p302864

otherwise i probably have to look at the sources

asa 2015-12-11 17:42

Re: SailfishOS on Nexus 5
 
Quote:

Originally Posted by romu (Post 1490822)
It's just you don't need the "-de" package, the first one is enough as far as I remember.

Thanks! That was it. Now it's updated to the front page also.

linuxunux 2015-12-12 06:27

Re: SailfishOS on Nexus 5
 
Liar, I am so happy right now. Not only does this work, it works good.
I finally have a perfect smartphone. Thank you so much!!

romu 2015-12-12 13:36

Re: SailfishOS on Nexus 5
 
Humm...sounds like could be nice to run Android beside SFOS. Could this be used without having to re-install the phone, so on a already existing CM+SFOS?

BluesLee 2015-12-12 17:21

Re: SailfishOS on Nexus 5
 
Quote:

Originally Posted by asa (Post 1491235)
Thanks! That was it. Now it's updated to the front page also.

I reviewed and updated the front page to reflect the current port status on SFOS 2.0.


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

vBulletin® Version 3.8.8