I know that this topic was discussed many times for many different phones. The best thread I read was the topic about "troubleshoot-cifs-on-android". (I can't put link here due to antispam policy ) ... Posted by norbert on October 7, 2013 – 19:45.
I have following device:
I really need to run CIFS mount on this device, so I decided to root it (even with the warnings about warranty).
I used Kingo Android ROOT which allowed me to access the system as root. Via terminal I tried many options how to mount the NAS storage, but all failed.
With the post mentioned above I reached following status:
- I used this command which seems to be the closest to the solution:
mount -o unc=\\\\192.168.1.11\\Multimedia,username=test -t cifs //192.168.1.11/Multimedia /mnt/cifs/Multimedia
- I received error message "mount: Permission denied". I also saw creepy pop up with "Blocking unauthorized access" in the back.
The same result I received using CIFSManager with parameters:
Share path: //192.168.1.11/Multimedia/
Mount point: /mnt/cifs/Multimedia
Options: noperm,unc=\\\\192.168.1.11\\Multimedia,username=t est
I attach the log file from dmesg (when mounting via terminal command) - starting with following:
<7>[11106.274108] /home/se.infra/jenkins1/workspace/HUDSON_JELLYBEAN43_JFLTE_EUR-OPEN_TRUNK/android/kernel/fs/cifs/cifsfs.c: Devname: //192.168.1.11/Multimedia flags: 32768
<7>[11106.274169] /home/se.infra/jenkins1/workspace/HUDSON_JELLYBEAN43_JFLTE_EUR-OPEN_TRUNK/android/kernel/fs/cifs/connect.c: Username: test
<7>[11106.274169] /home/se.infra/jenkins1/workspace/HUDSON_JELLYBEAN43_JFLTE_EUR-OPEN_TRUNK/android/kernel/fs/cifs/connect.c: file mode: 0x1ed dir mode: 0x1ed
It seems that CIFS module reached success:
<7>[11106.514465] /home/se.infra/jenkins1/workspace/HUDSON_JELLYBEAN43_JFLTE_EUR-OPEN_TRUNK/android/kernel/fs/cifs/connect.c: CIFS Session Established successfully
But then something happened I can't understand with my poor Android skills.
Is there anybody who got CIFS up & running on GT-I9505 with Android 4.3?
How can I identify the blocking issue?
Thank you in advance.