But here is the full story and whats happening now.....
Like i said from the beginning i have a huawei y300 with no Os, how did the OS got wiped? I was in twrp and was doing a factory reset where i select advance reset and end up wiping the entire system alone with my files, Os, apps etc... after which when i turn on the phone it wont boot up.
I then realise that i could still access twrp so i search everyone it but could not find away to restore my OS and solve the problem, bare in mine that i rooted the phone.
At that point when i plugged in the phone and search for adb devices my phone was shown after a few research and attends i failed in fixing the problem. I then did something while using the push function to send clockwork recovery to the phone or something like that after which i realise that twrp stop showing on the phone i then realised that i was not seeing my devices on the list of adb. after a few attempts and i kept on trying i saw it came up as offline but now its not showing again.
So like wat i need is a software that can program the OS straight to the phone is such software does exist but in fact should because how the OS came on in the first place, i dont know much about phones but i know a little to help myself but i have reached my limit
Please can anyone telling me something that can fix this problem......