[Q] Qcom GPS Problems (AMSS 50000+) - Android Software/Hacking General [Developers Only]

On to the next (and really the last ugly) problem I've got here....
Attempting to complete CM7 port, and the remaining problem is the GPS. I've tried linking with the Froyo libraries without success - the GPS never turns on at all, and it appears the problem is library based with differences in alignment between arguments (e.g. long where there would be doubles, etc) as some of the device addresses are completely hosed in the debug trace.
CM7 includes AMSS support up to 50000. /dev/oncrpc supports that this is what I should be using. And it sort of comes up.
This is what I get on boot:
Code:
D/GpsLocationProvider( 213): handleEnable
D/loc_api_rpc_glue( 213): Loc API RPC client initialized.
D/GpsLocationProvider( 213): set_capabilities_callback: 7
D/libloc ( 213): loc_read_gps_conf: using /etc/gps.conf
D/libloc ( 213): loc_eng_init created client, id = 0
D/libloc ( 213): loc_eng_ni_init: entered.
D/libloc ( 213): loc_eng_set_server, type = 1, hostname = supl.google.com, port = 7276
D/libloc ( 213): loc_eng_set_server, addr = supl.google.com:7276
D/libloc ( 213): loc_eng_ioctl called: client = 0, ioctl_type = RPC_LOC_IOCTL_SET_UMTS_SLP_SERVER_ADDR
D/libloc ( 213): loc_eng_deferred_action_thread started
D/libloc ( 213): loc_eng_set_gps_lock mode, client = 0, lock_type = 1
D/libloc ( 213): loc_eng_ioctl called: client = 0, ioctl_type = RPC_LOC_IOCTL_SET_ENGINE_LOCK
D/libloc ( 213): loc_eng_ioctl result: client = 0, ioctl_type = RPC_LOC_IOCTL_SET_UMTS_SLP_SERVER_ADDR, RPC_LOC_API_SUCCESS
D/libloc ( 213): loc_eng_ioctl result: client = 0, ioctl_type = RPC_LOC_IOCTL_SET_ENGINE_LOCK, RPC_LOC_API_SUCCESS
So far, so good; we init and set up the supplemental host pointer, and all looks ok.
But then...
Code:
D/GpsLocationProvider( 213): NTP server returned: 1316203868090 (Fri Sep 16 15:11:08 GMT+00:00 2011) reference: 39387 certainty: 250 system time offset: -14870
D/libloc ( 213): loc_eng_inject_time, uncertainty = 250, time 1316203868090
D/libloc ( 213): loc_eng_ioctl called: client = 0, ioctl_type = RPC_LOC_IOCTL_INJECT_UTC_TIME
E/loc_api_rpc_glue( 213): loc_api_sync_ioctl: IOCTL result failed, result: 1 (select id 0)
D/libloc ( 213): loc_eng_ioctl result: client = 0, ioctl_type = RPC_LOC_IOCTL_INJECT_UTC_TIME, RPC_LOC_API_GENERAL_FAILURE
E/libloc ( 213): loc_eng_inject_time failed
Not so good. I added a diagnostic to make sure the time I was sending up was in fact the same (no problems with typing) as the NTP server returned. It is.
Now here's the potential problem - this is off the boot, and we haven't set an operating mode yet. Can the system push this data without having done that first? I don't know.
The attempt to load the ephermis from the xtra servers fails too:
Code:
D/GpsLocationProvider( 213): calling native_inject_xtra_data
D/libloc ( 213): loc_eng_deferred_action_thread signalled
D/libloc ( 213): qct_loc_eng_inject_xtra_data, xtra size = 38521, data ptr = 0x5fd078
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 1/38, len = 1024, total = 0
D/libloc ( 213): Inject coarse position Lat=30.399703, Lon=-86.501947, Acc=2926.00
D/libloc ( 213): loc_eng_ioctl called: client = 0, ioctl_type = RPC_LOC_IOCTL_INJECT_POSITION
D/libloc ( 213): loc_ioctl XTRA injected length: 1024
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 2/38, len = 1024, total = 1024
D/libloc ( 213): loc_ioctl XTRA injected length: 2048
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 3/38, len = 1024, total = 2048
D/libloc ( 213): loc_ioctl XTRA injected length: 3072
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 4/38, len = 1024, total = 3072
D/libloc ( 213): loc_ioctl XTRA injected length: 4096
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 5/38, len = 1024, total = 4096
D/libloc ( 213): loc_ioctl XTRA injected length: 5120
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 6/38, len = 1024, total = 5120
D/libloc ( 213): loc_ioctl XTRA injected length: 6144
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 7/38, len = 1024, total = 6144
D/libloc ( 213): loc_ioctl XTRA injected length: 7168
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 8/38, len = 1024, total = 7168
D/libloc ( 213): loc_ioctl XTRA injected length: 8192
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 9/38, len = 1024, total = 8192
D/libloc ( 213): loc_ioctl XTRA injected length: 9216
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 10/38, len = 1024, total = 9216
D/libloc ( 213): loc_ioctl XTRA injected length: 10240
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 11/38, len = 1024, total = 10240
D/libloc ( 213): loc_ioctl XTRA injected length: 11264
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 12/38, len = 1024, total = 11264
D/libloc ( 213): loc_ioctl XTRA injected length: 12288
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 13/38, len = 1024, total = 12288
D/libloc ( 213): loc_ioctl XTRA injected length: 13312
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 14/38, len = 1024, total = 13312
D/libloc ( 213): loc_ioctl XTRA injected length: 14336
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 15/38, len = 1024, total = 14336
D/libloc ( 213): loc_ioctl XTRA injected length: 15360
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 16/38, len = 1024, total = 15360
D/libloc ( 213): loc_ioctl XTRA injected length: 16384
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 17/38, len = 1024, total = 16384
D/libloc ( 213): loc_ioctl XTRA injected length: 17408
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 18/38, len = 1024, total = 17408
D/libloc ( 213): loc_ioctl XTRA injected length: 18432
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 19/38, len = 1024, total = 18432
D/libloc ( 213): loc_ioctl XTRA injected length: 19456
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 20/38, len = 1024, total = 19456
D/libloc ( 213): loc_ioctl XTRA injected length: 20480
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 21/38, len = 1024, total = 20480
D/libloc ( 213): loc_ioctl XTRA injected length: 21504
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 22/38, len = 1024, total = 21504
D/libloc ( 213): loc_ioctl XTRA injected length: 22528
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 23/38, len = 1024, total = 22528
D/libloc ( 213): loc_ioctl XTRA injected length: 23552
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 24/38, len = 1024, total = 23552
D/libloc ( 213): loc_ioctl XTRA injected length: 24576
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 25/38, len = 1024, total = 24576
D/libloc ( 213): loc_ioctl XTRA injected length: 25600
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 26/38, len = 1024, total = 25600
D/libloc ( 213): loc_ioctl XTRA injected length: 26624
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 27/38, len = 1024, total = 26624
D/libloc ( 213): loc_ioctl XTRA injected length: 27648
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 28/38, len = 1024, total = 27648
D/libloc ( 213): loc_ioctl XTRA injected length: 28672
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 29/38, len = 1024, total = 28672
D/libloc ( 213): loc_ioctl XTRA injected length: 29696
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 30/38, len = 1024, total = 29696
D/libloc ( 213): loc_ioctl XTRA injected length: 30720
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 31/38, len = 1024, total = 30720
D/libloc ( 213): loc_ioctl XTRA injected length: 31744
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 32/38, len = 1024, total = 31744
D/libloc ( 213): loc_ioctl XTRA injected length: 32768
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 33/38, len = 1024, total = 32768
D/libloc ( 213): loc_ioctl XTRA injected length: 33792
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 34/38, len = 1024, total = 33792
D/libloc ( 213): loc_ioctl XTRA injected length: 34816
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 35/38, len = 1024, total = 34816
D/libloc ( 213): loc_ioctl XTRA injected length: 35840
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 36/38, len = 1024, total = 35840
D/libloc ( 213): loc_ioctl XTRA injected length: 36864
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 37/38, len = 1024, total = 36864
D/libloc ( 213): loc_ioctl XTRA injected length: 37888
D/libloc ( 213): qct_loc_eng_inject_xtra_data, part 38/38, len = 633, total = 37888
D/libloc ( 213): loc_eng_ioctl called: client = 0, ioctl_type = RPC_LOC_IOCTL_INJECT_PREDICTED_ORBITS_DATA
D/libloc ( 213): loc_eng_ioctl result: client = 0, ioctl_type = RPC_LOC_IOCTL_INJECT_POSITION, RPC_LOC_API_SUCCESS
E/loc_api_rpc_glue( 213): loc_api_sync_ioctl: IOCTL result failed, result: 1 (select id 1)
D/libloc ( 213): loc_eng_ioctl result: client = 0, ioctl_type = RPC_LOC_IOCTL_INJECT_PREDICTED_ORBITS_DATA, RPC_LOC_API_GENERAL_FAILURE
E/libloc ( 213): loc_eng_ioctl for xtra error
Note that the injection of network position (from the cell system) SUCCEEDS but the ephermis download FAILS.
From here if I start the GPS I get position reports but (obviously) the aGPS data isn't used as it never got loaded, and the GPS is unable to get a lock - even after a half-hour or more outdoors. It does show intermittent locks on up to three satellites, but never gets the ephermis and almanac (which can require ~15 minutes or more on a cold start) to give me a fix.
To fix this I have to through one form or another get the network assistance working. The question is.... why ISN'T it working when it appears the format of the data being sent down is fine, and more importantly most of the RPC calls are claiming success!

Related

[Q] GPS hardware error?

Hi.
This is the error that I have encountered when I use an application that uses GPS.
When application starts, GPS icon on status bar blinks for about 2 seconds, and then dissapears.
A few week ago GPS was working fine, and I don't make changes in Kernel (Vurrut 9.1 + Gingerbread KPU).
This is a alogcat log filtered by "GPS":
Code:
W/PackageManager( 2112): Unknown permission android.permission.ACCESS_GPS in package com.wssyncmldm
W/PackageManager( 2112): Unknown permission android.permission.ACCESS_GPS in package com.android.settings.mt
I/ActivityManager( 2112): No longer want googoo.android.btgps (pid 2515): hidden #16
I/ActivityManager( 2112): No longer want googoo.android.btgps (pid 3049): hidden #16
D/GpsLocationProvider( 2112): setMinTime 0
E/SensorManager( 3276): registerListener :: handle = 2 name= MS-3C Orientation Sensor delay= 200000 Listener= [email protected]
D/GpsLocationProvider( 2112): startNavigating
D/GpsLocationProvider( 2112): startNavigating : SensorAiding is [email protected]bb2a8
E/SensorManager( 2112): registerListener :: handle = 0 name= BMA222 Acceleration Sensor delay= 60000 Listener= [email protected]09c9990
E/SensorManager( 2112): registerListener :: handle = 1 name= MS-3C Magnetic Sensor delay= 60000 Listener= [email protected]0abb430
E/SensorManager( 2112): registerListener :: handle = 2 name= MS-3C Orientation Sensor delay= 60000 Listener= [email protected]08f50d0
V/GpsLocationProvider( 2112): SensorAidingActivateAllSensor : Gyroscope sensor is NOT supported
V/GpsLocationProvider( 2112): SensorAidingRegister : Logging is OFF
V/GpsLocationProvider( 2112): SensorAidingSupportInversePortraitMode : 0
V/GpsLocationProvider( 2112): SensorAidingRotationChanged : 0
D/GpsLocationProvider( 2112): SensorAidingRegister : Exit
D/GpsLocationProvider( 2112): SensorAidingMakeSensorPacket : Not Ready (3, -1, 0, 0)
D/GpsLocationProvider( 2112): SensorAidingMakeSensorPacket : Not Ready (3, -1, 0, 0)
V/GpsLocationProvider( 2112): reportStatus status: 3
I/GPS ( 2112): gps_engine_status_update: called acquire_wakelock_cb
V/GpsLocationProvider( 2112): reportStatus status: 1
D/GpsLocationProvider( 2112): send an intent to notify that the GPS has been enabled or disabled
D/ ( 2112): [HYPOS] NOMOVE Time 125, PowerMode 3, GPSWeakSignal 0, GPSFixTime 0, IsPedestrian 0, DOE 1
V/GpsLocationProvider( 2112): SensorAiding LPP : Already GPS Turned ON
D/ ( 2112): [HYPOS] NOMOVE Time 625, PowerMode 2, GPSWeakSignal 0, GPSFixTime 0, IsPedestrian 0, DOE 1
V/GpsLocationProvider( 2112): SensorAiding LPP : Keep GPS ON
D/ ( 2112): [HYPOS] NOMOVE Time 1133, PowerMode 2, GPSWeakSignal 0, GPSFixTime 0, IsPedestrian 0, DOE 1
V/GpsLocationProvider( 2112): reportStatus status: 2
D/GpsLocationProvider( 2112): send an intent to notify that the GPS has been enabled or disabled
V/GpsLocationProvider( 2112): reportStatus status: 2
V/GpsLocationProvider( 2112): reportStatus status: 4
I/GPS ( 2112): gps_engine_status_update: called release_wakelock_cb
D/ ( 2112): [HYPOS] NOMOVE Time 62, PowerMode 2, GPSWeakSignal 0, GPSFixTime 0, IsPedestrian 0, DOE 1
D/ ( 2112): [HYPOS] NOMOVE Time 587, PowerMode 2, GPSWeakSignal 0, GPSFixTime 0, IsPedestrian 0, DOE 1
E/SensorManager( 3276): unregisterListener:: all sensors, listener = [email protected]
D/ ( 2112): [HYPOS] NOMOVE Time 1094, PowerMode 2, GPSWeakSignal 0, GPSFixTime 0, IsPedestrian 0, DOE 1
D/GpsLocationProvider( 2112): stopNavigating
E/SensorManager( 2112): unregisterListener:: all sensors, listener = [email protected]08f50d0
E/SensorManager( 2112): unregisterListener:: all sensors, listener = [email protected]0abb430
E/SensorManager( 2112): unregisterListener:: all sensors, listener = [email protected]09c9990
D/GpsLocationProvider( 2112): SensorAidingDeregister : Exit
V/GpsLocationProvider( 2112): reportStatus status: 2
E/GPS ( 2112): EPOLLERR or EPOLLHUP after epoll_wait()
I/GPS ( 2112): [gps_state_done][line = 298] : successfully called
E/GPS ( 2112): EPOLLERR or EPOLLHUP after epoll_wait()
I/GPS ( 2112): [gps_state_done][line = 298] : successfully called
E/GPS ( 2112): [gps_lcsapi_init][line = 441] : Failed to call BrcmLbs_init(errno = 111)
I/GPS ( 2112): [gps_state_done][line = 298] : successfully called
D/GpsLocationProvider( 2112): setMinTime 0
E/SensorManager( 3276): registerListener :: handle = 2 name= MS-3C Orientation Sensor delay= 200000 Listener= [email protected]
D/GpsLocationProvider( 2112): startNavigating
D/GpsLocationProvider( 2112): startNavigating : SensorAiding is [email protected]fb9d8
E/SensorManager( 2112): registerListener :: handle = 0 name= BMA222 Acceleration Sensor delay= 60000 Listener= [email protected]0b294c0
E/SensorManager( 2112): registerListener :: handle = 1 name= MS-3C Magnetic Sensor delay= 60000 Listener= [email protected]0b294d0
E/SensorManager( 2112): registerListener :: handle = 2 name= MS-3C Orientation Sensor delay= 60000 Listener= com.android.server.location.G[email protected]
V/GpsLocationProvider( 2112): SensorAidingActivateAllSensor : Gyroscope sensor is NOT supported
V/GpsLocationProvider( 2112): SensorAidingRegister : Logging is OFF
V/GpsLocationProvider( 2112): SensorAidingSupportInversePortraitMode : 0
V/GpsLocationProvider( 2112): SensorAidingRotationChanged : 0
D/GpsLocationProvider( 2112): SensorAidingRegister : Exit
D/GpsLocationProvider( 2112): SensorAidingMakeSensorPacket : Not Ready (3, -1, 1, 0)
V/GpsLocationProvider( 2112): reportStatus status: 3
I/GPS ( 2112): gps_engine_status_update: called acquire_wakelock_cb
V/GpsLocationProvider( 2112): reportStatus status: 1
D/GpsLocationProvider( 2112): send an intent to notify that the GPS has been enabled or disabled
D/ ( 2112): [HYPOS] NOMOVE Time 312, PowerMode 3, GPSWeakSignal 0, GPSFixTime 0, IsPedestrian 0, DOE 1
V/GpsLocationProvider( 2112): SensorAiding LPP : Already GPS Turned ON
D/ ( 2112): [HYPOS] NOMOVE Time 190, PowerMode 2, GPSWeakSignal 0, GPSFixTime 0, IsPedestrian 0, DOE 1
V/GpsLocationProvider( 2112): SensorAiding LPP : Keep GPS ON
D/ ( 2112): [HYPOS] NOMOVE Time 705, PowerMode 2, GPSWeakSignal 0, GPSFixTime 0, IsPedestrian 0, DOE 1
V/GpsLocationProvider( 2112): reportStatus status: 2
D/GpsLocationProvider( 2112): send an intent to notify that the GPS has been enabled or disabled
V/GpsLocationProvider( 2112): reportStatus status: 2
V/GpsLocationProvider( 2112): reportStatus status: 4
I/GPS ( 2112): gps_engine_status_update: called release_wakelock_cb
D/ ( 2112): [HYPOS] NOMOVE Time 186, PowerMode 2, GPSWeakSignal 0, GPSFixTime 0, IsPedestrian 0, DOE 1
D/ ( 2112): [HYPOS] NOMOVE Time 697, PowerMode 2, GPSWeakSignal 0, GPSFixTime 0, IsPedestrian 0, DOE 1
E/SensorManager( 3276): unregisterListener:: all sensors, listener = [email protected]
D/GpsLocationProvider( 2112): stopNavigating
E/SensorManager( 2112): unregisterListener:: all sensors, listener = [email protected]0b294e0
E/SensorManager( 2112): unregisterListener:: all sensors, listener = [email protected]0b294d0
E/SensorManager( 2112): unregisterListener:: all sensors, listener = [email protected]0b294c0
D/GpsLocationProvider( 2112): SensorAidingDeregister : Exit
V/GpsLocationProvider( 2112): reportStatus status: 2
E/GPS ( 2112): EPOLLERR or EPOLLHUP after epoll_wait()
I/GPS ( 2112): [gps_state_done][line = 298] : successfully called
E/GPS ( 2112): [gps_lcsapi_init][line = 441] : Failed to call BrcmLbs_init(errno = 111)
I/GPS ( 2112): [gps_state_done][line = 298] : successfully called
Any help is wellcome.
Thanks

Sensation XE Crashes - Hangs - Reboots on Heavy Tasks

Hi,
I've been encountering an issue which seem to have started of yesterday. First let me say that this happened with HNS (ICS 4.0.3), CM 10.2 by Albinoman and Sultan, Elegancia Sense 3.6, so it's not quite possible to be rom related.
Thing is, my Sensation seems to crash after a shortwhile of either loading an heavy task, or when I start playing a "heavy" game. It warms up, after a few seconds crashes and automatically reboots.
I got a last_kmsg from when I was using CM10.2 from Albino's
http://pastebin.com/8ecxRVce
I was playing a game there when it happened. Note that it doesn't take 2 minutes to crash, so it's really sensitive somewhat.
It happened also while plugged on charger.
It tends to happen also on task intensive operations specially when already hot, - Example: flash rom , reboot, boot, - adding my Google account (by now it's hot already, but not burning hot) - crashes. So doesn't need to be a game to make this happen, it will happen if i wont let it "rest" or cool it down. I'm able to use my mobile, just can't ask to much of it.
Frequencies tested were 192/386 min, and 1.5 max. I've taken my XE to 1.7 so it's nothing new.
So, any hints before I throw myself from a bridge? I'm hoping it's not hardware related. I'm considering later on formatting my Sdcard all over again since I've tried a few fresh clean roms and the issue persists.
Thank you for reading this and hope I can find help.
Thanks in advance.
Could be the battery?
Sent from my HTC Sensation Z710e using xda premium
Could be anything, but how to troubleshoot it?
Sent from my HTC Sensation XE with Beats Audio using xda premium
MidnightDevil said:
Could be anything, but how to troubleshoot it?
Sent from my HTC Sensation XE with Beats Audio using xda premium
Click to expand...
Click to collapse
i think when a heavy task is processing the system requires more power from the battery in order to execute it
so maybe the battery can't provide anymore more power(because it is old,i am justing saying)
or it doesn't connect properly in the pins.you can check that too
try another battery and run again a heavy task to see how it will behave
for now i can't think something else
It does make sense to a certain point but;
It doesn't crash right away. And it also happens with tasks that don't require much power (crashed on Google add account wizard) , but was still warm from a previous crash with reboot.
If I don't turn it off meanwhile when its really hot, it keeps bootlooping.
And I think if it was a lose pin or alike, it would probably reboot right away. It takes a few seconds to reboot.
Sent from my HTC Sensation using xda premium
And getting convinced that its related to the temperature. I just dont know why because its nothing extraordinary.
Sent from my HTC Sensation using xda premium
MidnightDevil said:
And getting convinced that its related to the temperature. I just dont know why because its nothing extraordinary.
Sent from my HTC Sensation using xda premium
Click to expand...
Click to collapse
Overclock cpu or gpu too much?
Did you try a different kernel to see if the issue persists?
Sent from my HTC Sensation Z710e using xda premium
MidnightDevil said:
And getting convinced that its related to the temperature. I just dont know why because its nothing extraordinary.
Sent from my HTC Sensation using xda premium
Click to expand...
Click to collapse
Also, did you try undervolting? it could reduce heat. You can also try underclocking the COU to 1188Mhz, it still works very well in most ROMs.
I've tried a LOT of things with different kernels.
Elegancia Sense 3.6 with Sebastian FM kernel - Persists
Inspiration with default kernel (bricked) - Persists
CM 10 by Bruce with is kernel - Persists
Albino's 10.2 - Persists
Sultan's with both of his kernels - Persists
I've limited the frequency to 1.3, seems to hang on a while longer but still happens (takes a little while longer to heat)
Seems like my XE lost it's heating tolerance.
I've also re-formated my sdcard all over again, persists.
I'm out of ideas and more convinced that it's related to heating issue, it also hangs a little longer if I removed the back cover, but still happens (I got no fan lol).
A logcat that I had running through adb when it crashed.
This was meant to (replicate the crash) - started a game and started logging. I hope it says something relevant but I don't think so as logcat halts soon as XE crashes.
Logcat:
I/ActivityManager( 654): Applications Memory Usage (kB):
I/ActivityManager( 654): Uptime: 11009811 Realtime: 15003938
I/ActivityManager( 654): Total PSS by OOM adjustment:
I/ActivityManager( 654): 69675 kB: System
I/ActivityManager( 654): 69675 kB: system (pid 654)
I/ActivityManager( 654): 58356 kB: Persistent
I/ActivityManager( 654): 43909 kB: com.android.systemui (pid 1046)
I/ActivityManager( 654): 14447 kB: com.android.phone (pid 1164)
I/ActivityManager( 654): 135885 kB: Foreground
I/ActivityManager( 654): 135885 kB: com.gamelion.loh (pid 22544)
I/ActivityManager( 654): 77058 kB: Visible
I/ActivityManager( 654): 35734 kB: android.process.acore (pid 1111)
I/ActivityManager( 654): 13780 kB: com.android.vending (pid 22427)
I/ActivityManager( 654): 13670 kB: com.google.process.gapps (pid 1190)
I/ActivityManager( 654): 10977 kB: com.google.process.location (pid 1143)
I/ActivityManager( 654): 2897 kB: com.android.smspush (pid 1252)
I/ActivityManager( 654): 18816 kB: Perceptible
I/ActivityManager( 654): 18816 kB: com.android.inputmethod.latin (pid 1128)
I/ActivityManager( 654): 15438 kB: A Services
I/ActivityManager( 654): 9914 kB: in.vineetsirohi.customwidget (pid 30460)
I/ActivityManager( 654): 5524 kB: rs.pedjaapps.KernelTuner:background (pid 20617)
I/ActivityManager( 654): 16577 kB: Home
I/ActivityManager( 654): 16577 kB: com.anddoes.launcher (pid 5504)
I/ActivityManager( 654): 17993 kB: Previous
I/ActivityManager( 654): 17993 kB: com.keramidas.TitaniumBackup (pid 9396)
I/ActivityManager( 654): 6298 kB: B Services
I/ActivityManager( 654): 3158 kB: org.nocrew.tomas.headsetnotifierfree (pid 13723)
I/ActivityManager( 654): 3140 kB: com.bel.android.dspmanager (pid 13692)
I/ActivityManager( 654):
I/ActivityManager( 654): Total PSS: 416096 kB
I/ActivityManager( 654): KSM: 0 kB saved from shared 0 kB
I/ActivityManager( 654): 0 kB unshared; 0 kB volatile
I/System.out(20617): both
I/System.out(20617): both
I/ActivityManager( 654): Start proc com.google.android.gms for service com.google.android.gms/.analytics.service.AnalyticsService: pid=22937 uid=10038 gid
s={50038, 3003, 1007, 1028, 1015, 2001, 3006}
D/dalvikvm( 1252): GC_EXPLICIT freed 69K, 77% free 2484K/10752K, paused 22ms+2ms, total 81ms
I/System.out(20617): both
I/ActivityManager( 654): Process com.bel.android.dspmanager (pid 13692) has died.
W/ActivityManager( 654): Scheduling restart of crashed service com.bel.android.dspmanager/.service.HeadsetService in 5000ms
I/ActivityManager( 654): Process org.nocrew.tomas.headsetnotifierfree (pid 13723) has died.
W/ActivityManager( 654): Scheduling restart of crashed service org.nocrew.tomas.headsetnotifierfree/.RegistrationService in 14649ms
D/dalvikvm( 1190): GC_EXPLICIT freed 858K, 63% free 4080K/10752K, paused 7ms+6ms, total 78ms
I/Recovery(22937): Received: Intent { act=com.google.android.gms.INITIALIZE flg=0x10 pkg=com.google.android.gms cmp=com.google.android.gms/.recovery.Accoun
tRecoveryBackgroundService$Receiver }
I/ActivityManager( 654): Start proc com.google.android.gsf.login for service com.google.android.gms/.recovery.AccountRecoveryBackgroundService: pid=22963
uid=10038 gids={50038, 3003, 1007, 1028, 1015, 2001, 3006}
D/GCM ( 1190): GcmService start Intent { act=com.google.android.gms.INITIALIZE flg=0x10 pkg=com.google.android.gms cmp=com.google.android.gms/.gcm.GcmS
ervice } com.google.android.gms.INITIALIZE
D/dalvikvm( 654): GC_CONCURRENT freed 3845K, 58% free 17869K/42096K, paused 13ms+34ms, total 261ms
I/Recovery(22937): Received: Intent { act=com.google.android.gms.INITIALIZE flg=0x10 pkg=com.google.android.gms cmp=com.google.android.gms/.recovery.Accoun
tRecoveryBackgroundService$Receiver }
D/GCM ( 1190): GcmService start Intent { act=com.google.android.gms.INITIALIZE flg=0x10 pkg=com.google.android.gms cmp=com.google.android.gms/.gcm.GcmS
ervice } com.google.android.gms.INITIALIZE
I/System.out(20617): both
D/dalvikvm(20617): GC_CONCURRENT freed 1957K, 77% free 2566K/10752K, paused 47ms+2ms, total 81ms
I/System.out(20617): both
I/GameAnalytics(22544): logDesignEvent() eventId: treasure:chest value: 1.0
I/GameAnalytics(22544): New design event: treasure:chest, value: 1.0, area: class com.Claw.Android.ClawActivity, pos: (0.0, 0.0, 0.0)
I/KontagentAnalytics(22544): logEvent(): treasure_chest/new_adventure/null/chest_opened v: 1 lvl: 29 json: {"reward_coins":200,"enemies_alive":21,"treasure
_potion":false}
D/Kontagent(22544): T#1881:Trying to enqueue a message: Message{url='http://api.geo.kontagent.net/api/v1/3a2aea7b23a849828bbeb4acb94eaf49/evt/?v=1&ts=13790
88923&s=4618507343653043118&kt_v=a1.2.10&data=eyJyZXdhcmRfY29pbnMiOjIwMCwiZW5lbWllc19hbGl2ZSI6MjEsInRyZWFzdXJlX3BvdGlvbiI6%0AZmFsc2V9%0A&n=chest_opened&l=2
9&st1=treasure_chest&st2=new_adventure', id=5949642916774127861, name='evt', sessionId='4618507343653043118', timestamp='1379088923', isDelivered=false, de
liveryTrials=0}
D/Kontagent(22544): T#1881:Adding message: Message{url='http://api.geo.kontagent.net/api/v1/3a2aea7b23a849828bbeb4acb94eaf49/evt/?v=1&ts=1379088923&s=46185
07343653043118&kt_v=a1.2.10&data=eyJyZXdhcmRfY29pbnMiOjIwMCwiZW5lbWllc19hbGl2ZSI6MjEsInRyZWFzdXJlX3BvdGlvbiI6%0AZmFsc2V9%0A&n=chest_opened&l=29&st1=treasur
e_chest&st2=new_adventure', id=5949642916774127861, name='evt', sessionId='4618507343653043118', timestamp='1379088923', isDelivered=false, deliveryTrials=
0}
D/Kontagent:TransferQueue(22544): T#1881:Stopping queue processing timer
I/System.out(20617): both
I/ActivityManager( 654): Start proc com.bel.android.dspmanager for service com.bel.android.dspmanager/.service.HeadsetService: pid=23003 uid=10013 gids={5
0013, 3002, 1028}
D/Kontagent(22544): T#1881:doProcessQueue()
I/Kontagent:TransferQueue(22544): T#1881rocessing message: [session ID = 4618507343653043118, message ID = 5949642916774127861, URL = http://api.geo.kont
agent.net/api/v1/3a2aea7b23a849828bbeb4acb94eaf49/evt/?v=1&ts=1379088923&s=4618507343653043118&kt_v=a1.2.10&data=eyJyZXdhcmRfY29pbnMiOjIwMCwiZW5lbWllc19hbG
l2ZSI6MjEsInRyZWFzdXJlX3BvdGlvbiI6%0AZmFsc2V9%0A&n=chest_opened&l=29&st1=treasure_chest&st2=new_adventure]
I/HeadsetService(23003): Starting service.
I/Kontagent(22544): T#1881:HTTP operation completed successfully => schedule processing of next operation...
D/Kontagent:TransferQueue(22544): T#1881:Stopping queue processing timer
D/Kontagent(22544): T#1881:Trying to remove a message id: 5949642916774127861
I/System.out(20617): both
D/Kontagent(22544): T#1881:Removing message: Message{url='http://api.geo.kontagent.net/api/v1/3a2aea7b23a849828bbeb4acb94eaf49/evt/?v=1&ts=1379088923&s=461
8507343653043118&kt_v=a1.2.10&data=eyJyZXdhcmRfY29pbnMiOjIwMCwiZW5lbWllc19hbGl2ZSI6MjEsInRyZWFzdXJlX3BvdGlvbiI6%0AZmFsc2V9%0A&n=chest_opened&l=29&st1=treas
ure_chest&st2=new_adventure', id=5949642916774127861, name='evt', sessionId='4618507343653043118', timestamp='1379088923', isDelivered=false, deliveryTrial
s=0}
D/Kontagent(22544): T#1881:doProcessQueue()
I/HeadsetService(23003): Headset=false; Bluetooth=false ; USB=false
I/System.out(20617): both
I/System.out(20617): both
I/System.out(20617): both
I/GameAnalytics(22544): Time interval passed
I/GameAnalytics(22544): Network is connected, sending events
I/GameAnalytics(22544): Sending 2 design events.
I/GameAnalytics(22544): Raw JSON for design events being sent to GA server: [{"area":"class com.Claw.Android.ClawActivity","build":"android-F1P","event_id"
:"adventure:random","session_id":"7e68c5e73d761765feaf101075a3478a","user_id":"1f254846d1f716ef0bdc91ef63777ef4","value":1.0,"x":0.0,"y":0.0,"z":0.0},{"are
a":"class com.Claw.Android.ClawActivity","build":"android-F1P","event_id":"treasure:chest","session_id":"7e68c5e73d761765feaf101075a3478a","user_id":"1f254
846d1f716ef0bdc91ef63777ef4","value":1.0,"x":0.0,"y":0.0,"z":0.0}]
I/GameAnalytics(22544): onStart
I/GameAnalytics(22544): No business events to send.
I/GameAnalytics(22544): No quality events to send.
I/GameAnalytics(22544): No user events to send.
I/System.out(20617): both
I/GameAnalytics(22544): Succesful response: {"status":"ok"}
I/GameAnalytics(22544): onFinish
I/System.out(20617): both
I/System.out(20617): both
I/ActivityManager( 654): Start proc org.nocrew.tomas.headsetnotifierfree for service org.nocrew.tomas.headsetnotifierfree/.RegistrationService: pid=23048
uid=10070 gids={50070, 3003, 1028}
I/System.out(20617): both
I/System.out(20617): both
I/System.out(20617): both
D/Kontagent(22544): T#01:Heartbeat!
D/Kontagent(22544): T#1881:Trying to enqueue a message: Message{url='http://api.geo.kontagent.net/api/v1/3a2aea7b23a849828bbeb4acb94eaf49/pgr/?ts=137908893
8&s=4618507343653043118&kt_v=a1.2.10', id=5106047472959354123, name='pgr', sessionId='4618507343653043118', timestamp='1379088938', isDelivered=false, deli
veryTrials=0}
D/Kontagent(22544): T#1881:Adding message: Message{url='http://api.geo.kontagent.net/api/v1/3a2aea7b23a849828bbeb4acb94eaf49/pgr/?ts=1379088938&s=461850734
3653043118&kt_v=a1.2.10', id=5106047472959354123, name='pgr', sessionId='4618507343653043118', timestamp='1379088938', isDelivered=false, deliveryTrials=0}
D/Kontagent:TransferQueue(22544): T#1881:Stopping queue processing timer
I/System.out(20617): both
D/dalvikvm(22427): GC_EXPLICIT freed 6003K, 63% free 4002K/10752K, paused 36ms+8ms, total 125ms
D/Kontagent(22544): T#1881:doProcessQueue()
I/Kontagent:TransferQueue(22544): T#1881rocessing message: [session ID = 4618507343653043118, message ID = 5106047472959354123, URL = http://api.geo.kont
agent.net/api/v1/3a2aea7b23a849828bbeb4acb94eaf49/pgr/?ts=1379088938&s=4618507343653043118&kt_v=a1.2.10]
I/Kontagent(22544): T#1881:HTTP operation completed successfully => schedule processing of next operation...
D/Kontagent:TransferQueue(22544): T#1881:Stopping queue processing timer
D/Kontagent(22544): T#1881:Trying to remove a message id: 5106047472959354123
D/Kontagent(22544): T#1881:Removing message: Message{url='http://api.geo.kontagent.net/api/v1/3a2aea7b23a849828bbeb4acb94eaf49/pgr/?ts=1379088938&s=4618507
343653043118&kt_v=a1.2.10', id=5106047472959354123, name='pgr', sessionId='4618507343653043118', timestamp='1379088938', isDelivered=false, deliveryTrials=
0}
D/Kontagent(22544): T#1881:doProcessQueue()
I/System.out(20617): both
Click to expand...
Click to collapse
Last_Kmsg
?[H?[JEvery 2s: dmesg | tail -40 2013-09-13 17:28:10
<6>EXT4-fs (mmcblk0p24): re-mounted. Opts: user_xattr,barrier=1,data=ordered,noauto_da_alloc
<6>EXT4-fs (mmcblk0p28): re-mounted. Opts: user_xattr,barrier=1,data=ordered,noauto_da_alloc
<6>EXT4-fs (dm-0): re-mounted. Opts: user_xattr,barrier=1
<6>EXT4-fs (dm-1): re-mounted. Opts: user_xattr,barrier=1
<6>EXT4-fs (dm-2): re-mounted. Opts: user_xattr,barrier=1
<6>EXT4-fs (dm-3): re-mounted. Opts: user_xattr,barrier=1
<6>EXT4-fs (dm-4): re-mounted. Opts: user_xattr,barrier=1
<3>init: untracked pid 5515 exited
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x007, Level = 3, l_thd equal = 0x6, h_thd = 0xf
<3>init: untracked pid 5517 exited
<6>call alarm, type 3, func alarm_triggered+0x0/0xa0, 711620000000 (s 711620000000)
<6>call alarm, type 1, func alarm_triggered+0x0/0xa0, 1379089680073000000 (s 1379089680073000000)
<4>------------[ cut here ]------------
<4>WARNING: at /home/albinoman887/cm-10.2/kernel/htc/msm8660/arch/arm/mach-msm/clock-local.c:376 branch_clk_disable+0xf8/0x108()
<4>sdc3_p_clk status stuck at 'on'
<4>Modules linked in: bcmdhd
<4>[<c010c934>] (unwind_backtrace+0x0/0xf8) from [<c01928c4>] (warn_slowpath_common+0x50/0x110)
<4>[<c01928c4>] (warn_slowpath_common+0x50/0x110) from [<c01929f4>] (warn_slowpath_fmt+0x30/0x40)
<4>[<c01929f4>] (warn_slowpath_fmt+0x30/0x40) from [<c015751c>] (branch_clk_disable+0xf8/0x108)
<4>[<c015751c>] (branch_clk_disable+0xf8/0x108) from [<c01169bc>] (clk_disable+0x88/0x254)
<4>[<c01169bc>] (clk_disable+0x88/0x254) from [<c058ce9c>] (msmsdcc_switch_clock+0x138/0x3cc)
<4>[<c058ce9c>] (msmsdcc_switch_clock+0x138/0x3cc) from [<c058d4ac>] (msmsdcc_runtime_suspend+0xe0/0xec)
<4>[<c058d4ac>] (msmsdcc_runtime_suspend+0xe0/0xec) from [<c0431334>] (pm_generic_runtime_suspend+0x2c/0x38)
<4>[<c0431334>] (pm_generic_runtime_suspend+0x2c/0x38) from [<c0434ea8>] (rpm_suspend+0x304/0x654)
<4>[<c0434ea8>] (rpm_suspend+0x304/0x654) from [<c043576c>] (pm_runtime_work+0x8c/0x90)
<4>[<c043576c>] (pm_runtime_work+0x8c/0x90) from [<c01afa9c>] (process_one_work+0x12c/0x46c)
<4>[<c01afa9c>] (process_one_work+0x12c/0x46c) from [<c01b00dc>] (worker_thread+0x138/0x2e4)
<4>[<c01b00dc>] (worker_thread+0x138/0x2e4) from [<c01b527c>] (kthread+0x80/0x88)
<4>[<c01b527c>] (kthread+0x80/0x88) from [<c0107510>] (kernel_thread_exit+0x0/0x8)
<4>---[ end trace 140dd820274d5078 ]---
<6>call alarm, type 0, func alarm_triggered+0x0/0xa0, 1379089682622000000 (s 1379089682622000000)
<4>TSENS: Current CPU Temperature is: 55
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x02D, Level = 5, l_thd equal = 0x1e, h_thd = 0x15c
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x00C, Level = 3, l_thd equal = 0x6, h_thd = 0xf
<5>CPU1: shutdown
<6>[K] CPU1: msm_pm_power_collapse: change clock rate (old rate = 0)
<6>[MPDEC]: CPU[1] on->off | Mask=[10] | time online: 17999
?[H?[JEvery 2s: dmesg | tail -40 2013-09-13 17:28:12
<6>EXT4-fs (mmcblk0p24): re-mounted. Opts: user_xattr,barrier=1,data=ordered,noauto_da_alloc
<6>EXT4-fs (mmcblk0p28): re-mounted. Opts: user_xattr,barrier=1,data=ordered,noauto_da_alloc
<6>EXT4-fs (dm-0): re-mounted. Opts: user_xattr,barrier=1
<6>EXT4-fs (dm-1): re-mounted. Opts: user_xattr,barrier=1
<6>EXT4-fs (dm-2): re-mounted. Opts: user_xattr,barrier=1
<6>EXT4-fs (dm-3): re-mounted. Opts: user_xattr,barrier=1
<6>EXT4-fs (dm-4): re-mounted. Opts: user_xattr,barrier=1
<3>init: untracked pid 5515 exited
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x007, Level = 3, l_thd equal = 0x6, h_thd = 0xf
<3>init: untracked pid 5517 exited
<6>call alarm, type 3, func alarm_triggered+0x0/0xa0, 711620000000 (s 711620000000)
<6>call alarm, type 1, func alarm_triggered+0x0/0xa0, 1379089680073000000 (s 1379089680073000000)
<4>------------[ cut here ]------------
<4>WARNING: at /home/albinoman887/cm-10.2/kernel/htc/msm8660/arch/arm/mach-msm/clock-local.c:376 branch_clk_disable+0xf8/0x108()
<4>sdc3_p_clk status stuck at 'on'
<4>Modules linked in: bcmdhd
<4>[<c010c934>] (unwind_backtrace+0x0/0xf8) from [<c01928c4>] (warn_slowpath_common+0x50/0x110)
<4>[<c01928c4>] (warn_slowpath_common+0x50/0x110) from [<c01929f4>] (warn_slowpath_fmt+0x30/0x40)
<4>[<c01929f4>] (warn_slowpath_fmt+0x30/0x40) from [<c015751c>] (branch_clk_disable+0xf8/0x108)
<4>[<c015751c>] (branch_clk_disable+0xf8/0x108) from [<c01169bc>] (clk_disable+0x88/0x254)
<4>[<c01169bc>] (clk_disable+0x88/0x254) from [<c058ce9c>] (msmsdcc_switch_clock+0x138/0x3cc)
<4>[<c058ce9c>] (msmsdcc_switch_clock+0x138/0x3cc) from [<c058d4ac>] (msmsdcc_runtime_suspend+0xe0/0xec)
<4>[<c058d4ac>] (msmsdcc_runtime_suspend+0xe0/0xec) from [<c0431334>] (pm_generic_runtime_suspend+0x2c/0x38)
<4>[<c0431334>] (pm_generic_runtime_suspend+0x2c/0x38) from [<c0434ea8>] (rpm_suspend+0x304/0x654)
<4>[<c0434ea8>] (rpm_suspend+0x304/0x654) from [<c043576c>] (pm_runtime_work+0x8c/0x90)
<4>[<c043576c>] (pm_runtime_work+0x8c/0x90) from [<c01afa9c>] (process_one_work+0x12c/0x46c)
<4>[<c01afa9c>] (process_one_work+0x12c/0x46c) from [<c01b00dc>] (worker_thread+0x138/0x2e4)
<4>[<c01b00dc>] (worker_thread+0x138/0x2e4) from [<c01b527c>] (kthread+0x80/0x88)
<4>[<c01b527c>] (kthread+0x80/0x88) from [<c0107510>] (kernel_thread_exit+0x0/0x8)
<4>---[ end trace 140dd820274d5078 ]---
<6>call alarm, type 0, func alarm_triggered+0x0/0xa0, 1379089682622000000 (s 1379089682622000000)
<4>TSENS: Current CPU Temperature is: 55
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x02D, Level = 5, l_thd equal = 0x1e, h_thd = 0x15c
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x00C, Level = 3, l_thd equal = 0x6, h_thd = 0xf
<5>CPU1: shutdown
<6>[K] CPU1: msm_pm_power_collapse: change clock rate (old rate = 0)
<6>[MPDEC]: CPU[1] on->off | Mask=[10] | time online: 17999
?[H?[JEvery 2s: dmesg | tail -40 2013-09-13 17:28:15
<6>EXT4-fs (dm-0): re-mounted. Opts: user_xattr,barrier=1
<6>EXT4-fs (dm-1): re-mounted. Opts: user_xattr,barrier=1
<6>EXT4-fs (dm-2): re-mounted. Opts: user_xattr,barrier=1
<6>EXT4-fs (dm-3): re-mounted. Opts: user_xattr,barrier=1
<6>EXT4-fs (dm-4): re-mounted. Opts: user_xattr,barrier=1
<3>init: untracked pid 5515 exited
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x007, Level = 3, l_thd equal = 0x6, h_thd = 0xf
<3>init: untracked pid 5517 exited
<6>call alarm, type 3, func alarm_triggered+0x0/0xa0, 711620000000 (s 711620000000)
<6>call alarm, type 1, func alarm_triggered+0x0/0xa0, 1379089680073000000 (s 1379089680073000000)
<4>------------[ cut here ]------------
<4>WARNING: at /home/albinoman887/cm-10.2/kernel/htc/msm8660/arch/arm/mach-msm/clock-local.c:376 branch_clk_disable+0xf8/0x108()
<4>sdc3_p_clk status stuck at 'on'
<4>Modules linked in: bcmdhd
<4>[<c010c934>] (unwind_backtrace+0x0/0xf8) from [<c01928c4>] (warn_slowpath_common+0x50/0x110)
<4>[<c01928c4>] (warn_slowpath_common+0x50/0x110) from [<c01929f4>] (warn_slowpath_fmt+0x30/0x40)
<4>[<c01929f4>] (warn_slowpath_fmt+0x30/0x40) from [<c015751c>] (branch_clk_disable+0xf8/0x108)
<4>[<c015751c>] (branch_clk_disable+0xf8/0x108) from [<c01169bc>] (clk_disable+0x88/0x254)
<4>[<c01169bc>] (clk_disable+0x88/0x254) from [<c058ce9c>] (msmsdcc_switch_clock+0x138/0x3cc)
<4>[<c058ce9c>] (msmsdcc_switch_clock+0x138/0x3cc) from [<c058d4ac>] (msmsdcc_runtime_suspend+0xe0/0xec)
<4>[<c058d4ac>] (msmsdcc_runtime_suspend+0xe0/0xec) from [<c0431334>] (pm_generic_runtime_suspend+0x2c/0x38)
<4>[<c0431334>] (pm_generic_runtime_suspend+0x2c/0x38) from [<c0434ea8>] (rpm_suspend+0x304/0x654)
<4>[<c0434ea8>] (rpm_suspend+0x304/0x654) from [<c043576c>] (pm_runtime_work+0x8c/0x90)
<4>[<c043576c>] (pm_runtime_work+0x8c/0x90) from [<c01afa9c>] (process_one_work+0x12c/0x46c)
<4>[<c01afa9c>] (process_one_work+0x12c/0x46c) from [<c01b00dc>] (worker_thread+0x138/0x2e4)
<4>[<c01b00dc>] (worker_thread+0x138/0x2e4) from [<c01b527c>] (kthread+0x80/0x88)
<4>[<c01b527c>] (kthread+0x80/0x88) from [<c0107510>] (kernel_thread_exit+0x0/0x8)
<4>---[ end trace 140dd820274d5078 ]---
<6>call alarm, type 0, func alarm_triggered+0x0/0xa0, 1379089682622000000 (s 1379089682622000000)
<4>TSENS: Current CPU Temperature is: 55
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x02D, Level = 5, l_thd equal = 0x1e, h_thd = 0x15c
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x00C, Level = 3, l_thd equal = 0x6, h_thd = 0xf
<5>CPU1: shutdown
<6>[K] CPU1: msm_pm_power_collapse: change clock rate (old rate = 0)
<6>[MPDEC]: CPU[1] on->off | Mask=[10] | time online: 17999
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x021, Level = 5, l_thd equal = 0x1e, h_thd = 0x15c
?[H?[JEvery 2s: dmesg | tail -40 2013-09-13 17:28:17
<6>EXT4-fs (dm-2): re-mounted. Opts: user_xattr,barrier=1
<6>EXT4-fs (dm-3): re-mounted. Opts: user_xattr,barrier=1
<6>EXT4-fs (dm-4): re-mounted. Opts: user_xattr,barrier=1
<3>init: untracked pid 5515 exited
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x007, Level = 3, l_thd equal = 0x6, h_thd = 0xf
<3>init: untracked pid 5517 exited
<6>call alarm, type 3, func alarm_triggered+0x0/0xa0, 711620000000 (s 711620000000)
<6>call alarm, type 1, func alarm_triggered+0x0/0xa0, 1379089680073000000 (s 1379089680073000000)
<4>------------[ cut here ]------------
<4>WARNING: at /home/albinoman887/cm-10.2/kernel/htc/msm8660/arch/arm/mach-msm/clock-local.c:376 branch_clk_disable+0xf8/0x108()
<4>sdc3_p_clk status stuck at 'on'
<4>Modules linked in: bcmdhd
<4>[<c010c934>] (unwind_backtrace+0x0/0xf8) from [<c01928c4>] (warn_slowpath_common+0x50/0x110)
<4>[<c01928c4>] (warn_slowpath_common+0x50/0x110) from [<c01929f4>] (warn_slowpath_fmt+0x30/0x40)
<4>[<c01929f4>] (warn_slowpath_fmt+0x30/0x40) from [<c015751c>] (branch_clk_disable+0xf8/0x108)
<4>[<c015751c>] (branch_clk_disable+0xf8/0x108) from [<c01169bc>] (clk_disable+0x88/0x254)
<4>[<c01169bc>] (clk_disable+0x88/0x254) from [<c058ce9c>] (msmsdcc_switch_clock+0x138/0x3cc)
<4>[<c058ce9c>] (msmsdcc_switch_clock+0x138/0x3cc) from [<c058d4ac>] (msmsdcc_runtime_suspend+0xe0/0xec)
<4>[<c058d4ac>] (msmsdcc_runtime_suspend+0xe0/0xec) from [<c0431334>] (pm_generic_runtime_suspend+0x2c/0x38)
<4>[<c0431334>] (pm_generic_runtime_suspend+0x2c/0x38) from [<c0434ea8>] (rpm_suspend+0x304/0x654)
<4>[<c0434ea8>] (rpm_suspend+0x304/0x654) from [<c043576c>] (pm_runtime_work+0x8c/0x90)
<4>[<c043576c>] (pm_runtime_work+0x8c/0x90) from [<c01afa9c>] (process_one_work+0x12c/0x46c)
<4>[<c01afa9c>] (process_one_work+0x12c/0x46c) from [<c01b00dc>] (worker_thread+0x138/0x2e4)
<4>[<c01b00dc>] (worker_thread+0x138/0x2e4) from [<c01b527c>] (kthread+0x80/0x88)
<4>[<c01b527c>] (kthread+0x80/0x88) from [<c0107510>] (kernel_thread_exit+0x0/0x8)
<4>---[ end trace 140dd820274d5078 ]---
<6>call alarm, type 0, func alarm_triggered+0x0/0xa0, 1379089682622000000 (s 1379089682622000000)
<4>TSENS: Current CPU Temperature is: 55
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x02D, Level = 5, l_thd equal = 0x1e, h_thd = 0x15c
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x00C, Level = 3, l_thd equal = 0x6, h_thd = 0xf
<5>CPU1: shutdown
<6>[K] CPU1: msm_pm_power_collapse: change clock rate (old rate = 0)
<6>[MPDEC]: CPU[1] on->off | Mask=[10] | time online: 17999
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x021, Level = 5, l_thd equal = 0x1e, h_thd = 0x15c
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x019, Level = 4, l_thd equal = 0x10, h_thd = 0x1d
?[H?[JEvery 2s: dmesg | tail -40 2013-09-13 17:28:19
<6>[LS][ISL29029] ALS_ADC = 0x007, Level = 3, l_thd equal = 0x6, h_thd = 0xf
<3>init: untracked pid 5517 exited
<6>call alarm, type 3, func alarm_triggered+0x0/0xa0, 711620000000 (s 711620000000)
<6>call alarm, type 1, func alarm_triggered+0x0/0xa0, 1379089680073000000 (s 1379089680073000000)
<4>------------[ cut here ]------------
<4>WARNING: at /home/albinoman887/cm-10.2/kernel/htc/msm8660/arch/arm/mach-msm/clock-local.c:376 branch_clk_disable+0xf8/0x108()
<4>sdc3_p_clk status stuck at 'on'
<4>Modules linked in: bcmdhd
<4>[<c010c934>] (unwind_backtrace+0x0/0xf8) from [<c01928c4>] (warn_slowpath_common+0x50/0x110)
<4>[<c01928c4>] (warn_slowpath_common+0x50/0x110) from [<c01929f4>] (warn_slowpath_fmt+0x30/0x40)
<4>[<c01929f4>] (warn_slowpath_fmt+0x30/0x40) from [<c015751c>] (branch_clk_disable+0xf8/0x108)
<4>[<c015751c>] (branch_clk_disable+0xf8/0x108) from [<c01169bc>] (clk_disable+0x88/0x254)
<4>[<c01169bc>] (clk_disable+0x88/0x254) from [<c058ce9c>] (msmsdcc_switch_clock+0x138/0x3cc)
<4>[<c058ce9c>] (msmsdcc_switch_clock+0x138/0x3cc) from [<c058d4ac>] (msmsdcc_runtime_suspend+0xe0/0xec)
<4>[<c058d4ac>] (msmsdcc_runtime_suspend+0xe0/0xec) from [<c0431334>] (pm_generic_runtime_suspend+0x2c/0x38)
<4>[<c0431334>] (pm_generic_runtime_suspend+0x2c/0x38) from [<c0434ea8>] (rpm_suspend+0x304/0x654)
<4>[<c0434ea8>] (rpm_suspend+0x304/0x654) from [<c043576c>] (pm_runtime_work+0x8c/0x90)
<4>[<c043576c>] (pm_runtime_work+0x8c/0x90) from [<c01afa9c>] (process_one_work+0x12c/0x46c)
<4>[<c01afa9c>] (process_one_work+0x12c/0x46c) from [<c01b00dc>] (worker_thread+0x138/0x2e4)
<4>[<c01b00dc>] (worker_thread+0x138/0x2e4) from [<c01b527c>] (kthread+0x80/0x88)
<4>[<c01b527c>] (kthread+0x80/0x88) from [<c0107510>] (kernel_thread_exit+0x0/0x8)
<4>---[ end trace 140dd820274d5078 ]---
<6>call alarm, type 0, func alarm_triggered+0x0/0xa0, 1379089682622000000 (s 1379089682622000000)
<4>TSENS: Current CPU Temperature is: 55
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x02D, Level = 5, l_thd equal = 0x1e, h_thd = 0x15c
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x00C, Level = 3, l_thd equal = 0x6, h_thd = 0xf
<5>CPU1: shutdown
<6>[K] CPU1: msm_pm_power_collapse: change clock rate (old rate = 0)
<6>[MPDEC]: CPU[1] on->off | Mask=[10] | time online: 17999
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x021, Level = 5, l_thd equal = 0x1e, h_thd = 0x15c
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x019, Level = 4, l_thd equal = 0x10, h_thd = 0x1d
<6>[BATT] htc_batt_get_battery_adc , vref:20285, battid_adc:2487, battid:122
<4> at 729486485902 (2013-09-13 16:28:17.857630654 UTC)
<6>[BATT] ioctl: battery level update: 100 at 729489751283 (2013-09-13 16:28:17.860865517 UTC)
<6>[BATT] ID=2, level=100, vol=4089, temp=357, batt_current=-279, chg_src=1, chg_en=1, full_bat=1730, over_vchg=0, batt_state=1 at 729489781800 (2013-09-13
16:28:17.860896035 UTC)
<6>[BATT] power_supply_changed: battery at 729490178529 (2013-09-13 16:28:17.861292763 UTC)
?[H?[JEvery 2s: dmesg | tail -40 2013-09-13 17:28:21
<6>call alarm, type 3, func alarm_triggered+0x0/0xa0, 711620000000 (s 711620000000)
<6>call alarm, type 1, func alarm_triggered+0x0/0xa0, 1379089680073000000 (s 1379089680073000000)
<4>------------[ cut here ]------------
<4>WARNING: at /home/albinoman887/cm-10.2/kernel/htc/msm8660/arch/arm/mach-msm/clock-local.c:376 branch_clk_disable+0xf8/0x108()
<4>sdc3_p_clk status stuck at 'on'
<4>Modules linked in: bcmdhd
<4>[<c010c934>] (unwind_backtrace+0x0/0xf8) from [<c01928c4>] (warn_slowpath_common+0x50/0x110)
<4>[<c01928c4>] (warn_slowpath_common+0x50/0x110) from [<c01929f4>] (warn_slowpath_fmt+0x30/0x40)
<4>[<c01929f4>] (warn_slowpath_fmt+0x30/0x40) from [<c015751c>] (branch_clk_disable+0xf8/0x108)
<4>[<c015751c>] (branch_clk_disable+0xf8/0x108) from [<c01169bc>] (clk_disable+0x88/0x254)
<4>[<c01169bc>] (clk_disable+0x88/0x254) from [<c058ce9c>] (msmsdcc_switch_clock+0x138/0x3cc)
<4>[<c058ce9c>] (msmsdcc_switch_clock+0x138/0x3cc) from [<c058d4ac>] (msmsdcc_runtime_suspend+0xe0/0xec)
<4>[<c058d4ac>] (msmsdcc_runtime_suspend+0xe0/0xec) from [<c0431334>] (pm_generic_runtime_suspend+0x2c/0x38)
<4>[<c0431334>] (pm_generic_runtime_suspend+0x2c/0x38) from [<c0434ea8>] (rpm_suspend+0x304/0x654)
<4>[<c0434ea8>] (rpm_suspend+0x304/0x654) from [<c043576c>] (pm_runtime_work+0x8c/0x90)
<4>[<c043576c>] (pm_runtime_work+0x8c/0x90) from [<c01afa9c>] (process_one_work+0x12c/0x46c)
<4>[<c01afa9c>] (process_one_work+0x12c/0x46c) from [<c01b00dc>] (worker_thread+0x138/0x2e4)
<4>[<c01b00dc>] (worker_thread+0x138/0x2e4) from [<c01b527c>] (kthread+0x80/0x88)
<4>[<c01b527c>] (kthread+0x80/0x88) from [<c0107510>] (kernel_thread_exit+0x0/0x8)
<4>---[ end trace 140dd820274d5078 ]---
<6>call alarm, type 0, func alarm_triggered+0x0/0xa0, 1379089682622000000 (s 1379089682622000000)
<4>TSENS: Current CPU Temperature is: 55
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x02D, Level = 5, l_thd equal = 0x1e, h_thd = 0x15c
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x00C, Level = 3, l_thd equal = 0x6, h_thd = 0xf
<5>CPU1: shutdown
<6>[K] CPU1: msm_pm_power_collapse: change clock rate (old rate = 0)
<6>[MPDEC]: CPU[1] on->off | Mask=[10] | time online: 17999
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x021, Level = 5, l_thd equal = 0x1e, h_thd = 0x15c
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x019, Level = 4, l_thd equal = 0x10, h_thd = 0x1d
<6>[BATT] htc_batt_get_battery_adc , vref:20285, battid_adc:2487, battid:122
<4> at 729486485902 (2013-09-13 16:28:17.857630654 UTC)
<6>[BATT] ioctl: battery level update: 100 at 729489751283 (2013-09-13 16:28:17.860865517 UTC)
<6>[BATT] ID=2, level=100, vol=4089, temp=357, batt_current=-279, chg_src=1, chg_en=1, full_bat=1730, over_vchg=0, batt_state=1 at 729489781800 (2013-09-13
16:28:17.860896035 UTC)
<6>[BATT] power_supply_changed: battery at 729490178529 (2013-09-13 16:28:17.861292763 UTC)
<6>[PS][ISL29029] isl_irq: CONFIG = 0x56, INT_PIN = 0, INT = 0xc
<6>[LS][ISL29029] ALS_ADC = 0x005, Level = 2, l_thd equal = 0x4, h_thd = 0x5
Click to expand...
Click to collapse
Files attached (dmesg and last_kmsg).

[Q] Since last update, camera stops working after a while?

Very strange, since the 176.44.1 update the camera stops working after a few days?
I open the camera app, and it closes showing an initialization failure message, I soft-reboot and I get another kind of message: "Unfortunately, Camera has stopped" (caused by an NullPointerException). Then I hard-reboot, and the camera works again for a certain period of time.
I made a logcat for the scenario after the soft-reboot, if anyone has an idea what is going on, I am curious, I will also try to get a logcat before I reboot..
Code:
I/SFPerfTracer(26124): triggers: (rate: 0:0) (207 sw vsyncs) (0 skipped) (0:2606 vsyncs) (1:4681)
W/ContextImpl(26788): Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1600 android.content.ContextWrapper.startService:494 android.content.Context
Wrapper.startService:494 com.motorola.motocare.internal.batterystats.BatteryStatsAction.onReceive:33 android.app.ActivityThread.handleReceiver:2446
D/dalvikvm(26484): GC_FOR_ALLOC freed 1364K, 20% free 24072K/29924K, paused 104ms, total 104ms
D/dalvikvm(26788): GC_CONCURRENT freed 2321K, 42% free 11079K/18932K, paused 2ms+2ms, total 30ms
D/dalvikvm(26788): WAIT_FOR_CONCURRENT_GC blocked 16ms
D/dalvikvm(26788): WAIT_FOR_CONCURRENT_GC blocked 19ms
D/dalvikvm(26788): GC_CONCURRENT freed 2073K, 42% free 11010K/18932K, paused 1ms+2ms, total 23ms
D/WifiStateMachine(26484): handleMessage: E msg.what=131155
D/WifiStateMachine(26484): processMsg: ConnectedState
D/WifiStateMachine(26484): processMsg: L2ConnectedState
D/WifiStateMachine(26484): handleMessage: X
I/SFPerfTracer(26124): triggers: (rate: 3:124) (compose: 0:3) (post: 0:3) (render: 2:31) (0:1227 frames) (1:4148)
D/SFPerfTracer(26124): layers: (4:9) (DimLayer: 0:107)* (FocusedStackFrame: 0:68)* (StatusBar: 1:2037) (NavigationBar: 0:479) (com.android.systemui.ImageWallpaper: 0:30) (DimLayer: 0:58)* (DimL
ayer: 0:6)* (com.anddoes.launcher/com.anddoes.launcher.Launcher: 0:29)
I/MDMCTBK ( 273): NetlinkHandler, power_supply subsys
I/MDMCTBK ( 273): NetlinkHandler, usbChargerStateChanged
I/MDMCTBK ( 273): MdmCutbackHndler,readFromFile = /sys/class/power_supply/usb/online
I/MDMCTBK ( 273): MdmCutbackHndler,readFromFile =
E/MDMCTBK ( 273): MdmCutbackHndler,Could not open ''
I/MDMCTBK ( 273): NetlinkHandler, power_supply subsys
I/MDMCTBK ( 273): NetlinkHandler, usbChargerStateChanged
I/MDMCTBK ( 273): MdmCutbackHndler,readFromFile = /sys/class/power_supply/usb/online
I/MDMCTBK ( 273): MdmCutbackHndler,readFromFile =
E/MDMCTBK ( 273): MdmCutbackHndler,Could not open ''
D/battery_widget_monitor(27702): bmw_watcher got intent: android.intent.action.BATTERY_CHANGED
D/battery_widget_monitor(27702): Event handling took 27ms
D/battery_widget_monitor(27702): bmw_watcher got intent: android.intent.action.BATTERY_CHANGED
D/battery_widget_monitor(27702): Event handling took 21ms
W/qdhwcomposer(26124): delay_vsync:0 read:17727us prop:1133us
D/WifiStateMachine(26484): handleMessage: E msg.what=131155
D/WifiStateMachine(26484): processMsg: ConnectedState
D/WifiStateMachine(26484): processMsg: L2ConnectedState
D/WifiStateMachine(26484): handleMessage: X
I/SFPerfTracer(26124): triggers: (rate: 0:0) (207 sw vsyncs) (0 skipped) (0:2606 vsyncs) (1:4782)
D/WifiStateMachine(26484): handleMessage: E msg.what=131155
D/WifiStateMachine(26484): processMsg: ConnectedState
D/WifiStateMachine(26484): processMsg: L2ConnectedState
D/WifiStateMachine(26484): handleMessage: X
I/SFPerfTracer(26124): triggers: (rate: 3:124) (compose: 0:3) (post: 0:3) (render: 2:31) (0:1227 frames) (1:4248)
D/SFPerfTracer(26124): layers: (4:9) (DimLayer: 0:107)* (FocusedStackFrame: 0:68)* (StatusBar: 1:2137) (NavigationBar: 0:479) (com.android.systemui.ImageWallpaper: 0:30) (DimLayer: 0:58)* (DimL
ayer: 0:6)* (com.anddoes.launcher/com.anddoes.launcher.Launcher: 0:30)
D/WifiStateMachine(26484): handleMessage: E msg.what=131155
D/WifiStateMachine(26484): processMsg: ConnectedState
D/WifiStateMachine(26484): processMsg: L2ConnectedState
D/WifiStateMachine(26484): handleMessage: X
W/qdhwcomposer(26124): delay_vsync:0 read:17164us prop:552us
W/qdhwcomposer(26124): delay_vsync:0 read:17731us prop:1137us
I/SFPerfTracer(26124): triggers: (rate: 0:0) (207 sw vsyncs) (0 skipped) (0:2606 vsyncs) (1:4883)
D/WifiStateMachine(26484): handleMessage: E msg.what=131155
D/WifiStateMachine(26484): processMsg: ConnectedState
D/WifiStateMachine(26484): processMsg: L2ConnectedState
D/WifiStateMachine(26484): handleMessage: X
I/SFPerfTracer(26124): triggers: (rate: 3:124) (compose: 0:3) (post: 0:3) (render: 2:31) (0:1227 frames) (1:4348)
D/SFPerfTracer(26124): layers: (4:9) (DimLayer: 0:107)* (FocusedStackFrame: 0:68)* (StatusBar: 1:2237) (NavigationBar: 0:479) (com.android.systemui.ImageWallpaper: 0:30) (DimLayer: 0:58)* (DimL
ayer: 0:6)* (com.anddoes.launcher/com.anddoes.launcher.Launcher: 0:30)
D/WifiStateMachine(26484): handleMessage: E msg.what=131155
D/WifiStateMachine(26484): processMsg: ConnectedState
D/WifiStateMachine(26484): processMsg: L2ConnectedState
D/WifiStateMachine(26484): handleMessage: X
I/SFPerfTracer(26124): triggers: (rate: 0:0) (207 sw vsyncs) (0 skipped) (0:2606 vsyncs) (1:4984)
W/qdhwcomposer(26124): delay_vsync:0 read:17766us prop:1172us
D/WifiStateMachine(26484): handleMessage: E msg.what=131155
D/WifiStateMachine(26484): processMsg: ConnectedState
D/WifiStateMachine(26484): processMsg: L2ConnectedState
D/WifiStateMachine(26484): handleMessage: X
W/qdhwcomposer(26124): delay_vsync:0 read:17748us prop:1155us
I/SFPerfTracer(26124): triggers: (rate: 3:124) (compose: 0:3) (post: 0:3) (render: 2:31) (0:1227 frames) (1:4448)
D/SFPerfTracer(26124): layers: (4:9) (DimLayer: 0:107)* (FocusedStackFrame: 0:68)* (StatusBar: 1:2337) (NavigationBar: 0:479) (com.android.systemui.ImageWallpaper: 0:30) (DimLayer: 0:58)* (DimL
ayer: 0:6)* (com.anddoes.launcher/com.anddoes.launcher.Launcher: 0:30)
D/WifiStateMachine(26484): handleMessage: E msg.what=131155
D/WifiStateMachine(26484): processMsg: ConnectedState
D/WifiStateMachine(26484): processMsg: L2ConnectedState
D/WifiStateMachine(26484): handleMessage: X
I/ActivityManager(26484): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.motorola.camera/.Camera bnds=[16,842][176,1036]} from pid 26849
W/ContextImpl(26788): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1244 android.content.ContextWrapper.sendBroadcast:365 com.motorola.motocare
.util.TriggerHelper$TriggerBuilder.send:76 com.motorola.motocare.internal.frameworkevents.PauseResumeTrigger.handleFrameworkEvent:53 com.motorola.motocare.internal.frameworkevents.FwEventMonitor$Frame
workListener.processFrameworkEvent:114
I/ActivityManager(26484): Start proc com.motorola.camera for activity com.motorola.camera/.Camera: pid=1678 uid=10012 gids={50012, 1028, 1015}
W/ContextImpl(26788): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1244 android.content.ContextWrapper.sendBroadcast:365 com.motorola.motocare
.util.TriggerHelper$TriggerBuilder.send:76 com.motorola.motocare.internal.frameworkevents.PauseResumeTrigger.handleFrameworkEvent:53 com.motorola.motocare.internal.frameworkevents.FwEventMonitor$Frame
workListener.processFrameworkEvent:114
I/dalvikvm( 1678): DexOpt: not all deps represented
E/dalvikvm( 1678): /system/framework/com.motorola.motosignature.jar odex has stale dependencies
I/dalvikvm( 1678): DexOpt: not all deps represented
E/dalvikvm( 1678): /system/framework/com.motorola.frameworks.core.addon.jar odex has stale dependencies
I/dalvikvm( 1678): DexOpt: not all deps represented
E/dalvikvm( 1678): /system/priv-app/MotCamera.apk odex has stale dependencies
E/QCamera2Factory(26166): int qcamera::QCamera2Factory::getCameraInfo(int, camera_info*): E, camera_id = 0
W/AppOps (26484): Bad call: specified package qcamera under uid 1013 but it is really -1
W/AppOps (26484): Bad call: specified package qcamera under uid 1013 but it is really -1
E/QCamera2Factory(26166): int qcamera::QCamera2Factory::getCameraInfo(int, camera_info*): E, camera_id = 1
W/AppOps (26484): Bad call: specified package qcamera under uid 1013 but it is really -1
W/AppOps (26484): Bad call: specified package qcamera under uid 1013 but it is really -1
W/CamcorderProfileMotExt( 1678): Not supported
E/BlurCheckin( 1678): Checkin class does not exist:java.lang.ClassNotFoundException: com.motorola.checkinwrapper.CheckinEventWrapper
E/QCamera2Factory(26166): int qcamera::QCamera2Factory::getCameraInfo(int, camera_info*): E, camera_id = 0
W/AppOps (26484): Bad call: specified package qcamera under uid 1013 but it is really -1
I/SFPerfTracer(26124): triggers: (rate: 0:0) (207 sw vsyncs) (0 skipped) (27:2633 vsyncs) (29:5092)
W/AppOps (26484): Bad call: specified package qcamera under uid 1013 but it is really -1
E/QCamera2Factory(26166): int qcamera::QCamera2Factory::getCameraInfo(int, camera_info*): E, camera_id = 1
W/AppOps (26484): Bad call: specified package qcamera under uid 1013 but it is really -1
W/AppOps (26484): Bad call: specified package qcamera under uid 1013 but it is really -1
E/QCamera2Factory(26166): int qcamera::QCamera2Factory::getCameraInfo(int, camera_info*): E, camera_id = 1
W/AppOps (26484): Bad call: specified package qcamera under uid 1013 but it is really -1
W/AppOps (26484): Bad call: specified package qcamera under uid 1013 but it is really -1
E/QCamera2Factory(26166): int qcamera::QCamera2Factory::getCameraInfo(int, camera_info*): E, camera_id = 1
W/AppOps (26484): Bad call: specified package qcamera under uid 1013 but it is really -1
I/Adreno-EGL( 1678): <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM build: (N/A)
I/Adreno-EGL( 1678): OpenGL ES Shader Compiler Version: E031.24.00.00
I/Adreno-EGL( 1678): Build Date: 11/12/13 Tue
I/Adreno-EGL( 1678): Local Branch:
I/Adreno-EGL( 1678): Remote Branch:
I/Adreno-EGL( 1678): Local Patches:
I/Adreno-EGL( 1678): Reconstruct Branch:
D/OpenGLRenderer( 1678): Enabling debug mode 0
W/AppOps (26484): Bad call: specified package qcamera under uid 1013 but it is really -1
I/AwesomePlayer(26166): setDataSource_l(URL suppressed)
I/CameraApp( 1678): CameraService connected
D/Sensors (26484): AccelerationSensor: Set Sensors state 0x3
D/Sensors (26484): AccelerationSensor: set delay 200
D/Sensors (26484): AccelerationSensor: set delay 200
D/QCUtils (26166): extended extractor not needed, return default
I/AwesomePlayer(26166): setDataSource_l(URL suppressed)
D/QCUtils (26166): extended extractor not needed, return default
I/CameraClient(26166): Opening camera 1
D/QCameraStateMachine(26166): static void* qcamera::QCameraStateMachine::smEvtProcRoutine(void*): E
D/MotISP_GPU(26166): int MotISP_GPU::Init(int, int): GPU resolution: 1280x720
E/QCamera2HWI(26166): [KPI Perf] int qcamera::QCamera2HardwareInterface::openCamera(hw_device_t**): E PROFILE_OPEN_CAMERA camera id 1
I/QCameraHalWatchdog(26166): Starting Watchdog Thread...
E/mm-camera-intf(26166): mm_camera_open: dev name = /dev/video2, cam_idx = 2
I/Adreno-EGL(26166): <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM build: (N/A)
I/Adreno-EGL(26166): OpenGL ES Shader Compiler Version: E031.24.00.00
I/Adreno-EGL(26166): Build Date: 11/12/13 Tue
I/Adreno-EGL(26166): Local Branch:
I/Adreno-EGL(26166): Remote Branch:
I/Adreno-EGL(26166): Local Patches:
I/Adreno-EGL(26166): Reconstruct Branch:
E/mm-camera-sensor(18314): module_sensor_start_session:483 session 2
E/mm-camera-sensor(18314): csid_open:123 VIDIOC_MSM_CSID_IO_CFG failed Invalid argument
E/mm-camera-sensor(18314): module_sensor_init_session:222 failed rc -1
I/LaunchCheckinHandler(26484): Displayed com.motorola.camera/.Camera,cp,ca,654
I/ActivityManager(26484): Displayed com.motorola.camera/.Camera: +654ms
E/mm-camera-sensor(18314): module_sensor_init_session:424 failed
E/mm-camera-sensor(18314): module_sensor_start_session:518 failed
E/mm-camera-sensor(18314): module_sensor_start_session:533 failed
E/mm-camera(18314): isp_tintless_open: E: b6d74d55
E/mm-camera(18314): isp_tintless_get_version: lib returned version 3.61 err=0
E/mm-camera-CORE(18314): aec_process_config_fast_conv(25): E
E/mm-camera-CORE(18314): preview width 0, preview height 0
E/mm-camera-CORE(18314): new_ew=, ewp125=, ewp25=, ewp5=, ewn125=, ewn25=, ewn5=
E/mm-camera-CORE(18314): new_ew[0]=0.200000, 0.200000, 0.200000, 0.200000, 0.200000, 0.200000, 0.200000
E/mm-camera-CORE(18314): new_ew[1]=0.420000, 0.226250, 0.278750, 0.357500, 0.175000, 0.162500, 0.137500
E/mm-camera-CORE(18314): new_ew[2]=0.463100, 0.451638, 0.514913, 0.638769, 0.366250, 0.300000, 0.220000
E/mm-camera-CORE(18314): new_ew[3]=0.996300, 0.654287, 0.849856, 1.380994, 0.426075, 0.389050, 0.291444
E/mm-camera-CORE(18314): new_ew[4]=1.588600, 1.243662, 1.627331, 2.497488, 0.738462, 0.542894, 0.347325
E/mm-camera-CORE(18314): new_ew[5]=1.930800, 1.936887, 2.207275, 3.025563, 1.267200, 0.982819, 0.584981
E/mm-camera-CORE(18314): new_ew[6]=2.155700, 2.163925, 2.568000, 3.222006, 1.660412, 1.290738, 0.796012
E/mm-camera-CORE(18314): new_ew[7]=2.333000, 2.535975, 2.780531, 3.401256, 1.773788, 1.689450, 1.191450
E/mm-camera-CORE(18314): new_ew[8]=2.365300, 2.501018, 2.809443, 3.384231, 2.076375, 1.723394, 1.306037
E/mm-camera-CORE(18314): new_ew[9]=2.366600, 2.514106, 2.804081, 3.198936, 2.195262, 1.840156, 1.397706
E/mm-camera-CORE(18314): new_ew[10]=2.357500, 2.654462, 2.783257, 3.290006, 2.069800, 2.053487, 1.627856
E/mm-camera-CORE(18314): new_ew[11]=2.338900, 2.487406, 2.749294, 3.078550, 2.218119, 1.922050, 1.603938
E/mm-camera-CORE(18314): new_ew[12]=2.314100, 2.603112, 2.705568, 3.148263, 2.210156, 2.070206, 1.618069
E/mm-camera-CORE(18314): new_ew[13]=2.285300, 2.424018, 2.658537, 3.066426, 2.046537, 1.915469, 1.774219
...snip..
E/mm-camera-CORE(18314): new_ew[252]=0.000000, 0.000000, 0.000000, 0.000000, 0.408637, 0.442606, 0.540937
E/mm-camera-CORE(18314): new_ew[253]=0.000000, 0.000000, 0.000000, 0.000000, 0.377075, 0.472912, 0.493075
E/mm-camera-CORE(18314): new_ew[254]=0.000000, 0.000000, 0.000000, 0.000000, 0.398438, 0.435662, 0.490263
E/mm-camera-CORE(18314): new_ew[255]=0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000
E/mm-camera(18314): is_module_start_session: Enter
E/mm-camera(18314): is_port_init: is mode is 0
E/mm-camera(18314): is_module_start_session: Exit successful
E/mm-camera(18314): is_module_get_port: Exit successful
E/mm-camera(18314): c2d_module_start_session:226, info: starting session 2
E/mm-camera(18314): c2d_module_start_session:286, info: session 2 started.
E/hdr (18314): Session id 0x2 started
E/mm-camera(18314): module_drsd_start_session:1189] E
E/mm-camera-sensor(18314): sensor_get_capabilities:2062 failed
E/mm-camera-sensor(18314): module_sensor_query_mod:2548 failed rc -4
E/mm-camera-intf(26166): mm_camera_open: opened, break out while loop
E/qomx_image_core(26166): OMX_Init:94] Complete 2
E/mm-camera(18314): [dbgHang] - Map buffer >>> enter
E/mm-camera(18314): [dbgHang] - Map buffer >>> exit with status: 1
D/QCameraPostProc(26166): static void* qcamera::QCameraPostProcessor::dataProcessRoutine(void*): E
D/QCameraPostProc(26166): static void* qcamera::QCameraPostProcessor::dataSaveRoutine(void*): E
E/mm-camera(18314): [dbgHang] - Map buffer >>> enter
E/mm-camera(18314): [dbgHang] - Map buffer >>> exit with status: 1
E/QCameraParameters(26166): int32_t qcamera::QCameraParameters::initDefaultParameters(): supported preview sizes cnt is 0 or exceeds max!!!
E/QCameraParameters(26166): int32_t qcamera::QCameraParameters::initDefaultParameters(): supported video sizes cnt is 0 or exceeds max!!!
E/QCameraParameters(26166): int32_t qcamera::QCameraParameters::initDefaultParameters(): supported picture sizes cnt is 0 or exceeds max!!!
E/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setPreviewFpsRange(int, int): Setting preview fps range 15000,30000
I/QCamera2HWI(26166): int qcamera::QCamera2HardwareInterface::calcThermalLevel(qcamera::qcamera_thermal_level_enum_t, int, int, cam_fps_range_t&, msm_vfe_frame_skip_pattern&): Thermal level 0, FPS ran
ge [15.00,30.00], frameskip 0
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setPreviewFpsRange(int, int): Thermal adjusted preview fps range 15,30
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::initDefaultParameters(): supported fps rates: 15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setFocusMode(const char*): Setting focus mode auto
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setSaturation(int): Setting saturation 5
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setSharpness(int): Setting sharpness 12
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setContrast(int): Setting contrast 5
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setSkinToneEnhancement(int): Setting skintone enhancement 0
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setBrightness(int): Setting brightness 3
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setAutoExposure(const char*): Setting auto exposure frame-average
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setAntibanding(const char*): Setting AntiBanding value auto
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setEffect(const char*): Setting effect none
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setWhiteBalance(const char*): Setting WhiteBalance value auto
E/QCameraParameters(26166): int32_t qcamera::QCameraParameters::initDefaultParameters(): supported flash modes cnt is 0!!!
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setISOValue(const char*): Setting ISO value auto
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setHighFrameRate(const char*): Setting HFR value off
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setAEBracket(const char*), EXP_BRACKETING_OFF
I/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setWaveletDenoise(const char*): Denoise enable=1, plates=0
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::initDefaultParameters(): Supported WNR:eek:N/OFF default:eek:N
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setLensShadeValue(const char*): Setting LensShade value enable
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setMCEValue(const char*): Setting AWBLock value enable
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setDISValue(const char*): Setting DIS value disable
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setSceneDetect(const char*): Setting Scene Detect off
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setAecLock(const char*): Setting AECLock value false
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setAwbLock(const char*): Setting AWBLock value false
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setNumOfSnapshot(): nBurstNum = 1, nExpnum = 1
I/Thermal-Lib(26166): Thermal-Lib-Client: Registraion successful for camera with handle:1
I/Thermal-Lib(26166): Thermal-Lib-Client: Registraion successful for camcorder with handle:2
I/QCameraHalWatchdog(26166): Stopped Watchdog Thread...
I/ThermalEngine( 294): Thermal-Server: Adding thermal event listener on fd 8
I/Thermal-Lib(26166): Thermal-Lib-Client: Client received msg camera 0
I/QCamera2HWI(26166): virtual int qcamera::QCamera2HardwareInterface::thermalEvtHandle(qcamera::qcamera_thermal_level_enum_t, void*, void*): level = 0, userdata = 0x0, data = 0x0
I/QCamera2HWI(26166): int qcamera::QCamera2HardwareInterface::calcThermalLevel(qcamera::qcamera_thermal_level_enum_t, int, int, cam_fps_range_t&, msm_vfe_frame_skip_pattern&): Thermal level 0, FPS ran
ge [15.00,30.00], frameskip 0
I/Thermal-Lib(26166): Thermal-Lib-Client: Client received msg camcorder 0
I/QCamera2HWI(26166): virtual int qcamera::QCamera2HardwareInterface::thermalEvtHandle(qcamera::qcamera_thermal_level_enum_t, void*, void*): level = 0, userdata = 0x0, data = 0x0
I/QCamera2HWI(26166): int qcamera::QCamera2HardwareInterface::calcThermalLevel(qcamera::qcamera_thermal_level_enum_t, int, int, cam_fps_range_t&, msm_vfe_frame_skip_pattern&): Thermal level 0, FPS ran
ge [15.00,30.00], frameskip 0
I/CameraMotExt( 1678): Supported
I/QCamera2HWI(26166): getParameters standard
I/QCameraHalWatchdog(26166): Starting Watchdog Thread...
I/QCamera2HWI(26166): updateParameters non-standard params: 1
D/QCameraParameters(26166): int32_t qcamera::QCameraParameters::setNumOfSnapshot(): nBurstNum = 1, nExpnum = 1
I/QCameraHalWatchdog(26166): Stopped Watchdog Thread...
I/MultisampleConfigChooser( 1678): eglChoosConfig multisample found
I/QCamera2HWI(26166): getParameters all
W/dalvikvm( 1678): threadid=13: thread exiting with uncaught exception (group=0x4168cd40)
E/AndroidRuntime( 1678): FATAL EXCEPTION: CameraHandlerThread
E/AndroidRuntime( 1678): Process: com.motorola.camera, PID: 1678
E/AndroidRuntime( 1678): java.lang.NullPointerException
E/AndroidRuntime( 1678): at com.motorola.camera.settings.Setting.asPreviewSizeList(Setting.java:363)
E/AndroidRuntime( 1678): at com.motorola.camera.settings.PictureSizeSetting$1.performRead(PictureSizeSetting.java:35)
E/AndroidRuntime( 1678): at com.motorola.camera.settings.behavior.CameraParamBehavior.performCameraRead(CameraParamBehavior.java:28)
E/AndroidRuntime( 1678): at com.motorola.camera.settings.AppSettings.readParametersIntoSettings(AppSettings.java:243)
E/AndroidRuntime( 1678): at com.motorola.camera.device.callables.ReadParamsCallable.call(ReadParamsCallable.java:38)
E/AndroidRuntime( 1678): at com.motorola.camera.device.callables.CameraCallable.run(CameraCallable.java:48)
E/AndroidRuntime( 1678): at com.motorola.camera.device.CustomIntentService$1.handleMessage(CustomIntentService.java:41)
E/AndroidRuntime( 1678): at android.os.Handler.dispatchMessage(Handler.java:98)
E/AndroidRuntime( 1678): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 1678): at android.os.HandlerThread.run(HandlerThread.java:61)
W/ActivityManager(26484): Force finishing activity com.motorola.camera/.Camera
W/ResourceTexture( 1678): No bitmap to load
W/YuvTexture( 1678): No bitmap to load
D/dalvikvm(26484): GC_FOR_ALLOC freed 419K, 20% free 24093K/29924K, paused 125ms, total 126ms
W/ContextImpl(26788): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1244 android.content.ContextWrapper.sendBroadcast:365 com.motorola.motocare
.util.TriggerHelper$TriggerBuilder.send:76 com.motorola.motocare.internal.frameworkevents.PauseResumeTrigger.handleFrameworkEvent:53 com.motorola.motocare.internal.frameworkevents.FwEventMonitor$Frame
workListener.processFrameworkEvent:114
D/Sensors (26484): AccelerationSensor: Set Sensors state 0x2
D/Sensors (26484): AccelerationSensor: set delay 0
D/Checkin ( 1678): publish the event [tag = MOT_CAMERA_STATS event name = USER_EXITED_APP]
W/ActivityManager(26484): Activity pause timeout for ActivityRecord{422d93d0 u0 com.motorola.camera/.Camera t11 f}
W/ContextImpl(26788): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1244 android.content.ContextWrapper.sendBroadcast:365 com.motorola.motocare
.util.TriggerHelper$TriggerBuilder.send:76 com.motorola.motocare.internal.frameworkevents.PauseResumeTrigger.handleFrameworkEvent:53 com.motorola.motocare.internal.frameworkevents.FwEventMonitor$Frame
workListener.processFrameworkEvent:114
I/MediaFocusControl(26484): AudioFocus abandonAudioFocus() from [email protected]
I/SFPerfTracer(26124): trigger: render (32.224 ms) (7.224 ms off for 7 triggers) (7 triggers) (8 renders)
I/SFPerfTracer(26124): triggers: (rate: 3:131) (compose: 0:3) (post: 0:3) (render: 3:38) (7:1275 frames) (8:4555)
D/SFPerfTracer(26124): layers: (8:14) (DimLayer: 0:121) (FocusedStackFrame: 0:76)* (StatusBar: 8:2412) (NavigationBar: 0:517) (com.android.systemui.ImageWallpaper: 0:32) (DimLayer: 0:58)* (DimL
ayer: 0:6)* (com.anddoes.launcher/com.anddoes.launcher.Launcher: 0:32)* (Starting com.motorola.camera: 0:33)* (com.motorola.camera/com.motorola.camera.Camera: 8:17) (SurfaceView: 8:14) (Application Er
ror: com.motorola.camera: 0:16) (com.anddoes.launcher/com.anddoes.launcher.Launcher: 0:5)
I got the same problem with my camera. If it gets really bad a soft reset would do the trick. This is driving me nuts
Sent from my XT1034 using Tapatalk

improve the touchscreen smoothness

i'm korean photon q user, sorry for my bad english.
i bought Photon Q 2weeks ago on Ebay,
and i applied "SIM CARD MOD" it works perfect.
but touchscreen smoothness and sensitivity is dissatisfied for me..
i want to change touchscreen setting, and i found the solution.
modifying touchscreen driver in kernel source.
i refer to the "MXT224E Protocol Guide" (google it)
tested one by one all register on [TOUCH_ACQUIRESETTING_T8], [TOUCH_MULTITOUCHSCREEN_T9] Function.
For example, [TOUCH_MULTITOUCHSCREEN_T9] can set like this.
Code:
in "drivers/input/touchscreen/atmxt.c"
~~~~
if (entry[3] < 21) {
atmxt_dbg(dd, ATMXT_DBG3,
"%s: Only 10-bit resolution is available.\n", __func__);
} else {
if (reg[19] >= 0x04)
dd->data->res[0] = true;
if (reg[21] >= 0x04)
dd->data->res[1] = true;
}
// MOT
reg[0] = 139; //CTRL!
// reg[1] = ; //XORIGIN!
// reg[2] = ; //YORIGIN!
// reg[3] = ; //XSIZE! 19
// reg[4] = ; //YSIZE! 11
reg[5] = 0; //AKSFG
reg[6] = 70; //BLEN
reg[7] = 23; //TCHTHR
reg[8] = 2 ; //TCHDI
reg[9] = 1 ; //ORIENT
reg[10] = 0; //MRGTIMEOUT
reg[11] = 2; //MOVHYSTI
reg[12] = 1; //MOVHYSTN
reg[13] = 63; //MOVFILTER
reg[14] = 10; //NUM-TOUCH
reg[15] = 5; // HYSTERISIS MERGE
reg[16] = 40; // THRESHOLD MERGE
reg[17] = 7; // AMPLITUDE HYSTERESIS
reg[18] = 255; //XRANGE
reg[19] = 3; //XRANGE
reg[20] = 255; //YRANGE
reg[21] = 3; //YRANGE
// reg[22] =3; // XLOCLIP
// reg[23] =248; // XHICLIP
// reg[24] =28; // YLOCLIP
// reg[25] =17; // YHICLIP
reg[26] = 225; //XEDGECTRL
reg[27] = 50; //XEDGEDIST
reg[28] = 172; //YEDGECTRL
reg[29] = 80; //YEDGEDIST
reg[30] = 18; //JUMPLIMIT
reg[31] = 10; //TCHHYST
reg[32] = 40; //XPITCH
reg[33] = 40; //YPITCH
reg[34] = 0; //NEXTTCHDI
atmxt_save_data9_fail:
return err;
}
i attached "Touchscreen Tuned" Kernel flashable zip file.
(based on CM-Kernel source, "motorola_msm8960-common")
it works on CM11-SNAPSHOT-M12. "moto_msm8960_jbbl"
IT IS NOT a perfect solution.
if you want more smoothness and sensitivity, modify that values.

Simple mulitply and add arithmetics in the Android world

Hi,
As you know there are three types of people in the world, those who can count and those who can't. In an application I'm working on I encountered a really strange problem where I didn't get the expected output. Ok, so I'm apparently in the category of the ones who can't count :crying: . To show the problem in a really cut down example consider the following:
Code:
private static final String TAG = "Calc";
private static final int LENGTH = 16;
private int[] calc(int a, int b, int z) {
int zz[] = new int[LENGTH];
for (int i = 0; i < LENGTH; i++) {
z = z * a + b;
zz[i] = z;
}
return zz;
}
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
int a = -1;
int b = 5;
int z = 3;
int zz[] = calc(a, b, z);
StringBuffer sb = new StringBuffer();
for (int i = 0; i < zz.length; i++) {
sb.append(zz[i]);
sb.append(" ");
}
Log.i(TAG, sb.toString());
Log.i(TAG, Build.FINGERPRINT);
}
So, which category are you? What output do you expect? Let me share the output from two devices:
07-16 21:59:46.778 17050 17050 I Calc : 5 5 5 5 0 0 0 0 5 5 5 5 0 0 0 0
07-16 21:59:46.778 17050 17050 I Calc : OPPO/F1f/F1f:5.1.1/LMY47V/1446204931:user/release-keys
Click to expand...
Click to collapse
07-16 22:04:58.169 12563 12563 I Calc : 5 5 5 5 0 0 0 0 5 5 5 5 0 0 0 0
07-16 22:04:58.169 12563 12563 I Calc : Sony/D6503/D6503:6.0.1/23.5.A.0.575/1719295681:user/release-keys
Click to expand...
Click to collapse
Very consistent
Let me also share the output from an older device with the JIT Dalvik VM (which actually provided the sequence I was expecting):
07-16 22:09:33.795 1980 1980 I Calc : 2 3 2 3 2 3 2 3 2 3 2 3 2 3 2 3
07-16 22:09:33.795 1980 1980 I Calc : SEMC/ST17i_1250-3167/ST17i:4.0.4/4.1.B.0.587/tL1_3w:user/release-keys
Click to expand...
Click to collapse
Some background info can also be found here:
http://nicklastechnotes.blogspot.se/2016/07/funny-oat-compiler-mistake.html
Have fun!
/Nicklas

Categories

Resources