当前位置: 代码迷 >> 综合 >> [RK3399][Android7.1] 调试笔记 --- 修改SYSTEM.IMG分区大小
  详细解决方案

[RK3399][Android7.1] 调试笔记 --- 修改SYSTEM.IMG分区大小

热度:40   发布时间:2023-10-09 13:51:20.0

 

Platform: RK3399-MID
OS: Android 7.1.2
Kernel: v4.4.83

问题:

内置GOOGLE服务框架后,烧录固件时提示“system分区不够存放镜像”

[RK3399][Android7.1] 调试笔记 --- 修改SYSTEM.IMG分区大小

解决:

修改system分区大小

目录:device/rockchip/rk3399/rk3399_mid/parameter.txt

默认1.5G:

CMDLINE: androidboot.baseband=N/A androidboot.selinux=permissive androidboot.hardware=rk30board androidboot.console=ttyFIQ0 init=/init mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(trust),0x00002000@0x00006000(misc),0x00008000@0x00008000(resource),0x0000C000@0x00010000(kernel),0x00010000@0x0001C000(boot),0x00010000@0x0002C000(recovery),0x00038000@0x0003C000(backup),0x00040000@0x00074000(cache),0x00300000@0x000B4000(system),0x00008000@0x003B4000(metadata),0x00000040@0x003BC000(verity_mode),0x00002000@0x003BC040(baseparamer),0x00000400@0x003BE040(frp),-@0x003BE440(userdata)

修改为3G:

CMDLINE: androidboot.baseband=N/A androidboot.selinux=permissive androidboot.hardware=rk30board androidboot.console=ttyFIQ0 init=/init mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(trust),0x00002000@0x00006000(misc),0x00008000@0x00008000(resource),0x0000C000@0x00010000(kernel),0x00010000@0x0001C000(boot),0x00010000@0x0002C000(recovery),0x00038000@0x0003C000(backup),0x00040000@0x00074000(cache),0x00600000@0x000B4000(system),0x00008000@0x006B4000(metadata),0x00000040@0x006BC000(verity_mode),0x00002000@0x006BC040(baseparamer),0x00000400@0x006BE040(frp),-@0x006BE440(userdata)

4G:

CMDLINE: androidboot.baseband=N/A androidboot.selinux=permissive androidboot.hardware=rk30board androidboot.console=ttyFIQ0 init=/init mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(trust),0x00002000@0x00006000(misc),0x00008000@0x00008000(resource),0x0000C000@0x00010000(kernel),0x00010000@0x0001C000(boot),0x00010000@0x0002C000(recovery),0x00038000@0x0003C000(backup),0x00040000@0x00074000(cache),0x00800000@0x000B4000(system),0x00008000@0x008B4000(metadata),0x00000040@0x008BC000(verity_mode),0x00002000@0x008BC040(baseparamer),0x00000400@0x008BE040(frp),-@0x008BE440(userdata)

 原理:

 ---后面补充---

  相关解决方案