![]() |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Awesome achievement, it's really great to see this thread alive.
If I'm not mistaken, that video recording/playback never worked on this device so far (although video itself works). Finding a solution would really complete the work so far. |
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:
The video playback works on my image too but only in Kodi. In the built on video player, it doesn't work. Probably if I solve one of them (recording or playback) it will solve the other too. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
In my image (wip0.16) the camera works only for making pictures.
If I switch to video mode, the back camera show the image but freezes when I hit the red button. For video recording the back camera shows only a black screen and the red button doesn't function. So far when the camera is launched from console, these are the error messages I saw: 1. Switch to front camera (video recording): Code:
[D] unknown:0 - using Wayland-EGL 2. Back camera, hit the red button to record a video: Code:
(jolla-camera:30851: GSTreamer-CRITICAL **: Tried to copy over the camera config files from the working 3.2.0.12 version, but didn't help. I am still working on it. :) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Did you try to use another application for taking pictures/ video recording? I use Camera+. Of course, I doubt it will make any difference
|
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
In wip0.16 I spotted a serious problem.
Today it happened multiple times. Somebody called me and we didn't hear each other. It works when I make a call, but it isn't always when I get a call. Plus during the call I switched to the loudspeaker, and from this point the phone was randomly automatically switching between the ear piece and the loudspeaker. Hmm. It seems need to go back to the drawing board. Edit: In this minute my phone just started to play the ringtone. The screen was blank and there was no incoming call. I couldn't stop the phone playing the ringtone because seemingly there was no reason why it started. I restarted the network but didn't help. I needed to restart the phone to get rid of it. Strange. Oh my, I thought I had only the video recording to fix. :) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
The problem is when I try to play an mp4 video with the native media player, the video playing doesn't start. However the same video can be played without any issues with Kodi. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
@mautz
I have been thinking about the recently discovered audio problems related to the phone calls. In my previous builds this problem was not there and I remember that I adopted your /etc/pulse/arm_msm8974_hammerhead.pa file from your config. Could you let me know what is this file and why it was necessary for your config, please? Thank you. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I think the video recording/playing and the sound during the incoming calls issues are somehow connected.
I have identified a common error message 'shared memfd open() failed: Function not implemented'. Maybe this is a red herring again, but I have a feeling that if I find a solution to this error, that will fix both problems. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Sorry, i'm not sure at the moment about the modifications i did to the pulseaudio file. Have you tried the one from Real John Galt?
I'll compare them both later. But i think the error could be PA related. EDIT: They have differences. Just try the one from John. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Interesting read: https://github.com/mer-hybris/pulseaudio-modules-droid
Get debug output from PA with this command: systemctl-user stop pulseaudio ; pulseaudio -vvvv -n --file=/etc/pulse/arm_droid_default.pa |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
All the problems are definitely audio related. I have figured out the reason why the incoming call was mute, because the ear piece volume was sett to 0. When I used the volume rocker and pumped up the volume, I started to hear. The other issue when the caller didn't hear me was also related because the microphone was off. I toggled to on and started to work this too. I think the video recording is also related because the camera app is trying to record sound with the video, but something is not configure correctly, therefore it crashes. I am trying John's .pa file now. Plus I have spotted a difference between your an my 'hw-settings.ini' file, so I have adopted yours. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
What was the difference?
EDIT I'm trying to backport bluez5 at the moment. No luck so far, if i'll get it done, i'll let you know the needed steps. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
By the way, do you know how the system knows which .pa file to use? Currently there are a few .pa files in /etc/pulse: arm_droid_default.pa arm_qualcomm_msm_8974_hammerhead_flattened_device_ tree_000b.pa bluez4_stream_restore.pa default.pa system.pa plus there was my original one that I move away: arm_msm8974_hammerhead.pa |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
I had the following in mine but were commented out in yours: #[FmRadio] #DefaultFrequency=90.0 #InputDevice=input-fm_tuner #[Audio] #RecordTopDevice=input-builtin_mic #RecordBottomDevice=input-builtin_mic #RecordTopDeviceChannel=left #RecordBottomDeviceChannel=right So, I too commented out them. Bluez5 blackport: Thank you for doing that. Why is bluez5 better than buelz4? What is the difference after all? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I forgot to let you know that yesterday I pushed my droid-config-hammerhead, droid-hal-version-hammerhead and droid-hal-hammerhead changes to the github.In case you are interested.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Because of the outcome of my recent camera tests on different Sailfish OS versions, I am not concerned about the video recording in my build anymore. :)
(I agree with all who says this problem should be fixed but it is kind of a 'nice to have' one. Therefore I'll only try to find a solution once I am done all the other planned tasks or if somebody finds out how to fix ;).) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Yeah, it would be nice to have video recording too, but I don't use it so much.
I am a bit concerned about the call issues you talked about, does it occur often? Anyway, thanks a lot! |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
SFOS 3.2 flashed! First thing I notice, MTP file transfer does not work, it is showing me "Preparing USB mode" but I can see my Nexus on Windows.
Am I missing something? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I'm wondering: Would it have advantages/does it mean a lot of work to
change to CM14 as base? Someone mentioned this in a post before and I'm not sure what to think about the idea. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
@sailor
It is possible and hopefully the video recording is working again. If a 12.1 base is working well you'll have the advantage of Android support. I hope that the bugs from the past are gone, like the crappy battery live and the slow OTA updates. @claustn Should be a missing package. Is the package mtp-vendor-configuration-sailfish installed? Just a wild guess. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
About the issues during the calls. Well, I have to say it is always present at incoming calls. Today I tested a bit and it seems the audio and microphone are muted by default for the incoming calls. Therefore right after I accepted the call I needed to push the volume up with the volume rocker and had to toggle the microphone icon. After this, the call worked and we could hear each other. BUT! For incoming calls if the other party disconnects the call, at my end the call somehow remained "active". I am not sure how to explain it but if next time if the same caller calls me, the phone thinks there is an ongoing call in progress and offers to put the old "active" call on hold/end and accept the new one. This is strange and I didn't find out the reason behind. Even if I restarted the ofono and network, didn't help, just when I rebooted the phone. Interestingly the outgoing calls work ok. So I welcome any help and test on this area. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
As the calls (incoming/outgoing) are the most stable on 3.0.3.9 maybe the AD is responsible for this behaviour. I'll test my build without installed AD and any Android app to see whether the situation is better. I'll report back.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
If anybody is interested I re-packaged the sudo rpm. I included the modified sudoers file where I added nemo and the sudo command doesn't ask password. It can be downloaded from here.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
News.
it is good or bad depends on your own preference. :) I have tested the last build (wip0.19 available in my signature) without AD and calls worked as expected. Everything. Inbound/outbound. There were no issues with audio, ear piece, loudspeaker and microphone. So, the strange behaviour is definitely related to the AD, moreover I think to one of the android app I installed. (I suspect the linphone.) I'll too test that and report back. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Could you check if package geoclue-provider-mlsdb is installed?
If not please add it to jolla-configuration-hammerhead in patterns. It is required to use Mozilla Services for faster GPS fix. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
geoclue-provider-mlsdb and geoclue-provider-mlsdb-agreements are both installed. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
What is the difference of this new image with the previous one? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
The changes in wip0.19 are:
|
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
News on the call related issues.
I had an other idea too about the root cause because, on wip0.16 where the issue was identified, I remembered for some apks I allowed to run as a background process. So booted back into wip0.16 and removed this setting for all apps. Then tested the calls. It worked the same crappy way. Then I uninstalled linphone completely but that didn't solve the issue either. I have a feeling that even if I removed all apks and AD completely would not solve the issue on this build. Again, this was on wip0.16. Then I installed the latest build (wip0.19) then tested the calls. Worked fine. Then installed AD only on it and tested calls. Worked fine. Then installed some apps (whatsapp, telegram, messenger lite, opera mini + others) and configured them, then tested the calls again. Still worked fine. On wip0.19 I have not installed linphone at all. (I am about to test that too just didn't want to mess up my working rom.) It seems the problem might related to the AD or linphone or a different .pa file in wip0.16, but is definitely solved in wip0.19. Now, the only real remaining issue (unless you find something else too :)) is the video recording. On the two extra packages (connman-tools and timed-qt5) that we manually need to install/refresh to get the bluetooth and date & time change work, I will try to include these into the next build. As this will be the only difference, if you already are using wip0.19, doesn't make any sense to wait for and install the new build. You can simply install these two packages and you're done. (If I do any other change in the new build, will let you know anyway.) I have updated the details in my signature too. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Sorry, i've forgotten, why do wen need the connman-tools package?
You could add it to jolla-configuration-hammerhead in patterns. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
The connman-tools is required for the bluetooth. The /usr/bin/bt-sleep-monitor script is using the connmanctl command from it. Without the connman-tools, I couldn't turn on the bluetooth, but once I installed, bluetooth started to work fine. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Timed-qt5 is already installed so no need to put it in the patterns.
I think something wents wrong with it during mic build, so it has to be reinstalled after first boot. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Anyway, this is how it is. :) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Just give it a try, but i think it's not a big problem if this doesn't fix it.
Edit:How's battery life? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Any more thorough test is welcome. :) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
About battery life:
I did a simple test with the wip0.16 tonight, with airplane mode on and nothing running (except Depecher in background I think), the battery decreased of 1% only over 7 hours. It seems better than my 2.0.4.13 I'll report other tests when I'll definitely switch to this new version. Anything to make file transfer MTP work? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Sorry cannot suggest anything but I will try the MTP on wip0.19 for you tonight. (If I can stay awake. :o) |
All times are GMT. The time now is 16:23. |
vBulletin® Version 3.8.8