Add ESP Format commands
This commit is contained in:
parent
df3db37212
commit
be99dce05e
|
@ -92,6 +92,16 @@ mkpart esp fat32 XGB YGB
|
|||
> `mkpart linux ext4 27.9GB 126GB` for 128 GB model \
|
||||
> `mkpart linux ext4 27.9GB 254GB` for 256 GB model
|
||||
|
||||
#### Quit from parted
|
||||
```
|
||||
quit
|
||||
```
|
||||
|
||||
#### Format created ESP patition
|
||||
```
|
||||
mkfs.fat -F32 -s1 /dev/block/platform/soc/1d84000.ufshc/by-name/esp -n ESPNABU
|
||||
```
|
||||
|
||||
#### Create dtbo backup
|
||||
```
|
||||
adb shell "dd if=/dev/block/platform/soc/1d84000.ufshc/by-name/dtbo$(getprop ro.boot.slot_suffix) of=/tmp/normal_dtbo.img"; adb pull /tmp/normal_dtbo.img
|
||||
|
|
|
@ -92,6 +92,16 @@ mkpart esp fat32 XGB YGB
|
|||
> `mkpart linux ext4 27.9GB 126GB` для модели на 128 GB \
|
||||
> `mkpart linux ext4 27.9GB 254GB` для модели на 256 GB
|
||||
|
||||
#### Выйдите из parted
|
||||
```
|
||||
quit
|
||||
```
|
||||
|
||||
#### Отформатируйте efi раздел
|
||||
```
|
||||
mkfs.fat -F32 -s1 /dev/block/platform/soc/1d84000.ufshc/by-name/esp -n ESPNABU
|
||||
```
|
||||
|
||||
#### Сделайте резервную копию dtbo
|
||||
```
|
||||
adb shell "dd if=/dev/block/platform/soc/1d84000.ufshc/by-name/dtbo$(getprop ro.boot.slot_suffix) of=/tmp/normal_dtbo.img"; adb pull /tmp/normal_dtbo.img
|
||||
|
|
Loading…
Reference in a new issue