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)

juiceme 2016-10-07 12:07

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

Originally Posted by Bundyo (Post 1516346)
Why don't you just redirect it back to the phone after taking the call?

Never thought of that... how can I do it?

dlas.revo 2016-10-07 13:00

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I did the jump from 2.0.1.11 to 2.0.4.13.
Unfortunately, I have a massive battery drain since then. One minute display on and surfung the web equals 1.5% of battery.
I don't see a problem with Lighthouse or AIDA64. It drops to 3...8% CPU. 3 cores are at sleep most if the time.

Any hints what might be wrong?

Cheers!

Bundyo 2016-10-07 17:57

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

Originally Posted by juiceme (Post 1516350)
Never thought of that... how can I do it?

After answering, take a look at your screen - the buttons are more than usual and one of them is switched on... :)

abyzthomas 2016-10-07 20:50

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

Originally Posted by juiceme (Post 1516339)
I don't know whether it uses noise cancellation but the voice quality has always been exellent in my setup. Only voice via BT headset is bad, it is absolutely unintelligible.

When I am listening to music via BT and a call comes, I need to reject the call, disconnect BT and then call back, it is that bad.

I know BT us not useable at all for phone calls. Music seems to sound fine on BT. Even without BT, phone call audio just not usable for me. Speaker phone is doing the same thing also. My end, it sounds great. It's always the other end having the issue.

My colleagues and clients are complaining too much. I am booting back to android for the time being for my daily use.

I love to use Sailfish OS, so I am anxiously awaiting for a device with good/high end specs (at least 5" size and 2/3GB RAM, etc) and fully functional on USA LTE, preferably T-Mobile. Who knows if that's ever going to happen and who know how long I will be interested. A cheap device with odd OS makes it looks like a cheap OS. We need a device that will make Sailfish OS elite.

Bundyo 2016-10-07 21:16

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
OnePlus X? :)

abyzthomas 2016-10-07 21:37

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

Originally Posted by Bundyo (Post 1516393)
OnePlus X? :)

Is it really usable and stable with Sailfish OS? How is the phone call audio with and without BT and speaker phone? I make a lot of calls on the road (I know, I shouldn't!) , so phone calls must be good for me and the caller.

Nexus 5 working great for everything else, but not quote good for the phone calls for me.

Bundyo 2016-10-08 07:38

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Phone calls are fine, good quality, BT works, including PBAP (with 2.0.4, there were problems in 2.0.3.x). The only issue I have is the home screen freezing, but that's a problem with all phones with 2.0.4. Stopping LPM minimizes that. BT is disabled after reboot, you need to manually start it (adaptation problem).

Now that the browser has newer engine it is much more usable and I don't miss the Android apps from Jolla One so much.

Camera works rather good, though sometimes after update it doesn't show the viewfinder for some reason - a restart fixes that. There is also a patch from kimmoli, that enables 4K for video, didn't use it yet.

Can't be used with multirom though.

mautz 2016-10-08 08:54

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Finished update of my daily driver partition today. I didn't had a single freeze with LPM enabled, and i use the Sneak Peek options often, because of the double tap to wake.

Isn't kimmolis 4k patch only for the OnePlus X?

Bundyo 2016-10-08 10:41

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

abyzthomas 2016-10-08 14:29

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

Originally Posted by Bundyo (Post 1516405)
Phone calls are fine, good quality, BT works, including PBAP

Thanks for the detailed reply Bundyo.

I am still stuck with Whatsapp, so I don't have much choice, yet. That is the only Android app I have to use. Now that I have used LTE on Nexus 5, it is hard to go back to 2G on my Jolla 1.

Sailfish 2.0.4 also seems very good. Once of the most important feature I was missing was native conference calls and it seems to work great now on Jolla 1.

Well, wait I guess for a good device to come out. :)

BluesLee 2016-10-09 07:32

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

Originally Posted by mautz (Post 1516250)
Just use the OTA instructions of the first post. OTA using SSH. The update can be slow. 2.0.0.10 to 2.0.2.4x took about 3hours. If the update process hangs at a package fir more than 5 minutes, abort the update with CTRL+C, type "sync" and reboot. Most of the time you have to hard reset your device. When its back up, SSH into it and continue the update with version --dup. If it hangs again repeat the above steps. I didn't update my main SFOS installation because not all patches i need are available.

If you don't use Multirom, ciuldn't you do a full backup with TWRP before updating?

Damn, the OTA update instructions from the first page differ from the one in the wiki regarding the repositories to be used... New try, new luck:-)

Edit Update to 2.0.4.13 took hours, not recommended. I had to drop adaptation0 as of pattern issues.

Manatus 2016-10-09 13:20

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
This might be of interest to anyone installing SailfishOS roms.

I've been playing around with a very good Moto G (falcon, 2013) SailfishOS conversion made by PiggZ.

Unfortunately GPS was not working at all, even when the main thread in XDA forums said it should.
Eventually I got it fixed by installing normal Cyanogenmod, and making sure that GPS was turned on and working, and then restoring a backup of my previous installation of SailfishOS on top of it.

It is quite possible that GPS had been never used with the Moto G device I had acquired, and Sailfish probably couldn't trigger it without Android proper first activating it. So if you get your hands on Nexus 5, make sure to check that all radios, gps and sensors have been activated before you flash it to Sailfish OS.

juiceme 2016-10-09 14:33

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

Originally Posted by Manatus (Post 1516488)
It is quite possible that GPS had been never used with the Moto G device I had acquired, and Sailfish probably couldn't trigger it without Android proper first activating it. So if you get your hands on Nexus 5, make sure to check that all radios, gps and sensors have been activated before you flash it to Sailfish OS.

Do you mean, if used as a pristine device (never turned on) and if SFOS is installed directly to it?
Or do you mean, that when CM is flashed to the device, turn it on and use it for a while before flashing SFOS on top of it?

Manatus 2016-10-09 16:49

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

Originally Posted by juiceme (Post 1516491)
Do you mean, if used as a pristine device (never turned on) and if SFOS is installed directly to it?
Or do you mean, that when CM is flashed to the device, turn it on and use it for a while before flashing SFOS on top of it?

I mean that if you use pristine device and then install SFOS (custom Cyano+SFOS) on it, GPS may not work, unless you have at least once started it up with proper Cyanogenmod and set up GPS.

Moto G device I have has been in used as a loaner device for a very short time while the original phone of the user was in repair. It had stock Android Kitkat from Motorola when I got it.
I flashed it directly with custom Cyanogenmod and SFOS, both by PiggZ, and then started the phone.

It is quite possible that GPS has never been enabled before. And definitely it has never had cyano on it before, as I had to unlock its bootloader with an unlock code requested from Motorola.

I'm not sure which would have been more important in my case; turning GPS on in stock Moto ROM before flashing it, or turning it on on "stock" Cyanogenmod, like how I now fixed it.

I just remembered that sometimes custom ROM makers suggest turning all features on before flashing them. I tried that as a last measure to get the GPS fixed, an it really worked.

jib 2016-10-09 22:37

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

Originally Posted by RealJohnGalt (Post 1509185)
Backup and restore
From your home directory on the Jolla phone do
Code:

tar cvf vault.tar .vault
and transfer the tar file to your Nexus 5 and restore it using the Jolla backup and restore from the settings app.

I don't see my backup in the restore menu after copying the vault.tar file to /home/nemo. I've tried to use "Restore from memory card" using an OTG cable, but it doesn't see it there either. How can you restore on the Nexus 5 if it doesn't have a sd card slot? Is there a way restore the SailfishOS backup vault.tar file without using the restore app, but perhaps via CLI?

edit: I just figured it out. From CLI:
Code:

tar xvf vault.tar
Then go back to Settings > Backup and I can now see my backup.

It didn't restore my customized Ambiences. Seriously? Customizing the sounds on each Ambience is a PTA. That's the main reason I did a backup.

BluesLee 2016-10-10 04:33

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

Originally Posted by jib (Post 1516521)
I don't see my backup in the restore menu after copying the vault.tar file to /home/nemo. I've tried to use "Restore from memory card" using an OTG cable, but it doesn't see it there either. How can you restore on the Nexus 5 if it doesn't have a sd card slot? Is there a way restore the SailfishOS backup vault.tar file without using the restore app, but perhaps via CLI?

edit: I just figured it out. From CLI:
Code:

tar xvf vault.tar
Then go back to Settings > Backup and I can now see my backup.

It didn't restore my customized Ambiences. Seriously? Customizing the sounds on each Ambience is a PTA. That's the main reason I did a backup.

This is a very good observation and a solution is appreciated.

Unfortunately since 2.0.2.x backup/restore from settings needs an sd card or some dubious cloud services. Backuping works in the sense that a tool/command called 'vault' gathers different data to the .vault directory, for instance your gallery pictures, which you will also miss.

We need a kind of virtual sd card or all commands the settings app is triggering using vault. How sailfishos recognizes that an sd card is 'inserted' when backuping / restoring using settings?

n0x 2016-10-10 05:57

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

Originally Posted by Bundyo (Post 1516405)
Phone calls are fine, good quality, BT works, including PBAP (with 2.0.4, there were problems in 2.0.3.x). The only issue I have is the home screen freezing, but that's a problem with all phones with 2.0.4...

Camera works rather good, though sometimes after update it doesn't show the viewfinder for some reason - a restart fixes that...

For me, it seems that the main camera has a problem with updating the viewfinder, it takes at least 3 seconds before it updates the viewfinder with the correct image.

Front camera and main camera video mode work fine though :(

I'm not sure if it's with the OTA update or no, but everything known to work works well, except this camera bug :(

mautz 2016-10-10 13:12

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Have you tried reinstalling the camera app? Or try cameraplus from openrepos.

n0x 2016-10-11 01:03

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

Originally Posted by mautz (Post 1516547)
Have you tried reinstalling the camera app? Or try cameraplus from openrepos.

I'll try reinstalling the camera, but I don't know how. It's just in the Jolla store right?

Cameraplus works well, although if I remembered, it's always in landscape?

I accidentally left my N5 at home, I'll double check when I get it again.

mautz 2016-10-11 04:57

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

Originally Posted by n0x (Post 1516577)
I'll try reinstalling the camera, but I don't know how. It's just in the Jolla store right?

I think it is
Code:

pkcon install jolla-camera
from terminal.

n0x 2016-10-12 00:15

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

Originally Posted by mautz (Post 1516581)
I think it is
Code:

pkcon install jolla-camera
from terminal.

Just tried, and it's still the same.
I think I'll stick to Cameraplus for now :)

mautz 2016-10-14 20:14

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Has anyone build a kernel from source? I compiled it and it is booting, everything seems to be working except wifi...has anyone a solution?

juiceme 2016-10-14 20:23

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

Originally Posted by mautz (Post 1516745)
Has anyone build a kernel from source? I compiled it and it is booting, everything seems to be working except wifi...has anyone a solution?

As this is the thread for SailfishOS 2.0 Nexus 5 CM12.1 I suppose everyone who has built it has built the kernel from sources :D
Which version did you build? My kernel is 3.4.0-cyanogenmod-g0aac178-dirty with a slightly modified defconfig.

mautz 2016-10-14 20:29

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I used the source from the mer-hybris github
Code:

https://github.com/mer-hybris/android_kernel_lge_hammerhead
It is 3.4.0-cyanogenmod-something. I took the defconfig from /proc/config.gz and used the linaro toolchain to build it. I must have been missing something, because wifi doesn't work.

mautz 2016-10-15 16:59

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Damn, tried to compile ElementalX kernel for use with Sailfsh, finally i got it booting, but the touchscreen is not working...

mautz 2016-10-24 12:04

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Finally got it all working. Kernel boots and wifi is working too.
Let's do some undervolting.

Next step: Integrate some CPU governors.

deprecated 2016-11-01 02:10

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

Originally Posted by mautz (Post 1517290)
Finally got it all working. Kernel boots and wifi is working too.
Let's do some undervolting.

Next step: Integrate some CPU governors.

Hey mautz, what did you do to get that kernel running? I've long wanted to do some undervolting on sfos. If you wouldn't mind, can you point me in the right direction? Thanks!

mautz 2016-11-03 11:02

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Hi, sorry for the late reply. I'll publish my kernel in a few days. I'm still trying out some features.

If everything goes well, i'll publish the source on github and an flashable zip file here.

BluesLee 2016-11-03 15:31

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

Originally Posted by mautz (Post 1517956)
Hi, sorry for the late reply. I'll publish my kernel in a few days. I'm still trying out some features.

If everything goes well, i'll publish the source on github and an flashable zip file here.

Interesting features. Do you have already tested battery life or is it achieved by underclocking the cpus?

deprecated 2016-11-04 05:15

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

Originally Posted by BluesLee (Post 1517966)
Interesting features. Do you have already tested battery life or is it achieved by underclocking the cpus?

I've gotten a little better battery life on 2.0.4.14 by setting my max scaling frequency to around 1.7GHz and setting the governer to ondemand. Still does the huge 1% drain or so per few minutes with the screen on though. Really wish I could figure that one out.

mautz 2016-11-04 06:15

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

Originally Posted by BluesLee (Post 1517966)
Interesting features. Do you have already tested battery life or is it achieved by underclocking the cpus?

I am testing at the moment. I added a few features from the blu_spark kernel:

- blu_plug cpu hotplug governor
- blu_active cpu governor
- Simple GPU governor
- USB fastcharge
- Undervolting

I hope to publish the kernel today or tommorow, than you could test it yourself, but don't expect a huge improvement in battery life.

deprecated 2016-11-04 07:31

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

Originally Posted by mautz (Post 1518020)
I am testing at the moment. I added a few features from the blu_spark kernel:

- blu_plug cpu hotplug governor
- blu_active cpu governor
- Simple GPU governor
- USB fastcharge
- Undervolting

I hope to publish the kernel today or tommorow, than you could test it yourself, but don't expect a huge improvement in battery life.

Excellent, I look forward to testing it. I'd be happy to provide feedback as well. Any improvement is improvement. Can anyone speculate as to what might be the source of this battery drain? It only happens when the screen is on, so my thought is maybe a polling interval ramping the CPU cores up and down too rapidly, possibly the governor trying to anticipate user input to reduce UX lag? I dunno, top isn't much help. Everything looks fine while ssh'ed into the device with the screen off...

mautz 2016-11-04 22:23

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

The source can be found here:

https://github.com/mautz-kernel/SFOS...-custom-kernel

Just use the 'SFOS-hammerhed-custom-kernel_defconfig' to build the kernel yourself or modify it if you want.

And here's the Zip to flash the kernel with the recovery:https://www.dropbox.com/s/csq3qd81ci...ernel.zip?dl=0

If the output of
Code:

uname -r
is not
Code:

3.4.0-cyanogenmod-g0aac178
you should not install this kernel, because the wifi modules will not load. You'll have to compile it from source and change the localversion string in the config file!!!


This kernel is based on the source of mer-hybris.
Added features are taken from blu_spark kernel developed by eng.stk. More info on XDA.

Added features:

- Undervolting
- blu_active governor
- blu_plug hotplug governor
- simple GPU governor
- USB fastcharge

More to come...suggestions welcome.

If you are using sfdroid, you can use apps like Trickster Mod and SetCPU to change settings. I recommend Kernel Auditor, it lets you change the Hotplug settings too.

If you want to use blu_plug as your hotplug governor, you can disable mpdecision(default hotplug governor) via Trickster Mod or rename mpdecision to mpdecison.bak in /system/bin folder and restart.

Of course all settings can be changed via sysfs.

Undervolting can be done by changing
Code:

/sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
The blu_plug hotplug options can be found in
Code:

/sys/module/blu_plug/parameters
GPU settings are in
Code:

/sys/class/kgsl/kgsl-3d0
The governor can be found in the pwrscale/trustzone folder.

Fast charge can be enabled by changing the value from 0 to 1 in
Code:

/sys/kernel/fast_charge/force_fast_charge
And make a backup of your device, i'm not responsible for bricked devices by flashing this kernel.

Feedback is welcome.

deprecated 2016-11-04 23:09

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

Fantastic work, friend. I'll install shortly and report findings in this thread. Thank you for your work and effort!

deprecated 2016-11-05 02:58

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Installed and running, mautz!

This is on 2.0.4.14, haven't had any glitches with a -75mV global undervolt (manual editing, not using sfdroid or any of the apps) on a PVS 2 binned SoC. Running the blu_active governor. Experimenting with GPU and other settings now, and will post my “optimal” settings for anyone willing to try them.

Again, excellent work @mautz! I love this community.

deprecated 2016-11-05 06:17

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quick issue, unrelated to mautz's kernel:

Has anyone noticed that jolla-xt9 is missing in 2.0.4.13/14? I can't get it to install via pkcon to save my life. I've done zypper ref -f and pkcon refresh after disabling adaptation0, etc., but I've had absolutely no luck. I didn't have it installed on 2.0.1.11 this time around before I jumped to 2.0.4.13 then to 2.0.4.14.

Any help would be appreciated. Or even an .rpm lol.

mautz 2016-11-05 06:20

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I had to download the file with my Jolla1 and copy it to the N5. But i can send you a copy later...

deprecated 2016-11-05 06:22

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

Originally Posted by mautz (Post 1518058)
I had to download the file with my Jolla1 and copy it to the N5. But i can send you a copy later...

That would be great! That must be a recent change, as a few months ago on my first 2.0.1.11 install on the Nexus 5, it went through without issue.

Either way, just let me know when you have it available. Thanks! :)

mautz 2016-11-05 06:44

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I send you a message.

minimec 2016-11-06 01:54

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
First: THX a lot for all the work mautz!!!

@deprecated
Quote:

This is on 2.0.4.14, haven't had any glitches with a -75mV global undervolt (manual editing, not using sfdroid or any of the apps) on a PVS 2 binned SoC.
I do also have a 'PVS 2' CPU, but I can only get -50mV out of it. Otherwise I get instant freezes. My setup would be 2.0.1.11 on multirom.

I see some improvements in powertop, but I definitely prefer (always have) the 'conservative' governor over 'blue_active'. I see much better stats in powertop for idle state. I get low peaks of +/-200mV. When I change the governor to 'blue_active' idle mV usage is 460mV and more.

I do have some hopes for the GPU settings... So I stay tuned...


All times are GMT. The time now is 08:11.

vBulletin® Version 3.8.8