Ok here is the issue. I am trying to get my phone to load a init.d script during boot. This script is to swap the /data/media folder withe /sdcard folder so that my phone uses the sdcard as my internal memory for loading apps. This script has worked on other ROMs that I have used it on, however right now it is not working at boot time.
I have verified that my init.d scripts are loading and working without a problem. If I have it generate a file while booting based on a script it will do so. I have also verified that if I run the script using either sManager or the standard Linux Script Handler built into Root Explorer that the following code will run and work correctly.
Code:
busybox mount -o remount,rw /
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:33 /mnt/sdcard
busybox mount -t exfat -o umask=0000 /dev/block/vold/179:33 /mnt/sdcard
if busybox mount | busybox grep vold/179:33; then
busybox mount -o bind /data/media /mnt/extSdCard
fi
I have attached a copy of my device boot via adb logcat. I can see where it appears that the lines of code in this script are being executed, unfortunately though something is failing and it is not working. This little snippet of the log is where I think the problem may be, however I know nothing about how to read these logs:
Code:
D/MountService( 772): externalstorage_lock_state =
D/AudioStreamOutALSA( 197): standby
D/ALSAModule( 197): s_standby: handle 0x421eace8 h 0x0
E/ALSAModule( 197): s_standby handle h 0x4229fc50
I/MountService( 772): doMountVolume: Mouting /storage/extSdCard
W/System.err( 772): at com.android.server.enterprise.EnterpriseDeviceManagerService$2.run(EnterpriseDeviceManagerService.java:770)
W/System.err( 772): at android.os.Handler.handleCallback(Handler.java:615)
W/System.err( 772): at android.os.Handler.dispatchMessage(Handler.java:92)
D/MtpService( 1069): onStorageStateChanged /storage/extSdCard unmounted -> checking
D/VoldCmdListener( 178): volume mount /storage/extSdCard
I/Vold ( 178): /dev/block/vold/179:33 being considered for volume sdcard
D/Vold ( 178): Volume sdcard state changing 1 (Idle-Unmounted) -> 3 (Checking)
I/MountService( 772): onEvent:: raw= 605 Volume sdcard /storage/extSdCard state changed from 1 (Idle-Unmounted) to 3 (Checking) cooked = 605 Volume sdcard /storage/extSdCard state changed from 1 (Idle-Unmounted) to 3 (Checking)
I/MountService( 772): updating volume state checking
D/MountService( 772): updatePublicVolumeState :: path = /storage/extSdCard, state = checking
D/MountService( 772): volume state changed for /storage/extSdCard (unmounted -> checking)
I/StorageNotification( 932): Media {/storage/extSdCard} state changed from {unmounted} -> {checking}
I/MountService( 772): notifyVolumeStateChanged:: path = /storage/extSdCard,old = unmounted,new = checking
D/MountService( 772): sendStorageIntent Intent { act=android.intent.action.MEDIA_CHECKING dat=file:///storage/extSdCard (has extras) }
D/StorageNotification( 932): setMediaStorageNotification : notify id = -535891041, path = /storage/extSdCard, title = Preparing SD card
D/ApplicationPolicy( 772): isStatusBarNotificationAllowed: packageName = com.android.systemui
D/ActivityThread( 1561): setTargetHeapUtilization:0.25
D/ActivityThread( 1561): setTargetHeapIdealFree:8388608
D/ActivityThread( 1561): setTargetHeapConcurrentStart:2097152
W/System.err( 772): at android.os.Looper.loop(Looper.java:137)
W/System.err( 772): at android.os.HandlerThread.run(HandlerThread.java:60)
W/System.err( 772): Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
W/System.err( 772): at libcore.io.Posix.open(Native Method)
W/System.err( 772): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
Any insight that can be given to me would be extremely appreciated. Thank you.
Bump.......Anything?
vMAC said:
Bump.......Anything?
Click to expand...
Click to collapse
Weekend bump.
Related
Do anyone think it is possible to run Sense + Gingerbread on our aria ?
or
can we just flash Wildfire S Rom in our aria ? cause the hardware is very similar !
zhuoyang said:
Do anyone think it is possible to run Sense + Gingerbread on our aria ?
or
can we just flash Wildfire S Rom in our aria ? cause the hardware is very similar !
Click to expand...
Click to collapse
The leaked Wildfire S ROM that is suppose to have Gingerbread + Sense appears to need more space allocated to the /system partition than the Aria currently has. My attempts to build a custom ROM using the Wildfire S ROM pieces have all failed when flashing the /system partition.
they have one booted on the legend
try using that one?
yeah, legend have booted wildfire s rom so our aria sure can!
just need to try legend rom works on our aria!
its not just that might need kernel changes too to get it to boot.
in the thread he said its the same kernel that the leak came with
drowningchild said:
in the thread he said its the same kernel that the leak came with
Click to expand...
Click to collapse
Hi drowningchild, can we have that link? I have flashed a version of the ROM, basically I deleted a lot of "bloat-ware", but I didn't boot...maybe kernel changes will be necessary...eitherway I would like to try that version...thanks.
http://forum.xda-developers.com/showthread.php?t=987251&page=2
drowningchild said:
http://forum.xda-developers.com/showthread.php?t=987251&page=2
Click to expand...
Click to collapse
Trying this install now . . . .
Did normal install (wipe/...)
Clockwork install -
Reboot -
Just frozen on the HTC screen (white) - had to pull battery and recovery back.
script is supposed to be edify did you use cwm3?
plus sdcard wont work unless you replace the vold.fstab in /system/etc
drowningchild said:
script is supposed to be edify did you use cwm3?
plus sdcard wont work unless you replace the vold.fstab in /system/etc
Click to expand...
Click to collapse
Hmm, isn't the CM7 upgrade script edify-ed already ? according to the syntax I've seen, it looks to me that is the case....I may be completely wrong though...
I was able to flash the zip file using CWR 2.5.0.1. without problems, I just couldn't get pass the "HTC" white screen.
Then I changed vold.fstab file and the boot.img file with the ones the CM7 ROM comes with and it got up to the "quietly brilliant" boot animation, but then it starts looping...according to this it may seem like we would not need CWR3 to have it flashed, but we may need to look at the kernel or whatever it causing the loop...
I avow as of today I do not have the knowledge to do this, so I leave it up to you more experienced guys...let me know if you want my zip file...
Btw, I just plugged in my data cable and I get a root shell display, logcat displays a lot of information very similar to the one I got when trying to install Gene Pole's Liberated ROM without having wiped data...and yes, just in case you ask yourselves I have wiped data, cache, sd-ext, dalvik, etc, all that can be wiped before I flashed...
For example I get this running a couple of commands while the boot animation is looping
# mount
mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 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
tmpfs /app-cache tmpfs rw,relatime,size=8192k 0 0
/dev/block/mtdblock3 /system yaffs2 ro,relatime 0 0
/dev/block/mtdblock5 /data yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
# df
df
/dev: 149184K total, 32K used, 149152K available (block size 4096)
/mnt/asec: 149184K total, 0K used, 149184K available (block size 4096)
/mnt/obb: 149184K total, 0K used, 149184K available (block size 4096)
/app-cache: 8192K total, 0K used, 8192K available (block size 4096)
/system: 245760K total, 196104K used, 49656K available (block size 4096)
/data: 189568K total, 71132K used, 118436K available (block size 4096)
/cache: 40960K total, 1212K used, 39748K available (block size 4096)
*****************************
$$$ An extract of logcat messages $$$
*****************************
# logcat *:E
logcat *:E
--------- beginning of /dev/log/system
E/AndroidRuntime( 2242): *** FATAL EXCEPTION IN SYSTEM PROCESS: WindowManagerPolicy
E/AndroidRuntime( 2242): java.lang.NoClassDefFoundError: com.htc.res.HtcResources
E/AndroidRuntime( 2242): at com.android.internal.policy.impl.KeyguardUpdateMonitor.<init>(KeyguardUpdateMonitor.java:226)
E/AndroidRuntime( 2242): at com.android.internal.policy.impl.KeyguardViewMediator.<init>(KeyguardViewMediator.java:316)
E/AndroidRuntime( 2242): at com.android.internal.policy.impl.PhoneWindowManager.init(PhoneWindowManager.java:707)
E/AndroidRuntime( 2242): at com.android.server.WindowManagerService$PolicyThread.run(WindowManagerService.java:637)
E/AndroidRuntime( 2298): *** FATAL EXCEPTION IN SYSTEM PROCESS: WindowManagerPolicy
E/AndroidRuntime( 2298): java.lang.NoClassDefFoundError: com.htc.res.HtcResources
E/AndroidRuntime( 2298): at com.android.internal.policy.impl.KeyguardUpdateMonitor.<init>(KeyguardUpdateMonitor.java:226)
E/AndroidRuntime( 2298): at com.android.internal.policy.impl.KeyguardViewMediator.<init>(KeyguardViewMediator.java:316)
E/AndroidRuntime( 2298): at com.android.internal.policy.impl.PhoneWindowManager.init(PhoneWindowManager.java:707)
E/AndroidRuntime( 2298): at com.android.server.WindowManagerService$PolicyThread.run(WindowManagerService.java:637)
--------- beginning of /dev/log/main
E/AndroidRuntime( 2354): *** FATAL EXCEPTION IN SYSTEM PROCESS: WindowManagerPolicy
E/AndroidRuntime( 2354): java.lang.NoClassDefFoundError: com.htc.res.HtcResources
E/AndroidRuntime( 2354): at com.android.internal.policy.impl.KeyguardUpdateMonitor.<init>(KeyguardUpdateMonitor.java:226)
E/AndroidRuntime( 2354): at com.android.internal.policy.impl.KeyguardViewMediator.<init>(KeyguardViewMediator.java:316)
E/AndroidRuntime( 2354): at com.android.internal.policy.impl.PhoneWindowManager.init(PhoneWindowManager.java:707)
E/AndroidRuntime( 2354): at com.android.server.WindowManagerService$PolicyThread.run(WindowManagerService.java:637)
E/installd( 82): eof
E/installd( 82): failed to read size
E/HTC Acoustic( 2387): Fail to open /system/etc/AudioPara_ATT.csv -1.
E/AudioPolicyManagerBase( 2387): Could not open support_back_mic()
E/ATRecorder( 2389): com.htc.autotest.dlib.RecordEngine in loader [email protected]
E/Zygote ( 2389): setreuid() failed. errno: 17
E/BatteryService( 2410): wirelessOnlinePath not found
E/libEGL ( 2410): eglSetSwapRectangleANDROID:1816 error 3008 (EGL_BAD_DISPLAY)
E/SensorService( 2410): couldn't open device for module sensors (Invalid argument)
E/HtcBootAnimation( 2424): Could not find width.
E/HtcBootAnimation( 2424): Could not find height.
E/HtcBootAnimation( 2424): Could not find framerate.
E/HtcBootAnimation( 2424): Could not find part1.
E/HtcBootAnimation( 2424): Could not find part2.
E/HtcBootAnimation( 2424): Could not find part3.
E/HtcBootAnimation( 2424): Could not find audio.
E/HtcBootAnimation( 2424): sqlite3_open error
E/SurfaceFlinger( 2410): eglSwapBuffers: EGL error 0x3008 (EGL_BAD_DISPLAY)
E/Database( 2410): dbopen(): path = /data/system/accounts.db, free size = 115
E/Database( 2410): dbopen(): path = /data/data/com.android.providers.settings/databases/settings.db, free size = 115
E/lights ( 2410): [LedErr] open_lights no mattched name bluetooth
E/LightsService( 2410): [LedErr] get_device bluetooth is reutrn NULL
E/lights ( 2410): [LedErr] open_lights no mattched name wifi
E/LightsService( 2410): [LedErr] get_device wifi is reutrn NULL
E/AndroidRuntime( 2410): *** FATAL EXCEPTION IN SYSTEM PROCESS: WindowManagerPolicy
E/AndroidRuntime( 2410): java.lang.NoClassDefFoundError: com.htc.res.HtcResources
E/AndroidRuntime( 2410): at com.android.internal.policy.impl.KeyguardUpdateMonitor.<init>(KeyguardUpdateMonitor.java:226)
E/AndroidRuntime( 2410): at com.android.internal.policy.impl.KeyguardViewMediator.<init>(KeyguardViewMediator.java:316)
E/AndroidRuntime( 2410): at com.android.internal.policy.impl.PhoneWindowManager.init(PhoneWindowManager.java:707)
E/AndroidRuntime( 2410): at com.android.server.WindowManagerService$PolicyThread.run(WindowManagerService.java:637)
E/installd( 82): eof
E/installd( 82): failed to read size
E/HTC Acoustic( 2443): Fail to open /system/etc/AudioPara_ATT.csv -1.
E/AudioPolicyManagerBase( 2443): Could not open support_back_mic()
E/ATRecorder( 2445): com.htc.autotest.dlib.RecordEngine in loader [email protected]
E/Zygote ( 2445): setreuid() failed. errno: 17
E/BatteryService( 2466): wirelessOnlinePath not found
E/libEGL ( 2466): eglSetSwapRectangleANDROID:1816 error 3008 (EGL_BAD_DISPLAY)
E/SensorService( 2466): couldn't open device for module sensors (Invalid argument)
E/HtcBootAnimation( 2480): Could not find width.
E/HtcBootAnimation( 2480): Could not find height.
E/HtcBootAnimation( 2480): Could not find framerate.
E/HtcBootAnimation( 2480): Could not find part1.
E/HtcBootAnimation( 2480): Could not find part2.
E/HtcBootAnimation( 2480): Could not find part3.
E/HtcBootAnimation( 2480): Could not find audio.
E/SurfaceFlinger( 2466): eglSwapBuffers: EGL error 0x3008 (EGL_BAD_DISPLAY)
E/HtcBootAnimation( 2480): sqlite3_open error
E/Database( 2466): dbopen(): path = /data/system/accounts.db, free size = 115
E/Database( 2466): dbopen(): path = /data/data/com.android.providers.settings/databases/settings.db, free size = 115
E/lights ( 2466): [LedErr] open_lights no mattched name bluetooth
E/LightsService( 2466): [LedErr] get_device bluetooth is reutrn NULL
E/lights ( 2466): [LedErr] open_lights no mattched name wifi
E/LightsService( 2466): [LedErr] get_device wifi is reutrn NULL
E/AlarmManager( 2466): Delay 1st clock 60 seconds 1300420920000:1300420977260
E/AndroidRuntime( 2466): *** FATAL EXCEPTION IN SYSTEM PROCESS: WindowManagerPolicy
E/AndroidRuntime( 2466): java.lang.NoClassDefFoundError: com.htc.res.HtcResources
E/AndroidRuntime( 2466): at com.android.internal.policy.impl.KeyguardUpdateMonitor.<init>(KeyguardUpdateMonitor.java:226)
E/AndroidRuntime( 2466): at com.android.internal.policy.impl.KeyguardViewMediator.<init>(KeyguardViewMediator.java:316)
E/AndroidRuntime( 2466): at com.android.internal.policy.impl.PhoneWindowManager.init(PhoneWindowManager.java:707)
E/AndroidRuntime( 2466): at com.android.server.WindowManagerService$PolicyThread.run(WindowManagerService.java:637)
E/installd( 82): eof
E/installd( 82): failed to read size
E/HTC Acoustic( 2499): Fail to open /system/etc/AudioPara_ATT.csv -1.
E/AudioPolicyManagerBase( 2499): Could not open support_back_mic()
E/ATRecorder( 2501): com.htc.autotest.dlib.RecordEngine in loader [email protected]
E/Zygote ( 2501): setreuid() failed. errno: 17
E/BatteryService( 2523): wirelessOnlinePath not found
E/libEGL ( 2523): eglSetSwapRectangleANDROID:1816 error 3008 (EGL_BAD_DISPLAY)
E/SensorService( 2523): couldn't open device for module sensors (Invalid argument)
E/SurfaceFlinger( 2523): eglSwapBuffers: EGL error 0x3008 (EGL_BAD_DISPLAY)
E/HtcBootAnimation( 2537): Could not find width.
E/HtcBootAnimation( 2537): Could not find height.
E/HtcBootAnimation( 2537): Could not find framerate.
E/HtcBootAnimation( 2537): Could not find part1.
E/HtcBootAnimation( 2537): Could not find part2.
E/HtcBootAnimation( 2537): Could not find part3.
E/HtcBootAnimation( 2537): Could not find audio.
E/HtcBootAnimation( 2537): sqlite3_open error
E/Database( 2523): dbopen(): path = /data/system/accounts.db, free size = 115
E/Database( 2523): dbopen(): path = /data/data/com.android.providers.settings/databases/settings.db, free size = 115
E/lights ( 2523): [LedErr] open_lights no mattched name bluetooth
E/LightsService( 2523): [LedErr] get_device bluetooth is reutrn NULL
E/lights ( 2523): [LedErr] open_lights no mattched name wifi
E/LightsService( 2523): [LedErr] get_device wifi is reutrn NULL
E/AndroidRuntime( 2523): *** FATAL EXCEPTION IN SYSTEM PROCESS: WindowManagerPolicy
E/AndroidRuntime( 2523): java.lang.NoClassDefFoundError: com.htc.res.HtcResources
E/AndroidRuntime( 2523): at com.android.internal.policy.impl.KeyguardUpdateMonitor.<init>(KeyguardUpdateMonitor.java:226)
E/AndroidRuntime( 2523): at com.android.internal.policy.impl.KeyguardViewMediator.<init>(KeyguardViewMediator.java:316)
E/AndroidRuntime( 2523): at com.android.internal.policy.impl.PhoneWindowManager.init(PhoneWindowManager.java:707)
E/AndroidRuntime( 2523): at com.android.server.WindowManagerService$PolicyThread.run(WindowManagerService.java:637)
E/installd( 82): eof
E/installd( 82): failed to read size
E/HTC Acoustic( 2556): Fail to open /system/etc/AudioPara_ATT.csv -1.
E/AudioPolicyManagerBase( 2556): Could not open support_back_mic()
E/ATRecorder( 2558): com.htc.autotest.dlib.RecordEngine in loader [email protected]
E/Zygote ( 2558): setreuid() failed. errno: 17
E/BatteryService( 2579): wirelessOnlinePath not found
E/libEGL ( 2579): eglSetSwapRectangleANDROID:1816 error 3008 (EGL_BAD_DISPLAY)
E/SensorService( 2579): couldn't open device for module sensors (Invalid argument)
E/SurfaceFlinger( 2579): eglSwapBuffers: EGL error 0x3008 (EGL_BAD_DISPLAY)
E/HtcBootAnimation( 2593): Could not find width.
E/HtcBootAnimation( 2593): Could not find height.
E/HtcBootAnimation( 2593): Could not find framerate.
E/HtcBootAnimation( 2593): Could not find part1.
E/HtcBootAnimation( 2593): Could not find part2.
E/HtcBootAnimation( 2593): Could not find part3.
E/HtcBootAnimation( 2593): Could not find audio.
E/HtcBootAnimation( 2593): sqlite3_open error
Click to expand...
Click to collapse
Like I've said before its not configured for the liberty. It is for the legend. Here is the kernel config.
jznomoney said:
Like I've said before its not configured for the liberty. It is for the legend. Here is the kernel config.
Click to expand...
Click to collapse
Yup, you have; that is why I used the CM7 boot.img instead of the one that came in that zip file...it is now up to some more experienced fellow to jump in...
how would you get the touch sensitive buttons on our liberty to work?
So? What's new? Did it work?
Doesn't CyanogenMod v7.0.3 run Gingerbread?
christoplin said:
Doesn't CyanogenMod v7.0.3 run Gingerbread?
Click to expand...
Click to collapse
Yes, but not with sense. I think the topic here was gingerbread with sense.
Sent from my cm7 Aria.
They have it going on the Mytouch3G/Magic also:
http://forum.xda-developers.com/showthread.php?t=1025330
any ideal to port to our aria??
EDIT: The problem has vanished for me when installing firmware "KE7" rather than "KE2". Lesson learnt: even if a stock (!) firmware version is recommended as a stable fallback in recovery tutorials, it might still be that it causes fundamental problems that do not occur elsewhere. Going back to an old, well-tested built of firmware is not better than any other attempt at fixing things. Problems on Android-based systems are not fixed by analysing/understanding the issue but by wiping/reflashing/reformatting until a stable solution is found.
I am running Android 2.3.3 using Samsung stock firmware "KE2" and a CFRoot kernel on a Galaxy SII (I9100). I have wiped and reflashed the device multiple times.
Problem: The internal SD card is not mounted, and not available in any application (cannot install apps, cannot see free memory on SD card in settings).
Diagnosis:
Using adb I see that the sdcard is mounted under /mnt/secure. Relevant output of "mount":
Code:
/dev/block/vold/179:11 on /mnt/secure/staging type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard)
The SD card works and can be read and written (as root accessing /mnt/secure/). It can be mounted manually under /mnt/sdcard.
I couldn't spot relevant data in dmesg, the only mentioning of the device is in the lines:
Code:
<3>[ 1.691465] init: [disk_config] :::: /dev/block/mmcblk0p11 (vfat):::::
<3>[ 1.692752] init: [disk_config] vfat_identify -> ok
The output of "logcat Vold:I *:S" is:
Code:
--------- beginning of /dev/log/main
--------- beginning of /dev/log/system
I/Vold ( 2566): Vold 2.1.1 (the revenge) firing up
I/Vold ( 2566): Volume::setState -> Volume sdcard /mnt/sdcard state changed from -1 (Initializing) to 0 (No-Media)
I/Vold ( 2566): Volume::setState -> Volume sdcard1 /mnt/sdcard/external_sd state changed from -1 (Initializing) to 0 (No-Media)
I/Vold ( 2566): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 0 (No-Media) to 2 (Pending)
I/Vold ( 2566): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 2 (Pending) to 1 (Idle-Unmounted)
W/Vold ( 2566): Duplicate state (1)
I/Vold ( 2566): /dev/block/vold/179:11 being considered for volume sdcard
I/Vold ( 2566): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 1 (Idle-Unmounted) to 3 (Checking)
I/Vold ( 2566): discard -> /system/bin/discard_util -s 1000 /dev/block/vold/179:11
I/Vold ( 2566): discard OK
I/Vold ( 2566): NetlinkHandler::onEvent ->[switch] from uevent
I/Vold ( 2566): Filesystem check completed OK
I/Vold ( 3636): Vold 2.1.1 (the revenge) firing up
I/Vold ( 3636): Volume::setState -> Volume sdcard /mnt/sdcard state changed from -1 (Initializing) to 0 (No-Media)
I/Vold ( 3636): Volume::setState -> Volume sdcard1 /mnt/sdcard/external_sd state changed from -1 (Initializing) to 0 (No-Media)
I/Vold ( 3636): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 0 (No-Media) to 2 (Pending)
I/Vold ( 3636): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 2 (Pending) to 1 (Idle-Unmounted)
W/Vold ( 3636): Duplicate state (1)
I/Vold ( 3871): Vold 2.1.1 (the revenge) firing up
I/Vold ( 3871): Volume::setState -> Volume sdcard /mnt/sdcard state changed from -1 (Initializing) to 0 (No-Media)
I/Vold ( 3871): Volume::setState -> Volume sdcard1 /mnt/sdcard/external_sd state changed from -1 (Initializing) to 0 (No-Media)
I/Vold ( 3871): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 0 (No-Media) to 2 (Pending)
I/Vold ( 3636): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 1 (Idle-Unmounted) to 2 (Pending)
I/Vold ( 3871): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 2 (Pending) to 1 (Idle-Unmounted)
I/Vold ( 3636): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 2 (Pending) to 1 (Idle-Unmounted)
W/Vold ( 3871): Duplicate state (1)
W/Vold ( 3636): Duplicate state (1)
E/Vold ( 3871): Unable to start CommandListener (No such file or directory)
Related threads:
There are but a few threads with slightly similar topics, but none of them provided answers: [Q] Phone doesn't recognize USB internal storage as SD Card, [Q] i9000 - internal sdcard gone - problems with boot / external sdcard mounting, [Solved] sdcard unmounted or not present,
Any pointers how I can further diagnose this are appreciated (helping me to help myself). I am not aware of any more logs that could be relevant. Thanks!
I just recently finished porting and compiling the gummy rom from source to the motorola defy but i can't get it to boot probably ... i can boot it through 2nd boot but i get an android.process.com error
Logcat - [email protected]:~$ adb logcat
- waiting for device -
--------- beginning of /dev/log/main
I/ARMAssembler( 1117): generated scanline__00000077:03545405_00000000_00000000 [ 36 ipp] (50 ins) at [0x409e21e8:0x409e22b0] in 183106 ns
I/ARMAssembler( 1117): generated scanline__00000077:03545405_00000A05_00000000 [ 37 ipp] (58 ins) at [0x409e22b8:0x409e23a0] in 152588 ns
I/ARMAssembler( 1117): generated scanline__00000077:03545405_00000A08_00000000 [ 37 ipp] (59 ins) at [0x409e23a8:0x409e2494] in 183105 ns
I/init ( 1996): == init.rc: on init -----------------------
I/init ( 1997): == mapphone: on init ----------------------
I/init ( 1998): == mapphone: on init ----------------------
I/init ( 2023): == init.rc: on fs -------------------------
I/init ( 2024): == mapphone: on fs ------------------------
I/init ( 2066): == init.rc: on post-fs --------------------
I/init ( 2067): == mapphone: on post-fs -------------------
I/init ( 2077): == init.rc: on post-fs-data ---------------
I/init ( 2078): == mapphone: on post-fs-data -------------------
I/init ( 2102): == mapphone: on early-boot ----------------
I/init ( 2103): == init.rc: on boot -----------------------
I/run-parts( 2106): kernel.sched_latency_ns = 10000000
I/run-parts( 2106): kernel.sched_min_granularity_ns = 1000000
I/run-parts( 2106): vm.dirty_ratio = 0
I/run-parts( 2106): vm.dirty_background_ratio = 5
I/run-parts( 2106): vm.vfs_cache_pressure = 100
I/run-parts( 2106): vm.oom_kill_allocating_task = 1
I/run-parts( 2106): vm.min_free_kbytes = 4096
D/AndroidRuntime( 2123):
D/AndroidRuntime( 2123): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 2123): CheckJNI is OFF
E/dalvikvm( 2123): ERROR: must specify non-'.' bootclasspath
W/dalvikvm( 2123): CreateJavaVM failed: dvmClassStartup failed
E/AndroidRuntime( 2123): JNI_CreateJavaVM failed
I/run-parts( 2106): Zipaligning...
I/run-parts( 2106): Zipalign complete! Runtime: 00:00:01
I/run-parts( 2106): kernel.sched_latency_ns = 10000000
I/run-parts( 2106): kernel.sched_min_granularity_ns = 1000000
I/run-parts( 2106): vm.dirty_ratio = 0
I/run-parts( 2106): vm.dirty_background_ratio = 5
I/run-parts( 2106): vm.vfs_cache_pressure = 100
I/run-parts( 2106): vm.oom_kill_allocating_task = 1
I/run-parts( 2106): vm.min_free_kbytes = 4096
I/boot ( 2163): Set 32mb of RAM free.
I/mountsd ( 2167): Checking filesystems..
I/run-parts( 2106): e2fsck 1.41.11 (14-Mar-2010)
I/run-parts( 2106): /dev/block/mmcblk0p2: recovering journal
I/run-parts( 2106): /dev/block/mmcblk0p2: clean, 11/124928 files, 26309/498900 blocks
Can anyone help me please???
Thanks
Hi.
Before the F2 upgrade my phone could read the 5 digital movies that were on Sandisk 64gb microsdxc card.
Kies even reported on the space used and what remained.
Post upgrade, when I press "mount sd card", the phone reports "preparing sd card" and then immediately "sd card is safe to remove".
Ok, I tried a few things.
A friend had the same phone but on version F1. She was able to copy the contents of the card to a safe location. She then formatted the sd card on her phone. It still would not work in my phone.
I then went into a T-mobile shop and they let me try a 2GB SD card, and that worked.
Samsung recommended that I factory reset may phone. What a bl**dy pain that is. My phone is only 5 weeks old but I never realised I'd customized it so much. The raw version was a monster.
So I know a few things after all this:
1) pre-upgrade my phone was very happy and would let me watch my digital movies.
2) post-upgrade the phone will not accept the SD card
3) that same SD card will work in a phone that is on my original firmware.
4) my phone will read SD cards under 64gb
5) Samsung don't have a clue
So that's many tail of woe. Love the phone but also paid good money for the SD card.
Ian.
Sent from my GT-I9300 using xda app-developers app
Step one would be to format the card .
Next format card via windows if still not working .
Roll back to previous firmware is an option ..
I have same problem from day one with 32GB card upgrade/change firmware and the pointers to the card particularly for music and video are lost .
jje
Thanks jje,
The card had been formated in my friends phone, but I'm going to try the pc format option later tonight.
Rolling back is the last option I want to try.
I'd forever be wary of upgrading ever again.
Ian.
Sent from my GT-I9300 using xda app-developers app
same issue
I have the same issue. Here is a logcat from inserting the card. Unfortunately I can't determine why the mount is failing.
I think this is the relevant section:
D/Vold ( 195): Fat::doMount mount(/dev/block/vold/179:97,/mnt/secure/staging,exfat,0x00000c8e,uid=1000,gid=1023,fmask=2,dmask=2)
E/Vold ( 195): /dev/block/vold/179:97 failed to mount via VFAT (No such device)
Larger trace:
D/Vold ( 195): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
I/MountService( 517): onEvent:: raw= 605 Volume sdcard /mnt/extSdCard state changed from 0 (No-Media) to 2 (Pending) cooked = 605 Volume sdcard /mnt/extSdCard state changed from 0 (No-Media) to 2 (Pending)
I/MountService( 517): notifyVolumeStateChanged:: path = /mnt/extSdCard,old = removed,new = removed
I/MountService( 517): onEvent:: raw= 630 Volume sdcard /mnt/extSdCard disk inserted (179:96) cooked = 630 Volume sdcard /mnt/extSdCard disk inserted (179:96)
D/DirectVolume( 195): DirectVolume::handlePartitionAdded -> major 179, minor 97, PARTN 1
D/Vold ( 195): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
D/MtpService( 790): onStorageStateChanged /mnt/extSdCard removed -> unmounted
I/MountService( 517): onEvent:: raw= 605 Volume sdcard /mnt/extSdCard state changed from 2 (Pending) to 1 (Idle-Unmounted) cooked = 605 Volume sdcard /mnt/extSdCard state changed from 2 (Pending) to 1 (Idle-Unmounted)
I/MountService( 517): updating volume state for media bad removal nofs and unmountable
D/MountService( 517): updatePublicVolumeState :: path = /mnt/extSdCard, state = unmounted
D/MountService( 517): volume state changed for /mnt/extSdCard (removed -> unmounted)
I/StorageNotification( 644): Media {/mnt/extSdCard} state changed from {removed} -> {unmounted}
D/MountService( 517): :::: isUsbMassStorageEnabled :: ret = false
D/StorageNotification( 644): setMediaStorageNotification : cancel id = 1628873367, path = /mnt/extSdCard
D/STATUSBAR-NotificationService( 517): cancelNotification - pkg:XXX.XXXXXXX.XXXXXXXX, id:1628873367
I/MountService( 517): notifyVolumeStateChanged:: path = /mnt/extSdCard,old = removed,new = unmounted
D/MountService( 517): sendStorageIntent Intent { act=android.intent.action.MEDIA_UNMOUNTED dat=file:///mnt/extSdCard (has extras) }
D/MediaScanner( 790): Scanner Detects Unmount (/mnt/extSdCard)
D/MediaProvider( 790): onReceive : action = [android.intent.action.MEDIA_UNMOUNTED], path = [/mnt/extSdCard]
D/MediaProvider( 790): No DB operation
D/MediaProvider( 790): Call CleanerThread
D/MountService( 517): doMountVolume :: Mouting path = /mnt/extSdCard with = mounting
D/MountService( 517): externalstorage_lock_state =
D/MediaProvider( 790): UnmountReceiver finished
E/MTPRx ( 5663): In MtpReceiverandroid.intent.action.MEDIA_UNMOUNTED
W/MTPRx ( 5663): MMC is disconnected
W/MTPRx ( 5663): Top screen is MTP
W/MTPRx ( 5663): sending MMC disconnected noti to stack
I/System.out( 5663): noti = 5
D/MediaProvider( 790): Start CleanerThread
E/BrowserMediaChangingReceiver( 1198): BrowserMediaChangingReceiver : onReceive
E/BrowserMediaChangingReceiver( 1198): onReceive : false mounted = %s false
E/BrowserMediaChangingReceiver( 1198): onReceive : ACTION_MEDIA_UNMOUNTED
D/MediaProvider( 790): deleting all entries for storage StorageVolume [mAllowMassStorage=false, mDescription=SD Card, mEmulated=false, mMaxFileSize=0, mMtpReserveSpace=0, mPath=/mnt/extSdCard, mRemovable=true, mStorageId=131073]
D/VoldCmdListener( 195): volume mount /mnt/extSdCard
I/Vold ( 195): /dev/block/vold/179:97 being considered for volume sdcard
D/Vold ( 195): Volume sdcard state changing 1 (Idle-Unmounted) -> 3 (Checking)
I/MountService( 517): onEvent:: raw= 605 Volume sdcard /mnt/extSdCard state changed from 1 (Idle-Unmounted) to 3 (Checking) cooked = 605 Volume sdcard /mnt/extSdCard state changed from 1 (Idle-Unmounted) to 3 (Checking)
D/Vold ( 195): Detected exFAT file system.
W/Vold ( 195): Skipping exfat checks
E/Vold ( 195): MDM :: sdCardWriteAccessBlocked 0
I/MountService( 517): updating volume state checking
D/MountService( 517): updatePublicVolumeState :: path = /mnt/extSdCard, state = checking
D/MtpService( 790): onStorageStateChanged /mnt/extSdCard unmounted -> checking
D/MountService( 517): volume state changed for /mnt/extSdCard (unmounted -> checking)
D/Vold ( 195): Detected exFAT file system.
I/StorageNotification( 644): Media {/mnt/extSdCard} state changed from {unmounted} -> {checking}
D/STATUSBAR-NotificationService( 517): cancelNotification - pkg:XXX.XXXXXXX.XXXXXXXX, id:1628873367
D/ApplicationPolicy( 517): isStatusBarNotificationAllowed: packageName = com.android.systemui
I/MountService( 517): notifyVolumeStateChanged:: path = /mnt/extSdCard,old = unmounted,new = checking
D/StorageNotification( 644): setMediaStorageNotification : notify id = 1628873367, path = /mnt/extSdCard, title = Preparing SD card
D/STATUSBAR-NotificationService( 517): enqueueNotificationInternal - pkg:XXX.XXXXXXX.XXXXXXXX, id:1628873367
D/STATUSBAR-NotificationService( 517): Noti Alert - mSystemReady:true, AlertEnabled:true
E/MP-Decision( 1404): UP Ld:28 Nw:1.990000 Tw:140 rq:6.100000 seq:147.000000
E/Sensors ( 517): accelHandler 0.544867 9.771680 -2.078877
E/TvoutService_Java( 517): orientation = 357newOrientation = 90
D/ApplicationPolicy( 517): isStatusBarNotificationAllowed: packageName = com.android.systemui
D/STATUSBAR-NotificationService( 517): enqueueNotificationInternal - pkg:XXX.XXXXXXX.XXXXXXXX, id:17301675
E/NotificationService( 517): Ignoring notification with icon==0: Notification(contentView=null vibrate=null,sound=null,defaults=0x0,flags=0x8)
D/STATUSBAR-NotificationService( 517): Noti Alert - mSystemReady:true, AlertEnabled:true
D/MountService( 517): sendStorageIntent Intent { act=android.intent.action.MEDIA_CHECKING dat=file:///mnt/extSdCard (has extras) }
D/MediaProvider( 790): deleted for storage StorageVolume [mAllowMassStorage=false, mDescription=SD Card, mEmulated=false, mMaxFileSize=0, mMtpReserveSpace=0, mPath=/mnt/extSdCard, mRemovable=true, mStorageId=131073]
D/Vold ( 195): Fat::doMount mount(/dev/block/vold/179:97,/mnt/secure/staging,exfat,0x00000c8e,uid=1000,gid=1023,fmask=2,dmask=2)
E/Vold ( 195): /dev/block/vold/179:97 failed to mount via VFAT (No such device)
E/Vold ( 195): Volume sdcard found no suitable devices for mounting
D/Vold ( 195): Volume sdcard state changing 3 (Checking) -> 1 (Idle-Unmounted)
---------- Post added at 12:56 AM ---------- Previous post was at 12:16 AM ----------
I think it's an exFat issue. Did a diskpart on the card and deleted the partition altogether. Phone detected a "damaged card" and offered to format it. Phone created a 59GB exFAT partition that it was subsequently unable to read/mount. Put card back in PC, diskpart, created a 32GB FAT32 partition, works fine. Any ideas?
Thanks for that, though to be truthful I only understood every other word. I am a programmer but even that was too much fire me. My sincere thanks though.
When I get onto a pc I'm going to send all that to Samsung.
Once again, many thanks.
Sent from my GT-I9300 using xda app-developers app
Went into a Samsung store today and explained this problem.
Apparently the new firmware update is not popular and people are reporting performance issues and bugs.
A further update will be released in the near future .
Sent from my GT-I9300 using xda app-developers app
I tried to boot my phone with an almost empty battery several times. Apparently something got corrupted, because now the boot process hangs at the phone vendor logo. Adb and fastboot and boot to recovery (TWRP) work.
Command adb logcat *:E shows the following errors. There are errors from both the sdcard0 and sdcard1. Then comes an error "Unable to find android system package". How can I fix these using fastboot or adb or TWRP? I wouldn't like to reflash and wipe everything.
The phone is Jiayu S3 (16GB model) with TWRP 2.8.7.0 and Android 5.1.1 (German version).
Code:
--------- beginning of system
E/VoldCmdListener( 276): Unable to sendBroadcast message. code=605, message='Volume sdcard0 /storage/sdcard0 state changed from -1 (Initializing) to 0 (No-Media) 0'(Not a typewriter)
E/VoldCmdListener( 276): Unable to sendBroadcast message. code=605, message='Volume sdcard0 /storage/sdcard0 state changed from 0 (No-Media) to 1 (Idle-Unmounted) 0'(Not a typewriter)
E/VoldCmdListener( 276): Unable to sendBroadcast message. code=605, message='Volume sdcard1 /storage/sdcard1 state changed from -1 (Initializing) to 0 (No-Media) 0'(Not a typewriter)
E/VoldCmdListener( 276): Unable to sendBroadcast message. code=605, message='Volume usbotg /storage/usbotg state changed from -1 (Initializing) to 0 (No-Media) 0'(Not a typewriter)
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/VoldCmdListener( 276): Unable to sendBroadcast message. code=605, message='Volume sdcard0 /storage/sdcard0 state changed from 1 (Idle-Unmounted) to 2 (Pending) 0'(No such device)
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/DirectVolume( 276): 'sdcard0' is pluged in.!!
E/VoldCmdListener( 276): Unable to sendBroadcast message. code=605, message='Volume sdcard0 /storage/sdcard0 state changed from 2 (Pending) to 1 (Idle-Unmounted) 0'(No such device)
E/VoldCmdListener( 276): Unable to sendBroadcast message. code=630, message='Volume sdcard0 /storage/sdcard0 disk inserted (179:0)'(No such device)
E/DirectVolume( 276): 'sdcard1' is pluged in.!!
E/VoldCmdListener( 276): Unable to sendBroadcast message. code=605, message='Volume sdcard1 /storage/sdcard1 state changed from 0 (No-Media) to 2 (Pending) 0'(No such device)
E/DirectVolume( 276): 'sdcard1' is pluged in.!!
E/VoldCmdListener( 276): Unable to sendBroadcast message. code=605, message='Volume sdcard1 /storage/sdcard1 state changed from 2 (Pending) to 1 (Idle-Unmounted) 0'(No such device)
E/VoldCmdListener( 276): Unable to sendBroadcast message. code=630, message='Volume sdcard1 /storage/sdcard1 disk inserted (179:128)'(No such device)
E/VoldCmdListener( 276): Unable to sendBroadcast message. code=605, message='Volume sdcard0 /storage/sdcard0 state changed from 1 (Idle-Unmounted) to 4 (Mounted) 0'(No such file or directory)
E/BootLogoUpdater( 278): [boot_logo_updater]boot_mode = 0
E/BootLogoUpdater( 278): [boot_logo_updater]boot package = 1
E/BootLogoUpdater( 278): [boot_logo_updater]update boot reason = 0, ret = 0
E/System ( 835): ******************************************
E/System ( 835): ************ Failure starting system services
E/System ( 835): java.lang.RuntimeException: Unable to find android system package
E/System ( 835): at com.android.server.am.ActivityManagerService.setSystemProcess(ActivityManagerService.java:2069)
E/System ( 835): at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:500)
E/System ( 835): at com.android.server.SystemServer.run(SystemServer.java:338)
E/System ( 835): at com.android.server.SystemServer.main(SystemServer.java:241)
E/System ( 835): at java.lang.reflect.Method.invoke(Native Method)
E/System ( 835): at java.lang.reflect.Method.invoke(Method.java:372)
E/System ( 835): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
E/System ( 835): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
E/System ( 835): Caused by: android.content.pm.PackageManager$NameNotFoundException: android
E/System ( 835): at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:286)