Skip to content

Instantly share code, notes, and snippets.

@myamamic
Created December 11, 2012 06:00
Show Gist options
  • Save myamamic/4256230 to your computer and use it in GitHub Desktop.
Save myamamic/4256230 to your computer and use it in GitHub Desktop.
[Android][Tips] /systemパーティションを書き込み可で再マウントする
# device上の/systemを書き込み可で再マウントする
# 方法1:adbコマンド
#
adb root # userdebugでは必要、engでは不要
adb remount
# 方法2:端末上のシェルでmountコマンド
#
# 以下のコマンドで、"/system"のブロック名(?)を確認する
# /dev/block/platform/omap/omap_hsmmc.1/by-name/system とか /dev/block/mtdblock6 とか
# 端末によって異なる
adb shell mount
# XXX に調べた名前を入れる
adb shell mount -w -o remount XXX /system
# 備考
# 方法2だと、rootパーティションとかも書き込み可にできる
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment