How to change /system and /data partition sizes

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to change /system and /data partition sizes

ソリューションへジャンプ
1,545件の閲覧回数
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,355件の閲覧回数
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,356件の閲覧回数
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 件の賞賛
返信