[Q] D2ext versus D2W - Desire Q&A, Help & Troubleshooting

So whats the difference then?
I know that data to ext means that their has to be a particular partition structure and data 2 wherever does what it sounds ie it uses "wherever" it finds, but why would you choose one over the other? Is one faster? more secure? Why wouldn't I just use the D2W rom simply on the basis that it is less complicated?

Yes I was also searching the difference since some time now. Lots of ROM offers 3 types.
A2SD - Which I understand and using it
what is D2W an D2EXT? what are the benefits?

Ok, from release notes on some roms I understand that D2W is actually faster. But there is the chance of losing some data using this method, D2ext is supposedly more secure.
Is this even nearly right?
And what is the second ext partition actually for?

It's nearly the same. With d2w, the partionning and formatting is done automaticly (the 2nd partition must exists). with d2e, you have to format the 2nd partition (using gparted for examples)

Related

Ext3 vs ext4

Hello to all.
I have a question:what is the differences between the two file system in object of this thread?
I read that some Roms support ext4 and now I have ext3.
I need to change this?is better for performance?
Thanks
Sent from my HTC Desire using Tapatalk
http://www.google.com/#hl=en&source=hp&q=ext3+vs+ext4&aq=0&aqi=g10&aql=&oq=ext3+vs+&gs_rfai=&fp=f4657a9573528472
I would like to know this also
Ext4 is the newer Linux file system. Much like Windows 95 moved to Fat32, Vista moved to the NT file system. Linux is now moving to version 4 of their file system. The new file system is more efficient, has journaling and is more secure. It really will not have any noticeable affect on operation.
It must be noted though that native Linux file systems are a lot faster than Fat Windows file systems, however they are not accessible when you put your SD card into a Windows computer. This is why only part of the card is partitioned to Ext3/4 along with the benefit of not having to unmount a file system with your apps on it.
Sent from my HTC Desire using XDA App
I ve read a post with a very good explanation a week ago .
I will search !
Edit : hum sorry its about a2sd+ , but a little about ext3 and ext4
http://forum.xda-developers.com/showpost.php?p=7458565&postcount=8
So it's not really important to make the upgrade to ext4 for me?it's only a problem about security and not affect the performance?
Sent from my HTC Desire using Tapatalk
i think it doesnt matter on a sd card which ext you use
sdcards are too slow
Check out this article for extensive info.
It is increased journalisation, and better handling of bigger volumes/files.
All the above is absolutely right, but totally wrong. The technical aspects are not important here. For the HTC Desire user the main difference between those filesystems is simple: stock kernel and recovery does not support ext4. That's it.
If you never plan to use stock kernel and/or recovery or skiled enough to enable ext4 support for them, then go ahead and read all those technical articles and do (or do not) change the FS type. If the words "stock kernel" and "stock recovery" mean nothing to you at the moment, you better stick to ext3.
P.S. in theory, ext4 gives you better write performance (and slightly longer SD card life) only if you frequently write the data to the ext partition. But this is not the case for A2SD partition, where the apps are installed occasionally. Unless you plan to give the Desire or the SD card to your grandchildren after many-many years.

Looking for specific ROM

I'm looking for specific ROM.
1. 100% NAND Fit (also installing apps to Nand as default)
2. Gingerbread + Sense (could have some Sense 3 stuff, but 2.1 is fine too)
I dont care about space left on internal, even 50mb would be fine after initial boot. (i dont use much apps so even A2SD is not important)
Most ROM's i tried require EXT partition and i would like not use it. (****ty class 2 sd)
I can use any hboot since i'm s-off.
Is there such a diamond?
Download any rom that fits number 2 and only uses a2sd or a2sd+. now open the zip and go to /system/etc/initd and remove the a2sd-script.
I don't think there is any rom which doesn't use a2sd in any way, as the internal memory is too low and is almost unusable without.
mortenmhp said:
Download any rom that fits number 2 and only uses a2sd or a2sd+. now open the zip and go to /system/etc/initd and remove the a2sd-script.
I don't think there is any rom which doesn't use a2sd in any way, as the internal memory is too low and is almost unusable without.
Click to expand...
Click to collapse
What about /sdext/ folder, where it will be installed if there is no ext partition? is there any easy way moving it to /data/ ?
Yes if it isn't too big to fit your data-partition, you can do it by editing the line in the script that tells the recovery to write the folder to sd-ext to make it write it to /data instead.
But since it's originally written to sd-ext, that rom might be too large to fit internally initially. You will also have to try out different hboot partition layouts, as some might fit better than others(compare the needed sizes to the sizes on alpharev's website).
I forget which version of A2SD it is, but one of them doesn't actually run the app from the SD card, which means you'll be fine with a class 2. Can't find the post explaining it though.
The difference is that a2sd only puts the apk-file on the sd-ext, but as this apparently isn't used at run-time, it won't slow you down, where as a2sd+ also moves dalvik-cache, which is used at runtime.
But personally i also like keeping things internally. If you didn't get the other way working, you can also use leedroids a2sd version, which flashes to /data by default, and then you can just remove the a2sd-script.
Additionally if you like it plain, consider an aosp-rom like oxygen(i have come to love the simplicity personally)
I have used Reflex S ... May be give it a shot... !!
mortenmhp said:
Yes if it isn't too big to fit your data-partition, you can do it by editing the line in the script that tells the recovery to write the folder to sd-ext to make it write it to /data instead.
Click to expand...
Click to collapse
The script you mentioned is \META-INF\com\google\android\updater-script?
Also are you sure editing it will be enough? I mean if there is no other entries to edit somewhere.
He was probably referring to 40a2sd script. Frankly, you can achieve that from the first post with just about any rom using this.
http://forum.xda-developers.com/showthread.php?t=992176

Which script is better for Class 2 SD

Hi!
I would know it's better A2SD, A2SD+ or DATA++ in relation of a Class 2 SD (4 GB included in Desire).
Thanks in advance.
Since the Data++ version is claimed to fit in a 90MB /sytem partition, I assume that in this version a large part of the ROM has been moved to the sd-ext. This allows you to use a smaller /system and hence have a larger /data partition (hence the name). I'm not sure (because I've only read the first couple of posts, nothing more) whether the Data++ also includes a2sd, or just assumes you will keep your apps in the enlarged data partition. It's probably in the LeeDroid thread somewhere.
If you are not S-Off then it's easy - you want the a2sd version, no argument.
If you are, and are using a custom mtd or an alpharev table with a small /system, large /data, you could try Data++. Which is better will depend on which works best for you (in terms of speed, number of apps you need to install). I've never used either, so cannot offer any experience there.
Click to expand...
Click to collapse
Source: http://androidforums.com/desire-all-things-root/372688-whats-difference-between-data-a2sd.html
So, the data++ script uses the ext3 partition more than the a2sd/a2sd+ layout (only difference between a2sd/a2sd+ is that with a2sd+ the dalvik cache will also be moved to sd-ext). If you sd card is too slow, there could occur perfomance problems. But I used an class 2 sd card with a2sd+ myself and never had perfomance problems. So I would say it's your choice.
The speed of sd card actually becomes really important if you want to use data2sd (aka data2ext).

[Q] Pros and Cons of sd-ext?

Hi!
Just would like to know the pros and cons of formatting into ext4 on my SD.
As far as I can find :
Pros : Supports files larger than 4GB as Fat32 cannot
That's about it I think...
Cons : Windows cannot natively detect such a partition
Why I ask this is I just saw a this post
blahbl4hblah said:
Having sd-ext partition on your sdcard will always be benefical, the phone will run so much better believe me
Click to expand...
Click to collapse
I'm ready to go ext4 if there's any performance gain, who wouldn't? But what gain is there, and what would I lose in return?
ArmedandDangerous said:
Hi!
Just would like to know the pros and cons of formatting into ext4 on my SD.
As far as I can find :
Pros : Supports files larger than 4GB as Fat32 cannot
That's about it I think...
Cons : Windows cannot natively detect such a partition
Why I ask this is I just saw a this post
I'm ready to go ext4 if there's any performance gain, who wouldn't? But what gain is there, and what would I lose in return?
Click to expand...
Click to collapse
You're mixing things up here a bit I think. Sd-ext referrs to having a partition on your sdcard to allow support for Apps2SD (basically being able to move apps to your SD card and run them from there in order to free up space); you'd basically repartition the card so that there's an ext3/4 partition for apps and a FAT32 partition for data.
As for the ext4 filesystem, it does allow for larger file sizes and is also a bit faster but you're correct in the fact that you won't be able to natively mount it on a Windows system.
Sent from my T-Mobile G2 using XDA App
OriginalGabriel said:
You're mixing things up here a bit I think. Sd-ext referrs to having a partition on your sdcard to allow support for Apps2SD (basically being able to move apps to your SD card and run them from there in order to free up space); you'd basically repartition the card so that there's an ext3/4 partition for apps and a FAT32 partition for data.
As for the ext4 filesystem, it does allow for larger file sizes and is also a bit faster but you're correct in the fact that you won't be able to natively mount it on a Windows system.
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
But don't we already have Apps2SD in GB, + all the apps that do it for you. How is this different, apart from some apps that can't natively be moved? And why is it faster? Internal memory should always load faster, should it not?
ArmedandDangerous said:
But don't we already have Apps2SD in GB, + all the apps that do it for you. How is this different, apart from some apps that can't natively be moved? And why is it faster? Internal memory should always load faster, should it not?
Click to expand...
Click to collapse
GB has the ability to do Apps2SD but it requires the partitioning as, I believe, a symlink is set up so that partition on the sdcard acts as a part of the devices internal storage.
As for speed, just moving apps to your sdcard won't speed up your phone; what that poster you quoted was talking about (most likely, I'd have to see the original thread) was converting your devices partitions (/system, /data, /cache, etc.) from ext3 to ext4. ext4 is a bit faster however some ROMs do not fully support it.
Sent from my T-Mobile G2 using XDA App
Ok, let's clear this up. GB has Apps2FAT32 (a2sd) natively. A2EXT is completely different but none of that is the point of the OP's question.
When it comes to our phones - there is almost no notable performance gain when using EXT4 over any other EXT format. Our phones don't utilize FAT32 internally - just on the sdcard. EXT4 is designed for use with massive file systems. A couple Gigs really doesn't access it's full potential.
While the question is interesting, I'm not really sure what you're planning on doing. Don't format your sdcard entirely in EXT format, and don't attempt to format your phones partitions as FAT32. The result would be... just don't do it.
Just read this on the portal
http://www.xda-developers.com/andro...hd2-data-successfully-moved-to-ext-partition/
This has two main advantages: larger sized data partition and more speed as EXT is inherently faster for I/O purposes.
Click to expand...
Click to collapse
How do I go about formatting a section of my SD into ext4, with existing SD data intact.
And how do I move apps that area already in my phone's internal memory to the ext4 partition? I know there's an option in ROM Manager and CWM, but just don't want to mess anything up
ArmedandDangerous said:
Just read this on the portal
http://www.xda-developers.com/andro...hd2-data-successfully-moved-to-ext-partition/
How do I go about formatting a section of my SD into ext4, with existing SD data intact.
And how do I move apps that area already in my phone's internal memory to the ext4 partition? I know there's an option in ROM Manager and CWM, but just don't want to mess anything up
Click to expand...
Click to collapse
As far as I know, only two ROMs actually support the real A2SD: PyroMod and MexDroid. It's recommended you format the EXT partition to EXT4 before you actually flash either of those ROMs, and you have to rename MexDroid in order to get A2SD working.
blackknightavalon said:
As far as I know, only two ROMs actually support the real A2SD: PyroMod and MexDroid. It's recommended you format the EXT partition to EXT4 before you actually flash either of those ROMs, and you have to rename MexDroid in order to get A2SD working.
Click to expand...
Click to collapse
Thankfully I am already using meXdroid~ Guess I'll just wait for the new version in the next few days to do the formatting. Can I backup all my apps with Titanium Backup, flash ROM (wipe data/cache and dalvik cache), restore with Titanium.
Or would I have to reinstall every app again so that it goes into the ext4 partition?
blackknightavalon said:
As far as I know, only two ROMs actually support the real A2SD: PyroMod and MexDroid. It's recommended you format the EXT partition to EXT4 before you actually flash either of those ROMs, and you have to rename MexDroid in order to get A2SD working.
Click to expand...
Click to collapse
There's a script to accomplish this on pretty much any ROM. It *should* work on current ROMs too. It's called 'darktremor a2sd'. Still find it amazing people forget about that one when this question comes up because it's one oldest methods of obtaining a2sd.
I'm still not understanding the OP's question. Are you wanting to do this for an IO performance gain or for space? I can understand doing it for space if you have a ton of apps but if you're doing it for performance it's a waste of your time. You're internal partitions should already be in EXT4 format (use 4EXT Recovery if they're not).
KCRic said:
There's a script to accomplish this on pretty much any ROM. It *should* work on current ROMs too. It's called 'darktremor a2sd'. Still find it amazing people forget about that one when this question comes up because it's one oldest methods of obtaining a2sd.
I'm still not understanding the OP's question. Are you wanting to do this for an IO performance gain or for space? I can understand doing it for space if you have a ton of apps but if you're doing it for performance it's a waste of your time. You're internal partitions should already be in EXT4 format (use 4EXT Recovery if they're not).
Click to expand...
Click to collapse
I'm doing it for the performance. Have been using 4EXT for a few days and loving it. Already converted internal memory to ext4 from ext3. If further partitioning my SD card for performance is really not noticeable, then I guess I've got nothing to worry about

What is the use of 2nd sd-ext2 partition?

Hi,
I was formatting my memory card in DHD using 4EXT recovery and I keep wondering what is the use of second sd-ext partition? To be precise, I mean sd-ext2, not sd-ext (I know its used for apps2sd). Does it work like backup partition if the first one runs out of memory? But that wouldn't make sense, since you can just create one big partition. My second thought was that maybe you install linux on it if you want to have it in your smartphone (like ubuntu or debian).
And the second question is about swap. Does anyone uses it at all? I used to have it on my old HTC G1, but I don't think it makes sense to use it now. Are there any roms that take advantage of swap and does it make them work faster (particularly the new big sense 3.x roms)?
Thanks in advance for any responses,
BR, Jack.
edit: I wrote the same topic on my native polish board and I got responses, but that's not what I meant so I decided to write more precise what I mean.
I know there are such apps like ie. link2sd, which use second partition on the memory card as partition for storing applications, data etc. They use the bolded partition (numbers are numbers of partitions on memory card):
1. fat32
2. sd-ext
What I am talking about is second ext partition, like this:
1. fat32
2. sd-ext
3. sd-ext2
It surely doesnt mean format of partition (like ext2, ext3, ext4), it means there is a second ext partition. Both of them can be formatted differently, both can have different ext (like ext2, ext3, ext4). What is the use of sd-ext2 partition? Does it serve as a backup partition for first sd-ext? Or you can install linux on it?
from what i've seen reading around on this forum, swap isn't necessary on a desire HD, the phone has enough ram
not sure about a second sd-ext though sorry
For what i gather... only 4Ext has it... why not ask them?

Categories

Resources