Finally after resintalling android, I erased cache, data and system paritions and then use "Wipe data" using TWRP and I succcesfully installed ubuntu.
Finally after resintalling android, I erased cache, data and system paritions and then use "Wipe data" using TWRP and I succcesfully installed ubuntu.