[Q] How can I change default /data partition size on TWRP image?

DodoGTA

Inactive Recognized Developer
Feb 18, 2015
2,943
1,143
113
The western part
Why I need to do this?
Because I reduced /data partition size by 16384 for "footer" on BoardConfig.mk file to make device encryption work (but I've only added this change on Android so when I'll enable device encryption on Android, TWRP probably might not be able to decrypt my device (I'm using TWRP 3.0.x, by the way))
But is it needed on TWRP (and by the way, will my ROMs that don't have that change still work on TWRP that does have it?)?

Here's a commit of this change: https://github.com/TheComputerGuy96...mmit/a1be4edbaec50bf22c4e1857070623af826f6273
(I'm sorry if my English is a little bit bad (I'm Lithuanian) and if I've posted this question in the wrong forum)

Sent from my GT-S7580 using Tapatalk