Difference between revisions of "ROM Android: Mengubah Partisi ROM"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
At first boot there will be default partition layout and fastboot mode. Connect it to your pc and change layout if you want, if not just flash cwm and restore your data.
 
At first boot there will be default partition layout and fastboot mode. Connect it to your pc and change layout if you want, if not just flash cwm and restore your data.
 +
 +
Contoh layout partisi
  
  
Default partition layout:
 
 
  misc:1Mb
 
  misc:1Mb
 
  recovery:5
 
  recovery:5
Line 10: Line 11:
 
  cache:10
 
  cache:10
 
  userdata:0 - AUTOSIZE
 
  userdata:0 - AUTOSIZE
 +
 +
Perintah fastboot dan penggunaannya
  
  
 
Fastboot command list and usage:
 
Fastboot command list and usage:
  
fastboot oem help
+
Cek keberadaan handphone
 +
 
 +
fastboot devices
 +
fastboot devices -l
 +
 
 +
help
 +
 
 +
fastboot oem help
 +
 
 
- This simple help
 
- This simple help
  
fastboot oem cls
+
 
 +
fastboot oem cls
 +
 
 
- Clear screen
 
- Clear screen
  
fastboot oem part-add name:size
+
fastboot oem part-add name:size
 +
 
 
- Create new partition with given name and size (in Mb, 0 for autosize all space)
 
- Create new partition with given name and size (in Mb, 0 for autosize all space)
 
- example: fastboot oem part-add system:160 - this will create system partition with size 160Mb
 
- example: fastboot oem part-add system:160 - this will create system partition with size 160Mb
  
fastboot oem part-resize name:size
+
fastboot oem part-resize name:size
  
 
- Resize partition with given name to new size (in Mb, 0 for autosize all space
 
- Resize partition with given name to new size (in Mb, 0 for autosize all space
Line 30: Line 44:
 
- example: fastboot oem part-resize system:150 - this will resize system partition to 150Mb
 
- example: fastboot oem part-resize system:150 - this will resize system partition to 150Mb
  
fastboot oem part-del name
+
fastboot oem part-del name
 +
 
 
- Delete named partition
 
- Delete named partition
  
fastboot oem part-create-default
+
fastboot oem part-create-default
 +
 
 
- Delete curent partition table and create default one
 
- Delete curent partition table and create default one
  
fastboot oem part-read
+
fastboot oem part-read
 +
 
 
- Reload partition layout from NAND
 
- Reload partition layout from NAND
  
fastboot oem part-commit
+
fastboot oem part-commit
 +
 
 
- Save curent layout to NAND. All changes to partition layout are tmp. untill commited to nand!
 
- Save curent layout to NAND. All changes to partition layout are tmp. untill commited to nand!
  
fastboot oem part-list
+
==Melihat layout partisi==
- Display current partition layout
+
 
 +
fastboot oem part-list
 +
 
 +
==Membuang layout partisi==
 +
 
 +
fastboot oem part-clear
 +
 
 +
==Format semua partisi==
  
fastboot oem part-clear
+
fastboot oem format-all
- Clear current partition layout
 
  
fastboot oem format-all
+
WARNING!! Perintah ini akan memformat seluruh NAND (kecuali bootloader).
- WARNING !!! THIS COMMAND WILL FORMAT COMPLETE NAND (except bootloader)\n - ALSO IT WILL DISPLAY BAD SECTORS IF THERE ARE ANY
+
Ini juga akan memperlihatkan bad block  jika ada.
- !!! THIS IS EQUIVALENT TO TASK 29 !!!
 
  
  

Revision as of 10:52, 25 December 2014

At first boot there will be default partition layout and fastboot mode. Connect it to your pc and change layout if you want, if not just flash cwm and restore your data.

Contoh layout partisi


misc:1Mb
recovery:5
boot:5
sboot:5
system:150
cache:10
userdata:0 - AUTOSIZE

Perintah fastboot dan penggunaannya


Fastboot command list and usage:

Cek keberadaan handphone

fastboot devices
fastboot devices -l

help

fastboot oem help

- This simple help


fastboot oem cls

- Clear screen

fastboot oem part-add name:size

- Create new partition with given name and size (in Mb, 0 for autosize all space) - example: fastboot oem part-add system:160 - this will create system partition with size 160Mb

fastboot oem part-resize name:size

- Resize partition with given name to new size (in Mb, 0 for autosize all space

- example: fastboot oem part-resize system:150 - this will resize system partition to 150Mb

fastboot oem part-del name

- Delete named partition

fastboot oem part-create-default

- Delete curent partition table and create default one

fastboot oem part-read

- Reload partition layout from NAND

fastboot oem part-commit

- Save curent layout to NAND. All changes to partition layout are tmp. untill commited to nand!

Melihat layout partisi

fastboot oem part-list

Membuang layout partisi

fastboot oem part-clear

Format semua partisi

fastboot oem format-all

WARNING!! Perintah ini akan memformat seluruh NAND (kecuali bootloader). Ini juga akan memperlihatkan bad block jika ada.



Referensi