yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] DualJoe:
[MENTION=5737508]Kiryo24[/MENTION]:

Looks different. No r/o remounts, no signs of graceful shutdown.

How does it crash? Immediate blackscreen/reset or does the screen hang/freeze for some seconds until it reboots?
[Galaxy S 4 i9506 Android Development] Kiryo24:
Now there hasn't been crashes much for some reason. When it happens it's pretty much as you describe. Freeze for few seconds then it reboots by it self and everything is normal.

It usually happens suddenly when im just doing browsing and normal things. Rarely when phone is idle.
[Galaxy S 4 i9506 Android Development] DualJoe:
Same here. Only happened during browsing so far. Not sure if that's just coincidence...

I started new log attempt hopefully showing more this time...

logcat -v long -b main -b system -b radio -f /storage/sdcard1/logcat.txt *:D
[Galaxy S 4 i9506 Android Development] bambuk:
I am not special of logcasts but my first try shows that if I don't know what I am looking for, finding it is impossible :)
[Galaxy S 4 i9506 Android Development] solk2:
That's I screwed up last_kmsg. Must be fixed from 05112014.
[Galaxy S 4 i9506 Android Development] DualJoe:
Ok, it crashed again (in cm11 browser). This are the last logcat entries. I expected more but on the other hand it doesn't look like android problem. If zygote would crash the init system would simply restart it. When it resets the black screen shows at least two 2 white horizontal lines at 1/3 and 2/3 of the screen. That doesn't happen on regular reboot. Gfx driver might be involved.

I will update now from 31102014 to latest build.

[ 11-06 00:52:34.025 17156:17156 D/dalvikvm ]
VFY: replacing opcode 0x70 at 0x0002

[ 11-06 00:52:34.205 780: 797 I/ActivityManager ]
Displayed android/com.android.internal.app.ResolverActivity: +266ms

[ 11-06 00:52:34.225 17156:17156 I/Timeline ]
Timeline: Activity_idle id: android.os.BinderProxy@4258e828 time:3185977

[ 11-06 00:52:34.245 780: 797 I/Timeline ]
Timeline: Activity_windows_visible id: ActivityRecord{426c7818 u0 android/com.android.internal.app.ResolverActivity t14} time:3185997

[ 11-06 00:52:35.035 780: 1071 I/PackageManager ]
Action: "android.intent.action.VIEW"

[ 11-06 00:52:35.035 780: 1071 I/PackageManager ]
Category: "android.intent.category.DEFAULT"

[ 11-06 00:52:35.035 780: 1071 I/PackageManager ]
Scheme: "http"

[ 11-06 00:52:35.035 780: 1071 I/PackageManager ]
Adding preferred activity ComponentInfo{com.android.browser/com.android.browser.BrowserActivity} for user 0 :

[ 11-06 00:52:35.055 17156:17156 I/Timeline ]
Timeline: Activity_launch_request id:com.android.browser time:3186806

[ 11-06 00:52:35.065 780: 1050 I/ActivityManager ]
START u0 {act=android.intent.action.VIEW dat=http://news.google.com/news/
flg=0x3000000 cmp=com.android.browser/.BrowserActivity} from pid 17156

[ 11-06 00:52:35.295 261: 261 W/SurfaceFlinger ]
couldn't log to binary event log: overflow.

[ 11-06 00:52:35.315 15823:15823 D/WebViewTimersControl ]
onBrowserActivityResume

[ 11-06 00:52:35.315 15823:15823 D/WebViewTimersControl ]
Resuming webview timers, view=com.android.browser.BrowserWebView{42dc4321 VEFDHVOL .F....I. 0,0-0,0}

[ 11-06 00:52:35.395 15823:15823 W/AwContents ]
nativeOnDraw failed; clearing to background color.

[ 11-06 00:52:35.415 780: 797 I/ActivityManager ]
Displayed com.android.browser/.BrowserActivity: +230ms

[ 11-06 00:52:35.415 780: 797 I/Timeline ]
Timeline: Activity_windows_visible id: ActivityRecord{426d0e28 u0 com.android.browser/.BrowserActivity t15} time:3187164

[ 11-06 00:52:35.415 15823:15823 W/AwContents ]
nativeOnDraw failed; clearing to background color.

[ 11-06 00:52:35.475 15823:15823 W/AwContents ]
nativeOnDraw failed; clearing to background color.

[ 11-06 00:52:35.495 15823:15823 I/Timeline ]
Timeline: Activity_idle id: android.os.BinderProxy@426610e4 time:3187246
[Galaxy S 4 i9506 Android Development] solk2:
Very strange reboots. Can anyone tell after which build they started?
[Galaxy S 4 i9506 Android Development] davidl1983:
Crashes

Had a few crashes myself. Only when the device is strained, playing Xcom or surfing with multiple tabs. It basically just freezes and restarts. Stopped tinkering with the governor and it has been stable for the last few days.

By the way - the flip case view disappeared. again, I believe after install the GEL lollipop launcher, is it possible to bring it back?
[Galaxy S 4 i9506 Android Development] solk2:
Just tried surfing with 10 tabs. No crash.

By the way what do you mean tinkering with the governor exactly?

smart case view is handeled by KeyGuard. So you just need to put back lockscreen that was before.
[Galaxy S 4 i9506 Android Development] davidl1983:
Only that I went into the "performance" section and changed the CPU governor to "conservative" and changed the maximum CPU to 1728.

I also updated the telephone with the latest nightly, could be that it solved the problem.
[Galaxy S 4 i9506 Android Development] DualJoe:
The 20141031 build was the first i noticed it. My previous build was something around 20141021 i think.

The bug seems not triggered by stress. Maybe it's something around the specific rendering engine of chromium. The reason it always crashed in browser so far. Hardware composer, surfaceflinger or something like that. The bug might vanish all by itself if it's CM base related. That's why I'm testing latest build now. Let's see if it crashes again at all...
[Galaxy S 4 i9506 Android Development] tomogo:
Not running screen mirroring.

Hi,

I've been dissapointed by my work, so I've desided to spend some time and clean my brain with installation of CM... again after several monts ;)

BT looks stable but still have same problem with screen mirroring. I've tried to connect my phone to Samsung all share cast dongle and also in work I've tried it with Sony TV. It shows "conecting" but it alwas failed after several second. So screen mirroring doesn't work anyway.

But the other things looks fine, I'll be testing several days and will hope for some solution with screen mirroring.

Good luck!
[Galaxy S 4 i9506 Android Development] pekker:
Hi ,

been using CM11 for more than a month and today i realised that my hotspot tethering doesnt work.

Hotspot is disabled.

i drag the slider to ON and immediately returns to OFF - nothing happens

i tried the method with sql (http://forums.androidcentral.com/go...-kitkat-new-method-t-mobile-without-root.html) but didnt work

current build cm-11-20141107-nightly and previous build was 1 week ago , still the same issue

any advices pls?
[Galaxy S 4 i9506 Android Development] solk2:
Just tried. Works. Post your logcat.
[Galaxy S 4 i9506 Android Development] hou$$:
Hello Folk's with the last stock firmware with Samsung Bloat deleted => My Antutu score is 42723

Someone can do an Antutu TEst with a Cyanogen ROM ?

Thk you very Much
[Galaxy S 4 i9506 Android Development] pekker:
D/SoftapController( 259): Softap fwReload - Ok

E/SoftapController( 259): Cannot update "/data/misc/wifi/hostapd.conf": Permiss

ion denied

E/WifiStateMachine( 693): Exception in softap start java.lang.IllegalStateExcep

tion: command '605 softap set wlan0 " pekker1" broadcast 6 wpa-psk [scrubbed]' f

ailed with '400 605 SoftAP command has failed'

E/SoftapController( 259): SoftAP is not running

D/SoftapController( 259): Softap fwReload - Ok

D/SoftapController( 259): Softap fwReload - Ok

E/SoftapController( 259): Cannot update "/data/misc/wifi/hostapd.conf": Permiss

ion denied

E/WifiStateMachine( 693): Exception in softap re-start java.lang.IllegalStateEx

ception: command '609 softap set wlan0 " pekker1" broadcast 6 wpa-psk [scrubbed]

' failed with '400 609 SoftAP command has failed'

---------- Post added at 03:17 PM ---------- Previous post was at 02:31 PM ----------

issue solved

first i backed up wpasupplicant.com

then i deleted /data/misc/wifi complitely

rebooted

tethering works

then replaced wpasupplicant and reboot again and all wifi is back and tethering works

thanks for your time solk
[Galaxy S 4 i9506 Android Development] solk2:
So whats about reboots. Does anyone experience them with latest nighties?
[Galaxy S 4 i9506 Android Development] DualJoe:
Had crash on 20141104 as well. Now running 20141107. Not crashed yet but too early to tell (need to spend more time on browsing). I will feed back tomorrow.
[Galaxy S 4 i9506 Android Development] solk2:
20141104 don't have any changes. So its no surprise. I don't have any crashes for two days now with latest changes. But I didn't had them much. Only while experimenting. So didn't mentioned it.
[Galaxy S 4 i9506 Android Development] DualJoe:
Shouldn't take long to find out.. I've had crashes at least once per day.

There's a +200ms audio delay when playing videos (MX Player, H/W+, h264/AAC). Also tested with Kodi/XBMC player.

I've compensated (remuxed) A/V with -200ms and checked some A/V sync testvideos. It can be noticed best on lipsync videos. Looks strange and weird if A/V is async.

Is there anything we can tweak/configure?
[Galaxy S 4 i9506 Android Development] solk2:
I think thats coz we have only deep-buffer playback. low latency playback causes sound glitches if there compress-offload session running parallel. And this coz of samsungs Speaker_cal.acdb calibration which I cant fix.

low latency playback works fine with hammerheads acdbs but this causes problems with microphone.

I'll try this variants and see if there will be such delay. But if I am right and it will be ok with low latency playback or with hammerhead acdb then most likely I wont be able to fix this until Samsung releases fixed versions of acdb.
[Galaxy S 4 i9506 Android Development] DualJoe:
Its not a general latency problem though. For watching videos (in sync) it wouldn't matter if sound is +200ms off as long as video gets shifted +200ms as well.

The only reference for audio sync problems i've found so far on xda were some people that switched the whole audio driver to fix the problem.

Edit: Crashed again on 20141107. This time on mx player.
[Galaxy S 4 i9506 Android Development] solk2:
Basicly yes. But it take a long time from putting audio Into buffer and sound coming from speaker. So it just can't get synced.

And what in logs?
[Galaxy S 4 i9506 Android Development] tomogo:
Testing in progress ;)

1. Screen mirroring doesn't run.

2. It is not possible to switch off Bluetooth and turn it on again after playing games with Moga gamepad Pro II.

3. Right and middle (roll) buttons on mouse do not work. It has same functionality as left button. But in stock rom right button is BACK and click to roll button is HOME.

4. I had one sporadic restart but I did crazy things so maybe problem was somewhere between chair and my phone ;)

If somebody want logcat please tell me.

PS: I'll be collecting issues till dissapointing with CM so I hope it will never happen because it starts to look usable :)
[Galaxy S 4 i9506 Android Development] DualJoe:
Shouldn't streams be synced by a reference clock?

Nothing. No sysrq, just stops, same wrong reboot reason (keypress).

Weird... .
[Galaxy S 4 i9506 Android Development] solk2:
For screen mirroring install chromecast as mentioned above.

Bluetooth is wierd bug. Which version you used?

About buttons post bugs in cm jira. This bluedroid and avrcp bugs. Not device.

If it latest nightlies then post logcats.
[Galaxy S 4 i9506 Android Development] solk2:
That's true. But there is latency between data coming in DSP and sound going out of speaker.

I wounder if two latest commits got 0711 build. If 0811 won't reboot then this bug was affecting all cm devices after some changes in tracer. And basically when some app crashed, phone reboots. Please tell if it happens with 0811 build.
[Galaxy S 4 i9506 Android Development] davidl1983:
Fits

I believe my reboots fit that description. The app crashed and the whole phone rebooted. Haven't had any reboots the last week. Will try the 08 build.
[Galaxy S 4 i9506 Android Development] DualJoe:
Running 0811 for 16 hours. No crash so far but still too early to tell.
[Galaxy S 4 i9506 Android Development] tomogo:
Why may I install chromecast, it is not for screen mirroring with Samsung dongle.... it works only with Chromecast device....
[Galaxy S 4 i9506 Android Development] DualJoe:
Crashed again (20141108).

Not sure if this is relevant:

<3>[22401.117467] mmc0: CMD52: Command CRC error

Got it 2x, 10x and 3x in individual logs (sessions until crash). They are spread over the log, not in near time frame.

This might be related:

http://xdaforums.com/showthread.php?p=51234842#post51234842

I've seen there is KSM (kernel samepage merging) enabled by default. Last time I've seen it on SGS3 it was flagged as experimental. I will disable it and take a look if it changes anything...
[Galaxy S 4 i9506 Android Development] solk2:
Because Samsung screen mirroring (Allshare cast and link) is proprietary and not supported in AOSP and CM.
[Galaxy S 4 i9506 Android Development] solk2:
KSM is unlikely cause. CMD52 could be. Thats not critical error. I'll revert mmc changes and some DT changes for now.
[Galaxy S 4 i9506 Android Development] tomogo:
But I had got Samsung S4 mini (GT-I9195) with CM and screen mirroring worked fine.
[Galaxy S 4 i9506 Android Development] solk2:
Ok. Try setting this two props:

persist.debug.wfd.enable=1

persist.sys.wfd.virtual=0

If this won't work then Samsung changed something in newer devices that it don't work now. Coz Screen mirroring is pure userspace feature working on top of Wi-Fi.
[Galaxy S 4 i9506 Android Development] tomogo:
It doesn't help.... Thanks anyway.... ;)
[Galaxy S 4 i9506 Android Development] DualJoe:
Anyone get 1080p in YouTube app v5.16.4?

Testing 20141111 build now.
[Galaxy S 4 i9506 Android Development] Kiryo24:
Nope just 720p
[Galaxy S 4 i9506 Android Development] DualJoe:
Same here. Probably just some selected devices are enabled by Google yet. Just wanted to make sure I'm not alone in case I've messed too much with privacy settings or something. Thanks.

Anyone know how to get a proper/long kernel log during runtime? "dmesg > /sdcard/kmsg.txt" and "cat /proc/kmsg > /sdcard/kmsg.txt" just give small fragments like 128KB. The 'last_kmsg' provides at least 512KB. I'm wondering where the missing 384KB/s are or why the dmesg buffer got flushed.
[Galaxy S 4 i9506 Android Development] solk2:
I didn't touched anything related to this. So probably Google did.

Can't tell you how to get proper logs thou. But I think I found cause of this reboots. I was playing around with kernel config and disabled errata and some others config options to see if we really need it and forgot about that. And it looks like we need it.
[Galaxy S 4 i9506 Android Development] DualJoe:
Its not that important anyway. I just wanted to follow that 'mmc0/cmd52'.

That's great news. The last crash i had was in a game offline (different scenario/environment) so i guess its completely independent of everything (hw component related). Its somewhat like a cronjob. It reliably crashes within 24h. Will test the next nightlies. Good work!

Any success with sound lag (hammerhead acdb)?
[Galaxy S 4 i9506 Android Development] neumann:
I realized one thing. A2DP is not working anymore for me. It worked in earlier versions, I think it was in the last October nightlies.

Does anyone else having this problem? Or is there anything I can configure or check?

I'm on 8.11. nightly.
[Galaxy S 4 i9506 Android Development] awicks:
I am suffering a massive battery drain on 1109 - battery stats says it is caused by the media server.
[Galaxy S 4 i9506 Android Development] solk2:
Hm. Don't have this. Listening to bt carkit every day. Post logcat. Will see.
[Galaxy S 4 i9506 Android Development] solk2:
Most likely you have broken video or audio or photo. Look in logcat and delete bogus file.
[Galaxy S 4 i9506 Android Development] solk2:
I afraid that this won't be fixed till Samsung releases new version. I don't know what and where Samsung changed from stock Qualcomm. But there problems with video playback with offloaded audio on note 3 and s5. And looks like with low latency playback. And looks like this problem in acdb or firmwares. Maybe this is why mxplayer can't play a/v synced. Can't say for sure which reason. Will experiment more.

There still cmd52 crc errors. They less occurs but still there. And looks like they can be. I saw them on stock ROM either.
[Galaxy S 4 i9506 Android Development] DualJoe:
Maybe removing the sdcard might help to get rid of them just in case we want to test that again.

I noticed that i forgot the fourth buffer ("events") on my last log session. If nothing helps i will start another session with all buffers.
[Galaxy S 4 i9506 Android Development] solk2:
This error occurs on WiFi card. Not internal emmc or external sdcard. So won't change anything.
[Galaxy S 4 i9506 Android Development] sh0ne:
Hello solk2!

Ive took the arter kernel and twm recovery flashed few times there is no way, get stuck into bootscreen of cm.

i have the bootloader of 4.3

cheers
[Galaxy S 4 i9506 Android Development] ode_:
"Don't mix my ROM or kernel with [MENTION=5291759]solk2[/MENTION] 's files.

Both are incompatible!

You've been warned."

Quoted from arter97 development thread.
[Galaxy S 4 i9506 Android Development] sh0ne:
Ok, maybe you know the way to flash a cm11 official on 4.3 bootloader? Cheers
[Galaxy S 4 i9506 Android Development] ode_:
Arter97 roms works with 4.3 bootloader, chenglu's PhilZ Touch CWM (listed on index thread) supports 4.3 bootloader.

I'm using arter97's ports, so don't know how official CM supports 4.3 bl.
[Galaxy S 4 i9506 Android Development] solk2:
Same way as on 4.4 bl. You only need keymaster firmware from first post.
[Galaxy S 4 i9506 Android Development] sh0ne:
You mean to flash keymaster.zip after flashing cm11 on phone with cwm?

This will interrupt the hold on the cm11 loading?

Cheers and thx mate
[Galaxy S 4 i9506 Android Development] davidl1983:
M12

I just saw that cyanogenmod is releasing the M12. Will the M12 be relesed for the i9506?
[Galaxy S 4 i9506 Android Development] solk2:
Yes. And yes.
[Galaxy S 4 i9506 Android Development] solk2:
Still no. Not ready.
[Galaxy S 4 i9506 Android Development] davidl1983:
Stable

Does not really matter, it is by far stable enough to be my daily driver. You have done a great job Solk, thanks.
[Galaxy S 4 i9506 Android Development] DualJoe:
Running 20141113 now. That's the first image with changed kernel options (if i get that right). I don't see any related changes on Github though. Are they supposed to be in .gitignore or something? How does the CM buildbot know the kernel compile options then?

20141111 surprisingly did not crash (was running 2 days).
[Galaxy S 4 i9506 Android Development] solk2:
Here: ks01lte: Fix defconfig
[Galaxy S 4 i9506 Android Development] DualJoe:
I was at github/solk2. I knew it looked somehow suspicious.. :)
[Galaxy S 4 i9506 Android Development] solk2:
Just tried. Works fine. Looks like xposed not turning on recording properly. And looks like call recordings forbiden in your country thats why button is disabled. So only option for you is to rebuild Dialer.apk to enable call recordings in your country. Or use some third apps that enables it right way.
[Galaxy S 4 i9506 Android Development] DualJoe:
Latest changes seem to just enable the new compression options here. The recording button doesn't appear. But the Xposed module works properly on 20141113.

Try both compressions (AMR/AAC, in dialer options) or different audioplayers, play files on PC, analyze with hexeditor. Maybe the file is ok and just your player doesn't like it.

The Xposed module hooks some more so you might need it (i do).

"call_recording_enabled" = true
"com.android.services.callrecorder.CallRecorderService" = "isEnabled"
[Galaxy S 4 i9506 Android Development] neumann:
Changing the compression to AAC worked. Thanks a lot! So problem is solved now, I just want to mention, that it worked before with AMR. But I will analyze more in detail the not working file.
[Galaxy S 4 i9506 Android Development] sh0ne:
Well I have done it and it goes along, cm11 started (1st time) and system.ui began to crash at first I tought I have some mistake, downloaded the new nighty and it did not let me to flash...... very very strange

however my install process did not worked:

1. flash cwm odin

2. flash via cwm nightlies

3. flash keymaster files

reboot

cm11 starting, system ui crashing contiously.... :crying:

please help
[Galaxy S 4 i9506 Android Development] neumann:
Investigated a little further with a hex editor. The AMR file starts with "#!AMR-WB" and then just zeros. The file is bigger, the longer I record, but is basically empty.

Edit: I verified the not working AMR file with older AMR recordings, which worked and they start with just "#!AMR", so was there a change in the encoding?
[Galaxy S 4 i9506 Android Development] DualJoe:
20141113 still crashing. Last_kmsg attached.

Not sure if it's intended that the log stops there but i was way longer on-screen than 374 secs.

Edit: Need to compare with a reference system first but it seems the sound lag got much better if not vanished completely. Need to test more...
[Galaxy S 4 i9506 Android Development] Kiryo24:
Do you have problems with clock? Mine crashes time to time after update. Also alarm shows 2 icons..

Problem was xposed nevermind
[Galaxy S 4 i9506 Android Development] solk2:
Look in adb for keymaster files in /system/vendor/firmware/keymaster/ . If its there. Then I need logcats to help.
[Galaxy S 4 i9506 Android Development] solk2:
Have same. Must be something broken when CM added call recording format choice.
[Galaxy S 4 i9506 Android Development] solk2:
Hmmm. Does BT was on?
[Galaxy S 4 i9506 Android Development] DualJoe:
No. I'm on airplane mode with wifi.
[Galaxy S 4 i9506 Android Development] pille1:
Is there any chance of making HDR mode available on Cyanogenmod?

Thank you! :)
[Galaxy S 4 i9506 Android Development] solk2:
Can you tell what you was doing on phone then. Maybe this will bring some light on what exactly is crashing.
[Galaxy S 4 i9506 Android Development] solk2:
Maybe. For now HDR causes Camera app to crash.
[Galaxy S 4 i9506 Android Development] pille1:
Thank you solk! ;)
[Galaxy S 4 i9506 Android Development] DualJoe:
Playing 'Where's my water' for like an hour on airplane mode. The screen was scrolling at that time and i was flicking down on screen. Then it freezed for 4 seconds until the screen gone dark to reset.

I will setup a logcat again to make sure we've covered all buffers at least once.

And i would like to find something to analyze the kernel.

And as I'm writing this, reading on a different tab about kgdb it crashed again while scrolling/flicking. CMD52 is still there. Many CIFS lookup errors (CIFS VFS: Unexpected lookup error -20) as if i had forgot to unmount before disconnecting wifi. CIFS generally could be a good point. I'm using that daily with SuperSU (to mount system-wide) that has potential (--mount-master might be done with dirty tricks). Maybe i should update SuperSU or try a different approach just to make sure.

20141111 lasted two days without crash and if i remember correctly i didn't use CIFS there. Need to test that...
[Galaxy S 4 i9506 Android Development] solk2:
Scrolling you say. Maybe this is mdss issue. Maybe I should revert all mdss changes. Except some fixes like brightness. I don't like mdss code at what state it is now anyway.

I don't think CIFS or SuperSU is involved here. You can try to remove SuperSU and try it with ordinary su and mount. Who knows maybe it can cause some troubles.

Anyone else have crashes?