Default galaxy star pro Factory Mode On error!!

today while installing busybox by stericson from playstore
my device automatically restarts and shows this yellow screen in which it shows
PDA
Phone
CSC etc etc infos
after that i lost network cant make calls lost internet connectivity.
saw may posts on the internet as well as xda forums but most of them were for galaxy s2 s3 or s4 devices.
most of them explained that it has to do somthing with efs folder got corrupted &
said may be fixed through terminal emulator after root with this command line

su
echo -n ON > /efs/FactoryApp/factorymode
but error says no such directory found

tried flashing stock kernel and wiping data .dalvik cache and cache partition but no luck.
desperately looking for a solution