ZTE V5 Max (N958St)手动重新分区教程准备工作 在这里下载V5 Max 第三方Recovery并刷入手机(某些Recovery启动后无法连接ADB)
http://www.shuajizhijia.com/rec/9326.html 分区过程重启至Recovery后,在PC端启动ADB: 检查Recovery是否已连接ADB: C:\adb>adb devices- daemon started successfully *
List of devices attached
0123456789 device
进入 ADB Shell 模式 C:\adb>adb shell~ # 打印原始分区信息 ~ # parted /dev/block/mmcblk0 print allparted /dev/block/mmcblk0 print all
Model: MMC HAG2e (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt Number Start End Size File system Name Flags
1 17.4kB 67.1MB 67.1MB fat16 modem
2 67.1MB 67.7MB 524kB sbl1
3 67.7MB 68.2MB 524kB sbl1bak
4 134MB 134MB 32.8kB DDR
5 201MB 202MB 1049kB aboot
6 202MB 203MB 1049kB abootbak
7 203MB 204MB 524kB rpm
8 204MB 204MB 524kB rpmbak
9 204MB 217MB 12.6MB boot
10 217MB 218MB 524kB tz
11 218MB 218MB 524kB tzbak
12 218MB 219MB 524kB hyp
13 219MB 219MB 524kB hypbak
14 219MB 219MB 16.4kB sec
15 219MB 220MB 1049kB pad
16 220MB 222MB 1573kB modemst1
17 222MB 223MB 1573kB modemst2
18 223MB 224MB 1049kB misc
19 224MB 226MB 1573kB fsg
20 226MB 226MB 1024B fsc
21 226MB 226MB 8192B ssd
22 226MB 239MB 12.6MB recovery
23 239MB 247MB 8389kB ext4 persist
24 247MB 1296MB 1049MB ext4 system
25 1296MB 1430MB 134MB ext4 cache
26 1430MB 1456MB 26.2MB customfs
27 1456MB 1466MB 10.5MB splash
28 1466MB 3459MB 1992MB ext4 userdata
29 3459MB 15.8GB 12.3GB fat32 grow ~ # 删除分区28 ~ # parted /dev/block/mmcblk0 rm 28 -sparted /dev/block/mmcblk0 rm 28 -s ~ # parted /dev/block/mmcblk0 print all删除分区28完成后的分区表 parted /dev/block/mmcblk0 print all
Model: MMC HAG2e (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt Number Start End Size File system Name Flags
1 17.4kB 67.1MB 67.1MB fat16 modem
2 67.1MB 67.7MB 524kB sbl1
3 67.7MB 68.2MB 524kB sbl1bak
4 134MB 134MB 32.8kB DDR
5 201MB 202MB 1049kB aboot
6 202MB 203MB 1049kB abootbak
7 203MB 204MB 524kB rpm
8 204MB 204MB 524kB rpmbak
9 204MB 217MB 12.6MB boot
10 217MB 218MB 524kB tz
11 218MB 218MB 524kB tzbak
12 218MB 219MB 524kB hyp
13 219MB 219MB 524kB hypbak
14 219MB 219MB 16.4kB sec
15 219MB 220MB 1049kB pad
16 220MB 222MB 1573kB modemst1
17 222MB 223MB 1573kB modemst2
18 223MB 224MB 1049kB misc
19 224MB 226MB 1573kB fsg
20 226MB 226MB 1024B fsc
21 226MB 226MB 8192B ssd
22 226MB 239MB 12.6MB recovery
23 239MB 247MB 8389kB ext4 persist
24 247MB 1296MB 1049MB ext4 system
25 1296MB 1430MB 134MB ext4 cache
26 1430MB 1456MB 26.2MB customfs
27 1456MB 1466MB 10.5MB splash
29 3459MB 15.8GB 12.3GB fat32 grow 删除分区29 ~ # parted /dev/block/mmcblk0 rm 29 -sparted /dev/block/mmcblk0 rm 29 -s
Error: Partition /dev/block/mmcblk0p29 is being used. You must unmount it before you modify it with Parted.
出现该提示表示需要卸载SDCard,卸载后再次操作即可 ~ # parted /dev/block/mmcblk0 rm 29 -sparted /dev/block/mmcblk0 rm 29 -s
~ # 查看一下分区表 ~ # parted /dev/block/mmcblk0 print allparted /dev/block/mmcblk0 print all
Model: MMC HAG2e (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt Number Start End Size File system Name Flags
1 17.4kB 67.1MB 67.1MB fat16 modem
2 67.1MB 67.7MB 524kB sbl1
3 67.7MB 68.2MB 524kB sbl1bak
4 134MB 134MB 32.8kB DDR
5 201MB 202MB 1049kB aboot
6 202MB 203MB 1049kB abootbak
7 203MB 204MB 524kB rpm
8 204MB 204MB 524kB rpmbak
9 204MB 217MB 12.6MB boot
10 217MB 218MB 524kB tz
11 218MB 218MB 524kB tzbak
12 218MB 219MB 524kB hyp
13 219MB 219MB 524kB hypbak
14 219MB 219MB 16.4kB sec
15 219MB 220MB 1049kB pad
16 220MB 222MB 1573kB modemst1
17 222MB 223MB 1573kB modemst2
18 223MB 224MB 1049kB misc
19 224MB 226MB 1573kB fsg
20 226MB 226MB 1024B fsc
21 226MB 226MB 8192B ssd
22 226MB 239MB 12.6MB recovery
23 239MB 247MB 8389kB ext4 persist
24 247MB 1296MB 1049MB ext4 system
25 1296MB 1430MB 134MB ext4 cache
26 1430MB 1456MB 26.2MB customfs
27 1456MB 1466MB 10.5MB splash 重新创建分区28 ~ # parted /dev/block/mmcblk0 mkpart 28 1466MB 5000MBparted /dev/block/mmcblk0 mkpart 28 1466MB 5000MB
Information: You may need to update /etc/fstab. 重新创建分区29 ~ # parted /dev/block/mmcblk0 mkpart 29 5000MB 15.8GBparted /dev/block/mmcblk0 mkpart 29 5000MB 15.8GB
Information: You may need to update /etc/fstab. 重命名分区28 ~ # parted /dev/block/mmcblk0 name 28 userdataparted /dev/block/mmcblk0 name 28 userdata 重命名分区29 ~ # parted /dev/block/mmcblk0 name 29 growparted /dev/block/mmcblk0 name 29 grow 设置分区28的分区类型 ~ # make_ext4fs /dev/block/mmcblk0p28make_ext4fs /dev/block/mmcblk0p28
Creating filesystem with parameters:
Size: 3533541376
Block size: 4096
Blocks per group: 32768
Inodes per group: 8000
Inode size: 256
Journal blocks: 13479
Label:
Blocks: 862681
Block groups: 27
Reserved block group size: 215
Created filesystem with 11/216000 inodes and 28555/862681 blocks 分区完毕,重启手机
~ # ~ # rebootreboot
Done
~ #
C:\adb>
|