To root my phone and upgrade to custom ROM, I went into recovery (TWRP v22.214.171.124) to wipe mode, but instead of selecting just 'Data', 'Cache' and Dalvik, by mistake I had formatted 'system', 'emmc', 'Android Secure' and 'System' as well
Now only recovery works, can go into TWRP, but nothingelse. I cannot use SP flash tool to download as it does not connect or recognise my device.
And I tried to run ADB directly,
I can issue "adb devices" it gives me my device number.
But I cannot "adb shell" as /System/bin/*.sh doesnot exist...
1. "adb remount" success
2. "adb root" got root access
3. cannot "adb push rom.zip /Data/rom.zip" but fails copy
and "adb push rom.zip /emmc/rom.zip" fails copy as well.
Please help me, I do not know what to do.