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)

edp17 2019-11-23 00:36

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Okay, today I have learnt a lot again.
First I ditched the kernel and reloaded a fresh from github. Then I tried to apply the patches manually. Well, it was a bad idea. The kernel compilation failed. Few hours pointless fighting, I decided to start over again.
Delete kernel, refresh from repo then apply the patches. I managed to download all patches as yxz.patch file, then I was able to install them on the kernel. :)
Plus I pushed this all changes into my repo. (The links of the two commits can be found on the previous post.)

Then I recompiled the kernel and based on @mautz instruction I created a flashable zip. It is available here edp17kernel-cm-12.1

!!!! I have not yet tested this!!!! But in theory if we flash this kernel over the last wip0.15 image, bluetooth and other stuff should work.
Tomorrow I will test and if it works I will build a new image with this kernel.

I have tested the gps in wip0.15 with @mautz kernel and it works!

Now, I am half dead tired so good night everyone. :D

mautz 2019-11-23 08:43

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Regarding tge compile error in hidp/core this will fix it: https://github.com/mautz-kernel/andr...7c12f1e585cbba

edp17 2019-11-24 09:07

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

Originally Posted by mautz (Post 1562500)
Regarding tge compile error in hidp/core this will fix it: https://github.com/mautz-kernel/andr...7c12f1e585cbba

When re-downloaded the whole kernel again and applied all the recommended patches (from your earlier post) with the 'git apply', I didn't get the compilation error. I just checked and this code, you mentioned in this post, is still in the source.
Do I need to keep it or remove it?

On the other hand I flashed this kernel on the wip0.15 and deleted the 'lib/systemd/system/droid-hcismd-up.service' and the 'bluetooth.service.wants' folder because they were related to the hadk's bluetooth solution, but the bluetooth still not work.

Maybe there is something else in the kernel config to switch on or off? And/or another patch to apply?
Thank you.

claustn 2019-11-24 14:03

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I will wait for a more stable version before updating, but of you need to test something specific let me know and I'll flash your image!

edp17 2019-11-24 14:28

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

Originally Posted by claustn (Post 1562587)
I will wait for a more stable version before updating, but of you need to test something specific let me know and I'll flash your image!

Yeah, don't worry about it for a while.
It seems I need to fix the bluetooth and the video recording/playback.
(Although these are missing I am already using it as daily driver. :))

edp17 2019-11-24 18:00

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I have built a new image (wip0.16) where I put the edp17 kernel into. (So, no need to flash over on the installation.)
Now the only (how I know) outstanding issues are the bluetooth and video recording.
(The time and date change still requires to re-install the timed-qt5 package, and the Storeman still need to do a pkcon update.)
I have ran the 3DMark-Ice Storm Extreme to test the 3d acceleration. I got 9155 points whatever it means. :)

Anybody has an idea for fixing the bluetooth and video recording, please share. :) Thank you.

mautz 2019-11-25 04:56

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Sorry can not test the new version before the end of the week.

edp17 2019-11-25 22:12

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

Originally Posted by mautz (Post 1562606)
Sorry can not test the new version before the end of the week.

No problem, don't worry. :) Thanks.
I am not creating new image until find solution for the bluetooth and video recording issues.
(However I probably will play with the kernel to see whether I can find any improvements.)

edp17 2019-11-25 23:41

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Good news!
I have found the reason why the bluetooth didn't work. :D

Now it can be switch on/off and be paired with other devices.

All we need to do is install the 'connman-tools'
Code:

devel-su
pkcon install connman-tools

I have tested with:
- Galaxy S7 - paired correctly
- Bonai bluetooth headset - audio is routed correctly to the headset
- Rii Mini 518 Pocket Size Mini Wireless Bluetooth Keyboard - it works with Sailfish flawlessly

Screenshot:
https://i.ibb.co/mGPNZhZ/Screenshot-...5-23-27-36.png

Now, the only outstanding issue is the video recording/playback.

mautz 2019-11-27 00:11

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
What is the problem with video playback?


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

vBulletin® Version 3.8.8