Trinity Ten mounts CIFS shares without the need for additional modules. Been using it for a while.
Installed. Still cannot mount. Do I need a patched Busybox?
Trinity Ten mounts CIFS shares without the need for additional modules. Been using it for a while.
No busy box needed. I provided details here http://xdaforums.com/showthread.php?p=39563553
I used the method in the link with task650 4.2.2 & mrrobinsons aokp pub 4.2.2
Thanks for the help. I got everything set up, but ADB is providing me with a error: device offline message when running the script .. thoughts?
First place I checked
Does this have something to do with the RSA keys, etc. mentioned earlier or no?
Thanks for the help. I got everything set up, but ADB is providing me with a error: device offline message when running the script .. thoughts?
First place I checked
Does this have something to do with the RSA keys, etc. mentioned earlier or no?
The 'device offline' is caused by the RSA keys (or an old version of adb which shouldn't be an issue on the phones, but could be the case if you encounter it on a computer).
Make sure you are setting the HOME environment variable in your script, I updated the script previously but it's possible you missed the change. If it's done correctly it should popup a box asking you to authorize the key.
Has anyone managed to get the CIFS modules for JB 4.2.2._3.4.5-gaf9c307, working in the latest official kernel?
If so I could do with a bit of help because I have not managed to do it.
Thanks
I suggest to use the build in Modules with the trinity kernel. Only flash the trinty kernel and install Mount Manager and enjoy cifs mount.
You dont need any scrips.
Tried with the latest AOKP + Trinity kernel + Mount manager but alas no luck. The script was also not working (i did everything to the letter except generating the RSA key) so at this stage I give up and will wait for s/g more mainstream.
#!/system/bin/sh
# Your settings here
USERNAME="USERNAME"
PASSWORD="PASSWORD"
IPADDRESS="192.168.1.1"
SHARE="storage"
MOUNT_POINT="/data/media/0/cifs/Storage"
# If you need to change the mount command edit this
MOUNT_CMD="\
mount -t cifs \
\
-o \
user=$USERNAME,\
password=$PASSWORD,\
unc=\\\\\\\\\\\\\\\\$IPADDRESS\\\\\\\\$SHARE \
\
//$IPADDRESS/$SHARE \
$MOUNT_POINT"
COMMANDS="\
insmod /system/lib/modules/md4.ko; \
insmod /system/lib/modules/nls_utf8.ko; \
insmod /system/lib/modules/cifs.ko; \
$MOUNT_CMD
"
# Starting ADB...
PORT=`getprop service.adb.tcp.port`
setprop service.adb.tcp.port 5555
adb kill-server
adb start-server
stop adbd
start adbd
adb connect localhost
# Make sure we only use the first device (sometimes there is more than one)
SERIAL=`adb devices | head -n2 | tail -n1 | cut -f1`
if [ "$SERIAL" = "" ] ; then
echo "ERROR: Could not find ADB device.";
fi
echo Mounting share via adb...
adb -s $SERIAL shell su root -c "$COMMANDS"
# If you started adb, then stop it here for security:
adb disconnect localhost
stop adbd
setprop service.adb.tcp.port $PORT
start adbd
RESULT=`mount | grep $MOUNT_POINT`
if [ "$RESULT" = "" ] ; then
echo "Mounting failed..."
else
echo "Mounting sucess!"
fi
echo Done... You may close this script window.
Sorry for the noob ? ...
What are the KO's do?
What is the practical use of then.
Sorry I did a little research on then but I could not find an answer in layman terms
Thank you for allowing me to learn.
Sent from my toroplus using xda premium
Quick question all - (sorry an Android Noob here who's spent way too many hours reading through XDA since the Nexus 10 Purchase!
Mounting CIFs shares in this manner are you then seeing transfer speeds that the nexus 10 is capable of over Wifi? I've been trying to get the 80-90mbps through CIFs shares that I get from Iperf tests but all File Explorers only give me 20mbps which obviously isn't great for HD Video.
Just wanted to throw it out there to see what kind of bandwidth people are getting using this solution. Cheers!
Remove the word "root" from line: adb -s $SERIAL shell su root -c "$COMMANDS"
I also changed the "mount" command by "busybox mount" (I didn't make the hardlink as recommended in some posts)
That was driving me nuts. Everytime I executed the script I saw "SuperSU - Copyright [...] Chainfire" message until I removed the "root". Now it all works flawlessly. I guess this may be happening because of the superuser binary version I have installed.
Merry Xmas.