Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    SailfishOS 2.0 on Nexus 5

    Reply
    Page 27 of 84 | Prev | 17   25     26   27   28     29   37 | Next | Last
    nh1402 | # 261 | 2015-12-07, 08:03 | Report

    I think it would be best if you enabled the services in init.rc as listed here http://piratepad.net/lYkoEab7p1 rather than copy the modified init.rc directly as sometimes it bootloops.

    Now I'm properly gone till the 27th. Although I may be able to lurk around now and then.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to nh1402 For This Useful Post:
    Bundyo, juiceme, m4r0v3r

     
    asa | # 262 | 2015-12-07, 11:22 | Report

    Tried to install a keyboard prediction. This is what I get
    Code:
    root@Jolla nemo]#  pkcon install store-client jolla-xt9 jolla-xt9-de                                                                                               
    Command failed: This tool could not find any available package: could not find jolla-xt9-de
    There isn't much that I can go wrong.. Copy and paste.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    liar | # 263 | 2015-12-07, 16:43 | Report

    i have now implemented unix domain sockets to share the file descriptors of the buffer_handle_t but for some reason gralloc->lock does not want to work in the renderer app on the transfered buffer handle, any ideas?
    (testing on my jolla phone with a small test application which creates a buffer and sends the handle to the sfdroid application

    EDIT: after reviewing the comments in the android source i noticed that i missed a call to gralloc->registerBuffer. sharing the buffer handle works now

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by liar; 2015-12-07 at 17:28.
    The Following User Says Thank You to liar For This Useful Post:
    juiceme

     
    m4r0v3r | # 264 | 2015-12-07, 17:06 | Report

    Originally Posted by asa View Post
    Tried to install a keyboard prediction. This is what I get
    Code:
    root@Jolla nemo]#  pkcon install store-client jolla-xt9 jolla-xt9-de                                                                                               
    Command failed: This tool could not find any available package: could not find jolla-xt9-de
    There isn't much that I can go wrong.. Copy and paste.
    you need to go steal the package from your Jolla since its properietary

    Edit | Forward | Quote | Quick Reply | Thanks

     
    romu | # 265 | 2015-12-07, 19:44 | Report

    Originally Posted by asa View Post
    Tried to install a keyboard prediction. This is what I get
    Code:
    root@Jolla nemo]#  pkcon install store-client jolla-xt9 jolla-xt9-de                                                                                               
    Command failed: This tool could not find any available package: could not find jolla-xt9-de
    There isn't much that I can go wrong.. Copy and paste.
    It's just you don't need the "-de" package, the first one is enough as far as I remember.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to romu For This Useful Post:
    asa, BluesLee, juiceme

     
    liar | # 266 | 2015-12-08, 17:07 | Report

    updated android compat layer instructions: http://piratepad.net/FtZYtm4tDY

    (almost) completely untested!
    feel free to update the contents to make the tutorial simpler.

    please share your success/failure experiences

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by liar; 2015-12-09 at 09:04.
    The Following 7 Users Say Thank You to liar For This Useful Post:
    BluesLee, breiti_oi, Bundyo, eekkelund, Feathers McGraw, Jordi, juiceme

     
    BluesLee | # 267 | 2015-12-09, 07:39 | Report

    Originally Posted by liar View Post
    updated android compat layer instructions: http://piratepad.net/FtZYtm4tDY

    completely untested!
    feel free to update the contents to make the tutorial simpler.

    please share your success/failure experiences
    The uploaded CM image seems to be invalid:

    asser failed: getprop("ro.bootloader") == "HHZ11k" || ..

    For the other part one has to install dependency SDL2 and i get:

    error: XDG_RUNTIME_DIR not set in the environment.
    SDL_Init failed

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to BluesLee For This Useful Post:
    juiceme, liar

     
    liar | # 268 | 2015-12-09, 08:24 | Report

    Originally Posted by BluesLee View Post
    The uploaded CM image seems to be invalid:

    asser failed: getprop("ro.bootloader") == "HHZ11k" || ..

    For the other part one has to install dependency SDL2 and i get:

    error: XDG_RUNTIME_DIR not set in the environment.
    SDL_Init failed
    The first issue is that the CM image does not support your bootloader. I have to add your bootloader to the allowed ones (it should work with any bootloader anyways, the original CM image has no differences in startup code but simply has more bootloaders in the allowed bootloader section). I will update this sometime during the day.
    EDIT: It simply allows any bootloader.

    The second issue is that some environment variables are not set. How do you start sfdroid (ssh, terminal-app,...)? Try starting it as normal user (it does not need root permissions anyway).

    I have updated the piratepad to include the sdl2 installation.

    EDIT: I have adjusted the bootloader check, see http://piratepad.net/FtZYtm4tDY

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by liar; 2015-12-09 at 16:16.
    The Following 4 Users Say Thank You to liar For This Useful Post:
    BluesLee, Bundyo, Jordi, juiceme

     
    breiti_oi | # 269 | 2015-12-09, 17:22 | Report

    @liar

    What's the expected behavior, should CM start beside lipstick?
    How can i test if it started?
    And how to get back after i started sfdroid?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    liar | # 270 | 2015-12-09, 17:37 | Report

    Originally Posted by breiti_oi View Post
    @liar

    What's the expected behavior, should CM start beside lipstick?
    How can i test if it started?
    And how to get back after i started sfdroid?
    If you launch sfdroid a window should appear in SailfishOS with the screen contents of android drawn inside that window. If you want to get out of it, simply close sfdroid and kill surfaceflinger, zygote, vold and netd, media and keystore, killing those processes is optional but if you do and relaunch sfdroid it will not render anything anymore.

    EDIT: Also be aware: these services are started during boot, if you want to disable them again apply nh1402's init.rc tutorial in reverse.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by liar; 2015-12-09 at 19:28.
    The Following 5 Users Say Thank You to liar For This Useful Post:
    BluesLee, breiti_oi, Bundyo, Jordi, juiceme

     
    Page 27 of 84 | Prev | 17   25     26   27   28     29   37 | Next | Last
vBulletin® Version 3.8.8
Normal Logout