[Galaxy S III Android Development] leleobhz:
My First Impression and bugs

First i want to thanks (Ok, will too press the button!) ROM/Kernel team! This 20141224 is very very good - but still with some troubles.

First is about Music Player. Stopped working after notting. Reading the Logcat i see has something about Last.fm so i removed it - but not fixed. Logcat...

W/AudioTrack( 4676): AUDIO_OUTPUT_FLAG_FAST denied by client
E/AudioTrack( 4676): AudioTrack::set : Exit
D/audio_hw_primary( 6112): select_output_device: AUDIO_DEVICE_OUT_SPEAKER
I/Timeline( 5294): Timeline: Activity_launch_request id:com.cyanogenmod.eleven time:755486
I/ActivityManager( 4676): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.cyanogenmod.eleven/.ui.activities.HomeAct
ivity bnds=[163,1118][297,1286] (has extras)} from uid 10016 on display 0
I/ActivityManager( 4676): Start proc com.cyanogenmod.eleven for activity com.cyanogenmod.eleven/.ui.activities.HomeActivity: pid=10239 uid=10036 gids={50036, 9997, 1028,
1015, 3003} abi=armeabi-v7a
V/ActivityManager( 4676): Display changed displayId=0
I/ActivityManager( 4676): Start proc com.cyanogenmod.eleven:main for service com.cyanogenmod.eleven/.MusicPlaybackService: pid=10257 uid=10036 gids={50036, 9997, 1028, 10
15, 3003} abi=armeabi-v7a
V/RenderScript_jni(10257): RS native mode
V/RenderScript(10257): 0x46d13000 Launching thread(s), CPUs 4
E/Vold ( 2067): Failed to find mounted volume for /storage/usbdisk0/Android/data/com.cyanogenmod.eleven/cache/
W/Vold ( 2067): Returning OperationFailed - no handler for errno 0
W/ContextImpl(10257): Failed to ensure directory: /storage/usbdisk0/Android/data/com.cyanogenmod.eleven/cache
E/Vold ( 2067): Failed to find mounted volume for /storage/usbdisk0/Android/data/com.cyanogenmod.eleven/cache/
W/Vold ( 2067): Returning OperationFailed - no handler for errno 0
W/ContextImpl(10257): Failed to ensure directory: /storage/usbdisk0/Android/data/com.cyanogenmod.eleven/cache
E/AudioService( 4676): Player entry present, no need to add
V/AudioService( 4676): updating focussed RCC change to RCD: CallingPackageName:com.cyanogenmod.eleven
E/ExtMediaPlayer-JNI(10257): QCMediaPlayer could not be located....
E/MediaPlayer-JNI(10257): QCMediaPlayer mediaplayer NOT present
V/RenderScript_jni(10239): RS native mode
V/RenderScript(10239): 0x46d13e00 Launching thread(s), CPUs 4
E/Vold ( 2067): Failed to find mounted volume for /storage/usbdisk0/Android/data/com.cyanogenmod.eleven/cache/
W/Vold ( 2067): Returning OperationFailed - no handler for errno 0
W/ContextImpl(10239): Failed to ensure directory: /storage/usbdisk0/Android/data/com.cyanogenmod.eleven/cache
E/Vold ( 2067): Failed to find mounted volume for /storage/usbdisk0/Android/data/com.cyanogenmod.eleven/cache/
W/Vold ( 2067): Returning OperationFailed - no handler for errno 0
W/ContextImpl(10239): Failed to ensure directory: /storage/usbdisk0/Android/data/com.cyanogenmod.eleven/cache
I/ActivityManager( 4676): Start proc fm.last.android for broadcast fm.last.android/.RadioWidgetProvider: pid=10304 uid=10082 gids={50082, 9997, 3003, 1028, 1015} abi=arme
abi-v7a
D/OpenGLRenderer(10239): Render dirty regions requested: false
D/Atlas (10239): Validating map... [119/478]
D/libEGL (10239): loaded /system/lib/egl/libEGL_mali.so
D/PhoneApp( 5205): getPhone phoneId:0
D/libEGL (10239): loaded /system/lib/egl/libGLESv1_CM_mali.so
I/art ( 4448): Explicit concurrent mark sweep GC freed 706(30KB) AllocSpace objects, 0(0B) LOS objects, 39% free, 6MB/11MB, paused 309us total 14.664ms
I/ActivityManager( 4676): Start proc fm.last.android:scrobbler for service fm.last.android/.scrobbler.ScrobblerService: pid=10337 uid=10082 gids={50082, 9997, 3003, 1028,
1015} abi=armeabi-v7a
D/libEGL (10239): loaded /system/lib/egl/libGLESv2_mali.so
I/art ( 4448): Explicit concurrent mark sweep GC freed 5(160B) AllocSpace objects, 0(0B) LOS objects, 39% free, 6MB/11MB, paused 225us total 12.407ms
I/art ( 4448): Explicit concurrent mark sweep GC freed 5(160B) AllocSpace objects, 0(0B) LOS objects, 39% free, 6MB/11MB, paused 217us total 12.223ms
I/ActivityManager( 4676): Process com.android.gallery3d (pid 9859) has died
E/ (10239): Device driver API match
E/ (10239): Device driver API version: 29
E/ (10239): User space API version: 29
E/ (10239): mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Aug 26 17:05:16 KST 2014
I/OpenGLRenderer(10239): Initialized EGL, version 1.4
D/OpenGLRenderer(10239): Enabling debug mode 0
I/ActivityManager( 4676): Process com.android.voicedialer (pid 9840) has died
D/PhoneApp( 5205): getPhone phoneId:0
D/LocaleSetManager(10239): Locale Changed from: null to pt-BR
D/lastfm.db.t_scrobblerqueue(10337): SELECT * FROM t_scrobblerqueue WHERE CurrentTrack=1
I/ActivityManager( 4676): Process com.keramidas.TitaniumBackup (pid 9878) has died
W/Bundle (10337): Key id expected Integer but value was a java.lang.Long. The default value -1 was returned.
W/Bundle (10337): Attempt to cast generated internal exception:
W/Bundle (10337): java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
W/Bundle (10337): at android.os.BaseBundle.getInt(BaseBundle.java:800)
W/Bundle (10337): at android.content.Intent.getIntExtra(Intent.java:4768)
W/Bundle (10337): at fm.last.android.scrobbler.ScrobblerService.onStart(ScrobblerService.java:265)
W/Bundle (10337): at fm.last.android.scrobbler.ScrobblerService.onStartCommand(ScrobblerService.java:237)
W/Bundle (10337): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2864)
W/Bundle (10337): at android.app.ActivityThread.access$2100(ActivityThread.java:144)
W/Bundle (10337): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1376)
W/Bundle (10337): at android.os.Handler.dispatchMessage(Handler.java:102)
W/Bundle (10337): at android.os.Looper.loop(Looper.java:135)
W/Bundle (10337): at android.app.ActivityThread.main(ActivityThread.java:5221)
W/Bundle (10337): at java.lang.reflect.Method.invoke(Native Method)
W/Bundle (10337): at java.lang.reflect.Method.invoke(Method.java:372)
W/Bundle (10337): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
W/Bundle (10337): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
W/Bundle (10337): Key id expected Integer but value was a java.lang.Long. The default value -1 was returned.
W/Bundle (10337): Attempt to cast generated internal exception:
W/Bundle (10337): java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
W/Bundle (10337): at android.os.BaseBundle.getInt(BaseBundle.java:800)
W/Bundle (10337): at android.content.Intent.getIntExtra(Intent.java:4768)
W/Bundle (10337): at fm.last.android.scrobbler.ScrobblerService.onStart(ScrobblerService.java:265)
W/Bundle (10337): at fm.last.android.scrobbler.ScrobblerService.onStartCommand(ScrobblerService.java:237)
W/Bundle (10337): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2864)
W/Bundle (10337): at android.app.ActivityThread.access$2100(ActivityThread.java:144)
W/Bundle (10337): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1376)
W/Bundle (10337): at android.os.Handler.dispatchMessage(Handler.java:102)
W/Bundle (10337): at android.os.Looper.loop(Looper.java:135)
W/Bundle (10337): at android.app.ActivityThread.main(ActivityThread.java:5221)
W/Bundle (10337): at java.lang.reflect.Method.invoke(Native Method)
W/Bundle (10337): at java.lang.reflect.Method.invoke(Method.java:372)
W/Bundle (10337): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
W/Bundle (10337): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
D/lastfm.db.t_scrobblerqueue(10337): SELECT count(*) FROM t_scrobblerqueue WHERE CurrentTrack=0 [63/478]
D/lastfm.db.t_scrobblerqueue(10337): Found 0 entries
D/lastfm.db.t_scrobblerqueue(10337): DELETE FROM t_scrobblerqueue WHERE CurrentTrack=1
I/MusicLocale(10239): AddressBook Labels [pt-BR]: [, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, Α, Β, Γ, Δ, Ε, Ζ, Η, Θ, Ι, Κ, Λ, Μ, Ν,
Ξ, Ο, Π, Ρ, Σ, Τ, Υ, Φ, Χ, Ψ, Ω, , А, Б, В, Г, Д, Ђ, Е, Є, Ж, З, И, І, Ї, Й, Ј, К, Л, Љ, М, Н, Њ, О, П, Р, С, Т, Ћ, У, Ф, Х, Ц, Ч, Џ, Ш, Щ, Ю, Я, , א, ב, ג, ד, ה, ו, ז, ח
, ט, י, כ, ל, מ, נ, ס, ע, פ, צ, ק, ר, ש, ת, , ا, ب, ت, ث, ج, ح, خ, د, ذ, ر, ز, س, ش, ص, ض, ط, ظ, ع, غ, ف, ق, ك, ل, م, ن, ه, و, ي, , ก, ข, ฃ, ค, ฅ, ฆ, ง, จ, ฉ, ช, ซ, ฌ, ญ,
ฎ, ฏ, ฐ, ฑ, ฒ, ณ, ด, ต, ถ, ท, ธ, น, บ, ป, ผ, ฝ, พ, ฟ, ภ, ม, ย, ร, ฤ, ล, ฦ, ว, ศ, ษ, ส, ห, ฬ, อ, ฮ, , ㄱ, ㄴ, ㄷ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ, ㅈ, ㅊ, ㅋ, ㅌ, ㅍ, ㅎ, , あ, か, さ
, た, な, は, ま, や, ら, わ, #, ]
I/ActivityManager( 4676): Process com.android.providers.calendar (pid 9792) has died
I/ActivityManager( 4676): Displayed com.cyanogenmod.eleven/.ui.activities.HomeActivity: +1s465ms
I/Timeline( 4676): Timeline: Activity_windows_visible id: ActivityRecord{1bfecfdd u0 com.cyanogenmod.eleven/.ui.activities.HomeActivity t212} time:757053
I/Timeline(10239): Timeline: Activity_idle id: android.os.BinderProxy@29ee9a83 time:757236
I/art (10239): Background sticky concurrent mark sweep GC freed 84637(3MB) AllocSpace objects, 4(67KB) LOS objects, 0% free, 23MB/23MB, paused 10.619ms total 165.432m
s
E/DatabaseUtils( 4811): Writing exception to parcel
E/DatabaseUtils( 4811): java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
E/DatabaseUtils( 4811): at java.io.File.fixSlashes(File.java:185)
E/DatabaseUtils( 4811): at java.io.File.<init>(File.java:134)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.getCompressedAlbumArt(MediaProvider.java:4846)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.makeThumbInternal(MediaProvider.java:5015)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.getThumb(MediaProvider.java:5011)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.openFile(MediaProvider.java:4601)
E/DatabaseUtils( 4811): at android.content.ContentProvider.openAssetFile(ContentProvider.java:1334)
E/DatabaseUtils( 4811): at android.content.ContentProvider.openTypedAssetFile(ContentProvider.java:1514)
E/DatabaseUtils( 4811): at android.content.ContentProvider.openTypedAssetFile(ContentProvider.java:1580)
E/DatabaseUtils( 4811): at android.content.ContentProvider$Transport.openTypedAssetFile(ContentProvider.java:391)
E/DatabaseUtils( 4811): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:312)
E/DatabaseUtils( 4811): at android.os.Binder.execTransact(Binder.java:446)
E/DatabaseUtils( 4811): Writing exception to parcel
E/DatabaseUtils( 4811): java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
E/DatabaseUtils( 4811): at java.io.File.fixSlashes(File.java:185)
E/DatabaseUtils( 4811): at java.io.File.<init>(File.java:134)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.getCompressedAlbumArt(MediaProvider.java:4846)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.makeThumbInternal(MediaProvider.java:5015)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.getThumb(MediaProvider.java:5011)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.openFile(MediaProvider.java:4601)
E/DatabaseUtils( 4811): at android.content.ContentProvider.openAssetFile(ContentProvider.java:1334)
E/DatabaseUtils( 4811): at android.content.ContentProvider.openTypedAssetFile(ContentProvider.java:1514)
E/DatabaseUtils( 4811): at android.content.ContentProvider.openTypedAssetFile(ContentProvider.java:1580)
E/DatabaseUtils( 4811): at android.content.ContentProvider$Transport.openTypedAssetFile(ContentProvider.java:391)
E/DatabaseUtils( 4811): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:312)
E/DatabaseUtils( 4811): at android.os.Binder.execTransact(Binder.java:446)
W/View (10239): requestLayout() improperly called by android.widget.TextView{3f66cc47 V.ED.... ......ID 640,53-640,86 #7f10007c app:id/line_one_right} during l[21/478]
unning second layout pass
I/Process (10239): Sending signal. PID: 10239 SIG: 9
E/DatabaseUtils( 4811): Writing exception to parcel
E/DatabaseUtils( 4811): java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
E/DatabaseUtils( 4811): at java.io.File.fixSlashes(File.java:185)
E/DatabaseUtils( 4811): at java.io.File.<init>(File.java:134)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.getCompressedAlbumArt(MediaProvider.java:4846)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.makeThumbInternal(MediaProvider.java:5015)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.getThumb(MediaProvider.java:5011)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.openFile(MediaProvider.java:4601)
E/DatabaseUtils( 4811): at android.content.ContentProvider.openAssetFile(ContentProvider.java:1334)
E/DatabaseUtils( 4811): at android.content.ContentProvider.openTypedAssetFile(ContentProvider.java:1514)
E/DatabaseUtils( 4811): at android.content.ContentProvider.openTypedAssetFile(ContentProvider.java:1580)
E/DatabaseUtils( 4811): at android.content.ContentProvider$Transport.openTypedAssetFile(ContentProvider.java:391)
E/DatabaseUtils( 4811): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:312)
E/DatabaseUtils( 4811): at android.os.Binder.execTransact(Binder.java:446)
E/DatabaseUtils( 4811): Writing exception to parcel
E/DatabaseUtils( 4811): java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
E/DatabaseUtils( 4811): at java.io.File.fixSlashes(File.java:185)
E/DatabaseUtils( 4811): at java.io.File.<init>(File.java:134)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.getCompressedAlbumArt(MediaProvider.java:4846)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.makeThumbInternal(MediaProvider.java:5015)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.getThumb(MediaProvider.java:5011)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.openFile(MediaProvider.java:4601)
E/DatabaseUtils( 4811): at android.content.ContentProvider.openAssetFile(ContentProvider.java:1334)
E/DatabaseUtils( 4811): at android.content.ContentProvider.openTypedAssetFile(ContentProvider.java:1514)
E/DatabaseUtils( 4811): at android.content.ContentProvider.openTypedAssetFile(ContentProvider.java:1580)
E/DatabaseUtils( 4811): at android.content.ContentProvider$Transport.openTypedAssetFile(ContentProvider.java:391)
E/DatabaseUtils( 4811): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:312)
E/DatabaseUtils( 4811): at android.os.Binder.execTransact(Binder.java:446)
E/DatabaseUtils( 4811): Writing exception to parcel
E/DatabaseUtils( 4811): java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
E/DatabaseUtils( 4811): at java.io.File.fixSlashes(File.java:185)
E/DatabaseUtils( 4811): at java.io.File.<init>(File.java:134)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.getCompressedAlbumArt(MediaProvider.java:4846)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.makeThumbInternal(MediaProvider.java:5015)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.getThumb(MediaProvider.java:5011)
E/DatabaseUtils( 4811): at com.android.providers.media.MediaProvider.openFile(MediaProvider.java:4601)
E/DatabaseUtils( 4811): at android.content.ContentProvider.openAssetFile(ContentProvider.java:1334)
E/DatabaseUtils( 4811): at android.content.ContentProvider.openTypedAssetFile(ContentProvider.java:1514)
E/DatabaseUtils( 4811): at android.content.ContentProvider.openTypedAssetFile(ContentProvider.java:1580)
E/DatabaseUtils( 4811): at android.content.ContentProvider$Transport.openTypedAssetFile(ContentProvider.java:391)
E/DatabaseUtils( 4811): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:312)
E/DatabaseUtils( 4811): at android.os.Binder.execTransact(Binder.java:446)
I/WindowState( 4676): WIN DEATH: Window{2bdc0b57 u0 com.cyanogenmod.eleven/com.cyanogenmod.eleven.ui.activities.HomeActivity}
I/ActivityManager( 4676): Process com.cyanogenmod.eleven (pid 10239) has died
W/ActivityManager( 4676): Force removing ActivityRecord{1bfecfdd u0 com.cyanogenmod.eleven/.ui.activities.HomeActivity t212}: app died, no saved state
I/HeadsetService( 5262): Audio session removed: 15
I/MediaFocusControl( 4676): AudioFocus abandonAudioFocus() from android.media.AudioManager@3a29fbb1com.cyanogenmod.eleven.MusicPlaybackService$4@2a764896
W/InputMethodManagerService( 4676): Got RemoteException sending setActive(false) notification to pid 10239 uid 10036
I/Timeline( 5294): Timeline: Activity_idle id: android.os.BinderProxy@2b717b56 time:757973
I/Timeline( 4676): Timeline: Activity_windows_visible id: ActivityRecord{39e0c17d u0 com.cyanogenmod.trebuchet/com.android.launcher3.Launcher t211} time:758239
W/OpenGLRenderer( 5294): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
D/TaskPersister( 4676): removeObsoleteFile: deleting file=210_task.xml
D/TaskPersister( 4676): removeObsoleteFile: deleting file=210_task_thumbnail.png

Curiously i see some posts about this "AUDIO_OUTPUT_FLAG_FAST denied by client" is about mismatching sample rates, and now i remember the Bluetooth earphone has a different configuration (From changelog), so tested with BT Earphone paired (Sony MW1) and notting changed. Still a mistery.

About BT Audio: I see the "lag" of BT sounds like a high IO/CPU usage in phone. Like some others android version, i think there is something wrong about OOMkill or some background intense process i did not found yet. And yes, it still happens - specially if i use Facebook app.

GPS: This hell is a mess: It finds my location in maps, but GPS Status does not show even sattelites and in ANY maps app, navigation does not work simply because i dont "move":

D/libgps (14597): gps_set_position_mode: Waiting for IPC connection - timeout
E/libgps (14597): GpsiClient: Can't write to closed pipe
E/libgps (14597): IPC Communication Error, /tmp/13374157_208124/proprietary/deliverables/android/gps_interface/../gps_interface/gpsi_client/GpsiClient.cpp:894 gps_set_position_mode
E/GpsLocationProvider(14597): set_position_mode failed in startNavigating()
D/libgps (14597): gps_inject_location: Waiting for IPC connection...
D/libgps (14597): gps_inject_location: Waiting for IPC connection - timeout
E/libgps (14597): GpsiClient: Can't write to closed pipe
E/libgps (14597): IPC Communication Error, /tmp/13374157_208124/proprietary/deliverables/android/gps_interface/../gps_interface/gpsi_client/GpsiClient.cpp:829 gps_inject_location

So this are my impressions. Ill try to gather more information but since im sysadmin - not android developer, im still a bit limited.