[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-12 Thread Sammy
Press Alt + F1 to the console Press Alt + F7 to the GUI On Jun 12, 3:59 pm, GrainWang 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 bet

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-12 Thread Sammy
Press Alt + F1 to show console Press Alt + F7 to show GUI On Jun 12, 3:59 pm, GrainWang 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 b

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-14 Thread GrainWang
HI Sammy: Thanks! Is there any way to add files in virtuabox after the system booting? On 6月12日, 下午4时22分, Sammy wrote: > Press Alt + F1 to show console > Press Alt + F7 to show GUI > > On Jun 12, 3:59 pm, GrainWang wrote: > > > > > Hi All: > >When virtualbox succeeded to boot, it sh

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-14 Thread Chen Yang
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 > > HI Sammy: >Thanks! Is there any way to add files in virtuabox after the > system bootin

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-14 Thread GrainWang
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 wrote: > How about trying "adb push"? It needs the network being configured properly, > you may ne

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-14 Thread Chen Yang
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 > > HI ChenYang: > I tried "adb push" first before I posted the topic, just show that > "adb: command not found"? do I still n

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-14 Thread GrainWang
Hi ChenYang: Thanks! On 6月15日, 上午11时44分, Chen Yang 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 > > > > > > > HI ChenYang: > > I tried "adb push

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-15 Thread GrainWang
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 choos

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-15 Thread Chen Yang
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_GUE

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-15 Thread GrainWang
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月

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-15 Thread Chen Yang
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 > > HI ChenYang: >According to your method,the adb was succesfully connected to the > virtualbox. But after push several test clips in

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-15 Thread GrainWang
HI ChenYang: Thanks! Is there any other configration to set to make sure the adb is ok? Yesterday, I successfuly connected the adb with virtualbox,But today, when I new a project with the same configraion and installed.vdi,and never successful again. I choosed the pcnet-pci network adapter. d

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-15 Thread Chen Yang
If you are using pcnet-pci card, you need to compile the kernel with CONFIG_PCNET32 set in the kernel configuration. You can change it to e1000 if your kernel has e1000 driver. By default, neither is enabled. You may need to enable them if you want to use. -- Chen 2009/6/16 GrainWang > > HI ChenY

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-15 Thread GrainWang
HI ChenYang: Can you kindly tell me the detailed path in make menuconfig for choosing "CONFIG_PCNET32" or e1000 driver, I enabled everything in "network support" and "Devices drivers"->"Network device support", but I can't find the configuration you mentioned. Thanks! On 6月16日, 上午11时03分, Che

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-15 Thread Chen Yang
i may have detailed description of those drivers config in previous eeepc related discussion, you can search. one easy way is just to append these into the .config file in your kernel directory: CONFIG_NET_PCI=y CONFIG_PCNET32=y CONFIG_E1000=y -- Chen 2009/6/16 GrainWang > > > HI ChenYang: >

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-15 Thread GrainWang
HI ChenYang: It seemed that I have to dig into it to get the result. Thanks for your help. On 6月16日, 下午2时20分, Chen Yang wrote: > I have not met this kind of problem. I have successfully used the pcnet-pci > card, also well as the e1000 desktop card with original 2.6.25 kernel. I > don't know

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-15 Thread GrainWang
HI YiSun: No,such kind of thing can't happen twice,haha. BTW, I built the kernel in "cupcake" branch, and copy the built image and .config to the "master' branch,everything is ok, just randomly the adb can't connect to the virtual box. Thanks! On 6月16日, 下午2时25分, Yi Sun wrote: > Man, did yo

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-15 Thread Chen Yang
oh, after the virtualbox restarts its kernel, you'd better repeat the "adb kill-server" and "adb devices" to let it scan for it. Otherwise, adb may not be able to find it. -- Chen 2009/6/16 GrainWang > > HI YiSun: > No,such kind of thing can't happen twice,haha. BTW, I built the > kernel in

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-16 Thread Yi Sun
Grain, Let's us know if it works for you or not. If it is solve your problem, I will make this thread into a wiki page. Yi On Tue, 2009-06-16 at 14:35 +0800, Chen Yang wrote: > oh, after the virtualbox restarts its kernel, you'd better repeat the > "adb kill-server" and "adb devices" to let it sca

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-16 Thread GrainWang
HI YiSun,ChenYang: Thanks! It's solved,when using adb kill-server and adb devices as Chen recommended. It have none business with the kernel. I tried adb devices alone several times,but not used together with adb kill- server. I'm now upgrading the virtualbox to check whether it helps. On 6月16

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-16 Thread GrainWang
HI ChenYang: When adb push a video and a jpg file into /sdcard,still got "No media found", I added "setprop EXTERNAL_STORAGE_STATE mounted" in the end of init.rc. The following is the logcat message. Any suggestions? Thanks! I/ActivityManager( 2060): Starting activity: Intent { action=android.i

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-16 Thread Chen Yang
Check the /sdcard's permission, see whether you app has the write permission. -- Chen On Tue, Jun 16, 2009 at 4:32 PM, GrainWang wrote: > HI ChenYang: >When adb push a video and a jpg file into /sdcard,still got "No > media found", I added "setprop EXTERNAL_STORAGE_STATE mounted" in the > end

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-16 Thread GrainWang
HI ChenYang: I can adb push the file into /sdcard, and to be safe, before playing file, I "chmod 777 sdcard",so it should have no permission issue. Maybe it's related to thumbnail check or something, when i dig into the source code. But I'm not sure.Thanks! On 6月16日, 下午5时01分, Chen Yang wrot