Filter ads on Defy - Defy Android Development

Hi guys,
I'm asking in this forum section because I think that only developers can answer my question,
I've recently bought a Defy (european version), I've flashed lastest Finland leaked sbf (2.2),
Now I'm trying to filter ads on this stock rom, I don't want install a custom rom, I'm fine with the stock,
I've tried to manually change hosts located into /system/etc/hosts (taken by Pays ROM) with negative result, I've also tried Market App: AdFree (that download an updated hosts file and put it on right location using root) but same thing, it's not working,
Can you please explain me if there is something else I need to change in the stock rom to let Android's system uses correctly the hosts file?
Thanks anyone for replying,
Alex

Just use adfree. Open the app, download and install host. Close the app by pressing back button. Open the app again, update,close it again. Open the app for the final time and you should be fine.hope this helps.
Sent from my MB525 using XDA App

The hosts file is at /etc/hosts. You can replace that with a custom file and it will work just fine, after a reboot to clear any cached hosts.
There is no need to use adfree if you prefer editing the file manually.

Hosts file should work but the result may not very eye pleasing though, eg when an ad iframe is blocked in browser.

Related

[HULU] [Flash] AND 10,1,95,2 hex edited to look like WIN 10,1,85,3 daemon slayer

Platform not supported?
Newest Flash hex edited so hulu thinks you're on windows
AND 10,1,95,2 hex edited to look like WIN 10,1,85,3 for HULU
i adb installed but i'm guessing you can just install it the regular way.
http://dl.dropbox.com/u/7706551/flash-hex-edited.apk
uninstall flash
install this app
simple right?
can't get it to work then try adb install *your_path_to_your_android_sdk*/flash-hex-edited.apk
Freshy I like
Sent from my phone... I think??
and now the link is actually up
I'll give this a shot, hope I don't get those demon voices again
ok i just tried the hulu app and landscape is off center. i dont know if I have the right version. the web site works just find though
yep. install the regular way works. haven't tried it with hulu but I will try it with my" favorite" site later to see if it fixes the demon voice.
I had to adb push this file in /system/app, then install on top of that.
i've never had the demon voices, but today is the first day I messed with hulu at all.
This is just the newest adobe flash off the market for the evo and hex edited to lie and say it's the windows version when flash apps ask. I'm not sure if there is a better platform to spoof or if it will even matter
I installed the regular way it it work out perfect. for some strange reason I had to uninstall the orginal adobe flash app before this one would install(it wouldnt just intall over and replace)
I couldnt get hulu to work with dolphin browser. It works just fine on the stock browser.
thanks for everything . You rock
Ok, definitely curious about checking this out. What are the chances of this having negative impact on other things that utilize flash? Or is that pretty unlikely? Thanks in advance. And to uninstall original, just goto settings> manage applications, I'm guessing?
Thanks in advance, and especially thanks to op.
Sent from my PC36100 using XDA App
on the miui rom.... installed apk and no hulu love for me
other flash sites worked fine. uninstalled previous version of flash, installed this one sucessfully, rebooted, and no hulu clips, at least for me.
I tried this on IncDoes Sense "Desire HD" (for HTC Incredible) and it does not work. Meaning no flash on any site.
So all I need to do is install this app, and then Hulu will work on my EVO? Is it really that simple?
If so, that is great!
Thanks!
when i am trying to push the file this is the command I am using:
adb push flash-hex-edited.apk /system/app/
the response i am receiving back is
failed to copy 'flash-hex-edited.apk' to /system/app/flash-hex-edited.apk' : read-only file system.
I am rooted....any sugestions?
steps to any hexed flash to work:
Close out browser
Uninstall original flash using adb for titanium backup
install new flash
install hulu app
OR
in stock browser, type about:debug>settings>UASTRING>desktop then go to hulu site or hulu widget site.
Also: to get it full screen all you need to do is tap to the right of the video then click the fullscreen button quickly within the video. Do not do the hold and click full screen that is part of flash. This only works on the main hulu site. Not the app.
millerd79 said:
when i am trying to push the file this is the command I am using:
adb push flash-hex-edited.apk /system/app/
the response i am receiving back is
failed to copy 'flash-hex-edited.apk' to /system/app/flash-hex-edited.apk' : read-only file system.
I am rooted....any sugestions?
Click to expand...
Click to collapse
i used abd install not adb push. and make sure you change your user agent string with about:debug as others mentioned
Makes the demon voices in the hulu app disappear in Cynagon mod 6 stable!
Sent from my PC36100 using XDA App
Obama's>god said:
i used abd install not adb push. and make sure you change your user agent string with about:debug as others mentioned
Click to expand...
Click to collapse
I've always just installed hexed flash versions simply out of my downloads folder on the sd card. I don't think it matters how it installs. Just as long as the previous flash is removed through adb or titanium
i just tried changing my user agent string back to android and it actually still works. if you cant get it to work try clearing your browser cache, uninstalling flash, reinstall my hex edited flash and try hulu.com again

[Fix] Fission Android Market 2.2.6 Force Close Fix

So I just found what appears to be a permanent fix for running the new android 2.2.6 market on Fission. I know others like myself were having a lot of issues with this. I'm on the 2.3.1 build of it.
Note: I have tried clearing cache, updating, etc... and haven't had a single Force Close error!
1) So I downloaded a copy of the market apk from here (I used the first alt link):
http://www.droid-life.com/2010/12/11/download-new-android-market-version-2-2-6-for-all-2-2-phones/
2) Then download the app ZipSigner off of the android market so we can resign the apk.
3) Open zipsigner and type in the location of the android_market.apk that you downloaded.
4) Give the output a new name like android_market-sign.apk
5) Install the new signed market file as you would any other app. It asks you about overwriting but just install it and it will "upgrade" your current app, just install it and it will be successful now.
6) Run the market normally and everything should be good!
Side Note: If you were to have any issues you can also just go to Settings>Applications>Manage Applications->All, find the Market entry and click "Uninstall updates" and it takes you back to the normal 2.2.
Let me know if this works for you guys also!
Works great for me! Love it compared to the old market ..thanks for the fix. Never tried it before but its working fine now. What is the signer program for? Im curious what else it could be used for?
Sent from my DROID2 using XDA App
works for me! had to manually put in the file location because it said it was missing a file explorer
droid2andyou said:
works for me! had to manually put in the file location because it said it was missing a file explorer
Click to expand...
Click to collapse
Same here, but it worked like a charm. Thanks!
Works well! thank you!
i had this working last night. i signed it on my pc then pushed it to my phone but same method lol
Yea I had to manually type it in since I only have root explorer.
Sent from my DROID2 using Tapatalk
Works great. Thanks I did have to type it in manually also ,but it works
Edit, Nevermind.
Not workin for me. When try to install I get the "application not installed" warning.
*I installed the one i downloaded though. Seems to work fine...for now.
Thanks ... you know, sometimes it's amazing what you (I) can actually do if you only follow directions.. Wheeeeeeeeeeeeeeeeeeeeeeeeee
Thanks!!!
Sure it is going to help many users
If it does work over time I will post it on FRM.
I swore I signed it and it gave me FCs after a few reboots so maybe I did forget to sign
phrozen87 said:
So I just found what appears to be a permanent fix for running the new android 2.2.6 market on Fission. I know others like myself were having a lot of issues with this. I'm on the 2.3.1 build of it.
Note: I have tried clearing cache, updating, etc... and haven't had a single Force Close error!
1) So I downloaded a copy of the market apk from here (I used the first alt link):
http://www.droid-life.com/2010/12/11/download-new-android-market-version-2-2-6-for-all-2-2-phones/
2) Then download the app ZipSigner off of the android market so we can resign the apk.
3) Open zipsigner and type in the location of the android_market.apk that you downloaded.
4) Give the output a new name like android_market-sign.apk
5) Install the new signed market file as you would any other app. It asks you about overwriting but just install it and it will "upgrade" your current app, just install it and it will be successful now.
6) Run the market normally and everything should be good!
Side Note: If you were to have any issues you can also just go to Settings>Applications>Manage Applications->All, find the Market entry and click "Uninstall updates" and it takes you back to the normal 2.2.
Let me know if this works for you guys also!
Click to expand...
Click to collapse
Itd not working. I'v got CM 6.1
Worked perfect for me .. even seem 10x faster than the original one I installed! Woot woot!
droid2andyou said:
works for me! had to manually put in the file location because it said it was missing a file explorer
Click to expand...
Click to collapse
What did you type in im having problems trying to get it to find the file.
thanks
Thanks phrozen87! It is now up on Fission ROM Manager...gave you credit
droid void said:
What did you type in im having problems trying to get it to find the file.
thanks
Click to expand...
Click to collapse
Just put the Android_Market.apk on the root of your sdcard then change the filepath to: /mnt/sdcard/Android_Market.apk
And change the signed output filepath to: mnt/sdcard/Android_Market_signed.apk
Then go to your sdcard either through file manager or root explorer or astro and just run the apk like you would any other.
I had some trouble to but just typing it in worked and now I have this working great!
With the zipsign update that came today you should just be able to select the file using the built in browser. Just give the output any other name like vending-sign.apk or something. Run the file then from any file browser after its signed.
And im not sure if this helps CM as I only have a droid 2 and just kinda accidentally stumbled on this fix as I was playing around with some other files but it prob should work
Sent from my DROID2 using Tapatalk
I tried again and im still getting the install error. followed your directions, what am i missing?
phrozen87 said:
With the zipsign update that came today you should just be able to select the file using the built in browser. Just give the output any other name like vending-sign.apk or something. Run the file then from any file browser after its signed.
And im not sure if this helps CM as I only have a droid 2 and just kinda accidentally stumbled on this fix as I was playing around with some other files but it prob should work
Sent from my DROID2 using Tapatalk
Click to expand...
Click to collapse
What can you accomplish when you zip sign apks?? I did the market fix and it worked well but I wanted to know why they need to be "signed"...can you sign maybe an apk you backed up from an old droid 2 that was rooted and paid for the apk but have a new google account and dont want to pay for it again..would that have them show up in market? Jw?
Sent from my DROID2 using XDA App

[Q] how install *ONLY* MARKET-APP on CM7 nightly?

hi,
i have just installed CM7-nightly
CM7 comes without google-apps.
i know i can download them here:
edit: hmpf - i am not (yet) allowed to post links
this way i could install all google-apps for my device.
however, i am quite happy that they are NOT pre-installed, as i don't use them.
the one and only google-app i really need is the market-app
so i downloaded the google-apps.zip for my device and took a look inside the .zip
the .zip contains many .apk's in /system/app folder.
as i want to install *ONLY* the market app so i installed
Vending.apk
MarketUpdater.apk
unfortunataley market app closes after openening it
now my question:
which .apk's do i have to install to get a working market app?
(minimum required .apk's from the google-apps .zip?)
thanks
AFAIK the market app is calles 'vendor.apk'
hi,
yes - but market closes after starting - there must be something missing.
thanks
andi_o said:
hi,
yes - but market closes after starting - there must be something missing.
thanks
Click to expand...
Click to collapse
You have to use this and let it update, AFAIK
ok, i will try this!
thanks!
i would like to know what the link he was refuring to in the first post cause i would like all the gapps but the zip i installed put me in a boot loop also i tried using the old market xip and it does the same thing just white screen and closes when i try to sync my gmail account it says unable to make connection to server any idea's
dont install Biofall's file unless you wan to format you phone

[Q] Need help installing HTC keyboard apps .apk on samsung captivate

I have tried to search the forum but could not find the solution that I've been looking for. The problems that i am having is that I am trying to install the HTC keyboard onto my samsung captivate. I've download the .apk file for it and tried to install it with astro file manager and dropbox. Apparently when i try to install the file, the phone pops up a notification saying install blocked (for security, your phone is set to block installation of applications not sourced in android market). So the thing i want to ask is how do i get rid of this problem and install the .apk file? (im a N00b when it comes to adroid OS)
you have to enable sideloading of apps. search for this in the forum using the SEARCH TOOLS

[Q] How to manually install .apk

I've been trying to install a particular app to my phone, Nexus 4, rooted custom rom, etcetc.
The app in question was pulled from the Play store some time ago and it seems Google went further and removed the free version of the app from users devices without permission as well. I have the pro version as did many others and from what I've read, the pro version was not removed. However I flash roms and eventually lost it and that required a reinstall.
The problem: traditional methods of installing the .apk give the error "App not installed."
How can I install this app manually? The only other method I could think of was to try to root copy it to /system/app but that didn't work. And I'll reiterate, so we're clear, browsing to .apk and installing through explorer by clicking it does not allow the .apk to install. So, suggestions?
You could try sideloading it using Android Injector. (If it fails, it'll tell you why)
Sent from my Nexus 4
Theonew said:
You could try sideloading it using Android Injector. (If it fails, it'll tell you why)
Sent from my Nexus 4
Click to expand...
Click to collapse
Yeah it failed.
The application itself says install successful, but the app cannot be found on the phone.
There are a few websites that allows you to download apps in its apk format. You can install that way. But I'm not sure if its legal. Someone could correct me here.
Please hit Thanks if I helped
techpick said:
There are a few websites that allows you to download apps in its apk format. You can install that way. But I'm not sure if its legal. Someone could correct me here.
Please hit Thanks if I helped
Click to expand...
Click to collapse
The OP stated that this method does not work in this situation.
NB. - It is legal unless the app is warez.
Sent from my Nexus 4
I have used easy installer to install .apks.
Sent from my MB860 using xda app
inroot1898 said:
I have used easy installer to install .apks.
Sent from my MB860 using xda app
Click to expand...
Click to collapse
That uses the same method as manually installing the apk from a file manager.
Sent from my Nexus 4
The app isn't warez but it is one of the unapproved apps by google now, I mainly just wanted to look for an alternate method of installing apps in case this kind of app blocking became more prevalent. You have to admit, Google did a real number on blocking this app. Thanks for the help anyway guys.
the command that worked for me was:
adb install app.apk
You can make a folder in /system/app with its name without space as folder name and copy the apk to that folder.
Apk name should be same as the folder name +.apk.
Then reboot your device.
After reboot the app will be definitely installed as a system app. But some apps might be stable but some not.

Categories

Resources