[Q] Saving media to survive a wipe when installing new ROMsg a new ROM - Nexus S Q&A, Help & Troubleshooting

Hi,
With the lack of an SD card, how do we save media to survive every wipe? Is there some way to set aside a portion of the internal memory which does not get wiped every time you have to install a new ROM?

Internal memory = SDCard.
It's just a SDCard that you cannot remove!

True. But is there some way to partition part of the card which does not get wiped?

Your sdcard does not get wiped unless you reformat it... when you wipe before installing rom's your wiping your /system /data not your sdcard

The only time your internal storage gets wiped is when you lock/unlock the bootloader. When wiping data/factory reset it leaves it alone.

Thanks a lot.

Moved to Q&A

Related

Wondering why my data transferred over when I installed CM10.1.

Before I installed CM10.1 my phone was a stock Verizon Samsung Galaxy SIII with JellyBean 4.1.1 on it. I had all of my apps, pictures, etc. on it. (I also have no External SD card). I ended up rooting the phone and installed ClockWorkMod I pushed wipe/factory reset within the ClockWorkMod menu (up/power/home). I also wiped the caches and Dalvik cache. I then installed CM10.1. Once CM10.1 was installed I went to settings > backup & reset and then did a Factory data rest. This did yet again another factory reset with CM10.1.
I am wondering how in the world I still have all of my 500 images / videos in my Gallery that were on my original stock JellyBean 4.1.1. Could someone please tell me. Also, please tell me what I should have done to get a completely fresh installation without a single thing from the past. The only thing I guess I could have done was a factory reset when I was on JellyBean 4.1.1 to wipe everything, then install CM10.1.
(BY THE WAY I always have Back up my data, backup account, Automatic restore all UNCHECKED)
The factory data reset doesn't wipe the InternalSD, it just removes apps and settings and puts the phone back to how it came out of the box (settings wise). To delete all the data on your internal SD card, go to Mounts and Storage and you'll see an option for "format /data and /data/media (/sdcard)". That will delete everything on your internalSD.
Here's the catch, though. If you don't have an EXTERNAL SD with the rom you want to flash on it, you'll wipe off whatever rom you were going to flash, leaving you with a phone that has nothing to "boot up".
If you want to start clean, wipe /system, /data, /cache, and dalvik cache, flash your rom, then format the internal SD, don't do it the other way around.
I think that'll work....someone else chime in if I'm wrong about wiping sd after rom intall (that'll get rid of the /0 folder...could cause a problem booting up...)
The easiest way is to just buy an external sd card....doesn't have to be big (2 gig), put your flashable zip on it, wipe /system, /data, /cache, internal sd, and dalvik cache, then flash the zip on the external.
letinsh said:
The factory data reset doesn't wipe the InternalSD, it just removes apps and settings and puts the phone back to how it came out of the box (settings wise). To delete all the data on your internal SD card, go to Mounts and Storage and you'll see an option for "format /data and /data/media (/sdcard)". That will delete everything on your internalSD.
Here's the catch, though. If you don't have an EXTERNAL SD with the rom you want to flash on it, you'll wipe off whatever rom you were going to flash, leaving you with a phone that has nothing to "boot up".
If you want to start clean, wipe /system, /data, /cache, and dalvik cache, flash your rom, then format the internal SD, don't do it the other way around.
I think that'll work....someone else chime in if I'm wrong about wiping sd after rom intall (that'll get rid of the /0 folder...could cause a problem booting up...)
The easiest way is to just buy an external sd card....doesn't have to be big (2 gig), put your flashable zip on it, wipe /system, /data, /cache, internal sd, and dalvik cache, then flash the zip on the external.
Click to expand...
Click to collapse
I actually have an external SD card where I keep CM10.1 and gapps for JellyBean 2.4.1. So I can just go into mount and storage and click every single format option there except for the external SD one right. Then I can install CM10.1 and gapps. Right?
HunterT said:
I actually have an external SD card where I keep CM10.1 and gapps for JellyBean 2.4.1. So I can just go into mount and storage and click every single format option there except for the external SD one right. Then I can install CM10.1 and gapps. Right?
Click to expand...
Click to collapse
yeppers. That's the best way to make sure you're starting so fresh and so clean, clean.

Wipe Internal Storage

I would like to wipe internal storage to make better/clean install of the ROM (
with old S3 i make a folder on Ext SD with .zip file
reboot to cwm
backup
wipe all (cache + data + system + internal storage)
install (rom + gapps + kernel)
reboot
As you know on 1+ there is no Ext Sd
Someone has already tried to do:
copy .zip file to a folder on PC
reboot to TWRP (2.8.0.1)
make a backup
connect phone to pc and mount data
copy backup from 1+ to Pc
advanced wipe (cache + data + system + internal storage)
copy .zip file from PC to 1+
install (rom + gapps + kernel)
reboot
Can it work?
P.s. I have no OTG cable or USB
You should be able to wipe everything and install the Rom-Zip via ADB-Push.
Why dont you try to install the new rom in recovery with a normal wipe and after you falsh the rom + gapps do a wipe of the internal sdcard should have the same affect ?
are you out of your mind? DO NOT WIPE INTERNAL!!! WIPE SYSTEM AND DATA ONLY
here's my thread for when you wipe internal and brickloop your phone!
markbencze said:
are you out of your mind? DO NOT WIPE INTERNAL!!! WIPE SYSTEM AND DATA ONLY
here's my thread for when you wipe internal and brickloop your phone!
Click to expand...
Click to collapse
Wow. Interesting thread. However, I wipe my internal storage (for a "full" wipe) everytime I flash a new rom or even the weekly of a same rom and luckily I haven't ran into the problems in your thread.
to the OP: I put all of my zip files in a USB otg so flashing is a bit simpler. This includes all of my nandroid and media.
I would wait to wipe the internal storage until you figure out which route you want to use (USB-otg or ADB)
Until then a normal factory reset in your recovery should be good. Also as @Hogyoku metioned you can erase internal from within the Rom to get the same effect.
Sent from my One A0001 using XDA Free mobile app
Mojar7070 said:
Wow. Interesting thread. However, I wipe my internal storage (for "full" wipe) evertime I flash a new rom or even the weekly of a same rom and luckily I haven't ran into the problems in your thread.
I do put all of my zip files in a USB otg so flashing is a bit simpler.
Sent from my One A0001 using XDA Free mobile app
Click to expand...
Click to collapse
That's not wise. You should never wipe internal plain and simple. All that s required for full wipe is system and data. If you continue doing so, you're going to find out the hard way one day
markbencze said:
That's not wise. You should never wipe internal plain and simple. All that s required for full wipe is system and data. If you continue doing so, you're going to find out the hard way one day
Click to expand...
Click to collapse
This i what the OP wanted i'm not saying it's smart .....
::I would like to wipe internal storage to make better/clean install of the ROM :
Hogyoku said:
This i what the OP wanted i'm not saying it's smart .....
::I would like to wipe internal storage to make better/clean install of the ROM :
Click to expand...
Click to collapse
who ever is saying to wipe internal doesn't know what they're doing. This is the last I will mention of this here. There is no need and it's dangerous. That's how efs and the persist files get wiped and you find yourself in some serious trouble.
when installing a rom all that is needed is wipe data and system. Not cache, not dalvik and certainly not internal.
So many people have a misconception on how to properly wipe and everything seems to think they need to wipe caches on top of system and data. Well guess what, when you wipe system and data the caches get wiped too so it's just an extra unneeded step. And some people will post crap saying to wipe 3 times when flashing etc. They are simply making things up
markbencze said:
who ever is saying to wipe internal doesn't know what they're doing. This is the last I will mention of this here. There is no need and it's dangerous. That's how efs and the persist files get wiped and you find yourself in some serious trouble.
when installing a rom all that is needed is wipe data and system. Not cache, not dalvik and certainly not internal.
So many people have a misconception on how to properly wipe and everything seems to think they need to wipe caches on top of system and data. Well guess what, when you wipe system and data the caches get wiped too so it's just an extra unneeded step. And some people will post crap saying to wipe 3 times when flashing etc. They are simply making things up
Click to expand...
Click to collapse
markbencze said:
That's not wise. You should never wipe internal plain and simple. All that s required for full wipe is system and data. If you continue doing so, you're going to find out the hard way one day
Click to expand...
Click to collapse
markbencze said:
are you out of your mind? DO NOT WIPE INTERNAL!!! WIPE SYSTEM AND DATA ONLY
here's my thread for when you wipe internal and brickloop your phone!
Click to expand...
Click to collapse
This is complete bull****. Internal wipe will NEVER destroy anything it just wipes the whole /data/ instead of leaving /data/media. If you want your usb storage / internal sdcard / whatever you call it to be erased that's the one to choose. For a complete clean install:
1. BACKUP EVERYTHING YOU MIGHT EVER NEED AGAIN.
2. Grab ROM and GAPPS and put it on internal storage
3. Boot recovery and wipe DATA, SYSTEM, CACHE (dalvik is not needed because it's located on /data)
3. Flash ROM and GAPPS
4. Wipe internal storage
5. Stop talking about things you don't know correctly
om22 said:
This is complete bull****. Internal wipe will NEVER destroy anything it just wipes the whole /data/ instead of leaving /data/media. If you want your usb storage / internal sdcard / whatever you call it to be erased that's the one to choose. For a complete clean install:
1. BACKUP EVERYTHING YOU MIGHT EVER NEED AGAIN.
2. Grab ROM and GAPPS and put it on internal storage
3. Boot recovery and wipe DATA, SYSTEM, CACHE (dalvik is not needed because it's located on /data)
3. Flash ROM and GAPPS
4. Wipe internal storage
5. Stop talking about things you don't know correctly
Click to expand...
Click to collapse
Omg man you are not helping things here. Do you think its just a coincidence that everyone with these bricks wiped internal?
Considering I found the fix to this issue I'm pretty sure I know what I'm talking about. But nice try.
Anyway I'm done here. I came here to help people recover from their bricks which I have done.
markbencze said:
Omg man you are not helping things here. Do you think its just a coincidence that everyone with these bricks wiped internal?
Considering I found the fix to this issue I'm pretty sure I know what I'm talking about. But nice try.
Anyway I'm done here. I came here to help people recover from their bricks which I have done.
Click to expand...
Click to collapse
That's really nice of you that you did that guide. But there is no way that bricks could have to do with that wipe. There is no way an internal wipe could corrupt any other partition than /data/ (efs, persist anything) beside of a bug in the recovery. Wiped internal several times on every phone and also the OPO with TWRP 2.8.0.1 and as you can see it's still running.
om22 said:
This is complete bull****. Internal wipe will NEVER destroy anything it just wipes the whole /data/ instead of leaving /data/media. If you want your usb storage / internal sdcard / whatever you call it to be erased that's the one to choose. For a complete clean install:
1. BACKUP EVERYTHING YOU MIGHT EVER NEED AGAIN.
2. Grab ROM and GAPPS and put it on internal storage
3. Boot recovery and wipe DATA, SYSTEM, CACHE (dalvik is not needed because it's located on /data)
3. Flash ROM and GAPPS
4. Wipe internal storage
5. Stop talking about things you don't know correctly
Click to expand...
Click to collapse
Although you are right about this I still think it ain't smart to advice this on this forum. A lot of noobs around here, much more than in any sub forum of a phone I ever owned.[emoji6]
om22 said:
This is complete bull****. Internal wipe will NEVER destroy anything it just wipes the whole /data/ instead of leaving /data/media. If you want your usb storage / internal sdcard / whatever you call it to be erased that's the one to choose. For a complete clean install:
1. BACKUP EVERYTHING YOU MIGHT EVER NEED AGAIN.
2. Grab ROM and GAPPS and put it on internal storage
3. Boot recovery and wipe DATA, SYSTEM, CACHE (dalvik is not needed because it's located on /data)
3. Flash ROM and GAPPS
4. Wipe internal storage
5. Stop talking about things you don't know correctly
Click to expand...
Click to collapse
Thank you

[Q] Flashing a custom rom on a phone with no SD card

Hey there.
Im planning on buying the LG G2 32GB version since its a pretty good phone for a pretty cheap price. Now I know that it doesnt have an SD card opening, and you only got the internal storage. This isnt a problem for me but Ive got a question when it comes to flashing a custom rom.
When flashing a rom you first have to go to recovery and do a factory reset and wipe the dalvik cache. I know the drill since ive been using CM11 on the phone I have right now (LG L7 II) normally you have to place the .zip from teh rom on the sd card and then flash it. but this phone doesnt have an SD card wich means youll have to put it on the internal storage. But when you do a factory reset all the internal files get deleted, wich means also the .zip from the rom will be gone. the same goes for nandroid backups. can anyone explain to me how to get teh trick done?
Thnx in advance
Arthurvben said:
Hey there.
Im planning on buying the LG G2 32GB version since its a pretty good phone for a pretty cheap price. Now I know that it doesnt have an SD card opening, and you only got the internal storage. This isnt a problem for me but Ive got a question when it comes to flashing a custom rom.
When flashing a rom you first have to go to recovery and do a factory reset and wipe the dalvik cache. I know the drill since ive been using CM11 on the phone I have right now (LG L7 II) normally you have to place the .zip from teh rom on the sd card and then flash it. but this phone doesnt have an SD card wich means youll have to put it on the internal storage. But when you do a factory reset all the internal files get deleted, wich means also the .zip from the rom will be gone. the same goes for nandroid backups. can anyone explain to me how to get teh trick done?
Thnx in advance
Click to expand...
Click to collapse
The device will have an emulated external SD partition, and this partition is untouched when you wipe system/cache/data before flashing a new ROM. Stuff like photos, videos, and other files are saved in this partition too. This partition can be wiped from recovery (TWRP/CWM) if needed, but typically isn't and shouldn't be lest you lose all your stuff (including ROMs, Gapps packages, and nandroid back-ups). Just make sure you do wipes within recovery, and not a "factory reset" through the device itself, which will wipe all your stuff.
Planterz said:
The device will have an emulated external SD partition, and this partition is untouched when you wipe system/cache/data before flashing a new ROM. Stuff like photos, videos, and other files are saved in this partition too. This partition can be wiped from recovery (TWRP/CWM) if needed, but typically isn't and shouldn't be lest you lose all your stuff (including ROMs, Gapps packages, and nandroid back-ups). Just make sure you do wipes within recovery, and not a "factory reset" through the device itself, which will wipe all your stuff.
Click to expand...
Click to collapse
So when I do a system wipe in TWRP all that stuff will stay untouched? (is this also the case with phones who DO have an external SD?)
Arthurvben said:
So when I do a system wipe in TWRP all that stuff will stay untouched? (is this also the case with phones who DO have an external SD?)
Click to expand...
Click to collapse
In TWRP, when you tap "wipe", tap "advanced wipe", you're given the following options (I'm looking at v2.6.3.2 on my LG G Pad 8.3)"
Dalvik Cache
System
Data
Internal Storage
Cache
Micro SDcard
When doing a clean install of a ROM, you wipe Dalvik Cache, System, Data, and Cache. Internal storage is the emulated SD card, and (obviously) Micro SDcard is your microSD card. If supported, USB OTG will also have an option for wiping. If the device doesn't have a microSD card slot, you won't be given the option. If you want to flash a ROM (or whatever) just save it to whatever folder (like "Downloads", or make your own) you want, do the appropriate wipes, then flash from internal storage.
Thnx
Planterz said:
In TWRP, when you tap "wipe", tap "advanced wipe", you're given the following options (I'm looking at v2.6.3.2 on my LG G Pad 8.3)"
Dalvik Cache
System
Data
Internal Storage
Cache
Micro SDcard
When doing a clean install of a ROM, you wipe Dalvik Cache, System, Data, and Cache. Internal storage is the emulated SD card, and (obviously) Micro SDcard is your microSD card. If supported, USB OTG will also have an option for wiping. If the device doesn't have a microSD card slot, you won't be given the option. If you want to flash a ROM (or whatever) just save it to whatever folder (like "Downloads", or make your own) you want, do the appropriate wipes, then flash from internal storage.
Click to expand...
Click to collapse
Thanks very much for a clean explanation!

[Q] Format data/media and internal without losing ROM flash.zip

Now that the Note 5 has NO external SDcard support, how are we suppose to do a FULL and complete WIPE inside TWRP ?
I am talking about when I want to wipe data/media ( Format Data ) to install a new custom ROM on a completely wiped clean system.
I know it is not needed allwas but I like to format data sometimes to really remove all of the old system when I install a new ROM.
With the Note 4 you could just put the new ROM onto the SDcard and format the internal memory safely, and just flash the ROM
from the SDcard.
What can we do now ? If I format via TWRP it will wipe the internal SD area and wipe the new ROM also so I cant flash.
Thanks for any ideas.
re: full wipe
Thibor69 said:
Now that the Note 5 has NO external SDcard support, how are we suppose to do a FULL and complete WIPE inside TWRP ?
I am talking about when I want to wipe data/media ( Format Data ) to install a new custom ROM on a completely wiped clean system.
I know it is not needed allwas but I like to format data sometimes to really remove all of the old system when I install a new ROM.
With the Note 4 you could just put the new ROM onto the SDcard and format the internal memory safely, and just flash the ROM
from the SDcard.
What can we do now ? If I format via TWRP it will wipe the internal SD area and wipe the new ROM also so I cant flash.
Thanks for any ideas.
Click to expand...
Click to collapse
Easy, do an advanced wipe in twrp and don't check mark internal storage or the OTG, only
check mark system, data, cache and dalvik and nothing except do a factory reset in twrp.
(doing it this way will not delete anything on the internal sdcard.
Good luck!
Have a nice Thanksgiving!
Haven't tried on this phone as I haven't rooted but adb push should solve your question.

Internal Storage Partition into 2 storage

Dear fellow mi4c users,
is it possible to have internal storage partition into 2 section? so i could have say like 10gb "internal storage" that could be wiped when i clean installed new rom and 22gb "external storage" that no need to be wiped when installed new rom?
I tired of copying my data many gigs to otg first everytime i installed new rom
many thx
You don't have to wipe your "sdcard" folder when you install a new ROM. When you wipe data you only lose your app data and system's one, but your sdcard will not change..
EDIT: Just to be more clear, these are the only wipes you need when you flash a ROM.

Categories

Resources