So I need to edit my "hosts" file because it's blocking audiogalaxy. (a pretty cool music streaming app)
So far I have determined that the hosts file is just a text file. So I copied it and edited it with word.
My problem is I don't know how to replace the existing file because system/etc (the place where the hosts file is stored) is read only.
I think that I can flash this somehow, but, I don't know how to do this. Please help.
here ya go, i made you a hosts.zip. just open it up and put your hosts file into the system/etc/ directory, then sign and flash.
-BMFC
bmfc187 said:
here ya go, i made you a hosts.zip. just open it up and put your hosts file into the system/etc/ directory, then sign and flash.
-BMFC
Click to expand...
Click to collapse
+1 For that!
man that was super easy.
The only reason it took me so long to replay was because I was learning to learning how to sign an app.
hey, its all good. glad i could help. you prolly already figured this out, but keep the update then anytime you need to update your hosts just replace it and resign and flash again.
if you try to use adfree to update your hosts file, it wont work on slide*....but what it WILL do is save the hosts file to your sdcard, where you can transfer it to your pc, (optionally) edit it to your liking, then replace it in the update, resign and reflash.
*Adfree has an option now to symlink the hosts file to /data so that the app will work with a locked bootloader, but i couldnt get it to work. but i didnt really try very hard, either.
EDIT: where is your sig quote from?
-BMFC
bmfc187 said:
hey, its all good. glad i could help. you prolly already figured this out, but keep the update then anytime you need to update your hosts just replace it and resign and flash again.
if you try to use adfree to update your hosts file, it wont work on slide*....but what it WILL do is save the hosts file to your sdcard, where you can transfer it to your pc, (optionally) edit it to your liking, then replace it in the update, resign and reflash.
*Adfree has an option now to symlink the hosts file to /data so that the app will work with a locked bootloader, but i couldnt get it to work. but i didnt really try very hard, either.
EDIT: where is your sig quote from?
-BMFC
Click to expand...
Click to collapse
I think the quote in his sig is from the Borg
ratchetrizzo said:
I think the quote in his sig is from the Borg
Click to expand...
Click to collapse
I know this may sound crazy, but i dont watch TV. i assume that its a TV show...at any rate i have no clue what the borg is...never heard of it..
-BMFC
The Borg come from the Star Trek series. They are a race of cyborgs who consume the technology of other species and add it to there own.
Basically they take all the best of what everyone else has made. Kind of like I do with my phone.
apollostees said:
The Borg come from the Star Trek series. They are a race of cyborgs who consume the technology of other species and add it to there own.
Basically they take all the best of what everyone else has made. Kind of like I do with my phone.
Click to expand...
Click to collapse
That explains it...call me sacriligious but I never liked star trek...
-BMFC
Sent from my T-Mobile myTouch 3G Slide using XDA App
Well, I deleted one app too many from my Defy. Titanium Backup is wonderful, but it backs up ONLY DATA for system apps, so I'm hosed UNLESS...
Could someone mail me the original Contacts app? It's data backup is named 'Contacts-2.1-update1' with the internal name 'com.motorola.blur.contacts'. I think that's all I'd need. There's also 'ContactsUnconnected-2.1-update1' and 'Work-Contacts-2.1-update1' so it wouldn't hurt to get them too.
BTW, the symptoms? When I try to dial by tapping on a contact name the call fails, a red stop sign flashes over the signal strength bars, and an alarm message is posted saying something to the effect that the network service is not available. To make a call I need to do a long press and choose Call from the menu. Ouch!
So, please, anyone who knows how to do it (I use Ghost Commander, a free app, which has a Send built in) send this app to 'Mars-On-Earth at dslextreme dot com'.
Thanks a bunch!
Sign up as a developer at Motorola, it's free. Then you can download "Motodev Studio" which among other things, will let you accesss /system/app
Otherwise, reflash the rom using RSD Lite, there's a guide for it here:
http://android.modaco.com/content/m...ering-bricked-firmware-on-your-motorola-defy/
Sorensiim said:
Sign up as a developer at Motorola, it's free. Then you can download "Motodev Studio" which among other things, will let you accesss /system/app
Click to expand...
Click to collapse
Are you saying the "Motodev Studio" includes the original app files?
MarSOnEarth said:
Are you saying the "Motodev Studio" includes the original app files?
Click to expand...
Click to collapse
MOTODEV Studio does not contain app files. It is Motorola's developer tools for Android phones. Sorensiim is referring to the DDMS perspective that ships with it. DDMS allows you to extract files off the phone and there is an Eclipse view in MOTODEV Studio.
If you already have the Android SDK installed, you can run the DDMS desktop application from sdk/tools (on windows, it's a .bat file).
Sorensiim said:
Sign up as a developer at Motorola, it's free. Then you can download "Motodev Studio" which among other things, will let you accesss /system/app
Click to expand...
Click to collapse
Do you even have to sign up for anything?
I haven't and yet I was able to find this download page by Googling 'MotoDev Studio'.
Anyway, I just wanted to double-check/see if I understood things correctly, does MotoDev Studio let you delete/uninstall apks from the handset?
Could it be used as a simpler method of doing this.
Motodev studio gives you a nice graphical interface to pushing and pulling files, for instance, one could push the contacts apk to the phone.
If you sign up, it will even download the latest Android SDK for you
@Sorensiim, @ericcl:
Thanks, but my problem is I deleted the app. Erased, puff, gone. I do have the tools to put it back, I don't have anything to put in there. And there is in /system/app and what is the native Contacts application binary. SO, would some kind soul grab the binary off of their healthy system and send it off to me. Please.
Get the apk from here lad
http://modmymobile.com/forums/639-m...motorola-defy-system-boot-recovery-dumps.html
Download the system.zip and extract the apk from there
Oh and a tip - dont delete apks rename them to say .bak especially if you are messing about trying to see whats safe to delete, that way you can just change the name back
Higgsy is saving the day! Yey!
Higgsy said:
Get the apk from here lad
http://modmymobile.com/forums/639-m...motorola-defy-system-boot-recovery-dumps.html
Download the system.zip and extract the apk from there
Click to expand...
Click to collapse
Thanks a bunch!
Higgsy said:
Oh and a tip - dont delete apks rename them to say .bak especially if you are messing about trying to see whats safe to delete, that way you can just change the name back
Click to expand...
Click to collapse
Good call! [ & embarrassed]
Rats! This is so close, maybe close enough, but the ROM dumps are for the UK model. The USA Defy has newer software (it appears. The US version is 2.1-update1) and the apps seem structured differently. In the USA ROM there is just one Contacts app, on the UK one it seems to be split in two, *Data and *Provider app. Hmm.
Hi, sorry for the language..
Id deleted some apps yesterday and i have no menu anymore... so i think i just failing during my choose. When i restart the phone i only can have access to my account on motoblur... and it doesn't work as well cause he cannot connect or something more, i don't know what happened.
I'm so disappointed. Must I install system.zip by the pc ? I'll try that when it finishs to dl but...
EDIT : Flashing the rom, i success... omg so much fear thank you for your guide
MarSOnEarth said:
Rats! This is so close, maybe close enough, but the ROM dumps are for the UK model. The USA Defy has newer software (it appears. The US version is 2.1-update1) and the apps seem structured differently. In the USA ROM there is just one Contacts app, on the UK one it seems to be split in two, *Data and *Provider app. Hmm.
Click to expand...
Click to collapse
the uk version is 2.1 update 1 too. The moto apps are the same as far as I know/have read? then again I have never seen the US system/app.
There are many Dev's who have reflashed the UK .sbf (because the us one is not available) - fixed the 3g and wifi calling and say its the same
in my dump I have
contactsdata.apk
contactsprovider2_0.apk
contactsunconnected.apk
Think we need another US user to check their system/app and let us know what they have.
Higgsy said:
the uk version is 2.1 update 1 too. The moto apps are the same as far as I know/have read? then again I have never seen the US system/app.
There are many Dev's who have reflashed the UK .sbf (because the us one is not available) - fixed the 3g and wifi calling and say its the same
in my dump I have
contactsdata.apk
contactsprovider2_0.apk
contactsunconnected.apk
Think we need another US user to check their system/app and let us know what they have.
Click to expand...
Click to collapse
Ok I just pulled back the system/app dump JBoogie3 posted from the Tmobile US rom from Here
It has exactly the same 3 contact apks as the uk rom. So not too sure where you are getting there was only 1 lol.
Higgsy, you just beat me to posting that link to the US ROM dump.
Now, the discrepancy in naming stems from how different utilities display the app names. In TitaniumBackup the file I junked is called 'Contacts-2.1-update1' with domain 'com.motorola.blur.contacts', and I'm still not quite sure what is its file system name. TitaniumBackup does not display it.
I ran a diff on the file list in JBoogie3's ROM dump and my Defy's file system (in the attachment) and the most likely match for the above file would seem to be the BlurContacts.*
Which begs the question, what file manager do you guys use? What for SMB access? FTP? Is it one and the same utility, or separate.
So far SwiFTP (a server on the phone) has been solid for me, and with WinSCP (on a PC) it's been a good combination at home. What's good/can be trusted on (standalone) Android?
root explorer (application) will let you show whats actually in system/app - titanuim aint gonna show you this. Titanium IMO is only good for backing up user apps
Also you can use motodev studio and browse system/app via that
Or good old adb
Theres probably a 101 other ways too - these are my suggestions.
EDIT: an FTP client is not the way forward for sure
oh and blurcontacts.apk also resides in both the UK and US system/app, so thas the one you've deleted and need to replace.
I would either install root explorer or motodev studio (easiest way for you) and check your system/app against the dump and replace any files as required
Higgsy said:
root explorer (application) will let you show whats actually in system/app - titanuim aint gonna show you this. Titanium IMO is only good for backing up user apps
Click to expand...
Click to collapse
As I found out the hard way. It only backs up data for the sys apps.
Higgsy said:
Also you can use motodev studio and browse system/app via that
Or good old adb
Click to expand...
Click to collapse
I've got both downloaded (but not yet installed).
Higgsy said:
Theres probably a 101 other ways too - these are my suggestions.
Click to expand...
Click to collapse
And I thank you for it.
Higgsy said:
EDIT: an FTP client is not the way forward for sure
Click to expand...
Click to collapse
Right, the file permissions, but a good FTP utility is always good for /sdcard and backups, right? ;-)
Higgsy said:
oh and blurcontacts.apk also resides in both the UK and US system/app, so thas the one you've deleted and need to replace.
I would either install root explorer or motodev studio (easiest way for you) and check your system/app against the dump and replace any files as required
Click to expand...
Click to collapse
Again, thanks for the suggestions. Slowly I'll settle in with my workflow.
MarSOnEarth said:
Right, the file permissions, but a good FTP utility is always good for /sdcard and backups, right? ;-)
Click to expand...
Click to collapse
yeah it fine for transferring between sdcard etc i have one set up myself - I use Andftp
Higgsy said:
Ok I just pulled back the system/app dump JBoogie3 posted from the Tmobile US rom from Here
It has exactly the same 3 contact apks as the uk rom. So not too sure where you are getting there was only 1 lol.
Click to expand...
Click to collapse
I'd like to thank Higgsy for much advise, and JBoogie3 for posting the US ROM dumps from which I got the needed apps. Through many twists and turns my goof up has been remedied. And I really mean twists and turns, the latest being that even after the deleted apps had been copied back to their place they were still not being recognized, until after I realized that all but the restored apps in /system/app were owned by 'root', while the restored apps were owned by 'sdcard_rw', or something similar. chmod and chown'ing finally got it all working.
Thanks again.
After reading a bunch of posts I recently discovered that I could open the zip files to a rom and get into the system/app folder and remove and replace the apps completely in this folder. So since I dont use twitter or facebook I removed them from this location and they vanished off my phone.
Are there any ramifications for messing around in here?
Can I preload apk's that I want into this folder before loading the Rom and have them installed upon boot up? Like putting the apk for Google Currents in there and when I load a new Rom Its there.
Thanks
Can anyone answer this question for me please?
joecr250r said:
After reading a bunch of posts I recently discovered that I could open the zip files to a rom and get into the system/app folder and remove and replace the apps completely in this folder. So since I dont use twitter or facebook I removed them from this location and they vanished off my phone.
Are there any ramifications for messing around in here?
Can I preload apk's that I want into this folder before loading the Rom and have them installed upon boot up? Like putting the apk for Google Currents in there and when I load a new Rom Its there.
Thanks
Click to expand...
Click to collapse
i really dont see why not, just know that those then become ''system'' files. may cause issues with updating. i have heard of people who use calks rom (which has go launcher moved to system/apps) have troubles updating go launcher from the market. obviously youd have to edit the system/app folder every time you flashed a rom, even updates, or else it wouldnt match up right. seems like a major PITA to me
yes it does. Thanks for the input!
Sent from my SPH-D710 using XDA App
I cant seem to locate the dump file created by better battery stats, i am able to access my Samsung galaxy nexus but i see no such file, can someone point me in the right direction.
Mine go to /sdcard. Can you use your file explorer on your phone & check there?
thanks
Vangelis13 said:
Mine go to /sdcard. Can you use your file explorer on your phone & check there?
Click to expand...
Click to collapse
i didn't know that i needed an app for viewing this types of files, i think it might of gotten deleted when i rooted my phone if i had one on my phone before. I downloaded one from the market, now i have like 20 file dumps i just thought i would be able to see it with my desktop.
thank you again.
eddy44 said:
i didn't know that i needed an app for viewing this types of files, i think it might of gotten deleted when i rooted my phone if i had one on my phone before. I downloaded one from the market, now i have like 20 file dumps i just thought i would be able to see it with my desktop.
thank you again.
Click to expand...
Click to collapse
Glad it was that simple to solve!
P.S. There you go, your first thanks!
Hi all,
Is there any way to remove some folders of the SDcard to not be searched by the photo album?
I have many gifs that i dont want to show in there.
I searched the manual of the phone but didnt find any way to do that.
AM
See HERE
XperienceD said:
See HERE
Click to expand...
Click to collapse
did that, add the file and restarted the phone but it didnt work, try with the app, same result
EDIT: Solved by clearing data/cache from album app.
I'm signing on late here, but the app File Copy will hide those kind of files if you don't want to delete them. (The name is deliberately misleading.) It's in the Play Store.
geckoFeet said:
I'm signing on late here, but the app File Copy will hide those kind of files if you don't want to delete them. (The name is deliberately misleading.) It's in the Play Store.
Click to expand...
Click to collapse
I just keep a .nomedia file handy somewhere where it is not in the way, and copypaste it when- and whereever necessary. No need for PC, no need for anything. Some file explorers also let you create files on the go.
But I would very much like to get rid of the flikr, play-memories and other integrated crap folders. any ideas?