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)

Garp 2014-01-06 19:12

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

Originally Posted by coderus (Post 1404185)
please check with zypper (pkcon install zypper, if not installed):
zypper ref
is there any repositories failed to fetch

Don't know paste from terminal to here (?) but

bash-3.2# zypper ref
Software source 'apps', 'hotfixes', 'jolla' are ajour
Getting metadata from software source 'xt9'
Auten. needed for /store-repository/jolla.com/features/1.0.2.5/xt9/armv7hl
Username: jorgen.garp44@gmail.com
Password: xxxxxxxxxxx
Don't know password normal not correct!

flip1199 2014-01-06 22:55

Re: Porting Sailfish to N9 (or other)
 
I was able to get the file changed but when I go to the store and try to install any application it just stays on waiting?

Quote:

Originally Posted by coderus (Post 1403704)
store finally working, installing applications, receiving updates :)
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=true
release=1.0.2.5
rndRelease=latest

[credentials-store]
password=
username=

[repository-url-variables]
user=honeybadger

[repository-urls]
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/
store=https://store-repository.jolla.com/SbJ/armv7hl/



z720 2014-01-07 00:48

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

Originally Posted by danpio (Post 1401819)
results after install by this method

https://twitter.com/danpio/status/41...617472/photo/1

only install app not run, to run we need... some else

you need kernel 3.3 and above. see this

http://www.androidpolice.com/2012/03...se-smartphone/

Shadwblade2652 2014-01-07 04:59

Re: Porting Sailfish to N9 (or other)
 
How do I get my ubiboot.log file from the directory? Do I do cp [file] [mydocs dir] and then post it?

coderus 2014-01-07 05:08

Re: Porting Sailfish to N9 (or other)
 
@Garp
Code:

ssu rr xt9
ssu rr thirdparty
ssu rr adaptation0
ssu rr adaptation1
ssu up
zypper ref

@Shadwblade2652 right

Shadwblade2652 2014-01-07 06:53

Re: Porting Sailfish to N9 (or other)
 
Didn't find a ubiboot.log ...?

~~~~

Found it :)
ubiboot.log

coderus 2014-01-07 06:56

Re: Porting Sailfish to N9 (or other)
 
/home/user/MyDocs/boot/ubiboot.log

Shadwblade2652 2014-01-07 06:57

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

Originally Posted by coderus (Post 1404430)
/home/user/MyDocs/boot/ubiboot.log

Thanks for the quick reply :) I uploaded it to the last post.

coderus 2014-01-07 07:20

Re: Porting Sailfish to N9 (or other)
 
@Shadwblade2652 starting sailfish kernel is ok, maybe you unpacked tar content incorrectly.

Shadwblade2652 2014-01-07 07:37

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

Originally Posted by coderus (Post 1404434)
@Shadwblade2652 starting sailfish kernel is ok, maybe you unpacked tar content incorrectly.

So should I do the rm -rf command on the sailfish dir and then retry it? I did everything described in the wiki. Perhaps a different image? or should I stick with the latest version?

Garp 2014-01-07 07:40

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

Originally Posted by coderus (Post 1404421)
@Garp
Code:

ssu rr xt9
ssu rr thirdparty
ssu rr adaptation0
ssu rr adaptation1
ssu up
zypper ref

@Shadwblade2652 right

Isn't it possible to paste from terminal Sailfish to here?

Result of code:
after adaptation1
[D] NetworkService::setPath:447 - void NetworkService::setPath(const Qstring&) "Method "GetProperties" with signature "" on interface "net.connman.service" doesn't exist
Zypper ref
Sowtware source 'apps' is ajour
Get metadata from software source 'eas'
Build cache for software source 'eas'
(after same for 'jalnwr' and several others ending with 'store')
Getting metadata from software source 'thirdparty'
Auten. needed for /store-repository/jolla.com/features/1.0.2.5/thirdparty/armv7hl
Username:
Password:

coderus 2014-01-07 07:40

Re: Porting Sailfish to N9 (or other)
 
@Shadwblade2652 yup. maybe you missed --numeric-owner when unpacking? its mandatory option.
@Garp sailfish terminal have broken copy text =(
and execute this:
Code:

url='https://releases.jolla.com/nemo/latest-devel/'
ssu lr | grep "$url" | cut -d' ' -f 3 | xargs -n 1 ssu dr

url="https://releases.jolla.com/thirdparty/latest-devel/"
ssu lr | grep "$url" | cut -d' ' -f 3 | xargs -n 1 ssu dr

url='https://download.jollamobile.com/'
ssu lr | grep "$url" | cut -d' ' -f 3 | xargs -n 1 ssu dr


Garp 2014-01-07 07:49

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

Originally Posted by coderus (Post 1404440)
@Shadwblade2652 yup. maybe you missed --numeric-owner when unpacking? its mandatory option.
@Garp sailfish terminal have broken copy text =(
and execute this:
Code:

url='https://releases.jolla.com/nemo/latest-devel/'
ssu lr | grep "$url" | cut -d' ' -f 3 | xargs -n 1 ssu dr

url="https://releases.jolla.com/thirdparty/latest-devel/"
ssu lr | grep "$url" | cut -d' ' -f 3 | xargs -n 1 ssu dr

url='https://download.jollamobile.com/'
ssu lr | grep "$url" | cut -d' ' -f 3 | xargs -n 1 ssu dr


Before above code market seems to function now installed one app!:)
Edit: Run code anyway? Did so! ssu dr gives a long menu, correct?

Shadwblade2652 2014-01-07 08:07

Re: Porting Sailfish to N9 (or other)
 
I did do --numeric-owner when I unpackaged it...

I'll try it again and post results



~~~~~~~~~~~~~
Exactly what does the sync command do? Is it mandatory?


~~~~~~~~~~~~~~~~
Thank you coderus, that worked :)

I have the black screen but I rebooted and I'm going to see if it works.

juiceme 2014-01-07 08:31

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

Originally Posted by Shadwblade2652 (Post 1404452)
I did do --numeric-owner when I unpackaged it...

I'll try it again and post results

~~~~~~~~~~~~~
Exactly what does the sync command do? Is it mandatory?

Note that at least in some tar implementations the order of options is meaningful when extracting files from an archive, you need to put the options like this:
tar -xvf <filename_of_archive.tar> --numeric-owner -C <target_directory>

The "sync" command makes sure that all file buffers are written to the device. It is pretty good to use especially after unpacking a load of files to make sure the changes really go to the file system.
On the other hand, I do believe that properly unmounting the FS should achieve the same result.

coderus 2014-01-07 09:13

Re: Porting Sailfish to N9 (or other)
 
@Garp anyway, it solve zypper asking for password accessing restricted repository :)

Garp 2014-01-07 10:34

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

Originally Posted by coderus (Post 1404463)
@Garp anyway, it solve zypper asking for password accessing restricted repository :)

Yep, thanks for the help and now both calendar, mail, persons works and sync with Google even better than MeeGo so maybe before long Sailfish will be head OS in this house!:D

Shadwblade2652 2014-01-08 01:28

Re: Porting Sailfish to N9 (or other)
 
any updates on fixing the accelerometer?

coderus 2014-01-08 04:25

Re: Porting Sailfish to N9 (or other)
 
accelerometer working since first version.

Shadwblade2652 2014-01-08 05:24

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

Originally Posted by coderus (Post 1404680)
accelerometer working since first version.

So why're the swipes messed up in direction? Isn't it due to an accelerometer bug?

Shadwblade2652 2014-01-08 05:50

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

Originally Posted by daniel698 (Post 1404688)
what about camera is there any chance in future that it can work..?

I think notifications and swipes are probably the biggest problem at the moment.


Btw, has anybody asked Jolla? In the original post didn't a rep state that they would provide support for the N9

jalyst 2014-01-08 07:48

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

Originally Posted by Shadwblade2652 (Post 1404689)
In the original post didn't a rep state that they would provide support for the N9

They've been very clear (countless times now) what sort of "support" they will provide.
Perhaps (once for all) this needs to be doco'd somewhere, so that this misconception doesn't perpetually arise.

rajnathr 2014-01-08 17:16

Re: Porting Sailfish to N9 (or other)
 
can any one guide me to return back to stock firmware from sailfish, mean to say remove allopenmode ,kernal, dual boot , partition.
Thanks in advance

coderus 2014-01-08 17:30

Re: Porting Sailfish to N9 (or other)
 
@Shadwblade2652 no, its not related to accelerometer, lol :D
@daniel698 no chance, nobody interested in it

Jolla adaptation support is for developers. If you interested you can ask him and they help you where to start digging. Most of mw based on Nemo, so you can start from making adaptation to Nemo, 99% Nemo adaptation goes to Jolla

@rajnathr flasher -F DFL_MAIN_IMAGE.bin -F DFL_EMMC_IMAGE.bin --erase-user-data=secure --no-preserve -f -R

Shadwblade2652 2014-01-09 01:44

Re: Porting Sailfish to N9 (or other)
 
Is it possible for me to uninstall sailfish for the time being and use android on the partition, or is it formatted differently in the bootloader and I have to flash a different version of ubiboot?

Hurrian 2014-01-09 04:40

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

Originally Posted by Shadwblade2652 (Post 1404686)
So why're the swipes messed up in direction? Isn't it due to an accelerometer bug?

It's a bug in the kernel config - Wayland and Lipstick start really quickly - they actually start before the kernel modules for accelerometer, resulting in Lipstick using the screen dimensions as the swipe edges regardless of orientation

The fix is to inline the accelerometer kernel modules - there's a commit pending that fixes this in the kernel config.

coderus 2014-01-09 07:58

Re: Porting Sailfish to N9 (or other)
 
@Hurrian you wrong :)
the reason is framebuffer orientation. harmattan have landscape-oriented framebuffer, but jolla have portrait-oriented. and problem inside jolla lipstick homescreen, it just dont care about other framebuffer orientation, than portrait.

P.S. i made a patch for lipstick: https://together.jolla.com/question/...r-orientation/
but i dont hope it will be applied any time soon, and i cant release hacked binary myself because of copyright issues :(

hbasaran 2014-01-09 12:20

Re: Porting Sailfish to N9 (or other)
 
Hello, as far as i understand it is possible to port jolla sailfish to nokia n9.

But because of several reasons i am unabel to do it myself.


I am willing to pay someone to do it for me.
If there is anyone who is interested, please message me.



(I posted this here because this is the thread for help porting i guess)

Thanks in advance

coderus 2014-01-09 12:37

Re: Porting Sailfish to N9 (or other)
 
did you tried to read Wiki Tutorial? http://wiki.maemo.org/Sailfish

venomcortx1 2014-01-09 12:38

Re: Porting Sailfish to N9 (or other)
 
hbasaran, it's already ported) see first page.

arthurartoria 2014-01-09 13:28

Re: Porting Sailfish to N9 (or other)
 
@coderus

Hello ~

I am using the latest bulid of sailfish port for n9. How can I install your whatsapp apps? I tried to use the sailfish internet browser and downloaded the build from openrepos.com.

However, i still cannot install the app.

please help me. thank you so much.

kibet85 2014-01-09 14:22

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

Originally Posted by coderus (Post 1405037)
@Hurrian you wrong :)
the reason is framebuffer orientation. harmattan have landscape-oriented framebuffer, but jolla have portrait-oriented. and problem inside jolla lipstick homescreen, it just dont care about other framebuffer orientation, than portrait.

P.S. i made a patch for lipstick: https://together.jolla.com/question/...r-orientation/
but i dont hope it will be applied any time soon, and i cant release hacked binary myself because of copyright issues :(


If only,,,:rolleyes:

rajnathr 2014-01-09 15:55

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

Originally Posted by coderus (Post 1404868)
@Shadwblade2652 no, its not related to accelerometer, lol :D
@daniel698 no chance, nobody interested in it

Jolla adaptation support is for developers. If you interested you can ask him and they help you where to start digging. Most of mw based on Nemo, so you can start from making adaptation to Nemo, 99% Nemo adaptation goes to Jolla

@rajnathr flasher -F DFL_MAIN_IMAGE.bin -F DFL_EMMC_IMAGE.bin --erase-user-data=secure --no-preserve -f -R

Will try and let you know if any problem.
Thanks for help

coderus 2014-01-09 16:25

Re: Porting Sailfish to N9 (or other)
 
@arthurartoria pkcon install-local filename.rpm

hbasaran 2014-01-09 17:17

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

Originally Posted by coderus (Post 1405112)
did you tried to read Wiki Tutorial? http://wiki.maemo.org/Sailfish

Yes, but i thinki am going to brick my phone if i try..
I was not abel to to update my n900. I had a hard time trying to figure out what i am doing wrong, but i was still not abel to do it..

I dont have linux and so on..
And its hard for me to understand and follow all the steps because my english is not that well..
Im from Germany..

hbasaran 2014-01-09 17:20

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

Originally Posted by venomcortx1 (Post 1405114)
hbasaran, it's already ported) see first page.

I know.
I ment im not abel to install it on my n9

Silwer 2014-01-09 17:36

Re: Porting Sailfish to N9 (or other)
 
Just try. I am not an computer or linux expert and after few fails and reading over and over again the instructions I managed to install it on my N9. It is not so complicated. Just back up all the data in your phone before you start experimenting... :)

Nad 2014-01-09 18:59

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

Originally Posted by hbasaran (Post 1405193)
Yes, but i thinki am going to brick my phone if i try..
I was not abel to to update my n900. I had a hard time trying to figure out what i am doing wrong, but i was still not abel to do it..

I dont have linux and so on..
And its hard for me to understand and follow all the steps because my english is not that well..
Im from Germany..

I wrote most the guide so it is simple to follow and has pretty much all troubleshooting in the article. Hell, juiceme even made a special version of Ubiboot so people didn't have issues installing Sailfish!

Give it a try and if you run into problems, there are lots of people here to help!

There are also probably some German N9/Meego/Sailfish forums that will also be discussing Sailfish installation on the N9 too I would have thought?

valexi 2014-01-09 19:22

Re: Porting Sailfish to N9 (or other)
 
Could someone write to the wiki instructions how to add patches?

Then we could apply patch that coderus made for Lipstick

daniel698 2014-01-09 19:42

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

Originally Posted by hbasaran (Post 1405109)
Hello, as far as i understand it is possible to port jolla sailfish to nokia n9.

But because of several reasons i am unabel to do it myself.


I am willing to pay someone to do it for me.
If there is anyone who is interested, please message me.



(I posted this here because this is the thread for help porting i guess)

Thanks in advance

may be this tutorial can help u http://www.youtube.com/watch?v=8Ugb4vosobg


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

vBulletin® Version 3.8.8