maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SailfishOS 2.0 on Nexus 5 (https://talk.maemo.org/showthread.php?t=94620)

m4r0v3r 2016-06-02 14:40

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by Jef91 (Post 1506791)
Whelp, after spending several hours configuring everything the other night my toddler decided it was time for me to get a new phone this afternoon. Been fun - thanks for the porting work everyone.

https://pbs.twimg.com/media/Cj5sWKYUYAYxtZd.jpg

it would be cheaper to just buy a new screen there pretty cheap and all you do it move your current motherboard and cameras into the new skeleton.

RealJohnGalt 2016-06-02 22:01

Re: SailfishOS 2.0 on Nexus 5
 
Test kernel for the cm12.1 builds with franco's audio gain sysfs interface and changes for 300hz timer res (like on nexus 5x and 6p).

To install:
- Download and put in a new folder on the device
- Open folder over ssh or in terminal (must have root password set in Settings => Developer Mode)
- run:
Code:

tar xf 300hz-test-kernel.tar.gz
devel-su pkcon install-local *.rpm

- Reboot, use, and report :)

I also would like more responses on the 1.82 PIXEL_RATIO (here) to determine if this should be changed in the builds. I need to build and replicate a repo, then we can work toward OBS :).

pepa77 2016-06-03 04:56

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by RealJohnGalt (Post 1506863)

I also would like more responses on the 1.82 PIXEL_RATIO (here) to determine if this should be changed in the builds. I need to build and replicate a repo, then we can work toward OBS :).

Yes please very nice thanks

frullewulle 2016-06-04 11:20

Re: SailfishOS 2.0 on Nexus 5
 
I'm trying your latest modifications. kernel and pixel ratio.
I prefer 1.86 as pixel ratio :-)

somebody noticed that apn modifications don't remain saved after a reboot?

thanks a lot for your cm12.1 build !!

minimec 2016-06-04 13:41

Re: SailfishOS 2.0 on Nexus 5
 
@RealJohnGalt

I just want to give you some feedback and thank you again for your last work regarding pixel ratio and kernel:

- Pixel ratio

After having used the new pixel ratio for a day, I went back to the old one. I somehow think that the overall layout is more balanced, than with a 1.82 pixel ratio. As an example the 'camera option' icons are quiet small and somehow hang in the emptiness with a 1.82 pixel ratio. Same goes for the options pulldown menu on the notification screen. As other example I want to mention the facebook birthday notifications, where the text right now fills the space next to the picture quiet well. With the 1.82 pixel ratio the text becomes an 'ugly one-liner'. So all in all, I prefer the old 'default' pixel ratio.

-New kernel

My first spontaneous feeling was that power usage is higher with the new kernel, although I have to test that a little bit longer. It would be cool if you could explain the benefits of this new kernel. As I understand, the 300hz tickrate should make the device more 'snappy'. What are the audio benefits?

jem555 2016-06-07 02:25

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by RealJohnGalt (Post 1506793)
1.82 might be a better PIXEL_RATIO for us based on the jolla phone specs (ty kimmoli).

To test, set up a root password (Settings => Developer Mode), open terminal or ssh in, and run:
Code:

devel-su
curl http://sprunge.us/YbWB -o kimmoli-diyicons.sh
chmod +x kimmoli-diyicons.sh
./kimmoli-diyicons.sh 1.82

To revert, run:
Code:

dconf reset /desktop/sailfish/silica/theme_pixel_ratio
devel-su
dconf update
systemctl-user restart lipstick

Please post back to say how you like the change.

Hi. I think the new pixel ratio looks good! :cool:

Feathers McGraw 2016-06-08 20:47

Re: SailfishOS 2.0 on Nexus 5
 
Could someone cat /etc/hw-release on Nexus 5 for me please? I'm changing the way my torch app detects different phones and need to know what the file contains.

llelectronics 2016-06-10 10:00

Re: SailfishOS 2.0 on Nexus 5
 
Here you go

Quote:

# This file is copied as hw-release (analogous to os-release)
NAME="LG Nexus 5"
ID=hammerhead
MER_HA_DEVICE=hammerhead
MER_HA_VENDOR=lge
VERSION="0.0.1.1 (armv7hl,unknown)"
VERSION_ID=0.0.1.1
PRETTY_NAME="hammerhead 0.0.1.1 (armv7hl,unknown)"
SAILFISH_BUILD=1
SAILFISH_FLAVOUR=unknown
HOME_URL="https://sailfishos.org/"

jellyroll 2016-06-10 16:19

Re: SailfishOS 2.0 on Nexus 5
 
u0_a55@hammerhead:/ $ cat /etc/hw-release
# This file is copied as hw-release (analogous to os-release)
NAME="LG Nexus 5"
ID=hammerhead
MER_HA_DEVICE=hammerhead
MER_HA_VENDOR=lge
VERSION="0.0.2.3 (armv7hl)"
VERSION_ID=0.0.2.3
PRETTY_NAME=" 0.0.2.3 (armv7hl)"
SAILFISH_BUILD=3
SAILFISH_FLAVOUR=release
HOME_URL="https://sailfishos.org/"
u0_a55@hammerhead:/ $

This is from my North America D820 model.

Feathers McGraw 2016-06-11 20:13

Re: SailfishOS 2.0 on Nexus 5
 
Thanks Jellyroll and llelectronics!

Hammerhead Torch now uses /etc/hw-release and a config file to determine which controlfile to use. There's a new version in openrepos, and I also submitted it to harbour for the first time (currently in QA). These changes should make it easier to add support for more SFOS ports in future :)

monkeyisland 2016-06-15 18:02

Re: SailfishOS 2.0 on Nexus 5
 
hello i have mangaged to do multirom on the nexus5.
In the recovery menu there is a option under multirom
to upload zipfiles in to the roms.
but by the sailfish rom i cant upload the sensors fix cause no filebrowser gets open.
so i have installed cm12.1 as primary rom
and cm12.1 and sailfish last version to secondary rom.
how can i install the sensors fixes.:o

pepa77 2016-06-15 18:24

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by monkeyisland (Post 1507690)
hello i have mangaged to do multirom on the nexus5.
In the recovery menu there is a option under multirom
to upload zipfiles in to the roms.
but by the sailfish rom i cant upload the sensors fix cause no filebrowser gets open.
so i have installed cm12.1 as primary rom
and cm12.1 and sailfish last version to secondary rom.
how can i install the sensors fixes.:o

Hi,read this , you need to have TWRP that supports Sailfish OS
http://piratepad.net/bhP8fbzYgT

monkeyisland 2016-06-15 19:29

Re: SailfishOS 2.0 on Nexus 5
 
yes i flashed the version from your link everything works fine.
but i cant add the sensors fixes in secondary rom.
can i change that sailfishos is the primary rom and android the secondary?

pepa77 2016-06-16 04:40

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by monkeyisland (Post 1507696)
yes i flashed the version from your link everything works fine.
but i cant add the sensors fixes in secondary rom.
can i change that sailfishos is the primary rom and android the secondary?

You must have multirom TWRP v2.8.7.a new version of TWRP not support Sailfish OS !!!

romu 2016-06-16 07:41

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by pepa77 (Post 1507693)
Hi,read this , you need to have TWRP that supports Sailfish OS
http://piratepad.net/bhP8fbzYgT

@pepa77: I wonder how many of us here are able to read Czech? Would be better in English, for everyone.

Is there really a sensor fix for the N5?

pepa77 2016-06-16 16:08

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by romu (Post 1507712)
@pepa77: I wonder how many of us here are able to read Czech? Would be better in English, for everyone.

Is there really a sensor fix for the N5?

you have to read more pages here , everything is published and a link to download!

RealJohnGalt 2016-06-18 05:15

Re: SailfishOS 2.0 on Nexus 5
 
Sorry guys, I've been super busy recently. Still going to work on obs when I get a chance in the next week.

That piratepad shouldn't be in czech. Google translate changes the piratepad, so just use the "saved revisions" to go back.

Edit: Re: scaling, I'm going to keep it at 2.0. We can just have the 1.82 change in a "tips and tricks" section or something :).

Re: kernel, I wasn't able to see a power usage change in the 300hz. Generally you do this sort of thing for low-latency requirements (such as audio). I can't say what the improvements are here since I haven't tested. Of these changes, Franco says "Slight performance boost, around 5-10% higher synthetic benchmark results."

Only other kernel changes planned are bringing in some security-related changes.

pepa77 2016-06-18 06:09

Re: SailfishOS 2.0 on Nexus 5
 
Congratulations and good luck to the team and thank you for the explanation regarding the kernel and my paper , the new kernel is not greater energy system running smoothly : D

beobachter 2016-06-18 07:23

Re: SailfishOS 2.0 on Nexus 5
 
Hellaz,

after updating mu N5 to 2.0.1.11 via console the phone's app is acting weird, sometimes unable to make a phone call or when I receive on it just drops it. Also the mobile internet is disabled. Anyone having similar issues?

jellyroll 2016-06-18 08:05

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by beobachter (Post 1507807)
Also the mobile internet is disabled. Anyone having similar issues?

You need to setup the AP settings manually. This can be done by pressing and hold the cellular data icon inside the settings menu.

beobachter 2016-06-18 14:05

Re: SailfishOS 2.0 on Nexus 5
 
all the data that's supposed to be is there ... still the Cellular Data ~ Internet is disabled.

RealJohnGalt 2016-06-19 23:51

Re: SailfishOS 2.0 on Nexus 5
 
PSA for those of you wanting to test out 2.0.2.45: HA middleware needs a rebuild.

akira.pwr 2016-06-21 05:27

Re: SailfishOS 2.0 on Nexus 5
 
Yesterday I've installed the 2.0.2.45 version, the only bad thing I've encountered is the lock screen not working, I only see a "charging animation", but swiping normally, I can access to home screen. Is there any quick fix for it?
Isn't still possible to install Android apps?
Thanks.

romu 2016-06-21 08:58

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by akira.pwr (Post 1508058)
Isn't still possible to install Android apps?

This will NEVER happen, because Alien Dalvik is not a free software.

But with sfdroid, you can run a full Android within SFOS, and so run Android apps.

nh1402 2016-06-21 09:35

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by romu (Post 1508063)
This will NEVER happen, because Alien Dalvik is not a free software.

But with sfdroid, you can run a full Android within SFOS, and so run Android apps.

About that, I tried building standard CM12.1 yesterday took an age so had to cancel it, will build first thing after I get back from work today, providing Sailfish works with that as a base without sfdroid patches, then patching can commence.

akira.pwr 2016-06-21 09:53

Re: SailfishOS 2.0 on Nexus 5
 
I've tried to install sfdroid through the guide on wiki.merproject but I don't know if it works or if it's installed, because when I type pkcon refresh, the process always stops at 96% giving me an error

Feathers McGraw 2016-06-21 12:30

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by akira.pwr (Post 1508067)
I've tried to install sfdroid through the guide on wiki.merproject but I don't know if it works or if it's installed, because when I type pkcon refresh, the process always stops at 96% giving me an error

If you have installed zypper, try devel-su zypper refresh, it might give you more useful output. Packagekit isn't always that helpful.

Of course, if you haven't installed zypper and you can't install it because of the packagekit problem, then that might be useless advice ;)

akira.pwr 2016-06-22 06:08

Re: SailfishOS 2.0 on Nexus 5
 
I have gave the command "zypper refresh" and then "version --dup", I've got always the same error.
I send an image.

RealJohnGalt 2016-06-24 22:15

Re: SailfishOS 2.0 on Nexus 5
 
Anyone who updated to 2.0.2.45 (on the cm11 base build): do you have a working camera? Asking for us 12.1 users :)

Edit: nvm ^. Also, status update:

lbt was kind enough to give me access to the mer obs, so I cloned nemo:testing:hw:lge:hammerhead and am (finally) almost done updating it for cm12.1. I'll be doing builds off home projects, so we'll have a nice playground with easy update paths.

Sorry it took me so long, but it might be just in time -- awesome job piggz! https://twitter.com/adampigg/status/746091598182776832

Edit2: finally got a chance to play around with 2.0.2.45 builds a bit. I really don't recommend using these unreleased early access versions, even in new builds. Many packages are older than in 2.0.1.11, making me believe these are really only meant to be internal builds possibly for specific topics.
Even when doing fresh builds with building middleware against 2.0.2.45, there are many other issues (no radio, no camera, glitchy audio, possibly more). By the time this stuff goes official, we'll be able to do real otas.

RealJohnGalt 2016-06-26 04:44

Re: SailfishOS 2.0 on Nexus 5
 
My hammerhead's vibrator is dead. Could someone who's willing to test (and who has multirom + enough free space) run this 12.1 build to see if vibrate works? It can just be run as an additional rom. I've attempted to switch to the memless driver using onyx as a guide.

[removed link]

Edit: blueslee is testing now. Thank you :)
Edit2: just reverting the driver for now so I can get on with OBS stuff. Keeping and pushing the branches for later development.

akira.pwr 2016-06-26 05:47

Re: SailfishOS 2.0 on Nexus 5
 
I didn't knew there was a 12.1 build for Nexus5, which version of cm do you use? the guide for installation is the same than before? Can I upgrade from actual cm11 to cm12.1 without wipes? Does it works with multirom?
Thanks

RealJohnGalt 2016-06-26 09:22

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by akira.pwr (Post 1508353)
I didn't knew there was a 12.1 build for Nexus5, which version of cm do you use? the guide for installation is the same than before? Can I upgrade from actual cm11 to cm12.1 without wipes? Does it works with multirom?
Thanks

You need to do a new flash unfortunately. Here's info http://piratepad.net/bhP8fbzYgT . We're close to OTA support for it, but users will be able to edit repos on preexisting cm12.1 installs (no need for a new flash to obtain OTA support and updated packages).

akira.pwr 2016-06-26 09:41

Re: SailfishOS 2.0 on Nexus 5
 
What's the advantage to use cm12.1 instead cm11?

llelectronics 2016-06-26 14:09

Re: SailfishOS 2.0 on Nexus 5
 
Better driver support mostly.
This leads to better camera support (I think it should be fully supported)
Better power saving (no sensors bug anymore)
Better bluetooth support (no annoying disconnects)

frullewulle 2016-06-26 18:28

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by llelectronics (Post 1508371)
Better driver support mostly.
This leads to better camera support (I think it should be fully supported)
Better power saving (no sensors bug anymore)
Better bluetooth support (no annoying disconnects)

sensors bug is still there for me, its device independent...

RealJohnGalt 2016-06-26 18:43

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by frullewulle (Post 1508380)
sensors bug is still there for me, its device independent...

Are you running the sensors.msm8974.so that has the laggy z-axis?

Line 12 here: http://piratepad.net/bhP8fbzYgT

Edit: reason I ask is that I haven't heard of the issue with that, and was planning on making a "sensorsfix3.zip" with that blob.

Edit2: in an attempt to get rid of some logcat spam regarding audiopolicy, I accidentally massively increased speaker and headset volume, as well as mic volume in calls. Coming with OTA support shortly :D.

Feathers McGraw 2016-06-26 19:42

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by RealJohnGalt (Post 1508383)
Edit2: in an attempt to get rid of some logcat spam regarding audiopolicy, I accidentally massively increased speaker and headset volume, as well as mic volume in calls. Coming with OTA support shortly :D.

How did you do it / what did you change?

RealJohnGalt 2016-06-26 19:49

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by Feathers McGraw (Post 1508389)
How did you do it / what did you change?

It was completely unexpected. On a build with broken camera, I saw a lot of audioflinger-related spam in logcat during debugging. Even after fixing the camera, the spam was still there.

I ended up implementing audioflingerglue (lines 107-157 of http://piratepad.net/hadk-faq), which resulted in reducing the audioflinger logcat spam and increasing volumes.

Edit: If you're asking for FP2, another solution for increasing per-output/input gain is manually editing mixer_paths.xml in the device repo, rebuild hybris-hal, build_packages.sh, then install the updated packages to test. As I said, the audioflingerglue solution wasn't meant to be a solution for volume.

Edit2: While I'm at it, there's also kernel solution for managing output gain using sysfs interfaces. You can cherry-pick a commit like https://github.com/RealJohnGalt/andr...55cfa68e538fd7 or faux123's solution since fp2 also looks to use wcd9320. Then edit on the fly, test, and set using a systemd service or similar.

frullewulle 2016-06-27 15:49

Re: SailfishOS 2.0 on Nexus 5
 
Quote:

Originally Posted by RealJohnGalt (Post 1508383)
Are you running the sensors.msm8974.so that has the laggy z-axis?

Line 12 here: http://piratepad.net/bhP8fbzYgT

Edit: reason I ask is that I haven't heard of the issue with that, and was planning on making a "sensorsfix3.zip" with that blob.

Edit2: in an attempt to get rid of some logcat spam regarding audiopolicy, I accidentally massively increased speaker and headset volume, as well as mic volume in calls. Coming with OTA support shortly :D.

Well every blob that has a different files size then 89.36 Kb results in a not starting sensorfwd.service and sensors.qcom
only thing i can do for now is dissabling some sensors in primaryuse.conf file in /etc/sensorfw directory

RealJohnGalt 2016-06-27 23:51

Re: SailfishOS 2.0 on Nexus 5
 
Update: Just got everything pushed and updated on a home project (https://build.merproject.org/project...e:RealJohnGalt) :).

Now going to change some specs for versions to better match (from when I originally based some stuff off cm11). Then test an OTA myself from an older release by modifying the repos manually on device. Next do a build with the proper repos added (for fresh installs). And finally, include instructions on how to update repos from preexisting builds and OTA. Note: even though these packages are up on OBS, please don't use them yet or add the repo.


Quote:

Originally Posted by frullewulle (Post 1508449)
Well every blob that has a different files size then 89.36 Kb results in a not starting sensorfwd.service and sensors.qcom
only thing i can do for now is dissabling some sensors in primaryuse.conf file in /etc/sensorfw directory

I'll have a new test sensor zip to flash shortly, and would love it if you could test a bit. Working on the above first.

Edit: ota'd successfully from 2.0.0.10 to 2.0.1.11, instructions coming soon :D


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

vBulletin® Version 3.8.8