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)

valexi 2013-12-14 20:55

Re: Porting Sailfish to N9 (or other)
 
Did they tell, how they did it?

aard 2013-12-14 21:15

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

Originally Posted by coderus (Post 1396170)
@anapospastos BATTERY STATUS DISPLAYING NOT IMPLEMENTED!!! ITS NOT A PART OF BME OR NEMO OR SYSTEM OR SAILFISH. IT SHOULD BE DONE SEPARATELY!

I tried and made small utility to check bme status with ipc and it charging. Dont worry :)

The problem here is that N9 adaptation still uses the old contextkit implementations for BME (and a few other things); we got rid of contextkit completely, and only provide the API (but not ABI) -> to get things like battery status working someone needs to write statefs providers for all the parts where the N9 adaptation currently has contextkit providers.

liar 2013-12-14 22:04

Re: Porting Sailfish to N9 (or other)
 
i have been able to load the mysatroker modulel into a 2.6.32.54 kernel and it seems it's working (if i sart yandex the wlan menu pops up) but i dont see any visuals from the app (no wondow in homescreen)

aironeous 2013-12-14 23:06

Re: Porting Sailfish to N9 (or other)
 
Did xda forums remove the sailfish OS subforum? I can't find it anymore.

solidpace 2013-12-14 23:54

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

Originally Posted by aironeous (Post 1396621)
Did xda forums remove the sailfish OS subforum? I can't find it anymore.

http://forum.xda-developers.com/jolla-sailfish/general

w00t 2013-12-15 00:40

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

Originally Posted by coderus (Post 1396278)
yes, camera working on own internal jolla port. but it will be released never :)

Our N950 hardware adaptation is (or should I say: was, since we no longer have one) the same as Nemo's N950 hardware adaptation. There is nothing different at that level, so I'm curious why you'd think that.

For the record, I just dug out my N950 running the last official Jolla+N950 release from some months ago, and no, it doesn't work.

vgrade 2013-12-15 02:11

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

Originally Posted by max83 (Post 1396560)
Jolla Vietnam recently overcame to the rotation problem and video play back
http://www.youtube.com/watch?v=oZHtXQKDp68

Any contribution welcome at https://github.com/martinbrook/jolla-n950-kickstart

aironeous 2013-12-15 02:55

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

Originally Posted by solidpace (Post 1396633)

But look, it's no longer on the OS list here,
http://forum.xda-developers.com/index.php

max83 2013-12-15 04:10

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

Originally Posted by vgrade (Post 1396650)

@vgrade they havent released the code yet
initially they finished it up, I will posted here
mean-while me and my team working on android part
Jolla ruski (Jolla Russia) works on kernel 3.5 adaptation
I hope we hear good news soon

coderus 2013-12-15 06:09

Re: Porting Sailfish to N9 (or other)
 
Jolla Russki made statefs provider for harmattan bme: https://github.com/nemomobile/statefs-providers/pull/6 :D
@w00t hmm, i remember i saw video on some preview with n950

max83 2013-12-15 07:44

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

Originally Posted by czdosi (Post 1395790)
Hi there, I have some notes to ssu configuration and Store application.

I played with it a lot. And there is version of /etc/ssu/ssu.ini which works for me in last vgrade image (r3). Note: there is missing part in the file:
Code:

[credentials-store]
password=some_pwd_hash
username=your_jolla_acount_username

But Store application should add it for you.

To try if file works for you just do:
1. Backup your old ssu.ini (for sure)
2. Replace by my file (remove .txt from end of file name)
3.
Code:

ssu ur #refresh zypp repositories
4.
Code:

ssu lr #to check
Output of last command should be:
Code:

Enabled repositories (global):
 - apps    ... https://releases.jolla.com/jolla-apps/1.0.1.10/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.1.10/aliendalvik/SbJ/
 - eas            ... https://store-repository.jolla.com/features/latest-release/eas/armv7hl/
 - limited-nemo-mw ... http://repo.merproject.org/obs/home:/vgrade:/branches:/nemo:/devel:/mw/latest_armv7hl/
 - nemoadaptation0 ... http://repo.merproject.org/obs/nemo:/devel:/hw:/ti:/omap3:/n9xx-common/latest_armv7hl/
 - nemoadaptation1 ... http://repo.merproject.org/obs/nemo:/devel:/hw:/ti:/omap3:/n950-n9/latest_armv7hl/
 - store          ... https://store-repository.jolla.com/SbJ/armv7hl/

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

Disabled repositories (user):
 - adaptation1 ... https://releases.jolla.com/releases/1.0.1.10/nemo/adaptation-n950-n9/armv7hl/
 - thirdparty  ... https://store-repository.jolla.com/releases/1.0.1.10/thirdparty/
 - adaptation0 ... https://releases.jolla.com/releases/1.0.1.10/nemo/adaptation-n9xx-common/armv7hl/

After that, run Store application and try install something (not Android support). Or if it doesn't work remove yours Jolla account and add it again.


Notes:
1. Don't use "release=latest", because it seems that simlink on server points to 1.0.0.5. Which causes information about update still occur.
2. Default configuration (if I removed ssu.ini and run ssu and Store) for repos "store" and "aliendalvik" contains string "N9" instead of "SbJ". But URL with "N9" is invalid.
3. Same for "adaptation0" and "adaptation1" -- repos was generated automatically but probably exists only on protected Jolla servers (unfortunately).

what do u mean by some_pwd_hash
what kinda hash needed?
sha1 AES or what?

coderus 2013-12-15 07:55

just copy from your own file.

max83 2013-12-15 08:13

Re: Porting Sailfish to N9 (or other)
 
which file codeRUS?
can u just answer specific?
there isnt any has in my ssu.ini file

Dave999 2013-12-15 08:40

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

Originally Posted by max83 (Post 1396560)
Jolla Vietnam recently overcame to the rotation problem and video play back
http://www.youtube.com/watch?v=oZHtXQKDp68

This is great work and excellent news. I will try to track down the guy and point him in this direction...

coderus 2013-12-15 09:16

Re: Porting Sailfish to N9 (or other)
 
@max83 your ssu.ini. copy your credentials to@czdosi ini

solidpace 2013-12-15 09:39

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

Originally Posted by aironeous (Post 1396651)
But look, it's no longer on the OS list here,
http://forum.xda-developers.com/index.php

The XDA forums default to showing only "Top Devices", clicking on "ALL" brings up the full list of forums. :)

max83 2013-12-15 09:47

Re: Porting Sailfish to N9 (or other)
 
we found something weird in the sailfish android boot
that might be the cause of the conflict
boot.img-cmdline:

init=/sbin/preinit root=/dev/mmcblk0p28 rootfstype=btrfs rootflags=recovery noinitrd androidboot.hardware=qcom user_debug=31 ehci-hcd.park=3 maxcpus=2

the problem might be that mmcblk0p28 which it is not exist
any one has any suggestions?

billranton 2013-12-15 10:20

Re: Porting Sailfish to N9 (or other)
 
Some time ago there was a tweet from Jolla stating that there was support in Sailfish for a standby screen on AMOLED devices. That package wouldn't be installed on the Jolla phone, but has anyone seen any candidates in the repo?

SourenAraya 2013-12-15 10:39

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

Originally Posted by max83 (Post 1396703)
we found something weird in the sailfish android boot
that might be the cause of the conflict
boot.img-cmdline:

init=/sbin/preinit root=/dev/mmcblk0p28 rootfstype=btrfs rootflags=recovery noinitrd androidboot.hardware=qcom user_debug=31 ehci-hcd.park=3 maxcpus=2

the problem might be that mmcblk0p28 which it is not exist
any one has any suggestions?

Code:

rootflags=recovery

anapospastos 2013-12-15 13:53

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

Originally Posted by aard (Post 1396593)
The problem here is that N9 adaptation still uses the old contextkit implementations for BME (and a few other things); we got rid of contextkit completely, and only provide the API (but not ABI) -> to get things like battery status working someone needs to write statefs providers for all the parts where the N9 adaptation currently has contextkit providers.

Thanks for the details. Coderus was yelling, writing uppercase, trying to explain before.

coderus 2013-12-15 14:51

Re: Porting Sailfish to N9 (or other)
 
@anapospastos sorry i'm hard for explanations. i'll better fix that stuff for Nemo :D

TMavica 2013-12-15 14:57

Re: Porting Sailfish to N9 (or other)
 
go ahead coderus!

Dave999 2013-12-15 15:23

Re: Porting Sailfish to N9 (or other)
 
Wow. How did I miss this thread. Brilliant job guys!

Sailfish for N9 will kick your *** for sure.

Latest images is post one?

w00t 2013-12-15 16:02

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

Originally Posted by coderus (Post 1396664)
@w00t hmm, i remember i saw video on some preview with n950

Back before the move to Qt 5/Wayland, the camera worked. After the move, it doesn't. I don't know the details of why, I'm not really much familiar with multimedia.

HELLASISGREECE 2013-12-15 16:46

Re: Porting Sailfish to N9 (or other)
 
Just installed it on both of my N9s.
I am impressed and hoping for the best in the future

Who knows.. maybe in a couple of months it will be perfect (or near perfect) for everyday use!

coderus 2013-12-15 17:11

@w00t thanks, yes, i meant old x11 demo.

HELLASISGREECE 2013-12-15 17:56

Re: Porting Sailfish to N9 (or other)
 
One of my N9s ran out of battery. What happens now? It does not respond to charging.

danielcbit 2013-12-15 18:04

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

Originally Posted by HELLASISGREECE (Post 1396817)
One of my N9s ran out of battery. What happens now? It does not respond to charging.

You can try using flasher to charge it.

Just run it with -f -F image.bin -c and it will start and charge until 11%. After that it will start flashing the phone, so just hit ctrl + c when it reaches 10% and then run flasher -R to reboot.

After that the phone should charge normally when in Harmattan.

HELLASISGREECE 2013-12-15 18:07

Re: Porting Sailfish to N9 (or other)
 
yeah, did just that and it worked!

mikecomputing 2013-12-15 18:11

Re: Porting Sailfish to N9 (or other)
 
For those who not yet has seen it:

I recommend install qdbus to see what API can be exposed over dbus.

just installed on my phone and found that there is dbus enabled API for ambiance changing to play with ;)

Code:

/usr/lib/qt5/bin/qdbus com.jolla.ambienced /com/jolla/ambienced
signal void com.jolla.ambienced.contentChanged(int type)
method void com.jolla.ambienced.createAmbience(QString url)
method void com.jolla.ambienced.indexFile(QString url)
method void com.jolla.ambienced.installPackage(QString path)
method void com.jolla.ambienced.remove(int contentType, qlonglong contentId)
method void com.jolla.ambienced.saveAttributes(int contentType, qlonglong contentId, QVariantMap args)
method void com.jolla.ambienced.setAmbience(QString url)

for example i tested:

Code:

/usr/lib/qt5/bin/qdbus com.jolla.ambienced /com/jolla/ambienced setAmbience http://jollawalls.com/linbk_to_your_favourite_picture
I guess also: file://localfilesystem_on_your_jolla should work :)

+Ivan 2013-12-15 21:33

Re: Porting Sailfish to N9 (or other)
 
Hi all. First of all, thanks for the great work. Being able to play with Sailfish is awesome.

I have one question though, is anyone else having problems with the microphone volume? When I tried to make a call, the sound was extremely faint.

From what I've seen pacmd returns 100% for all devices. Is there a boost mic mode or something similar?

Alecsandru 2013-12-15 22:13

Re: Porting Sailfish to N9 (or other)
 
why is called ° Porting Sailfish to N9 (or other) ° if n900 users are leaved out of question , some could help with wayland on n900?

max83 2013-12-16 01:29

Re: Porting Sailfish to N9 (or other)
 
latest news jolla has banned the 'metacuong' account
this means there wont be any free access to the jolla's repositories
which before this it was operational with Jolla Vietnam tar ball image
it seems they sniff and monitor our activities
or maybe we have some spys among us

soryuuha 2013-12-16 01:33

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

Originally Posted by max83 (Post 1396907)
latest news jolla has banned the 'metacuong' account
this means there wont be any free access to the jolla's repositories
which before this it was operational with Jolla Vietnam tar ball image
it seems they sniff and monitor our activities
or maybe we have some spys among us

im not surprised, some post at many pages back did mentioned about free access to jolla repo. and jolla rep are lurking around here too for feedbacks :)

max83 2013-12-16 01:37

Re: Porting Sailfish to N9 (or other)
 
so from now on we do not expose our progress
we will find a way to upload all their repositories on our own data center
jolla the war begins hahaha!!!

HELLASISGREECE 2013-12-16 01:44

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

Originally Posted by Alecsandru (Post 1396887)
why is called ° Porting Sailfish to N9 (or other) ° if n900 users are leaved out of question , some could help with wayland on n900?

Nexus! This has to be ported to Gnexus & N4!

Stskeeps 2013-12-16 06:37

Re: Porting Sailfish to N9 (or other)
 
Just copying what I wrote on Facebook:

"Camera, GPS is not working on N950/N9 because the hardware support for it has never been there, even in Mer/MeeGo.com Wayland N9 images, not because Sailfish doesn't support it. Android Runtime doesn't work on N9 because the runtime is very per hardware specific. Store - did you include one jolla.com login in many different device installations, such as storing it in tarballs you've redistributed? That will cause technical problems."

In addition to that: Aard pretty well wrote that the main repositories are intentionally open, but there are bits in device or store specific repositories that cannot be distributed to every device and it's sincerely hoped that people will respect this split.

This shouldn't be an arms race as it'll ruin it for everybody that tries to enjoy Sailfish on different devices. And that's not how it should be.

As a general technical advice, stick to providing images only that are generated with 'mic' tool from a kickstart file and not manually put together. Otherwise images are practically clones of running installations and people will have problems connecting to Jolla services, have installation problems, due to all those installations being seen as one. It is also not very recommended to leave your logins in the images.

qole 2013-12-16 07:29

Re: Porting Sailfish to N9 (or other)
 
The frustrating thing is that the camera was working in the X11 Nemo version! That suggests that the drivers are there, no? Or can you not use X11 drivers for Wayland?

Also, the rotation bug is very odd. It seems to affect only some apps or parts of apps.
For instance, Puzzle Master is 100% rotated 90 degrees, while Maps displays correctly, but the panning gestures are rotated.

Very weird!

Stskeeps 2013-12-16 07:36

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

Originally Posted by qole (Post 1396936)
The frustrating thing is that the camera was working in the X11 Nemo version! That suggests that the drivers are there, no? Or can you not use X11 drivers for Wayland?

Camera stack was fairly tied to Xv from recollection, but a clever fellow may be able to get something working with gst-wayland as frame sink. Time wasn't really spent on Wayland bits of N9.

MSameer 2013-12-16 10:44

Re: Porting Sailfish to N9 (or other)
 
Camera bits should all be there in nemo. The only missing part AFAICT is a GStreamer sink for wayland. gstwaylandsink could be used. I haven't tried it myself.

Someone can try something like this:
gst-launch subdevsrc2 ! ffmpegcolorconv ! waylandsink

And see if you can get any picture.

Anyway, this is not sailfish specific but sailfish camera app most likely will not run on n9,


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

vBulletin® Version 3.8.8