Hi,
FYI. A list of all the AT commands the I9000 can handle.
AT&H
#, &A, &B, &C, &D, &E, &F, &H, &I, &K, &M, &R, &S, &V,
&W, &Y, A, B, E, H, I, L, M, O, P, Q, S0, S10, S12,
S19, S2, S3, S4, S5, S6, S7, S8, T, V, X, Z, \Q,
+BINP, +BLDN, +BRSF, +BVRA, +CACM, +CAEMLPP, +CALA,
+CALD, +CALM, +CAMM, +CAOC, +CBC, +CBST, +CCFC, +CCHC,
+CCHO, +CCID, +CCLK, +CCUG, +CCWA, +CCWE, +CEER, +CFUN,
+CGACT, +CGANS, +CGATT, +CGAUTO, +CGCLASS, +CGCMOD,
+CGDATA, +CGDCONT, +CGDSCONT, +CGED, +CGEQMIN, +CGEQNEG,
+CGEQREQ, +CGEREP, +CGLA, +CGMI, +CGMM, +CGMR, +CGPADDR,
+CGQMIN, +CGQREQ, +CGREG, +CGSMS, +CGSN, +CGTFT, +CHLD,
+CHUP, +CIMI, +CIND, +CLAC, +CLAN, +CLCC, +CLCK, +CLIP,
+CLIR, +CLVL, +CMEC, +CMEE, +CMER, +CMGC, +CMGD, +CMGF,
+CMGL, +CMGR, +CMGS, +CMGW, +CMMS, +CMOD, +CMSS, +CMUT,
+CMUX, +CNAP, +CNMA, +CNMI, +COLP, +COLR, +COPN, +COPS,
+CPAS, +CPIN, +CPLS, +CPMS, +CPOL, +CPUC, +CPWD, +CPWROFF,
+CR, +CRC, +CREG, +CRES, +CRLA, +CRLP, +CRSL, +CRSM,
+CSAS, +CSCA, +CSCB, +CSCS, +CSDH, +CSGT, +CSIM, +CSMP,
+CSMS, +CSQ, +CSSN, +CSTA, +CTFR, +C
+CUSD, +CUUS1, +FCLASS, +FDR, +FDT, +FKS, +FMR, +GCAP,
+GMI, +GMM, +GMR, +GSN, +ICF, +IFC, +IPR, +NREC, +SATE,
+SATR, +STKENV, +STKLBR, +STKPRO, +STKPROF, +STKTR,
+TRACE, +VGM, +VGR, +VGS, +VGT, +VTD, +VTS, +WS46, +XACT,
+XADDTRACE, +XALS, +XALSBLOCK, +XAPOXI, +XAPP, +XAUTOPLMNSEL,
+XBANDSEL, +XBARRPW, +XCALLREFUSE, +XCALLSTAT, +XCAOC,
+XCBS, +XCCBS, +XCEER, +XCELLINFO, +XCFC, +XCGCLASS,
+XCGEDPAGE, +XCHNSIM, +XCIND, +XCIPH, +XCONFIG, +XCOPS,
+XCOREDUMP, +XCRSM, +XCSIM, +XCSP, +XCSPAGING, +XCSSMS,
+XCTMDR, +XCTMS, +XDATACHANNEL, +XDEV, +XDEVICE, +XDIAG,
+XDNS, +XDRXSET, +XDTMF, +XEMC, +XEONS, +XETFT, +XGAUTH,
+XGCNTRD, +XGCNTSET, +XGENDATA, +XGPRSERRMAP, +XHANDSFREE,
+XHOMEZR, +XHSDUPA, +XIMS, +XL1SET, +XLCAPS, +XLGASSIST,
+XLGCPL, +XLGINFO, +XLGLOGLEV, +XLGMODE, +XLGNAV, +XLGNMEA,
+XLGNVRAM, +XLGPOS, +XLGTEST, +XLGTIME, +XLIN, +XLOG,
+XLOOPBACK, +XLQOS, +XLRMT, +XLRSUPL, +XLRTA, +XLRV,
+XLSR, +XLSRSTOP, +XMAGETBLOCK, +XMAGETKEY, +XMER, +XMULT
+XMUX, +XNMI, +XPIN, +XPINCNT, +XPOW, +XPPP, +XPROGRESS,
+XPWROFFDELAY, +XQNEG, +XRAT, +XREDIAL, +XREG, +XREL,
+XREMFPLMN, +XRFS, +XRLCSET, +XRRSET, +XSCELLLOCK, +XSECSTATE,
+XSELFRXSTAT, +XSERVICE, +XSIMCHG, +XSIMLG, +XSIMLOOPBACK,
+XSIMSTATE, +XSIMVALID, +XSIO, +XSLN, +XSMS, +XSTK,
+XSYSERR, +XTDEV, +XTERM, +XTESM, +XTFILTER, +XTOS,
+XTRACECONFIG, +XTRACEIP, +XTRACESYSTIME, +XUICC, +XUSBFLASH,
+XVTS
OK
I9000 modem access
I'm trying to access /dev/ttygs0 and test an AT command
with all possible serial speeds directly from a root console , but
modem seems dead... i cannot find informations how to enable it
Hi guys,
I have following problem with I9000 - when new SMS arrives there is no notification to serial port.
With command AT+CNMI=2,3,0,1,0 there should be such notifications, but they don't arrive to the serial port.
Can you advice me someting?
For people who have asked me.
I accessed the AT commands by putting the I9000 phone PDA/MODEM setting on MODEM and then connect a USB cable. The phone causes new COM/tty ports to appear on the PC when running Linux.
sending AT commands to my Galaxy S
Hi there,
Im trying to access my My Galaxy S (Android 2.3.4 XXJVQ) as a GSM modem and send it AT commands.
Im using Windows 7, I cant seem to get this to work, whether through a cable or Bluetooth i can see in the phone in devices & printers dialog and it does list its modem as a feature and tells me on which port its connected, for USB its COM4 for BT its COM6.
However if i use Hyperterminal it wont let me type anything into the textbox, it just doesnt respond.
I also wrote a small C# app based on code samples i found online but it never seems to respond to the commands i send to it. If i use COM3 for my "Thinkpad Modem Adapter" and i type into my console app: "AT" or "AT+GMM" for example i get a response back. if i use the port for the phone (COM4) i get nothing back...
I tried the trick with setting the phone from PDA to Modem using *#7284# but then when i connect the phone to the PC it wont recognize it and in the device manager it shows me a device called 7CDCs which it cannot find a driver for.
Ive also tried PDANet, i got the computer and phone connected together but i still cant issue an AT command at the modem...
Not sure whats the problem here...
If anyone can help me with id really appreciate it.
thanks!
Yoav.
You need linux to make it work.
You might be able to find a windows driver for it, but i don't have windows so i can't help there.
Can't test this just now as I'm at work, I did get through to the modem on windows 7 via usb. I'm sure I had to issue a reset command before I could do anything else.... ATZ maybe? I'll check it out when I get home.
Yeah, with the phone in Kies mode for usb connection and using PuTTY instead of hyperterminal (no longer provided with Win7) I got through to the modem on COM3. Whether the phone responds to all commands as expected seems to be another matter.
Thanks fahzat,
Ill give it a try again with Putty but i did try Putty yesterday as well as Hyperterminal and got to the same situation where it seems to be connected to the phone over the port but then it wont allow me to type anything into the command prompt... You chose the "Serial" type connection in the Putty initial screen right?
Correct, serial connection on COM3 (obviously your port may differ) with speed at 921600 (9600 seemed to work too). In the "Terminal" section set "Local echo" to "Force on" or you won't see what you're typing, only the response.
fahzat said:
Correct, serial connection on COM3 (obviously your port may differ) with speed at 921600 (9600 seemed to work too). In the "Terminal" section set "Local echo" to "Force on" or you won't see what you're typing, only the response.
Click to expand...
Click to collapse
Or make the first command you type ATE1
Thanks guys, it works. now im able to send commands to my Galaxy S.
What i really wanted to do was to manage to send SMS messages and see incoming messages but following the commands shown on a few tutorials dont seem to work with my phone.
Wondering if anyone knows how to do that with the SGS (I9000)???
[EDIT]
All info moved to here: http://forum.xda-developers.com/showthread.php?t=1471241
Thanks.
Achieve AT Command from Android
Hi All
I read that is not possible use directly in Android AT Command to debug the modem, but I was thinking to write an APP that using the USB Serial Virtual port in Android could send the AT Command directly to the modem. I read about external API to use serial communication.
Do you think this is possible??
alextreme said:
I read that is not possible use directly in Android AT Command to debug the modem,
Click to expand...
Click to collapse
ATdebug.apk is the answer : http://forum.xda-developers.com/showpost.php?p=19485757&postcount=1
mai77 said:
ATdebug.apk is the answer : http://forum.xda-developers.com/showpost.php?p=19485757&postcount=1
Click to expand...
Click to collapse
I know this...but it s not working with Samsung phones. Should I change the ROM with a Cyanogenmod version??
All you need to know here:
How to talk to the Modem with AT commands:
http://forum.xda-developers.com/showthread.php?t=1471241
how can we put the phone in modem mode?
thanks in advance
midas5 said:
For people who have asked me.
I accessed the AT commands by putting the I9000 phone PDA/MODEM setting on MODEM and then connect a USB cable. The phone causes new COM/tty ports to appear on the PC when running Linux.
Click to expand...
Click to collapse
Hi Midas5,
Could you be more specific?
a) So you set it to use: UART as MODEM and USB as MODEM??
(Those PhoneUtils settings are confusing!)
b) Which exact devices/ports appeared on your local machine?
c) Which exact devices/ports appeared on your phone?
d) Can you say anything about the device driver that you're using?
Thanks.
---------- Post added at 07:20 PM ---------- Previous post was at 07:14 PM ----------
yoavniran said:
If i use COM3 for my "Thinkpad Modem Adapter" and i type into my console app: "AT" or "AT+GMM" for example i get a response back. if i use the port for the phone (COM4) i get nothing back...
Click to expand...
Click to collapse
This is probably the wrong modem. It's most likely your laptop's built-in FAX/modem!
I tried the trick with setting the phone from PDA to Modem using *#7284# but then when i connect the phone to the PC it wont recognize it and in the device manager it shows me a device called 7CDCs which it cannot find a driver for.
Click to expand...
Click to collapse
This is THE problem!!
a) What (PC/linux) drivers to use when using your phone in "modem mode"?
b) How to send AT command from your phone terminal/shell? (I.e. what device is the right one(s)?
Hello,
(First sorry for my very bad english. It's not my natural language but I do my best for sharing with you!)
04/13 - UPDATE: Now 3G works for ICS with some ROMs like Megatron.
Revolver will be based on TF101G ICS ROM soon.
09/17 - UPDATE:Roach2010 and gnufabio have developped an apk that enable Mobile Network settings (for 3G dongle).
Their APK change the bootloader. (Read more and download)
So maybe this thread has no purpose except for issues and for the list of compatible dongles. If you have a dongle which work and which is not in the list.....
11/08 - UPDATE: 3G dongle works too with Extension-Kit/TFUSB1 Asus P/N 90-XB2UOKEX00020
You can find it here: http://shop.asus.fr/shop/fr/fr-FR/Home/1-Produits/1500-Collection-ASUS/1936-Accessoires-Eee-Pad/1937-Accessoires-Transformer-Prime-TF201/90-XB2UOKEX00070-Adaptateur-USB-externe-pour-ASUS-Eee-Pad.aspx (Thanks to ValenteL for information)
************************************************************
Bellow you can find the first post
Thank you,
Regards.
FIRST POST:
There is probably other ways to make the 3G Dongle working on TF101 but here you can find how we have done.
The follow lines work to have Prime v1.5 installed on your Transformer (works with any version!)
Then you could upgrade to Revolver 2.1.
Otherwise you can directly nvflash your TF101 with the Revolver 2.5 NVFlashed version of cuckoopt.
You just have to follow instructions on this post.
Don't forget to thank him if it works for you
Note: SetCpu doesn't seem to work. I don't know if the issue is coming from Revolver or HC. By re-installing SetCpu, it works one time then crashes.
A. Prime V1.5 Installation:
1. You have to backup all your data/apk from your Internal SD Card because we will make a clean install. So use your backup software.
Becareful. if you project to use Titanium Backup, his backup files are on the internal SD Card so afterwards, you have to move it to your MicroSD (from /mnt/sdcard/Titatium Backup to /data/Removable/MicroSD)
2. Download NVFlash: http://www.filefactory.com/file/ccda97c/n/nvflash.zip then the NVFlash version of Prime v1.5: http://www.sdx-downloads.com/devs/roach2010/flash_roms/prime_v1.5_nvflash.tar.bz2
Updated note: I am not able to activate the Mobile Network option with version 1.6 (even Zip version for ClockWorkMod nor NVFlash version).
But some people have succesfully activated it by flashing NetFinder 1.5 just after the fresh Install of Prime v1.6 and before rebooting the system ; it means in the same CWM
3. unpack NVFlash and Prime v1.5 in the same directory. The image files of Prime v1.5 should be unpacked into the NVFLashTF folder.
4. Connect your TF101 to your PC via USB. Then hold the volume UP and Power button until a NEW device named "APX" appears in the Device Manager. Note that the screen of the Transformer stays black.
5. Click on the APX to install drivers from directory USBPCDriver (included in NVFlash.zip)
info: I used Windows XP 32 bits.
6. Then run Download.bat if you are on Windows, download.sh for Linux users
7. When NVFlash is ended, reboot your TF101.
During boot, there is a setup wizard. Choose connection with "3G and Wifi", not "only Wifi"!!
At this step, you must have the Mobile Network option in Parameters.
8. Download Maxh2003 Script: http://android.modaco.com/index.php?act=attach&type=post&id=73836 (you need to be a register user on Modaco You could find another link some posts after!)
Download the Patch files for ACER A500 tab: http://forum.xda-developers.com/attachment.php?attachmentid=638588&d=1309189189
9. Unzip the script and the Patch file in the same directory.
If you want to upgrade to Revolver 2.1 version (HoneyComb 3.2), you must stop here and go to step B (chapter B).
Otherwise continue chapter A.
10. Connect your TF101 and run install-TF101.bat
11. Mobile Network option is here.
B. REVOLVER 2.1 Installation
1. Do a fresh install of Prime v1.5 NVFlsh version.
If it's not the case go back to the begin of this post and execute steps A.1 to A.9. then go back to B.2
2. Download this file
3. If you read this, Prime v1.5 NVFlash version is installed and you are in CWM Recovery screen.
Install the Recovery 2.1 version (Full). DON'T WIPE DATA
4. At the end, just reboot your system and verify that Mobile Network option is still here.
5. Then we have to install drivers for your dongle (see the list below for compatible dongles).
Let your TF101 on, connect it to your PC via USB cable and run install-TF101.bat via cmd.exe from Windows (tested under Windows XP x86 and Windows 7 x64)
C. List of COMPATIBLE DONGLES
Note: if your dongle is not in this list, but works with TF101, please tell me. It will be added to the list.
* ZTE MF 639 (might need roaming enabled to get data working)
* Alcatel X225L (thx to urko95)
* Vodafone K3765-H
* Vodafone K3715
* Vodafone K3565 / Huawei E160
* Huawei E156G (thx to sh337 for testing)
* Huawei E160G (thx to htc-hd2. His post)
* Huawei E161 (thx to zumbik. His post)
* Huawei E169
* Huawai E170
* Huawai E171
* Huawei E173 (ATTENTION: E173 EVO version NOT COMPATIBLE - thx to sronweb for his tests - Read more)
* Huawei E180 (thx to ValenteL. His post)
* Huawei E220 (thx to eyz. Connexion seems to be not stable. Read more)
* Huawei E270 (thx to eyz. His post)
* Huawei E1550
* Huawei E1552
* Huawei E1692
* Huawei E1750
* Huawei E1752
* Huawei E1762 (thx to bennyyen. His post)
* Huawei E1820
* Huawei E1823 (Thx to bswpt. His post)
* Huawei E2010 (Thx to madangryscientis. His post)
* HUAWEI K3520
* HUAWEI K3565 -Rev 2
Click to expand...
Click to collapse
D. About LED on HUAWEI 3G Dongle:[/B]
The LED indicator displays the current connection status of your Orange E1752 dongle, with each colour representing a different status:
When the LED displays green and is blinking twice every three seconds, this means that the dongle is powered on.
When the LED displays green and is blinking once every three seconds, this means that the dongle is attempting to register onto a 2G network.
When the LED displays blue and is blinking once every three seconds, this means that the dongle is attempting to register onto a 3G network.
When the LED displays solid green, this means that the dongle is connected onto a 2G network.
When the LED displays solid blue, this means that the dongle is connected onto a 3G network.
When the LED displays solid cyan, this means that the dongle is connected onto a 3G+ network
When the LED displays no colour, this means that the dongle is removed.
Click to expand...
Click to collapse
And dont forget to turn off the composite device of the 3G dongle.
Here how to do (thanks to Matchstick from Modaco who wrote these lines):
You can test this by plugging the stick into a PC and seeing if it detects the modem as a CD or Memory stick device as well as a modem.
If it does then the method I used to turn off the composite device (on Windows 7) was:
1) Install the software and drivers for the modem under windows and make sure that the connection software sees the modem correctly.
2) Go to Settings/Control Panel/Device Manager and if you expand the Modems section you should see your USB modem listed there
3) Double click on the entry for the modem to get the properties panel up and selected the Modem tab
4) You should see a line at the very top of the tab that says something like Port: COM11 - This is the virtual serial port that the PC uses to talk to the modem which we're going to use to send the command to turn off all the stuff we don't want.
5) Next we want to install a serial console application. PuTTY is perfect for this. If you don't have a copy you can get if from here,
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
6) Run putty, select Serial under Connection Typem and enter the port we found in step 4 (eg COM11) into the box marked Serial Line and press the Open button
7) An empty window should pop up, which if things are working correctly is connected to the Modem
8) Type "ATI" into the window (without the quotes) and press return. The ATI command asks the modem for basic information and it should respond with something like
Manufacturer: huawei
Model: E1752
Revision: 11.126.03.01.314
IMEI: 123456789012345
+GCAP: +CGSM,+DS,+ES
OK
9) If you see this then you are connected correctly, if you don't see a response try physicaly unplugging and reconnecting the modem into a different USB port and start again from step 2 after windows has loaded the drivers for the modem.
10) Assuming everything is OK, the we can send the command to turn off the stuff we don't want. To do this simply type "AT^U2DIAG=0" (again without quotes) into the putty window. you should see the response OK.
11) If you do then the composite device features should now be turned off and you are ready to try the modem in your transformer.
Click to expand...
Click to collapse
Remerciements/Thanks to AndroidRoot.mobi for NVFlash, Paul for Prime!, Maxh2003 for his script and help, Matchstick for his help, Dexter_nlb for his A500 patch and, of course, all our developers and users who help us.
Not sure why I've flashed several roms in APX from w7 64 bit just fine.
It seems that these drivers don't work for win7 64 and works for Vista 64.
Perhaps they are unsigned.... didn't know. I don't make more tests.
Regards.
Looking good. Now to get a 3G plan and dongle...
Anyone get this working?
to kasimodo
Could you upload Maxh2003's scrift file here. I can't download it from your link.
Thanks
nsec said:
to kasimodo
Could you upload Maxh2003's scrift file here. I can't download it from your link.
Thanks
Click to expand...
Click to collapse
Here the file.
Regards
insmod is having no luck with these kernel modules, none are loaded, and I get nothing??? what's the deal? has anyone got this working including the OP or is this just a theoretical WIP
dan-htc-touch said:
insmod is having no luck with these kernel modules, none are loaded, and I get nothing??? what's the deal? has anyone got this working including the OP or is this just a theoretical WIP
Click to expand...
Click to collapse
Hello it's not a theoretical WIP.
Look here
Can you give more details please?
Regards,
oh... I guess insmod won't work on the modules without a compatible modem plugged in then?
many thanks! got it to work on my E1750
although you might want to put the instruction steps to remove the storage on the modem (only works after I did it):
Insert modem into pc and wait for driver to install
check in device manager which com port is assignated to your modem
download putty
here the.earth.li/~sgtatham/putty/latest/x86/putty.exe
close every program related to modem
run putty
click serial below port number and then change port number to one previously founded
click open
write atz and press enter, modem should answer ok
write ati and press enter, modem should give name, type, etc
write AT^U2DIAG=0 and press enter, zero cd is now disabled
dan-htc-touch said:
oh... I guess insmod won't work on the modules without a compatible modem plugged in then?
Click to expand...
Click to collapse
Probably. is you 3G Dongle in the "compatibility list".
If yes, you have to turn off the composite device of the 3G dongle.
Here how to do (thanks to Matchstick from Modaco):
Code:
You can test this by plugging the stick into a PC and seeing if it detects the modem as a CD or Memory stick device as well as a modem.
If it does then the method I used to turn off the composite device (on Windows 7) was:
1) Install the software and drivers for the modem under windows and make sure that the connection software sees the modem correctly.
2) Go to Settings/Control Panel/Device Manager and if you expand the Modems section you should see your USB modem listed there
3) Double click on the entry for the modem to get the properties panel up and selected the Modem tab
4) You should see a line at the very top of the tab that says something like Port: COM11 - This is the virtual serial port that the PC uses to talk to the modem which we're going to use to send the command to turn off all the stuff we don't want.
5) Next we want to install a serial console application. PuTTY is perfect for this. If you don't have a copy you can get if from here,
http://www.chiark.greenend.org.uk/~sgtatha...y/download.html
6) Run putty, select Serial under Connection Typem and enter the port we found in step 4 (eg COM11) into the box marked Serial Line and press the Open button
7) An empty window should pop up, which if things are working correctly is connected to the Modem
8) Type "ATI" into the window (without the quotes) and press return. The ATI command asks the modem for basic information and it should respond with something like
Manufacturer: huawei
Model: E1752
Revision: 11.126.03.01.314
IMEI: 123456789012345
+GCAP: +CGSM,+DS,+ES
OK
9) If you see this then you are connected correctly, if you don't see a response try physicaly unplugging and reconnecting the modem into a different USB port and start again from step 2 after windows has loaded the drivers for the modem.
10) Assuming everything is OK, the we can send the command to turn off the stuff we don't want. To do this simply type "AT^U2DIAG=0" (again without quotes) into the putty window. you should see the response OK.
11) If you do then the composite device features should now be turned off and you are ready to try the modem in your transformer.
Regards
brensim said:
many thanks! got it to work on my E1750
although you might want to put the instruction steps to remove the storage on the modem (only works after I did it):
Insert modem into pc and wait for driver to install
check in device manager which com port is assignated to your modem
download putty
here the.earth.li/~sgtatham/putty/latest/x86/putty.exe
close every program related to modem
run putty
click serial below port number and then change port number to one previously founded
click open
write atz and press enter, modem should answer ok
write ati and press enter, modem should give name, type, etc
write AT^U2DIAG=0 and press enter, zero cd is now disabled
Click to expand...
Click to collapse
What kind of OTG adapter are you using for this?
Hi all,
will this work with the Huawei E173u2 , the second version adapted for (pseudo)"4G" networks
I am with stock 3.1 + root.
Does it work or I need to install PRIME anyway?
At the moment, everyone who has got this to work has had to install Prime 1.5 (and several of us had to install the NVFlash specific version of Prime)
acid12 said:
Hi all,
will this work with the Huawei E173u2 , the second version adapted for (pseudo)"4G" networks
Click to expand...
Click to collapse
Is this similar to the huawei E367 ? As I'm looking at the E367 at the moment.
One easy(ish) way to check is to follow Steps 1-8 from post 12, then enter the command "AT^GETPORTMODE" (without the quotes)
If you get a response like
"^getportmode:type:WCDMA:Qualcomm,MDM:0,NDIS:1,DIAG:2,PCUI:3,CDROM:4"
then the E173u2 is using the new interface like the E367 and at the moment I can't get it to work.
It may be that the drivers aren't compatible (I'm not seeing ttyUSB0-ttyUSB2 devices appearing in /dev/) or it may just be that I haven't got the correct interfaces enabled.
There's information on the AT commands for the new-style Huawei modems here
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=618504
Matchstick said:
At the moment, everyone who has got this to work has had to install Prime 1.5 (and several of us had to install the NVFlash specific version of Prime)
Click to expand...
Click to collapse
So i think that it is not only root needed but also something that in PRIME is present and that we can not add to stock rom.....
thanks
chrispazz said:
I am with stock 3.1 + root.
Does it work or I need to install PRIME anyway?
Click to expand...
Click to collapse
you can try by using Settings/Privacy then Reset to factory
Then restart and hen wizard ask you to choose for "3g and wifi" or "wifi only" choose 3g and wifi
Afterward you must see mobile network in settings.
tell us and don't forget to backup your data
Kasimodo said:
you can try by using Settings/Privacy then Reset to factory
Then restart and hen wizard ask you to choose for "3g and wifi" or "wifi only" choose 3g and wifi
Afterward you must see mobile network in settings.
tell us and don't forget to backup your data
Click to expand...
Click to collapse
Ok. I have to wait for my docking to come back from ASUS (RMA) and then I will try.
TY
Hi I've been working on adding support for usb host support in backtrack 5 running on a chroot session.
The ultimate goal is to be able to use a usb wifi adapter for pentesting, as the interal wifi doesnt support layer-2 or packet injection.
i created the usb host cable,by jumping pin 4 to 5, and was able to power my device by splicing in DC power to the cable.
i'm having issues with busybox in the chroot session. i have ver 1.9 running on the android OS but it seems like there are missing modules in backtrack. NO LSUSB!! grr
i just cant get it to give me any output what so ever
#lsusb
#
. But i know the chroot session reads the host device (OTG). running dmesg (full output attached):
[ 3881.112070] max8997_muic_usb_cb: usb mode=3
[ 3881.112087] otg_power_cb: otg power = 1
--
[ 3881.114323] usb usb cable = 3
[ 3881.114348] usb Enable usb LDO.
[ 3881.114396] max8997-charger max8997-charger: max8997_disable_charging: disable charging
[ 3881.114536] usb check ldo vcc_d(192)
[ 3881.114704] usb check ldo vcc_a(192)
[ 3881.114889] otg_dbg: in s5pc110_otg_drv_probe()::00075
[ 3881.114900] => s3c_otg_drv_probe
[ 3881.115115] otg_host_phy_int : USBPHYCTL=0x1,PHYPWR=0xa40,PHYCLK=0x7,PHYTUNE=0x819b3,USBCFG=0x0
[ 3881.266334] s3c_otghcd s3c_otghcd: S3C OTGHCD
[ 3881.266406] s3c_otghcd s3c_otghcd: new USB bus registered, assigned bus number 2
[ 3881.266463] s3c_otghcd s3c_otghcd: irq 135, io mem 0x12480000
[ 3881.268360] max8922-charger max8922-charger: max8922_enable_charging: disable charging,TA
[ 3881.496575] hub 2-0:1.0: USB hub found
[ 3881.496598] hub 2-0:1.0: 1 port detected
[ 3881.496618] otg_dbg: in root_hub_feature()::00477
[ 3881.496625] => case SetPortFeature -USB_PORT_FEAT_POWER
[ 3881.497347] otg_dbg: in s5pc110_otg_drv_probe()::00175
[ 3881.497358] => OTG HCD Initialized HCD, bus=C110 OTG Controller, usbbus=2
[ 3881.498518] usb otg host : registered
[ 3881.498530] host_notify: ndev name=usb_otg: from state=0 -> to state=1
[ 3881.499742] usb change mode ret=0
--
[ 3883.372113] otg_dbg: in root_hub_feature()::00483
[ 3883.372126] => case SetPortFeature -USB_PORT_FEAT_RESET
[ 3883.432171] otg_dbg: in otg_handle_interrupt()::00087
[ 3883.432182] => Port Interrupt
[ 3883.432192] otg_dbg: in process_port_intr()::00271
[ 3883.432203] => port enable/disable changed
[ 3883.502695] usb 2-1: new high speed USB device using s3c_otghcd and address 2
[ 3883.522370] svn usbdev_open, skip usb_autoresume_device
[ 3883.522488] svn usbdev_open, skip usb_autosuspend_device
[ 3883.524055] hub 2-1:1.0: USB hub found
[ 3883.524407] hub 2-1:1.0: 4 ports detected
[ 3883.534375] max8922-charger max8922-charger: max8922_is_charging: charging state = 0x1
[ 3883.762482] usb 2-1.1: new high speed USB device using s3c_otghcd and address 3
[ 3883.784996] usb 2-1.1: device v0bda p8187 is not supported
[ 3883.785068] host_notify: ndev name=s3c_otghcd: from state=0 -> to state=5
[ 3883.805674] hub 2-1:1.0: unable to enumerate USB device on port 1
--
[ 3932.353319] usb_port_resume = 1283, 4
--
[ 5492.343091] usbsvn_request_resume:run time resume
[ 5492.343107] Host USB : Resume
[ 5492.422261] usb_port_resume = 1283, 4
[ 5492.422906] usb 1-2: svn L0 p.s=1
i have the driver for the device (alfa network ,AWUS036h) and it is supported in linux.
i was able to build the driver in the chroot session, but since it is an ARM distro, will the driver even work.
any help would be awesome.
Some success!
I finally got lsusb to recognize the devices. after many many recompilation of busybox,turns out it was a binding problem between the android and the chroot session.
i ran in terminal emulator: ($mnt = the chroot mount point)
#mkdir -p $mnt/dev/bus/usb
#mount -o bind /dev/bus/usb /$mnt/dev/bus/usb
and now in the chroot session:
[email protected]:/#lsusb
Bus 002 Device 002: ID 05e3:0608 Genesys Logic, inc USB-2.0 4-port HUB
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 1519:0020
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
as you can see i plugged in a usb hub to power the device, just to test.
i'm going to be working on compiling the driver.
hopefully beaple to use the aircrack suite soon on my phone.
Two cheers for you mate. Hope you bring in something soon.
Sent from my GT-I9100 using XDA Premium App
Driver
I'm trying to compile the RTL8187 driver for the ARM architecture . I've never done this sort of thing, so any advice on kernel modules would be greatly appreciated.
i'm using the ARM toolchain from :
http://www.codesourcery.com/sgpp/lite/arm/portal/[email protected]=lite
compiling with the i19100 kernel source compiled by XDA members (not the tar files from samsung).
If anyone has any experience with Cross compiling, any help would be awesome.
Holy crap i hope u get this running.
I would love to have bt4 on my phone
I hope u make a full how to guide once u r done
Great work
Boom! Awesome stuff
Zionator said:
Holy crap i hope u get this running.
I would love to have bt4 on my phone
I hope u make a full how to guide once u r done
Great work
Click to expand...
Click to collapse
bt5 is already avalible for i9100
http://forum.xda-developers.com/showthread.php?t=1162662
more good stuff
i've finally got the driver compiled for ARM without it spewing Piles of errors.
now i've actually got to test them.
2 modules:
ieee80211.ko
rtl8187.ko
these would either be loaded in android OS with "insmod" in the init.rc file, so it's loaded on boot. Or in the backtrack 5 chroot session.
now i've got LSUSB working and displaying Some connected devices, however devices such as usb keyboards and My Wifi card are not displayed (the Usb host port is displayyed though)
From the reading i've done i'm pretty sure this is due to a vendor permissions issue.
in a file simmilar to this:
/etc/udev/rules.d/50-android.rules
now i havnt been able to find this file on my phone. or simmilar.
this file allows the types of vendors allowed to connect.
an example command to be added:
Code:
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4", MODE="0666", NAME=="android"
When i run lsusb on my ubuntu virtual machine, with the card plugged in i get:
Bus 002 Device 002: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
so i'd have to add a line like this :
Code:
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bda", MODE="0666", NAME=="Realtek"
so in short, If ANYBODY knows where a vendors permission file resides, please post something.
sweet thanks
HUGE!
O MAN i had no IDEA i'd get this far, i've never even used linux that much untill i got this phone!
so as it turns out the permission issue with pretty well ALL devices is very prevalent
you have to allow android OS to connect to specific vendors, i've tested it woth sevral keyboards.
the vendor codes can be found here
HTML:
http://developer.android.com/guide/developing/device.html
but here they are
Code:
Company USB Vendor ID
Acer 0502
ASUS 0b05
Dell 413c
Foxconn 0489
Garmin-Asus 091E
Google 18d1
HTC 0bb4
Huawei 12d1
K-Touch 24e3
KT Tech 2116
Kyocera 0482
Lenevo 17EF
LG 1004
Motorola 22b8
NEC 0409
Nook 2080
Nvidia 0955
OTGV 2257
Pantech 10A9
Philips 0471
PMC-Sierra 04da
Qualcomm 05c6
SK Telesys 1f53
Samsung 04e8
Sharp 04dd
Sony Ericsson 0fce
Toshiba 0930
ZTE 19D2
so an example of this.
i have a lenovo usb keyboard that i want to use.
so log in as root, create file /etc/udev/rules.d/51-android.rules, and add these line:
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="17EF", MODE "0666", NAME=="lenovo"
so in bash:
Code:
su
mount -o remount,rw system /system
mkdir -p /etc/udev/rules.d/
cd /etc/udev/rules.d/
echo SUBSYSTEM=="usb_device", SYSFS{idVendor}=="17EF", MODE "0666", NAME=="lenovo" > 51-android.rules
THIS can be applied to any usb device, so far as i;ve tested. if you cant find the vendor codes in the table, you can get them by plugging the device into a linux box and running lsusb and it's the first set of digits so
bus ### dev ###: ID <this one>:blah "some company"
i'll put together a full tutorial up since NO ONE HAS PUT ONE UP AS FAR AS I"VE SEEN. this would add support for pretty well android devices with OTG host mode!!
Any news on this ?
So ****tiest week ever
my galaxy s2 stopped working, put it in to charge and it wont turn on. no lights no nothing.
i've tried a usb jig.
no dice.
i phoned samsung to get it repaired to replaced.
i sent it in a week ago and i just got it Rushed back from them saying that since it's not a canadian phone; they cant service it.
turns out it was bought in chile.
i have a 700$ paperweight. isnt that awesome
JDouce said he managed to compile a driver successfully
Damn, that's worst news I heard all day. Any ideas how it happened?
Sorry to hear that ... there must be a way to fix your phone without sending it to Chile
Td8f4, huge thanks for posting your findings.
I compiled kernel modules for my ralink3070, which is the . I even had them loaded with insmod. But it didn't work. dmesg says "this device is not supported".
Any news on this, is this manual written some place?
I tried writing this udev rule, but with no effect so far. I am also running on Galaxy S2, with Lite'ning ROM 6.1 (Android 2.3.4, Kernel 2.6.35-11 ninphetamine 2.0.5+).
Edit: I did not see page 2 of this thread... sorry for your phone Td8f4... but then trying to get the warranty when you re-flashed it... and overclocked it, you have little chances. Good luck anyway.
If anyone get the USB device to actually appear in lsusb, give me a sign, I only get flashdrives and hubs to appear, a serial2usb won't.
I now figured out that the problem was due to CONFIG_SEC_WHITELIST and driver/usb/core/sec_whitelist.h One or the other has to be modified, both have been tested to be working. With the default falues, devices other than a few defined one (HID, cameras, mass storage, hub) won't be connected at all and will not appear in lsusb or dmesg.
The next step once they appear in lsusb and dmesg with a line "usb 2-1: device v0403 p6001 is not supported" is to find which driver is needed and either compile it within the kernel, or compile it as a module and insmod it manually. You have succeeded that step when you get a new line in dmesg from your device driver.
The next step again is to find an application using the driven device (I am at that step now, for a usbserial device)
Hi,
I am currently trying to get the usbserial-module working on Siyah-kernel.
In fact, usbserial and ftdi_sio both load (the same device works fine with those modules on a desktop. Yes, I have compiled them for ARM agains Siyah-Kernel and not just copied them from desktop ;-) ), but s3c_otghcd 'snatches' away the device before I can get a hold of it.
Have a look at my post here:
http://forum.xda-developers.com/showpost.php?p=18299539&postcount=3712
If you can give me any further leads (should "CONFIG_SEC_WHITELIST=n" be enough, and does it break other things, like mouse / hub support?), that would be very much appreciated .
EDIT: Got it working with an external DIGITIZER, I can now watch analog signals with 5 GS/s on my phone... oscilloscope to go!
So "CONFIG_SEC_WHITELIST=n" breaks nothing (thumbdrives still work), but enables a whole world of possibilities.
EDIT2: A nice picture can be seen here:
http://forum.xda-developers.com/showpost.php?p=18328481&postcount=4032
watching this thread with great interest, if the OP has a donate link to go towards a new phone i'm sure plenty of people might contribute
Td8f4 said:
So ****tiest week ever
my galaxy s2 stopped working, put it in to charge and it wont turn on. no lights no nothing.
i've tried a usb jig.
no dice.
i phoned samsung to get it repaired to replaced.
i sent it in a week ago and i just got it Rushed back from them saying that since it's not a canadian phone; they cant service it.
turns out it was bought in chile.
i have a 700$ paperweight. isnt that awesome
JDouce said he managed to compile a driver successfully
Click to expand...
Click to collapse
Depending on how far you want to go to repair it, you can always unbrick your phone. Search for Jtag repair. You can reflash through the built in testing ports.
some new?? galaxy S2 LIVE???