Resizing cache partition to have more space

90 views
Skip to first unread message

Mohammad Saleh Dehghanpour

unread,
Sep 11, 2019, 5:50:45 PM9/11/19
to android-porting
I am building an AOSP image for myself but there is just 500MB on its /cache partition. I need more space because the downloaded OTA image will reside there.
How can I resize the cache partition? There is some configs about system and userdata partitions in the BoardConfig.mk file but can not find any info about cache partition.

my bootloader is u-boot. I think I should change some things there....(?)

toxic storm

unread,
Sep 12, 2019, 12:14:30 PM9/12/19
to android-porting
Lmk

Mohammad Saleh Dehghanpour

unread,
Sep 13, 2019, 12:48:11 PM9/13/19
to android-porting
Execuse me what?

I know I should edit the device tree but still wondering why SYSTEM PARTITION SIZE is defined in two places . (device tree and BoardConfig.mk) which one is important and is this a violation of DRY principle in AOSP?!
Thanks


On Thursday, September 12, 2019 at 8:44:30 PM UTC+4:30, toxic storm wrote:
Lmk

Yong Ma

unread,
Sep 19, 2019, 12:35:01 PM9/19/19
to android-porting
OTA images can be place in /data/ota_package. And data partition should be mounted on recovery mode.

在 2019年9月12日星期四 UTC+8上午5:50:45,Mohammad Saleh Dehghanpour写道:
Reply all
Reply to author
Forward
0 new messages