Hi 

I am porting Android ICS version on a reference board with 8 GB of EMMC 
flash memory and 1 GB of RAM.

I am able to Android ADB shell but booting is stuck on ANDROID screen on my 
LCD display.

If enable logs in init.rc file I can see Zygote service is getting killed 
again and again.

I am not able to get clear reason of Zygote service getting killed for 
reference I am attaching below logs. ( LOGCAT ERROR Logs using "logcat *:E" 
command ).

As I can see in below logs there are Error logs coming from 
"audio_path_manager","BatteryService","StrictMode","NETD" etc.

My question is there any way I can comment out this services because my 
initial purpose of this porting is to get ANDROID LOCK SCREEN.

It will be helpful for me if some can guide me to proper way as I mentioned 
my first goal in this porting activity is to get ANDROID LOCK SCREEN.


*LOGS :*

*shell@android:/ $ logcat *:E*
--------- beginning of /dev/log/main
E/cpufreqd(   99): load_plugin              : Cannot load library: 
reloc_library[1285]:    93 cannot locate 'sysfs_read_attribute'...
E/cpufreqd(   99): 
--------- beginning of /dev/log/system
E/Netd    (   83): Unable to create netlink socket: Protocol not supported
E/Netd    (   83): Unable to open quota2 logging socket
E/EventHub(   99): could not open /dev/input/mice, Permission denied
E/EventHub(   99): could not open /dev/input/mouse0, Permission denied
E/cpufreqd(   99): create_temp_dir          : Couldn't chown 
/tmp/cpufreqd-zMXg99 (Operation not permitted).
E/cpufreqd(   99): open_unix_sock           : Couldn't chown 
/tmp/cpufreqd-zMXg99/cpufreqd (Operation not permitted).
E/audio_path_manager(   88): get_audio_path_handler: Failed get audio path 
handler for vc
E/audio_path_manager(   88): get_audio_path_handler: Failed get audio path 
handler for fm
E/audio_path_manager(   88): get_audio_path_handler: Failed get audio path 
handler for hdmi
E/audio_path_manager(   88): get_audio_path_handler: Failed get audio path 
handler for pcm
E/audio_path_manager(   88): get_audio_path_handler: Failed get audio path 
handler for wfd
E/audio_path_manager(   88): get_audio_path_handler: Failed get audio path 
handler for adda
E/xyzCameraEngine(   88): Error: no sensor detected in Camera Engine( 
vendor/xyz/generic/cameraengine/src/cameraengine/ansi_c/general/cam_gen.c, 
CAM_GetHandle, 65 )
E/xyzCameraEngine(   88): Error: Camera Engine handle shouldn't be NULL( 
vendor/xyz/generic/cameraengine/src/cameraengine/ansi_c/general/cam_gen.c, 
CAM_SendCommand, 134 )
E/audio_path_manager(   88): get_audio_path_handler: Failed get audio path 
handler for vc
E/audio_path_manager(   88): get_audio_path_handler: Failed get audio path 
handler for fm
E/audio_path_manager(   88): get_audio_path_handler: Failed get audio path 
handler for hdmi
E/audio_path_manager(   88): get_audio_path_handler: Failed get audio path 
handler for pcm
E/audio_path_manager(   88): get_audio_path_handler: Failed get audio path 
handler for wfd
E/audio_path_manager(   88): get_audio_path_handler: Failed get audio path 
handler for adda
E/audio_path_manager(   88): get_audio_path_handler: Failed get audio path 
handler for vc
E/audio_path_manager(   88): get_audio_path_handler: Failed get audio path 
handler for fm
E/audio_path_manager(   88): get_audio_path_handler: Failed get audio path 
handler for hdmi
E/audio_path_manager(   88): get_audio_path_handler: Failed get audio path 
handler for pcm
E/audio_path_manager(   88): get_audio_path_handler: Failed get audio path 
handler for wfd
E/audio_path_manager(   88): get_audio_path_handler: Failed get audio path 
handler for adda
E/audio_policy_xyz(   88): get_device_for_strategy: Earpiece device not 
found
E/audio_hw_xyz(   88): stream_out_s[   46.772094] fbi 0 irq miss, clear isr 
cc00000
et: snd_pcm_open failed
E/audio_policy_xyz(   88): xyz_ap_dev_init: Failed to initialize hardware 
output stream, sampling_rate: 0, format 0, channels 0
E/AudioPolicyService(   88): couldn't init_check the audio policy (No such 
device)
E/DisplayModel(   85): Force to choose FENCE_GCU as fence type, because we 
use GCU backend.
E/PhonePolicy(   86): Could not preload class for phone policy: 
com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
E/BatteryService(  158): acOnlinePath not found
E/BatteryService(  158): usbOnlinePath not found
E/BatteryService(  158): batteryStatusPath not found
E/BatteryService(  158): batteryHealthPath not found
E/[   46.836975] fbi 0 irq miss, clear isr cc00000




*BatteryService(  158): batteryPresentPath not foundE/BatteryService(  
158): batteryCapacityPath not foundE/BatteryService(  158): 
batteryVoltagePath not foundE/BatteryService(  158): batteryTemperaturePath 
not foundE/BatteryService(  158): batteryTechnologyPath not found*
E/sensorHAL(  158): Failed to activate sensor lsm303dlhc_acc.
E/sensorHAL(  158): Failed to activate sensor lsm303dlhc_acc.
E/SensorService(  158): sensor poll failed (Operation not permitted)
*F/libc    (  158): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)*
E/StrictMode(  158): A resource was acquired at attached stack trace but 
never released. See j[   46.899078] fbi 0 irq miss, clear isr cc00000
ava.io.Closeable for information on avoiding resource leaks.
E/StrictMode(  158): java.lang.Throwable: Explicit termination method 
'close' not called
E/StrictMode(  158):     at 
dalvik.system.CloseGuard.open(CloseGuard.java:184)
E/StrictMode(  158):     at 
java.io.FileInputStream.<init>(FileInputStream.java:80)
E/StrictMode(  158):     at 
com.android.server.pm.UserManager.readUserList(UserManager.java:114)
E/StrictMode(  158):     at 
com.android.server.pm.UserManager.<init>(UserManager.java:81)
E/StrictMode(  158):     at 
com.android.server.pm.UserManager.<init>(UserManager.java:85)
E/StrictMode(  158):     at com.android.server.pm.PackageMana[   46.960998] 
fbi 0 irq miss, clear isr cc00000
gerService.<init>(PackageManagerService.java:923)
E/StrictMode(  158):     at 
com.android.server.pm.PackageManagerService.main(PackageManagerService.java:833)
E/StrictMode(  158):     at 
com.android.server.ServerThread.run(SystemServer.java:163)


Thanks and Regards,
Nishith Goswami

-- 
-- 
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/d/optout.

Reply via email to