General :: Hosts File Resetting On Reboot
Feb 2, 2014
why 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
Jun 19, 2011
i 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".
View 9 Replies
View Related
Jun 2, 2013
I 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 Replies
View Related
Jan 27, 2014
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!
View 9 Replies
View Related
Dec 20, 2010
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)
View 3 Replies
View Related
Mar 22, 2010
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).
View 7 Replies
View Related
Jul 18, 2012
How i can directly reboot into recovery and flash a .zip file via script for terminal emulator?
I think you know the ROMManager, you can download updates there, it automatically reboots into recovery and flashes without asking the .zip file, how can i realize that via script for the terminal emulator? cuz i want to create a updater for my and my friends roms
View 6 Replies
View Related
May 18, 2013
I deleted a file(logo) and my phone galaxy music duos wouldn't reboot.
View 2 Replies
View Related
Sep 3, 2013
I'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 Related
Feb 2, 2012
Many 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.
View 2 Replies
View Related
Sep 29, 2010
I Love my HTC Droid Incredible. I have no problems using the camera or moving images where I want them (Facebook, Flickr, or my PC). As I take photos, they are saved as a file name like "IMAG0029.jpg". They sequentially increment. I am fine with that.
What I would like, is, a way to re-set the embedded number to zero; either when the camera is empty (after a download), or manually.
View 1 Replies
View Related
Dec 22, 2013
My Gnex has started to loop on boot screen and then reboot (Slimbean 4.3 update 2). I tried to wipe cache partition , to wipe dalvik cache, to flash the same rom, to flash another rom, to delete all data... but nothin happens.. it seems like the recovery (CWM) can't delete anything! if i delete or format anything , nothing happens! but the recovery told me that the process has succedeed.. I tried using Wugfresh toolkit to flash stock and also Odin.. but nothin happens.. I tried some casual commands on ADB, but i'm no good with ADB.
View 9 Replies
View Related
May 3, 2014
how I can reset the default app settings. For example, using Blinkfeed on my M8, when I tap on a link, the first time I was asked which browser should be used. How can I reset Blinkfeed, or any other app to ask me again which app to use? Is it always an app setting, or can I centrally control that behavior?
View 3 Replies
View Related
Oct 22, 2011
I've tried calling Verizon about my Droid 2 resetting almost nonstop. I can't make it through a phone call or browse the web or anything without it resetting. I had had my first one for less than a year when it started acting up. Verizon tried sending me a replacement but it did the same thing. Now I'm on my third Droid 2 in less than a year and it's resetting on its own also. I haven't downloaded any apps on this newest replacement so I don't know what's causing it. Could it be my battery or SD card? I'm just at a loss and I really don't want to get a new phone already.
View 9 Replies
View Related
Mar 22, 2012
I use Password for screen unlock (digits and letters). I changed yesterday night and now I totally can't remeber the combination.There is no option like pattern unlock to enter the google account password to unlock! even after doing 100 trial.
I really don't want to do a hard reset.I'm rooted and debugging mode is active
I tried doing this adb command but it didn't work as it appear for pattern lock;
Quote:
./adb shell
# sqlite3 data/data/com.android.providers.settings/databases/settings.db
sqlite> update system set value=0 where name='lock_pattern_autolock';
sqlite> update system set value=0 where name='lockscreen.lockedoutpermanently';[code]....
that command to work with password lock instead of pattern lock ?
View 1 Replies
View Related
Jul 17, 2013
Usually you can just delete the shortcut in your home screen, then drag and drop a new one from the drawer. However, I seem to have run into a problem with my gallery app. No matter what icon theme I apply, it won't change the icon!
View 1 Replies
View Related
Nov 8, 2013
So I have an galaxy s vibrant. Now its rooted and has a jelly bean custom rom. Now I'm getting a new phone and I want to factory reset my phone, meaning i want all my apps, contact infomation and anything stored in my phone storage to be wiped but I want to keep the custom rom (Jelly bean ) and root permissions still. Is this possible? What would happen if i just factory reset my phone ,deleting everything on my phone , and wanted it like i got it out of the box?
View 2 Replies
View Related
Apr 17, 2014
I got a Kaya Android tablet which was lock after the user entered wrong pattern several times. The tablet presents the unlock with gmail screen but, guess what!, it does not connect to any even public unencrypted WiFi so that it is impossible to unlock with gmail account.
I tried to connect to it from adb via USB but it does not recognized as ADB device, only as USB mass-storage.And, finally, magic key combinations like power-volume-up does not give me any recovery or boot loader.
Is it the stage where I go and throw it to garbage or there is something else left?
View 1 Replies
View Related
Dec 15, 2012
Anytime I try to backup or install a new rom on rom manager, it redirects to that screen with android green robot and a box ant it keeps like that for some 2 seconds and when cellphone goes on, it is on default options of native rom like it was the first time i used it. ps. it happens when i click to restart for "save clockworkmod" (idk how its exactly written on rom manager but means it ) how to resolve it, i want to use cyanogenmod on my e510
View 2 Replies
View Related
Nov 15, 2013
My Desire V started reseting itself for no apparent reason that I can think of. Uninstalled the few apps I installed for the last few weeks. The crash logs show this in the bottom (and other I/O Errors all over the log file as well):
mmc0: Command timeout
mmc0: DMA channel flushed
end_request: I/O Error, dev mmcblk0, sector 814992
init: cannot execve('/system/bin/dbus-daemon'): I/O Error
Restarting Linux version bla bla bla
msm_pm_restart : Do HW_RESET By APP not by RADIO
No Errors detected
(mmcblk0 is the internal memory card)
Is my flash card broken? HTC Desire V
View 2 Replies
View Related
Jun 29, 2012
I installed an update to my ROM and restored apps + data to my phone and now the lock screen is stopping me from unlocking the phone. so i installed a bypass app to at least unlock my phone.
I need to either remove/reset the password so i can change it or have something to change the password.
View 1 Replies
View Related
Sep 28, 2013
I'm getting this message popping up on my GS3 T999V somewhat frequently. My phone will disconnect from whatever bluetooth device is currently connected and the phone will bring up the bluetooth device selection screen.
Do I simply need to reset the bluetooth stack or something to remedy this and if so, how do I go about doing that?
I've tried fixing permissions and rebooting but that did not work. I'm on Stock 4.1.2 with Faux Kernel.
View 3 Replies
View Related
Mar 21, 2013
I've been owning an android since Nexus one, then the S and then Galaxy Nexus till few days ago when i decided to buy a Galaxy Note from Ebay.
I am with verizon, so after i switched my sim card from my galaxy nexus to the new note 2, after few minutes, it keeps downloading / syncing some text messages. Suddenly out of nowhere these text messages appear with someone elses conversation. After few minutes some other contacts appear in my contacts list too. None i know.Reset the whole phone again, this time did not log into any account and the same thing happens.reset another time and this time, removed the sim card and connected with WiFi only and still all the stuff appeared.
Usually when I reset the phone to factory settings, it tuns off an on few times and acts weird for few minutes until all these messages and contacts appear.I have checked and i am not signed into any account?! Don't know how these text messages keep appearing
View 1 Replies
View Related
Sep 29, 2013
My phone will not stay on at all. It will keep restarting unless plugged up to a charger or computer. It will just keep doing that every five seconds I have a galaxy s2 skyrocket.
View 9 Replies
View Related
Jun 7, 2012
How do I fix my Ainol Elf tablet? It keeps resetting and no internal storage.
Last night I installed busybox onto it. When I started it up this morning, I found it had gone and reset itself. (Goes back to default chinese language, all apps and settings gone) On top of that, it says there's 0.00 bytes of internal storage left. I can seem to install very small apps (less than a couple of megabytes) but nothing bigger than that.
Perhaps the most annoying thing is that when you restart, it resets again.
PS I did find this post: [URL] ....
Specifc Details on the elf tablet:
-runs ICS4.0.3
-Allwinner a10 1ghz cpu
-mali400 gpu
View 1 Replies
View Related
Nov 11, 2012
When I first bought it, I was not happy with the features it was offering so I searched and found out about the CM7(Cyanogenmod 7) mod, and decided that I wanted to try out a modded phone. I've been using CM7 for a few years now and have just plain become unhappy with what they're putting out and decided that I finally wanted my phone back to being normal and rooted. I booted into my clockworkmod(after backing up all apps/data with TitaniumBackup pro & taking pics/vids/etc off through USB) and decided to wipe my sdcard and all other options that Clockworkmod offers. After doing that I realized I made a horrible mistake...every time I go to reboot my phone, it ends up back at the boot menu and at the top it says "Fastboot Mode - No boot or recovery IMG" how would I go about resetting my phone back to a normal OS without being able to transfer stuff onto it without it being booted and having a USB option.
View 2 Replies
View Related
May 20, 2012
Recently if I switch phone off I find that when I power it back up it keeps asking me which of my installed launchers to use as default.
how I can stop this? I rarely switch off phone and have ticked the make launcher default button but it still resets when rebooted.
[URL]
LG P920
View 3 Replies
View Related
Sep 14, 2012
There is 3G into Android tablet.If device (Android tablet) looses network connection, it's just impossible to connect network until resetting of the device (Android tablet). What can be changed or adjusted in /system to fix it?
Specifications Android tablet:
Allwinner A10
Built-in 3G
7"
View 1 Replies
View Related
Apr 7, 2014
I want to reset my G-tab P610i tab. When I tried to hold on power + volume plus key I am getting android red triangle symbol. Can I proceed with option give in the thread http:[url]...
View 3 Replies
View Related
Oct 13, 2012
My kid managed to lock me out of my phone by too many retries on pattern.
Account details are not accepted, wifi and data are off and no way to turn it on.
How can i get access without factory resetting it ?
Phone is galaxy s i9000 (gsm, uk) on cyanogenmod 9.
View 6 Replies
View Related