Hi,
Just getting my head around the differences between the way that the 32gb internal memory on this works compared with the microsd card slot on my HTC Sensation.
Now when I flash a new rom on my HTC the SD card data is left intact, e.g. media files and backup data.
When I get around to rooting and flashing roms on my N7 it would be nice to think a fair chunk of data stored on the internal memory could be left intact, but i'm getting the impression that it all gets wiped, every time. Is that right? Are there ways of preserving data, perhaps partitioning the internal memory or something like that?
Cheers.
Data is safe as long as you don't wipe it or flash the factory image.
Sent from my Nexus 7 using xda app-developers app
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
I have tmous with 16GB card with a 1GB ext partition. I would like to move my apps back to the internal storage and recover my 1GB.
The second part is easy, what I would like to know is if there's an easy way to move the content of the ext partition to internal storage (without uninstalling and reinstalling all the apps).
Would making a fresh nandroid, removing ext, then recovering nandroid work?
I'd go ahead and give it a shot, but as this has become my work phone, can't really afford too much downtime. Hence, looking for advice...
Thanks in advance.
Sent from my Atari 400XL using cassette tape and a stamp.
Titanium backup makes it quite easy for me to install 50+ apps in under 10 minutes with the only downtime of rebooting once..
1 backup via Titanium
2 move data from card to pc
3 format card
4 pack data on card
5 reboot ( only downtime but necessary so that the ROM detects that there is no ext partition)
6 install Titanium
7 restore via Titanium
I am sure there are nicer and more elegant ways ( via adb ) but this one prove to be working for me.
The only issue might be that you run out of internal memory but in titanium you can check how much of your 1gb is used and how much internal memory is available.
Hope it helps
EDIT: just read about " Advanced restore" in cwm where you only restore data.. maybe worth a try..
Sent from my HTC HD2 using XDA App
I've had really poor Results with titanium lately. About 1/3 fail to restore properly. Seems there must be a mount point I can dd to?
Sent from my HTC HD2 using XDA Premium App
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
Hi all..
I just got my nexus 4..
Feels awesome... So fluid...
Came from sg2 so I'm new to noon removable storage space in nexus...
I want to start modding..
Question I have is where in the storage can we store files which we don't want to be wiped once we flash the ROM ?
Since the is no SD card...
And would doing factory reset completely wipe all files from the storage including internal storage?
So where to keep the backup... Music... Etc... I don't want to reload everything after flashing a new ROM while I experiment to find the right one...
Sent from my Nexus 4 using Tapatalk 2
keep them in your storage, a factory reset only wipes all the data/caches, it doesnt touch storage.
Neet said:
Hi all..
I just got my nexus 4..
Feels awesome... So fluid...
Came from sg2 so I'm new to noon removable storage space in nexus...
I want to start modding..
Question I have is where in the storage can we store files which we don't want to be wiped once we flash the ROM ?
Since the is no SD card...
And would doing factory reset completely wipe all files from the storage including internal storage?
So where to keep the backup... Music... Etc... I don't want to reload everything after flashing a new ROM while I experiment to find the right one...
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
No, a factory reset does not wipe your internal storage. Just save your files to storage as usual and they will all be stored under 'SD card' > 'internal storage', which is not touched during flashing and factory reset unless u wipe or format the SD card. Also I highly recommend using multiple cloud storage. The ones I use are 'Google music' 'Dropbox', 'Sugar sync', 'Drive' 'Mega' & the new 'Copy'. Definitely try Mega.com, which offers 50 GB of free storage with no file size limits! And the new 'Copy' app, which has an app for android & offers 15gb free plus an extra 5gb for each person u invite! ( here please use my invite code so we can both get an extra 5gb, https://www.copy.com/?r=PHSnzf )
Sent from my One X using xda app-developers app
having a strange issue. Installed latest LP Purity ROM and latest tk gapps, and once booted, the phone can't access the SD card folders. Storage shows that data is on the SD card, but I can't see it on the phone or when plugged in. I can only see the data when in recovery. Tried reflashing but no good. Would changing the recovery from twrp to cwm help?
Can't download anything to the phone because of this...
Nexus 4 doesn't have sd card. You mean internal storage?
Sent from my SM-G7102 using Tapatalk
pm_dsp_ra said:
Nexus 4 doesn't have sd card. You mean internal storage?
Sent from my SM-G7102 using Tapatalk
Click to expand...
Click to collapse
Yes internal storage. The emulated / SDcard0 is not visible upon boot, but the data is accounted for when I check storage. Also, the data is visible within TWRP.
Where you able to see the data when connected to computer. Yes means take a backup of all your data and then try deleting data partition using recovery and try factory data reset. I am not sure whether it will work 100. Its just a thought.
If you are not worried about your data then try installing stock rom from Google. Then try factory data reset. It will work.
Custom recovery doesn't erase entire internal storage but stock recovery will erase entire internal storage. So you can get back full storage.
Sent from my SM-G7102 using Tapatalk
Well, i solved the problem.
Since the phone wasn't able to download anything due to lack of visibility of emulated storage, nor was I able to see storage while connected to the computer when the phone was booted, I was having problems trying to even change my ROM or Gapps as I couldn't place them or anything anywhere on the phone. I know, I know, I should of had a backup, but this was my wifes phone and her storage was so full that there wasn't quite enough space to backup
But, while I was in recovery, the computer was able to recognize the storage so I added a different ROM. Long story short, changing to CM restored the phones connection to storage.