You may need to set the state to tell the system: try: #setprop EXTERNAL_STORAGE_STATE mounted Then see whether it works or not. -- Chen 2009/6/15 GrainWang <[email protected]>
> > HI ChenYang: > According to your method,the adb was succesfully connected to the > virtualbox. But after push several test clips in the /sdcard path, the > "gallery" still prompt "No media found", does you know the reason? And > how can I do to make the clips availble in the virtual box?Thanks! > > On 6月15日, 下午3时32分, Chen Yang <[email protected]> wrote: > > Oh, the ethernet card driver should match the network configuration in > the > > virtualbox, typically > > it provides the support of intel e1000 and PCnet-pci. I have used > e1000/NAT. > > Then in order to let the adb can find it, you may need to specify the > port > > forwarding via: > > VBoxManage setextradata "$YOUR_GUEST " > > "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP > > VBoxManage setextradata "$YOUR_GUEST" > > "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" > 5555 > > VBoxManage setextradata "$YOUR_GUEST" > > "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" > 5555 > > then it may work. > > > > I haven't played the virtual ethernet pair. But you can try to see > whether > > you can list its ip address by netcfg in the virtualbox environment by > > alt+f1. And see whether you can ping that address in your host, if you > can > > ping that address, try to set the address to environment variable ADBHOST > > and use "adb kill-server" and then "adb devices" to list the device. > > > > -- > > Chen > > > > 2009/6/15 GrainWang <[email protected]> > > > > > > > > > > > > > HI ChenYang: > > > The issue now is when using adb push, there is error message"No > > > device found", when I do make menuconfig, I choose "Device drivers"- > > > >"Network device support"->"virtual ethernet pair", and replaced the > > > built image. Is this all needed for the kernel?When virtualbox booted, > > > I choose "google search" to search in the website, the network > > > connection is ok. Does adb need some aditional configations? Is there > > > any guide exist for this? Also, when selecting "gallery", there is > > > always "No media found", even when I insert a mini sd card and a usb > > > disk which both contain the test clips.How to let the test clips > > > avaiable in virtual box? Thanks in advance! > > > On 6月15日, 上午11时44分, Chen Yang <[email protected]> wrote: > > > > hi, Grain: > > > > It's available in the built directory: > > > > mydroid/out/host/linux-x86/bin > > > > export it to the PATH, then you can use it easily. > > > > -- > > > > Chen > > > > 2009/6/15 GrainWang <[email protected]> > > > > > > > HI ChenYang: > > > > > I tried "adb push" first before I posted the topic, just show that > > > > > "adb: command not found"? do I still need something tools and > where's > > > > > the link? Thanks! > > > > > > > On 6月15日, 上午10时27分, Chen Yang <[email protected]> wrote: > > > > > > How about trying "adb push"? It needs the network being > configured > > > > > properly, > > > > > > you may need to compile the kernel supports the virtual ethernet > card > > > > > that > > > > > > virtualbox emulates. > > > > > > -- > > > > > > Chen > > > > > > > > 2009/6/15 GrainWang <[email protected]> > > > > > > > > > HI Sammy: > > > > > > > Thanks! Is there any way to add files in virtuabox after the > > > > > > > system booting? > > > > > > > > > On 6月12日, 下午4时22分, Sammy <[email protected]> wrote: > > > > > > > > Press Alt + F1 to show console > > > > > > > > Press Alt + F7 to show GUI > > > > > > > > > > On Jun 12, 3:59 pm, GrainWang <[email protected]> wrote: > > > > > > > > > > > Hi All: > > > > > > > > > When virtualbox succeeded to boot, it show up in > window > > > > > > > > > mode,and I have not found the shell to get into command > line > > > > > mode,does > > > > > > > > > anyone know the solution?I'll frequently tranfser between > the > > > two > > > > > > > > > modes just like in a real linux. Thanks!- 隐藏被引用文字 - > > > > > > > > > > - 显示引用的文字 -- 隐藏被引用文字 - > > > > > > > > - 显示引用的文字 -- 隐藏被引用文字 - > > > > > > - 显示引用的文字 -- 隐藏被引用文字 - > > > > - 显示引用的文字 - > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
