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-15 10:38

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Is there a way to apply that wifi fix directly on the phone?
I am not at home and cannot compile the kernel right now. :o

Edit: I think if I create a symlink in /etc/wifi/bcmdhd.cal that should work.
Edit2: No, the symlink didn't solve the wifi issue..

Edit3: Can I change the pixel ratio on fly?
Edit4: (I have tried this but didn't work.)

mautz 2019-11-15 11:33

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Camera doesn't work at all, it is the same with sensors and audio. Still some work to do.

edp17 2019-11-15 11:46

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

Originally Posted by mautz (Post 1562062)
Camera doesn't work at all, it is the same with sensors and audio. Still some work to do.

Thank you for double checking that. I am sad. Although just a little because I expected that. The other thing I wanted to achieve was: be able to use the Sailfish native apps (ones which only work on version 3 and up) alongside with AD. The camera is a nice to have but maybe one day we can fix that too.
Plus what I hoped from the cm12.1 base was the 3d acceleration that we do not have in cm13 yet.

But first things first, I try to fix all the current issues then should focus on something else.

edp17 2019-11-15 11:58

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
The other thing I don't understand why I cannot use the mobile data. I doesn't connect but the access point is configured correctly.

Edit: maybe one of the errors in journalctl is the reason:
Code:

Sailfish systemd-tmpfiles: Failed to create directory or subvolume "/sys/fs/cgroup/memory/noswapping": No such file or directory
Sailfish ofonod: [grillio-socket] ERROR! Can't connect to RILD: No such file or directory
Sailfish bluetoothd: Failed to access management interface
Sailfish bluetoothd: Adapter handling initialization failed
Sailfish connmand: Message recipient disconnected from message bus without replying
Sailfish systemd: Failed to start Bluetooth service
Sailfish pulseaudio: shared memfd open() failed: Function not implemented
Sailfish pulseaudio: org.bluez.Manager.GetProperties() failed: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Sailfish ofonod: Requested file structure differs from SIM: 6fb7
Sailfish ofonod: export_entries_one_storage_cb with ME failed
Sailfish systemd: Failed to start User Manager for UID 0.
Sailfish su: pam_system(su: session): Failed to create session: Start job for unit user@0.service failed with 'failed'
Sailfish invoker: error: Failed to initiate connect on the socket for type silica-qt5.
Sailfish invoker: error: Failed to initiate connect on the socket for type generic.
Sailfish invoker: error: Start application /usr/bin/harbour-filetug as a binary executable without launcher


mautz 2019-11-15 14:15

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
The workaround with the symlink works, did this to check if the missing firmware was the problem.

Camera never works out of the box, you'll have to do the gstreamer part in the HADK, But first fix all the errors relating to kernel and such.

It would be easier if you get a little bit into git. It is much easier to make changes and revert them. Even other people can look into your code and see what you have done. It even makes maintaining easier and without git, there'll be no over the air updates.

Take a look here for your RIL problem:
https://github.com/RealJohnGalt/droi...aa17652b1d8ec5

edp17 2019-11-15 14:35

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

Originally Posted by mautz (Post 1562074)
The workaround with the symlink works, did this to check if the missing firmware was the problem.

Camera never works out of the box, you'll have to do the gstreamer part in the HADK, But first fix all the errors relating to kernel and such.

It would be easier if you get a little bit into git. It is much easier to make changes and revert them. Even other people can look into your code and see what you have done. It even makes maintaining easier and without git, there'll be no over the air updates.

Take a look here for your RIL problem:
https://github.com/RealJohnGalt/droi...aa17652b1d8ec5

Thank you and I agree.
Before I try to work on any other issues I should have a clean/working installation. Only then, I can go and try tweaking.
Although, still don't have internet connection in that rom, I also managed to install AD and it works for me too. :)

About the git, I know the basics but never had to install a patch or similar, so that is a black area for me. However this is a good opportunity to learn that. :D (Which slows down the build process but will be a benefit on the long term.)
And honestly, I tried to push my work to the git but first the git push complained about there was no repo. I forked one, then it said my version was older and suggested a git pull first. I didn't want to lose what I have done so far so decided to skip this and focused on the build. (Plus it was in the middle of the night and I was tired to fight with the git issues too.)
Anyway, as I need to fix the kernel, I think this is the best time to push all that the hadk suggest to my repos.

Do you think that RIL problem is the reason why the mobile data isn't working?

edp17 2019-11-15 14:52

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Oh, and there are a few apps that I would like to include into this build by default:
- sudo,
- cifs-utils
- exfat-utils
- libntfs-3g-devel, libntfs-3g86, ntfs-3g, ntpsprogs
- usbstick-utils
- usbstick-utils-with-exfat-support
- findutils (locate and updatedb) (here is no rpm for sailfish so I needed to recompile it from source.)

Plus I would like to reduce the remorse timers to 2 seconds and maybe apply the keyboard tweaks (shorter keyboard, longer space, shortening the appearance of the accented chars)

I know these all will be lost with the next update (unless if I re-apply them into my update) but I would like to learn how to do it.

edp17 2019-11-15 15:12

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Off topic:
If anybody is interested to replace the battery in the beloved Nexus 5. I can suggest this German company wannsee electronic
The battery is brilliant and the customer support is outstanding!

edp17 2019-11-15 20:56

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

Originally Posted by mautz (Post 1562074)
The workaround with the symlink works, did this to check if the missing firmware was the problem.

You were right. The symlink works for me too. When I tried and said didn't work, there was no wifi network around me. At home it connected fine.
Hopefully soon I can continue to apply the fixes and build a new image. I'll keep you posted. :)

edp17 2019-11-15 21:19

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

Originally Posted by mautz (Post 1562074)
Take a look here for your RIL problem:
https://github.com/RealJohnGalt/droi...aa17652b1d8ec5

I am not sure about this commit solve the problem, because almost everything is commented out in there.
Plus I have found the 'ril_subscription.conf' in two locations.
1. /home/edp17/mer/targets/lge-hammerhead-armv7hl/etc/ofono/ril_subscription.conf

2. /home/edp17/mer/toolings/SailfishOS-3.2.0.12/etc/ofono/ril_subscription.conf

Both of them are the same and both of them are the same as the content in the commit. So, I am not sure how this would help.


All times are GMT. The time now is 05:23.

vBulletin® Version 3.8.8