Jump to content


Photo

Step by step guide to USB Host


  • Please log in to reply
139 replies to this topic

#1
bazzlad

bazzlad

    Newbie

  • Members
  • Pip
  • 49 posts
  • Devices:HTC Desire , Advent Vega
  • Twitter:@bazzlad
Although this is a guide for dummies, I take no credit nor responsibility for anything - I'm just writing up what some clever people have figured out split over a bunch of topics and posts.

Firstly, I only tested this using the latest firmware from Advent (the one without flash [worry not Paul's beautiful Modaco pack puts it back on])

Step 1) Here goes, download THIS to a windows machine and run:
http://www.myadventv..._Vega_Final.exe

Step 2) Install Pauls r5 pack (I recommend you pay a tenner and get the perfomance pack too as a way of saying thanks to Paul!)
http://android.modac...online-kitchen/

Step 3) Mega thanks to JordanT92 here - download the following Zip file, extract the contents and place them on the ROOT of your SD Card.
http://rapidshare.co...SBSlaveHost.zip

Step 4) Download the flash utility from here, extract the files and take the flash_image file ONLY - place it in the SAME FOLDER as where your ADB is (Read the basic tut below for more details on how to use adb!)
http://loadbalancing...ga-recovery.zip



Basic adb guide for 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.
Also copy AdbWinApi.dll into the same folder.

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!



Step 5) Run the following commands on your terminal/cmd prompt window.
adb push flash_image /data/local/
adb shell chmod 4755 /data/local/flash_image

Step 6) Use a filemanager and go to the root of your SDcard, there should be a file called gscript.apk install this.

Step 7) Open gscript and click menu. Click on the add script button. Click LOAD File and USB Slave and USB Host should appear. Click them (one at a time, so you'll have both options in your gscript).

Step 8) Your gscript will now have both options. Click USB Host and pretty much nothing happens. Once the window has closed, restart your vega!

Step 9) Test every USB device you own - and let us know in here: http://android.modac...devices-a-list/

Do something crazy like this -

Edited by Paul, 06 June 2011 - 02:11 PM.

  • 0

#2
jellywobbles

jellywobbles

    Regular

  • MoDaCo Silver
  • PipPip
  • 144 posts
  • Devices:HTC HD2, Advent Vega
Nice one bazzlad - very much appreciated!

Just to clarify .. Step 5

Step 5) Run the following commands on your terminal/cmd prompt window.


This is a cmd prompt running on the SD card yeah?

Cheers

JW

  • 0
JellyW
-----------------------------------------------------
HTC HD2 running Pongsters HyperDroid-CM7-v1.0.3 in NAND with CWM
Advent Vega 1.08 with MCR Add-On r8 + Performance pack + CWM

Free DROPBOX!

Share files between your PC/Tablet/phone/ipod
2GB free when you sign up but Click on my link
to get an extra free 250mb ;) for the both of us

#3
remlap

remlap

    Enthusiast

  • MoDaCo Silver
  • PipPipPip
  • 282 posts
  • Gender:Male
  • Location:South Wales
  • Devices:Nexus7, GalaxyNexus, NookGlo
  • Twitter:@remlap1986
Hi new to Android really could you please provide me a link to the ADB tutorial.

Plus I'll get the bonus of learning how to do screenshots!

Edited by remlap, 17 December 2010 - 02:21 PM.

  • 0

#4
debs626

debs626

    Enthusiast

  • MoDaCo Silver
  • PipPipPip
  • 223 posts
  • Gender:Female
  • Location:Yorkshire, UK
  • Devices:SanFran, iPad v1
  • Twitter:@Debs626
Got as far as step 5) so far ......... The ADB stuff is going way over my head LOL

http://www.xda-devel...-easy-tutorial/ <---- @remlap I've had a read through that and I'm still lost :s

Will have another bash later

  • 0

#5
sipart

sipart

    Enthusiast

  • MoDaCo Silver
  • PipPipPip
  • 170 posts
  • Gender:Male
  • Location:Derbyshire UK
  • Interests:Android - Hackintosh - tech!
  • Devices:THL W8S/N7/Nook HD+
Love to know if something like this:

http://www.ebuyer.com/product/104608 (KeySonic 2.4Ghz Wireless Keyboard with Integrated TouchPad - USB)

works with the Vega.

Could be the ideal coach potato companion to a HDMI TV connected Vega for catchup TV?

If only I could buy a Vega to try :-(

Hope a can save my pennies over Christmas to buy one :-)

  • 0

#6
jamin101

jamin101

    Newbie

  • Members
  • Pip
  • 4 posts
  • Devices:Vega, Orange SF
Excellent guide bazz 4gb usb loaded perfectly

Cheers

  • 0

#7
woutxz

woutxz

    Newbie

  • Members
  • Pip
  • 35 posts
  • Gender:Male
  • Location:Cambridge, UK
  • Devices:Orange SF
Thanks for posting this.

Step 1 requires the Advent to be in recovery mode, right?

Incidentally, the official Vega instructions state that when doing the full install, the tablet needs to be connected to the power supply. Does anyone know whether this is strictly necessary?

  • 0

#8
arad85

arad85

    Enthusiast

  • MoDaCo Silver
  • PipPipPip
  • 258 posts

Got as far as step 5) so far ......... The ADB stuff is going way over my head LOL

http://www.xda-devel...-easy-tutorial/ <---- @remlap I've had a read through that and I'm still lost :s

Will have another bash later


Debs,

adb is the program that Paul ships as adb-windows.exe in the ROMs. Copy and rename adb-windows.exe to adb.exe and have it in the same directory you are running the commands and it will work.

  • 0
Can't get the drivers right for updating the Vega? See this thread
Need to find out what Windows thinks is installed? Download and run [url="http://"http://www.nirsoft.net/utils/usb_devices_view.html"]this tool[/url]

#9
gingercat

gingercat

    Regular

  • MoDaCo Silver
  • PipPip
  • 98 posts
  • Devices:HTC Desire, Advent Vega

Love to know if something like this:

http://www.ebuyer.com/product/104608 (KeySonic 2.4Ghz Wireless Keyboard with Integrated TouchPad - USB)

works with the Vega.

Could be the ideal coach potato companion to a HDMI TV connected Vega for catchup TV?

If only I could buy a Vega to try :-(

Hope a can save my pennies over Christmas to buy one :-)

Just tested, works a treat - I've had that keyboard for years and can't recommend it enough - it is just excellent!

  • 0

#10
debs626

debs626

    Enthusiast

  • MoDaCo Silver
  • PipPipPip
  • 223 posts
  • Gender:Female
  • Location:Yorkshire, UK
  • Devices:SanFran, iPad v1
  • Twitter:@Debs626

Debs,

adb is the program that Paul ships as adb-windows.exe in the ROMs. Copy and rename adb-windows.exe to adb.exe and have it in the same directory you are running the commands and it will work.



I have an adb.exe already in my C:\android-sdk-windows\platform-tools - where I have extracted the flash_image to also but I just dont know what to do next ??

I've clicked on the adb.exe, a cmd window pops up, runs through a bunch of commands (too quick for me to read them) then closed

  • 0

#11
gingercat

gingercat

    Regular

  • MoDaCo Silver
  • PipPip
  • 98 posts
  • Devices:HTC Desire, Advent Vega

I have an adb.exe already in my C:\android-sdk-windows\platform-tools - where I have extracted the flash_image to also but I just dont know what to do next ??

I've clicked on the adb.exe, a cmd window pops up, runs through a bunch of commands (too quick for me to read them) then closed


1) Open up a command window (start->run->cmd)
2) Change to the directory where you've extracted flash_image (e.g. "cd c:\android-sdk-windows\platform-tools")

Now proceed from step #5 in the original post

  • 0

#12
debs626

debs626

    Enthusiast

  • MoDaCo Silver
  • PipPipPip
  • 223 posts
  • Gender:Female
  • Location:Yorkshire, UK
  • Devices:SanFran, iPad v1
  • Twitter:@Debs626

1) Open up a command window (start->run->cmd)
2) Change to the directory where you've extracted flash_image (e.g. "cd c:\android-sdk-windows\platform-tools")

Now proceed from step #5 in the original post


wooohoooo I have USB Host working

Dont ask me how WMSL

Thanks bazzlad, arad85, gingercat for all your time and efforts :)

p.s how do I get it back to USB Slave ? just select it in GScript and reboot ?

  • 0

#13
woutxz

woutxz

    Newbie

  • Members
  • Pip
  • 35 posts
  • Gender:Male
  • Location:Cambridge, UK
  • Devices:Orange SF
Just to confirm that this also works on R4, so it's not essential to do steps 1 & 2 and two if you're still on 1.04 with R4.

  • 0

#14
nigelpwilson

nigelpwilson

    Regular

  • MoDaCo Silver
  • PipPip
  • 142 posts

wooohoooo I have USB Host working

Dont ask me how WMSL

Thanks bazzlad, arad85, gingercat for all your time and efforts :)

p.s how do I get it back to USB Slave ? just select it in GScript and reboot ?


Yes thats correct....just tried it on mine...both modes work perfect and its just a button click to swap with GScript (and a reboot)

  • 0

#15
trebor63

trebor63

    Newbie

  • Members
  • Pip
  • 16 posts
Hi,
Many thanks works a treat usb mouse Ok and stick Ok system didnt like having stick taken out though, guess I should have been a bit more carefull and been in suspend/ sleep.

One simple question, to re-enable the usb so the PC can see it do I go back and 'edit' the gscript this time selecting the slave option, saving, and then click 'usb slave' wait for it to do its stuff then reboot?

many thanks

  • 0

#16
trebor63

trebor63

    Newbie

  • Members
  • Pip
  • 16 posts
oops very slow at typing seem like it has been answered already... many thanks

  • 0

#17
trebor63

trebor63

    Newbie

  • Members
  • Pip
  • 16 posts
usb doesnt show up using ES file explorer?

  • 0

#18
bazzlad

bazzlad

    Newbie

  • Members
  • Pip
  • 49 posts
  • Devices:HTC Desire , Advent Vega
  • Twitter:@bazzlad

usb doesnt show up using ES file explorer?


Use the built in one.

  • 0

#19
boffboff

boffboff

    Regular

  • MoDaCo Silver
  • PipPip
  • 74 posts
Just seen this thread! Glad it's working after reading the developments in the other threads. I'll try and install it later and post my results in the other thread.

A massive 'Thank you' to all who sussed it out and made it togglable (is that even a word?)!!

Boff

  • 0

#20
thedicemaster

thedicemaster

    Diehard

  • Members
  • PipPipPipPip
  • 365 posts
  • Gender:Male
  • Devices:Galaxy camera, Note 2

usb doesnt show up using ES file explorer?

it does, under /mnt/usb/system_usb/

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users