How do I wipe everything? - Hero CDMA Android Development

So I went into the recovery console and selected the complete data wipe option. I then reinstalled fresh 1.1 and rebooted.
Then I signed into the phone like I knew I would have to, however after logging in, all my apps are still here!
Google voice recorder is still force closing on me and all the setings have reset.
I thought wiping the data would remove all the apps?
I'm trying to fix the voice recorder crash. I've removed it and reinstalled to no evail.

All of your apps are there because you are using Apps2SD, you'll need to format your SD card agan to get rid of them all.

I don't think I'm using Apps2SD?
I had a stock Sprint Hero, had it for several months, a couple weeks ago I rooted with Fresh Kitchen and installed 1.1. I never moved my apps or did any formating to the SD card.
Now I'm trying to wipe the data and reinstall.
Was Apps2SD installed automatically with Fresh1.1, and my apps moved and my SD Card formmated appropriately without losing my MP3's and audiobooks?
It just doesn't make sense...

Try erasing your SD Card
Backup first ..just in case

Apps2SD is done automatically if your SD card is formated with an EXT partition.
Your SD could have 3 partitions, they wouldn't be formated automatically, you would have to format it from recovery. Apps will be on a different partition than Music/books.

So if it was already partitioned then it would move them over automatically.
It might have been partitioned from when I had my G1.
I can format the extention though, and that will clear the EXT partition right?
I think I'll give that a shot then..

Sirchuk said:
So if it was already partitioned then it would move them over automatically.
It might have been partitioned from when I had my G1.
I can format the extention though, and that will clear the EXT partition right?
I think I'll give that a shot then..
Click to expand...
Click to collapse
When you do the partition, just put Swap and EXT to 0 mb. This will make whole card FAT again.
Also I think you will have to clear your Delvic and do Data wipe again after you do this because all of the cached apps won't be there any more.

You could also drop it in the loo, that would wipe everything
Seriously though, just erase your SD card or copy its contents to your desktop and try again. Should be good.

Related

[Q] ext3 on dexters

I have been trying forever to get ext3 working on my phone. I have 3 primary partitions; fat32, ext3 and linux swap. I used a card reader to create them via Partition wizard. Every software can see the 3 partitions, but my phone wont pick up the ext3. I tried wiping everything, reflashing dexter's rom, but i just cannot get it to work. I still see only 134mb on internal memory and it decreases as i install apps. I have even tried using link2sd but that gives me an error ("Mount script cannot be created"). Any help will be greatly appreciated. Thanks in advance.
Frisbee6 said:
I have been trying forever to get ext3 working on my phone. I have 3 primary partitions; fat32, ext3 and linux swap. I used a card reader to create them via Partition wizard. Every software can see the 3 partitions, but my phone wont pick up the ext3. I tried wiping everything, reflashing dexter's rom, but i just cannot get it to work. I still see only 134mb on internal memory and it decreases as i install apps. I have even tried using link2sd but that gives me an error ("Mount script cannot be created"). Any help will be greatly appreciated. Thanks in advance.
Click to expand...
Click to collapse
Me too, I used Miui optimize rom and Steel v4 (
Sent from my XT720 using XDA Premium App
That's strange. My EXT3 partition works both in Dexter's rom and in the Steelblue V4 rom.
I used gparted under Linux to do my partitioning. What I did was to resize the existing FAT32 partition and move it all the way to the right. Then I created a 2gb EXT3 partition all the way at the left. From there I created a 256mb swap partition in the middle, and I resized the FAT32 partition to take up the rest of the drive.
Did you guys remember to create an "app" folder on the EXT3 partition?
There are other folders that you can create to put the delvik cache on there among other things. I just don't remember off hand what you need to name them as.
Ya there is a folder there called apps, but for some reason, nothing is moving into it. do i need to run some sort of a script? what i did:
1. flashed dexters 1.3
2. partitioned sd card using partition wizard with a fat32, a ext3 and a swap partition
3. booted up phone, internal memory shows 134mb, all apps installed go to internal memory.
4. terminal shows ext partition with 1100 mb free space
Am i missing a step?
Thanks in advance
Frisbee6 said:
Ya there is a folder there called apps, but for some reason, nothing is moving into it. do i need to run some sort of a script? what i did:
1. flashed dexters 1.3
2. partitioned sd card using partition wizard with a fat32, a ext3 and a swap partition
3. booted up phone, internal memory shows 134mb, all apps installed go to internal memory.
4. terminal shows ext partition with 1100 mb free space
Am i missing a step?
Thanks in advance
Click to expand...
Click to collapse
not folder apps but app no s....if your ext3 working fine then shud have lost+found folder @/sd-ext.. create app folder using root explorer then reboot..now your app shud automatically move to sd-ext..
and create cache folder dalvik-cache
Well i did what you guys said and now my apps are going to /sd-ext/app but im also losing space in the internal memory, and it does not show internal + ext3, it only shows internal. You guys have any idea whats happening?
Thanks for all your help guys.
Frisbee6 said:
Well i did what you guys said and now my apps are going to /sd-ext/app but im also losing space in the internal memory, and it does not show internal + ext3, it only shows internal. You guys have any idea whats happening?
Thanks for all your help guys.
Click to expand...
Click to collapse
Are you using Dexter 1.3 without any patches?
[If so, probably your dalvik-cache is on /data? So... even though the apps are going into /sd-ext, the optimized versions of the dex are being stored on internal memory.]
Yes... no patches, and dalvik is going to /data. Any idea whats up?
Frisbee6 said:
Yes... no patches, and dalvik is going to /data. Any idea whats up?
Click to expand...
Click to collapse
That's just how Dexter's 1.3 works by default and one of the reasons I started the bugfix patches. If you apply bugfix patch 3 dalvik-cache will move to /cache automatically (you can optionally move it to /sd-ext by creating /sd-ext/dalvik-cache and rebooting).
http://forum.xda-developers.com/showthread.php?t=995989
Or, if you don't want the patch, you can maybe use Androidiani OpenRecovery--it has a menu option to install an init script to move dalvik-cache to /cache. I haven't tested whether that works or not, though.
After this patch, now the /sd-ext/app folder deletes itself after i restart the phone, tried a few times, same goes for davlik-cache. This is crazy every thing that could go wrong has gone wrong, thanks again for your help. You got any other suggestions?
I do not understand what you worry?
It works now, thanks alot for all your help guys, really appreciate it!
Frisbee6 said:
It works now, thanks alot for all your help guys, really appreciate it!
Click to expand...
Click to collapse
How you did it?
V_XT720 said:
How you did it?
Click to expand...
Click to collapse
1. Formatted my card to the required partitions.
2. Flashed dexters rom followed by Mioze7Ae's bugfix 3.
3. Using root explorer I created /app folder.
4. Downloaded apps like there's no tomorrow.
Sent from my XT720 using XDA App
I tried two different ways to partition my sd:
1) I used Gpatred and I did everything as described here - http://www.youtube.com/watch?v=6z1Tu9l8WNc&feature=related.
2) I used MiniTooLsPartition Wizard and Root explorer to create app and dalvik-cache folders.
In both cases, everything seems fine....until i install some apps. After restart the phone can not load the android. The phone only shows M logo and restart. If I remove the card then OS load. What I have to do? Thanks in advance.
Are you partitioning your sd while its in the phone? Use a card reader if possible. Wipe clean your partitions and wipe data and dalvik cache. Then try again, although i did not have the problem that you mention, are you running any other scripts? eg. darktremors?
What I did:
1. Clean Installation of Steelblue V4 rom.
2. Two primary partitions (FAT32 and EXT3). I used card reader.
3. App and dalvik-cache folders on ext3 partition.
4. Wipe clean partitions and wipe data and dalvik cache.
After first reboot everything was fine. Then I installed a root explorer to check a ext3 partition. The app and dalvik-cache folders were there. I decided to restart the phone again before I install anything else and nothing happened....only M logo
V_XT720 said:
What I did:
1. Clean Installation of Steelblue V4 rom.
2. Two primary partitions (FAT32 and EXT3). I used card reader.
3. App and dalvik-cache folders on ext3 partition.
4. Wipe clean partitions and wipe data and dalvik cache.
After first reboot everything was fine. Then I installed a root explorer to check a ext3 partition. The app and dalvik-cache folders were there. I decided to restart the phone again before I install anything else and nothing happened....only M logo
Click to expand...
Click to collapse
dalvik-cache on ext partition will cause bootloops in Khal's ROMs.

detecting and removing bot infections

hi i was wondering how one can detect bot infections and get rid off the stuff.
for example will a full wipe and reflash work?
No, you gotta do a factory restore in the phone settings instead of using CWM full wipe cuz it doesn't really wipe your internal SD card. Also make sure to format for external SD card as well.

[Q] CWM Restore fails with "Error formatting /sd-ext!"

Ok, a little background. As we all know, the Evo Shift is sorely lacking on internal data space. I have been using Link2SD with my CWM created 4GB ext3 partition for several weeks. However, Link2SD doesn't allow for linking other folders in /data to save even more internal space. So I installed FolderMount to see if I could use it to link /data/data to my ext partition. Before I started, I made a backup in CWM, as is necessary when messing with stuff you don't know. I rebooted the phone after the backup and linked /data/data with FolderMount and rebooted again. BAM! Bootloop. Ehh, oh well, right? I gotta backup, so no worries. Yeah, I wish. Slam into recovery, start the restore, and get "Error formatting sd-ext!" I'm not too worried, just wipe the SD and recreate the ext partition. Still the same. Try again, making every effort to pay close attention to every detail. Still no dice. I tried doing a fresh format with my PC, going into CWM and formatting SD again, recreate ext partition, try to format it and same error. I even tried throwing the SD card in completely unformatted, just to make sure, and of course CWM didn't even see the SD card at all (duh, but you gotta be sure). I am kinda stuck... I don't have the $$ to buy another 32GB Class10 SD card, and I don't have another SD card to use at all. Can anyone give me any guidance as to maybe something that I have missed or haven't thought of? I'm really scratching my head trying to get around this formatting error. Any and all help is greatly appreciated.
Ok, nevermind, I figured it out. Main thing was, don't be up for 48 hrs and try messing with your phone. LOL! Second, while CWM will create a 4gb ext3 partition, it doesn't like to format or recognize them correctly. So I opted for a 2gb ext3 partition and I am good to go. This thread can be deleted. Thank you.
Sent from my PG06100 using xda app-developers app
Sorry we couldn't be more help. Lol. Glad you got it worked out.
scrumbleyj said:
Ok, a little background. As we all know, the Evo Shift is sorely lacking on internal data space. I have been using Link2SD with my CWM created 4GB ext3 partition for several weeks. However, Link2SD doesn't allow for linking other folders in /data to save even more internal space. So I installed FolderMount to see if I could use it to link /data/data to my ext partition. Before I started, I made a backup in CWM, as is necessary when messing with stuff you don't know. I rebooted the phone after the backup and linked /data/data with FolderMount and rebooted again. BAM! Bootloop. Ehh, oh well, right? I gotta backup, so no worries. Yeah, I wish. Slam into recovery, start the restore, and get "Error formatting sd-ext!" I'm not too worried, just wipe the SD and recreate the ext partition. Still the same. Try again, making every effort to pay close attention to every detail. Still no dice. I tried doing a fresh format with my PC, going into CWM and formatting SD again, recreate ext partition, try to format it and same error. I even tried throwing the SD card in completely unformatted, just to make sure, and of course CWM didn't even see the SD card at all (duh, but you gotta be sure). I am kinda stuck... I don't have the $$ to buy another 32GB Class10 SD card, and I don't have another SD card to use at all. Can anyone give me any guidance as to maybe something that I have missed or haven't thought of? I'm really scratching my head trying to get around this formatting error. Any and all help is greatly appreciated.
Click to expand...
Click to collapse
Cool you figured it out. I just saw this post, but if it happens in the future, you can try a program Partition Master. I've used it to take an SD card with didn't partitions (ext3 and ext4) to reformat it to a single volume. Plus, you can partition it this way too. I haven't used it in a year or so, but I remember it working when I was just messing around. You have to stick the micro SD card into an adapter and then connect it to your computer as a regular SD card. Then run the program and mess around with it.
Bro, I had tried everything. I used EaseUS Partition Master to reformat, repartition, and all. I checked the CWM log, which I had completely missed, because I had been up working for 48 hours straight. Log showed this error, which I basically commited to memory.
Mke2fs: lseek: Value too large for defined data type
A little more research on that error told me that CWM doesnt like 4gb ext3 partitions. It's weird though, because I've had this 4gb ext3 partition for a while and have flashed many roms and restores without issues. It started after I tried using 2 different symlinking apps. So I just tried a 1gb ext3 partition and everything works. I'll work out the error to get my 4gb partition back when I get some time.
Sent from my PG06100 using xda app-developers app
I've never needed more than 1gb myself. 4gb seems like a lot.
I have a 2GB ext.4 for the tester.

[Q] Complete Phone Redo???

I have been flashing and playing different roms for awhile now but I have noticed that my phone is running out of space so quickly these days. The internal sd card is full and my external sd card has a little space but that's it, and the phone won't do updates or new downloads due to the internal card being full.
I was wondering, I want to go back to using CM10 again on this Blaze with the latest gapps, but I want to wipe EVERYTHING and start fresh, I have backed things using wondershares mobilego (as well as a manual backup of both sd cards, internal and external).
Can someone give me a good medthod on wiping it all, system, cache, dalvik, internal sd card and external sd card and doing a fresh install of cm10 and gapps.
Thanks in advance
Download the latest cm10 nightly and 4.1.2 gapps from the official cm10 thread to your external SD card.
Boot to cwm and go to mounts, and format:
System
Data
Cache
Emmc
Do all of them several times.
Go to advanced and wipe davlik cache a couple times too.
Then install the cm10 zip followed by the gapps. Wipe cache and davlik one more time. You can format the external SD card any time later, after you verify boot (suggested). You can use a PC or the built in format under settings/storage.
Romman0 said:
Download the latest cm10 nightly and 4.1.2 gapps from the official cm10 thread to your external SD card.
Boot to cwm and go to mounts, and format:
System
Data
Cache
Emmc
Do all of them several times.
Go to advanced and wipe davlik cache a couple times too.
Then install the cm10 zip followed by the gapps. Wipe cache and davlik one more time. You can format the external SD card any time later, after you verify boot (suggested). You can use a PC or the built in format under settings/storage.
Click to expand...
Click to collapse
Wouldn't I also need to do format /sdcard several times as well to format the internal sd and then after I am all done I can do the format /sd-ext to format the external sd card? Which if I format the sd-ext it won't hurt anything I did for the install of CM and gapps right?
By the way, thanks for your help I appreciate it
You can format the external a couple times. Sometimes things get left behind, that's why in suggested the multiple wipes. You don't have to worry about SD ext, the partition will get wiped when the external SD card is formated. If you didn't create the partition there's nothing to worry about. I wouldn't format the emmc (internal SD card) after installing a rom as some of it is used.
Romman0 said:
You can format the external a couple times. Sometimes things get left behind, that's why in suggested the multiple wipes. You don't have to worry about SD ext, the partition will get wiped when the external SD card is formated. If you didn't create the partition there's nothing to worry about. I wouldn't format the emmc (internal SD card) after installing a rom as some of it is used.
Click to expand...
Click to collapse
Thanks again, I did as stated above then booted up, made sure all worked fine then went back into cwm and formatted the sd card (not the sd-ext). I am now putting some music and photos back on the sd card so I have them with me. Latest CM10 Nightly from the 4th seems to freeze a little bit when trying to do things on my Blaze, maybe I just need to reboot it again after I move the stuff over.
Thanks again!
Give it a a little while to settle. If it is still giving you issues try the previous nightly from 7/28.
Gunstra said:
Thanks again, I did as stated above then booted up, made sure all worked fine then went back into cwm and formatted the sd card (not the sd-ext). I am now putting some music and photos back on the sd card so I have them with me. Latest CM10 Nightly from the 4th seems to freeze a little bit when trying to do things on my Blaze, maybe I just need to reboot it again after I move the stuff over.
Thanks again!
Click to expand...
Click to collapse
Part of the internal storage is cached at /cache. It caches a bunch of things, such as mount points and app usage. When you wipe cache and start over, expect things to be slower for a couple days/reboots. Then it'll settle, as was said above
Good tips Romman0. I try to do this every 4 months or so. Blackhole and FSC only make it better, but that's clearing leftovers and realigning empty blocks and messing with the filesystem and a lot of technical junk
Sent from my SGH-I777 using xda app-developers app

Using Link2SD again after flashing ROM

Not a developer and pretty new to rooting still.
I'd been using Link2SD to get more room in my Samsung Galaxy Blaze 4G, that worked wonderfully.
But a few weeks ago I had a phone issue and flashed a new ROM. Working just fine, I reinstalled some of my apps. Yesterday I was at the point where I needed more room again and I restored Link2SD (app+data) from TiBu.
On reboot I realized my mistake - suddenly all my apps were crashing. I uninstalled Link2SD, rebooted, everything fine again. I'm guessing it's because some of the apps I'd reinstalled after flashing were also linked in the 2nd partition of my SD card? I then tried downloading a fresh copy of Link2SD, but that had the same effect.
I had to reflash, the phone is now back where it was earlier this weekend.
My question is, how do I now use Link2SD? Is there a way to wipe it clean and start over from scratch? Is there an alternative I should be using instead, to take advantage of all the room on my external SD card?
Can anyone just tell me if I can wipe Link2SD back to the original conditions? Or anything like that?
kanjigirl said:
Can anyone just tell me if I can wipe Link2SD back to the original conditions? Or anything like that?
Click to expand...
Click to collapse
Just download and install the PC software MiniTool Partition Wizard.
Connect the SD card to PC via card reader.
Open the software and format the ext4 partition that you created from the memory card for Link2SD
Now remove and put SD in phone and try using Link2SD
I'll have to repartition the SD card every time I flash a ROM if I want to use Link2SD?
kanjigirl said:
I'll have to repartition the SD card every time I flash a ROM if I want to use Link2SD?
Click to expand...
Click to collapse
Yes, because the symlinks will be broken each time you flash or format
Okay, thanks for the info.

Categories

Resources