Active Topics

 


Reply
Thread Tools
Posts: 210 | Thanked: 841 times | Joined on Feb 2013
#1
Update from the field:

https://www.youtube.com/watch?v=78N1C2-6t3I

This will be released soon .

Instructions are on wiki.merproject.org

https://wiki.merproject.org/wiki/Ada...for_hammerhead

https://wiki.merproject.org/wiki/Ada...ishOS_for_mako

Old instructions:

Code:
Don't flash this if you're not able to recover from it. It breaks some things. I hope i can make it better. ONLY FLASH ON A ROM YOU DON'T NEED.

Instructions:
Backup /init.rc from your sfos installation.
$ devel-su
# cp /init.rc /home/nemo/init.rc.bak

Flash with recovery on top of SailfishOS (gapps can be flashed too).
(Multirom: Recovery->Advanced->Multirom->List Roms->your rom->Flash Zip). Then install SDL2:
$ devel-su
# pkcon install SDL2

[hammerhead]
$ devel-su
# usermod -G net_bt_stack -a nemo

Downloads:
v0.9
[Nexus 4/mako] https://www.dropbox.com/s/qspp5s4rvf...-mako.zip?dl=0
CHECK THAT YOU'RE USING SFOS 2.0.0.10 beta9!!! AND CM10.1.3 AS BASE.

v0.9
[Nexus 5/hammerhead] https://www.dropbox.com/s/hwt3tjceom...rhead.zip?dl=0
CHECK THAT YOU'RE USING SFOS 2.0.0.10 AND CM11 AS BASE

changelog v0.9: https://bpaste.net/show/00d571f0b3f0

Remember! Flash on a rom you don't need to test it first.
If you're experiencing any problems with sfos, neutralize sfdroid and see if it works again, then report here.

NEUTRALIZE (disable):
$ devel-su
# cp /home/nemo/init.rc.bak /init.rc

UPDATE flash the new zip.

WHATSAPP: https://www.youtube.com/watch?v=OA4KTPt2wgY

Code:
surfaceflinger buffer <-> unix domain socket <-> sfdroid -> GLES
libinputservice <- uinput <- sfdroid
wifi, hack
most HAL modules disabled (inside android: no sensors, no gps, no bluetooth,...)
irc.freenode.net -> krnlyng

Last edited by liar; 2016-07-19 at 16:37.
 

The Following 46 Users Say Thank You to liar For This Useful Post:
Posts: 187 | Thanked: 121 times | Joined on Jun 2011 @ Subang Jaya, Selangor Darul Ehsan, Malaysia
#2
just out of curiousity, would the use of lxc/docker help?
 
Posts: 210 | Thanked: 841 times | Joined on Feb 2013
#3
Originally Posted by Jeffrey04 View Post
just out of curiousity, would the use of lxc/docker help?
probably not, as far as i know they try to isolate the target from the host, but we want to be able to have a tcp connection between the renderer app and the chroot
 

The Following User Says Thank You to liar For This Useful Post:
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#4
I wonder why a TCP connection. Shouldn't a local Unix datagram socket be good enough but without the additional overhead of network and TCP?
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 

The Following 5 Users Say Thank You to pycage For This Useful Post:
Posts: 210 | Thanked: 841 times | Joined on Feb 2013
#5
Originally Posted by pycage View Post
I wonder why a TCP connection. Shouldn't a local Unix datagram socket be good enough but without the additional overhead of network and TCP?
the main reason why tcp is because that is already implemented.. but if you would like to change it please do so
 

The Following 7 Users Say Thank You to liar For This Useful Post:
Posts: 210 | Thanked: 841 times | Joined on Feb 2013
#6
update:

surfaceflinger does not crash anymore:
https://bpaste.net/show/5520d6e5bc9b

but rendering does not work yet...
initializing renderer process
listening on port 22468
renderer process started
creating sub window
created sub window
FrameBuffer:ost
accepted client
accepted client
 

The Following 6 Users Say Thank You to liar For This Useful Post:
Posts: 165 | Thanked: 625 times | Joined on Oct 2012
#7
Thanks! Does the chroot work(run!) on N9 or it should be compiled from sources?
__________________
My N9 apps: MeeTeleGram, Dukto, Prayers, Saaghar, N9 Easy Boot
Donations are appreciated
 

The Following User Says Thank You to hedayat For This Useful Post:
Posts: 178 | Thanked: 91 times | Joined on May 2011 @ Mira (Venice) - Italy
#8
Originally Posted by liar View Post
probably not, as far as i know they try to isolate the target from the host, but we want to be able to have a tcp connection between the renderer app and the chroot
yes, but you can tell to isolate less I'm not know acl stuff but I use docker for work every day so if you want some help.
 

The Following 3 Users Say Thank You to Vento For This Useful Post:
Posts: 210 | Thanked: 841 times | Joined on Feb 2013
#9
Originally Posted by hedayat View Post
Thanks! Does the chroot work(run!) on N9 or it should be compiled from sources?
the chroot which i uploaded contains a bug which will make surfaceflinger crash (both on n9 and sailfish, i will update it sometime today)
i fear we wont get it to work on the n9 though, because the renderer requires some egl/gles features which we don't have on the n9
 

The Following 2 Users Say Thank You to liar For This Useful Post:
Posts: 210 | Thanked: 841 times | Joined on Feb 2013
#10
current issue, please help, eglCreateContext from libhybris segfaults if share_context != EGL_NO_CONTEXT

it crashes inside the adreno blobs, can we do it without that pbuffer context?

Last edited by liar; 2015-06-18 at 12:32.
 

The Following 2 Users Say Thank You to liar For This Useful Post:
Reply

Tags
apkenv


 
Forum Jump


All times are GMT. The time now is 13:40.