No Internet via 3G, further toubleshooting ideas? - XPERIA X1 Android Development

Hi,
I have installed that latest Android OS on my X1 yesterday
(Friday, March 26), per the documentation in this forum.
Installed files:
fatsal-xperoid-20100221.7z
essential_apps.zip
wlan-modules_20100325.zip
zImage_kovsky_20100325.zip
The issue is: Connecting to the Internet via 3G does not work.
- I can do phonecalls via Android. I can also get phonecalls.
- I can browse the internet via Wireless.
- Browsing the internet via 3g does not work (wireless is turned off),
(browser error: no network connection, browser cannot load this
page because there is no internet connection)
- Started "Haret", with the 3G connection in WinMo working (on).
As 2nd test, started "Haret" with the 3G connection off in Winmo.
= no internet via 3g
- I also ran into the issue, getting stuck in the PIN screen.
Turning it off in WiMo fixed it
(this should be added to the installation FAQ).
- Noticed that there is no ringtone with inbound calls.
The only available ringtone in the default install is called "silent" ?
- double checked the APN settings from the phone in varous forums,
can't find issues.
These are from "T-Mobile Germany" and were setup by default.
APN profile is enabled:
Name: t-mobile D
apn: internet.t-mobile
proxy: <not set>
port: <not set>
username: t-mobile
password: ** (pw is tm)
Server: * (value is not known)
mmsc: h t t p : / / mms.t-mobile.de/servlets/mms
mms proxy: 172.028.023.131
mms port: 8008
mnc: 01
authentication type: None
APN type: <not set>
Upper values are the default values.
I tested various values (e.g. cleared the upper server value,
tried various authentication types (pap/chap or both)), didn't help.
- I also install the "APNdroid" application,
File: apndroid-2.0.2-r16-debug-key.apk
It claims that 3G/EDGE/GPRS is on.
Played with this tool by turning 3G off and on
(hoping to help resolve problem), didn't help.
- I didn't find a connection manager, like in WinMo, where you can centrally
disable and enable various connection types (I often turn off the data
connection in WinMo, to save e.g. battery). Didn't find a simelar option
as e.g. the tool "APNdroid" provides.
I'm running out of ideas to troubleshoot.
I'm happy to hear ideas how to fix this and get a working internet connection.
/justin
UPDATE:
I also tried a different simcard from the german phone provider SIMYO, a subsidary
of E-Plus and used the respective APN information:
e-plus/simyo
Name: Eplus Internet
APN: internet.eplus.de
Username: eplus
Passwort: eplus
MCC: 262
MNC: 03
APN type: default
Result: same issue, as discribed above with T-Mobile Germany.
/j

just a thought it might be that APN settings above are only for mms.
and you need to create a first deault APN for Internet, following APN sites settings looks different, see below link
http://www.unlocks.co.uk/gprs_settings.php#germany

Tried these (and other APN settings): no sucess sofar.
Hi,
Musse_1 said:
just a thought it might be that APN settings above are only for mms.
and you need to create a first deault APN for Internet, following APN sites settings looks different, see below link
Click to expand...
Click to collapse
I tried these (and other APN settings), they didn't work.
The default settings I published in my 1st posting are the same ones listed in the communications settings in WinMo 6.5.
I also tried "ifconfig" in the "terminal emulator", to see if the system maybe gets an IP. Insted I get an error "no inet socket available: permission denied".
The "route" command shows no routing entries, so there is really no lan connection (when I run the Wifi connection, then I see the default routing entry").
I think, the issue is (maybe) somewhere else.
/Justin

the49ers said:
I also tried "ifconfig" in the "terminal emulator", to see if the system maybe gets an IP. Insted I get an error "no inet socket available: permission denied".
Click to expand...
Click to collapse
You have to be root for running ifconfig. Type "su" to become root.
No idea about your problem. 3G-connection works fine for me out of the box, so it seems not to be a general android problem.

Debugging possabilities?
I wonder, if there is a way to debug this issue, or troubleshoot via the terminal program, if there are ways to turn on debugging (it's still not working)?
- I reformatted the SD card and reinstalled again per documentation
- apart from "t-mobile D", also tried my "Simyo Sim card" again with
it's APN settings from E-Plus
- I copied the data.img and rootfs.img to a WinPc, decompressed them
and checked if there are maybe logfiles
- In the terminal, su works and I can run e.g. ifconfig and ps commands.
The ifconfig command shows no lan card for the 3g card, there is also
no default route via the route command (a default route exists with the
wireless connection).
- The windows mobile system is at the latest version, per sony patch
software (just tried that). Also did a mem reset in WinMo (set phone back
to it's default settings) and then tried Android, didn't work.
I'm happy to hear any ideas, as this seems to be a android issue. Maybe I have a Xperia X1 phone with a hardware version which does not work with the current android drivers.
How to e.g. find out via the terminal if the prosess for the gprs/hsdpa, ... is running, if it is possible to do a connection debug like e.g. with ppp to resolve authentication issues.
/Justin

You can check the android logfile for errors. In terminal type
Code:
logcat -d -f /sdcard/logcat.txt
that will dump the android log to a file logcat.txt on your sdcard. In that look for "ppp" or "if-up" or post it.

Dump: Airplane mode on, then off, -> browse
Hi vdelf,
Thanks for the feedback.
I have a trace from startup, which would be too large to add here (53k).
I get similar results when I turn on airplane mode, then turn it off,
then browse a page. The error message I get is the same as at startup (errors are marked in red).
I couldn't find anything with "ppp" or "if-up" in either of the logs.
I/ActivityManager( 1172): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.settings/.Settings }
I/ActivityManager( 1172): Displayed activity com.android.settings/.Settings: 630 ms (total 630 ms)
I/ActivityManager( 1172): Starting activity: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.WirelessSettings }
I/XT9IME ( 1227): [finishInput]
I/ActivityManager( 1172): Displayed activity com. android.settings/.WirelessSettings: 560 ms (total 560 ms)
E/keystore( 1591): chdir: /data/misc/keystore: Permission denied
W/BatteryStatsImpl( 1172): Couldn't get kernel wake lock stats
D/NetworkLocationProvider( 1172): onDataConnectionStateChanged 0
D/MobileDataStateTracker( 1172): default Received state= DISCONNECTED, old= DISCONNECTED, reason= radioTurnedOff, apnTypeList= default
I/HTCIMEService( 1227): onReceive - android.intent.action.ANY_DATA_STATE
I/HTCIMEService( 1227): Shutdown!! Export UDB
W/BatteryStatsImpl( 1172): Couldn't get kernel wake lock stats
I/HTCIMEService( 1227): onReceive - android.intent.action.ANY_DATA_STATE
I/HTCIMEService( 1227): Shutdown!! Export UDB
D/NetworkLocationProvider( 1172): onCellLocationChanged [-1,-1]
D/NetworkLocationProvider( 1172): onDataConnectionStateChanged 0
D/MobileDataStateTracker( 1172): default Received state= DISCONNECTED, old= DISCONNECTED, reason= radioTurnedOff, apnTypeList= default
E/keystore( 1593): chdir: /data/misc/keystore: Permission denied
W/BatteryStatsImpl( 1172): Couldn't get kernel wake lock stats
W/BatteryStatsImpl( 1172): Couldn't get kernel wake lock stats
E/keystore( 1594): chdir: /data/misc/keystore: Permission denied
E/keystore( 1595): chdir: /data/misc/keystore: Permission denied
D/dalvikvm( 1268): GC freed 2623 objects / 152432 bytes in 190ms
W/BatteryStatsImpl( 1172): Couldn't get kernel wake lock stats
E/keystore( 1596): chdir: /data/misc/keystore: Permission denied
D/MccTable( 1231): updateMccMncConfiguration: mcc=262, mnc=1
D/MccTable( 1231): locale set to de_de
D/MccTable( 1231): WIFI_NUM_ALLOWED_CHANNESL set to 13
I/WifiService( 1172): WifiService trying to setNumAllowed to 13 with persist set to false
D/TelephonyProvider( 1231): Setting numeric '26201' to be the current operator
D/NetworkLocationProvider( 1172): onCellLocationChanged [37458,35]
W/KeyCharacterMap( 1249): No keyboard for id 0
W/KeyCharacterMap( 1249): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
E/keystore( 1598): chdir: /data/misc/keystore: Permission denied
I/XT9IME ( 1227): [finishInput]
W/KeyCharacterMap( 1235): No keyboard for id 0
W/KeyCharacterMap( 1235): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
I/ActivityManager( 1172): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.browser/.BrowserActivity }
W/BatteryStatsImpl( 1172): Couldn't get kernel wake lock stats
E/keystore( 1599): chdir: /data/misc/keystore: Permission denied
I/XT9IME ( 1227): [startInput]
I/XT9IME ( 1227): [setInputConnection]: [email protected]e38f50
W/InputManagerService( 1172): Starting input on non-focused client [email protected] (uid=10002 pid=1433)
I/XT9IME ( 1227): [finishInput]
I/XT9IME ( 1227): [startInput]
I/XT9IME ( 1227): [setInputConnection]: inp[email protected]b68
D/SearchDialog( 1172): launching Intent { act=android.intent.action.VIEW dat=h t tp://w w w .msn. c o m/ flg=0x10000000 cmp=com.android.browser/.BrowserActivity (has extras) }
I/SearchDialog( 1172): Starting (as ourselves) h t tp://w w w .msn. com #Intent;action=android.intent.action.VIEW;launchFlags=0x10000000;component=com.android.browser/.BrowserActivity;S.query=http%3A%2F%2Fw w w .msn. c o m%2F;S.user_query=;end
I/ActivityManager( 1172): Starting activity: Intent { act=android.intent.action.VIEW dat=h t tp://w w w .msn. c o m/ flg=0x10000000 cmp=com.android.browser/.BrowserActivity (has extras) }
I/XT9IME ( 1227): [startInput]
I/XT9IME ( 1227): [setInputConnection]: [email protected]e1efc0
W/IInputConnectionWrapper( 1172): showStatusIcon on inactive InputConnection
E/browser ( 1433): onReceivedError -2 h t tp://w w w.msn. c o m/ Die URL konnte nicht gefunden werden.
D/dalvikvm( 1227): GC freed 771 objects / 40128 bytes in 300ms
E/keystore( 1603): chdir: /data/misc/keystore: Permission denied
E/browser ( 1433): onReceivedError -2 h t tp://w w w.google. c o m/m?client=ms-android-tmobile&source=android-home Die URL konnte nicht gefunden werden.
Note, that I had to put "spaces" in the external links, otherwise I could not post here.
I also tried at tool called "anycut" where one can add a shortcut and get extended options via executing it, e.g. one can "turn off" and "turn on" the mobile phone connection. It also shows more details, like the GSM service is "on line".
Link to article (remove the spaces at the beginning):
h t t p ://thewichitacomputerguy.com/blog/how-i-fixed-your-sim-card-does-not-allow-connection-network-g1
/justin

I`ve got the same problem, but on my first test it worked. Now I try all configurations from my first test, because the first test was succesful I think that the information you need were placed in the data.img. As I needed a new configuration I deleted the data.img, after this I couldn`t again use an data connection.

in my log the 3g-connection is established using if-up. That creates an ppp-interface, i can see that with ifconfig.
Looking at your log, it seems to me, that android is not even trying to connect. Maybe it is some hardware issue? Please take a look at the linux kernel log using
Code:
dmesg > /sdcard/dmesg.txt
You could play around with the if-up command, too. This seems to be standard linux stuff, so ask google about that.

Update
I checked the kernel log and can only see the following entries related to ppp, modem or IF (also after turning airplane mode on and off and browsing the internet):
[ 20.993316] init: cannot open '/initlogo.rle'
[ 21.256164] init: cannot find '/setupmodem.sh', disabling 'setupmodem'
[...]
[ 1.881805] PPP generic driver version 2.4.2
[ 1.882385] PPP Deflate Compression module registered
[ 1.882598] PPP BSD Compression module registered
[...]
[ 2505.351531] mpd_ppp: img is of wrong format
[ 2505.557373] mpd_ppp: img is of wrong format
I noticed, there is a ip-up file in /etc/ppp .
When I run that file, then I get the error that dir /smodem does not exist.
It looks like this file would either use ppp0 or ppp1 as interface (if it would exist). It is strange that there are hardly any logs regarding 3G, as if the 3G hardware would not exist.
The ifconfig only shows "lo", "tiwlan0" and "usb0" interfaces.
/justin

Logs
Hi,
I created new logs (logcat and dmesg) and attached them to here (and split them, to fit the limitations).
What did I do before generating the logs:
- Reboot, start android
- Airplane mode on
- Airplane mode off
- start browser, and try 2 - 3 internet sites
/justin

Does not give me a clue
At some point pppd is called by android. It uses /dev/smd0 for AT-commands and /dev/smd1 for gprs-data. Please make sure that you have these two devices. Then try to run pppd manualy. That may give a hint on what is wrong.
It is also possible that pppd is never called. Does anybody have some info about when and where android calls pppd?

Same issue here, with running Android on X1 in the Netherlands with Vodafone. (verified APN settings with a working Androind phone)
I'm trying to work out what is happening: /dev/smd0 and /dev/smd1 are present, but I'm struggling to start pppd by hand, since I can't really find the correct syntax.. just call it with the params from /etc/ppp/smd1.... file ?
And I might be misstaken, but shouldn't there be a pppd connect script somewhere ? I can't find it anywhere.

I had the problem with non-workin 3g connection. However, as I were adding a new APN it just started working right after I typed in the IP-address for the mms-server. I don't now if it was my input that made the difference because last night a small symbol popped up right next to the signal bars, looked like som kind of update symbol and well now the 3g acess to the internet works.
I wish I could be more specific.

I do have the 3G icon after setting it up, but internet doesn't work. Is this normal?

Cheekbone said:
I do have the 3G icon after setting it up, but internet doesn't work. Is this normal?
Click to expand...
Click to collapse
That's exactly my issue.. I get G/3G symbol, but no data. fiddling with the APN did not solve the issue.

Tested android version from April 22, same issue (not working)
Hi,
I have tested the newer release of the android software from april 22 (link below),
http://forum.xda-developers.com/showthread.php?t=666735
issue is unfortunatly still there.
/j

I get the same issue with you...

never had any issue with 3g in any android build, since now I'm using htc sense maybe this thread/post could be of help (download base package from first post) try "rootfs_use_if_pbs_booting.img" & report back if it works.

I installed the rootfs.img from that thread with the mention of vodafone in the name, overwrote my normal rootfs.img, and still no dice, and android seems to crash a lot with this rootfs.
thanks for the help though.

Related

Gmail app [FORECLOSE ]

Anyone here with the problem of the Gmail app foreclose right at the point you open it
That's if ur using build cyans 4.2.4 or 4.2.5
Plz any help is welcome
If u have same problem and if u can reach me faster. Here's my gtalk
[email protected]
Thanks you
im having the same issue it has been buggin me all day and hey what spl are you using?
i'm having the same problem myself. can you use logcat after you experience a force close. i'm going to post mine when i get a chance.
i have the haykuro death spl.
danger spl
Fudge guys .. I just barely finished wiping
And I'm using haykuros a.k.a danger spl
I don't know to use the log cat never had a chance or never neeeded to use it sorry guys
All I can say is that my app will only bring up a foreclose window and that's it nothing else
If u wanna hit me on gtalk go ahead plzz if u fix the problem
log cat
Log cat would be that app on the build right ??
Well I open it and yeah I choose it on gmail .. but nada it just takes me to gmail and it forecloses on me as soon I open it .. .. so no log cat info can be provided by me sorry guys
do adb logcat in windows....
Wipe and reflash the ADP recovery image and then flash cyan on top
thanx
Thanx for that info .. ill do it as soon I'm near a pc .. thanx
Even thos idk how to use adb .. ill have to learn it
anyone ever got a process.google.gapps? it happens when i try to open gmail and when i try to sync from data sync. in setting..it would open then close just as fast!
i flashed a theme and for some reason only the theme...even with stock apps..revised apps and so on.. it gave me that FC.. its not doin it now cause i freshed wipe but does anyone know what that could be from? ima theme my phone and then if it does it i will get my logcat ready for yall! lol..
I've had the same issue since I started loading themes onto the
device. I was on 4.2.3.1 and it continued when I upgraded to 4.2.4. I
have a T-Mobile Mytouch3g and I'm running 32b. I wiped and flashed
the HTC_ADP_1.6_DRC83_rooted_base.zip and then flashed the cyano 4.2.5
and I was finally able to get my gmail working. I'm confident if I
start installing themes again I'm going to experience this issue
same for me when i theme
here is my logcat.. only forcecloses themes when its by it self it works just fine!!
also i cant open data sync from settings!
D/dalvikvm( 234): GC freed 4310 objects / 215352 bytes in 127ms
I/ActivityManager( 144): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.androi
d.gm/.ConversationListActivityGmail }
I/ActivityManager( 144): Start proc com.google.android.gm for activity com.goog
le.android.gm/.ConversationListActivityGmail: pid=736 uid=10036 gids={3003}
I/ActivityThread( 736): Publishing provider com.google.android.gm.attachmentspr
eviews: com.google.android.gm.AttachmentPreviewProvider
I/ActivityThread( 736): Publishing provider com.google.android.gmail.Suggestion
Provider: com.google.android.gm.SuggestionsProvider
I/ActivityThread( 736): Publishing provider com.google.android.gm.status: com.g
oogle.android.gm.SenderStatusProvider
I/ActivityManager( 144): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.LAUNCHER] flg=0x2800000 cmp=com.google.android
.gm/.ConversationListActivity }
V/Gmail ( 736): onCreate(), id=com.google.android.gm.ConversationListActivity
@43679d08
I/ActivityManager( 144): Starting activity: Intent { flg=0x2000000 cmp=com.goog
le.android.gm/.WaitActivity (has extras) }
I/ActivityManager( 144): Displayed activity com.google.android.gm/.Conversation
ListActivity: 88 ms (total 539 ms)
W/InputManagerService( 144): Starting input on non-focused client com.android.i
[email protected] 0 (uid=10036 pid=736)
W/InputManagerService( 144): Client not active, ignoring focus gain of: com.and
[email protected] 37082a0
W/InputManagerService( 144): Window already focused, ignoring focus gain of: co
m.android.internal.view.IInputMethodClient$Stub$Pr [email protected]
D/ForecastProvider( 510): query() with uri=content://com.androidapps.widget.wea
ther2/appwidgets/5
D/ForecastProvider( 510): query() with uri=content://com.androidapps.widget.wea
ther2/appwidgets/5
D/dalvikvm( 510): GC freed 853 objects / 448232 bytes in 80ms
I/ActivityManager( 144): Process com.google.android.gm (pid 736) has died.
D/dalvikvm( 234): GC freed 3207 objects / 163008 bytes in 132ms
I/ActivityManager( 144): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.android.launcher/
.Launcher }
I/ActivityManager( 144): Starting activity: Intent { act=android.settings.SETTI
NGS flg=0x10200000 cmp=com.android.settings/.Settings }
I/ActivityManager( 144): Starting activity: Intent { cmp=com.android.providers.
subscribedfeeds/com.android.settings.SyncSettings }
W/InputManagerService( 144): Starting input on non-focused client android.view.
[email protected] (uid=1000 pid=144)
W/InputManagerService( 144): Client not active, ignoring focus gain of: android
[email protected]
W/InputManagerService( 144): Window already focused, ignoring focus gain of: co
m.android.internal.view.IInputMethodClient$Stub$Pr [email protected]
I/ActivityManager( 144): Starting activity: Intent { cmp=com.android.providers.
subscribedfeeds/com.android.settings.SyncSettings }
W/InputManagerService( 144): Starting input on non-focused client android.view.
[email protected] (uid=1000 pid=144)
W/InputManagerService( 144): Client not active, ignoring focus gain of: android
[email protected]
W/InputManagerService( 144): Window already focused, ignoring focus gain of: co
m.android.internal.view.IInputMethodClient$Stub$Pr [email protected]
I/ActivityManager( 144): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.android.launcher/
.Launcher }
W/InputManagerService( 144): Starting input on non-focused client com.android.i
[email protected] 8 (uid=1000 pid=699)
wipe
I'm back guys thanx for all the replys
But maybe I should give more info on what I tryed todo while trying to fix my gmail app
-I wiped fresh many times and I could say straight out 4 times I swear
-I only used 2 themes .. 2.0 eclair theme and. Davids custome theme that I requested
+ I have no partitions
+I have not done anay hard stuff one my fone other than the basics
+I have. Dream
With danger spl
8 gigs sd
I have lastest build of cyans 4.2.5 and this problem started when I had flash 4.2.4 before that everything was fine
Did you have the Stericson's lockscreen?
Also, post the logcat with the code tags. I don't see any exceptions in the logcat
B-man007 said:
Did you have the Stericson's lockscreen?
Also, post the logcat with the code tags. I don't see any exceptions in the logcat
Click to expand...
Click to collapse
nopr no stricson...
i used marks theme.. its always worked until 4.2.4 then i started havin issues
You said you tried the android 2.0 theme? I had that issue with that theme. There is one for the dream and one for sapphire. Whichever one you used, use the other one and see how that works.
I also found it to be related to themes as i had the same problems with certain themes. It may be due to bad ports but im not sure.
Also, the economy must be really bad if they are foreclosing on google apps
i get em on
markstheme
android 2.0 theme from g1_lucky
and dark dream all the ones i tried..
i open cyan and changed colors of some of the i cons and stuff and it worked fine although im sure it has nadda to do with that but still i got no force closes doin that..
so hmm idk..
Are you sure you didn't have the Stericson lock screen? there was a problem with it so an update for it was release

SOLVED Help request: No GPS in 1.6 ROMs

I've tried every possible idea i can think of to get GPS to work in the AOSP 1.6 and ghibs 1.6 build, and neither work. I've done full wipes for both, flashed both correctly, installed the bits correctly, and cannot get GPS to function. It turns on (well it checks) but nothing ever turns on, and it can never locate me.
Any suggestions or explanations why GPS would not be working?
EDIT:
Did a RUU, wiped, rerooted and flashed from stock. Seems to be working now.
myke66 said:
I've tried every possible idea i can think of to get GPS to work in the AOSP 1.6 and ghibs 1.6 build, and neither work. I've done full wipes for both, flashed both correctly, installed the bits correctly, and cannot get GPS to function. It turns on (well it checks) but nothing ever turns on, and it can never locate me.
Any suggestions or explanations why GPS would not be working?
Click to expand...
Click to collapse
Can you pull /etc/gps.conf and /system/etc/gps.conf and post the contents of each, the reason I ask is because I had an issue with this file on ghil 1.6 and had to replace that file to get it to work. More than likely that wont be the issue, but it doesn't hurt to check everything.
theoottesen said:
Can you pull /etc/gps.conf and /system/etc/gps.conf and post the contents of each, the reason I ask is because I had an issue with this file on ghil 1.6 and had to replace that file to get it to work. More than likely that wont be the issue, but it doesn't hurt to check everything.
Click to expand...
Click to collapse
Will do. Second.
from /etc
NTP_SERVER=north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
QOS_ACCURACY=16
Click to expand...
Click to collapse
and from /system/etc
NTP_SERVER=north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
QOS_ACCURACY=16
Click to expand...
Click to collapse
myke66 said:
Will do. Second.
from /etc
and from /system/etc
Click to expand...
Click to collapse
Yeah that is the same contents of what I had to put it to get mine to work. So I dont think that is it.
If you want to test here is the contents of the gps.conf that did not work for me, you could try and replace it and see if it works out, I know it worked for some people, worth a shot right?
NTP_SERVER=north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
SUPL_HOST=supl.google.com
SUPL_PORT=7276
Click to expand...
Click to collapse
theoottesen said:
Yeah that is the same contents of what I had to put it to get mine to work. So I dont think that is it.
If you want to test here is the contents of the gps.conf that did not work for me, you could try and replace it and see if it works out, I know it worked for some people, worth a shot right?
Click to expand...
Click to collapse
Sure, ill give that a try, but just to be clear, i dont believe GPS is even turning on, its simply doing nothing when its "turned on" in the options. Ill update and see if that does anything.
Edit: Still nothing. No change whatsoever in the behavior, it just doesnt start GPS. There isnt even an icon for it on the taskbar. It's as if its never turned on, but it is checked.
myke66 said:
Sure, ill give that a try, but just to be clear, i dont believe GPS is even turning on, its simply doing nothing when its "turned on" in the options. Ill update and see if that does anything.
Click to expand...
Click to collapse
Dont forget to reboot after the changes. Just to clarify, are you getting the flashing gps icon on the top bar when you go into google maps?
Edit: Ha you beat me!! The next thing I would suggest is change gps.conf back to the original contents, reboot. Then run turn off gps in the location settings, run "adb logcat" and turn the gps back on and post the results of what happens when you check the box so the dev can see that, hopefully it will tell them whats going on with it.
theoottesen said:
Dont forget to reboot after the changes. Just to clarify, are you getting the flashing gps icon on the top bar when you go into google maps?
Click to expand...
Click to collapse
I did reboot before trying again. I'm getting no icon whatsoever. Like i was saying, its like GPS never turns on.
See my edit in the above post ^^
theoottesen said:
See my edit in the above post ^^
Click to expand...
Click to collapse
Alrighty, already changed it back to that, so ill do the logcat.
D/GpsLocationProvider( 79): enable
D/libgps ( 79): DeferredActionThread started
D/GpsLocationProvider( 79): GpsEventThread starting
D/GpsLocationProvider( 79): pass mutex_lock
D/GpsLocationProvider( 79): NetworkThread starting
D/GpsLocationProvider( 79): setMinTime 1000
D/GpsLocationProvider( 79): NetworkThread out of wake loop
D/GpsLocationProvider( 79): Requesting time from NTP server north-america.pool
.ntp.org
D/GpsLocationProvider( 79): startNavigating
D/libgps ( 79): set PositionMode = 0, sFixFrequency = 1
D/libgps ( 79): qct_gps_start
D/libgps ( 79): pthread_cond_wait returned
D/libgps ( 79): DeferredActionThread calling send_get_position
D/libgps ( 79): PD send_get_position mode: 0, fixFrequency: 1, requestedTimeo
ut: 2, requestedAccuracy: 50, count: 268435455
D/libgps ( 79): PD command:
D/libgps ( 79): RPC_PDSM_PD_CMD_GET_POS
D/SntpClient( 79): round trip: 514 ms
D/SntpClient( 79): clock offset: -17697 ms
D/GpsLocationProvider( 79): calling native_inject_time: 1264578435047 referenc
e: 501771 certainty: 257
D/GpsLocationProvider( 79): NetworkThread wait for 14400000ms
D/GpsLocationProvider( 79): stopNavigating
D/libgps ( 79): pthread_cond_wait returned
D/libgps ( 79): DeferredActionThread calling send_end_session
D/libgps ( 79): PD command:
D/libgps ( 79): RPC_PDSM_PD_CMD_END_SESSION
D/GpsLocationProvider( 79): disable
D/GpsLocationProvider( 79): stopNavigating
D/GpsLocationProvider( 79): pass cond_wait
D/GpsLocationProvider( 79): unlocked mutex
D/GpsLocationProvider( 79): GpsEventThread exiting
D/GpsLocationProvider( 79): stopping NetworkThread
D/GpsLocationProvider( 79): NetworkThread out of wake loop
D/GpsLocationProvider( 79): NetworkThread exiting
D/libgps ( 79): qct_gps_set_fix_frequency(-1452191720)
Click to expand...
Click to collapse
Thats my log from starting, waiting a few, then turning it off.
Edit: Just checked the log for gmaps when trying to find my location and nothing of any use came up, just showed my inputs, and the output of no GPS being found.
It definitely looks different than mine, I am on Modaco's newest rom and I get this when I turn on gps. Hopefully someone more knowledge than myself can help out. Dont know if it makes that much of a difference being on a different rom, if so I can flash to 1.6 and post the logcat that I get from that, or if someone following this thread running 1.6 can post it that would work too.
D/GpsLocationProvider( 144): enable
V/AutoSettingReceiver( 185): AutoSettingReceiver onReceive() : com.htc.app.autosetting.cancel
D/libgps ( 144): DeferredActionThread started
D/GpsLocationProvider( 144): GpsEventThread starting
D/GpsLocationProvider( 144): NetworkThread starting
D/GpsLocationProvider( 144): NetworkThread out of wake loop
D/GpsLocationProvider( 144): Requesting time from NTP server north-america.pool.ntp.org
D/HtcCdmaStatusBar( 144): provide dormancy network icon net:6
D/SntpClient( 144): round trip: 493 ms
D/SntpClient( 144): clock offset: -29919 ms
D/GpsLocationProvider( 144): calling native_inject_time: 1264578644010 reference: 23695123 certainty: 246
D/libgps ( 144): qct_gps_inject_time(1264578644010, 23695123, 246)
D/libgps ( 144): XTRA command:
D/libgps ( 144): RPC_PDSM_XTRA_CMD_TIME_INFO_INJ
D/libgps ( 144): FUNC_RPC_PDSM_XTRA_INJECT_TIME_INFO result: true
D/GpsLocationProvider( 144): NetworkThread wait for 14400000ms
D/libgps ( 144): XTRA event: RPC_PDSM_XTRA_EVENT_STATUS, disc: 2
D/libgps ( 144): flags: 00000001
D/libgps ( 144): status: 1
Click to expand...
Click to collapse
theoottesen said:
It definitely looks different than mine, I am on Modaco's newest rom and I get this when I turn on gps. Hopefully someone more knowledge than myself can help out. Dont know if it makes that much of a difference being on a different rom, if so I can flash to 1.6 and post the logcat that I get from that, or if someone following this thread running 1.6 can post it that would work too.
Click to expand...
Click to collapse
and thats what's even more frustrating, is that GPS on any of the 1.5 roms (fresh, TTG modaco) all work fine.
Well at this point I'm out of ideas, sorry I couldn't have been of more help.
Bump for any ideas
Fixed. Edit in first post.

[Q] OpenVPN Problems with Droid 3

Tried setting up OpenVPN with rooted Steel Droid and it
connects but doesn't route traffic over the browser.
Wondering if I need to set routing tables differently for it to work since these custom kernels don't work on Droid 3.
Using SSL with tun.ko enabled.
OpenVPN binary set to /system/xbin/openvpn and configurations in /sdcard/openvpn.
Done a who.is and it still comes back with Verizon IP address.
Any suggestions or possibly a routing table example?
Did you read this:
http://forum.xda-developers.com/showthread.php?t=1271536
I'm having the exact same problem. OpenVPN connects, but no traffic goes through VPN..
Paste your outpout of
ip route
ip addr
so we can figure it out what is happening.
Here is the output when OpenVPN is connected:
Code:
C:\Users\Matt\Desktop>"C:\Program Files (x86)\Android\android-sdk-windows\platform-tools\adb.exe" shell
[email protected]_solana:/$ ip route
ip route
10.10.0.5 dev tun0 proto kernel scope link src 10.10.0.6
98.145.116.191 via 66.174.201.132 dev ppp0
66.174.201.132 dev ppp0 scope link
66.174.201.132 dev ppp0 proto kernel scope link src 10.228.114.160
default via 66.174.201.132 dev ppp0
[email protected]_solana:/$ ip addr
ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: usb0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 8e:cd:9b:8e:73:75 brd ff:ff:ff:ff:ff:ff
3: gether0: <BROADCAST,MULTICAST> mtu 1428 qdisc noop state DOWN qlen 1000
link/ether 5e:bf:ba:15:68:12 brd ff:ff:ff:ff:ff:ff
4: sit0: <NOARP> mtu 1480 qdisc noop state DOWN
link/sit 0.0.0.0 brd 0.0.0.0
5: ip6tnl0: <NOARP> mtu 1460 qdisc noop state DOWN
link/tunnel6 :: brd ::
6: tun: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 500
link/ether 56:65:b5:b7:5c:98 brd ff:ff:ff:ff:ff:ff
10: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 3
link/ppp
inet 10.228.114.160 peer 66.174.201.132/32 scope global ppp0
12: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 100
link/[65534]
inet 10.10.0.6 peer 10.10.0.5/32 scope global tun0
[email protected]_solana:/$
My OpenVPN server IP is 98.145.116.191, yet when I go to whatismyip.com on my phone it is still 174.255.162.200.
Here is my OpenVPN server config
Code:
port 5555
dev tun
proto tcp
comp-lzo
float
keepalive 10 60
ping-timer-rem
resolv-retry 60
status openvpn-status.txt
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 10.10.0.0 255.255.255.0
verb 4
mode server
push "redirect-gateway def1"
My client config
Code:
client
remote zone117x.dyndns.info 5555
proto tcp
comp-lzo
dev tun
float
ping-timer-rem
resolv-retry infinite
route-gateway 10.10.0.1
dhcp-option DNS 10.10.0.1
keepalive 10 120
ca ca.crt
cert client1.crt
key client1.key
I confess, I'm a little bit surprised by your output. ifconfig seems to have worked, and there is a host route to your VPN server, which is good, too.
However the default route didn't switch.
Could you please try the following, as root on command line:
route add -net 0.0.0.0/1 dev tun0
route add -net 128.0.0.0/1 dev tun0
Does this help?
BTW, even if this works, I guess you will run into MTU issues. Add something like "mssfix 1200" to your openvpn config.
It's saying invalid argument when I try both of those. Should I be using those IPs?
Sorry, I'm mostly clueless with this networking..
Resurrect from the dead.
I don't mean to resurrect this but I still can't get OpenVPN. I was wondering if anybody knew if a custom TUN.ko was still needed but the locked bootloader prohibited this still.
On another note I was hoping I could just reconfigure the iptables or iproute from the Droid 3 source and somehow use AOKP CM9 build to try this out. OpenVPN wasn't listed in the CM9 VPN listings but didn't know if it were possible to change that or revert to Stock Rom and go from there.
OpenVPN
I am running Maverick ROM 3.5 (based on stock firmware system files) and something really strange is happening.
I am able to connect to my openvpn server and i am able to access the file shares on the network and of course copy, delete or upload files. I am also able to connect to ssh server. BUT i cannot connect to any http servers inside to remote network !!!
Its really weird as i know my openvpn conf files are fine (i was using the same files with an openvpn client to a different phone and i was able to access the http servers from there.)

[Q] wifi stopped working, logcat inside

he everyone,
i using my trusty with CM7.0.1 for along time, actually since CM7.0.1 was released and all was fine.
until today, when my wifi stopped working.
at first i saw that the unlock screen will no show, and after poking around i figured that it was because every time wifi was trying to be enabled it hanged and cause the phone to act weird.
trying to turn on wifi will cause it to hang, and sometimes show the "error" error on the wifi setting.
you can see my logcat during attempt to activate wifi, please help me understand what is going on here, and figure out if my wifi is toasted.
i can think of ANYTHING that i did that might have caused this, i installed nothing, changed no setting i could think of.
the only thing i can think of, is that i washed the dishes with the phone in my pocket, i do not think i got wet, but who knows.
what i did notice in the log were a few things:
1. Failed to disable WPA in the driver.
2. Supplicant not running, cannot connect
3. Supplicant died unexpectedly
4. Reset connections and stopping DHCP
5. Disabling interface
all do not sound very promising...
help please!
here are the logcat:
Code:
I/ActivityManager( 165): Displayed com.android.settings/.WirelessSettings: +383ms
D/SettingsAppWidgetProvider( 638): Widget is from a previous version... Let's update
D/SettingsAppWidgetProvider( 638): No instances yet... Wait for at least one instance to exist before adding global settings
D/dalvikvm( 638): GC_CONCURRENT freed 88K, 46% free 3016K/5575K, external 837K/1034K, paused 2ms+3ms
D/WifiService( 165): ACTION_BATTERY_CHANGED pluggedType: 2
D/WifiService( 165): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
E/wpa_supplicant( 666): ioctl[SIOCGIFFLAGS]
D/SettingsAppWidgetProvider( 638): Widget is from a previous version... Let's update
D/SettingsAppWidgetProvider( 638): No instances yet... Wait for at least one instance to exist before adding global settings
E/wpa_supplicant( 666): ioctl[SIOCSIWPMKSA]
E/wpa_supplicant( 666): ioctl[SIOCSIWMODE]
E/wpa_supplicant( 666): ioctl[SIOCGIRANGE]
E/wpa_supplicant( 666): ioctl[SIOCGIWMODE]
E/wpa_supplicant( 666): ioctl[SIOCSIWAP]
E/wpa_supplicant( 666): ioctl[SIOCSIWENCODEEXT]
E/wpa_supplicant( 666): ioctl[SIOCSIWENCODE]
E/wpa_supplicant( 666): ioctl[SIOCSIWENCODEEXT]
E/wpa_supplicant( 666): ioctl[SIOCSIWENCODE]
E/wpa_supplicant( 666): ioctl[SIOCSIWENCODEEXT]
E/wpa_supplicant( 666): ioctl[SIOCSIWENCODE]
E/wpa_supplicant( 666): ioctl[SIOCSIWENCODEEXT]
E/wpa_supplicant( 666): ioctl[SIOCSIWENCODE]
I/wpa_supplicant( 666): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00:00:00:00:00:00
E/wpa_supplicant( 666): Failed to disable WPA in the driver.
E/wpa_supplicant( 666): ioctl[SIOCGIWMODE]
E/wpa_supplicant( 666): ioctl[SIOCSIWAP]
E/wpa_supplicant( 666): ioctl[SIOCGIFFLAGS]
D/WifiService( 165): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
D/dalvikvm( 279): GC_EXPLICIT freed 237K, 49% free 3164K/6151K, external 3246K/3357K, paused 44ms
E/WifiHW ( 165): Supplicant not running, cannot connect
E/WifiHW ( 165): Supplicant not running, cannot connect
E/WifiHW ( 165): Supplicant not running, cannot connect
V/WifiStateTracker( 165): Supplicant died unexpectedly
D/WifiStateTracker( 165): Reset connections and stopping DHCP
D/WifiStateTracker( 165): Disabling interface
D/WifiStateTracker( 165): Reset connections and stopping DHCP
D/Tethering( 165): MasterInitialState.processMessage what=3
D/GTalkService( 311): ##### Network broadcast (connected=true) type=WIFI, state=DISCONNECTED
D/GTalkService( 311): [GTalkConnection.1] ### networkStateChanged: active and curr network type/state are the same(0/CONNECTED), ignore
D/Tethering( 165): MasterInitialState.processMessage what=3
D/GTalkService( 311): ##### Network broadcast (connected=true) type=mobile, state=CONNECTED
D/GTalkService( 311): [GTalkConnection.1] ### networkStateChanged: active and curr network type/state are the same(0/CONNECTED), ignore
D/SettingsAppWidgetProvider( 638): Widget is from a previous version... Let's update
D/SettingsAppWidgetProvider( 638): No instances yet... Wait for at least one instance to exist before adding global settings
D/CMStats ( 428): CONNECTIVITY_ACTION: noConnectivity = false
I/MediaUploader( 593): No need to wake up
D/CMStats ( 428): CONNECTIVITY_ACTION: noConnectivity = false
I/MediaUploader( 593): No need to wake up
D/dalvikvm( 311): GC_CONCURRENT freed 431K, 48% free 3201K/6151K, external 0K/512K, paused 12ms+3ms
D/WifiStateTracker( 165): Disabling interface
D/SettingsAppWidgetProvider( 638): Widget is from a previous version... Let's update
D/SettingsAppWidgetProvider( 638): No instances yet... Wait for at least one instance to exist before adding global settings
D/dalvikvm( 395): GC_EXPLICIT freed 379K, 51% free 2799K/5703K, external 0K/0K, paused 65ms
D/dalvikvm( 428): GC_EXPLICIT freed 156K, 49% free 2897K/5575K, external 0K/0K, paused 53ms
D/dalvikvm( 593): GC_EXPLICIT freed 94K, 50% free 2704K/5379K, external 0K/0K, paused 65ms
thank you!
this might be a hardware issue. Try reseating the cables on the bottom of the phone and see if it fixes your issue.
The Nexus one cables become loose after a while, I know mine did.

[Q] (Problem) Make Raspberry pi share internet via Ethernet (Filter)

Greetings,
I use Raspbian.
I come over here, I'm a beginner, and I would like to ask for help on an issue (draft) I'm doing.
Explained below:
First of all I have Raspbian in my Raspberry Pi, then I want to do is set this as a network node to monitor through "dumpcap" packets that pass through my network, I've done I installed everything necessary in fact I've already running great, I've done through a Wireless (USB) adapter from functioning as "Access Point" wireless (so will download the files to be saved), I've come this far following this tutorial: (Photo Attached) and another pair.
The fact is that since I could configure all my peripherals, the problem lies in the following:
I need to connect from my local home router or from the Internet source (ADSL Modem), through an Ethernet cable to my Raspberry Pi (which work to record all packets My network traffic by "dumpcap") it is noteworthy that this will have perfectly configured, then I need through another Ethernet cable which my computer (PC) will be connected by a transformer USB-> Ethernet (attached reference picture), for example, that I have done and the only mistake that happens to me is that my PC does not receive Internet remains limited, in theory I need to do is that the Raspberry Pi function as a filter through which to capture packets of dumpcap store in some files (this is already done), but then the computer will connect by USB-port Ethernet continues to have internet and work perfectly as if connecting from the ADSL modem to the PC directly.
Could anyone help?
Thanks in advance.
-----------------
Deputy contents of the most usual configuration files so that any expert tell me if I have an error .
/etc/default/isc-dhcp-server
Code:
# Defaults for isc-dhcp-server initscript
# sourced by /etc/init.d/isc-dhcp-server
# installed at /etc/default/isc-dhcp-server by the maintainer scripts
#
# This is a POSIX shell fragment
#
# Path to dhcpd's config file (default: /etc/dhcp/dhcpd.conf).
DHCPD_CONF=/etc/dhcp/dhcpd.conf
# Path to dhcpd's PID file (default: /var/run/dhcpd.pid).
DHCPD_PID=/var/run/dhcpd.pid
# Additional options to start dhcpd with.
# Don't use options -cf or -pf here; use DHCPD_CONF/ DHCPD_PID instead
#OPTIONS=""
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="wlan0 eth0 eth1"
/etc/dhcp/dhcpd.conf
Code:
#...
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
#...
subnet 192.168.42.0 netmask 255.255.255.0 {
range 192.168.42.10 192.168.42.50;
option broadcast-address 192.168.42.255;
option routers 192.168.42.1;
default-lease-time 600;
max-lease-time 7200;
}
/etc/network/interfaces
Code:
auto lo
iface lo inet loopback
auto eth0
#iface eth0 inet dhcp
#iface lo inet loopback
iface eth0 inet static
address 192.168.42.2
netmask 255.255.255.0
#gateway 192.168.0.1
auto eth1
#iface eth1 inet static
#iface lo inet loopback
iface eth1 inet static
address 192.168.42.3
netmask 255.255.255.0
#gateway 192.168.0.1
auto wlan0
#allow-hotplug wlan0
iface wlan0 inet static
address 192.168.42.1
netmask 255.255.255.0
#auto wlan0
#allow-hotplug wlan0
#iface wlan0 inet manual
#wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
auto wlan1
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
up iptables-restore < /etc/iptables.ipv4.nat
/etc/hostapd/hostapd.conf
Code:
interface=wlan0
driver=rtl871xdrv
ssid=OggunLab
hw_mode=g
channel=6
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=Shabukenke01
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
/etc/default/hostapd
Code:
# Defaults for hostapd initscript
#
# See /usr/share/doc/hostapd/README.Debian for information about alternative
# methods of managing hostapd.
#
# Uncomment and set DAEMON_CONF to the absolute path of a hostapd configuration
# file and hostapd will be started during system boot. An example configuration
# file can be found at /usr/share/doc/hostapd/examples/hostapd.conf.gz
#
DAEMON_CONF="/etc/hostapd/hostapd.conf"
# Additional daemon options to be appended to hostapd command:-
# -d show more debug messages (-dd for even more)
# -K include key data in debug messages
# -t include timestamps in some debug messages
#
# Note that -B (daemon mode) and -P (pidfile) options are automatically
# configured by the init.d script and must not be added to DAEMON_OPTS.
#
----------------------

Categories

Resources