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)

mikecomputing 2014-02-14 19:14

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

Originally Posted by chilango (Post 1412084)
Also its an error in Sailfish wiki

The Wiki says:

Step 3 - Flash the OpenMode!
(Optional) Remove the modified kernel warning before installing OpenMode.
Boot up Harmattan
Enable developer mode
Open terminal and type
devel-su
rootme # root's password
disclaimer-cal remove View-openmode

This will cause Problems in harmattan later.

See in Ubiboot Thread

To correctly flash the device for Open Mode, you need to ensure that the Aegis keys and credentials on the device are created with Open Mode keys, not with the default Closed Mode keys.

The Aegis key generation happens the first time a device boots after a clean flash, before user is presented with the UI of the device. Hence, it is important to make sure that the device boots up in Open Mode the first time after flashing. The way to accomplish this is what I call back-to-back flashing.

Someone can fix the wiki?

By the way, i will vote for a Open Mode wiki to collect all the Limitations, Problems and Solutions for Open mode

AFAIK forget about store it will not work and the warehouse app does not work but in that case we can use the browser and download https://openrepos.net/content/matoking/filetug

and terminal:

Code:

cd
pkcon install-local Downloads/harbour-filetug-0.1-7.armv7hl.rpm

Then next time when download new apps with browser you can just install with filetug...

chilango 2014-02-14 22:22

Re: Porting Sailfish to N9 (or other)
 
Hmm Warehouse now is working on my Sailfish N9
But thanks.

mikecomputing 2014-02-14 22:42

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

Originally Posted by chilango (Post 1412820)
Hmm Warehouse now is working on my Sailfish N9
But thanks.

hmm how did you make that work?

chilango 2014-02-14 22:54

Re: Porting Sailfish to N9 (or other)
 
If installing is not the problem.

You have to modify the ssu.ini
Noto only with this one from Corderus. Here in this thread was another ssu.ini
Thats my ssu.ini
Code:

[General]
arch=armv7hl
configVersion=12
credentials-scope=sales
credentials-ttl=1800
credentials-url-jolla=https://download.jollamobile.com
credentials-url-store=https://store-repository.jolla.com
default-rnd-domain=sales
deviceMode=4
disabled-repos=home, adaptation0, adaptation1
domain=sales
flavour=release
home-url=https://dav.jollamobile.com/dav/home/%1/
initialized=true
registered=false
release=1.0.2.5
rndRelease=latest

[credentials-store]
password=new password
username=username

[repository-url-variables]
user=honeybadger

[repository-urls]
aliendalvik=https://store-repository.jolla.com/releases/latest/aliendalvik/SbJ
eas=https://store-repository.jolla.com/features/latest-release/eas/armv7hl/
home=https://download.jollamobile.com/home:/%(user)/latest_%(arch)/
jalnwr=http://repo.merproject.org/obs/home:/SourenAraya:/branches:/nemo:/devel:/mw/latest_armv7hl/
limited-nemo-mw=http://repo.merproject.org/obs/home:/vgrade:/branches:/nemo:/devel:/mw/latest_armv7hl/
mer-tools=http://releases.sailfishos.org/sdk/latest/mer-tools/builds/armv7hl/packages/
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/
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/
openrepos-basil=http://sailfish.openrepos.net/basil/personal/main
store=https://store-repository.jolla.com/SbJ/armv7hl/

Username is your name from Jolla account
Your password you have to look in your sailfish account config. Your Password is not the really that you put its changing in your config-file. This one you have to copy and paste hear

Shadwblade2652 2014-02-15 07:01

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

Originally Posted by mscion (Post 1412783)
I'd love to see this on a Galaxy Note 1 or 2.

If you're looking for the GN 1 or 2 I'd highly suggest starting a thread or searching on the XDA Developers website - This is more oriented towards the N900 and the N9.

smatkovi 2014-02-15 08:42

Re: Porting Sailfish to N9 (or other)
 
could somebody who has a jolla be so kind to send me the root directory without /home because i also have a jolla now, but after a factory reset some things stopped working like other half and android support, even the update to 1.0.3.8 breaks at about 40% if i have tohd.service enabled, when i enable developer mode on 1.0.1.5 and mask the service then the update works

Shadwblade2652 2014-02-15 09:01

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

Originally Posted by smatkovi (Post 1412853)
could somebody who has a jolla be so kind to send me the root directory without /home because i also have a jolla now, but after a factory reset some things stopped working like other half and android support, even the update to 1.0.3.8 breaks at about 40% if i have tohd.service enabled, when i enable developer mode on 1.0.1.5 and mask the service then the update works


Do you have an N9 or a Jolla? If you have a Jolla, then you should post that question in the Sailfish OS section, You'll probably get more help there than here.

flotron 2014-02-15 09:50

Re: Porting Sailfish to N9 (or other)
 
Anyone knows where to get the zip for nexus 4 seen in the YouTube video?
I want to try it in my nexus

coderus 2014-02-15 10:21

Re: Porting Sailfish to N9 (or other)
 
@flotron it wasnt released

smatkovi 2014-02-15 11:43

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

Originally Posted by Shadwblade2652 (Post 1412859)
Do you have an N9 or a Jolla? If you have a Jolla, then you should post that question in the Sailfish OS section, You'll probably get more help there than here.

i have a jolla

coderus 2014-02-15 11:46

Re: Porting Sailfish to N9 (or other)
 
Just create new topic here: http://talk.maemo.org/forumdisplay.php?f=52

topstreamsnet 2014-02-15 15:38

Re: Porting Sailfish to N9 (or other)
 
Hi Guys,

Just did a couple of tries to run SailFish on my N9, tried vgrade-jolla-1.0.3.7 and vgrade-sailfish_r5.1from araya - with the same result, it seems to load, but one third of the vertical screen is not initialized - like I see russian and chinese for "welcome", seems like swiping the screen works - like something changes - but I can hardly consistently control the bahvior and at all having only 2/3 of screen is not the best thing - anybody else ran into this? Any known work around for this?

juiceme 2014-02-15 16:37

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

Originally Posted by topstreamsnet (Post 1412895)
Hi Guys,

Just did a couple of tries to run SailFish on my N9, tried vgrade-jolla-1.0.3.7 and vgrade-sailfish_r5.1from araya - with the same result, it seems to load, but one third of the vertical screen is not initialized - like I see russian and chinese for "welcome", seems like swiping the screen works - like something changes - but I can hardly consistently control the bahvior and at all having only 2/3 of screen is not the best thing - anybody else ran into this? Any known work around for this?

You probably have incorrect kernel parameter for video buffer.
If you are using ubiboot, you need to set the parameter G_OS<x>_INIT_CMDLINE_APPENDS="vram=6m omapfb.vram=0:6M" (where 'x' depends on the set you are using to start your SailfishOS...)

topstreamsnet 2014-02-15 19:57

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

Originally Posted by juiceme (Post 1412907)
You probably have incorrect kernel parameter for video buffer.
If you are using ubiboot, you need to set the parameter G_OS<x>_INIT_CMDLINE_APPENDS="vram=6m omapfb.vram=0:6M" (where 'x' depends on the set you are using to start your SailfishOS...)

Thanks! This helped!

Stsepelin 2014-02-16 16:38

Re: Porting Sailfish to N9 (or other)
 
I don't have any 3G connectivity on my N9.. Is there any chance to get it worked?

mikecomputing 2014-02-16 17:04

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

Originally Posted by Stsepelin (Post 1413018)
I don't have any 3G connectivity on my N9.. Is there any chance to get it worked?

yes,

settings->Mobile->TapAndHold on operator and add your operators APN in there.

Btw. this should be added to the sailfish wiki since it took me days to realize that 3g actually works if doing this :)

coderus 2014-02-16 17:05

Re: Porting Sailfish to N9 (or other)
 
Go to seiings and enter APN

Stsepelin 2014-02-16 17:18

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

Originally Posted by mikecomputing (Post 1413019)
yes,

settings->Mobile->TapAndHold on operator and add your operators APN in there.

Btw. this should be added to the sailfish wiki since it took me days to realize that 3g actually works if doing this :)

Thanks! This helped!

jasimpson89 2014-02-17 22:16

Re: Porting Sailfish to N9 (or other)
 
Having a problem installing Sailfish on my N9. Currently I am using a mac and having a few problems. BTW using this guide (as expected):

http://wiki.maemo.org/Sailfish

My current problems are the following:

1. I keep getting a partition error on my nokia n9. I think the problem is my mac can't open .rpm (although I do have a tool which does it however I don't think it does it correctly). So I have been using a .zip for the MOLSO kernel however I have a feeling that the mac software (flasher etc) aren't compatible with .zip version. Am I correct in thinking this is the case?

2. Has anyone tried this method by installing ubuntu in a virtual machine. I tried using virtualbox however the problem is my virtual box wont detect my n9 in usb mode (I think that is what it is called) it automatically defaults to OSX usb drivers. i.e. (sorry if that hasn't been clear) if I was to run flasher in my virtual machine and in OSX the flasher in OSX would detect the n9.

Yes I have setup guest additions for virtual box which allows usb devices to be used in the virtual machine. I can detect mass storage devices

Just wondered if anyone could help with any of these issues.

Thanks in advance

James

Shadwblade2652 2014-02-18 06:12

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

Originally Posted by jasimpson89 (Post 1413175)
Having a problem installing Sailfish on my N9. Currently I am using a mac and having a few problems. BTW using this guide (as expected):

http://wiki.maemo.org/Sailfish

My current problems are the following:

1. I keep getting a partition error on my nokia n9. I think the problem is my mac can't open .rpm (although I do have a tool which does it however I don't think it does it correctly). So I have been using a .zip for the MOLSO kernel however I have a feeling that the mac software (flasher etc) aren't compatible with .zip version. Am I correct in thinking this is the case?

2. Has anyone tried this method by installing ubuntu in a virtual machine. I tried using virtualbox however the problem is my virtual box wont detect my n9 in usb mode (I think that is what it is called) it automatically defaults to OSX usb drivers. i.e. (sorry if that hasn't been clear) if I was to run flasher in my virtual machine and in OSX the flasher in OSX would detect the n9.

Yes I have setup guest additions for virtual box which allows usb devices to be used in the virtual machine. I can detect mass storage devices

Just wondered if anyone could help with any of these issues.

Thanks in advance

James

You should have unzipped/unarchived the moslo kernel. It has multiple files inside that you need.

If you have it working with flasher on mac, there isn't a need to use a VM as the instructions should be the same as windows to extract sailfish onto the partition

hrbani 2014-02-18 08:10

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

Originally Posted by jasimpson89 (Post 1413175)
Having a problem installing Sailfish on my N9. Currently I am using a mac and having a few problems. BTW using this guide (as expected):

http://wiki.maemo.org/Sailfish

My current problems are the following:

1. I keep getting a partition error on my nokia n9. I think the problem is my mac can't open .rpm (although I do have a tool which does it however I don't think it does it correctly). So I have been using a .zip for the MOLSO kernel however I have a feeling that the mac software (flasher etc) aren't compatible with .zip version. Am I correct in thinking this is the case?
Hi dear friend
If 7-zip has OSX version you can use it for extraction. I used this method for flash: http://wiki.maemo.org/Ubiboot
Are these files useful for you? MOSLO1
or MOSLO2

2. Has anyone tried this method by installing ubuntu in a virtual machine. I tried using virtualbox however the problem is my virtual box wont detect my n9 in usb mode (I think that is what it is called) it automatically defaults to OSX usb drivers. i.e. (sorry if that hasn't been clear) if I was to run flasher in my virtual machine and in OSX the flasher in OSX would detect the n9.
What is your opinion about installation of VMWare ? Did you try it instead of virtualbox? I used Debian instead of Ubuntu and it was very nice for me.

Another way is installation of Windows in VM and following the Windows instruction ;) (I said it because I'm a Windows user)

Yes I have setup guest additions for virtual box which allows usb devices to be used in the virtual machine. I can detect mass storage devices Did you try VMware?

Just wondered if anyone could help with any of these issues.

Thanks in advance

James

I hope it be useful :)

chilango 2014-02-19 04:52

Re: Porting Sailfish to N9 (or other)
 
A question,

be i'am the only one with Warehouse access?
I found my paassword in the equivalent sources.list, why Sailfish dont seems Debian system i didnt have this sources.list in /etc/apt/

So maybe someone can help me in what file i can find the Jolla repositories? its not the ssu.ini

jasimpson89 2014-02-19 22:18

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

Originally Posted by Shadwblade2652 (Post 1413197)
You should have unzipped/unarchived the moslo kernel. It has multiple files inside that you need.

If you have it working with flasher on mac, there isn't a need to use a VM as the instructions should be the same as windows to extract sailfish onto the partition

Hi thanks for the advice I did unzip the kernel however I still seem to get the error.

My initial thought was that the .zip version wasn't working as that would only be compatible with windows, which is why I trying to use ubuntu instead as I thought this maybe the source of error. Just to confirm does this mean that I can follow the windows steps but obviously just use the mac appropriate tools?

@hrbani, apologies it will not let me quote your reply. In answer to your questions:

I think they do have version expect it doesn't do .rpm so at the minute I was using The unarchvier as this does.

I didn't realise that there was different MOSLO kernels? How are they different

I haven't tried VMWare mainly because I thought you had to pay for all of its features, however it does seem to have a free version. I suppose the only "bad" thing about virtualbox is you need java installed to run it. But I suppose that depends how you feel about java on a mac.

Many thanks for all your help

Shadwblade2652 2014-02-20 00:38

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

Originally Posted by jasimpson89 (Post 1413421)
Hi thanks for the advice I did unzip the kernel however I still seem to get the error.

My initial thought was that the .zip version wasn't working as that would only be compatible with windows, which is why I trying to use ubuntu instead as I thought this maybe the source of error. Just to confirm does this mean that I can follow the windows steps but obviously just use the mac appropriate tools?

~~~~~~~~~~~~~~~~

I haven't tried VMWare mainly because I thought you had to pay for all of its features, however it does seem to have a free version. I suppose the only "bad" thing about virtualbox is you need java installed to run it. But I suppose that depends how you feel about java on a mac.

Many thanks for all your help

If I am not mistaken, Java does come preinstalled on a mac (I'm not sure if it's updated, pretty sure 10.7+ should do fine)

And yes,
The Mac OS X steps should be the same. I myself have not used OS X for this (I used my Windows boot), but from my experience the OS X terminal is quite similar to the linux terminal. If you want to try it, try doing the linux commands on the terminal app. They should be similar if not the same.

TL;DR
Do everything that Windows does. Use the flasher tool, copy the sailfish.tar.bz2 and extract it through the terminal, etc. Windows will work fine.

milad ghusn 2014-02-20 09:55

Re: Porting Sailfish to N9 (or other)
 
hi all .after flash my device with open mode kernel , some apps on harmattan close automaticly , any fix for that problem ??

Ancelad 2014-02-20 10:04

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

Originally Posted by milad ghusn (Post 1413488)
hi all .after flash my device with open mode kernel , some apps on harmattan close automaticly , any fix for that problem ??

http://talk.maemo.org/showpost.php?p...13&postcount=1

mmartin 2014-02-20 16:52

Re: Porting Sailfish to N9 (or other)
 
Hi all,
do you know how can i update my N9 to Naamankajärvi :-) ? Now i have older version. Automatic update writing system is "Up to date" and tar file with newer version i cannot find.

Now i have version 1.0.2.5 and Naamankajärvi is 1.0.3.8

coderus 2014-02-20 18:15

Re: Porting Sailfish to N9 (or other)
 
you can only use 1.0.2.5 on n9

coderus 2014-02-20 20:13

Re: Porting Sailfish to N9 (or other)
 
sorry my stupid typo. its 1.0.2.5 of course :)

flotron 2014-02-20 20:18

Re: Porting Sailfish to N9 (or other)
 
On the nexus 4 video i see that he install CyanogenMod then a sailfish ZIP (sffe-lg-mako-cm-10.1.zip).
That zip can be created from one these links??

https://github.com/mer-hybris
https://github.com/libhybris/libhybris
https://github.com/sledges/hybris-boot

mmartin 2014-02-20 21:39

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

Originally Posted by coderus (Post 1413548)
you can only use 1.0.2.5 on n9

Why? I want use my camera (not work), I want landscape mode and I want drop several bugs :) as listed in the release notes.

Where is the problem? This path is not compatible with N9?

venomcortx1 2014-02-20 21:43

Re: Porting Sailfish to N9 (or other)
 
@mmartin, yes. the latest version for n9 is 1.0.2.5) This path is not compatible with N9 > 1.0.2.5

gd81n 2014-02-21 02:39

Re: Porting Sailfish to N9 (or other)
 
What's the current status for kernel 3.x on the N9?

Afaik this is whats toping the N9 from the latest updates.

mmartin 2014-02-21 07:25

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

Originally Posted by gd81n (Post 1413584)
What's the current status for kernel 3.x on the N9?

Afaik this is whats toping the N9 from the latest updates.

If you(they) need, I can help with testing.

Danderlion 2014-02-21 09:16

Re: Porting Sailfish to N9 (or other)
 
I can help test any new kernels too. My n9 is just collecting dust since I got my xperia z1 so it's free for any testing use.

coderus 2014-02-21 09:20

Re: Porting Sailfish to N9 (or other)
 
http://talk.maemo.org/showthread.php?t=86971

nitrosalitre 2014-02-22 01:48

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).



hey what is the root password?

coderus 2014-02-22 09:14

Re: Porting Sailfish to N9 (or other)
 
password for devel-su generated/set in developer mode settings

vgrade 2014-02-24 12:11

Re: Porting Sailfish to N9 (or other)
 
New version seen at mwc 1.0.4.1

Quote:

Originally Posted by mmartin (Post 1413535)
Hi all,
do you know how can i update my N9 to Naamankajärvi :-) ? Now i have older version. Automatic update writing system is "Up to date" and tar file with newer version i cannot find.

Now i have version 1.0.2.5 and Naamankajärvi is 1.0.3.8


lazart 2014-02-24 17:06

Re: Porting Sailfish to N9 (or other)
 
is it possible to install Sailfish to the N9 without loosing all the data? Keep the rootfs and /home?


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

vBulletin® Version 3.8.8