How to change /system and /data partition sizes

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to change /system and /data partition sizes

跳至解决方案
1,616 次查看
krzysztofsza_ac
Contributor III

Hello.

On our VAR-SOM-MX6Q (512mb nand flash version) we've installed Android KK4.4.2. Unfortunatelly, there is not much data storage available.

root@md_70:/data # df

Filesystem               Size     Used     Free   Blksize

/dev                   385.8M   136.0K   385.7M   4096

/sys/fs/cgroup         385.8M    12.0K   385.8M   4096

/mnt/secure            385.8M     0.0K   385.8M   4096

/mnt/asec              385.8M     0.0K   385.8M   4096

/mnt/obb               385.8M     0.0K   385.8M   4096

/mnt/shm              1024.0K     0.0K  1024.0K   4096

/system                321.9M   308.9M    13.0M   4096

/data                   66.6M    29.3M    37.3M   4096

/cache                   7.6M    20.0K     7.6M   4096

/device                  7.6M    20.0K     7.6M   4096

/mnt/shell/emulated     66.6M    29.3M    37.3M   4096

Is there any possibility to change partitions layout that /system will occupy less space (and I will remove some apks/odex files before creating image) and that way for /data there will be more space available? I'm using nand-recovery.sh script from Yocto SD Card to flash module. I see there you're using nandwrite command with proper /dev/mtdX. I suppose I need to change mount information about mtd devices and how they are formatted, but can't find place where I can do this.

标签 (2)
0 项奖励
回复
1 解答
1,426 次查看
krzysztofsza_ac
Contributor III

Well, that was pretty easy - just change sizes in ubinize.ini and remove packages from system/app and system/priv-app that system would fit new partition size.

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,427 次查看
krzysztofsza_ac
Contributor III

Well, that was pretty easy - just change sizes in ubinize.ini and remove packages from system/app and system/priv-app that system would fit new partition size.

0 项奖励
回复