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)

billranton 2013-12-12 21:00

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

Originally Posted by coderus (Post 1395619)
@Dave999 still orientation sensor not working in sailfish, still right to left to close

The orientation sensor is working - Fingerterm rotates correctly on my n9.

Bundyo 2013-12-12 21:08

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

Originally Posted by coderus (Post 1395715)
i'm not using any other repos. just removed and readded repos using ssu. refreshed and can install xt9 now.

jolla-xt9 and jolla-xt9-cp are available in the 1.0.1.10 repos (as opposed to other packages there).

max83 2013-12-12 22:13

Re: Porting Sailfish to N9 (or other)
 
guys, I downloaded jolla-xt9 and jolla-xt9-cp in my own website
maybe they remove it sooner or later
so we better have them in our own server

flotron 2013-12-12 22:23

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

Originally Posted by max83 (Post 1395774)
guys, I downloaded jolla-xt9 and jolla-xt9-cp in my own website
maybe they remove it sooner or later
so we better have them in our own server

http://i.imgur.com/hj7xwTN.gif

Gorden 2013-12-12 22:45

Re: Porting Sailfish to N9 (or other)
 
Give it a bugfix for the accu bme?

czdosi 2013-12-12 22:53

Re: Porting Sailfish to N9 (or other)
 
1 Attachment(s)
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).

SourenAraya 2013-12-12 23:35

Re: Porting Sailfish to N9 (or other)
 
I do not know why sound cracks, when installing package by hand to the minimum image MER cracks were too. In this release I fixed mode switching.

Quote:

Originally Posted by coderus (Post 1395615)
@SourenAraya tell please what changed. nobody wants to start from scratch :)

Code:

zypper ar -G http://n9.araya.su/repos/nemo-mw_limited_ohm ohm
zypper in policy-settings-basic-n950

usermod -a -G privileged nemo
sed -i 's/system/privileged/' /etc/dbus-1/system.d/org.nemo.passwordmanager.conf
reboot



Quote:

Originally Posted by coderus (Post 1395619)
@Dave999 still orientation sensor not working in sailfish, still right to left to close

Accelerometer working, if you rotate phone when fingerterm is running its rotated too. Maybe default orientation is landscape...

Quote:

Originally Posted by vgrade (Post 1395627)
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

yep, good idea.

Hurrian 2013-12-12 23:59

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

Originally Posted by SourenAraya (Post 1395804)
Accelerometer working, if you rotate phone when fingerterm is running its rotated too. Maybe default orientation is landscape...

IIRC, panel used in N9/50 is 854x480, and not 480x854.
NITDroid has to set hwrotation of 90 degress to fix this.

The question is, what needs patching to remap the screen as 480x854?

Garp 2013-12-13 00:15

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

Originally Posted by coderus (Post 1395743)
@Garp pervert hero. thats it.

Yeah now I se what you meant! Hello:!:(
G_OS6_INIT_CMDLINE_APPENDS="vram=6m omapfb.vram=0:6M"
G_OS6_INIT_CMDLINE_FILE=""

As it is with home partition 3.
Ok I will try it even if the other solution also works but maybe yours are better, Sailfish still troublesome and 'heavy' working!

Edit: Thanks, It's better!;)

qole 2013-12-13 00:31

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

Originally Posted by czdosi (Post 1395790)
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.

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.

I just CANNOT get it to put any credentials into the ssu.ini file! It doesn't update the file, no matter how many times I remove my account, add it back, run the store app...

:mad:

vgrade 2013-12-13 00:42

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

Originally Posted by qole (Post 1395822)
I just CANNOT get it to put any credentials into the ssu.ini file! It doesn't update the file, no matter how many times I remove my account, add it back, run the store app...

:mad:

Just worked here with latest kickstart

allowed harbour-puzzle-master to be installed

https://pbs.twimg.com/media/BbU0OUrIgAEQry0.jpg:large

qole 2013-12-13 00:54

Re: Porting Sailfish to N9 (or other)
 
I am using the r2 image, and I edited the ssu.ini file to match czdosi's example. I've rebooted, deleted and re-added my Jolla account, open and closed the store... Nothing works :(

There must be something else...

milanjakob 2013-12-13 00:54

Re: Porting Sailfish to N9 (or other)
 
i followed the guide at http://wiki.maemo.org/Sailfish using windows

after finishing all the steps my n9 just boots into harmattan. ubiboot doesnt even show up. what did i wrong?

thanks :)

vgrade 2013-12-13 01:08

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

Originally Posted by qole (Post 1395826)
I am using the r2 image, and I edited the ssu.ini file to match czdosi's example. I've rebooted, deleted and re-added my Jolla account, open and closed the store... Nothing works :(

There must be something else...

latest kickstart puts nemo user in privileged group , may help

few posts back details steps needed to up r2 to r3 without reflash

vgrade 2013-12-13 01:11

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

Originally Posted by SourenAraya (Post 1395804)
I do not know why sound cracks, when installing package by hand to the minimum image MER cracks were too. In this release I fixed mode switching.


Code:

zypper ar -G http://n9.araya.su/repos/nemo-mw_limited_ohm ohm
zypper in policy-settings-basic-n950

usermod -a -G privileged nemo
sed -i 's/system/privileged/' /etc/dbus-1/system.d/org.nemo.passwordmanager.conf
reboot





Accelerometer working, if you rotate phone when fingerterm is running its rotated too. Maybe default orientation is landscape...



yep, good idea.

What is your OBS id

SourenAraya 2013-12-13 01:17

Re: Porting Sailfish to N9 (or other)
 
I have no OBS id...

flip1199 2013-12-13 01:24

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

Originally Posted by milanjakob (Post 1395827)
i followed the guide at http://wiki.maemo.org/Sailfish using windows

after finishing all the steps my n9 just boots into harmattan. ubiboot doesnt even show up. what did i wrong?

thanks :)

Same happened to me then I followed the instructions to install ubiboot. The ubiboot instructions on swagman.org helped. What I did was run the command, then plug the phone in, immediately after its flashed I unplugged my phone. If you leave it plugged it gives an error. BUT I can only boot into sailfish, if I try harmattan it error out.

milanjakob 2013-12-13 02:08

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

Originally Posted by flip1199 (Post 1395833)
Same happened to me then I followed the instructions to install ubiboot. The ubiboot instructions on swagman.org helped. What I did was run the command, then plug the phone in, immediately after its flashed I unplugged my phone. If you leave it plugged it gives an error. BUT I can only boot into sailfish, if I try harmattan it error out.

it worked! thanks!!

Shadwblade2652 2013-12-13 02:41

Re: Porting Sailfish to N9 (or other)
 
@juiceme
I have firmware:
PR 1.3
40.2013.21-3.239.4.4_PR_239

I'm pretty sure I have the China version with some non-chinese firmware installed because Facebook and Twitter are integrated.

hugon9 2013-12-13 04:56

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

Originally Posted by milanjakob (Post 1395835)
it worked! thanks!!

what worked? boot into sailfis? or into harmattan?

do you have installed ubiboot?

Dave999 2013-12-13 06:32

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

Originally Posted by Hurrian (Post 1395817)
IIRC, panel used in N9/50 is 854x480, and not 480x854.
NITDroid has to set hwrotation of 90 degress to fix this.

The question is, what needs patching to remap the screen as 480x854?

How do NITDroid do this?

qole 2013-12-13 07:40

Re: Porting Sailfish to N9 (or other)
 
Finally, success, with a clean r3 image and csdozi's ssu.ini file!
I suspect part of my problem was messing with "zypper ar -G" and manually adding repos that were also added via the ssu.ini file.

So for the first time, when querying for "puzzle"...

Code:

,---
| SailfishOS 1.0.1.10 (Laadunjärvi) (armv7hl)
'---
[root@n950 ~]# zypper se puzzle
Loading repository data...
Reading installed packages...

S | Name                  | Summary                | Type 
--+-----------------------+------------------------+--------
  | harbour-puzzle-master | Fun jigsaw puzzle game | package


coderus 2013-12-13 08:37

Re: Porting Sailfish to N9 (or other)
 
@vgrade @SourenAraya
i noticed this, when logging to ssh console:
NOTICE: Env value ignored QT_COMPOSITOR_NEGATE_INVERTED_Y=1
can it be a reason? i can't find where this value set.

juiceme 2013-12-13 08:56

Re: Porting Sailfish to N9 (or other)
 
Because it seems that many people have trouble setting up ubiboot environment correctly, I have released a special SailfishOS-version of ubiboot-02-0.3.5

This version contains preconfigured scripts to boot Harmattan and any release of SailfishOS installed to normal location on ALT_OS partition.
Additionally, there are only 2 icons on the startup screen.
The l2-fixed kernel and harmattan preinit file si included

Get the version from here.
Read the documentation before installing.

so there.


---------- edit ----------

Mirror site for the archive on skeiron server.
As well as documentation

SourenAraya 2013-12-13 09:19

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

Originally Posted by coderus (Post 1395882)
@vgrade @SourenAraya
i noticed this, when logging to ssh console:
NOTICE: Env value ignored QT_COMPOSITOR_NEGATE_INVERTED_Y=1
can it be a reason? i can't find where this value set.

https://github.com/faenil/nemo-confi...55400544bf4785

Почему оно появляется при логине через SSH я понятия не имею, если честно. Если под рутом логиниться то ничего такого не возникает.

coderus 2013-12-13 09:26

Re: Porting Sailfish to N9 (or other)
 
@SourenAraya its not the reason, thanks. then need to rotate lipstick itself.

SourenAraya 2013-12-13 09:40

Re: Porting Sailfish to N9 (or other)
 
https://github.com/faenil/nemo-confi...9-n950-ui.conf
Code:

PRE_USER_SESSION_DISPLAY_OPTIONS=-displayX 187 -displayY -187 -displayRotation -90
Тащемта липстик уже повернут но жесты привязаны к реальным низу\верху\итд краям дисплея.

romu 2013-12-13 09:59

Re: Porting Sailfish to N9 (or other)
 
Hi,
As I read this thread I see a lot of people complaining about some non working things, not booting phone, etc. I'm far from being an expert in these areas too, but I can give a simple advice: there is NO need to be in a hurry to install Sailfish.

You can follow the tutorial, step by step. You can open your N9 and live some days. Then you can partition your N9 and still live some days, Harmattan will continue to work. Same for installing Ubiboot to just use Harmattan. And in the end, installing Sailfish. But no one said you have to perform all these steps in the same hour.

romu 2013-12-13 10:01

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

Originally Posted by juiceme (Post 1395887)
Because it seems that many people have trouble setting up ubiboot environment correctly, I have released a special SailfishOS-version of ubiboot-02-0.3.5

This version contains preconfigured scripts to boot Harmattan and any release of SailfishOS installed to normal location on ALT_OS partition.
Additionally, there are only 2 icons on the startup screen.
The l2-fixed kernel and harmattan preinit file si included

Get the version from here.
Read the documentation before installing.

so there.

Really glad to see you made it. Many thanks to you !

EDIT: Just tested, it works. Updating the preinit_harmattan script is mandatory, ubiboot won't work with the previous preinit script.

romu 2013-12-13 10:55

Re: Porting Sailfish to N9 (or other)
 
I've just installed the vgrade r3 version, and I have 2 questions/remarks:
- the method from the tutorial to gain root access (by editing the shadow file), doesn't work. I've tried to open a terminal, type "passwd root" and I get the message "only root can do this". And I type "su", I'm asked for a password, and, of course, blank doesn't work. Any idea?

EDIT: Booting from Harmattan and editing this shadow file shows 2 weird lines:
dbus:!!:16051::::::
sshd:!!:16051::::::

normal?

- is there any issue tracking somewhere where we can list what works and what not?

SourenAraya 2013-12-13 11:44

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

Originally Posted by romu (Post 1395924)
I've just installed the vgrade r3 version, and I have 2 questions/remarks:
- the method from the tutorial to gain root access (by editing the shadow file), doesn't work. I've tried to open a terminal, type "passwd root" and I get the message "only root can do this". And I type "su", I'm asked for a password, and, of course, blank doesn't work. Any idea?

EDIT: Booting from Harmattan and editing this shadow file shows 2 weird lines:
dbus:!!:16051::::::
sshd:!!:16051::::::

normal?

- is there any issue tracking somewhere where we can list what works and what not?

in r3 you dont need this. Go to setings -> developer mode and set password
for nemo user, then in terminal session type devel-su and type password.

Hurrian 2013-12-13 11:53

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

Originally Posted by romu (Post 1395924)
EDIT: Booting from Harmattan and editing this shadow file shows 2 weird lines:
dbus:!!:16051::::::
sshd:!!:16051::::::

Your root login question's been answered, but just FYI: in *nix land, setting the password to !! means that logging in as the account is disabled.

They are system service accounts, just for privilege separation.

coderus 2013-12-13 11:55

Re: Porting Sailfish to N9 (or other)
 
@SourenAraya lipstick notifications not rotated.

vgrade 2013-12-13 12:03

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

Originally Posted by romu (Post 1395924)
I've just installed the vgrade r3 version, and I have 2 questions/remarks:
- the method from the tutorial to gain root access (by editing the shadow file), doesn't work. I've tried to open a terminal, type "passwd root" and I get the message "only root can do this". And I type "su", I'm asked for a password, and, of course, blank doesn't work. Any idea?

EDIT: Booting from Harmattan and editing this shadow file shows 2 weird lines:
dbus:!!:16051::::::
sshd:!!:16051::::::

normal?

- is there any issue tracking somewhere where we can list what works and what not?

Contributions are always welcome, code, bug reports, documentation, testing, integration

vgrade

coderus 2013-12-13 12:08

Re: Porting Sailfish to N9 (or other)
 
@vgrade @SourenAraya i checked bme-rm-680-bin.service not started automatically by some reason and battery not charging. Started it manually with systemctl. Can you check this?

romu 2013-12-13 12:55

Re: Porting Sailfish to N9 (or other)
 
I do confirm battery is not charged.

Hurrian 2013-12-13 13:18

Re: Porting Sailfish to N9 (or other)
 
Looks like MCE is the culprit - here is how the log should look like (BME warns, but starts anyway as MCE runs)

mirjan79 2013-12-13 13:56

Re: Porting Sailfish to N9 (or other)
 
Is it possible to connect to 3G mobile data ??????????????
I'm trying but appears only wifi

TMavica 2013-12-13 13:59

Quote:

Originally Posted by mirjan79 (Post 1395990)
Is it possible to connect to 3G mobile data ??????????????
I'm trying but appears only wifi

Set your APN your in internet connection

Riateche 2013-12-13 14:03

Re: Porting Sailfish to N9 (or other)
 
@vgrade Hello, I've just installed sailfish-1.0.1.10/vgrade-sailfish_r3 version on my N9 and faced some bugs. I suppose many of them are already known but I'm new here and they are not listed on this page, so I'll just write full list here.
  • Created alarms are shown as 1 hour earlier, e.g. when alarm is set to 17:00, it is shown as 16:00. But when editing, it shows 17:00, and alarm actually happens in 17:00. So it's a displaying issue.
  • E-mail autoupdate still doesn't work. (Alarm and calendar notifications didn't work in 1.0.0.5 either for me, but now they work).
  • Edge gestures always work as if the phone was in landscape layour. For example, the gesture from the right edge in portrait orientation closes current app.
  • Battery data is wrong. When booting without charger, it always shows "87%, charger offline". When charger is attached, it switches to "99%, charger online" and remains so until phone is switched off (no reaction on any charging actions).
  • Jolla Store almost doesn't work. Attempt to install any application was failed after several minutes with "problem with installing" error without details (I'm using Russian localization so error text might be different). Version 1.0.0.5 worked better, I managed to install several applications. In 1.0.0.10 I can't even install Scientific Calculator. Standard Jolla apps can't be installed either.
  • Scrolling in Jolla Store works awfully. I don't really know how to describe it. It just acts like I have very low-quality touchscreen. It sometimes moves up and down randomly when I try to scroll it.
  • It wants to update to "SailfishOS 1.0.0.5 (armv7hl,release)". I suppose this is earlier version. This is strange.

Anyway, it's a miracle that the OS is working. I appreciate all efforts very much.


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

vBulletin® Version 3.8.8