Fully Wipe internal Storage and flash new Rom from Pc

galaxys3lover

Senior Member
Dec 6, 2012
1,127
696
0
Tbilisi
Hey guys, I just wanted to know if there is any way by which I could completely wipe the internal memory and flash a rom, kernel etc straight from the PC through USB? Also If someone could recommend a Rom and gapps (xposed user) it would be greatly appreciated. Thank you. ☺

Sent from my A0001 using XDA-Developers mobile app
 

br0adband

Senior Member
Mar 28, 2008
1,718
779
0
Well yes that would happen, you'd delete the files you put on the internal storage so, when you do the "full" wipe in TWRP using the Advanced wipe option, select everything except the internal storage which will leave those files located there intact.
 

galaxys3lover

Senior Member
Dec 6, 2012
1,127
696
0
Tbilisi
Well yes that would happen, you'd delete the files you put on the internal storage so, when you do the "full" wipe in TWRP using the Advanced wipe option, select everything except the internal storage which will leave those files located there intact.
I understand but I want to wipe the internal storage too , is there a way for me to flash the files from the PC through recovery?

Sent from my A0001 using XDA-Developers mobile app
 

br0adband

Senior Member
Mar 28, 2008
1,718
779
0
No, there's not really much you can do at that point since you'd be cleaning out any content there you'd need to redo the phone back to a functional state. The only types of ROMs you can flash directly in fastboot mode are pretty much the factory CyanogenOS ones from what I can tell, those are the only ones provided as actual partition images, the rest are designed to be installed through recovery, even OxygenOS comes in a recovery flashable form (the last one for the OPO, 2.1.4).

Well there's one possible way: using an OTG USB stick with the ROM files on that, it might work but I can't say for certain it will. You could do the full wipe including the internal storage, use the file manager in TWRP to copy the ROM from the OTG USB stick back to internal storage then flash, maybe.
 
  • Like
Reactions: galaxys3lover

Doomerts

Member
May 10, 2016
17
7
0
I just wipe and transfer the ROM/Gapps/addons from my PC while still in recovery.

This has always worked fine with my Oneplus One. My Note 5 and Galaxy Tab S2 will not be detected by my PC in recovery.
 
  • Like
Reactions: galaxys3lover

Doomerts

Member
May 10, 2016
17
7
0
Thank you. Is there a tool to do that? I remember having a tool to do that for the S3.
euh, Windows explorer?

I don't use a tool at all. I plug in the USB cable, computer goes "pling", I drag and drop files from my computer into the phone's folder and done.

If you can't do this I'm not really even sure where to begin to find out why I can and you can't. Try just, going into recovery, plugging your phone into your computer and seeing what happens?
 

galaxys3lover

Senior Member
Dec 6, 2012
1,127
696
0
Tbilisi
euh, Windows explorer?

I don't use a tool at all. I plug in the USB cable, computer goes "pling", I drag and drop files from my computer into the phone's folder and done.

If you can't do this I'm not really even sure where to begin to find out why I can and you can't. Try just, going into recovery, plugging your phone into your computer and seeing what happens?
My bad , I thought windows woudnt recognize the phone storage while in recovery , I thought i would have to do it through fastboot , i just checked it reads while in recovery ,I will try flashing now , Thanks for your help :)
 
Jul 28, 2015
14
2
0
I'm surprised people haven't come up with ADB push yet.
Before wiping everything ADB pull the required files.
Wipe everything from the recovery, and while in recovery, ADB push everything you pulled back to the device.
Profit!