[Android Q&A, Help & Troubleshooting] bitItch:
Hi,

A couple of days ago I upgraded my note 3 from AryaMod 7.1 to AryaMod 7.2 via OTA update.

Since then the OS has not mounted the sd card despite many different speculative fixes.

Specifically, I have done:

Dirty upgrade (not deleting data) after a restore to a 7.1 backup.

A clean reinstall.

Replaced the kernel with the lean kernel after running the AryaMod kernel cleanup.

Installed the latest busybox.

None of thise actions have had any effect and after each of those steps I can read and write to the sd card from TWRP.

I have also tried reformatting the sd card, re-partitioning the sd card, formatting using exfat, fat32 and even ext3. I have even filled the device with 0 before repartitioning and formatting.

The result is always the same. Access from TWRP fine. Access from a mac using a micro sd adaptor fine. I can even run fsck from the terminal emulator without issues. As soon as i boot the system i get the message preparing sd card, chrcking for errors (while there is nothing on the card), and it is driving me up the wall.

After a bit of searching with adb logcat, I found that it actually seems to run fsck successfully but Vold seems to remain in state "Hidden-Mounted" and the UI of course is stuck in checking.

I/Vold ( 275): mountVolHidden
I/Vold ( 275): /dev/block/vold/179:65 being considered for volume extSdCard
D/Vold ( 275): detected exFAT file system
I/fsck.exfat( 275): fsck.exfat v1.2.4 (lib v1.2.4)
D/NearbySettings( 1237): MountReceiver.onReceive - ACTION: android.intent.action.MEDIA_UNMOUNTED
I/NearbySettings( 1237): MountReceiver.onReceive - there is no need to change download path.
D/MediaProvider(13079): Event received android.intent.action.MEDIA_UNMOUNTED
D/SideloadedProvider(13079): Event received android.intent.action.MEDIA_UNMOUNTED
I/fsck.exfat( 275): No errors
I/Vold ( 275): exfat -> Filesystem check completed OK
D/Vold ( 275): exFat::doMount mount(/dev/block/vold/179:65,/mnt/secure/staging,exfat,0x00000c8e,uid=1023,gid=1023,fmask=7,dmask=7)
I/Vold ( 275): Device /dev/block/vold/179:65, target /mnt/media_rw/extSdCard mounted @ /mnt/secure/staging.
W/Vold ( 275): blkid failed to identify /dev/block/vold/179:65
D/Vold ( 275): Volume extSdCard state changing 1 (Idle-Unmounted) -> 9 (Hidden-Mounted)
I/MountService( 904): onEvent:: raw= 613 extSdCard /storage/extSdCard cooked = 613 extSdCard /storage/extSdCard
I/MountService( 904): onEvent:: raw= 614 extSdCard /storage/extSdCard cooked = 614 extSdCard /storage/extSdCard
I/MountService( 904): onEvent:: raw= 605 Volume extSdCard /storage/extSdCard state changed from 1 (Idle-Unmounted) to 9 (Hidden-Mounted) cooked = 605 Volume extSdCard /storage/extSdCard state changed from 1 (Idle-Unmounted) to 9 (Hidden-Mounted)
I/MountService( 904): Hidden Volume [/storage/extSdCard] mounted
D/MountService( 904): updatePublicVolumeState :: path = /storage/extSdCard, state = checking
D/MountService( 904): volume state changed for /storage/extSdCard (unmounted -> checking)
E/VoldConnector( 904): NDC Command {87 volume mount /storage/extSdCard hidden} took too long (3170ms)
I/MountService( 904): notifyVolumeStateChanged:: path = /storage/extSdCard,old = unmounted,new = checking
D/UsbStorageNotification( 904): onWaterProofing :: Media {/storage/extSdCard} state changed from {unmounted} -> {checking}
D/MtpService( 1134): onStorageStateChanged /storage/extSdCard unmounted -> checking
I/StorageNotification( 1078): Media {/storage/extSdCard} state changed from {unmounted} -> {checking}
D/StorageNotification( 1078): setMediaStorageNotification : notify id = -535891041, path = /storage/extSdCard, title = Preparing SD card

Currently the partition table looks like:

Disk /dev/block/vold/179:64: 64.0 GB, 64037584896 bytes
4 heads, 16 sectors/track, 1954272 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

Device Boot Start End Blocks Id System
/dev/block/vold/179:64p1 1 1954272 62536696 7 HPFS/NTFS

Can you suggest a configuration that will fix this? I had a look at the official android docs here https : //source.android.com/devices/storage/config-example.html (Sorry about the formatting, I am not allowed to post as link) but they seem to be outdated as I cannot find init.hardware.rc and storage_list.xml