2012年5月17日 星期四

在Parallels 安裝支援 virtual machine --Android x86

1.下載 Android x86 iso,並執行安裝

http://www.android-x86.org/download

 

2.開啟sd card 支援權限

a.開啟系統Terminial emulator

 切換至root權限

  $su

  #

 

a.利用檔案建立虛擬SD card

http://www.android-x86.org/documents/sdcardhowto

# dd if=/dev/zero of=/data/sdcard.img bs=1024 count=65536 (64MB image) # losetup /dev/block/loop7 /data/sdcard.img # newfs_msdos /dev/block/loop7

 

c.更改開機grup ,把SDCARD=premount

  a.重新開機到debug model

   b.編輯/mnt/grup/menu.lst

      #vi /mnt/grub/menu.lst

       

3.如何手動安裝apk 軟體

  1. 開啟Terminal
  2. $su
  3. #cd /system/app
  4. download application: 
  5. #wget http://65.99.230.146/md/1835012/PilotLines.apk
  6. goto home: press ALT+F7, you'll see app now. :)

4.如何讓系統支援Google app

a.找到gapp pacage

  

http://dl.dropbox.com/u/62965036/gapps-ics-4.0.3-20120302.zip

a.將相關的檔案放置對應的檔案夾內

/system/*

/system/vendor/*

 

 

5.開啟debug log

參考文件:http://www.android-x86.org/documents/debug-howto

  • ./adb kill-server
  • ./adb connect <VirtualBox IP address>:5555, after this command, you should see something like below
            * daemon not running. starting it now *            * daemon started successfully *            connected to <VirtualBox IP address>:5555
  • ./adb logcat to dump the debug log
 
 
 6.設定IP跟DNS
1. Setup IP address, this one is using DHCP
netcfg eth0 dhcp

2. Set the DNS server to HiNet DNS server
setprop net.dns1 168.95.1.1
 

沒有留言:

How to restore a deleted onenote page

復原不小心誤刪的onenote