com.android.phone crashes after ppp connects - General Questions and Answers

This is related to custom build of Android 5.1 and I have exhausted time on this and posted on a few Google groups but there is no activity on them.
I have a FriendlyArm NanoPC T3 Plus board and I wanted to add GSM to this as the stock image does not support it. I can build the image and done a few tweaks to get landscape mode etc. All that works.
No I added a SIM5320E modem and the SIMCOM RIL in binary format. After a bit of work with SELinux policies, I can get this to dial up PPP and make the connection and I can see this in the logcat. BUT, right after this com.android.phone crashes and pops up a message on the LCD. I click OK and it then repeats the process and crashes again. Below is the logcat capture of the connection and crash. It appears to be a file exception but I can't find digging through the code which file it might be.
I have disable SELinux in the kernel build to remove any issues with policies but get the same result.
java.lang.SecurityException: Package android does not belong to 1001 in the log output seems to be something to look into but all I can find is that 1001 belongs to the phone process.
Stuck on this for a few weeks now and getting nowhere so appreciate any pointers or if you have had a similar issue?
Code:
I//system/bin/pppd( 2924): pppd 2.4.3 started by root, uid 0
I/chat ( 2926): abort on (BUSY)
I/chat ( 2926): abort on (NO CARRIER)
I/chat ( 2926): abort on (ERROR)
I/chat ( 2926): abort on (+CME ERROR: 100)
I/chat ( 2926): timeout set to 8 seconds
I/chat ( 2926): send (ATE0Q0V1^M)
I/chat ( 2926): expect (OK)
I/chat ( 2926): ^M
I/chat ( 2926): OK
I/chat ( 2926): -- got it
I/chat ( 2926): send (ATD*99***1#^M)
I/chat ( 2926): expect (CONNECT)
I/chat ( 2926): ^M
I/chat ( 2926): ^M
I/chat ( 2926): CONNECT
I/chat ( 2926): -- got it
I/pppd ( 2924): Serial connection established.
D/pppd ( 2924): using channel 9
I/pppd ( 2924): Using interface ppp0
I/pppd ( 2924): Connect: ppp0 <--> /dev/ttyUSB3
D/pppd ( 2924): sent [LCP ConfReq id=0x1 <mru 1280> <asyncmap 0x0> <magic 0x59f9be6b> <pcomp> <accomp>]
D/pppd ( 2924): rcvd [LCP ConfReq id=0x10 <asyncmap 0x0> <auth chap MD5> <magic 0x332fad98> <pcomp> <accomp>]
D/pppd ( 2924): sent [LCP ConfAck id=0x10 <asyncmap 0x0> <auth chap MD5> <magic 0x332fad98> <pcomp> <accomp>]
D/pppd ( 2924): rcvd [LCP ConfAck id=0x1 <mru 1280> <asyncmap 0x0> <magic 0x59f9be6b> <pcomp> <accomp>]
D/pppd ( 2924): rcvd [LCP DiscReq id=0x11 magic=0x332fad98]
D/pppd ( 2924): rcvd [CHAP Challenge id=0x1 <c81669cbcc0c57607c5609f38a630dea>, name = "UMTS_CHAP_SRVR"]
D/pppd ( 2924): sent [CHAP Response id=0x1 <7b4baf8d89cc6dc0bac854ee8c6e86a0>, name = "wap"]
D/pppd ( 2924): rcvd [CHAP Success id=0x1 ""]
I/pppd ( 2924): CHAP authentication succeeded
D/pppd ( 2924): sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
D/pppd ( 2924): sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
D/pppd ( 2924): rcvd [LCP ProtRej id=0x12 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
D/pppd ( 2924): rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
D/pppd ( 2924): sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
D/pppd ( 2924): rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
D/pppd ( 2924): sent [IPCP ConfReq id=0x3 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
D/pppd ( 2924): rcvd [IPCP ConfNak id=0x3 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
D/pppd ( 2924): sent [IPCP ConfReq id=0x4 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
D/pppd ( 2924): rcvd [IPCP ConfNak id=0x4 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
D/pppd ( 2924): sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
D/pppd ( 2924): rcvd [IPCP ConfReq id=0x8]
D/pppd ( 2924): sent [IPCP ConfNak id=0x8 <addr 0.0.0.0>]
D/pppd ( 2924): rcvd [IPCP ConfRej id=0x5 <ms-dns3 10.11.12.14>]
D/pppd ( 2924): sent [IPCP ConfReq id=0x6 <addr 0.0.0.0> <ms-dns1 10.11.12.13>]
D/pppd ( 2924): rcvd [IPCP ConfReq id=0x9]
D/pppd ( 2924): sent [IPCP ConfAck id=0x9]
D/pppd ( 2924): rcvd [IPCP ConfNak id=0x6 <addr 10.11.240.107> <ms-dns1 192.168.39.28>]
D/pppd ( 2924): sent [IPCP ConfReq id=0x7 <addr 10.11.240.107> <ms-dns1 192.168.39.28>]
D/pppd ( 2924): rcvd [IPCP ConfAck id=0x7 <addr 10.11.240.107> <ms-dns1 192.168.39.28>]
W/pppd ( 2924): Could not determine remote IP address: defaulting to 10.64.64.64
I/pppd ( 2924): local IP address 10.11.240.107
I/pppd ( 2924): remote IP address 10.64.64.64
I/pppd ( 2924): primary DNS address 192.168.39.28
I/pppd ( 2924): secondary DNS address 10.11.12.14
D/TelephonyProvider( 2868): subIdString = 1 subId = 1
W/AppOps ( 416): Bad call: specified package android under uid 1001 but it is really 1000
D/TelephonyProvider( 2868): subIdString = 1 subId = 1
D/ConnectivityService( 416): setProvNotificationVisible: E visible=false networkType=0 action=com.android.internal.telephony.PROVISION0
E/AndroidRuntime( 2868): FATAL EXCEPTION: DcHandlerThread
E/AndroidRuntime( 2868): Process: com.android.phone, PID: 2868
E/AndroidRuntime( 2868): java.lang.SecurityException: Package android does not belong to 1001
E/AndroidRuntime( 2868): at android.os.Parcel.readException(Parcel.java:1546)
E/AndroidRuntime( 2868): at android.os.Parcel.readException(Parcel.java:1499)
E/AndroidRuntime( 2868): at android.net.IConnectivityManager$Stub$Proxy.registerNetworkAgent(IConnectivityManager.java:2030)
E/AndroidRuntime( 2868): at android.net.ConnectivityManager.registerNetworkAgent(ConnectivityManager.java:2001)
E/AndroidRuntime( 2868): at android.net.NetworkAgent.<init>(NetworkAgent.java:145)
E/AndroidRuntime( 2868): at com.android.internal.telephony.dataconnection.DataConnection$DcNetworkAgent.<init>(DataConnection.java:1958)
E/AndroidRuntime( 2868): at com.android.internal.telephony.dataconnection.DataConnection$DcActiveState.enter(DataConnection.java:1735)
E/AndroidRuntime( 2868): at com.android.internal.util.StateMachine$SmHandler.invokeEnterMethods(StateMachine.java:1008)
E/AndroidRuntime( 2868): at com.android.internal.util.StateMachine$SmHandler.performTransitions(StateMachine.java:854)
E/AndroidRuntime( 2868): at com.android.internal.util.StateMachine$SmHandler.handleMessage(StateMachine.java:800)
E/AndroidRuntime( 2868): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 2868): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 2868): at android.os.HandlerThread.run(HandlerThread.java:61)
D/ConnectivityService( 416): setProvNotificationVisibleIntent: E visible=false networkType=0 extraInfo=null
W/ActivityManager( 416): Process com.android.phone has crashed too many times: killing!
I/OpenGLRenderer( 416): Initialized EGL, version 1.4
E/[EGL-ERROR]( 416): EGLBoolean __egl_platform_create_surface_window(egl_surface*, mali_base_ctx_handle):933: =========> usage 0x900

OK. I have finally tracked this down and fixed it so that it can work but the issue that causes this is still in the code.
The fault is caused when NetworkMonitor handles the CAPTIVE_PORTAL_SERVER using the property ro.net.captive_server in setprop.
Code:
mServer = Settings.Global.getString(mContext.getContentResolver(),
Settings.Global.CAPTIVE_PORTAL_SERVER);
if (mServer == null) {
mServer = SystemProperties.get("ro.net.captive_server");
if (mServer == null || mServer.length() == 0) {
mServer = DEFAULT_SERVER;
} else {
Settings.Global.putString(mContext.getContentResolver(),
Settings.Global.CAPTIVE_PORTAL_SERVER, mServer);
}
}
By commenting out the ro.net.captive_portal in the setprop file, the connection now uses the default server for connection checking.
The fault lies in the line where Settings.Global.putString is called. This causes an exception. Why? I do not yet know.
By removing the property, the PPP connection now works 100%

Related

help with HTCerror code

Hi,
I'm trying to get a G1 dev phone working on a Virgin sim card in Australia. The sim card works fine in another unlocked usb modem (ZTE MF626), but won't connect to the APN when in the G1. Also, I have a sim from another (but more expensive) network provider working ok in the G1. I'm out of ideas so I thought I would ask here.
I get the following logs from adb logcat -b radio. Anyone know what HTCerror 3, 1D means?
D/GSM ( 92): [DataConnectionTracker] ***trySetupData due to (unspecified)
D/GSM ( 92): [DataConnectionTracker] Create from allApns : [Virgin, VirginBroadband, , , , , , *]
D/GSM ( 92): [DataConnectionTracker] Setup watingApns : [Virgin, VirginBroadband, , , , , , *]
D/GSM ( 92): [PdpConnection] Connecting to carrier: 'Virgin' APN: 'VirginBroadband' proxy: '' port: '
D/RILJ ( 92): [0116]> SETUP_DEFAULT_PDP VirginBroadband
D/HTC_RIL ( 29): ril_func_config_and_activate_pdp():called
D/HTC_RIL ( 29): ril_func_config_and_activate_pdp():15,VirginBroadband
D/HTC_RIL ( 29): @(t=1230210362)>> 12:up:VirginBroadband
D/HTC_RIL ( 29): (t=1230210363)XX +HTCerror: 3,1D
D/RILJ ( 92): WAKE_LOCK_TIMEOUT mReqPending=0 mRequestList=1
D/RILJ ( 92): 0: [116] SETUP_DEFAULT_PDP
I/HTC_RIL ( 29): queue_get():<read_str_q> timeout (10000 msec) to get!
D/HTC_RIL ( 29): qmi_send_recv_procedure():QMI timeout (up:VirginBroadband ) 1 time(s)
D/RILJ ( 92): [0116]< SETUP_DEFAULT_PDP error: com.android.internal.telephony.gsm.CommandException: GENERIC_FAILURE
E/GSM ( 92): PDP Context Init failed com.android.internal.telephony.gsm.CommandException: GENERIC_FAILURE
D/RILJ ( 92): [0117]> LAST_PDP_FAIL_CAUSE
D/HTC_RIL ( 29): ril_func_get_last_pdp_fail_cause():called
D/HTC_RIL ( 29): @(t=1230210372)>> 12oll
D/HTC_RIL ( 29): @(t=1230210372)< 12:STATE=down
D/HTC_RIL ( 29): CID=1
D/HTC_RIL ( 29): 0
D/HTC_RIL ( 29):
D/HTC_RIL ( 29): @(t=1230210372)%% STATE=down
D/HTC_RIL ( 29): CID=1
D/HTC_RIL ( 29):
D/HTC_RIL ( 29): @(t=1230210372)<< 0
D/HTC_RIL ( 29):
D/RILJ ( 92): [0117]< LAST_PDP_FAIL_CAUSE {65535}
D/GSM ( 92): [PdpConnection] Notify PDP fail at 1230210372261 due to unknown data error
D/GSM ( 92): [DataConnectionTracker] PDP setup failed unknown data error
D/GSM ( 92): PDP activate failed. Scheduling next attempt for 1280s
D/GSM ( 92): NOT Posting GPRS Unavailable notification -- likely transient error
Click to expand...
Click to collapse

[Q] 3G USB Modem (E1750) connection problem on tablet

Hi!
I have an Android 2.1 tablet model MID-7CS, and I have the following problem. It's compatible with the Huawei USB 3G stick. When I connect the stick to the USB port and make the 3G enable in settings it connects to network (I can see the signal bars and when I enter the APN I can see the 3G logo as well) but no data transfer. I open the browser or email client it cannot make any connection.
I used NE Debugger to see what could happen and seems like after authentication the modem hangup immediately?? I copy the log here:
Any suggestion?
Board: tcc8900_evm
Brand: telechips
Device: tcc8900
Build ID: MID-7CS 20110302 1299077295
Model: MID-7CS
Product: MID-7CS
Tags: test-keys
Release: 2.1-update1
SDK: 7
D/vold ( 825): MINOR=4
D/vold ( 825): No uevent handlers registered for 'usb_endpoint' subsystem
D/vold ( 825): [UEVENT] Sq: 979 S: usb_endpoint A: 0 P: /devices/platform/dwc_otg.0/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.5_ep82
D/vold ( 825): DEVPATH=/devices/platform/dwc_otg.0/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.5_ep82
D/vold ( 825): MAJOR=251
D/vold ( 825): MINOR=5
D/vold ( 825): No uevent handlers registered for 'usb_endpoint' subsystem
D/vold ( 825): [UEVENT] Sq: 980 S: usb_endpoint A: 0 P: /devices/platform/dwc_otg.0/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.5_ep01
D/vold ( 825): DEVPATH=/devices/platform/dwc_otg.0/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.5_ep01
D/vold ( 825): MAJOR=251
D/vold ( 825): MINOR=6
D/vold ( 825): No uevent handlers registered for 'usb_endpoint' subsystem
D/vold ( 825): [UEVENT] Sq: 981 S: usb A: 0 P: /devices/platform/dwc_otg.0/usb2/2-1/2-1:1.1
D/vold ( 825): DEVPATH=/devices/platform/dwc_otg.0/usb2/2-1/2-1:1.1
D/vold ( 825): DEVTYPE=usb_interface
D/vold ( 825): DEVICE=/proc/bus/usb/002/005
D/vold ( 825): PRODUCT=12d1/1003/0
D/vold ( 825): TYPE=0/0/0
D/vold ( 825): INTERFACE=255/255/255
D/vold ( 825): MODALIAS=usb:v12D1p1003d0000dc00dsc00dp00icFFiscFFipFF
D/vold ( 825): No uevent handlers registered for 'usb' subsystem
D/vold ( 825): [UEVENT] Sq: 982 S: usb-serial A: 0 P: /devices/platform/dwc_otg.0/usb2/2-1/2-1:1.1/ttyUSB1
D/vold ( 825): DEVPATH=/devices/platform/dwc_otg.0/usb2/2-1/2-1:1.1/ttyUSB1
D/vold ( 825): No uevent handlers registered for 'usb-serial' subsystem
D/vold ( 825): [UEVENT] Sq: 983 S: tty A: 0 P: /devices/platform/dwc_otg.0/usb2/2-1/2-1:1.1/ttyUSB1/tty/ttyUSB1
D/vold ( 825): DEVPATH=/devices/platform/dwc_otg.0/usb2/2-1/2-1:1.1/ttyUSB1/tty/ttyUSB1
D/vold ( 825): MAJOR=188
D/vold ( 825): MINOR=1
D/vold ( 825): No uevent handlers registered for 'tty' subsystem
D/vold ( 825): [UEVENT] Sq: 984 S: usb_endpoint A: 0 P: /devices/platform/dwc_otg.0/usb2/2-1/2-1:1.1/usb_endpoint/usbdev2.5_ep83
D/vold ( 825): DEVPATH=/devices/platform/dwc_otg.0/usb2/2-1/2-1:1.1/usb_endpoint/usbdev2.5_ep83
D/vold ( 825): MAJOR=251
D/vold ( 825): MINOR=7
D/vold ( 825): No uevent handlers registered for 'usb_endpoint' subsystem
D/vold ( 825): [UEVENT] Sq: 985 S: usb_endpoint A: 0 P: /devices/platform/dwc_otg.0/usb2/2-1/2-1:1.1/usb_endpoint/usbdev2.5_ep02
D/vold ( 825): DEVPATH=/devices/platform/dwc_otg.0/usb2/2-1/2-1:1.1/usb_endpoint/usbdev2.5_ep02
D/vold ( 825): MAJOR=251
D/vold ( 825): MINOR=8
D/vold ( 825): No uevent handlers registered for 'usb_endpoint' subsystem
D/vold ( 825): [UEVENT] Sq: 986 S: usb A: 0 P: /devices/platform/dwc_otg.0/usb2/2-1/2-1:1.2
D/vold ( 825): DEVPATH=/devices/platform/dwc_otg.0/usb2/2-1/2-1:1.2
D/vold ( 825): DEVTYPE=usb_interface
D/vold ( 825): DEVICE=/proc/bus/usb/002/005
D/vold ( 825): PRODUCT=12d1/1003/0
D/vold ( 825): TYPE=0/0/0
D/vold ( 825): INTERFACE=8/6/80
D/vold ( 825): MODALIAS=usb:v12D1p1003d0000dc00dsc00dp00ic08isc06ip50
D/vold ( 825): No uevent handlers registered for 'usb' subsystem
D/vold ( 825): [UEVENT] Sq: 987 S: usb_endpoint A: 0 P: /devices/platform/dwc_otg.0/usb2/2-1/2-1:1.2/usb_endpoint/usbdev2.5_ep84
D/vold ( 825): DEVPATH=/devices/platform/dwc_otg.0/usb2/2-1/2-1:1.2/usb_endpoint/usbdev2.5_ep84
D/vold ( 825): MAJOR=251
D/vold ( 825): MINOR=9
D/vold ( 825): No uevent handlers registered for 'usb_endpoint' subsystem
D/vold ( 825): [UEVENT] Sq: 988 S: usb_endpoint A: 0 P: /devices/platform/dwc_otg.0/usb2/2-1/2-1:1.2/usb_endpoint/usbdev2.5_ep03
D/vold ( 825): DEVPATH=/devices/platform/dwc_otg.0/usb2/2-1/2-1:1.2/usb_endpoint/usbdev2.5_ep03
D/vold ( 825): MAJOR=251
D/vold ( 825): MINOR=10
D/vold ( 825): No uevent handlers registered for 'usb_endpoint' subsystem
D/vold ( 825): [UEVENT] Sq: 989 S: usb A: 0 P: /devices/platform/dwc_otg.0/usb2/2-1/2-1:1.3
D/vold ( 825): DEVPATH=/devices/platform/dwc_otg.0/usb2/2-1/2-1:1.3
D/vold ( 825): DEVTYPE=usb_interface
D/vold ( 825): DEVICE=/proc/bus/usb/002/005
D/vold ( 825): PRODUCT=12d1/1003/0
D/vold ( 825): TYPE=0/0/0
D/vold ( 825): INTERFACE=8/6/80
D/vold ( 825): MODALIAS=usb:v12D1p1003d0000dc00dsc00dp00ic08isc06ip50
D/vold ( 825): No uevent handlers registered for 'usb' subsystem
D/vold ( 825): [UEVENT] Sq: 990 S: usb_endpoint A: 0 P: /devices/platform/dwc_otg.0/usb2/2-1/2-1:1.3/usb_endpoint/usbdev2.5_ep04
D/vold ( 825): DEVPATH=/devices/platform/dwc_otg.0/usb2/2-1/2-1:1.3/usb_endpoint/usbdev2.5_ep04
D/vold ( 825): MAJOR=251
D/vold ( 825): MINOR=11
D/vold ( 825): No uevent handlers registered for 'usb_endpoint' subsystem
D/vold ( 825): [UEVENT] Sq: 991 S: usb_endpoint A: 0 P: /devices/platform/dwc_otg.0/usb2/2-1/2-1:1.3/usb_endpoint/usbdev2.5_ep85
D/vold ( 825): DEVPATH=/devices/platform/dwc_otg.0/usb2/2-1/2-1:1.3/usb_endpoint/usbdev2.5_ep85
D/vold ( 825): MAJOR=251
D/vold ( 825): MINOR=12
D/vold ( 825): No uevent handlers registered for 'usb_endpoint' subsystem
D/vold ( 825): [UEVENT] Sq: 992 S: usb_device A: 0 P: /devices/platform/dwc_otg.0/usb2/2-1/usb_device/usbdev2.5
D/vold ( 825): DEVPATH=/devices/platform/dwc_otg.0/usb2/2-1/usb_device/usbdev2.5
D/vold ( 825): MAJOR=189
D/vold ( 825): MINOR=132
D/vold ( 825): No uevent handlers registered for 'usb_device' subsystem
D/vold ( 825): [UEVENT] Sq: 993 S: usb_endpoint A: 0 P: /devices/platform/dwc_otg.0/usb2/2-1/usb_endpoint/usbdev2.5_ep00
D/vold ( 825): DEVPATH=/devices/platform/dwc_otg.0/usb2/2-1/usb_endpoint/usbdev2.5_ep00
D/vold ( 825): MAJOR=251
D/vold ( 825): MINOR=13
D/vold ( 825): No uevent handlers registered for 'usb_endpoint' subsystem
I/ActivityManager( 900): Start proc com.android.vending for broadcast com.android.vending/.DeviceConfigurationReceiver: pid=1745 uid=10027 gids={3003}
D/MccTable( 956): updateMccMncConfiguration: mcc=216, mnc=30
D/MccTable( 956): locale set to null_hu
D/NetworkLocationProvider( 900): onCellLocationChanged [1200,35251]
D/TelephonyProvider( 956): Setting numeric '21630' to be the current operator
I/WindowManager( 900): Setting rotation to 0, animFlags=0
I/ActivityManager( 900): Config changed: { scale=1.0 imsi=216/30 loc=en_US touch=3 keys=1/1/2 nav=1/1 orien=2 layout=268435490}
I/ASK_KF ( 1151): Creating keyboards. I have 7 creators
I/UsageStats( 900): Unexpected resume of com.android.settings while already resumed in com.android.settings
D/G3ModeEnabler( 1493): ------------------------datastate changed ---------------------------1
D/G3ModeEnabler( 1493): ------------------------datastate changed ---------------------------1
D/G3ModeEnabler( 1493): ------------------------datastate changed ---------------------------1
D/G3ModeEnabler( 1493): ------------------------datastate changed ---------------------------1
D/SettingsWifiEnabler( 1493): Received wifi state changed from Disabling to Disabled
I/ActivityThread( 1745): Publishing provider com.android.vending.SuggestionsProvider: com.android.vending.SuggestionsProvider
D/NetworkLocationProvider( 900): onDataConnectionStateChanged 3
D/MobileDataStateTracker( 900): default Received state= CONNECTING, old= DISCONNECTED, reason= simLoaded, apnTypeList= *
D/NetworkStateTracker( 900): setDetailed state, old =DISCONNECTED and new state=CONNECTING
D/ConnectivityService( 900): ConnectivityChange for MOBILE: CONNECTING/CONNECTING
D/vending ( 1745): [1] VendingApplication.onCreate(): Resetting ServiceLocator from app
I/WindowManager( 900): Setting rotation to 3, animFlags=0
I/ActivityManager( 900): Config changed: { scale=1.0 imsi=216/30 loc=en_US touch=3 keys=1/1/2 nav=1/1 orien=1 layout=268435490}
I/UsageStats( 900): Unexpected resume of com.android.settings while already resumed in com.android.settings
I/ASK_KF ( 1151): Creating keyboards. I have 7 creators
D/vending ( 1745): [9] 1.run(): Clearing cache in response to android.intent.action.SIM_STATE_CHANGED
D/vending ( 1745): [10] 1.run(): Clearing cache in response to android.intent.action.SIM_STATE_CHANGED
D/vending ( 1745): [11] 1.run(): Clearing cache in response to android.intent.action.SIM_STATE_CHANGED
D/G3ModeEnabler( 1493): ------------------------datastate changed ---------------------------1
D/SettingsWifiEnabler( 1493): Received wifi state changed from Disabling to Disabled
I/pppd ( 1758): Serial connection established.
D/pppd ( 1758): using channel 3
D/vold ( 825): [UEVENT] Sq: 994 S: net A: 0 P: /devices/virtual/net/ppp0
D/vold ( 825): DEVPATH=/devices/virtual/net/ppp0
D/vold ( 825): INTERFACE=ppp0
D/vold ( 825): IFINDEX=6
D/vold ( 825): No uevent handlers registered for 'net' subsystem
I/pppd ( 1758): Using interface ppp0
I/pppd ( 1758): Connect: ppp0 <--> /dev/ttyUSB0
D/G3ModeEnabler( 1493): ------------------------datastate changed ---------------------------2
D/G3ModeEnabler( 1493): ------------------------datastate changed ---------------------------2
D/G3ModeEnabler( 1493): ------------------------datastate changed ---------------------------2
D/NetworkLocationProvider( 900): onDataConnectionStateChanged 3
D/G3ModeEnabler( 1493): ------------------------datastate changed ---------------------------2
D/G3ModeEnabler( 1493): ------------------------datastate changed ---------------------------2
D/MobileDataStateTracker( 900): default Received state= CONNECTED, old= CONNECTING, reason= simLoaded, apnTypeList= *
D/NetworkStateTracker( 900): setDetailed state, old =CONNECTING and new state=CONNECTED
D/ConnectivityService( 900): ConnectivityChange for MOBILE: CONNECTED/CONNECTED
D/MobileDataStateTracker( 900): replacing old mInterfaceName (gprs) with gprs for mms
D/MobileDataStateTracker( 900): replacing old mInterfaceName (gprs) with gprs for supl
D/MobileDataStateTracker( 900): replacing old mInterfaceName (gprs) with gprs for dun
D/MobileDataStateTracker( 900): replacing old mInterfaceName (gprs) with gprs for hipri
D/ConnectivityService( 900): erasing net.dns1
D/GpsLocationProvider( 900): updateNetworkState available info: NetworkInfo: type: MOBILE[UMTS], state: CONNECTED/CONNECTED, reason: simLoaded, extra: internet, roaming: false, failover: false, isAvailable: true
D/GpsLocationProvider( 900): NetworkThread wait for 9223372036854775807ms
I/MediaUploader( 1539): No need to wake up
D/pppd ( 1758): sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8ea85936> <pcomp> <accomp>]
D/pppd ( 1758): rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0xf50f8e> <pcomp> <accomp>]
D/pppd ( 1758): sent [LCP ConfAck id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0xf50f8e> <pcomp> <accomp>]
D/pppd ( 1758): rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x8ea85936> <pcomp> <accomp>]
D/pppd ( 1758): rcvd [LCP DiscReq id=0x1 magic=0xf50f8e]
D/pppd ( 1758): rcvd [CHAP Challenge id=0x1 <d278847ee263182b88a0454edc682ebd>, name = "UMTS_CHAP_SRVR"]
D/pppd ( 1758): sent [CHAP Response id=0x1 <82410fe241475112f2ef3fbd17e97688>, name = "any"]
D/pppd ( 1758): rcvd [CHAP Success id=0x1 ""]
I/pppd ( 1758): CHAP authentication succeeded
D/pppd ( 1758): sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
D/pppd ( 1758): sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
D/pppd ( 1758): rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
D/pppd ( 1758): rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
D/pppd ( 1758): sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
D/pppd ( 1758): rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
D/pppd ( 1758): sent [IPCP ConfReq id=0x3 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
I/pppd ( 1758): Modem hangup
I/pppd ( 1758): Connection terminated.
D/vold ( 825): [UEVENT] Sq: 995 S: net A: 1 P: /devices/virtual/net/ppp0
D/vold ( 825): DEVPATH=/devices/virtual/net/ppp0
D/vold ( 825): INTERFACE=ppp0
D/vold ( 825): IFINDEX=6
D/vold ( 825): No uevent handlers registered for 'net' subsystem
I/ActivityManager( 900): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.android.launcher/.Launcher }
I/ASK ( 1151): onUnbindInput
I/ActivityManager( 900): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.browser/.BrowserActivity bnds=[265,653][340,733] }
I/ActivityManager( 900): Start proc com.android.browser for activity com.android.browser/.BrowserActivity: pid=1773 uid=10012 gids={3003, 1015}
I/ActivityThread( 1773): Publishing provider browser: com.android.browser.BrowserProvider

OnePlus One (OxygenOS ) No GSM Signal

No network signal - how to know is gsm Radio dead in hardware or it is software issue
I have OnePlus One with OxygenOS now, but gsm wasn't working under CM12 either, so I clean installed Oxygen and it didn't resolve issue.
In log I have :
D/RILJ ( 1523): [3904]> QUERY_AVAILABLE_NETWORKS [SUB0]
D/RILC ( 250): SOCKET RIL_SOCKET_1 REQUEST: QUERY_AVAILABLE_NETWORKS length
:8
D/RILC ( 250): RequestComplete, RIL_SOCKET_1
E/RILC ( 250): Send Response to RIL_SOCKET_1
D/RilRequest( 1523): [3904]< QUERY_AVAILABLE_NETWORKS error: com.android.intern
al.telephony.CommandException: GENERIC_FAILURE ret=
*********************
D/NetworkSetting( 1523): EVENT_NETWORK_DATA_MANAGER_DONE: 1
V/QC_RIL_OEM_HOOK( 1523): sendRilOemHookMsg: Outgoing Data is 514f454d484f4f4b1200080000000000
D/QcrilMsgTunnelIfaceManager( 2776): handleMessage what = 1
D/QcrilMsgTunnelSocket( 2776): [1000] > OEM_HOOK_RAW[514f454d484f4f4b1200080000000000]
D/PowerManagerService( 833): acquireWakeLockInternal: lock=562127469, flags=0x1, tag="QcrilMsgTunnelSocket", ws=null, uid=1001, pid=2776
D/QcrilMsgTunnelSocket( 2776): readRilMessage: Buffer = [[email protected] HexData = [00000000e803000002000000ffffffff]
D/QcrilMsgTunnelSocket( 2776): Rcvd SOLICITED response with 12 bytes data for SUB0
D/QcRilRequest( 2776): [1000] < OEM_HOOK_RAW error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
I also have this when trying to click "TURN RADIO ON" in service menu (*#*#4636#*#*) :
D/GsmSST ( 1523): [GsmSST] mDeviceShuttingDown = false
D/GsmSST ( 1523): [GsmSST] mDesiredPowerState = true
D/GsmSST ( 1523): [GsmSST] getRadioState = RADIO_OFF
D/GsmSST ( 1523): [GsmSST] mPowerOffDelayNeed = true
D/GsmSST ( 1523): [GsmSST] mAlarmSwitch = false
D/RILJ ( 1523): [4127]> RADIO_POWER on [SUB0]
D/RILC ( 250): SOCKET RIL_SOCKET_1 REQUEST: RADIO_POWER length:16
D/RILC ( 250): RequestComplete, RIL_SOCKET_1
E/RILC ( 250): Send Response to RIL_SOCKET_1
D/RilRequest( 1523): [4127]< RADIO_POWER error: com.android.internal.telephony.C
ommandException: GENERIC_FAILURE ret=

OwnROM 5.1.1_r9 osprey crash when making or receiving phone calls (Aug 19 build)

(Apologies if this is a duplicate, search for "phone call reboot" is a bit too generic)
Greetings.
Summary:
- Making or Receiving phone calls causes hard reboot.
Additional Info:
I flashed the MotoG3 2015 with the OwnROM August 19, 2015 ROM build and installed OwnROM GAPPS (and SuperSU, etc) using TWRP.
ro.modversion = OwnROM-osprey-1.0-UNOFFICIAL-20150819
http://forum.xda-developers.com/2015-moto-g/development/rom-ownrom-5-1-1r9-moto-g3-osprey-t3181556
The OwnROM osprey ROM install went smoothly.
I believe this build includes squid2's wifi fixes beta branch.
Wifi and Mobile Data work just fine.
Unfortunately, phone calls do not. (sort of an important feature on a phone)
Attached below is a logcat of the crash as well as some device system info.
Let me know if require any additional information to help get it fixed.
Side note: This is not my first mod ROM flash. Previously used prebuilt ROMS on Nex7 and HTC EVO 3D. And built CM from source for Nex4 - although didn't tinker with it much. All I'm saying is I'm more than happy to dig in and help poke the source to trace the problem.
~~
Build info:
[ro.build.characteristics]: [default]
[ro.build.date.utc]: [1440007221]
[ro.build.date]: [mercredi 19 août 2015, 20:00:21 (UTC+0200)]
[ro.build.description]: [osprey_retus-user 5.1.1 LPI23.72-16.3 3 release-keys]
[ro.build.display.id]: [LMY48I]
[ro.build.fingerprint]: [motorola/osprey_retus/osprey_umts:5.1.1/LPI23.72-16.3/3:user/release-keys]
[ro.build.flavor]: [ownrom_osprey-userdebug]
[ro.build.host]: [cute-loli]
[ro.build.id]: [LMY48I]
[ro.build.product]: [osprey_umts]
[ro.build.selinux]: [1]
[ro.build.tags]: [test-keys]
[ro.build.type]: [userdebug]
[ro.build.user]: [mazda]
[ro.build.version.all_codenames]: [REL]
[ro.build.version.codename]: [REL]
[ro.build.version.incremental]: [f4697fa0ac]
[ro.build.version.release]: [5.1.1]
[ro.build.version.sdk]: [22]​
~~
Logcat excerpt:
E/MDM ( 5820): [194] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}
D/LocSvc_NiH( 4423): OutgoingCallReceiver :: onReceive
D/LocSvc_NiH( 4423): bundle != null
I/Telecom ( 4423): CallsManager: Creating a new outgoing call with handle: ***********
D/LocationInitializer( 5880): Restart initialization of location
I/InCall ( 8822): CallList - onUpdate - [Call_0, CONNECTING, [Capabilities:], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettingsCameraDir:-1)]
D/AccelerometerListener( 8822): enable(false)
I/InCall ( 8822): InCallPresenter - Phone switching state: PENDING_OUTGOING -> PENDING_OUTGOING
I/Telecom ( 4423): CallsManager: updateLchStatus subInConversation: 1
I/Telecom ( 4423): CreateConnectionProcessor: Trying attempt CallAttemptRecord(ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [356a192b7913b04c54574d18c28d46e6395428ab], UserHandle{0},ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [356a192b7913b04c54574d18c28d46e6395428ab], UserHandle{0})
I/Telecom ( 4423): CreateConnectionProcessor: Attempting to call from ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}
I/Telecom ( 4423): ServiceBinderConnection: Service bound ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}
I/Telephony( 5319): TelephonyConnectionService: onCreateOutgoingConnection, request: ConnectionRequest xxxxxxxxxxxxxxx Bundle[mParcelledData.dataSize=96]
D/Telephony( 5319): TelephonyConnectionService: placeOutgoingConnection isAddParticipant = false
D/audio_hw_extn( 4345): audio_extn_get_parameters: returns
I/str_params( 4345): key: 'all_call_states' value: ''
D/audio_hw_extn( 4345): audio_extn_get_parameters: returns
I/str_params( 4345): key: 'all_call_states' value: ''
D/audio_hw_extn( 4345): audio_extn_get_parameters: returns
I/str_params( 4345): key: 'all_call_states' value: ''
D/audio_hw_primary( 4345): adev_set_parameters: enter: vsid=281022464;call_state=1
D/voice_extn( 4345): update_call_states is_call_active:1 in_call:1, mode:2
D/voice_extn( 4345): update_calls: enter:
D/voice_extn( 4345): update_calls: cur_state=2 new_state=1 vsid=10c01000
D/voice_extn( 4345): update_calls: ACTIVE/HOLD/LOCAL_HOLD -> INACTIVE vsid:10c01000
D/voice ( 4345): voice_stop_usecase: enter usecase:voice-call
D/Telephony( 5319): TelephonyConnectionService: Adding GSM connection to conference controller: [TelephonyConnection objId:56562108 type:gsm state:STATE_DIALING capabilities:[Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE] address:[675aa62b2044da4dbe24de64d16385340f9c2a43] originalConnection: incoming: false state: DIALING post dial state: NOT_STARTED partOfConf:N]
D/Telephony( 5319): TelephonyConferenceController: Recalculate conference calls null [].
D/Telephony( 5319): TelephonyConferenceController: Found a match for all connections in connection servicefalse
D/Telephony( 5319): TelephonyConferenceController: not enough connections to be a conference!
D/Telephony( 5319): TelephonyConferenceController: recalc - 3 [TelephonyConnection objId:56562108 type:gsm state:STATE_DIALING capabilities:[Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE] address:[675aa62b2044da4dbe24de64d16385340f9c2a43] originalConnection: incoming: false state: DIALING post dial state: NOT_STARTED partOfConf:N]
I/InCall ( 8822): CallList - onUpdate - [Call_0, CONNECTING, [Capabilities:], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettingsCameraDir:-1)]
D/AccelerometerListener( 8822): enable(false)
I/InCall ( 8822): InCallPresenter - Phone switching state: PENDING_OUTGOING -> PENDING_OUTGOING
D/hardware_info( 4345): hw_info_append_hw_type : device_name = voice-handset
D/hardware_info( 4345): hw_info_append_hw_type : device_name = handset-mic
I/InCall ( 8822): CallList - onUpdate - [Call_0, CONNECTING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettingsCameraDir:-1)]
D/AccelerometerListener( 8822): enable(false)
I/InCall ( 8822): InCallPresenter - Phone switching state: PENDING_OUTGOING -> PENDING_OUTGOING
D/voice ( 4345): voice_stop_usecase: exit: status(0)
D/voice_extn( 4345): update_calls: cur_state=1 new_state=1 vsid=10dc1000
D/voice_extn( 4345): update_calls: cur_state=1 new_state=1 vsid=10c02000
D/voice_extn( 4345): update_calls: cur_state=1 new_state=1 vsid=10803000
D/voice_extn( 4345): update_calls: cur_state=1 new_state=1 vsid=10002000
I/InCall ( 8822): CallList - onUpdate - [Call_0, CONNECTING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettingsCameraDir:-1)]
D/AccelerometerListener( 8822): enable(false)
I/InCall ( 8822): InCallPresenter - Phone switching state: PENDING_OUTGOING -> PENDING_OUTGOING
I/InCall ( 8822): CallList - onUpdate - [Call_0, CONNECTING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettingsCameraDir:-1)]
D/AccelerometerListener( 8822): enable(false)
I/InCall ( 8822): InCallPresenter - Phone switching state: PENDING_OUTGOING -> PENDING_OUTGOING
I/Telecom ( 4423): CallAudioManager: updateAudioStreamAndMode, mIsRinging: false, mIsTonePlaying: false
I/Telecom ( 4423): CallAudioManager: requestAudioFocusAndSetMode, stream: 0 -> 0, mode: 2
D/audio_hw_extn( 4345): audio_extn_get_parameters: returns
I/str_params( 4345): key: 'all_call_states' value: ''
D/audio_hw_extn( 4345): audio_extn_get_parameters: returns
I/str_params( 4345): key: 'all_call_states' value: ''
I/InCall ( 8822): CallList - onUpdate - [Call_0, CONNECTING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettingsCameraDir:-1)]
D/AccelerometerListener( 8822): enable(false)
I/InCall ( 8822): InCallPresenter - Phone switching state: PENDING_OUTGOING -> PENDING_OUTGOING
D/audio_hw_extn( 4345): audio_extn_get_parameters: returns
I/str_params( 4345): key: 'all_call_states' value: ''
I/Telecom ( 4423): CallsManager: setCallState CONNECTING -> DIALING, call: [577472097, CONNECTING, com.android.phone/com.android.services.telephony.TelephonyConnectionService, ***********, 0, childs(0), has_parent(false), [[Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE]], false, ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [356a192b7913b04c54574d18c28d46e6395428ab], UserHandle{0} 0]
I/InCall ( 8822): CallList - onUpdate - [Call_0, CONNECTING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettingsCameraDir:-1)]
D/AccelerometerListener( 8822): enable(false)
I/InCall ( 8822): InCallPresenter - Phone switching state: PENDING_OUTGOING -> PENDING_OUTGOING
D/audio_hw_primary( 4345): adev_set_parameters: enter: vsid=281022464;call_state=2
D/voice_extn( 4345): update_call_states is_call_active:0 in_call:1, mode:2
D/voice_extn( 4345): update_calls: enter:
D/voice_extn( 4345): update_calls: cur_state=1 new_state=2 vsid=10c01000
D/voice_extn( 4345): update_calls: INACTIVE -> ACTIVE vsid:10c01000
D/voice ( 4345): voice_start_usecase: enter usecase:voice-call
D/audio_hw_primary( 4345): select_devices: out_snd_device(6: voice-handset) in_snd_device(27: handset-mic)
W/msm8916_platform( 4345): Codec backend bitwidth 16, samplerate 48000
W/msm8916_platform( 4345): platform_check_codec_backend_cfg:Use default bw and sr for voice/voip calls
D/hardware_info( 4345): hw_info_append_hw_type : device_name = voice-handset
D/hardware_info( 4345): hw_info_append_hw_type : device_name = handset-mic
I/Telecom ( 4423): PhoneStateBroadcaster: Broadcasted state change: 2
E/ACDB-LOADER( 4345): Error: ACDB AFE returned = -19
E/ACDB-LOADER( 4345): Error: ACDB AFE returned = -19
E/ACDB-LOADER( 4345): Error: ACDB AANC returned = -19
D/audio_hw_primary( 4345): select_devices: done
D/voice ( 4345): voice_config.rate 8000
I/Telecom ( 4423): CallAudioManager: updateAudioStreamAndMode, mIsRinging: false, mIsTonePlaying: false
I/InCall ( 8822): CallList - onUpdate - [Call_0, DIALING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettingsCameraDir:-1)]
I/InCall ( 8822): InCallPresenter - Start in call UI
I/InCall ( 8822): InCallPresenter - Showing InCallActivity immediately
I/Timeline( 8822): Timeline: Activity_launch_request id:com.android.dialer time:30333383
I/ActivityManager( 4423): START u0 {act=android.intent.action.MAIN flg=0x10840000 cmp=com.android.dialer/com.android.incallui.InCallActivity (has extras)} from uid 10006 on display 0
I/Telecom ( 4423): CallAudioManager: requestAudioFocusAndSetMode, stream: 0 -> 0, mode: 2
I/Telecom ( 4423): CallsManager: entered manageMSimInCallTones
V/WindowManager( 4423): addAppToken: AppWindowToken{1744b4be token=Token{3dcb5f79 ActivityRecord{ac96440 u0 com.android.dialer/com.android.incallui.InCallActivity t50}}} to stack=1 task=50 at 0
I/Telecom ( 4423): CallsManager: setCallState DIALING -> DIALING, call: [577472097, DIALING, com.android.phone/com.android.services.telephony.TelephonyConnectionService, ***********, 0, childs(0), has_parent(false), [[Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE]], false, ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [356a192b7913b04c54574d18c28d46e6395428ab], UserHandle{0} 0]
I/Telecom ( 4423): CallsManager: entered manageMSimInCallTones
I/Telecom ( 4423): CallsManager: setActiveSubscription = 1
D/AccelerometerListener( 8822): enable(false)
I/InCall ( 8822): InCallPresenter - Phone switching state: PENDING_OUTGOING -> OUTGOING
D/AccelerometerListener( 8822): enable(true)
I/InCall ( 8822): ProximitySensor - ProximitySensor{keybrd=0, dpad=0, offhook=1, hor=0, ui=0, aud=EARPIECE}
I/Telecom ( 4423): ProximitySensorManager: Acquiring proximity wake lock
I/InCall ( 8822): CallList - onUpdate - [Call_0, DIALING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettingsCameraDir:-1)]
D/AccelerometerListener( 8822): enable(false)
I/InCall ( 8822): InCallPresenter - Phone switching state: OUTGOING -> OUTGOING
I/InCall ( 8822): CallList - onUpdate - [Call_0, DIALING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettingsCameraDir:-1)]
D/AccelerometerListener( 8822): enable(false)
I/InCall ( 8822): InCallPresenter - Phone switching state: OUTGOING -> OUTGOING
D/AndroidRuntime( 4423): Shutting down VM
--------- beginning of crash
E/AndroidRuntime( 4423): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 4423): java.lang.NullPointerException: Attempt to invoke interface method 'int cyanogenmod.hardware.ICMHardwareService.getSupportedFeatures()' on a null object reference
E/AndroidRuntime( 4423): at cyanogenmod.hardware.CMHardwareManager.getSupportedFeatures(CMHardwareManager.java:169)
E/AndroidRuntime( 4423): at cyanogenmod.hardware.CMHardwareManager.isSupported(CMHardwareManager.java:183)
E/AndroidRuntime( 4423): at com.android.server.telecom.ProximitySensorManager.turnOn(ProximitySensorManager.java:70)
E/AndroidRuntime( 4423): at com.android.server.telecom.CallsManager.turnOnProximitySensor(CallsManager.java:986)
E/AndroidRuntime( 4423): at com.android.server.telecom.InCallAdapter$InCallAdapterHandler.handleMessage(InCallAdapter.java:182)
E/AndroidRuntime( 4423): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 4423): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 4423): at com.android.server.SystemServer.run(SystemServer.java:298)
E/AndroidRuntime( 4423): at com.android.server.SystemServer.main(SystemServer.java:186)
E/AndroidRuntime( 4423): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 4423): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 4423): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
E/AndroidRuntime( 4423): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
E/MotoSensors( 4423): Proximity uncovered
D/voice ( 4345): voice_start_usecase: exit: status(0)
D/voice_extn( 4345): update_calls: cur_state=1 new_state=1 vsid=10dc1000
D/voice_extn( 4345): update_calls: cur_state=1 new_state=1 vsid=10c02000
D/voice_extn( 4345): update_calls: cur_state=1 new_state=1 vsid=10803000
D/voice_extn( 4345): update_calls: cur_state=1 new_state=1 vsid=10002000
I/Process ( 4423): Sending signal. PID: 4423 SIG: 9
W/ResourceType( 8822): For resource 0x7f0b0023, entry index(35) is beyond type entryCount(18)
E/QMI_FW ( 4623): xport_send: Sendto failed for port 4608
E/QMI_FW ( 4623): xport_send: Sendto failed for port 4608
E/installd( 331): eof
E/installd( 331): failed to read size
I/installd( 331): closing connection
D/audio_hw_primary( 4345): out_standby: enter: stream (0xb587fe80) usecase(1: low-latency-playback)
E/WifiManager( 5709): Channel connection lost
W/Sensors ( 4829): sensorservice died [0xa2e4e4c0]
I/ServiceManager( 270): service 'telecom' died
I/ServiceManager( 270): service 'notification' died
I/ServiceManager( 270): service 'devicestoragemonitor' died
I/ServiceManager( 270): service 'location' died
I/ServiceManager( 270): service 'country_detector' died
I/ServiceManager( 270): service 'search' died
D/SurfaceFlinger( 272): Set power mode=2, type=0 flinger=0xb6082000
I/ServiceManager( 270): service 'dropbox' died
D/SurfaceFlinger( 272): Screen type=0 is already mode=2
I/ServiceManager( 270): service 'wallpaper' died
I/ServiceManager( 270): service 'audio' died
I/ServiceManager( 270): service 'DockObserver' died
I/ServiceManager( 270): service 'usb' died
I/ServiceManager( 270): service 'serial' died
I/ServiceManager( 270): service 'uimode' died
I/ServiceManager( 270): service 'jobscheduler' died
I/ServiceManager( 270): service 'backup' died
I/ServiceManager( 270): service 'appwidget' died
I/ServiceManager( 270): service 'voiceinteraction' died
W/Sensors ( 8822): sensorservice died [0xb4b971c0]
D/hardware_info( 4345): hw_info_append_hw_type : device_name = voice-handset
E/WifiManager( 5319): Channel connection lost
W/AudioFlinger( 4345): power manager service died !!!
I/ServiceManager( 270): service 'diskstats' died
I/lowmemorykiller( 269): ActivityManager disconnected
I/lowmemorykiller( 269): Closing Activity Manager data connection
W/Sensors ( 5277): sensorservice died [0xb4a32d40]
W/Sensors ( 5820): sensorservice died [0xb4ad3ac0]
E/WifiManager( 5820): Channel connection lost
E/WifiManager( 4829): Channel connection lost
D/Telephony( 5319): GsmConnection: Null call extras
I/ServiceManager( 270): service 'samplingprofiler' died
I/ServiceManager( 270): service 'commontime_management' died
I/ServiceManager( 270): service 'dreams' died
I/ServiceManager( 270): service 'assetatlas' died
...
​
Resolved
Hi,
Built from source thinking I could debug the cause.
But, woo-hoo, my build works fine.
My guess is the previous prebuilt ROM build I installed still had the RIL bug mentioned in this post:
http://forum.xda-developers.com/showpost.php?p=62393781&postcount=4

Serius problem, memory corruption or something

I started having this problem one day when the phone fell to the ground while some apps were updated from the play store, I've done hard resets, I've installed everything from scratch and I still have this problem although I still have not tried installing another rom, After I took my cell phone from the ground, I turned it on and went into a bootloop but it was not any bootloop, It went into "Starting Android" and then went back to the start animation, I have solved this problem uninstalling all the apps deleting files with ADB in /data/app but when I install any app it happens again, besides the system starts sending app crash reports whenever It tries to open any application that need access that memory address, for example the Launcher or the Applications section of android settings. I read that it could be a persistent partition corruption, but i haven't found any information.
my device is a Samsung Galaxy J5 M [SM-J500M]
i have CUSTOM ROM CYANOGEN MOD 12.1 PREMIUM SPEED BY ZONIK SAMSUNG J500M/F/FN/G/Y/07 rom
found here
Code:
mega.co.nz/#!CJMWQKwB!RdhHCOzxfNGi1_2vvenoibLhp1j_k4EaPC1-H4DpYvc
and i can provide you with some debug trace of the error when i try to open Aplications in Android settings.
logcat:
Code:
I/Timeline( 6745): Timeline: Activity_launch_request id:com.android.settings time:996754
I/ActivityManager( 791): START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from uid 1000 on display 0
D/audio_hw_primary( 291): start_output_stream: enter: stream(0xb7692370)usecase(1: low-latency-playback) devices(0x2)
V/audio_hw_primary( 291): select_devices: ENTER
V/audio_hw_primary( 291): select_devices: usecase(normal)
V/audio_hw_primary( 291): select_devices: usecase(PCM_PLAYBACK)
V/msm8974_platform( 291): platform_get_output_snd_device: enter: output devices(0x2)
V/msm8974_platform( 291): get_OUTPUT_snd_device: for Normal Playback
V/msm8974_platform( 291): platform_get_output_snd_device: exit: snd_device(speaker)
D/audio_hw_primary( 291): select_devices: out_snd_device(2: speaker)
D/audio_hw_primary( 291): select_devices: in_snd_device(0: dummy)
D/hardware_info( 291): hw_info_append_hw_type : device_name = speaker
V/msm8974_platform( 291): platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(15)
D/ACDB-LOADER( 291): ACDB -> send_audio_cal, acdb_id = 15, path = 0
D/ACDB-LOADER( 291): ACDB -> send_asm_topology
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
D/ACDB-LOADER( 291): ACDB -> send_adm_topology
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
D/ACDB-LOADER( 291): ACDB -> send_audtable
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
D/ACDB-LOADER( 291): ACDB -> AUDIO_SET_AUDPROC_CAL
D/ACDB-LOADER( 291): ACDB -> send_audvoltable
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
D/ACDB-LOADER( 291): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
D/ACDB-LOADER( 291): ACDB -> send_afe_cal
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
D/ACDB-LOADER( 291): ACDB -> AUDIO_SET_AFE_CAL
D/ACDB-LOADER( 291): ACDB -> send_hw_delay : acdb_id = 15 path = 0
D/ACDB-LOADER( 291): ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
V/audio_hw_primary( 291): enable_snd_device: snd_device(2: speaker, speaker)
D/audio_route( 291): ++++ audio_route_update_path ==============
D/audio_route( 291): Setting mixer control: MI2S_RX Channels, value: 1
D/audio_route( 291): Setting mixer control: RX3 MIX1 INP1, value: 3
V/WindowManager( 791): addAppToken: AppWindowToken{2bf62761 token=Token{2dd43ac8 ActivityRecord{db06f6b u0 com.android.settings/.SubSettings t2767}}} to stack=1 task=2767 at 1
D/audio_route( 291): Setting mixer control: RX3 MIX1 INP2, value: 4
D/audio_route( 291): Setting mixer control: SPK DAC Switch, value: 1
D/audio_route( 291): Setting mixer control: Speaker Boost, value: 1
D/audio_route( 291): Setting mixer control: RX3 Digital Volume, value: 87
D/audio_route( 291): ---- audio_route_update_path ==============
D/audio_route( 291): ++++ audio_route_update_mixer ==============
D/audio_route( 291): ------ audio_route_update_mixer ==============
V/audio_hw_primary( 291): enable_audio_route: enter: usecase(1)
V/audio_hw_primary( 291): enable_audio_route: apply mixer path: low-latency-playback
D/audio_route( 291): ++++ audio_route_update_mixer ==============
D/audio_route( 291): Setting mixer control: PRI_MI2S_RX Audio Mixer MultiMedia5, value: 1
D/audio_route( 291): ------ audio_route_update_mixer ==============
V/audio_hw_primary( 291): enable_audio_route: exit
V/msm8974_platform( 291): platform_get_output_snd_device: enter: output devices(0x2)
V/msm8974_platform( 291): get_OUTPUT_snd_device: for Normal Playback
V/msm8974_platform( 291): platform_get_output_snd_device: exit: snd_device(speaker)
V/msm8974_platform( 291): platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(15)
D/ACDB-LOADER( 291): ACDB -> send_audio_cal, acdb_id = 15, path = 0
D/ACDB-LOADER( 291): ACDB -> send_asm_topology
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
D/ACDB-LOADER( 291): ACDB -> send_adm_topology
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
D/ACDB-LOADER( 291): ACDB -> send_audtable
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
D/ACDB-LOADER( 291): ACDB -> AUDIO_SET_AUDPROC_CAL
D/ACDB-LOADER( 291): ACDB -> send_audvoltable
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
D/ACDB-LOADER( 291): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
D/ACDB-LOADER( 291): ACDB -> send_afe_cal
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
D/ACDB-LOADER( 291): ACDB -> AUDIO_SET_AFE_CAL
D/ACDB-LOADER( 291): ACDB -> send_hw_delay : acdb_id = 15 path = 0
D/ACDB-LOADER( 291): ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
V/audio_hw_primary( 291): start_output_stream: Opening PCM device card_id(0) device_id(12)
V/audio_hw_primary( 291): start_output_stream: exit
D/SubSettings( 6745): Launching fragment com.android.settings.applications.ManageApplications
W/ContextImpl( 6745): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1787 android.content.ContextWrapper.bindService:545 com.android.settings.applications.ManageApplications.onCreate:894 android.app.Fragment.performCreate:2031 android.app.FragmentManagerImpl.moveToState:863
V/WindowManager( 791): Adding window Window{2586aad1 u0 com.android.settings/com.android.settings.SubSettings} at 5 of 8 (after Window{c61c1e7 u0 com.android.settings/com.android.settings.Settings})
I/ActivityManager( 791): Displayed com.android.settings/.SubSettings: +1s69ms
I/GoogleInputMethod( 2702): onFinishInput() : Dummy InputConnection bound
I/GoogleInputMethod( 2702): onStartInput() : Dummy InputConnection bound
W/ResourceType( 6745): No package identifier when getting value for resource number 0x00000000
W/PackageManager( 6745): Failure retrieving resources for com.google.android.onetimeinitializer: Resource ID #0x0
I/Timeline( 6745): Timeline: Activity_idle id: [email protected] time:998100
F/libc ( 6745): invalid address or address of corrupt block 0x23 passed to dlfree
F/libc ( 6745): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xdeadbaad in tid 6873 (onsState.Loader)
I/DEBUG ( 288): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 288): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 288): HINT: adb forward tcp:5039 tcp:5039
I/Timeline( 791): Timeline: Activity_windows_visible id: ActivityRecord{db06f6b u0 com.android.settings/.SubSettings t2767} time:998209
I/DEBUG ( 288): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 288): Build fingerprint: 'samsung/j5ltexx/unknown:5.1.1/LMY49J/c2fef168b1:userdebug/test-keys'
I/DEBUG ( 288): Revision: '5'
I/DEBUG ( 288): ABI: 'arm'
I/DEBUG ( 288): pid: 6745, tid: 6873, name: onsState.Loader >>> com.android.settings <<<
I/DEBUG ( 288): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xdeadbaad
I/DEBUG ( 288): Abort message: 'invalid address or address of corrupt block 0x23 passed to dlfree'
I/DEBUG ( 288): r0 00000000 r1 b6e23dec r2 deadbaad r3 00000000
I/DEBUG ( 288): r4 00000023 r5 b6e250d8 r6 99546000 r7 0000002b
I/DEBUG ( 288): r8 a13505bc r9 a135067c sl b6cf7272 fp b6cf727b
I/DEBUG ( 288): ip 00008000 sp a1350568 lr b6df4f07 pc b6df4f08 cpsr 600d0030
I/DEBUG ( 288):
I/DEBUG ( 288): backtrace:
I/DEBUG ( 288): #00 pc 00028f08 /system/lib/libc.so (dlfree+1239)
I/DEBUG ( 288): #01 pc 0000f363 /system/lib/libc.so (free+10)
I/DEBUG ( 288): #02 pc 00012b15 /system/lib/libandroidfw.so (_ZN7android13ResStringPool6uninitEv+38)
I/DEBUG ( 288): #03 pc 0001384f /system/lib/libandroidfw.so (_ZN7android10ResXMLTree6uninitEv+12)
I/DEBUG ( 288): #04 pc 0001386d /system/lib/libandroidfw.so (_ZN7android10ResXMLTreeD1Ev+4)
I/DEBUG ( 288): #05 pc 0001053b /system/lib/libandroidfw.so (_ZN7android12AssetManager10getPkgNameEPKc+258)
I/DEBUG ( 288): #06 pc 0001059d /system/lib/libandroidfw.so (_ZN7android12AssetManager18getBasePackageNameEj+68)
I/DEBUG ( 288): #07 pc 000822cf /system/lib/libandroid_runtime.so
I/DEBUG ( 288): #08 pc 0027b38b /data/dalvik-cache/arm/[email protected]@boot.oat
I/DEBUG ( 288):
I/DEBUG ( 288): Tombstone written to: /data/tombstones/tombstone_01
I/BootReceiver( 791): Copying /data/tombstones/tombstone_01 to DropBox (SYSTEM_TOMBSTONE)
W/ActivityManager( 791): Process com.android.settings has crashed too many times: killing!
W/ActivityManager( 791): Force finishing activity 4 com.android.settings/.SubSettings
W/ActivityManager( 791): Force finishing activity 4 com.android.settings/.Settings
W/ActivityManager( 791): Wtf, activity ActivityRecord{380996b1 u0 com.android.settings/.Settings t2767 f} in proc activity list not using proc ProcessRecord{4a20df5 6745:com.android.settings/1000}?!?
W/ActivityManager( 791): Wtf, activity ActivityRecord{db06f6b u0 com.android.settings/.SubSettings t2767 f} in proc activity list not using proc ProcessRecord{4a20df5 6745:com.android.settings/1000}?!?
E/lowmemorykiller( 276): Error writing /proc/6745/oom_score_adj; errno=22
I/ActivityManager( 791): Killing 6745:com.android.settings/1000 (adj 9): crash
I/DeviceScanner( 3230): [MDNS] Received response from "LaWeaWeonQlo" (ae3e11b29fd758c5a27837b5c44262b3) with result "0 No change"
I/WindowState( 791): WIN DEATH: Window{c61c1e7 u0 com.android.settings/com.android.settings.Settings}
D/WifiService( 791): Client connection lost with reason: 4
I/Zygote ( 302): Process 6745 exited due to signal (11)
W/ActivityManager( 791): Spurious death for ProcessRecord{4a20df5 0:com.android.settings/1000}, curProc for 6745: null
W/ResourceType( 2410): No package identifier when getting value for resource number 0x00000000
W/PackageManager( 2410): Failure retrieving resources for com.android.settings: Resource ID #0x0
W/InputMethodManagerService( 791): Got RemoteException sending setActive(false) notification to pid 6745 uid 1000
I/GoogleInputMethod( 2702): onFinishInput() : Dummy InputConnection bound
I/GoogleInputMethod( 2702): onStartInput() : Dummy InputConnection bound
W/ajjl ( 2779): Empty context buffer. Thus might mean that the context is not synced down.
W/ajfs ( 2779): Empty context model while retrieving upload opt-in status!
I/Timeline( 2410): Timeline: Activity_idle id: [email protected] time:999085
I/Timeline( 791): Timeline: Activity_windows_visible id: ActivityRecord{e961ecf u0 com.android.systemui/.recents.RecentsActivity t2770} time:999100
W/ajjl ( 2779): Empty context buffer. Thus might mean that the context is not synced down.
W/ajfs ( 2779): Empty context model while retrieving upload opt-in status!
V/audio_hw_primary( 291): out_standby: enter: usecase(1: low-latency-playback)
V/audio_hw_primary( 291): stop_output_stream: enter: usecase(1: low-latency-playback)
V/audio_hw_primary( 291): disable_audio_route: enter: usecase(1)
V/audio_hw_primary( 291): disable_audio_route: reset mixer path: low-latency-playback
D/audio_route( 291): ++++ audio_route_update_mixer ==============
D/audio_route( 291): Setting mixer control: PRI_MI2S_RX Audio Mixer MultiMedia5, value: 0
D/audio_route( 291): ------ audio_route_update_mixer ==============
V/audio_hw_primary( 291): disable_audio_route: exit
D/hardware_info( 291): hw_info_append_hw_type : device_name = speaker
V/audio_hw_primary( 291): disable_snd_device: snd_device(2: speaker)
D/audio_route( 291): ++++ audio_route_update_path ==============
D/audio_route( 291): Setting mixer control: RX3 Digital Volume, value: 84
D/audio_route( 291): Setting mixer control: Speaker Boost, value: 0
D/audio_route( 291): Setting mixer control: SPK DAC Switch, value: 0
D/audio_route( 291): Setting mixer control: RX3 MIX1 INP2, value: 0
D/audio_route( 291): Setting mixer control: RX3 MIX1 INP1, value: 0
D/audio_route( 291): Setting mixer control: MI2S_RX Channels, value: 0
D/audio_route( 291): ---- audio_route_update_path ==============
V/audio_hw_primary( 291): stop_output_stream: exit: status(0)
V/audio_hw_primary( 291): out_standby: exit
and the /data/tombstones/tombstone_01 on pastebin
Code:
pastebin.com/jwZGN4Qr
sorry but i have recently signed up in XDA so i cant post links
Bumping, also, update i think it memory corruption because it isn't something linked directly to an aplication, i think it crash the app that tries to use that segment with a segfault sometimes crashes the launcher, sometimes the Settings, now i just installed tumblr from playstore and it just simply crashes with Segmentation fault deadbaad. in the time my cellphone fell, i use to link apps to MicroSD, thats the only thing i have not formatted, should i?
bump :c

Categories

Resources