Skip to content

Commit

Permalink
Fix not exec resizepart
Browse files Browse the repository at this point in the history
  • Loading branch information
s1204IT committed Nov 21, 2024
1 parent 299eecd commit 7498eb4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions app/src/main/java/com/saradabar/easyblu/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,14 @@ String getExpdbSize() {

void fixExpdb() {
stringBuilder = new StringBuilder();
addText("- 通知:expdb を 9MB にリサイズします。");
execute(PARTED_CMD + "resizepart 13 133MB");
addText("- 通知:expdb を削除します。");
execute(PARTED_CMD + "rm 13");
addText("- 通知:expdb を 9MB で再生成します。");
execute(PARTED_CMD + "mkpart expdb 124MB 133MB");
addText("- 通知:expdb のラベルを設定します。");
execute(PARTED_CMD + "name 13 expdb");
addText("- 通知:expdb のフラグを修正します。");
execute(PARTED_CMD + "toggle 13 msftdata");
String text = getText().toString();
addText("- 結果:");
addText(text);
Expand Down

0 comments on commit 7498eb4

Please sign in to comment.