[Galaxy S II Original Android Development] crypticc:
hi - which rom?

I'm on stock KI8

Gokhanmoral, this might be a ROM thing. e.g. after putting the phone to sleep I see the following...

kernel-related error with permissions.

kernel-related warnings with phone refusing to sleep due to batter and status and clock updates.

D/InputReader( 268): Input event: value=0
I/ScreenCaptureAction( 268): isHomeKeyPressed(), return value = false
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 65
D/PowerManagerService( 268): goToSleepWithReason : time : 2665645 reason : 2
D/PowerManagerService( 268): Screen__Off : goToSleepLocked : myUID=1000 myPID=268 myTID=321
D/PowerManagerService( 268): setting mProxIgnoredBecauseScreenTurnedOff
I/PowerManagerService( 268): Ulight 3->0|0
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 62
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 58
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 55
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 51
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 48
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 44
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 41
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 37
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 34
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 31
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 27
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 24
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 20
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 17
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 13
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 10
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 6
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 3
E/lights ( 268): write_int : /sys/class/backlight/pwm-backlight/brightness 0
E/power ( 268): *** set_screen_state 0
I/PowerManagerService( 268): Light Animator Finished curIntValue=0
D/SurfaceFlinger( 268): About to give-up screen, flinger = 0x127220
D/PowerManagerService( 268): enableLightSensor false
D/SensorManager( 268): unregisterListener:: disable all sensors for this listener, listener = com.android.server.Power
ManagerService$13@4052a268
D/KeyguardViewMediator( 268): onScreenTurnedOff(2)
D/KeyguardViewMediator( 268): notifyScreenOffLocked
D/KeyguardViewMediator( 268): resetStateLocked
W/PowerManagerService( 268): CurLockF mPS:0 mUS=0
W/PowerManagerService( 268): type=PARTIAL_WAKE_LOCK 'sleep_broadcast' active (mS=0) activeT=25
W/PowerManagerService( 268): mPokeLocks.size=0:
D/PowerManagerService( 268): sendNotificationLocked on=false
D/PowerManagerService( 268): mNotificationTask : off
I/OrientationDebug( 268): [pwm] in updateOrientationListenerLp()
V/OrientationDebug( 268): in updateOrientationListenerLp(), Screen status=false, current orientation=5, SensorEnabled=t
rue
I/OrientationDebug( 268): [pwm] in updateOrientationListenerLp(), now call mOrientationListener.disable(), and mOrienta
tionSensorEnabled = false #2
I/OrientationDebug( 268): [WindowOrientationListener] in disable(), now call SensorManager.unregisterListener()
D/SensorManager( 268): unregisterListener:: disable all sensors for this listener, listener = android.view.WindowOrien
tationListener$SensorEventListenerImpl@408280d8
V/WindowManager( 268): Setting event dispatching to false
D/KeyguardViewMediator( 268): handleNotifyScreenOff
D/LockPatternKeyguardView( 268): onScreenTurnedOff()
D/KeyguardViewMediator( 268): handleReset
W/System.err( 268): java.lang.SecurityException: No permission to set to given group
W/System.err( 268): at android.os.Process.setProcessGroup(Native Method)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:1
2206)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:1
2293)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateLruProcessInternalLocked(ActivityManagerSe
rvice.java:1754)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateLruProcessLocked(ActivityManagerService.ja
va:1761)
W/System.err( 268): at com.android.server.am.ActivityManagerService.processCurBroadcastLocked(ActivityManagerService
.java:10864)
W/System.err( 268): at com.android.server.am.ActivityManagerService.processNextBroadcast(ActivityManagerService.java
:11252)
W/System.err( 268): at com.android.server.am.ActivityManagerService.access$100(ActivityManagerService.java:151)
W/System.err( 268): at com.android.server.am.ActivityManagerService$2.handleMessage(ActivityManagerService.java:1118
)
W/System.err( 268): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 268): at android.os.Looper.loop(Looper.java:130)
W/System.err( 268): at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1373)
I/PhotoAppWidgetProvider( 1210): onReceive
I/PhotoAppWidgetProvider( 1210): PauseSlideShow
D/PhotoAppWidgetProvider( 1210): onReceive End
W/SchedPolicy( 268): add_tid_to_cgroup failed to write '1210' (Permission denied); background=0
W/ActivityManager( 268): Failed setting process group of 1210 to 0
W/System.err( 268): java.lang.SecurityException: No permission to set to given group
W/System.err( 268): at android.os.Process.setProcessGroup(Native Method)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:1
2206)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:1
2293)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateLruProcessInternalLocked(ActivityManagerSe
rvice.java:1754)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateLruProcessLocked(ActivityManagerService.ja
va:1761)
W/System.err( 268): at com.android.server.am.ActivityManagerService.processCurBroadcastLocked(ActivityManagerService
.java:10864)
W/System.err( 268): at com.android.server.am.ActivityManagerService.processNextBroadcast(ActivityManagerService.java
:11252)
W/System.err( 268): at com.android.server.am.ActivityManagerService.finishReceiver(ActivityManagerService.java:10714
)
W/System.err( 268): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:342)
W/System.err( 268): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1524)
W/System.err( 268): at android.os.Binder.execTransact(Binder.java:320)
W/System.err( 268): at dalvik.system.NativeStart.run(Native Method)
D/CalendarAppWidgetProviderAgenda( 599): ACTION_HOME_PAUSE: false
W/SchedPolicy( 268): add_tid_to_cgroup failed to write '1210' (Permission denied); background=1
W/ActivityManager( 268): Failed setting process group of 1210 to 1
D/GLSurfaceViewGroup( 427): Skipped drawing due to suspendDrawingUntilResume()
D/PhoneUtils( 390): updateRAFT() : FactoryMode : false
I/StatusBarPolicy( 377): onDataActivity-D:0
I/Launcher( 427): ACTION_SCREEN_OFF
I/StatusBarPolicy( 377): onDataActivity-D:0
W/System.err( 268): java.lang.SecurityException: No permission to set to given group
W/System.err( 268): at android.os.Process.setProcessGroup(Native Method)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:1
2206)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:1
2293)
W/System.err( 268): at com.android.server.am.ActivityManagerService.deliverToRegisteredReceiverLocked(ActivityManage
rService.java:10955)
W/System.err( 268): at com.android.server.am.ActivityManagerService.processNextBroadcast(ActivityManagerService.java
:11170)
W/System.err( 268): at com.android.server.am.ActivityManagerService.finishReceiver(ActivityManagerService.java:10714
)
W/System.err( 268): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:342)
W/System.err( 268): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1524)
W/System.err( 268): at android.os.Binder.execTransact(Binder.java:320)
W/System.err( 268): at dalvik.system.NativeStart.run(Native Method)
W/SchedPolicy( 268): add_tid_to_cgroup failed to write '2776' (Permission denied); background=0
W/ActivityManager( 268): Failed setting process group of 2776 to 0
W/System.err( 268): java.lang.SecurityException: No permission to set to given group
W/System.err( 268): at android.os.Process.setProcessGroup(Native Method)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:1
2206)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:1
2293)
W/System.err( 268): at com.android.server.am.ActivityManagerService.deliverToRegisteredReceiverLocked(ActivityManage
rService.java:10955)
W/System.err( 268): at com.android.server.am.ActivityManagerService.processNextBroadcast(ActivityManagerService.java
:11170)
W/System.err( 268): at com.android.server.am.ActivityManagerService.finishReceiver(ActivityManagerService.java:10714
)
W/System.err( 268): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:342)
W/System.err( 268): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1524)
W/System.err( 268): at android.os.Binder.execTransact(Binder.java:320)
W/System.err( 268): at dalvik.system.NativeStart.run(Native Method)
E/GlassLockScreenMusicWidget( 268): onReceive() : intent=Intent { act=android.intent.action.SCREEN_OFF flg=0x40000000 }

E/GlassLockScreenFMRadioWidget( 268): onReceive() : intent action=android.intent.action.SCREEN_OFF
W/SchedPolicy( 268): add_tid_to_cgroup failed to write '2776' (Permission denied); background=1
W/ActivityManager( 268): Failed setting process group of 2776 to 1
D/dalvikvm( 1210): GC_EXPLICIT freed 14K, 52% free 2859K/5895K, external 4K/516K, paused 42ms
I/StatusBarPolicy( 377): onSignalStrengthsChanged
D/StatusBarPolicy( 377): updateSignalStrength: numeric=23420, curOperator=3
D/UnlockClock( 268): GMT_update mRightNow.getTimeZone().getID() == Europe/London
D/dalvikvm( 2776): GC_EXPLICIT freed 15K, 47% free 3667K/6791K, external 0K/0K, paused 24ms
E/BatteryService( 268): TMU status = 0
D/BatteryService( 268): update start
D/BatteryService( 268): updateBattery level:96 scale:100 status:2 health:2 present:true voltage: 4178 temperature: 290
technology: Li-ion AC powered:false USB powered:true icon:17302233
D/GlassLockscreenInfo( 268): onResume()
D/PhoneUtils( 390): updateRAFT() : FactoryMode : false
I/StatusBarPolicy( 377): BAT. S:2 H:2
D/UnlockClock( 268): GMT_update mRightNow.getTimeZone().getID() == Europe/London
D/UnlockClock( 268): GMT_update mRightNow.getTimeZone().getID() == Europe/London
D/BatteryService( 268): update start
E/BatteryService( 268): TMU status = 0
D/BatteryService( 268): updateBattery level:96 scale:100 status:2 health:2 present:true voltage: 4180 temperature: 270
technology: Li-ion AC powered:false USB powered:true icon:17302233
D/PhoneUtils( 390): updateRAFT() : FactoryMode : false
I/StatusBarPolicy( 377): BAT. S:2 H:2
I/StatusBarPolicy( 377): onSignalStrengthsChanged
D/StatusBarPolicy( 377): updateSignalStrength: numeric=23420, curOperator=3
D/UnlockClock( 268): GMT_update mRightNow.getTimeZone().getID() == Europe/London
I/StatusBarPolicy( 377): onSignalStrengthsChanged
D/StatusBarPolicy( 377): updateSignalStrength: numeric=23420, curOperator=3
D/UnlockClock( 268): GMT_update mRightNow.getTimeZone().getID() == Europe/London
D/BatteryService( 268): update start
E/BatteryService( 268): TMU status = 0
D/BatteryService( 268): updateBattery level:97 scale:100 status:2 health:2 present:true voltage: 4182 temperature: 270
technology: Li-ion AC powered:false USB powered:true icon:17302233
D/GlassLockscreenInfo( 268): onResume()
D/PhoneUtils( 390): updateRAFT() : FactoryMode : false
I/StatusBarPolicy( 377): BAT. S:2 H:2
D/UnlockClock( 268): GMT_update mRightNow.getTimeZone().getID() == Europe/London
I/StatusBarPolicy( 377): onSignalStrengthsChanged
D/StatusBarPolicy( 377): updateSignalStrength: numeric=23420, curOperator=3
I/StatusBarPolicy( 377): onSignalStrengthsChanged
D/StatusBarPolicy( 377): updateSignalStrength: numeric=23420, curOperator=3
I/StatusBarPolicy( 377): onSignalStrengthsChanged
D/StatusBarPolicy( 377): updateSignalStrength: numeric=23420, curOperator=3
D/BatteryService( 268): update start
E/BatteryService( 268): TMU status = 0
D/BatteryService( 268): updateBattery level:97 scale:100 status:2 health:2 present:true voltage: 4184 temperature: 290
technology: Li-ion AC powered:false USB powered:true icon:17302233
D/PhoneUtils( 390): updateRAFT() : FactoryMode : false
I/StatusBarPolicy( 377): BAT. S:2 H:2
D/UnlockClock( 268): GMT_update mRightNow.getTimeZone().getID() == Europe/London
D/NetdConnector( 268): doCommand :: cmd = interface readrxcounter rmnet0
D/NetdConnector( 268): sendCommand :: command = interface readrxcounter rmnet0, argument = null
D/NetdConnector( 268): SND -> {interface readrxcounter rmnet0} {null}
D/NetdConnector( 268): RCV <- {216 0}
D/NetdConnector( 268): RSP <- {216 0}
D/NetdConnector( 268): doCommand :: cmd = interface readtxcounter rmnet0
D/NetdConnector( 268): sendCommand :: command = interface readtxcounter rmnet0, argument = null
D/NetdConnector( 268): SND -> {interface readtxcounter rmnet0} {null}
D/NetdConnector( 268): RCV <- {217 0}
D/NetdConnector( 268): RSP <- {217 0}
I/StatusBarPolicy( 377): onSignalStrengthsChanged
D/StatusBarPolicy( 377): updateSignalStrength: numeric=23420, curOperator=3
D/UnlockClock( 268): GMT_update mRightNow.getTimeZone().getID() == Europe/London
D/BatteryService( 268): update start
E/BatteryService( 268): TMU status = 0
D/BatteryService( 268): updateBattery level:98 scale:100 status:2 health:2 present:true voltage: 4187 temperature: 280
technology: Li-ion AC powered:false USB powered:true icon:17302233
D/GlassLockscreenInfo( 268): onResume()
I/StatusBarPolicy( 377): BAT. S:2 H:2
D/PhoneUtils( 390): updateRAFT() : FactoryMode : false
I/StatusBarPolicy( 377): onSignalStrengthsChanged
D/StatusBarPolicy( 377): updateSignalStrength: numeric=23420, curOperator=3
D/UnlockClock( 268): GMT_update mRightNow.getTimeZone().getID() == Europe/London
W/SchedPolicy( 268): add_tid_to_cgroup failed to write '2099' (Permission denied); background=0
W/ActivityManager( 268): Failed setting process group of 2099 to 0
W/System.err( 268): java.lang.SecurityException: No permission to set to given group
W/System.err( 268): at android.os.Process.setProcessGroup(Native Method)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:1
2206)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:1
2293)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateLruProcessInternalLocked(ActivityManagerSe
rvice.java:1754)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateLruProcessInternalLocked(ActivityManagerSe
rvice.java:1738)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateLruProcessInternalLocked(ActivityManagerSe
rvice.java:1746)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateLruProcessLocked(ActivityManagerService.ja
va:1761)
W/System.err( 268): at com.android.server.am.ActivityManagerService.realStartServiceLocked(ActivityManagerService.ja
va:8884)
W/System.err( 268): at com.android.server.am.ActivityManagerService.bringUpServiceLocked(ActivityManagerService.java
:9057)
W/System.err( 268): at com.android.server.am.ActivityManagerService.startServiceLocked(ActivityManagerService.java:9
259)
W/System.err( 268): at com.android.server.am.ActivityManagerService.startServiceInPackage(ActivityManagerService.jav
a:9288)
W/System.err( 268): at com.android.server.am.PendingIntentRecord.sendInner(PendingIntentRecord.java:240)
W/System.err( 268): at com.android.server.am.PendingIntentRecord.send(PendingIntentRecord.java:177)
W/System.err( 268): at android.app.PendingIntent.send(PendingIntent.java:400)
W/System.err( 268): at com.android.server.AlarmManagerService$AlarmThread.run(AlarmManagerService.java:695)
W/System.err( 268): java.lang.SecurityException: No permission to set to given group
W/System.err( 268): at android.os.Process.setProcessGroup(Native Method)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:1
2206)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:1
2249)
W/System.err( 268): at com.android.server.am.ActivityManagerService.serviceDoneExecutingLocked(ActivityManagerServic
e.java:9888)
W/System.err( 268): at com.android.server.am.ActivityManagerService.serviceDoneExecuting(ActivityManagerService.java
:9858)
W/System.err( 268): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:705)
W/System.err( 268): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1524)
W/System.err( 268): at android.os.Binder.execTransact(Binder.java:320)
W/System.err( 268): at dalvik.system.NativeStart.run(Native Method)
W/SchedPolicy( 268): add_tid_to_cgroup failed to write '2099' (Permission denied); background=1
W/ActivityManager( 268): Failed setting process group of 2099 to 1
I/EventLogService( 471): Aggregate from 1318080185256 (log), 1318080185256 (data)
D/dalvikvm( 471): GC_CONCURRENT freed 333K, 45% free 3457K/6279K, external 0K/512K, paused 1ms+2ms
D/dalvikvm( 2099): GC_EXPLICIT freed 126K, 41% free 3880K/6535K, external 0K/0K, paused 51ms
W/SchedPolicy( 268): add_tid_to_cgroup failed to write '2099' (Permission denied); background=0
W/ActivityManager( 268): Failed setting process group of 2099 to 0
W/System.err( 268): java.lang.SecurityException: No permission to set to given group
W/System.err( 268): at android.os.Process.setProcessGroup(Native Method)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:1
2206)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:1
2249)
W/System.err( 268): at com.android.server.am.ActivityManagerService.bringDownServiceLocked(ActivityManagerService.ja
va:9188)
W/System.err( 268): at com.android.server.am.ActivityManagerService.stopServiceToken(ActivityManagerService.java:940
4)
W/System.err( 268): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:632)
W/System.err( 268): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1524)
W/System.err( 268): at android.os.Binder.execTransact(Binder.java:320)
W/System.err( 268): at dalvik.system.NativeStart.run(Native Method)
W/System.err( 268): java.lang.SecurityException: No permission to set to given group
W/System.err( 268): at android.os.Process.setProcessGroup(Native Method)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:1
2206)
W/System.err( 268): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:1
2249)
W/System.err( 268): at com.android.server.am.ActivityManagerService.serviceDoneExecutingLocked(ActivityManagerServic
e.java:9888)
W/System.err( 268): at com.android.server.am.ActivityManagerService.serviceDoneExecuting(ActivityManagerService.java
:9858)
W/System.err( 268): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:705)
W/System.err( 268): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1524)
W/System.err( 268): at android.os.Binder.execTransact(Binder.java:320)
W/System.err( 268): at dalvik.system.NativeStart.run(Native Method)
W/SchedPolicy( 268): add_tid_to_cgroup failed to write '2099' (Permission denied); background=1
W/ActivityManager( 268): Failed setting process group of 2099 to 1
D/dalvikvm( 659): GC_CONCURRENT freed 390K, 42% free 4164K/7175K, external 0K/0K, paused 4ms+2ms
I/StatusBarPolicy( 377): onSignalStrengthsChanged
D/StatusBarPolicy( 377): updateSignalStrength: numeric=23420, curOperator=3
D/BatteryService( 268): update start
E/BatteryService( 268): TMU status = 0
D/BatteryService( 268): updateBattery level:98 scale:100 status:2 health:2 present:true voltage: 4183 temperature: 270
technology: Li-ion AC powered:false USB powered:true icon:17302233
D/PhoneUtils( 390): updateRAFT() : FactoryMode : false
I/StatusBarPolicy( 377): BAT. S:2 H:2
D/UnlockClock( 268): GMT_update mRightNow.getTimeZone().getID() == Europe/London

It continues to update status bar even while screen is black about every 40 seconds to 1 minute.

Is it related to the logging itself? Can I remove it (the 01Logging init.d doesn't do anything)