![]() |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
OK, let's see with the logcat. Logcat is easy when you know where to look. In N4 and OPX, its under /usr/libexec/droid-hybris/system/bin/logcat Since we look only for the loaded microphone, you could just pipe it to grep mic. So, to see the microphone, devel-su /usr/libexec/droid-hybris/system/bin/logcat | grep mic wait few seconds dial a phone number. Note that the microphone will be loaded at the beginning of the call, you don't even have to get someone to pick it up. If, while having default build.prop (I presume its configured for noise cancelling, as in N4), you would not see dmic loaded this bug is affecting you. Re trying: I am quite sure that @sledges did try to rebuild his N5 image and got the expected (loading dmic) results. I could see that on https://wiki.merproject.org/wiki/Ada...for_hammerhead the OTA to 2.0.2 has noise-cancelling, but its suggested for devs only. I don't know which version are you guys running on N5. OPX and N4 are on 2.0.5.x . Maybe its time to ask on IRC regarding the plans of rebuilding N5 image if it hasn't been done yet. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
P.S. SOLVED!!! Sorry, I missed the missing d. :rolleyes:
Just a quick follow up. Quote:
Code:
[nemo@Nexus5 ~]$ devel-su systemctl restart sensorsfw |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Thanks for your very helpful posting! It pains me that I cannot contribute much to the discussion, however, here are a few tidbits.
Quote:
Code:
D/audio_hw_primary( 981): select_devices: out_snd_device(9: voice-handset) in_snd_device(23: handset-mic) Quote:
BTW, whatever happened to RealJohnGalt? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
When you updated to 2.0.5.6, you probably did not update the packages which are N5 specific - since they are not released. Now when we know that the bug is there, I would suggest to go to IRC #sailfishos-porters channel on Freenode and ask for help. Its extremely helpful community and I am sure that N5 developers would do their best to help you. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I don't have the microphone echo problem on the later device adaptation. The image is 2.0.4.13 (device adaptation 0.0.1.5) and updates fine to 2.0.5.6. The only problem with that image is that sfdroid won't work on it. That doesn't bother me, but it might you.
Furthermore, with build.prop edits I listed earlier in the thread on the old hardware adaptation, I was still able to get rid of the echo on 2.0.5.6. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
acdbdata mixer_paths.xml mixer_paths_auxpcm.xml |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
lrwxrwxrwx 1 root root 20 Dec 24 12:48 acdbdata -> /system/etc/acdbdata lrwxrwxrwx 1 root root 27 Dec 24 12:48 mixer_paths.xml -> /system/etc/mixer_paths.xml Should I establish that missing link? Where should it link to? There is no /system/etc/mixer_paths_auxpcm.xml file on my phone. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Maybe the problem is gone with my CM13 port, when i get it finished.... |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I've got a problem, the cpu usage with none app opened is 60%, no changes after a reboot. Now after a second reboot the problem is still there...what should I do? Yesterday was perfect, but after the boot of this morning I have this issue.
http://i64.tinypic.com/29usmmt.jpg http://i66.tinypic.com/1491klt.png edit: maybe I found the problem, yesterday I installed the new OKboard, after removing it the problem seems to be gone |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
A question about sfdroid...would be possible to start an application installed in the android rom in sfdroid? the app is Here Maps.
Or better, could I make Here app installed in sfdroid read maps that are in the Android partition? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
No GPS in sfdroid.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Just mount the android partition and create a symlink to the maps folder and see if it works ;-)
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Now that Freedreno is progressing quite nicely, is it possible to use proper upstream kernel on Nexus 5 with Mesa without any Android blobs?
There was a talk about such possibility for Nexus 7 tablet: https://bloggingthemonkey.blogspot.c...ic-update.html Are there any drivers for Nexus 5 that don't have any open analog? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Update on CM13 port
What works: - Phone functions - SMS - Bluetooth(starts and sees devices, haven't testet more since i don't have any BT equipment) - WIFI - Mobile data - GPS(including A-GPS) - Audio - LED - Vibration -... What does not work: - Compass - Camera(still working on that) I'll kee you updated. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
What about Wlan hotspot Mautz?
I like the "including A-GPS" part |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
I also saw this: https://www.phoronix.com/scan.php?pa...x-4.9-ARM-Pull is it accurate? It claims: Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Code:
############################## |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
A new update:
I'm using my CM13 port as a daily driver since monday. It is stable, not a single crash. Sadly, the UI freezing bug is still present. I hope to get tge camera problems fixed next week. This is the power consumption of the last 8 hours with normal usage: http://up.picr.de/28081979up.jpg |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
It is not flashed on this installation. But flashing it makes the compass work again as on 12.1. So, i think i'm going to integrate it into my final build...and now back to camera debugging...
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Looking good :)
Sensors are all workong like on cm12.1. Z-Axis and compass are laggy like on 12.1 but working now. CPU usage hasn't changed, see screenshot below. http://up.picr.de/28104484jt.jpg |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Are you using a Sailfish 2.0.5.6 rom or have you updated an older one?
Maybe is too early to think about that, but did you try sfdroid? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Sailfish 2.0.5.6. OTA will be hopefully available after release, but for OTA i need the camera working.
I already talked t nh1402, he'll help getting sfdroid running on cm13 base, but same as above, camera first. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Most of the times it is in c3 state.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
C3 is good, but its still awake as far as I understand the states.
What about "CPU sleep %"? When all is good, that should be 90%+ while your phone is in your pocket. For me, its 95% with idle states taking in total less than 1% (i.e. phone is either asleep or doing something while awake to get into the sleep ASAP). Its different hardware + kernel, though. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Is there any other way to check the suspend time, in Systemdatascope this never showed anything, it does not work on 12.1port either, or it really never gets to sleep.
/sys/kernel/debugsuspend_stats shows 0, but its the same on 12.1. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
mcetool --get-suspend-stats uptime: 522012.239 suspend_time: 406547.645 The collectd plugin reporting CPU sleep is very simple (merged into upstream at https://github.com/collectd/collectd...src/cpusleep.c ) and is based on following two kernel clocks, as mcetool. I presume that you would get suspend_time = 0 in mcetool output. If not, then run mcetool several times and see how the times are increasing. By following the increase in times, you could easily calculate CPU sleep percentage. Just let the phone "rest" for a bit (10 minutes) between measurements. Please, if it turns out that SystemDataScope/collectd reports sleep wrongly, let me know - github issue at SystemDataScope repo would probably be simplest (or via this thread, I'll follow it). Usually, absence of CPU sleep means that some wakelock is not released. Maybe dmesg has something to say? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Not looking good:
mcetool --get-suspend-stats uptime: 3253.005 suspend_time: 0.000 The wakelocks who keep the device from getting into sleep mode are from msm_serial_hs_dma. Seems to be bluetooth related. Strange thing is that i don't use bluetooth. EDIT: After disabling all bluetooth services, the device does enter suspend mode. Maybe someone can try this also on cm12.1? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
If you say me how to disable bluetooth services i'll try!
btw, i'm satisfied with the battery usage with cm12 and your kernel. But if with cm13 is better i will give a try! |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Quote:
Also confirmed for cm12.1 with Sailfish 2.0.5.6! Code:
devel-su Code:
[nemo@pris ~]$ mcetool --get-suspend-stats |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Thanks minimec.
@rinigus With bluetooth disabled, suspend works as it should, but the power consumption in idle does not improve. Btw, it is also shown in systemdatascope now. |
All times are GMT. The time now is 08:13. |
vBulletin® Version 3.8.8