so i want to wipe my g1 to delete all of its apps.
however I would still like to keep my contacts and sms's/emails.
is this possible? if so, how do i do it?
thanks, God Like
your email's and contacts should be synced to google's servers if you keep sync on. if not just manually sync it a few times to get it to register on the servers. you can back up your messages.
or if you have fastboot, you can make a nandroid back up. pull userdata.img and use fastboot flash data userdata.img or something like that to put it back on your phone.
totally forgot that they were on google :/
but remember i am a noob, how do i wipe lol?
also my apps are on sd so will it delete them off the partition?
also will it delete everything else on my sd?
lastly, it wont delete my rom or root will it?
thanks
well to wipe your phone, boot the phone into recovery (home and power) and there is an option in recovery to wipe your phone. that will clear cache and data.
to wipe your ext2/3/4 boot into recovery, then choose the option recovery console, once in the recovery console hit enter, there will be a prompt to hit enter, so that is how you will know you are in the recovery console. after you hit enter type
Code:
mount /system
rm -r /system/sd/*
that will delete everything off of your second partition.
if you either wipe your phone or format your sdcard, it is recommended that you reflash your rom. but you will not lose root by just wiping your phone or formatting your sdcard
david1171 said:
Code:
mount /system
rm -r /system/sd/*
Click to expand...
Click to collapse
didnt work. My partition is linux ext2 ...do i need to change the asterix to anything?
thanks
mackz said:
didnt work. My partition is linux ext2 ...do i need to change the asterix to anything?
thanks
Click to expand...
Click to collapse
/system/sd is what the phone recognizes the ext2 partition to be. try
Code:
rm /system/sd/*
or
Code:
rm -r /system/sd
or
Code:
rm /system/sd
if that doesn't work then try
Code:
mount -o rw /dev/block/mmcblk0p2 /system/sd
cd /system/sd
rm -r *
that and see if it will work.
make sure you are doing this from the recovery console.
If you are using cm recovery 1.4 you can go into the recovery console and type ums_enable to acess the sdcard with nothing running on it, I just did it to wipe my sd and start over fresh and when you are done type ums_disable to unmount the sd and type reboot to restart the phone
david1171 said:
/system/sd is what the phone recognizes the ext2 partition to be. try
Code:
rm /system/sd/*
or
Code:
rm -r /system/sd
or
Code:
rm /system/sd
if that doesn't work then try
Code:
mount -o rw /dev/block/mmcblk0p2 /system/sd
cd /system/sd
rm -r *
that and see if it will work.
make sure you are doing this from the recovery console.
Click to expand...
Click to collapse
hey, thanks this apparently worked. It replied a # which tells me it worked and when i tried to repeat the command it said (code) could not be found...but after i rebooted, all my apps are still there...and they work. I reflashed and everything still is there
any ideas?
Related
I had to wipe my phone and have ext2 partition on my card but when I try the copy.sh app command it works but always hangs on the flashing g1 after I reboot the phone. So this leads me to believe its because the apps are still there on the ext2 partition and need to be removed before I could do it again.
Joeriginal said:
I had to wipe my phone and have ext2 partition on my card but when I try the copy.sh app command it works but always hangs on the flashing g1 after I reboot the phone. So this leads me to believe its because the apps are still there on the ext2 partition and need to be removed before I could do it again.
Click to expand...
Click to collapse
well you can try flashing LucidREM mod that has the files for mounting it located here and instead of using the copy.sh app first try this.
$su
# cd /system/sd
# ls -la
check if the app folder is there if it is than
# cd app
#ls
check if the files are there.. and if they exist than try this
# rm -rf /data/app
# ln -S /system/sd/app /data/app
# reboot
hope that helps and it u still want to wipe the ext2 parttition than jut
# rm -rf /system/sd/*
or
# rm -a /system/sd/*
Nitro212 said:
well you can try flashing LucidREM mod that has the files for mounting it located here and instead of using the copy.sh app first try this.
$su
# cd /system/sd
# ls -la
check if the app folder is there if it is than
# cd app
#ls
check if the files are there.. and if they exist than try this
# rm -rf /data/app
# ln -S /system/sd/app /data/app
# reboot
hope that helps and it u still want to wipe the ext2 parttition than jut
# rm -rf /system/sd/*
or
# rm -a /system/sd/*
Click to expand...
Click to collapse
I have problems when I get to ln -S /system/sd/app /data/app
it says link failed no such file exists
Joeriginal said:
I had to wipe my phone and have ext2 partition on my card but when I try the copy.sh app command it works but always hangs on the flashing g1 after I reboot the phone. So this leads me to believe its because the apps are still there on the ext2 partition and need to be removed before I could do it again.
Click to expand...
Click to collapse
I kinda had the same question but was wondering if there was an easier way of wiping the ext2 partition? I'm kinda new at all this and am now starting to get the hang of flashing different roms onto my phone but I realized that doing an Alt+W before flashing new roms does not wipe the ext2 partition. (At least I'm pretty sure it doesn't.)
I'm not too savvy on using terminal yet..I've heard of using adb but I don't even know where to begin with that..so I was wondering if going into Paragon Partition Manager and just formatting the ext2 partition will work? Any info will be greatly appreciated.
Ok i finally have it working. I keep getting a social network force close.
wiping an ext2/ext3 partition
Joeriginal said:
I had to wipe my phone and have ext2 partition on my card but when I try the copy.sh app command it works but always hangs on the flashing g1 after I reboot the phone. So this leads me to believe its because the apps are still there on the ext2 partition and need to be removed before I could do it again.
Click to expand...
Click to collapse
there is an app on the market called lucid REM that runs his script via terminal emulator. after getting it and running it you can go to terminal and type
su
lucid -c (this wipes ext2/3 partition)
hopefully this helps you. if you are on a rom that uses auto a2sd then you will most likely getting force closes all over until you flash your new rom.
I posted a thread with steps to do it http://forum.xda-developers.com/showthread.php?t=533731
Code:
Open console and enter the following commands. Press "Enter" after each line. This wipes the ext partition.
mount -o rw /dev/block/mmcblk0p2 /system/sd
rm -r /system/sd/
[code]
Glad this wasnt deleted right away, maybe it can just be moved?
It helped because I also was wondering the best way of doing this, and now I know.
Thanks .
Odd, double post for no reason. Sorry delete this post?
hi everyone,
***i searched and searched but i couldnt find the answer***
i had apps2sd on a previous rom and i recently switched to the mytouch rom.
after i wiped and applied update, i get stuck at the boot loop. i know that this is caused by the apps2sd and i remember seeing a set of commands that erase it from the sd card but it was deep in a thread and i dont remember which thread it was.
can someone please help me ( and others) out by posting the commands that will get it past the boot loop?
i tried this in the recovery console but it didnt work:
mount data
ln -s /system/sd/app /data/app
Thanks guys!
also tried this but it didnt work:
mount data
rm /data/app
mkdir /data/app
im still stuck on boot loop
Code:
mount -o rw /dev/block/mmcblk0p2 /system/sd
cd /system/sd
rm -r *
slyfury said:
also tried this but it didnt work:
mount data
rm /data/app
mkdir /data/app
im still stuck on boot loop
Click to expand...
Click to collapse
mount -o rw /dev/block/mmcblk0p2 /system/sd
cd /system/sd
rm -r *
does that delete everything on the sd card?
this gives me an invalid argument error:
"mount -o rw /dev/block/mmcblk0p2 /system/sd"
i can get to
/system/sd #
when i type in cd /system/sd
?????what do i do???
slyfury said:
mount -o rw /dev/block/mmcblk0p2 /system/sd
cd /system/sd
rm -r *
does that delete everything on the sd card?
this gives me an invalid argument error:
"mount -o rw /dev/block/mmcblk0p2 /system/sd"
i can get to
/system/sd #
when i type in cd /system/sd
?????what do i do???
Click to expand...
Click to collapse
said what the hell and tried the rm command and i got permision denied on everyfile it tried to erase
easiest way would be to reformat your ext partition.
then wipe and reflash
other roms can leave junk in the ext partition that causes bootloops quite often. this is a very common problem and i always find a reformat, which takes like 30 seconds with gparted live cd, fixes it
is there a way to do it through the phone?
my micro sd adapter broke and im waiting for amazon to send my a new one
found it:
http://forum.xda-developers.com/showthread.php?t=534714
I'm looking to delete all the data and subfolders in my partitions ext3 and linux-swap, start fresh.. i dont feel like going through that long procedure of removing the actual partitions and then re-adding and allocating the blocks.
I don't use adb, i just use the console from cyanogen's recovery page. i just starting learning all of this fun linux stuff when i got my dream a few months back =P
So what's the commands to mount, then clear the info on the partitions including all sub folders?
TIA!
Boot into recovery home+power
Go to console ALT+X
type:
(press enter)
#
# mount -o rw /dev/block/mmcblk0p2 /system/sd
# rm -rf /system/sd/*
# reboot recovery
Much thanks! worked great.
I need to wipe my ext part from the console how can I do this?
in the console:
mount /system
rm -r /system/sd/
are you spacing these commands? It is not working
From recovery console
Code:
mke2fs -j /dev/block/mmcblk0p2
Will completely reformat ext3 partition destroying data and rebuilding table.
pistol4413 said:
in the console:
mount /system
rm -r /system/sd/
Click to expand...
Click to collapse
um, don't you have to mount the partition as rw first?
Code:
mount -o rw /dev/block/mmcblk0p2 /system/sd
This is how I installed without any problems:
: rename to update.zip
: place in the root of sd card
: shut off device
: boot into recovery
: wipe (alt w)
: go to console (alt x) and hit enter
(enter)
# mount -o rw /dev/block/mmcblk0p2 /system/sd
# cd /system/sd
# rm -rf /system/sd/*
# reboot recovery
: now wipe again (alt w)
: run a filesystem check from the menu. If it tells you to run it manually,
drop to a console (alt+x) and run "e2fsck /dev/block/mmcblk0p2".
: flash
Enjoy!!
AdrianK said:
um, don't you have to mount the partition as rw first?
Code:
mount -o rw /dev/block/mmcblk0p2 /system/sd
Click to expand...
Click to collapse
Lol yea i forgot to add it in srry
I, personally, used to use the recovery console or adb. But just download ubuntu and run it from live cd (basically boots linux from cd without installing anything on hard drive). Partition tool inside the OS beats any other method.
dumfuq said:
From recovery console
Code:
mke2fs -j /dev/block/mmcblk0p2
Will completely reformat ext3 partition destroying data and rebuilding table.
Click to expand...
Click to collapse
use that one. Best one available. doing a rm -rf on /system/sd sometimes still leaves some files. reformating ext3 and rebuilding the tables are the best way
yourtravelboy said:
This is how I installed without any problems:
: rename to update.zip
: place in the root of sd card
: shut off device
: boot into recovery
: wipe (alt w)
: go to console (alt x) and hit enter
(enter)
# mount -o rw /dev/block/mmcblk0p2 /system/sd
# cd /system/sd
# rm -rf /system/sd/*
# reboot recovery
: now wipe again (alt w)
: run a filesystem check from the menu. If it tells you to run it manually,
drop to a console (alt+x) and run "e2fsck /dev/block/mmcblk0p2".
: flash
Enjoy!!
Click to expand...
Click to collapse
Would you mind to tell me that if this instruction also apply to reformat ext3. I ask this question because I see the "mmcblk0p2" instead of "mmcblk0p3" in your instuction. I saw some posts which indicate that mmcblk0p2 is for ext2 but the mmcblk0p3 is for ext3. Am I correct?
p_pen said:
Would you mind to tell me that if this instruction also apply to reformat ext3. I ask this question because I see the "mmcblk0p2" instead of "mmcblk0p3" in your instuction. I saw some posts which indicate that mmcblk0p2 is for ext2 but the mmcblk0p3 is for ext3. Am I correct?
Click to expand...
Click to collapse
no, mmcblk0 references your sdcard mmcblk0px means partition substitute in 1 for fat32, 2 for ext2/3/4, and 3 for linux-swap.
p_pen said:
Would you mind to tell me that if this instruction also apply to reformat ext3. I ask this question because I see the "mmcblk0p2" instead of "mmcblk0p3" in your instuction. I saw some posts which indicate that mmcblk0p2 is for ext2 but the mmcblk0p3 is for ext3. Am I correct?
Click to expand...
Click to collapse
This is Not correct.
Everything in /dev/block is a different block device
mmcblk0p3 represents the third partition on you sdcard.
Usually this would be a linux swap partition.
To format ext3 look at my post above...for ext2 just remove the -j flag in the command.
dumfuq said:
This is Not correct.
Everything in /dev/block is a different block device
mmcblk0p3 represents the third partition on you sdcard.
Usually this would be a linux swap partition.
To format ext3 look at my post above...for ext2 just remove the -j flag in the command.
Click to expand...
Click to collapse
thanks for the simple ass formatting command. i actually bookmarked this page so that whenever this question is asked again (we all know it will be) i can easily pop this answer out.
I appreciate for your quick ans. It really solve my concern.
david1171 said:
thanks for the simple ass formatting command. i actually bookmarked this page so that whenever this question is asked again (we all know it will be) i can easily pop this answer out.
Click to expand...
Click to collapse
You should probably just memorize it.
mke2fs -j
Make_extended2_filesystem with journal
I thought this thread died just gave up just revisited this and it works thank you all for your help the command is "mke2fs /dev/block/mmcblk0p3" thank you I am sick of using acronis disk director it works but this takes an extra 10 min.
confused
can someone explain this more.
What is recovery console? How do i get there? Cause if its in my phone I cant get to it cause my boot screen is looping
Can you explain step by step in more detail
spazoid said:
can someone explain this more.
What is recovery console? How do i get there? Cause if its in my phone I cant get to it cause my boot screen is looping
Can you explain step by step in more detail
Click to expand...
Click to collapse
Boot pressing Home + Power
Scroll down to Enter Console
click the trackball
it will say <Press Enter>, so press enter
then type the following
Code:
mke2fs -j /dev/block/mmcblk0p2
and press enter
your ext is partitioned
to reboot your phone, type
Code:
reboot
and press enter
spazoid said:
can someone explain this more.
What is recovery console? How do i get there? Cause if its in my phone I cant get to it cause my boot screen is looping
Can you explain step by step in more detail
Click to expand...
Click to collapse
how exactly have you used your phone without knowing what the recovery console is.......
power down your phone
hold home and power to boot it up
press alt and x on the keyboard
press enter
type mke2fs -j /dev/block/mmcblk0p2
now type reboot recovery
wipe your phone
flash your rom.
reboot your phone with home and back.
Somebody please kill me!
Its clear the op didnt ****ing search when he asked this, otherwise he would have found my post explaining how to wipe your ext partition from your console. God dammit this is pissing me off
I know I've read this somewhere but is there a cleaner & simpler way to wipe an EXT3 partition??
*Yes I have searched but the recommended way didnt work*
I wanted to install the new JAC Sense build, I thought I wiped properly, & ran wipe from console but then once the build was fully booted up, GUESS WHAT my apps & stuff were still in there! Double wether app & other stuff I ma sure was causing issues from my old build & everything...I finally just blew everything out in parted & started again...but for next time
I did follow these instructions:
mount -o rw /dev/block/mmcblk0p2 /system/sd
mount /system/
mount /data/
rm -rf /data/*
rm -rf /system/sd/*
But i did get an error about lost+found after running the rm -rf /data/*
I know I did something wrong what was it?? I dont see it...
do this in the recovery console to completely wipe your ext3 partition
Code:
mke2fs -j /dev/block/mmcblk0p2
Grab the RA recovery from my sig.
RA-dream-recovery is sooo convenient.