[SOLVED] android cannot establish a reliable connection to the server - Android General

So you have a problem with your device,maybe you was install a custom rom or you have restored your stock ROM and you can't Connect to playstore,you can't SIGN IN google account
i got the solution
first at all,you should prepare this all
-Root Explorer
-Rooted Device
You can get root explorer on PlayStore
lets go to first step :
1. Open Root Explorer
2. Open system folder then go to etc folder
3. Find a file named "host"
4. Long press on "host" file and click open with,then click Text Editor
there will text file like down here
Code:
[COLOR="Red"]127.0.0.1 localhost
#127.189.7.142 android.clients.google.com
mtalk.google.com[/COLOR]
5.edit the text file,what you need to do it just add # on the port name,so edit it until like down here
Code:
[COLOR="red"]#127.0.0.1 localhost
#127.189.7.142 android.clients.google.com
mtalk.google.com[/COLOR]
diffrent port isn't the problem,don't copy my port,what you need to do its just add # on the both port number
If it helped you can click THANKS button on the left bottom, i really want to help you guys,HOPE IT HELPED ​

just delete the HOSTS file
or make sure
127.0.0.1(here its only 1 space)localhost

Related

[SOLVED] Change wifi MAC Address

I have succesfully changed wifi mac address of my optimus.
We have to just insert a line "macaddr=XX:XX:XX:XX:XX:XX" in the nvram.txt
Here is how I did it:
You require:
1.)Rooted phone.
2.)anroid sdk
1.)First pull the nvram.txt file from /etc/wl to sdcard:
in cmd(windows) goto android-sdk-windows\tools and type
adb shell
2.)Copy nvram.txt from /etc/wl to sdcard
cp /etc/wl/nvram.txt /sdcard/nvram.txt
3.) Using text editor in phone add following line at the end:
macaddr=XX:XX:XX:XX:XX:XX (replace XX:XX:.... with desired mac addr.)
4.)Save file and copy it to /etc/wl from adb shell
cp /sdcard/nvram.txt /etc/wl/nvram.txt
5.)Reboot and it is done.
To restore orignal mac address just delete the macaddr line.
Note:
1.) Tested only in stock LG rome with GNM OC kernel. In other roms or kernel the location of nvram.txt may differ according to the parameter using which driver module (wireless.ko or bcm4325.ko) just find that file and use the above process. It will work.
2.) The file cannot be edited in windows as windows has different new line character than linux. It has to be edited in some linux compactible file editor like Programmers Notepad.
y wud u wanna change ur mac?
B'Coz I can access free Internet by doing this.....
Nice one
And to change hostname? Any ideas?
I changed it, and in phone it appears to be changed. But my router doesn't say the same... Has original hostname...
Yup thats worked with me thanks for sharing
Sent from my LG-P500 using XDA App
Yea bcoz android does'nt use hostname to connect with router. I'm trying to figure out the configuration file for that.....
how to find mac address
how to find the mac address in lg optimus one???
Thats why my optimus one can not take the ip from some puplic networks??
make this thread sticky
not working on Acer Liquid E ! !!
how can I change my mac !!??!!
1st step i already duno how to do T_T
know the pull things from nvram.txt file from /etc/wl to sdcard which require me to root my phone 1st then only can pull out
but after that in cmd(windows) goto android-sdk-windows\tools and type
adb shell
my computer can't detect that was a file in computer,and what is the android-sdk ?
Screw android-sdk ..LOLz..Do this install root explorer on your phone ..navigate to that file on your phone using root explorer , click on mount r/w button ,then long press and select open in text editor, then go to the end of the file and add this
macaddr=xx:xx:xx:xx:xx:xx
replace xx with a combination of hex letter i.e. 1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
example DB:12:3F:4F:11:AA
Save and exit
Reboot
You are all done check phone status in settings
sarfaraz1989 said:
Screw android-sdk ..LOLz..Do this install root explorer on your phone ..navigate to that file on your phone using root explorer , click on mount r/w button ,then long press and select open in text editor, then go to the end of the file and add this
macaddr=xx:xx:xx:xx:xx:xx
replace xx with a combination of hex letter i.e. 1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
example DB:12:3F:4F:11:AA
Save and exit
Reboot
You are all done check phone status in settings
Click to expand...
Click to collapse
after root my phone using z4root/gingerbreak,then download the root explorer from here is it ??
https://market.android.com/details?id=com.speedsoftware.rootexplorer&feature=search_result
if correct navigate to which file ??
sry android newbie here T_T
How about IMEI in some other file.
Wohhh atom bomb.
Sent from my LG-P500 using XDA Premium App
arrgh need solve my wifi problem ASAP
already more than 2week can't connect wifi in my college wifi T_T
Awesome, I've been looking for this everywhere. I can verify this method also works on stock rooted LG Optimus V.
whant's next
i've been change macaddr 'but nothing happen .device not connet wifi.it sitll ask password
you said you can access free internet.
i was just curious that how?
i mean free internet from the service provider or from where???
i too want to use it.
does that mean that if there is any wifi network then i will be able to use it without any pass???
Its simple to change your wifi mac address xD
Root you phone
install busybox (market.android. com/details?id=stericson.busybox) remove the space in link
download Terminal Emulator (market.android. com/details?id=jackpal.androidterm)
in terminal emulator
type -
su
then
busybox ifconfig wlan0 down
busybox ifconfig wlan0 hw ether wlan0 xx:xx:xx:xx:xx:xx
busybox ifconfig wlan0 up
YOU'RE DONE
DONT FORGET THE THANKS BUTTON
vermilion871 said:
Root you phone
install busybox (market.android. com/details?id=stericson.busybox) remove the space in link
download Terminal Emulator (market.android. com/details?id=jackpal.androidterm)
in terminal emulator
type -
su
then
busybox ifconfig wlan0 down
busybox ifconfig wlan0 hw ether wlan0 xx:xx:xx:xx:xx:xx
busybox ifconfig wlan0 up
YOU'RE DONE
DONT FORGET THE THANKS BUTTON
Click to expand...
Click to collapse
is there a way to revert this?
I mean get back to the original hardware mac?

[GUIDE] Triumph - CM9 - CM7 - MIUI - EASY Carrier Name Change

Disclaimer: If your phone explodes, dies a miserable death, or any of a million things, don't come crying to me. Do this at your own risk!
Having said that... this is THE EASIEST way to change the Carrier Name in CM9, CM7, and MIUI on the Triumph.
This will NOT work on stock FROYO!
INSTRUCTIONS:
1. Download flashable Zip at end of post -- triumph_cm7_miui_carrier_name.zip
2. Open the Zip file and extract the eri.xml file in /data/ to your desktop using a zip utility such as WinZip, 7-zip, etc.
3. Open the eri.xml file in your favorite text editor such as notepad++.
4. In LINE 7, change Virgin Mobile in Eritext="Virgin Mobile" to whatever text you want, for example:
Code:
<EriInfo RoamingIndicator="1" IconIndex="1" IconMode="0" EriText="I am AWESOME" CallPromptId="0" AlertId="0" />
IF you want to use the following special characters in the text, you will need to use the escape characters instead (for example instead of & use & ):
Code:
Character Reference
& &
< <
> >
" "
' &apos;
5. Save the eri.xml file after making your changes.
The following are 3 methods of updating your phone. Use whichever method you are most comfortable with.
A. Using the flashable zip and flashing in CWM.
1. Add the updated eri.xml back into the /data folder in the triumph_cm7_miui_carrier_name.zip -- make sure that you use "no compression" or "store" when adding it back.
2. Save the triumph_cm7_miui_carrier_name.zip on your sdcard.
3. Reboot into CWM and flash the zip file as usual.
B. Using ES File Explorer, Root Explorer, or another file explorer capable of root. (In the instructions below, I'll reference ES File Explorer since that is what I use but the instructions should be similar for any of the file explorers.)
1. Copy the updated eri.xml file onto your sd card.
2. On your phone, open up ES File Explorer.
Make sure that you have your settings set to mount the file system as writable:
2a. In ES File Explorer, hit menu --> Settings.
2b. Make sure there is a checkmark in the following checkboxes: "Root Explorer" and "Mount File System".
3. In ES File Explorer, browse to your sd card where you saved the eri.xml file.
4. Long press on eri.xml to bring up the popup menu.
5. Select Copy.
6. Next, browse to /data/. To do that, click the Favorites button on the toolbar and select the / from the Favorites popup window and then go into /data/.
7. Hit the Menu button on your phone and select Operations --> Paste.
8. You should now see the eri.xml file in your /data/ folder.
9. Close out of ES File Explorer.
10. Toggle Airplane Mode on and then off. When your service comes back, the carrier name should reflect your new Carrier name text. If not, reboot your phone.
C. Using ADB. The following instructions are for windows but you should be able to do the same in any other OS.
1. This assumes that the updated eri.xml file is on your desktop as I instructed above and you already have your phone connected to your computer. Open the command line in Windows.
2. type the following commands:
Code:
cd %userprofile%\desktop
adb push eri.xml /data/eri.xml
3. Toggle Airplane Mode on and then off. When your service comes back, the carrier name should reflect your new Carrier name text. If not, reboot your phone.
If you are uncomfortable using adb or don't have it installed or don't know what it is, then I'd recommend using method A or B.
To UNDO all changes:
This is SUPER EASY:
1. Using ES File Explorer, browse to /data/
2. Delete the eri.xml file.
3. Toggle Airplane Mode on and then off. When your service comes back, the carrier name should reflect your original Carrier name text. If not, reboot your phone.
Nevermind. I got it. Lol. very nice.
Sent from my Motorola Triumph using Tapatalk
woot.. been looking all over for a simple method to get my phone to stop saying sprint all the time...

(i9003)For bsnl/mtnl user having airplane bug (cm7)

for al of you stuck on airplane mode while using bsnl/mtnl sim here is the solution:
(1st method )-
first download teminal from android market
than open terminal and type :
su
su
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
delete from system where name = 'airplane_mode_on';
.exit
exit
reboot
(2 method) -
download sqlite manager , root explorer
using root explorer goto /data/data/com.android.providers.settings/databases and copy settings.db , paste in sdcard root.
now open this settings.db file in sqlite editor and delete this row :- 'airplane_mode_on'
now copy this file from sdcard root and paste it in
/data/data/com.android.providers.settings/databases
now set appropriate permissions on the file file settings.db otherwise you will be boot loop struck
now reboot .....
(method 3)-
copy attached settings.db file below to goto /data/data/com.android.providers.settings/databases
set appropriate permisions
& reboot
well u r done
hope this fixes ur problem.......
required files are attached below......
to set permisions long press the file for options click on permission n set appropriate permissions
thats good buddy.
This sounds similar to http://forum.xda-developers.com/showthread.php?t=1408472#post20910541
sorry bro i din saw it!!!!!
vishal24387 said:
thats good buddy.
Click to expand...
Click to collapse
thanks dude....
Awesome Thread !!!!!
Would this also work on ICS ROMs for I9000 ?
Been facing the same issue on every other custom ICS ROMs..
Would appreciate any help ......
Why dont you do a nandroid backup and give it a try?

Qmobile Noir A2 and A5 rooting method perfectly working

Step # 1: First Download this file
Step #2: Connect your mobile to PC and go to device manager and right click on your android composit adb and go to properties and then go to details you will see and id copy it to your notepad files id just like this VID_XXXX and PID_YYYY
Step # 3: Extract downloaded folder and open this file android_winusb.inf and search for USB/VID.
Step # 4: when your find it then replace VID values with your notepad copy VID values and replace PID values with your copy PID values.
After doing these all steps do this step.
Step # 5: In extracted folder find root.bat files and run that bat file do same want that cmd tell you dont press any extra key in between process.
Enjoy with rooting of your mobile
If your mobile is still don't have root access then see more rooting method on this website in details
thinkbeyondwindow dot com
Is this perfectly working?

Please help

Jokesy said:
Solution: there are two ways of solving it. Pick the one you find easier.
Root access needed
Option 1.
Download from Market "Terminal Emulator"
Open it and type this commands:
su
echo -n ON > /efs/imei/keystr
sync
reboot
Option 2.
You need a root capable explorer. I recommend Root explorer, solid explorer or Es file explorer.
- Using root explorer locate the /efs/imei/ folder.
In that folder there should be a file called "keystr", but will most likely be missing in your case
- using root explorer create a new file called "keystr"
- also in root explorer open the file keystr in text editor and type "ON"
- make sure you save the file.
-reboot.
Click to expand...
Click to collapse
I tried both methods but still that nagging screen comes. What I am missing, please advice. With second method I couldn't edit file so I set permission as 7777 to open and write Capital ON.
Please help if possible. I got P5110 (Tab 2)

Categories

Resources