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)

Dave999 2013-12-10 20:45

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

Originally Posted by coderus (Post 1394657)
@Dave999 i think accelerometer is not working and current swipe orientation locked to Landscape. do left-to-right swipe to close :)

I do but I wait for a solution, won't upgrade until some solving this issue. Thank you.

mikecomputing 2013-12-10 20:46

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

Originally Posted by Nad (Post 1394654)
Does developer-mode include ssh and fingerterm? I would have thought so.

Also, would inclusion of /etc/passwd allow us to have root access in sailfish or would we run into boot issues? I will try it when I have the time as it would save having to chroot into harmattan just to gain root access on harmattan.

ssh yes but I cant login with password. or change pw damn.

pycage 2013-12-10 20:47

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

Originally Posted by bandora (Post 1394653)
Just wondering.. Does this build include Alien Dalvik or no?

IMHO, this would be piracy if it did. Alien Dalvik is 3rd party software and not part of the Sailfish OS.

coderus 2013-12-10 20:51

Re: Porting Sailfish to N9 (or other)
 
@Dave999 it should be solved in nemo kernel, not the sailfish itself :)

flotron 2013-12-10 20:53

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

Originally Posted by juiceme (Post 1394638)
Yes, it will work just fine, you need to use the kernel on your sailfish /boot/ directory of course. (the default Nemo kernel)

However, I thought you had the simlock problem which prevents you from flashing a non-signed image, or did you manage to get that sorted out?

Thanks juiceme..
and no, i'm stuck with that and tried all :o

medri 2013-12-10 20:57

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

Originally Posted by Nad (Post 1394626)
Have you flashed the latest ubiboot kernel (moslo first, then ubiboot, then copy sailfish)?
Also, has ubiboot.conf and the .cpio file been copied to Hartmattan's /home/user/MyDocs/boot?

I did all of that (exactly as described in the step-by-step tutorial)

vgrade 2013-12-10 21:00

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

Originally Posted by Nad (Post 1394654)
Does developer-mode include ssh and fingerterm? I would have thought so.

Also, would inclusion of /etc/passwd allow us to have root access in sailfish or would we run into boot issues? I will try it when I have the time as it would save having to chroot into harmattan just to gain root access on harmattan.

yes includes sshd and fingerterm but still something stopping password setting from developer mode settings UI.

Yes it can be set manually but I would like to discover what's stopping the UI from setting password

coderus 2013-12-10 21:00

Re: Porting Sailfish to N9 (or other)
 
@medri share your log and config in ubiboot thread to get professional help and not go offtopic here :)

223 2013-12-10 21:01

Re: Porting Sailfish to N9 (or other)
 
Is the port usable for daily usage like sms, calling and surfing? :)

I'm using the N9 as my main phone and wanted to flash sailfish on it, if it is usable (no lag etc.)

And why isn't there a video on youtube of the port running on N9? :confused:

Dave999 2013-12-10 21:06

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

Originally Posted by 223 (Post 1394677)
Is the port usable for daily usage like sms, calling and surfing? :)

I'm using the N9 as my main phone and wanted to flash sailfish on it, if it is usable (no lag etc.)

And why isn't there a video on youtube of the port running on N9? :confused:

No, not for daily use!!!! Maybe because it's not really anything to show yet. It's work in progress.

223 2013-12-10 21:08

Re: Porting Sailfish to N9 (or other)
 
Ok. Thx!!! :d

vgrade 2013-12-10 21:10

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

Originally Posted by 223 (Post 1394677)
Is the port usable for daily usage like sms, calling and surfing? :)

I'm using the N9 as my main phone and wanted to flash sailfish on it, if it is usable (no lag etc.)

And why isn't there a video on youtube of the port running on N9? :confused:

http://mynokiablog.com/2013/12/10/vi...okia-n9-guide/

vgrade 2013-12-10 21:20

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

Originally Posted by vgrade (Post 1394674)
yes includes sshd and fingerterm but still something stopping password setting from developer mode settings UI.

Yes it can be set manually but I would like to discover what's stopping the UI from setting password

Looking at https://github.com/nemomobile/passwo...6068a9fc57a322

arthurartoria 2013-12-10 21:21

Re: Porting Sailfish to N9 (or other)
 
I am lookinf for help, please.

I have followed the tutorial in this post and reflashed my phone, installed the open-mode and the kernel.

talk.maemo.org/showthread.php?t=90761&page=60

Since I have no linux computer, I use the windows method (Step W).

After installing the MOSLO kernel, allow it to repartition your device. Disconnect and boot into Harmattan.
Wa - Download Sailfish image of choice
Wb - In Harmattan, install developer mode if you haven't already. Connect the phone as "Mass Storage Device"
Wc - Copy vgrade-sailfish_proximity-workaround.tar.bz2 to the root of your MMC.
Wd - Disconnect the phone from the PC.
We - Launch Terminal on Harmattan (or SSH in)
devel-su
rootme #or your root pass
cd /home/user/MyDocs/
ls
# you should see all your MyDocs and vgrade-sailfish_proximity-workaround.tar.bz2

mkdir /sailfish
mount /dev/mmcblk0p4 /sailfish
time tar --numeric-owner -xvjf vgrade-sailfish_proximity-workaround.tar.bz2 -C /sailfish/
# this will take a while as its extracting on the handset
# now exit out or jump to Enable root SSH access on Sailfish, starting at "mount -o bind /proc /sailfish/proc"
Sync the disks and unmount all the filesystems:
"sync ; sync ; sync ; umount /media/*"


However, after i have finished all the commands and intructions, i still cannot get the sailfish work. The phone directly boot into the harmattan and no ubiboot is there.

Moreover, I find that there is nothing in my /media/ folder.
When I exeucute the last command in above :

"sync ; sync ; sync ; umount /media/*"

Erros occurs :
umount: can't umount /media/*: No such file or directory

Would anyone please help me? thz so much !

arthurartoria 2013-12-10 21:23

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

Originally Posted by arthurartoria (Post 1394695)
I am lookinf for help, please.

I have followed the tutorial in this post and reflashed my phone, installed the open-mode and the kernel.

talk.maemo.org/showthread.php?t=90761&page=60

Since I have no linux computer, I use the windows method (Step W).

After installing the MOSLO kernel, allow it to repartition your device. Disconnect and boot into Harmattan.
Wa - Download Sailfish image of choice
Wb - In Harmattan, install developer mode if you haven't already. Connect the phone as "Mass Storage Device"
Wc - Copy vgrade-sailfish_proximity-workaround.tar.bz2 to the root of your MMC.
Wd - Disconnect the phone from the PC.
We - Launch Terminal on Harmattan (or SSH in)
devel-su
rootme #or your root pass
cd /home/user/MyDocs/
ls
# you should see all your MyDocs and vgrade-sailfish_proximity-workaround.tar.bz2

mkdir /sailfish
mount /dev/mmcblk0p4 /sailfish
time tar --numeric-owner -xvjf vgrade-sailfish_proximity-workaround.tar.bz2 -C /sailfish/
# this will take a while as its extracting on the handset
# now exit out or jump to Enable root SSH access on Sailfish, starting at "mount -o bind /proc /sailfish/proc"
Sync the disks and unmount all the filesystems:
"sync ; sync ; sync ; umount /media/*"


However, after i have finished all the commands and intructions, i still cannot get the sailfish work. The phone directly boot into the harmattan and no ubiboot is there.

Moreover, I find that there is nothing in my /media/ folder.
When I exeucute the last command in above :

"sync ; sync ; sync ; umount /media/*"

Erros occurs :
umount: can't umount /media/*: No such file or directory

Would anyone please help me? thz so much !

I refers back to my question, do I need to install the ubiboot once?
In the above step (step W), it seems that no ubiboot have been installed?

tubeat 2013-12-10 22:16

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

Originally Posted by arthurartoria (Post 1394698)
I refers back to my question, do I need to install the ubiboot once?
In the above step (step W), it seems that no ubiboot have been installed?

yes u need to install ubiboot first

milanjakob 2013-12-10 22:18

Re: Porting Sailfish to N9 (or other)
 
hi there,

im currently following Nad's instructions (see http://talk.maemo.org/showpost.php?p...&postcount=397)

im almost finished, now at step w.

what am i supposed to after running this command? "time tar --numeric-owner -xvjf vgrade-sailfish_proximity-workaround.tar.bz2 -C /sailfish/" ?

if i enter "mount -o bind /proc /sailfish/proc" afterwards i get the message the no such file or directory exists.

the next step "sync ; sync ; sync ; umount /media/*" also doesnt work.

thanks in advance for your help!

arthurartoria 2013-12-10 22:34

Re: Porting Sailfish to N9 (or other)
 
Please help I installed ubiboot now. but cannot boot into harmatan.

it stays in the green screen :

Boot OS/kernel selection failed!
Please run a amintanance boot.

but i did is reflash the ubiboot kernel and put the .conf and other one file into the EMMC/boot folder

TMavica 2013-12-10 22:39

Check out ubiboot page, LOL

TMavica 2013-12-10 22:43

Quote:

Originally Posted by arthurartoria (Post 1394731)
Please help I installed ubiboot now. but cannot boot into harmatan.

it stays in the green screen :

Boot OS/kernel selection failed!
Please run a amintanance boot.

but i did is reflash the ubiboot kernel and put the .conf and other one file into the EMMC/boot folder

the ubiboot.conf and ubiboot-02.menus.cpio put in /home/user/MyDocs/boot/ , Kernel put in /boot/, preinit_harmattan, preinit_nitdroid put in /sbin/

Edit ubiboot.conf to suit your kernel name

Udemzy 2013-12-10 23:07

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

Originally Posted by arthurartoria (Post 1394695)
I am lookinf for help, please.

I have followed the tutorial in this post and reflashed my phone, installed the open-mode and the kernel.

talk.maemo.org/showthread.php?t=90761&page=60

Since I have no linux computer, I use the windows method (Step W).

After installing the MOSLO kernel, allow it to repartition your device. Disconnect and boot into Harmattan.
Wa - Download Sailfish image of choice
Wb - In Harmattan, install developer mode if you haven't already. Connect the phone as "Mass Storage Device"
Wc - Copy vgrade-sailfish_proximity-workaround.tar.bz2 to the root of your MMC.
Wd - Disconnect the phone from the PC.
We - Launch Terminal on Harmattan (or SSH in)
devel-su
rootme #or your root pass
cd /home/user/MyDocs/
ls
# you should see all your MyDocs and vgrade-sailfish_proximity-workaround.tar.bz2

mkdir /sailfish
mount /dev/mmcblk0p4 /sailfish
time tar --numeric-owner -xvjf vgrade-sailfish_proximity-workaround.tar.bz2 -C /sailfish/
# this will take a while as its extracting on the handset
# now exit out or jump to Enable root SSH access on Sailfish, starting at "mount -o bind /proc /sailfish/proc"
Sync the disks and unmount all the filesystems:
"sync ; sync ; sync ; umount /media/*"


However, after i have finished all the commands and intructions, i still cannot get the sailfish work. The phone directly boot into the harmattan and no ubiboot is there.

Moreover, I find that there is nothing in my /media/ folder.
When I exeucute the last command in above :

"sync ; sync ; sync ; umount /media/*"

Erros occurs :
umount: can't umount /media/*: No such file or directory

Would anyone please help me? thz so much !

Install Ubiboot first follow the steps in the wiki to install it.
When its up and running(I.e shows up at boot). You can go on and install sailfish.

z720 2013-12-10 23:17

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

Originally Posted by vgrade (Post 1394449)
Yes the update if done from device brings in qcom gfx drivers which are not appropriate for n950/n9.

@vgrade then how to upgrade 1.10 in other way ?:confused:

danielcbit 2013-12-10 23:26

Re: Porting Sailfish to N9 (or other)
 
Hi, I installed Sailfish successfully on my N9 using vgrade-sailfish_proximity-workaround.tar.bz2 image.

The OS is running quite OK, but I can't manage to install some apps from the Jolla store (Maps, Notes and other) and although the OS version is 1.0.1.10 the system is still offering update to 10.0.0-10-10.5 which I assumed as being an inferior version (is this correct?).
I also didn't managed to enable the developer mode, it fails like the download of the apps, so I'm still locked out of the OS.

Is the version I'm currently using the latest? How can I enable at list the developer-mode in this one?

Thanks!

vgrade 2013-12-10 23:35

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

Originally Posted by danielcbit (Post 1394752)
Hi, I installed Sailfish successfully on my N9 using vgrade-sailfish_proximity-workaround.tar.bz2 image.

The OS is running quite OK, but I can't manage to install some apps from the Jolla store (Maps, Notes and other) and although the OS version is 1.0.1.10 the system is still offering update to 10.0.0-10-10.5 which I assumed as being an inferior version (is this correct?).
I also didn't managed to enable the developer mode, it fails like the download of the apps, so I'm still locked out of the OS.

Is the version I'm currently using the latest? How can I enable at list the developer-mode in this one?

Thanks!

The developer mode package has been added to the kickstart at https://github.com/martinbrook/jolla-n950-kickstart

But even with this the password is not taken in developer mode gui so you have the latest from me.

Others have been replacing password files in /etc to get access

BR

vgrade

Rogatti 2013-12-11 00:15

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

Originally Posted by Shadwblade2652 (Post 1394355)
Exactly my point. How do I get a PR1.3 image for flashing?


http://mrcrab.net/nokia/Nokia_N9.htm...n=40.2012.21.3

:)

danielcbit 2013-12-11 00:15

Re: Porting Sailfish to N9 (or other)
 
Hi vgrade. Thanks for the info.

Just asking. Is there any chance to some how install the developer mode without re-generating a new Sailfish image? Maybe by chrooting into Harmattan?

Also, all these N9 Images, are they already using wayland backend in Sailfish?

Thanks!

milanjakob 2013-12-11 01:05

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

Originally Posted by Udemzy (Post 1394743)
Install Ubiboot first follow the steps in the wiki to install it.
When its up and running(I.e shows up at boot). You can go on and install sailfish.

do i need to install all the stuff from ubiboot? (nitroid, firefox, nemo etc)

after installing just ubiboot i cant flash the openmode kernel "APE algorithm has to be provided to flash all the subimages"

thanks

SourenAraya 2013-12-11 01:23

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

Originally Posted by vgrade (Post 1394632)

http://n9.araya.su/images/mic_images....10/vgrade/r2/

Image updated.
jolla-apps, zypper and nano installed by default.

Anyway we have issues with pulseaudio, i have no idea why... Everything looks normal, configs and modules exist...

Gizamkd 2013-12-11 01:41

Re: Porting Sailfish to N9 (or other)
 
whitch kernel i need to have in /boot/ for Sailfish ??
when i select sailfish theres no one kernel to select in Ubiboot

tubeat 2013-12-11 03:06

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

Originally Posted by SourenAraya (Post 1394777)
http://n9.araya.su/images/mic_images....10/vgrade/r2/

Image updated.
jolla-apps, zypper and nano installed by default.

Anyway we have issues with pulseaudio, i have no idea why... Everything looks normal, configs and modules exist...

i already install the r1 image
how to install the r2 image?
TY :)

milanjakob 2013-12-11 03:34

Re: Porting Sailfish to N9 (or other)
 
ive been following nads instructions a few times but i couldnt manage to get sailfish running on my n9 (using win8). why is the ubi-boot installation excluded when using windows (jumping to step w)?

i would be happy to have a more detailed guide. thanks alot

tubeat 2013-12-11 03:53

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

Originally Posted by milanjakob (Post 1394792)
ive been following nads instructions a few times but i couldnt manage to get sailfish running on my n9 (using win8). why is the ubi-boot installation excluded when using windows (jumping to step w)?

i would be happy to have a more detailed guide. thanks alot

it happened to me too
then i install ubiboot on step 6
after my phone restart, there are choices OS i want to load on ubiboot appear

sorry for my bad english btw

qole 2013-12-11 04:37

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

Originally Posted by Nad (Post 1393483)
Could someone with permissions please make the following page on the wiki?
http://wiki.maemo.org/Sailfish

This is because the post limit is 15k characters and I keep exceeding it and therefore cannot add all the latest info!

Done. You're welcome. ;)

juiceme 2013-12-11 04:39

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

Originally Posted by milanjakob (Post 1394775)
do i need to install all the stuff from ubiboot? (nitroid, firefox, nemo etc)

after installing just ubiboot i cant flash the openmode kernel "APE algorithm has to be provided to flash all the subimages"

No need to install anything of those, you can choose what you want.

After you have installed ubiboot you do not need to flash kernels any more, you just load them with ubiboot. It is a boot loader, that is what it is used for :D

qole 2013-12-11 04:43

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

Originally Posted by SourenAraya (Post 1394777)
Image updated.
jolla-apps, zypper and nano installed by default.

Anyway we have issues with pulseaudio, i have no idea why... Everything looks normal, configs and modules exist...

I get weird crackling randomly from the speakers.

Definitely odd.

I like the vgrade/SourenAraya version because it has audio, and it is at the new version.

I like the Vietnam mediafire image because it has the official splash screen, it has a terminal, and it lets me SSH in. But it has no audio and it is still the release version.

I like the original Nemo-to-Sailfish version that I installed myself because I swear the camera at least partly works on that version.

juiceme 2013-12-11 04:43

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

Originally Posted by danielcbit (Post 1394771)
Hi vgrade. Thanks for the info.

Just asking. Is there any chance to some how install the developer mode without re-generating a new Sailfish image? Maybe by chrooting into Harmattan?

Also, all these N9 Images, are they already using wayland backend in Sailfish?

All Sailfish images use Wayland, you cannot do it without :D

Shadwblade2652 2013-12-11 05:33

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

Originally Posted by juiceme (Post 1394397)
There are usually constraints/problems flashing another variant to your device. I do not think there is something like "a stock one", there are many country variants and some you can change to another and some you cannot, due to the subversioning of each PR release.
(for example, if you have PR1.3-005 of some country X, you cannot flash to country Y if highest release in country Y is PR1.3-003...)

You should ask in the "comprehensive flashing thread" about these things.


How do I find out the exact image I have? I already know it's not the chinese version of the firmware because it has facebook and twitter already integrated. I also know it's a chinese version because the phone has chinese written on the bottom near the speaker (right next to the wcdma)

Bundyo 2013-12-11 05:35

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

Originally Posted by qole (Post 1394804)
I get weird crackling randomly from the speakers.

Definitely odd.

I like the vgrade/SourenAraya version because it has audio, and it is at the new version.

I like the Vietnam mediafire image because it has the official splash screen, it has a terminal, and it lets me SSH in. But it has no audio and it is still the release version.

I like the original Nemo-to-Sailfish version that I installed myself because I swear the camera at least partly works on that version.

I have the same cracking from time to time. :)

juiceme 2013-12-11 06:19

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

Originally Posted by Shadwblade2652 (Post 1394814)
How do I find out the exact image I have? I already know it's not the chinese version of the firmware because it has facebook and twitter already integrated. I also know it's a chinese version because the phone has chinese written on the bottom near the speaker (right next to the wcdma)

Check what it says on settings/about dialog.
Under the version field, it says "PR1.3" and the firmware version is under that.
For the country variant, see what's written under the sim tray.
If the sim tray has been changed, or device flashed with non-original variant, you can find the variant code also in the 2d-barcode on the settings/about dialog. (it contains your IMEI and variant separated by semicolon)

z720 2013-12-11 06:31

Re: Porting Sailfish to N9 (or other)
 
Can somebody confirm that ?

Dalvik VM source ?


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

vBulletin® Version 3.8.8