[TUTORIAL] Block ads in Youtube apk (without xposed) - Xperia Z2 Themes and Apps

*edit
seems like it no longer works with updated youtube apk.
but give it a go anyway
hi guys
this is a simple trick which uses editing of hosts file to block youtube ads. works on KK, CM, AOSP JB etc.
i know alot of people use xposed and adblock and what not to block ads in youtube or use alternative youtube apps
however if you hate using 3rd party programs then this thread is for you.
Requirements*
-rooted phone
- file manager with root access (ie Root explorer, ES, CM file Manager etc)
- either edit hosts file manually or download my hosts file and push it to system/etc
-reboot
copy and paste the following into the hosts file and reboot (please note hosts file has no extension so DO NOT rename it to .txt, or .doc or anything like that, jsut leave it without any extension)
Code:
127.0.0.1 https://googleads.g.doubleclick.net/*
127.0.0.1 https://pubads.g.doubleclick.net/*
127.0.0.1 https://ad.doubleclick.net/*
127.0.0.1 https://s0.2mdn.net/ads/*
127.0.0.1 http://pagead2.googlesyndication.com/pagead/*
127.0.0.1 http://stats.tubemogul.com/stats/*
127.0.0.1 http://pubads.g.doubleclick.net/*
127.0.0.1 http://googleads.g.doubleclick.net/*
127.0.0.1 ##div.video-ads html5-stop-propagation
127.0.0.1 ##div.pyv-afc-ads-inner
127.0.0.1 youtube.com###osd-id
or alternatively
downlaod and push https://mega.co.nz/#!Hsg2iTSI!pCNvYDEtoUQzoDWCGqwKjiSopsUBQLxgWVFet1npir8
this to system/etc
Click to expand...
Click to collapse

or simply install adaway ...

mrassol said:
or simply install adaway ...
Click to expand...
Click to collapse
Or simply read?
i know alot of people use xposed and adblock and what not to block ads in youtube or use alternative youtube apps
however if you hate using 3rd party programs then this thread is for you
Click to expand...
Click to collapse
So you have no problem with 3rd party apps so clearly this thread is not intended for you... Some people do or just want to learn how to do things manually, this is xda DEVELOPERS after all...
Not sure why I'm even bothering to reply to a troll

This is nice
It isnt easily detected from sites when you edit the hosts, nice work!
Sent from my D6503 using XDA Premium 4 mobile app

adamsmth663 said:
hi guys
this is a simple trick which uses editing of hosts file to block youtube ads. works on KK, CM, AOSP JB etc.
i know alot of people use xposed and adblock and what not to block ads in youtube or use alternative youtube apps
however if you hate using 3rd party programs then this thread is for you.
Requirements*
-rooted phone
- file manager with root access (ie Root explorer, ES, CM file Manager etc)
- either edit hosts file manually or download my hosts file and push it to system/etc
-reboot
copy and paste the following into the hosts file and reboot (please note hosts file has no extension so DO NOT rename it to .txt, or .doc or anything like that, jsut leave it without any extension)
Code:
127.0.0.1 #https://googleads.g.doubleclick.net/*
127.0.0.1 #https://pubads.g.doubleclick.net/*
127.0.0.1 #https://ad.doubleclick.net/*
127.0.0.1 #https://s0.2mdn.net/ads/*
127.0.0.1 #http://pagead2.googlesyndication.com/pagead/*
127.0.0.1 #http://stats.tubemogul.com/stats/*
127.0.0.1 #http://pubads.g.doubleclick.net/*
127.0.0.1 #http://googleads.g.doubleclick.net/*
127.0.0.1 ##div.video-ads html5-stop-propagation
127.0.0.1 ##div.pyv-afc-ads-inner
127.0.0.1 youtube.com###osd-id
or alternatively
downlaod and push https://mega.co.nz/#!244n0CTJ!SC3nPlmtmt1i2d4R2z9txPSM6aIYwASihoAqxKorFB8
this to system/etc
Click to expand...
Click to collapse
I went on etc/hosts file on ES File Manager and tried to edit it. Copied this and pasted on it but it won't save. I have root and ES File Manager has root permissions... This is weird.

V4LKyR said:
I went on etc/hosts file on ES File Manager and tried to edit it. Copied this and pasted on it but it won't save. I have root and ES File Manager has root permissions... This is weird.
Click to expand...
Click to collapse
if it wont save then it means you might not have full root, try running the latest easy root again..

adamsmth663 said:
if it wont save then it means you might not have full root, try running the latest easy root again..
Click to expand...
Click to collapse
But Root Checker says I have full root... :laugh: Really weird.

I downloaded host file push to system/etc
And reboot but it looks not working when I try to watch YouTube there still have ad
Do I need to change permission?
Sent from my D6503 using XDA Free mobile app

paullu said:
I downloaded host file push to system/etc
And reboot but it looks not working when I try to watch YouTube there still have ad
Do I need to change permission?
Sent from my D6503 using XDA Free mobile app
Click to expand...
Click to collapse
try removing the # infront of each address listed
if that dosent work
download this host file it has 1000's of adddresses listed
https://mega.co.nz/#!Hsg2iTSI!pCNvYDEtoUQzoDWCGqwKjiSopsUBQLxgWVFet1npir8
try pushing this to system/etc (its 1.3 mb, the old file is 20kb, so you should be able to tell now if it has been pushed to the correct folder)

mrassol said:
or simply install adaway ...
Click to expand...
Click to collapse
adaway doesn't seem to block ads from the updated version of YouTube apk.
I've event tried adding the http listed here in my blacklist in adaway, reboot and still didn't work.
had to open the host list and add this list in manually for it to finally block ads in the YouTube apk.

"#" cannot be read by system. You should remove them from links. Also last entry blocking directly Youtube.com

dilldoe said:
adaway doesn't seem to block ads from the updated version of YouTube apk.
I've event tried adding the http listed here in my blacklist in adaway, reboot and still didn't work.
had to open the host list and add this list in manually for it to finally block ads in the YouTube apk.
Click to expand...
Click to collapse
Does this mean it worked? I've tried using YouTube Adaway (Xposed Module) + Adaway and still had ads in the original YouTube application.

I manually added the hosts to d away black list (since the actual file is too large to edit with all the text editors I've tried) and have gotten a majority of the ads blocked. The problem with adding hosts to the blacklist is that they need to be in the form of just the server name. Including anything else results in adaway complaining about it not being a proper host name.
I don't know how adaway handles these blacklisted host names, meaning I have no clue if it adds a /* to the end, but doesn't blocking just a server result in everything being blocked to begin with ... Since adaway doesn't allow us to add directories after the server we can't really be too specific about what we block..
Therefore I wasn't able to block anything coming from YouTube.com itself or else I'd block the site completely.
It would he a good idea to move your download link to Box for example (Dropbox probably also works but just tested it with Box) so that people with Adaway can copy the Box URL and add it directly to AdAway's Host Sources list so it automatically updates when they press update, so they don't need to always check here to see if any changes were made.
Here's my test link that works, (as far as adding to Hosts Sources in AdAway...whether or not YouTube ads are blocked I've yet to test fully again). It's fine if anyone wants to use this one, but there's no guarantee I'll update the list if the OP updates their list.
Link Deleted
Rebooted and after a bunch of tries, I ended up catching an ad. I'm going to see if I can catch some of the new URLs. Btw, this was with adaway's default hosts sources plus the YouTube hosts you posted as well as the moab list that's posted here on xda (that's a lot of hosts getting blocked...that moab lost is huge and as the name says, Mother Of All Ad Blocking. It does seem to be blocking some of the ads as they seem less frequent but could be placebo.
Edit: Seems like the adaway final merged lost of my goat sources is getting malformed cause after a
PHP:
grep "120.0.0.1 youtube.com###osd-id" /etc/hosts
Nothing is returned. Lemme reboot and see of the updated link I provided fixes the issue after applying the list again...
-----------
Well I unchecked all sources except the YouTube hosts from the Box link and even though it says it successfully applied the changes..it didn't..so off to try other cloud storages...might have to just create a webpage and put it there as I know that works but I don't see why this isn't working.
# when applied only "YouTube.com" gets redirected ..also is duplicate entries and I guess not formatted correctly to automatically import into adaway....

Update: Used logcat and checked the ad URLs and they are correct as listed here. So, I parsed through a little more and found where YouTube was pinging for ads, and then found the code in smali. Pretty sure I've found the ad URL constants and doing a build now where I just set each one to 121.0.0.1 and have it redirect back just as if in the hosts file and leave the rest of the code intact to reduce chances of error.
---------------------
Seems like only ads from googleads.g.doubleclick.net are passing through. Oh, yeah I found another URL to add to the YouTube list to redirect or add to adaway blacklist.
Code:
csi.gstatic.com
Looking at the code, it appears that the app pings a request for an ad and then receives it and passes it on to the actual video playback classes, so the URLs may not even be hard coded. If I could find what framework I'm missing I could look and see, still working on that.
I tried a few variations last night on changing the source, which I can decompile. Tried removing all the ad request calls by just returning void and leaving the methods empty and not removing the actual classes. I could use search and try removing all references to the classes so the entire ad interface is removed but doing so cleanly will take a lot of time.
In the mean time I'll keep adding new URLs as I find them. I just need to figure out the flow more...there's a lot of code. If anyone can decompile the resources .. It would be helpful (or know what framework I'm missing...I need to try again and look at the error log and find out what jar/apk the class is in.
---------------------------------------
Finally got resources to decompile. Stupid apktool mobile is picky about imported framework naming. And I has to import them manually but got it straight .. Anyways can't find any host or proxies in there or URLs .. Time to check the /data folder for YouTube though. Guess I couldn't technically modify the XML there so that the ads aren't visible but that's not what im after right now.
----------------------
The Google Services Framework database contains tables which also contain booleans for controlling ads (both in /data/data and /data/0/user. The googleads.g.doubleclick.net host is also apparently controlled here and looks like the reasoning why this was passing by was due to it being enabled and therefore white listed. Use SQLLite Editor and you'll see what I mean. This has been mostly what I've been looking for. Several other ad switches can be turned on and off here.. Some ads are still fetched by youtube.com/whatever, but I haven't manually added that to my hosts yet as was looking for a way to maybe disable those as well elsewhere. There's a lot in gsf I probably looked right past and missed.

Since when hosts file can block elements? Hosts file can't read anything besides domain name. Guys don't waste your time adding this nonsense to your hosts file. It might even slow down your browsing because it won't read the hosts file and it will wait till it times out. If you wish then download a proper hosts file but don't add these lines manually.
---------- Post added at 06:18 AM ---------- Previous post was at 05:54 AM ----------
MidnightHarvester said:
Some ads are still fetched by youtube.com/whatever, but I haven't manually added that to my hosts yet as was looking for a way to maybe disable those as well elsewhere. There's a lot in gsf I probably looked right past and missed.
Click to expand...
Click to collapse
The easiest way to see all URLs by using your router if you have tomato or ddwrt installed. All you need is enable dnsmasq log and then you can see all urls requests. I didn't spend much time only about 15 minutes but I couldn't block ads using hosts file and I blocked most of the requests using hosts file. Maybe I missed something but anyway give it a go and don't use wildcards, slashes, divs, or http in hosts file. A proper hosts file must look like
127.0.0.1 domain.com
or
127.0.0.1 www.domain.com

Almazick said:
Since when hosts file can block elements? Hosts file can't read anything besides domain name. Guys don't waste your time adding this nonsense to your hosts file. It might even slow down your browsing because it won't read the hosts file and it will wait till it times out. If you wish then download a proper hosts file but don't add these lines manually.
---------- Post added at 06:18 AM ---------- Previous post was at 05:54 AM ----------
The easiest way to see all URLs by using your router if you have tomato or ddwrt installed. All you need is enable dnsmasq log and then you can see all urls requests. I didn't spend much time only about 15 minutes but I couldn't block ads using hosts file and I blocked most of the requests using hosts file. Maybe I missed something but anyway give it a go and don't use wildcards, slashes, divs, or http in hosts file. A proper hosts file must look like
127.0.0.1 domain.com
or
127.0.0.1 www.domain.com
Click to expand...
Click to collapse
Yeah I had to clean this up before even trying.. I have all ads blocked now anyways thankfully. Some ada are manages in Google Play Services and stored in one of the databases in the data file for that, and is most likely white listing these certain domains we can't block. My host file is formatted correctly ..been using them forever before uneven started using them to block ads.
Normal hosts I use blocks most the ads, blocked the g.googleads whatever it is domain via editing the play services database so other APS don't see them, then added my code in the smali eliminating YouTube from even pinging for ad servers...so all good
Thanks for the tips though in sure they'll be useful ')

This procedure works great!
I cannot post links for the moment. Try to search on Google this two keywords: "lolloland youtube"
The first link "TechNote: How to remove video ads from Youtube without ..." is a good procedure to configure your hosts files not to see pre-roll Youtube Ads.

Numerio said:
I cannot post links for the moment. Try to search on Google this two keywords: "lolloland youtube"
The first link "TechNote: How to remove video ads from Youtube without ..." is a good procedure to configure your hosts files not to see pre-roll Youtube Ads.
Click to expand...
Click to collapse
Really does not work I don't get why android's hosts file gets ignored if it is about the Youtube app.

Related

[SOLVED]Medscape App. Help needed!!

Im a medical student and I really would love to be able to use the newly available Android Medscape app (free from the market) on my phone.
Unfortunately, it says in description of the app that it may have problems with "rooted" phones. Im assuming it means our HD2's running android on NAND as well, because after installing the App on my phone, I am unable to update/download the Clinical reference data required for the app to work offline.
It gives the error "Internet connectivity was interrupted..Please try again"
Any help from the developers or anyone else would be very greatly appreciated
dude0014 said:
Im a medical student and I really would love to be able to use the newly available Android Medscape app (free from the market) on my phone.
Unfortunately, it says in description of the app that it may have problems with "rooted" phones. Im assuming it means our HD2's running android on NAND as well, because after installing the App on my phone, I am unable to update/download the Clinical reference data required for the app to work offline.
It gives the error "Internet connectivity was interrupted..Please try again"
Any help from the developers or anyone else would be very greatly appreciated
Click to expand...
Click to collapse
Looking at the description and the error you gave, have you tried disabling any ad-blocking software? It may be something cooked into the ROM - if so, try asking the dev how to disable it. DLing now - i'll post back what I find.
.............................
EDIT:
Ok, having found this question asked on the thread for the ROM I use, you can remove medscape from the adblock 'hosts' list. (find it in \system\etc).
Original Post URL: http://forum.xda-developers.com/showthread.php?p=11521445&highlight=block#post11521445
I had to copy the file to PC before editing and copied back again using droidexplorer.
kinsago said:
Looking at the description and the error you gave, have you tried disabling any ad-blocking software? It may be something cooked into the ROM - if so, try asking the dev how to disable it. DLing now - i'll post back what I find.
Click to expand...
Click to collapse
Thanks for the reply. I forgot to mention the ROM im using. Its Core Droid DHD 1.5, and it seems you may be right. It says in the description of the ROM that the "Adds are Blocked (Host files modified)". Is there any way to reverse this host file change?
Fixed it with the help of the developer of the Core Droid ROM. Just opened the app "Add free" and hit "revert". Restored the original host file. Medscape works now.
im having the same issue and clicking the "revert" bottom on AdFree did not fix it
I have uninstalled AdFree and have the same problem all the time. Anybody fixed this?
i had the same problem!
After i revert the hosts file in ad-free, medscape did not update the reference!
So what i did:
I did not unistall ad-free, but:
- i revert the host file 3 times in a row;
- i stopped the access of AD Free from SuperUser (root access);
- and i restart medscape (i killed the process with automatic task killer) and start it again;
- and voila, my htc g1 is updating the reference while i text.
(i don't know what are the steps that make medscape update, but i guess, is the revert host file and restart the app, to it starts didn't knowing that can't access that host to update)
I hope this help you!
Good luck
It works for me, reverted host files, stopped Adfree acces to Superuser and voila!! Medscape is updating again. Thanx
how to correct medscape installation please?thx\
SOLVED!
Just got an OTA update for my flyer and software got updated to version 2.27.1540.32
The android version is 2.2.4 while sense is 1.0
Just for the record, AdFree only works on ROOTED devices. i mentioned in another thread on xda that adfree does not work for me. with this OTA update, my Medscape is finally installing as i type this - - -
Just kill the AdFree app and immediately run Medscape app,it'll definitely take the update.I did the same and it worked
i try looking for file in \system\etc
in use editor to open file host.. thera are a lot of files,
and it make me confuse, where the file "medscape from the adblock 'hosts' list" is ???
wisnu19 said:
i try looking for file in \system\etc
in use editor to open file host.. thera are a lot of files,
and it make me confuse, where the file "medscape from the adblock 'hosts' list" is ???
Click to expand...
Click to collapse
i had found problem solve
copy host file from \system\etc (in yr device) to PC
[*]and open using worldpad in pc
[*]use search from worldpad..type medscape
[*]and delete all file which has name medscape
[*]save !!
[*]move and replace host file which edit from pc to \system\etc in yr device (use es file explorer)
[*]install again medscape
[*]and the update reference should work again..done !!
not solved for me!
Hi everyone!
Well, I've experienced the same "connectivity error" as everyone with a root cellphone, after reinstalling medscape app at my cell. I never had AdFree, and even though I'm able to found the hosts file and take a look of it with my pc it says absolutely nothing about medscape (only 127.0.0.1 localhost and emptyness after), so I guess I must be getting the wrong file or not accesing to it correctly?
I've tried everything you said, but is still not working.
I'm pretty new with android, and I would really aprecciate you help, given the fact that this is one of my favorities app!
lalauri089 said:
Hi everyone!
Well, I've experienced the same "connectivity error" as everyone with a root cellphone, after reinstalling medscape app at my cell. I never had AdFree, and even though I'm able to found the hosts file and take a look of it with my pc it says absolutely nothing about medscape (only 127.0.0.1 localhost and emptyness after), so I guess I must be getting the wrong file or not accesing to it correctly?
I've tried everything you said, but is still not working.
I'm pretty new with android, and I would really aprecciate you help, given the fact that this is one of my favorities app!
Click to expand...
Click to collapse
i just rename file host in /system/etc via root explorer..then it works like a charm
note: ypu can rename it by any programs that's can mount and write root folder and explore (es file explore,x-plore,etc)
Rename?
ivaneris said:
i just rename file host in /system/etc via root explorer..then it works like a charm
note: ypu can rename it by any programs that's can mount and write root folder and explore (es file explore,x-plore,etc)
Click to expand...
Click to collapse
i have got a file in /system/etc called "hosts" , so what should i rename it after? im using root explorer.
Thanks
Thanks Ivaneris
Iam on CM 7.2 LG p500.I had same probs and ur method really worked like a charm.I thought I almost lost it but thanks to you.BTW I renamed hosts file as explorer

Alternative To Ad Free

Is there another ad blocking app that you can use with being rooted? This one is just not working no matter what I do, and emails to the dev have gone unanswered.
NO, unless you block the servers tru a Firewall, you also have to be rooted for AdFree to work. if you are rooted, just download the hosts file and copy it to "/etc/hosts" via adb, root explorer or whatever you like to use.
Do you leave it zipped, or unzip it first before moving it?
edit: Thanks, but that did not work.
Are all ads showing up or just some? If it is just some then the adserver might be missing from the hosts file.
All of them are being shown. That's certainly why I was hoping to find an alternative app. I have been working with this since I rooted and nothing works.

[Q] Ad Blocking errors in internet browser while tethering through Mobile AP?

So I often watch TV show episodes on the websites for CBS, ABC, and NBC and just today for the first time I tried doing so while tethering to my phone using the Mobile AP. When I clicked on an episode, however, I received an error telling me, "This video is either unavailable or is being blocked by an ad blocker installed in your browser." The thing is, I definitely don't have an ad blocker installed in my browser; and, when I disconnected from my phone and instead connected directly to my ethernet, the video worked fine right away. I tried it for shows on NBC.com as well as ABC.com and received similar errors all pointing towards Ad Blocking software. Has anyone else ever experienced this or does anyone know the relation between tethering to Mobile AP and an Ad Blocker detection? Any help would be greatly appreciated as I have two laptops and only one ethernet hookup, so I would like to be able to have good internet connected to both at once.
No one huh???
Sent from my SAMSUNG-SGH-I897 using XDA App
Install AdFree Android from the market, then choose revert.
do you have ad-blocking built into your rom? delete (or rename) the "hosts" file in system/etc
TRusselo said:
do you have ad-blocking built into your rom? delete (or rename) the "hosts" file in system/etc
Click to expand...
Click to collapse
Ohhh wow I didn't even realize that ad-blocking came built into ROMs. I just quickly checked in /system/etc and did see the hosts file, opened it up and checked out the text. I tried renaming it but it was read-only, and root explorer wouldn't let me remount as r/w. I guess I'll look into it more tomorrow. But I would imagine I wouldn't want to just straight delete it right, as whatever ads it was blocking would no longer be blocked? I could just rename it any time I encountered errors while tethering to my laptop?
Does reverting through Adfree simply delete that hosts file?
Sent from my SAMSUNG-SGH-I897 using XDA App
if root explorer wouldnt let you mount you might have lost root somehow. re root.
TRusselo said:
if root explorer wouldnt let you mount you might have lost root somehow. re root.
Click to expand...
Click to collapse
I don't think I did. I just updated the su binary and when I reopened root explorer, superuser asked me if I wanted to allow root access to root explorer. I've read that before somewhere of people having trouble remounting within the /system folder. It let's me remount on folders outside /system, just not inside it. I still haven't figured it out. I suppose I could use terminal emulator right?
Sent from my SAMSUNG-SGH-I897 using XDA App
TRusselo said:
do you have ad-blocking built into your rom? delete (or rename) the "hosts" file in system/etc
Click to expand...
Click to collapse
you were exactly right TR. i renamed the hosts file and re-tethered and i no longer received any errors about ad-blocking software. not to say the video is actually working too well tho - just keeps freezing. i guess streaming tv episodes while tethered to your phone isn't the best idea. anyway, thanks man!

[Q] How to filter/block ads

Is there a way to filter or block ads in the apps ? In android is possible to mod a hosts file through apps such as AdAway or AdFree; has WP8 something similar ?
the gladiator said:
Is there a way to filter or block ads in the apps ? In android is possible to mod a hosts file through apps such as AdAway or AdFree; has WP8 something similar ?
Click to expand...
Click to collapse
No !!!
You can edit the HOSTS file with an interop-unlocked phone. There's no current way to do it on a phone without interop-unlock, though.
Eye to change the host file First, as gooddaytodie says you need to interop and then enable full access to get full access to system folders. .. I have tried to edit the file to remove the ads from app but then I found myself with 3g and wifi not working.. So I thought I'd put the original file but are no longer able to replace it because Microsoft protected.. I had to Flash the full partition. Informed well before modifying it
It`s not the way with Windows Phone 8, but anyway. I`m using my router Netgear router to block the ads. Of cource it will work only when you`re connected to your Wi-Fi spot (or LAN with PC, Laptop or any other Ethernet-compatible thing).
I appreciate the information you gave me (and to the forum). A big thanks to GoodDayToDie who gave some hope and a "grosso grazie" to BlackSilverGT for the heads-up.
GoodDayToDie, could you please elaborate a bit your answer in order to avoid what happened to BlackSilverGT ? The alternative would the work-around suggested by winphoneuser
I have no explanation for what happened to @BlackSilverGT, so I can't promise how to avoid it. I used an app which moves files via CRpcComponent (rather than using the full access via MTP hack) but I have modified the HOSTS file that way, and it works. Maybe the problem was the *particular* modifications you made? I wasn't trying to block ads or anything like that, just intercepting traffic from an app. The tool I wrote for the purpose was a one-off and I seem to have deleted it, but I have a more general-purpose file editing utility under development.

How to get rid of the annoying "System Update"

Hello!
I'm on a rooted Cricket Android 4.4.2 device.
ROM Version: 1.11.506.1
Software Number: 1.11.506.1
HTC Sense 6
Baseband: 1.101.1372.19
Can somebody please tell me how to get rid of the annoying software update that has been coming the last week?
Is there way to somehow either change my software number to trick the phone into thinking I'm updated or perhaps I should update? If so, how?
I appreciate the help.
Using a root file explorer and freezing the updater app manually would probably be the safest (personally I like Root Browser by JRummy hasn't been updated in awhile but if ain't broke it don't need to be, and it is a tool I know will always perform these critical tasks correctly)
By freezing the the system updater app in the following way, you will be able to easily reverse the process using the same process. While there are some mods that can hide the notification itself (eg.: Xposed FW), this method completely disables the update check process, thus freeing up system resources. Twofold if you look at it this way imo, rather than adding potentially harmful additional resources.
# Open your root fs explorer
# navigate to fs root:
/
# then to:
/system/priv-app
# locate the file:
Updater.apk
# append ".bak" to the file name. In other words rename it to:
Updater.apk.bak
# note: no need to mess with it's .odex file, it never hurt no one. Also depending on your fs explorer and personal settings, the app's icon thumbnail has likely changed to a blank white square/unkown/generic file icon and is totally normal.
# profit and celebrate the newly liberated space in your notifications and don't forget to miss that pesky "remind me later" pop up.
#should there be an update that your are feeling compelled to (try) and install simply remove ".bak" from the files name and proceed as usual. Note that the only thing you should be changing in all this is +/- ".bak" from the file name. Don't go trying to change this or other apps file name. It don't work like that. Speaking of other apps, I urge great caution against going ape$#¡+ and doing this carelessly, especially for apps anywhere under "/system".
# The Disable button on the App Info pages should be the primary resource for disabling apps for most users. Know what the app does and is used for on your system BEFORE making changes or worse yet, deleting it.
~/#: print <INSERT STANDARD DISCLAIMER, AKA CYA STATEMENT HERE>
Don't just say it, hit that thanks button if I helped you in any way!!!
Sent from my HTC Desire 510 using Tapatalk
wow thank you so much :laugh:
jackunoff said:
Using a root file explorer and freezing the updater app manually would probably be the safest (personally I like Root Browser by JRummy hasn't been updated in awhile but if ain't broke it don't need to be, and it is a tool I know will always perform these critical tasks correctly)
By freezing the the system updater app in the following way, you will be able to easily reverse the process using the same process. While there are some mods that can hide the notification itself (eg.: Xposed FW), this method completely disables the update check process, thus freeing up system resources. Twofold if you look at it this way imo, rather than adding potentially harmful additional resources.
# Open your root fs explorer
# navigate to fs root:
/
# then to:
/system/priv-app
# locate the file:
Updater.apk
# append ".bak" to the file name. In other words rename it to:
Updater.apk.bak
# note: no need to mess with it's .odex file, it never hurt no one. Also depending on your fs explorer and personal settings, the app's icon thumbnail has likely changed to a blank white square/unkown/generic file icon and is totally normal.
# profit and celebrate the newly liberated space in your notifications and don't forget to miss that pesky "remind me later" pop up.
#should there be an update that your are feeling compelled to (try) and install simply remove ".bak" from the files name and proceed as usual. Note that the only thing you should be changing in all this is +/- ".bak" from the file name. Don't go trying to change this or other apps file name. It don't work like that. Speaking of other apps, I urge great caution against going ape$#¡+ and doing this carelessly, especially for apps anywhere under "/system".
# The Disable button on the App Info pages should be the primary resource for disabling apps for most users. Know what the app does and is used for on your system BEFORE making changes or worse yet, deleting it.
~/#: print <INSERT STANDARD DISCLAIMER, AKA CYA STATEMENT HERE>
Don't just say it, hit that thanks button if I helped you in any way!!!
Sent from my HTC Desire 510 using Tapatalk
Click to expand...
Click to collapse
I'm gonna chime in here and I know you're trying to help but this really isn't helping because you didn't actually freeze the app like you said. All you did was change the apps name so now when the system actually calls upon that app it's simply going to error out and actually cause it to use more resources and not less as you said albeit it will not show up anymore but that's not the way to stop it! If I go into /system/priv-app and change Phonesky.apk to Phonesky.apk.bak the play store is going to break and then send me the error to my screen every second until I fix it and that uses more resources and the only reason you're not seeing the error on the screen for the Updater is because it's doing it behind the scene in a log. Now the real way to stop this app is to actually really freeze it or uninstall it so the system actually knows the app is no longer there and there are plenty of apps in the play store that can do that.
---------- Post added at 06:17 AM ---------- Previous post was at 06:16 AM ----------
Khiddfrost said:
wow thank you so much :laugh:
Click to expand...
Click to collapse
You should read my post above.

Categories

Resources