How to really wipe everything - Vibrant General

Why do I still see stuff in /sdcard after wiping and ODIN-ing JFD and re-wiping? How do I really turn my phone back to factory?
I'm having some flakiness with some of the new ROMS, and I am pretty sure it has nothing to do with the ROMs. Specifically, I have a problem where my phone will wake up after receiving a text message and never go back to sleep. Also, several times my phone will boot into a situation where it cannot see any towers (almost like airplane mode). Just general flakiness. So, I want to put my phone back in its newborn, fresh out of the box state and start over. However, I still see all of the files and directories in /sdcard that were in there before I wiped (from recovery). Strange.
Skip

I actually did this earlier today because of a major problem with the music player. I transfered all my backups to my computer then went to Settings>SD Card and Phone Storage then scrolled down to Phone Storage and selected Format SD Card. After I formated the card, I installed JFD with Re-Partition checked. After Odin did its thing, I let the phone reboot and copied a rom to my internal card and the Clockwork update.zip. Installed the update zip through stock recovery and the rom through Clockwork.

Hmm, that didn't work for me. Sure, my external sd card is clean now, but /sdcard still has all the same files in it. Is it safe to just rm -rf * in the /sdcard directory?
For instance, I just odin-ed (with repartition checked) and I still have external_sd showing (a leftover from Obsidian 4.2). I also see busybox, TitaniumBackup and several other folders. I'd like it all to be gone so I can be sure of my re-installation process.

Don't format the SD card, format the phone storage.

Yeah, you formatted the wrong one. Were you on Axura 2.0.5? I had that issue also for some reason... might have something to do with BlackFroyo on top of it?
Just went to Axura Final and am not noticing it...

If you want to wipe the whole phone including the internal memory card. Go to the market and download SGStools. Once installed go to secret codes and find Hard Reset. Just make sure to a make back up of both internal and external cards, cuz one never knows.

@s15274n, no I was not using Axura.
I did see that I formatted the wrong one the first time. Np, I had backed everything up to my computer. Anyway, I formatted both internal and external storage, re-Odin-ed, and then flashed Obsidian 4.2. I have already seen when I miss a call, my phone display does not go back to sleep, even with the new ROM. I guess I will Odin again and this time just stay on stock, or maybe just stick with the Bionix ROMs. If my phone can't play nicely with these new ROMs when flashing on top of a fresh Odin JFD, then I guess it just wasn't meant to be.

Related

I dump my problems unto you!

ugh, here we go:
I am running cyanogenmod 4.04 with the latest recovery. I have the hard spl. I am not themed. I am using auto apps2sd with partions.
Soooo, this was working well until I had to take out my sd card for something. As soon as I did, the whole phone froze up, so I restarted. The first 'alert noise' that usually occurs after startup happpened at the end of the android screen. After this I was bombarded by a HELLUVA lotta force closes. I mean, all over the place. In these was included advanced launcher which I had my home set as as default. They would all loop, and I couldn't do anything. Oddly enough, the notification bar was still working, and I was able to view and answer an email!
My question is as follows:
1: what did I do wrong
2: what can I do to fix it.
-
For several reasons, I would really like to avoid wiping at the moment, so if there are any alternatives, I'd appreciate it.
1) took out sd card
2) fix_permissions in recovery
evilkorn said:
1) took out sd card
2) fix_permissions in recovery
Click to expand...
Click to collapse
Then I can put it back in and reboot?
EDIT: I did the above and nothing interesting happened.
It might be worth noting, however, that I rebooted without the sd card, installed ahome lite, and then didn't set a default home. I was able to use 'home' with the sd card in, and that works fine, as well as the apks packaged in cm (dialer, gmail, alarm clock ect.)
So basically it's like this with Apps2SD... say you are running Windows on your desktop, but you have all your programs installed to an external hard drive, you have a whole lot of programs up and running (not to mention you have your pagefile split across your drives - dalvik-cache), and you rip that external hard drive off. What do you expect to happen? Major system failure.
When you are running Apps2SD, the only time it is safe to remove your SD card is when the phone is NOT booted or booting. Meaning, it has to be off or in either the bootloader or recovery modes.
You may have to format the EXT partition of your SD card, wipe, and reflash your ROM.
daveid said:
So basically it's like this with Apps2SD... say you are running Windows on your desktop, but you have all your programs installed to an external hard drive, you have a whole lot of programs up and running (not to mention you have your pagefile split across your drives - dalvik-cache), and you rip that external hard drive off. What do you expect to happen? Major system failure.
When you are running Apps2SD, the only time it is safe to remove your SD card is when the phone is NOT booted or booting. Meaning, it has to be off or in either the bootloader or recovery modes.
You may have to format the EXT partition of your SD card, wipe, and reflash your ROM.
Click to expand...
Click to collapse
****.....let me see if I an access my sd card with this adapter, hold on.
ugh, put the card in and reboot into recovery and go to the console and type 'fix_permissions', you have to have cyan recovery or use the one with more options like the RA, link in sig, i think there is even an option for it and you don't have to type it in console.

wierd htc hero problem help save my phone!

Today it opened my phone and it shows my sd card as damaged and all the apps are crashing all over the place, so i reverted to a backup and same deal, i installed the stock htc hero rom and it worked fine, i did a wipe and installed modacos 3.1 again and it finished but all the apps started crashing again and it had all the apps that i had installed previously, how do i restore my phone to a clean stock version of modaco 3.1 without keeping all my apps installed!?
mike390 said:
Today it opened my phone and it shows my sd card as damaged and all the apps are crashing all over the place, so i reverted to a backup and same deal, i installed the stock htc hero rom and it worked fine, i did a wipe and installed modacos 3.1 again and it finished but all the apps started crashing again and it had all the apps that i had installed previously, how do i restore my phone to a clean stock version of modaco 3.1 without keeping all my apps installed!?
Click to expand...
Click to collapse
Sounded weird, can agree with that. Are you using apps2sd? Try do a backup of your sd-card, format it, wipe and install ROM. Dont restore a backup or something.
Now copy ur files back to the sd-card and see if it makes any difference
Yeah, it sounds like your ext2 (or ext3/ext4) partition for apps2sd is corrupt. It may even be an issue with your SD card. SD cards are not optimized for ext2/3/4 partitions, and as I learned through running android on my Vogue, it's rare, but your SD card can become permanently damaged by using this filesystem on it.
If formatting your SD card like sinnadyr suggested doesn't work, I would re-partition the entire card, making your FAT32 partition smaller by maybe 512MB and have everything else the same size. This will obviously result in 512MB less usable space on the card, but at that point I don't think you'd have another option anyway.
(I may be off about the size of 512MB... I'm tired and drunk and can't be bothered to look up the actual size of the swap/ext2 partitions.)
If all else fails, try a new SD card.
Your Hero can be saved
Ok... I've had this... and this is how I solved it:
-save what you have to from sd to pc
-format sd
-partition from scratch
-reboot
-put what you saved previously back on
-done
sounds easy, but it actually took me AGES in between finding out and doing it.
In my case it was due to a combination of using a program to move the cache to SD AND mounting the SD card WHILE some app was doing something (APP2SD was enabled). All I know is I never used the cache to SD program again and 3.1 is now running smooth on my hero.
Good luck
Ciao
p.s. If the steps above do not seem to work just do all the Wipes, load another rom, play with it for 2 mins, then re-do all the wipes and start off. I know I'm being a bit confusing but trust me, problem will be solved eventually. Just make sure u have plenty of time when u start the whole process
V.
There's a guide somewhere how to repartition your SD card through ADB, this is what I did when the same thing happened to me and the partitions were corrupted.

How to Start Over Completely with Your Droid X

I've spent a few months on this forum and would like to give back...thus I am creating a guide on how to completely wipe your Droid X in order to start 100% fresh.
Disclaimer: I hold no responsibility if anything happens to your phone. Anything you do is your choice, not mine.
This Guide is mainly meant for ROOTED Droid X's.
First step is to follow this guide: http://androidforums.com/droid-x-all-things-root/254605-update-2-3-340-easily.html#post2241194
After rerooting, turn on the phone, plug it in, and copy your SD Card to your computer desktop. Unplug the phone from the computer and Bootstrap Recovery.
In the Bootstrap Recovery, scroll to Wipe Data/Factory Reset and Confirm.
Scroll Back and click mounts and storage, for anything that has a mount in front of it, click it and click confirm.
Navigate back to main menu and then to advanced. Scroll down to advanced and select Wipe Battery Stats and Wipe Dalvich Cache.
Reboot and plug in your phone to computer.
Copy anything important back to your SD Card (launcher backups, photos, music, clockwordmod, etc.)
Boot back into Bootstrap Recovery and wipe data/factory reset once again, and then mount cache and data again, and then wipe Dalvich Cache Again.
Next, flash a custom Rom by "install .zip from SD)
You should now have a fresh phone and fresh SD Card(SD cards are known to cause problems sometimes such and freezing/locking up so this is a good way to start over.)
If I left anything out or made any mistakes please correct me.
Um
Thanks?
I feel like this would be common knowledge for anyone browsing the Development forum and trying out custom ROMs.
Nice writeup for the ubernewbs though.
EDIT: You reposted this from another forum and didn't even make the hyperlink to update to 2.3.340, so this guide is almost useless.
http://androidforums.com/droid-x-tips-tricks/272219-how-make-your-droid-x-freshhh.html
Sunblood said:
Um
Thanks?
I feel like this would be common knowledge for anyone browsing the Development forum and trying out custom ROMs.
Nice writeup for the ubernewbs though.
Click to expand...
Click to collapse
I see people ask about how to start over again all the time, and honestly I doubt many people know about clearing everything, most people just know about clearing the cache an data.
Thanks for the snarky comment
EDIT: No I fixed that already.
there's no mention of formatting the SD card in your write up, so there'd really be no need to back it up. And the SD card doesn't get touched when formatting data everything stays on there still so when the market starts reinstalling apps the app data is still available from the SD card
although i still recommend backing up your SD card every now and again, just in case of emergency
davidukfl said:
there's no mention of formatting the SD card in your write up, so there'd really be no need to back it up. And the SD card doesn't get touched when formatting data everything stays on there still so when the market starts reinstalling apps the app data is still available from the SD card
although i still recommend backing up your SD card every now and again, just in case of emergency
Click to expand...
Click to collapse
+1 on the periodic backup of the SD card.
SD cards do fail!!
The main cause is shifting gears too fast (going from PC to Mass Storage),give it 8 seconds and pulling the USB cord.
davidukfl said:
there's no mention of formatting the SD card in your write up, so there'd really be no need to back it up. And the SD card doesn't get touched when formatting data everything stays on there still so when the market starts reinstalling apps the app data is still available from the SD card
although i still recommend backing up your SD card every now and again, just in case of emergency
Click to expand...
Click to collapse
When I say, scroll down and click everything with mount in front of it, SD Card is included and your SD gets reformatted.
I think it'd be faster to flash the maderstcok 2.3.340 update zip. It is essentailly an SBF run through cwm. It will truly get you started from scratch.
Yea, if its an elected return to stock maderstock340.zip is a much simpler option. Also sd card backup is essential for anyone with music, files, photos they want to keep. I burned up one card already due to a faulty card and lost the contents. I will also add several roms now add folders to the sd card so it really isn't bad practice to delete those folders or wipe the card.
+1 also that YES, tons of people put roms on every day without the proper knowledge of how to revert to stock via sbf or update.zip. So I think this should be a sticky personally.
Droid-Xer said:
I think it'd be faster to flash the maderstcok 2.3.340 update zip. It is essentailly an SBF run through cwm. It will truly get you started from scratch.
Click to expand...
Click to collapse
Agreed! Maderstock is the way to go for getting back to stock! Easy flash and you're fresh and clean!
This guide includes the maderstock guide...thanks to the one guy who supported me. This covers full SBF with maderstock as well as SD card.
Thread moved to General.

Issue with apps all of a sudden

I not sure if this is the right area, if not, i apologize, feel free to move and/or flame. lol
Anyway, I'm running fr008 liberated froyo and all of a sudden my apps stopped showing up in the app drawer. the ones i had an icon for on the home screen would show up, but be the default little gear icon thing, on click, nothing would happen (market also because that icon and wouldnt work). I tried wiping dalvik cache, cache, and finally ended up just trying to restore nandroid. Wellll.... Now the market is gone totally, but the strange thing, is that the apps show up under settings->applications, but not in the drawer at all.
I searched on this site, but honestly...I'm not even sure what words to use, everytnhing just wasnt relevant to my search. I'll be happy to continue searching (and i'm still browsing through pages), but maybe someone has had this issue and can either help me out, or point me in the right direction. Thanks.
Try a different home app. LauncherPro is the best so far in my opinion.
Well, Ideally I would like to keep sense. that's why i had chosen the rom that i did instead of CM. I just don't understand why they were there working just fine, then all of a sudden they werent. Worse comes to worse I just flash cm7 and start over, i'm just giving it a couple days before i do that.
Astro also didn't show up, and i tried doing the .zip update method through clockwork, but i move the files over, then reset the phone, and they don't show up on the sdcard...So i reboot and check for the gapp.zip on the sdcard, and its no longer there. Wtf is going on?
**edit: for some reason the phone reset and the market showed up again. Obviously my apps are in my market account, but they still show up under settings->application. I still don't know *WHY* this happened, and i dont want to reload everything on it and lose the info i had, especially if its going to be a recurring thing.
Psionfenix said:
Well, Ideally I would like to keep sense. that's why i had chosen the rom that i did instead of CM. I just don't understand why they were there working just fine, then all of a sudden they werent. Worse comes to worse I just flash cm7 and start over, i'm just giving it a couple days before i do that.
Astro also didn't show up, and i tried doing the .zip update method through clockwork, but i move the files over, then reset the phone, and they don't show up on the sdcard...So i reboot and check for the gapp.zip on the sdcard, and its no longer there. Wtf is going on?
**edit: for some reason the phone reset and the market showed up again. Obviously my apps are in my market account, but they still show up under settings->application. I still don't know *WHY* this happened, and i dont want to reload everything on it and lose the info i had, especially if its going to be a recurring thing.
Click to expand...
Click to collapse
This is a total WTF! Since you are running FR008, are you using DT A2Sd to store your apps on the SD card? If not, you may want to look at this thread:
http://forum.xda-developers.com/showthread.php?t=790786
Once you enable A2SD by creating a EXT partition on your SD card, you can use A2SD to check the apps that are installed.
Yeah, my sd card has the ext partition from when i had the stock rom (trying to use dt's a2sd with that, got fed up and flashed fr008, haha).
But I only had a couple apps on the SD card, and strangely enough, those were the only ones showing in my app drawer. (now they aren't...)
But I'll check that link and see whats going on with it, i'm just lost. haha.
Psionfenix said:
Yeah, my sd card has the ext partition from when i had the stock rom (trying to use dt's a2sd with that, got fed up and flashed fr008, haha).
But I only had a couple apps on the SD card, and strangely enough, those were the only ones showing in my app drawer. (now they aren't...)
But I'll check that link and see whats going on with it, i'm just lost. haha.
Click to expand...
Click to collapse
If you had an EXT partition on the SD card when you flashed FR008 (which has DT A2SD built-in) will use it. Sounds like you may want to run the "a2sd check" command in the terminal emulator to see what's going on?
Hmm. I ran a2sd check:
it says "ext partition found, but not mounted, your rom may not be steup to run apps2sd. xxxxx
your partition may be ext4 but rom may not support ext4"
also, my apps are no longer showing up in market...i'm cursed. lol
a little update.
It seems my sd card was screwy. I swapped it for another one temporarily (copy/pasted the contents though, that didnt work, so i formatted it). The phone seems to work fine, but for some reason, my apps still show up in settings > applications. But no where else. I can't use astro to back them up, and I'm not sure what else i can possibly try (aside from wiping everything and installing a new rom, any suggestions on what rom, i'm thinking cm7, but i want sense ui still).
I'm just worried that its something *I* did and i dont want to do it again.
I had a similar issue before...and what I would do is:
1. Factory Wipe, Wipe Caches and Format both system and SDCard with an ext partition
2. Flash the ROM of your choice, then GAPPS
3. Start the process of setting everything up again.
It's the nature of the beast when using DT A2SD...when the card goes, so does everything on it, including your apps. It would be a great idea to back up everything on your phone (nandroid) then copy the nandroid backup (in the Clockworks folder on your SDCard) to a safe place (not on the SDCard) so that when this happens again you have a backup of your phone that doesn't die with the card. Don't worry this doesn't happen often, but a you see, it can happen.
Yeah, i sort of guessed it had to do with the sd card (had a small glitch about 3 days prior to this, with a program that was on the sd card). I just don't know why the apps that werent on the sd card went with the sd card, but showed up in settings -> applications still (though i could do nothing with them, and if i tried to "clear data" on them, it would fail). I flashed CM7 last night and started setting everything up again. I'm going to do the whole nandroid backup, and manual backup where i can pull the apks out of the backup, so i can have a script to reinstall everything quickly when I inevitably change roms again. lol (as you can see, i've been a member for some years now, started back with the titan/ppc6800)
anyway, if you didnt read all that above, i'll summarize:
THANKS.
i had the a similar problem my apps werent showing in my drawer and my widgets on my home screens kept saying problem loading widget so i wiped everything reinstalled my rom switched to adw ex and everything has been fine since

SD Cars Questions

So I have tried searching, but there is a lot of info to sort through and most of it doesn't really answer my questions well enough. I just got my SD card today and put it in. The phone sees it, so everything is good there. Im not new to modding Droids, but I never had one with this internal SD Card stuff. Im currently running CM10.1
In the emulated folder, why is everything in both the "0" folder ad the "legacy" folder?
What is usbdisk?
How do I set it so the camera automatically saves the pictures to the external SD card?
Is there anyway to make CWM save nandroids to the external card?
bluek24a4 said:
So I have tried searching, but there is a lot of info to sort through and most of it doesn't really answer my questions well enough. I just got my SD card today and put it in. The phone sees it, so everything is good there. Im not new to modding Droids, but I never had one with this internal SD Card stuff. Im currently running CM10.1
In the emulated folder, why is everything in both the "0" folder ad the "legacy" folder?
What is usbdisk?
How do I set it so the camera automatically saves the pictures to the external SD card?
Is there anyway to make CWM save nandroids to the external card?
Click to expand...
Click to collapse
I wish I could help with all your questions but I'm fairly new to this phone myself. I ended up with quite a few nested "0" folders, and the best way to deal with it as far as I can tell is just leave it alone. When installing a new ROM, make sure you do a wipe of everything, and then you only end up with one "0" folder, and everything works. At first I had cwm saving backups to my original "0" folder, which was inaccessible to everything but cwm, it made backups ridiculous to deal with. Reflashing recovery got things back to normal for me.
I had the same issue with cwm acting like it was backing up to external SD and then the files not being there. I flashed twrp and it backs up to my sdcard with no problems.
As for usbdisk, I found this thread somewhat explaining it. Basically, its not really something to worry about.
To change where the camera saves(at least on SlimRom) you open up the camera app, tap somewhere and drag down to get into settings, and then tick the "Use External" ticker.
stesaint said:
I wish I could help with all your questions but I'm fairly new to this phone myself. I ended up with quite a few nested "0" folders, and the best way to deal with it as far as I can tell is just leave it alone. When installing a new ROM, make sure you do a wipe of everything, and then you only end up with one "0" folder, and everything works. At first I had cwm saving backups to my original "0" folder, which was inaccessible to everything but cwm, it made backups ridiculous to deal with. Reflashing recovery got things back to normal for me.
I had the same issue with cwm acting like it was backing up to external SD and then the files not being there. I flashed twrp and it backs up to my sdcard with no problems.
As for usbdisk, I found this thread somewhat explaining it. Basically, its not really something to worry about.
To change where the camera saves(at least on SlimRom) you open up the camera app, tap somewhere and drag down to get into settings, and then tick the "Use External" ticker.
Click to expand...
Click to collapse
So TWRP saves your backups to the external card? Thats good to know. But CWM was "saving" to the external card but you just couldn't find the files?
The settings for the camera was the same in CM10.1. I didn't know they were there like that. Thanks for the tip.
Yeah, with CWM it would go through the backup process like normal, but the files would be gone. TWRP saves to SD or internal with no problems at all, I'm actually starting to like it better than cwm.
I tried it out, and did a back up to external SD card from CWM and it seems to have worked. The file seems to be there. This makes the external card significantly more useful to me.

Categories

Resources