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)

Hurrian 2013-12-12 12:46

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by liar (Post 1395396)
i don't kow if it has been said yet, mysatroker.ko is myriads implementation of /dev/binder, with an extra "master" component which is not available in androids binder, i've tried to backport the module to the old n950 kernel but the kernel misses a few functions

Is the source for the Jolla kernel open yet? Also, being a kernel module, shouldn't it be open source (unless they did some creative, but backwards linking workarounds)

In any case, since the 3.x kernel for N9/50 is still not working quite right, how about trying the kernel compat project?

In other news:
Is anybody working on camera and media playback functionality?

It seems that gst-nokia-camera (composed of the closed libomap3camd with only open headers available and libgstcamera for OMAP platforms, by RidgeRun? - GitHub?)

As for media playback, gstreamer plugins should be installed for it - while hardware acceleration may not be available, surely it can be decoded in software unless Jolla's media stack (hopefully not MAFW...) needs HW decode?

kollin 2013-12-12 13:04

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by Hurrian (Post 1395483)
Is the source for the Jolla kernel open yet? Also, being a kernel module, shouldn't it be open source (unless they did some creative, but backwards linking workarounds)

No! Look at nvidia-drivers (closed source) and zfs module (zfs is not GPL-ed) ;)

Demati 2013-12-12 13:19

Re: Porting Sailfish to N9
 
Quote:

Originally Posted by HELLASISGREECE (Post 1395022)
Don't forget the GNexus as well : )

Let's not forget the Nexus 5 either, φίλε! :D

flotron 2013-12-12 14:26

Re: Porting Sailfish to N9 (or other)
 
http://wiki.maemo.org/Sailfish added to first post

mscion 2013-12-12 14:42

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by flotron (Post 1395544)
http://wiki.maemo.org/Sailfish added to first post

Thank you very much. This is looking much more doable (for me). Greatly appreciate everyone's efforts!

romu 2013-12-12 15:42

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by juiceme (Post 1395384)
That's actually a pretty good idea.
It would actually just require a recompile of the CPIO to have such a sailfish-only menu, and binding that with an ubiboot.conf that has nice presets for Sailfish. :)

Thanks !

I think most people are just here to install Sailfish, right?

If we agree, we can even think of removing the kernel choice. Only display 2 icons (Harmattan, Sailfish), and tapping the icon would start the selected OS. Nothing more, pretty simple.

juiceme 2013-12-12 15:50

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by romu (Post 1395585)
Thanks !

I think most people are just here to install Sailfish, right?

If we agree, we can even think of removing the kernel choice. Only display 2 icons (Harmattan, Sailfish), and tapping the icon would start the selected OS. Nothing more, pretty simple.

That's what the autostart feature in your ubiboot.conf is for :D

max83 2013-12-12 15:58

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by flotron (Post 1395544)
http://wiki.maemo.org/Sailfish added to first post

Add this also

zypper ar -G https://releases.jolla.com/releases/...jolla/armv7hl/ jolla
zypper ar -G https://releases.jolla.com/releases/...fixes/armv7hl/ hotfixes


zypper ref
zypper up


access your MMC:

mkdir /home/nemo/MyDocs
chown -R nemo:nemo /home/nemo/MyDocs/
chmod +w /home/nemo/MyDocs/

nano /etc/fstab
/dev/mmcblk0p1 /home/nemo/MyDocs vfat auto,users,rw,umask=000 0 0
Ctrl + X
reboot


[root@localhost ~]# df -B MB
Filesystem 1MB-blocks Used Available Use% Mounted on
rootfs 2581MB 1379MB 1071MB 57% /
/dev/root 2581MB 1379MB 1071MB 57% /
devtmpfs 521MB 0MB 521MB 0% /dev
tmpfs 521MB 1MB 521MB 1% /dev/shm
tmpfs 521MB 2MB 519MB 1% /run
tmpfs 521MB 0MB 521MB 0% /sys/fs/cgroup
tmpfs 521MB 1MB 521MB 1% /tmp
/dev/mmcblk0p 16819MB 91MB 6728MB 2% /home/nemo/MyDocs <--- your MMC
goodluck, thanks to Jolla Vietnam Viva la Vietnam ++ == MAX == ++

SourenAraya 2013-12-12 16:06

Re: Porting Sailfish to N9 (or other)
 
http://n9.araya.su/images/mic_images....10/vgrade/r3/
New release. Now finally audio works fine. And passwords in developer mode setups from UI.

coderus 2013-12-12 16:39

Re: Porting Sailfish to N9 (or other)
 
@SourenAraya tell please what changed. nobody wants to start from scratch :)

Dave999 2013-12-12 16:44

Re: Porting Sailfish to N9 (or other)
 
Anyone knows if swipe is fixed in nemo? Still no swipe down to close?

coderus 2013-12-12 16:48

Re: Porting Sailfish to N9 (or other)
 
@Dave999 still orientation sensor not working in sailfish, still right to left to close

evander_f 2013-12-12 16:57

Re: Porting Sailfish to N9 (or other)
 
@SourenAraya thanks for the update, any way where R2 users can update to R3 without losing data :o

Thanks for the hardwork. :)

vgrade 2013-12-12 17:03

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by SourenAraya (Post 1395599)
http://n9.araya.su/images/mic_images....10/vgrade/r3/
New release. Now finally audio works fine. And passwords in developer mode setups from UI.

Nice work

If you want I can add you to my nemo limited project on OBS so we can keep the limited packages in one place.

BR

vgrade

qole 2013-12-12 17:10

Re: Porting Sailfish to N9 (or other)
 
If someone has the store working properly, can you post your list of repositories from SSU lr and zypper lr ? I have yet to find the magical combination of repos that lets the store actually download native apps.

Mric 2013-12-12 17:20

Re: Porting Sailfish to N9 (or other)
 
@SourenAraya thanks for the update, is it just me but the sound is still crackling in r3 ?

Thanks for the hardwork.

vgrade 2013-12-12 17:26

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by Mric (Post 1395642)
@SourenAraya thanks for the update, is it just me but the sound is still crackling in r3 ?

Thanks for the hardwork.

I wonder if we get this in current nemomobile builds?

vgrade

Mric 2013-12-12 17:30

Re: Porting Sailfish to N9 (or other)
 
I don't think I had this problem using the wayland build for nemo. I can't assure you but I think it is Sailfish related unfortunately. I'm quickly going to ask on #nemomobile if they know anything about crackling sound

vgrade 2013-12-12 17:35

Re: Porting Sailfish to N9 (or other)
 
Can you relate the sound to any action you are performing on the phone ?

Mric 2013-12-12 18:14

Re: Porting Sailfish to N9 (or other)
 
hum, difficult to relate the problem directly to an action.
It does not crackles when the phone is playing music or someone is calling me.
I think it only happens few seconds after a pulley menu has been opened.
Eg:
unlock the phone go to the main page on apps => no crackling
unlock the phone open the pulley menu (no crackling) go to main page of apps (do nothing) => cracking appears

EDIT: It also crackles in silent mode
EDIT2: People using Nemo do not experience this crackling sound.

Gorden 2013-12-12 18:38

Re: Porting Sailfish to N9 (or other)
 
today i would install vgrade-sailfish_r3.tar.bz2 but /media/Alt_OS_/ is empty!oO
Yesterday runs vgrade-sailfish_r2.tar.bz2 !

time tar --numeric-owner -xvjf /home/chris/NokiaN9/vgrade-sailfish_r3.tar.bz2 -C /media/Alt_OS_/

after this, there is nothing in /media/Alt_OS_/

by command rm -rf /media/Alt_OS_/
it comes the failure the ressources are busy

sorry for my bad english, is not my native speak!^^

https://lh6.googleusercontent.com/-m...no/nokian9.png

coderus 2013-12-12 18:45

Re: Porting Sailfish to N9 (or other)
 
@ Gorden remount/reformat partition. dont forget to do [sync] before umount partition after using ;)

yuzmemak 2013-12-12 18:58

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by juiceme (Post 1395112)
Actually, that might well be the reason.
I did not even think about this since I always run aegis-neutered kernels :D

So, @yuzmemak, @flip1199, the solution is that you flash the L2-fixed kernel to your device.

Hi,

This kernel was same I used. I had permission error , when trying mount sailfish directory with same kernel flash.

yuzmemak 2013-12-12 19:10

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by yuzmemak (Post 1394872)
Hi,

I followed tutorial (long) And jump to 6d without installing more ubiboot control.

when I try to mount after devel-su as root

mount /dev/mmcblk0p4 /sailfish

I get following error;

permission denied (are you root?)

I googled and find nothing.

Any help?

Dear Sirs,

could be MOSLO kernel reasons of this error?

Best Regards

coderus 2013-12-12 19:15

Re: Porting Sailfish to N9 (or other)
 
@vgrade @sourenaraya thanks for pushing commit :)
btw, jolla-xt9 and jolla-xt9-cp are installable on my N9 via zypper in
and you can add jolla-files package :)

Garp 2013-12-12 19:42

Re: Porting Sailfish to N9 (or other)
 
Just installed Sailfish vgrade-sailfish_r3.tar.bz2 but as part of Extended partition p6 Sailfish meaning Logical. Don't know if any impact but the screen is 3/4 of normal and function is very bad and can't change it by any edge switch or the like!?

coderus 2013-12-12 19:47

Re: Porting Sailfish to N9 (or other)
 
@Garp you didnt set [vram=6m omapfb.vram=0:6M] to your partition

Garp 2013-12-12 19:56

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by coderus (Post 1395690)
@Garp you didnt set [vram=6m omapfb.vram=0:6M] to your partition

No! How to do that - I used Gparted?

This change?: http://talk.maemo.org/showpost.php?p...&postcount=214

coderus 2013-12-12 20:00

Re: Porting Sailfish to N9 (or other)
 
G_OS6_INIT_CMDLINE_APPENDS="vram=6m omapfb.vram=0:6M"

max83 2013-12-12 20:23

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by coderus (Post 1395679)
@vgrade @sourenaraya thanks for pushing commit :)
btw, jolla-xt9 and jolla-xt9-cp are installable on my N9 via zypper in
and you can add jolla-files package :)

halo codeRUS, my friend, spakunoiche
can u tell us the repository u used for jolla-xt9 and jolla-xt9-cp

very much appreciated

Garp 2013-12-12 20:26

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by coderus (Post 1395695)
G_OS6_INIT_CMDLINE_APPENDS="vram=6m omapfb.vram=0:6M"

Didn't help!:confused:

G_OS1_INITSCRIPT="\/sbin\/preinit_nitdroid"
G_OS2_INITSCRIPT="\/sbin\/preinit_harmattan"
G_OS3_INITSCRIPT="\/sbin\/init"
G_OS4_INITSCRIPT="\/sbin\/preinit_firefox"
G_OS5_INITSCRIPT="\/sbin\/init"
G_OS6_INIT_CMDLINE_APPENDS="vram=6m omapfb.vram=0:6M"

coderus 2013-12-12 20:29

Re: Porting Sailfish to N9 (or other)
 
i'm not using any other repos. just removed and readded repos using ssu. refreshed and can install xt9 now.
Code:

h-3.2# zypper lr
# | Alias                      | Name                        | Enabled | Refresh
--+-----------------------------+-----------------------------+---------+--------
1 | aliendalvik                | aliendalvik                | Yes    | No   
2 | apps                        | apps                        | Yes    | No   
3 | eas                        | eas                        | Yes    | No   
4 | hotfixes                    | hotfixes                    | Yes    | No   
5 | jolla                      | jolla                      | Yes    | No   
6 | limited-nemo-mw            | limited-nemo-mw            | Yes    | No   
7 | mw-limited                  | mw-limited                  | Yes    | No   
8 | nemo-adaptation-n950-n9    | nemo-adaptation-n950-n9    | Yes    | No   
9 | nemo-adaptation-n9xx-common | nemo-adaptation-n9xx-common | Yes    | No   
sh-3.2# ssu lr
connman not AVAILABLE
Enabled repositories (global):
 - apps    ... https://releases.jolla.com/jolla-apps/latest/armv7hl/
 - hotfixes ... https://releases.jolla.com/releases/1.0.1.10/hotfixes/armv7hl/
 - jolla    ... https://releases.jolla.com/releases/1.0.1.10/jolla/armv7hl/

Enabled repositories (user):
 - aliendalvik                ... https://store-repository.jolla.com/releases/1.0.0.5/aliendalvik/SbJ/
 - eas                        ... https://store-repository.jolla.com/features/latest-release/eas/armv7hl/
 - hotfixes                    ... https://releases.jolla.com/releases/1.0.1.10/hotfixes/armv7hl/
 - jolla                      ... https://releases.jolla.com/releases/1.0.1.10/jolla/armv7hl/
 - limited-nemo-mw            ... http://repo.merproject.org/obs/home:/vgrade:/branches:/nemo:/devel:/mw/latest_armv7hl/
 - mw-limited                  ... http://n9.araya.su/repos/nemo-mw_limited_ohm/
 - nemo-adaptation-n950-n9    ... http://repo.merproject.org/obs/nemo:/devel:/hw:/ti:/omap3:/n950-n9/latest_armv7hl/
 - nemo-adaptation-n9xx-common ... http://repo.merproject.org/obs/nemo:/devel:/hw:/ti:/omap3:/n9xx-common/latest_armv7hl/

Disabled repositories (global, might be overridden by user config):

Disabled repositories (user):
 - home          ... https://download.jollamobile.com/home:/honeybadger/latest_armv7hl/
 - hotfixies      ...
 - latest-release ...
 - thirdparty    ... https://store-repository.jolla.com/releases/latest/thirdparty/
 - adaptation0    ... https://releases.jolla.com/releases/latest/nemo/adaptation-n9xx-common/armv7hl/
 - adaptation1    ... https://releases.jolla.com/releases/latest/nemo/adaptation-n950-n9/armv7hl/
 - app            ... https://releases.jolla.com/jolla-apps/latest-release/armv7hl/
 - mer-qt        ... http://repo.merproject.org/obs/mer:/qt:/devel/latest_armv7hl/


coderus 2013-12-12 20:30

Re: Porting Sailfish to N9 (or other)
 
@Garp what are you doing? INITSCRIPT and INIT_CMDLINE_APPENDS are different settings :D

max83 2013-12-12 20:34

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by Garp (Post 1395711)
Didn't help!:confused:

G_OS1_INITSCRIPT="\/sbin\/preinit_nitdroid"
G_OS2_INITSCRIPT="\/sbin\/preinit_harmattan"
G_OS3_INITSCRIPT="\/sbin\/init"
G_OS4_INITSCRIPT="\/sbin\/preinit_firefox"
G_OS5_INITSCRIPT="\/sbin\/init"
G_OS6_INIT_CMDLINE_APPENDS="vram=6m omapfb.vram=0:6M"

Garp I think u might be wrong totally
this is preinit
this is not codeRUS talked about
the thing he mentioned is located on your MyDocs/boot
directory, mine at least is located there
the thing u changed is totally wrong
u must type the codeRUS code inside the ubiboot.conf
the line starts with something like
G_OS6_LABEL="Nemo...."
something like it

u might changed the wrong line of the ubiboot.conf

mikecomputing 2013-12-12 20:36

Re: Porting Sailfish to N9 (or other)
 
Just a tip if you want to keep you user settings when unpack an new image over and old sailfish image:

cd /media/$USERNAME/Alt_OS/

then remove all directorys except home

that way you keep settings in /home/nemo

But dont forget remove /home/nemo/.cache

now just unpack as before eg:

sudo tar --numeric-owner -xjvf /home/mikael/MyStuff/nemo/jolla-n950-kickstart/vgrade-sailfish.tar.bz2

coderus 2013-12-12 20:40

Re: Porting Sailfish to N9 (or other)
 
@mikecomputing just a tip:

gpasswd -a nemo privileged
sed -i 's/system/privileged/' /etc/dbus-1/system.d/org.nemo.passwordmanager.conf
ssu ar mw-limited http://n9.araya.su/repos/nemo-mw_limited_ohm/
zypper ref
zypper in policy-settings-basic-n950


and dont need to download big archive, remove anything and unpack :D

Garp 2013-12-12 20:47

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by max83 (Post 1395718)
Garp I think u might be wrong totally
this is preinit
this is not codeRUS talked about
the thing he mentioned is located on your MyDocs/boot
directory, mine at least is located there
the thing u changed is totally wrong
u must type the codeRUS code inside the ubiboot.conf
the line starts with something like
G_OS6_LABEL="Nemo...."
something like it

u might changed the wrong line of the ubiboot.conf

Thanks, coderus also told it was wrong.
I know it's in ubiboot.config and I did it there but due to this
http://talk.maemo.org/showpost.php?p...&postcount=214
I think it's not the Label line but the iniscript line isn't it?:confused:

Here we are= change that to G_OS6_INITSCRIPT="\/sbin\/init\ vram\=6m\ omapfb.vram\=0\:6M":):)

coderus 2013-12-12 20:55

Re: Porting Sailfish to N9 (or other)
 
@Garp its G_OS6_INIT_CMDLINE_APPENDS line :D

Garp 2013-12-12 20:58

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by coderus (Post 1395736)
@Garp its G_OS6_INIT_CMDLINE_APPENDS line :D

But now it seems to work - se above!;)

coderus 2013-12-12 20:59

Re: Porting Sailfish to N9 (or other)
 
@Garp pervert hero. thats it.


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

vBulletin® Version 3.8.8