Hi All,
I am using Android - Marshmallow, version 6 for the iMX6-q sabresd platform.
I Created the Directory in init.rc file ( path: system/core/rootdir ).
Separate path is successfully created in following paths,
/mnt/media_rw/USB - Need to mount USB here
/mnt/media_rw/SD - Need to mount SD here
service bootanim /system/bin/bootanimation
class core
//user graphics
user system - Added
group graphics audio
disabled
oneshot
Then, Making the change in the fstab.freescale file,
/devices/soc0/soc.0/2100000.aips-bus/2194000.usdhc/mmc_host* /mnt/media_rw/SD auto defaults voldmanaged=sdcard:auto,encryptable=userdata
/devices/soc0/soc.0/2100000.aips-bus/2184000.usb/ci_hdrc.0* /mnt/media_rw/USB auto defaults voldmanaged=usb:auto
But, I am not getting the reflection in my mount path. This fstab.freescale file not reflecting.
Can anyone help me to resolve this issue.?
Please update vold.fstab also.
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Victor,
I am using Android 6.0.1 (Marshmallow), In this Source there is no such file like -> vold.fstab.
Is this file present in some other name ?
Can you help me to find that exact file.
Hi Raju,
did you mount SD card, USB with separate path?
I have the same problem. I can make directorty SDcard in mnt/media_rw, but cannot mount sdcard to it:
/devices/soc0/soc.0/2100000.aips-bus/2194000.usdhc/mmc_host* /mnt/media_rw/SDcard auto defaults voldmanaged=sdcard:auto,encryptable=userdata
I see that it mounted to mnt/media_rw/6232-6131 name.
If you fixed already, please share me some information!
Thanks!
Hi Nguyen,
I just fixed this issue based on the Major and minor numbers of SD and USB.
By tracking those number , I wrote simple code to mount in particular location.
I think is a fix. But in Android 6 version, fstab file changes are not reflected to me.