Adblock without root? Is it possible? - Moto G Q&A, Help & Troubleshooting

Hey everyone i have a moto G and i dont want to rooted! But these ads are so annoying!
Is there a way to make adblock work without root?
Στάλθηκε από το XT1032 μου χρησιμοποιώντας Tapatalk

No its not possible.. And block needs root permission since it has to write some host files in to system directory I think
Sent from my XT1033 using XDA Premium 4 mobile app

You can however search for AdBlock Plus app on google (Search engine not play store) and install it. It isnt as good as something like AdAway which requires root, and it needs a notification icon in notification bar, plus its more resource heavy, but it does block ads without needing root access.

padhu1989 said:
No its not possible.. And block needs root permission since it has to write some host files in to system directory I think
Sent from my XT1033 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It adds entries to /etc/hosts.
Basically it means any lookup for an address of an add server will make it find an IP of 127.0.0.1 which is the localhost address, ie your phones 'local' IP rather than it using a DNS server and finding the real IP. This stops the add 'code' from reaching the add server so it can't download the adds.
Snippet of edited hosts file...
127.0.0.1 t2.leadlander.com
127.0.0.1 counter.bizland.com
127.0.0.1 fra482.ib.adnxs.com
127.0.0.1 adpop.theglobe.net

Thx for the anwsers
Στάλθηκε από το XT1032 μου χρησιμοποιώντας Tapatalk

Related

Add Multiwindow Support for Apps thru CSC file

UPDATE: A fellow xda member created an app that will help you add multiwindow support for your app through feature.xml. You can visit his thread here.
This maybe a simple way to add multiwindow support to apps without having to modify apks and at the same time be able to update your apps without losing multiwindow support just by editing a simple text file. This may or may not work for you.
I don't have a note10.1 but as I was trying to port some features from the note10.1 to the note1, I came across a smali code fragment that checks for multiwindow supported apps in CSC file as well as excluded apps so I tried to investigate further and found out that you can actually add multiwindow support for almost any app by just adding it's package name in feature.xml or other.xml in /system/csc folder. So if you look into your feature.xml file you will see the code below.
Code:
<CscFeature_MultiWindow_AddOnApp>-com.google.android.apps.maps,-com.google.android.maps,-com.google.android.gm,-com.google.android.talk,-com.google.android.youtube,-com.android.chrome,-com.facebook.katana,-com.twitter.android,-com.kakao.talk,-com.android.email,-com.android.mms,-com.sec.android.mms.kor,-com.sec.android.app.snotebook,-com.infraware.polarisviewer4,-com.infraware.polarisoffice4</CscFeature_MultiWindow_AddOnApp>
What to do?
Just delete all package names inside like below:
Code:
<CscFeature_MultiWindow_AddOnApp></CscFeature_MultiWindow_AddOnApp>
Then add the package name of every app you want to have multiwindow support like this...
Code:
<CscFeature_MultiWindow_AddOnApp>com.android.vending</CscFeature_MultiWindow_AddOnApp>
and add another like below (separated by a comma) :
Code:
<CscFeature_MultiWindow_AddOnApp>com.android.vending,com.android.settings</CscFeature_MultiWindow_AddOnApp>
If you notice, there are no "-" prefixes to package names and there are no white spaces (this is very important).
How to find the package name?
You can look into the /data/data folder using root explorer/solid explorer/root browser and find the folder that corresponds to the app you want to add. The folder name is the package name.
NOTE: If you have the feature.xml file but doesn't have the <CscFeature_MultiWindow_AddOnApp></CscFeature_MultiWindow_AddOnApp> code above, then just copy the code above and insert it into your feature.xml file.
NOTE:If you don't have the feature.xml file but have the other.xml file, just copy the code above into your other.xml and edit it and insert the apps you want. Remember to reboot after editing for the change to take effect.
This feature works for my stock rooted deodex note n7000 (not modded for unlimited multiwindow apps).
* The smali code where I got this idea from is note1 JB 4.1.2 so for note10.1 it may also be only available for JB 4.1.2.
If it works for you show some appreciation. Post feedback and share your experience for the benefit of others.
I have a note 10.1 and I tried this. I got into the feature.XML file and it doesn't look anything like that. I would love this to work... but I am still on ICS and wonder if that may be the problem.
Any help? Or was anybody else able to do this and make it work?
Ok I got the file by default all google apps are mutiwindow enabled but the same still do not have this feature
I am 4.1.2 but unfortunately haven't got a multiview line in the xml.
Sent from my GT-I9300 using xda app-developers app
samir_a said:
Ok I got the file by default all google apps are mutiwindow enabled but the same still do not have this feature
Click to expand...
Click to collapse
Yes same here.
I tried with Dropbox and other apps but this mod doesn't work. But a strange thing has happened: when I mod the file all apps in the original list become MultiWindow!! In this way now I have gmail 4.2.1 in MultiWindow and I have download it from playstore (The same thing for YouTube, Facebook, Chrome ecc ecc).
Inviato dal mio GT-N8000 con Tapatalk 2
Mirkokkk said:
I tried with Dropbox and other apps but this mod doesn't work. But a strange thing has happened: when I mod the file all apps in the original list become MultiWindow!! In this way now I have gmail 4.2.1 in MultiWindow and I have download it from playstore (The same thing for YouTube, Facebook, Chrome ecc ecc).
Inviato dal mio GT-N8000 con Tapatalk 2
Click to expand...
Click to collapse
Im glad you also experienced this aswell. I noticed this aswell when i opened up the dock and saw google maps. I did not expect this to happen and thought i always had it but was over looked. Now it all makes sense lol
Sent from my GT-N8000 using Tapatalk 2
What exactly did you change and it which file? I cant find what the op says
Sent from my GT-N8013 using XDA Premium HD app
damonsmith666 said:
What exactly did you change and it which file? I cant find what the op says
Sent from my GT-N8013 using XDA Premium HD app
Click to expand...
Click to collapse
yep... can someone pls explain and clarify?
---------- Post added at 10:02 AM ---------- Previous post was at 10:01 AM ----------
Mirkokkk said:
I tried with Dropbox and other apps but this mod doesn't work. But a strange thing has happened: when I mod the file all apps in the original list become MultiWindow!! In this way now I have gmail 4.2.1 in MultiWindow and I have download it from playstore (The same thing for YouTube, Facebook, Chrome ecc ecc).
Inviato dal mio GT-N8000 con Tapatalk 2
Click to expand...
Click to collapse
can you pls clarify and explain what exactly you did?
thegios said:
yep... can someone pls explain and clarify?
---------- Post added at 10:02 AM ---------- Previous post was at 10:01 AM ----------
can you pls clarify and explain what exactly you did?
Click to expand...
Click to collapse
You must mod feature.xml in System/CSC folder. At the end of this file there are strings for multiwindow. In these strings I have only added "com.dropbox.android". In this way Dropbox didn't become multiwindow but yes all apps in the original list (Gmail, youtube, Facebook etc etc)
Inviato dal mio Galaxy Nexus con Tapatalk 2
Mirkokkk said:
You must mod feature.xml in System/CSC folder. At the end of this file there are strings for multiwindow. In these strings I have only added "com.dropbox.android". In this way Dropbox didn't become multiwindow but yes all apps in the original list (Gmail, youtube, Facebook etc etc)
Inviato dal mio Galaxy Nexus con Tapatalk 2
Click to expand...
Click to collapse
didn't work for me...
I have rooted the tablet, opened feature.xml, added dropbox as you said, rebooted... still nothing
thegios said:
yep... can someone pls explain and clarify?
---------- Post added at 10:02 AM ---------- Previous post was at 10:01 AM ----------
can you pls clarify and explain what exactly you did?
Click to expand...
Click to collapse
Does not work ROM][STOCK][4.1.2] N8000 Stock Rooted Busybox Deodexed
kolmanb said:
Does not work ROM][STOCK][4.1.2] N8000 Stock Rooted Busybox Deodexed
Click to expand...
Click to collapse
same here: stock 4.1.2 rooted rom (not deodexed though)
Tried it and it works!!Stock german 4.1.2 rom.
Verstuurd van mijn GT-N8000 met Tapatalk
aartvv said:
Tried it and it works!!
Verstuurd van mijn GT-N8000 met Tapatalk
Click to expand...
Click to collapse
ok can you pls explain what exactly you have done step by step?
it didn't work for me...
thanks
thegios said:
ok can you pls explain what exactly you have done step by step?
it didn't work for me...
thanks
Click to expand...
Click to collapse
I used solid explorer and went to the map csc.Then opened the feature.xml file.Scrolled all the way down to the multiview part.Then i put -com.dropbox.android,between the other ones.Rebooted and they were there.Gmail and Gmaps work fine only youtube doesnt scale wright.
Only thing is that when i open a the feature.xml file now it's completly blank!!So i cant make a screenshot.Anyone else with this problem?
Verstuurd van mijn GT-N8000 met Tapatalk
aartvv said:
I used solid explorer and went to the map csc.Then opened the feature.xml file.Scrolled all the way down to the multiview part.Then i put -com.dropbox.android,between the other ones.Rebooted and they were there.Gmail and Gmaps work fine only youtube doesnt scale wright.
Only thing is that when i open a the feature.xml file now it's completly blank!!So i cant make a screenshot.Anyone else with this problem?
Verstuurd van mijn GT-N8000 met Tapatalk
Click to expand...
Click to collapse
that's what I did... with no avail... damn... (see attachment)
Oke well don't know if it helps but i putted it behind the the "-com.google android maps," line.Maybe you can try it.
Verstuurd van mijn GT-N8000 met Tapatalk
aartvv said:
Oke well don't know if it helps but i putted it behind the the "-com.google android maps," line.Maybe you can try it.
Verstuurd van mijn GT-N8000 met Tapatalk
Click to expand...
Click to collapse
tried that as well... I put it at the beginning, at the end, and after the two maps right before gm... nothing
and i have your same rom...
maybe you did before some other changes?
aartvv said:
I used solid explorer and went to the map csc.Then opened the feature.xml file.Scrolled all the way down to the multiview part.Then i put -com.dropbox.android,between the other ones.Rebooted and they were there.Gmail and Gmaps work fine only youtube doesnt scale wright.
Only thing is that when i open a the feature.xml file now it's completly blank!!So i cant make a screenshot.Anyone else with this problem?
Verstuurd van mijn GT-N8000 met Tapatalk
Click to expand...
Click to collapse
But Dropbox (and so other added apps in the file) doesn't work in MultiWindow, it's right? With es gestore file i haven't this problem (blank file after the mod).
Inviato dal mio GT-N8000 con Tapatalk 2

How to install two applications DigitalClock at the same time?

How to install two applications DigitalClock at the same time?
Use q & s next time
Put both clock apks in /system/app just different way
Sent from my GT-I8160
How do I do that? Both files are DigitalClock.apk.
lol, simply rename it and using root explorer push it to /system/app
If you have such help is not help. When I change the name of one of the files on DigitalClock1.apk he shall no longer work. Widget after the name change does not work.
@up
Who told you such a nonsense?
Wysłane z mojego GT-I8160 za pomocą Tapatalk 4
What are you asking?
PS.
Pisz na polskim forum.

[APP][2.3+][ROOT] yWifi Keys Viewer - Recover stored wifi keys

yWiFi Keys Viewer
yWiFi Keys Viewer is an app to view stored wireless networks keys in your Android Device.
It works from Android 2.3 to Android 4.4.2
Requires root access (Passwords stored at protected location)
Source available in my GitHub.
This programa parse "/data/misc/wifi/wpa_supplicant" file, and show all stored keys within that file in a UI. Also you can copy the key with a simple click.
(I'm a new user at XDA, so XDA won't allow me to post links. So just remove the extra whitespace )
View on PlayStore » play. google.com/store/apps/details?id=com.yknx.wifipasswordviewer
View on GitHub » github .com/yknx4/WiFiPasswordViewerProject
Also available as attachment
I have every time FC's
Sorry for my bad english
Gesendet von meinem ST70208-2 mit Tapatalk
It´s not working, although my cellphone is already rooted, it says that it´s not rooted
Works great! Need a way to save the networks to a file now. I don't see any settings yet though.
Sent from my SCH-R970 using Tapatalk

[MOD] Block ADS FLASHABLE ZIP

This will block well known ads on all android devices.
What does this do?
1) It changes your host file to block well known websites that shows ads
2) It will backup your current host file, if you want to return
HOW TO INSTALL?
1) Download the zip.
2) Put it in your phone
3) Flash it.
HOW TO UNINSTALL?
1) Install a file explorer
2) Go to /system/etc
3) Delete hosts file
4) Rename hosts.bak to hosts
5) Done! Will make another reverse script soon I hope!
Enjoy Please thank me if this helps you.
No more ADS!
Where is the zip?
"No soup for you! Come back one year!!" Sent from my ViSiX powered SG-G900A Rockin XKrome
What is difference of Mother-of-all-Adblocking and this?
Sent from my SM-G900F using Tapatalk
Simone said:
What is difference of Mother-of-all-Adblocking and this?
Sent from my SM-G900F using Tapatalk
Click to expand...
Click to collapse
The difference between the two is that you dont need any apps to block ads
s5freak said:
Where is the zip?
"No soup for you! Come back one year!!" Sent from my ViSiX powered SG-G900A Rockin XKrome
Click to expand...
Click to collapse
Deeply sorry, I thought i uploaded it
http://forum.xda-developers.com/showthread.php?t=2252747
Been around for ages and make it easy to keep your host file up to date.
Can't block any ads
I tried flashing the zip adaway adfree even the other zip and my S5 for tmobile G900t still had ads no matter what I do I'm using the alliance rom can anyone help me please?

NoleKat v1.2 for T210(R) Secret Lockscreens

[ROM]{Port} NoleKat v1.2 for T210(R)
http://forum.xda-developers.com/showthread.php?t=2837338
1. Download Sq Lite editor
2. go to settings.db
3. Choose system
4. Search for ripple
5. Press on it and edit it
Choose the value u want:
1. Water S3 ( with sound )
2. Light effect of S4 ( with sound )
3. Ripple from S5 ( with sound )
4. Its included in S5 ( with sound )
5. Never seen it ( with sound )
6. 100% never seen ( only unlock sound )
7. Weird circles? ( Water sound )
8. Systemui crash dont go higher than this one!!!!!!
6. Just press power button to turn off screen, than press power button to turn screen on and see the magic!!
Credits to gr8nole for porting
and the other guy for bringing it to his device
Me for finding this trick lol
Ps. This might work on other v4.4 based touchwiz devices/roms
Verstuurd vanaf mijn SM-G900F met Tapatalk
Very cool!!
sj
Sent from my Customized & Carbonized S4 (SPH-L720) - 8/01/14 aOS 4.4.4 with KTkernel 7/12 using [email protected] HD Pro Mobile App
4.X based CarbonROM - $J$harksfan Customized
Working on stock kitkat
SM T211 \m/
Sent from an expensive Toaster (SM-T211)
Wow!
The number 2 is amazing! thank you very much!!!
For the ones who coulnt find settings.db it is in the following folder:
data/data/com.android.providers settings/databases/settings.db
Sent from my GT-I9105P using XDA Free mobile app
---------- Post added at 11:13 PM ---------- Previous post was at 10:56 PM ----------
Just figured out how to get tabbed settings yeahhhh i am sure there are a lot more hidden things
Sent from my SM-T210 using XDA Free mobile app
safariking said:
For the ones who coulnt find settings.db it is in the following folder:
data/data/com.android.providers settings/databases/settings.db
Sent from my GT-I9105P using XDA Free mobile app
---------- Post added at 11:13 PM ---------- Previous post was at 10:56 PM ----------
Just figured out how to get tabbed settings yeahhhh i am sure there are a lot more hidden things
Sent from my SM-T210 using XDA Free mobile app
Click to expand...
Click to collapse
Yeah A LOT hidden stuff:
{
"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"
}
Happy u guys like it
Verstuurd vanaf mijn SM-G900F met Tapatalk
Sock12345 said:
Yeah A LOT hidden stuff:
Happy u guys like it
Verstuurd vanaf mijn SM-G900F met Tapatalk
Click to expand...
Click to collapse
Changing build prop to make ur device look like s5 will get u s5 systemui
And then changing dpi will change colours of different elements
Sent from my GT-S5282 using Tapatalk
And in my case
I have to go in settings storage.db instead of settings.db
To get the hidden stuffs
Sent from an expensive Toaster (SM-T211)
T3snake said:
Changing build prop to make ur device look like s5 will get u s5 systemui
And then changing dpi will change colours of different elements
Sent from my GT-S5282 using Tapatalk
Click to expand...
Click to collapse
So changing device to SM-G900F will change the icons?
Verstuurd vanaf mijn SM-G900F met Tapatalk
Sock12345 said:
So changing device to SM-G900F will change the icons?
Verstuurd vanaf mijn SM-G900F met Tapatalk
Click to expand...
Click to collapse
Yes
Sent from my GT-I9105P using XDA Free mobile app
I flashed nolekat yesterday and it runs excellent! Great job, I nandroided that badboy. I also was testing the inspire rom and was trying to test the secret lockscreen settings but I didnt see any change. Do you have to add aditional files somewhere before this would work or should it work the same on TW based roms? (I do have the werewolf kernel flashed if that matters)
Its supposed to work
U need sq lite editor for it
Verstuurd vanaf mijn SM-G900F met Tapatalk
Lockscreen goes back to normal after boot
Any solution for this?
Sent from an expensive Toaster (SM-T211)
Sock12345 said:
Its supposed to work
U need sq lite editor for it
Verstuurd vanaf mijn SM-G900F met Tapatalk
Click to expand...
Click to collapse
Yes, that's what I used. I selected 2 for the ripple effect, it was on 0
sj
Sent from my Customized & Carbonized S4 (SPH-L720) - 8/01/14 aOS 4.4.4 with KTkernel 7/12 using [email protected] HD Pro Mobile App
4.X based CarbonROM - $J$harksfan Customized
ethical ricado said:
Lockscreen goes back to normal after boot
Any solution for this?
Sent from an expensive Toaster (SM-T211)
Click to expand...
Click to collapse
Not sure still looking for a way to lock it, maybe a dev can add the lockscreens to the settings?
sjsharksfan420 said:
Yes, that's what I used. I selected 2 for the ripple effect, it was on 0
sj
Sent from my Customized & Carbonized S4 (SPH-L720) - 8/01/14 aOS 4.4.4 with KTkernel 7/12 using [email protected] HD Pro Mobile App
4.X based CarbonROM - $J$harksfan Customized
Click to expand...
Click to collapse
You need to save it and not reboot, just press power button to turn screen off and on and see the magic
Verstuurd vanaf mijn SM-G900F met Tapatalk
Sock12345 said:
Not sure still looking for a way to lock it, maybe a dev can add the lockscreens to the settings
Verstuurd vanaf mijn SM-G900F met Tapatalk
Click to expand...
Click to collapse
i tried messing around with it
but got system ui FC's so dropped the plan as tab 3 is my daily driver and i am still learning about development
ethical ricado said:
i tried messing around with it
but got system ui FC's so dropped the plan as tab 3 is my daily driver and i am still learning about development
Click to expand...
Click to collapse
Im not sure how to code that kind of stuff in, if the setting was available to choose between lockscreens than it would be more easy i guess, does this rom have an open source?
Verstuurd vanaf mijn SM-G900F met Tapatalk
So I tried and it didn't work and I found like 4 entries to ripple is it
lockscreen_ripple_effect
arc_motion_ripple_effect
pen_hovering_ripple_effect
Those are the ones with a value of 0
Sent from my SM-T210R using XDA Free mobile app
BlueNinja712 said:
So I tried and it didn't work and I found like 4 entries to ripple is it
lockscreen_ripple_effect
arc_motion_ripple_effect
pen_hovering_ripple_effect
Those are the ones with a value of 0
Sent from my SM-T210R using XDA Free mobile app
Click to expand...
Click to collapse
Lockscreen_ripple_effect change that value to what u like, BUT NOT HIGHER THAN 7!!!!!
Verstuurd vanaf mijn SM-G900F met Tapatalk
Sock12345 said:
Lockscreen_ripple_effect change that value to what u like, BUT NOT HIGHER THAN 7!!!!!
Verstuurd vanaf mijn SM-G900F met Tapatalk
Click to expand...
Click to collapse
I did it didn't work I even saved it, it says you can just push the power button on and off and it should work? But it doesn't?
Sent from my SM-T210R using XDA Free mobile app

Categories

Resources