[Q] Resetting Cyanogenmod 10 - AT&T, Rogers HTC One X, Telstra One XL

I am swapping my HTC One X for a HTC One XL. But, before I swap, I want to erase all of my data and information off of the phone while preserving GApps and Cyanogenmod 10. In addition, when plugged into my Mac, the drive indicates that there is 5GB free from the total of 16GB. As such, I would like to maximize the free space for the next owner.
From what I understand, if I reboot into TWRP and "Wipe Cache," "Wipe Dalvik Cache," and do a "Factory Reset," then everything should be back to before I sank my teeth into the phone, correct? Preserving the GApps I installed as well as Cyanogenmod 10, while removing all of my personal data from the phone.
Please correct me if I am wrong in my understanding; I'd really prefer not to mess up my phone before handing it off.
Thank you!
Edit: found someone on another forum with a similar question that might clear up what I'm after:
"I am selling my droid so that I can upgrade, so now I need to clear all my personal data off the phone. The person buying it wants to keep the phone the way it is. Can I wipe the personal data from the phone and still keep my current rom and kernal or will I need to install it again? Thanks for any help."

Wait what do you mean by reserving cm10? We have plenty of aosp/aokp roms here... And just go free up the sd with a file manager a fasctory reset resets the data

a box of kittens said:
Wait what do you mean by reserving cm10? We have plenty of aosp/aokp roms here... And just go free up the sd with a file manager a fasctory reset resets the data
Click to expand...
Click to collapse
By "reserving", I wanted to make sure that if I did a factory reset/cache wiping that it wouldn't affect the CM10 ROM that I had already flashed.
But, thank you for the file manager tip––that had completely slipped my mind as a solution to freeing up the SD card.

I'm still a little not clear on your cm 10 so you had the tegra one x. Right? You're not going to make a back up and try to relash it on the one xl right?

I'm running CM10 on Evita (is that what you meant?).
Maybe if I just restate what I'm trying to do, it might be more clear:
I want to erase everything on my phone, setting back to as close to factory settings as I can get it (clean SD, no user data, etc.) while ensuring that the CM10 and GApps that I've already flashed are safe and sound.

Oohhhhh ok so you want to backup your Rom but wipe everything else! So you want me to tell you how to wipe your sd? Make sure to back things up that you won't regret losing on your comp

Yes! I have a backup of everything now. But I want to start this phone over either a clean slate so when I hand it over to the next owner, he pops his SIM in and boots right into CM10 and has all the GApps ready to go. (CM10 and GApps already flashed.)

I've never ran cm10 but on sense Rome there's a setting in setting called
"Backup & Reset". Under here you will have the option to completely reset the phone.
Sent from Xparent Red using my Venomized Evita

So I'm assuming you're running twrp... First put cm 10 and Capps on your comp than go into twrp and wipe external storage than put cm 10 and galls back on flash the Rom and gapps do a factory reset and so next person who has the phone will be greeted with set up

if you really want full wipe than do what box of kittens said.
Download cm10,gapps
go into TWRP > Wipe >
Wipe cache
Wipe dalvik
factory reset
wipe rom
wipe external memory
then go back to main menu and choose mount
connect it to computer and copy cm10,gapps over
flash them and turn off the phone

Is there any way to "reset" everything without re-flashing?

Why is that such a big deal? Reflashing the rom and gaaps takes like 30 seconds
Sent from my One X using xda app-developers app

greganka said:
if you really want full wipe than do what box of kittens said.
Download cm10,gapps
go into TWRP > Wipe >
Wipe cache
Wipe dalvik
factory reset
wipe rom
wipe external memory
then go back to main menu and choose mount
connect it to computer and copy cm10,gapps over
flash them and turn off the phone
Click to expand...
Click to collapse
Brilliant!
PlayStore was 'broken' and I could not manage to get it working. This fixed everything. Thanks.

Related

Possible Bricked G2x No NV Flash Back Up

I was flashing CM 7 nightly 49 and now my phone is stuck on the LG logo, how do I fix?
After reading all the steps req'd to "Flash a Rom" and "recovery" process, what part isn't working?
N1user said:
After reading all the steps req'd to "Flash a Rom" and "recovery" process, what part isn't working?
Click to expand...
Click to collapse
After going through the NV flash process and getting to the last step that says
Keep holding them, as soon as you see "ANDROID" in Green with the new boot logo let go of the buttons.
From there it goes into boot recovery. I then choose from one of the roms I have on my SD card, it loads okay but then when I try to reboot it hangs up on the LG logo again
What am I doing wrong
we def need more info then that like what recovery how did u install the rom did u wipe data then cache then dalvik? then install rom and gapps? did u install any kernels previously? and this is probably going to get moved it should be in general
ok when u go into recovery do u wipe data factory reset, then cache, then go to advanced and wipe dalvik then install rom and gapps and it should boot up fine, did u make a backup of ur stock rom first?
sarni84 said:
ok when u go into recovery do u wipe data factory reset, then cache, then go to advanced and wipe dalvik then install rom and gapps and it should boot up fine, did u make a backup of ur stock rom first?
Click to expand...
Click to collapse
Damn. for one month on XDA you sure do have a lot of posts
On topic: I'm assuming you forgot to fully wipe before flashing the new rom.
If you can get into recovery, it's not bricked.
Read the install directions, you missed a step or got a bad download.. Or a bad build, as they are nightlys...
In recovery, do factory reset, then mounts and storage, select format system. Then install the rom.
Also, get the stock nandroid and put it on your card so you can drop to a known good setup.
I had back it up using rom manager but its on another computer. I took had gotten a SD card with more storage and never transferred it.
omarsalmin said:
Damn. for one month on XDA you sure do have a lot of posts
On topic: I'm assuming you forgot to fully wipe before flashing the new rom.
Click to expand...
Click to collapse
wow i do huh i cant stay away
Goldbatt said:
I had back it up using rom manager but its on another computer. I took had gotten a SD card with more storage and never transferred it.
Click to expand...
Click to collapse
You could copy the backup from your computer and make a folder called clockworkmod/backup/ on your new SD and put the backup file in that folder. When you go into recovery, backup and restore. restore - it should be visible. Select it and you should be OK - IF your backup is good.
If not, download a ROM and Gapps with your computer and put them in the root of your SD. Then after a full wipe, flash them.
If you have the latest Recovery, you can mount storage and then cut and past to your device while connected. If not, or if you have any problems moving them, just take it out and do it while it is plugged in your computer.
You have several options - so one of them will work.
Want to thank all you guys. I got it working again.
Sent from my LG-P999 using XDA App
Moved to proper forum.

[Q] Fresh ROM installation (cleanrom)

I searched quite a bit but was left unsatisfied with the answers provided.
1. How to fresh install roms (cleanrom in my case)? Just factory reset in recovery before flashing (TWRP 2.4)? Wipe Cache, dalvik before or after?
2. What's the proper order for wipe cache\dalvik\data? Is it before rom installation, after or both ?
Lets say im using stock rom and want to do a clean install. I just want what comes with clean rom. No leftovers from the old installation. What steps should i take?
Thanks guys
pedrad said:
I searched quite a bit but was left unsatisfied with the answers provided.
1. How to fresh install roms (cleanrom in my case)? Just factory reset in recovery before flashing (TWRP 2.4)? Wipe Cache, dalvik before or after?
2. What's the proper order for wipe cache\dalvik\data? Is it before rom installation, after or both ?
Lets say im using stock rom and want to do a clean install. I just want what comes with clean rom. No leftovers from the old rom. What steps should i take?
Thanks guys
Click to expand...
Click to collapse
I consider what I want and what is suggested as the proper install for the particular rom (see the op as roms vary).
You don't want anything left so I'd do spring cleaning. In twrp ( update your twrp to 2.4.1.0 ) if I wanted clean as you say I'd wipe cache, dalvik, data, and system (no formatting just wipe). Before you do this make sure you have one known good backup on your internal sdcard and on your external sdcard. You should also have a flashable zip on each. Insure you can see these files on both cards (with twrp) before you wipe. If you practice this method you will always have an out if there is a problem. If you don't then with what has been wiped you are assured a brick at sometime in the future. I do this before to clear my unit; when you are told to do some wipes afterwards this is to clear something in the rom you are flashing.
Sorry but I was required to say that as you never know who might see this in the future and not know to protect themselves.
Make sure you are unlocked. Install TWRP 2.4.1.0 over fast boot from a PC or too manager if you are already rooted.
You can install CROMI straight over stock with a dalvik cache and cache wipe but if you want a clean system just wipe data via the factory reset option inside TWRP (not the boot loader) and then flash the CROMI file. Recommend odex if you are just starting out.
tobdaryl said:
I consider what I want and what is suggested as the proper install for the particular rom (see the op as roms vary).
You don't want anything left so I'd do spring cleaning. In twrp ( update your twrp to 2.4.1.0 ) if I wanted clean as you say I'd wipe cache, dalvik, data, and system (no formatting just wipe).]
Click to expand...
Click to collapse
thanks. thats pretty much what i did the second time. after failing to do a clean install i went back and almost used format which i guess is bad for those who dont know what the hell it does.. but the red letters in twrp swayed me away from that option
@sbdags
yep i chose odex
not sure if/how i can mark this thread as resolved
anyway.. thanks
Sd card wiped
BY MISTAKE I WIPED OF SD CARD FROM RECOVERY AND NOW ONLY samsung galaxy tab 10.1 come on the screen, can you tell me how to do a fresh install of the rom....
bksinha4497 said:
BY MISTAKE I WIPED OF SD CARD FROM RECOVERY AND NOW ONLY samsung galaxy tab 10.1 come on the screen, can you tell me how to do a fresh install of the rom....
Click to expand...
Click to collapse
This is an Asus Transformer forum. Are you in the right thread?
bksinha4497 said:
BY MISTAKE I WIPED OF SD CARD FROM RECOVERY AND NOW ONLY samsung galaxy tab 10.1 come on the screen, can you tell me how to do a fresh install of the rom....
Click to expand...
Click to collapse
That sucks. There's software out there that can probably help you recover what was on your card.
As for a clean install, you'll probably want to throw a ROM image/zip onto another SD (if you plan on recovering from your current one) and then get into recovery to flash it.
It's a pretty general set of instructions, but as sbdags said though, you may find better advice in the right forum.

[Q] How to do a COMPLETELY factory reset?

Xperia P lt22i
Rooted
Locked bootloader
I'm a noob and yes, I am retarded (You'll know why).
So, I've changed some stuff in my phone:
Status bar, boot and shutdown animation, themes, CWM recovery, xperia Z lockscreen, a custom feature for the camera, and so on.
I didn't do a backup for all those things (I didn't know how, and I still don't), I tought I could wipe data or factory reset my phone and all these thing would be gone and my phone would be totally "factory reseted".
The question is simple, how can I reset COMPLETELY my phone? Is there any method to do it?
(sorry for my english)
CheyTac-12 said:
Xperia P lt22i
Rooted
Locked bootloader
I'm a noob and yes, I am retarded (You'll know why).
So, I've changed some stuff in my phone:
Status bar, boot and shutdown animation, themes, CWM recovery, xperia Z lockscreen, a custom feature for the camera, and so on.
I didn't do a backup for all those things (I didn't know how, and I still don't), I tought I could wipe data or factory reset my phone and all these thing would be gone and my phone would be totally "factory reseted".
The question is simple, how can I reset COMPLETELY my phone? Is there any method to do it?
(sorry for my english)
Click to expand...
Click to collapse
just do a full wipe and reflash the rom you are using.
chromium96 said:
just do a full wipe and reflash the rom you are using.
Click to expand...
Click to collapse
I have the stock rom right now, how can I reflash it? and what do you mean by full wipe?
CheyTac-12 said:
I have the stock rom right now, how can I reflash it? and what do you mean by full wipe?
Click to expand...
Click to collapse
it might me a hassle to find your stock rom, so i would reccommend installing a custom rom. There much better.
Check out your phones dev forum here: http://forum.xda-developers.com/forumdisplay.php?f=1729
Download a rom that you like (read some comments and see if its good), and place it on your sd card
To install a rom you must do a full wipe. To do this boot into recovery and choose: wipe data/factory reset , wipe cache partition, then go to advanced and wipe dalvik cache.
Then choose install zip from sd card, and find the rom you downloaded and install it.
chromium96 said:
it might me a hassle to find your stock rom, so i would reccommend installing a custom rom. There much better.
Check out your phones dev forum here: http://forum.xda-developers.com/forumdisplay.php?f=1729
Download a rom that you like (read some comments and see if its good), and place it on your sd card
To install a rom you must do a full wipe. To do this boot into recovery and choose: wipe data/factory reset , wipe cache partition, then go to advanced and wipe dalvik cache.
Then choose install zip from sd card, and find the rom you downloaded and install it.
Click to expand...
Click to collapse
Yes, i also think that it's the way...with one thing to do also , to format /system in /mount and storage.
Thanks, I fixed it.
Glad you did, mate!:laugh:

[Q] Every ROM hangs at startup screen

Flashed several ROMS in my life and have not always wiped all data. Mainly i do dalvik and cache. My phones have always work. Now i have a Razr HD with an unlocked BL with TWRP loaded. I cant seem to get past the initial bootup screen no matter what ROM i flash. What am i missing here guys? Do i need to check the "factory reset" in TWRP along with Dalvik, system and cache?
famac! said:
Flashed several ROMS in my life and have not always wiped all data. Mainly i do dalvik and cache. My phones have always work. Now i have a Razr HD with an unlocked BL with TWRP loaded. I cant seem to get past the initial bootup screen no matter what ROM i flash. What am i missing here guys? Do i need to check the "factory reset" in TWRP along with Dalvik, system and cache?
Click to expand...
Click to collapse
answered here http://forum.xda-developers.com/showthread.php?t=2465695
bweN diorD said:
answered here http://forum.xda-developers.com/showthread.php?t=2465695
Click to expand...
Click to collapse
Not really. The majority of ROMS in question have been 4.2.2 based....
famac! said:
Not really. The majority of ROMS in question have been 4.2.2 based....
Click to expand...
Click to collapse
quote from post 11
"By golly that worked! It booted up fast as well. It must lie with the formatting your internal storage before flashing the 4.3 rom. I tried something similiar to this but I was already on a 4.3 rom that wouldn't boot and I formatted the sd card then tried flashing it again and it booted again for the first time but wouldn't the second. So if your having trouble do this:
Restored stock 4.1.2 using Matt's utility
Rooted with Matt's utility
Put 4.3 rom and GAPPS on external SD
Fastboot flash CWM 6.0.3.5 (or install via Matt's utility if you like)
Wipe data/factory reset
Wipe Cache/Dalvik
Go to mounts/storage and format /data and /data/media (/sdcard) **Back up anything in your internal SD you want to keep before doing this!**
Flash 4.3 rom
Wipe Cache/dalvik
Flash GAPPS
Wipe Cache/dalvik
Boot up and setup rom
Reboot"
bweN diorD said:
quote from post 11
"By golly that worked! It booted up fast as well. It must lie with the formatting your internal storage before flashing the 4.3 rom. I tried something similiar to this but I was already on a 4.3 rom that wouldn't boot and I formatted the sd card then tried flashing it again and it booted again for the first time but wouldn't the second. So if your having trouble do this:
Restored stock 4.1.2 using Matt's utility
Rooted with Matt's utility
Put 4.3 rom and GAPPS on external SD
Fastboot flash CWM 6.0.3.5 (or install via Matt's utility if you like)
Wipe data/factory reset
Wipe Cache/Dalvik
Go to mounts/storage and format /data and /data/media (/sdcard) **Back up anything in your internal SD you want to keep before doing this!**
Flash 4.3 rom
Wipe Cache/dalvik
Flash GAPPS
Wipe Cache/dalvik
Boot up and setup rom
Reboot"
Click to expand...
Click to collapse
Please explain this further to me. My problem is with 4.2.2 ROMS. The fix above is for folks having issues with 4.3 ROMS. Are you suggesting that doing this will also fix my 4.2.2 problems? This is also CWM while i run TWRP. I did a quick look and the two are setup a little difference. I played around with those highlighted instructions and almost accidentally wiped my only backup of my previous state. I actually thought i was toast but somehow i reloaded and went back to my old backup state.
famac! said:
Please explain this further to me. My problem is with 4.2.2 ROMS. The fix above is for folks having issues with 4.3 ROMS. Are you suggesting that doing this will also fix my 4.2.2 problems? This is also CWM while i run TWRP. I did a quick look and the two are setup a little difference. I played around with those highlighted instructions and almost accidentally wiped my only backup of my previous state. I actually thought i was toast but somehow i reloaded and went back to my old backup state.
Click to expand...
Click to collapse
i could be wrong, but in my opinion having the exact same issue even though its a different version, one of the 2 fixes in that thread should work.
the first fix likely doesn't directly apply although i suggest you ensure you have the latest version of your recovery of choice found here http://www.mediafire.com/download/tt7cwwua49n24uv/Razr_HD_Recovery_Flasher_V7.rar
second fix (backup ALL data you don't want to loose first as noted above), then do a full wipe as listed above, not just a fdr that doesn't wipe everything on the internal card.
the problem at this point is, you are assuming it wont work because of version differences, i am assuming it will. until you try it, i don't see any point in exploring other options, if there are any.
Dirty flashing when you go to different ROMs is generally not a good idea. Even on 4.2.2, it leaves residual data behind. There's a reason that the devs talk about doing complete wipes in their ROM threads, and there's a reason that they tell you not to talk about bugs unless you use their install directions.
RikRong said:
Dirty flashing when you go to different ROMs is generally not a good idea. Even on 4.2.2, it leaves residual data behind. There's a reason that the devs talk about doing complete wipes in their ROM threads, and there's a reason that they tell you not to talk about bugs unless you use their install directions.
Click to expand...
Click to collapse
Yeah, i am straight now. Did a full wipe and sailed right past the startup animation. Thanks all.
famac! said:
Yeah, i am straight now. Did a full wipe and sailed right past the startup animation. Thanks all.
Click to expand...
Click to collapse
Nice! Glad to see you got it working.

[Q] CM 10.1.3 -> 10.2. Now stuck in boot loop

Having not learnt my lesson from previous Android adventures, I decided update CyanogenMod installation from 10.1.3 to 10.2.0 on my Nexus S. I did the sideload from ClockworkMod recovery, rebooted, and got stuck on the loading screen. Having read suggestions to update GApps as well, I went back into ClockworkMod recovery, sideloaded the GApps, and, again, no joy. I understand that the next step to recover the phone is to factory reset it, but I forgot to backup everything beforehand.
I have some important information that I really don't want to lose in a factory reset. Complicating matters is that I've turned on encryption, so I can't simply use the ClockworkMod backup system and/or access the SD card. I'm running Linux with adb, so I can shell in if someone tells me how to dump the saved data off the phone. Even if I just get raw data and I have to enter it back in myself, that's better than losing it.
I know that downgrading back to 10.1 without a wipe is generally frowned upon. Is it worth gambling with the 10.3 nightlies to see if I can get a stable Android (there's an oxymoron!) boot going long enough for me to get everything off my phone before wiping it and reverting back to 10.2? If the issue is a corrupted apk, can I manually remove them to figure out what the problem is?
Borden Rhodes said:
Having not learnt my lesson from previous Android adventures, I decided update CyanogenMod installation from 10.1.3 to 10.2.0 on my Nexus S. I did the sideload from ClockworkMod recovery, rebooted, and got stuck on the loading screen. Having read suggestions to update GApps as well, I went back into ClockworkMod recovery, sideloaded the GApps, and, again, no joy. I understand that the next step to recover the phone is to factory reset it, but I forgot to backup everything beforehand.
I have some important information that I really don't want to lose in a factory reset. Complicating matters is that I've turned on encryption, so I can't simply use the ClockworkMod backup system and/or access the SD card. I'm running Linux with adb, so I can shell in if someone tells me how to dump the saved data off the phone. Even if I just get raw data and I have to enter it back in myself, that's better than losing it.
I know that downgrading back to 10.1 without a wipe is generally frowned upon. Is it worth gambling with the 10.3 nightlies to see if I can get a stable Android (there's an oxymoron!) boot going long enough for me to get everything off my phone before wiping it and reverting back to 10.2? If the issue is a corrupted apk, can I manually remove them to figure out what the problem is?
Click to expand...
Click to collapse
1. why are you side loading instead of flashing normal?
2. have you tried wiping everything minus sd and data and returning to 10.1.3?
3. when jumping versions, you need a full wipe..
Setting.Out said:
1. why are you side loading instead of flashing normal?
Click to expand...
Click to collapse
I sideload the update because you can't access an encrypted SD Card (which mine is) from recovery mode. I'm not aware of any other way to do upgrades.
Setting.Out said:
2. have you tried wiping everything minus sd and data and returning to 10.1.3?
Click to expand...
Click to collapse
Is there a way to do this? My understanding is that a wipe will clear the data and the SD Card unless you're lucky. If I could revert back to 10.1.3 without touching the data, that would be great, but I'd want to be linked to a tutorial so I'm sure not to mess up.
Setting.Out said:
3. when jumping versions, you need a full wipe..
Click to expand...
Click to collapse
Yeah, I'm an idiot. I've gotten away with sideload updates in the past, but Android caught me this time and left me in limbo.
Borden Rhodes said:
I sideload the update because you can't access an encrypted SD Card (which mine is) from recovery mode. I'm not aware of any other way to do upgrades.
Is there a way to do this? My understanding is that a wipe will clear the data and the SD Card unless you're lucky. If I could revert back to 10.1.3 without touching the data, that would be great, but I'd want to be linked to a tutorial so I'm sure not to mess up.
Yeah, I'm an idiot. I've gotten away with sideload updates in the past, but Android caught me this time and left me in limbo.
Click to expand...
Click to collapse
If you boot into CWM and do a format/wipe on everything MINUS the SD and DATA, you won't lose anything, but it may not fix your issue.. If you get your phone back up and running take off the encryption and back up your files, FULL WIPE and try again..
Thank you for the quick reply.
Setting.Out said:
If you boot into CWM and do a format/wipe on everything MINUS the SD and DATA, you won't lose anything, but it may not fix your issue.. If you get your phone back up and running take off the encryption and back up your files, FULL WIPE and try again..
Click to expand...
Click to collapse
When I go into ClockwordMod, version 6.0.4.3, the 'wipe data/factory reset' is the only option that I see, but it then warns me that all data will be wiped, which, I'm guessing, includes the /data partition. Is this correct or should I look some place else?
Borden Rhodes said:
Thank you for the quick reply.
When I go into ClockwordMod, version 6.0.4.3, the 'wipe data/factory reset' is the only option that I see, but it then warns me that all data will be wiped, which, I'm guessing, includes the /data partition. Is this correct or should I look some place else?
Click to expand...
Click to collapse
Mounts and storage / format
Sent from my Nexus S using XDA Premium 4 mobile app
---------- Post added at 11:34 PM ---------- Previous post was at 11:31 PM ----------
Also go to advanced / wipe dalvik... Are you sure you've flashed Roms before?
Sent from my Nexus S using XDA Premium 4 mobile app
Setting.Out said:
Mounts and storage / format
Click to expand...
Click to collapse
OK, found it there, and formatted /storage, /cache, /boot, and /system. Reflashed CM 10.2 and GApps 4.3 with no success. However, I did manage to dd dump the contents of mmcblk0p2 and mmcblk0p3 to my Linux hard drive, so if I ever figure out how to mount those images in Linux, I should be able to recover everything.
Setting.Out said:
Also go to advanced / wipe dalvik
Click to expand...
Click to collapse
Yep, I did that, too.
Setting.Out said:
... Are you sure you've flashed Roms before?
Click to expand...
Click to collapse
I don't understand this question. How else could I have gotten CM onto my phone in the first place if I never flashed a ROM?
With few other options, I did a factory reset which, predictably, wiped everything but the SD card and put me into a fresh phone. It's also not mounting the SD. So, since all of my data on my phone is gone, I'll just have to hang onto the dumps that I have and hope and pray that someone can tell me how to mount them to get all of my files back.

Categories

Resources