[Nexus One Android Development] jolinnard:
This is the logcat (probably) for wifi tether disconnects (randomly):

W/BackupManagerService( 327): dataChanged but no participant pkg='com.android.providers.settings' uid=1001
W/System.err( 820): java.lang.NumberFormatException: Invalid int: " "
D/Tethering( 327): TetherModeAliveState.processMessage what=4
W/System.err( 820): at java.lang.Integer.invalidInt(Integer.java:138)
W/System.err( 820): at java.lang.Integer.parse(Integer.java:375)
W/System.err( 820): at java.lang.Integer.parseInt(Integer.java:366)
W/System.err( 820): at java.lang.Integer.parseInt(Integer.java:332)
W/System.err( 820): at com.gau.go.launcherex.gowidget.a.k.a(UpdateProtocol.java:66)
W/System.err( 820): at com.gau.go.launcherex.gowidget.weather.a.az.a(VersionManager.java:154)
W/System.err( 820): at com.gau.go.launcherex.gowidget.weather.a.az.onPostExecute(VersionManager.java:122)
W/System.err( 820): at android.os.AsyncTask.finish(AsyncTask.java:631)
W/System.err( 820): at android.os.AsyncTask.access$600(AsyncTask.java:177)
W/System.err( 820): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:644)
W/System.err( 820): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 820): at android.os.Looper.loop(Looper.java:137)
W/System.err( 820): at android.app.ActivityThread.main(ActivityThread.java:4931)
W/System.err( 820): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 820): at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 820): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
W/System.err( 820): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
W/System.err( 820): at dalvik.system.NativeStart.main(Native Method)
D/dalvikvm( 327): GC_EXPLICIT freed 487K, 32% free 16347K/23879K, paused 7ms+18ms, total 276ms
I/qtaguid (22449): Failed write_ctrl(u 46) res=-1 errno=22
I/qtaguid (22449): Untagging socket 46 failed errno=-22
W/NetworkManagementSocketTagger(22449): untagSocket(46) failed with errno -22

In the other hand, like many other people in MVNO carriers, my data disconnections were very annoying and, finally, after comparing CM7 and CM10 radio logcats can't conclude anything relevant, but seems that Android 2.3.X and 4.X write very different logs when they are making a mobile connection (RIL). 2.3.X gives me a perfect connection, very quickly, and don't write a lot of stuff that 4.X does. Seems that many things have changed in 4.X. Anybody knows what are this changes?

Maybe it's impossible, but can we switch to old form? In CM7 all these data issues doesn't exist and I had a very stable connection. I was playing a bit with 2.3 libs (libhtc_ril.so, libril.so, or rild etc.) in 4.X and can't make it work properly. Seems that libhtc_ril.so it's the same in 2.3.X and 4.X, so the differences are into rild and libril.so. Anybody with more experience than me can help to understand this? Thanks in advance.

In my case, I was studying the logcats and conclude that RIL was trying to connect to my carrier in many types and sometimes when it lost the signal, can't be restored (in logcat I see a lot of messages from default, dun, supl, hipri, mms types). I have 2 APN: one for mobile data with default type only or default,supl and other for MMS. I read somewhere that my carrier support hipri, so I put default,hipri in APN and it seems that the data connectivity is a lot better and it doesn't go down so often. But it's only a 2-day long test...