Related
searched around and can't really find right answers.
I currently have HD2 with 512mb running android. Due to the lack of internal storage space, all apps are stored in the EXT4 on the SD card. This is a very neat function actually. Every time I flash a rom, all the apps will still be there.
I am about to get the DHD soon and since it's got plenty internal storage I guess it's natural to install app on internal rather than on SD (i know some rom do have support for EXT on SD). My question is, is there a way to partition the internal storage so part of it act as EXT, this way every time flashing a rom I don't have to restore all the apps??
If there is another way to achieve this, please let me know as well.
thanks,
No need to do anything like that. Before you flash a new ROM just wipe all the partitions apart from the data partition. Once you have flashed the ROM your apps will still be there.
You can use an add on script for apps to SD as well if you prefer.
Sent from my Desire HD using Tapatalk
Blinkydamo said:
No need to do anything like that. Before you flash a new ROM just wipe all the partitions apart from the data partition. Once you have flashed the ROM your apps will still be there.
You can use an add on script for apps to SD as well if you prefer.
Sent from my Desire HD using Tapatalk
Click to expand...
Click to collapse
Good to know that there will be no problem re-installing apps. Since I can't get hands dirty with an actual unit yet, could you please explain a little on the "wiping all the partitions apart from data partition". So by default, apps will be installed in a separate partition? what do you use to WIPE paritions? Clockwork or wipe-all?
Go into clockwork recovery you can select which partitions to wipe. Go into the mounts part and you can wipe them individually, wipe each one in turn apart from the data partition.
If however you experience problems yo. May have to wipe the data partition. Just do a backup first.
Sent from my Desire HD using Tapatalk
Like is the internal sd card act as an external and everything in it will remain safe?
Sent from my Nexus 7 using xda app-developers app
Yes,
A data wipe doesn't remove anything in the /sdcard directory, it will stay safe.
I have recntly installed CM10 and couldnt be happier!!!
**was this answer helpful? please click thanks**
Ok thanks for answering my question could not find anything on the net about it.
Sent from my Nexus 7 using xda app-developers app
Lord_Xovon said:
Ok thanks for answering my question could not find anything on the net about it.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Yeap, it won't wipe anything but the data partition when you wipe data in recovery, you have to tell it to wipe the internal SD card or wipe everything including SD card to do any damage there, wiping data, cache dalvic cache, and system won't harm your SD card.
However, I think a person should make an exact copy of the internal SD card every week or two, by mounting as a disk drive and copying to the computer.
That way if your internal card gets wiped on accident or you have to do a factory reset or something, when its back up and running you can just copy your backup folder contents right back to it.
Sent from my ADR6425LVW using xda premium
Interesting, does this also mean Nandroid ignores /sdcard contents too for imaging? I've held off making a second nandroid backup because I thought all the tv shows/movies I've put on storage would get imaged. It's good if it doesn't!
bomp306 said:
Yes,
A data wipe doesn't remove anything in the /sdcard directory, it will stay safe.
I have recntly installed CM10 and couldnt be happier!!!
Click to expand...
Click to collapse
Not exactly true. Before I unlocked and rooted, I had about 10 GB of data on my SD card. After unlock however, I found that the SD card was wiped and I had to put everything back on it.
So, if you are not unlocked, back up first. Then while switching from ROM to ROM, your SD card contents should be safe. But it never hurts to back up every once in a while.
Omega360 said:
Not exactly true. Before I unlocked and rooted, I had about 10 GB of data on my SD card. After unlock however, I found that the SD card was wiped and I had to put everything back on it.
So, if you are not unlocked, back up first. Then while switching from ROM to ROM, your SD card contents should be safe. But it never hurts to back up every once in a while.
Click to expand...
Click to collapse
Flashing a ROM won't format the scard folder
Unlocking will...
Sorry if this sounds noob, but when you connect the nexus 7 to the PC, is the "internal storage" the internal sd card? I got a little bit confused when devs say place certain .zips into internal sd card, but i couldnt find the exact folder name when transferring files from PC to the nexus 7.
bomp306 said:
Flashing a ROM won't format the scard folder
Unlocking will...
Click to expand...
Click to collapse
I unrooted my N7 before getting it replaced, flashed it back to stock, and it formatted the sdcard folder along with everything else
zeiloz said:
Sorry if this sounds noob, but when you connect the nexus 7 to the PC, is the "internal storage" the internal sd card? I got a little bit confused when devs say place certain .zips into internal sd card, but i couldnt find the exact folder name when transferring files from PC to the nexus 7.
Click to expand...
Click to collapse
Yes that's considered the internal sd card
Sent from my Google Nexus 7 using Tapatalk 2
Omega360 said:
Not exactly true. Before I unlocked and rooted, I had about 10 GB of data on my SD card. After unlock however, I found that the SD card was wiped and I had to put everything back on it.
So, if you are not unlocked, back up first. Then while switching from ROM to ROM, your SD card contents should be safe. But it never hurts to back up every once in a while.
Click to expand...
Click to collapse
Unlocking factory resets.
Flashing a rom in recovery doesn't factory reset and implies that the OP is already UNLOCKED, Rooted and has installed recovery.
I just tried a ROM for the first time on my Nexus 7 (though I've used a lot on my past phones) and holy ****, coming from a non-Nexus device, I wasn't expect this, it wiped out my internal storage partition (/sdcard) as well as my data partition.
Losing the international storage partition is really painful, as that's where all my clockworkmod backups were.
Does this happen every time a ROM is flashed on a Nexus 7? (In case it makes a difference, this is the ROM I flashed.) Does this happen every time an update to a ROM is flashed?
For future reference, is there any way to try ROMs and flash updates without wiping out my whole internal storage?
Do you have a 3G?
Sent from my Nexus 7 using xda app-developers app
over the air system updates shouldn't delete any data but as far as I know flashing a different rom will wipe everything. With a phone the data is stored on a separate physical device such as a microsd card but with the nexus 7 its all held on the internal memory. You could use an otg cable and thumb drive as external storage for backup purposes.
dparrothead1 said:
Do you have a 3G?
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Yeah, I have a 3G.
corumuk said:
over the air system updates shouldn't delete any data but as far as I know flashing a different rom will wipe everything. With a phone the data is stored on a separate physical device such as a microsd card but with the nexus 7 its all held on the internal memory. You could use an otg cable and thumb drive as external storage for backup purposes.
Click to expand...
Click to collapse
So what do people normally do when an update to a ROM comes out? Do they fully backup everything and then do an advanced restore in CWM to get back their data? Or are most people starting fresh on every ROM update?
corumuk said:
over the air system updates shouldn't delete any data but as far as I know flashing a different rom will wipe everything. With a phone the data is stored on a separate physical device such as a microsd card but with the nexus 7 its all held on the internal memory. You could use an otg cable and thumb drive as external storage for backup purposes.
Click to expand...
Click to collapse
What?
A rom shouldn't wipe the Emmc (internal sdcard), coming from Samsung phones that all have 16gb of internal storage plus a slot for an external card, i have never had it wipe my storage. Either internal or external.
I have also flashed a few roms on the Nexus and the ONLY thing that wiped my storage was unlocking the bootloader.
Looks to me like you were answered in the ROM Thread that you referenced.
http://forum.xda-developers.com/showthread.php?p=35322271
Sent from my Nexus 7 using xda app-developers app
Based on my experience with the original Droid, flashing a new rom usually calls for wiping system, cache, data, boot, and dalvik. Internal memory data is deleted, but external microsd storage is not cleared. The N7 only has internal memory, and that is cleared when doing the wipes prior to installing a new rom. You should copy pictures, video, documents, downloads, music, saved texts, etc. to a pc or OTG storage along with the backups before the new rom.
Wiping system and data in recovery does not touch /sdcard. sdcard should remain intact unless flashing a factory image.
regalpimpin said:
Wiping system and data in recovery does not touch /sdcard. sdcard should remain intact unless flashing a factory image.
Click to expand...
Click to collapse
This.
If you want to be completely and absolutely sure it will not delete anything, open the zip go to:
META-INF/com/Google/android and open up the updater-script file in a text editor, look through and you will see every command that is given in the flash.
You will most likely only see it format the /system partition. Which is why you manually have to do a factory reset in recovery, which formats
/data (where your user apps and preferences are stored, as well as the dalvik cache is)
/cache
And the android secure file which is in fact located on the Emmc, but that is the only file on that partition it touches.
Thanks all, turns out the line that killed me was in the instructions for the ROM I flashed, the flash instruction was:
fastboot -w flash system system.img
Click to expand...
Click to collapse
That -w flag is what wiped my internal storage.
manekineko said:
Thanks all, turns out the line that killed me was in the instructions for the ROM I flashed, the flash instruction was:
That -w flag is what wiped my internal storage.
Click to expand...
Click to collapse
So what did you do with that ?
manekineko said:
Thanks all, turns out the line that killed me was in the instructions for the ROM I flashed, the flash instruction was:
That -w flag is what wiped my internal storage.
Click to expand...
Click to collapse
@manekineko @studacris Can you please elaborate, what do you mean by that ? I am intending to flash a different ROM on a different device.I extracted the firmware zip and checked every file but couldn't find "wipe (-w) in fastboot with system.img".
Thank you
After trying out some roms I want to start fresh. I plan on odining back to MDB and was wondering if it's possible to format the internal SD as well. Is there an option in Odin to do that or is it bad to wipe the internal SD?
do u mean phone memory by interal sd ?
Not sure why you would need to format it--just back it up before you do anything
Why back to MD--just curious
As far as formatting internal, not sure
I rooted before looking into stock recovery to see if it had option. CWM did on the S3, but I have twrp and it does not have that option
there use to be codes to format internal also--don't remember them
some research needed--but still back up everything and pull ext sdcard before you do anything
I have a similar question, does formatting internal sd also wipe everything (except system) from root (/)?
seanpr123 said:
I have a similar question, does formatting internal sd also wipe everything (except system) from root (/)?
Click to expand...
Click to collapse
It'll wipe /storage/sdcard0 and everything on it only. Not sure what you mean by root.
jd1639 said:
It'll wipe /storage/sdcard0 and everything on it only. Not sure what you mean by root.
Click to expand...
Click to collapse
Kinda what I figured, so I'm curious is it possible to start completely fresh from / or maybe that happens on a ROM install anyway?
For instance under root I have the following directories:
acct,cache,config/d/data/data_1-3,dev,efs,etc,firmware,mnt,persdata,preload,proc,res,root,sbin,sdcard,sotage,sys,system,tombstones,vendor. Along with a bunch of files, many are init.something. I know how to wipe sdcard (as you mentioned above), and system but what about everything else.
Make sense?
seanpr123 said:
Kinda what I figured, so I'm curious is it possible to start completely fresh from / or maybe that happens on a ROM install anyway?
For instance under root I have the following directories:
acct,cache,config/d/data/data_1-3,dev,efs,etc,firmware,mnt,persdata,preload,proc,res,root,sbin,sdcard,sotage,sys,system,tombstones,vendor. Along with a bunch of files, many are init.something. I know how to wipe sdcard (as you mentioned above), and system but what about everything else.
Make sense?
Click to expand...
Click to collapse
Flashing a Rom will write over those other folders.
lazard said:
After trying out some roms I want to start fresh. I plan on odining back to MDB and was wondering if it's possible to format the internal SD as well. Is there an option in Odin to do that or is it bad to wipe the internal SD?
Click to expand...
Click to collapse
There's really no reason to do this before using ODIN. ODIN rewrites anything in it's way. If there's something it didn't rewrite it's probably because you need that.
agent929 said:
There's really no reason to do this before using ODIN. ODIN rewrites anything in it's way. If there's something it didn't rewrite it's probably because you need that.
Click to expand...
Click to collapse
Not necessarily, I've odined many times and it hasn't touched my internal sd card.
jd1639 said:
Not necessarily, I've odined many times and it hasn't touched my internal sd card.
Click to expand...
Click to collapse
....what do you mean internal SD card? I guess I'm just a little confused. I know there are many partitions (I think 7 total) but ODIN won't write to all of them. I'm assuming that if you format the internal storage completely it will mess your phone up.
agent929 said:
....what do you mean internal SD card? I guess I'm just a little confused. I know there are many partitions (I think 7 total) but ODIN won't write to all of them. I'm assuming that if you format the internal storage completely it will mess your phone up.
Click to expand...
Click to collapse
The part where pics, etc are stored /storage/sdcard0. Yea, the other partitions get overwritten when you Odin. And you certainly don't want to try and format those.
Ps, there are closer to 30 different partitions that android creates.
Alright yeah I understand what you mean now. Your right ODIN won't do that part, to my knowledge the only safe way to do it through recovery on your phone.
So I downloaded an update for Vemon Rom and went to flash it, I could remember the password I made for TWRP so I restarted my phone and ignored it, But the data on the phone got corrupted, I serarch online to see how to fix it and I saw Formating the userdata helps. So I did but now the phone is back to stock. I made a TWRP backup about a week before the update and now I can't find it no matter where I look, My SD card is merged with the phone memory, not sure if this info helped or am I boned and have to start completely fresh again?
Ragnell said:
So I downloaded an update for Vemon Rom and went to flash it, I could remember the password I made for TWRP so I restarted my phone and ignored it, But the data on the phone got corrupted, I serarch online to see how to fix it and I saw Formating the userdata helps. So I did but now the phone is back to stock. I made a TWRP backup about a week before the update and now I can't find it no matter where I look, My SD card is merged with the phone memory, not sure if this info helped or am I boned and have to start completely fresh again?
Click to expand...
Click to collapse
I'm not up to date on SD-Card merged. But formatting userdata wipes internal storage, so it's possible your sd-card got wiped on the process as well.
andybones said:
I'm not up to date on SD-Card merged. But formatting userdata wipes internal storage, so it's possible your sd-card got wiped on the process as well.
Click to expand...
Click to collapse
Well I tried looking for the backup before I did the Userdata wipe, also I'm sure it doesnt do internal storage, just system/data/cache its like a factory reset
Ragnell said:
Well I tried looking for the backup before I did the Userdata wipe, also I'm sure it doesnt do internal storage, just system/data/cache its like a factory reset
Click to expand...
Click to collapse
Sorry, Yea was thinking of something else.
Anyway nandroid are held in internal or sd-card foldwr: TWRP/BACKKUPS/serial#/name_of_nandroid
I'm sure you know this, however.
Sorry I couldn't be of any help.
andybones said:
Sorry, Yea was thinking of something else.
Anyway nandroid are held in internal or sd-card foldwr: TWRP/BACKKUPS/serial#/name_of_nandroid
I'm sure you know this, however.
Sorry I couldn't be of any help.
Click to expand...
Click to collapse
Rather gotten any helpful reply than none, thanks anyways bud
Formatting userdata is formatting the internal storage. If you had the Micro SD card added as adoptable storage, then your internal storage and Micro SD card can't be separated - what you do to one affects the other. So unless I'm misunderstanding something, all your storage got formatted.
Wiping doesn't erase your internal storage, but wiping alone wouldn't have solved your problem.