Working on modding a rom, but I can't figure this out - the internet works, I can browse just fine, send and receive text messages and calls, but when i try to set up Google I get an error saying I don't have a network connection OR a reliable connection can't be established. here's the logcat from the portion I think is causing the problem.
E/ActivityThread( 1183): Failed to find provider info for android.server.checkin
E/copybit ( 80): copyBits failed (Invalid argument)
E/libagl ( 80): copybit failed (Unknown error: -22)
I/XT9IME ( 226): [finishInput]
I/HTCIMEService( 226): [setWCLText]: wclText=, candIdx=0
I/HTCIMEService( 226): [finishInput]:
I/ActivityManager( 80): Displayed activity com.android.setupwizard/.LoginActiv
ityTask: 530 ms (total 530 ms)
Click to expand...
Click to collapse
Anyone know what might be causing this? Do you need any more information from me? I've checked and double checked, my APN information is all correct and I have a connection from T-Mobile.
OK, I think I figured out the problem - Google settings provider says (logcat) it was built for SDK 7 and this rom is running 6. I tried to simply trick the system to think it was 7 by editing the build.prop but that didn't change a thing.
I've also gotten several logcat errors on boot that say "wrong APN" even though it actually has the right APN (I can receive calls, make them, browse the web, etc) and I've confirmed by APN settings with T-Mobile.
Finally, I'm also getting some errors in logcat saying that the apk's were made for AOSP, but this is a release (Hero port). Not really sure where to start looking for a resolution.
I'm still reading through pdk.android.com, all of cyan's information and a ton of other documentation from other coders, btu I can't find direct reference to these problems. How do I delve deeper into my logcat? Where do I find information on these problems?
Any suggestions on the best way to track this down would be helpful and more than appreciated, I'm still elarning HOW to debug.
I'm just looking for a point in the right direction, something I can research - you don't have to fix the problem for me
EDIT: I think it might actually be the libs - specifically android_runtime and android_servers
Related
Hi,
I have been playing around with Android on my Niki300 (20 key, XDA Star, official O2 Germany ROM) for a while now, but I was not able to connect to the internet.
At the moment I am using the Ion-Android build found here: http://vogue-android.googlecode.com/files/Google-Ion-2009-09-12.zip
My default.txt looks like this:
set RAMSIZE 0x07000000
set RAMADDR 0x10000000
set FBDURINGBOOT 0
set MTYPE 1724
set KERNEL zImage
set initrd initrd.gz
set cmdline "board-htckaiser.panel_type=2 ppp.apn=internet ppp.username= ppp.password= board-kaiser-battery.battery_capacity=1800 mddi.width=320 mddi.height=480 lcd.density=160 msm_sdcc.msmsdcc_fmax=20000000 pm.sleep_mode=1 no_console_suspend board-kaiser-keypad.atttilt=1"
boot
Click to expand...
Click to collapse
I have also set up the same APN in Android. Modem App claims that it connected, but it didnt't. No connection symbol or working connection
I have already tried different Radios: 1.58.16.27 (originaly supplied with my phone), 1.58.21.23S Modded, 1.64.08.21K and 1.71.09.01K. It did not make a diference, so now I am back to the modded 1.58.
I hope someone can help me with this...
Greetings, mblaster
Internet
Turn your internet on in wm before you go to android
Thanks, unfortunately it didn't work for me either... Everything else seems to be fine, phone, sms and various apps work. Only internet is missing.
Another few things I have noticed: During the last bootup of android I got a force close error of com.htc.privider.. doesn't sound promising. Modem App seems to crash, when I use it after I made a call. Without a call it says "done" on startup and something like "already connected" after i press connect. After the call there was no status on startup and a hangup on pressing connect.
Any further suggestions? Or is there perhaps a better android port out there. I tried the Hero port from here: http://forum.xda-developers.com/showthread.php?t=544965 but it hangs in a loop during bootup on my phone.
Thank you for helping,
mblaster
Hmm, I also use the Hero port from NemanjaLo it it worked for me, only sending sms give's me a problem.
Maybe you can find more info in this thread http://forum.xda-developers.com/showthread.php?t=550541 or ask there a question.
Hope this helps
Thanks for the link, but I already have tried to follow those instructions without success. I managed to get the Hero image working by now. I works like a charm for me with the Ion basefiles, again except internet access. I am not sure if the problem lies in wrong apn settings or somewhere else. Perhaps I can test with another sim card in the afternoon.
Does anyone know where I can find the relevant log files for the modem/internet? I tried "logcat > log.txt" on the phone, but I did not find anything that seemed to be relevant to my problem.
mlaster
€: "logcat -b radio" seems more interesting...
€€: The Modem seems to be initialized with a strange IP as a parameter:
"AT< +CGDCONT: 1,"IP","internet","38.103.41.10",0,0"
The ip has nothing to do with my service provider (o2 germany), and also is not the dynamic ip that i had in wm. It is also not somewhere in my apn settings (neither in android nor in defaults.txt). Any ideas where this comes from and if it may be the cause for my problem?
OK, I found a workaround for that problem. I am still not sure what the cause is, but i suspect that the dialin number for a gsm phone is not dialed properly. Another thing might be that pppd is not started properly. If I have some spare time I will investigate that further.
My solution is a script that looks like this (where it says "surfo2" there should be your carrier's apn):
#/bin/sh
/bin/killall pppd
/bin/echo -e "AT+CGDCONT=1,\"IP\",\"surfo2\",\"\",0,0\r" > /dev/smd0
/bin/sleep 2
/bin/echo -e 'ATD*99***1#\r' > /dev/smd0
/bin/sleep 4
/bin/echo "startppp" > /smodem/control
Click to expand...
Click to collapse
I called it "net.sh" and placed it in the root of my sd card. After android has booted I run it with the terminal from the devtools (#su / #cd sdcard / #sh net.sh).
The script dials the dial in number *9***# and starts the ppp deamon. After running the script (sometimes twice, don't know why) the internet works normally. Connecting and disconnecting via modem app works too. I tested this in both android configurations described in one of my older posts in this thread.
Basically the dialup should be done on boot via ppp-on-dialer from the initrd. Dont know what goes wrong there...
I hope this information is useful to someone, perhaps the developers (btw: thanks for this great android port).
mblaster
Hi everyone,
I have searched far and wide regarding this matter, and I have not found anything useful regarding the Vibrant. I'm relatively new to Android's internals, I've only started messing around with my Vibrant 5 days ago.
What I'm trying to do is write AT commands to my modem and read the response. I found that apparently many Android devices (mostly HTC from what I've read) have a serial port called /dev/smd0 which can write and receive information from the GSM modem. I've been trying to search for the equivalent /dev/smd0 in the Samsung Vibrant (at least in my device there is no /dev/smd0).
I'm running the stock version of Android (2.1 update 1; Eclair). Baseband version T959UVKA2; kernel version 2.6.29.
So far I've created multiple programs to help me log information and pinpoint the device used to communicate with the GSM modem. I've been using an arm compiler and statically binding resources to my programs (C code).
So far I have attempted to log communication through different devices and serial ports that are owned by the radio group. The only device that I was able to successfully read traffic from was /dev/dpram0. I created a program that acts as a proxy between communication from and to this device (is this a serial port?). All the communication is encoded, which is the main problem I've faced to determine if this is actually the channel to send and receive AT commands. I've time-stamped my log and checked it against logs from logcat -b radio, and I believe I have found encoded AT data... but I cannot verify this.
I have tried writing to /dev/dpram0, but I receive no response. I'm guessing that because I'm using plain text AT commands, the modem does not parse the data. I would expect some kind of response that indicates an error code, but nothing has been received so far.
I have confirmed, however, that data regarding my contacts saved to the SIM card is transferred through this device. Logcat's output is nicely decoded, while the raw data is encoded (I can see plain text strings though!).
Because the data is encoded and I have no idea if there is any kind of sensitive data in the streams received, therefore I'm can't post my whole logs... However, I'll be posting examples that I believe contain nothing sensitive or personal. If anyone is able to decode the data, and find sensitive data, please let me know!
logcat -b radio: excerpt
Code:
...
E/RIL ( 3181): ril.sw_ver=T959UVKA2
E/RIL ( 3181): ril.hw_ver=REV0.3
E/RIL ( 3181): ril.rfcal_date=2010.7.5
E/RIL ( 3181): ril.product_code=SGH-T959ZKBTMB
...
my program's captured stream: Please see uploaded file.
The file contains what seems to be some type of encoded code.
Nutshell: Where are AT commands written to so the GSM modem can read them?
If anyone is willing to point me in the right direction, I would greatly appreciate it!
Thanks in advance!
- Ewido
For some reason it just all of a sudden stopped working. No idea why but now when I try to enable it it just says "Error".
Is there a log file or something to diagnose what this error is? I've uninstalled all possible Wifi apps that may be interfering to no avail.
I've also tried a 3rd party tethering app and still no go.
Rooted KG2, stock ROM 2.3.3
Okay, here's what I've discovered so far.
I installed Barnacle and when I went to run it, I got the error:
Starting...
Data network is ready
.ini file prepared
WIFI: drive loaded
WIFI: wpa_supplicant started
NAT: restart: Network is down
NAT: waiting for local interface
WIFI: Failed to connect to supplicant: No such file or directory
Stopped unexpectantly!
And then it tells me that "Barnacle had trouble starting wpa_supplicant. Try again but set "Skip wpa_supplicant" in settings." And once I set that it works properly.
Now I'm wondering, I had used SD Maid and ran the "Clean System" and "Optimize DBs". I'm afraid that while running those 2, it deleted something that is affecting this "wpa_supplicant" thing.
So with that said, can anyone help? Thanks.
I'm at my wits end. Can anyone suggest how I can diagnose this problem? Please and thanks.
My wife has an S2 also. Does anyone know if there's a tethering config folder I can copy from hers to mine that might fix this problem? Anyone??
Hey!
I´m developing an application for backing up different kinds of information stored in a smartphone.
Therefore I need to send the data from my device to another hardware, I want to realize it via Bluetooth but.
I use a bluetooth - module called "JY-MCU" for the external hardware I send the data to.
So faar so good, the only problem I have is the bluetooth connection which breaks up while sending the data.
E/bt-btif ( 905): unknown send() error, sent:-1, p_buf->len:93, errno:32
That's the LogCat entry I got.
I googled the errors but was not able to find any answer...I hope you guys can help me interpreting this error.
Thanks
markus
Hi!
I recently got an android 4.4.2 phone ( "uhappy up920" ) and I can't find any logs or any way to see WTF is going on. An application that wasn't originally included ( "Maxthon Cloud Browser" ) keeps getting reinstalled and I can't figure out how / why.
( Phone isn't / probably can't be rooted )
Any hints?
edit:
- the unwanted "maxthon cloud browser 4.1.4.2000" is an obsolete version that does not show up in play store or in f-mod when it's installed.
- "Avira" and "App install tracker" both show when it's getting installed, but offer no hints on how to find out why/how it is installed
- Sometimes it gets reinstalled only a few minutes after I remove it, sometimes it takes a few hours.
- After uninstalling the unwanted Browser, I can't locate any traces of it in the part of the file system I can access with an unrooted adb connection
- Can't find any connections to suspicious sources from the phone in my router's iptables logs either (there are no SIM cars in the phone) - then again, that's sort of hard since I don't know what to look for
- Kernel is 3.4.67, build date Mon Mar 2 12:35:55 CST 2015 - which probably leaves me with no working exploits for easy privilege escalation?
- Fastboot + the bootloader unlock function etc seem to be intentionally broken and it almost looks like I'm the only person in the world using this phone so, no idea how to get around that + more access to stuff
The only way I know how to get rid of "Maxthon Cloud Browser" and whatever/whoever keeps reinstalling it would be with a hammer, so any alternative suggestions are appreciated!
Found an installation file in a download directory under the name "com.mx.browser.mtk4.1.4.2000.apk" (no idea how I missed that earlier)
Deleting that wasn't enough to stop the browser from being reinstalled, so I copied + renamed a random mp3 (cut to have the same size with dd) to replace the file. Since then, it has not been reinstalled.
I've been waiting for the file to be replaced or at least for error messages concerning the "corrupted executable" to pop up somewhere and give away which service was the culprit, but so far there were none. So I'd guess whatever installed the browser is rather quiet and rather sloppily coded :/