adfree on my phone - Desire General

so i installed oxygen gingerbread so it means it doesnt have build in adfree
so i downloaded it manually and installed it
but its not working
i mean theres still ads on my apps and games
can somebody tell me how to get it work?

Install the host files and reboot. If you are still S-on make sure you system link.
Sent from my HTC Desire using XDA App

great thx
it works

Try to instal it via recovery (use flashable zip with host files), it worked for me.
Sent from my HTC Desire using XDA App

its not working again
the ads came back
can u give me a zip file like u used maybe it will work
btw i use the same rom as u do

plz can somebody help me?

It will only work if:
1. You're S-OFF, or;
2. The ROM you're using has a symlink from /system/etc/hosts to /data/data/hosts

Check this thread http://forum.xda-developers.com/showthread.php?t=741435

ok so can somebody tell me whats the upside and whats the downside of doing s-off??
cuz im not really familiar with that thing

When you s-off you don't have to reboot into recovery to change /system files. And that's all. Except posibility to repartition your phone's storage.

if i do s-off then i will have to do wipe to everything again like u do when u install new rom
btw installed the adfree enabler that u gave me from that link,now it just suppose to work???

You should wipe but then you can restore from nandroid backup.
If you s-off you can just put hosts file in /system/etc

but when i do wipe and then i will restore with the nandroid backup then.
does the nandroid backup backups the data of the games i have on my phone???

Nandroid backup backups everything!
It's complete backup of all your data on phone. You can backup, when install any other rom, play with it and finally restore previous state.
Do nandroid backup from recovery every time you flash somthing from recovery.

and where does it save the file after i do the nandroid backup??

If you have clockwork recovery it store backup on SD/clockworkmod/backup/

Since S-off raises way to much questions for you, first try this.
Download and install the host files again.
Then locate them with a file explorer, either in "/data/data/com.bigtincan.android.adfree" or "/mnt/sdcard/hosts"
Then open a terminal emulator or adb shell.
Type su (just to be sure)
Then "cat /data/data/com.bigtincan.android.adfree/hosts > /system/etc/hosts" or "cat /mnt/sdcard/hosts > /system/etc/hosts" depending on where the host file is.
Reboot.
This worked in the oxygen thread when adfree was messed up for some reason.

sorry for the ignorance but can u tell me how to open the terminal or that adb shell??????
and can someone give a tutorial on how to do s-off???

Download and install this.

from the recovery or normal??

Related

[Solved] Oxygen 2.0 - App+data restore fails

Since my post in the development thread has been kindly deleted after ****ing around the whole afternoon with ROM's and restoring, I'm going to post the question here.
Anyone else got the app+data restore working on Oxygen 2.0 final ?
I always wipe before flashing, I tried it with Titanium backup (2 versions) and Mybackup Pro. Backup & restore works fine on CM RC7, but when I try to restore on Oxygen, it's just missing data for some apps.
But some are successfully restored with data, that what's weird.
I first thought, it's an issue with a Dalvik2sd script, but then tried it in clean Oxygen 2.0 ROM. When i check /data/data with the Root explorer, I can see the app there, but it just isn't loaded properly (for instance Financisto, Runkeeper, AlarmClockPlus, Abduction).
So basically, what's different in new 2.3.3 OTA, or am I the only one with the issue ?
Haven't tried all my apps, but its worked fine for those which I have.
Thanks for the dalvik to SD zip btw
Sent from my HTC Desire using Tapatalk
Yeah np :]
Could you please check other apps if they're ok ? I got about 130 apps, so it's kinda annoying to don't get the data restored.
Having looked through the rest of my apps, there aren't any which had saved data. I can confirm data has been successfully restored for angry birds, flow, BBC news, your orange, tapatalk, bedside, crazy snowboard and im+
Sent from my HTC Desire using Tapatalk
I have been using the Oxygen 2.0 for a couple of hours now and I have to say it is nice, compact and fast.
However, I have noticed that "pm, am" indication are missing from the time notification bar. Also the "AUTOMATIC" on Date and Time settings are not getting any update from the network. Am I right? Or it is just me who has it?
Also tested a previous busybox version, still same issue. But backuping and restoring on Oxygen 2.0 works correctly. Also most apps have the data restored correctly only some have issues. Have no idea, I'll just have to live with some data missing then, the 2.0 ROM just rocks that much :]
I think the best way to reinstall all apps after flash is to let Google install them automatically through market.
i have upgraded my desire from DevNull yesterday after backing up all apps with data via Titanium backup and i didnt experienced any issues with any of my apps (around 80).
This supposed to be the fix, a sqlite lib -> http://forum.xda-developers.com/showpost.php?p=11729730&postcount=341
I think this is the solution to your problem :
http://forum.xda-developers.com/showpost.php?p=11729730&postcount=341
-orgler
Since "someone" deleted a correct fix from the Oxygen thread, I'm gonna repost the file here. Seriously uncool.
Replace the libsqlite.so in /system/lib. You're gonna need to be S-OFF or do it in recovery. Sqlite .db files for some apps that were missing data are readable after, so I can confirm it works.
I noticed the missing data problem almost immediately after installing the rom. Thanks for posting a fix. The "mood" in the new oxygen thread gets a bit tense compared to other desire threads.
If I remember ill hit the thanks button when I'm in on a PC.
sK
Sent from my HTC Desire using XDA Premium App
Np, please thank orgler, he found the fix and posted it. I just saved the answer and posted it here as a solution.
I saw your reply to me just after sending you a PM. Flashing the libsqlite.zip file on top of latest oxygen rom didn't work. No big deal as the app I really need data for backs up to sdcard. I'm sure this problem will get fixed soon enough.
sK
Sent from my HTC Desire using XDA Premium App
I just read your instructions again. I'm not s-off. Do you know how I can replace the lib with ADB?
sK
Sent from my HTC Desire using XDA Premium App
Em, its not a flashable .zip (I didn't state that, but sometimes it's good to open the .zip first )
Boot to recovery, mount the system partition, connect USB cable and go to adb shell (we're gonna backup the original lib first):
#cd system
#cd lib
#mv libsqlite.so libsqlite.so.orig
#exit
Make sure you're in the same directory as libsqlite.so, or copy the .so to the dir where adb is (if your var path isn't set). Then enter in command prompt:
adb push libsqlite.so /system/lib
adb shell
#cd system
#cd lib
#chmod libsqlite.so 640
Then reboot
thed0g said:
Since "someone" deleted a correct fix from the Oxygen thread, I'm gonna repost the file here. Seriously uncool.
Replace the libsqlite.so in /system/lib. You're gonna need to be S-OFF or do it in recovery. Sqlite .db files for some apps that were missing data are readable after, so I can confirm it works.
Click to expand...
Click to collapse
Thanks for your assistance with this it's appreciated. However, pushing it via adb didn't work for me either.
I have a full mybackup of data and .apk files. There is no error when I try to restore the missing applications, mybackup confirms it's been done and requests I reboot, but the application is never there.....
Any more ideas?
That seems to be unrelated, issue was only about data in the apps, app restore worked. I suggest trying to backup with Titanium backup and try to restore with it.
So: Im sure you kept the nandroid backup with all the apps and data. Restore it, pull free version of Titanium off the Market and backup some apps. Flash Oxygen (you can replace the .so file with opening oxygen.zip in Winrar and replacing it in /system/lib) then try restoring the apps. If it works, you'll know the issue is with MyBackupPro.
thed0g said:
That seems to be unrelated, issue was only about data in the apps, app restore worked. I suggest trying to backup with Titanium backup and try to restore with it.
So: Im sure you kept the nandroid backup with all the apps and data. Restore it, pull free version of Titanium off the Market and backup some apps. Flash Oxygen (you can replace the .so file with opening oxygen.zip in Winrar and replacing it in /system/lib) then try restoring the apps. If it works, you'll know the issue is with MyBackupPro.
Click to expand...
Click to collapse
I like your thinking... I did indeed keep the nandroid backup, so I'll give it a whirl.
Thank you.
Great. Solved the problems I had with Titanium.

[Q] How to recover with 4ext?!

Hello!
I S-OFFed my phone and then I rooted it in order to try an ICS ROM. Everything went smooth. I put 4ext and then made a backup. Then I put the ICS ROM and now I want to revert back to my backup.
Sadly, I can't. I don't know why. Can any1 help?! All off the backup-ed files are in the folder: 2012-09-30.21.57.56_GRI40. The folder contains the following files:
.android_secure.yaffs2.img
boot.img
cache.yaffs2.img
data.yaffs2.img
nandroid.md5
recovery.img
system.yaffs2.img
There is no zip file and I dont know how to restore? The Restore function doesn't work, install from sdcard either (it searches for zip). What to do? Please, I want my backed up files!
4ext is ver 1.0.0.5 RC3. I have done full wipe before ICS ROM and before I tried restoring. Please, help!
PS: Or atleast give me link to read how to do it myself, I can't seem to find what I am looking for :/ This backup is really important for me!
bgdaemon said:
Hello!
I S-OFFed my phone and then I rooted it in order to try an ICS ROM. Everything went smooth. I put 4ext and then made a backup. Then I put the ICS ROM and now I want to revert back to my backup.
Sadly, I can't. I don't know why. Can any1 help?! All off the backup-ed files are in the folder: 2012-09-30.21.57.56_GRI40. The folder contains the following files:
.android_secure.yaffs2.img
boot.img
cache.yaffs2.img
data.yaffs2.img
nandroid.md5
recovery.img
system.yaffs2.img
There is no zip file and I dont know how to restore? The Restore function doesn't work, install from sdcard either (it searches for zip). What to do? Please, I want my backed up files!
4ext is ver 1.0.0.5 RC3. I have done full wipe before ICS ROM and before I tried restoring. Please, help!
PS: Or atleast give me link to read how to do it myself, I can't seem to find what I am looking for :/ This backup is really important for me!
Click to expand...
Click to collapse
create a folder on ur sdcard named-
clockworkmod
and put ur
2012-09-30.21.57.56_GRI40
backup file in the clockworkmod folder and then try restore in recovery
Sent from my HTC Desire
Just tried it - not working Still can't find any backup. 2012-09-30.21.57.56_GRI40 is not a file but a folder with many files in it. It is not a zip. Could that be a problem?
PS: OK, solved it!
First, to say - the phone stopped booting into OS - it went straight to HBOOT when I press the power button. So I made a new backup. Then I copied my update files instead of the ones I created last. Then using advanced restore, I restored everything one by one (without cache).
It worked
Thanks for the advice, jmcclue, it helped a lot!
Thank's

Why cant i restore from backup in CWM ?

Ever since i installed Android 4.2, this whole emulated storage thing is a mess. I have some backups, and i am trying to restore from them in CWM touch. When i go to restore, it always says "cant open directory/cant find files" or something of the sort. I have verfieid that the files are in the 0 storage.
Its frustrating. Does anyone know of a way to restore from a cwm backup ? It would be much appreciated ! I have the latest CWM touch by the way.
Thanks !
Did you update your cwm recovery to one that supports the new 4.2 sdcard layout?
Sent from my Galaxy Nexus using Tapatalk 2
Search is your friend
saadkhan07 said:
Ever since i installed Android 4.2, this whole emulated storage thing is a mess. I have some backups, and i am trying to restore from them in CWM touch. When i go to restore, it always says "cant open directory/cant find files" or something of the sort. I have verfieid that the files are in the 0 storage.
Its frustrating. Does anyone know of a way to restore from a cwm backup ? It would be much appreciated ! I have the latest CWM touch by the way.
Thanks !
Click to expand...
Click to collapse
This is a problem with flashing 4.2. TWRP has a fix for the issue you are talking about, but right now the fix for you can be found in this post, or others like it. This is how I fixed my problem!
http://forum.xda-developers.com/showthread.php?t=1762846&page=256
ual4720 said:
I flashed this build and later tried to go back and do a restore on my CWM backup. When I attempted the restore it couldn't find any backups! I found the problem to be that it moves the sdcard contents to /data/media/0 then mounts /sdcard/ to /data/media/0. Clockwork mounts the folder /data/media and is searching for the backups in that directory. It fails to find it because it is not there. To fix this I made a backup of my sdcard by doing an adb pull then moved the clockwork folder in the /data/media/0 to /data/media/. so the commands that I executed are as follows:
adb shell <enter>
su <enter>
cp /data/media/0/clockworkmod /data/media/clockworkmod <enter> (you could also replace the cp command with mv. This will keep from creating a duplicate of your backups - suggested by tiny4579)
reboot recovery <enter>
go through the process of restoring a clockworkmod recovery and when it is finished reboot into your restored backup. If you explore the sdcard with root explorer or adb you will notice the 0 folder inside your sdcard.
I suggest you dont try this if you are unfamiliar with the command line. Has anyone else experienced this issue and have a better fix?
Click to expand...
Click to collapse
ual4720 said:
This is a problem with flashing 4.2. TWRP has a fix for the issue you are talking about, but right now the fix for you can be found in this post, or others like it. This is how I fixed my problem!
http://forum.xda-developers.com/showthread.php?t=1762846&page=256
Click to expand...
Click to collapse
BUT if TWRP is installed....can i restore from a CWM backup ???
saadkhan07 said:
BUT if TWRP is installed....can i restore from a CWM backup ???
Click to expand...
Click to collapse
No
Sent from my Galaxy Nexus using Tapatalk 2
If there is way to point CWM to the proper directory, is there a way ? Can i restore via ADB ?
I have all the CWM files to restore from, just cant due to the location of the files i guess. Does CWM default to the 0 ?
re
saadkhan07 said:
If there is way to point CWM to the proper directory, is there a way ? Can i restore via ADB ?
I have all the CWM files to restore from, just cant due to the location of the files i guess. Does CWM default to the 0 ?
Click to expand...
Click to collapse
I actually ended up resetting the whole device, and actually was able to restore by using the MD5 mismatch fix. I have reinstalled CWM and everything.
i am currently running cm10.0.0 and completely satisfied with it. just for curiosity reasons i would love to flash 4.2 to see how it feels. my problem now is, can i simply return to cm (4.1) by reflashing my cwm backup?
as with 4.2 the file-system was changed (sdcard0), is that pretty easy with cwm recovery, or do i have to invest an hour of work with adb pulls and pushes?
thanks for your experiences!
saadkhan07 said:
I actually ended up resetting the whole device, and actually was able to restore by using the MD5 mismatch fix. I have reinstalled CWM and everything.
Click to expand...
Click to collapse
Same with me... :/ it was annoying... Just because of that new sdcard layout on 4.2

ROM Manager (hidden) Backups

I installed ROM Manager Premium v5.5.1.5 and had it update CWM. Now when I do a backup, the backup is hidden, although ROM Manager can see it and I can download it to a .zip file using the browser. I know i should be able to pull the backup from my phone using ADB - only i don't know where the file(s) are located? Can anyone fill me in here? Thanks
dcipher said:
I installed ROM Manager Premium v5.5.1.5 and had it update CWM. Now when I do a backup, the backup is hidden, although ROM Manager can see it and I can download it to a .zip file using the browser. I know i should be able to pull the backup from my phone using ADB - only i don't know where the file(s) are located? Can anyone fill me in here? Thanks
Click to expand...
Click to collapse
Please don"t use rom manager, twrp is way better and when you do a backup backup to sd card just in case phone gets stuck in a bootloop and you have to erase data to get it to work. To get twrp download goo manager off google play, after you install it open it and select flash rom and it will ask you if you have a recovery or not select yes and proceed with the download.
I happen to like cwm.
Just wondering why ROM manager makes the backups hidden now and where they are? I am able to download via the built in server, but would be nice to know where they are.

[Q] How to restore backup nandroid upload as zip from Clockworkmod?

Hi,
Yesterday I made a new nandroid backup and uploaded it using clockworkmod, which created an zip file, my problem is, how upload it to android to restore again using clockworkmod?
Thanks in advanced
There should be an option to restore and let you choose the backup under "Backup and Restore" in recovery.
Sent from my Galaxy Nexus using Tapatalk
sklks said:
Hi,
Yesterday I made a new nandroid backup and uploaded it using clockworkmod, which created an zip file, my problem is, how upload it to android to restore again using clockworkmod?
Thanks in advanced
Click to expand...
Click to collapse
You made a nandroid while in custom recovery right ? The confusing part is you say then you uploaded it . If its on your phone then it should be in your clockworkmod backup directory .
SuperGoober said:
You made a nandroid while in custom recovery right ? The confusing part is you say then you uploaded it . If its on your phone then it should be in your clockworkmod backup directory .
Click to expand...
Click to collapse
The problem was, I made an nandroid backup and uploaded it to my computer, and to save space deleted from my GNex. I installed a new rom (4.4) and because I didn't like it wanted to return to my backup. I couldn't find a way to upload it to my GNex using Rom Manager/Clockworkmod Recovery, then I tried to copy to "sdcard" then to /mnt/shell/emulated/clockworkmod/backup, but using root explorer applications I couldn't, finally I used an terminal application to move/copy using comand lines as su/sudo (can't remember which), after this I finally restore the backup.
What's strange is, with Rom Manager I can upload the backup to my computer using http://192.168.43.1:4000, has an zip file, but to restore from my computer to GNex there isnt any option, either to extract the folder with date and time to the correct folder, in this case /mnt/shell/emulated/clockworkmod/backup.
that sound like u already wipe data partition.. just make any fake flash zip to mount up the partition.
then restore the recovery from your sd (if any)..
or can push that recovery data...
1. using correct path - /data/media/0/twrp/backup/folder_name.. or any ( can found this path in nandroid recovery log)
galaxy nexus i9250

Categories

Resources