[Q] Issue with german umlauts mount cifs on cyanogenmod 10.2 - 8.9" Kindle Fire HD Q&A, Help & Troubleshooting

Hi all,
I am very happily using hashcodes rom 10.2 for kindle fire HD 8.9. It is great, but I have one small issue. I wanna mount an SMB share on my NAS with the following command:
mount -t cifs -o username=<user>, password=<password> //server_ip/share /<mountpoint>
This works fine except the special characters and e.g. German Umlauts are not shown correctly.
Also tried option isocharset=utf8 or isocharset=iso-8859-1 but still the same issue.
Do I miss anything?

SOLVED
rkrasselt said:
Hi all,
I am very happily using hashcodes rom 10.2 for kindle fire HD 8.9. It is great, but I have one small issue. I wanna mount an SMB share on my NAS with the following command:
mount -t cifs -o username=<user>, password=<password> //server_ip/share /<mountpoint>
This works fine except the special characters and e.g. German Umlauts are not shown correctly.
Also tried option isocharset=utf8 or isocharset=iso-8859-1 but still the same issue.
Do I miss anything?
Click to expand...
Click to collapse
Just a typo: option is iocharset and not isocharset.
Now I need a way to mount it from the shell...

Related

[Q] mounting a windows shared folder to android fs

i looked at these forums and solutions for doing this and none of them worked for me so i'm posting this in case someone knows how to solve this:
I am using nexus 7 2013 with cyanogenmod 10.2.1. i tried both "cifsmanager" and "mount manager" applications to mount my shares (with the right credentials). i also used the following command:
busybox mount -t cifs -o username=[user],password=[password] //192.168.1.91/T /mnt/sdcard/users
all these produce the same error - "mount: invalid argument" when trying to connect to the shared folder.
Have you seen if smbfs rather than cifs works? ( I know smbfs is "old"). There is some relevant info here http://www.netzgewitter.com/2013/10/troubleshoot-cifs-on-android/ on the problems with cifs and Sony Xperia
peterk-1 said:
Have you seen if smbfs rather than cifs works? ( I know smbfs is "old"). There is some relevant info here http://www.netzgewitter.com/2013/10/troubleshoot-cifs-on-android/ on the problems with cifs and Sony Xperia
Click to expand...
Click to collapse
Thanks man!!!!! the "-o unc=" thing soved the issue!
liran corleone said:
Thanks man!!!!! the "-o unc=" thing soved the issue!
Click to expand...
Click to collapse
I guess i was happy too soon - the mount now does work, but i cannot access it with other users. this is how i did the mount:
mount -o unc=\\\\192.168.1.91\\d$,username=developer,password=pass -t cifs none /mnt/cifs/arcade/d
this is the "mount" command output afterwards:
none /mnt/cifs/arcade/d cifs rw,relatime,sec=ntlm,unc=\\192.168.1.91\d$,username=developer,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.91,file_mode=0755,dir_mode=0755,nounix,serverino,rsize=61440,wsize=65536,actimeo=1 0 0
Any idea why/how to solve this?
I've had good luck using the cifs module in the ElementalX kernel along with cifsmanager. You don't need to configure anything other than your shares, and maybe set mount point prefix to /mnt/cifs
If you want to mount shares remotely through ssh port forwarding you can specify the port number that you are forwarding to using port= in options. I'm getting ready for work, so I don't have time right now to get the output showing the mount command that it generates, but I can when I get home.
spiked_mistborn said:
I've had good luck using the cifs module in the ElementalX kernel along with cifsmanager. You don't need to configure anything other than your shares, and maybe set mount point prefix to /mnt/cifs
If you want to mount shares remotely through ssh port forwarding you can specify the port number that you are forwarding to using port= in options. I'm getting ready for work, so I don't have time right now to get the output showing the mount command that it generates, but I can when I get home.
Click to expand...
Click to collapse
i cannot use this kernel since i am using cyanogenmod 10.2.1 (i need the wireless ad-hoc connection mode support) so i will need another solution for this...
Well, I checked in /system/lib/modules to see if cifs.ko was there, but it's not. I was thinking maybe extracting the cifs modules from the ElementalX kernel might be possible, but it must be part of the kernel source and not a separate file. Seems like more people would find cifs support useful, so maybe somebody with development skills will make a kernel module file that's compatible with the N7 2013.
Here's what shows up when I run mount:
//192.168.0.100/Music /mnt/cifs/Music cifs rw,relatime,sec=ntlm,unc=\\192.168.0.100\Music,username=username,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.0.100,file_mode=0755,dir_mode=0755,nounix,serverino,rsize=16384,wsize=131007,actimeo=1 0 0
Nevermind.
mdamaged said:
Nevermind.
Click to expand...
Click to collapse
cifs seems to be supported well by cyanogenmod - the mount process is working fine, but the mounted folders are only visible with root priviledges - not to device's applications like poweramp, pdf reader etc.
liran corleone said:
cifs seems to be supported well by cyanogenmod - the mount process is working fine, but the mounted folders are only visible with root priviledges - not to device's applications like poweramp, pdf reader etc.
Click to expand...
Click to collapse
It's private namespaces that's the issue.

Problem to mount NFS on ouya

Hi everybody,
I'm trying to mount a nfs at ouya but the ouya refused the mount.
i connect to ouya via adb and try:
mount: mounting 192.168.1.13:/volume1/teste on /sdcard/teste/ failed: Connection refused
my /etc/export file is like that:
/volume1/teste 192.168.1.16(ro,no_root_squash,no_subtree_check)
the ip address of ouya is 192.168.1.16 and the nas server is 192.168.1.13
i create the teste folder at /sdcard to mount the volume there.
i don't know if ouya has support to mount nfs....
i try this command:
[email protected]:/ # find / -name *nfs*
the result is here:
/sys/module/nfs
/sys/module/nfs/parameters/nfs4_disable_idmapping
/proc/sys/fs/nfs
/proc/sys/fs/nfs/nfs_mountpoint_timeout
/proc/sys/fs/nfs/nfs_congestion_kb
/proc/sys/sunrpc/nfs_debug
/proc/sys/sunrpc/nfsd_debug
/proc/fs/nfsfs
/proc/fs/nfsd
so... i think the ouya has nfs support...
someone can help me...
thk very much...
im trying to use this because i installed XBMC at ouya and i would like to use the nfs to share my videos in NAS server....
.....
other information... my nas server is a synology ds212j... on my desktop machine i able to mount the partition, only at ouya i have problems...
excuse-me for my poor english.
NFS Works!
NFS works!
I root the ouya and install busybox.
I use adb connection to mount command that comes with busybox to mount nfs!
the default mount command that comes with ouya dont be able to mount nfs!
i'll make a howto.

CIFS or NFS support?

I would like to connect my OUYA to either NFS or CIFS shares. It doesnt seem to handle this nativiely. I have tried busybox and it is no avail for nfs shares (preferred) and cifs manager i keep getting an invalid device.
Any howtos on how to do this? This would make my rom life a heck of a lot better
phin586 said:
I would like to connect my OUYA to either NFS or CIFS shares. It doesnt seem to handle this nativiely. I have tried busybox and it is no avail for nfs shares (preferred) and cifs manager i keep getting an invalid device.
Any howtos on how to do this? This would make my rom life a heck of a lot better
Click to expand...
Click to collapse
Hi friend. My english is not too good but i'll try to explain what i did.
At default ouya's kernel i was not able to use nfs version 3 or 4, only nfs version 2. the cifs didn't work
i compiled the ouya's kernel and enable the cifs and nfs on it because i use ouya as a media center running XBMC.
so i build a bzimage kernel and flash it to ouya using flashboot. i needed to unzip the newest ouya firmware and pick the ramdisk file to flash too.
if you only flash the bzimage you ouya will not work. so i flash the bzimage and the ramdisk files with the same command.
after flash i reboot my ouya and it works like a charm!
i was able to mount my nfs shares using nfs v3. not using xmbc but using the adb with shell...

[Q] Mounting network folder as a local directory

Hello all.
I'm running my FireTV as an entertainment system. It's rooted with Kodi, Mobdro, RetroArch, ePSXe w/ Sixaxis PS3 as controller etc.
Since the FTV only has 8GB of local storage, I was wondering if there's a way to mount a samba share into a local directory so I can load emulator games without transferring them. Majority of the emulators only scan ROMs / ISOs etc on local directories.
Unfortunately, apps like cifsmanager and mount manager are broken since android 4.3 I think.
Thanks in advance.
Maybe this might be helpful:
http://forum.xda-developers.com/fire-tv/general/run-script-firetv-boot-t2986158
This works for me:
Code:
busybox mount -t cifs //my.ip.address/my.share /sdcard/somedir -o username=guest
jocala said:
This works for me:
Code:
busybox mount -t cifs //my.ip.address/my.share /sdcard/somedir -o username=guest
Click to expand...
Click to collapse
Hello there.
Thanks for the help. But do you mind answering a couple of Qs because I'm a filthy nub when it comes to this.
1. Where do I run this command? Do I connect to my FTV using adb and just type this in?
2. How would this work if my Samba share has spaces on it?
3. Do I run this everytime I reboot my FTV?
Thanks again
Squalll13 said:
Hello there.
Thanks for the help. But do you mind answering a couple of Qs because I'm a filthy nub when it comes to this.
1. Where do I run this command? Do I connect to my FTV using adb and just type this in?
2. How would this work if my Samba share has spaces on it?
3. Do I run this everytime I reboot my FTV?
Thanks again
Click to expand...
Click to collapse
1. As posted, it would be run from the command line, from a root prompt. I use busybox, so you need that as well for my method.
2. I stay away from directories with spaces, but it may work with quotes, idk, haven't tested. It works with embedded spaces if they are inclosed in quotes: e.g:
Code:
busybox mount -t cifs "//192.168.1.200/media/my folder" /sdcard/cifs -o username=guest
3. Easiest thing to do would be to put it into a script that runs at boot. That's the approach I'm taking with my program adbFire. I'm testing this functionality now.
oops.... guess that was already answered. Anyhow, can't leave text field blank so; Yeah this works great. I got mine all set up with Advanced Launcher kodi addon. Tested with a few emulators and ISOs load near instantly
Thanks for the replies. Though I noticed something peculiar and I would like some insight.
I noticed that after I haven't used the FireTV for a while. Maybe 24 hours. The mounted folder kinda "disappears" for a bit but come back. For example, I use ES File Explorer and go to /mnt/obb/ and it will just keep "Loading" until I just press back. Same thing when I used adb shell, cd to /mnt/obb/ and use ls. It just stays there until I force exit. But after a waiting around a bit like 10 mins or so, the mounted folder shows up no problem.
It kinda feels like you need to ping /access it or something, fail, wait a bit then it shows up.
I hope what I said isn't too confusing. If it was I apologize.

Cant write to SD card on new fire TV

I Received my new fire TV, inserted the SD card which was recognized and formatted by the Fire tv. Card works fine in the Amazon area, reading and writing. When i go into Kodi 15.1 it seems the card cannot be written to. It can read it fine. I go into the file manager and try to create a folder and it does not create. i have tried the substitution of the thumbnails from advancedsettings.xml and it seems that works ok, but no files are written to the sd card. as soon as i remove the substitution its able to write the the thumbnails to the internal memory
Has anyone else had this problem? 8GB is just not enough and I was hoping to at least put the thumbnail cache on the sd card
Kodi 15.1 Isengard doesn't support Lollipop's new external storage permission scheme. Upgrade to Jarvis.
Isengard 15.x/Lollipop can write to both sdcard1 and to usbotg as long as you set up a properly sandboxed area. For Kodi:
For the sdcard:
mkdir -p /storage/sdcard1/Android/data/org.xbmc.kodi/
For a stick:
mkdir -p mkdir -p /storage/usbotg/Android/data/org.xbmc.kodi/
Kodi writes to anything below org.xbmc.kodi w/o problems.
How to?
---------- Post added at 01:31 PM ---------- Previous post was at 12:36 PM ----------
sh-3.2$ mkdir -p /storage/sdcard1/Android/data/org.xbmc.kodi/
mkdir: /storage/sdcard1/Android/data/org.xbmc.kodi/: Permission denied
shrgawi said:
How to?
---------- Post added at 01:31 PM ---------- Previous post was at 12:36 PM ----------
sh-3.2$ mkdir -p /storage/sdcard1/Android/data/org.xbmc.kodi/
mkdir: /storage/sdcard1/Android/data/org.xbmc.kodi/: Permission denied
Click to expand...
Click to collapse
You have to adb shell into your device first.
i used the mkdir -p method and that worked...thanks
i tried the mkdir -p method and that works fine. i thought updating to fire tv os 5 yesterday might have undone as i couldnt write to the SD card from Kodi for a time. somehow managed to get it works again so all is ok witht he SD card in Kodi.
Thanks
can you please explain a step by step procedure?
i still have the problem after adb shell
shrgawi said:
can you please explain a step by step procedure?
i still have the problem after adb shell
Click to expand...
Click to collapse
This is for the FireTV/2 using adbFire:
1. Connect to your device
2. Press ADB Shell
At the prompt "[email protected]:/$"
If you have an microsd inserted into the AFTV/2:
Code:
mkdir -p /storage/sdcard1/Android/data/org.xbmc.kodi/
If you have an USB stick inserted into the AFTV/2:
Code:
mkdir -p /storage/usbotg/Android/data/org.xbmc.kodi/
Just to follow up, I upgraded a stock FTV1 to OS 5.0.3:
A mounted USB stick reports back as /storage/usbdisk
The shell prompt is: "[email protected]:/ $"
Kodi can't write to /storage/usbdisk
But
Code:
mkdir -p /storage/usbdisk/Android/data/org.xbmc.kodi
works and Kodi can write to anywhere under the kodi sandbox.
jocala said:
This is for the FireTV/2 using adbFire:
1. Connect to your device
2. Press ADB Shell
At the prompt "[email protected]:/$"
If you have an microsd inserted into the AFTV/2:
Code:
mkdir -p /storage/sdcard1/Android/data/org.xbmc.kodi/
If you have an USB stick inserted into the AFTV/2:
Code:
mkdir -p /storage/usbotg/Android/data/org.xbmc.kodi/
Click to expand...
Click to collapse
Just wondering if this still works on AFTV2 on rboxs 5.0.5 r4 prerooted rom? I'm on kodi 16.0 & have moved all my kodi data to my sdcard using the guide on aftvnews, it's all working fine except the write permissions to sdcard, is this still working?
Thanks in advance
deanr1977 said:
Just wondering if this still works on AFTV2 on rboxs 5.0.5 r4 prerooted rom? I'm on kodi 16.0 & have moved all my kodi data to my sdcard using the guide on aftvnews, it's all working fine except the write permissions to sdcard, is this still working?
Thanks in advance
Click to expand...
Click to collapse
For atv 1st gen USB drive only (would work for 2 also)
Follow instructions as described by Jocala above (use ADB Shell....... etc). NOTE: There is a difference between the command for the AFTV 1st and 2nd Gen USB (read carefully).
I believe I got this finally worked out. The key is to create the "Sandbox" as described. You need to "add" a source BUT dont open the USBdisk as you normally would. Navigate from the root/storage ... etc. Once you add the source (it will have the long address /storage/usbdisk/Android/data/org.xbmc.kodi) as it states, but you will see a second USBdisk listed in File Manager, which is the same as the other, but routed thru the sandbox you setup. This is the "sandbox". I actually save data to a NAS (over 55mb throughput, its fine), but I have a second Fire TV 1st gen that is connected to an airport extender so the "sandbox" is a must on this unit as I save game data to it for my kid.
Thanks so much to joebuddy78 and Jocala (Im doing my Basil Fawlty impression, hitting myself over the head with a branch !):good:
Help!
jocala said:
Just to follow up, I upgraded a stock FTV1 to OS 5.0.3:
A mounted USB stick reports back as /storage/usbdisk
The shell prompt is: "[email protected]:/ $"
Kodi can't write to /storage/usbdisk
But
Code:
mkdir -p /storage/usbdisk/Android/data/org.xbmc.kodi
works and Kodi can write to anywhere under the kodi sandbox.
Click to expand...
Click to collapse
jocala said:
This is for the FireTV/2 using adbFire:
1. Connect to your device
2. Press ADB Shell
At the prompt "[email protected]:/$"
If you have an microsd inserted into the AFTV/2:
Code:
mkdir -p /storage/sdcard1/Android/data/org.xbmc.kodi/
If you have an USB stick inserted into the AFTV/2:
Code:
mkdir -p /storage/usbotg/Android/data/org.xbmc.kodi/
Click to expand...
Click to collapse
deanr1977 said:
Just wondering if this still works on AFTV2 on rboxs 5.0.5 r4 prerooted rom? I'm on kodi 16.0 & have moved all my kodi data to my sdcard using the guide on aftvnews, it's all working fine except the write permissions to sdcard, is this still working?
Thanks in advance
Click to expand...
Click to collapse
OK, maybe I am doing something wrong. I am having issues with FireTV with my V1 Console. I’ve been searching for weeks. I can’t save to the USB memory on my FireTV box. Yes, I did update the path. in the settings. Videos act as if downloading but not. I’ve factory reset and reinstalled Kodi. Still did not work. I found this page in my research, and I saw the answers for V2, with a note about V1. I am not rooted, is that perhaps the problem? I have not even looked into that. I did log into to the console with adbfire and pasted this: mkdir -p /storage/usbdisk/Android/data/org.xbmc.kodi. I did not get an error, it just showed the next line.
I went back into Kodi, settings are still set to save to the usbdisk, but no dice. I am sure I am just doing one minor thing wrong. Can you guys help? I see a LOT of people facing this issue too, so I will share along if I can get it to work.
Thanks!
RaiderMS3 said:
OK, maybe I am doing something wrong. I am having issues with FireTV with my V1 Console. I’ve been searching for weeks. I can’t save to the USB memory on my FireTV box. Yes, I did update the path. in the settings. Videos act as if downloading but not. I’ve factory reset and reinstalled Kodi. Still did not work. I found this page in my research, and I saw the answers for V2, with a note about V1. I am not rooted, is that perhaps the problem? I have not even looked into that. I did log into to the console with adbfire and pasted this: mkdir -p /storage/usbdisk/Android/data/org.xbmc.kodi. I did not get an error, it just showed the next line.
I went back into Kodi, settings are still set to save to the usbdisk, but no dice. I am sure I am just doing one minor thing wrong. Can you guys help? I see a LOT of people facing this issue too, so I will share along if I can get it to work.
Thanks!
Click to expand...
Click to collapse
You do not need to be rooted. Make sure you are saving to the correct location when saving. Its pretty easy to confuse the internal location with the USB location (ie: /storage/emulated/O/Android/..... with the /storage/Usbdisk/.......).
Also, is this a gen 1 or gen 2 AFTV ? The command is different.
nuggyblake said:
You do not need to be rooted. Make sure you are saving to the correct location when saving. Its pretty easy to confuse the internal location with the USB location (ie: /storage/emulated/O/Android/..... with the /storage/Usbdisk/.......).
Also, is this a gen 1 or gen 2 AFTV ? The command is different.
Click to expand...
Click to collapse
I am on Gen1.
And I figured it out. I was not thinking. The MKDIR command for V1 to create the directory to save files to. mkdir -p /storage/usbdisk/Android/data/org.xbmc.kodi. I just changed the paths for the TV download in Genesis to /storage/usbdisk/Android/data/org.xbmc.kodi/files and IT WORKED for a TV show. So that fixed it!
I cant delete media content from external drive with kodi on Marshmallow
Hi Guys!This fix with adb shell work on Nvidia Shiel TV because i tried to delete media content from library but without success.I tried to delete manually from kodi file manager but i get same error.Is problem with permission?I get this "Error static bool Xfile::Cfile:elete(const Curl&) error deleting file and i get warning virtual bool Xfile::Cposix file :elete(const Curl&) can`t acces file storage nr....
muschiu35bv said:
Hi Guys!This fix with adb shell work on Nvidia Shiel TV because i tried to delete media content from library but without success.I tried to delete manually from kodi file manager but i get same error.Is problem with permission?I get this "Error static bool Xfile::Cfile:elete(const Curl&) error deleting file and i get warning virtual bool Xfile::Cposix file :elete(const Curl&) can`t acces file storage nr....
Click to expand...
Click to collapse
not sure if a question or statement, but if wondering if this will work, it might. I would follow the steps and see.
@jocala thanks so much for this, with the floppy disk storage amazon gave us this really helps!!
Addons no longer working
jocala said:
This is for the FireTV/2 using adbFire:
1. Connect to your device
2. Press ADB Shell
At the prompt "[email protected]:/$"
If you have an microsd inserted into the AFTV/2:
Code:
mkdir -p /storage/sdcard1/Android/data/org.xbmc.kodi/
If you have an USB stick inserted into the AFTV/2:
Code:
mkdir -p /storage/usbotg/Android/data/org.xbmc.kodi/
Click to expand...
Click to collapse
Hi Jocala, did this on my 2nd Gen Fire tv and then moved all Kodi data to micro sd card, some how I've messed up as most of my addons are now not functioning. Some will not gather any sources or are unresponsive , while others just show my own added file tree, movies etc when I open the addon. Have tried restoring Fire tv and even reverting back to a kodi 16.1
Any ideas how to fix this? Is it possible to revert this and if so could you please show me how?
Many thanks Swift
Hi there
Just bought my firetv yesterday from amazon - presumably firetv2. I am not too fussed about moving kodi to the sd card but would like to download to the card. Even after confirmation however, nothing is downloaded. I will try to adb shell with the path you suggested. This post was 2015, is there anything i should know that has occurred since this on the newer AFTV's or should this work as you state?
hesh
heshan said:
Hi there
Just bought my firetv yesterday from amazon - presumably firetv2. I am not too fussed about moving kodi to the sd card but would like to download to the card. Even after confirmation however, nothing is downloaded. I will try to adb shell with the path you suggested. This post was 2015, is there anything i should know that has occurred since this on the newer AFTV's or should this work as you state?
hesh
Click to expand...
Click to collapse
Im still using this for quasar to download to sd, works fine.
Sent from my ONEPLUS A3000 using Tapatalk

Categories

Resources