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
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?
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?
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.
Ok i currently have a 2gb sdcard for my g1 with 1.5gb fat32 -500mb ext3 running CM 4.2.3.1 and i want to buy a new micro sd 8gb or 16gb not sure yet...
Is there any way i can ghost my sd so i dont have to install all my apps again and reflash the rom again/format factory settings?
Anybody know how this can be done...any help would be nice
you can just copy over the files and apps
you will have to partition your new card manually. after doing so:
boot into recovery
using adb
adb shell mount -o rw /dev/block/mmcblk0p2 /system/sd
adb pull /system/sd/app app
adb pull /system/sd/app-private app-private
Click to expand...
Click to collapse
this will pull the apps and put them in two folders located in the same directory as the adb executable
to reinstall
adb shell mount -o rw /dev/block/mmcblk0p2 /system/sd
adb push app /system/sd/app
adb push app-private /system/sd/app-private
Click to expand...
Click to collapse
i prefer the this method because it pushes them back to the sd card and you will know if it actually got there or not
next time you boot, your phone will take longer to start because it optimizes the apps
This just restores the apps... if you want a full ext back up, then
boot into recovery
using adb
adb shell mount -o rw /dev/block/mmcblk0p2 /system/sd
adb pull /system/sd/* sd
and to restore
adb shell mount -o rw /dev/block/mmcblk0p2 /system/sd
adb push /sd/* /system/sd/
Click to expand...
Click to collapse
Hi!
I have rooted my phone (LG Optimus 2X) and mistakenly deleted some files.
I have these files, and want to push them back using adb, put my problem is, that when i try to mount the system in read / write mode using "adb remount" i get this error: "remount faileded: Operation not permitted".
I can't figure out how to fix it, i can pull files etc.
I have also tried to use the adb shell, and copy the files from the internal sdcard, but i'm getting the same error.
Only read-mode.. :/
Anybody who can help, fixing this problem?
If you want to mount /system just write:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Then you're good to go
How to unmount into read-mode only?
Thank! - You saved my day
mrhtml said:
How to unmount into read-mode only?
Thank! - You saved my day
Click to expand...
Click to collapse
A little easier to type...
Mount r/w
Code:
busybox mount -o,remount -rw /system
Mount r/only
Code:
busybox mount -o,remount -r /system
Edit: You shouldn't post stuff like this in dev