maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SailfishOS 2.0 Nexus5 based on CM13 alpha release (https://talk.maemo.org/showthread.php?t=99377)

mautz 2017-05-10 11:02

SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Hi!

So, i thought it would be a better idea to start a new thread instead of spamming the 12.1 thread with messages about cm13.

First of all, i want to thank all the people at #sailfishos-porters who helped me countless times, when i was stuck. Thank you guys!

Installation:

Installation is the same as on cm12.1:

Normal install

Multirom install

You need to use this multirom recovery or you won't be able to flash sensorsfix3.zip after installation.

Changelog
Code:

05/22/2019 released SFOS image 3.0.3.9
11/12/2018 released SFOS image 3.0.0.8
11/22/2017 released SFOS image 2.1.3.7
10/07/2017 added OTA instructions
10/07/2017 released SFOS image 2.1.2.3

09/19/2017 released SFOS image 2.1.1.26 build 02
- fixed GPS issue

09/14/2017 released SFOS image 2.1.1.26

09/13/2017 released SFOS image 2.1.1.24

05/16/2017 Released SFOS image 0.3:
- fixed bluetooth sleep issue.

05/11/2017 Released SFOS image 0.2:
- home and adaptation0 repo issues fixed, store works without user intervention.

Needed files:

Multirom recovery: http://www.mediafire.com/file/1cihx7...d_20150630.img

CyanogenMod 13 patched: http://www.mediafire.com/file/970u3n...13_release.zip


SFOS-3.0.3.9 image:
http://www.mediafire.com/file/9hkddf...0.3.9.zip/file


Things that don't work:

- Video recording
- BT calls have bad quality

I hope these things get fixed in the future.

Wifi tethering
See this post

OTA - Over the Air update


repos for updating to 3.2.1.20 can be found here.

Repos for updating to 3.0.3.9 can be found here.

Updating from 2.1.3.7 is a little bit more complicated...read here.

Best way to update SailfishOS is by using an ssh connection to the phone.
Disable all patches and Openrepos repositories before updating.

Before updating use
Code:

ssu lr
to check if "adaptation community"(not to be confused with "adaptation-community-common"!) repo is available. If it is please disable it by using
Code:

ssu dr adaptation-community
.

Add the new adaptation-community-hammerhead repository:
Code:

ssu ar adaptation-community-hammerhead http://repo.merproject.org/obs/home:/mautz:/sfos-latest/sailfishos/
Set desired release version, for example 2.1.2.3:
Code:

ssu release 2.1.2.3
Refresh the package cache:
Code:

pkcon refresh
Upgrade SailfishOS:
Code:

version --dup
Reboot the phone and enjoy the new release.


Known issues:


Mobile settings don't survive a reboot

Following command in terminal should fix this problem.
Code:

devel-su chown radio:radio /var/lib/ofono
UI freeze

This bug still occurs sometimes, mostly after ending a phone call. Most of the time a three finger touch get's the UI working again, but sometimes more fingers are needed. Once i had to do a eight finger touch to unfreeze the UI :D

Time can not be set manually in Settings

Fixed by reinstalling timed-qt5
Code:

devel-su zypper in --force timed-qt5
Hopefuly fixed issues:


GPS not working in 2.1.1.x build
Fixed in 2.1.1.26-build-0.2 image

Install the following rpm to get GPS working again.

MTP not working

Fixed in 2.1.1.26 image, do not flash this kernel on this image!
Flash this kernel with recovery and mtp should work.

Device suspend not working
Fixed in 2.1.0.10-build0.3 image

Seems lile i forgot to enable the script service. Plaese run
Code:

devel-su systemctl enable bt-sleep-monitor.timer
devel-su systemctl start bt-sleep-monitor.timer

in terminal.

Store not working
Fixed in 2.1.0.10-build0.2 image
Enter the following in terminal:
Code:

ssu dr home
ssu dr adaptation0
zypper refresh

Thanks mosen!

Enough for now, happy testing.

Sources are available at GitHub.

mautz 2017-05-10 11:02

Re: SFOS Nexus5 CM13 alpha
 
Custom kernel

http://www.mediafire.com/file/h27qp1...ld-01.zip/file

CPU Governors /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

ConservativeX
ElementalX
Lionheart
SmartMax
Wheatley
Intelliactive
Intellidemand
ZZMoove

CPU Hotplug governors

AutoSMP /sys/kernel/autosmp
BluPlug /sys/module/blu_plug/parameters
Intelliplug ???
MSM Hotplug /sys/module/msm_hotplug
ZZMoove Hotplug /sys/devices/system/cpu/cpufreq/zzmoove
Alucard /sys/kernel/alucard_hotplug
zen_decision /sys/kernel/zen_decision

FileSystem schedulers /sys/block/mmcblk0/queue/scheduler

TripnDroid
fifo
vio
zen
fiops
vr

Other things

Faux Sound Control /sys/kernel/sound_control_3
KCAL control /sys/devices/platform/kcal_ctrl.0/
Backlight mod /sys/block/mmcblk0/queue/scheduler
Powersuspend
Updated graphics drivers(Devfreq instead of KGSL) /sys/class/kgsl/kgsl-3d0/devfreq/
CAF patches and some backports
Neon crypto support
LZ4 image support
kexec-hardboot
Dynamic FSync
MSM thermal instead of original Qcom thermal /sys/kernel/msm_thermal/conf
Fast charge /sys/kernel/fast_charge
Undervolt /sys/devices/system/cpu/cpu0/cpufreq/Uv_mV_Table
Overclock /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
Underclock /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

and some more...

BluesLee 2017-05-10 11:10

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Reserved.

Issue when taking photos (unsolved)
I observe a bigger lag between the release time with sound feedback (?) and the point in time when the photo is taken. Sound feedback should be at the point in time when the photo is taken.

Install keyboard prediction package from official Jolla device as root
Code:

zypper in --download-only --force jolla-xt9
Package can be found somewhere here
Code:

cd /var/cache/zypper/RPMS/xt9/
Installation:
Code:

pkcon install jolla-xt9*
Setting date manually (see post #1)
Code:

devel-su date -s HH:MM::SS

juiceme 2017-05-10 11:33

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by mautz (Post 1527857)

How is this different from the regular cm13? or is it just a storage place for the normal hammerhead cm13 release since https://download.cyanogenmod.org/ seems to be (permanently??) down?

Can you please share your .ks as I always build my own releases..?

mautz 2017-05-10 11:56

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by juiceme (Post 1527861)
How is this different from the regular cm13? or is it just a storage place for the normal hammerhead cm13 release since https://download.cyanogenmod.org/ seems to be (permanently??) down?

Can you please share your .ks as I always build my own releases..?

It is the cm-13.0-20160820-SNAPSHOT-ZNH5YAO0J2-hammerhead.zip with a modified updater script.
I removed the verifying part of the updater-script to get rid of some error messages when installing it via a custom recovery with a not up to date android.

I can post the ks file when i pushed all needed files to OBS.

mosen 2017-05-10 14:47

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
First observation, i had to manually fix Jolla Store by doing
Code:

ssu dr home
ssu dr adaptation0
zypper refresh

All Apps where shown but non was downloadable before.

mautz 2017-05-10 14:53

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by mosen (Post 1527869)
First observation, i had to manually fix Jolla Store by doing
Code:

ssu dr home
ssu dr adaptation0
zypper refresh

All Apps where shown but non was downloadable before.

Another thing i forgot to mention in my first post, thanks, i'll add this.

tealc 2017-05-10 16:56

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
I want to install sudo from mer-tools but get authentication error:
Quote:

ssu ar mer-tools
pkcon refresh
Refreshing cache
Waiting in queue
Waiting for authentication
Fatal error: Failed to obtain authentication.
Quote:

devel-su
pkcon refresh
Refreshing cache
Waiting in queue
Waiting for authentication
Waiting in queue
Starting
Refreshing software list
Fatal error: Authentication failed (is SSU set up correctly?)
Quote:

ssu lr
WARNING: ssu.ini does not seem to be writable. Setting values might not work.
Enabled repositories (global):
- adaptation0 ... https://store-repository.jolla.com/r...rhead/armv7hl/
- apps ... https://releases.jolla.com/jolla-apps/2.1.0.10/armv7hl/
- hotfixes ... https://releases.jolla.com/releases/...fixes/armv7hl/
- jolla ... https://releases.jolla.com/releases/...jolla/armv7hl/

Enabled repositories (user):
- adaptation0 ... https://store-repository.jolla.com/r...rhead/armv7hl/
- mer-tools ... https://releases.jolla.com/releases/...v7hl/packages/
- store ... https://store-repository.jolla.com/h...rsion=2.1.0.10

Disabled repositories (global, might be overridden by user config):

Disabled repositories (user):
- home ... https://download.jollamobile.com/hom...atest_armv7hl/
Edit:
zypper refresh seems to work instead

mautz 2017-05-10 20:48

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
@tealc

Disabling adaptation0 repo should have also worked.

I'll upload a new image which doesn't has the adaptation0 issue.

m4r0v3r 2017-05-10 22:06

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
good job :)


All times are GMT. The time now is 11:13.

vBulletin® Version 3.8.8