[Q]json rpc protocol - Nokia Lumia 920

Hi,
I would like to get some help to get in the right direction..
Im trying to make and c# desktop app to read the info out of my Lumia 920.
ex product code, imei, software version..
After sniffing the usb when running NCS suite, i can see that is used json rpc protocol.
Can anyone help me to connect to the phone true USB and readout the info..
/regards
Ener_dk

Related

unable to find device driver

Hi Guys,
I have an O2 ATOM Exec which was fine initially. I bought a new notebook with Windows VISTA and now I'm having troubling syncing. I have downloaded the latest Windows Mobile Device Centre and notebook is fully up to date. When I attach the USB cable windows finds the new device. I ask it to search for the driver but it cant find the device driver.
Can somebody please help me?
Thanks heaps from now.
Hi again,
Can someone please help me. Do I need to download a device driver? the OS cant seem to recognise the device. It says unable to find device driver for Windows CE USB Device.
I would really appreciate if someone can point me to the right direction.
I have the same problem. Who knows please tell me. thank
Have you all try calling Microsoft or O2?
Goto http://www.microsoft.com/windowsmobile/default.mspx
Select the following according to you OS.
Synchronize with your PC
•For Windows XP or earlier:
Download ActiveSync 4.5
•For Windows Vista:
Visit the Windows Mobile Device Center
>_> I think your only recourse is to VM WinXP and Async from there (I don't know if this is possible, but you can try). IIRC Vista has problems syncing to older devices. <_<

usb serial in diagnostic

Hi I have just noticed in the nokia diagnostic tool in the bottom right the three dots when pressed gives you settings option and within that option it says usb mode Zune or usb serial with an option to choose which one ... What's this serial in this case ?? Will this allow direct access to hdd and find a way to use as mass storage ? or can we use this to access the cpu or other parts of the phone ?? im not sure were the serial point to yet ...
Probably that would be the way to flash rom.
It seems to be used for reparing the device or OS level software debugging - it won't give you USB Mass storage device....Or it maybe if you found the right driver...from Nokia Engineer. On HTC phones, this can be used for tethering with the right driver.
Serial Ports are the port that were used for Modem and Mouse before USB was invented (COM ports) It is the very basic form of communication port that most device implements - which the chipset on Lumia also emulate Serial Port over USB cable. (http://en.wikipedia.org/wiki/Serial_port)
Ahhhh ok thanks very much guys
Didn‘t notice that before, I'll poke at it using a serial debugger once I get home, could be some interesting/fun stuff that can be done
In winxp you can load a driver for a system device. maybe at driver level the connection data can be verified. How:
connect in serial mode. it will at first time detect a nokia rm801 or whatever device and ask for a driver. it finds 4 devices.
for the first, the xp system will itself suggest
1) USB Composite Device
2) will not find anything, and show the dialog to go onto internet, search etc.
Don't search and choose the driver to install yourself, with the downmost radiobutton and click next, in the categories go to System Devices, the driver assist will suggest a Compaq Deskpro Thermal Sensor, install this. Will install without error
3) see 2.
4) see 2.
Because it installs a temperature sensor driver, it must be possible to monitor or probe somehow. help?
My guess that will only gain you access to temprature data from the phone.
Have you tried putty and a baudrate of 9600? this is the most common used baudrate, tho It is quite possible they use 16000 instead if the serial connection is ment to handle data transfer.
I've been looking at the schematics for the phone and I can not seem to find out which chip they have used for GPIO. We would probably need to get hold of service level 3 or 4 manuals for Nokia Care (unless someone wants to dissasemble their phone and have a look at the mainboard)
Edit:
After a bit more digging I think I've traced serial to be managed directly by the CPU.
This suggests that it's a purely SW serial console.
I haven't been able to find any details on WP7/7.1/7.5 SW serial.
Worth looking into but I guess would require disassembly of the software?
what is the protocol for example when doing a software update through Zune? It gets into some kind of bootloader mode then too.
can imagine the serial connection is hosted as sw in the phones sw environment when running the mango os. But is the serial mode still fully sw if you boot it? Don't know if you could find anything in the 15 sec of booting to mango
I think the easiest way of figuring out how this is done is to disassemble the .net library that is used in the WP7 update tool.
I will have access to the required tools when I get home. The tool is this one if you want to get cracking on it:
http://xboxmod.sylvester20007.com/TOOLS/WP7_update_tool.rar

How to communicate with Android from a PC ?

Hi,
I want to write a program ,which will communicate to the available android mobile device via wi-fi .(Note :I do not want to use the USB cable)
That moblile device is having an IP in it by a wi-fi connection with it.The major thing is that i pinged that IP and I am getting connection packets getting back to my pc,means I can communicate with the devices. so can I able to get the details of the device.
details means
1.its name what user sets on it.
2.some address like mac in computers.
3.model name.
4.type of os in it.
etc
I really find this interesting but,no idea how to do but i got something like ARP protocol for getting the mac address but I do not know how to communicate with a phone with this ARP protocol.
Can we communicate by the SSH as it a linux kernel based OS .Kindly give me a way how to get these information.
can any one have some idea ,kindly tell me,it is very important for my project.
Thanks

SSH server on Lumia WP10

Hello
I have updated my Windows phone with the last build 10581. and I realized that there was an active SSH server. It is not part of the application I have installed.
evidenced its signature "SSH - 2.0 – MS_1.000"
On the other hand, I did not find information for me connected. default login/password or how to create an account.
have you notice that the SSH server was present on your Windows Phone?
do you have an idea or more info than me?
PS: I enabled the developer option on my phone
excused my English, I'm French.
Interesting, have you tried to connect to it?

Talking to the MediaTek preloader

I have been doing some work, trying to figure out how to talk to the MediaTek preloader on a couple of different devices. I believe it has more functionality than what is available to us through SP-Flashtool. I came across an interesting article here. The preloader seems to accept some combination of commands via raw serial bytes and AT commands to do its work. In an attempt to reverse engineer the protocol, I have attempted to set up Wireshark to capture the usb traffic between my system and the preloader while using SP-flashtool, but I have been unsuccessful. I'm able to capture all sort of adb traffic, so I think my usb sniffing setup is working, but it's as if Wireshark just doesn't see the connection to the preloader or any of the SP-flashtool traffic.
With some python script, I have been able to at least attempt to send commands to the preloader, but I just keep getting a response along the lines of "device reports it is ready to read but sent no reply."
From the article I linked: The USB port will assume that the tool is connected if it receives a “set line coding” (configures baudrate etc.) CDC message. It then sends the string READY to the tool and waits for the reception of a token of eight bytes.
Has anyone ever been able to work out how to send this "set line coding" message? Or does anyone out there have any insight about how to configure Wireshark to capture this communication with the preloader so this protocol might be reverse engineered?
threadreaper said:
I have been doing some work, trying to figure out how to talk to the MediaTek preloader on a couple of different devices. I believe it has more functionality than what is available to us through SP-Flashtool. I came across an interesting article here. The preloader seems to accept some combination of commands via raw serial bytes and AT commands to do its work. In an attempt to reverse engineer the protocol, I have attempted to set up Wireshark to capture the usb traffic between my system and the preloader while using SP-flashtool, but I have been unsuccessful. I'm able to capture all sort of adb traffic, so I think my usb sniffing setup is working, but it's as if Wireshark just doesn't see the connection to the preloader or any of the SP-flashtool traffic.
With some python script, I have been able to at least attempt to send commands to the preloader, but I just keep getting a response along the lines of "device reports it is ready to read but sent no reply."
From the article I linked: The USB port will assume that the tool is connected if it receives a “set line coding” (configures baudrate etc.) CDC message. It then sends the string READY to the tool and waits for the reception of a token of eight bytes.
Has anyone ever been able to work out how to send this "set line coding" message? Or does anyone out there have any insight about how to configure Wireshark to capture this communication with the preloader so this protocol might be reverse engineered?
Click to expand...
Click to collapse
Hello ive been trying to learn this im using libusdotnet for talking with the device

Categories

Resources