Affichage des articles dont le libellé est related. Afficher tous les articles
Affichage des articles dont le libellé est related. Afficher tous les articles

vendredi 29 janvier 2016

[DEV] Z5 Kernel issues & related stuff + fix(es)



The following is all on stock (out of the box), unrooted kernel + ROM

(from adb shell)

Seriously Sony, what is wrong with the other half of this octa-core CPU ?


Code:


dmesg | grep -i error
<3>[    5.226418] bcl_handle_hotplug: Error -1 onlining core 4
<3>[    5.226714] bcl_handle_hotplug: Error -1 onlining core 5
<6>[    6.471743] subsys-pil-tz fe200000.qcom,lpass: Subsystem error monitoring/handling services are up
<6>[    6.720171] CFG80211-ERROR) wl_event_handler : tsk Enter, tsk = 0xffffffc0bb348c10
<3>[    7.359383] bcl_handle_hotplug: Error -1 onlining core 4
<3>[    7.359854] bcl_handle_hotplug: Error -1 onlining core 5
<6>[    9.994728] pil-q6v5-mss fc880000.qcom,mss: Subsystem error monitoring/handling services are up
<3>[  12.646433] bcl_handle_hotplug: Error -1 onlining core 4
<3>[  12.646764] bcl_handle_hotplug: Error -1 onlining core 5
<3>[  51.139961] bcl_handle_hotplug: Error -1 onlining core 4
<3>[  51.140351] bcl_handle_hotplug: Error -1 onlining core 5
<3>[  56.007422] bcl_handle_hotplug: Error -1 onlining core 4
<3>[  59.416963] bcl_handle_hotplug: Error -1 onlining core 4
<3>[  59.417713] bcl_handle_hotplug: Error -1 onlining core 6
<3>[  59.418682] bcl_handle_hotplug: Error -1 onlining core 7
<3>[  59.938214] bcl_handle_hotplug: Error -1 onlining core 4
<3>[  59.938477] bcl_handle_hotplug: Error -1 onlining core 6
<3>[  59.939182] bcl_handle_hotplug: Error -1 onlining core 7


----------------------------

And the following looks like some usb gadget or usb f_fs related issue:

http://www.serverphorums.com/read.php?12,1379459

[FIX] ? https://lkml.org/lkml/2014/2/27/38 [PATCH] usb: gadget: return the right length in ffs_epfile_io()


Code:


<3>[16729.608668] ffs_epfile_io(): Error: returning -512 value
<3>[16729.882382] ffs_epfile_io(): Error: returning -512 value
<3>[16732.738660] ffs_epfile_io(): Error: returning -512 value
<3>[16732.969768] ffs_epfile_io(): Error: returning -512 value
<3>[16737.264389] ffs_epfile_io(): Error: returning -512 value
<3>[16737.600648] ffs_epfile_io(): Error: returning -512 value
<3>[16738.981945] ffs_epfile_io(): Error: returning -512 value
<3>[16740.424212] ffs_epfile_io(): Error: returning -512 value
<3>[16740.777312] ffs_epfile_io(): Error: returning -512 value
<3>[16741.298607] ffs_epfile_io(): Error: returning -512 value
<3>[16741.582891] ffs_epfile_io(): Error: returning -512 value
<3>[16741.929018] ffs_epfile_io(): Error: returning -512 value


----------------------------

The following hints at some issues with Bluetooth headphones. Call or sound output related issues could happen (?)

Anyone had issues with stability at the end of calling ? ( https://talk.sonymobile.com/t5/Kerne...s/td-p/1022774 what phone model is this ? )


Code:


<3>[    6.683139] msm-pcm-routing qcom,msm-pcm-routing.41: ASoC: Failed to add route VOICE2_STUB_DL -> Voice2 Stub -> INTERNAL_BT_SCO_RX_Voice Mixer
<3>[    6.840240] msm-dai-q6-dev qcom,msm-dai-q6-sb-2-rx.191: ASoC: Failed to add route SLIMBUS_2_RX -> direct -> Slimbus2 Playback
<3>[    6.840269] msm-dai-q6-dev qcom,msm-dai-q6-sb-2-tx.192: ASoC: Failed to add route Slimbus2 Capture -> direct -> SLIMBUS_2_TX


----------------------------

The following could lead to some sluggishness and/or instability:
CMA (memory fragmentation ?, exhaustion ?) issues
( https://lkml.org/lkml/2014/11/3/559 )


Code:


<4>[    7.398189] alloc_contig_range test_pages_isolated(c7818, c781d) failed
<4>[    7.398626] alloc_contig_range test_pages_isolated(c7820, c7825) failed
<4>[    7.399363] alloc_contig_range test_pages_isolated(c7828, c782d) failed


----------------------------


Code:


texfat: fail_safe is enabled

https://en.wikipedia.org/wiki/Transa...AT_File_System

uh - nice ?!

----------------------------

Lol :(

Code:


<4>[16728.136727] _cpu_up: attempt to bring up CPU 5 failed
<4>[16728.136922] _cpu_up: attempt to bring up CPU 7 failed
<3>[16729.674537] PM: Some devices failed to suspend
<4>[16743.410363] _cpu_up: attempt to bring up CPU 4 failed
<4>[16743.410617] _cpu_up: attempt to bring up CPU 5 failed
<4>[16743.410868] _cpu_up: attempt to bring up CPU 6 failed



----------------------------


Come on ! You can do better than that ! :silly:

Download from this link

jeudi 28 janvier 2016

Heavy Battery Drain related to CPU usage?



Hey guys,

I've been having some issues recently with battery drain on my Turbo which I think is related to an unncessarily high CPU usage for apps that shouldn't be that demanding. Let me start way back

I work in a radiation shielded environment so I keep my phone in airplane mode at work with WiFi on. I don't think this has to do with the phone constantly searching for signal.

I also greenify apps like an OCD madman. I do have a Moto 360 1st gen paired to my phone along with a pair of bluetooth stereo headphones essentially all the time. I've been using amplify to block location based wakelocks and to override the sync rate to every 10 minutes instead of push for certain google apps. I've been watching the wakelocks closely and I haven't found anything like rogue programs as far as I can tell eating up battery (i.e. apps I wasn't already actively aware of running). Adaptive brightness is enabled but attentive display (where it's supposed to watch you) is disabled. I use moto display including the IR sensor wave gesture. I don't use the alarm gesture. I don't use Moto Assist.

My issue basically has been with listening to music/radio from my phone. Streaming radio from Tune In Radio Pro dropped my battery about 10% in 20 minutes with the screen on (I was texting and reading emails on the bus while listening to it). The phone was definitely hot to the touch. If I disable internet and do the same thing with Google Play music and local storage, the battery is slightly better but still drops significantly. Again, the phone ends up feeling like it's running hot. I looked at the CPU states under Bettery Battery Stats and the phone was at fairly high clock speeds (20% 1.73 GHz, 5% 2.65 GHz). I don't know if this was the definitive way to establish this.

Here's the kicker though. I enabled Android's battery saver option (it says it basically disabled sync, vibrate, and throttles the CPU) and have been running radio/music with FAR better battery drain. Like barely a percent or 2 in a half hour. I know that with sync disabled I would expect better battery too but the phone isn't hot and it wasn't always like this.

I'm running Computer Freak's 1.2.6 unlocked ROM. I guess my main question would be could I selectively choose power save features (i.e. CPU throttling WITHOUT disabling sync, vibrate, etc.) or is there any way to figure out why these apps end up making the phone run hot? Thanks!

Download from this link