Firefly开源社区

打印 上一主题 下一主题

RK3288增加gps功能

60

积分

0

威望

0

贡献

游客

积分
60

RK3288增加gps功能

发表于 2016-8-20 10:49:15      浏览:10905 | 回复:6        打印      只看该作者   [复制链接] 楼主
通过rk3288的串口3连接gps模块,后台执行cat /dev/ttyS3有gps数据输出,但是在android的设置界面打开gps时导致系统重启,执行logcat命令打印信息如下:
W/ACodec  (13865): do not know color format 0x7f000789 = 2130708361
W/ACodec  (13865): do not know color format 0x7f000789 = 2130708361
I/OMXCodec(13865): --->InstantiateSoftwareCodec create OMX.google.vorbis.decoder codec
I/OMXCodec(13865): --->InstantiateSoftwareCodec create OMX.google.vorbis.decoder codec
I/OMXCodec(13865): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/OMXCodec(13865): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/OMXCodec(13865): mOutputPortSettingsHaveChanged set true
I/OMXCodec(13865): found informat change ComponentName = OMX.google.vorbis.decoder
I/OMXCodec(13865): mOutputPortSettingsHaveChanged set true
I/OMXCodec(13865): found informat change ComponentName = OMX.google.vorbis.decoder
I/ActivityManager(14090): Start proc 14385:com.android.inputmethod.latin/u0a29 for service com.android.inputmethod.latin/.LatinIME
V/InputMethodManagerService(14090): Adding window token: android.os.Binder@12f763c6
I/FrameQueueManage(13865): FrameQueueManage::~FrameQueueManage end!
W/AudioCache(13865): Battery track warning: refCount is already 0
I/AwesomePlayer(13865): AwesomePlayer::AwesomePlayer()in
I/AwesomePlayer(13865): AwesomePlayer::AwesomePlayer()aftermClient.connect()
D/GpsLocationProvider(14090): Reset GPS properties, previous size = 0
D/GpsLocationProvider(14090): GpsParamsResource: SUPL_HOST=supl.google.com
D/GpsLocationProvider(14090): GpsParamsResource: SUPL_PORT=7275
D/GpsLocationProvider(14090): GpsParamsResource: NTP_SERVER=north-america.pool.ntp.org
D/GpsLocationProvider(14090): GpsParamsResource: SUPL_VER=0x20000
D/GpsLocationProvider(14090): GpsParamsResource: SUPL_MODE=1
W/GpsLocationProvider(14090): Could not open GPS configuration file /etc/gps.conf
D/GpsLocationProvider(14090): GPS properties reloaded, size = 5
E/GpsLocationProvider(14090): no AGPS interface in set_agps_server
E/GpsLocationProvider(14090): no GPS configuration interface in configuraiton_update
D/GpsLocationProvider(14090): final config = #Fri Aug 19 15:35:10 GMT+00:00 2016
D/GpsLocationProvider(14090): SUPL_VER=0x20000
D/GpsLocationProvider(14090): SUPL_HOST=supl.google.com
D/GpsLocationProvider(14090): NTP_SERVER=north-america.pool.ntp.org
D/GpsLocationProvider(14090): SUPL_PORT=7275
D/GpsLocationProvider(14090): SUPL_MODE=1
I/FrameQueueManage(13865): FrameQueueManage::~FrameQueueManage end!
I/AwesomePlayer(13865): AwesomePlayer::AwesomePlayer()in
I/AwesomePlayer(13865): AwesomePlayer::AwesomePlayer()aftermClient.connect()
D/VolumeUI(14208): Registering volume controller
I/OMXCodec(13865): --->InstantiateSoftwareCodec create OMX.google.vorbis.decoder codec
I/OMXCodec(13865): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
W/ServiceWatcher(14090): com.google.android.gms not found
W/ServiceWatcher(14090): com.google.android.gms not found
W/LocationManagerService(14090): no network location provider found
W/ServiceWatcher(14090): com.google.android.gms not found
W/ServiceWatcher(14090): com.google.android.gms not found
E/LocationManagerService(14090): no geocoder provider found
E/FlpHardwareProvider(14090): Error hw_get_module 'flp': -2
E/LocationManagerService(14090): FLP HAL not supported
I/OMXCodec(13865): mOutputPortSettingsHaveChanged set true
I/OMXCodec(13865): --->InstantiateSoftwareCodec create OMX.google.vorbis.decoder codec
I/OMXCodec(13865): found informat change ComponentName = OMX.google.vorbis.decoder
I/OMXCodec(13865): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
W/ServiceWatcher(14090): com.google.android.gms not found
E/LocationManagerService(14090): Unable to bind FLP Geofence proxy.
E/ActivityRecognitionHardware(14090): Error hw_get_module: -2
E/LocationManagerService(14090): Hardware Activity-Recognition not supported.
D/GPS     (14090): open port:/dev/ttyS3 succceed..state->fd=173
I/GPS     (14090): >>>> Port setup..
E/GPS     (14090): Port setup finished..
D/GPS     (14090): gps state initialized before
D/GPS     (14090): gps state initialized
I/OMXCodec(13865): mOutputPortSettingsHaveChanged set true
F/libc    (14090): FORTIFY_SOURCE: vsprintf: prevented write past end of buffer. Calling abort().
F/libc    (14090): Fatal signal 6 (SIGABRT), code -6 in tid 14110 (android.bg)
I/OMXCodec(13865): found informat change ComponentName = OMX.google.vorbis.decoder
I/CommonTimeManagementService(14090): No common time service detected on this platform.  Common time services will be unavailable.
I/FrameQueueManage(13865): FrameQueueManage::~FrameQueueManage end!
I/InputReader(14090): Reconfiguring input devices.  changes=0x00000020
I/AwesomePlayer(13865): AwesomePlayer::AwesomePlayer()in
I/MmsServiceBroker(14090): Delay connecting to MmsService until an API is called
W/VoiceInteractionManagerService(14090): no available voice interaction services found for user 0
W/VoiceInteractionManagerService(14090): no available voice recognition services found for user 0
I/AwesomePlayer(13865): AwesomePlayer::AwesomePlayer()aftermClient.connect()
I/InputReader(14090): Reconfiguring input devices.  changes=0x00000010
I/OMXCodec(13865): --->InstantiateSoftwareCodec create OMX.google.vorbis.decoder codec
I/OMXCodec(13865): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/OMXCodec(13865): mOutputPortSettingsHaveChanged set true
I/OMXCodec(13865): found informat change ComponentName = OMX.google.vorbis.decoder
I/FrameQueueManage(13865): FrameQueueManage::~FrameQueueManage end!
I/AwesomePlayer(13865): AwesomePlayer::AwesomePlayer()in
I/AwesomePlayer(13865): AwesomePlayer::AwesomePlayer()aftermClient.connect()
I/ActivityManager(14090): Start proc 14419:com.cghs.stresstest/1000 for added application com.cghs.stresstest
I/OMXCodec(13865): --->InstantiateSoftwareCodec create OMX.google.vorbis.decoder codec
I/OMXCodec(13865): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/OMXCodec(13865): mOutputPortSettingsHaveChanged set true
W/AudioCache(13865): Battery track warning: refCount is already 0
I/FrameQueueManage(13865): FrameQueueManage::~FrameQueueManage end!
I/AwesomePlayer(13865): AwesomePlayer::AwesomePlayer()in
I/AwesomePlayer(13865): AwesomePlayer::AwesomePlayer()aftermClient.connect()
I/FrameQueueManage(13865): FrameQueueManage::~FrameQueueManage end!
I/AwesomePlayer(13865): AwesomePlayer::AwesomePlayer()in
I/AwesomePlayer(13865): AwesomePlayer::AwesomePlayer()aftermClient.connect()
I/OMXCodec(13865): --->InstantiateSoftwareCodec create OMX.google.vorbis.decoder codec
I/OMXCodec(13865): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/OMXCodec(13865): mOutputPortSettingsHaveChanged set true
I/OMXCodec(13865): found informat change ComponentName = OMX.google.vorbis.decoder
I/ActivityManager(14090): Start proc 14444:com.android.phone/1001 for added application com.android.phone
I/ActivityManager(14090): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.android.launcher3/.Launcher} from uid 0 on display 0
I/OMXCodec(13865): --->InstantiateSoftwareCodec create OMX.google.vorbis.decoder codec
I/OMXCodec(13865): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/OMXCodec(13865): mOutputPortSettingsHaveChanged set true
I/OMXCodec(13865): found informat change ComponentName = OMX.google.vorbis.decoder
V/WindowManager(14090): addAppToken: AppWindowToken{2e642d3c token=Token{37df932f ActivityRecord{12bfdd0e u0 com.android.launcher3/.Launcher t5}}} to stack=0 task=5 at 0
I/FrameQueueManage(13865): FrameQueueManage::~FrameQueueManage end!
I/AwesomePlayer(13865): AwesomePlayer::AwesomePlayer()in
I/AwesomePlayer(13865): AwesomePlayer::AwesomePlayer()aftermClient.connect()
W/AudioCache(13865): Battery track warning: refCount is already 0
I/FrameQueueManage(13865): FrameQueueManage::~FrameQueueManage end!
I/OMXCodec(13865): --->InstantiateSoftwareCodec create OMX.google.vorbis.decoder codec
I/OMXCodec(13865): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/ActivityManager(14090): Start proc 14471:com.android.launcher3/u0a30 for activity com.android.launcher3/.Launcher
I/SystemServer(14090): Enabled StrictMode for system server main thread.
V/ActivityManager(14090): Display changed displayId=0
V/ActivityManager(14090): Display changed displayId=0
D/WifiScanningService(14090): SCAN_AVAILABLE : 1
D/RttService(14090): SCAN_AVAILABLE : 1
D/WifiScanningService(14090): DefaultState got{ when=-1ms what=160007 target=com.android.internal.util.StateMachine$SmHandler }
D/RttService(14090): DefaultState got{ when=0 what=160513 target=com.android.internal.util.StateMachine$SmHandler }
I/art     (13863): Explicit concurrent mark sweep GC freed 704(30KB) AllocSpace objects, 0(0B) LOS objects, 91% free, 92KB/1116KB, paused 112us total 7.470ms
I/LatinIME(14385): Hardware accelerated drawing: true
I/DEBUG   (  164): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (  164): Build fingerprint: 'Android/rk3288_box/rk3288_box:5.1.1/LMY47V/tiandk06061016:userdebug/test-keys'
I/DEBUG   (  164): Revision: '0'
I/DEBUG   (  164): ABI: 'arm'
I/DEBUG   (  164): pid: 14090, tid: 14110, name: android.bg  >>> system_server <<<
I/DEBUG   (  164): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/FrameQueueManage(13865): FrameQueueManage::~FrameQueueManage end!
I/art     (13863): Explicit concurrent mark sweep GC freed 5(160B) AllocSpace objects, 0(0B) LOS objects, 91% free, 92KB/1116KB, paused 118us total 13.176ms
I/DEBUG   (  164): Abort message: 'FORTIFY_SOURCE: vsprintf: prevented write past end of buffer. Calling abort().'
I/DEBUG   (  164):     r0 00000000  r1 0000371e  r2 00000006  r3 00000000
I/DEBUG   (  164):     r4 af826dd8  r5 00000006  r6 00000000  r7 0000010c
I/DEBUG   (  164):     r8 af826dd8  r9 b6ec0dd4  sl a0f13b00  fp 00000002
I/DEBUG   (  164):     ip 0000371e  sp af826900  lr b6e7bdb1  pc b6ea2938  cpsr 60070010
I/DEBUG   (  164):
I/DEBUG   (  164): backtrace:
I/DEBUG   (  164):     #00 pc 0003d938  /system/lib/libc.so (tgkill+12)
I/DEBUG   (  164):     #01 pc 00016dad  /system/lib/libc.so (pthread_kill+52)
I/DEBUG   (  164):     #02 pc 000179bf  /system/lib/libc.so (raise+10)
I/DEBUG   (  164):     #03 pc 00014165  /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG   (  164):     #04 pc 000124ec  /system/lib/libc.so (abort+4)
I/DEBUG   (  164):     #05 pc 0001549b  /system/lib/libc.so (__libc_fatal+16)
I/DEBUG   (  164):     #06 pc 000154b3  /system/lib/libc.so (__fortify_chk_fail+18)
I/DEBUG   (  164):     #07 pc 000415d1  /system/lib/libc.so (__vsprintf_chk+24)
I/DEBUG   (  164):     #08 pc 000415ed  /system/lib/libc.so (__sprintf_chk+16)
I/DEBUG   (  164):     #09 pc 000010b3  /system/lib/hw/gps.default.so
I/DEBUG   (  164):     #10 pc 00011c15  /system/lib/libandroid_servers.so
I/DEBUG   (  164):     #11 pc 0032ab9f  /data/dalvik-cache/arm/system@framework@services.jar@classes.dex
I/art     (13863): Explicit concurrent mark sweep GC freed 5(160B) AllocSpace objects, 0(0B) LOS objects, 91% free, 92KB/1116KB, paused 112us total 7.041ms
I/DEBUG   (  164):
I/DEBUG   (  164): Tombstone written to: /data/tombstones/tombstone_02
D/AndroidRuntime(14385): Shutting down VM
I/ServiceManager(  154): service 'entropy' died
E/AndroidRuntime(14385): FATAL EXCEPTION: main
E/AndroidRuntime(14385): Process: com.android.inputmethod.latin, PID: 14385
E/AndroidRuntime(14385): java.lang.RuntimeException: Unable to create service com.android.inputmethod.latin.LatinIME: java.lang.RuntimeException: android.os.DeadObjectException
E/AndroidRuntime(14385):        at android.app.ActivityThread.handleCreateService(ActivityThread.java:2771)
E/AndroidRuntime(14385):        at android.app.ActivityThread.access$1800(ActivityThread.java:151)
E/AndroidRuntime(14385):        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1386)
E/AndroidRuntime(14385):        at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(14385):        at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(14385):        at android.app.ActivityThread.main(ActivityThread.java:5258)
E/AndroidRuntime(14385):        at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(14385):        at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(14385):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:940)
E/AndroidRuntime(14385):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:735)
E/AndroidRuntime(14385): Caused by: java.lang.RuntimeException: android.os.DeadObjectException
E/AndroidRuntime(14385):        at android.view.inputmethod.InputMethodManager.getInputMethodList(InputMethodManager.java:653)
E/AndroidRuntime(14385):        at com.android.inputmethod.latin.RichInputMethodManager.getInputMethodInfoOfThisIme(RichInputMethodManager.java:104)
E/AndroidRuntime(14385):        at com.android.inputmethod.latin.RichInputMethodManager.initInternal(RichInputMethodManager.java:86)
E/AndroidRuntime(14385):        at com.android.inputmethod.latin.RichInputMethodManager.init(RichInputMethodManager.java:68)
E/AndroidRuntime(14385):        at com.android.inputmethod.latin.LatinIME.onCreate(LatinIME.java:534)
E/AndroidRuntime(14385):        at android.app.ActivityThread.handleCreateService(ActivityThread.java:2761)
E/AndroidRuntime(14385):        ... 9 more
E/AndroidRuntime(14385): Caused by: android.os.DeadObjectException
E/AndroidRuntime(14385):        at android.os.BinderProxy.transactNative(Native Method)
E/AndroidRuntime(14385):        at android.os.BinderProxy.transact(Binder.java:496)
E/AndroidRuntime(14385):        at com.android.internal.view.IInputMethodManager$Stub$Proxy.getInputMethodList(IInputMethodManager.java:511)
E/AndroidRuntime(14385):        at android.view.inputmethod.InputMethodManager.getInputMethodList(InputMethodManager.java:651)
E/AndroidRuntime(14385):        ... 14 more
W/AudioFlinger(13865): power manager service died !!!
E/DisplayManager(14419): Failed to register callback with display manager service.
E/DisplayManager(14419): android.os.DeadObjectException
E/DisplayManager(14419):        at android.os.BinderProxy.transactNative(Native Method)
E/DisplayManager(14419):        at android.os.BinderProxy.transact(Binder.java:496)
E/DisplayManager(14419):        at android.hardware.display.IDisplayManager$Stub$Proxy.registerCallback(IDisplayManager.java:293)
E/DisplayManager(14419):        at android.hardware.display.DisplayManagerGlobal.registerCallbackIfNeededLocked(DisplayManagerGlobal.java:249)
E/DisplayManager(14419):        at android.hardware.display.DisplayManagerGlobal.getDisplayInfo(DisplayManagerGlobal.java:127)
E/DisplayManager(14419):        at android.hardware.display.DisplayManagerGlobal.getCompatibleDisplay(DisplayManagerGlobal.java:178)
E/DisplayManager(14419):        at android.app.ResourcesManager.getDisplayMetricsLocked(ResourcesManager.java:96)
E/DisplayManager(14419):        at android.app.ResourcesManager.getDisplayMetricsLocked(ResourcesManager.java:74)
E/DisplayManager(14419):        at android.app.ContextImpl.createSystemContext(ContextImpl.java:2250)
E/DisplayManager(14419):        at android.app.ActivityThread.getSystemContext(ActivityThread.java:1826)
E/DisplayManager(14419):        at android.app.ActivityThread$DropBoxReporter.<init>(ActivityThread.java:5209)
E/DisplayManager(14419):        at android.app.ActivityThread.attach(ActivityThread.java:5138)
E/DisplayManager(14419):        at android.app.ActivityThread.main(ActivityThread.java:5247)
E/DisplayManager(14419):        at java.lang.reflect.Method.invoke(Native Method)
E/DisplayManager(14419):        at java.lang.reflect.Method.invoke(Method.java:372)
E/DisplayManager(14419):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:940)
E/DisplayManager(14419):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:735)
E/DisplayManager(14444): Failed to register callback with display manager service.
E/DisplayManager(14444): android.os.DeadObjectException
E/DisplayManager(14444):        at android.os.BinderProxy.transactNative(Native Method)
E/DisplayManager(14444):        at android.os.BinderProxy.transact(Binder.java:496)
E/DisplayManager(14444):        at android.hardware.display.IDisplayManager$Stub$Proxy.registerCallback(IDisplayManager.java:293)
E/DisplayManager(14444):        at android.hardware.display.DisplayManagerGlobal.registerCallbackIfNeededLocked(DisplayManagerGlobal.java:249)
E/DisplayManager(14444):        at android.hardware.display.DisplayManagerGlobal.getDisplayInfo(DisplayManagerGlobal.java:127)
E/DisplayManager(14444):        at android.hardware.display.DisplayManagerGlobal.getCompatibleDisplay(DisplayManagerGlobal.java:178)
E/DisplayManager(14444):        at android.app.ResourcesManager.getDisplayMetricsLocked(ResourcesManager.java:96)
E/DisplayManager(14444):        at android.app.ResourcesManager.getDisplayMetricsLocked(ResourcesManager.java:74)
E/DisplayManager(14444):        at android.app.ContextImpl.createSystemContext(ContextImpl.java:2250)
E/DisplayManager(14444):        at android.app.ActivityThread.getSystemContext(ActivityThread.java:1826)
E/DisplayManager(14444):        at android.app.ActivityThread$DropBoxReporter.<init>(ActivityThread.java:5209)
E/DisplayManager(14444):        at android.app.ActivityThread.attach(ActivityThread.java:5138)
E/DisplayManager(14444):        at android.app.ActivityThread.main(ActivityThread.java:5247)
E/DisplayManager(14444):        at java.lang.reflect.Method.invoke(Native Method)
E/DisplayManager(14444):        at java.lang.reflect.Method.invoke(Method.java:372)
E/DisplayManager(14444):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:940)
E/DisplayManager(14444):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:735)
E/AndroidRuntime(14385): Error reporting crash
E/AndroidRuntime(14385): android.os.DeadObjectException
E/AndroidRuntime(14385):        at android.os.BinderProxy.transactNative(Native Method)
E/AndroidRuntime(14385):        at android.os.BinderProxy.transact(Binder.java:496)
E/AndroidRuntime(14385):        at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:4164)
E/AndroidRuntime(14385):        at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:89)
E/AndroidRuntime(14385):        at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime(14385):        at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
E/DisplayManager(14419): Could not get display information from display manager.
E/DisplayManager(14419): android.os.DeadObjectException
E/DisplayManager(14419):        at android.os.BinderProxy.transactNative(Native Method)
E/DisplayManager(14419):        at android.os.BinderProxy.transact(Binder.java:496)
E/DisplayManager(14419):        at android.hardware.display.IDisplayManager$Stub$Proxy.getDisplayInfo(IDisplayManager.java:254)
E/DisplayManager(14419):        at android.hardware.display.DisplayManagerGlobal.getDisplayInfo(DisplayManagerGlobal.java:119)
E/DisplayManager(14419):        at android.view.Display.updateDisplayInfoLocked(Display.java:763)
E/DisplayManager(14419):        at android.view.Display.getMetrics(Display.java:678)
E/DisplayManager(14419):        at android.app.ResourcesManager.getDisplayMetricsLocked(ResourcesManager.java:98)
E/DisplayManager(14419):        at android.app.ResourcesManager.getDisplayMetricsLocked(ResourcesManager.java:74)
E/DisplayManager(14419):        at android.app.ContextImpl.createSystemContext(ContextImpl.java:2250)
E/DisplayManager(14419):        at android.app.ActivityThread.getSystemContext(ActivityThread.java:1826)
E/DisplayManager(14419):        at android.app.ActivityThread$DropBoxReporter.<init>(ActivityThread.java:5209)
E/DisplayManager(14419):        at android.app.ActivityThread.attach(ActivityThread.java:5138)
E/DisplayManager(14419):        at android.app.ActivityThread.main(ActivityThread.java:5247)
E/DisplayManager(14419):        at java.lang.reflect.Method.invoke(Native Method)
E/DisplayManager(14419):        at java.lang.reflect.Method.invoke(Method.java:372)
E/DisplayManager(14419):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:940)
E/DisplayManager(14419):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:735)
E/DisplayManager(14444): Could not get display information from display manager.
E/DisplayManager(14444): android.os.DeadObjectException
E/DisplayManager(14444):        at android.os.BinderProxy.transactNative(Native Method)
E/DisplayManager(14444):        at android.os.BinderProxy.transact(Binder.java:496)
E/DisplayManager(14444):        at android.hardware.display.IDisplayManager$Stub$Proxy.getDisplayInfo(IDisplayManager.java:254)
E/DisplayManager(14444):        at android.hardware.display.DisplayManagerGlobal.getDisplayInfo(DisplayManagerGlobal.java:119)
E/DisplayManager(14444):        at android.view.Display.updateDisplayInfoLocked(Display.java:763)
E/DisplayManager(14444):        at android.view.Display.getMetrics(Display.java:678)
E/DisplayManager(14444):        at android.app.ResourcesManager.getDisplayMetricsLocked(ResourcesManager.java:98)
E/DisplayManager(14444):        at android.app.ResourcesManager.getDisplayMetricsLocked(ResourcesManager.java:74)
E/DisplayManager(14444):        at android.app.ContextImpl.createSystemContext(ContextImpl.java:2250)
E/DisplayManager(14444):        at android.app.ActivityThread.getSystemContext(ActivityThread.java:1826)
E/DisplayManager(14444):        at android.app.ActivityThread$DropBoxReporter.<init>(ActivityThread.java:5209)
E/DisplayManager(14444):        at android.app.ActivityThread.attach(ActivityThread.java:5138)
E/DisplayManager(14444):        at android.app.ActivityThread.main(ActivityThread.java:5247)
E/DisplayManager(14444):        at java.lang.reflect.Method.invoke(Native Method)
E/DisplayManager(14444):        at java.lang.reflect.Method.invoke(Method.java:372)
E/DisplayManager(14444):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:940)
E/DisplayManager(14444):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:735)
I/Process (14385): Sending signal. PID: 14385 SIG: 9
I/ServiceManager(  154): service 'activity' died
I/ServiceManager(  154): service 'telephony.registry' died
I/ServiceManager(  154): service 'content' died
I/ServiceManager(  154): service 'sensorservice' died
I/ServiceManager(  154): service 'webviewupdate' died
I/ServiceManager(  154): service 'accessibility' died
I/ServiceManager(  154): service 'diskstats' died
I/ServiceManager(  154): service 'batterystats' died
I/ServiceManager(  154): service 'appops' died
I/ServiceManager(  154): service 'display' died
I/ServiceManager(  154): service 'power' died
I/ServiceManager(  154): service 'cpuinfo' died
I/ServiceManager(  154): service 'alarm' died
I/ServiceManager(  154): service 'dbinfo' died
I/ServiceManager(  154): service 'usagestats' died
I/ServiceManager(  154): service 'battery' died
I/ServiceManager(  154): service 'servicediscovery' died
I/ServiceManager(  154): service 'permission' died
I/ServiceManager(  154): service 'textservices' died
I/ServiceManager(  154): service 'vibrator' died
I/ServiceManager(  154): service 'gfxinfo' died
I/ServiceManager(  154): service 'meminfo' died
I/ServiceManager(  154): service 'device_policy' died
I/ServiceManager(  154): service 'statusbar' died
I/ServiceManager(  154): service 'account' died
I/ServiceManager(  154): service 'lock_settings' died
I/ServiceManager(  154): service 'assetatlas' died
I/ServiceManager(  154): service 'netstats' died
I/ServiceManager(  154): service 'procstats' died
I/ServiceManager(  154): service 'package' died
I/ServiceManager(  154): service 'hardware' died
I/ServiceManager(  154): service 'media_projection' died
I/ServiceManager(  154): service 'scheduling_policy' died
I/ServiceManager(  154): service 'user' died
I/ServiceManager(  154): service 'consumer_ir' died
I/ServiceManager(  154): service 'search' died
I/ServiceManager(  154): service 'commontime_management' died
I/ServiceManager(  154): service 'wallpaper' died
I/ServiceManager(  154): service 'dreams' died
I/ServiceManager(  154): service 'wifip2p' died
I/ServiceManager(  154): service 'ethernet' died
I/ServiceManager(  154): service 'uimode' died
I/ServiceManager(  154): service 'input' died
I/ServiceManager(  154): service 'window' died
I/ServiceManager(  154): service 'input_method' died
I/ServiceManager(  154): service 'network_score' died
I/ServiceManager(  154): service 'network_management' died
I/ServiceManager(  154): service 'bluetooth_manager' died
I/ServiceManager(  154): service 'voiceinteraction' died
I/ServiceManager(  154): service 'media_session' died
I/ServiceManager(  154): service 'serial' died
I/ServiceManager(  154): service 'mount' died
I/ServiceManager(  154): service 'samplingprofiler' died
I/ServiceManager(  154): service 'clipboard' died
I/ServiceManager(  154): service 'netpolicy' died
I/ServiceManager(  154): service 'backup' died
I/ServiceManager(  154): service 'DockObserver' died
I/ServiceManager(  154): service 'restrictions' died
I/ServiceManager(  154): service 'wifi' died
I/ServiceManager(  154): service 'wifiscanner' died
I/ServiceManager(  154): service 'rttmanager' died
I/ServiceManager(  154): service 'pppoe' died
I/ServiceManager(  154): service 'updatelock' died
I/ServiceManager(  154): service 'connectivity' died
I/ServiceManager(  154): service 'audio' died
I/ServiceManager(  154): service 'print' died
I/ServiceManager(  154): service 'location' died
I/ServiceManager(  154): service 'appwidget' died
I/ServiceManager(  154): service 'jobscheduler' died
I/ServiceManager(  154): service 'usb' died
I/ServiceManager(  154): service 'notification' died
I/ServiceManager(  154): service 'country_detector' died
I/ServiceManager(  154): service 'devicestoragemonitor' died
I/ServiceManager(  154): service 'dropbox' died
I/ServiceManager(  154): service 'imms' died
I/ServiceManager(  154): service 'display_device_management' died
I/ServiceManager(  154): service 'media_router' died
I/ServiceManager(  154): service 'fingerprint' died
I/ServiceManager(  154): service 'launcherapps' died
I/ServiceManager(  154): service 'trust' died
D/AndroidRuntime(14208): Shutting down VM
E/AndroidRuntime(14208): FATAL EXCEPTION: main
E/AndroidRuntime(14208): Process: com.android.systemui, PID: 14208
E/AndroidRuntime(14208): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: java.lang.NullPointerException: Attempt to invoke interface method 'void android.media.IAudioService.setRingtonePlayer(android.media.IRingtonePlayer)' on a null object reference
E/AndroidRuntime(14208):        at android.app.ActivityThread.handleCreateService(ActivityThread.java:2771)
E/AndroidRuntime(14208):        at android.app.ActivityThread.access$1800(ActivityThread.java:151)
E/AndroidRuntime(14208):        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1386)
E/AndroidRuntime(14208):        at android.os.Handler.dispatchMessage(Handler.java:102)
E/A
回复

使用道具 举报

60

积分

0

威望

0

贡献

游客

积分
60
发表于 2016-8-20 10:53:17        只看该作者  沙发
移植GPS HW层代码时一开始提示设备无打开权限,定位是因为selinux的策略不允许访问GPS的数据输出节点/dev/ttyS3。关闭内核中的selinux选项之后可以成功打开/dev/ttyS3节点并完成初始化,但是随后android界面就会退出,后台还可以命令。确认是虚拟机崩溃,但不清楚是什么问题导致的虚拟机崩溃,请大神帮忙分析
回复

使用道具 举报

37

积分

0

威望

0

贡献

禁止发言

积分
37
发表于 2016-8-21 11:45:17        只看该作者  板凳
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

121

积分

0

威望

0

贡献

技术小白

积分
121
发表于 2016-8-23 16:10:16        只看该作者  地板
无打开权限是修改uenvent.rc 把,别修改selinux 啊
回复

使用道具 举报

347

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
347
发表于 2016-9-2 17:19:31        只看该作者  5#
uenvent.rc有毛用啊,必须修改selinux
回复

使用道具 举报

89

积分

0

威望

0

贡献

技术小白

积分
89
发表于 2016-11-17 13:57:29        只看该作者  6#
请问selinux在哪里修改啊?
回复

使用道具 举报

58

积分

0

威望

0

贡献

技术小白

积分
58
发表于 2018-10-29 17:38:32        只看该作者  7#
楼主,你好,我的GPS连接以后输出的数据格式不对,你用的是哪个版本的固件啊
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表