Hi there, how are y'all doing?
Well.. I was looking into installing a ROM on my Nexus 5, and I just wondered...
I had a Galaxy S3 before that, and when I installed ROMs on it, I used to copy the ROM zip file to my SD Card, remove everything from my phone's internal memory, and install the ROM from the external SD Card, that way there was NOTHING left on the phone that I previously had.
Now, I want to do the same thing with my Nexus 5, but guess what... It has no external SD Card option :\
What can I do? Is there any way to install a ROM and delete EVERYTHING I had in my phone before?
Thanks.
just wipe data before you flash.
You can't easily do what you want. Best bet would be to get a otg usb stick and use it for your rom. Otherwise, you'd have to wipe your sdcard and sideload a rom in adb. Or just wipe your sdcard boot into system, and copy and paste the rom. Then boot into recovery and do your normal wipes
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Otherwise, you'd have to wipe your sdcard and sideload a rom in adb.
Click to expand...
Click to collapse
Is using a single extra command really all that hard though?
"adb push <rom> /sdcard/<rom>"
Trel said:
Is using a single extra command really all that hard though?
"adb push <rom> /sdcard/<rom>"
Click to expand...
Click to collapse
It is for the people that used a toolkit and have no idea what adb is..
#stayparanoid
Pirateghost said:
It is for the people that used a toolkit and have no idea what adb is..
#stayparanoid
Click to expand...
Click to collapse
Ah, I would never use the toolkit unless I know how to do things manually as well.
I like knowing what the toolkit is doing incase something goes wrong.
Why do you want to wipe all your photos and videos etc? You don't need to to flash a rom
Sent from my Nexus 5 using Tapatalk
Ben36 said:
Why do you want to wipe all your photos and videos etc? You don't need to to flash a rom
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yes, this ^^^
I've never ever wiped my internal SD on any device.
Unless you're just housekeeping? But you don't have to, at all.
Related
My ROM does not have a format button in the settings, is there another way to format the internal SD space within Android itself?
Jessical said:
My ROM does not have a format button in the settings, is there another way to format the internal SD space within Android itself?
Click to expand...
Click to collapse
Quite possibly, kinda. Are you rooted? If so, what recovery are you using? Most recoveries allow you to do this.
Why do u need to format within android? Why not just format from your pc?
Using SeanZ's SkyICS 4.2F r2 v6B ROM / XDA Premium
Boot into recovery, select Mounts and storage then format sdcard/ or emmc whichever one you are wanting to format
Sent from my SAMSUNG-SGH-I727 using xda premium
gs2usr said:
Boot into recovery, select Mounts and storage then format sdcard/ or emmc whichever one you are wanting to format
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
this is correct, or as an alternative u could either a) hook it up to a computer, mount it and format, or b) use adb, but I recommend either a or the method gs2usr suggested
im gonna post in this thread instead of making a new one since im having a similar issue.
In CW recovery it'll tell me it cant mount my sd-ext and as well give me an error when trying to install a custom rom from my emmc, so do i need to do a format of both of those in order to get a custom rom to finally install again?
i've had this error ever since i switched back to rogers stock 4.0.4 to try it out
I'm getting errors in cwm too. How can I do it in ADB? Macs don't do fat32 correctly and I don't have a Windows machine.
confyzone said:
im gonna post in this thread instead of making a new one since im having a similar issue.
In CW recovery it'll tell me it cant mount my sd-ext and as well give me an error when trying to install a custom rom from my emmc, so do i need to do a format of both of those in order to get a custom rom to finally install again?
i've had this error ever since i switched back to rogers stock 4.0.4 to try it out
Click to expand...
Click to collapse
Figured it out. Please try this and see if it fixes your internal aswell.
So go ahead if you don't have it, ADB install a copy of Root Explorer.
Go into the emmc folder and give it read and write permissions.
Now, in the settings, under storage, it should let you reformat the disk again and you should be okay.
I have no idea what's up with CWR, but we were told not to use it anymore on our Kindles due to it messing with partitions. But this is how I just fixed my Skyrocket, just in time for the fireworks tonight.
when in cwm, mount the emmc first
Jessical said:
Figured it out. Please try this and see if it fixes your internal aswell.
So go ahead if you don't have it, ADB install a copy of Root Explorer.
Go into the emmc folder and give it read and write permissions.
Now, in the settings, under storage, it should let you reformat the disk again and you should be okay.
I have no idea what's up with CWR, but we were told not to use it anymore on our Kindles due to it messing with partitions. But this is how I just fixed my Skyrocket, just in time for the fireworks tonight.
Click to expand...
Click to collapse
Gonna give it a go I don't use root explorer but i use es file explorer which is the same pretty much
Sent from my SGH-I727R using xda app-developers app
I might have to do this because my files are everywhere, and possibly to have a clean start. I'm backing things up, but if I wipe internal storage, will it give me an issue if I try to flash a rom and gapps?
I believe this will delete your recovery too so you will have to push your recovery back on to your phone using adb.
Sent from my Nexus 7 using Tapatalk 2
Recon0212 said:
I might have to do this because my files are everywhere, and possibly to have a clean start. I'm backing things up, but if I wipe internal storage, will it give me an issue if I try to flash a rom and gapps?
Click to expand...
Click to collapse
If you wipe data in twrp it wipes the internal card now.
Learned this the hard way that they fixed it. Thankfully I don't keep anything important on their and keep it on my external card.
Sent from my SCH-I535 using xda app-developers app
I accidently wiped my internal storage on my S3 and don't have an SD card. Can I flash a new ROM using my PC? Or am I ****ed?
DroidNewbcake said:
I accidently wiped my internal storage on my S3 and don't have an SD card. Can I flash a new ROM using my PC? Or am I ****ed?
Click to expand...
Click to collapse
Yes, you can side load a ROM that's downloaded on your PC, or you can push a ROM to your internal storage with ADB. There's definitely a few guides on how to do it in this forum.
Sent from my SCH-I535 using Tapatalk 2
Yeah. Wiping and formatting your /system or any internal directories is lovely for a fresh and stable start... just need to have a ROM on your eternal SD card, haha. I've done this several time, forgetting about having a ROM to flash afterwards. LOL.
Just get an external card, have the ROM and flash it from there. Makes everything way easier!
I have been using Samsung Android all my life, if I buy the OnePlus One phone, how will I flash the phone with new ROM since I can't just simply put the .zip file onto external SD card and flash through recovery.
Use adb to push to the internal sd or sideload it from recovery.
Sent from my One using Tapatalk
kuromusha38 said:
I have been using Samsung Android all my life, if I buy the OnePlus One phone, how will I flash the phone with new ROM since I can't just simply put the .zip file onto external SD card and flash through recovery.
Click to expand...
Click to collapse
You can flash whatever .zip you need through the internal storage.
treChoy said:
You can flash whatever .zip you need through the internal storage.
Click to expand...
Click to collapse
How? You suppose to wipe your internal memory clean before flash any rom.
kuromusha38 said:
How? You suppose to wipe your internal memory clean before flash any rom.
Click to expand...
Click to collapse
No, you aren't. You don't need to wipe internal memory, only /system, /data, /cache and dalvik partitions.
So wait...
You're saying that everytime you flashed a rom you cleaned out your entire phone beforehand?
Sent from my HTC One using XDA Premium 4 mobile app
Derpston said:
So wait...
You're saying that everytime you flashed a rom you cleaned out your entire phone beforehand?
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes, of course. That's what they say on the instruction.
kuromusha38 said:
Yes, of course. That's what they say on the instruction.
Click to expand...
Click to collapse
im pretty sure no rom would make you wipe your internal storage. theres no reason to ever do that.
Most recovery like twrp, cwm etc doesn't wipe your internal memory when you say factory reset. Before flashing new rom most developers prefer you factory reset which wipes your system, data partitions but nothing happens to your internal memory. So you are good.
Sent from my HTC One_M8 using Tapatalk
That you for the clearing the confusion
kuromusha38 said:
That you for the clearing the confusion
Click to expand...
Click to collapse
Your Galaxy Note 2 can flash ROMs like this in the same way. Even if you use Factory Reset/Wipe Data in your recovery, it still wouldn't wipe your Note 2's internal storage. It will wipe /data (but you'll notice it'll say 'wiping /data without wiping /data/media'.
It's been this way for a long, long time.
The Jack of Clubs said:
im pretty sure no rom would make you wipe your internal storage. theres no reason to ever do that.
Click to expand...
Click to collapse
Nope. Any package that tells you to wipe /sdcard is from someone who has no clue what they're doing.
On devices with unified storage, it is slightly more complex - in rare cases the filesystem can get corrupted in such a way that requires complete format. This will clobber /sdcard on devices with unified storage (/sdcard is /data/media remapped) - but a normal wipe data/factory reset in recovery on a unified device will remove everything *except* /data/media on /data
Again, it's *very rare* that you need to fully format /data on a device with unified storage - I've only had to do it twice in my life, both times on a Moto G because f2fs sucks rancid donkey balls for data integrity.
http://www.phonearena.com/news/OneP...-card-support-revealed-in-User-Manual_id56033
???????
its clearly a typo. oneplus said specifically that the one will not come with an sdcard slot.
The Jack of Clubs said:
its clearly a typo. oneplus said specifically that the one will not come with an sdcard slot.
Click to expand...
Click to collapse
The only reviews I've found are from Android Authority and Engadget, both with the 16gb white model, and neither say a microSD card slot is there. Engadget says there isn't one, and AA pulls the cover off to show the internals - and if there was a slot, surely they would have noticed, right?
OTOH, these seem to be "pre-production" units, with software that still needs some bug fixes. So who knows what's really in store?
Planterz said:
The only reviews I've found are from Android Authority and Engadget, both with the 16gb white model, and neither say a microSD card slot is there. Engadget says there isn't one, and AA pulls the cover off to show the internals - and if there was a slot, surely they would have noticed, right?
OTOH, these seem to be "pre-production" units, with software that still needs some bug fixes. So who knows what's really in store?
Click to expand...
Click to collapse
Sorry guys, but there's no SD slot. Mounting data through something like a Meenova works though.
Also, it's worth noting that when you switch to a newer device, you can't mount storage to USB from recovery like you were once able to.
If you don't want to use sideload or adb push, you'll want to put the ROM on your storage using a working ROM first, so that's why you should always have a working ROM zip on your storage at any given time, because if you start bootlooping when you're away from a computer, you're stuck until you can get back to one.
LiquidSolstice said:
Also, it's worth noting that when you switch to a newer device, you can't mount storage to USB from recovery like you were once able to.
Click to expand...
Click to collapse
You mean like OTG in recovery? The One read my Meenova with a 32GB microSD card in the stock recovery.
Harfainx said:
You mean like OTG in recovery? The One read my Meenova with a 32GB microSD card in the stock recovery.
Click to expand...
Click to collapse
Oh, I'd believe it. But if you don't have one or if you forget, you're still screwed. Nothing beats a fully on-device solution
LiquidSolstice said:
Oh, I'd believe it. But if you don't have one or if you forget, you're still screwed. Nothing beats a fully on-device solution
Click to expand...
Click to collapse
Absolutely! :good:
NOOOB accident,
but it is done. I've erased my internal storage and now, when I boot, theres no notification or menu bar (bottom). I can't access my "SD card" cuz it doesn't exist anymore. So even If I download a ROM and try to flash it, I can't even find the download.
Any help would be greatly appreciated.
To note that I don't have access to a computer!
What exactly did you do and how?
What exactly is the current state of your phone?
rootSU said:
What exactly did you do and how?
What exactly is the current state of your phone?
Click to expand...
Click to collapse
From Recovery I wiped the internal storage... I thought that would just erase the content of it, guess I was wrong. lol
My phone wokrs, I just can't leave any application once I've opened it, I also can't install new apps. So right now I'm running XtraSmooth 3.2 with ElementalX 2.05 Kernel.
In TWRP, erase storage just wipes sdcard. Though maybe since youre on lollipop, you need to run the restorecon commands. Please tell mW you have a terminal emulator installed?
rootSU said:
In TWRP, erase storage just wipes sdcard. Though maybe since youre on lollipop, you need to run the restorecon commands. Please tell mW you have a terminal emulator installed?
Click to expand...
Click to collapse
DId, not there anymore for a reason all apps disapeared upon boot (after erasing internal storage)
Update... Phone turned off and stuck booting.. lol It's going to be an awesome! Ima bout to just throw it on the ground then in the garbage! lol
Do a full factory reset. If that doesn't work, you WILL need a computer
You could try repairing your system partition in recovery then flash a ROM or factory image.
Sent from my Nexus 7 using XDA Free mobile app
EverDawn4 said:
You could try repairing your system partition in recovery then flash a ROM or factory image.
Sent from my Nexus 7 using XDA Free mobile app
Click to expand...
Click to collapse
His system partition is fine. Its his /data/media/0 or /sdcard partition.
Since he has no storage. He can't download a ROM. Hr just needs to run a basic command from terminal to fix it, but he is struggling to install apps
rootSU said:
Do a full factory reset. If that doesn't work, you WILL need a computer
Click to expand...
Click to collapse
I'll need a computer it seems. Thanks for trying!
Kukussi said:
I'll need a computer it seems. Thanks for trying!
Click to expand...
Click to collapse
If you get one, best bet is flash entire latest (5.0.1) factory image. Then you can flash recovery if you want and root from there.
how do I do that without the developer option and USB Debug enabled? I have search and they all say to enable it... ill try to figure it out until someone tells me how...lol
Kukussi said:
how do I do that without the developer option and USB Debug enabled? I have search and they all say to enable it... ill try to figure it out until someone tells me how...lol
Click to expand...
Click to collapse
USB debugging is nothing to do with this. USB debugging works in android only. Factory images are flashed from the bootloader using fastboot.
rootSU said:
USB debugging is nothing to do with this. USB debugging works in android only. Factory images are flashed from the bootloader using fastboot.
Click to expand...
Click to collapse
Done and fixed...
Kukussi said:
how do I do that without the developer option and USB Debug enabled? I have search and they all say to enable it... ill try to figure it out until someone tells me how...lol
Click to expand...
Click to collapse
Who the hell keeps spreading this misinformation? Developer options and USB debugging are irrelevant to fastboot mode and recovery. USB debug mode is only pertinent to issuing ADB commands within the OS. It is completely meaningless to the bootloader.
rootSU said:
In TWRP, erase storage just wipes sdcard. Though maybe since youre on lollipop, you need to run the restorecon commands. Please tell mW you have a terminal emulator installed?
Click to expand...
Click to collapse
just trying to change ext4 to f2fs through TWRP. as i remmember i only wipe data, cache and dalvik. But after i formatted my data, system, partition to f2fs, my internal storage (pic, music, Tibu Backup, downloaded Zip Files) are gone. is this re-formatting thing is also wipe my internal storage? or i also just accidently klik to wipe internal storage?
Formatting implies wiping. It is starting a filesystem from fresh, even if you are formatting in the same format.
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
Edit : I don't necessarily have to flash from the PC, I just want to completely wipe the Internal memory before flashing a new Rom coz of viruses. Thank you
Sent from my A0001 using XDA-Developers mobile app
You have that option on Twrp.
Wipe -> Advanced -> Choose all partitions including internal storage
If you to Instal new rom from PC, you have to use fastboot but you can use USB otg to
FSadino said:
You have that option on Twrp.
Wipe -> Advanced -> Choose all partitions including internal storage
If you to Instal new rom from PC, you have to use fastboot but you can use USB otg to
Click to expand...
Click to collapse
But if I choose Internal storage from TWRP won't the rom and gapps get erased too?
Sent from my A0001 using XDA-Developers mobile app
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.
br0adband said:
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.
Click to expand...
Click to collapse
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
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.
Just put all the files you need on pen drive, wipe all partitions including internal storage, plug pen drive through otg cable and flash everything you need
galaxys3lover said:
Edit : I don't necessarily have to flash from the PC, I just want to completely wipe the Internal memory before flashing a new Rom coz of viruses. Thank you
Sent from my A0001 using XDA-Developers mobile app
Click to expand...
Click to collapse
Android is vulnerable to virus?
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.
ADB sideload the ROM after erasing the Internal Storage
Doomerts said:
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.
Click to expand...
Click to collapse
Thank you. Is there a tool to do that? I remember having a tool to do that for the S3.
Sent from my A0001 using XDA-Developers mobile app
galaxys3lover said:
Thank you. Is there a tool to do that? I remember having a tool to do that for the S3.
Click to expand...
Click to collapse
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?
Doomerts said:
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?
Click to expand...
Click to collapse
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
galaxys3lover said:
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
Click to expand...
Click to collapse
We cool. Good luck!
You could always just format everything through recovery and then either push or sideload the new rom through adb.
darshiz said:
ADB sideload the ROM after erasing the Internal Storage
Click to expand...
Click to collapse
this is the right answer
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!
Mr.Ak said:
Android is vulnerable to virus?
Click to expand...
Click to collapse
Everything that is connected to the internet is vulnerable to virus