enable AT&T Atrix2 hotspot - Motorola Atrix 2

1.)replace
/data/data/com.motorola.android.provider.settings/database/settings.db
by attached file
2.)reboot...

Related

Cruz Tablet Enabling Ad hoc Tethering

Hi,
I wanted to know if someone can let know if the Cruz tablet can access ad hoc networks ( i have made my iphone a hotspot) but my tablet cannot detect it.
Thanks
I don’t know your system but each android device has the same base software system.
Normally, android cannot recognize ad-hoc networks (because of the settings imposed by goo), but there are all the things necessary to do so.
In practice you have to edit one or two files (the file “wpa_supplicant.conf” is surely present, while the file "tiwlan.ini" is on your tablet if you have a wireless interface from Texas Instruments).
So, this is the manual mode, the only one that I know always works for my cheap tablet, but there are also softwares that can manage ad-hoc connection for other devices (modified network software designed for Galaxy Tab and other Samsung products, not working on my MilkWay tab).
1 Your tablet must be rooted.
2 shut down wifi in settings.
3 using RootEplorer, locate and make a copy of file "wpa_supplicant.conf" (generally is in “data/misc/wifi/” or in “etc/wifi/” folder) and remember the folder name.
4 locate and make a copy of file "tiwlan.ini" (This file could be not present, generally is in “system/etc/wifi folder”) and remember the folder name.
5 HAVE YOU MADE A COPY/BACKUP OF THESE 2 FILES AND PUTTED THEM IN A SAFE PLACE ?
6 Ok ok, now you have to edit them (the originals, not the copies). There are several modes to do it, for example you can put them on the sdcard and edit via notepad on win (do not use MS WORD for a configuration pure text file!) or you can edit them via RootExplorer directly, or you can use ADB interface to extract them to you pc and the edit, as you prefer.
7 edit tiwlan.ini file (if present):
locate and change line: WiFiAdhoc = 0 -> WiFiAdhoc = 1
add this line: dot11DesiredSSID = YourSSID #insert your SSID (the AP name) without commas!
add this line: dot11DesiredBSSType = 0
8 modify wpa_supplicant.conf like this:
ctrl_interface=...... (do not touch this line!)
update_config=1
ap_scan=2
network={
ssid="YourSSID" #insert your SSID (the AP name) now WITH commas!
scan_ssid=1
key_mgmt=NONE
mode=1
priority=1
}
9 If modified offline, put modified files in their original folder, overwriting old ones.
10 shut down tablet.
11 power on the wifi tether AP on phone.
12 power on the tablet.
13 enable wifi in settings.
14 in a few seconds, your tablet should connect to your phone AP and you can browse internet.
15 I hope that you have a flat subscription
Note:
1 sometimes it will take more time to connect; try to enable/disable wifi or reboot the tablet.
2 if you need to connect to normal AP (not ad-hoc) maybe you have to restore original files. Sometimes all works fine with mixed networks in wpa_sup… file, sometimes …. no.
3 if you add a network using settings, you have to edit again the wpa_sup… file, because the system deletes the line “ap_scan=2” and you have to re-add that line.
4 the most convenient is to create two wpa_sup… files (one for the adhoc mode and one for normal mode) and replace them when needed, maybe through a script.
5 the network configuration at #8 is without encription. If you want WEP shared encription just add a line, in the network definition of wpa_sup.. file, with the key, like this:
wep_key0="1234567890123" # ASCII keys are with commas
or
wep_key0=0102030405 # HEX keys are without commas
Hoping helpful, best Regards.
Hi,
thank you for taking the time and replying back.... I have the wpa_supplicant.conf file in /system/etc/wifi/ i couldnt find the other file u mentioned.
I am attaching the orignal wpa_supplicant.conf file please see if u can modify it
I tried to do it as u said and now wen i try to connect to internet it says WiFi unable to connect.
Thank You
viss2000 said:
Hi,
thank you for taking the time and replying back.... I have the wpa_supplicant.conf file in /system/etc/wifi/ i couldnt find the other file u mentioned.
I am attaching the orignal wpa_supplicant.conf file please see if u can modify it
I tried to do it as u said and now wen i try to connect to internet it says WiFi unable to connect.
Thank You
Click to expand...
Click to collapse
Hi,
your wpa_supplicant.conf file is the best full commented file that I never see. Reading the file you can find many explanations in the commented lines (#).
The initial assumption is that the device works as AP is a cell phone that only allows ad-hoc mode, as my Nokia 5800 with the program JoikuSpot. Some more lucky people have phones with hardware that can operate in infrastructure mode and do not need to do anything.
Other assumption is that you have wpa_supplicant.conf file in the /system/etc/wifi/ folder.
I have the wpa_supplicant.conf file in /system/etc/wifi/
Click to expand...
Click to collapse
Other assumption is that your tablet doesn't have a TexasInstrument wifi chip (not important)
I have the wpa.....ifi/, i couldnt find the other file u mentioned.
Click to expand...
Click to collapse
The simplest way is to create one personalized wpa...conf file needed only when You want have access to your ad-hoc phone wifi network.
So you will have 2 wpa...conf files: the first for normal networks and the secon only for your personalized ad-hoc network.
Remember that the file in use can be automatically modified by the Network configuration in settings. Do not use scan network in settings when there is in use the wpa..conf ad-hoc file, because the app will automatically modify it erasing the line ap_scan=2. When is in use the 'normal' file, you can do all you want.
I have modified the files as you need. YOU must edit 1 line in the adhoc file (use the internal editor of your pad or Wordpad in Win) and insert the correct SSID (the wifi network name).
I have also added the .normal file in the case you have problems with your 'normal' wifi network
I tried to do it as u said and now wen i try to connect to internet it says WiFi unable to connect.
Click to expand...
Click to collapse
Step1:
Edit "wpa_supplicant.conf.adhoc" attached file and insert the correct SSID.
Step2:
Copy "wpa_supplicant.conf.adhoc" file to the folder /system/etc/wifi/.
Step3:
Assuming that you already have at least one 'normal' wifi network running, using RootExplorer go to the folder /system/etc/wifi/ and make a copy of your file wpa...conf in use and rename the copy "wpa_supplicant.conf.normal" in the same folder. Why? Because this file contains your update normal wifi networks configuration and passwords.
So, what I have to do when I want swith from NORMAL to ADHOC network?
1 Disable the wifi network in settings.
2 With RootExplorer,
2.1 go to folder /system/etc/wifi/
2.2 long press on file wpa_supplicant.conf, when menu pop up, delete this file.
2.3 long press on file wpa_supplicant.conf.adhoc, when menu pop up, copy and paste.
2.4 long press on file "wpa_supplicant.conf.adhoc - Copy" and rename it to wpa_supplicant.conf
3 Enable the wifi network in settings.
4 After 2 seconds, your tablet should connect to the adhoc ap of your phone.
5 DO NOT use scan for netwoks in settings because it will auto modify your wpa..conf file.
What I have to do when I want change the network from ADHOC to NORMAL?
1 Disable the wifi network in settings
2 With RootExplorer,
2.1 go to folder /system/etc/wifi/
2.2 long press on file wpa_supplicant.conf, when menu pop up, delete this file.
2.3 long press on file wpa_supplicant.conf.normal, when menu pop up, copy and paste.
2.4 long press on file "wpa_supplicant.conf.normal - Copy" and rename it to wpa_supplicant.conf
3 Enable the wifi network in settings.
4 After 1/2 seconds, your tablet should connect to the ap of your wifi network..
5 You can use/modify/add netwoks in settings because it will correctly modify your wpa..conf 'normal' file. If you add/modify anything make a copy of your updated wpa..conf to "wpa_supplicant.conf.normal" erasing old one.
It would be more comfortable not having to use this procedure that may seem complicated, but in practice it is really easy. Four years have passed since the first request to allow the adhoc connection was requested to the developer of Android. Still no answer.
I've used this procedure with my old tablet A81E, with my Herotab C8 clone, and with a linux notebook.
To me it always works. If sometimes I have problems is because of the phone and its software.
Tell me if it works!
Thanks a ton ....worked like a GEM !!!.....
Really appreciate all the work !!
thanks !
Thank you so much for the information. I am trying to do this. I have two wpa_supplicant files. One is in etc/wifi and the other is in system/etc/wifi.
Do I need to alter both files or just one?
I have already copied and edited the file. I haven't replaced anything yet because I want to make sure I do it right.
Thank you again
Also on my tab (Herotab C8 aka Haipad M7 aka Apad M7009 aka Dropad A8) there are 2 wpa_supplicant.conf files, in same folders as yours, because the 2 folders are..... 1 folder mirrored on the fly.
You can modify wpa_supplicant.conf files in the folder that you prefer.
There are no risks, but in any case make a copy of the original file so you have it always available. You can always reload it by ADB or DroidCommander (nice utility).
In the original file, only the first line is customized with the directory of your tablet, the rest of the file can also be deleted because it is modified by the system when you use settings-wifi-...
Ciao!
Adhoc Network (Android Froyo 2.2.1)
Hi thanks for your valuable time.
I am using Samsung Galaxy POP (GT-S5570). OS-Android 2.2.1
It has only wpa_supplicant.conf file. (Well documented But no support for ad hoc network!!)
I have tried your above procedure multiple times but failed. When I on wifi from settings a message appeared "unable to scan for networks" and wifi turned off automatically.
I am trying to add ad hoc network. Its very urgent.
Please help.
Thanks in advance.
Osmani
Bangladesh
osmanii said:
Hi thanks for your valuable time.
I am using Samsung Galaxy POP (GT-S5570). OS-Android 2.2.1
It has only wpa_supplicant.conf file. (Well documented But no support for ad hoc network!!)
I have tried your above procedure multiple times but failed. When I on wifi from settings a message appeared "unable to scan for networks" and wifi turned off automatically.
I am trying to add ad hoc network. Its very urgent.
Please help.
Thanks in advance.
Osmani
Bangladesh
Click to expand...
Click to collapse
Change your default wpa_supplicant with my attached new wpa_supplicant
it's work in my S5570
Enable ad-hoc in Samsung Galaxy Ace S5830
hi
I have a Galaxy Ace (Froyo 2.2.1) one . im frustrated by finding a way to enable ah hoc in it . this solution seems neat and powerful . but HOW to apply this patch in phone ? (
my environment is :
I could NOT use Conectify or Virtual Router because they need Win 7 and i have XP .
Rom Manager is installed but ClockWorldMod Recovery could not be installed after that , because it seems does not support my phone (Galaxy Ace) .
I have eaten all of this thread to find the solution but plz help me how to apply that zip file .
thank in advance for your assistance .
mpathfinder said:
hi
I have a Galaxy Ace (Froyo 2.2.1) one . im frustrated by finding a way to enable ah hoc in it . this solution seems neat and powerful . but HOW to apply this patch in phone ? (
my environment is :
I could NOT use Conectify or Virtual Router because they need Win 7 and i have XP .
Rom Manager is installed but ClockWorldMod Recovery could not be installed after that , because it seems does not support my phone (Galaxy Ace) .
I have eaten all of this thread to find the solution but plz help me how to apply that zip file .
thank in advance for your assistance .
Click to expand...
Click to collapse
see my post before
you just change your default wpa_supplicant in /system/bin/
I really need your help
Thanks for your help on this thread fbelleri, i have tried what you said but i can't get my tablet work with my ad-hoc wifi. i have attached my wpa file and my apn name is JoikuSpot_0023B4D40234 . Please i would love if you edit the files for me so i can just download and copy to my tablet. Thank you very much for your reply.
derock533 said:
Thanks for your help on this thread fbelleri, i have tried what you said but i can't get my tablet work with my ad-hoc wifi. i have attached my wpa file and my apn name is JoikuSpot_0023B4D40234 . Please i would love if you edit the files for me so i can just download and copy to my tablet. Thank you very much for your reply.
Click to expand...
Click to collapse
Hi Derock533,
Here it is your file. It is really simple.
Generally works without problems, assuming you have rooted your tablet.
But start from the beginning.
When the system enables the wifi, it reads the network configuration specified in the file \system\etc\wifi\wpa_supplicant.conf.
This configuration file would provide the use of adhoc networks (derived from linux), but is not permitted by the policies of Android.
Enabling adhoc networks is obtained by adding the instruction "ap_scan = 2" (look for all types of access point) and the instruction "mode = 1" (which identifies adhoc networks).
To complicate things, they made ​​sure that if is done a manually scan, system will automatically delete the line "ap_scan = 2" from the file.
So for our convenience we will use two files, one for the networks 'normal' and one for the network 'adhoc'.
The attached file does not require a network password, then disable the password in the options Jouikuspot (Cripto = none). This configuration is useful for testing, then we will add support for WEP encryption.
From post#4 *-*-*-*
Step2:
Copy "wpa_supplicant.conf.adhoc" file to the folder /system/etc/wifi/.
Step3:
Assuming that you already have at least one 'normal' wifi network running, using RootExplorer go to the folder /system/etc/wifi/ and make a copy of your file wpa...conf in use and rename the copy "wpa_supplicant.conf.normal" in the same folder. Why? Because this file contains your update normal wifi networks configuration and passwords.
It is all.
So, what I have to do when I want switch from NORMAL to ADHOC network?
1 Disable the wifi network in settings.
2 With RootExplorer,
2.1 go to folder /system/etc/wifi/
2.2 long press on file wpa_supplicant.conf, when menu pop up, delete this file.
2.3 long press on file wpa_supplicant.conf.adhoc, when menu pop up, copy and paste.
2.4 long press on file "wpa_supplicant.conf.adhoc - Copy" and rename it to wpa_supplicant.conf
2.9 Start Joiku on your phone and wait 5 seconds
3 Enable the wifi network in settings.
4 After 2 seconds, your tablet should connect to the adhoc ap of your phone.
5 DO NOT use scan for netwoks in settings because it will auto modify your wpa..conf file.
What I have to do when I want change the network from ADHOC to NORMAL?
1 Disable the wifi network in settings
2 With RootExplorer,
2.1 go to folder /system/etc/wifi/
2.2 long press on file wpa_supplicant.conf, when menu pop up, delete this file.
2.3 long press on file wpa_supplicant.conf.normal, when menu pop up, copy and paste.
2.4 long press on file "wpa_supplicant.conf.normal - Copy" and rename it to wpa_supplicant.conf
3 Enable the wifi network in settings.
4 After 1/2 seconds, your tablet should connect to the ap of your wifi network..
5 You can use/modify/add netwoks in settings because it will correctly modify your wpa..conf 'normal' file. If you add/modify anything make a copy of your updated wpa..conf to "wpa_supplicant.conf.normal" erasing old one.
*-*-*-*
When in adhoc mode, if it does not work, try to change the channel on Jouikuspot. (disable wifi on tablet - disable joiku - modify joiku - enable joiku - enable wifi on tablet)
Best regards (and excuse me for my english). Ciao!
fbelleri Thanks for your help...
Thanks for your help fbelleri...i also had to copy the new file and edit wap supplicant.conf in data/misc/wifi. My adhoc network came up like magic.Thanks again
I have followed these directions and my Velocity Cruz Tablet (T104) will not connect to my Android tether (MB300 - Motorola Backflip).
I am running Cyanogen's 6.1 custom ROM (2.2.1 FRG83 Unofficial-CM-6.1.2-motus-beta2) on my Backflip if it matters. I can connect to my Backflip via my laptop w/o issue...
Any ideas?
fbelleri said:
I don’t know your system but each android device has the same base software system.
Normally, android cannot recognize ad-hoc networks (because of the settings imposed by goo), but there are all the things necessary to do so.
In practice you have to edit one or two files (the file “wpa_supplicant.conf” is surely present, while the file "tiwlan.ini" is on your tablet if you have a wireless interface from Texas Instruments).
So, this is the manual mode, the only one that I know always works for my cheap tablet, but there are also softwares that can manage ad-hoc connection for other devices (modified network software designed for Galaxy Tab and other Samsung products, not working on my MilkWay tab).
1 Your tablet must be rooted.
2 shut down wifi in settings.
3 using RootEplorer, locate and make a copy of file "wpa_supplicant.conf" (generally is in “data/misc/wifi/” or in “etc/wifi/” folder) and remember the folder name.
4 locate and make a copy of file "tiwlan.ini" (This file could be not present, generally is in “system/etc/wifi folder”) and remember the folder name.
5 HAVE YOU MADE A COPY/BACKUP OF THESE 2 FILES AND PUTTED THEM IN A SAFE PLACE ?
6 Ok ok, now you have to edit them (the originals, not the copies). There are several modes to do it, for example you can put them on the sdcard and edit via notepad on win (do not use MS WORD for a configuration pure text file!) or you can edit them via RootExplorer directly, or you can use ADB interface to extract them to you pc and the edit, as you prefer.
7 edit tiwlan.ini file (if present):
locate and change line: WiFiAdhoc = 0 -> WiFiAdhoc = 1
add this line: dot11DesiredSSID = YourSSID #insert your SSID (the AP name) without commas!
add this line: dot11DesiredBSSType = 0
8 modify wpa_supplicant.conf like this:
ctrl_interface=...... (do not touch this line!)
update_config=1
ap_scan=2
network={
ssid="YourSSID" #insert your SSID (the AP name) now WITH commas!
scan_ssid=1
key_mgmt=NONE
mode=1
priority=1
}
9 If modified offline, put modified files in their original folder, overwriting old ones.
10 shut down tablet.
11 power on the wifi tether AP on phone.
12 power on the tablet.
13 enable wifi in settings.
14 in a few seconds, your tablet should connect to your phone AP and you can browse internet.
15 I hope that you have a flat subscription
Note:
1 sometimes it will take more time to connect; try to enable/disable wifi or reboot the tablet.
2 if you need to connect to normal AP (not ad-hoc) maybe you have to restore original files. Sometimes all works fine with mixed networks in wpa_sup… file, sometimes …. no.
3 if you add a network using settings, you have to edit again the wpa_sup… file, because the system deletes the line “ap_scan=2” and you have to re-add that line.
4 the most convenient is to create two wpa_sup… files (one for the adhoc mode and one for normal mode) and replace them when needed, maybe through a script.
5 the network configuration at #8 is without encription. If you want WEP shared encription just add a line, in the network definition of wpa_sup.. file, with the key, like this:
wep_key0="1234567890123" # ASCII keys are with commas
or
wep_key0=0102030405 # HEX keys are without commas
Hoping helpful, best Regards.
Click to expand...
Click to collapse
OK, I just got this working on my Velocity Cruz tablet (T104). The T10x series should realistically be the same as well...
Creating 2 files, 1 file that has the adhoc and another for the original configuration might be helpful.
My adhoc version of the wpa_supplicant.conf file looks like the following:
Code:
ctrl_interface=DIR=/data/misc/wifi/wpa_supplicant GROUP=wifi # Make sure this matches your conf file!
update_config=1
ap_scan=2
network={
ssid="AndroidTether" #insert your SSID if it differs (the AP name)!
scan_ssid=1
key_mgmt=NONE #this mean that the network is without authentication or with WEP authentication
mode=1 #this means ad-hoc network
priority=1
# IF YOU WANT WEP AUTHENTICATION JUST ADD THE LINE wep_key0="....."
# wep_key0=1234567890 #insert here your correct HEX (length 10) key without quotes OR
# #wep_key0="1234567890123" #insert here your correct ASCII (length 14) key with quotes
}
Change/replace the wpa_supplicant.conf file (I created the file in notepad and pushed them to the tablet) to what is above in the following locations:
/system/etc/wifi
/data/misc/wifi
In order to get these files on the tablet, I ran the following commands in adb shell (they are readonly by default):
Code:
mount -o remount,rw /dev/block/mtdblock3 /system
mount -o remount,rw /dev/block/mtdblock3 /data
Then run these from DOS:
Code:
adb push wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf
adb push wpa_supplicant.conf /system/etc/wifi/wpa_supplicant.conf
I also did the chown command against both files as well (change directory to each file location in adb shell). It is shown below:
Code:
chown system.wifi wpa_supplicant.conf
After all that, do a reboot on the tablet and make sure your phone has tethering on. When the tablet comes back up, it should connect (make sure your wifi is on).
hesperides said:
Change your default wpa_supplicant with my attached new wpa_supplicant
it's work in my S5570
Click to expand...
Click to collapse
Sadly, It also fails like the other wpa_supplicant's i tried.
Wifi keeps crashing and restarting, logcat/DDMS say 'wpa_driver_priv_driver_cmd failed' several times and wpa_supplicant gets terminated by the wifi service.
I think our tablet uses the libertas driver which doesn't support some of these functions, From what i could google up.
fbelleri said:
Tell me if it works!
Click to expand...
Click to collapse
With the help of posts #14 and #16, I was finally able to get my Cruz T301 to work ad-hoc. Apparently, the only file location the device seems to be concerned about is the wpa-supplicant.conf file in /data/misc/wifi. I put a backup in /etc/wifi just in case, but it doesn't seem to affect anything.
To keep scans from wiping out the config settings, I might try to tweak it to make it call a read-only location that cannot be changed, or perhaps writing a startup script (or something) that would restore the file more easily if it's rewritten.
Thanks for the tip, derock533 & InterludeIT!
73 DE N4RPS
Rob

mesmerize/prevail modem swap

hello i am trying something here because i have two samsung mesmerizes sitting around collecting dust and a pos boost phone i have located the open source codes for both the prevail and the mesmerize links are :
prevail:
https://opensource.samsung.com/reception/reception_main.do?method=reception_search&searchValue=m820
memserize:
https://opensource.samsung.com/reception/reception_main.do?method=reception_search&searchValue=i500
i am thinking that by moving the modem files this will put the mesmerizes on boost towers allowing me to use one of them however i dont know how to create the file needed for odin can someone please help i have attatched the prevail modem files in the attachment labeled project.zip i dont know how to create the files needed for odin3 nor do i know how to make the files work with each other basically what i would like to do is run this phone on boost network and have the boost boot images
update i was able to flash verizon wireless to this phone but still not able to flash boost

[Q] wifi config files

The file /system/etc/wifi/wpa_supplicant.conf
should have all the saved wifi networks. I can connect to multiple wifi networks. But when I run the following command in the terminal when I cat the file there are no changes made to it.
The contents as they are :
"update config=1
ctrl interface=wlan0
eapol version=1
ap scan=1
fast reauth=1"
does someone know why this file is not being updated ?
I have seen the same file before and I did see a wifi network and its information saved in it.
I'm not sure what is causing the file to not update 
The file you are looking at is the settings for wifi and not what networks are connected to the device
For the networks that are associatd with the tablet you have to browse the /data/misc/wifi/wpa_supplicant.conf in order to find the networks and thier passwords...
DO NOT CHANGE OR DELETE THIS FILE IF YOU WANT TO MAINTAIN YOUR CONNECTION TO THOSE NETWORKS
Thank you so much for this information.
If I further add more networks to this file will the asus tablet be able to connect to those networks ? this is what I am trying to achieve. but I want to edit a file in the flashable zip file of cm so that when I flash the asus it automatically has those networks configured and I don't have to put in the passwords one by one.
Thank you again
tanzeelrana said:
Thank you so much for this information.
If I further add more networks to this file will the asus tablet be able to connect to those networks ? this is what I am trying to achieve. but I want to edit a file in the flashable zip file of cm so that when I flash the asus it automatically has those networks configured and I don't have to put in the passwords one by one.
Thank you again
Click to expand...
Click to collapse
I wouldn't bothr changing the file like that I would use the settings on wifi to do that, but to make a CWM flashable zip to add wifi networks would be awsome for those who changes the ROMS around every so often. Good luck.

LTE Band Selection (INS JIO) on S7 / S7E - working guide

Hi Folks,
Wanted to share a working guide to make LTE network BAND Selection in S7 / S7E on any stock based ports or stock rom .
Mostly useful for JIO users who want to lock specific bands on their phone.
Things needed: Need device to be rooted and some knowledge to copy and rename files under root partition.
Steps: Navigate to /system/csc/etc or system/omc/INS/etc
locate the file INS_keystring.dat and rename it to something.
navigate to OMC/XXV/etc and copy the keystring.dat file from XXV CSC.
copy the XXV_keystring.dat and paste the same in OMC/INS/etc and rename it to INS_keystrings.dat
reboot the phone.
Later dial *#2263# and you will be able to access the band selection menu.
Tested in BD N8 rom and i disabled Band40 and Band3 and using only BAND5 on Jio as i need good indoor coverage.
Sorry for the short guide.

Where is the APN file located on the LG V50 ThinQ

Where is the APN file located on the LG V50 ThinQ?
I have a Verizon phone and access to APN settings is blocked. Can I change the APN file directly... maybe with QFILL or something?

Categories

Resources