I'm really not sure, but, maybe, TWRP has the option to correct the partition size (if this is what happening).Hello.
I tried flashing AICP-Mordiford GSI to Xiaomi Mi A2 Lite(daisy) in this procedure.
- Downgrade to Oreo 8.1.0
- Unlock Bootloader
- Flashing TWRP
- Flashing AICP-Mordiford GSI with fastboot
- Flashing Xiaomi stock rom's userdata.img with fastboot
- Flashing Magisk,OpenGApps with TWRP
After reboot, I succeed install AICP-Mordiford but only 4GB out of 32GB of internal storage was recognized.
How can I use all the internal storage?
"Format Data" is your solution.
Regarding dpi settings, can you please add ro.sf.lcd_density=320 during build up because I have found this line as default inside build.prop of miui rom.
Regarding screen flickering, persist.sys.qcom-brightness=4095 is not present inside build.prop on miui rom but it seems it is working as a workaround for Mi Pad 4 until better fix.