Android 6 USB auto mount into custom location

cancel
Showing results for 
Search instead for 
Did you mean: 

Android 6 USB auto mount into custom location

582 Views
aravinthkumarja
Senior Contributor II

Hi All,

I'm using imx6 android6. USB auto mounting in /mnt/media_rw/ location.

How to change this location?

Regards,

Aravinth

0 Kudos
2 Replies

109 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Aravinth,

    Actually you can get answer from internet, because it is not realated to i.MX6 & android BSP for iMX6 EVK board. try following method, please!

    Mount Point setting is in vlod.fstab or fstab.freescale, open it and you will found:

/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1* auto auto defaults voldmanaged=usb:auto

"auto" is mount point, you can try to modify it to be yours, and don't forget to create the directory by mkdir command in init.rc.


Have a great day,
TIC  Weidong Sun

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

109 Views
aravinthkumarja
Senior Contributor II

Hi Weidong,

I have did the same this. New directory is created but it is mounted in /mnt/media_rw/(sd_name) only.

Can you tell me how fix this.?

I'm using Android 6 imx6q sabresd board.

Regards,

Aravinth

0 Kudos