Jump to content

Step by step guide to USB Host


Recommended Posts

Posted

Well anyone who has any worries who installed Paul's custom rom shouldn't be.

I just followed these instructions and its now working for me with USB Dongle and USB Keyboard!

As directed renamed adb-windows.exe to adb.exe but I think if anyone was running the script adb-windows instead of adb would be fine correct?

Thanks all

Posted

Thanks Bazzlad!

I was waiting for Paul's next update as I didn't quite get all the other posts on how to do this, but your guide for noobs like me is as simple as it needs to be. USB working with my 4GB SanDisk USB Stick and WD 250GB external drive. Incidentally, I do not have the problem whereby removing the stick/drive require a reboot.

Nothing else to test yet, but will be popping to the shops in the morning to try and find a mini USB keyboard for when on my travels. Any suggestions for one will be welcome! Then my OH can take it back and wrap it up for Xmas (She very nicely let me play with it to ensure it was not DOA, and could do everything I wanted it to do).

Considering the price I think the Vega is now my perfect tablet! Thanks guys!

Guest What If
Posted

Hi Guys,

I'm just not getting this working................

I don't get it on step 4 as to where the ADB file is supposed to be!!!

The r5 rom zip contains it then when i unzip it it then goes onto my laptop.

Am I to put the flash_image file into the folder on my laptop or is the ADB file on the vega?

Thanks in Advance for any help.

Posted (edited)
Hi Guys,

I'm just not getting this working................

I don't get it on step 4 as to where the ADB file is supposed to be!!!

The r5 rom zip contains it then when i unzip it it then goes onto my laptop.

Am I to put the flash_image file into the folder on my laptop or is the ADB file on the vega?

Thanks in Advance for any help.

You put the flash_image in the extracted folder the r5 rom is in and then rename adb-windows.exe to adb.exe.

Edited by remlap
Guest What If
Posted
You put the flash_image in the extracted folder the r5 rom is in and then rename adb-windows.exe to adb.exe.

Should the vega be conected to my laptop with debugging activated and USB Mass Storage activated before I do the 2 command prompts?

Thanks

Guest What If
Posted
Same way as when you installed Pauls r5 pack.

I am doing that but when i type adb push flash_image /data/local/ into the command screen i get this

1200 KB/s (0 bytes in 787448.000s) appearing on the next line after a few seconds.

then i type in adb shell chmod 4755 /data/local/flash_image.

I don't think the file is moving................

Posted (edited)
Hi Guys,

I'm just not getting this working................

I don't get it on step 4 as to where the ADB file is supposed to be!!!

The r5 rom zip contains it then when i unzip it it then goes onto my laptop.

Am I to put the flash_image file into the folder on my laptop or is the ADB file on the vega?

Thanks in Advance for any help.

Right take pauls .zip and take the usb folder and put it on c drive.

so now folder is called usbdriver

inside that folder is a zip called r1-tegrausbdrivers-modaco.zip

now use winrar or winzip to read that zip.

inside that zip is a folder called usb_driver

inside that folder you have 6 files

copy and paste them into the usbdriver folder from the start. so now you should have

c:/usbdriver/contains 6 files. = this is where u can now adb-windows from.

also put the flash_image file in this folder also!!

so should be like this

c:/usbdriver/adb-windows push /filename/

your vega should only be in debug mode and not sd card mounted.

also make sure your device is seen with the adb-windows devices or adb devices command.

hope this helps.

Edited by r8zer
Guest What If
Posted
Right take pauls .zip and take the usb folder and put it on c drive.

so now folder is called usbdriver

inside that folder is a zip called r1-tegrausbdrivers-modaco.zip

now use winrar or winzip to read that zip.

inside that zip is a folder called usb_driver

inside that folder you have 6 files

copy and paste them into the usbdriver folder from the start. so now you should have

c:/usbdriver/contains 6 files. = this is where u can now adb-windows from.

also put the flash_image file in this folder also!!

so should be like this

c:/usbdriver/adb-windows push /filename/

your vega should only be in debug mode and not sd card mounted.

also make sure your device is seen with the adb-windows devices or adb devices command.

hope this helps.

Thanks for the help.

So the usbdriver folder should have the 6 files from the zip and a copy of the flash_image.

Should it also have the adb file?

when running the adb-windows push command line what response should i be looking for?

Thanks for your help on this.

Posted (edited)
Thanks for the help.

So the usbdriver folder should have the 6 files from the zip and a copy of the flash_image.

Should it also have the adb file?

when running the adb-windows push command line what response should i be looking for?

Thanks for your help on this.

same as before but u should see the KB/sec moving, right sorry, form the r5.zip you should also put these files in to that usbdrive folder you created.

AdbWinUsbApi.dll

AdbWinApi.dll

adb-windows.exe

right so,

c:/usbdrive/ = this is your file

within this file you should see these now should i think be 9 files now, after adding the other 3.

Edited by r8zer
Guest What If
Posted (edited)
same as before but u should see the KB/sec moving, right sorry, form the r5.zip you should also put these files in to that usbdrive folder you created.

AdbWinUsbApi.dll

AdbWinApi.dll

adb-windows.exe

right so,

c:/usbdrive/ = this is your file

within this file you should see these now should i think be 9 files now, after adding the other 3.

Thanks for your help on this r8zer but I have done that and it still isn't copying anything over....

my command prompt looks like this c:\usbdriver>adb push flash_image /data/local/

I am pulling my hair out now.

All i can think is that it is a driver issue but i had only just reflashed the vega and added Pauls rom with no problems.

Is there an easy way to check the driver is ok and the vega is recognised?

I think I have had enough for today and will look again tomorrow.

Edited by What If
Posted (edited)
Thanks for your help on this r8zer but I have done that and it still isn't copying anything over....

my command prompt looks like this c:\usbdriver>adb push flash_image /data/local/

I am pulling my hair out now.

All i can think is that it is a driver issue but i had only just reflashed the vega and added Pauls rom with no problems.

Is there an easy way to check the driver is ok and the vega is recognised?

I think I have had enough for today and will look again tomorrow.

right adb push will not work because the adb file is named adb-windows

so you could try

C:/usbdriver>

adb-windows push flash_image /data/local

if this dont work try putting copy of flash_image on root of c:/

then try same command above again.

in devices and printers you should see your device.

also if you have the android sdk yo can also check that was aswell using ddns.bat

Edited by r8zer
Guest What If
Posted
right adb push will not work because the adb file is named adb-windows

so you could try

C:/usbdriver>

adb-windows push flash_image /data/local

Sorry about that but i had renamed the file adb as in the guide at the start of this topic.

In my device manager the vega is listed as an android phone, is that right?

Posted (edited)
Sorry about that but i had renamed the file adb as in the guide at the start of this topic.

In my device manager the vega is listed as an android phone, is that right?

im running win 7 64, what are you on.

in win7 under devices and printers it comes up as harmony

also after the last command what error did it say.

mine comes up in device manager as nvidia tegra2 usb device.

also under android phone

it says Android Composite ADB Interface.

sorry getting tired missing bits. will be back on tommorrow.

Edited by r8zer
Guest What If
Posted
im running win 7 64, what are you on.

in win7 under devices and printers it comes up as harmony

also after the last command what error did it say.

mine comes up in device manager as nvidia tegra2 usb device.

you need to uninstall drivers and redirect the update driver to pauls usb_folder.

I am running XP.

just got the 0 bytes again.

I am going to reinstall in the morning and see what happens.

Thanks for your help and hopefully it will get cracked.............

Guest boffboff
Posted

Might as well download the zip file from step 4 again and get a fresh copy of the flash_image aswell.

Don't forget to put it in the directory where you have adb.

Guest stevesilk51
Posted

Hi bazzlad,

when I run script "adb push flash_image /data/local/" at command prompt it reports device not found. Have connected usb seems ok, I have usb debugging on, do I need to be in revoery mode?

thanks

steve

Guest bazzlad
Posted
Hi bazzlad,

when I run script "adb push flash_image /data/local/" at command prompt it reports device not found. Have connected usb seems ok, I have usb debugging on, do I need to be in revoery mode?

thanks

steve

Before you do that type in

adb devices

If it doesn't list you device it wont work.

Basic adb guide windows

My technique would be to get Paul's adb-windows file and create a folder called android on your c drive.

Paste in Paul's adb-windows file and right click rename it to adb.

Open a cmd prompt (Start > run > type in cmd [Win 7 users can type cmd into their search bar on the start menu])

Type in the following:

cd c:\android

(This moves you to the folder you made)

Type in:

dir

(This should list the files in the folder, in our case "adb" [if it's not there bloody put it in])

Type in:

adb devices

(This command tells you all the android devices connected to your pc)

If you've done that - good news! You're ready to roll!

Guest stevesilk51
Posted

OMG I actually got it working! Fantastic Bazzlad + any other helpers. Will now try devices, mouse already works, wii post other successes :)

Guest stevesilk51
Posted

I wonder if a wireless N usb would work to update wifi from b/g to N?

Guest What If
Posted

That's it now I am going to have to give up!!!!!!!!

I just can't get this to work...............

This morning I started again and reflashed the vega latest firmware then put Pauls latest Rom on with no problems what so ever.

But I just can't get this to work.

I am getting to the command prompt and typing in > adb push flash_image /data/local/ into the command screen i get this

1200 KB/s (0 bytes in 787448.000s) appearing on the next line after a few seconds.

I am guessing that it shouldn't say 0 bytes but should be copying something over???

This is where i get stuck.

I have followed the adb guide and if i type in adb devices i get a list of devices found 1714117*********

So the vega is connected.

Help please or should I wait for Paul to include it in the next ROM update????

Guest emergant
Posted
That's it now I am going to have to give up!!!!!!!!

I just can't get this to work...............

This morning I started again and reflashed the vega latest firmware then put Pauls latest Rom on with no problems what so ever.

But I just can't get this to work.

I am getting to the command prompt and typing in > adb push flash_image /data/local/ into the command screen i get this

1200 KB/s (0 bytes in 787448.000s) appearing on the next line after a few seconds.

I am guessing that it shouldn't say 0 bytes but should be copying something over???

This is where i get stuck.

I have followed the adb guide and if i type in adb devices i get a list of devices found 1714117*********

So the vega is connected.

Help please or should I wait for Paul to include it in the next ROM update????

Unless you need it desperately, I'd wait. I'm still happy on Pauls 1.04 here. Paul is working on a switcher which should be better

Posted
Unless you need it desperately, I'd wait. I'm still happy on Pauls 1.04 here. Paul is working on a switcher which should be better

I am still happy on 1.04 and r4 and as much has I would like USB host and the new maps I think I am going to wait for an updated rom. That is unless the temptation gets to great which it probably will now.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.