设为首页收藏本站

移动叔叔

搜索
查看: 108|回复: 0

[教程] ZTE V5 MAX (N958St)手动重新分区教程

[复制链接]
发表于 2018-9-15 20:02:47 | 显示全部楼层 |阅读模式
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
  • 1
  • daemon started successfully *
    List of devices attached
    0123456789 device

进入 ADB Shell 模式

C:\adb>adb shell
  • 1

~ #

打印原始分区信息

~ # parted /dev/block/mmcblk0 print all
  • 1

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
28 1466MB 3459MB 1992MB ext4 userdata
29 3459MB 15.8GB 12.3GB fat32 grow

~ #

删除分区28

~ # parted /dev/block/mmcblk0 rm 28 -s
  • 1

parted /dev/block/mmcblk0 rm 28 -s

~ # parted /dev/block/mmcblk0 print all
  • 1

删除分区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 -s
  • 1

parted /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 -s
  • 1

parted /dev/block/mmcblk0 rm 29 -s
~ #

查看一下分区表

~ # parted /dev/block/mmcblk0 print all
  • 1

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

重新创建分区28

~ # parted /dev/block/mmcblk0 mkpart 28 1466MB 5000MB
  • 1

parted /dev/block/mmcblk0 mkpart 28 1466MB 5000MB
Information: You may need to update /etc/fstab.

重新创建分区29

~ # parted /dev/block/mmcblk0 mkpart 29 5000MB 15.8GB
  • 1

parted /dev/block/mmcblk0 mkpart 29 5000MB 15.8GB
Information: You may need to update /etc/fstab.

重命名分区28

~ # parted /dev/block/mmcblk0 name 28 userdata
  • 1

parted /dev/block/mmcblk0 name 28 userdata

重命名分区29

~ # parted /dev/block/mmcblk0 name 29 grow
  • 1

parted /dev/block/mmcblk0 name 29 grow

设置分区28的分区类型

~ # make_ext4fs /dev/block/mmcblk0p28
  • 1

make_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

分区完毕,重启手机
~ #

~ # reboot
  • 1

reboot
Done
~ #
C:\adb>


您需要登录后才可以回帖 登录 | 注册

© 2008-2018 移动叔叔. 版权所有,专业的网络售后平台 ( 黔ICP备14003359号-1 )

商务合作点击这里给我发消息|Email:service@mobileuncle.com|手机版|Archiver|移动叔叔     

GMT+8, 2018-9-24 08:35 , Processed in 0.376139 second(s), 15 queries , Gzip On, Memcache On.

返回顶部