[Q] Bios-Freeze while Androidphone plugged in(USB) - Android Software/Hacking General [Developers Only]

It looks like something is wrong with my BIOS or with Android - During the POST Initalization and while staying in GRUB with an android phone connected over USB my PC freezes(my pc runs fine after i plugg it out) and _sometimes_ when i plug my Phone while using Ubuntu Linux 10.04/Backtrack 4 (Windows 7 runs fine) some USB-Devices stops working (like my mouse).
I have a Nexus one (every Rom shows this error except i use sven killig's USB-Host compatible kernel which seems to turn off Usb-client abilities anyway). Every other PC boots fine and recognize it.
According to lsusb/lshal every other USB-device seems to be recognized except my Nexus one:
Code:
[...USB-Devices...]
Nexus One -> Bus 001 Device 014: ID 18d1:4e12 [Nothing]
[...More USB-Devices...]
And sometimes everything works fine and lshal shows every detail about my phone:
Code:
udi = '/org/freedesktop/Hal/devices/usb_device_18d1_4e12_HT05BP802673'
info.linux.driver = 'usb' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_5e3_608_noserial' (string)
info.product = 'Nexus One' (string)
info.subsystem = 'usb_device' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_18d1_4e12_HT05BP802673' (string)
info.vendor = 'Google, Inc.' (string)
linux.device_file = '/dev/bus/usb/001/010' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'usb' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.1/usb1/1-3/1-3.3' (string)
usb_device.bus_number = 1 (0x1) (int)
usb_device.can_wake_up = true (bool)
usb_device.configuration_value = 1 (0x1) (int)
usb_device.device_class = 0 (0x0) (int)
usb_device.device_protocol = 0 (0x0) (int)
usb_device.device_revision_bcd = 551 (0x227) (int)
usb_device.device_subclass = 0 (0x0) (int)
usb_device.is_self_powered = true (bool)
usb_device.linux.device_number = 10 (0xa) (int)
usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.1/usb1/1-3/1-3.3' (string)
usb_device.max_power = 500 (0x1f4) (int)
usb_device.num_configurations = 1 (0x1) (int)
usb_device.num_interfaces = 2 (0x2) (int)
usb_device.num_ports = 0 (0x0) (int)
usb_device.product = 'Nexus One' (string)
usb_device.product_id = 19986 (0x4e12) (int)
usb_device.serial = 'HT05BP802673' (string)
usb_device.speed = 480.0 (480) (double)
usb_device.vendor = 'Google, Inc.' (string)
usb_device.vendor_id = 6353 (0x18d1) (int)
usb_device.version = 2.0 (2) (double)
I searched to find anyone else with the same error and only found some threads without any [useful] answers(No one got the same Phone or Mainboard and any solution).
I already tried to un/mount the SDcard and enabling/disabling Debugging over USB.
Does someone know how to fix it or has a list of androidcompatible Mainboards?
PS:
MB: Asus M2N-E - Bios ver0802
Phone:
Nexus one:
Android 2.1 EPF30/Modaco Desire Port
Android 2.2 rooted stock FRF85/ rooted stock FRF91/Cyanogen6RC2
and i tried more. ROMs..
I could try other Android phones later
EDIT:
It looks like its a general problem with Android and it is device independent
EDIT2:
After enabling Plug&play option in the BIOS my PC doesn't freeze - but Linux/Windows crashes.
Then I flashed the newest Beta BIOS (v5001) and loaded setup default settings and it boots fine! But my mouse still doesn't work when i connect my Phone - even the LED on the dockingstation doesn't flash when i press the "Reconnect" button.

Related

USB DUN: a working wvdial.conf for ATT?

Hello I have a Fuze with the stock ROM and am trying to get USB DUN working on GNU/Linux with wvdial. I have tried the following wvdial.conf and some variations of it all with the same problem. I keep getting error code 16 "The modem has hung up" when dialing. If anyone could post a working wvdial.conf for their ATT phone that would be great. I can post the exact error log or anything else if needed. Thanks.
Edit:
Same problem as in this thread:
http://forum.xda-developers.com/showthread.php?p=2609673
[Dialer Defaults]
Modem = /dev/ttyUSB0
ISDN = off
Modem Type = Analog Modem
Baud = 460800
Init = ATZ
Init2 = ATZ+CGDCONT=1,"IP","ISP.CINGULAR"
Init3 =
Init4 =
Init5 =
Init6 =
Init7 =
Init8 =
Init9 =
Phone = *99#
Phone1 =
Phone2 =
Phone3 =
Phone4 =
Dial Prefix =
Dial Attempts = 1
Dial Command = ATDT
#Ask Password = on
Password = CINGULAR1
Username = [email protected]
Auto Reconnect = off
Abort on Busy = off
Carrier Check = on
Check Def Route = on
Abort on No Dialtone = on
Stupid Mode = on
Idle Seconds = 0
Auto DNS = on
Now this is what I call a bump.

TW Color Reference

Heres a reference thread for themers i had issues myself figuring them out so heres a cheat sheet
Code:
tw_color001 = #ffebebeb
tw_color002 = #ff000000
tw_color003 = #ff6e9cba
tw_color004 = #ffed5f00
tw_color005 = #ffbebebe
tw_color006 = #ffa0a0a0
tw_color007 = #ff787878
tw_color008 = #ff60c0ff
tw_color009 = #ff91dcff
tw_color010 = #ffb1e0ff
tw_color011 = #ffbebebe
tw_color012 = #ff636363
tw_color013 = #ffffffff
tw_color014 = #ffbebebe
tw_color015 = #ff00a2ff
tw_color016 = #ff636363
tw_color017 = #ff000000
tw_color018 = #ff656f4f
tw_color019 = #ff000000
tw_color020 = #fff6af7f
tw_color021 = #ff91dcff
tw_color022 = #ff60c0ff
tw_color023 = #ff91dcff
tw_color024 = #ffb1e0ff
tw_color025 = #ffcccccc
tw_color026 = #ff767676
tw_color027 = #ff90e2f7
tw_color028 = #ffebebeb
tw_color029 = #ffc8c8c8
tw_color030 = #ff3484c8
tw_color031 = #ff428eba
tw_color032 = #ffffcc00
tw_color033 = #ffffffff
tw_color034 = #ff3e91ff
tw_color035 = #ff000000
tw_color036 = #ffd43f16
tw_color037 = #ff009ff2
tw_color038 = #ff555555
tw_color039 = #ffa3a3a3
tw_color040 = #ffeb2c00
tw_color041 = #ff46a7fe
tw_color042 = #ffd1d1d1
tw_color043 = #ff595959
tw_color044 = #ff808080
tw_color045 = #ff3b5998
tw_color046 = #ff5a8ca5
tw_color047 = #ff646464
tw_color048 = #ff8bc500
tw_color049 = #ffe60000
tw_color050 = #ffffffff
tw_color051 = #ff10a5ff
tw_color052 = #fff00101
tw_color053 = #ff0036ff
tw_color054 = #ff000000
tw_color055 = #ffffff00
tw_color056 = #ff909090
tw_color057 = #ffffffff
tw_color058 = #ffffffff
tw_color059 = #ff000000
tw_color060 = #ff656f4f
tw_color061 = #ff00baff
tw_color062 = #ff84e902
tw_color063 = #ffbfbfbf
tw_color064 = #ff7f7f7f
tw_color065 = #ff0091ff
tw_color066 = #ffff0000
tw_color067 = #fff77501
tw_color068 = #ff000000
tw_color069 = #ffa4d7ff
tw_color070 = #ff00bad7
tw_color071 = #ff216ae4
tw_color072 = #ff000000
tw_color073 = #fffff60a
tw_color074 = #ffe84c00
tw_color075 = #ffc221b5
tw_color076 = #ff0d89b0
tw_color077 = #ff688f0c
tw_color078 = #ff33cc00
tw_color079 = #ffff0000
tw_color080 = #ff0070b7
tw_color081 = #ff0091ff
tw_color082 = #ffababab
tw_color083 = #ffdcdcdc
tw_color084 = #ff110503
tw_color085 = #ff505050
tw_color086 = #ff969696
tw_color087 = #ffc8c8c8
tw_color088 = #ff75d0ff
tw_color089 = #ffffffff
tw_color090 = #ffb1ca00
tw_color091 = #ffff7e00
tw_color092 = #ff464646
tw_color093 = #ff1e1e1e
tw_color094 = #ff646464
tw_color095 = #ff242424
tw_color096 = #ff1c1f24
tw_color097 = #ff0097de
tw_color098 = #ff666666
tw_color099 = #ffed5f00
tw_color100 = #ff393939
tw_color101 = #ffff6015
tw_color102 = #ffffa816
tw_color103 = #fffff200
tw_color104 = #ff9cff00
tw_color105 = #ff00ffae
tw_color106 = #ff00d0f5
tw_color107 = #ff006cff
tw_color108 = #ff4729ff
tw_color109 = #ff9029ff
tw_color110 = #ffd929ff
tw_color111 = #ffff2988
tw_color112 = #ffffca99
tw_color113 = #fffff899
tw_color114 = #ffbcee97
tw_color115 = #ff97cef7
tw_color116 = #ffc5a6e8
tw_color117 = #fffca5d7
tw_color118 = #ff790000
tw_color119 = #ff7d4900
tw_color120 = #ff737b00
tw_color121 = #ff006918
tw_color122 = #ff005b7f
tw_color123 = #ff0d004c
tw_color124 = #ff4b0049
tw_color125 = #ffb39d7b
tw_color126 = #ff9d9d9d
tw_color127 = #ff00a1fd
tw_color128 = #ffe6e6e6
tw_color129 = #ff00b4ff
tw_color130 = #ff00dd00
tw_color131 = #ffff9600
tw_color132 = #ffcbf430
tw_color133 = #ff7a9cc6
tw_color134 = #ffffb400
tw_color135 = #ff137e08
tw_color136 = #ff1b7212
tw_color137 = #ff8b919d
tw_color138 = #ffc2c2c2
tw_color139 = #ff556872
tw_color140 = #ff009933
tw_color141 = #ff0099ff
tw_color142 = #ff089fe4
tw_color143 = #ff353636
tw_color144 = #ffd4dadf
tw_color145 = #ff606060
tw_color146 = #ff373737
tw_color147 = #ff323a41
tw_color148 = #ff7c7c7c
tw_color149 = #ff393939
tw_color150 = #ff393939
tw_color151 = #ff00aeef
tw_color200 = #ffe2e2e2
tw_color201 = #ff122438
tw_color210 = #ff47ef47
tw_color211 = #ffa2a2a2
tw_color220 = #ff778390
tw_color221 = #ff4d4d4d
tw_color222 = #ffde0000
tw_color223 = #ff300000
tw_color224 = #ff333333
tw_color225 = #ffff5400
tw_color226 = #ff383838
tw_color227 = #fffcff00
tw_color228 = #ffd0d1d2
tw_color230 = #fffff000
tw_color231 = #ffa3a3a3
tw_color232 = #ffd43f16
tw_color233 = #ffd2d2d2
tw_color234 = #ff555555
tw_color235 = #ff818181
tw_color236 = #ff29333c
tw_color237 = #ff4b4b4b
tw_color238 = #ffa2a2a2
tw_color239 = #ff464646
tw_color240 = #ff898989
tw_color241 = #ff565656
tw_color242 = #ff281304
tw_color245 = #ff979797
tw_color246 = #ff171616
tw_color247 = #ff5f98b5

[Q] Memory stream to Image tcp sockets

Im trying to send image from Android to C# ..im using memory stream to store buffer..when im trying to write memory stream to image it doesnt get created..here is my code
Code:
//MemoryStream ms;
NetworkStream netStream = tcp.GetStream();
MemoryStream outStream = new MemoryStream();
byte[] buffer = new byte[(int)tcp.ReceiveBufferSize];
int bytesRead = 0, read = 0;
while ((read = netStream.Read(buffer, 0, buffer.Length)) > 0)
{
outStream.Write(buffer, 0, read);
outStream.Seek(0, SeekOrigin.Begin);
bytesRead += read;
}
Image image = Image.FromStream(outStream);
image.Save(@"B:\A\imageTekkst.png");

Windows Mobile 6.5.3 | Where to switch USB Client Mode RNDIS -> Serial

Hi, is it possible to switch the USB Client Mode from RNDIS -> Serial (via Commandline or Registry )?
The RNDIS Interface will cause a BSOD under Win10
Thanks in advance
USB Client Mode can be switched with the following Registry Settings (a reboot is required to take effect)
Set Serial:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\ActiveSync\Address]
"IP" = hex:\
02,00,03,de,c0,a8,37,64,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00
[HKEY_LOCAL_MACHINE\Comm\USB Cable:]
[HKEY_LOCAL_MACHINE\Comm\USB Cable:\Parms]
[HKEY_LOCAL_MACHINE\Comm\USB Cable:\Parms\TcpIp]
[HKEY_LOCAL_MACHINE\Comm\USB Cable:\Parms\TcpIp]
"DNS" = multi_sz: "127.0.0.1"
"DefaultGateway" = multi_sz: "192.168.55.100"
"Subnetmask" = multi_sz: "255.255.255.0"
"IpAddress" = multi_sz: "192.168.55.101"
"DontAddDefaultGateway" = dword:00000000
"UseZeroBroadcast" = dword:00000000
"EnableDHCP" = dword:00000000
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Hosts\ppp_peer]
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Hosts\ppp_peer]
"aliases" = multi_sz: ""
"ipaddr" = hex:\
c0,a8,37,64
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver" = "Serial_Class"
Set RNDIS:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\ActiveSync\Address]
"IP" = hex:\
02,00,03,de,a9,fe,02,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Hosts\dtpt_peer]
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Hosts\dtpt_peer]
"aliases" = multi_sz: ""
"ipaddr" = hex:\
a9,fe,02,02
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver" = "RNDIS"

samsung s7 pooched?

Hi. I think I might have toasted my s7 while trying to flash the firmware. I had loaded a combination file that got it into some sort of diagnostic/developer mode but nothing I did would get it out of that mode. so I tried again and now when I try to get it into download mode (sound down, home and power) I get the following
[ RST_STAT = 0x1000000 ]
EVT 2.0
ASV TBL VER = 10. grade = C
ASV TBL VER2 = 0
ETC : Paaa005q
LOT_ID = N4N2H
CHIP_ID = 07b5ce94b658
CHIP_ID = 0000000
MNGS:36'APOLLO:39'C G3D:39'C ISP:39'C
% 1 <5 P._ 'd h %! ? Ir : 0x8 '! f @ %! ?
% 1 <5 D ' ,_%!
any suggestions with this mess?

Categories

Resources