create ext4 for use with a2sd - Nexus One Q&A, Help & Troubleshooting

hi,
i'm usin ra passion 2.2.1 and wan't to use a2sd from ics 4.0.3 evervolv. how can i create a part ext4?

Google:
"a2sd partition sd card".
Enjoy.

Try 4EXT recovery www.4ext.net
I think its the easiest way to create partition.
Or else you can do it in pc via partition managers(i use minitool partition wizard)
You can google it and also can search in youtube for video tutorials.
Sent from my Nexus One using Tapatalk

thanks for your help, i've done it in recovery.
one question is left:
what happen if i format the partioned sd-card under windows and do a full wipe in preparation for installing a new rom. i've read sd-ext even survive a full wipe? what does that mean? stays the partition untouched when i format the sd-card with windows? and what about the apps in the partition? are they still there even after a full wipe and can i use them after flashing a new rom out of the box?

Glad u succeeded in partitioning
Now if you format the fat32 partition in windows using those partition tools doesnt affect ur ext. Ext stays untouched but all the data on fat32 will be wiped(so backup first to pc)
If u want to merge there is an option called merge for that.
There is an free windows software called sdformatter, that formats the entire sdcard(fat32+ext)
Hope i helped a bit :thumbup:
Sent from my Nexus One using Tapatalk

ok. i wan't to format it with the windows internal function via right click. is it the same and the ext4 stays untouched?

Full wipe in recovery wipes SD-EXT too.

heinz gruber said:
ok. i wan't to format it with the windows internal function via right click. is it the same and the ext4 stays untouched?
Click to expand...
Click to collapse
i do beleive that it should be untouched, cos normally windows cannot see the ext partition and hence only fat32 will be formatted
Sent from my Nexus One using Tapatalk

ok. when ext4 stay untouched and i flash a new rom the apps are still in the launcher after flashing?

Jack_R1 said:
Full wipe in recovery wipes SD-EXT too.
Click to expand...
Click to collapse
when i flash a new rom i use the format.zip form the xda user temasek which wipes system, boot, data and cache. so is sd-ext untouched when i use this file?

You insist on not listening and/or not understanding.
When you select "wipe data/factory reset" in custom recovery, EXT partition IS WIPED COMPLETELY. It doesn't stay.
I believe the same happens when using temasek's script, never bothered using it, so I can't say with 100% certainty.
If you don't wipe your phone and install a new ROM - be prepared for crashes of anything to everything, unless you install a ROM which is 100% compatible with what you have already - the next generation of the same ROM, usually.
If you're using A2SD and don't wipe EXT partition - you'll have crashes as soon as you boot, since system apps' data will be there (and wrong).
To keep your apps and their data, use one of the backup apps available in the Market, like Titanium Backup.

as Jack_R1 explained its always better to wipe everything(system,cache,dalvik n sdext) to be on safer side to avoid crashes n FCs.
Sent from my Nexus One using Tapatalk

Temasek's Extreme Wipe does Data/System/Boot partitions but don't remember seeing ext in the list
However, as alluded too, I would format all outside phone with sdformatter or I think gparted, although never used that one
I thought I read a long time ago Windows formatter not recommended and do a full wipe not partial with whatever you use
Back up sdcard first
also, I believe you can use the Alignment Cool zip to get ext 4 from 3 on Amon and not lose anything--still backup
you do know MeDroid uses Ia2sd and different from a2sd on implementation

You don't need to wipe the regular FAT partition on SD card between flashes, because there's nothing there that loads automatically. And "wipe data/factory reset" option in recovery also wipes /sdcard/.android_secure.

hey guys, thanks for your answers i will keep them in mind.
edit:
one more question:
if i uses temaseks script and the sd-ext is untouched and i flash a newer version of my rom, are the apps then still there after flashing and booting the updated system? or is there another step i've to do?

No, the apps aren't there anymore - or to be correct, the apps are there, their data is gone (because the app data doesn't reside on EXT partition, unless you use specific mounting methods).
When you flash an updated version of your ROM, just don't wipe anything at all unless the instructions specifically mention having to wipe before installing that version. That means - don't execute temasek's script at all.

Related

[Q] script for wiping tablet for a real clean install

Hello,
I was wondering if such a thing as described in subject exists.
I am looking for something which wipes everything but the CWM bootloader and the sd card directory.
The option is already there in cwr
Sent from my Sensation using xda premium
Is it cenwesi? I know the wiping section, but for instance there's no option to format or resize the /recovery partition for example.
goenieg said:
Is it cenwesi? I know the wiping section, but for instance there's no option to format or resize the /recovery partition for example.
Click to expand...
Click to collapse
if you format the recovery you would lose CWM. A data wipe should be suffient, if not plug it into a computer and delete everything on the "sdcard"
bdfull3r said:
if you format the recovery you would lose CWM. A data wipe should be suffient, if not plug it into a computer and delete everything on the "sdcard"
Click to expand...
Click to collapse
thanks, I now have 13 Gb available, is the rest taken by the recovery partition? is resizing an option?
(pls forgive me for being ignorant
I think the devs would have to put a wipe script in their ROMs so the user doesn't have to do it manually. At least that's what the devs at my smartphone's forum (Vibrant) do. Albeit, sometimes it is best to do some manual cleaning, and TWICE at it (the system isn't infallible).

[Q] how to clean '/' after multiple flashings

How do I "clean" my phone after flashing different roms. I explored the contents of the root directory ('/') and I could find the files/directories which I suspect are from earlier roms that I had used.
I thought flashing stock rom through ODIN would delete everything related to previous rom but looks like that is not the case. Should I use reparttition option in ODIN with pit file to achieve this ?
What i do when i get to this point is copy everything off internal sd card onto a folder on my pc and format internal sd card. Then do all the normal clear data, cache, dalvik, init'd and ns tools and finally flash new rom...
Sent from my GT-P7500 using Tapatalk 2
You'll want to go into CWM prior to flashing and format /system as well as 'wipe data/factory reset' (this will format the rest). Optionally you can format the sdcard, but with the above you'll have a clean system.
scubadude said:
What i do when i get to this point is copy everything off internal sd card onto a folder on my pc and format internal sd card. Then do all the normal clear data, cache, dalvik, init'd and ns tools and finally flash new rom...
Sent from my GT-P7500 using Tapatalk 2
Click to expand...
Click to collapse
I understand sd card formatting & WIPE (data, cache & dalvik). But what exactly is init'd and ns tools ? how do I do this ?
upichie said:
You'll want to go into CWM prior to flashing and format /system as well as 'wipe data/factory reset' (this will format the rest). Optionally you can format the sdcard, but with the above you'll have a clean system.
Click to expand...
Click to collapse
Thanks..I believe format /system will format /system (i.e. cleaning up system directory in root '/'). Does it mean that I don't have any other leftover in the root directory ( '/') ? Every thing that a rom & kernels install will be wiped after formatting /system ?
If you don't format sd card you still going to have those left over folders and files from various roms and programmes you have installed and removed. This stuff isn't necessary to remove but thought that is what you were asking about.
Sent from my GT-P7500 using Tapatalk 2
scubadude said:
If you don't format sd card you still going to have those left over folders and files from various roms and programmes you have installed and removed. This stuff isn't necessary to remove but thought that is what you were asking about.
Sent from my GT-P7500 using Tapatalk 2
Click to expand...
Click to collapse
Essentially, /sdcard is the only thing you don't need to format. Apps store files here, but they aren't within the system and won't affect performance if they're left over. You can manually delete them if you no longer have the app, or you can backup things to keep and then format it as well.
Otherwise, you'll want to format everything (except for boot).
Init.d is a folder which contains scripts that run at boot. Wiping this prevents problems that may occur from leftover scripts. NSTools is an app that has settings that run at boot, such as overclocking, undervolting, etc. It is also advised to wipe these settings as to avoid conflicts when flashing new kernels, ROMs, etc.
But formatting /system and wiping data/factory reset (which formats the rest of the Androids operating system) will allow you to have a clean install of any ROM. The leftover app files on /sdcard are negligible and can be deleted.

[Q] Partitioning and CM

Hi,
I constantly run into "not enough space" problems and the phone starts to get really slow due to this.
So I tried everything possible with my rooted nexus, removed apps with Titanium and so on.
But to no use, Dalvik Cache alone is over 60MB.
So I read that you can partition your SD-Card and move stuff from the phone over like the cache and app-storage.
Also I want to install CM for the first time cause I like to have additional options with the kind of kernel. Like support for battery calibration.
I'm a bit unsure about all this.
How many partitions do I have to create on my card?
What size should they be? (card is 16 GB)
How do I install CM with all this so it uses the partitions?
Is there a DAU step-by-step tutorial for this you can recommend?
Usually a 1GB ext4 partition would suffice. Some use smaller, some bigger, but 1GB is about average.
You can use Gparted to format it if using Linux. Otherwise I'd recommend installing 4ext recovery on your Nexus and use that to partition your SD Card. You could also use Amon Ra recovery if you have it, but avoid using cwm recovery to partition as it can cause corruption.
Finally what version of CM are you using? If BCM CM9 then that has mounts2sd built in.
If CM7 then you can try a multiple of options, including s2e, links2sd, darktreamer or even mounts2sd.
Everyone has their favourite, but I'd recommend you start with s2e which you can download from Google Play. It has a handy GUI.
Ensure you take a full backup of your card before partitioning it. Especially unsure you have good backups of your photos and music.
I use titanium backup for backing up apps. Use this before backing up your SD Card, so that your backup contains it.
Sent from my Nexus One using xda app-developers app
Thanks for your reply.
It is my productive phone so I need a stable and fast rom.
Thus I plan to use the latest stable cm which happens to be 7.2 if I'm right.
I'm running Ubuntu on my desktop so I will def. use gparted
So do I get that right:
- wipe my card and partition it with gp
- then wipe my phone and flash CM7.2
- then install s2e (or else) and setup to use the partition
DarsVaeda said:
Thanks for your reply.
It is my productive phone so I need a stable and fast rom.
Thus I plan to use the latest stable cm which happens to be 7.2 if I'm right.
I'm running Ubuntu on my desktop so I will def. use gparted
So do I get that right:
- wipe my card and partition it with gp
- then wipe my phone and flash CM7.2
- then install s2e (or else) and setup to use the partition
Click to expand...
Click to collapse
That's right, but imo it would be easier if you install another recovery and do all steps directly from your phone. Also its not necessary but recommended to fully wipe your card, you can just create the ext partition and maintain the other things you have.
what recovery can do all this?
There are lot of them, but I like 4Ext recovery
Okay what I actually did was:
- install ROM Manager
- install clockworkmod
- install Cyanogen via ROM Manager
- clear all caches and storages via the clockworkmod
- partition via clockworkmod (no swap)
- reformat the partition from ext3 to ext4
- install s2e
- choose mount-to-ext4
- reboot
- select what to move (no download cache)
Thanks to all!
DarsVaeda said:
Okay what I actually did was:
- install ROM Manager
- install clockworkmod
- install Cyanogen via ROM Manager
- clear all caches and storages via the clockworkmod
- partition via clockworkmod (no swap)
- reformat the partition from ext3 to ext4
- install s2e
- choose mount-to-ext4
- reboot
- select what to move (no download cache)
Thanks to all!
Click to expand...
Click to collapse
Try do download an app from Google Play or update an app when using S2E and see you have any problem (e.g., reboot or can't update error message). I had problems with S2E when using CM7.
DarsVaeda said:
Okay what I actually did was:
- install ROM Manager
- install clockworkmod
- install Cyanogen via ROM Manager
- clear all caches and storages via the clockworkmod
- partition via clockworkmod (no swap)
- reformat the partition from ext3 to ext4
- install s2e
- choose mount-to-ext4
- reboot
- select what to move (no download cache)
Thanks to all!
Click to expand...
Click to collapse
I really recommend you to stay away from Clockwork. I had a lot of problems with partitioning.
I thought I was a faulty SD Card ,so I threw it away but I was the recovery fault.
I have been using 4EXT Recovery for a while now and I still have encounter my first problem.
taodan said:
Try do download an app from Google Play or update an app when using S2E and see you have any problem (e.g., reboot or can't update error message). I had problems with S2E when using CM7.
Click to expand...
Click to collapse
I had the same problem, cleared Dalvik and other Caches, then it was gone.
Dr.Thrilla said:
I really recommend you to stay away from Clockwork. I had a lot of problems with partitioning.
I thought I was a faulty SD Card ,so I threw it away but I was the recovery fault.
I have been using 4EXT Recovery for a while now and I still have encounter my first problem.
Click to expand...
Click to collapse
Yes I read that too somewhere else, that is why I formatted with gparted again.
Works fine so far, no problems.
i can't restore a file back up (back up by 4EXT) by CWM 5.0.0.2.
It don't work "restoring sd-ext....."
Use 4ext recovery to restore your 4ext backup
Sent from my Nexus One using xda app-developers app
Still works good except it killed my 16GB card. I'm now on a 8GB. Hope it doesn't die too.
Sent from my Nexus One using xda app-developers app

[GUIDE] Android deep clean-up / wipe

Now with the release of many JB leaks for our Galaxy Note, more and more people are starting to flash custom ROMs into their devices. However, many don't do a proper clean-up / wipe of their devices before doing so, complaining about supposed "bugs" that in fact are not real bugs, but just incompatibilities with previous app data and config left from the previous ROM or improperly restored from backups (TB etc.).
So, after facing that myself with the first ROMs I flashed, reading a lot of tips from the senior members, and experimenting different approaches, I came up with a method that I always follow before flashing a new ROM, which gives me less or no issues at all.
Pros: you minimize the chance of having issues when flashing a new ROM.
Cons: you have to manually reinstall your apps (can be somewhat automated from Google Play) and reconfigure everything.
Pre-reqs: I'm assuming you have CWM installed and know how to use it, and are not a complete noob. If you don't, search the forums and read the guides. Read this guide fully and make sure you understand everything before proceeding.
IMPORTANT: ONLY wipe your device if you have a SAFE (BRICK-FREE) KERNEL. Check your kernel and search the forums. Don't proceed if you are not sure! I'm not responsible for any bricks, unexpected issues that can happen to you or personal data loss because you forgot to backup that! If you want to stay safe, don't want to experiment with your cell phone, it's critical you have it working everytime, stay with the official Samsung ROMs updates you get OTA and don't proceed with this how-to.
How-to:
1) Boot into recovery and perform a full backup (a.k.a. nandroid) to your internal or external SD card.
2) Reboot, and create backups of personal data needed from your apps in your internal or external SD card. For instance, I backup data from apps which are not cloud-based; they usually have a "backup" menu for that.
3) Plug your device into your computer, and copy everything you need from your internal and external SD cards (including the backups done in 1) and 2)). Don't forget your pictures and MP3 files.
4) Delete any apps and data from your external SD card. Leave it as clean as possible (it's OK to leave personal data such as MP3s, pictures etc.).
5) Copy the ROM you are about to flash to your EXTERNAL SD Card (don't copy to internal, because we are going to wipe it).
6) Boot into CWM Recovery and do the following wipes:
6.1) Wipe data / factory reset
6.2) Wipe cache partition
6.3) Advanced -> Wipe dalvik cache
6.4) Mounts and Storage -> Format /system
6.5) Mounts and Storage -> Format /preload
6.6) Mounts and Storage -> Format internal SD card (make sure you know if your internal SD card if /emmc or /sdcard; see below!)
7) Install Zip -> Flash ROM from your external SD card.
8) Wipe cache partition again.
9) Advanced -> Wipe dalvik cache again.
10) Reboot
11) Don't restore anything from Titanium Backup. Reinstall and reconfigure everything from Google Play. I never tried but I think that if you just restore user apps, it should work. Just never restore system apps and data. The backups you created in step 2) and copied to your computer in step 3) can be safely restored from within the apps themselves.
Now you may ask why we format the internal SD card. Many apps store their configuration and app data there, so this way we ensure no old data and config are there which may be incompatible with the new ROM. In fact it might not be that important, since it's only related to user apps, but I prefer to clean everything before flashing a new ROM.
How to find if your internal SD card is mounted on /emmc or /sdcard in CWM Recovery:
1) Boot into CWM Recovery.
2) Install Zip -> Choose zip from internal sdcard. In the top you can see where yours is mounted (/emmc or /sdcard).
3) This is the partition you should format in step 6.6. Pay attention to not format the external SD card, because the ROM zip file is there!
If you still have issues after flashing a new ROM, try to reflash it without any wipes (i.e. just do step 7 again).
Hope it can help people with their flashing!
Good job
Is it any better to just install user apps from google play and then restore just the data from TB?
Sent from my GT-N7000 using xda app-developers app
allansy said:
Is it any better to just install user apps from google play and then restore just the data from TB?
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
No..the main purpose of the thread is to remove the incompatible app data and system data
Useful.
Sent from my GT-N7000 using xda premium
dbolivar said:
How-to:
6.1) Wipe data / factory reset
6.2) Wipe cache partition
6.3) Advanced -> Wipe dalvik cache
6.4) Mounts and Storage -> Format /system
6.5) Mounts and Storage -> Format /preload
6.6) Mounts and Storage -> Format internal SD card (make sure you know if your internal SD card if /emmc or /sdcard; see below!)
7) Install Zip -> Flash ROM from your external SD card.
8) Wipe cache partition again.
9) Advanced -> Wipe dalvik cache again.
10) Reboot
Click to expand...
Click to collapse
6.2 ---> unnecessary, because factory reset wipes user data and cache
6.6 ---> how on earth does formatting internal SD card help flashing any Rom?
8) ---> unnecessary, because your cache is already wiped
9) ---> see above
6.2) True, thanks for pointing out.
6.6) Some apps, including ones that usually give strange issues between ROM flashes like SNote, leave data there which may cause incompatibilities with a different version. This incompatibility is just a guess; as I said in the original post, it may not be that necessary to format the internal SD card, but I prefer to make sure there is no old data at all floating around, and this recommendation can also be useful when people are going to sell their devices (many think that just a factory reset is enough).
8) and 9) Is it possible that a new ROM can come with stuff in cache and dalvik cache, say, from the developer testing/cooking environment? If it is, can be useful to clean it again after flashing. Otherwise, I agree, it can be skipped.
Yeah total clean scenario is best. In my opinion. So also SD, but never efs
Sent from my GT-N7000 using Tapatalk 2
I too do things that are not necessary, I have a ritual when doing a deep clean lol
It involves things like the above method, but i do it twice.. No harm in that is there !
azzledazzle said:
I too do things that are not necessary, I have a ritual when doing a deep clean lol
It involves things like the above method, but i do it twice.. No harm in that is there !
Click to expand...
Click to collapse
Wel, better safe then sorry. Totally clean just feels right
Sent from my GT-N7000 using Tapatalk 2
Thank you very much. I will do this like you say.
I have CWM v6.0.1.2 and I don't have format/ preload. What can I do?
You can try to proceed without formatting it, or you can first flash a kernel with a more recent CWM. Always a safe kernel, of course. After flashing it, you can just select "reboot recovery" from your current CWM to boot into the new CWM. I'm not sure if the absence of /preload is due to an old CWM, or it's because you don't have a /preload partition. Anyway, trying a newer CWM won't harm.
i follow this guide , considering that i'm a noob it mean that is written really really clear. Thanks for all your job . i have a clean cooked rooted cell now.
error preload
Hello, I got error when formatting preload
it is said "make_extf4fs failed on/dev/block/mmcblk0p9
and when i'm trying to format/scard it pop up some type format
"deafult
"exfat
"fat
bla bla bla
so i choose default, am i right to choose it?
what should i do?
What device, what recovery, what rom?
dbolivar said:
flashing!
Click to expand...
Click to collapse
Hey bro,
i forgot to do step 9
9) Advanced -> Wipe dalvik cache again.
Phone is working fine, but just curious. will it have any effect ? or will it cause any problem later ?

[Q] The wisdom of formatting the system partition

I'm getting ready to update my old ParanoidAndroid (with CWM v5.5.0.4) with the CarbonRom.
I've backed up all kinds of logs, settings, and data that I think I may want to restore with the new rom.
I've also made a CWM backup (although of course I hope not to use it).
My question is - should I format the system partition (from CWM, Mounts & Storage option) before flashing the new rom?
I've seen people say emphatically that to get a clean install you need to do this.
Yet I've seen other's write just as insistently that you should NOT format the system partition. Do they say this because it is too dangerous? If I format the system partition and then for some reason the new rom won't load, does that mean my CWM is wiped out, making it difficult to recover?
I think I do want the system format because I don't want a bunch of old files hanging around ... but I want to make sure this is not too dangerous.
I've also seen others who recommended also formating the boot partition. Is there any value in that? Sounds even more dangerous ... no?
~Paul
pmennen said:
I'm getting ready to update my old ParanoidAndroid (with CWM v5.5.0.4) with the CarbonRom.
I've backed up all kinds of logs, settings, and data that I think I may want to restore with the new rom.
I've also made a CWM backup (although of course I hope not to use it).
My question is - should I format the system partition (from CWM, Mounts & Storage option) before flashing the new rom?
I've seen people say emphatically that to get a clean install you need to do this.
Yet I've seen other's write just as insistently that you should NOT format the system partition. Do they say this because it is too dangerous? If I format the system partition and then for some reason the new rom won't load, does that mean my CWM is wiped out, making it difficult to recover?
I think I do want the system format because I don't want a bunch of old files hanging around ... but I want to make sure this is not too dangerous.
I've also seen others who recommended also formating the boot partition. Is there any value in that? Sounds even more dangerous ... no?
~Paul
Click to expand...
Click to collapse
You can format system,data, internal storage and cache without any worries if you are on PA rom read install instructions in carbon rom thread after or before.
Sent from my GT-N7000 using Tapatalk

Categories

Resources