Wipe ext4 partition - LG Optimus L9 P760, P765, P768, P769

I want to wipe the ext4 partition (not delete, just wipe so there's nothing in it).
The reason being that i use link2sd on my phone, and for some reason there are some extra files on that partition from other apps that won't delete. So i want to do it manually. How would i go about this?

Related

Need help with root ASAP.

I did everything correctly as far as I can tell, but at step number 6 on sublimewolf's guide I get stuck. My recovery has no "backup" option to select. It has four options:
Reboot now
Sdcard:update.zip (does nothing, because no such file exists)
Wipe/Factory reset
Wipe partition
Any clues what I might have done wrong/what I should do from here?
Wrong recovery ?
Sent from my VM670 using XDA App
cleefesq said:
I did everything correctly as far as I can tell, but at step number 6 on sublimewolf's guide I get stuck. My recovery has no "backup" option to select. It has four options:
Reboot now
Sdcard:update.zip (does nothing, because no such file exists)
Wipe/Factory reset
Wipe partition
Any clues what I might have done wrong/what I should do from here?
Click to expand...
Click to collapse
Backup/Restore:
Nand Backup : runs a nandroid backup of data, cache, boot, system
Nand Backup + .android secure : backs up above plus .android_secure on sdcard (froyo native apps on sd)
Nand + ext backup : data, cache, system, boot, plus apps2sd on ext partition (old style apps2sd)
Nand Restore : browse to and select nandroid backup to restore
Flash Zip From Sdcard: Update.zip must be in root of sdcard
Wipe Menu:
Wipe data/factory reset: wipes data & cache
Wipe cache
Wipe Dalvik cache : Wipes Dalvik cache in all possible locations if moved by apps2sd
Wipe SD:ext : Wipes Apps2sd ext partition
Wipe Battery Stats
Wipe rotate settings
Wipe .android secure : Wipes froyo native .android_secure on sdcard
Partition Sdcard:
Partition SD: Partition's sdcard for apps2sd (this formats card so all non backed-up data is lost)
Repair Sd:ext
SD:ext2 to ext3 : coverts apps2sd ext2 partition to ext3 (requires kernel support for ext3)
SD:ext3 to ext4 : same as above but ext3 to ext4 (requires kernel support for ext4)

[Q] Moving dalvik cache to sd-ext doesn't work?

I've searched and read on other sections. but I can't find a solution to this.
I've also done the specific instructions, and still got problems with moving dalvik to sd-ext. Every time I try it even with the ext3 or trying to mount as ext4 I get the HTC screen stuck on boot and can't pass that.
I can move applications but not dalvik and I need the space, as my data folder was almost completly full after a month of use in the device.
Any suggestions?
What ROM and apps2ext method are you using?
cyanogen 7.1.0 and S2E latest version.
I'm using an ext3 partition. I've wiped phone, formatted sd card with fat32, ext3 and linux swap. and if I move only apps everything works fine. if I move apps + dalvik the phone stuck on the HTC white screen.
Also is there a recovery for Aria that supports ext4?
CaptainMaki said:
cyanogen 7.1.0 and S2E latest version.
I'm using an ext3 partition. I've wiped phone, formatted sd card with fat32, ext3 and linux swap. and if I move only apps everything works fine. if I move apps + dalvik the phone stuck on the HTC white screen.
Click to expand...
Click to collapse
I dunno what's causing that. I'd probably try doing a 100% clean install to see if it fixes it. (In particular, wipe data/factory reset and format system and boot partitions before installing CM7 and Gapps again.)
Also is there a recovery for Aria that supports ext4?
Click to expand...
Click to collapse
I don't know, but there's very little benefit to using ext4 over ext3 for this particular purpose anyway. Also mounting ext3 as ext4 is equivalent in performance to ext4, if you really care about that.
how do you format boot and system partitions? I've re installed rom and s2e again. I will try to move dalvik later today after I'll have time to backup. for now the apps moved and works fine and the option to move dalvik is available.
when I mount ext3 as ext4 the recovery shows no sd-ext available. I think it's also mark the sd-ext as ext4 again, even without any action on it, which makes the sd-ext unusable when the phone boots up. it also not allows to backup the partition.
CaptainMaki said:
how do you format boot and system partitions?
Click to expand...
Click to collapse
In CWM recovery, select "mounts and storage". The options to format the boot and system partitions will be there.
CaptainMaki said:
when I mount ext3 as ext4 the recovery shows no sd-ext available. I think it's also mark the sd-ext as ext4 again, even without any action on it, which makes the sd-ext unusable when the phone boots up. it also not allows to backup the partition.
Click to expand...
Click to collapse
Yeah, honestly, just use ext3. No one would actually notice a difference in performance between ext3 and ext4 for this particular purpose, and it's a lot more convenient to be able to make backups of the ext partition without any issues.
thx for all the help. I really don't know what is happening.
I've wiped boot + system, did factory wipe, wiped cache, installed CM 7.1.0 + Gapps, didn't even insreted sim card, installed only S2E and when i select Apps + Dalvik the phone is stuck on the HTC white screen.
Really frustrated with this.
CaptainMaki said:
thx for all the help. I really don't know what is happening.
I've wiped boot + system, did factory wipe, wiped cache, installed CM 7.1.0 + Gapps, didn't even insreted sim card, installed only S2E and when i select Apps + Dalvik the phone is stuck on the HTC white screen.
Really frustrated with this.
Click to expand...
Click to collapse
Can you confirm that the ext partition is formatted as a primary partition (not logical)? Have you tried a different SD card? Beyond that I'm not sure what is going on.
The first boot after enabling "dalvik cache" should take a while, but it shouldn't be at the HTC white screen, it should be at the CM boot screen.
I've formatted and re formatted the card, I will try another one.
Even if it's the card, how the apps are moving fine and the dalvik doesn't.
I've tried another thing: I've partitioned the card through ROM Manager, and it created a 512MB partition. I then moved the dalvik cache to the SD-ext and it worked. then I've used gparted to resize the partition to 1024MB. it also worked. I suspect that something in the formatting process wasnt right although I've always kept on creating primary partitions.

Is root directory reset when formatting phone?

I was asking myself: What exactly happens to folders in root directory (eg. Efs, config, sbin, .secondrom) when flashing a new Rom? Are they all wiped when /system partition gets formatted? In there are also folders for data and cache. So, why wouldnt a wipe of /system also wipe /data?

will flashing superwipe format my internal and external sd data?

hi friends,
i am flashing a rom and in " how to install" it says flash 'superwipe_by_biftor'. i just want to know whether it will format my internal and external sd data?
The wipe will have its own specific thread, find the thread, read the first page (Not sure if he's modified his wipe, but most wipe /boot /data /system /cache and /devlog & Dalvik).
No it won't wipe ext and int SD. Just wipes ready for rom flash.

Complete wipe, I mean everything, question

So after years of flashing roms, installing apps, saving junk to my phone I think it is time to completely wipe it. I've searched and come across a few threads but I want to look at some of the CWM Mounts and storage options to be sure. Here is one I came across:
http://forum.xda-developers.com/galaxy-s2/general/ref-cwm-clockworkmode-menu-options-t1542857
If I wanted to do a compete wipe including all internal SD data, but not lose Root, I would do the following???
wipe data / factory reset
wipe cache partition
wipe dallvik cache
format /system
format /cache
format /data
format /preload (unsure about this one, can't find info)
format /storage/sdcard0
install rom then from my ext sdcard1
install gapps then from my ext sdcard1
reboot into a clean phone and start installing stuff again.
That should be enough correct? I'm not sure where CWM Recovery lives but I would assume that would be on the /boot partition and that is the one section that I don't want to format, correct? I'm also not sure of where the modem is set/installed and would that need to be reinstalled again?
With this device, recovery lives with the kernel in the boot partition. Everytime you install a kernel, a fresh image is installed to the partition.
I'm not sure what your actual goal is, but the process you've outlined process is very redundant.
factory reset wipes /data & /cache (which includes dalvik-cache)
A factory reset plus manually wiping /system (and /preload if using samsung-based firmware) promises a clean installation of ANYTHING.
jackal2001 said:
[...]
If I wanted to do a compete wipe including all internal SD data, but not lose Root, I would do the following???
wipe data / factory reset
wipe cache partition
wipe dallvik cache
format /system
format /cache
format /data
format /preload (unsure about this one, can't find info)
format /storage/sdcard0
install rom then from my ext sdcard1
install gapps then from my ext sdcard1
reboot into a clean phone and start installing stuff again.
That should be enough correct? I'm not sure where CWM Recovery lives but I would assume that would be on the /boot partition and that is the one section that I don't want to format, correct? I'm also not sure of where the modem is set/installed and would that need to be reinstalled again?
Click to expand...
Click to collapse
I want to have a fresh install. Basically wipe everything including whatever junk is installed on the SD card. Like a new phone pulled out of the box. I'm sure there is tons of junk on the SD card due to apps being installed/uninstalled over the years.
Yes I understand some of the options may be redundant, but it only takes a second.
So as long as I don't "format /boot" you saying that should be OK?
If you prefer to take the extra steps, then I don't see any harm in your procedure.
It may seem obvious, but make sure you have everything you'll need on that ext-sd card, before you format /system.
mr.cook has some scripts that will format preload, if the option isn't present in your recovery.
jackal2001 said:
I want to have a fresh install. Basically wipe everything including whatever junk is installed on the SD card. Like a new phone pulled out of the box. I'm sure there is tons of junk on the SD card due to apps being installed/uninstalled over the years.
Yes I understand some of the options may be redundant, but it only takes a second.
So as long as I don't "format /boot" you saying that should be OK?
Click to expand...
Click to collapse

Categories

Resources