[Q] a few questions about EXT4 - HTC Sensation

hi, so i was looking at Leedroid ROM and noticed in the OP it says that you can flash an optional file that will delete everything and format to ext4... this raised a few questions for me since I came from Nexus S.... is the stock sensation formatted in ext3 or 4? Also, don't most of the custom roms upgrade to ext4 or no? and do i have to use this file in the OP of Leedroid's ROM to format the whole system to ext4 before flashing an ext4 rom? I already asked many times in the dev section and nobody would help me out so if someone can help clear this up for me I would appreciate it... thanks!

mattdub1 said:
hi, so i was looking at Leedroid ROM and noticed in the OP it says that you can flash an optional file that will delete everything and format to ext4... this raised a few questions for me since I came from Nexus S.... is the stock sensation formatted in ext3 or 4? Also, don't most of the custom roms upgrade to ext4 or no? and do i have to use this file in the OP of Leedroid's ROM to format the whole system to ext4 before flashing an ext4 rom? I already asked many times in the dev section and nobody would help me out so if someone can help clear this up for me I would appreciate it... thanks!
Click to expand...
Click to collapse
I wish I could chime in more for you but I do know that when flashing LeeDROID it converts to ext4 so I would guess that it isn't that way to start.

From Terminal Emulator, you can type in "mount" without the quotes and it'll tell you which file system is used in each "mount" (analogous to partition, if you're a windows user).
I just did it on my stock sensation 4G (TMOUS) and it's mostly, if not all, EXT4 already. Unless I'm reading it wrong.

thanks for the response guys!

Related

[Q] EXT 4

How do i find out if i have ext 3 or 4, and where do i find ext 4 to flash if i need?
thanks
An easy way to tell would be to install 4EXT Recovery to replace CWM Recovery. It will show you exactly what your partitions are in recovery.
http://forum.xda-developers.com/showthread.php?t=1161710
If you want to change your partitions to Ext4 then you can go to the first page of the Android Revolution HD thread in development and download and run Mike1986's superwipe script, which is on the first page. Flash superwipe in recovery. It will format your partitions as Ext4. Make a back up of your phone data because it will delete all of your data. It will not delete anything on your external sd card. Also make sure you have a rom on your sd card to flash after using a wipe script.
Wolf_2 said:
An easy way to tell would be to install 4EXT Recovery to replace CWM Recovery. It will show you exactly what your partitions are in recovery.
http://forum.xda-developers.com/showthread.php?t=1161710
If you want to change your partitions to Ext4 then you can go to the first page of the Android Revolution HD thread in development and download and run Mike1986's superwipe script, which is on the first page. Flash superwipe in recovery. It will format your partitions as Ext4. Make a back up of your phone data because it will delete all of your data. It will not delete anything on your external sd card. Also make sure you have a rom on your sd card to flash after using a wipe script.
Click to expand...
Click to collapse
What wolf said lol. :-D.
Enjoy the ext4 recovery. Its a great piece of work. If you want to theme it check out the links in the op of that thread wolf directed you to. Many themers including myself are listed on there. Link in my sig as well.
I got your 10 char right here
Besides really liking the way 4EXT Recovery works, I really enjoy changing and using themes by Cwhitney24 and other themers. It is great to be able to theme recovery.
Wolf_2 said:
Besides really liking the way 4EXT Recovery works, I really enjoy changing and using themes by Cwhitney24 and other themers. It is great to be able to theme recovery.
Click to expand...
Click to collapse
Well thanks! :-D
I got your 10 char right here
After reading the last 4 posts I feel the need to put my high boots on and install the newer recovery.
Agoattamer said:
After reading the last 4 posts I feel the need to put my high boots on and install the newer recovery.
Click to expand...
Click to collapse
....yes do it!!!! Lol
I got your 10 char right here
It's all good now!
brettd750 said:
It's all good now!
Click to expand...
Click to collapse
Good! :-D
I got your 10 char right here
brettd750 said:
I need 10 post to be able to post in the dev threads. Have some small potential faults with a custom rom.
Click to expand...
Click to collapse
try the Q&A stickies
Pirateghost said:
try the Q&A stickies
Click to expand...
Click to collapse
Someone finally found it and asked the question. Fixed and there is no flaw
The on screen personalize but was linked to fire up internet explorer. there was a tweak in setting to turn it off
**shudders at 'internet explorer'**
Pirateghost said:
**shudders at 'internet explorer'**
Click to expand...
Click to collapse
+10 chars! Love it!
Are there any advantages of being ext4 over ext3? Im on the absolution rom so im not sure what ext it is. Sorry for thread jacking btw.
EXT is the Linux native filesystem. EXT was quickly replaced by EXT2 which was a good rock-solid FS for Linux and survived for a decade. It was eventually supplemented with a journal and became EXT3 even though the underlying filesystem was still EXT2. EXT4 is a journaling FS, but was redesigned from the ground up. It is designed to take advantage of very high-speed drives like 15K SCSI raid-arrays in high-end server farms, or for dealing with huge file sizes efficiently, neither of which is an advantage at all on an embedded device like a smart phone.
Most Androids used yaffs2 since it was fast and efficient on an embedded device with a serial MMC type storage system, but with the advent of multi-core smartphones, yaffs2 didn't handle multi-threaded access to the filesystem.
So, in short, EXT4 is really not an appropriate filesystem for an embedded device. Any journalling filesystem is going to be hard on the MMC as it causes much more read/write cycles and will eventually result in faster failure of the MMC. EXT3 is the choice of HTC on its newer eMMC devices and probably is the best fit for multi-core systems, but Google has hired the inventor of EXT4 so that's probably the direction Android will take regardless of EXT4's inappropriateness.
For more information:
http://en.wikipedia.org/wiki/Ext4
I read that post without looking at the author and was thinking "this guy seems almost as smart as Gene".
Sent from my Inspire 4G using the power of the dark side

Ext4

Is this just a different type of recovery? If so, is it better to have the clockworkmod? Or is it personal preference? I seen a post somewhere that a guy was using a ext4 rom. Is there roms made for each type of recovery? And can you have ext4 and clockworkmod installed at the same time?
Sent from my Inspire 4G using XDA App
schunter1226 said:
Is this just a different type of recovery? If so, is it better to have the clockworkmod? Or is it personal preference? I seen a post somewhere that a guy was using a ext4 rom. Is there roms made for each type of recovery? And can you have ext4 and clockworkmod installed at the same time?
Sent from my Inspire 4G using XDA App
Click to expand...
Click to collapse
Yes its a different type of recovery that has ext4 support so you can install roms that support ext4 on ext4 partitions. It's personal preference but I use 4ext because it has more options than cwm. You can not have both installed. Also backups from one may not work on the other. Any rom can be flashed with either but only 4ext will allow you to change your partitions to ext4.
I also believe that all ROMs now have EXT4 support. Also be aware that if you're going to use Gene's tool to unroot, you need to be ext3 and not ext4 for it to work. Other then that I agree with gizmoe, a lot more features built in which makes it much more convenient. EXT4 recovery has the check md5 sum built in which is a neat feature I find myself using a lot!
Gizmoe said:
Yes its a different type of recovery that has ext4 support so you can install roms that support ext4 on ext4 partitions. It's personal preference but I use 4ext because it has more options than cwm. You can not have both installed. Also backups from one may not work on the other. Any rom can be flashed with either but only 4ext will allow you to change your partitions to ext4.
Sent from my Inspire 4G using xda premium
Click to expand...
Click to collapse
EXT4 is the default for CM7 on the Ace so I don't think it is limited to 4EXT recovery. The CWM that gets compiled with CM7 has support for EXT4, but I'm not sure if there's an option to toggle this in recovery. I believe it is ony an option in the edify scripting.
MMM-BACONSTRIPS said:
I also believe that all ROMs now have EXT4 support. Also be aware that if you're going to use Gene's tool to unroot, you need to be ext3 and not ext4 for it to work. Other then that I agree with gizmoe, a lot more features built in which makes it much more convenient. EXT4 recovery has the check md5 sum built in which is a neat feature I find myself using a lot!
Click to expand...
Click to collapse
EXT4 is being used by a good many ROM cookers, but EXT3 is the default for anything that is factory HTC. CM7 went to EXT4 (for some unknown reason) and many ROM cookers thought that this was somehow the way to go, but EXT4 is really only useful in high-end multi-core server farms and/or super high-speed (15K +) SCSI disks; neither of which the Inspire has. I've heard that EXT4 is slightly faster at full disk transfers (like an update.zip package) and that's why I believe CM7 moved to this--to speed installation--but, in my opinion, you'll never really see any other benefit on an embedded device with a serial pipe to a rather slow eMMC ROM disk.

Moving from EXT4 ROM to an EXT3 one

I recently installed WCX Illuminati [3.5 Sense Based on 1.22.461.2 (Quicksall Rcmix kernel v12 )overclocked to 1536 by default.].
While the ROM is not advertised to be (as far as I can tell) an EXT4 ROM, I noticed during the install the system was formatted as EXT4.
I'll like to experiment with some other ROMs that are EXT3. Do I have to go through any special steps to go back to an EXT3 ROM after running an EXT4 ROM, I can I just flash the new ROM though CM Recovery?
Thanks.
Four-Fifty-X said:
I recently installed WCX Illuminati [3.5 Sense Based on 1.22.461.2 (Quicksall Rcmix kernel v12 )overclocked to 1536 by default.].
While the ROM is not advertised to be (as far as I can tell) an EXT4 ROM, I noticed during the install the system was formatted as EXT4.
I'll like to experiment with some other ROMs that are EXT3. Do I have to go through any special steps to go back to an EXT3 ROM after running an EXT4 ROM, I can I just flash the new ROM though CM Recovery?
Thanks.
Click to expand...
Click to collapse
There are no steps for that, just flash the new Rom. But make sure to flash CWM recovery first as the illuminati Rom uses stock recovery. Go to Rom manager and flash recovery. Once you have done that flash the Rom you want.
Sent from my Inspire 4G using XDA App
glevitan said:
There are no steps for that, just flash the new Rom. But make sure to flash CWM recovery first as the illuminati Rom uses stock recovery. Go to Rom manager and flash recovery. Once you have done that flash the Rom you want.
Sent from my Inspire 4G using XDA App
Click to expand...
Click to collapse
Good. Thanks.
Sent from my HTC Inspire 4G using XDA App
I was wondering this myself also. But I want to ask a little deeper question.
Say I have 2 ROMS. One that is ext3 and the other that is ext4. Each one formats the system appropriately when installed fresh. But say I have a NAND backup of the ext3 ROM on my card and I have the ext4 ROM installed on the phone at the present. Can I restore the ext3 ROM without doing anything other than the normal wiping using clockwork? Or would I have to reinstall the ext3 ROM fresh to get the proper format and then restore the backup?
And would it be the same going the other direction too?
Agoattamer said:
I was wondering this myself also. But I want to ask a little deeper question.
Say I have 2 ROMS. One that is ext3 and the other that is ext4. Each one formats the system appropriately when installed fresh. But say I have a NAND backup of the ext3 ROM on my card and I have the ext4 ROM installed on the phone at the present. Can I restore the ext3 ROM without doing anything other than the normal wiping using clockwork? Or would I have to reinstall the ext3 ROM fresh to get the proper format and then restore the backup?
And would it be the same going the other direction too?
Click to expand...
Click to collapse
I guess but not sure that when you do a wipe to install a new Rom your partitions are formatted and ifvyo don't use an ext4 Rom then you will have just ext3.
Sent from my Inspire 4G using XDA App
Agoattamer said:
I was wondering this myself also. But I want to ask a little deeper question.
Say I have 2 ROMS. One that is ext3 and the other that is ext4. Each one formats the system appropriately when installed fresh. But say I have a NAND backup of the ext3 ROM on my card and I have the ext4 ROM installed on the phone at the present. Can I restore the ext3 ROM without doing anything other than the normal wiping using clockwork? Or would I have to reinstall the ext3 ROM fresh to get the proper format and then restore the backup?
And would it be the same going the other direction too?
Click to expand...
Click to collapse
I'm not sure how ClockworkMod handles this but I've been using 4EXT Recovery for a few months and it will automatically determine which format the ROM you're flashing uses and convert if necessary. Works for both fresh ROM flashes or backups.
I've been running ARHD and wanted to pull something off of the stock ROM backup I had. When I restored the stock nandroid, 4EXT formatted the existing ext4 partitions to ext3 and restored the backup. Then when I restored ARHD it automatically switched 'em back to ext4.
Thanks for the responses guys. Still looking for someone to answer positively on this last question. I don't want to be the someone asking about how to get my phone to boot when it is stuck on the white screen. lol.
Agoattamer said:
Thanks for the responses guys. Still looking for someone to answer positively on this last question. I don't want to be the someone asking about how to get my phone to boot when it is stuck on the white screen. lol.
Click to expand...
Click to collapse
i'm with the other guy, i use 4EXT. but when making a backup it says "writing ext4 data" (or something along those lines) for each partition that uses ext4. it does the same for ext3.
i would be inclined to believe that CWM does the same thing and changes the file system accordingly. one way to check if it records the file system type would be to look at the tar files. go to sdcard/clockworkmod/backup/whatever-you-named-your-backup that folder should contain, at a minimum, the following files: system.xxxx.tar, data.xxxx.tar, boot.img, and an md5 file. the xxxx should be the file system that particular backup uses.
EDIT: that is assuming that CWM uses tar backups and not yaffs2. not sure how those backups are structured. either way the filesystem should still get recorded some how.
i think you'd be fine just restoring. there would have been massive amounts of new threads popping up saying "OMGIDIDARESTOREANDMYPHONEISFUX0RED!!!!" if anyone had any problems once ext4 showed its face. know what i mean?
as an alternative. why not just flash 4EXT Recovery? since you KNOW it does what you're asking? kinda takes the guess work out... lol

ICE DS v 4.2 ICS 4.0.4 Sense 3.6 with ext3

hello everybody!
I tried to find an answer on this on the ROMs thread but I couldnt so here it is;
Can I use ICE DS v 4.2 with ext3 only? If so, can I disable afterwards ext4 support?
Thanks
why wouldnt you use ext4? it's an advantage thou. but if you dont want to use ICE DS in future, just revert to ext3 by using 4EXT Recovery.
For the amount of internal memory that our devices have there is no matter whether you use ext3 or ext4. Also the install script of the ROM itself will format the partitions as ext4 upon flashing so there is not much choise actually If you like to go back to ext3 after flashing 4EXT Recovery can do this without losing any data
Sent from my HTC Desire S
Thanks for the quick replies..
When I used a stock ROM with a rooted Desire, I remember discussions about the disadvantages of ext4.
The idea as I understood, was that ext4 was more likely to create filesystem corruption in case of an abnormal shutdown of the phone, eg battery removal, expecially if it used to extend phone memory to the sd card via proper partitioning.
It is exactly the opposite. The ext4 file management will prevent corruption in case that a read/write process gets interrupted by a battery pull or similar. Search Google for ext4 there are all the benefits described on a Wikipedia article.
Sent from my HTC Desire S
amidabuddha said:
It is exactly the opposite. The ext4 file management will prevent corruption in case that a read/write process gets interrupted by a battery pull or similar. Search Google for ext4 there are all the benefits described on a Wikipedia article.
Sent from my HTC Desire S
Click to expand...
Click to collapse
This.
ext4 wouldn't exist, or developed if ext3 is better.

ext3 format?

So I am going to flash my phone to the ICS Debloated for the droid thunderbolt. problem? one step says
4ext Recovery
Make sure to format in ext3 format!
You need to wipe everything!!!!
There is no data wipe built in so folks can reflash at will and restore system.
First time, wipe everything!!! All partitions except SD!
Especially if coming from GB or AOSP!
Ok so i have 4ext recovery fully installed on my phone.
but how do i format to ext3 what is it, what does it do, and how do i go about perfecting this so i can flash my phone in flying colors. some one please help.
ext3 is file system used in Linux
There should be some software for windows to format partition in ext3.
Maybe some drivers could help.
mcstando said:
ext3 is file system used in Linux
There should be some software for windows to format partition in ext3.
Maybe some drivers could help.
Click to expand...
Click to collapse
wait...so how do i go about make my sd card ready so that i can flash ICS unloated on my t-bolt? I am noob to the maximum, please forgive me.
snake2243 said:
wait...so how do i go about make my sd card ready so that i can flash ICS unloated on my t-bolt? I am noob to the maximum, please forgive me.
Click to expand...
Click to collapse
here read this:
http://forum.xda-developers.com/showthread.php?p=37383522#post37383522
chromium96 said:
here read this:
http://forum.xda-developers.com/showthread.php?p=37383522#post37383522
Click to expand...
Click to collapse
why are you so awesome?

Categories

Resources