Quickest way to Wipe device ? - HTC One X

I'm using as custom room and got lots of crap on my "SD" card.
I want the device to run this custom rom (or any rom, it doesn't matter)
Clean, with Clean SD card. (But the leave the custom recovery)
How can I do that?

Settings > storage > Erase phone storage me thinks.

Clareyboy said:
Settings > storage > Erase phone storage me thinks.
Click to expand...
Click to collapse
Yes, but will it leave nandroid and the recovery files?

It will not leave your nandroid backups. Recovery will stay installed.
Copy the clockworkmod folder onto your pc, wipe sd and then copy the folder back to your phone. Backups will be safe then.
Sent from my One X using xda premium

TToivanen said:
It will not leave your nandroid backups. Recovery will stay installed.
Copy the clockworkmod folder onto your pc, wipe sd and then copy the folder back to your phone. Backups will be safe then.
Sent from my One X using xda premium
Click to expand...
Click to collapse
Thanks!
Are you sure about the custom recovery?
Doesn't it need the files it created on the sd card?
I mean, where does it's files located?

Yes, I'm sure. Recovery is a partition like boot, it has nothing to do with sd card and it can not be wiped without using fastboot.
Your backups however are at /sdcard/clockworkmod/, so save them before wiping.

Related

Non deleteable files?

Is there a way to make a folder or does a folder already exist that will not be deleted when you wipe data to flash a new rom? I want to flash a new rom but do not want to lose my music and pictures and have to re-transfer them from my computer. Any help is appreciated
Sent from my Galaxy Nexus using XDA
happymfeet said:
Is there a way to make a folder or does a folder already exist that will not be deleted when you wipe data to flash a new rom? I want to flash a new rom but do not want to lose my music and pictures and have to re-transfer them from my computer. Any help is appreciated
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Flashing a rom doesn't wipe your sdcard.
Unlocking the bootloader wipes your sdcard.
Just flash the rom, you will lose apps and user data but pictures, music etc. That are on the sdcard are safe.
nodstuff said:
Flashing a rom doesn't wipe your sdcard.
Unlocking the bootloader wipes your sdcard.
Just flash the rom, you will lose apps and user data but pictures, music etc. That are on the sdcard are safe.
Click to expand...
Click to collapse
I'm assuming its a virtual SD card of some sort?
Sent from my Galaxy Nexus using XDA
Ya pretty much.
Its the sdcard partition of the total 16/32gb total.
The rest is split into recovery, system, boot, cache and data.
Flashing a rom overwrites those, not the sdcard partition.
Just make sure to do a full wipe in cwm before you flash a rom.
Yeah, it's not really an SD card but a special partition of the internal storage that gets treated like an SD card. If you have the stock recovery, a factory reset will erase the SD-like partition; ClockworkMod Recovery will not erase it.
If you do unlock your bootloader (via the fastboot oem unlock route), everything on your phone will be wiped - SD card data included - but that is really the only time you have to worry about losing SD card data.
Thanks for all your answers I understand now. Next up flashing AOKP!
Sent from my Galaxy Nexus using XDA
nodstuff said:
[snip]
Flashing a rom overwrites those, not the sdcard partition.
Click to expand...
Click to collapse
codesplice said:
Yeah, it's not really an SD card but a special partition of the internal storage that gets treated like an SD card. If you have the stock recovery, a factory reset will erase the SD-like partition; ClockworkMod Recovery will not erase it.
If you do unlock your bootloader (via the fastboot oem unlock route), everything on your phone will be wiped - SD card data included - but that is really the only time you have to worry about losing SD card data.
Click to expand...
Click to collapse
You guys forgot to mention that /sdcard is actually just a symlink to /data/media, so if you wipe or flash the data partition in fastboot (or flash a stock ROM) it will erase /sdcard.
Sent from my Galaxy Nexus using Tapatalk

back up problem

While i making back up i got this error: "Error while making backup image of /sd-ext"
how can i solve this problem? or i can restore, but my apps on ext wont work?
(i use cm 9 aplha3 , and link2sd)
are you using cwm6? i have same problem here and looking for a way to turn back to cwm5...(and you can manually back up your sd-ext..it is located in internal storage data/sdext copy it to sd card and after restoring copy again to same place))
If you're using Link2SD/Data2SD then you must be having a separate EXT2/3/4 partition on your SD card. You can simply backup the files in that partition & put them back after reflashing.
If you have a linux system, then connect USB will show up both partitions, then you can copy them to a folder on your PC as a backup.
Its actually a good thing when you don't want a full restore too. Some things like Swype's personal dictionary can't be backed up, so after a fresh install, just copy these files on the EXT partition!
valerosso said:
are you using cwm6? i have same problem here and looking for a way to turn back to cwm5...
Click to expand...
Click to collapse
It's easy using CWM app. Run CWM, take the first option in the menu, confirm it's your device and it will reflash recovery 5.0.2.8. Before reflashing it already tells you that you've 5.0.2.8, but that's a mistake, if you reflash it downgrades your recovery and, at least in my device, the problem in sd-ext backup disappears.
Sent from my Wildfire S A510e using xda app-developers app
i got cwm 5.0.2.8 i flashed it in rommannagger 2 days ago but i still got this error.
but, if i back up my ext partition like u said:
valerosso said:
are you using cwm6? i have same problem here and looking for a way to turn back to cwm5...(and you can manually back up your sd-ext..it is located in internal storage data/sdext copy it to sd card and after restoring copy again to same place))
Click to expand...
Click to collapse
can i restore the ROM with ext error? i mean the restoring still works, only the apps will "loose" ?
szuladam said:
i got cwm 5.0.2.8 i flashed it in rommannagger 2 days ago but i still got this error.
but, if i back up my ext partition like u said:
can i restore the ROM with ext error? i mean the restoring still works, only the apps will "loose" ?
Click to expand...
Click to collapse
Yea restoring will work but some of the apps will not appear or will not work properly, those are stored in sdext..run link2sd and mount partition after you can copy your backed up sd ext folder... i also turned back to cwm 5 but it still has error with sdext i dont know why..
Ferri64 said:
It's easy using CWM app. Run CWM, take the first option in the menu, confirm it's your device and it will reflash recovery 5.0.2.8. Before reflashing it already tells you that you've 5.0.2.8, but that's a mistake, if you reflash it downgrades your recovery and, at least in my device, the problem in sd-ext backup disappears.
Sent from my Wildfire S A510e using xda app-developers app
Click to expand...
Click to collapse
I think you mean Rom Manager. It's a cwm app, but when you say cwm you're usually referring to the recovery app.
Edit : Try using titanium backup, I find it works better. I use cwm just to flash stuff.

Internal SD and AOSP roms

Tried Google search and didn't get an answer to this. I flashed the PACman ROM yesterday night, and after everything booted I couldn't find my internal SD card with root explorer. Where would it be stored? I loved how responsive the ROM was and would like to try it more, but I have things on my internal SD that I need to access.
Also the SD card was not erased. I use TWRP and did a factory reset/wipe cache/wipe dalvik before I flashed. I restored my nand after trying out the ROM and everything was still there on my internal SD after reboot.
Sent from my SPH-L710 using Tapatalk 2
dante32278 said:
Tried Google search and didn't get an answer to this. I flashed the PACman ROM yesterday night, and after everything booted I couldn't find my internal SD card with root explorer. Where would it be stored? I loved how responsive the ROM was and would like to try it more, but I have things on my internal SD that I need to access.
Also the SD card was not erased. I use TWRP and did a factory reset/wipe cache/wipe dalvik before I flashed. I restored my nand after trying out the ROM and everything was still there on my internal SD after reboot.
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
When you flash an aosp 4.2.x ROM you will get your internal SD card repartitioned and you will have a new "0" folder upon boot and all your data should be in that "0." This happens to every 4.2.X ROM because when the new update was introduced there's a feature that allows multiple users that does this. If you want to reverse this and get rid of that "0" folder so your stuff gets saved correctly and you can access it at ease first, copy all your data from that 0 folder out to the root of your internal SD. After you have moved the contents delete the folder. Now the folder might not delete because its encrypted to prevent that so all you have to do is rename that folder and reboot TRWP recovery. If you have cwm I would flash twrp because cwm doesn't have a file manager. That being said once your in recovery hit advanced I believe and then file manager. Scroll and find internal SD, then find that folder you renamed and open it. Now at the bottom right it should have tap select and then tap delete and swipe to delete it and you should be done. Hope this helps
Sent from my SPH-L710 using xda premium
jazz995756 said:
When you flash an aosp 4.2.x ROM you will get your internal SD card repartitioned and you will have a new "0" folder upon boot and all your data should be in that "0." This happens to every 4.2.X ROM because when the new update was introduced there's a feature that allows multiple users that does this. If you want to reverse this and get rid of that "0" folder so your stuff gets saved correctly and you can access it at ease first, copy all your data from that 0 folder out to the root of your internal SD. After you have moved the contents delete the folder. Now the folder might not delete because its encrypted to prevent that so all you have to do is rename that folder and reboot TRWP recovery. If you have cwm I would flash twrp because cwm doesn't have a file manager. That being said once your in recovery hit advanced I believe and then file manager. Scroll and find internal SD, then find that folder you renamed and open it. Now at the bottom right it should have tap select and then tap delete and swipe to delete it and you should be done. Hope this helps
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
That helped tons, thank you I really appreciate it!!
Sent from my SPH-L710 using Tapatalk 2
dante32278 said:
That helped tons, thank you I really appreciate it!!
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Your welcome glad to help :thumbup:
Sent from my SPH-L710 using xda premium
OK so issue is partially resolved. When I am in pacman from 4-2-13 I can only see part of the files on my SD card. I cannot see anything on there from the last 60 days or so. I have been running TW ROMs for a while and in root explorer my internal storage shows as sdcard0 for them. Is that causing some sort of conflict with how 4.2.2 reads my SD card? How do I get everything on my internal to show in one folder? I thought about renaming sdcard0 to just sdcard on my TW ROM and then flashing 4.2.2 but I would rather ask before doing so.
Sent from my SPH-L710 using Tapatalk 2
dante32278 said:
OK so issue is partially resolved. When I am in pacman from 4-2-13 I can only see part of the files on my SD card. I cannot see anything on there from the last 60 days or so. I have been running TW ROMs for a while and in root explorer my internal storage shows as sdcard0 for them. Is that causing some sort of conflict with how 4.2.2 reads my SD card? How do I get everything on my internal to show in one folder? I thought about renaming sdcard0 to just sdcard on my TW ROM and then flashing 4.2.2 but I would rather ask before doing so.
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Sdcard0 is the factory name to your internal SD card no need to mess with that, but inside that directory will be the "0" folder which is where all your stuff is if its not in there maybe its in your external SD if you have one I know my phone switches back and forth it gets annoying but I can handle it.
Sent from my SPH-L710 using xda premium

[Q] Is there anyway to wipe internal SD Card and install a Rom?

After many program installations and various rom setups, I want to free up space on my Internal SD Card by doing a full wipe. Is there a way to do this and be able to load a rom?
sfetaz said:
After many program installations and various rom setups, I want to free up space on my Internal SD Card by doing a full wipe. Is there a way to do this and be able to load a rom?
Click to expand...
Click to collapse
Stock recovery wipes everything but TWRP preserves the "virtual" sdcard. There might (or might not) be some advanced option in TWRP to wipe the virtual sdcard, never looked.
Twrp has the wipe option, I knew that already. I wanted to find a way to use it and still be able to flash a rom. In any case I figured out how to transfer a file to the device with the ADB push command after getting adb to recognize the nexus. Will attempt all this in a couple of days.
sfetaz said:
Twrp has the wipe option, I knew that already. I wanted to find a way to use it and still be able to flash a rom. In any case I figured out how to transfer a file to the device with the ADB push command after getting adb to recognize the nexus. Will attempt all this in a couple of days.
Click to expand...
Click to collapse
I guess I don't understand what you mean then as by default twrp doesn't reset your virtual sdcard for a wipe, so whichever ROM update.zip files you had on the virtual sdcard would survive a wipe in twrp, so there would be no reason to copy them back over.
I guess maybe your question had nothing to do with wipe, and you were really asking how to transfer a custom ROM install file to the tablet so twrp can install it. You can do that using adb or mtp or just download the file using the browser on the tablet.
In advanced wipe there is a box for internal storage... and TWRP supports OTG so you can connect a flash drive formated to FAT32 that contains the Zip you wan't to flash and flash it like any other file.
iamezio said:
In advanced wipe there is a box for internal storage... and TWRP supports OTG so you can connect a flash drive formated to FAT32 that contains the Zip you wan't to flash and flash it like any other file.
Click to expand...
Click to collapse
This is what I mean. My virtual SD Card (data/media) is bloated with files I want to get rid of. So I wanted to wipe internal storage to clear all files and reinstall a rom. Using ADB or USB-OTG as iamezio says, I can transfer a rom zip back to the internal storage after wiping it to be able to install a rom. When I first made this post I wasn't sure how to do this.
sfetaz said:
This is what I mean. My virtual SD Card (data/media) is bloated with files I want to get rid of. So I wanted to wipe internal storage to clear all files and reinstall a rom.
Click to expand...
Click to collapse
Well, when you do a wipe from twrp, it is just removing all the files using a delete operation, which you can also do yourself.
The part of your question that seemed pertinent to me is you wanted TWRP to see your ROM file, which is the same question one would have if they asked how do I install a ROM.
sfetaz said:
This is what I mean. My virtual SD Card (data/media) is bloated with files I want to get rid of. So I wanted to wipe internal storage to clear all files and reinstall a rom. Using ADB or USB-OTG as iamezio says, I can transfer a rom zip back to the internal storage after wiping it to be able to install a rom. When I first made this post I wasn't sure how to do this.
Click to expand...
Click to collapse
twrp will wipe you internal storage with that option you saw in advanced settings. i actually did that one day by mistake and had to sideload the files to get back up and running. if that's what you are ready for, then go for it, it'll do it...

Titanium backup to SD card problem

Hey guys I have been trying back up my data so can flash a new ROM but titanium backup will only back up to my phone not my SD card so when I wipe through cwm I'm going to lose my backups can anybody please help with this
Sent from my GT-N7105 using xda premium
Go to preferences and change backup folder location. Click "detect"/search entire device and navigate to your sd card.
Not sure about cwm, but twrp won't format your internal sd storage unless you specifically target it. I always wipe data, system, and cache prior to flashing a new rom. I leave the sd partition alone unless I want to clear it for whatever reason.
Sent from my SPH-L900 using Tapatalk

Categories

Resources