Hello to all Embedded Android developers,
I am working on a headless Android 4.2.2 on a BD-SL-i.MX6
I set ro.config.headless and sf.debug.nobootanimation in the init.rc file 
just after "on boot" statement and with setprop command.

At this point I build the AOSP. But here is the problem : All services die 
regularly after a recurrent FATAL EXCEPTION :
"
I/ActivityManager(13785): Start proc com.android.location.fused for service 
com.android.location.fused/.FusedLocationService: pid=13974 uid=10015 
gids={50015, 1028}
E/AndroidRuntime(13785): *** FATAL EXCEPTION IN SYSTEM PROCESS: 
ActivityManager
E/AndroidRuntime(13785): java.lang.UnsupportedOperationException: Device is 
headless
E/AndroidRuntime(13785):        at 
android.view.Surface.checkHeadless(Surface.java:751)
E/AndroidRuntime(13785):        at 
android.view.Surface.<init>(Surface.java:287)
E/AndroidRuntime(13785):        at 
android.view.ViewRootImpl.<init>(ViewRootImpl.java:248)
E/AndroidRuntime(13785):        at 
android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:216)
E/AndroidRuntime(13785):        at 
android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
E/AndroidRuntime(13785):        at android.app.Dialog.show(Dialog.java:281)
E/AndroidRuntime(13785):        at 
com.android.server.am.ActivityManagerService$2.handleMessage(ActivityManagerService.java:1123)
E/AndroidRuntime(13785):        at 
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(13785):        at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(13785):        at 
com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1480)
D/MtpService(13892): updating state; isCurrentUser=true, mMtpLocked=false
D/MtpService(13892): addStorageLocked 65537 /storage/emulated/0
E/LocationManagerService(13785): no geocoder provider found
D/MtpService(13892): updating state; isCurrentUser=true, mMtpLocked=false
W/TelephonyProvider(13928): onCreate: confFile=/system/etc/apns-conf.xml 
oldCheckSum=-1
D/TelephonyManager(13928): getLteOnCdmaMode=0 curVal=-1 product_type='' 
lteOnCdmaProductType=''
D/MtpService(13892): starting MTP server in MTP mode
D/MtpService(13892): addStorageLocked 65537 /storage/emulated/0
D/TelephonyManager(13928): getLteOnCdmaMode=0 curVal=-1 product_type='' 
lteOnCdmaProductType=''
I/Process (13785): Sending signal. PID: 13785 SIG: 9
I/LatinIME(13908): Hardware accelerated drawing: true
E/installd( 2398): eof
E/installd( 2398): failed to read size
I/installd( 2398): closing connection
W/AudioFlinger(13564): power manager service died !!!
I/ServiceManager( 2389): service 'updatelock' died
I/ServiceManager( 2389): service 'audio' died
I/ServiceManager( 2389): service 'usb' died
I/ServiceManager( 2389): service 'serial' died
"

What do you think about it ? Ask me if you need more informations.

Thanks for your support,

Jerome

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to