由於 Android 是開源系統,Android 被移植至 x86 的桌面硬件上,就是 Android x86
Android x86 能在 http://www.android-x86.org/ 下載
在正式安裝在實體硬件上,先在 VirtualBox 等虛擬機上測試

由於 Android 不屬於任何 Linux 發行版系統
在 VirtualBox 選擇使用的架構時,需要選擇 Linux 及使用 Linux 2.6 / 3.x 核心

另外由於 Android 原本設計是觸控操作
在 VirtualBox 模擬時需要強制將「指標裝置」改為「PS/2 滑鼠」
否則會不能顯示游標位置

使用 Android x86 起動
起動時能以 Live 方式起動 或 安裝在硬碟上

安裝時有小技巧
按 TAB 鍵可以在 GRUB boot menu 上修改 boot entry 內容
在 boot entry 的最後加上「vga=ask」能在起動時詢問以其他解像度顯示

輸入需要使用解像度的代表就能以該解像度起動 Android x86
但需要留意 VirtualBox 的效能限制,以太高解像度起動的 Android x86 會導致畫面緩慢,甚至起動失敗
因此在下只以 1024 x 768 x 16 顯示

正式安裝 Android x86 前,需要先處理硬碟分割設定
先選擇「Create/Modify partitions」

GPT 視乎閣下的硬碟上有否需要使用 GPT 起動的作業系統
若沒有,不使用 GPT 亦可

選取需要分割的硬碟位置後,選擇「New」

以「Primary」分割

由於這分割為 GRUB 的分區,大概只使用 512MB 空間即可

以「Beginning」分割

選取另外分割的硬碟位置,選擇「New」

同樣以「Primary」分割

使用剩餘的空間安裝 Android x86

確定分割設定後,選取「Write」

輸入「yes」來執行分割設定

完成分割後,選取「Quit」結束硬碟分割

選擇 sda2 即第二分割區安裝 Android x86

安裝前需要格式化
通常 Linux 系統都以 Ext 為系統格式,Ext4 為較新的 Linux 系統格式

確定格式化 sda2

等待格式化

由於需要起動 Android x86 必須安裝 GRUB

與之前 GPT 相同,若果沒有其他需要 EFI 起動的作業系統是可以略過安裝 EFI GRUB2
不過 EFI GRUB2 其實支援更多較新的系統,安裝 EFI GRUB2 亦可

將 /system 以可讀可寫方式安裝,能方便進行偵錯

等待安裝

完成安裝後,可立即起動 Android x86 或重新啟動

若果重新啟動,會先起動 GRUB
再選擇以不同模式起動 Android x86
同樣,GRUB menu 能修改起動設定,但 GRUB 為以按「E」進入 boot entry 進行設定

選擇起動行,再按「E」編輯起動設定

同樣在 boot entry 的最後加上「vga=ask」能在起動時詢問以其他解像度顯示

同樣輸入需要使用解像度的代表就能以該解像度起動 Android x86

正式起動 Android x86

安裝前可先選擇顯示語言

由於使用電腦,除非閣下擁有能在電腦上使用的 SIM 卡裝置
否則可以略過此步

由於電腦通常都會有網絡線使用,亦可以略過此步

確認略過 Wi-Fi 設定

若閣下沒有 Google 帳戶,可略過此步

確認略過設定 Google 帳戶

設定時區、日期、時間

若沒有設定 Google 帳戶,便需要設定一個臨時帳戶

確認使用者條款後,便完成初始化


若閣下擁有 Google 帳戶,可以立即設定

若有使用「兩步驗證」還需要輸入 SMS 驗證碼

完成 Google 帳戶設定

設定付費方式,暫時略過此步

以 Google 帳戶完成設定會多一項使用者條款
確認使用者條款後,便完成初始化

正式使用 Android x86


開啟瀏覽器測試網絡狀態





由於 Android x86 原本是沒有中文輸入法
因此先到 Play Store 搜尋「Google Input Method」安裝 Google 的輸入法
香港使者用建議安裝「Google 粵語輸入法」

執行「Google 粵語輸入法」


啟動 Google 粵語輸入法

確認資料收集資訊

選取 Google 粵語輸入法

選取「粵語拼音」




完成設定

測試中文輸入法
開啟可以進入文字輸入的應用程式,如瀏覽器
指向在文字輸入欄,畫面右下角會顯示,鍵盤設定

啟動「顯示輸入法」

選擇適合閣下使用的中文輸入法,如倉頡輸入法

確定輸入正常

由於使用虛擬機沒有正式的關機按鈕
需要透過虛擬機傳送關機訊號給虛擬機中的系統

選取「傳送關機訊號」

便能使虛擬機中的 Android x86 正常關機

在 Android x86 運行 Youtube
Youtube 正確無誤地運作



在 Android x86 運行 Cut The Rope
由於 Cut The Rope 會強制以 Portrait 進行遊戲,但一般畫面會以 Landscope 顯示,會導致畫面旋轉 270度
可以將 Notification 拉下,將旋轉設定為自動旋轉,然後快速按下 2次:
但若果應用程式會強制以特定方向顯示,則必須離開應用程式才能重設方向- F9 ,設定畫面為 Landscope (0度,橫向)
- F10 ,設定畫面為 Reverse Landscope (180度,逆橫向)
- F11 ,設定畫面為 Portrait (270度,直向)
- F12 ,設定畫面為 Reverse Portrait (90度,逆直向)

並不是每個遊戲都能正常運行,例如執行 Line Rangers 便會發生錯誤
實際上,除了 Line Rangers 還有不少遊戲及應用程式都不能執行
這有機會是因為 VirtualBox 的支援限制並非 Android x86 的問題,因為在下未在實際硬件上安裝 Android x86
沒有留言 :
張貼留言