Everything appears to be set up correctly, but I'm still seeing ads in apps. Is anyone else having this issue as well?
[Edit]
Nevermind, it just took more than one reboot to get it working. =)
AdFree FTW
I just keep a hosts file saved on my sd card, then after root, swap out the /system/etc/hosts
Don't forget to change the permissions to match the other files in /etc
Should be: 1st column-all 3 checked, 2nd column-top box checked, 3rd column-no boxes checked.
I've attached the file if anyone wants it. I couldnt attach it without a file extension, so after you put it on your phone it will be named "hosts.7z" , delete the ".7z" so it will just be "hosts"
It has worked on every phone i have had, the D1,D2,DX,Fascinate and of course the TB.
knatcal said:
I just keep a hosts file saved on my sd card, then after root, swap out the /system/etc/hosts
Don't forget to change the permissions to match the other files in /etc
Should be: 1st column-all 3 checked, 2nd column-top box checked, 3rd column-no boxes checked.
I've attached the file if anyone wants it. I couldnt attach it without a file extension, so after you put it on your phone it will be named "hosts.7z" , delete the ".7z" so it will just be "hosts"
It has worked on every phone i have had, the D1,D2,DX,Fascinate and of course the TB.
Click to expand...
Click to collapse
You've been using the SAME file for all those phones? Dont hosts files need updated to keep up with ad changes?
Issue closed.
Related
Hi all,
In my previous Sprint Mogul ROM, I can safely remove HTC_CM_Guardian.exe and sddaemon.exe by going to \Windows\Startup folder. This is per recommendation from this thread: http://forum.xda-developers.com/showthread.php?t=334536&highlight=htc_cm_guardian.exe
These 2 files created havoc in my previous ROM, including slow connection and short battery life.
However, with the new Official Sprint ROM (which enable GPS) function, I can NO longer remove it because:
1) It's no longer shown in \Windows\Startup folder
2) It's not shown anywhere in the Registry
3) Moving the file to a temp folder (Storage Card) somehow recreate the file.
Any suggestion?
What if when you moved the file to the temp folder, you created a folder or blank text file in the /Windows directory with the same name as the guardian.exe? that might prevent it from recreating itself and starting up.
Or try copying/pasting a blank text file of the same name into /Windows and overwrite the exe
ooshnoo said:
What if when you moved the file to the temp folder, you created a folder or blank text file in the /Windows directory with the same name as the guardian.exe? that might prevent it from recreating itself and starting up.
Or try copying/pasting a blank text file of the same name into /Windows and overwrite the exe
Click to expand...
Click to collapse
I did, but I found out the file is a ROM file, so it's protected. I can copy to a Storage Card, but deleting or replacing it with a bogus file (I created a text file with the same .exe name) will give error that the file is protected.
In the past, I leave the actual .exe alone but just removed the startup shortcut in \Windows\startup. But I could not find any references in the Startup folder or Registry on how the file is started.
lanwarrior said:
I did, but I found out the file is a ROM file, so it's protected. I can copy to a Storage Card, but deleting or replacing it with a bogus file (I created a text file with the same .exe name) will give error that the file is protected.
In the past, I leave the actual .exe alone but just removed the startup shortcut in \Windows\startup. But I could not find any references in the Startup folder or Registry on how the file is started.
Click to expand...
Click to collapse
use total commander or something else other than file explorer.
no2chem said:
use total commander or something else other than file explorer.
Click to expand...
Click to collapse
I've tried Resco Explorer and it won't allow for a deletion of the .exe either.
So the file cannot be deleted. Anyone know how the file is loaded everytime the device reboot? note that it's NOT loaded from \Windows\Startup nor registry.
I was wondering the same thing. It doesn't even show up as a running task or service...
I just made a new connection and set that as my new default one as I was tired of it removing my DNS entries.
are u sure it boots up or the could have renamed it
Yes, it started by itself. I reset my device and using Memaid and SKTool I can see it starting again.
ooshnoo said:
What if when you moved the file to the temp folder, you created a folder or blank text file in the /Windows directory with the same name as the guardian.exe? that might prevent it from recreating itself and starting up.
Or try copying/pasting a blank text file of the same name into /Windows and overwrite the exe
Click to expand...
Click to collapse
I can confirm that this works. Using resco explorer I changed the attributes from a read only file and then copied a text file overtop.
Keystone said:
I can confirm that this works. Using resco explorer I changed the attributes from a read only file and then copied a text file overtop.
Click to expand...
Click to collapse
i tried to change the attributes using total commander and it just resets the settings right back after saving. still stuck...
ok i even tried using resco explorer. it says that its a file in the rom and it cant be deleted. and that was after changing the attributes as well. both times i also killed the running process. are you using the new rom?
Keystone said:
I can confirm that this works. Using resco explorer I changed the attributes from a read only file and then copied a text file overtop.
Click to expand...
Click to collapse
I believe the key here is that he 'copied a text file overtop'.
I don't think you can change attributes or delete a rom file, just copy over it.
worwig said:
I believe the key here is that he 'copied a text file overtop'.
I don't think you can change attributes or delete a rom file, just copy over it.
Click to expand...
Click to collapse
Perfect! this worked.
worwig said:
I believe the key here is that he 'copied a text file overtop'.
Click to expand...
Click to collapse
OK, I didn't bother checking the attributes after the change... Was up past 4 and was trying to remove both the Guardian and ssdaemon. After a success with copy over one I decided to rush and just repeat exactly what I did to the other.
I am using a1jatt's ROM -- a cleaned (not quite enough.. ) ROM of the Sprint release with Telus settings.
i have this rom and ive tried everything that everyone said to work and NOTHING is working. i need help. i dont put another rom on here. i just want the internet and mms working. im using metro pcs on a htc touch pro.
stupidho said:
i have this rom and ive tried everything that everyone said to work and NOTHING is working. i need help. i dont put another rom on here. i just want the internet and mms working. im using metro pcs on a htc touch pro.
Click to expand...
Click to collapse
this sucs
i want R4Reloaded rom I just flashed a Titan on metroPCS
how do I get the settings to stay?
hard reset (so you'll lose everything) then DO NOT let customizations run!!!!
it won't be installed. if you need something else from the extROm you can enable it and selectively install cabs.
hard reset (so you'll lose everything) then DO NOT let customizations run!!!!
it won't be installed. if you need something else from the extROm you can enable it and selectively install cabs.
Cycomachead said:
hard reset (so you'll lose everything) then DO NOT let customizations run!!!!
it won't be installed. if you need something else from the extROm you can enable it and selectively install cabs.
Click to expand...
Click to collapse
and this will allow me access the EPST and ##DIAG# options
Hello all,
I have written a script to push as file to my TB and it works kind of...I just want to know why it is not functioning as it should.
Here is what I am attempting to do.
Since my HTC weather does not have my city listed and my weather is always way off, I hacked the HTC weather database to add my city. And it works great.
So I wanted to create a weather_update.zip to install using CWM to do all of this for me if I changed roms and to allow others to use it as well.
the file goes into the /data/data/com.htc.provider.weather/files directory.
My script mounts data, pushes the file, changes the appropriate permissions, then unmounts.
It works as intended because I can see the file using adb prior to reboot.
However, after a reboot, the file is overwritten by the original. I can even delete the file completely, reboot and it is rebuilt. So my modified file does not stick.
BUT, if I use root explorer and copy the file to the correct directory and change permissions, my modified file works even after a reboot.
I don't understand why it works one way but not another.
Is there a step I am missing in the updater-script?
Any help would be appreciated....
Thanks,
Scott
UPEngineer said:
Hello all,
I have written a script to push as file to my TB and it works kind of...I just want to know why it is not functioning as it should.
Here is what I am attempting to do.
Since my HTC weather does not have my city listed and my weather is always way off, I hacked the HTC weather database to add my city. And it works great.
So I wanted to create a weather_update.zip to install using CWM to do all of this for me if I changed roms and to allow others to use it as well.
the file goes into the /data/data/com.htc.provider.weather/files directory.
My script mounts data, pushes the file, changes the appropriate permissions, then unmounts.
It works as intended because I can see the file using adb prior to reboot.
However, after a reboot, the file is overwritten by the original. I can even delete the file completely, reboot and it is rebuilt. So my modified file does not stick.
BUT, if I use root explorer and copy the file to the correct directory and change permissions, my modified file works even after a reboot.
I don't understand why it works one way but not another.
Is there a step I am missing in the updater-script?
Any help would be appreciated....
Thanks,
Scott
Click to expand...
Click to collapse
I could be way off base here but wouldn't you have to recursively delete the original to keep it from rebuilding?
dbu said:
I could be way off base here but wouldn't you have to recursively delete the original to keep it from rebuilding?
Click to expand...
Click to collapse
LOL, what I was thinking too, but it doesn't seem to work, unless I am doing it wrong.
If I replace the file and reboot, the original rebuilds.
If I delete the file completely and reboot, the original rebuilds.
If I replace the file using root explorer after phone has booted and then reboot, my modified file sticks.
That is what I can't figure out. Why it sticks after OS has loaded but rebuilds if the same file is placed before reboot.
And I can't figure out where the file is being rebuilt from.
Uggggg.
ok.... I have Samsung Fascinate.
PWGB2.0 beta3 ROM
I found the zip containing on here(XDA) somewhere containing the BuddiesNow app for my phone and installed it. I then found the BuddiesNow for Vibrant tweaked for the Fascinate. I went to /system/app and located my BuddiesNow I had placed in there 1st and renamed it .bak
I then placed the Vibrant BuddiesNow app in the /system/app folder.
It worked great. I discovered I liked the Vibrant BuddiesNow app much better.
*************
ok... now my issue. I picked my phone up ealier this week and went to use my Vibrant BuddiesNow app and it was gone. I then long pressed the blank screen and pressed Widgets from the list that popped up. I scroll thru the list and BuddiesNow does not show up in the list.
I then open my file manager and navigate to /system/app folder and BuddiesNow is not in there. Not even the .bak file version.
I then go to my SDcard and find the copy of the Vibrant BuddiesNow app I had originally stored in a folder there and tried to copy it to the /system/app folder. The error message pops up saying that the file already exist and cant paste the file here.
I then booted into recovery, tried wiping partition cache and dalvik cache.
That did not help any. Got same result when I tried to move the file to /system/app folder again.
I then thought I would be cleaver and rename the Vibrant BuddiesNow in my SDcard folder to [BuddiesNow.apk.grid] and then move it to the /system/app folder. AND THEN AFTER PLACING IN THE /system/app FOLDER, RENAME IT TO .APK
That did not work either! It also diappeared.... now I have BuddiesNow.apk,
BuddiesNow.apk.bak, BuddiesNow.apk.grid, all in the /system/app folder and all invisible.
I had the file manager settings to SHOW HIDDEN FILES from the beginning.
I also have tried the SEARCH function in the file manager but it shows no results. I have tried installing many file manager apps and attempting to see if a different file manager would show the files but none did.....
I tried to write this episode as short as possible.. this is the best I could do to cover al the bases...
what could be a fix????????? PLEASE ADVISE! I LOVE MY BUDDIESNOW!
Come one...anyone? I love my buddiesnow app. Please help me out here
hard to belive
hard to believe someone has not seen this before and has an idea how to fix it...
I love this forum anyways
File exists, How about overwrite the file?
Accidentally sent from my Google Nexus S using XDA Premium
melvinchng said:
File exists, How about overwrite the file?
Accidentally sent from my Google Nexus S using XDA Premium
Click to expand...
Click to collapse
OVERWRITE FILE is not an option to choose... in this particular problem with this
particular apk disappearance, the option to overwrite is not there.
I have had the overwrite option at other times but not now with this issue fo who know what reason.
I am going to factory reset I guess and start over.
hasn't anyone else had the same issue?
Not sure if this would be helpful but when I had a similar issue I just used titanium backup and found the file that "already existed" and removed it. Also, you can use any file manager that allows you to sort by date modified and look for any buddynow files that may be in a folder that you didn't think about looking in
did you maybe moved the app to your sdcard ? sometimes app's widgets wont show if you move them to sdcard.If you did so move it back to the phone's memory
YoungSinema said:
Not sure if this would be helpful but when I had a similar issue I just used titanium backup and found the file that "already existed" and removed it. Also, you can use any file manager that allows you to sort by date modified and look for any buddynow files that may be in a folder that you didn't think about looking in
Click to expand...
Click to collapse
I used the search function in the various file managers I have tried & even searched the entire phone (and also the /system/app )for he disappeared files and got no results...when I get some time next week I am going to sit down and factory reset my phone and start all over.
if it works I will not try the vibrant version of buddiesnow on my phone again,
I will just use the fascinate version of buddiesnow. (the vibrant version sure was nicer tho)....
I installed Easy Unrar, Unzip & Zip from Goolge play to unzip a zip folder on my phone. It didn't work at all, besides, it created a folder (with strange character name) which can not be deleted. It's 0 byte, can be opened but is empty. Can not create anything inside. I tried deleting with Astro file manager, nothing happened, the folder still there. I tried deleting from my PC, it said the 'Cannot delete the folder. Storage is protected. Remove the write-protection and try again'. The strange folder is on my internal memory. I don't have a memory card installed. Please help.
I can delete any other things on my phone. The file name of the zip I tried to unzip is not English, which I suspect might be the problem?
Ian
help
ive encountered this too. can someone help us or did you already fix this? I think it has a chinese character like.apk but when you open. it opens as if it was a folder. but you cannot delete, rename, move or copy. even through desktop operations failed. and also its shows the date accessed in a year 1970. i tried to edit my date settings hoping that I might delete it but this note 2 has a minimum of year 2000. help thanks
Try to install clean master and open it. Press junk file and standard. Allow it to scan. It shld have a residual folders place. Just scan it with standard and advanced. See if it is still thr. Btw. U can unzip zip files with File Expert.
Sent from my GT-I9300
I have two separate issues which I believe are caused by the same thing.
1. When I try to alter platform.xml in the /system/etc/permissions folder via ES File Explorer to enable 3rd party apps to have write capability to the SD card, the edit is unsuccessful and my phone reboots. When I pull a copy of the file to my PC, alter it, and then try to push it via ADB, the same thing happens. I previously used the ADB pull/push method to edit my hosts file and had success with that after doing it while in Recovery, but this time around both ways (in recovery and with the device booted up) result in my device rebooting. For the SD card fix, I've also tried the app that does it for you and encounter the same issue.
2. When attempting to update the SuperSU binary, the update fails my device reboots. This happens with either update method - normal and recovery.
So both issues seem to have the same root cause... my phone will not allow any editing of system files. Anyone have any suggestions?
For reference I'm on a Galaxy Note 4 (model SM-N910T) on T-Mobile.
Baseband version N910TUVU1ANJ7
Android version 4.4.4 (stock ROM)
Kernel version 3.10.0-2796035
Build number KTU84P.N910TUVU1ANJ7
I'm also running Wanam Xposed - not sure if that has anything to do with anything but just fyi.
Thanks
bump... anyone have any ideas?
replace the altered xml with a original/stock one..
If u have a backup
abhinavp649 said:
replace the altered xml with a original/stock one..
If u have a backup
Click to expand...
Click to collapse
I have the stock .xml in there right now... my problem is that I want to replace it, but I can't because my phone reboots every time I try.
Gakuseinozen said:
I have the stock .xml in there right now... my problem is that I want to replace it, but I can't because my phone reboots every time I try.
Click to expand...
Click to collapse
Is your Phone is rooted? If yes:
place the altered .xml somewhere in your sd card.
1. Install an app called Total Commander.
2. Navigate to the location where your stock file is located.(delete it)
3. Now goto sd card where you placed your altered file.
4. Tap on Icon of the .xml file, You will see a green tick mark on it.
5. When your file is selected. Tap on Copy/Move to Icon.( u will see two files one on one with a blue arrow)
6. Now Click on '>>' button to browse the location where you have to Copy/Move the File.
7. Now Tap Copy if You want a backup placed in sd card of the file or move if you just want one file to be there.
(Through all the Process I am assuming that your phone is rooted and you Have Granted SuperUser permissions to Total Commander)
abhinavp649 said:
Is your Phone is rooted? If yes:
place the altered .xml somewhere in your sd card.
1. Install an app called Total Commander.
2. Navigate to the location where your stock file is located.(delete it)
3. Now goto sd card where you placed your altered file.
4. Tap on Icon of the .xml file, You will see a green tick mark on it.
5. When your file is selected. Tap on Copy/Move to Icon.( u will see two files one on one with a blue arrow)
6. Now Click on '>>' button to browse the location where you have to Copy/Move the File.
7. Now Tap Copy if You want a backup placed in sd card of the file or move if you just want one file to be there.
(Through all the Process I am assuming that your phone is rooted and you Have Granted SuperUser permissions to Total Commander)
Click to expand...
Click to collapse
I'm assuming this will end with the same result as when I try it through ES File Explorer. ES has the same capability and I have given it root access already. Something is causing all attempts to alter system files to fail, regardless of root access.
Gakuseinozen said:
I'm assuming this will end with the same result as when I try it through ES File Explorer. ES has the same capability and I have given it root access already. Something is causing all attempts to alter system files to fail, regardless of root access.
Click to expand...
Click to collapse
This was not successful. Anyone else have any ideas? I tried posting logs in the SuperSU update failure thread, with the logic that if I get that issue fixed my other issue will be resolved also, but Chainfire hasn't responded to any of the requests in a while.