New, unlocked GS4 arrived today!
Can't flash recovery to get Samsung's $#!7 off of it...
I've rebooted to make sure that everything's using the right module(s), tried various usb2 and usb3 ports and cables(only have usb2 cables tho), and tried it on a different machine with the exact same results. I've used heimdall 1.4.1rc2 and from git.
Code:
total used free shared buffers cached
Mem: 16015 6102 9912 0 1 3852
-/+ buffers/cache: 2247 13767
Swap: 0 0 0
16:32:13 ~hal_j/gs4 # heimdall detect
Device detected
16:32:20 ~hal_j/gs4 # heimdall flash --recovery recovery.img --no-reboot
Heimdall v1.4 RC2
Copyright (c) 2010-2012, Benjamin Dobell, Glass Echidna
[url]http://www.glassechidna.com.au/[/url]
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
[url]http://www.glassechidna.com.au/donate/[/url]
Initialising connection...
Detecting device...
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...
Checking if protocol is initialised...
Protocol is not initialised.
Initialising protocol...
ERROR: Failed to send data!Releasing device interface...
Re-attaching kernel driver...
Bus 004 Device 008: ID 04e8:685d Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II] (Download mode)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 2 Communications
bDeviceSubClass 2 Abstract (modem)
bDeviceProtocol 0 None
bMaxPacketSize0 64
idVendor 0x04e8 Samsung Electronics Co., Ltd
idProduct 0x685d GT-I9100 Phone [Galaxy S II] (Download mode)
bcdDevice 2.1b
iManufacturer 1 (error)
iProduct 2 (error)
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 67
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 50mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 0
CDC Header:
bcdCDC 1.10
CDC Call Management:
bmCapabilities 0x00
bDataInterface 1
CDC ACM:
bmCapabilities 0x00
CDC Union:
bMasterInterface 0
bSlaveInterface 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 9
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 1 (error)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Status: 0x0001
Self Powered
Yes, I ran all that under root. I'm using Arch and did a full update before rebooting and trying this last time. Still no joy.
What did I miss?
The latest release is 1.4.0, not 1.4RC2. Please pull from Github, rebuild and see if you have different result with 1.4.0.
Related
Hi All,
Firstly thanks to all the people here and at handhelds.org for Linux on my devices. Thanks for WM2005 on my Himalaya. Thanks for WM2005 for my Blue Angel. Thanks for custom ROMS. And thanks for all your hard work, time, dedication and skill. Long may you all excel.
So anyway, I have just managed to get GPE running on both my Himalaya and my Blue Angel after many startup.txt files, soldering up my own serial cable, and compiling the kernels many times over. At last! It works!
However, now I have another problem. I can't get the usbnet module to detect either of my PDAs when I cradle them to my Open SuSE 10 desktop.
Am I right in believing that all I should have to do is drop the device in the cradle, then "#modprobe usbnet" ?
Now you will have to bare with me as I have only been using Linux for 4-5 months, so I am still learning. If I run lsmod I can see a reference to an ipaq module under usbcore, but under usbnet there is nothing.
#lsmod
Module Size Used by
nls_iso8859_1 4096 0
nls_cp437 5760 0
vfat 12800 0
fat 49692 1 vfat
subfs 7552 0
sg 35744 0
sd_mod 18576 0
usb_storage 72640 0
scsi_mod 131304 3 sg,sd_mod,usb_storage
ipaq 31376 0
usbserial 28776 1 ipaq
ppdev 8964 0
ipt_pkttype 1664 1
ipt_LOG 6912 8
ipt_limit 2304 8
vmnet 35236 9
vmmon 110220 0
speedstep_lib 4228 0
freq_table 4612 0
snd_pcm_oss 59168 0
snd_mixer_oss 18944 1 snd_pcm_oss
snd_seq 51984 0
button 7056 0
battery 10244 0
ac 5252 0
af_packet 21384 0
edd 9824 0
usbhid 43616 0
ide_cd 39684 0
cdrom 36896 1 ide_cd
snd_via82xx 28096 1
gameport 14600 1 snd_via82xx
ip6t_REJECT 5504 3
snd_ac97_codec 91004 1 snd_via82xx
i2c_viapro 8080 0
i2c_core 20368 1 i2c_viapro
via_ircc 22164 0
irda 115000 1 via_ircc
crc_ccitt 2176 1 irda
ipt_REJECT 5632 3
ehci_hcd 32136 0
ipt_state 1920 12
via_rhine 22276 0
snd_ac97_bus 2432 1 snd_ac97_codec
snd_pcm 93064 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer 24452 2 snd_seq,snd_pcm
snd_page_alloc 10632 2 snd_via82xx,snd_pcm
snd_mpu401_uart 7296 1 snd_via82xx
snd_rawmidi 24864 1 snd_mpu401_uart
snd_seq_device 8588 2 snd_seq,snd_rawmidi
via_agp 9472 1
agpgart 33096 1 via_agp
generic 4484 0 [permanent]
snd 60420 12 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 9184 1 snd
uhci_hcd 32016 0
shpchp 88676 0
pci_hotplug 26164 1 shpchp
iptable_mangle 2688 0
iptable_nat 22228 0
iptable_filter 2816 1
ip6table_mangle 2304 0
ip_conntrack 42168 2 ipt_state,iptable_nat
ip_tables 19456 8 ipt_pkttype,ipt_LOG,ipt_limit,ipt_REJECT,ipt_state,iptable_mangle,iptable_nat,iptable_filter
ip6table_filter 2688 1
ip6_tables 18176 3 ip6t_REJECT,ip6table_mangle,ip6table_filter
ipv6 242752 128 ip6t_REJECT
parport_pc 38980 1
lp 11460 0
parport 33864 3 ppdev,parport_pc,lp
usbnet 32648 0
usbcore 112512 8 usb_storage,ipaq,usbserial,usbhid,ehci_hcd,uhci_hcd,usbnet
mii 5504 2 via_rhine,usbnet
ext3 130440 1
jbd 59940 1 ext3
dm_mod 54972 0
reiserfs 250480 1
fan 4996 0
thermal 14472 0
processor 24512 1 thermal
via82cxxx 13212 0 [permanent]
it821x 8452 0 [permanent]
ide_disk 17152 5
ide_core 122380 6 usb_storage,ide_cd,generic,via82cxxx,it821x,ide_disk
I also know the device is there because if i run lsusb I get this
# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 045e:00b9 Microsoft Corp. Wireless Optical Mouse 3.0
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 011: ID 0bb4:0a02 High Tech Computer Corp. Himalaya GSM/GPRS Pocket PC
Bus 001 Device 003: ID 045e:0059 Microsoft Corp. Wireless IntelliMouse Explorer
Bus 001 Device 001: ID 0000:0000
I don't really understand what I need to do, and I am having a hard time googling up any info, everyone else for the most part seems to load it without any problems.
Any help would be more than welcome. Thanks again everyone
Alpha_Geek
Hi all,
View mins ago I setup linux on my HTC.
Well, it does work and i can connect to my device with ssh.
But I have some problems, it cant find the MMC Card (I format it as ext2) on my desktop (debian)
my dmesg
# dmesg
<5>Linux version 2.6.16.27-omap1 ([email protected]) (gcc version 4.1.1) #4 PREEMPT Fri Jan 5 16:56:42 CET 2007
<4>CPU: ARM926EJ-Sid(wb) [41069263] revision 3 (ARMv5TEJ)
<4>Machine: HTC Wizard
<4>Memory policy: ECC disabled, Data cache writeback
<7>On node 0 totalpages: 24576
<7> DMA zone: 24576 pages, LIFO batch:7
<7> DMA32 zone: 0 pages, LIFO batch:0
<7> Normal zone: 0 pages, LIFO batch:0
<7> HighMem zone: 0 pages, LIFO batch:0
<4>Unknown OMAP cpu type: 0x00
<4>OMAP0000 revision 1 handled as 00xx id: 0000000000000000
<6>SRAM: Mapped pa 0x20000000 to va 0xd0000000 size: 0x32000
<4>htc_wizard_map_io done.
<4>CPU0: D VIVT write-back cache
<4>CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
<4>CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
<4>Built 1 zonelists
<5>Kernel command line: root=/dev/ram0 init=/linuxrc
<4>htc_wizard_init_irq.
<4>Clocks: ARM_SYSST: 0x1040 DPLL_CTL: 0x2793 ARM_CKCTL: 0x6506
<6>Clocking rate (xtal/DPLL1/MPU): 13.0/195.0/195.0 MHz
<4>Total of 96 interrupts in 3 interrupt banks
<6>OMAP730 GPIO hardware
<4>PID hash table entries: 512 (order: 9, 8192 bytes)
<4>Console: colour dummy device 80x30
<4>Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
<4>Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>Memory: 96MB = 96MB total
<5>Memory: 92444KB available (1656K code, 403K data, 96K init)
<7>Calibrating delay loop... 89.70 BogoMIPS (lpj=448512)
<4>Mount-cache hash table entries: 512
<6>CPU: Testing write buffer coherency: ok
<6>checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
<6>Freeing initrd memory: 2604K
<6>NET: Registered protocol family 16
<4>Tornado init.
<4>OMAP730 Watchdog seems to be activated, disabling it for now.
<4>trying to enable USB.
<4>USB_EN to 0 after 0 tries.
<4>MMC host reset done: remaining tries: 100
<6>OMAP DMA hardware version 1
<6>DMA capabilities: 000c0000:00000000:01ff:003f:007f
<4>Initializing OMAP McBSP system
<3>mcbsp: could not acquire dsp_ck handle.
<3>omapdsp: unsupported omap architecture.
<4>USB: hmc 4, usb0 2 wires (dev)
<4>NetWinder Floating Point Emulator V0.97 (double precision)
<6>io scheduler noop registered
<6>io scheduler deadline registered (default)
<4>HTC Tornado Backlight driver.
<4>VSFB Frame buffer driver for HTC OMAP Based Phones.
<6>vsfb: framebuffer at 0x20001020, mapped to 0xc6800020, size 150k
<4>Console: switching to colour frame buffer device 40x29
<6>TI OMAP Watchdog Timer for OMAP730
<4>RAMDISK driver initialized: 1 RAM disks of 8192K size 1024 blocksize
<6>udc: OMAP UDC driver, version: 4 October 2004 (iso)
<6>udc: OMAP UDC rev 3.6
<6>udc: hmc mode 4, integrated transceiver
<6>udc: fifo mode 3, 648 bytes not used
<6>usb0: Ethernet Gadget, version: May Day 2005
<6>usb0: using omap_udc, OUT ep2out-bulk IN ep1in-bulk STATUS ep3in-int
<6>usb0: MAC 9a:17:46:70:a0:3b
<6>usb0: HOST MAC c2:20:66:22:69:ae
<6>mice: PS/2 mouse device common for all mice
<6>OMAP Keypad Driver
<4>omap_kp_probe.
<6>input: omap-keypad as /class/input/input0
<6>NET: Registered protocol family 2
<3>MMC1: Command timeout, CMD0
<4>IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<4>TCP established hash table entries: 4096 (order: 2, 16384 bytes)
<4>TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
<6>TCP: Hash tables configured (established 4096 bind 4096)
<6>udc: USB reset done, gadget ether
<6>TCP reno registered
<6>TCP bic registered
<6>NET: Registered protocol family 1
<6>NET: Registered protocol family 17
<6>NET: Registered protocol family 15
<5>RAMDISK: Compressed image found at block 0
<6>udc: USB reset done, gadget ether
<6>udc: USB reset done, gadget ether
<6>udc: USB reset done, gadget ether
<6>udc: USB reset done, gadget ether
<6>udc: USB reset done, gadget ether
<6>udc: USB reset done, gadget ether
<6>udc: USB reset done, gadget ether
<6>udc: USB reset done, gadget ether
<6>usb0: full speed config #1: 100 mA, Ethernet Gadget, using CDC Ethernet
<4>VFS: Mounted root (ext2 filesystem).
<6>Freeing init memory: 96K
<6>vsmmfb: ioctl helper driver for framebuffer 0.1.1, Copyright 2007 Thomas Reith
<6>vsmmfb: loaded, got minor 63
Click to expand...
Click to collapse
# df -h
Filesystem Size Used Available Use% Mounted on
/dev/ram0 5.8M 4.4M 1.4M 75% /
Click to expand...
Click to collapse
# mount
/dev/root on / type ext2 (rw,nogrpid)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw)
sysfs on /sys type sysfs (rw)
Click to expand...
Click to collapse
The problem is , even in /dev
mmcblk0
mmcblk0p1
mmcblk0p2
mmcblk0p3
mmcblk0p4
there isnt anything, so if i cant find my mmc, i cant fdisk so i wont have any os.
The next problem is, i dont have gcc?
Because it it not a debian system (i want to) apt wont work, no RPM, just nothing.
How de heck can i compile gcc without gcc? so i can start using my os?
the next thing, but the last one.
When i have my OS ready to play.
It is possible to write it to ram? so it will remove windows and replace it with my linux version?
Any help/tips would be helpfull
thx
MMC and NS.exe on HTC prophet
Hi:
You can activate your sd card using Nico's program sd.exe
Look the web of the linwizard project in sourceforge:
http://sourceforge.net/tracker/index.php?func=detail&aid=1593777&group_id=174107&atid=867988
Luck!!
Sesh maat setep n ra
Hi I have tryied : http://forum.xda-developers.com/showthread.php?p=20374508#post20374508
But it does not work for me at first. I was trying to instal adb access for Nook Simple Touch on Win XP SP2. I have problem, when setting usb drivers system wont "find" android_winusb.inf althought I specificali choose proper directory C:\android-sdk-windows\usb_driver
So I made changes to the file:
I have rewritten:
Code:
;B & N Nook Color
%SingleAdbInterface% = USB_Install, USB\VID_2080&PID_0002
%CompositeAdbInterface% = USB_Install, USB\VID_2080&PID_0002&MI_01
into:
Code:
;B & N Nook Touch
%SingleAdbInterface% = USB_Install, USB\VID_2080&PID_0003
%CompositeAdbInterface% = USB_Install, USB\VID_2080&PID_0003&MI_01
It seems to work for me now.
Yup, that is a common problem.
I've seen other people have problems with other devices because the PNP Id wasn't in the INF file.
Using the ADB over USB is fine, but then you lose the mass storage interface.
Also, playing with the USB host mode you can only ADB over WiFi.
Renate NST said:
Yup, that is a common problem.
I've seen other people have problems with other devices because the PNP Id wasn't in the INF file.
Using the ADB over USB is fine, but then you lose the mass storage interface.
Also, playing with the USB host mode you can only ADB over WiFi.
Click to expand...
Click to collapse
Actually both works for me on XP.
I can use ADB over USB AND mass storage interface at the same time.
I didn't fiddle with INF file editing, just got right driver and installed it.
Not work for me
mrWax said:
Hi I have tryied :
But it does not work for me at first. I was trying to instal adb access for Nook Simple Touch on Win XP SP2. I have problem, when setting usb drivers system wont "find" android_winusb.inf althought I specificali choose proper directory C:\android-sdk-windows\usb_driver
It seems to work for me now.
Click to expand...
Click to collapse
But unhappily not for me.
I went round the loop of deleting all references to B&N devices, edited the inf file as per mrWax and it seemed to install just fine.
But adb still doesn't find my Nook ST.
Still shows in Windoze Explorer though.
I read that there should be an option in Nook Settings to turn on debug mode but if there is I cannot find it.
The Nook is rooted to latest I could find.
Question #1: Are you sure the adbd daemon is running on the Nook?
Question #2: Are you sure it's configured for USB mode and not WiFi mode?
The Nook uses two separate USB interfaces and two separate drivers.
UMS - USB Mass Storage - stock Windows driver - USB\VID_2080&PID_0003&MI_00
ADB - Google driver - USB\VID_2080&PID_0003&MI_01
Try downloading this and viewing your USB tree with the Nook connected.
http://www.ftdichip.com/Support/Utilities/usbview.zip
Look through the tree for the right device.
Copy and paste to here, enclosed in code /code brackets.
No cut n paste!
Renate NST said:
Question #1: Are you sure the adbd daemon is running on the Nook?
Question #2: Are you sure it's configured for USB mode and not WiFi mode?
The Nook uses two separate USB interfaces and two separate drivers.
UMS - USB Mass Storage - stock Windows driver - USB\VID_2080&PID_0003&MI_00
ADB - Google driver - USB\VID_2080&PID_0003&MI_01
Try downloading this and viewing your USB tree with the Nook connected.
Look through the tree for the right device.
Copy and paste to here, enclosed in code /code brackets.
Click to expand...
Click to collapse
Sorry, Renate. No Cut & Paste available on USB View.
I'm stumped. Board will not allow attachments or external links. Even when enclosed in your quote.
This is getting silly.
Navigate on the left pane of usbview.exe to the correct device.
Go to the right pane, right click, "Select all', right click, "Copy".
Go to your browser, select "Reply", type "[code]", hit Shift-Insert, type "[/code]".
This is off my Kyocera Rise configured for ADB over USB:
Code:
Device Descriptor:
bcdUSB: 0x0200
bDeviceClass: 0x00
bDeviceSubClass: 0x00
bDeviceProtocol: 0x00
bMaxPacketSize0: 0x40 (64)
idVendor: 0x0482 (Kyocera Tech. Development, Inc.)
idProduct: 0x0557
bcdDevice: 0x0231
iManufacturer: 0x02
0x0409: "KYOCERA Corporation"
iProduct: 0x03
0x0409: "KYOCERA USB Modem"
iSerialNumber: 0x04
0x0409: "[i]I'm not showing that[/i]"
bNumConfigurations: 0x01
ConnectionStatus: DeviceConnected
Current Config Value: 0x01
Device Bus Speed: High
Device Address: 0x0B
Open Pipes: 4 [b]// indicates both interfaces have drivers[/b]
Configuration Descriptor:
wTotalLength: 0x0037
bNumInterfaces: 0x02
bConfigurationValue: 0x01
iConfiguration: 0x00
bmAttributes: 0xC0 (Bus Powered Self Powered )
MaxPower: 0xFA (500 Ma)
[color=blue]Interface Descriptor: [b]// USB Mass Storage interface[/b]
bInterfaceNumber: 0x00
bAlternateSetting: 0x00
bNumEndpoints: 0x02
bInterfaceClass: 0x08
bInterfaceSubClass: 0x06
bInterfaceProtocol: 0x50
iInterface: 0x01
0x0409: "Mass Storage"
Endpoint Descriptor:
bEndpointAddress: 0x81 IN
Transfer Type: Bulk
wMaxPacketSize: 0x0200 (512)
bInterval: 0x00
Endpoint Descriptor:
bEndpointAddress: 0x01 OUT
Transfer Type: Bulk
wMaxPacketSize: 0x0200 (512)
bInterval: 0x01[/color]
[color=green]Interface Descriptor: [b]// ADB interface[/b]
bInterfaceNumber: 0x01
bAlternateSetting: 0x00
bNumEndpoints: 0x02
bInterfaceClass: 0xFF
bInterfaceSubClass: 0x42
bInterfaceProtocol: 0x01
iInterface: 0x00
Endpoint Descriptor:
bEndpointAddress: 0x82 IN
Transfer Type: Bulk
wMaxPacketSize: 0x0200 (512)
bInterval: 0x00
Endpoint Descriptor:
bEndpointAddress: 0x02 OUT
Transfer Type: Bulk
wMaxPacketSize: 0x0200 (512)
bInterval: 0x00[/color]
Got it!
Renate NST said:
Navigate on the left pane of usbview.exe to the correct device.
Go to the right pane, right click, "Select all', right click, "Copy".
Go to your browser, select "Reply", type "[code]", hit Shift-Insert, type "[/code]".
Click to expand...
Click to collapse
Thanks, Renate. Simple when you know how
Code:
Device Descriptor:
bcdUSB: 0x0200
bDeviceClass: 0x00
bDeviceSubClass: 0x00
bDeviceProtocol: 0x00
bMaxPacketSize0: 0x40 (64)
idVendor: 0x2080
idProduct: 0x0003
bcdDevice: 0x0216
iManufacturer: 0x01
0x0409: "B&N"
iProduct: 0x02
0x0409: "NOOK SimpleTouch"
iSerialNumber: 0x03
0x0409: "3023xxxxxxxxxxxx"
bNumConfigurations: 0x01
ConnectionStatus: DeviceConnected
Current Config Value: 0x01
Device Bus Speed: Full
Device Address: 0x01
Open Pipes: 4
Endpoint Descriptor:
bEndpointAddress: 0x81 IN
Transfer Type: Bulk
wMaxPacketSize: 0x0040 (64)
bInterval: 0x00
Endpoint Descriptor:
bEndpointAddress: 0x01 OUT
Transfer Type: Bulk
wMaxPacketSize: 0x0040 (64)
bInterval: 0x00
Endpoint Descriptor:
bEndpointAddress: 0x82 IN
Transfer Type: Bulk
wMaxPacketSize: 0x0040 (64)
bInterval: 0x00
Endpoint Descriptor:
bEndpointAddress: 0x02 OUT
Transfer Type: Bulk
wMaxPacketSize: 0x0040 (64)
bInterval: 0x00
Configuration Descriptor:
wTotalLength: 0x0037
bNumInterfaces: 0x02
bConfigurationValue: 0x01
iConfiguration: 0x00
bmAttributes: 0xE0 (Bus Powered Self Powered Remote Wakeup)
MaxPower: 0xFA (500 Ma)
Interface Descriptor:
bInterfaceNumber: 0x00
bAlternateSetting: 0x00
bNumEndpoints: 0x02
bInterfaceClass: 0x08
bInterfaceSubClass: 0x06
bInterfaceProtocol: 0x50
iInterface: 0x00
Endpoint Descriptor:
bEndpointAddress: 0x81 IN
Transfer Type: Bulk
wMaxPacketSize: 0x0040 (64)
bInterval: 0x00
Endpoint Descriptor:
bEndpointAddress: 0x01 OUT
Transfer Type: Bulk
wMaxPacketSize: 0x0040 (64)
bInterval: 0x00
Interface Descriptor:
bInterfaceNumber: 0x01
bAlternateSetting: 0x00
bNumEndpoints: 0x02
bInterfaceClass: 0xFF
bInterfaceSubClass: 0x42
bInterfaceProtocol: 0x01
iInterface: 0x00
Endpoint Descriptor:
bEndpointAddress: 0x82 IN
Transfer Type: Bulk
wMaxPacketSize: 0x0040 (64)
bInterval: 0x00
Endpoint Descriptor:
bEndpointAddress: 0x02 OUT
Transfer Type: Bulk
wMaxPacketSize: 0x0040 (64)
bInterval: 0x00
Well, it looks like your Nook had adbd running and it's enabled over USB.
Now run device manager, type "devmgmt.msc" in a shell (a/k/a "DOS window).
The very top should say:
Code:
Computer
└──Android Phone
└──Android Composite ADB Interface
It probably will show that.
So, I've learned something looking into this.
I knew about the hassles of adb_usb.ini but I thought that ADB had gotten over that.
It turns out that ADB has a built-in list of vendor ids.
Barnes & Noble is not one of these.
You have to have adb_usb.ini list the B&N VID.
As this is an obtuse Unix file you have to make sure that there are no carriage returns in the file.
The easiest way is not to put any line endings at all in it, i.e. only a single line, 6 chars.
The file is C:\Documents and Settings\MyUserName\.android\adb_usb.ini
The contents are "0x2080", 6 chars exactly.
Sorry, I'd forgotten all about this, I use ADB WiFi on my Nook and my Kyocera is on the built-in list.
The vendor list included in the most recent adb.exe:
Code:
VID Vendor
──── ───────────────────────────────────
0408 Quanta Computer
0409 NEC
0414 Giga-Byte Technology
0451 Texas Instruments
0471 Philips
0482 Kyocera
0489 Foxconn
04C5 Fujitsu
04DA Panasonic
04DD Sharp
04E8 Samsung Electronics
0502 Acer
054C Sony
05C6 Qualcomm
091E Garmin International
0930 Toshiba
0955 NVidia
0B05 ASUSTeK Computer
0BB4 HTC
0E79 Archos
0F1C Funai Electric
0FCE Sony Ericsson Mobile Communications
1004 LG Electronics
10A9 SK Teletech
1219
12D1 Huawei Technologies
1662
17EF Lenovo
18D1 Google
1949 Kindle
19D2 ZTE WCDMA Technologies MSM
1BBB T & A Mobile Phones
1D4D Pegatron
1EBF
1F53
2006
2116
2237 Kobo
2257
22B8 Motorola PCS
2314
2340
2420
24E3
25E3
413C Dell Computer
8087 Intel
E040
Well...
Device Manger does say something similar but it's not quite the same as you suggest
Code:
AUSU_A8N_SLI
|__ Android Device
|__ Android Composite ADB Interface
OK, picky but at least it does say Android Device
I opened adb_usb.ini in UltraEdit, (can save in 'NIX format) but it worries me
Code:
# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
So, do I delete all and put in only 0x2080 ?
Just delete it all and type in 0x2080
Hooray!
Renate NST said:
Just delete it all and type in 0x2080
Click to expand...
Click to collapse
Thanks for your patience, Renate.
Now adb devices finds my Nook
Time to RTFM
I was trying this to fix a hard-bricked G2 I just recieved:
http://forum.xda-developers.com/showthread.php?t=2582142
The device is in the following state:
No download mode
No recovery mode
Shows qhsusb_bulk in lsusb -v
I don't know much more about it (e.g. I don't know if it was rooted or what type of ROM was on it).
I need to unplug the battery by removing the back cover to have a chance to reboot it. The first boot after that it shows the LG logo, then a blank screen (back lit but no text).
(UPDATE: Pressing the power button 8 seconds also reboots the phone without having to unplug the battery).
When I wire it up to my Arch Linux computer here is what the command `dmesg` shows:
Code:
[ 3693.728255] usb 1-2: new high-speed USB device number 93 using xhci_hcd
[ 3693.901772] usb 1-2: config 1 has an invalid interface number: 20 but max is 1
[ 3693.901784] usb 1-2: config 1 has no interface number 1
[ 3693.903319] usb-storage 1-2:1.20: USB Mass Storage device detected
[ 3693.903868] scsi host843: usb-storage 1-2:1.20
[ 3694.905067] scsi 843:0:0:0: Direct-Access Qualcomm MMC Storage 1.00 PQ: 0 ANSI: 2
[ 3694.906568] sd 843:0:0:0: [sdb] 30777344 512-byte logical blocks: (15.7 GB/14.6 GiB)
[ 3694.906872] sd 843:0:0:0: [sdb] Write Protect is off
[ 3694.906883] sd 843:0:0:0: [sdb] Mode Sense: 0f 0e 00 00
[ 3694.907373] sd 843:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3694.919101] sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 sdb7 sdb8 sdb9 sdb10 sdb11 sdb12 sdb13 sdb14 sdb15 sdb16 sdb17 sdb18 sdb19 sdb20 sdb21 sdb22 sdb23 sdb24 sdb25 sdb26 sdb27 sdb28 sdb29 sdb30 sdb31 sdb32 sdb33 sdb34 sdb35 sdb36
[ 3694.923664] sd 843:0:0:0: [sdb] Attached SCSI disk
[ 3695.061360] usb 1-2: USB disconnect, device number 93
[ 3695.065521] sd 843:0:0:0: [sdb] Synchronizing SCSI cache
[ 3695.065552] sd 843:0:0:0: [sdb]
[ 3695.065554] Result: hostbyte=0x01 driverbyte=0x00
[ 3695.065557] sd 843:0:0:0: [sdb] CDB:
[ 3695.065558] cdb[0]=0x28: 28 00
[ 3695.065562] sd 843:0:0:0: [sdb]
[ 3695.065563] Result: hostbyte=0x01 driverbyte=0x00
[ 3695.065565] sd 843:0:0:0: [sdb] CDB:
[ 3695.065566] cdb[0]=0x28:
[ 3695.065567] 00 00 00
[ 3695.065569] 28
[ 3695.065571] 00
[ 3695.065571] 00
[ 3695.065572] 00
[ 3695.065573] 01
[ 3695.065573] 70
[ 3695.065574] 00
[ 3695.065574] 00
[ 3695.065575] 90
[ 3695.065576] 00
[ 3695.065578] end_request: I/O error, dev sdb, sector 368
[ 3695.065579] 80 00 00 f0 00
[ 3695.065582] quiet_error: 134 callbacks suppressed
[ 3695.065583] Buffer I/O error on device sdb, logical block 46
[ 3695.065586] Buffer I/O error on device sdb, logical block 47
[ 3695.065587] Buffer I/O error on device sdb, logical block 48
[ 3695.065589] end_request: I/O error, dev sdb, sector 128
[ 3695.065590] Buffer I/O error on device sdb, logical block 16
[ 3695.065592] Buffer I/O error on device sdb, logical block 49
[ 3695.065594] Buffer I/O error on device sdb, logical block 17
[ 3695.065595] Buffer I/O error on device sdb, logical block 50
[ 3695.065597] Buffer I/O error on device sdb, logical block 51
[ 3695.065598] Buffer I/O error on device sdb, logical block 52
[ 3695.065599] Buffer I/O error on device sdb, logical block 18
[ 3695.065633] sd 843:0:0:0: [sdb]
[ 3695.065636] Result: hostbyte=0x01 driverbyte=0x00
[ 3695.750741] usb 1-2: new high-speed USB device number 94 using xhci_hcd
[ 3695.924146] usb 1-2: config 1 has an invalid interface number: 20 but max is 1
[ 3695.924151] usb 1-2: config 1 has no interface number 1
...
Note the "config 1 has an invalid interface number: 20 but max is 1" error, and all the Buffer I/O errors.
Here is the relevant section of `lsusb -v`
Code:
Bus 001 Device 054: ID 05c6:9006 Qualcomm, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x05c6 Qualcomm, Inc.
idProduct 0x9006
bcdDevice 0.00
iManufacturer 1 LG Electronics Inc.
iProduct 2 QHSUSB__BULK
iSerial 3 1234567890ABCDEF
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 55
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 20
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)
Is there anything that could be done to fix these Buffer I/O errors so I can mount the phone (and continue with the FIX tutorial posted above)?
Anyone able to shed some lights on the meaning of these lines would be of great help in my quest of learning how to unbrick my phone.
Note: when connected to the computer the blank screen goes in a repeating cycle of being back lit for 1 second then no backlights for 1 second. The cycle stops (with backlights) when unplugging the phone.
Hello. I've got exactly the same problem, how you already somehow solved the problem?
NECRO:
same problem on a lg device, any input is appreaciated.
Hey all!
I have a HIZPO head unit, labeled as the title for the model number. I have been able to root the device a while ago and got it setup best I could but there's a few things bugging me that I would like to solve. First of course is the bluetooth capabilities. As others mentioned the bluetooth doesn't work traditionally, but can be with another bluetooth adapter like mentioned here.
The other biggie is the USB connection. It appears that the devices can only access FAT32 formatted drives which is fine if you just want to load up some mp3's but I would like to get OTG to work. The information on these units in the forum are scattered with no concise answer from what I can tell.
I've connected my phone with a USB-C cable to the head unit, and the unit sees my phone. Using an app, "OTG Guru" I can see my phone and it's details which I have posted below.
ID: 0
Path: /dev/bus/usb/002/051
VID: 0x04E8 (Samsung Electronics Co., Ltd)
PID: 0x6860 (Galaxy A5 (MTP))
Class: 0 (USB_CLASS_PER_INTERFACE)
Subclass: 0
Protocol: 0
5 Interfaces:
ID: 0
Class: 6 (USB_CLASS_STILL_IMAGE)
Subclass: 1
Protocol: 1
3 Endpoints:
ID: 0
Descriptor: [0x07 0x05 0x81 0x02 0x00 0x02 0x00]
Address: 0x81
Endpoint Number: 1
Direction: 1 (device to host)
Attributes: 0b00000010
Type: 0b10 (Bulk)
Max. Packet Size: 512 Bytes
Interval: 0
ID: 1
Descriptor: [0x07 0x05 0x01 0x02 0x00 0x02 0x01]
Address: 0x01
Endpoint Number: 1
Direction: 0 (host to device)
Attributes: 0b00000010
Type: 0b10 (Bulk)
Max. Packet Size: 512 Bytes
Interval: 1
ID: 2
Descriptor: [0x07 0x05 0x82 0x03 0x1C 0x00 0x06]
Address: 0x82
Endpoint Number: 2
Direction: 1 (device to host)
Attributes: 0b00000011
Type: 0b11 (Interrupt)
Max. Packet Size: 28 Bytes
Interval: 6
ID: 1
Class: 2 (USB_CLASS_COMM)
Subclass: 2
Protocol: 1
1 Endpoint:
ID: 0
Descriptor: [0x07 0x05 0x84 0x03 0x0A 0x00 0x09]
Address: 0x84
Endpoint Number: 4
Direction: 1 (device to host)
Attributes: 0b00000011
Type: 0b11 (Interrupt)
Max. Packet Size: 10 Bytes
Interval: 9
ID: 2
Class: 10 (USB_CLASS_CDC_DATA)
Subclass: 0
Protocol: 0
2 Endpoints:
ID: 0
Descriptor: [0x07 0x05 0x83 0x02 0x00 0x02 0x00]
Address: 0x83
Endpoint Number: 3
Direction: 1 (device to host)
Attributes: 0b00000010
Type: 0b10 (Bulk)
Max. Packet Size: 512 Bytes
Interval: 0
ID: 1
Descriptor: [0x07 0x05 0x02 0x02 0x00 0x02 0x00]
Address: 0x02
Endpoint Number: 2
Direction: 0 (host to device)
Attributes: 0b00000010
Type: 0b10 (Bulk)
Max. Packet Size: 512 Bytes
Interval: 0
ID: 3
Class: 255 (USB_CLASS_VENDOR_SPEC)
Subclass: 64
Protocol: 2
2 Endpoints:
ID: 0
Descriptor: [0x07 0x05 0x85 0x02 0x00 0x02 0x00]
Address: 0x85
Endpoint Number: 5
Direction: 1 (device to host)
Attributes: 0b00000010
Type: 0b10 (Bulk)
Max. Packet Size: 512 Bytes
Interval: 0
ID: 1
Descriptor: [0x07 0x05 0x03 0x02 0x00 0x02 0x00]
Address: 0x03
Endpoint Number: 3
Direction: 0 (host to device)
Attributes: 0b00000010
Type: 0b10 (Bulk)
Max. Packet Size: 512 Bytes
Interval: 0
ID: 4
Class: 255 (USB_CLASS_VENDOR_SPEC)
Subclass: 66
Protocol: 1
2 Endpoints:
ID: 0
Descriptor: [0x07 0x05 0x04 0x02 0x00 0x02 0x00]
Address: 0x04
Endpoint Number: 4
Direction: 0 (host to device)
Attributes: 0b00000010
Type: 0b10 (Bulk)
Max. Packet Size: 512 Bytes
Interval: 0
ID: 1
Descriptor: [0x07 0x05 0x86 0x02 0x00 0x02 0x00]
Address: 0x86
Endpoint Number: 6
Direction: 1 (device to host)
Attributes: 0b00000010
Type: 0b10 (Bulk)
Max. Packet Size: 512 Bytes
Interval: 0
My knowledge is limited here, but it seems as if the device hardware wise can see the phone, and there's 5 interfaces, and each has 2 endpoints, both host to device, and device to host except for USB_CLASS_COMM which just has device to host and not host to device. I wonder if this is why we can't access the phone's storage? However this is not my goal. I tether my phone to the head unit for data, and since I use PDAnet to hide my tether usage from my isp I have to use "WIFI DIRECT" mode, which also uses a VPN, which then makes a lot of apps think the device is online since there isn't a default wifi connection. Plus it's a lot slower. I would like to do USB Tether, and of course have normal OTG and USB functionality. Has anyone made headway with this?
Lastly my main question is regarding the desire for everyone to update the firmware and OS. Are there any significant functionality benefits to upgrading? Is there additional MCU functions with the updates?
Edit: I want to add, in the system settings there are options for Bluetooth version. Has anyone played with these settings?
I just bought a Junsun FF-5000 head unit for a Chevy Cruze and the resolution is bad and when you enter code 1616 and switch Gamma to 1 or 2 it clears it up but the setting will not save. Is there any new firmware? Here is my radio info. Any help is much appreciated!