[Solved] Web Pages Not Loading When On 4G? - EVO Shift 4G Themes and Apps

I had this issue, where all apps would run fine, but web pages would freeze. Moreover, this would only happen when using 4G. Unfortunately, the problem is due to adfree replacing the hosts file. I am not sure why, and even more confused why it only affects 4G, but it is definitely the culprit. Currently, the only solution I have is to revert the hosts file and deal with the ads. So what it comes down to, is enjoy 4G in the browser, and have ads, or no ads and no 4G in the browser.
Here is the fix, courtesy of RyteSyde:
Open up adfree and choose custom ip, in the box enter
72.3.232.220
Then let adfree do its thing. That is all it takes to have 4G and no ads. If you appreciate this, give RyteSyde a thank you.

It could be one or several individual entries in your hosts. I don't use adfree but use a hosts file I compile myself and use on my win servers, clients etc. No probs on 3/4g or wireless. Have you tried replacing the hosts yourself...ie without adfree?

RyteSyde said:
It could be one or several individual entries in your hosts. I don't use adfree but use a hosts file I compile myself and use on my win servers, clients etc. No probs on 3/4g or wireless. Have you tried replacing the hosts yourself...ie without adfree?
Click to expand...
Click to collapse
I tried with some old hosts files I had, but still had issues. Could I trouble you to upload your hosts file? Thank you

cloverdale said:
I tried with some old hosts files I had, but still had issues. Could I trouble you to upload your hosts file? Thank you
Click to expand...
Click to collapse
Sure thing. Here's a zip with the hosts in unix and win formats. You can remove/add to the list but if you make changes to the unix list be sure to convert it back to unix format after saving so the carraige returns are correct. I use dos2unix for that. Also, if you open the unix in notepad they will all run together, but wordpad will line item them.

RyteSyde said:
Sure thing. Here's a zip with the hosts in unix and win formats. You can remove/add to the list but if you make changes to the unix list be sure to convert it back to unix format after saving so the carraige returns are correct. I use dos2unix for that. Also, if you open the unix in notepad they will all run together, but wordpad will line item them.
Click to expand...
Click to collapse
I appreciate it, thanks. (I run Linux, so format should not be an issue, but thanks for the warning).

also just in case anyone else reads this...
To copy the hosts yourself, though there are several ways, put the unix hosts file on you sd card. I typically just email it to myself since I'll get it right away via exchange and I don't have to USB the phone. Then I save the att to the sd card. From there I use root explorer and Mount R/W mode and navigate to the hosts file on the sd card and copy the hosts file. Then navigate to the /etc folder on the phone and paste the hosts file. If you only have the original hosts there is ony one line in it (127.0.0.1 localhost) so it's not super important to backup the original (I don't). You can always rename the original to hostsX or the like if you wish.
After you've copied it, reboot the phone and you're good to go.
The win version goes in windows\system32\drivers\etc and there's no need to reboot. Just do a command prompt "ipconfig /flushdns" and then "nbtstat -R" to clear the cache. The win hosts can also be merged with your current one with notepad or your flavor of text editor.
This will block a large majority of the ads out there on sites like drudge etc.
HTH

cloverdale said:
I appreciate it, thanks. (I run Linux, so format should not be an issue, but thanks for the warning).
Click to expand...
Click to collapse
Hey CD, just checking in to see if you've been able to resolve you 4g issue. Alls well?

RyteSyde said:
Hey CD, just checking in to see if you've been able to resolve you 4g issue. Alls well?
Click to expand...
Click to collapse
Unfortunately no, when I pushed your host file, my phone started boot looping. I did nothing else, just pushed the file, then rebooted. I am really confused by this, as it would have worked fine with my G1. I need to investigate further.

well that's really strange. Perhaps dos2unix didn't do it's job properly or something. Can you open the unix hosts file on your linux box, save it and then try?
Strange it's boot looping because hosts is pretty low on the resolution stack and should just bypass if it can't read/find a hosts and move on to DNS resolution.

RyteSyde said:
well that's really strange. Perhaps dos2unix didn't do it's job properly or something. Can you open the unix hosts file on your linux box, save it and then try?
Strange it's boot looping because hosts is pretty low on the resolution stack and should just bypass if it can't read/find a hosts and move on to DNS resolution.
Click to expand...
Click to collapse
That is what I was thinking. I will give it another shot after work tonight.

I got the same problem loading pages on 4G through the browser while using adfree. So I switched to Dolphin browser and that took care of it. That is a temp fix for now I guess but honestly Dolphin is a better browser to me anyway.

cloverdale said:
That is what I was thinking. I will give it another shot after work tonight.
Click to expand...
Click to collapse
I've confirmed this issue on my device as well and I'm about 99% sure I've confirmed what is causing it and it's not the structure or corruption of the hosts file but it has to do with it. Will post back when I have the update.

Okay got the fix for this. Sorry it took so long but my 4G at the moment won't hold a signal so I got in the truck, braved the 25degree temps and went and parked right next to my closest 4G tower so I could hold a signal and finally confirm this. It's not really a fix per-se, rather a correction. What AdFree does is use 127.0.0.1 to redirect domains away from their correct IP's. That's nothing new. When I modify hosts files, I never use 127.0.0.1 because it is an internal loopback designation. Will it work, yes but if 127.0.0.1 does not run a web server, your returns *can* be much slower vs. an actual web server that returns an immediate response, even if that response is "page not found" etc. Compare that to a simple wait for timeout for no response. So, for my setup here I have a domain controller, web/dns server etc. and all of my hosts files point to that server's LAN IP. Result...no ads (or very very few until I add them to the list) and pages are very fast to load. Actually, I just use the hosts file on the server and use that server as my primary DNS everywhere else so I don't have to update the hosts on multiple machines.
Obviously on the phone, it's not able to see my server's IP so I modified the hosts I uploaded to use 127.0.0.1, because we weren't having issues with timeouts. The problem comes with 4G and it's got to be because the 4G is going through a proxy server I'm not aware of yet (haven't investigated further) and when it tries to return back to 127.0.0.1, that is no longer *your* NIC. That's why some pages will load and others won't. If a page has content derived from any source that's listed in the hosts file, it will try to wait for the timeout before moving on to the remainder of the code. If you hit a page that doesn't have any references to anything in the hosts file, it'll load just fine.
So, the resolution is to modify the IP used in the hosts file. I decided to load up sprint.com and see what speeds I got from various derivatives and for *me* the fastest one was now.sprint.com, which resolves to 72.3.232.220. I replaced all of the 127.0.0.1 entries with 72.3.232.220 except for the first localhost, leaving that 127.0.0.1 and put that on the SD card. I went to the tower, fiddled around making sure it was doing the same thing and then loaded this hosts file. (FYI you don't need to reboot after replacing it). Now all the pages load like you'd expect.
So, I hope that drawn out explanation helps you and others. You can use really any IP you want for the hosts resolver, just try to make sure it's an actual web server to avoid the timeouts.
I'm uploading the hosts with the now.sprint.com IP for you and all to use. Let me know if it fixes your problem as it did mine.
Ryte

RyteSyde said:
Okay got the fix for this. Sorry it took so long but my 4G at the moment won't hold a signal so I got in the truck, braved the 25degree temps and went and parked right next to my closest 4G tower so I could hold a signal and finally confirm this. It's not really a fix per-se, rather a correction. What AdFree does is use 127.0.0.1 to redirect domains away from their correct IP's. That's nothing new. When I modify hosts files, I never use 127.0.0.1 because it is an internal loopback designation. Will it work, yes but if 127.0.0.1 does not run a web server, your returns *can* be much slower vs. an actual web server that returns an immediate response, even if that response is "page not found" etc. Compare that to a simple wait for timeout for no response. So, for my setup here I have a domain controller, web/dns server etc. and all of my hosts files point to that server's LAN IP. Result...no ads (or very very few until I add them to the list) and pages are very fast to load. Actually, I just use the hosts file on the server and use that server as my primary DNS everywhere else so I don't have to update the hosts on multiple machines.
Obviously on the phone, it's not able to see my server's IP so I modified the hosts I uploaded to use 127.0.0.1, because we weren't having issues with timeouts. The problem comes with 4G and it's got to be because the 4G is going through a proxy server I'm not aware of yet (haven't investigated further) and when it tries to return back to 127.0.0.1, that is no longer *your* NIC. That's why some pages will load and others won't. If a page has content derived from any source that's listed in the hosts file, it will try to wait for the timeout before moving on to the remainder of the code. If you hit a page that doesn't have any references to anything in the hosts file, it'll load just fine.
So, the resolution is to modify the IP used in the hosts file. I decided to load up sprint.com and see what speeds I got from various derivatives and for *me* the fastest one was now.sprint.com, which resolves to 72.3.232.220. I replaced all of the 127.0.0.1 entries with 72.3.232.220 except for the first localhost, leaving that 127.0.0.1 and put that on the SD card. I went to the tower, fiddled around making sure it was doing the same thing and then loaded this hosts file. (FYI you don't need to reboot after replacing it). Now all the pages load like you'd expect.
So, I hope that drawn out explanation helps you and others. You can use really any IP you want for the hosts resolver, just try to make sure it's an actual web server to avoid the timeouts.
I'm uploading the hosts with the now.sprint.com IP for you and all to use. Let me know if it fixes your problem as it did mine.
Ryte
Click to expand...
Click to collapse
Your idea worked perfectly. Rather than push the file, I was lazy and had adfree use the ip you gave, instead of 127.0.0.1, and everything works. Thank you very much.

cloverdale said:
Your idea worked perfectly. Rather than push the file, I was lazy and had adfree use the ip you gave, instead of 127.0.0.1, and everything works. Thank you very much.
Click to expand...
Click to collapse
My pleasure. I haven't used AdFree so didn't know it had the option to do that. Glad it worked for you.

RyteSyde said:
My pleasure. I haven't used AdFree so didn't know it had the option to do that. Glad it worked for you.
Click to expand...
Click to collapse
I know my Linux, but am fairly ignorant when it comes to networks. I really appreciate the help.
On the topic of adfree, I like to use it since it updates the hosts file with no effort on my part. I realize it is just downloading a list, then concatenating to the hosts file, but it is just one less thing I need to worry about.
I am a mathematician, so if that can ever be of help to you, please let me know.

cloverdale said:
Your idea worked perfectly. Rather than push the file, I was lazy and had adfree use the ip you gave, instead of 127.0.0.1, and everything works. Thank you very much.
Click to expand...
Click to collapse
This worked for me as well

Worked for me as well. Used adfree to push out the new IP.

Thanks, cloverdale and RyteSyde! Running Vin's Plutonium with cooked hosts file and this I needed this information. Wish I knew what makes me in the minority that needs a different IP, though.

solver404 said:
Thanks, cloverdale and RyteSyde! Running Vin's Plutonium with cooked hosts file and this I needed this information. Wish I knew what makes me in the minority that needs a different IP, though.
Click to expand...
Click to collapse
Glad this thread helped someone else. No ads makes such a difference.

Related

Scripts for XDA_UC

I've been trying for the last couple of days to solve an issue (it's not really a problem) that has been irritating me for a while. The issue is that everytime i flash a new rom i have to spent a coupe of hours after configuring everything again. Now, I use the 6.5.x tree of NRGZ28's energy rom series, specifically the standard variant and i want to create some scripts that will automatically setup things like my exchange server, hotmail, opera user-agent string and wifi. I already have a script that is supposed to work for exchange (not tested it yet) and one for the wifi. The wifi one just doesn't work but i've just done some reading and i think i know why (More on that in a mo). So, i was wondering, has anyone tried this already? If so do you have the scripts that are needed or know where i can find them?
Now, back to the wifi script. The reason i believe it doesn't work is because it would appear that the wifi has to be on for the WLAN driver to accept the new configuration. Now when you install a new rom, as most of you will know, the wifi is turned off and those of you familiar with the energy rom series will know that xda_uc runs right after first boot allowing no time for the wifi to be enabled manually. So, i was thinking, is it possible to write some code that will enable the wifi at first boot so the configuration script will successfully modify the wifi configuration?
Thanks for your thoughts in advance guys and girls.
Have a look in the FAQ for the ROM and there is post for sample scripts. I used them last night and got hotmail and exchange working. Here's the link:
http://forum.xda-developers.com/showpost.php?p=7333558&postcount=19477
Check the FAQ - each time I re-read it I figure something else out.
lol and there was me thinking it would be a lot harder. i always skip past the faq because 9 times out of 10 they are always filled with things like "How do i flash a rom" etc but i do still have a feeling it's not going to cover all my questions, things like can i write some code to enable the wifi at first boot or some other things i haven't meantioned like can i write a script that will automatically configure omarket with my login details.
I want to go all out on this and have it set up so i have to do as little manual configuration as possible so some code samples and/or further pointer would be really handy.
Just had another look at the faq and found i already had the xml generator listed in the energy addons page. One small problem... I have no idea what the hotmail server configuration is. Any clues? if not i will google it later.
Got my hotmail script. No idea if it works, guess i'll have to test it at some point.
I'm still looking for info on how to enable the wifi at first boot. Although at this point i am open to suggestions on different methods that could be used.
I am also a little disappointed. i thought this one had more legs to it. oh well, you can't always get everything you want i guess.
Just a litlle update. I got the wifi to take the settings without turning it on. Well i say i did it when really it just seemed to work. i think it might have somethig to do with some new drivers that were cooked into the rom i use.
I dropped the hotmail script because i do actually use windows live fair often and i ended up with 2 hotmail email accounts in the email tab but with a couple of tweaks i did get my exchange settings script to work like a dream.
I'm now looking into setting the phone identity using a reg file. I gave it a go using a script i picked up but instead of doing what it was supposed to it just stopped the windows and HTC sms clients from working correctly and i can't figure out why (it caused the phone to create several undeleteable sms messages). I'll post the code at the bottom. I'm also wondering if it is possbile to have a script that will copy files (ringtones specifically) to the right location. I think XDA_UC will do this if you create the directory structure in a folder in the XDA_UC folder on the sd card (hope you followed that one). Can anyone confirm that? I also created a script to configure quickgps but that didn't seem to work, i'll post the code for that too.
I'm still wondering if it would be possible to configure the opera user agent string using some form of script or reg file and it would be really nice if i could something similar with BSB tweaks, agps, HTC location service and pretty much everything else tbh. So if anyone has any scripts, reg files or cab files they wanna share i will certainly welcome them and i'm sure that many others will too.
Anyway, to posting those reg files:
Code:
[HKEY_LOCAL_MACHINE\Ident]
"Name"="Lucifer"
"Desc"="HTC HD2"
"OrigName"="Lucifer"
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\QuickGPS]
"auto"=dword:00000001
"actSync"=dword:00000001
"ExpiredTime"=dword:00002760
"remind"=dword:00000001
Check this out for reference [XDA_UC][UC][SASHIMI][S4X] S4X_Auto & S4X_Backup [AUG.10.2010] XDA_UC Mods & Answers
id some looking up on the device name thing and found this: http://msdn.microsoft.com/en-us/library/aa924188.aspx seems my reg key was a little wrong.
I've also managed to create a cab file that will install my ringtones and then setthem with all related options as the defaults. I know it's not very impressive but it's a step in the right direction. I think i may have a look at exporting the bsb tweaks settings later and see how that goes.
Oh one question: i have been looking for an .reg to xml converter but my google results all seem a little vague and i don;t know if can trust the programs i'm finding. Has anyone got any suggestions?
M3PH said:
Oh one question: i have been looking for an .reg to xml converter but my google results all seem a little vague and i don;t know if can trust the programs i'm finding. Has anyone got any suggestions?
Click to expand...
Click to collapse
I don't think you need to convert reg to xml. Just leave the .reg files in the XDA_UC directory and it should run automatically.
darkblak said:
I don't think you need to convert reg to xml. Just leave the .reg files in the XDA_UC directory and it should run automatically.
Click to expand...
Click to collapse
No, you're right. I have no idea what i was thinking.
Another little update. I have working reg files for opera ua string and quickgps. I've decided not to bother with bsb tweaks because it's so easy to setup but being able to preconfigure windows live would be cool. Also being able to preconfigure agps would be nice

!!!Access the NC SDCard over WiFi!!!

Thanks to JimmyChingala for creating the app.
Let me tell you why this useful. You can side load you ebook, apps etc. via wifi. I know we can do this with CIFS as well, but this is a small footprint app and can be easily enabled/disabled as well. I prefer this as pushing files to the NC is easier than trying to navigate via cifs IMHO.
Now gettin' down to business...
Step 1: Go HERE and download the SambaFilesharing3APK-b101226-2.zip file. This can change as and when Jimmy decides to make updates etc.
Step 2: Unzip the apk inside the zip file.
Step 3: Install using ADB or copy it over to NC/sdcard and install using Root Explorer/Astro type File Manager
Step 4: Run the app and DO NOT FORGET to ALLOW Superuser access. THIS WILL NOT WORK IF YOU DONT DO THIS
Step 5: Also, the first run will be a bit slow, the app has to unpack some additional binaries into its private data space.
Step 6: Please change "username" & "password" PROMPTLY and without FAIL.
Step 7: Go to Win/Mac and connect to the ip address displayed. Voila. You're in.
WARNING 1: FOR NOW ONLY THE SDCARD is visible. So dont post questions about why can't i see the NC Folders.
WARNING 2: Do copy a LARGE FILE over this as it is bound to fail. I have tried this with 2MB-4Mb files and not seen an issue so far & presumably 100Mb works as well . See this POST for more details. A fix is on the way.
FEEDBACK REQUESTED ON:
1. Battery Life - How does it affect if you leave it on all day. Please let me know so that i can compare it with mine & others
2. Speed.
TROUBLESHOOTING:
Uninstall any previous (non-APK) version of SambaAndroid you have. As root on your device:
Code:
# /data/local/samba/bin/samba-rc stop
# rm -r /data/local/samba
# mount -o remount,rw /system
# rm /system/etc/dhcpcd/dhcpcd-hooks/96-restart-samba
# rm /system/bin/dhcprootshell
works great! thanks for sharing!
Could you elaborate more about Step 7 please? I've installed samba on my NC (enabled superuser, changed username and password etc). Now on NC screen its displaying "Enabled - Running \\ip address \\ANDROID.
How would I connect to the ip address displayed on my nook? Step by step instructions would be appreciated.
jay084 said:
Could you elaborate more about Step 7 please? I've installed samba on my NC (enabled superuser, changed username and password etc). Now on NC screen its displaying "Enabled - Running \\ip address \\ANDROID.
How would I connect to the ip address displayed on my nook? Step by step instructions would be appreciated.
Click to expand...
Click to collapse
You must enable samba before u can connect to it. Hit the settings icon = in the bottom and touch enable. U r good to go then
madrascafe said:
You must enable samba before u can connect to it. Hit the settings icon = in the bottom and touch enable. U r good to go then
Click to expand...
Click to collapse
Must Samba be installed on my desktop PC (maybe a server)? I have folders/files that are already being shared over my network through XBMC.
I have already enabled Samba on the nook. Is it supposed to "see" my existing files that are being shared on my network (i.e. movies)? How can I access the files being shared? Will my shared files be downloaded to the SDCard so I can view them?
Again please explain the process a little more.
What's the big deal?
Just get WiFi File Explorer in the Market - "no step" setup to see your Nook on your WiFi network!
docfreed said:
Just get WiFi File Explorer in the Market - "no step" setup to see your Nook on your WiFi network!
Click to expand...
Click to collapse
Only the Pro version of wifi file explorer allows you to upload files. The free doesn't.
jay084 said:
Must Samba be installed on my desktop PC (maybe a server)? I have folders/files that are already being shared over my network through XBMC.
I have already enabled Samba on the nook. Is it supposed to "see" my existing files that are being shared on my network (i.e. movies)? How can I access the files being shared? Will my shared files be downloaded to the SDCard so I can view them?
Again please explain the process a little more.
Click to expand...
Click to collapse
After installing the Samba server on the NookColor and opening the Samba menu (on the Nook) to fill in a new user/password you may want to also enter a workgroup name the corresponds to the workgroup on your local network.
Reinitialize the Samba server on the NC after entering this info, then on your PC open windows explorer and scan your Network. The SDcard on the NC should show as a 'PC' on your network with the ID 'ANDROID' (unless you changed the ID in the Samba menu). You can then move files to/from the SDcard. Unless you set up 'shared files' in some way there will be no shared files, but the ability to move files wirelessly and browse the SDcard from your PC; very helpful for most.
You do not need any software on the PC ... also this assumes your router assigns IPs using DHCP
howdy.
im on windows7 and trying to get this up and running but failing.
ive changed user/pass, disabled then enabled, click network (on pc) and it never finds the nook.. ive tried to scan for wireless devices with no luck.
there is probably and easy/obvious solution for this, but i do not know what it is
//i can ping the nook and it responds, but it just doesnt show up anywhere..
Open Windows Explorer, or just "Computer" from the start button (orb). There is an address bar at the top of the window, similar to Internet Explorer. In the address bar, type this (for example):
\\192.168.1.100
(in your situation, type whatever IP address appears on the NC itself once the Samba server is started, the IP address I showed here is an example only)
Then hit <Enter> on your keyboard.
You can also use:
\\android
thanks,, i knew there was an easy solution.
jewnersey said:
thanks,, i knew there was an easy solution.
Click to expand...
Click to collapse
Well, the EASY solution is pony up $3 and buy Websharing off the market. I tested it last night and it was completely painless. It works somewhat like adb wireless, (in that you just press "start" on the NC then connect on PC) but instead of using a terminal to connect you just connect to an IP in a browser and drop files directly to the SD card or NC itself there. Super easy, works perfectly. I loaded multiple video files last night and it was great.
I'm not sure how you could make it any easier (or cheaper) than the Samba Server mentioned in this thread. Fire up a Windows Explorer window, type in \\android in the address bar, and drag and drop files.
After you do this once, the computer can even finish typing the path for you. If that's too much work, just create a shortcut on the desktop that takes you straight to it.
So I just tried to sideload a book through wireless and the file transfered fine but I had to restart the NC to get it to come up in my books section and able to have it in a shelft etc.
Bobb_o said:
So I just tried to sideload a book through wireless and the file transfered fine but I had to restart the NC to get it to come up in my books section and able to have it in a shelft etc.
Click to expand...
Click to collapse
thats the draw-back for side-loaded book anyway.. A small price to pay
KryptoNyte39 said:
You can also use:
\\android
Click to expand...
Click to collapse
This is the DEFAULT... You can change it to anything you want in "Settings"..
swapdotavi said:
Well, the EASY solution is pony up $3 and buy Websharing off the market. I tested it last night and it was completely painless. It works somewhat like adb wireless, (in that you just press "start" on the NC then connect on PC) but instead of using a terminal to connect you just connect to an IP in a browser and drop files directly to the SD card or NC itself there. Super easy, works perfectly. I loaded multiple video files last night and it was great.
Click to expand...
Click to collapse
Why do u have to spend $3 when this is FREE!. Might as well spend it on something else IMHO.
madrascafe said:
Why do u have to spend $3 when this is FREE!. Might as well spend it on something else IMHO.
Click to expand...
Click to collapse
Well, for the reason I stated; it's easier. I'm not saying this method is really hard, or that it's not worthwhile. I'm just saying if a really easy to use app with a good UI that basically does exactly this in a browser instead of a terminal is worth $3 to you then there is an option available
The transfer rate is quite quick and the UI is pretty awesome. I got it yesterday based on someone's recommendation in the sideloaded apps thread and it's pretty good. For my the ease of use is a nice feature because my girlfriend uses my nook as well, so not having her call me every time she wants to load a new movie or PDF is easily worth $3. YMMV.
madrascafe said:
thats the draw-back for side-loaded book anyway.. A small price to pay
Click to expand...
Click to collapse
Wouldn't using the "Media Scanner" utility that's in Development.apk (pulled from an Eclair emulator) prevent the need for a reboot?

[APP] Remote access your NC via Browser

Found a nifty tool on the Market called Browsix
After install point your browser to
Code:
http://ipaddress:portnumber
that comes up in the bottom of your screen.
Its a bit rough around the edges but works..
Webshare lite is another market app that has this functionallity. The paid version allows you to mount your Nook color as a hardrive on your PC. Then you can move directories or multiple files by cut and pasting 'till your hearts content. No wires needed. I often use it to paste audio book folders to my phone and it has been really helpful turning my NC into a true tablet.
I was using something like this, until someone pointed me towards the Samba Server. So now when I fire up the PC, I just browse to a network share on the NC and move files wirelessly.
EDIT: Well, I see you were the guy that pointed some to Samba. How is this better/different?
I tried browsix too - works great. One caveat: you don't even need to enter the IP address: just go to browsix.com on your desktop on the same wifi network as your nook, and you'll have access.
KryptoNyte39 said:
I was using something like this, until someone pointed me towards the Samba Server. So now when I fire up the PC, I just browse to a network share on the NC and move files wirelessly.
EDIT: Well, I see you were the guy that pointed some to Samba. How is this better/different?
Click to expand...
Click to collapse
No difference. If u have samba setup then u don't need this. This is just another option

[Q] ES File Explorer set-up

I've installed ES File Explorer on my Prime under the impression it will let me browse my shared files and folders on my laptop. So I go to the 'LAN Shares' page in ES and run a scan. My laptop shows up, but when I click on it I get the error 'Login failure. Try new user name/password?' Thing is, I don't have a password on my laptop... so how do I get around this?
Also, on Windows 7 how do I make sure I'm properly set-up for file sharing?
I think you just right click on c or your doc folder and you see sharing options. ES is working great for me. I do believe you have to make the computer open to the world, so remember to stop sharing if it is a laptop you take away from home.
when on the main ES explorer screen...
1. swipe your finger to the left..
2. add a "server" in this case your PC IP address with user/passwd if needed
3. if any shares are available on your PC they will get listed right away...
hope it helps.
PuroKaibil said:
when on the main ES explorer screen...
1. swipe your finger to the left..
2. add a "server" in this case your PC IP address with user/passwd if needed
3. if any shares are available on your PC they will get listed right away...
hope it helps.
Click to expand...
Click to collapse
Yes I've done that, but my problem is that I don't have a username or password on my laptop but ES keeps asking for it!
Create a user on the laptop called share with the password share or something.
Then give the diesired folder access-rights to this user.
done
traxxus said:
Create a user on the laptop called share with the password share or something.
Then give the diesired folder access-rights to this user.
done
Click to expand...
Click to collapse
Well yes but I'd rather not have to put a password in everytime I boot windows. There must be a way to get this working without having to set up a user account in windows...?
breakshift said:
Yes I've done that, but my problem is that I don't have a username or password on my laptop but ES keeps asking for it!
Click to expand...
Click to collapse
How did u created the shares?
Is the "everyone" group listed as having access rights on the "Shared" folders you're sharing?
I don't think you understand. Your username is literally your user name. It's your user account. If you don't have a password for your user account, you still need to enter the "login name" for your user account whether it be the default "Administrator" or "User" and leave the password field empty.
My user name in Windows is buymecar. My login password is ilovexda. You get where I'm going with this?
breakshift said:
Also, on Windows 7 how do I make sure I'm properly set-up for file sharing?
Click to expand...
Click to collapse
make sure you turn off password protection for shares in...
but you can always set a password, and set window to auto login buy running "control userpasswords2"
fuzzer said:
make sure you turn off password protection for shares in...
but you can always set a password, and set window to auto login buy running "control userpasswords2"
Click to expand...
Click to collapse
Right.... and make sure that "Anonymous" has rights to access the shares. That will be under your Local Policy settings if you want to go that deep.
Okay got it working, thanks for the help guys. The problem was that all my media is on an external hard drive. In case anyone else has this problem and stumbles upon this thread, here's what I did:
1. Right clicked the external hdd and went to sharing tab. At the bottom it said that I had password protection on, so I followed the instructions there to disable it.
2. The 'Share' button in the sharing tab was greyed out so I had to go into advanced sharing and check 'Share this folder'.
3. I then went into the security tab of the properties pane and gave my user account all permissions. My user account is the only account and therefore has admin rights, so I don't know why I had to do this.
4. I then created a new username called 'everyone', and gave it all permissions.
5. Clicked okay and close, and I could then access it via ES on my prime.
The reason I didn't mention the hdd in the OP is because at that point I couldn't access the laptop at all. Once I did the above everything worked. I think having password protection on was preventing me from getting into my laptop at all, as I don't have any passwords in windows.
Thanks for the help! I now have access to all my media on my prime. Good times.
EDIT. Turns out the username 'everyone' doesn't need all permissions. I didn't like the idea of 'everyone' having full control over my hdd so I changed the permissions to just allow reading and writing, no modifying etc. Still works.
Cool beans....
What kind of data transfer rates are normal for transfer between two wireless devices? Wireless G that is. Both devices are very close to the router. I should be able to stream 720p video comfortably right? But it doesn't seem to keep up.
Is there a way of testing this speed?
streaming 720p on prime tablet over wifi G
breakshift said:
Okay got it working, thanks for the help guys. The problem was that all my media is on an external hard drive. In case anyone else has this problem and stumbles upon this thread, here's what I did:
Click to expand...
Click to collapse
Glad you figured it out. I just saw this and was just about to walk you through it
breakshift said:
What kind of data transfer rates are normal for transfer between two wireless devices? Wireless G that is. Both devices are very close to the router. I should be able to stream 720p video comfortably right? But it doesn't seem to keep up.
Is there a way of testing this speed?
Click to expand...
Click to collapse
There is currently no tablet app that I know of that test speed (wifi analyzers scan wifi signal strength) but speedtest app can test you internet connection. For local speed, you can transfer a big file and look at the transfer rate. Ideally, the between 1-2 meters away for the router is the best.
"When testing throughput do it ~1 meter from the AP and test between a wireless client and a wired client. Doing it far away/behind walls/downstairs/etc will have reduced rates and is a different problem to solve. Being extremely close can lower performance by overloading the receiver" -dd-wrt.com
Wireless G is 54 Mbits/s but real world test is ~22 Mbits/s down and ~2.5 Mbit/s....720p streams at 2.5 Mbit/s (for VC-1 and lower formats) up to 5Mbit/s (for H.264 and better quality formats) so it depends on a lot of things. Short answer yes. BUT if you source is on wifi too rather than LAN then there is a high chance that it won't be smooth. Also depending on whether you are the only one connected, the router brand, how good your source is, etc. 720p on 802.11g is hit and miss (mostly miss) so consider a wireless N 300M/bits router
All this can be found on google (feel free to correct me) and please click THANKS if this helped you.
That makes a lot of sense. The file I've been using is a high quality .mkv file, so that's probably the issue.
google is great, here are some good resources for a beginner:
http://www.howtogeek.com/howto/windows-7/share-files-and-printers-between-windows-7-and-xp/
http://www.techrepublic.com/blog/wi...-windows-7-with-the-shared-folder-wizard/3180
http://www.sevenforums.com/tutorials/7412-guest-account-turn-off.html
If you do use a password ES has problems with non alphanumeric characters sometimes.
ES gives access to network shares by buffering the files via an internal webserver, this means it significantly reduces performance. If you want to watch HD mkv's I would recommend using CifsManager:
http://forum.xda-developers.com/showthread.php?t=1442928&highlight=cifsmanager
I use it with MX player or Dice and have no issues watching 1080 mkv movies over wireless g if I'm not too far from the access point.
---------- Post added at 08:24 PM ---------- Previous post was at 08:20 PM ----------
As a note "not to far" is roughly upto about 35 feet for G or 50 for N for me with 1080.
Even if you move to wireless N, ES file explorer will not perform as well as CifsManager with HD videos.
Never share your OS drive. Just share a folder(s) that are on your OS drive. Give anonymous access to these particular folders, so when any client that looks for shared folders they will see these folders there. Shouldn't have to input any log in information at all.
breakshift, I am trying also to access my external hdd on my Prime. I followed your steps, but still cannot determine the correct username and password combination. What did you end up using?
Well since I did what I described in that post, it all works. Are you able to connect to the computer at all? Or is it just when you try to go into the HDD it refuses you?
ES doesn't ask for a username or password at all for me anymore. Does it prompt you for that info? If so, do you have a password set up on your user account on your computer?
When I try to watch videos using es file explorer on mg galaxy s2, sometimes it connects and sometimes it doesn't. If I restart my desktop pc, it will work for about half an hour then fail to login again.
This is what I'm always getting, https://docs.google.com/file/d/0B90aBBkpJZ8tS3NINU9fbDBDUzA/edit would appreciate it someone can help.
I'm using windows 7 pro 64bit
Everyone else in my family can stream the shared files with their windows laptop.
After restarting my computer(the pc with the shared files), my brother and I can stream for about 30 minutes, then I have to restart my pc again.
I have a password on my pc, but even when I put it in the edit server options it still doesn't work. I'm thinking it may be a firewall or router setting?

[Q] Disable AdBlocking in ICSrewD?

I can't post in the ICScrewD thread in the Development section yet... Is there a way to disable the AdBlocking?
I just switched to ICScrewD from UnNamed. I use the Medscape medical app for school/work constantly, but ad blocking doesn't allow the app to connect to the internet. Is there a way around this like disabling Ad Blocking all together?
derekbro said:
I can't post in the ICScrewD thread in the Development section yet... Is there a way to disable the AdBlocking?
I just switched to ICScrewD from UnNamed. I use the Medscape medical app for school/work constantly, but ad blocking doesn't allow the app to connect to the internet. Is there a way around this like disabling Ad Blocking all together?
Click to expand...
Click to collapse
Stuff like this is why I believe firmware developers should NEVER use ad blocking by default.
I believe most of them do so by using a custom /system/etc/hosts file. Check to see if yours has anything more than this:
Code:
127.0.0.1 localhost
Just checked mine for giggles and found exactly that... Just
127.0.0.1 localhost
Nothing more. So if it's ad blocking its doing it some other way.
I'm running the latest icscrewed with entropy DD.
Sent from my SGH-I777 using xda premium
Rename host to host.bk for backup restart couple times. Should be good.
Sent from my SAMSUNG-SGH-I777 using xda premium
Thank you, but I'm lost...
Thank you for looking into this for me and posting the replies. I 'm not sure what I'm supposed to do though. I don't know much about this stuff and really just cross my fingers and follow what ever directions I find on these forums.
So using the File Manager that comes with ICScrewD, I went to /system/etc and opened "hosts" with the Text Editor and found "127.0.0.1 local host" and a a bunch of lines starting with "127.0.0.1".
So now I should rename "hosts" to "hosts.bk" and reboot the phone?
Thanks again!
127.0.0.1 is a loopback address known as localhost that refers to the same device that you are using (ie. your phone). What the hosts file on your phone is doing is rerouting any connection attempt to known ad servers to localhost, which then returns nothing and effectively blocks the ads. If the hosts file isn't there (or, alternatively, only contains the line "127.0.0.1 localhost"), then the adblocking feature goes away.
What Haas360 suggested is to rename the file with a different extension so that the operating system doesn't recognize it as being the hosts file anymore. The reboot is probably just to clear the DNS cache. It should achieve your objective.
Thank you
Thank you everyone for the help. I renamed the file like suggested and now Medscape is able to connect to the internet.
Now, a further question since I have learned something today. If I figure out which one of the servers Medscape is using, and delete that line from the host file, could I still block other ad servers and allow Medscape to connect?
I didn't see anything listed containing Medscape and a google searched also turned up nothing.
A quick search through my hosts file turned these up:
127.0.0.1 ads.medscape.com
127.0.0.1 adv.medscape.com
127.0.0.1 as.medscape.com
127.0.0.1 bi.medscape.com
You can try finding and deleting those lines in your hosts file (now hosts.bk I assume), then removing the .bk extension and rebooting. There's no guarantee that this will work since it's possible that there are other strings that don't contain "medscape" that are contributing to the app being blocked, but it's worth a try if you want to keep the adblocking functionality.

Categories

Resources