Stock original etc/hosts file needed... - Nexus 7 (2013) Q&A

So can anyone just tell me if the lines in the hosts file are "stock"? I am afraid AdAway might have messed it up or something. Currently mine lookes like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks! BTW: I am on stock Android 4.4.2
Gesendet von meinem Nexus 7 mit Tapatalk

My stock ROM N7 2013 4.4.2 has only one entry:
127.0.0.1 localhost
FWIW, in your file, the :1 is for ipv6, it's the equivalent of 127.0.0.1, and the last entry is commented out (the #), and has no effect.
In short yours is not messed up, it's just not stock.

@mdamaged thanks for the reply! I used the # to comment it out because I had problem connecting to Google server (orange WiFi bar) and this fixed my problem. What is actually the stock one? Without the last two lines? Do you think adaway or any other xposed module created the 2 lines?
Gesendet von meinem Nexus 7 mit Tapatalk

ChiDi9901 said:
@mdamaged thanks for the reply! I used the # to comment it out because I had problem connecting to Google server (orange WiFi bar) and this fixed my problem. What is actually the stock one? Without the last two lines? Do you think adaway or any other xposed module created the 2 lines?
Gesendet von meinem Nexus 7 mit Tapatalk
Click to expand...
Click to collapse
No problem.
The stock one has the one line I posted.
127.0.0.1 localhost
...nothing else.
Yes, the 127.0.0.0/8 range is a rfc1122 address range, it is (normally) not routable over the internet, so indeed this would cause problems trying to connect to hosts with hostnames which have this mapped to them. This would likely be done by something which is made to stop ads being served, or from services from being contacted.
Given the hostnames being mapped I'd guess it was something trying to prevent communicating with the google services, not ad sites, not knowing what xposed modules were in use that's all I can say.

Related

[Request] Nav Bar like Nexus S?

Hey there,
is there a Nav-Bar mod for a stock deodexed Jelly Bean Rom with the setup of the Nexus S?
Like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
?
I had it on AOKP under ICS but I want to use the stock ROM, because I don't need all of the mods in AOKP.
Would be totally cool!
Thanks a lot.
http://rootzwiki.com/index.php?/topic/29153-[MOD]-[4.1.1]-Jelly-Bean-Soft-Key-Mods-with-Menu-and-Search-(Stock/BB)
Sent from my Galaxy Nexus using Tapatalk 2
So where is the setup: back-menu-search-home??
Gesendet von meinem Galaxy Nexus
wuerstchenman said:
So where is the setup: back-menu-search-home??
Gesendet von meinem Galaxy Nexus
Click to expand...
Click to collapse
I don't think I've seen that particular setup for JB yet. You're probably going to need to use one of the apks from the link already provided, decompile the SystemUI apk, and then mod it yourself. This tutorial here should be really helpful: http://rootzwiki.com/topic/30278-how-to-step-by-step-guide-to-add-menu-and-search-soft-keys/ (check out step 9 specifically).
Things, I haven't done something like that. So I thinks it's going to be tricky for me.
But I consider this as my first project.
Gesendet von meinem Galaxy Nexus
wuerstchenman said:
Things, I haven't done something like that. So I thinks it's going to be tricky for me.
But I consider this as my first project.
Gesendet von meinem Galaxy Nexus
Click to expand...
Click to collapse
AOKP for JB is limited with features right now but has the option to change the soft keys like in ICS. Just a thought
Sent from my Galaxy Nexus using xda premium

[REQUEST] ChatOn Tablet apk

Hi,
can anyone please provide a copy of the newest Samsung ChatOn for Tablets (v1.9.3)?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ChatOn is marked as not compatible in the Play Store. I currently use the version for phones (2.0.5) on my N7, which I also had to sideload via my phone and it is running fine. I'm not sure, if the tablet version will work, but I hope so.
Please don't give me recommendations to use another messenger (Whatsapp, Hike,...), because ChatOn is my favorite. I know, it has only a small user base, but I use it only with my family members.
Thanks!
NVM - Mod can delete this post.
r00t4rd3d said:
Umm is the linked version the tablet version?
Click to expand...
Click to collapse
Thank you for the quick reply. But this the phone version 2.0.5, which I already use.
I am looking for the tablet version 1.9.3. It is a different apk.
Gesendet von meinem Nexus 7 mit Tapatalk 2
I too would like the apk
Sent from my Nexus 7 using xda app-developers app
speedfreak228 said:
I too would like the apk
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I got the apk from a german blog http://stadt-bremerhaven.de/samsung-veroeffentlicht-messenger-chaton-2-0. The app does't work with the Nexus 7.
Gesendet von meinem Nexus 7 mit Tapatalk 2

[search] Gmail, full mail on screen

Although the One provide 1080p, Gmail only shows part of the screen.
Any way to get the full mail on screen?
Gesendet von meinem HTC One mit Tapatalk 2
basthet said:
Although the One provide 1080p, Gmail only shows part of the screen.
Any way to get the full mail on screen?
Gesendet von meinem HTC One mit Tapatalk 2
Click to expand...
Click to collapse
Install XPosed, App Settings Module, and select fullscreen for the gmail app
RedWave31 said:
Install XPosed, App Settings Module, and select fullscreen for the gmail app
Click to expand...
Click to collapse
Thanks, do you have any link to this module?
Update: found it, however this is not what I was looking for. This only removed the status bar.
What I want is the full preview of the email. Please, compare the two Screenshots attached: the first is standard, without full screen preview, the second a dpi modified version.
What I want is full screen preview, but with standard resolution (if not, navigation is a pain)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Gesendet von meinem HTC One mit Tapatalk 2
In the gmail app: settings, general settings, check auto adjust or something like that. My phone is in norwegian so I don't know excactly what it says in english
In the gmail app.
Go to settings > general settings > click on Auto-fit messages.

[Q] Cannot resolve hosts in Terminal

I can't seem to find a solution for this, but Internet access from within the Android shell was working for a few days, but now it just won't.
Ping google.com gives an unkown host error.
nslookup google.com is the same.
nslookup google.com 8.8.8.8 Does work, spits out 7 lines of DNS... stuff.
I tried looking for /etc/resolv.conf but there's not one there. Internet access outside the shell works fine.
Is there a fix for this? I'm running stock GB27 completely untouched other than root and Agat's kernel.
gorei23 said:
I can't seem to find a solution for this, but Internet access from within the Android shell was working for a few days, but now it just won't.
Ping google.com gives an unkown host error.
nslookup google.com is the same.
nslookup google.com 8.8.8.8 Does work, spits out 7 lines of DNS... stuff.
I tried looking for /etc/resolv.conf but there's not one there. Internet access outside the shell works fine.
Is there a fix for this? I'm running stock GB27 completely untouched other than root and Agat's kernel.
Click to expand...
Click to collapse
You can create a resolv.conf if there isn't one, though I don't know if that would fix your problem. Also I notice the you wrote nslookup, shouldn't it be dnslookup?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
bilgerryan said:
You can create a resolv.conf if there isn't one, though I don't know if that would fix your problem. Also I notice the you wrote nslookup, shouldn't it be dnslookup?
Click to expand...
Click to collapse
Sorry, typo.
What's the syntax for the resolv.conf?

Need help from a rooted user settingsdb

Hi, i have just bought the g4 saturday and am not yet rooted, unfortunately i have the problem that tasker the normal way can not change display timeout, which is kind of annoying to me, so i thought id do it through the setzings binary, but i need to know the exact name and path of the display timeout inside the settings.db. so if someone with a rooted device and an sqlite editor could check that for me id be very pleased!
Edit: exact file location is /data/data/com.android.providers.settings/databases/settings.db
Can't seem to find anything relating to screen timeout, only for powersave, would that be it?
FadeFx said:
Hi, i have just bought the g4 saturday and am not yet rooted, unfortunately i have the problem that tasker the normal way can not change display timeout, which is kind of annoying to me, so i thought id do it through the setzings binary, but i need to know the exact name and path of the display timeout inside the settings.db. so if someone with a rooted device and an sqlite editor could check that for me id be very pleased!
Edit: exact file location is /data/data/com.android.providers.settings/databases/settings.db
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I hope it's what you are looking for.
Found it.
scheichuwe said:
View attachment 3434261
I hope it's what you are looking for.
Click to expand...
Click to collapse
Seems they have differing addresses on different devices?
Thanx @scheichuwe, nice to see you again...
Gesendet von meinem LG-H815
Nice to see you, too.
Hmm, bad luck, seems also not possible without root...
Gesendet von meinem LG-H815
Ok, so now that i am rooted, i still had a bit of a struggle doing this, but after a while i found out that selinux was the culprit, so i did
su
setenforce=0
settings put system screen_off_timeout 120000
setenforce=1
In tasker as a shellscript and that did the magic. Didnt try if just setting permissive and using the standard tasker way workes as well, but however, now it does as expected.
tapatalked from lollipopped i9300

Categories

Resources