[Q] GNex partition SD to avoid losing everything when flashing? - Samsung Galaxy Nexus

Greetings!
I was wondering, if it's possible to partition the SD card or something, so I don't have to lose ALL my 10 gigs of music and stuff, when I flash a new rom

Sounds difficult. Just adb pull /data/media to your computer and you're good to go...

Flashing a new ROM shouldn't result in you loosing your music.
Only /data /system /cache and /ext-sd get wiped.

Sebz4n said:
Greetings!
I was wondering, if it's possible to partition the SD card or something, so I don't have to lose ALL my 10 gigs of music and stuff, when I flash a new rom
Click to expand...
Click to collapse
if u flash a new rom with the clock work mod recovery, when you wipe data/factory reset it does NOT wipe /data/media (the virtual sd card with ur music and photo)...so u are ok
only unlocking the bootloader, doing a factory reset in the setting menu on the phone, or flash a stock google rom will wipe the virtual sd

Yeah the SD portion should not get wiped when you flash between roms. Only the first time when you unlock does it get wiped, which is why you should unlock on the first day. But I switch roms and my data stays in tact.

How do you keep the offline saved music in the Gmusic app?
Every time I wipe/factory reset, all the locally saved music is gone. It takes forever to sync all the songs again.

montysweden said:
How do you keep the offline saved music in the Gmusic app?
Every time I wipe/factory reset, all the locally saved music is gone. It takes forever to sync all the songs again.
Click to expand...
Click to collapse
read the posts above
also why "Every time I wipe/factory reset"? u dont need that
wit clock work mo recovery u can wipe data/factory reset without wipe ur sdcard
if u want do a full wipe, then save the Android/data/com.google.music.. something folder on ur pc

Related

[Q] How do I format the internal storage and flash with cwm

I've had a bit of a nightmare tonight, I rooted and cwm my nexus within the first hour of ownership and flashed modaco pauls rom however after a couple of days of messing around I found myself wondering how to format the internal storage but still be able to flash via cwm. Have poked around I've found you are able to push the rom via adb while in cmw so again no problem except selecting "wipe" from ics doesnt really format the partition the storage, while when the phone is running and plugged into the computer you seem to have a fresh storage area however the free space is still taking into account of old files. And when I went back to cwm it clearly still showed the old deleted files which seems strange. The only way i was able to clear everything was via the storage menu with ics deleting folders one at a time ?!
So my question is......
Which is the best way to format the internal storage area and once completed am i able to push my rom onto the phone and flash correctly?
Same problem here.
Even with wiping and formatting data, cache, system, dalvik cache and even a factory reset from the running Android, I still have old data from non-present apps in my app list.
Download the Super Wipe script from the Android Revolution HD thread, flash it in CWM and voila - completely formatted phone (bar the user data like pictures, music, etc)
Simplest way is to re-lock and re-unlock back the bootloader
Proyoyo said:
Simplest way is to re-lock and re-unlock back the bootloader
Click to expand...
Click to collapse
Will this has any effect on rom / root?
GBIC said:
Same problem here.
Even with wiping and formatting data, cache, system, dalvik cache and even a factory reset from the running Android, I still have old data from non-present apps in my app list.
Click to expand...
Click to collapse
Grab the Nexus Toolkit in the development section. It will do everything you are looking for plus more.

Factory Reseting

Since this phone does not have an SD card, does this mean that anytime I want to try a new ROM or something and have to factory reset, that everything off my phone will be erased? Including pictures and ect? I cannot believe they didn't leave SD card support for this phone, really upset about that. It takes too long to transfer my 10gig+ data from my sdcard to this phone. I don't want to have to go through that constantly with this phone.
No the stuff on your phone will not be wiped. The whole "sdcard" thing is a misconception.
The phone itself has a internal storage.
Other phones such as Galaxy S2/S1... have a internal storage and external. Which is removable.
HerroMoto said:
Since this phone does not have an SD card, does this mean that anytime I want to try a new ROM or something and have to factory reset, that everything off my phone will be erased? Including pictures and ect? I cannot believe they didn't leave SD card support for this phone, really upset about that. It takes too long to transfer my 10gig+ data from my sdcard to this phone. I don't want to have to go through that constantly with this phone.
Click to expand...
Click to collapse
Well, if you flash a new a new system image only, then I guess the stuff located in the userdata partition will not be erased...
zephiK said:
No the stuff on your phone will not be wiped. The whole "sdcard" thing is a misconception.
The phone itself has a internal storage.
Other phones such as Galaxy S2/S1... have a internal storage and external. Which is removable.
Click to expand...
Click to collapse
... but if you flash the userdata partition, ALL of your data will be erased, because /sdcard is actually a link to /data/media
If it was me I would make a backup anyway for the sake of a few minutes before flashing any ROM.
Flashing a new rom does NOT erase your data, ie photos - downloads - music etc.
Vangelis13 said:
Flashing a new rom does NOT erase your data, ie photos - downloads - music etc.
Click to expand...
Click to collapse
Have you tried it? Try flashing one of the stock builds from Google found here and tell me if your data gets erased. I can tell you that mine did, but I make sure to make a backup of everything (like daleski75 said earlier) before flashing anything related to the data partition.
as far as I have seen the stock recovery will wipe the /sdcard partition. CWM recovery will not
fundo51 said:
as far as I have seen the stock recovery will wipe the /sdcard partition. CWM recovery will not
Click to expand...
Click to collapse
Is there any way to flash a ROM or factory image in fastboot without wiping the SD card partition? I can only get my device to show up in fastboot, not ADB.
PolishPauL11 said:
Is there any way to flash a ROM or factory image in fastboot without wiping the SD card partition? I can only get my device to show up in fastboot, not ADB.
Click to expand...
Click to collapse
Remove userdata.img from the Google images.
Honestly I would work on getting ADB to work properly. It will give you much more flexibility in these situations.
Sent from my Galaxy Nexus using XDA App
i got the same prob i just rooted, im use to having a sd card so whats the answer if you flash in cwm do a wipe in cwm it wont erase the internal storage? because it sux reloading everything from the computer via usb
dre4402 said:
i got the same prob i just rooted, im use to having a sd card so whats the answer if you flash in cwm do a wipe in cwm it wont erase the internal storage? because it sux reloading everything from the computer via usb
Click to expand...
Click to collapse
No it won't wipe the SD card partition unless you unlock the bootloader or flash the factory images in fastboot.

Quick question on wiping data & "SD"

Will wiping the phone in CWM delete files on the "SD" space of the phone? I've read it is all apart of the same partition, so I wanted to make sure before awkwardly deleting the ROM I am about to install..
I have wiped tons of times in CWR and it hasn't touched the /sd yet. All my files are safe and sound.
Sent from my GNex
Grims said:
Will wiping the phone in CWM delete files on the "SD" space of the phone? I've read it is all apart of the same partition, so I wanted to make sure before awkwardly deleting the ROM I am about to install..
Click to expand...
Click to collapse
Yes, it clears *all* internal storage.
So...which is it?
Maybe I misunderstood but are you talking about wiping /data and /cache? Because when I do this it does NOT wipe the /sd but does wipe all other user data, just like on every other android phone I have had.
Sent from my GNex
Grims said:
So...which is it?
Click to expand...
Click to collapse
Wipe data/factory reset on CWM wipes your WHOLE phone, including "SD" card. I advise you to use the Super Wipe Lite script from the Android Revolution ROM, get it here. This will do a complete wipe, except SD card.
A bit of more info, in case you're interested: the SD card is the folder /data/media mounted as /sdcard. When you wipe in CWM, the data folder is emptied as well.
EDIT: i havent actually tried to do a normal full wipe from CWM, im stating the above just from reading other reports here. Maybe the last version from CWM has fixed this, i dont know
EDIT2: You can wipe cache and dalvik as usual from CWM without any problems.
flakz0r said:
Wipe data/factory reset on CWM wipes your WHOLE phone, including "SD" card. I advise you to use the Super Wipe Lite script from the Android Revolution ROM, get it here. This will do a complete wipe, except SD card.
A bit of more info, in case you're interested: the SD card is the folder /data/media mounted as /sdcard. When you wipe in CWM, the data folder is emptied as well.
EDIT: i havent actually tried to do a normal full wipe from CWM, im stating the above just from reading other reports here. Maybe the last version from CWM has fixed this, i dont know
EDIT2: You can wipe cache and dalvik as usual from CWM without any problems.
Click to expand...
Click to collapse
I figured that was how it was setup, but didn't know if CWM had any logic built into it to filter out the folder. I'll take a look at the script, thanks.
The built-in factory reset in Android will also wipe everything.
I did data,cache,dalvik wipe and formatted system going from 4.0.2 to 4.0.3.
I did NOT lose my SD card
The default wipe in ICS clears *all* internal memory. The default Factory Reset feature of CWM does the exact same thing. I've done it twice and it wiped fully both times.
Very interesting direct contradictions going on in here..
Wiping data in CWM DOES NOT WIPE THE VIRTUAL SDCARD. People need to stop saying it does.. it is all one partition but the virtual SD card is not wiped when you wipe data in cwm.. Factory resets in settings will wipe your virtual SD card but cwm WILL NOT.
Edit: sorry I had a long night, but I will leave the caps so people actually read it.
Sent from my Galaxy Nexus using xda premium
It is quite troubling to read how many people are saying that wiping in CWM will erase the SD card.
It 100% DOES NOT. I have wiped in CWM dozens of times already. I can not say the same for Factory Reset in Android...but in CWM wiping data DOES NOT wipe your SD.

TWRP wipe

Can anyone confirm the wipe options of newest TWRP ? wipe cache and dalvik cache i know but I am unsure about the "wipe internal storage" and "wipe data" option ? Which option should I choose if i am coming from PA 4.1.2 to 4.2.2 ?
DONT wipe data.. in twrp wiping data will also wipe sdcard.. when flashing roms do a factory reset
Factory reset will delete all the app related data , right ? My contacts, mms , etc will also get deleted ? But the data/media will be intact ?
deepayanneogi said:
Factory reset will delete all the app related data , right ? My contacts, mms , etc will also get deleted ? But the data/media will be intact ?
Click to expand...
Click to collapse
correct
Great ,thanks for the quick reply , coming from CWM it was a little confusing for me first , btw is there any need for wiping system ? Any benefits ?
deepayanneogi said:
Great ,thanks for the quick reply , coming from CWM it was a little confusing for me first , btw is there any need for wiping system ? Any benefits ?
Click to expand...
Click to collapse
twrp is alot better than cwm IMO, its faster and it flashes roms better, i am saying this from experiece when i had a s2 i use to have issues with cwm but twrp never let me down..
and most roms wipe system before installing the rom but i wipe it anyway.. this is how i flash ANY rom, even updates of the same rom, and never have issues
1. factory reset
2. wipe system
3. wipe cache
4. wipe dalvik
5. flash rom
6. flash gapps
7. flash AK kernel(optional)
8. reboot
9. wait 10 mins then do another reboot
10. enjoy :good:
Khizar said:
twrp is alot better than cwm IMO, its faster and it flashes roms better, i am saying this from experiece when i had a s2 i use to have issues with cwm but twrp never let me down..
and most roms wipe system before installing the rom but i wipe it anyway.. this is how i flash ANY rom, even updates of the same rom, and never have issues
1. factory reset
2. wipe system
3. wipe cache
4. wipe dalvik
5. flash rom
6. flash gapps
7. flash AK kernel(optional)
8. reboot
9. wait 10 mins then do another reboot
10. enjoy :good:
Click to expand...
Click to collapse
Thanks again, for updates for same rom u also factory reset ? That means every time u setup your apps, contact , mms ? That would be painstakingly time consuming .
There are apps that can back up your apps and app data as well as text messages. Its not that time consuming. Some launchers can backup layouts, too, so that cuts down on having to reset your home screens. Contacts can be synced with your Google account, unless I misunderstood the contact comment, so much like your email they are synced when you enter your account details.
Enviado desde mi Nexus
Khizar said:
twrp is alot better than cwm IMO, its faster and it flashes roms better, i am saying this from experiece when i had a s2 i use to have issues with cwm but twrp never let me down..
and most roms wipe system before installing the rom but i wipe it anyway.. this is how i flash ANY rom, even updates of the same rom, and never have issues
1. factory reset
2. wipe system
3. wipe cache
4. wipe dalvik
5. flash rom
6. flash gapps
7. flash AK kernel(optional)
8. reboot
9. wait 10 mins then do another reboot
10. enjoy :good:
Click to expand...
Click to collapse
This is pretty much the formula I follow.
1) Wipe cache
2) Wipe Dalvik (a little redundant since dalvik resides in /cache)
3) Factory reset
4) Wipe System (like said above, most ROMs wipe /system but I do not anyway)
5) Flash ROM
6) Flash GApps
7) Flash kernel of choice
8) Fix permissions
9) Reboot
10) I immediately install Titanium Backup and batch restore all apps and app data before signing into my Google accounts
11) Reboot back into recovery and fix permissions again
12) Wipe dalvik again so everything is optimized
13) Reboot
14) Set up ROM how you like it.
The other thing I do is copy Nova Launcher into /system/app and get rid of Trebuchet.apk or Launcher2.apk as well as live wallpapers and other things I consider bloat. Nova let's you back up all your configs and settings so I just restore that. I'm usually back up and running in 30 minutes or so, I could pretty much do it in my sleep...
Sent from my Galaxy Nexus using Tapatalk 2
Khizar said:
correct
Click to expand...
Click to collapse
Are you sure? http://support.verizonwireless.com/clc/devices/knowledge_base.html?id=51446
Petrovski80 said:
Are you sure? http://support.verizonwireless.com/clc/devices/knowledge_base.html?id=51446
Click to expand...
Click to collapse
I 100% guarantee you that a factory reset will leave your sd card intact, I do it every day almost. The only way to nuke your internal storage is to wipe data, which nukes /data/media (basically your sd card) and pretty much everything else, or wiping internal storage will also nuke your sd card...
Sent from my Galaxy Nexus using Tapatalk 2
If I remember there are two options in TWRP , one is wipe data and wipe internal storage , so both do the same work , nukes data/media ? So what is the point of keeping both of them ?
deepayanneogi said:
If I remember there are two options in TWRP , one is wipe data and wipe internal storage , so both do the same work , nukes data/media ? So what is the point of keeping both of them ?
Click to expand...
Click to collapse
Internal storage nukes just the sd card, wiping data nukes all internal storage, sd card, system, etc, if you do that you basically have to flash a stock image with fastboot...
Sent from my Galaxy Nexus using Tapatalk 2
0dBu said:
I 100% guarantee you that a factory reset will leave your sd card intact, I do it every day almost. The only way to nuke your internal storage is to wipe data, which nukes /data/media (basically your sd card) and pretty much everything else, or wiping internal storage will also nuke your sd card...
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
I have never tried the factory reset option with my GNEX, but using it on a Galaxy S or Galaxy Ace definitely erased the entire internal storage. It would als mean the factory reset warning is incorrect. Strange stuff.
Petrovski80 said:
I have never tried the factory reset option with my GNEX, but using it on a Galaxy S or Galaxy Ace definitely erased the entire internal storage. It would als mean the factory reset warning is incorrect. Strange stuff.
Click to expand...
Click to collapse
Well those other phones had external sd card slots no?
Sent from my Galaxy Nexus using Tapatalk 2
0dBu said:
Internal storage nukes just the sd card, wiping data nukes all internal storage, sd card, system, etc, if you do that you basically have to flash a stock image with fastboot...
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
If that is the case then I think the nomenclature is pretty confusing and misdirecting ,
factory reset = only app related data and contacts and mms
wipe data = everything including system also
wipe internal storage = data/media.
As far as I know the factory reset option in the rom itself nukes the data/media and app related data also , what in the case for recoveries are different .Wipe data option shouldn't be there in the recovery as it can be pretty dangerous if someone accidentally does it.
0dBu said:
I 100% guarantee you that a factory reset will leave your sd card intact, I do it every day almost. The only way to nuke your internal storage is to wipe data, which nukes /data/media (basically your sd card) and pretty much everything else, or wiping internal storage will also nuke your sd card...
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
If you look at the link that Petrovski80 included, you and he are talking about two different "factory reset"s... on that is part of the Android OS and the other that is TWRP...
Trusstopher said:
If you look at the link that Petrovski80 included, you and he are talking about two different "factory reset"s... on that is part of the Android OS and the other that is TWRP...
Click to expand...
Click to collapse
I was talking strictly about TWRP as per OP's question...
Sent from my Galaxy Nexus using Tapatalk 2
My phone won't turn on
Hello,I'm newbie about this things so,I just Download Twrp and Wipe Cache,Dalvik,Data...How to Open my phone back?I stuck at the Samsung Galaxy Wonder then it Open Twrp back.....How to Fix this?Does anyone know :crying:
neymar12Adli said:
Hello,I'm newbie about this things so,I just Download Twrp and Wipe Cache,Dalvik,Data...How to Open my phone back?I stuck at the Samsung Galaxy Wonder then it Open Twrp back.....How to Fix this?Does anyone know :crying:
Click to expand...
Click to collapse
If I'm not wrong, wiping data means that u have erased your current ROM, and you need to reinstall a new rom.

Two repeating problems and factory reset doesn't solved

Hey,
I was using WanamLite 4.3 ROM with Android 4.3 and MJ5 bootloader. No backups.
And after a friend of mine broke my SD slot (long story), my phone started to reboot and unmount the SD card, then it broke up completely and I can't use a SD card anymore. So, I kept using my phone without it, until one day it rebooted and when it came back I lost all Deezer syncronized musics, Evernote notes, SMS and things like that. The other day, it reboot again and now it was like a factory reset, I lost all configs and just the installed apps and pictures wasn't lost.
But my phone was crazy, home button not working, no notifications, status bar not working and lots of other things, then I opened the Downloads app and I received an error and then everything came back to normal, really strange, but I started to receive two annoying errors:
The process com.google.process.gapps has stopped.
The process android.process.media has stopped
And anything related to Google or media was useable, and they kept appearing while I pressed ok.
So, I did a mega wipe (script found here, can't post links) and installed a 4.4 Rom (PhoeniX ROM), but, guess what, received a "UIDs on the system are inconsistent, you need to wipe your data partition or your device will be unstable.", hit "I'm feeling lucky" button and my two friends started to annoy me to hell again.
What can I do? I thought on doing a Kies factory reset but I'm scared of bricking my phone (it tells me to use Kies 3, btw), my phone is unuseable. :crying:
(Edit: Just noticed you said you mega wiped...)
So how about flashing kitkat through odin? Sammobile.com
EmptyArea said:
(Edit: Just noticed you said you mega wiped...)
So how about flashing kitkat through odin? Sammobile.com
Click to expand...
Click to collapse
Yeah, I'll try that, but I don't have much hope, is there a way to do a "deeper" wipe, that totally deletes any ROM, then I install that from nothing.
You'll lose all data but you should wipe
/system, /data (factory reset), /cache and dalvik cache. I have also once found an internal storage (/sdcard) necessary.
What I would do to fix all the problems,
Using TWRP recovery, I format disk and wipe everything can be wiped. (Ofc you'll lose ALL the data on the phone, which might be the problem as you don't have an SD card, unless after wipe you know how to transfer files from PC while in recovery) This is the best wipe you would get IMO. Then install a very stable rom like ARHD or omega rom . Or DN3
Sent from my GT-N7100
Mohammed779 said:
What I would do to fix all the problems,
Using TWRP recovery, I format disk and wipe everything can be wiped. (Ofc you'll lose ALL the data on the phone, which might be the problem as you don't have an SD card, unless after wipe you know how to transfer files from PC while in recovery) This is the best wipe you would get IMO. Then install a very stable rom like ARHD or omega rom . Or DN3
Sent from my GT-N7100
Click to expand...
Click to collapse
THANK YOU!!!!!
It worked, I never used TWRP, really awesome. I was getting errors when trying to format system, so I went to config and select the option to use rm -f instead of formatting, and after that work, I formatted everything and installed DN3. Thanks a lot, really!

Categories

Resources