[Galaxy Ace S5830 Android Development] lagloose:
Hi folks,

a lot of people (like me) still have the reboot problem, so i've tried to step a little bit deeper into that. Seems that this happens only on special SIM Cards. My provider here in Germany is BASE.DE which uses the german E-Plus Network. Using this card i have reboot problems. Here is part of logcat where it obviously crashes:

-----

D/CAT ( 1021): CatService: ril message arrived

D/CAT ( 1021): CatService: SESSION END

D/MccTable( 1021): updateMccMncConfiguration: mcc=262, mnc=3

F/libc ( 876): Fatal signal 7 (SIGBUS) at 0x00000000 (code=128)

D/dalvikvm( 1030): GC_FOR_ALLOC freed 0K, 5% free 7789K/8135K, paused 68ms

I/SearchManagerService( 876): Building list of searchable activities

D/dalvikvm( 876): GC_EXPLICIT freed 296K, 6% free 8451K/8967K, paused 5ms+9ms

I/DEBUG ( 848): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

I/DEBUG ( 848): Build fingerprint: 'samsung/cm_cooper/cooper:4.0.3/MR1/eng.cheshire.20111217.154236:userdebug/test-keys'

I/DEBUG ( 848): pid: 876, tid: 1055 >>> system_server <<<

I/DEBUG ( 848): signal 7 (SIGBUS), code 128 (?), fault addr 00000000

I/DEBUG ( 848): r0 4114c9f8 r1 4872443f r2 00000090 r3 00000001

I/DEBUG ( 848): r4 00ff0000 r5 0000ff00 r6 00000000 r7 00000000

I/DEBUG ( 848): r8 4f601a94 r9 4f70de20 10 4f70de0c fp 4f601aac

I/DEBUG ( 848): ip 40869628 sp 4f601a30 lr 401d10b5 pc 401d0aca cpsr 80000030

I/DEBUG ( 848): d0 00000000bf800000 d1 000000003f800000

I/DEBUG ( 848): d2 3ff0000000000000 d3 3f1155e54e7e8408

I/DEBUG ( 848): d4 bfb1be5a93a83e1d d5 0000000000000000

I/DEBUG ( 848): d6 0000000000000000 d7 000000003f800000

I/DEBUG ( 848): d8 0000000000000000 d9 0000000000000000

I/DEBUG ( 848): d10 0000000000000000 d11 0000000000000000

I/DEBUG ( 848): d12 0000000000000000 d13 0000000000000000

I/DEBUG ( 848): d14 0000000000000000 d15 0000000000000000

I/DEBUG ( 848): scr 80000010

I/DEBUG ( 848):

D/dalvikvm( 1030): GC_FOR_ALLOC freed 844K, 12% free 7302K/8263K, paused 75ms

I/dalvikvm-heap( 1030): Grow heap (frag case) to 7.748MB for 584976-byte allocation

D/dalvikvm( 1030): GC_FOR_ALLOC freed 13K, 5% free 7859K/8263K, paused 62ms

D/dalvikvm( 1030): GC_CONCURRENT freed 1K, 5% free 7860K/8263K, paused 5ms+24ms

D/dalvikvm( 1030): GC_FOR_ALLOC freed 0K, 5% free 7860K/8263K, paused 85ms

I/dalvikvm-heap( 1030): Grow heap (frag case) to 8.292MB for 584976-byte allocation

I/DEBUG ( 848): #00 pc 00016aca /system/lib/libnativehelper.so

I/DEBUG ( 848): #01 pc 000170b0 /system/lib/libnativehelper.so

I/DEBUG ( 848):

I/DEBUG ( 848): code around pc:

I/DEBUG ( 848): 401d0aa8 881bd504 0a19021d 80014329 bdf0b009 ........)C......

I/DEBUG ( 848): 401d0ab8 b085b5f0 24ff25ff 26009201 0424022d .....%.$...&-.$.

I/DEBUG ( 848): 401d0ac8 c908e00d 061f3601 433a0e1a 402f1c1f .....6....:C../@

I/DEBUG ( 848): 401d0ad8 433a023f 0a1f4023 433b1c13 9a01c008 ?.:C#@....;C....

I/DEBUG ( 848): 401d0ae8 d1ee4296 bdf0b005 b087b5f0 24ff25ff .B...........%.$

I/DEBUG ( 848):

I/DEBUG ( 848): code around lr:

I/DEBUG ( 848): 401d1094 00b326bb 220058d6 60a047b0 68a0ac03 .&...X.".G.`...h

I/DEBUG ( 848): 401d10a4 d0052800 19c000bf 9a0d1c29 fd02f7ff .(......).......

I/DEBUG ( 848): 401d10b4 f7f61c20 e007fac9 26d36802 950000b3 ........h.&....

I/DEBUG ( 848): 401d10c4 1c3a58d4 47a09b0d bdf0b007 b087b5f0 .X:....G........

I/DEBUG ( 848): 401d10d4 aa0e1c15 78131c19 2b009f0c ac03d01e .......x...+....

I/DEBUG ( 848):

I/DEBUG ( 848): stack:

I/DEBUG ( 848): 4f6019f0 ffffff94

I/DEBUG ( 848): 4f6019f4 0000002a

I/DEBUG ( 848): 4f6019f8 00000000

I/DEBUG ( 848): 4f6019fc 4086a5c8 /system/lib/libdvm.so

I/DEBUG ( 848): 4f601a00 4086a5c8 /system/lib/libdvm.so

I/DEBUG ( 848): 4f601a04 00000360

I/DEBUG ( 848): 4f601a08 ffffff94

I/DEBUG ( 848): 4f601a0c 4086a918 /system/lib/libdvm.so

I/DEBUG ( 848): 4f601a10 4f601a94

I/DEBUG ( 848): 4f601a14 4f70de20

I/DEBUG ( 848): 4f601a18 4f70de0c

I/DEBUG ( 848): 4f601a1c 40820cf9 /system/lib/libdvm.so

I/DEBUG ( 848): 4f601a20 36d00005

I/DEBUG ( 848): 4f601a24 408695d8 /system/lib/libdvm.so

I/DEBUG ( 848): 4f601a28 df0027ad

I/DEBUG ( 848): 4f601a2c 00000000

I/DEBUG ( 848): #00 4f601a30 4114c9f8 /dev/ashmem/dalvik-heap (deleted)

I/DEBUG ( 848): 4f601a34 00000090

I/DEBUG ( 848): 4f601a38 40822c75 /system/lib/libdvm.so

I/DEBUG ( 848): 4f601a3c 40822ca7 /system/lib/libdvm.so

I/DEBUG ( 848): 4f601a40 4f70df34

I/DEBUG ( 848): 4f601a44 4f601a64

I/DEBUG ( 848): 4f601a48 4872443f /system/usr/share/zoneinfo/zoneinfo.dat

I/DEBUG ( 848): 4f601a4c 40822c75 /system/lib/libdvm.so

I/DEBUG ( 848): 4f601a50 00000000

I/DEBUG ( 848): 4f601a54 401d10b5 /system/lib/libnativehelper.so

I/DEBUG ( 848): #01 4f601a58 4f601a98

I/DEBUG ( 848): 4f601a5c 408208f5 /system/lib/libdvm.so

I/DEBUG ( 848): 4f601a60 4114c978 /dev/ashmem/dalvik-heap (deleted)

I/DEBUG ( 848): 4f601a64 00349768 [heap]

I/DEBUG ( 848): 4f601a68 36d00005

I/DEBUG ( 848): 4f601a6c 4114c9f8 /dev/ashmem/dalvik-heap (deleted)

I/DEBUG ( 848): 4f601a70 4f601a8c

I/DEBUG ( 848): 4f601a74 44be4ea0 /dev/ashmem/dalvik-LinearAlloc (deleted)

I/DEBUG ( 848): 4f601a78 00352018 [heap]

I/DEBUG ( 848): 4f601a7c 00000000

I/DEBUG ( 848): 4f601a80 4f70de34

I/DEBUG ( 848): 4f601a84 407ec7f4 /system/lib/libdvm.so

I/DEBUG ( 848): 4f601a88 00000000

I/DEBUG ( 848): 4f601a8c 00000090

I/DEBUG ( 848): 4f601a90 00000001

I/DEBUG ( 848): 4f601a94 00000001

I/DEBUG ( 848): 4f601a98 401d106d /system/lib/libnativehelper.so

I/DEBUG ( 848): 4f601a9c 00000001

D/dalvikvm( 1030): GC_FOR_ALLOC freed 0K, 5% free 8432K/8839K, paused 94ms

D/dalvikvm( 1030): GC_FOR_ALLOC freed 780K, 12% free 8238K/9287K, paused 93ms

D/PowerManagerService( 876): bootCompleted

V/DevicePolicyManagerService( 876): Sending password expiration notifications for action android.intent.action.BOOT_COMPLETED

I/SurfaceFlinger( 876): Boot is finished (13100 ms)

---

later on all services die and reboot starts...

---

I/DEBUG ( 848): debuggerd committing suicide to free the zombie!

I/DEBUG ( 1331): debuggerd: Dec 20 2011 14:43:35

D/MccTable( 1157): timezone set to Europe/Berlin

D/MccTable( 1157): locale set to de_de

D/MccTable( 1157): WIFI_COUNTRY_CODE set to de

I/ServiceManager( 98): service 'battery' died

I/ServiceManager( 98): service 'batteryinfo' died

I/ServiceManager( 98): service 'SurfaceFlinger' died

I/ServiceManager( 98): service 'sensorservice' died

I/ServiceManager( 98): service 'telephony.registry' died

I/ServiceManager( 98): service 'entropy' died

I/ServiceManager( 98): service 'netpolicy' died

I/ServiceManager( 98): service 'account' died

I/ServiceManager( 98): service 'bluetooth_a2dp' died

I/ServiceManager( 98): service 'usagestats' died

I/ServiceManager( 98): service 'package' died

I/ServiceManager( 98): service 'activity' died

I/ServiceManager( 98): service 'meminfo' died

I/ServiceManager( 98): service 'gfxinfo' died

I/ServiceManager( 98): service 'cpuinfo' died

I/ServiceManager( 98): service 'wifip2p' died

I/ServiceManager( 98): service 'content' died

I/ServiceManager( 98): service 'window' died

I/ServiceManager( 98): service 'permission' died

I/ServiceManager( 98): service 'power' died

I/ServiceManager( 98): service 'hardware' died

I/ServiceManager( 98): service 'vibrator' died

I/ServiceManager( 98): service 'alarm' died

I/ServiceManager( 98): service 'bluetooth' died

I/ServiceManager( 98): service 'backup' died

I/ServiceManager( 98): service 'appwidget' died

I/ServiceManager( 98): service 'diskstats' died

I/ServiceManager( 98): service 'samplingprofiler' died

I/ServiceManager( 98): service 'network_management' died

I/ServiceManager( 98): service 'audio' died

I/ServiceManager( 98): service 'usb' died

I/ServiceManager( 98): service 'uimode' died

I/ServiceManager( 98): service 'textservices' died

I/ServiceManager( 98): service 'netstats' died

I/ServiceManager( 98): service 'statusbar' died

I/ServiceManager( 98): service 'input_method' died

I/ServiceManager( 98): service 'accessibility' died

I/ServiceManager( 98): service 'device_policy' died

I/ServiceManager( 98): service 'clipboard' died

I/ServiceManager( 98): service 'connectivity' died

I/ServiceManager( 98): service 'wifi' died

I/ServiceManager( 98): service 'throttle' died

I/ServiceManager( 98): service 'mount' died

I/ServiceManager( 98): service 'notification' died

I/ServiceManager( 98): service 'devicestoragemonitor' died

I/ServiceManager( 98): service 'location' died

I/ServiceManager( 98): service 'country_detector' died

I/ServiceManager( 98): service 'search' died

I/ServiceManager( 98): service 'dropbox' died

I/ServiceManager( 98): service 'wallpaper' died

W/Sensors ( 1157): sensorservice died [0x19bb40]

W/AudioFlinger( 849): power manager service died !!!

I/ActivityThread( 1157): Removing dead content provider: settings

I/ActivityThread( 1230): Removing dead content provider: settings

I/ActivityThread( 1071): Removing dead content provider: settings

E/MccTable( 1157): Can't update configuration

E/MccTable( 1157): android.os.DeadObjectException

E/MccTable( 1157):	at android.os.BinderProxy.transact(Native Method)

E/MccTable( 1157):	at android.app.ActivityManagerProxy.getConfiguration(ActivityManagerNative.java:2484)

E/MccTable( 1157):	at com.android.internal.telephony.MccTable.updateMccMncConfiguration(MccTable.java:193)

E/MccTable( 1157):	at com.android.internal.telephony.gsm.SIMRecords.handleMessage(SIMRecords.java:844)

E/MccTable( 1157):	at android.os.Handler.dispatchMessage(Handler.java:99)

E/MccTable( 1157):	at android.os.Looper.loop(Looper.java:137)

E/MccTable( 1157):	at android.app.ActivityThread.main(ActivityThread.java:4424)

E/MccTable( 1157):	at java.lang.reflect.Method.invokeNative(Native Method)

E/MccTable( 1157):	at java.lang.reflect.Method.invoke(Method.java:511)

E/MccTable( 1157):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)

E/MccTable( 1157):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)

E/MccTable( 1157):	at dalvik.system.NativeStart.main(Native Method)

I/ActivityThread( 1004): Removing dead content provider: settings

I/ActivityThread( 950): Removing dead content provider: settings

I/ActivityThread( 1060): Removing dead content provider: settings

E/installd( 106): eof

E/installd( 106): failed to read size

I/installd( 106): closing connection

E/InputQueue-JNI( 950): channel '411b81d8 TrackingView (client)' ~ Publisher closed input channel or an error occurred. events=0x8

E/InputQueue-JNI( 950): channel '41233158 StatusBarExpanded (client)' ~ Publisher closed input channel or an error occurred. events=0x8

E/InputQueue-JNI( 950): channel '41236900 StatusBar (client)' ~ Publisher closed input channel or an error occurred. events=0x8

E/InputQueue-JNI( 950): channel '412454a8 RecentsPanel (client)' ~ Publisher closed input channel or an error occurred. events=0x8

E/InputQueue-JNI( 950): channel '411bf768 com.android.systemui.ImageWallpaper (client)' ~ Publisher closed input channel or an error occurred. events=0x8

E/InputQueue-JNI( 1030): channel '41176658 com.android.launcher/com.android.launcher2.Launcher (client)' ~ Publisher closed input channel or an error occurred. events=0x8

D/Zygote ( 851): Process 876 terminated by signal (7)

I/Zygote ( 851): Exit zygote because system server (876) has terminated

I/ServiceManager( 98): service 'media.audio_flinger' died

I/ServiceManager( 98): service 'media.player' died

I/ServiceManager( 98): service 'media.camera' died

I/ServiceManager( 98): service 'media.audio_policy' died

I/ServiceManager( 98): service 'sip' died

I/ServiceManager( 98): service 'simphonebook' died

I/ServiceManager( 98): service 'iphonesubinfo' died

I/ServiceManager( 98): service 'phone' died

I/ServiceManager( 98): service 'isms' died

I/Netd ( 1334): Netd 1.0 starting

D/AndroidRuntime( 1335):

D/AndroidRuntime( 1335): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<

D/AndroidRuntime( 1335): CheckJNI is OFF

I/SamplingProfilerIntegration( 1335): Profiling disabled.

I/Zygote ( 1335): Preloading classes...

---

as you can see, system server and zygote died and boot starts again with Netd...

(I've attached the complete logcat FYI...)

Than i tried an other card from a german discounter called 'Tchibo' who provides Prepaid cards which use the german O2 network. It rebooted only once. Then i had a stable Phone running latest legacy from Wayland which also connected automatically to 3G data. I switched off the phone put my BASE.DE card back and it booted without any reboots...

So it seems that on first boot, additional informations about provider and/or card are written to the internal sqlite database or a file or whatever. Unfortunately i couldn't find out yet which information this is.

So for people who have the reboot problem, if you have an other SIM card at hand, do a fresh installation and try to boot with an other SIM card first. Wait if it reboots. If it does only once and you get a connection to your 'alternate' provider, swicth off phone, put back you're main card and try again. That worked at least for me...

I'll look further after that problem...