Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Porting Sailfish to N9

    Reply
    Page 191 of 205 | Prev | 181   189     190   191   192     193   201 | Next | Last
    Shadwblade2652 | # 1901 | 2014-10-29, 04:48 | Report

    Originally Posted by juiceme View Post
    Sure, there's fair amount of applications available, and you can easily create more yourself
    ahahaha as if I know anything about coding

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Shadwblade2652 For This Useful Post:
    hrbani

     
    caveman | # 1902 | 2014-10-29, 16:18 | Report

    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!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to caveman For This Useful Post:
    hrbani, mattaustin, Shadwblade2652

     
    Shadwblade2652 | # 1903 | 2014-11-01, 20:21 | Report

    Originally Posted by caveman View Post
    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    caveman | # 1904 | 2014-11-04, 20:29 | Report

    Originally Posted by Shadwblade2652 View Post
    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!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    arcean | # 1905 | 2014-11-04, 20:54 | Report

    Originally Posted by caveman View Post
    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to arcean For This Useful Post:
    caveman, Shadwblade2652

     
    Shadwblade2652 | # 1906 | 2014-11-06, 06:59 | Report

    Originally Posted by arcean View Post
    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    nieldk | # 1907 | 2014-11-06, 07:09 | Report

    Originally Posted by arcean View Post
    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to nieldk For This Useful Post:
    hrbani

     
    hedayat | # 1908 | 2014-11-06, 08:44 | Report

    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):

    Originally Posted by
    lipstick[2618]: lipstick: waylandwsegl.c:519: wseglCreatePixmapDrawable: Assertion `PVR2DMemMap(egldisplay->context, 0, (void *)pixmap->handle, &pixmap->pvrmem) == PVR2D_OK' failed.
    Originally Posted by
    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!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to hedayat For This Useful Post:
    eekkelund, hrbani, OVK

     
    max83 | # 1909 | 2014-11-10, 06:20 | Report

    Originally Posted by coderus View Post
    @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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to max83 For This Useful Post:
    hrbani

     
    hedayat | # 1910 | 2014-11-10, 13:58 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by hedayat; 2014-11-14 at 06:54. Reason: Add fsck command before resize2fs
    The Following 20 Users Say Thank You to hedayat For This Useful Post:
    bob_bipbip, ck2nb, Conrado967, eekkelund, hrbani, jcharpak, juiceme, lbee, lorenzo, mattaustin, meemorph, minimos, mrsellout, pmeuh, rcolistete, saifo, Shadwblade2652, skykooler

     
    Page 191 of 205 | Prev | 181   189     190   191   192     193   201 | Next | Last
vBulletin® Version 3.8.8
Normal Logout