General :: How To Edit Host File
May 19, 2012How can you edit your host file?
PC36100
How can you edit your host file?
PC36100
I have an apk that I'd like to edit, just some simple icon and xml changes. I have decompiled, edited and signed with apktool so I'm confident everything there is ok. Only problem is, it won't install.
The apk does have a odex file with it. Is it possible to edit this apk or am I wasting my time?
Is there a way to edit the obb file or the old zip trick is enought for that?
View 7 Replies View RelatedI don't really know where to put this topic but anyways my problem is that i need to edit a line in a file.
So i think of something like this
su
Cd /data/data/foldernameofapp/
Edit "file.dat"
Edit line 4 "text here 2"
i want it to edit like this "text here 3"
Change only the number. or replace the hole line with a new line where i only changed the number. btw the best is if the script can change a line and not find text and change. Because the number in the text i want to change can vary from different numbers.
P.S i can use root explorer and open the file with a text editor and change it, this works but takes forever P.S.S i got root
I am running some more tests and decided to take a different path for dual boot (for testing anyway, still gonna give it a go with bmp)... so to make a long story short, how do I edit the .bct file that comes with the nvflash zip??? I can edit the .cfg just fine but when I add my secondary partitions at the end of the line up and before UDB, the g2x doesnt seem to boot, like it just stays at the first lg logo and goes no further. I need access to the file to make it kick over. I think. Ive not been able to find out how to edit the file.. although I've not looked 110% as I usually do..
I am not even sure if I've named them right.. but hte way I see it they are all 3 characters in length.. so ive made the secondaries called APS, CAS, & UDS.. that also maybe my issue. but none the less ive attached a screen cap to show they were made and where they fall in the lineup.
im trying to edit one file with extension .info since i cant find any program that i can did that on mac,so is there any program who can open that file and edit in the phone instead using a pc?
View 2 Replies View RelatedThe goal is to be able to change small things in some apps.For example, there is an app called SnapChat which allows you to send a picture for 3 seconds and then closes the picture. In this scenario, I would like to be able to edit the .apk file to allow to stay for 4 seconds.
View 1 Replies View RelatedI want to edit an ext4 file with Windows XP and and I haven't found a solution despite extensive research.
View 4 Replies View RelatedHow can I edit the icon file in miui v4? It's a separate file in /system/media/theme. With miui versions based on android 2.*.* it was possible to use winrar or 7zip but now I can open the file and extract but cannot replace files within the file. So what to do?
View 1 Replies View RelatedHere is some background about my app:
I am developing an Android app that will display a random quote or verse to the user. For this I am using an SQLite database. The size of the DB would be approximately 5K to 10K records, possibly increasing to upto 1M in later versions as new quotes and verses are added. Thus the user would need to update the DB as and when newer versions are of the app or DB are released.
After reading through some forums online, there seem to be two feasible ways I could provide the DB: 1. Bundle it along with the .APK file of the app, or 2. Upload it to my app's website from where users will have to download it
I want to know which method would be better (if there is yet another approach other than these, please do let me know).
After pondering this problem for some time, I have these thoughts regarding the above approaches:
Approach 1: Users will obtain the DB along with the app, and won't have to download it separately. Installation would thereby be easier. But, users will have to reinstall the app every time there is a new version of the DB. Also, if the DB is large, it will make the installable too cumbersome.
Approach 2: Users will have to download the full DB from the website (although I can provide a small, sample version of the DB via Approach 1). But, the installer will be simpler and smaller in size. Also, I would be able to provide future versions of the DB easily for those who might not want newer versions of the app.
I'm developing a mobile website and I want to see how it looks in Android Simulator.
I manage to edit my android's /etc/hosts file. Here's what I did:
1. Create an Android Virtual Device (AVD)
2. Open the AVD with this command
Code:
./emulator -avd android -partition-size 128
3. Execute the following commands
Code:
./adb remount
4. Get the android hosts file
Code:
./adb pull /etc/hosts
5. Add my mobile website into the android's hosts file. It looks like the following
Code:
127.0.0.1 localhost
172.19.14.46 m.myweb.localhost
6. Push the hosts file to the simulator
Code:
./adb push hosts /etc/hosts
7. Open the web mobile in the simulator and Host do not found. The web mobile should appear.
Btw I use Ubuntu 10.10 and android-sdk_r08-linux_86 API 7 (Android SDK 2.1)
Which tool can be used to edit the CLF file for sourceInsight?
View 2 Replies View RelatedIs there any program that can edit a sound file to make it louder when used on the g1?
View 1 Replies View RelatedWell I've already used the USB Host on my Tablets and phones for mouse, controllers, keyboards, Apparently we can also attach USB Hard Drives?
My question is can it also work for USB CD/DVD Drives? I don't have device right now setup with USB Host to try it out.
I`m searching for a useable solution to get usb host/otg on my Galaxy Ace. I want to use my phone to control my nikon-dslr. There are apps like dslrdashboard or bbqdslr on the market, but they need usb host.
Using Mardons CM10.1 ROM [URL] .... but it seems that the kernel doesn`t support usb host.
I didn't find a kernel with usb host.
It seems strange to me: ext2/3/4 is the native filesystem for the device - but with device as USB host I can't access. It seems only FAT and NTFS is available.
Is there any ways to make this possible?
Background: my Sat-Receiver records to an ext2/3 partition and I would like to transfer this smoothly to my nook.
Currently my solution is to use my laptop, there I need a ext2/3 driver and transfer via MPT. This is not very comfortable and slow.
I want to ask if is possible to buil an app that permit to connect my Android phone with the remote sim in onother phone not android. This app make possible receive and make calls and SMS. Is the same use of the hardware GMATE.
View 6 Replies View RelatedRight now, I'm using an HTC EVO 4G LTE, running ICS. Now the source code is out, however, no one has yet to add USB host capabilities to their kernel, so I figure I might as well do it myself. I read on kernel development, and I have a surface level understanding, but I'm just interested in adding the USB host capabilities.
View 2 Replies View Relatedhow the Nexus Tablet 7 charges? Not through the USB port, right?
I have a Transformer right now w/ the dock & 2 full sized usb ports on it. But I have been waiting for the Nexus Tab for months, because of the screen, processor, and price. however since it does not have a microSD, I would definitely need to be able to plug in my 500GB usb hdd into it. I would need a OTG cable, right? And it does not use the MicroUSB port to charge, right? Otherwise how could you use the usb and charge it at the same time?
I am a junior web developer and learning the world of CMS and would really like to run and test joomla, drupal and wordpress sites of my locahost setup. Is there anyway of installing a localhost on android. I would be extremely interested and i dont mind paying for someything that can do this on. Basically my tablet is lways with me and far more reliable than my windows 7 laptop and would like to do the majority of the work on that and only use windows for the full photoshop software.
View 1 Replies View RelatedI recently got a chinese tablet that runs a direct port of the original android version, which im almost certain dosent support USB Host, howeve the tablet has A USB host port. I am curious if theres an app out there that supports USB host for keyboards and/or Flash drives. I like the idea of just plugging in my flash drives and viewing/editing my files on the go when I dont have my computer with me.
View 9 Replies View RelatedI have chinese phablet mtk8389 hd89 dual sim, 1gb ram, gps,quadcore, wifi,bluetooth,and microusb port problem is that if i connect it to any otg or usb cable to connect with computer it dont show any response but just start charging then i find oht a solution that i need to fix a file insode android system/etc/permissions name of file android usb host .xml i go to file and add the file but actually file not get added even i cannot edit any system file because i dont have permission then i find out that for doing that i need to root the device but how stupid is that if i dont have usb host mode active how i can onnect my device with computer for root?
It does not connect even dont show in computer that some usb device ger connected its very complicated, how i can enable usb host mode with out root device and if i have to root the device how i can root with out usb mode not working because with out usb host me the device will not be connected . i think my device is not rooted but i have acces to android all system files but i am unable to edit any file like it have write protected .
Tablet says it needs OTP cable. I have one, and it works OK with Ainol tablet. But Lenovo S6000 only applies power to it, and then nothing else happens: it sees no flash stick. What can it be? And how to get it working?
View 3 Replies View RelatedWhat i want to do, is use either my tab 2 7.0 or my old htc hero as a router. I want to set up a homegroup from my server, but dont want to buy a router. My isea is to create a network and broadcast it from the wifi card in the ohone. This probably wont connect to the internet any time soon, but i feel that as long as i only need to access movies and stuff from my server the phone card's radiuswill suffuce.
View 1 Replies View RelatedI need the OTG/USB Host function on my Jiayu G3. Normally it doesn't support it..
So I did i lot of research and tests at "how i can enable it" and found some information:
1. some things point to it, like the libusbhost.so in /system/lib
2. all 5 pins of the usb slot are connected to a chip (this says nothing, i know)
3. i have found a pdf, which says that otg is possible on mt6575-77 (found on github)
So my question, how to get otg/usb host get enabled on Jiayu G3 oder m65xx phones?
If Acer Iconia A110 supports USB hosting/OTG?
I want to connect USB ethernet, essentially.
On a general note if it doesn't, can it be achieved via some app with/without root?
I'm trying to connect from a host (PC or other) to a mobile cellular Android device on the Verizon/AT&T cellular network. This device uses only the 3G network and has its Wi-Fi turned off. The Android device has a listening socket and I need the remote host to be the connection initiator. As far as I know, Verizon/AT&T uses NAT traversal for mobile phones and assigns local IP addresses to them on the cellular network. This prevents me from initiating a connection to the device from a remote host.
With the usage of IPv6 assignments there shouldn't be any practical limitation (virtually unlimited) to the number of "real" IPs that can be assigned.Therefore my questions are:
1. Does the Verizon/AT&T cellular network support IPv6 and assigns IPv6 addresses to capable Android devices?
2. Does Android 2.2+ have enough support for IPv6 to implement such solution?
I am aware of other methods that can be used, such as C2DM, but it has some drawbacks (such as unknown response time) that prevent me from using it.
I can't get to recovery at all when i enter it i cant see the recovery but when i touch the screen it viberates and i thing i am pressing on the recovery stuff plus i cant root at all the adb says : unkown host service
View 2 Replies View Related is there any way hosting a minecraft server from an android device?.
Found a video. http:[url]...
What is the best app that protect your android device (that have Usb host) from windows viruses & malware?
View 1 Replies View Related