![]() |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
I am happy to learn how to use patches, by the way. ;) Hopefully by the end of this project I will know that too. :o Once the new image is baked and uploaded I will try to push my work to the github. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I just read the OBS build and OTA update section in the hadk-faq. It looks complicated. (At this point.)
What makes this even more complicated is, I still cannot post question on the #sailfishos-porters channel. :( :confused: |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
For me the webchat is working, but why don't you use an IRC client like xchat for example?
FAQ from #sailfishos-porters channel, sometimes it can be quite usefull: https://github.com/mer-hybris/hadk-faq The OBS stuff isn't as complicated as it seems at first look. |
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
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I have built a new image and tried. The same symptoms:
- date and time cannot be changed (timed-qt5 must be reinstalled for this) - bluetooth cannot be switched on, - no mobile data, - no video recording, - cannot install in Storeman - plus the ril_subscription.conf is missing (manually need to copy o the device) (plus probably many other things are wrong) But I have torch and the camera resolutions are ok. I don't understand these. The bluetooth driver is in the kernel config, the ril file in the sparse/etc/ofono folder. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Could you please upload this build? I'd like to test it.
|
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:
Now I try to push some files to the github. |
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
Are you Matuzone on irc? I see your messages but cannot respond. (the same error)
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Downloading...will test it tommorow hopefully.
|
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:
It is there now but the phone now doesn't pass the initial setup. From the screen 'Starting, please wait' it goes back to the one where it greets me in multiple languages and it is doing this loop. Okay, I take a break now and trying to go back to an earlier, more or less working version. (I uploaded this last one 0.8 too. Available in my signature.) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Relating Bluetooth: You need to change droid-config-hammerhead-bluez5 to droid-config-hammerhead-bluez4 in jolla-hw-adaptation-hammerhead.yaml.
The kernel does not support bluez5. Just stick with 4 or try to backport bluez5 to the kernel: https://github.com/mer-hybris/hadk-f...hci-smd-driver |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Thank you!
I could not push my files to github but zipped and uploaded here There is something I have messed up because the last 4 images I created however boots up and the ril and other files are distributed correctly, the phone stuck in a loop between the initial greeting and the license approval screens. I made it available the last one (0.9) in my signature. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Lots of stuff missing in droid-config-hammerhead.spec.
Please compare with my spec file and missing parts to your file: https://github.com/mautz-kernel/droi...ammerhead.spec modem, ofono, community adaptation, dcd path |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
What are the dcd and community_adaptation for? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
dcd only shows the path to droid-config device folder. Community adaptation is needed to get the store working for example.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Storeman works for me, maybe you need to do a 'pkcon refresh' in the terminal?
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Oh, I wanted to say, don't bother trying the version that is in the 'initial screen loop'. I will update the configs accordingly and generate a new version (hopefully better that the last one :)). I also use wip0.6 version as that was the most "stable" so far. Thanks.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
My other question is about the pixel ration. If I set 1.75, will it work? The hadk-faq says 1.75 is a valid icon_res value, so in theory it should work. I'll try. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Thank you! |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
I applied all three patches for the bluetooth and added the necessary flags into defconfig and changed the bluez5 to 'droid-config-hammerhead-bluez4' in 'jolla-hw-adaptation-hammerhead.yaml'. I have found an error in the bluetooth patch in tcrypt.c The lines the patch recommends to add with + Code:
case 151: So, I think the correct code should be Code:
case 151: Now, I am ready to compile and rebuild. Will let you know the outcome. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Plus I have tested the hw acceleration with Quake 2. (Not the native version because that needs to be recompiled for the new libhybris-libGLESv2, but the android app from Aptiod.) It plays very smoothly. :D I am not sure whether it has sound though. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Another question regarding the bluetooth. It seems we are compiling the bluetooth as module in kernel (CONFIG_BT=m) just like the wifi.
But I didn't find any place where the driver is loaded. For wifi, we added 'bcmdhd' into 'droid-hal-hammerhead.conf' in '/usr/lib/modules-load.d/' Isn't a similar solution necessary for the bluetooth? Or that just works? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Sorry, i was looking at the wrong spec file...my fault.
Which patches did you add? For bluez4 you shouldn't need patches or build BT as module or you are going the backport route? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
So, what I changed: - applied all from this - added the following to the kernel: CONFIG_BT=m CONFIG_CRYPTO_CMAC=y CONFIG_CRYPTO_USER_API=y CONFIG_CRYPTO_USER_API_HASH=y CONFIG_CRYPTO_USER_API_SKCIPHER=y - changed the 'droid-config-hammerhead-bluez5' to 'droid-config-hammerhead-bluez4' in 'jolla-hw-adaptation-hammerhead.yaml' - added the 'bt-sleep-monitor' and 'bt-sleep-timer' from 'droid-config-hammerhead' in mautz_kernel - added the missing '%define dcd_path ./' into 'droid-config-hammerhead.spec' in 'hybris/droid-configs/rpm' aaand, that's it. :) Now I just have flashed the new build and rebooting. Fingers crossed... If it works, I will upload, otherwise I go back to the mine to pull the tram. :rolleyes: |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
What is the backport route?
I still have the loop, by the way. :( :( |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
This new image displays the welcome in multiple language, then takes me to the language selection screen, then to the End user licence agreement, then back to the welcome screen.
Hmm. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
You only had to change bluez5 to bluez4 in the config file, nothing more.
The patches and kenel config changes are only needed if you want to backport bluez5 to an older kernel which does not support it. So, you mixed up quite a lot i think. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Reverted those changes I made (the 3 patches and the defconfig flags) and only kept the bluez5 to bluez4 one and generated a new image. (wip0.11) And the 'initial settings loop' is still there. All files and services I put into /sparse folder distributed correctly but something else is preventing the phone to step forward from the End of user licence screen. Probably this is related another change I made earlier but I have no clue what that was. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Good news! Mobile data works! :)
I needed to add the allowDataReq=off line to the end of '/etc/ofono/ril_subscription.conf' file and reboot the phone. I have tried this on the wip0.6 version. It means, if I find out why the new images do not pass the End user licence sscreen and the suggested bluetooth fix (bluez5 to bluez4) works (why not), we have a more or less working version! :D |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
The allowDataReq=off line was missing from them which has caused the non working mobile data. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
@mautz
I have found these 'dev-ttyHS99.device' and 'hciattach.service' in your repo. What are these for? Do I need them? If yes, where from I can get the '/usr/sbin/hciattach' program/script what the mentioned in the 'hciattach.service'? I didn't find 'hciattach' on the phone either in your repo. Thank you. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I needed these files in order to get bluetooth work. Is it working on your phone?
hciattach is included in the bluez package i think. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Since wip0.6, I included these files but got the loop issue. I thought this was the reason, so removed them. However it was not the reason, I didn't include them into newer images. Currently I use wip0.6 that has bluez5 and the other version (wip0.11) what I build with bluez4 is broken as cannot go further than the End user licence screen. So I don't know whether the bluetooth works. I will give another go and include these two files for another image. But this time I will use the 'make clean' before compiling the kernel and double check all settings (kernel config + patches, .spec files and files in the /sparse folder) If get the same problem (loop in the initial setting) with the new image too, I will scrap everything and start over from scratch. (I hope won't need to do the latter as downloading the android source takes for very looooong time. :)) |
All times are GMT. The time now is 12:14. |
vBulletin® Version 3.8.8