After a series of idiotic events on my parts, I have ended up with full software wiped (including stock os) without USB debugging or any roms to flash. I am able to access TWRP but pretty much nothing else. If details on the events are needed to help, I will gladly disclose them. Immense thanks to anyone who attempts to help.

  • I also did not choose internal storage when wiping but chose all other options, but I think even that wiped anyway. I had miui (probably my best bet if I hadn't wiped) as my only flash able ROM. – Amrith Srinivas Mar 25 '19 at 2:07

Your concern right now should be to flash a working ROM in your device. That can be done easily using TWRP. Connect the device when booted into Twrp to PC, and the PC would see it in MTP mode. You can then copy flashable files to internal storage from PC. TWRP, in addition, comes with USB Debugging enabled, so you can do sideloading as well.

Alternatively, you may have to rely on some MI flashing tools, but I don't have an idea of how they work.

Regardless, if your OS is wiped out there is no point thinking about enabling USB Debugging there, because it cannot help you flashing a new ROM. ROM is flashed only via recovery or low-level boot environments, such as fastboot. Furthermore, the concept of USB Debugging assumes there exists a functioning OS (recovery or fully-fledged Android) which would receive the debugging commands. There exists no Android OS, so it is futile to think about USB Debugging.

| improve this answer | |
  • Thank you so much. I just moved a rom back and will see how it turns out. All should go well! – Amrith Srinivas Mar 25 '19 at 23:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.