maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview (https://talk.maemo.org/showthread.php?t=96932)

abyzthomas 2016-12-14 17:13

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by mautz (Post 1520552)
The problem is the SFOS 2.0.4.13 image, which prevents SFDroid from starting. You need to reinstall using the image 2.0.1.11 image of the first post. You can upgrade to the latest SFOS version afterwards.

There is a problem with 2.0.1.11 image with the phone call echoing at the call recipient end. Someone mentioned that 2.0.4.13 fixes this issue and from my limited use, I can kind confirm it is resolved. Now if someone knows and can tell us how we can apply that fix to 2.0.1.11 image or after installation, that would be great.

abyzthomas 2016-12-14 17:20

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by F0x123 (Post 1520560)
Hey, sfdroid is running :)
Can I use whatsapp and get push notifications?

Whatsapp works


Quote:

Originally Posted by F0x123 (Post 1520560)
And also how can I update SFOS to the latest version? System update tells me the version is the latest, which is not true...

Just follow the instructions on the first post.

Set RELEASE=2.0.5.6

claustn 2016-12-14 17:27

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by abyzthomas (Post 1520564)
Whatsapp works

Yes, but without notification in Sailfish, as he asked

mautz 2016-12-14 19:06

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by abyzthomas (Post 1520563)
There is a problem with 2.0.1.11 image with the phone call echoing at the call recipient end. Someone mentioned that 2.0.4.13 fixes this issue and from my limited use, I can kind confirm it is resolved. Now if someone knows and can tell us how we can apply that fix to 2.0.1.11 image or after installation, that would be great.

Take a look here: https://talk.maemo.org/showpost.php?...&postcount=215

F0x123 2016-12-14 20:11

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by abyzthomas (Post 1520564)
Whatsapp works




Just follow the instructions on the first post.

Set RELEASE=2.0.5.6

Yes I have seen that. But I am new in this topic so I do not know how to start/use that script. I think somehow with the terminal in SFOS.

minimec 2016-12-14 21:48

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by F0x123 (Post 1520572)
Yes I have seen that. But I am new in this topic so I do not know how to start/use that script. I think somehow with the terminal in SFOS.

I would establish a ssh connection with your computer. You can do this in >Settings>'Developer mode'. It makes the upgrade process much easier. You can then connect to the phone with 'ssh nemo@<phone_ip>'.

The upgrade process is not a script, but a chain of different terminal commands. I suggest that you did not yet enable some 'openrepos' repositories.

First... Make sure that 'zypper' is installed
Code:

devel-su pkcon install zypper
Upgrade procedure

1. assign version to variable
Code:

RELEASE=2.0.5.6
2. put the device in release mode
Code:

ssu release $RELEASE
3. Add the Nexus 5 'adaptation0' repository
Code:

devel-su sed -i -e 's#^adaptation=.*$#adaptation=http://repo.merproject.org/obs/home:/RealJohnGalt:/testing:/hammerhead/sailfish_latest_armv7hl/#' \
/usr/share/ssu/repos.ini

4. delete/add/enable 'mw' repository (3 commands)
Code:

ssu dr mw
ssu ar mw http://repo.merproject.org/obs/nemo:/devel:/hw:/common/sailfish_latest_armv7hl/
ssu er mw

5. list repositories (check your changes)
Code:

ssu lr
6. clean/refresh database (2 commands)
Code:

devel-su zypper clean -a
devel-su zypper ref -f

7. start upgrade (That will take a long time. At least 1 hour or even more.)
Code:

version --dup
At some point, the upgrade will stop and 'hang'. Probably at a package similar to 'sociald-onedrive-signon' or so. The upgrade should be more than 80% done (that is my experience). Remember that package name... (write it down somewhere) and abort the installation with 'CTRL+C'.

8. sync/reboot (2 commands). You may have to force shutdown with a 'long press' on the power button.
Code:

sync
reboot

9. reinstall last package
Code:

devel-su zypper in -f <last package>
10. continue with 'version --dup' / sync / reboot
Code:

version --dup
sync
reboot

The upgrade should now be complete. In case the store is not working, disable the 'adaptation0' repository and refresh the database...
Code:

devel-su dr adaptation0
devel-su zypper ref

Update: I changed the procedure to match the indications of the first post in this thread.

mautz 2016-12-14 22:02

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
@ minimec

Nice guide!

The installation up to the crash at around 80% takes around 2 hours...you'll have to abort the installation yourself with 'CTRL+C'.

I always do a 'version --dup' again to install the missing packages, it only takes a few minutes.

mautz 2016-12-14 22:04

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I compiled a new kernel of the cyaonegnmod 12.1-CAF source.

Kernel boots, but lipstick doesn't start.

I get the following error message in journalctl:

Code:

localhost mce[740]: modules/display.c: mdy_stm_step(): ui
start failed, retrying

Any ideas?

minimec 2016-12-14 22:08

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by mautz (Post 1520577)
@ minimec

Nice guide!

The installation up to the crash at around 80% takes around 2 hours...

I always to a version --dup again to install the missing packages, only takes a few minutes.

Yeah. I did that too, but had problems two times now. Last time was the upgrade to 2.0.5.6. It installed 'mesa-llvmpipe' and removed a lot of packages of the 'adaptation0' repository. I lost the whole lipstick GUI interface and had to debug...

Update: The problem I faced may be related to the fact, that I disabled the 'adaptation0' repository too early.

deprecated 2016-12-14 22:15

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by abyzthomas (Post 1520563)
There is a problem with 2.0.1.11 image with the phone call echoing at the call recipient end. Someone mentioned that 2.0.4.13 fixes this issue and from my limited use, I can kind confirm it is resolved. Now if someone knows and can tell us how we can apply that fix to 2.0.1.11 image or after installation, that would be great.

I fixed echoing in the 2.0.1.11 image (old, original hardware adaptation - it is fixed in the 2.0.4.13 image) some time ago. I posted my solution in this thread:

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

With those fixes, it doesn't echo, and the microphone sounds great. Those edits aren't necessary in the newer hardware adaptation, but I guess you need it for sfdroid. Let me know if I can be of further assistance! :D


All times are GMT. The time now is 16:55.

vBulletin® Version 3.8.8