Well first option sounds good I've the stock rom but i don't know what's ramdisk i don't know how to flash it.
And second option isn't possible because I tried to install TWRP many times but failed it can't load whenever i try to load i got error
Func NO : 11 (recovery image)
Error NO : 2 (load failed!)
Can you boot into bootloader?
If yes, do you see red letters, phone unlocked and frp unlock?
If yes, tell me what is your current firmware and then I'll tell you how to extract ramdisk from official rom and the right commands how to flash it.