usb serial in diagnostic - Nokia Lumia 800

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

Related

##634# install diagnostics app which allows Serial Mode...

Than what we can do with RM-801|Nokia Lumia 800 devices shown in Windows Device Manager...?
And I saw that the app says "this regisry..." so the app should have registry write access...only if someone could dump out the rom and this app...
That is a great find. I'll take look into that later! Thanks
maybe able to track thru the serial data what happens if you change the reg value back to zune? and what serial drivers can be installed.. hmm
I came across this a few weeks ago and played around. It does not seem to work, when pressing the Settings and then the USB mode it does not seem to do anything. It would be amazing to be able to use this device as a external HDD. I tried a number of variables from the other menu but to no avail. Any help on this would be awesome.
Thank-you,
Will
Gahgah said:
That is a great find. I'll take look into that later! Thanks
Click to expand...
Click to collapse
I have used WebServer XAP to get the app out from device (it is Oddt_Retail.xap) and look inside. There is a COM interop code which can be used for writing registry. I look further and does not find anything else which can be used for interop unlock...maybe i am not looking deep enough.
@nant15,
Did you ask heathcliff74 on xda ? Maybe he can do something...
Sent from my Lumia 800 using XDA Windows Phone 7 App
Could you post this WebServer XAP?! (or thread to it)
thanks,
endeffekt
nant15 said:
I have used WebServer XAP to get the app out from device (it is Oddt_Retail.xap) and look inside. There is a COM interop code which can be used for writing registry. I look further and does not find anything else which can be used for interop unlock...maybe i am not looking deep enough.
Click to expand...
Click to collapse
Here ya go http://forum.xda-developers.com/showthread.php?t=1331580
In winxp you can load a driver for a system device! maybe later at driver level the connection data can be verified?
connect in serial mode. it will have detected a nokia rm801 or so 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?

Android 4.2.2 / CM10.1 and Windows 8 ADB Functionality

So I ran into some issues with my HTC Evo 4G LTE when attempting to use it on my Windows 8 laptop that I wanted to post about in case others have the same issue. I did a number of Google searches and while I ran across a number of others who had this same issue, no one seemed to have the fix all in one place, so here's what I experienced and what I did.
First step in CM10.1 is to enable Developer Options. Go to System>About Phone and tap on the build number 6-7 times. I know this is well documented but like I said, I'm putting this all in one place for reference.
Initially when connecting my phone via USB to my Windows 8 machine it would immediately detect it as an external storage device (even when ADB root and Android debugging were enabled in the Developer Options)
The specific driver it kept loading was called Linux File-CD Gadget USB Device under Disk Drives
It would also load as an external drive letter under Portable Devices (in my case F:\)
Finally, under Universal Serial Bus Controllers it would load a USB Mass Storage driver and a USB Composite Device Driver
First, you'll need the Android SDK. This is important for two reasons: 1: The most up to date ADB as it is required in CM10.1 / Android 4.2.x because of the device fingerprinting that Android now does with ADB. Get rid of older versions or you'll end up with the device detected but offline. 2: You need the USB driver installed from the Android SDK.
I tried a number of suggested things to attempt to update the driver for my device with the Android USB driver, some people had suggested installing it over the USB driver, some over the Portable Device driver and some over the Linux File-CD Gadget driver. None of these worked, windows kept returning the following error:
The folder you specified doesn't contain a compatible software driver for your device. If the folder contains a driver, make sure it is designed to work with Windows for x64-based systems.
What I eventually found is this: After enabling Android Debugging and connecting your phone via USB, you need to go to the View menu in the Device Manager and select 'Show hidden devices'. At that time I was presented with a new section called Android USB Devices. I specifically recall in Windows 7 this was not a hidden area, however it is in Windows 8. Under this heading was a device labeled My HTC. I'm quite sure I never installed the HTC drivers for my phone in Windows 8 so this may be something that is shipped with the OS at this point... or if I did install them I dont recall doing it.
Either way, this is the driver you need to update. Simply right-click, update driver, and replace it with the driver stored in the Android SDK folder (AndroidSDK folder root\sdk\extras\google\usb_driver\). This will load as a Samsung Android driver. Dont worry about it, it works fine.
Finally, as I mentioned before, if you run adb devices and all you see is your phone but it says "offline" and you're sure you have the newest ADB, check your phone screen, it will be asking you to confirm the fingerprint of your machine before it comes online and lets you issue commands.
I hope this helps other people, it was quite a hassle figuring this out, mostly because I didnt expect the driver to be hidden since it wasnt in Windows 7.

[Serial Port API] - Connection can not be opened

Hello,
I am writing here to see if somebody faced this problem before. I am trying to control a very specific Hardware from an Android device using the android-serialport-api lib: code.google.com/archive/p/android-serialport-api/
My hardware uses a RS232 connector and I connect it to Android with a USB to RS232 adapter, just as it shows on the "solution 2" of this image: code.google.com/archive/p/android-serialport-api/wikis/android_to_rs232_guideline.wiki (Solution 4 seems to be the ideal one, but I do not understand it, I will appreciate any indication here as well)
When I try to open a connection to the port, I always get an error indicating the the connection can not be open. The problem with this approach is, as the wiki mentions, you "may need to root your device in order to change /dev/ttyUSB0 file permission, and to load a kernel module.".
Does anybody had to root their device in order to be able to open tty connections? The tablet I am using is a HANNSpree HSG1351 (which I could not find any rooting guide).
Thanks
I will answer myself here just in case it can be useful for someone else in the future:
I ended up using this serial controller for Android, which makes read / write operations easy: github.com/felHR85/UsbSerial
Before being able to open a serial connection with the device, you should give permissions to the USB as it is explained here: developer.android.com/guide/topics/connectivity/usb/accessory.html#permission-a
Just to clarify, this is generic for any device, doesn't matter if it is rooted or not.

Unknown USB Device (Android Device)

I was wondering if anyone could help me with an issue I am having with Windows 11.
I have an old Samsung Galaxy Tablet (2013), the MicroUSB port had to be replaced as the port had broken. Before the repair, the tablet could connect to my Windows 11 PC with no problem, it showed up in Device Manager and File Explorer fine. After the repair, the Tablet will no longer connect and shows up as an "Unknown USB Device".
All methods I have tried, including installing new Drivers, have failed.
If anyone can help, I will really appreciate it!
Who did the repair? It seems whomever did the repair either didn't use the correct parts or installed them improperly.
A friend of mine did the repair. They are quite good at soldering, I will ask them to have another look at the port.
I know the correct part was used as we got the Port from another tablet of the same model.
Check for hardware issues
There’s a possibility that you’re unable to use your USB device due to a hardware issue, meaning that the problem lies within your computer and not the operating system. Here are two easy ways to test if this is the case, which can easily prove whether you need to look into getting your computer restored or can proceed with the methods below to fix system-originated issues.
Plug out your power supply
For some reason, temporarily unplugging your power supply and then connecting the problematic equipment into your computer may fix the Unknown USB device issue on Windows 10. Simply disconnect all charging cables from your laptop until your computer is only running on its integral battery. Then, plug in the USB device to see if your system recognizes it.
Uninstall the USB Driver in Device Manager
Press the Windows + R keys on your keyboard at the same time to bring up the Run utility.
Type in “devmgmt.msc” without the quotations marks, then hit the OK button. This is going to launch the Device Manager in a separate window.
Expand the Universal Serial Bus controllers section, then select the Unknown USB Device (Device Descriptor Request Failed) from the list.
Right-click on the selected USB device and choose Uninstall from the context menu. Follow any on-screen instructions to remove the device.
When the uninstallation is complete, reboot your system. It’ll automatically reinstall the drive correctly, which may help you get rid of the error you’ve been receiving.
Regards,
J Wick

[CLOSED] usb not recognized problem

Hello, I'm facing this problem from many years in my phone, i can't plug in my mate 10 to any pc, it always says usb not recognized,
all drivers installed correcly with hisuite , my cable usb is new,
i changed today the USB charging port of the phone at Huawei care service, and i reset factory the phone , still same problem.
I'm still having the same stock rom on the device,
is the "usb not recognized" problem can be a software problem in the phone? thank you for your experience.
chahine21 said:
Hello, I'm facing this problem from many years in my phone, i can't plug in my mate 10 to any pc, it always says usb not recognized
Click to expand...
Click to collapse
I'll try to help you but I'm not an expert, and yet I've had EVERY problem you seem to be speaking about.
a. I have had broken USB ports
b. I have had broken USB cables
c. I have had the USB drivers not install on Windows
etc.
Given I've had some of the same problems, I feel for you, so my first advice is to simply give up on USB for everything that you can.
Specifically, if you can turn on USB debugging and Wireless debugging in the Developer options, you can operate the phone over Wi-Fi using the Windows monitor, keyboard and mouse as shown in my screenshots below.
You don't need anything installed on Android to use these FOSS solutions on Windows to operate the entire phone over Wi-Fi as of Android 12 (which eliminated the need for an initial USB connection to establish the Wi-Fi connection).
In summary, I have had similar problems with USB where I've given up on USB and switched to operating Android over Wi-Fi and even mounting the entire Android file system as a Windows drive letter over Wi-Fi using free software.
a. adb
b. scrcpy
c. vysor
d. webdav
Use Windows Event Viewer to check for error messages on the PC.
If the problem is the PC it will likely show up there and give you more troubleshooting clues.
Thread closed at OP's request.

Categories

Resources