Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
sp3dev
Old
#21  
Senior Member
Thanks Meter 668
Posts: 551
Join Date: Jul 2006
Location: Kaluga/Moscow
Guys and girls, the modem bootup sequence via the bootloader IPC transport is reversed ages ago by me for galaxy s2 and galaxy nexus. Take a look at the recent libsamsung-ipc and samsung-ril from replicant

https://github.com/morphis/libsamsung-ipc
https://gitorious.org/replicant/hard...commits/master
Sony Vaio SA3S9R, IBM ThinkPad R500, Samsung Galaxy S2 I9100 [u-boot multiboot]
Me on github
Me on gitorious
GIT d- s a-- c++ UL P--- !J--- L++++ E--- W- N O? K? w--- o ?V PS+ PE Y+ PGP++ t+ ?5 X++ R* !tv b++ DI++ D++ G++ e* h+
BTC 14KZnQkZR2GLnme7pYGs68MQVJHWwHGt3B
The Following 2 Users Say Thank You to sp3dev For This Useful Post: [ Click to Expand ]
 
E:V:A
Old
(Last edited by E:V:A; 27th February 2013 at 09:56 PM.) Reason: Tired eyes made poor comment. Rewrote comment!
#22  
E:V:A's Avatar
Recognized Developer - OP
Thanks Meter 1065
Posts: 868
Join Date: Dec 2011
Location: -∇ϕ
Quote:
Originally Posted by sp3dev View Post
Guys and girls, the modem bootup sequence via the bootloader IPC transport is reversed ages ago by me for galaxy s2 and galaxy nexus. Take a look at the recent libsamsung-ipc and samsung-ril from replicant

https://github.com/morphis/libsamsung-ipc
https://gitorious.org/replicant/hard...commits/master
Excellent! But how can we use it? (We need a binary or App that can actually connect to ATCoP from userspace. As far as I can see, the only such interface binary (modemctl.c) is just doing some very rudimentary On/Off/reset stuff.

Code:
...
void print_help()
{    printf("usage: modemctrl <command>\n");
    printf("commands:\n");
    printf("\tstart                 bootstrap modem and start read loop\n");
    printf("\tbootstrap             bootstrap modem only\n");
    printf("\tpower-on              power on the modem\n");
    printf("\tpower-off             power off the modem\n");
    printf("arguments:\n");
    printf("\t--debug               enable debug messages\n");
    printf("\t--pin=[PIN]           provide SIM card PIN\n");
}
...
We need an actual way (like ipctool) to send receive AT command responses.

In addition, it only works (AFAIK) on XMM6260 type CP/BP's and not on Qualcomm. It also seem to require some funky way of installing a new kernel...which would preferably be avoided. While at the same time being incomplete not supporting other features like GPS, 3D graphics engine and BT. At least according to your I9100 4.0 Status page.
MSM8960 Info, Architecture and Bootloader(s)
El Grande Partition Table Reference
How to talk to the Modem with AT commands

The Samsung Anyway Jig + DIY
_______________________________
If you like what I do, just click THANKS!
Everything I do is free, altruism is the way!
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
I do not answer support related PM's.

 
Bob Smith42
Old
#23  
Senior Member
Thanks Meter 56
Posts: 516
Join Date: Jun 2011
Default Torrent for your XGOLD626_Modem_HackPack.7z

Torrent attached. Seed if desired.
Attached Files
File Type: torrent XGOLD626_Modem_HackPack.7z.torrent - [Click for QR Code] (4.7 KB, 22 views)
 
trynd
Old
#24  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Mar 2013
I also have x-gold 626. And I send sequence AT commands into /dev/ttyACM0 and receive IP, GW, DNS from operator. Them I used ioctl codes for assign IP, GW and bringing up interface. But I dont pinging gw: destination host unreachable. What I need to do more? I used IDA for disasm libril-xgold.so.
 
Post Reply+
Tags
bp/cp, infineon, intel, modem, xmm6260
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...