![]() |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
As we will probably switch to cm13 within the next weeks i suggest just to wait. This might result in a new thread, wiki updates etc. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Excuse me for being blunt but could anyone explain the differences respectively advantages between cm13 and the older versions?
More stable? Faster? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Heureka! (Eureka)
During the weekend I started to read this years #asteroidos irc logs and while doing so porbably (almost certainly) found the solution to our longterm outstanding bluetooth-sleep-bug! Well it is 'kido', the lead developer of asteroidos, that found the solution... (See... 14:34:12 kido:holy guacamole!!) So they had a huge problem with bluetooth-sleep on Qualcomm based SoC's... Sounds familiar? ;) After hours, even weeks of research there was a solution in the end: Turns out that the bluetooth stack never got a sleep signal from the system and therefore never went in suspend state. If I got his solution right, he patched a small tool they use (brcm-patchram-plus) to configure the UART/IRQ for specific Broadcom bluetooth chips.The commit can be found here. Specially have a look at lines 213-216. Looks like he even included the values needed by our beloved Nexus5! @mautz I really think that this is the solution to our problem. I guess we should add that 'brcm-patchram-plus' tool and start it as a service after having started the bluetooth service. Looks like they do it that way in asteroidos. https://github.com/AsteroidOS/meta-a...e3c3d4fed6bc93 |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Hmm... With the new base we maybe need a updated recovery, or? TWRP 2.8.x with CM13 will definitely eject an error.
TWRP 3.1.0.0 by Captain Throwback https://www.androidfilehost.com/?w=files&flid=102780 Maybe interesting: EFIDroid (Multiboot) https://forum.xda-developers.com/goo...xus-5-t3580493 |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
I already tested cm13 base with sfos some months ago using Multirom and an older version of TWRP without any issues. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Oh! Then I said anything. ;D
But perhaps nothing speak against a new/latest and working recovery ... |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Probably worth mentioning that on CM12.1 with sensorsfix3.zip applied the z-axis lagging also affects rear camera in photo mode (video and front camera works smooth)
On the other hand, Cameraplus from openrepos works ok, so it must be something inside stock app that uses accelerometer. Edit: Fiddled with the cameraplus and it only allows to select 2Mpx in 16:9 proportions, while in system app I had 6Mpx selected, after switching to 8Mpx in 4:3 proportion even stock camera app started working ok. Weird... |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
anyone know how well bluetooth headsets work with calls?
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
If i remember correctly mautz wanted me to test this with cm13 and it did not fix the bad sound quality which is also present for cm12.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
think its a kernel issue not a cm base issue, i remember there was a bug about it
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Moreover as I understand the poor-call-quality-on-bt issue does not exist on the android cm12 or cm13 but is something to do with the combination of pulseaudio on libhybris and blutooth HSP mode. (which is the reason that A2DP profile works without any problems) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I also have to face the battery drain problem because often the CPU keeps running at 100% even with no application running...
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
bt calls still dont work well with my headset, very crackle and can hardly understand anything, music play is fine.
although ive built the mw vs 2.1 and attempting an update to 2.1 now, if its successful might just make an image, anyone wanting to risk it for a biscuit removed link, it breaks your system :P |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Have you tried this already? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Hi to everyone, sorry for the late reply, but i am very busy at the moment...also my laptops ac adaptor got fried and my sfos sdk got corrupted. So i started from scratch yesterday and compiled a new cm13 2.1.0.10 build. I am uploading it at the moment and going to start a new thread this evening to release this build for testing. Stay tuned.
Update: Started a new thread. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
https://github.com/AsteroidOS/meta-d...-proc-bl.patch Then you also have to compile 'brcm-patchram-plus' with this flag... "-DLPM_HAMMERHEAD" I have to admit that this is far beyond my coder knowledge, but 'kido' offered his help. You will see in the patch, that in fact there are changes in multiple files of the bluetooth stack... You can always catch him in #asteroid on irc.freenode. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Seems like most of the patches in bluesleep.c are already included in cm12.1 kernel. Adding the rest seems easy, if it doesn't throw any build errors.
I haven't figued out how to build brcm-patchram-plus, but i only tried for a few minutes... Thanks again! |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
I add a comment of the conversation I had with 'kido' on #asteroid Code:
19:07 @ kido : ok, anyway the patch just takes a couple of minutes to write. it's just a matter of hooking the standard kernel's HCI subsystem's HCI_DEV_REG, HCI_DEV_UNREG and HCI_DEV_WRITE to a handler in bluesleep.c that reproduces what bluesleep_write_proc_lpm and bluesleep_write_proc_btwrite do on the equivalents event |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Is there any progress with moving this to Mer wiki as udpated installation method?
And is sensorsfix3.zip still needed by the way? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I am still using SFOS version 2.0.5.6 based on CM 12.1. The main reason for this being the unresolved (?) video recording problems with CM 13.
However, recently it has become a little annoying to find more and more software requiring SFOS 2.1. I feel like being left behind just a little. :o So here's the big question: Is it possible to upgrade from 2.0.5.6 to version 2.1.0.11 using the same procedure as before? If so, are there any caveats to be aware of? Looking forward to hearing from you. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
+1 I'm in the same situation, even because of the lack of Android compatibility.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
you cant upgrade to 2.1.0.11 it bricks cause :/
with bluetooth ive been using bluetooth fine daily with this phone. has anyone installed the alien dalvik on this page onto the cm13 base and had it working? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Quote:
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Is it possible to upgrade to 2.1.0.11?
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I have the same question here...
m4r0v3r, could tell us something more specific about trying to update this version? I don't think it's because of cm12, there are other devices with the last version of Sailfish even on that Android version. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Since this build us unmaintained some packages can't be build at the moment on obs. Updating could brake the system. But maybe someone who uses multirom could try ro update and report back.
But i'm pretty sure that the gui won't work due to the switch to QT5.6. Repo status can be seen here: https://build.merproject.org/project...ing:hammerhead |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I would try, but I couldn't solve any of those problems.
As far as I understand without those packages it's not possible to update, so sad. The point is that we have two ports for the same device, each with his pros and cons. It would be great if it would be possible to merge the best of them. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
i can tell you now if you update it will break. it wonts boot effectively. since it required some middleware to be rebuilt.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I realize this is slightly off topic. Here's the thing. I'm still using the CM12.1 with SailfishOS 2.0.5.6 on the Nexus 5 (mainly because I like the video recording option).
Today the Jolla Store offered me an update to the File Browser which I (foolishly) accepted. Now, File Browser no longer starts which leaves me a little frustrated. How can I retrieve the old (functional) version? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Maybe one of those? https://github.com/karip/harbour-file-browser/releases
If none of this version works, just install another file browser from openrepos. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Sorry for the off topic. But I just needed to get that off my chest. :-) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
In the CM13 image there is a script to enable low-power-mode for bluetooth. I did a complete rewrite of that script and it also works in the CM12 base... See: https://talk.maemo.org/showpost.php?...&postcount=310
I use that next generation script on the CM12 base for a long time now with no problems with my car audio system, bt-headphones and a HiFi bt-adapter. Feel free to report problems... Source: https://github.com/minimec/bt-sleep-monitor #How it works... : A dbus-monitor process is listening for different dbus events in parallel: # - Bluetooth power on/off # - Bluetooth connections # - Display events # When an event is triggered the program will decide whether to enable/disable # or temporarily disable bluetooth suspend (low power mode). # If bluetooth is powered and in low power mode, a display event will disable suspend mode for 60 seconds ($BTACTIVE). # In case there is no bluetooth connection after that time, suspend mode is enabled again. This is a copy/paste instruction to implement script as systemd service in the CM12 port. Code:
# login root console |
All times are GMT. The time now is 16:23. |
vBulletin® Version 3.8.8