cifs module for 3.1.10-g52027f9 - Nexus 7 General

================================(updated 25/07/2012)
recompile new cifs.ko based on code from linux kernel 3.2.1 (with asynchronous read support).
there is 2 extra function needed in part of the kernel (which is not in the current 3.1.10 kernel).
however that doesn't stop it from working.
i am not sure under what conditions those 2 function will be called. when its being called, it might give error.
apart from that, initial test shows promising result. doubled the read speed.
please test.
do note. YMMV
new cifs.ko has a md5sum of
280303e69a92cd56f180956c838edbbd
in
cifs-async.zip
thanks.
===================================
updated,
i have re-compile a new cifs.ko with modified larger rsize, hopefully will have better read performance,
give it a try.
note: it appears that your NFS server needs to have support as well. so check out if you can set it to a bigger send buffer to have a faster read speed.
the md5sum for the new cifs.ko is
7a235de92c855b2933402dd1c62610fe
in
cifs_rsize_128k.zip
===========================================================
(require root to work).
i have created cifs module for the new 4.1.1 kernel for nexus 7
3.1.10-g52027f9
use this in conjunction with cifs manager
both
md4.ko and cifs.ko must be loaded to work.
as for the native language support (nls_utf8.ko), its down to yourself.
to use it,
under cifsmanager (when creating a new share)
set options "iocharset=utf8"
have fun streaming video!!!

qwerp_ said:
(require root to work).
i have created cifs module for the new 4.1.1 kernel for nexus 7
3.1.10-g52027f9
use this in conjunction with cifs manager
both
md4.ko and cifs.ko must be loaded to work.
as for the native language support (nls_utf8.ko), its down to yourself.
to use it,
under cifsmanager (when creating a new share)
set options "iocharset=utf8"
have fun streaming video!!!
Click to expand...
Click to collapse
I guess if I have to ask I shouldn't do it, but but what does this do?

Cgc2 said:
I guess if I have to ask I shouldn't do it, but but what does this do?
Click to expand...
Click to collapse
I may be wrong, but I believe it's to get CifsManager to mount your windows network shares automatically when rebooting your Nexus 7, so you don't have to mount a share manually every time.
Looking forward to trying this out when I get my Nexus 7. Thanks

Cgc2 said:
I guess if I have to ask I shouldn't do it, but but what does this do?
Click to expand...
Click to collapse
this allow you to mount windows drive, or even network enabled storage.
so that your video player like dice player or vlc can stream/play the file as its local.
its similar to using //192.168.1.1 on windows.
Salty Wagyu said:
I may be wrong, but I believe it's to get CifsManager to mount your windows network shares automatically when rebooting your Nexus 7, so you don't have to mount a share manually every time.
Looking forward to trying this out when I get my Nexus 7. Thanks
Click to expand...
Click to collapse
it doesn't mount automatically, but provide the interface to mount drive easily.

Wow, interesting and thanks for educating me on this use. However, why not use Airdroid and achieve similar results? Still learning, Thx folks.

We only have 6/15 GB to work with. Now, for me I can have 500GB and the apps will even index it for me just as if there were a folder with infinite amount of space on my sdcard
Sent from my Nexus 7 using xda app-developers app

this is basically similar to
External Storage Device Compatibility Review
http://forum.xda-developers.com/showthread.php?t=1766260
where instead of the "mounted" drive comes from your usbOTG cable reading from a external hardisk or card reader,
your mounted drive is a shared drive on your network. NAS drive, windows PC, linux, etc, anything that supports
Common Internet File System (CIFS)
http://en.wikipedia.org/wiki/Server_Message_Block
you will need to know abit of linux/android system to properlly use this,
make sure that your "nexus 7" about page, under kernel version matches "3.1.10-g52027f9", meaning you will have to OTA to 4.1.1 JRO03D to be able to use this.

Mate this is exactly what I came looking for. Awesome.
I use cifs manager on all my android devices because ES file explorer insists on fully caching apks before installing them doubling the time to do things.
Been setting up the missus nexus and it was a bit hard to explain to her how to get to the smb movies/series in ES file explorer to stream stuff.
Installed this, mx player and MovieBrowser HD from market and she now only needs to go into MovieBrowser and she has all her movies/series with lovely artwork and synopsis,and just clicks on anything and it automatically plays in mx player.
Good job sir, I don't need a custom kernel just for cifs.

Forgive me for being naive, is this a CWM flashable zip?
if not, what folder do i need to place these modules?

Demented-Idiot said:
Forgive me for being naive, is this a CWM flashable zip?
if not, what folder do i need to place these modules?
Click to expand...
Click to collapse
I created a folder in system/lib/ called modules and gave it permissions rwxr-xr-x
I extracted the 3 files into it and gave them each permissions rw-r--r--
Then install cifs manager from google play.
In cifs manager go to settings.
Click mount point prefix and type /storage/sdcard0/Shares
Tick on "load cifs module"
Tick on "Load via insmod"
Click path to cifs.ko and type /system/lib/modules/cifs.ko:/system/lib/modules/md4.ko:/system/lib/modules/nls_utf8.ko
Go back to main cifs manager page and add new share.
Under share path type "your ip of computer with shares on/sharename of folder on computer" eg. 192.168.0.6/Movies
Click under mount point and it will fill it in for you.
Under username put your username for PC that you log in with
Under password put the password that you log into your computer with.
Under options type ioch****t=utf8 (they have now banned a word that is within this word. It should be i o c h a r s e t without the spaces.)
Click save share.
Now when you click on the share name in cifs manager it should turn the light green to the right of it. If it doesn't you have done something wrong.
Now go to any file manager and go to your sdcard on tablet and there should be a "Shares" folder and inside should be the share you set up.
You can now use that as if it was a local directory. If you restart the tablet you will need to go into cifs manager again and click on the shares you want until they turn green.
HTH

thanks, very detailed response!

Demented-Idiot said:
thanks, very detailed response!
Click to expand...
Click to collapse
You're welcome.
Any probs give me a shout. As long as you know how to make a share on PC the last instructions should sort you out.

Whenever I set "iocharset=utf8" in options, I get segmentation fault when trying to mount a share. If I remove that option, then it mounts fine. But filenames in non-English characters (Chinese in my case) will either become garbage or not show at all.
Any one got "iocharset=utf8" to work? I've verified that all three modules are loaded correctly by cifsmanager.

flumpster said:
Under share path type "your ip of computer with shares on/sharename of folder on computer" eg. 192.168.0.6/Movies
Click to expand...
Click to collapse
Note for some incomprehensible reason CIFS manager requires a static IP address in the share specification.
(Just as described above) Do not assume hostnames will work here. They will not.
Thanks for the guide. Getting this feature turned up was high on my list.

One word of warning because I know a mate of mine did this by accident.
If you have a share set up on your computer with full read/write access and then wipe your SD card on android (or just delete the shares folder in your file manager) while the share is mounted in cifs manager then it will also delete the folder on your computer.
I don't have this worry because all my shares on computer are set up as read only to stop the kids accidentally deleting stuff.
Just a warning

Thanks for the instructions flumpster, helped a lot.
Might also advise on mounting outside of /sdcard, was seeing a lot of LAN traffic and Nexus 7 activity - turned out a number of apps were creating thumbnails and/or indexing items that was on my NAS drive. Poweramp, Gallery, QuickPic etc.

File Manager HD (Tablet) can play / view any type of file over SMB. Very simple.

Hemidroids said:
File Manager HD (Tablet) can play / view any type of file over SMB. Very simple.
Click to expand...
Click to collapse
So can ES file explorer which we already mentioned but that is not what we want.
This makes the folder ( or folders ) appear local so you can add it into any other app directly (mx player, movie browser hd, gallery, play music, etc)
---------- Post added at 08:11 AM ---------- Previous post was at 08:06 AM ----------
Salty Wagyu said:
Thanks for the instructions flumpster, helped a lot.
Might also advise on mounting outside of /sdcard, was seeing a lot of LAN traffic and Nexus 7 activity - turned out a number of apps were creating thumbnails and/or indexing items that was on my NAS drive. Poweramp, Gallery, QuickPic etc.
Click to expand...
Click to collapse
I have not tested this but have you tried putting a .nomedia file inside the "Shares" folder after it is first created? In theory it should stop them apps doing that.

@ OP
Thank you! This is exactly what I was looking for. I don't even have my order yet (was merely hoping for CIFS support), but this is about the only thing that makes this 8GB tablet usable, IMO.
I will provide feedback once I get the tablet in hand and have some time to experiment with CIFS.

Just wondering how these mounts behave as the tablet is moved around in/out of WiFi coverage and between LANs.
Is everything well-behaved? Any gotchas I should be aware of?

Related

Root access with Astro?

Is there anyway to start Astro as root so you can use it to edit system directories?
I had wished for the same thing.. but i didnt tell nobody.. soo maybe this will be more effective. prevents having to type in the terminal all the time.. not that its bad.. ive learned so much allready since ive had this phone...
I totally agree! That would be perfect! Maybe there a way of editing the code or smth...
If you can't work *MORE EFFICIENTLY* directly from the terminal, then you definitely should NOT have root access via GUI.
lbcoder said:
If you can't work *MORE EFFICIENTLY* directly from the terminal, then you definitely should NOT have root access via GUI.
Click to expand...
Click to collapse
Pretty much this. It seems like most of the people having problems on this website just want root because it's "kewl" but really have no idea what it is or even have a clue on how Linux works.
I actually Emailed the Dev of Astro about this same question and here was his reply.
Here is the email copied and pasted from gmail.
My question
Are you able to make a version that requests root access to delete chmod rename move etc for the 100,000+ users from xda and other boards with root access?
His Reply
On Jan 21, 2009 10:57 AM, "Kevin Payne" <metago.inc[at]gmail> wrote:
This is a bit outside ASTRO's scope at the moment. Technically, ASTRO should work fine on files owned by root if it were run as a root process, but running applications as root is not advised in general. Someone really needs to create a sudo type command to let an individual application run as root.
lbcoder said:
If you can't work *MORE EFFICIENTLY* directly from the terminal, then you definitely should NOT have root access via GUI.
Click to expand...
Click to collapse
d00m said:
Pretty much this. It seems like most of the people having problems on this website just want root because it's "kewl" but really have no idea what it is or even have a clue on how Linux works.
Click to expand...
Click to collapse
Considering the fact that I'm a Systems Administrator as my profession and work with hundreds of Linux/Unix/Windows servers a day, the whole reason why I bought the G1 was for development and tinkering, the fact that my home PC is running Vista x64 (i haven't gotten around to creating a VM or messing with the drivers), and that I do wipes frequently to test different configurations, I'm pretty sure I'll be ok with root access. I'm just tired of manually doing something on that tiny keyboard that can easily be done with a nice pretty GUI. I stare at consoles all day and thousands of lines of black and white text, when I come home I don't exactly want to be anywhere near a terminal.
Also, why bother doing anything on a phone, other than using it as a phone (or for email, texting, etc.), if you don't do it because it's "kewl". I mess with my phone because it's cool to have a mini-*nix based computer with several fun radios on it. If I do something stupid like type "rm -Rf /*" after logging in as root (never going to happen) then that's my own fault.
I don't care if you're a Unix purist and you write up your office reports, spreadsheets, and diagrams in vi. Good for you, you're wasting time that can be better spent on other things because of your stubborn prejudice against GUI's. I asked a question, because I have a reason for that question. If you don't have any answers to that question, then please don't bother replying.
diabolical28 said:
I actually Emailed the Dev of Astro about this same question and here was his reply.
Here is the email copied and pasted from gmail.
My question
Are you able to make a version that requests root access to delete chmod rename move etc for the 100,000+ users from xda and other boards with root access?
His Reply
On Jan 21, 2009 10:57 AM, "Kevin Payne" <metago.inc[at]gmail> wrote:
This is a bit outside ASTRO's scope at the moment. Technically, ASTRO should work fine on files owned by root if it were run as a root process, but running applications as root is not advised in general. Someone really needs to create a sudo type command to let an individual application run as root.
Click to expand...
Click to collapse
I looked into the commands to launch an application from the CLI and found that Astro can be started using the following command:
am start -n com.metago.astro/.FileManagerActivity
However, this doesn't do us any good, since the dalvik VM will take that command and create a process as a sandbox user regardless of what user executes that command. There looks like there's a way to tell the VM to fork the process as a specific uid and gid, but that requires editing the AndroidManifest.xml.
I'm not too good with Java, and I don't know how strict Android's API is, so I don't know if running an apk application as root is even possible.
However, I do know that running commands from inside an application, like su, is possible.
~TM
"Wise men speak because they have something to say; Fools because they have to say something." ~Plato
Solved--Astro with root...(workaround)
kinda late, but in case anyone wants to know this is what I did.
This way technically doesnt allow astro to run with root, but its just as good.
I originally did this a few months back for my G1, and just mod it a little to work on my nexus
- created a script to mount system as rw
- created a script that gives r/w permission to all app directories (/data, /data/app, /data/app-private, /system, /system/app, /system/sd, ...) and all apps inside those directories
-then merged the 2 scripts and named it astro_root_perm
-installed GScript from the market
-created another script that
-first changes all permissions on apps back to what they started as(644, 640...)​-then changes permissions of directories back to what they were​-and finally remounts system back to ro, and named this script to astro_basic_perm​
-used Gscript to create shortcuts of the 2 scripts to my home screen.
-then with bettercut, I changed the scripts' icons to the astro icon. I just colored the astro stock icons "A" green for one script and red for the other
So anytime I want to use astro as root, I just click the shortcut I made with gscript off my home screen, open astro,
Then when Im done with astro, I just run the other script
I know its not the same as running astro AS root, but it works for me.
Im not really a linux guy......I'd really appreciate if someone could help me with this next step
++++++++++++++++++++++++++++++++++++
Does anyone know what I need to include in a script to have it call/open a program automatic?
My ultimate goal is to create one script that will
Mount system rw
Change needed permissions to rw
Automatically open up Astro
Then change all permissions back when astro is terminated
Possibly create a keyboard shortcut for the G1
What do ya think?? is it possible??
Estrongs has limited root file browsing on some ROMs and SU File Manager or Root File Manager will let you browse as root for a small price.
+1 recommendation on Estrongs File Explorer's root option if you want it for free, includes Windows shares browsing over lan.
Otherwise try SUFBS, also has built-in terminal.
Sent from my HTC Hero using Tapatalk
louieG1 said:
My ultimate goal is to create one script that will
Mount system rw
Change needed permissions to rw
Automatically open up Astro
Then change all permissions back when astro is terminated
Possibly create a keyboard shortcut for the G1
What do ya think?? is it possible??
Click to expand...
Click to collapse
I'm not sure exactly how gscript handles things, but with a normal bash (shell) script, the lines are run sequentially. That is, the next line isn't run until the previous line is done. It would seem that you could put all that in one script, and the still-running script wouldn't change the permissions back until astro has ended. But then again, java adds complexity to it and I'm not sure if it works the same.
louieG1 said:
kinda late, but in case anyone wants to know this is what I did.
++++++++++++++++++++++++++++++++++++
Does anyone know what I need to include in a script to have it call/open a program automatic?
My ultimate goal is to create one script that will
Mount system rw
Change needed permissions to rw
Automatically open up Astro
Then change all permissions back when astro is terminated
Possibly create a keyboard shortcut for the G1
What do ya think?? is it possible??
Click to expand...
Click to collapse
Love this idea! Unfortunatly I'm no coder but would love to see something like this created.
I created a "GodMode" script that does exactly this, email me if you want it, I can edit it to work for the G1.
Totally forgot I started this thread, then happened to find it on Google when looking for the same thing, again.
Went back to Windows Mobile for a little bit, missed Android, and now have a Samsung Vibrant.
Still want a way to use ASTRO with root priviledges, especially since I don't have a tactile keyboard anymore.
phaelox said:
+1 recommendation on Estrongs File Explorer's root option if you want it for free, includes Windows shares browsing over lan.
Otherwise try SUFBS, also has built-in terminal.
Sent from my HTC Hero using Tapatalk
Click to expand...
Click to collapse
Thank you.
Estrongs File Explorer enabled me to flash Tamil font in my Rooted T-Mobile G2X mobile phone.
I know i am not answering the question directly. But, i use Linda Manager it gets the job done.
---------- Post added at 08:17 PM ---------- Previous post was at 08:14 PM ----------
raddy said:
Thank you.
Estrongs File Explorer enabled me to flash Tamil font in my Rooted T-Mobile G2X mobile phone.
Click to expand...
Click to collapse
Hi raddy,
I'm also from TN as well, i would love to get the Tamil fonts. Can you please guide me?
Not having tamil fonts on the browser is simply annoying
Hi
If your mobile is rooted, then follow this link.
http://forum.xda-developers.com/showthread.php?t=798380
Sent from my LG-P999 using XDA App
raddy said:
Hi
If your mobile is rooted, then follow this link.
http://forum.xda-developers.com/showthread.php?t=798380
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
Cool, i got the tamil fonts on my G1, thanks for the help.

$10 BOUNTY!!! Fix my OpenVPN

I'm offering up a bounty of $10, payable immediately by Paypal, to anyone who can help me figure out how to make OpenVPN (using Hidemyass Pro) correctly run on my HTC Incredible with Virtuous 3.2 Rom installed.
I used the following directions from this site to set up OpenVPN:
Easy way - OpenVPN on rooted/S_OFF Incredible with BusyBox installed:
This is by far the easiest way to set up OpenVPN. Make sure you copy your config file and any relevant keys to a folder on your sdcard.
If you do not have tun.ko on your system, then you can download it for 2.2 (tun.zip) or 2.1 (inside openvpn.zip) attached to this post.
Next, download the following two apps from the Android Market:
OpenVPN Installer
OpenVPN Settings
Next, run OpenVPN installer, click install, give it an install path (I prefer /system/xbin), and give it the path to BusyBox.
Finally, run OpenVPN Settings. Go to Menu -> Advanced, make sure "Load tun kernel module" is checked.
Click on "TUN module settings"
Change "Load module using" to insmod
Change "Path to tun module" to... the path to your tun.ko file. Click back.
Update "Path to configurations" and "Path to openvpn binary".
That should be it!
Okay, so let me be clear in explaining exactly what I've done:
1) I used OpenVPN installer, clicked install, and pointed the install path to /system/xbin and then to Busy box - Binaries installed perfectly without a problem
2) I put all the Hide My Ass Config files into a folder on my SD card called Openvpn (/sdcard/openvpn)
3) I opened the advanced menu and checked "Load tun kernal module"
4) Changed the "Load Module Using" to insmod
5) Changed the Path to tun to (/sdcard/openvpn/tun.ko) - this is the folder where I put all my config files, including tun.ko
6) Changed "Path to configurations" to (/sdcard/openvpn) - which, just like the tun.ko file, is where the config files are located, along with the keys
7) Kept "Path to Binaries" as default setting (/system/xbin/openvpn)
So, after all this has been accomplished, it lists my VPN's servers and I click on one of them. It asks me for my login credentials, and when I put them in, I get the following error:
Fatal;"Cannot load certificate file./keys/hmauser.crt: error:02001002:systemlibrary:fopen:No such file or directory: error: 20074002:BIO.routines:File_CTRL.system lib: error:140AD002:SSL routines: SSL_CTX_use_certicate_file:system lib
Don't know what this means and don't know where to begin to fix the problem. But as I said, first person who gets me online using openvpn will get $10 by Paypal immediately. Who's in?!
If this helps, here's where I got the Hide My Ass Config files:
http://hidemyass.com/vpn-config/
Virtuous 3.2?
digitalicecream said:
Virtuous 3.2?
Click to expand...
Click to collapse
Yes, Virtious 3.2
lol
10ch
EDIT: Think I found your problem. Open the .ovpn file and look for
ca ./keys/ca.crt
cert ./keys/hmauser.crt
key ./keys/hmauser.key
change ./keys/ to where you are storing the files.
FredMan said:
EDIT: Think I found your problem. Open the .ovpn file and look for
ca ./keys/ca.crt
cert ./keys/hmauser.crt
key ./keys/hmauser.key
change ./keys/ to where you are storing the files.
Click to expand...
Click to collapse
It looks like the .ovpn files are all the same, more or less. I don't know where to find what you're mentioning above.
Here are all the files HMA provides. Which of these should i change?:
http://hidemyass.com/vpn-config/
Pick one that is closest to you.
Open it up and look for
Code:
ca ./keys/ca.crt
cert ./keys/hmauser.crt
key ./keys/hmauser.key
Change ./keys/ to ./sdcard/openvpn/
FredMan said:
Pick one that is closest to you.
Open it up and look for
Code:
ca ./keys/ca.crt
cert ./keys/hmauser.crt
key ./keys/hmauser.key
Change ./keys/ to ./sdcard/openvpn/
Click to expand...
Click to collapse
I changed it, but now I get the same error message but with the above thread:
Fatal;"Cannot load certificate file./sdcard/Openvpn/hmauser.crt: error:02001002:systemlibrary:fopen:No such file or directory: error: 20074002:BIO.routines:File_CTRL.system lib: error:140AD002:SSL routines: SSL_CTX_use_certicate_file:system lib
What does the "." before "/sdcard" mean? Am I manipulating the data incorrectly or is there something else I should try?
it's case sensitive Make sure the folders match. Try it with and without the "."
FredMan said:
it's case sensitive Make sure the folders match. Try it with and without the "."
Click to expand...
Click to collapse
You are so close to getting that $10!!
I changed the sequence to /sdcard/Openvpn and for the first time, it actually tried to authenticate and login. But now I got a new error.
It goes through the following:
Auth
Get Config
A quick Ip number that I can't read
then, the following error:
"FATAL: Linux ifconfig failed: could not execute external program"
Any idea how to fix this? I feel like we're very close!!
i dont want the bounty. Just helping out.
open terminal emulator and do
ls /system/xbin
Click to expand...
Click to collapse
look to see if 'ifconfig' is there
FredMan said:
i dont want the bounty. Just helping out.
open terminal emulator and do
look to see if 'ifconfig' is there
Click to expand...
Click to collapse
Thanks for helping out...
Since I have s-off, I'm guessing I'd have to boot into recovery to do anything in terminal emulator (earlier I was told I'd need to do this to use ADB Shell). Is this correct?
I have Astro file viewer on my phone, can I accomplish the same thing by just looking in the folder with that?
You can use astro, just make sure it's there.
FredMan said:
You can use astro, just make sure it's there.
Click to expand...
Click to collapse
Just checked. Yes, it's there. I noticed in the original post on how to set up OpenVPN, posts # 5-8 deal with this exact issue.
http://forum.xda-developers.com/showthread.php?t=702634
I'm not sure what, if anything, I should do with the file the OP posted in post #8, since this was months ago, and the version of OpenVPN I downloaded came out of the market this week. Also, from his original post, it looks like the OpenVPN he attached is for 2.1 not 2.2.
Any ideas?
Stockmoose16 said:
Just checked. Yes, it's there. I noticed in the original post on how to set up OpenVPN, posts # 5-8 deal with this exact issue.
http://forum.xda-developers.com/showthread.php?t=702634
I'm not sure what, if anything, I should do with the file the OP posted in post #8, since this was months ago, and the version of OpenVPN I downloaded came out of the market this week. Also, from his original post, it looks like the OpenVPN he attached is for 2.1 not 2.2.
Any ideas?
Click to expand...
Click to collapse
I GOT IT!!!!!
I had followed the original directions, which said to put ifconfig in system/xbin/bb, but I just reinstalled the binaries in system/xbin and it connected.
Don't know why the original directions were off, but I am so happy. Thank you so much.
Congrats! Have Fun.
FredMan said:
Congrats! Have Fun.
Click to expand...
Click to collapse
Since you were so helpful, can I trouble you for one more question that you may or may not know the answer to?
I have Tasker on my Android and I need it to kill the OpenVPN session when I'm using a certain wifi. This was easy to do with the VPN 1 plugin for PPTP, but I don't know how to make it kill an OpenVPN session (tried to set it up, but it seems to keep trying to reconnect and less I manually toggle off "OpenVPN" in "OpenVPNSettings."
Wanna take a crack?
I will look into it. Love Tasker.

[Q] Ad Blocking errors in internet browser while tethering through Mobile AP?

So I often watch TV show episodes on the websites for CBS, ABC, and NBC and just today for the first time I tried doing so while tethering to my phone using the Mobile AP. When I clicked on an episode, however, I received an error telling me, "This video is either unavailable or is being blocked by an ad blocker installed in your browser." The thing is, I definitely don't have an ad blocker installed in my browser; and, when I disconnected from my phone and instead connected directly to my ethernet, the video worked fine right away. I tried it for shows on NBC.com as well as ABC.com and received similar errors all pointing towards Ad Blocking software. Has anyone else ever experienced this or does anyone know the relation between tethering to Mobile AP and an Ad Blocker detection? Any help would be greatly appreciated as I have two laptops and only one ethernet hookup, so I would like to be able to have good internet connected to both at once.
No one huh???
Sent from my SAMSUNG-SGH-I897 using XDA App
Install AdFree Android from the market, then choose revert.
do you have ad-blocking built into your rom? delete (or rename) the "hosts" file in system/etc
TRusselo said:
do you have ad-blocking built into your rom? delete (or rename) the "hosts" file in system/etc
Click to expand...
Click to collapse
Ohhh wow I didn't even realize that ad-blocking came built into ROMs. I just quickly checked in /system/etc and did see the hosts file, opened it up and checked out the text. I tried renaming it but it was read-only, and root explorer wouldn't let me remount as r/w. I guess I'll look into it more tomorrow. But I would imagine I wouldn't want to just straight delete it right, as whatever ads it was blocking would no longer be blocked? I could just rename it any time I encountered errors while tethering to my laptop?
Does reverting through Adfree simply delete that hosts file?
Sent from my SAMSUNG-SGH-I897 using XDA App
if root explorer wouldnt let you mount you might have lost root somehow. re root.
TRusselo said:
if root explorer wouldnt let you mount you might have lost root somehow. re root.
Click to expand...
Click to collapse
I don't think I did. I just updated the su binary and when I reopened root explorer, superuser asked me if I wanted to allow root access to root explorer. I've read that before somewhere of people having trouble remounting within the /system folder. It let's me remount on folders outside /system, just not inside it. I still haven't figured it out. I suppose I could use terminal emulator right?
Sent from my SAMSUNG-SGH-I897 using XDA App
TRusselo said:
do you have ad-blocking built into your rom? delete (or rename) the "hosts" file in system/etc
Click to expand...
Click to collapse
you were exactly right TR. i renamed the hosts file and re-tethered and i no longer received any errors about ad-blocking software. not to say the video is actually working too well tho - just keeps freezing. i guess streaming tv episodes while tethered to your phone isn't the best idea. anyway, thanks man!

[GUIDES] CIFS&BIND and BIND4SWAP for use on OUYA

Hi guys!
i wrote a little guide to use DirectoryBind to "emulate" a memory swap, and install apps and data on external storage (USB Pendrive, HDD, mounted CIFS, etc)
This is valid for OUYA, or any rooted device.
hope you found useful.
Note: Is in spanish. use tranlsator to get a translated version. Hope i get some time and generate a proper English version to post here. If there is any guy that wants to help me translating, it will be nice.
http://manguiro.blogspot.com/2013/07/guia-rapida-bind4swap-directorybind.html
I created another guide, similar to BIND4SWAP, and i use a shared directory on my local net to use as a sdcard on any android device. This is useful if you want to "extend" your storage to a remote location, and you can use the same installed files on many android devices. i.e., i tested and use one single installation of my android applications (nova3 in example), and can load an play on my Ouya, JXDS7300B, JXDS5110B, S908, Motorla Razr, GPD5005, etc... all devices are pointing to the same net resource and load the files, without need of installing files on local device.
note: this guide (CIFS&BIND) is for fast local networks. If you have a slow network, then i suggest to use it for small size games, or games that loads small portions of data (i.e. Bard´s Tale is a game that runs ok in a 100mb speed network)
http://manguiro.blogspot.com/2013/07/cifs-directorybind-sambadroid-cifs.html
Now, i´m working in a new version of the CIFS&BIND guide, but i´m using the OUYA as network resource. I attached a HDD via USB to the console (350GB), and ouya uses as their sdcard (via DirectoryBind). I get over 120 games installed on the ouya... and share all these data to my other devices. I have only a problem for now, i want go create a Access Point Wifi on the Ouya, but all the software i tested hangs or get errors. I want to get advantage of the WIFI antenna of the OUYA because runs at 150mbs (wifi n), that is a good speed for many guys that don´t have a fast wifi router on their installations.
if you can help me with this, please send me a mp.
hope these guides will be interesting and useful.
Zalu2!
Deen0X said:
http://manguiro.blogspot.com/2013/07...ctorybind.html
http://manguiro.blogspot.com/2013/07...roid-cifs.html
Zalu2!
Click to expand...
Click to collapse
urls are truncated and invalid
http://manguiro.blogspot.com/2013/07/guia-rapida-bind4swap-directorybind.html
http://manguiro.blogspot.com/2013/07/cifs-directorybind-sambadroid-cifs.html
emulation said:
http://manguiro.blogspot.com/2013/07/guia-rapida-bind4swap-directorybind.html
http://manguiro.blogspot.com/2013/07/cifs-directorybind-sambadroid-cifs.html
Click to expand...
Click to collapse
thanks!
fixed!
CIFS.ko is not present in rom................. anyone have?
http://forum.xda-developers.com/showthread.php?t=2308740 <--- You can try this.
emulation said:
http://forum.xda-developers.com/showthread.php?t=2308740 <--- You can try this.
Click to expand...
Click to collapse
I get OuyaStockPlus installed on my OUYA, and this come with CIFS module...

mtp total commander?

I accessed the mtp file structure with total commander. I wondered on it. Is it something new?
Whoa! That's definitely *different*. What phone are you using?
I'd been considering finding (or writing) an alternate MTP client so that I could take advantage of the Full File System hack on ATIV phones and dump the running file system (Windows Explorer is a miserable MTP client). Looks like TC would probably do the job. However, looks like it also reveals even more than we knew was there...
I'll investigate (once I have a data cable and not just this silly charge cable) and see what I can find.
nothing new but available few months in beta releases (8.50)... just start TC, select Computer (drive overview) and WP8 phone is there
latest 8.50 version stable version
http://www.ghisler.com/amazons3.php
or beta 8.51 beta 4
http://www.ghisler.com/851_b4.php
The fact that the phone is there is not the exciting bit (although I didn't know TC supported MTP, so that's cool). The exciting bit is the presence of all those other "folders", like "Apps", "Metadata", "StorageInfo", etc.
I tried 8.51b4. Didn't get anything out of the norm.
thals1992 said:
I tried 8.51b4. Didn't get anything out of the norm.
Click to expand...
Click to collapse
exactly , me too.
i tried it with show hidden files , etc.
but nothing new
I used an Older version with Windows media audio plugin from ghisler.com (file system plugins)
my phone is 520 with Black and devunlocked by aiyiyong for 10 Apps. Actually áll the extra folders are empty. I Will try to copy something into them.
kiss.adam.pacman said:
I used an Older version with Windows media audio plugin from ghisler.com (file system plugins)
my phone is 520 with Black and devunlocked by aiyiyong for 10 Apps. Actually áll the extra folders are empty. I Will try to copy something into them.
Click to expand...
Click to collapse
what is your software version ?
Mine is 8.50
O sorry .
your Version is 8.01 . now see it
Last Edit : with 8.01 and that plugin :
still normal access on Lumia 920
I did it again by the same way.
History:
1. Installed TC a long time ago, (and it may be importent, set to always run with administrator rights)
2. bought l520
3. devunlocked l520, did preview for developers, installed gdr3, installed black
4. installed windows media audio extension
5. opened the phone, and amazed on the folders
thals1992 said:
I tried 8.51b4. Didn't get anything out of the norm.
Click to expand...
Click to collapse
Wow ! Take a look
Run as Administrator . Install Media Audio plugin that he mentioned
Go To Network neighborhood then Media Audio
You see your WP Device and in this partition you can see these folders .
but Unfortunately All of these folders are empty !
I'll try it with the Odyssey tomorrow. I wonder if having the Full FS made any changes to permissions to MTP on the device to actually be able to see something inside.
Sent from my Lumia 928 (RM-860) using Tapatalk
thals1992 said:
I'll try it with the Odyssey tomorrow. I wonder if having the Full FS made any changes to permissions to MTP on the device to actually be able to see something inside.
Sent from my Lumia 928 (RM-860) using Tapatalk
Click to expand...
Click to collapse
The most bad thing is that we can't write files in these folders .
not only these folders even in Phone folder !
we have write permission when navigate from This PC but we can't write when we navigate from this method
It's seems not very useful but still interesting .
we have to test another MTP device . maybe this plugin shows these folders for every MTP devices !
I ran across the source code, but I haven't found any information about those folders. Altough it is possible that the starnge folders are from an API.
I am trying to find other mtp clients, but tcmd and windwos explorer might be the only ones.
see here
kiss.adam.pacman said:
I am trying to find other mtp clients, but tcmd and windwos explorer might be the only ones.
Click to expand...
Click to collapse
1st my samsung
http://forum.xda-developers.com/attachment.php?attachmentid=2660691&stc=1&d=1396275291
2nd my nokia
http://forum.xda-developers.com/attachment.php?attachmentid=2660705&stc=1&d=1396275457
m
Can you modify/read system files?
I don't think it is avaliable, so please upload a file system tree except for your personal files
With 8.1 a new folder is avaliable via MediaAudio2 called: Media Library Service
kiss.adam.pacman said:
With 8.1 a new folder is avaliable via MediaAudio2 called: Media Library Service
Click to expand...
Click to collapse
still empty ? yes ?
ngame said:
still empty ? yes ?
Click to expand...
Click to collapse
Still

Categories

Resources