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)

mautz 2016-12-07 06:06

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

Originally Posted by deprecated (Post 1520154)
Do you guys use multirom at all? I had read that it wasn't the preferred method a while back, so I typically do a native install. Are there any side effects or drawbacks to using multirom for sailfish alongside other OS'es?

I'm using multirom since day one.

If have a second SFOS to test SF updates and check if the patches i use are working, and i test the kernelsbefore i install them on my main SFOS installation.

By the way a new kernel is on the way with updated wifi drivers and some power managment improvements, i hope to release it this evening.

Regarding the powersave when the phone is suspended, if the phone is in idle state the tick rate does not matter that much, since kernel 3.4 is nearly running tickless when idle. Sadly full tickless mode was introduced in kernel 3.10 and i haven't found a working 3.10 version for the N5.

EDIT: Seems francos kernel for the N5 is tickles...looks like i've got some work to do :D

mautz 2016-12-07 10:34

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Concerning the battery drain, when the screen is on, maybe we are lacking hardware accleration of the GPU? Scrollingthrough the apps menu can bring the CPU usage up to 100%.

Edit:

I checked the CPU usage in Android 6 it is about 30-40% lower. This is way better, but this alone can't be the cause for the huge difference in battery life...if this is true.
Has anyone used the Nexus5 with Android 5.1 before switching to SFOS and can confirm that there is such a huge difference?

deprecated 2016-12-07 16:57

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

Originally Posted by mautz (Post 1520171)
Concerning the battery drain, when the screen is on, maybe we are lacking hardware accleration of the GPU? Scrollingthrough the apps menu can bring the CPU usage up to 100%.

Edit:

I checked the CPU usage in Android 6 it is about 30-40% lower. This is way better, but this alone can't be the cause for the huge difference in battery life...if this is true.
Has anyone used the Nexus5 with Android 5.1 before switching to SFOS and can confirm that there is such a huge difference?

I think the UX works with GPU acceleration, too. If you run AIDA64 and select the GPU tab and move through applications/scroll around, the GPU usage ramps up to anywhere from 20% to 60% on my device.

I can confirm the huge difference. I used my N5 on Copperhead, which was 5.1.1 Lollipop, and it lasted literally 3-4 days without Google Play services.

deprecated 2016-12-07 17:00

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

Originally Posted by mautz (Post 1520155)
EDIT: Seems francos kernel for the N5 is tickles...looks like i've got some work to do :D

Oh man, that is exciting! :D

mautz 2016-12-07 18:39

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

Originally Posted by deprecated (Post 1520201)
Oh man, that is exciting! :D

Sorry, i was wrong...but since no actual N5 kernel is tickless(nearly all use CONFIG_HZ=100) this can't be the cause of the battery drain.

deprecated 2016-12-07 20:02

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

Originally Posted by mautz (Post 1520209)
Sorry, i was wrong...but since no actual N5 kernel is tickless(nearly all use CONFIG_HZ=100) this can't be the cause of the battery drain.

No worries! And yeah, I'm with you there. I'm fairly positive it isn't the GPU, and my CPU usage hovers around ~8% while the screen is on. Draw is about -110mAh at idle. It seems to behave a small amount better when I manually set my ofono TechnologyPreference to umts rather than selecting "prefer 3G" in settings.

Power drain is consistent regardless of which radios I disable or enable, so I'm not sure the radios are actually being turned off. If I turn off WiFi, Bluetooth, etc., it still draws an identical amount. This seems a little strange to me. Maybe the root here is the radio management?

Pure speculation, of course. Doesn't hurt to get it out there though!

BluesLee 2016-12-08 07:14

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

Originally Posted by deprecated (Post 1520212)
No worries! And yeah, I'm with you there. I'm fairly positive it isn't the GPU, and my CPU usage hovers around ~8% while the screen is on. Draw is about -110mAh at idle. It seems to behave a small amount better when I manually set my ofono TechnologyPreference to umts rather than selecting "prefer 3G" in settings.

Power drain is consistent regardless of which radios I disable or enable, so I'm not sure the radios are actually being turned off. If I turn off WiFi, Bluetooth, etc., it still draws an identical amount. This seems a little strange to me. Maybe the root here is the radio management?

Pure speculation, of course. Doesn't hurt to get it out there though!


I speculated on syncthing, removed it and voila battery life is better as the phone sticks to 3G since a day though i have set it to 4G in the settings:-)

In the past sensors have caused major issues on battery life, i have about 1.5%-2.0% here for both sensor processes with sfos 2.0.5. Can someone drop his numbers and sfos version here, especially lower sfos versions would be interesting.

mautz 2016-12-08 09:42

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

it's the same numbers for me, but they haven't changed during the updates(i'm now on 2..0.5.6). Disabling unneded sensors doesn't lower the CPU usage much. High usage only occurs when the sensors process crashes, which happens sometimes.

claustn 2016-12-08 12:36

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
i'm using sailfish 2.0.1.1 , if you tell me what test to do i will do it ;)

rinigus 2016-12-08 13:27

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
3 Attachment(s)
Have been following this thread with great interest - even without N5. However, I think we have similar problems on other devices.

I'd like to confirm the significantly larger drain in SFOS when compared to Android. At least, that was about a year ago on Nexus 4. As far as I remember, on Android, I could get about 2x longer on a single charge than in SFOS these days (SFOS did improve over a year on N4, at the beginning, the difference was even larger). So, the battery life difference is, in my experience on N4, similar to what as been suggested by some of you on N5.

Whether the difference is due to radios not switching off is hard to say. At least, as reported by rfkill interface at /sys/class/rfkill, the Linux kernel thinks the bluetooth and WiFi are as I expect them to be on N4 (and on OnePlus X). I have never seen any discrepency on the radio state when following rfkill interface by collectd. Whether Linux kernel gets fooled, that's another question.

Finally, when reporting CPU usage on sensors, I guess it would be great to specify how you measure it. If you use top then you are measuring against CPU time. Alternative is to measure against the wall time taking into account time which device was sleeping. An example logs for 24h of CPU sleep and sensor related sensorfwd and sensors.qcom processes are attached. These were recorded on OnePlus X, 2.0.2 and, as you could see, sensors account to 0.15% of wall time. Taking average sleep of 85% over that period, we get 1% of CPU time for sensors on this device.

While different hardware, I hope that these observations are of use for you as well.

mautz 2016-12-08 20:06

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I think our battery life problem is not sensors related...

Just wanted to share a screenshot of my battery usage today(screenshot shows last 12hours)

http://up.picr.de/27661752ux.jpg

At the moment i'm playing around with the different sfos boosters.
Ah, and i saw that sfos is running an osupdate check timer, which we don't need. It should be save to mask the the osupdate.timer and get some extra seconds of battery life ;)

New kernel is coming soon, i'll just want to test it a few days before releasing it.

claustn 2016-12-09 17:05

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
in sfdroid the command pkill zygote for the connection issue works, but I have to do it every time I open it. Is there way to make it fixed?

deprecated 2016-12-10 19:22

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
How's the testing coming, @mautz? :D

deprecated 2016-12-10 21:28

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

Originally Posted by claustn (Post 1520314)
in sfdroid the command pkill zygote for the connection issue works, but I have to do it every time I open it. Is there way to make it fixed?

You could script it, sh script or the like. Change the “Exec” directive in the .desktop shortcut for sfdroid in /usr/share/applications to something like:
Exec=fingerterm -e "/path/to/script.sh"

sh script includes original Exec directive from the .desktop followed by pkill zygote


Forgive the lack of detail, but I don't use sfdroid. I'd be glad to help in more detail if you paste me the contents of the sfdroid .desktop shortcut in /usr/share/applications

claustn 2016-12-11 10:47

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
that's the content:
Code:

[Desktop Entry]
Exec=invoker --type=generic -s /usr/bin/sfdroid.sh
Icon=/usr/share/icons/hicolor/96x96/apps/sfdroid.png
Name=sfdroid
Type=Application
Version=1.0

and of /usr/bin/sfdroid.sh :

Code:

#!/bin/sh

/usr/bin/sg graphics "/usr/bin/sfdroid $@"


petrica 2016-12-11 12:34

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Well, on a fresh 2.0.4.13 with V8 kernel, conservative governor, lowered min_freq to 200, wifi on, no apps running, device not even touched, battery consumption in 24h was 40%. Is that good or bad? Previously I updated from 2.0.4.13 to 2.0.5.6 (which BTW is running very good and is my favorite) but the battery was draining way faster.

Also no SFDroid.

deprecated 2016-12-11 17:03

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

Originally Posted by petrica (Post 1520363)
Well, on a fresh 2.0.4.13 with V8 kernel, conservative governor, lowered min_freq to 200, wifi on, no apps running, device not even touched, battery consumption in 24h was 40%. Is that good or bad? Previously I updated from 2.0.4.13 to 2.0.5.6 (which BTW is running very good and is my favorite) but the battery was draining way faster.

Also no SFDroid.

That sounds a bit high. That's close to what I get with the stock kernel and voltages. Have you undervolted at all? That will be your single biggest gain. Also, I'd stick to a lower limit of 249MHz, as any lower will have diminishing returns and actual losses. I actually have a fair amount less consumption on my 2.0.5.6 setup as opposed to 2.0.4.1x

Did you use the 2.0.1.11 install image following CM12.1, then the sensorsfix3.zip flash then OTA'ed to 2.0.4.1x and beyond? What I'd do is install the updated 2.0.4.13 image, as the hardware adaptation is slightly newer and seems to have improved battery life after OTA'ing to 2.0.5.6. I've settled on that method of getting the latest SFOS after much trial and error, and this method works for me every time - with the exception of the known dbus bug which is easy to get around. Let me know if you need any help!

deprecated 2016-12-11 17:20

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

Originally Posted by claustn (Post 1520354)
that's the content:
Code:

[Desktop Entry]
Exec=invoker --type=generic -s /usr/bin/sfdroid.sh
Icon=/usr/share/icons/hicolor/96x96/apps/sfdroid.png
Name=sfdroid
Type=Application
Version=1.0

and of /usr/bin/sfdroid.sh :

Code:

#!/bin/sh

/usr/bin/sg graphics "/usr/bin/sfdroid $@"


You could likely add "pkill zygote" to a new line in that sfdroid.sh script, as follows:

Code:

#!/bin/sh

/usr/bin/sg graphics "/usr/bin/sfdroid $@"
/usr/bin/pkill zygote

Let me know if that doesn't work.

claustn 2016-12-11 20:06

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

Originally Posted by deprecated (Post 1520393)
You could likely add "pkill zygote" to a new line in that sfdroid.sh script, as follows:

Code:

#!/bin/sh

/usr/bin/sg graphics "/usr/bin/sfdroid $@"
/usr/bin/pkill zygote

Let me know if that doesn't work.

It doesn't work :confused:
Nothing is changed, it seems that the command is not executed.

deprecated 2016-12-11 20:34

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

Originally Posted by claustn (Post 1520402)
It doesn't work :confused:
Nothing is changed, it seems that the command is not executed.

I'll make a test partition with sfdroid to see if I can find a way to automate that nicely. I'll update as soon as I have a solution for you. :)

petrica 2016-12-11 23:59

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

Originally Posted by deprecated (Post 1520392)
That sounds a bit high. That's close to what I get with the stock kernel and voltages. Have you undervolted at all? That will be your single biggest gain. Also, I'd stick to a lower limit of 249MHz, as any lower will have diminishing returns and actual losses. I actually have a fair amount less consumption on my 2.0.5.6 setup as opposed to 2.0.4.1x

Did you use the 2.0.1.11 install image following CM12.1, then the sensorsfix3.zip flash then OTA'ed to 2.0.4.1x and beyond? What I'd do is install the updated 2.0.4.13 image, as the hardware adaptation is slightly newer and seems to have improved battery life after OTA'ing to 2.0.5.6. I've settled on that method of getting the latest SFOS after much trial and error, and this method works for me every time - with the exception of the known dbus bug which is easy to get around. Let me know if you need any help!


The test was done on 2.4.13 Image and 2.0.5.6 I mentioned was OTA updated from same.
Unfortunately it's pretty hard for me to know what parameters to use in kernel since the information is spread over tens of posts and not very well explained (not complaining, just saying) or convincing enough. Right now I'm testing 2.0.5.6 with the code from post 225, see how it goes.

claustn 2016-12-12 07:50

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I retried after a reboot, if I open sfdroid, I close and reopen it, it works!
re-thank you :D

edit: i talked too early, now sfdroid doesn't start anymore, with the original .sh file and with the modified

2nd edit: now sfdroid works, dont't know why

mautz 2016-12-13 10:48

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Sorry for the delay...here is kernel v9.

Code:

Changelog:
- Updated wifi drivers
- Added partialresume API
- Added Powersuspend

So, nothing new to play around with this time.
Powersuspend is the new suspend mechanism which will be used instead of earlysuspend in the future. So not many kernel functions use this at the moment. I'm going to update as many as possible in the future.
Partialresume should give some lower powerconsumption when using wifi, because more things are handled by the kernel now.

Download here

Source is available here.

I'm going to write a little textfile, which includes the complete changelog of all released kernels and the values which can be customized in sysfs for people who don't want to search the whole thread. Just give me a few days, since i have a lot of other work to do lately.

petrica 2016-12-13 13:49

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

Originally Posted by mautz (Post 1520488)

I'm going to write a little textfile, which includes the complete changelog of all released kernels and the values which can be customized in sysfs for people who don't want to search the whole thread. Just give me a few days, since i have a lot of other work to do lately.

Thanks for this (and all the work on kernel, of course!). Maybe your work should have a dedicated thread; would be easier for everyone to follow the development.

minimec 2016-12-13 20:36

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I first want to thank mautz for the new kernel.

I realized that the new v9 kernel ('Kernel Tick Clock') is again at 300hz, while I am a strong defender of 100hz (at least right now).

Being able to compile my own kernel now, I decided to give you a link to my version of the v9 kernel. There are only two minor modifications... My kernel runs at '100hz' and 'swap' is also enabled. That will allow you to create a swapfile and use it as swap partition. The reason for this is simple: I want to avoid lipstick crashes, when running out of physical memory. Sfdroid users might benefit from this solution.

You can download the kernel here.
Mautz kernel sources here...

Create swapfile: (source: https://www.cyberciti.biz/faq/linux-...ap-file-howto/ )

Code:

dd if=/dev/zero of=/swapfile bs=1024 count=524288
chown root:root /swapfile
chmod 0600 /swapfile
mkswap /swapfile
swapon /swapfile

Enable swap @boot: Add the following line to /etc/fstab
Code:

/swapfile none swap sw 0 0
Update: I might have linked the wrong kernel file first. To be sure, I linked a new kernel zip file.

deprecated 2016-12-13 20:37

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

Originally Posted by mautz (Post 1520488)
Sorry for the delay...here is kernel v9.

Code:

Changelog:
- Updated wifi drivers
- Added partialresume API
- Added Powersuspend

So, nothing new to play around with this time.
Powersuspend is the new suspend mechanism which will be used instead of earlysuspend in the future. So not many kernel functions use this at the moment. I'm going to update as many as possible in the future.
Partialresume should give some lower powerconsumption when using wifi, because more things are handled by the kernel now.

Download here

Source is available here.

I'm going to write a little textfile, which includes the complete changelog of all released kernels and the values which can be customized in sysfs for people who don't want to search the whole thread. Just give me a few days, since i have a lot of other work to do lately.

Excellent work, @mautz. I look forward to your future work with the partialresume API. I hadn't considered a dedicated thread for your kernel previously, as this has kind of been the consolidated stop for all things N5 SFOS (as well as BlueLee's thread). Searching through the threads for the best settings can surely become daunting for newcomers and those that haven't been following/testing every kernel revision and worked their own notes. So, maybe that wouldn't be such a bad idea.

I'll start working on a table of tested settings and outcomes. Trying to decided what factors to prioritize. UX smoothness and idle voltage draw are really the only things I consider. Will update as it progresses.

deprecated 2016-12-13 20:40

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

Originally Posted by minimec (Post 1520518)
I first want to thank mautz for the new kernel.

I realized that the new v9 kernel ('Kernel Tick Clock') is again at 300hz, while I am a strong defender of 100hz (at least right now).

Being able to compile my own kernel now, I decided to give you a link to my version of the v9 kernel. There are only two minor modifications... My kernel runs at '100hz' and 'swap' is also enabled. That will allow you to create a swapfile and use it as swap partition. The reason for this is simple: I want to avoid lipstick crashes, when running out of physical memory. Sfdroid users might benefit from this solution.

You can download the kernel here.
Mautz kernel sources here...

Create swapfile: (source: https://www.cyberciti.biz/faq/linux-...ap-file-howto/ )

Code:

dd if=/dev/zero of=/swapfile bs=1024 count=524288
chown root:root /swapfile
chmod 0600 /swapfile
mkswap /swapfile
swapon /swapfile

Enable swap @boot: Add the following line to /etc/fstab
Code:

/swapfile none swap sw 0 0

Oh wow, @minimec. That's fantastic! I was just about to ask whether it was compiled at 100Hz timer still. The swap bit is something I hadn't even considered. Great work!

Also, I'm going to put together my toolchain. May pick your brain a little later on your setup. I tried a couple linaro 4.9.4 installs and kept getting compile errors.

minimec 2016-12-13 21:22

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

Originally Posted by deprecated (Post 1520520)
Also, I'm going to put together my toolchain. May pick your brain a little later on your setup. I tried a couple linaro 4.9.4 installs and kept getting compile errors.

I use this toolchain... https://github.com/Christopher83/arm...ihf-linaro_4.9

F0x123 2016-12-14 11:01

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

I am new in this Sailfish flashing stuff and I try to get sfdroid to work on my nexus 5.

Finally a managed to install CM13 as a base ROM and then latest Multirom v33. On top of that CM 12.1 latest stable snapshot (20150901) with SFOS 2.0.4.13.
Now I try to install sfdroid as described in this thread.

Unfortunately "Flash Zip" in TWRP Multirom Recovery does not work. The button does nothing. "unable to locate page (multirom_flash_select)" is the error message I get.

How can I fix that? Otherwise I won't be able to flash the sfdroid, gapps and the sensorsfix3 (I still don't know if this sensorsfix is necessary)

Could you please give me an advice how to solve this issue and get this button to work again or how I can flash the necessary packages?

Thanks!

minimec 2016-12-14 11:44

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

Originally Posted by F0x123 (Post 1520540)
Unfortunately "Flash Zip" in TWRP Multirom Recovery does not work. The button does nothing. "unable to locate page (multirom_flash_select)" is the error message I get.

That is in fact a known problem. You need to flash an older version of TWRP (see first post of this thread).

Quote:

Originally Posted by RealJohnGalt (Post 1509185)
  • If you're using multirom, ensure that you're running an older version of recovery that supports the "Flash Zip" capability for Sailfish. This build is recommended: http://d-h.st/BzdC


F0x123 2016-12-14 12:20

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Shame on me, I did not see that line...sorry.
Thank you, I will try that file now.

Is the sensorsfix also still needed with the latest SFOS version?

edit: worked! Also the sensorsfix :)

One additional question:

Quote:

Add nemo to a required group (must have a password set in Settings => Developer Options):
Code:

devel-su usermod -G net_bt_stack -a nemo

I used that command with the pw set in dev-options.

Now I start sfdroid but nothing happens. Window starts minimized and is closed few seconds later.

mautz 2016-12-14 12:47

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

Sorry, this happens if you don't update the defconfig file...i'll push the updated defconfig file with the 100hz option to the github repository later.
Good work on building the kernel yourself :-)

EDIT: Updated.

@F0x123

You need to restart SFOS after adding nemo to the bt_stack group.

Some more thoughts about the battery drain problem, i think it has something to do with the fact that the SFOS port is not completely using all of the android functions to suspend unused hardware or even use all the power saving functions, that are you used when using Android alone. For example, listening to audio uses the CPU instead of the Nexus audio DSP. I think there are some more thinks that are not fully working.

Another thing is the CPU usage of many programs. Webcat and Webpirate use much more CPU power when in idle than the stock browser. Many apps don't go to sleep when the phone is suspended. Booster-silica-qt5 wakes the phone up every few seconds and so on...

I don't know if this is the same on Jolla1, i haven't checked it until now.

F0x123 2016-12-14 13:04

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Yes, thank you. One step further. :)

Now CM starts booting but is stuck in a loop. :(

mautz 2016-12-14 13:19

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

Originally Posted by F0x123 (Post 1520547)
Yes, thank you. One step further. :)

Now CM starts booting but is stuck in a loop. :(

Did you use the files of the first post in this thread?

You could try
Code:

devel-su pkill surfaceflinger
in terminal and start SFdroid again.

F0x123 2016-12-14 13:28

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I used the latest

sailfishos-hammerhead-release-2.0.4.13-beta5-201610241556.zip

http://images.devaamo.fi/sfe/hammerhead/beta5/
and

cm-12.1-20150901-SNAPSHOT-YOG4PAO237-hammerhead.zip

https://download.cyanogenmod.org/?device=hammerhead

All other files like sfdroid, sensorsfix3 and twrp recovery I took from this thread. I skipped the gapps package.

Killing the process and restarting does not change the results.

mautz 2016-12-14 14:10

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
The problem is the SFOS 2.0.4.13 image, which prevents SFDroid from starting. You need to reinstall using the image 2.0.1.11 image of the first post. You can upgrade to the latest SFOS version afterwards.

F0x123 2016-12-14 14:16

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
ok, thanks. Can I just flash 2.0.1.11 over the existing SFOS or do I have to do a clean reinstall?

mautz 2016-12-14 14:21

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I would do a clean reinstall.

F0x123 2016-12-14 16:28

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Hey, sfdroid is running :) Thank you very much for your support!

Is there any how to for sfdroid.
I am looking for answer for issues like:
How can I start an android app directly from SFOS?
Can I use paid apps from google play?
Can I use whatsapp and get push notifications?

And also how can I update SFOS to the latest version? System update tells me the version is the latest, which is not true...

claustn 2016-12-14 17:00

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

Originally Posted by F0x123 (Post 1520560)
Hey, sfdroid is running :) Thank you very much for your support!
How can I start an android app directly from SFOS? you can't
Can I use whatsapp and get push notofocations? no

Maybe are functions that could be implemented in future, if there's someone still working on it.


All times are GMT. The time now is 15:57.

vBulletin® Version 3.8.8