5,594,748 Members 36,236 Now Online
XDA Developers Android and Mobile Development Forum

USB Host mode on Defy

Tip us?
 
hackergnome
Old
(Last edited by hackergnome; 12th January 2012 at 02:16 AM.)
#71  
hackergnome's Avatar
Recognized Contributor
Thanks Meter 871
Posts: 2,564
Join Date: Apr 2011
Location: Mumbai

 
DONATE TO ME
Quote:
Originally Posted by sam_24 View Post
I was abel to build a OTG-Cable but i can't get the software to run

otg cable pinout

micro usb usb-stick
1----------Vss--------------1
2----------D- --------------2
3----------D+ --------------3
4----------ID ---|
5----------Gnd--|-----------4

ID und GND connectet with switch

CM9 2.3.4 kernel 2.01.2012
shows that the device is in Host-Mode

error output
root@android:/dev/usb # insmod scsi_mod.ko insmod: init_module 'scsi_mod.ko' failed (Exec format error)
Read my post above I got the same error... in my case it was coz I din specify busy box path did u?

2 1 2012?
I think that's froyo kernel by quarx!
Can u try eppy's build?


Sent from my MB526 using xda premium
 
sam_24
Old
#72  
sam_24's Avatar
Junior Member
Thanks Meter 30
Posts: 23
Join Date: Oct 2009
Location: Stuttgart

 
DONATE TO ME
Quote:
Originally Posted by nogoodusername View Post
Read my post above I got the same error... in my case it was coz I din specify busy box path did u?

Can u try eppy's build?
i will try it tomorrow
is busybox already installed on eppy build?
is path /system/xbin/busybox ?
___________________________
Defy with CMX nightly rom
 
hackergnome
Old
#73  
hackergnome's Avatar
Recognized Contributor
Thanks Meter 871
Posts: 2,564
Join Date: Apr 2011
Location: Mumbai

 
DONATE TO ME
Quote:
Originally Posted by sam_24 View Post
i will try it tomorrow
is busybox already installed on eppy build?
is path /system/xbin/busybox ?
Yup ur right...
But I can't get it to work now even on gb kernel!...
Exec error...
Will try a fresh copy again...
Sent from my MB526 using xda premium
 
elnacho12
Old
#74  
Junior Member
Thanks Meter 1
Posts: 18
Join Date: Dec 2011
Location: Buenos Aires

 
DONATE TO ME
Quote:
Originally Posted by nogoodusername View Post
Yup ur right...
But I can't get it to work now even on gb kernel!...
Exec error...
Will try a fresh copy again...
Sent from my MB526 using xda premium
Guys, I've trying this too and found that after you try to run the script and get those errors, if you run "dmesg" it shows:

"ext2: version magic '2.6.29 preempt mod_unload ARMv7 ' should be '2.6.32.9 preempt mod_unload ARMv7 '"

After googling this, I confirmed that it's because these modules were compiled with an old kernel (2.6.29) and I have 2.6.32

If there only was an option to force it...
 
hackergnome
Old
#75  
hackergnome's Avatar
Recognized Contributor
Thanks Meter 871
Posts: 2,564
Join Date: Apr 2011
Location: Mumbai

 
DONATE TO ME
Quote:
Originally Posted by elnacho12 View Post
Guys, I've trying this too and found that after you try to run the script and get those errors, if you run "dmesg" it shows:

"ext2: version magic '2.6.29 preempt mod_unload ARMv7 ' should be '2.6.32.9 preempt mod_unload ARMv7 '"

After googling this, I confirmed that it's because these modules were compiled with an old kernel (2.6.29) and I have 2.6.32

If there only was an option to force it...
i saw that too!
but y did it work on the cm9 u can see...
i forgot to take screenshot of dmesg!

Sent from my MB525 using xda premium
 
vishal24387
Old
#76  
vishal24387's Avatar
Recognized Contributor
Thanks Meter 1694
Posts: 3,282
Join Date: May 2011
Location: Solapur, Maharashtra
Quote:
Originally Posted by elnacho12 View Post
Guys, I've trying this too and found that after you try to run the script and get those errors, if you run "dmesg" it shows:

"ext2: version magic '2.6.29 preempt mod_unload ARMv7 ' should be '2.6.32.9 preempt mod_unload ARMv7 '"

After googling this, I confirmed that it's because these modules were compiled with an old kernel (2.6.29) and I have 2.6.32

If there only was an option to force it...
try to creat those modules with referance to new kernel 2.6.32 & then try again.
 
chenshuo888
Old
#77  
Junior Member
Thanks Meter 1
Posts: 19
Join Date: Dec 2011
Location: HuaiNan City AnHui Province

 
DONATE TO ME
if you want to flash a sbf ,the kernel must be signed.
 
walter79
Old
(Last edited by walter79; 15th January 2012 at 10:43 PM.)
#78  
walter79's Avatar
Recognized Developer
Thanks Meter 3131
Posts: 3,411
Join Date: Dec 2006
Location: #484047

 
DONATE TO ME
Scripts did not work on Gingerbread.

"invalid module format"

Did it only works with old kernel?

I use Galaxy S2 cable.

---------- Post added 16th January 2012 at 12:11 AM ---------- Previous post was 15th January 2012 at 11:41 PM ----------

Maybe this help.

2.6.32.9 kernel modules.

http://sven.killig.de/android/N1/2.2/usb_host/
My roms, fixed-sbf, kernel:
Mirror 1 (Dev-Host)
Mirror 2 (MS-skydrive)

My custom kernel source: GITHUB

HTC LEO: CM-11.0 - Android 4.4 and CM10.2 - Android 4.3.1
HTC Rhodium: CM7.2 - Android 2.3.7
Huawei Mediapad hws7300u: CM-11.0 - Android 4.4.2
Motorola Defy: Dualboot MS2Ginger 5.1 + Quarx-CM-11.0
Sony Xperia V:
CM11.0 - Android 4.4.2

Rhobuntu: https://sites.google.com/site/rhobuntu/
Donate: https://www.paypal.com/cgi-bin/websc...=VNEELS79XLXNJ
 
GuustFlater89
Old
#79  
Member
Thanks Meter 36
Posts: 81
Join Date: Jan 2008
Any hope in getting USB host working on the Defy? Or will an unlocked bootloader the only possibility?
I thought some people were close in getting it working? I would really like this option!
 
walter79
Old
#80  
walter79's Avatar
Recognized Developer
Thanks Meter 3131
Posts: 3,411
Join Date: Dec 2006
Location: #484047

 
DONATE TO ME
Quote:
Originally Posted by GuustFlater89 View Post
Any hope in getting USB host working on the Defy? Or will an unlocked bootloader the only possibility?
I thought some people were close in getting it working? I would really like this option!
Strago will try to build new modules for 2.6.32 kernel.
My roms, fixed-sbf, kernel:
Mirror 1 (Dev-Host)
Mirror 2 (MS-skydrive)

My custom kernel source: GITHUB

HTC LEO: CM-11.0 - Android 4.4 and CM10.2 - Android 4.3.1
HTC Rhodium: CM7.2 - Android 2.3.7
Huawei Mediapad hws7300u: CM-11.0 - Android 4.4.2
Motorola Defy: Dualboot MS2Ginger 5.1 + Quarx-CM-11.0
Sony Xperia V:
CM11.0 - Android 4.4.2

Rhobuntu: https://sites.google.com/site/rhobuntu/
Donate: https://www.paypal.com/cgi-bin/websc...=VNEELS79XLXNJ

The Following User Says Thank You to walter79 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes