maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Porting Sailfish to N9 (https://talk.maemo.org/showthread.php?t=90761)

Morpog 2014-10-13 18:43

Re: Porting Sailfish to N9
 
You seem to have missed this thread: http://talk.maemo.org/showthread.php...77#post1442577

coderus 2014-10-13 18:50

Re: Porting Sailfish to N9
 
@Morpog continue old thread imho better

minimos 2014-10-14 05:19

Re: Porting Sailfish to N9
 
Are these new images of Sailfish OS 1.0.8.21 strictly for the N9 or do they work also on the N950?

romu 2014-10-14 08:27

Re: Porting Sailfish to N9
 
Quote:

Originally Posted by Morpog (Post 1442832)
You seem to have missed this thread: http://talk.maemo.org/showthread.php...77#post1442577

Obviously ;) Thanks.

As Coderus says, we have to decide on which thread to discuss this post. Could be here, or on the other thread, whatever, juste take a decision, close the obsolete thread with a link to the chosen one.

coderus 2014-10-14 08:29

Re: Porting Sailfish to N9
 
@minimos nobody tested witn n950, be the first one.

milad ghusn 2014-10-14 11:47

Re: Porting Sailfish to N9
 
i tested it on my n9 , its have many many bugs , big delay when open setting or gallery etc...
waiting for stable version

danpio 2014-10-17 06:28

Re: Porting Sailfish to N9
 
Hi
New kernel compilation 3.5.3

http://repo.merproject.org/obs/home:...mv7hl/armv7hl/

thanks filippz :)

noonien 2014-10-18 10:38

Re: Porting Sailfish to N9
 
Hi everyone,

using the latest unstable image I got a running system without working sim and laggy interface. I tried to update the repositories (ssu.ini) to get the store running, but it failed to verify my account anyway :/

Then I ran a zypper update which only updated some mer packets because all sailfish repo urls seemed to be invalid. Now my screen is falsely rotated - half the interface outside the screen. :)

Any suggestions?

Maybe someone who got this working is willing to update the corresponding wiki article?

Thanks for your help,

noonien

Shadwblade2652 2014-10-26 20:46

Re: Porting Sailfish to N9
 
Yea if someone could update the wiki that'd be nice. MeeGo is starting to become very slow and bloated and I'd really like to use SFOS as soon as possible (given that it's now a bit more functional than before).

also,
Is voice working? And messaging? Is there a complete list of bugs/working/non-functional features?

Thanks for all of your guys' work on the project so far. You're the reason I haven't bought a new phone :)

coderus 2014-10-26 20:48

Re: Porting Sailfish to N9
 
everything except camera working, but still acceleration is slow and laggy.

Shadwblade2652 2014-10-26 20:51

Re: Porting Sailfish to N9
 
better than MeeGo yet? Is there a better variety of apps that I can use? The facebook app for meego is a bit dilapidated and I don't find it very intuitive.

Shadwblade2652 2014-10-26 20:53

Re: Porting Sailfish to N9
 
Also, how do I install it? Given that there's a new kernel and what not, I'd really like to be sure about how I install it as my N9 is still my main phone.

coderus 2014-10-26 21:18

Re: Porting Sailfish to N9
 
meego is better atm. sailfish have no native facebook app. only status updater.

Shadwblade2652 2014-10-26 21:32

Re: Porting Sailfish to N9
 
Even if it isn't native, is there a third-party app that's functional? I find MeeGo to be a bit slow at the moment, and it's got hardly any application support.

juiceme 2014-10-27 07:00

Re: Porting Sailfish to N9
 
Quote:

Originally Posted by Shadwblade2652 (Post 1444479)
Even if it isn't native, is there a third-party app that's functional? I find MeeGo to be a bit slow at the moment, and it's got hardly any application support.

I wonder why your Harmattan is slow? You propably have some broken installation or otherwice misbehaving applications there, as it should not really have slowed down at all from the way it was in the beginning...

Unless you mean "it always was slow and still feels slow" :p
In that case SailfishOS won't really help you, it will not change the HW of your device :D

coderus 2014-10-27 07:53

Re: Porting Sailfish to N9
 
@Shadwblade2652 Sailfish port for N9 wont contain and will never contain android dalvik ;)

Shadwblade2652 2014-10-27 08:15

Re: Porting Sailfish to N9
 
By slow i mean,
in comparison to android and iOS, meego seems really weak. It has a nice interface, but the apps are poorly designed (like facebook)


And I know it won't contain dalvik, but seeing as it's a budding platform, it'll surely have more applications on the market.

sid21177 2014-10-27 08:36

Re: Porting Sailfish to N9
 
Quote:

Originally Posted by coderus (Post 1444469)
everything except camera working, but still acceleration is slow and laggy.

this is the version of SFOS where we need the 3.x kernel or are u talking abt the version supporting the 2.x kernel ??

thx

juiceme 2014-10-27 09:10

Re: Porting Sailfish to N9
 
Quote:

Originally Posted by Shadwblade2652 (Post 1444504)
By slow i mean,
in comparison to android and iOS, meego seems really weak. It has a nice interface, but the apps are poorly designed (like facebook)

Yes, but what I meant: installing SFOS in your N9 will not make it "faster" than running Harmattan on it. The HW is what it is.
(And I don't find N9 slow at all, it is pretty slick device)

I don't know about Facebook et al, however, I do not use NSA-enchanced spyware myself.


Quote:

Originally Posted by Shadwblade2652 (Post 1444504)
And I know it won't contain dalvik, but seeing as it's a budding platform, it'll surely have more applications on the market.

Sure, there's fair amount of applications available, and you can easily create more yourself :D

coderus 2014-10-27 09:15

Re: Porting Sailfish to N9
 
@sid21177 i'm talking about latest sailfishos with new kernel

Shadwblade2652 2014-10-29 04:48

Re: Porting Sailfish to N9
 
Quote:

Originally Posted by juiceme (Post 1444514)
Sure, there's fair amount of applications available, and you can easily create more yourself :D

ahahaha as if I know anything about coding ;)

caveman 2014-10-29 16:18

Re: Porting Sailfish to N9
 
I reflashed the N9 to try this new image.

The summary is: great work! Congrats to all involved :-)

There are, nonetheless, a fair amount of polishment to be done. Following is a quick list for reference.
* as discussed before, the system lags often and does not feel responsive
* the graphical interface crashed a few times, mostly while trying to open the keyboard; eventually it worked
* charging works but the battery indicator does not update
* the system started without any ambience (black background)
* after applying one ambience, the app screen still has a black background

I have not yet tried to use the store or update the sw, and currently I do not have a sim card on the phone.

This is hope of a new life for the N9. Well done!

Shadwblade2652 2014-11-01 20:21

Re: Porting Sailfish to N9
 
Quote:

Originally Posted by caveman (Post 1445005)
I reflashed the N9 to try this new image.

The summary is: great work! Congrats to all involved :-)

There are, nonetheless, a fair amount of polishment to be done. Following is a quick list for reference.
* as discussed before, the system lags often and does not feel responsive
* the graphical interface crashed a few times, mostly while trying to open the keyboard; eventually it worked
* charging works but the battery indicator does not update
* the system started without any ambience (black background)
* after applying one ambience, the app screen still has a black background

I have not yet tried to use the store or update the sw, and currently I do not have a sim card on the phone.

This is hope of a new life for the N9. Well done!

On a scale of 1 - 10, 10 being Android or MeeGo (smooth OS) what would you rate SFOS?

caveman 2014-11-04 20:29

Re: Porting Sailfish to N9
 
Quote:

Originally Posted by Shadwblade2652 (Post 1445424)
On a scale of 1 - 10, 10 being Android or MeeGo (smooth OS) what would you rate SFOS?

maybe a 4

notice that the kernel is being ported as we speak, and most of the problems may simply vanish as the new kernel matures ;-) or so I hope!

arcean 2014-11-04 20:54

Re: Porting Sailfish to N9
 
Quote:

Originally Posted by caveman (Post 1445875)
maybe a 4

notice that the kernel is being ported as we speak, and most of the problems may simply vanish as the new kernel matures ;-) or so I hope!

The PowerVR SGX driver used by the N9 has a lot of bugs which require software workarounds. At least Qt4 has such hacks, unfortunately most of them are not available in Qt5 release.

Shadwblade2652 2014-11-06 06:59

Re: Porting Sailfish to N9
 
Quote:

Originally Posted by arcean (Post 1445885)
The PowerVR SGX driver used by the N9 has a lot of bugs which require software workarounds. At least Qt4 has such hacks, unfortunately most of them are not available in Qt5 release.

So having a non-buggy release is not possible? Does SFOS use Qt5 and MeeGo Qt4? Is that one of the distinctions?

nieldk 2014-11-06 07:09

Re: Porting Sailfish to N9
 
Quote:

Originally Posted by arcean (Post 1445885)
The PowerVR SGX driver used by the N9 has a lot of bugs which require software workarounds. At least Qt4 has such hacks, unfortunately most of them are not available in Qt5 release.

That seems like the wrong approach. Wouldnt it be better to compile working kernel modules ?
Some have had success in compiling for kernel 2.6.32, perhaps that information can be usefull in replacing the stock-drivers ?
http://listas.gnu.org.ve/pipermail/p...er/000036.html

hedayat 2014-11-06 08:44

Re: Porting Sailfish to N9
 
I'm not sure if the situation is that bad. And I THINK the drivers (also the stock ones) are derived from the SDK (but I could be wrong). However, if it is said that there are PowerVR SGX drivers which are less buggy than the ones in N9, it can be tried. Or, if the bugs are in open source parts, it can be fixed.

These are my observations till now:

1. I have not experienced such crashes in latest Nemo images. However, it might be due to not using as much graphics components/effects as SailfishOS.

2. There could be relatively easy fixes/workarounds for current problems, since they have some special nature: I can successfully run Sailfish voicecall-ui from command line always. But running it from GUI cause a crash almost always if 'voicecall-ui -prestart' is already running; and it tries to tell it to bring up the GUI, and it causes a crash in one of these locations (usually the latter):

Quote:

lipstick[2618]: lipstick: waylandwsegl.c:519: wseglCreatePixmapDrawable: Assertion `PVR2DMemMap(egldisplay->context, 0, (void *)pixmap->handle, &pixmap->pvrmem) == PVR2D_OK' failed.
Quote:

0xa6757bf8 in QWaylandSurfaceItem::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*) ()
from /usr/lib/libQt5Compositor.so.5
A simple workaround for now (for all applications), is seems to be to disable all prestart and invoker single instance running logic with starting applications from scratch and closing them completely when not needed. This will make running apps slower, but you probably won't experience any UI crashes. I've not tried this approach for all apps, but at least it works for voicecall-ui.

As a side note, Qt libraries used in Nemo development images are newer than the ones in SailfishOS image, so I have a little hope that the new version comes with some bugfixes which could prevent such crashes. But it needs to be tested; it's just a hope!

max83 2014-11-10 06:20

Re: Porting Sailfish to N9
 
Quote:

Originally Posted by coderus (Post 1444498)
@Shadwblade2652 Sailfish port for N9 wont contain and will never contain android dalvik ;)


I have the aliendalvik RPM package if anyone wants to give it a try let me know, but am not sure is it working or not

hedayat 2014-11-10 13:58

Re: Porting Sailfish to N9
 
Thanks to everybody who helps with SailfishOS port, I've created new image based on latest updates (including latest filippz kernel).
New SailfishOS (1.1.0.39) images based on previous .ks:

sailfish-hv-1.1.0.39-20141110.img.xz - 174.1 MB
vmlinuz-3.5.3-1.1.1-n950-sailfish - 3.4 MB

The first file is an xz compressed ext4 image (uncompressed image will be around 1.3GB), and the second one is the same kernel used for the image (not required if you use Alt_OS partition). It can be uncompressed in GNU/Linux environments using "xz -d", and in Windows using software like 7zip.

- To boot using N9 easy boot, just copy the kernel and uncompressed image file to your ~/MyDocs/boot partition and modify ubiboot.conf file accordingly.

- To boot using normal method (with Alt_OS partition), you can dd the image to Alt_OS partition, and use resize2fs to enlarge the filesystem to fill the partition (as noted by kibet85, you'll also need to run fsck on the image before resize2fs); which can be done inside Harmattan (this command also decompresses the .xz image):
Code:

umount /dev/mmcblk0p4
xz -c -d sailfish-hv-1.1.0.39-20141110.img.xz | dd of=/dev/mmcblk0p4
/sbin/fsck.ext4 /dev/mmcblk0p4
/sbin/resize2fs /dev/mmcblk0p4

Or, you can loop mount the image and copy the files using 'cp -a' (or rsync). This is not recommended, only use if you want to preserve some data in your SailfishOS partition.The kernel file is not needed when using Alt_OS partition.
Code:

mount -o loop sailfish-hv-1.1.0.39-20141110.img.xz /mnt
mount /dev/mmcblk0p4 /srv/
cp -a /mnt/* /srv/

What works:
* Audio (thanks to filippz)
* Call
* SMS
* Battery status (might not work in the first boot)
* Cellular network status (might not work in the first boot)
* WiFi
* Volume Buttons
* Accelerometer (at least, apps respond to orientation changes; e.g. Messaging app)
* Power button! Jolla shutdown splash screen also works.
* USB Ethernet device / Developer mode.

What doesn't work:
* GPS
* Camera
* Android compatibility (not included at all)
* Alarms when locked!

- Note: everything else is not tested (or I don't remember now!)

Known issues:
* Everytime you open or close an application, UI might crash!
* Don't plus USB cable during the first boot, or you might need to re-install!
* Tutorial graphics doesn't appear correctly, but you can successfully pass it!
* Battery status might not work on the first boot. It should work in sugsequent boots.
* DHCP server doesn't work in developer mode. You should assign the IP address of virtual ethernet device manually. You should be able to ssh to device after setting up developer mode settings in Sailfish.

MD5 Checksums:
b255e9c9632f91d9e9c66e9a5f438eb8 sailfish-hv-1.1.0.39-20141110.img.xz
b8ceac73990a514ced796b3dbd0e3b3f vmlinuz-3.5.3-1.1.1-n950-sailfish

SHA256 Checksums:
160454aa9928e4ba4723b115d26f6e238866178b1a0fd27f3e b354309d21a6e0 sailfish-hv-1.1.0.39-20141110.img.xz
15409204722547213a3ecc404da85a0f96b8d6d0e1f428b2d1 c85f8ae6214706 vmlinuz-3.5.3-1.1.1-n950-sailfish

Morpog 2014-11-11 16:28

Re: Porting Sailfish to N9
 
Download doesn't seem to work for me.

skykooler 2014-11-11 16:53

Re: Porting Sailfish to N9
 
Volume buttons working? Hooray!

hedayat 2014-11-11 17:33

Re: Porting Sailfish to N9
 
@Morpog Yes, their servers are down today. If not fixed until tomorrow, I'll provide new links.

@skykooler Yes, IIRC it is fixed by filippz.

hedayat 2014-11-12 07:26

Re: Porting Sailfish to N9
 
Download links updated, these are working (at least, right now!). Sorry for any inconvenience.

coderus 2014-11-12 09:08

Re: Porting Sailfish to N9
 
@hedayat share .ks please

hedayat 2014-11-12 17:21

Re: Porting Sailfish to N9
 
I will share my .ks when I applied the changes to it. Currently, the image is not directly created from .ks file; there are some changes which are applied to the generated images manually. Most of the changes are already mentioned in #nemomobile channel though.

I'll put the .ks in a git repo and share it here. If desired, I can share the repo with current .ks; and apply the changes to that repo.

max83 2014-11-19 07:56

Re: Porting Sailfish to N9
 
Howdy guys, finally I found my old Sailfish tar image
I plan to use flippz kernel alongside with my 1.0.5 version of sailfish
my image is very identical and almost same as real sailfish
means, it has stock installed AlienDalvik and some other apps
I will try and I will update you guys soon, I guess we can finally run android on our N9

keep in touch, I hope I can come back with good news

irulestar 2014-11-19 11:06

Any update for new image sailfishOS for N9?

coderus 2014-11-19 12:27

Re: Porting Sailfish to N9
 
@irulestar did you saw some posts in this thread aboout any updates for new image sailfishOS for N9?! You think someone just forgot to publish updates for new image sailfishOS for N9, now reading your questiond and: OHHH! I have update for new image sailfishOS for N9 and i didn't published it because i forgot to do it!

hedayat 2014-11-19 12:41

Re: Porting Sailfish to N9
 
Quote:

Originally Posted by max83 (Post 1447873)
Howdy guys, finally I found my old Sailfish tar image
I plan to use flippz kernel alongside with my 1.0.5 version of sailfish
my image is very identical and almost same as real sailfish
means, it has stock installed AlienDalvik and some other apps
I will try and I will update you guys soon, I guess we can finally run android on our N9

keep in touch, I hope I can come back with good news

hmmmm That'd be nice. However, if it *only* has AlienDalvik, it is not sufficient to run Android binaries. Actually, is has been already demonstrated by thp that you can run AlienDalvik in Harmattan in a chroot (run a text Android application). However, to be able to run most Android software, you should also have a compatible "Android Runtime". Will you also include an Android runtime? At least, we need the parts of runtime which enables us to run GUI applications.


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

vBulletin® Version 3.8.8