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-17 01:32

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

Originally Posted by mautz (Post 1562145)
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.

I have uploaded the file and symlink to the current installation and rebooted. It works!! Thank you!! Now from Sailfish I can access all local files stored on the internal sd card. :D

edp17 2019-11-17 01:37

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

Originally Posted by mautz (Post 1562147)
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.

Is the '/usr/bin/droid' a folder or the droid is the name of the script in '/usr/bin/' ?

Newermind, I got it now. :o
(I need to put the android-links.sh into /usr/bin/droid/ within sparse.)

mautz 2019-11-17 01:38

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
https://github.com/mautz-kernel/droi...droid-links.sh

edp17 2019-11-17 01:52

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.

mautz 2019-11-17 01:58

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?

edp17 2019-11-17 02:01

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

Originally Posted by mautz (Post 1562152)
What about gathering everything in one post and put the link in your signature for the moment?

That also a good idea. I will do it tomorrow. :D Thank you.

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:

edp17 2019-11-17 02:18

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

edp17 2019-11-17 02:45

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

Originally Posted by mautz (Post 1562139)
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.

With putting the wifi driver into module, the wifi cannot be turned on at all. I will test the rest but this requires a fix as now there is no working internet connection as both (data and wifi) is broken.
Would you like to see/test this image?

mautz 2019-11-17 02:58

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.

mautz 2019-11-17 09:00

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
bcmdhd

After a reboot everything works as expected.


All times are GMT. The time now is 03:12.

vBulletin® Version 3.8.8