![]() |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
To get the sensors working:
You need to create this file: Code:
/etc/sensorfw/sensord.conf.d/60-sensors-hammerhead.conf This has to go in your sparse folder, but you can test it on the phone first :) |
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
Regarding the problem with the non storing wifi passwords...i had to build the wifi driver as a module and not directly into the kernel to get SFOS to store the passwords...do not ask me why ;)
So, could be worth a try. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Now the screen rotation works. :) How can I check what sensors do work and what do not? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Install messwerk from openrepos.net to check sensors.
You need CONFIG_MODULES=y and CONFIG_BCMDHD=m in your defconfig. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Excep the position and GNSS Satelites, everything else work now. (At least in messwerk the graphs shows the change.) Now I am recompiling the kernel to fix the wifi problem. However it would be good if I have a solution for the mobile data and the missing /android folder issues before I re-build the system again. Plus, I am not sure whether I need to re-do the 13.2 and 13.3 steps again. And I still don't know how can I include an rpm into the build. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Low Power Mode (AKA "sneak peak" or "ambient display") also works. :)
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Position and Satelites only work when GPS is enabled.
No, you do not need to repeat steps 13.2 and 13.3. Found the solution for the missing android folder, you need this file: https://github.com/mautz-kernel/droi.../android.mount and a symlink to this file in /lib/systemd/system/local-fs.target.wants/ All this stuff also needs to go into the sparse folder. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Thank you!
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
This could also be usefull:
https://github.com/mautz-kernel/droi...-links.service Symlink goes into multi-user.target.wants folder and you need the android-links.sh script from /usr/bin/droid too. |
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:
Newermind, I got it now. :o (I need to put the android-links.sh into /usr/bin/droid/ within sparse.) |
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
As I am generating multiple images until I get to the final one. It would be easier to maintain what's working and what's not in one post.
Can I add my build and the relevant info to the end of your first post in this topic? Or can you suggest another best way, please? (May be if I stick a post to be always the second under yours? If so, how can I do that? Or maybe I should create another topic for this?) Thank you. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
What about gathering everything in one post and put the link in your signature for the moment?
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Plus I think I will go back and remove the urls pointing to the first few builds. They are not relevant anymore and I don't want to confuse anybody with old WIP (non working) images. :cool: |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Signature test.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Would you like to see/test this image? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Sure!
There must be something wrong, my old cm12.1 custom kernels use modules and the wifi worked with them and the passwords were stored too. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Ok, the problem was that the wifi module does not get loaded at startup.
To fix this create file /etc/modules-load.d/bcmdhd.conf with following content: Code:
#Load wifi module at startup |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Thanks for the new development! Maybe after 3 years I will finally update my Nexus 5 :)
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
A new build in the signature. (Mobile data still not work :( )
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Sorry, i can not test the mobile data part right now because i don't have an adaptor to fit my SIM in the Nexus and my signal here is so weak i am happy if i get 2G...
|
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 this last build the camera settings shows ?Mpx however I installed the gstreamer and camres packages. When I run the 'droid-camres -w' command I got:
Code:
[nemo@Sailfish ~]$ droid-camres -w I have checked your configs in mautz_kernel repo and used a few bits and bobs (bt-sleep, camera resolutions, ...etc/). I am building a new image using those. I hope that will work. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I tried to install an app that requires opengl. I got an error:
Code:
Fatal error: nothing provides libhybris-libGLESv1 needed by ... |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
What do you mean by "- find out to include the gstreamer and camres packages" You only need the camres package to create the configuration files it isn't needed afterwards so it does not belong into the image. And the gstreamer packet is already in your image when you followed the HADK.
Regarding the timezone, take a look here: https://together.jolla.com/question/...t=votes&page=1 |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Code:
[nemo@Sailfish ~]$ zypper se libgles |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Thanks for the pointer to the date time issue. :) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Code:
[root@Sailfish nemo]# ps ax | grep rild |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Which errors?
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
E/RILQ ( 1071): (0/1071): RIL[0][rild] qcril_log_init: Fail to initialize Diag for QCRIL logging E/RILQ ( 1071): (0/1071): RIL[0][main] qcril_qmi_init_core_client_handles: qcril_qmi_presence_init returned failure(31) E/RILQ ( 1071): (0/1071): RIL[0][main] qcril_qmi_nas_retrieve_custom_emergency_numbers_co nfigured_value: Invalid value for properties count 0 E/RILQ ( 1071): (0/1071): RIL[0][main] qcril_sms_perform_transport_layer_info_initializat ion: error while retrieving transport layer reg info E/RILQ ( 1071): (0/1071): RIL[0] get_ecc_property_name: ecc list name : ril.ecclist. E/RILQ ( 1071): (0/1071): RIL[0][event] qcril_uim_update_pbm_card_event: PBM_HANDLE_CARD 397313 processing Failed! E/RILQ ( 1071): (0/1071): RIL[0][event] qcril_uim_update_pbm_card_event: PBM_HANDLE_CARD 397314 processing Failed! I am not sure whether this is connected the issue with the mobile data. Edit: This was a red herring as these are not errors. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I think go to sleep now. Good night!
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I have got some other problems. I created a new image (not uploaded yet) to fix the missing camera resolution. This worked, so there is no need to manually copy this file anymore.
However instead of the lock screen, the phone displays a blank screen with the circle is rotating. (It is seemingly waiting for something to finish.) I waited then tried to swipe and I got to the desktop. Hmm. Then I relised there was no icon for the cell network at all. Hmm again. I went into the settings and the Messages app was dimmed and not available to click on. Finally I realized the 'ril_subscription.conf' file in '/etc/ofono' was missing. I copied in and that solved this issue. (Although the mobile internet still doesn't work.) I don't really understand why this file disappeared from the build but I added into the droid_config/etc/ofono/ folder and generated a new build. The file was missing again and I got the same symptom. (No network icon, spinning circle instead of lock screen.) :eek: The other issue: The contact import wizard is broken. (I got a 'Could not load page' error when I tried to import my contact with it.) However the import 'From contact file' option works fine. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Would be good to get your code on Github, that would make solving such problems much easier. ril_subscriptions.conf needs to be in sparse folder.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Yes, I am also thinking about pushing things into the github. I am not sure tonight I can work on it as I am tired but I will publish the latest version once I got home. It needs to copy the ril file into the /etc manually but so far this is the best version. (However it is far from complete. :)) Then the next step, before I continue any more work on it will be, pushing things to the github. (I will try to follow the hadk first but probably I will shout out for support. ;)) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Here are my first questions. :)
The hadk says I need to do the following: Code:
cd kernel/lge/hammerhead Should I fork John's 'android_kernel_lge_hammerhead' before I do these steps above? (Or when I push that will take care of forking/creating/whatever the repo?) Thank you. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
@mautz
Seemingly the kernel I compiled doesn't support the BT sleep mode. (There is no '/proc/Bluetooth/sleep'. Well, there is no /proc/Bluetooth at all and I just checked and the Bluetooth cannot be turned on.) Could you let me know what flags needs to switched on the in the defconfig to get this working, please? Thank you. Edit: I have found them :D: CONFIG_BT_HCIUART=y CONFIG_BT_HCIUART_H4=y Edit2: ...and both of them are in my kernel config. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
I am not sure what difference will this make, but I re-build the package and upload to try. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
That's why you should use patch files ;-)
|
All times are GMT. The time now is 16:10. |
vBulletin® Version 3.8.8