[網路文章] HTC OneX 小常識 (指令篇)

常常會忘記,所以紀錄一下。

參考網址  (失效)

下列所述亦適用一般Android系統機子!

HTCDev 官方解鎖使用之

fastboot oem get_identifier_token 提取序號碼

fastboot flash unlocktoken Unlock_code.bin 解鎖

fastboot oem lock 重新上鎖

一般常用

adb shell

adb devices 裝置連結確認

adb reboot bootloader 重啟至bootloader介面

adb reboot recovery 重啟至recovery介面

adb shell getprop ro.cid 查詢cid

adb shell getprop 查看裝置全部訊息参數

adb shell getprop ro.serialno 查看裝置的SN

adb shell getprop ro.carrier 查看裝置的CID

adb shell getprop ro.hardware 查看裝置機板代號

adb shell getprop ro.bootloader 查看SPL(HBOOT)版本號

adb shell getprop gsm.version.ril-impl 查看RIL 版本號

adb shell
mount |grep ext
 查看ext

adb shell
cat proc/emmc
 查看emmc

adb shell
cat proc/partitions

adb shell
cat proc/mounts

adb shell uname -a 查看裝置的Kernel

adb backup -apk -all -system -f <filename>.ab

adb restore <filename>.ab

fastboot環境

fastboot reboot 重啟

fastboot reboot-bootloader 重啟至bootloader介面

fastboot getvar cid 查詢cid 

fastboot oem readcid 查詢cid 

fastboot getvar all 查詢裝置訊息

fastboot flash recovery recovery.img 寫入recovery.img

fastboot flash boot boot.img 寫入boot.img

fastboot erase cache 抹去 cache
fastboot erase recovery
fastboot erase boot
fastboot erase system

fastboot getvar battery-voltage

fastboot oem listpartition

fastboot oem rebootRUU

fastboot flash zip firmware.zip

fastboot oem boot

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料