General :: Droid RAZR Max - How To Delete Hosts File
Jun 2, 2013I deleted my hosts file on my droid RAZR Max. How to replace it or place a link for it so I can download it.
View 1 RepliesI deleted my hosts file on my droid RAZR Max. How to replace it or place a link for it so I can download it.
View 1 Replieswhy my hosts file gets reset after a reboot no matter whether I change with adaway or adblock or if I manually replace the hosts file myself and set to read only. Have searched about and only solution I read about was get a custom kernel. Although I am already on a custom kitkat ROM and using dorimanx kernel for galaxy s2. Also never had problems with hosts resetting on jb or ICS. Even creating a symlink to data/data/hosts doesn't work. On reboot the symlink just gets replaced with the original useless hosts file.
View 5 Replies View Relatedi edited /system/etc/hosts file but it looks that my edit is ignored by Android.
In "hosts" file i added line with text "1.1.1.1 customdomain" And then i used "ping customdomain" command in Terminal Emulator but i got error "unknown host am".
Using AdAway v2.8 but end up getting stuck on the final step to enabling ad blocking, "Applying hosts file".
If you are trying to enable AdAway but are stuck on "Applying hosts file" as seen in the screenshot below:
1. Download a root explorer. I prefer using Root Explorer because I think its the best file explorer on the android market. If you have problems with purchasing apps you can always use the free version Explorer, or if you prefer using another file explorer that's fine, just make sure it has root access enabled.
2. Once you have a file explorer installed that has root access enabled, navigate to "system/etc" and find the file labeled "hosts" as seen in the screenshot below.
3. Hold down/select the file labeled "hosts" and select "permissions" from the selection as seen in the screenshot below.
4. After selecting permissions a window should have popped up where you can change the permissions of the file as seen in the screenshot below.
5. Change the permissions of the hosts file to "rw-rw-rw" just like in the screenshot below. Hit "OK" to apply the permission changes and close the file explorer completely and head back over to AdAway.
6. Once you have AdAway back open, click "Download files and apply ad blocking" and try again. Depending on your internet connection it shouldn't take very long, but you should see something like this, hit "Yes".
7. After your phone has rebooted, open AdAway again and you should see something like this saying newest hosts files enabled.
AdAway is now working and ad blocking is enabled!
I'm developing a mobile website and I want to see how it looks in Android Simulator.
I manage to edit my android's /etc/hosts file. Here's what I did:
1. Create an Android Virtual Device (AVD)
2. Open the AVD with this command
Code:
./emulator -avd android -partition-size 128
3. Execute the following commands
Code:
./adb remount
4. Get the android hosts file
Code:
./adb pull /etc/hosts
5. Add my mobile website into the android's hosts file. It looks like the following
Code:
127.0.0.1 localhost
172.19.14.46 m.myweb.localhost
6. Push the hosts file to the simulator
Code:
./adb push hosts /etc/hosts
7. Open the web mobile in the simulator and Host do not found. The web mobile should appear.
Btw I use Ubuntu 10.10 and android-sdk_r08-linux_86 API 7 (Android SDK 2.1)
I have a Droid Razr Maxx through Verizon. When I had the phone setup, I had to create a Google account (gmail). Since then, I created another Google account with a username I prefer.
How do I switch the phone over to my new Google account so I can delete the old one? I want to keep the same email notifications with the new account as well.
I am trying to edit the hosts file to access rest services in my local network. Using adb pull I am able to get the hosts file for the emulator and edit it. However I get the error "No space left on device" when I do an adb push.
Does anyone know how to resolve this issue? Can we increase the space for /system? If so how? Are there any other easier ways to access local area network (without creating a DNS server).
I just purchased the Razr Maxx and am having trouble finding the original file of the picture. For instance, I would find an image in my gallary that is 1.41MB, but when I go under My Files, the closest I can find is the same image under DCIM>.thumbnails at 28k. Where would I find the 1.41MB image on my phone?
View 3 Replies View RelatedIs there a way to see the file names of the pictures on my Motorola Droid Razr phone? I can see them when I connect to my PC and use Windows Explorer but I only see the pictures on the phone.
View 2 Replies View RelatedI've just set up a adblock to block some specific ads and websites. I want to know if I update my rom, cm10.2 nightlies will it reset those files.
View 3 Replies View RelatedMany roms use custom host files for adblocking purposes. How could you deactivate that? I'm using CyberGR now and I don't like this tweak.
Large hosts, it slows dns requests.
i pushed a file to my sd card using adb, but of course using the new cwm the sdcard folder is in... sdcard/0/ not just sdcard and now i cant delete the file i put on the sdcard? how do i delete this file!?
View 4 Replies View RelatedI have a Nexus7 (8gb) with a file headed "WV" and titled with a list of numbers in the "Personal Videos" file that does not appear on my desktop when I connect the Nexus. I now have four films (excluding the stray file) that I want to keep on the Nexus which are all under 1gb each, however my Nexus is now saying that I don't have enough memory to even download basic apps. I think this stray file may be to blame as I've checked the folder sizes using my desktop and I'm well within the 8gb capacity limit.The Nexus will not play the stray WV file; I get an error message saying "file cannot be played".
View 1 Replies View Relatedi have a thl w100 and i delete a folder on system, starting hence never got boot.works only via fastboot ou recovery. i can just copy the folder ? how ?
View 1 Replies View Relatedbut I can't delete some file in this directory ".ifs" folder Because. Yesterday I'm rooted my phone (This is a first time i root Android phone) i've explore alot of file in my phone
I found "logo.jpg" ( I Guest this is BOOT SCREEN PICTURE FILE ) in ".ifs folder" I Think if i replace with another JPG file. I can change BOOTSCREEN another Picture too.
when i copy and replace with new JPG file in this directory. I CAN'T replace it. But it create Duplicate file with "logo-Copy.jpg"
I do this 2 time but not work.
I can't delete or replace "logo.jpg" file in " mnt .ifs " Directory
that useless. So ! I want to delete "logo-Copy.jpg" or "logo-Copy (2).jpg" but I CANNOT DELETE IT TOO.
I'm use ROOT EXPLORER program SD Maid and ES EXPLORER it still not work ( SET mounted read and write )
Lets say I have a text file filed with:
Code:
C:file1.so
C:Dir1file2.bin
C:Dir3Dir4file3.apk
How can I delete these and only these files using an rm command in a terminal?
How can I convert this to Linux format?
I want list a folder's contents, then go into android and remove those files. For example. I want to get this list:
Code:
C:file1.so
C:Dir1file2.bin
C:Dir2Dir3file3.apk
convert it to...
Code:
/dir/file1.so
/dir/Dir1/file2.bin
/Dir2/Dir3/file3.apk
then hop into the shell and delete those files. How can I do this?
How do you delete a downloaded PDF file?
View 2 Replies View RelatedI recently rooted my droid razr after updating to jelly bean. I want to start flashing some custom roms, but I can't find a cwm version compatible. Is TWRP good and is there a version for my 4.1.2 razr?
View 3 Replies View RelatedI have a droid razr that was flashed to work on page plus and then flashed back to factory specs. I cant get it to activate on verizon.
View 1 Replies View RelatedI can create a new preferences file by calling Context.getSharedPreferences(String name, int mode), putting some values in the returned preferences' editor, and committing. However, I don't see an interface in the API to remove the created file when I no longer need it. I've tried Context.deleteFile(String name), passing in the same name argument from above, but that returns false, indicating the file wasn't actually deleted. I'm using MODE_PRIVATE, if that makes a difference. Browsing the source for context's implementation of the editor doesn't reveal any clues either, as far as I can tell. Any ideas? The background here is that I'm allowing my users to save copies of their "current" preferences so that they can restore previously saved settings. When they don't want those settings anymore, I want to remove the saved preferences file so it doesn't take up space. At the moment the best I can do is an edit().clear().commit on the file, which I believe will remove most of the contents. Not as good as delete, though.
View 1 Replies View RelatedI was preparing to overclock my droid but once i saw the news i decided to hold off, i got far enough to only copy the flash_image file to my rom and thats it, i would like to delete it and unroot, whats the simplest way?
View 2 Replies View RelatedFor some reason, my razr will not play on the auxiliary cord anymore. It was working, then just stopped one day. It might have been when i started using my 32gb sd card in it.
View 1 Replies View RelatedI just got 2 motorola Razr M phones. Both my wife and I have android tablets running ICS but different brands..Neither tablet can get to the internet with the Razr M hotspot. They connect to the phone and the phone reports them as connected. But I can't browse the internet. These are not mainstream tablets but they're good ones. They worked with my Droid X and the short time I had a Windows phone 8 they worked fine as well. I've not had any trouble until now. How can 2 droids not talk? I can solve the issue by using windows hosted network and connectifyme. Both tablets will connect to connectify me and get on the net through the phone that way. I'd just like to solve this issue rather than do a work around. Carrying a laptop just to route ICS is not very practical. I've tried everything including third party apps to no avail. Foxfi sucks so bad I had to do a factory reset to get rid of the lock screen password it creates now AND pdanet is now bundled with Foxfi so I can't even try USB tethering. I did try some USB tethering apps I found on Google Play but none of them worked. Both tablets are rooted. So is there a way to replace the network software? Is there a way to upgrade to Jelly Bean?
View 1 Replies View RelatedI'm buying a used Droid Razr 4g and currently have a Droid Pro. Can I take the sim card out of my pro and put it in the Razr and will it work? I'm trying to avoid going to Verizon.
I'm due for an upgrade in 6 weeks, but aren't going to use it, because first of all I cracked the screen on my Pro last week, and secondly, I have the unlimited data plan and don't want to lose that.
When connected thru USB, my iMac doesn't recognize my Droid Razr? How do I get it to connect?
View 7 Replies View Related got a Droid RAZR M, upgraded from my OG Droid.
So I hooked it up and installed the software and stuff. Do I have to use that and WMP to transfer music to my phone? For some reason WMP won't detect my phone, even though the software comes up when I plug it in. WMP only gives me the option to copy to CD, it doesn't recognize the phone as a device.
I have a Droid Razr HD and I can't transfer images from my gallery to my Mac. They aren't in internal storage, they do not show up in mac file transfer download, Image Capture does not detect my phone as even existing, I've already download the Motorola Device Storage...this is impossible!! How do I connect my phone to my computer and just drag and drop all my photos as an album?
View 1 Replies View RelatedA while ago I found a source of apk files for my Droid Razr Maxx and copied them over at once to my droid. I believe two files became corrupted.
When turning on the My Verizon Mobile Application, or when the screen is on and I get a text message I get an error:
Unfortunately, Verizon SSO Engine has stopped.
Also, after the ICS update, my phone has been very sluggish and using a lot more ram. Any reliable zip file of the stock apk files for Verizon Droid Razr/Maxx?
Ok so i have a Razr Xt912, i have it rooted and running safestrap. Ive been looking around since ive seen awhile back on the portal it can be used with GSM carriers. But the more i look into it the more convoluted it gets. So is it really possible to get it to work on GSM like AT&T and T-Mobile?
View 1 Replies View RelatedIs it possible to access, copy, move or delete a file in recovery mode with a PC? I mean with a custom recovery like CWM.
View 5 Replies View Related