Ionic app crashes on Phicomm C630 phone but runs on Sony and Samsung phones

Hello,
I have Ionic 1.7.16 installed. I am creating a blank app in Ionic. The app runs on Sony and Samsung phones but crashes on start when i use Phicomm C630 phone.

When i create a Cordova only app, it runs fine on all phones. But only the Ionic app crashes on start on the Phicomm phone.

The Phicomm C630 phone has Android 5.1.1 version.

The application name of the blank ionic app is “ionic_blankapp” if you need to refer to it in the adb logcat.

I am pasting the log from “adb logcat” here:

I/SurfaceFlinger( 256): FPS: 2
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
D/audio_hw_primary( 287): start_output_stream: enter: stream(0xb856b318)usecase(1: low-latency-playback) devices(0x2)
D/audio_hw_primary( 287): select_devices: out_snd_device(2: speaker) in_snd_device(0: )
D/hardware_info( 287): hw_info_append_hw_type : device_name = speaker
I/soundtrigger( 287): audio_extn_sound_trigger_update_device_status: device 0x2 of type 0 for Event 1, with Raise=0
W/audio_hw_utils( 287): audio_extn_utils_update_stream_app_type_cfg: App type could not be selected. Falling back to default
I/audio_hw_primary( 287): select_devices Selected apptype: 69936
D/soundtrigger( 287): audio_extn_sound_trigger_update_stream_status: uc_id 1 of type 0 for Event 3, with Raise=0
D/ACDB-LOADER( 287): ACDB -> send_audio_cal, acdb_id = 14, path = 0
D/ACDB-LOADER( 287): ACDB -> send_asm_topology
D/ACDB-LOADER( 287): ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
D/ACDB-LOADER( 287): ACDB -> send_adm_topology
D/ACDB-LOADER( 287): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
D/ACDB-LOADER( 287): ACDB -> send_audtable
D/ACDB-LOADER( 287): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
D/ACDB-LOADER( 287): ACDB -> AUDIO_SET_AUDPROC_CAL
D/ACDB-LOADER( 287): ACDB -> send_audvoltable
D/ACDB-LOADER( 287): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
D/ACDB-LOADER( 287): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
D/ACDB-LOADER( 287): ACDB -> send_afe_cal
D/ACDB-LOADER( 287): ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
D/ACDB-LOADER( 287): ACDB -> AUDIO_SET_AFE_CAL
D/ACDB-LOADER( 287): ACDB -> send_hw_delay : acdb_id = 14 path = 0
D/ACDB-LOADER( 287): ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
I/audio_hw_utils( 287): audio_extn_utils_send_app_type_cfg app_type 69936, acdb_dev_id 14, sample_rate 48000
D/audio_hw_primary( 287): select_devices: done
I/Timeline( 3931): Timeline: Activity_launch_request id:com.ionicframework.ionicblankapp764420 time:47909578
I/ActivityManager( 786): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.ionicframework.ionicblankapp764420/.MainActivity (has extras)} from uid 10022 on display 0
V/WindowManager( 786): addAppToken: AppWindowToken{27360fd0 token=Token{229fd393 ActivityRecord{2bf91082 u0 com.ionicframework.ionicblankapp764420/.MainActivity t137}}} to stack=1 task=137 at 0
I/ViewRootImpl( 786): CPU Rendering VSync enable = true
W/BroadcastQueue( 786): Permission Denial: broadcasting Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } from com.cyanogenmod.trebuchet (pid=3931, uid=10022) requires com.google.android.launcher.permission.RECEIVE_LAUNCH_BROADCASTS due to receiver com.google.android.googlequicksearchbox/com.google.android.search.core.icingsync.ApplicationLaunchReceiver
W/BroadcastQueue( 786): Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } to com.google.android.googlequicksearchbox/com.google.android.search.core.icingsync.ApplicationLaunchReceiver requires com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.cyanogenmod.trebuchet (uid 10022)
V/WindowManager( 786): Adding window Window{3fec220b u0 Starting com.ionicframework.ionicblankapp764420} at 9 of 13 (after Window{3bd1710e u0 com.android.settings/com.android.settings.SubSettings})
I/art ( 5326): Late-enabling -Xcheck:jni
I/ActivityManager( 786): Start proc 5326:com.ionicframework.ionicblankapp764420/u0a102 for activity com.ionicframework.ionicblankapp764420/.MainActivity
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
E/AudioPolicyManager( 287): unknown stream type 13
I/WebViewFactory( 5326): Loading com.android.webview version 39 (76-arm) (code 300001)
I/LibraryLoader( 5326): Time to load native libraries: 4 ms (timestamps 9854-9858)
I/LibraryLoader( 5326): Expected native library version number “”,actual native library version number ““
V/WebViewChromiumFactoryProvider( 5326): Binding Chromium to main looper Looper (main, tid 1) {20bdc9cd}
I/LibraryLoader( 5326): Expected native library version number “”,actual native library version number ““
I/chromium( 5326): [INFO:library_loader_hooks.cc(104)] Chromium logging enabled: level = 0, default verbosity = 0
I/BrowserStartupController( 5326): Initializing chromium process, singleProcess=true
W/art ( 5326): Attempt to remove local handle scope entry from IRT, ignoring
W/chromium( 5326): [WARNING:resource_bundle.cc(304)] locale_file_path.empty()
I/chromium( 5326): [INFO:aw_browser_main_parts.cc(65)] Load from apk succesful, fd=30 off=46184 len=3037
I/chromium( 5326): [INFO:aw_browser_main_parts.cc(78)] Loading webviewchromium.pak from, fd:31 off:229484 len:1089587
W/AudioManagerAndroid( 5326): Requires BLUETOOTH permission
I/Adreno-EGL( 5326): <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: (I7b941c52a8)
I/Adreno-EGL( 5326): OpenGL ES Shader Compiler Version: E031.25.03.04
I/Adreno-EGL( 5326): Build Date: 06/25/15 Thu
I/Adreno-EGL( 5326): Local Branch:
I/Adreno-EGL( 5326): Remote Branch:
I/Adreno-EGL( 5326): Local Patches:
I/Adreno-EGL( 5326): Reconstruct Branch:
W/chromium( 5326): [WARNING:data_reduction_proxy_settings.cc(331)] SPDY proxy OFF at startup
W/art ( 5326): Attempt to remove local handle scope entry from IRT, ignoring
W/AwContents( 5326): onDetachedFromWindow called when already detached. Ignoring
D/SystemWebViewEngine( 5326): CordovaWebView is running on device made by: PHICOMM
W/art ( 5326): Attempt to remove local handle scope entry from IRT, ignoring
W/art ( 5326): Attempt to remove local handle scope entry from IRT, ignoring
I/ViewRootImpl( 5326): CPU Rendering VSync enable = true
D/OpenGLRenderer( 5326): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
D/Atlas ( 5326): Validating map…
V/WindowManager( 786): Adding window Window{7277c18 u0 com.ionicframework.ionicblankapp764420/com.ionicframework.ionicblankapp764420.MainActivity} at 9 of 14 (before Window{3fec220b u0 Starting com.ionicframework.ionicblankapp764420})
I/ViewRootImpl( 5326): CPU Rendering VSync enable = true
V/WindowManager( 786): Adding window Window{3ae46c56 u0 com.ionicframework.ionicblankapp764420/com.ionicframework.ionicblankapp764420.MainActivity} at 10 of 15 (before Window{3fec220b u0 Starting com.ionicframework.ionicblankapp764420})
V/StatusBar( 5326): StatusBar: initialization
I/ViewRootImpl( 5326): CPU Rendering VSync enable = true
V/WindowManager( 786): Adding window Window{1f2441c4 u0 com.ionicframework.ionicblankapp764420/com.ionicframework.ionicblankapp764420.MainActivity} at 9 of 16 (before Window{7277c18 u0 com.ionicframework.ionicblankapp764420/com.ionicframework.ionicblankapp764420.MainActivity})
I/OpenGLRenderer( 5326): Initialized EGL, version 1.4
D/OpenGLRenderer( 5326): Enabling debug mode 0
I/WindowManager( 786): Switching to real app window: Window{1f2441c4 u0 com.ionicframework.ionicblankapp764420/com.ionicframework.ionicblankapp764420.MainActivity}
I/ActivityManager( 786): Displayed com.ionicframework.ionicblankapp764420/.MainActivity: +707ms
I/Timeline( 786): Timeline: Activity_windows_visible id: ActivityRecord{2bf91082 u0 com.ionicframework.ionicblankapp764420/.MainActivity t137} time:47910324
W/InputMethodManagerService( 786): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@2848055c attribute=null, token = android.os.BinderProxy@b4da3fb
I/SurfaceFlinger( 256): FPS: 48
I/SurfaceFlinger( 256): FPS: 56
D/JsMessageQueue( 5326): Set native->JS mode to OnlineEventsBridgeMode
D/ThermalEngine( 382): sensor_wait: case_therm Wait done.
D/ThermalEngine( 382): sensor_monitor: case_therm Reading 33000 .
I/ThermalEngine( 382): Sensor:case_therm:33000 mC
D/ThermalEngine( 382): update_active_thresh: case_therm Active(1), Hi(1) 40000, Lo(0) -2147483648, Interval(0) -1
D/ThermalEngine( 382): sensor_monitor: case_therm Sensor wait.
D/ThermalEngine( 382): sensor_wait: case_therm Wait start. 10000ms
I/Timeline( 5326): Timeline: Activity_idle id: android.os.BinderProxy@fb88b8d time:47912262
W/SurfaceFlinger( 256): couldn’t log to binary event log: overflow.
F/libc ( 5326): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x20 in tid 5373 (Thread-1504)
I/DEBUG ( 271): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 271): Build fingerprint: 'PHICOMM/msm8909/msm8909:5.1.1/LMY47V/76:user/test-keys’
I/DEBUG ( 271): Revision: '0’
I/DEBUG ( 271): ABI: 'arm’
I/DEBUG ( 271): pid: 5326, tid: 5373, name: Thread-1504 >>> com.ionicframework.ionicblankapp764420 <<<
I/DEBUG ( 271): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x20
I/DEBUG ( 271): r0 b850a620 r1 b84705a8 r2 00000006 r3 a873edf0
I/DEBUG ( 271): r4 b850a620 r5 b84705a8 r6 0065fbcc r7 00000020
I/DEBUG ( 271): r8 00000000 r9 a4b4af30 sl 00000000 fp 00000000
I/DEBUG ( 271): ip 00000001 sp a4b48d40 lr a84f30e3 pc a8547a54 cpsr 600d0010
I/DEBUG ( 271):
I/DEBUG ( 271): backtrace:
I/DEBUG ( 271): #00 pc 01435a54 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #01 pc 013e10df /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #02 pc 013e6f0f /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #03 pc 013e6d67 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #04 pc 013e6d8b /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #05 pc 010215ef /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #06 pc 01022275 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #07 pc 0101ef13 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #08 pc 01018fcd /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #09 pc 00a9aa2b /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #10 pc 00a9b937 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #11 pc 00a4136b /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #12 pc 00a41fbf /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #13 pc 00a422c5 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #14 pc 00a3d6b1 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #15 pc 00a3d965 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #16 pc 00a3404f /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #17 pc 00a2fb13 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #18 pc 00a33a77 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #19 pc 00a526e9 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #20 pc 00a3404f /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #21 pc 00a2fb13 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #22 pc 00a33a77 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #23 pc 00a3d8a3 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #24 pc 00a3d965 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #25 pc 00a3404f /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #26 pc 00a8ec19 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #27 pc 009615ff /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #28 pc 00961221 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #29 pc 007e0ba5 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #30 pc 007e1907 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #31 pc 007e49c7 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #32 pc 00b30a25 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #33 pc 01262b3d /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #34 pc 0119c957 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #35 pc 0119d143 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #36 pc 01171453 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #37 pc 01171c37 /system/lib/libwebviewchromium.so
I/DEBUG ( 271): #38 pc 00001110
D/audio_hw_primary( 287): out_standby: enter: stream (0xb856b318) usecase(1: low-latency-playback)
D/soundtrigger( 287): audio_extn_sound_trigger_update_stream_status: uc_id 1 of type 0 for Event 2, with Raise=0
D/hardware_info( 287): hw_info_append_hw_type : device_name = speaker
I/soundtrigger( 287): audio_extn_sound_trigger_update_device_status: device 0x2 of type 0 for Event 0, with Raise=0
D/TaskPersister( 786): removeObsoleteFile: deleting file=136_task.xml
D/TaskPersister( 786): removeObsoleteFile: deleting file=136_task_thumbnail.png
I/debuggerd( 271): type=1400 audit(0.0:2670): avc: denied { read } for name=“kgsl-3d0” dev=“tmpfs” ino=9475 scontext=u:r:debuggerd:s0 tcontext=u:object_r:gpu_device:s0 tclass=chr_file permissive=1
I/debuggerd( 271): type=1400 audit(0.0:2671): avc: denied { open } for path=”/dev/kgsl-3d0” dev=“tmpfs” ino=9475 scontext=u:r:debuggerd:s0 tcontext=u:object_r:gpu_device:s0 tclass=chr_file permissive=1
I/debuggerd( 271): type=1400 audit(0.0:2672): avc: denied { getattr } for path=”/dev/kgsl-3d0” dev=“tmpfs” ino=9475 scontext=u:r:debuggerd:s0 tcontext=u:object_r:gpu_device:s0 tclass=chr_file permissive=1
W/ActivityManager( 786): Force finishing activity 1 com.ionicframework.ionicblankapp764420/.MainActivity
I/DEBUG ( 271):
I/DEBUG ( 271): Tombstone written to: /data/tombstones/tombstone_00
I/BootReceiver( 786): Copying /data/tombstones/tombstone_00 to DropBox (SYSTEM_TOMBSTONE)
I/SurfaceFlinger( 256): FPS: 41
I/WindowState( 786): WIN DEATH: Window{1f2441c4 u0 com.ionicframework.ionicblankapp764420/com.ionicframework.ionicblankapp764420.MainActivity}
I/Zygote ( 395): Process 5326 exited due to signal (11)
I/ActivityManager( 786): Process com.ionicframework.ionicblankapp764420 (pid 5326) has died
I/Adreno-EGL( 3931): <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: (I7b941c52a8)
I/Adreno-EGL( 3931): OpenGL ES Shader Compiler Version: E031.25.03.04
I/Adreno-EGL( 3931): Build Date: 06/25/15 Thu
I/Adreno-EGL( 3931): Local Branch:
I/Adreno-EGL( 3931): Remote Branch:
I/Adreno-EGL( 3931): Local Patches:
I/Adreno-EGL( 3931): Reconstruct Branch:
I/OpenGLRenderer( 3931): Initialized EGL, version 1.4
W/InputMethodManagerService( 786): Got RemoteException sending setActive(false) notification to pid 5326 uid 10102
V/RenderScript( 3931): Application requested CPU execution
V/RenderScript( 3931): 0xb8496b88 Launching thread(s), CPUs 4
I/Timeline( 3931): Timeline: Activity_idle id: android.os.BinderProxy@1164307f time:47914513
I/Timeline( 786): Timeline: Activity_windows_visible id: ActivityRecord{24eed589 u0 com.cyanogenmod.trebuchet/com.android.launcher3.Launcher t5} time:47914539
I/SurfaceFlinger( 256): FPS: 32