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 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 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/ Code:
ssu release 2.1.2.3 Code:
pkcon refresh Code:
version --dup 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 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 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 Store not working Fixed in 2.1.0.10-build0.2 image Enter the following in terminal: Code:
ssu dr home Enough for now, happy testing. Sources are available at GitHub. |
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... |
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 Code:
cd /var/cache/zypper/RPMS/xt9/ Code:
pkcon install jolla-xt9* Code:
devel-su date -s HH:MM::SS |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Quote:
Can you please share your .ks as I always build my own releases..? |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Quote:
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. |
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 |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Quote:
|
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
I want to install sudo from mer-tools but get authentication error:
Quote:
Quote:
Quote:
zypper refresh seems to work instead |
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. |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
good job :)
|
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Holy crap! This is amazing news!
Edit: btw mautz, does this include any of the custom kernel stuff from your CM12 releases? e.g., undervolting/underclocking, governor selection etc? |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Quote:
|
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Released sailfishos-hammerhead-release-2.1.0.10-new-build_0.2, which fixes the repo issues of the previous image. Still no clue why timed-qt5 isn't able to change the clock via gui.
|
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Quote:
how did you fix this repo issue permanently? Currently, every time i use zypper or pkcon i have to drop adaptation0. Thanks. Blues p.s. Solution: See first post of mautz. |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Did anyone fixed the missing word prediction? The package jolla-xt9 ot any xt9 package seems not be provided by any repo.
|
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
So I tried installing AlienDalvik, and followed the general procedure (at least, what it was for 2.0.x), but I get this:
Code:
# systemctl start aliendalvik Code:
systemctl status aliendalvik Code:
aliendalvik.service - Myriad Alien Dalvik |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
@BluesLee
The xt9 packages are only available on official Jolla devices. So you need to download them with a jolaa device and copy them to the N5, the same applies to the Jolla Maps application. @icyphox I never got aliendalvik work with cm13. Maybe it's because of different kernels. Just be patient, nh1402 is trying to get get anbox working on sailfish :-) |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Please, someone give some kind of management summary of the differences between sfdroid and anbox. I lost track...
Will docker make it easier to deploy anbox on different sfos devices? How about sfos system integration? (android -> GPS, BT, sailfish -> Notifcations, contacts, etc.) I heard Jolla hired a new android related guy. Could they be working on replacing soon to be dead horse Alien Dalvik for good? Sorry for starting rumors and shifting OT but it bothers me a lot. |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Quote:
Anbox uses a separate emulator image which runs inside an LXC container, and renders to the host Linux OS. Because a seperate image is used, and that it's an emulator image, the same image can be booted to with different devices without modification (which was needed with sfdroid), so any modifications (ie. to get rendering, sensors, network stuff working) will apply to all devices. |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Very cool!
Does that also mean it is possible to switch the emulator image when a new android is released and keep the work done to adapt anbox to sailfish? |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Quote:
|
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
I have problems with Settings->Mobile network->Data access point->Access point name being reset to an incorrect value when restarting the handset resulting in mobile data stops working. Not sure if this problem is specific for nexus 5.
Besides this it seems to work well except for a little bit more battery drain than older versions (using default kernel). |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Quote:
|
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Quote:
|
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Quote:
Code:
mcetool --get-suspend-stats Code:
systemctl stop hciattach.service Code:
systemctl start hciattach.service |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Quote:
Code:
mcetool --get-suspend-stats |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Quote:
|
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Quote:
|
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Quote:
I have added a systemctl script which stops the hciattach service so hopefully I will get better battery time from now on. |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Could you please post /dev/shm/bt-sleep-monitor.log ?
And the check if the service bt-sleep-monitor.service and bt-sleep-monitor.timer are running? |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Quote:
Code:
-bash-3.2$ systemctl status bt-sleep-monitor.service |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
@tealc
could you please post the output of Code:
ls -lha /proc/bluetooth/sleep/lpm |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Quote:
Code:
-bash-3.2$ ls -l /usr/bin/bt-sleep-monitor.sh Code:
-bash-3.2$ ls -lha /proc/bluetooth/sleep/lpm |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Seems like the script doesn't start at boot. Could you try starting it manually with devel-su systemctl start bt-sleep-monitor.timer or devel-su /usr/bin/bt-sleep-monitor.sh?
UPDATE: Seems like i forgot to enable the script service. Code:
devel-su systemctl enable bt-sleep-monitor.timer I will correct this in the next build. UPDATE: Thanks BluesLee for pointing out the missing systemctl command. |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
That worked better! Now the /dev/shm/bt-sleep-monitor.log file indicates that bluetooth is disabled. Thanks!
|
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Quote:
Code:
devel-su systemctl enable bt-sleep-monitor.timer |
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Just to be sure, this does not help with the bad Bluetooth hands free problem right?
|
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Quote:
|
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Very good battery life behaviour so far with cm13 + sfos 2.1 + using workaround regarding bluetooth sleep issue, great.
|
Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
Uploaded build 0.3 which fixes the bt sleep issue.
|
All times are GMT. The time now is 12:53. |
vBulletin® Version 3.8.8