[Resolved] [Q] android.policy.jar in stock odexed rom - General Questions and Answers

Hi!
I got a samsung galaxy young (S6310N JB 4.1.2) with a deodexed rooted rom and I have edited android.policy.jar in order to edit the power menu.
Everything work fine but now I need make the same edit in another samsung galaxy y s6310N, but with a stock odexed rom...
I've followed this guide:
http://forum.xda-developers.com/showpost.php?p=16447676&postcount=1
without succes...every time I odex back my edited android.policy.jar the device start in bootloop...
here is the logcat that loop with this error:
Code:
1:23:29.549: E/dalvikvm(2734): /system/framework/android.policy.jar odex has stale dependencies
01-01 01:23:29.559: E/dalvikvm(2734): /system/framework/services.jar odex has stale dependencies
01-01 01:23:29.559: E/dalvikvm(2734): /system/framework/apache-xml.jar odex has stale dependencies
01-01 01:23:29.559: E/dalvikvm(2734): /system/framework/sec_edm.jar odex has stale dependencies
01-01 01:23:29.559: E/dalvikvm(2734): /system/framework/seccamera.jar odex has stale dependencies
01-01 01:23:29.739: E/BandwidthController(2733): runIptablesCmd(): failed /system/bin/iptables -t raw -N bw_raw_PREROUTING res=256
01-01 01:23:29.739: E/BandwidthController(2733): runIptablesCmd(): failed /system/bin/ip6tables -t raw -N bw_raw_PREROUTING res=256
01-01 01:23:30.009: E/(2732): Qint android::get_number_of_cameras(): E
01-01 01:23:30.069: E/(2732): libaudcal: acph_init() - Allocated memory for acph_main_buffer!!
01-01 01:23:30.069: E/Diag_Lib(2732): actp_diag_init: call diag init function with 4038933D
01-01 01:23:30.069: E/Diag_Lib(2732): Diag_LSM_Init: Failed to open handle to diag driver, error = 13
01-01 01:23:30.069: E/Diag_Lib(2732): actp_diag_init: diag init failed
01-01 01:23:30.179: E/AudioFlinger(2732): int android::load_audio_interface(char const*, audio_hw_device_t**) couldn't load audio hw module audio.usb (No such file or directory)
01-01 01:23:30.179: E/AudioFlinger(2732): int android::load_audio_interface(char const*, audio_hw_device_t**) couldn't load audio hw module audio.wfd (No such file or directory)
01-01 01:23:30.279: E/GestureDeviceService(2732): Could not load gesture HAL module
01-01 01:23:30.389: E/JNIHelp(2734): Native registration unable to find class 'com/android/server/Watchdog', aborting
01-01 01:23:30.389: A/libc(2734): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 2734 (zygote)
01-01 01:23:31.679: E/SMD(137): DCD ON
01-01 01:23:34.679: E/SMD(137): DCD ON
01-01 01:23:36.189: E/dalvikvm(2893): /system/framework/android.policy.jar odex has stale dependencies
01-01 01:23:36.189: E/dalvikvm(2893): /system/framework/services.jar odex has stale dependencies
01-01 01:23:36.199: E/dalvikvm(2893): /system/framework/apache-xml.jar odex has stale dependencies
01-01 01:23:36.199: E/dalvikvm(2893): /system/framework/sec_edm.jar odex has stale dependencies
01-01 01:23:36.199: E/dalvikvm(2893): /system/framework/seccamera.jar odex has stale dependencies
01-01 01:23:36.379: E/BandwidthController(2892): runIptablesCmd(): failed /system/bin/iptables -t raw -N bw_raw_PREROUTING res=256
01-01 01:23:36.389: E/BandwidthController(2892): runIptablesCmd(): failed /system/bin/ip6tables -t raw -N bw_raw_PREROUTING res=256
01-01 01:23:36.639: E/(2891): Qint android::get_number_of_cameras(): E
01-01 01:23:36.719: E/(2891): libaudcal: acph_init() - Allocated memory for acph_main_buffer!!
01-01 01:23:36.719: E/Diag_Lib(2891): actp_diag_init: call diag init function with 4002B33D
01-01 01:23:36.719: E/Diag_Lib(2891): Diag_LSM_Init: Failed to open handle to diag driver, error = 13
01-01 01:23:36.719: E/Diag_Lib(2891): actp_diag_init: diag init failed
01-01 01:23:36.819: E/AudioFlinger(2891): int android::load_audio_interface(char const*, audio_hw_device_t**) couldn't load audio hw module audio.usb (No such file or directory)
01-01 01:23:36.819: E/AudioFlinger(2891): int android::load_audio_interface(char const*, audio_hw_device_t**) couldn't load audio hw module audio.wfd (No such file or directory)
01-01 01:23:36.929: E/GestureDeviceService(2891): Could not load gesture HAL module
Someone can help me or have any suggestion of what can be the problem?
Thanks very much!

I found the problem. using dexopt-wrapper to make android.policy.odex I was not supposed to add ":/system/framework/android.policy.jar" in the list of dependencies...
Code:
/dexopt-wrapper ./android.policy.jar ./android.policy_hacked.odex /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/framework_ext.jar[B]:/system/framework/android.policy.jar[/B]:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/sec_edm.jar:/system/framework/seccamera.jar
so i remove it and everything works fine now

Related

Need any help cm7 for t839

I try to port cm7 to T839。
the source from httpx://github.com/SunRain/android_device_samsung_sidekick4g.git
yes the source can not run .so I fix(may be fixed) anything to build it.
I use bali kernel 2.6.32 and modify init.rc
but it can not run .no logo show.
stat:
Code:
C:\Program Files\Android Commander\bin>adb logcat
--------- beginning of /dev/log/main
E/logwrapper( 2405): executing /system/bin/drexe failed: No such file or dir
ry
I/logwrapper( 2394): /system/bin/drexe terminated by exit(255)
I/DEBUG ( 2392): debuggerd: Feb 18 2012 19:38:13
D/ ( 2397): agpsd.c : Child created, Parent exits : succes
--------- beginning of /dev/log/system
I/Vold ( 2387): Vold 2.1 (the revenge) firing up
D/Vold ( 2387): Volume sdcard state changing -1 (Initializing) -> 0 (No-M
)
D/Vold ( 2387): Volume sdcard state changing -1 (Initializing) -> 0 (No-M
)
D/ ( 2417): agpsd.c : Child execution starts here
I/Netd ( 2391): Netd 1.0 starting
E/Netd ( 2391): Unable to start DnsProxyListener (No such file or directo
E/SocketListener( 2391): Obtaining file descriptor socket 'dnsproxyd' failed
such file or directory
D/Vold ( 2387): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 2387): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmou
)
I/app_process( 2395): link_image[1962]: 2406 could not load needed library
android_runtime.so' for '/system/bin/app_process' (reloc_library[1311]: 240
nnot locate '_ZN7android6Camera13getCameraInfoEiPNS_10CameraInfoE'...
I/app_process( 2395): )CANNOT LINK EXECUTABLE
I/logwrapper( 2395): /system/bin/app_process terminated by exit(255)
E/LcsClient( 2417): oem_send_ril_request: Connection Failed. (4)
E/LcsClient( 2417): oem_send_ril_request: Connection Failed. (4)
this log
Code:
I/app_process( 2395): link_image[1962]: 2406 could not load needed library
android_runtime.so' for '/system/bin/app_process' (reloc_library[1311]: 240
nnot locate '_ZN7android6Camera13getCameraInfoEiPNS_10CameraInfoE'...
Can not find the camera??
Try the t759 camera. or the 35 kernal
Sent from my SGH-T839 using XDA App
D/AndroidRuntime( 2591): >>>>>> AndroidRuntime START com.android.internal.os.Run
timeInit <<<<<<
I/AndroidRuntime( 2591): Heap size: -Xmx40m
D/AndroidRuntime( 2591): CheckJNI is ON
D/dalvikvm( 2591): creating instr width table
E/dalvikvm( 2591): Can't open dex cache '/cache/dalvik-cache/[email protected]@co
[email protected]': Permission denied
I/dalvikvm( 2591): Unable to open or create cache for /system/framework/core.jar
(/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 2591): Unable to process classpath element '/system/framework/core.j
ar'
E/dalvikvm( 2591): Can't open dex cache '/cache/dalvik-cache/[email protected]@bo
[email protected]': Permission denied
I/dalvikvm( 2591): Unable to open or create cache for /system/framework/bouncyca
stle.jar (/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 2591): Unable to process classpath element '/system/framework/bouncy
castle.jar'
E/dalvikvm( 2591): Can't open dex cache '/cache/dalvik-cache/[email protected]@ex
[email protected]': Permission denied
I/dalvikvm( 2591): Unable to open or create cache for /system/framework/ext.jar
(/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 2591): Unable to process classpath element '/system/framework/ext.ja
r'
E/dalvikvm( 2591): Can't open dex cache '/cache/dalvik-cache/[email protected]@fr
[email protected]': Permission denied
I/dalvikvm( 2591): Unable to open or create cache for /system/framework/framewor
k.jar (/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 2591): Unable to process classpath element '/system/framework/framew
ork.jar'
E/dalvikvm( 2591): Can't open dex cache '/cache/dalvik-cache/[email protected]@an
[email protected]': Permission denied
I/dalvikvm( 2591): Unable to open or create cache for /system/framework/android.
policy.jar (/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 2591): Unable to process classpath element '/system/framework/androi
I think It's wrong of rfs filesystem.

/data mounted as Read Only at boot

Hi,
My Nexus S goes on bootloop because he can't write on /data, that results to be mounted as read-only.
This problem remains for each rom I tried to flash (I tried MIUI, AOKP, Cm9, Cm10, JB OTA from CWM)
On recovery the partition is writable and works fine
Hope you can help me, thanks.
"mount" output from Recovery with everything mounted:
Code:
~ # mount
rootfs on / type rootfs (rw)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nodev,noatime,nodiratime)
/dev/block/platform/s3c-sdhci.0/by-name/userdata on /data type ext4 (rw,nodev,noatime,nodiratime,barrier=1,data=ordered)
/dev/block/platform/s3c-sdhci.0/by-name/system on /system type ext4 (rw,nodev,noatime,nodiratime,barrier=1,data=ordered)
/dev/block/platform/s3c-sdhci.0/by-name/media on /sdcard type vfat (rw,nodev,noatime,nodiratime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,errors=remount-ro)
"mount" output from Rom:
Code:
rootfs / rootfs ro,nodev,noatime,nodiratime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,nodev,noatime,nodiratime 0 0
sysfs /sys sysfs rw,nodev,noatime,nodiratime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev,noatime,nodiratime 0 0
/dev/block/mtdblock6 /efs yaffs2 rw,nosuid,nodev,noatime,nodiratime 0 0
/dev/block/platform/s3c-sdhci.0/by-name/system /system ext4 ro,nodev,noatime,nodiratime,barrier=0,data=ordered,noauto_da_alloc 0 0
/dev/block/platform/s3c-sdhci.0/by-name/userdata /data ext4 ro,nosuid,nodev,noatime,nodiratime,barrier=0,nomblk_io_submit,data=ordered,noauto_da_alloc 0 0
LOGCAT:
Code:
--------- beginning of /dev/log/main
I/DEBUG ( 77): debuggerd: May 14 2012 19:13:44
E/installd( 84): Could not create directories; exiting.
E/keystore( 85): chdir: /data/misc/keystore: No such file or directory
--------- beginning of /dev/log/system
I/Vold ( 73): Vold 2.1 (the revenge) firing up
D/Vold ( 73): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
I/Netd ( 76): Netd 1.0 starting
D/Vold ( 73): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 73): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 1, PARTN 1
D/DirectVolume( 73): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 2, PARTN 2
D/DirectVolume( 73): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 3, PARTN 3
D/Vold ( 73): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
W/Vold ( 73): Duplicate state (1)
W/Vold ( 73): Duplicate state (1)
W/Vold ( 73): Duplicate state (1)
W/Vold ( 73): Duplicate state (1)
I/ ( 81): ServiceManager: 0x1307910
D/AndroidRuntime( 80):
D/AndroidRuntime( 80): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 80): CheckJNI is OFF
I/SurfaceFlinger( 79): SurfaceFlinger is starting
I/SurfaceFlinger( 79): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
E/dalvikvm( 80): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 80): Unable to open or create cache for /system/framework/core.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 80): Unable to process classpath element '/system/framework/core.jar'
D/libEGL ( 79): loaded /system/lib/egl/libGLES_android.so
E/dalvikvm( 80): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 80): Unable to open or create cache for /system/framework/core-junit.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 80): Unable to process classpath element '/system/framework/core-junit.jar'
E/dalvikvm( 80): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 80): Unable to open or create cache for /system/framework/bouncycastle.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 80): Unable to process classpath element '/system/framework/bouncycastle.jar'
E/dalvikvm( 80): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 80): Unable to open or create cache for /system/framework/ext.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 80): Unable to process classpath element '/system/framework/ext.jar'
E/dalvikvm( 80): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 80): Unable to open or create cache for /system/framework/framework.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 80): Unable to process classpath element '/system/framework/framework.jar'
D/libEGL ( 79): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
E/dalvikvm( 80): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 80): Unable to open or create cache for /system/framework/android.policy.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 80): Unable to process classpath element '/system/framework/android.policy.jar'
E/dalvikvm( 80): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 80): Unable to open or create cache for /system/framework/services.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 80): Unable to process classpath element '/system/framework/services.jar'
E/dalvikvm( 80): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 80): Unable to open or create cache for /system/framework/apache-xml.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 80): Unable to process classpath element '/system/framework/apache-xml.jar'
E/dalvikvm( 80): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 80): Unable to open or create cache for /system/framework/filterfw.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 80): Unable to process classpath element '/system/framework/filterfw.jar'
E/dalvikvm( 80): No valid entries found in bootclasspath '/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar'
E/dalvikvm( 80): VM aborting
F/libc ( 80): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1)
I/ ( 82): ServiceManager: 0x2eb958
D/libEGL ( 79): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 79): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
I/AudioFlinger( 82): Loaded primary audio interface from LEGACY Audio HW HAL (audio)
I/AudioFlinger( 82): Using 'LEGACY Audio HW HAL' (audio.primary) as the primary audio interface
I/AudioFlinger( 82): Loaded a2dp audio interface from A2DP Audio HW HAL (audio)
D/AudioHardwareInterface( 82): setMode(NORMAL)
I/CameraService( 82): CameraService started (pid=82)
I/AudioFlinger( 82): AudioFlinger's thread 0x2ec958 ready to run
W/AudioFlinger( 82): Thread AudioOut_1 cannot connect to the power manager service
D/AudioHardware( 82): AudioStreamOutALSA::setParameters() routing=2
D/AudioHardware( 82): ### setVoiceVolume_l
I/AudioPolicyService( 82): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
I/SurfaceFlinger( 79): EGL informations:
I/SurfaceFlinger( 79): # of configs : 30
I/SurfaceFlinger( 79): vendor : Android
I/SurfaceFlinger( 79): version : 1.4 Android META-EGL
I/SurfaceFlinger( 79): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_image_native_buffer
I/SurfaceFlinger( 79): Client API: OpenGL ES
I/SurfaceFlinger( 79): EGLSurface: 8-8-8-8, config=0x1
I/SurfaceFlinger( 79): OpenGL informations:
I/SurfaceFlinger( 79): vendor : Imagination Technologies
I/SurfaceFlinger( 79): renderer : PowerVR SGX 540
I/SurfaceFlinger( 79): version : OpenGL ES-CM 1.1
I/SurfaceFlinger( 79): extensions: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_matrix_get GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_point_sprite GL_OES_point_size_array GL_OES_matrix_palette GL_OES_draw_texture GL_OES_query_matrix GL_OES_texture_env_crossbar GL_OES_texture_mirrored_repeat GL_OES_texture_cube_map GL_OES_blend_subtract GL_OES_blend_func_separate GL_OES_blend_equation_separate GL_OES_stencil_wrap GL_OES_extended_matrix_palette GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_stencil8 GL_OES_compressed_ETC1_RGB8_texture GL_OES_mapbuffer GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_multi_draw_arrays GL_OES_required_internalformat GL_IMG_read_format GL_IMG_texture_compression_pvrtc GL_IMG_texture_format_BGRA8888 GL_EXT_texture_format_BGRA8888 GL_OES_egl_sync GL_IMG_vertex_array_object
I/SurfaceFlinger( 79): GL_MAX_TEXTURE_SIZE = 2048
I/SurfaceFlinger( 79): GL_MAX_VIEWPORT_DIMS = 2048 x 2048
I/SurfaceFlinger( 79): flags = 00010000
I/hwcomposer( 79): int hwc_device_open(const hw_module_t*, const char*, hw_device_t**)::win-0 add[0] 4da5a000
I/hwcomposer( 79): int hwc_device_open(const hw_module_t*, const char*, hw_device_t**)::win-0 add[1] 4dbd1000
I/hwcomposer( 79): int hwc_device_open(const hw_module_t*, const char*, hw_device_t**)::win-0 add[2] 4dd48000
D/hwcomposer( 79): int hwc_device_open(const hw_module_t*, const char*, hw_device_t**):: success
D/libEGL ( 164): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 164): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 164): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 164): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
I/ServiceManager( 72): service 'media.audio_flinger' died
I/ServiceManager( 72): service 'media.player' died
I/ServiceManager( 72): service 'media.camera' died
I/ServiceManager( 72): service 'media.audio_policy' died
I/Netd ( 186): Netd 1.0 starting
I/ServiceManager( 164): Waiting for service media.audio_flinger...
I/ ( 185): ServiceManager: 0x1d958
I/AudioFlinger( 185): Loaded primary audio interface from LEGACY Audio HW HAL (audio)
I/AudioFlinger( 185): Using 'LEGACY Audio HW HAL' (audio.primary) as the primary audio interface
I/AudioFlinger( 185): Loaded a2dp audio interface from A2DP Audio HW HAL (audio)
D/AudioHardwareInterface( 185): setMode(NORMAL)
I/CameraService( 185): CameraService started (pid=185)
I/AudioFlinger( 185): AudioFlinger's thread 0x1e958 ready to run
W/AudioFlinger( 185): Thread AudioOut_1 cannot connect to the power manager service
D/AudioHardware( 185): AudioStreamOutALSA::setParameters() routing=2
D/AudioHardware( 185): ### setVoiceVolume_l
I/AudioPolicyService( 185): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
W/AudioFlinger( 185): Thread AudioOut_1 cannot connect to the power manager service
I/AwesomePlayer( 185): setDataSource_l('/system/media/boot_audio.mp3')
E/MediaPlayer( 164): error (1, -2147483648)
E/MediaPlayer( 164): start called in state 0
E/installd( 703): Could not create directories; exiting.
E/keystore( 704): chdir: /data/misc/keystore: No such file or directory
D/AndroidRuntime( 702):
D/AndroidRuntime( 702): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 702): CheckJNI is OFF
E/dalvikvm( 702): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 702): Unable to open or create cache for /system/framework/core.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 702): Unable to process classpath element '/system/framework/core.jar'
E/dalvikvm( 702): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 702): Unable to open or create cache for /system/framework/core-junit.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 702): Unable to process classpath element '/system/framework/core-junit.jar'
E/dalvikvm( 702): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 702): Unable to open or create cache for /system/framework/bouncycastle.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 702): Unable to process classpath element '/system/framework/bouncycastle.jar'
E/dalvikvm( 702): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 702): Unable to open or create cache for /system/framework/ext.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 702): Unable to process classpath element '/system/framework/ext.jar'
E/dalvikvm( 702): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 702): Unable to open or create cache for /system/framework/framework.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 702): Unable to process classpath element '/system/framework/framework.jar'
E/dalvikvm( 702): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 702): Unable to open or create cache for /system/framework/android.policy.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 702): Unable to process classpath element '/system/framework/android.policy.jar'
E/dalvikvm( 702): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 702): Unable to open or create cache for /system/framework/services.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 702): Unable to process classpath element '/system/framework/services.jar'
E/dalvikvm( 702): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 702): Unable to open or create cache for /system/framework/apache-xml.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 702): Unable to process classpath element '/system/framework/apache-xml.jar'
E/dalvikvm( 702): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 702): Unable to open or create cache for /system/framework/filterfw.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 702): Unable to process classpath element '/system/framework/filterfw.jar'
E/dalvikvm( 702): No valid entries found in bootclasspath '/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar'
E/dalvikvm( 702): VM aborting
EDIT:
I've tried to restore my phone to stock through fastboot.
Result: Phone not booting and from CWM I am getting "Unable to mount system (invalid argument)"
(((
M4iden_Rul3z said:
Hi,
My Nexus S goes on bootloop because he can't write on /data, that results to be mounted as read-only.
This problem remains for each rom I tried to flash (I tried MIUI, AOKP, Cm9, Cm10, JB OTA from CWM)
On recovery the partition is writable and works fine
Hope you can help me, thanks.
"mount" output from Recovery with everything mounted:
Code:
~ # mount
rootfs on / type rootfs (rw)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nodev,noatime,nodiratime)
/dev/block/platform/s3c-sdhci.0/by-name/userdata on /data type ext4 (rw,nodev,noatime,nodiratime,barrier=1,data=ordered)
/dev/block/platform/s3c-sdhci.0/by-name/system on /system type ext4 (rw,nodev,noatime,nodiratime,barrier=1,data=ordered)
/dev/block/platform/s3c-sdhci.0/by-name/media on /sdcard type vfat (rw,nodev,noatime,nodiratime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,errors=remount-ro)
"mount" output from Rom:
Code:
rootfs / rootfs ro,nodev,noatime,nodiratime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,nodev,noatime,nodiratime 0 0
sysfs /sys sysfs rw,nodev,noatime,nodiratime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev,noatime,nodiratime 0 0
/dev/block/mtdblock6 /efs yaffs2 rw,nosuid,nodev,noatime,nodiratime 0 0
/dev/block/platform/s3c-sdhci.0/by-name/system /system ext4 ro,nodev,noatime,nodiratime,barrier=0,data=ordered,noauto_da_alloc 0 0
/dev/block/platform/s3c-sdhci.0/by-name/userdata /data ext4 ro,nosuid,nodev,noatime,nodiratime,barrier=0,nomblk_io_submit,data=ordered,noauto_da_alloc 0 0
LOGCAT:
Code:
--------- beginning of /dev/log/main
I/DEBUG ( 77): debuggerd: May 14 2012 19:13:44
E/installd( 84): Could not create directories; exiting.
E/keystore( 85): chdir: /data/misc/keystore: No such file or directory
--------- beginning of /dev/log/system
I/Vold ( 73): Vold 2.1 (the revenge) firing up
D/Vold ( 73): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
I/Netd ( 76): Netd 1.0 starting
D/Vold ( 73): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 73): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 1, PARTN 1
D/DirectVolume( 73): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 2, PARTN 2
D/DirectVolume( 73): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 3, PARTN 3
D/Vold ( 73): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
W/Vold ( 73): Duplicate state (1)
W/Vold ( 73): Duplicate state (1)
W/Vold ( 73): Duplicate state (1)
W/Vold ( 73): Duplicate state (1)
I/ ( 81): ServiceManager: 0x1307910
D/AndroidRuntime( 80):
D/AndroidRuntime( 80): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 80): CheckJNI is OFF
I/SurfaceFlinger( 79): SurfaceFlinger is starting
I/SurfaceFlinger( 79): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
E/dalvikvm( 80): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 80): Unable to open or create cache for /system/framework/core.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 80): Unable to process classpath element '/system/framework/core.jar'
D/libEGL ( 79): loaded /system/lib/egl/libGLES_android.so
E/dalvikvm( 80): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 80): Unable to open or create cache for /system/framework/core-junit.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 80): Unable to process classpath element '/system/framework/core-junit.jar'
E/dalvikvm( 80): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 80): Unable to open or create cache for /system/framework/bouncycastle.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 80): Unable to process classpath element '/system/framework/bouncycastle.jar'
E/dalvikvm( 80): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 80): Unable to open or create cache for /system/framework/ext.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 80): Unable to process classpath element '/system/framework/ext.jar'
E/dalvikvm( 80): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 80): Unable to open or create cache for /system/framework/framework.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 80): Unable to process classpath element '/system/framework/framework.jar'
D/libEGL ( 79): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
E/dalvikvm( 80): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 80): Unable to open or create cache for /system/framework/android.policy.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 80): Unable to process classpath element '/system/framework/android.policy.jar'
E/dalvikvm( 80): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 80): Unable to open or create cache for /system/framework/services.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 80): Unable to process classpath element '/system/framework/services.jar'
E/dalvikvm( 80): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 80): Unable to open or create cache for /system/framework/apache-xml.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 80): Unable to process classpath element '/system/framework/apache-xml.jar'
E/dalvikvm( 80): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 80): Unable to open or create cache for /system/framework/filterfw.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 80): Unable to process classpath element '/system/framework/filterfw.jar'
E/dalvikvm( 80): No valid entries found in bootclasspath '/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar'
E/dalvikvm( 80): VM aborting
F/libc ( 80): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1)
I/ ( 82): ServiceManager: 0x2eb958
D/libEGL ( 79): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 79): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
I/AudioFlinger( 82): Loaded primary audio interface from LEGACY Audio HW HAL (audio)
I/AudioFlinger( 82): Using 'LEGACY Audio HW HAL' (audio.primary) as the primary audio interface
I/AudioFlinger( 82): Loaded a2dp audio interface from A2DP Audio HW HAL (audio)
D/AudioHardwareInterface( 82): setMode(NORMAL)
I/CameraService( 82): CameraService started (pid=82)
I/AudioFlinger( 82): AudioFlinger's thread 0x2ec958 ready to run
W/AudioFlinger( 82): Thread AudioOut_1 cannot connect to the power manager service
D/AudioHardware( 82): AudioStreamOutALSA::setParameters() routing=2
D/AudioHardware( 82): ### setVoiceVolume_l
I/AudioPolicyService( 82): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
I/SurfaceFlinger( 79): EGL informations:
I/SurfaceFlinger( 79): # of configs : 30
I/SurfaceFlinger( 79): vendor : Android
I/SurfaceFlinger( 79): version : 1.4 Android META-EGL
I/SurfaceFlinger( 79): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_image_native_buffer
I/SurfaceFlinger( 79): Client API: OpenGL ES
I/SurfaceFlinger( 79): EGLSurface: 8-8-8-8, config=0x1
I/SurfaceFlinger( 79): OpenGL informations:
I/SurfaceFlinger( 79): vendor : Imagination Technologies
I/SurfaceFlinger( 79): renderer : PowerVR SGX 540
I/SurfaceFlinger( 79): version : OpenGL ES-CM 1.1
I/SurfaceFlinger( 79): extensions: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_matrix_get GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_point_sprite GL_OES_point_size_array GL_OES_matrix_palette GL_OES_draw_texture GL_OES_query_matrix GL_OES_texture_env_crossbar GL_OES_texture_mirrored_repeat GL_OES_texture_cube_map GL_OES_blend_subtract GL_OES_blend_func_separate GL_OES_blend_equation_separate GL_OES_stencil_wrap GL_OES_extended_matrix_palette GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_stencil8 GL_OES_compressed_ETC1_RGB8_texture GL_OES_mapbuffer GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_multi_draw_arrays GL_OES_required_internalformat GL_IMG_read_format GL_IMG_texture_compression_pvrtc GL_IMG_texture_format_BGRA8888 GL_EXT_texture_format_BGRA8888 GL_OES_egl_sync GL_IMG_vertex_array_object
I/SurfaceFlinger( 79): GL_MAX_TEXTURE_SIZE = 2048
I/SurfaceFlinger( 79): GL_MAX_VIEWPORT_DIMS = 2048 x 2048
I/SurfaceFlinger( 79): flags = 00010000
I/hwcomposer( 79): int hwc_device_open(const hw_module_t*, const char*, hw_device_t**)::win-0 add[0] 4da5a000
I/hwcomposer( 79): int hwc_device_open(const hw_module_t*, const char*, hw_device_t**)::win-0 add[1] 4dbd1000
I/hwcomposer( 79): int hwc_device_open(const hw_module_t*, const char*, hw_device_t**)::win-0 add[2] 4dd48000
D/hwcomposer( 79): int hwc_device_open(const hw_module_t*, const char*, hw_device_t**):: success
D/libEGL ( 164): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 164): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 164): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 164): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
I/ServiceManager( 72): service 'media.audio_flinger' died
I/ServiceManager( 72): service 'media.player' died
I/ServiceManager( 72): service 'media.camera' died
I/ServiceManager( 72): service 'media.audio_policy' died
I/Netd ( 186): Netd 1.0 starting
I/ServiceManager( 164): Waiting for service media.audio_flinger...
I/ ( 185): ServiceManager: 0x1d958
I/AudioFlinger( 185): Loaded primary audio interface from LEGACY Audio HW HAL (audio)
I/AudioFlinger( 185): Using 'LEGACY Audio HW HAL' (audio.primary) as the primary audio interface
I/AudioFlinger( 185): Loaded a2dp audio interface from A2DP Audio HW HAL (audio)
D/AudioHardwareInterface( 185): setMode(NORMAL)
I/CameraService( 185): CameraService started (pid=185)
I/AudioFlinger( 185): AudioFlinger's thread 0x1e958 ready to run
W/AudioFlinger( 185): Thread AudioOut_1 cannot connect to the power manager service
D/AudioHardware( 185): AudioStreamOutALSA::setParameters() routing=2
D/AudioHardware( 185): ### setVoiceVolume_l
I/AudioPolicyService( 185): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
W/AudioFlinger( 185): Thread AudioOut_1 cannot connect to the power manager service
I/AwesomePlayer( 185): setDataSource_l('/system/media/boot_audio.mp3')
E/MediaPlayer( 164): error (1, -2147483648)
E/MediaPlayer( 164): start called in state 0
E/installd( 703): Could not create directories; exiting.
E/keystore( 704): chdir: /data/misc/keystore: No such file or directory
D/AndroidRuntime( 702):
D/AndroidRuntime( 702): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 702): CheckJNI is OFF
E/dalvikvm( 702): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 702): Unable to open or create cache for /system/framework/core.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 702): Unable to process classpath element '/system/framework/core.jar'
E/dalvikvm( 702): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 702): Unable to open or create cache for /system/framework/core-junit.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 702): Unable to process classpath element '/system/framework/core-junit.jar'
E/dalvikvm( 702): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 702): Unable to open or create cache for /system/framework/bouncycastle.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 702): Unable to process classpath element '/system/framework/bouncycastle.jar'
E/dalvikvm( 702): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 702): Unable to open or create cache for /system/framework/ext.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 702): Unable to process classpath element '/system/framework/ext.jar'
E/dalvikvm( 702): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 702): Unable to open or create cache for /system/framework/framework.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 702): Unable to process classpath element '/system/framework/framework.jar'
E/dalvikvm( 702): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 702): Unable to open or create cache for /system/framework/android.policy.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 702): Unable to process classpath element '/system/framework/android.policy.jar'
E/dalvikvm( 702): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 702): Unable to open or create cache for /system/framework/services.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 702): Unable to process classpath element '/system/framework/services.jar'
E/dalvikvm( 702): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 702): Unable to open or create cache for /system/framework/apache-xml.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 702): Unable to process classpath element '/system/framework/apache-xml.jar'
E/dalvikvm( 702): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 702): Unable to open or create cache for /system/framework/filterfw.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 702): Unable to process classpath element '/system/framework/filterfw.jar'
E/dalvikvm( 702): No valid entries found in bootclasspath '/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar'
E/dalvikvm( 702): VM aborting
EDIT:
I've tried to restore my phone to stock through fastboot.
Result: Phone not booting and from CWM I am getting "Unable to mount system (invalid argument)"
(((
Click to expand...
Click to collapse
Recently this happened to Many users... to myself was it that /sdcard/ or internal storage didn't mount. i think its the same issue...
After all my device ended getting bricked by force since it made me so mad, there ain't a way to fix this as i tried, yet i wish You luck finding a solution!
-Moon
same problem
Sorry for bumping an old thread but recently I have been experiencing the same problem on my SGS2, after some time after startup, the data partition gets mounted as ro and I am forced to reboot.
I am running CM9 stable for SGS2
Has anyone found a fix for this? This is really crucial.
I believe this may have to do with the linux kernel as someone on the ubuntu forums mentions this happens similarly on his desktop computer and formatting the partition seems to fix it.

help for porting rom

I was trying to port this xperia rom to galaxy sl 19003 http://forum.xda-developers.com/showthread.php?t=1827071 here is the logcat
?:??: W/?(?): --------- beginning of /dev/log/main
01-01 00:09:24.578: I/cm(1378): Welcome to Android 4.0.4 / CyanogenMod-9-20121008-UNOFFICIAL-galaxysl
01-01 00:09:24.585: I/cm(1379): _
01-01 00:09:24.585: I/cm(1380): __ __ _ ___ _ _ __ ___ __ _ _ _ _ __ __))
01-01 00:09:24.593: I/cm(1381): ((_ \(/'((_( ((\( ((_)((_( (('((\( ((`1( ((_)((_(
01-01 00:09:24.593: I/cm(1382): )) _))
01-01 00:09:24.601: I/cm(1383):
01-01 00:09:24.703: I/DEBUG(1390): debuggerd: Oct 8 2012 15:41:26
01-01 00:09:24.703: I/DEBUG(1390): --------- beginning of /dev/log/system
01-01 00:09:25.250: I/Vold(1386): Vold 2.1 (the revenge) firing up
01-01 00:09:25.382: I/Netd(1389): Netd 1.0 starting
01-01 00:09:25.515: D/Vold(1386): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
01-01 00:09:25.515: D/Vold(1386): Volume emmc state changing -1 (Initializing) -> 0 (No-Media)
01-01 00:09:25.695: I/(1394): ServiceManager: 0x18910
01-01 00:09:26.000: D/Vold(1386): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
01-01 00:09:26.007: D/DirectVolume(1386): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 1, PARTN 1
01-01 00:09:26.007: D/DirectVolume(1386): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 2, PARTN 2
01-01 00:09:26.007: D/DirectVolume(1386): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 3, PARTN 3
01-01 00:09:26.007: D/DirectVolume(1386): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 4, PARTN 4
01-01 00:09:26.007: D/Vold(1386): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
01-01 00:09:30.062: I/Netd(1559): Netd 1.0 starting
01-01 00:09:34.531: I/Netd(1585): Netd 1.0 starting
01-01 00:09:40.031: I/Netd(1608): Netd 1.0 starting
the netd service wont start and no bootanimation
Hey PM me I am also trying.
netd service is not starting I cant figure out the problem I ported this rom in the same way as I ported flyme os
is anyone willing to help me
guys please anyone help
Hope that i can do that
Sent from my GT-I9003 using xda app-developers app

Problem after Boot [p720 with Su870-Image]

Hey Hey
i got this error on Logcat, has anyone an idea ?
see screenshoot
MasterTobi said:
Hey Hey
i got this error on Logcat, has anyone an idea ?
see screenshoot
Click to expand...
Click to collapse
surfaceflinger is the prob is egl.cfg in /system/lib/egl?
ok can check it first 17:30am german time
but first off all thx
so thx now all work but i have only a loop in netd 1.0 starting
so they can´t boot the phone any idea ?
MasterTobi said:
so thx now all work but i have only a loop in netd 1.0 starting
so they can´t boot the phone any idea ?
Click to expand...
Click to collapse
i dunno whats up with no logcat but you can use my build/zip/updater-script
to make your rom
and where is it
btw here logcat
?:??: W/?(?): --------- beginning of /dev/log/main
01-01 01:07:31.867: I/DEBUG(152): debuggerd: Apr 8 2013 14:11:59
01-01 01:07:31.992: D/AT_handler Daemon(161): AP_at_handler_main_function_V20110623
01-01 01:07:31.992: D/AT_handler Daemon(161): --------- beginning of /dev/log/system
01-01 01:07:31.992: I/Vold(145): Vold 2.1 (the revenge) firing up
01-01 01:07:32.000: D/AT_handler Daemon(161): Init_PCSync Start
01-01 01:07:32.000: D/AT_handler Daemon(161): device open /dev/input/event0
01-01 01:07:32.000: D/AT_handler Daemon(161): gspapa:: get device name mpu-accel
01-01 01:07:32.023: I/Netd(151): Netd 1.0 starting
01-01 01:07:32.046: D/Vold(145): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
01-01 01:07:32.046: D/Vold(145): Volume extsdcard state changing -1 (Initializing) -> 0 (No-Media)
01-01 01:07:32.070: D/AT_handler Daemon(161): device open /dev/input/event1
01-01 01:07:32.070: D/AT_handler Daemon(161): gspapa:: get device name modem_watcher
01-01 01:07:32.085: I/lgdrmserver(149): Start lgsecclkserver
01-01 01:07:32.085: E/SecClk(149): LibInitSecClkInfo() : Fail to open info file
01-01 01:07:32.085: E/SecClk(149): LibInitSecClkInfo() : Fail to open info file
01-01 01:07:32.093: D/Vold(145): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
01-01 01:07:32.093: D/Vold(145): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
01-01 01:07:32.093: W/Vold(145): Duplicate state (1)
01-01 01:07:32.093: W/Vold(145): Duplicate state (1)
01-01 01:07:32.093: W/Vold(145): Duplicate state (1)
01-01 01:07:32.093: W/Vold(145): Duplicate state (1)
01-01 01:07:32.093: D/Vold(145): Volume extsdcard state changing 0 (No-Media) -> 2 (Pending)
01-01 01:07:32.093: D/Vold(145): Volume extsdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
01-01 01:07:32.125: I/lgdrmserver(150): Start lgdrmserver
01-01 01:07:32.125: E/LGDRM(150): [DRMERR] drmLibGetFlexInfo() : Fail to read OpCode
01-01 01:07:32.132: D/AT_handler Daemon(161): device open /dev/input/event2
01-01 01:07:32.132: D/AT_handler Daemon(161): gspapa:: get device name omap4-keypad
01-01 01:07:32.132: I/LGDRM(150): [DRM] DRMAgent_Init() : Entering
01-01 01:07:32.132: E/LGDRM(150): [DRMERR] drmUtilCheckFolder() : Fail to create folder /persist-lg/lgdrm
01-01 01:07:32.156: E/NV_DATA(160): [NVD] main
01-01 01:07:32.187: D/AT_handler Daemon(161): device open /dev/input/event3
01-01 01:07:32.187: D/AT_handler Daemon(161): gspapa:: get device name touch_dev
01-01 01:07:32.195: V/IMGSRV(146): Succesfully loaded gfx modules
01-01 01:07:32.250: D/AT_handler Daemon(161): device open /dev/input/event4
01-01 01:07:32.250: D/AT_handler Daemon(161): gspapa:: get device name twl6030_pwrbutton
01-01 01:07:32.265: V/IMGSRV(146): pvrsrvinit complete
01-01 01:07:32.273: I/Netd(220): Netd 1.0 starting
01-01 01:07:32.296: D/AT_handler Daemon(161): device open /dev/input/event5
01-01 01:07:32.296: D/AT_handler Daemon(161): gspapa:: get device name proximity
01-01 01:07:32.351: D/AT_handler Daemon(161): device open /dev/input/event6
01-01 01:07:32.351: D/AT_handler Daemon(161): gspapa:: get device name als
01-01 01:07:32.507: D/AT_handler Daemon(161): device open /dev/input/event7
01-01 01:07:32.507: D/AT_handler Daemon(161): gspapa:: get device name u2 Headset Jack
01-01 01:07:32.757: D/AT_handler Daemon(161): device open /dev/input/event8
01-01 01:07:32.757: D/AT_handler Daemon(161): gspapa:: get device name suspend_autotest_pwrkey
01-01 01:07:33.007: D/AT_handler Daemon(161): could not open /dev/input/event9, No such file or directory
01-01 01:07:33.007: D/AT_handler Daemon(161): AT Command Thread Started
01-01 01:07:33.007: D/AT_handler Daemon(161): USB Dis-Connect Count = 0
01-01 01:07:33.007: D/AT_handler Daemon(161): USB Connect Count = 1
01-01 01:07:33.007: D/AT_handler Daemon(161): usbfd is opned : 7
01-01 01:07:33.007: D/AT_handler Daemon(161): USB Cable STATUS: CDC
01-01 01:07:33.007: D/AT_handler Daemon(161): after timeout
01-01 01:07:33.007: D/AT_handler Daemon(161): before read usb port
01-01 01:07:33.007: D/AT_handler Daemon(161): usbfd = 7
01-01 01:07:33.007: D/AT_handler Daemon(161): buffer size = 513
01-01 01:07:37.453: I/Netd(561): Netd 1.0 starting
01-01 01:07:42.593: I/Netd(591): Netd 1.0 starting
01-01 01:07:47.718: I/Netd(621): Netd 1.0 starting
01-01 01:07:52.851: I/Netd(651): Netd 1.0 starting
01-01 01:07:57.000: I/Netd(679): Netd 1.0 starting
01-01 01:08:02.164: I/Netd(711): Netd 1.0 starting
01-01 01:08:07.343: I/Netd(753): Netd 1.0 starting
01-01 01:08:12.531: I/Netd(785): Netd 1.0 starting
01-01 01:08:17.679: I/Netd(815): Netd 1.0 starting
01-01 01:08:22.851: I/Netd(846): Netd 1.0 starting
01-01 01:08:26.976: I/Netd(874): Netd 1.0 starting
01-01 01:08:32.148: I/Netd(905): Netd 1.0 starting
01-01 01:08:37.375: I/Netd(948): Netd 1.0 starting
01-01 01:08:42.531: I/Netd(979): Netd 1.0 starting
01-01 01:08:47.695: I/Netd(1009): Netd 1.0 starting
01-01 01:08:52.859: I/Netd(1040): Netd 1.0 starting
01-01 01:08:56.992: I/Netd(1068): Netd 1.0 starting
01-01 01:09:02.125: I/Netd(1098): Netd 1.0 starting
01-01 01:09:07.367: I/Netd(1142): Netd 1.0 starting
01-01 01:09:12.507: I/Netd(1172): Netd 1.0 starting
01-01 01:09:17.664: I/Netd(1202): Netd 1.0 starting
01-01 01:09:22.828: I/Netd(1232): Netd 1.0 starting
01-01 01:09:26.960: I/Netd(1260): Netd 1.0 starting
: E/(): Device disconnected

Android TV 6.0 integrate with usb 4g module problem

Hi all
I' m working with android TV 6.0, I need a usb 4g module work on it,link is http://m.simcomm2m.com/module/detail.aspx?id=150
I followed the official doc and driver, and I got these output from uart:
[ 4442.176000] usb 1-1: new high-speed USB device number 3 using Mstar-ehci-2
[ 4442.380000] usb 1-1: New USB device found, idVendor=1e0e, idProduct=9001
[ 4442.388000] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4442.392000] usb 1-1: Product: SimTech, Incorporated
[ 4442.400000] usb 1-1: Manufacturer: SimTech, Incorporated
[ 4442.404000] usb 1-1: SerialNumber: 0123456789ABCDEF
[ 4442.416000] option 1-1:1.0: GSM modem (1-port) converter detected
[ 4442.424000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 4442.432000] option 1-1:1.1: GSM modem (1-port) converter detected
[ 4442.440000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 4442.448000] option 1-1:1.2: GSM modem (1-port) converter detected
[ 4442.456000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 4442.460000] option 1-1:1.3: GSM modem (1-port) converter detected
[ 4442.468000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
[ 4442.476000] option 1-1:1.4: GSM modem (1-port) converter detected
[ 4442.484000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB4
I also got some error output:
01-01 21:36:2[ 5784.908000] init: Service 'ril-daemon' (pid 7649) killing any children in process group
1.963 7649 7649 D RILD : **RILd param count=3**
01-01 21:36:21.963 7649 7649 D use-Rlog/RLOG-RILD: simcom rilLibPath=/system/lib/libreference-ril.so
01-01 21:36:21.964 7649 7649 D RILD : RIL_Init argc = 3 clientId = 0
01-01 21:36:21.964 7649 7649 D use-Rlog/RLOG-RIL_SIMCOM: simcom android60 ril_init
01-01 21:36:21.964 7649 7649 I RIL_SIMCOM: Client id received 0
01-01 21:36:21.964 7649 7651 I use-Rlog/RLOG-RIL_RUNTIME: 3G modem monitor thread is start
01-01 21:36:21.965 7649 7649 D use-Rlog/RLOG-RIL_RUNTIME: [1e0e:9001],atport=/dev/ttyUSB2,dataport=/dev/ttyUSB3,gpsport=/dev/ttyUSB1
01-01 21:36:21.965 7649 7649 D use-Rlog/RLOG-RIL_SIMCOM: ref get runtime port = /dev/ttyUSB2
01-01 21:36:21.965 7649 7649 D use-Rlog/RLOG-RIL_SIMCOM: at port use dynamic = /dev/ttyUSB2
01-01 21:36:21.965 7649 7649 I use-Rlog/RLOG-RIL_SIMCOM: RIL_Init tty device: /dev/ttyUSB2
01-01 21:36:21.965 7649 7649 D RILD : RIL_Init rilInit completed
01-01 21:36:21.965 7649 7649 I RILC : SIM_COUNT: 1
01-01 21:36:21.965 7649 7649 E RILC : RIL_register: RIL version 11
01-01 21:36:21.965 7649 7649 I RILC : s_registerCalled flag set, 1
01-01 21:36:21.965 7649 7652 E use-Rlog/RLOG-RIL_SIMCOM: open devices: /dev/ttyUSB2
01-01 21:36:21.965 7649 7649 I RILC : Start to listen RIL_SOCKET_1
01-01 21:36:21.966 7649 7649 D RILD : RIL_Init RIL_register completed
01-01 21:36:21.966 7649 7649 D RILD : RIL_register_socket completed
01-01 21:36:21.966 7649 7649 D RILD : RIL_Init starting sleep loop
01-01 21:36:21.967 7649 7652 E use-Rlog/RLOG-RIL_SIMCOM: open ok, init it.
01-01 21:36:21.967 7649 7653 D AT : AT< OK
01-01 21:36:21.967 7649 7650 D RIL_SIMCOM: setRadioState(0)
01-01 21:36:21.967 7649 7654 D use-Rlog/RLOG-AT: pppcheckLoop start
01-01 21:36:21.967 7649 7654 E use-Rlog/RLOG-AT: Failed to get socket 'rild-ppp' errno:0
01-01 21:36:21.967 7649 7650 D use-Rlog/RLOG-RIL_SIMCOM: get currentState = 0
01-01 21:36:21.967 7649 7650 D use-Rlog/RLOG-RIL_SIMCOM: handshake start
01-01 21:36:21.967 7649 7650 D AT : AT> ATE0Q0V1
^C
130|[email protected]:/ # [ 5789.920000] init: Starting service 'ril-daemon'...
[ 5789.944000] init: Service 'ril-daemon' (pid 7655) exited with status 255
[ 5789.952000] init: Service 'ril-daemon' (pid 7655) killing any children in process group
[ 5794.964000] init: Starting service 'ril-daemon'...
[ 5794.988000] init: Service 'ril-daemon' (pid 7661) exited with status 255
[ 5794.992000] init: Service 'ril-daemon' (pid 7661) killing any children in process group
[ 5799.004000] init: Starting service 'ril-daemon'...
[ 5799.028000] init: Service 'ril-daemon' (pid 7667) exited with status 255
[ 5799.032000] init: Service 'ril-daemon' (pid 7667) killing any children in process group
My question is:
1) I asked some android developers, is android tv version cut the 4g or mobile network?, because I cann't find any menu in Setting, see Attach Files.
Do I need modify android TV source to enable 4g or mobile network?
2) What do I need to do if I want to integrated a usb 4g module in android TV 6.0 version.
Thanks.

Categories

Resources