yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] Diviance:
Most likely paranoia. I don't honestly prefer the user conversion script, converting a filesystem is never as good as starting a fresh one, but performance should be better than the fake ext4 from faux. Especially over time.
[Atrix 4G Android Development] Notorious544d:
I flashed script with Orange Build and my phone is screaming! I think you need Romracer's recovery.
[Atrix 4G Android Development] GTTG_Atomik:
Figured I should post here instead of clogging up HB. Dov, you said flash the script you made after ROM. I tried and now my phone is stuck in the Dual Core screen. I flashed via CWM from the ext SD.

Any advice? Am i using the wrong script? I see people using the USER one. Im using the one from HB that's listed.

EDIT: checked real.post.on computer. I see what im missing.
[Atrix 4G Android Development] Phoneguy589:
You're awesome Diviance! I just updated my backups of HB and Darkside to ext4 with no issues and no FC's.
[Atrix 4G Android Development] Diviance:
Strictly speaking, if I were going for pure performance, I would go back to ext2. But that would be a slight performance difference yet a huge decrease in stability and reliability.

A worthy sacrifice.

Also, glad it is working for most people.
[Atrix 4G Android Development] Earthdog:
I got it to work following the steps.

1. Formatted Internal SDCard

2. Fastboot -w

3. Boot CWM wiped data, dav

4. Clean Install of Orange Ver. 5

5. Booted and waited 15 minutes

6. Rebooted and ran script for Ext4 conversion

All is good now. All I can think is I had previous Orange Builds and updated each step from initial build.

Thanks for your efforts FYI: The thing boots incredibly fast now.
[Atrix 4G Android Development] roughriduz:
This doesnt work on alien build #4. I ran this cwm and i got stuck at the motorola screen.
[Atrix 4G Android Development] Diviance:
Using what version of CWM and which kernel?
[Atrix 4G Android Development] roughriduz:
i have the latest version of the romracer cwm from the rom manager unstall and im using the stock kernel
[Atrix 4G Android Development] Diviance:
Stock as in... stock motorola gingerbread kernel?
[Atrix 4G Android Development] :
Stock kernel doesn't support EXT4, use faux's kernel. Also update your recovery to 5.0.2.3-atrix4.1 if you aren't already running 4.1.
[Atrix 4G Android Development] roughriduz:
yessir i am using the motorola stock gingerbread kernel
[Atrix 4G Android Development] Diviance:
I modified the OP to accommodate this information, but you must be using faux's kernel. You can use the enhanced stock kernel or the OC'd kernel, either one should work. Flash that and it should fix any problems.
[Atrix 4G Android Development] roughriduz:
ok thanks... do you happen to know which post has the enhanced stock kernel?
[Atrix 4G Android Development] Diviance:
http://www.multiupload.com/UHIZ1ZKWI6

Direct link. Enhanced Stock Kernel .20 by faux.
[Atrix 4G Android Development] roughriduz:
thank you very much sir

---------- Post added at 05:28 AM ---------- Previous post was at 05:08 AM ----------

ran like a charm after i installed the other kernel
[Atrix 4G Android Development] Diviance:
Good to hear.
[Atrix 4G Android Development] s0dhi:
I tried this a few times today using stock GB deodexed and Faux's kernel 0.2.0, but ended up restoring my nandroid backup. When it was working, it appeared to work well, though.

It would generally work well, but if I powered down the phone and powered it back up it would either get stuck on a boot loop or start throwing FCs. Also after a couple of reboots, I would also get the above issue.
[Atrix 4G Android Development] Diviance:
Uploading a new version with some changes to the init.d scripts and adding in a modified permissions fixing script that should run every boot as well. May lengthen boot times a minor amount, but fixing issues before they happen is more important.
[Atrix 4G Android Development] Diviance:
Uploaded 2 new versions, one for devs and one for users. The new versions enable Journaling, making the fsck checks and the permissions fixing redundant due to a higher stability and lower chance of errors during shutdown or battery pulls.
[Atrix 4G Android Development] lilhaiti:
Was running HB2 with the EXT4 script (first version) then I installed the 5.4B update clearing both caches in the process. Open on restarting my phone I got a bunch of FC's and that uid error. I then formated everything and restored my nandroid and installed the script again, it restarted fine.

I then rebooted into recovery and clear both caches (as a test) alone and upon restart I got the same FC's and uid error. I am just thinking...should the convert scripts be removed after the FS as been converted?

I am a linux administrator at work but I am no Android dev, so I am applying linux logic to this.
[Atrix 4G Android Development] plaster:
Wrong thread
[Atrix 4G Android Development] Diviance:
Try the newer version I posted last night. The UID thing is related to a certain file fixing permissions can fix the problem if it is that file... usually. The new version has a modified permissions fixing init.d script.
[Atrix 4G Android Development] Wond3r:
whats the benefit of ext4 conversion?
[Atrix 4G Android Development] Diviance:
Enhanced speed with higher reliability is an easy way to describe it.
[Atrix 4G Android Development] Wond3r:
Thank you, also what is Journaling?
[Atrix 4G Android Development] Diviance:
A simple explanation would be that it is a journal of changes the filesystem keeps to prevent data loss or corruption.
[Atrix 4G Android Development] lilhaiti:
Worked like a charm...you're the man!!!
[Atrix 4G Android Development] GTTG_Atomik:
How can you tell of you are on 3 or 4? I flashed the EXT4 V2 User and I didn't really see a difference.
[Atrix 4G Android Development] Diviance:
The difference is not a hugely visible one. Mainly a smoother, less laggy experience over time.
[Atrix 4G Android Development] Notorious544d:
Flashed V2 with Home Base #4 Orange. Installed well but after rebooting, everything screwed up again like V1. :(
[Atrix 4G Android Development] s0dhi:
Had the same issue with v2, and ended up reverting.
[Atrix 4G Android Development] Diviance:
My girlfriend may be coming over after work today, if so then it will be a day or two before I get a chance to spend time investigating this.
[Atrix 4G Android Development] Notorious544d:
Does V2 without journaling suffer from the reboot issue?

EDIT: Just flashed it but I'm scared of turning the phone off :(
[Atrix 4G Android Development] toe451:
running homebase 3.4 update 5.4a enhanced 2.0 1ghz kernel with your ver 2 journal script . its running so smooth ,no fcs after turning on and off. i got rid of all app data before i restored apps through ti backup. really nice work on your ext4 script .... thank you ...
[Atrix 4G Android Development] Diviance:
Any without journaling may have the issue. I haven't nailed down exactly what is causing it. Working on it though.
[Atrix 4G Android Development] Notorious544d:
Can I flash the journaling version on top, despite having non journaling right now?
[Atrix 4G Android Development] Diviance:
Yes. It should work just fine.
[Atrix 4G Android Development] Phoneguy589:
and you must get down on your knees and tell me you love me.... LOL. Hope telling you I love your work is enough. Haha

What kind of performance difference do the jounaling and non journaling do? I'd rather have stability but rather than flashing and having issues I'd though I'd ask. Are there any themes safe to flash over Aura 1.2.1.2 or do I have to reflash the ext4 script?
[Atrix 4G Android Development] Diviance:
Ah, I see what it is, people are skipping that step. No wonder you all are having problems!

Real world performance will be minimal in difference, benchmark performance will drop you back to the fake ext4 style performance.
[Atrix 4G Android Development] Phoneguy589:
I just can't stand the moto/blur programs popping in and out using up battery and memory all the time. I know some things are needed but suggestions poll and other stuff really should be on an as needed basis or be used only while charging.... IMHO.

If I try hoe-base on chronic, flash the theme and then ext4 jounal...in theory is should stay in ext4 unless I appply another ext3 theme.
[Atrix 4G Android Development] mvgc3:
Just tried this earlier today with a fresh install of Alien. Everything has been working great so far. The steps I took:

- Wiped data, cache, and dalvik cache

- Installed Alien#4

- Installed Faux's OC Kernel 2.0

- Installed the EXT4 zip, with Journaling

- Rebooted the system

Thanks for all your work!
[Atrix 4G Android Development] Notorious544d:
Just rebooted using Ext4 w/o journaling V2 and no fc's!
[Atrix 4G Android Development] Diviance:
Well, considering the themes don't format back to ext3, you will have to mod the theme to enabled ext4 support in the updater-script. But yes, ext4 is permanent until you format back to ext3.

Glad you like it :) Though it is going to stop working, you obviously forgot the last required step in getting down on your knees and telling me you love me :) Hehe.

Ahh, so you didn't skip the last step huh? Nice.
[Atrix 4G Android Development] Notorious544d:
I can personally see a noticeable difference between Ext4 journaling and w/o journaling. It's good to see that I don't have to revert to stabalise the issue.

However, I've only done one reboot. You never know what could happen later, I will report if anything fishy goes on as I think I'm one of the lesser amount of people with the non journaling script.
[Atrix 4G Android Development] :
No journaling will result in a slightly smoother experience overall and slightly higher battery life, not very noticeable though except for in benchmarks which don't really matter. Try without journaling and see if you get issues, if you do use with journaling. Some users have problems without journaling though it runs perfectly for me.

And you'll have too fix the updater script to flash themes that weren't made for ext4. To do so open the .zip file, navigate to \META-INF\com\google\android\, and open the updater-script. Everytime you see "ext3" change it to "ext4", save the file, and make sure the updated file is in the archive. You can then flash the theme in CWM and have it apply.
[Atrix 4G Android Development] zeidof:
After i sent u msg, this is my cf-bench, is everything ok?
[Atrix 4G Android Development] Diviance:
Seems fine to me.

----------------------

Added Version 3 to the op. Added a version without Extents that should allow backwards compatibility with ext3 stuff.
[Atrix 4G Android Development] toe451:
your download link is not working ( users journaling without extents )

goes to a page that says file does not exist

thanks
[Atrix 4G Android Development] Diviance:
Fixed. Forgot something in the link.
[Atrix 4G Android Development] Notorious544d:
Flashed V3 non journaling script and it feels so slow! No idea why. Felt like stock Ext3. Then did a benchmark to investigate and I got 220 database I/O for AnTuTu.

Maybe should have waited for cache to build up. What do you think?
[Atrix 4G Android Development] Diviance:
Funny, the only difference in the v3 non-journaling is the cache check at boot.
[Atrix 4G Android Development] Sinful Animosity:
I've got a weird bug... one app keeps disappearing. The xda app. It'll get deleted and i'll have to reinstall it
[Atrix 4G Android Development] :
So the journaling and without extents version is the slowest, is it still faster than EXT3?
[Atrix 4G Android Development] lilhaiti:
Feels like it to me
[Atrix 4G Android Development] lilhaiti:
Just got a random reboot this morning (haven't had one of those in some time now) while turning on Bluetooth. I am running HB 2 with update 5.4c and Faux .20 enhance kernel and EXT4 v3 Journaling without extents. I just ran fix permissions and restarted will let you know if it happens again...everything else is good so far.
[Atrix 4G Android Development] Notorious544d:
This may be a dumb question but will it be better to flash converter before restoring apps or after?

---------- Post added at 11:14 PM ---------- Previous post was at 11:08 PM ----------

Also, don't know if this is relevant but when I tried flashing the journaling version, it said, "For end users without journaling."

Is this supposed to be right?
[Atrix 4G Android Development] lilhaiti:
I would convert before the apps.

Yeah I saw that dialog as well...but that could be a typo.
[Atrix 4G Android Development] Diviance:
It is a mistype, I forgot to add a dash between the two. It means that version doesn't have journaling, ala "For end users - Without Journaling"
[Atrix 4G Android Development] lilhaiti:
BTW. After I fixed permissions no other reboots...may have been purely random.
[Atrix 4G Android Development] schwann:
Um...what does that mean? Shouldn't it be...For end users - With Journaling if you're installing ext4 with journaling? Just wondering what you meant..
[Atrix 4G Android Development] mjharris65:
I've been using the User Version 3 WITHOUT Journaling since the day it was released up until last night when my phone rebooted into a boot loop. Previously, I had used Version 2 but only for about a day or so. With both versions (w/o Journaling) I was literally drowning in FCs to begin with but I quickly learned how to resolve the issue.

What you have to do is uninstall and then reinstall every application that is FCing on you. And then run Fix Permissions in Rom Manager immediately after but don't reboot. You want to try to keep your phone alive as long as possible. When you install a new application, run Fix Permissions. Pretty much anytime you think about it, it's a good time to run FPs.

So that is what I had been doing with Version 3 until my boot loop, which I'm not even sure was related to Ext4 conversion at all. Right now, I'm running Version 2 (again, w/o Journaling) and everything seems to be working fine.

Comparing the two versions, I would say they are about equal in terms of stability. However, the major difference is that Version 2 seems smoother and has out-performed Version 3 in every benchmark I've tested.

I guess the point I want to make is that there is a noticeable difference in performance with these versions without Journaling and there is a way to fix the FCs which I know can be overwhelming. But don't let them scare you away from the amazing performance boost.

Thanks so much, Diviance!
[Atrix 4G Android Development] Notorious544d:
I also noticed the lack of smoothness and speed in the V3 version. However, the V3 seems much more stable for me, rebooted at least 5 times and still no FC's.

V2 was VERY fast but after 2/3 reboots, the FC thing happened again.

If I install V2 and do what you said, will it become stable? I want to try V2 w/o journalling again, especially if I can stop the FC's.

And do I have to FP after installing EVERY app? That'll be a long and tiresome process unless there's an app for it. :(
[Atrix 4G Android Development] mjharris65:
No, I meant that you should FPs after you install new apps before rebooting. Essentially, just FPs when you are going to reboot your phone.

For the FCs, there really aren't that many that are affected. I think I had maybe 10 to 15 max. And all you have to do is go to the market and press uninstall then install for those apps. Then run FPs in Rom Manager after you've regained control. And once an app has FCed and you uninstall then re-install, it won't act up again when you reboot in the future. That is, you won't have go through this uninstall/reinstall process every time your phone turns off.

Hope that clears up any confusion.
[Atrix 4G Android Development] Notorious544d:
OK, just did a fresh re-flash and before restoring apps, I used the V2 converter.

Then, powered on phone, restore apps from Titanium backup then Fixed permissions before rebooting.

Gonna see what happens. If I get the FC's, I'll just uninstall/reinstall apps and FP again.

Thanks for the help.

EDIT: Didn't work!! Got stuck in a bootloop. Flashing V3 w/ journaling as I type.
[Atrix 4G Android Development] yeahmann:
Whenever I clear the cache, the cache partition becomes ext3. So I have to run this conversion every time I clear the cache?
[Atrix 4G Android Development] Diviance:
I forgot I had this thread. I should release updated copies of the conversion scripts, but with pretty much all of the other devs gone... it almost seems pointless :(

Anyway, it is returning your cache to ext3? Fastboot or CWM? If it is CWM, it is probably a problem in the scripting so he would have to fix it.
[Atrix 4G Android Development] Phoneguy589:
I'd like to try the updated scripts. Why are the other devs gone? Life I guess LOL. Might as well charge up my Motorola Startac. Think it'll get ICS support?
[Atrix 4G Android Development] Diviance:
I will still be here unless I can somehow afford a Galaxy Nexus. I hope this phone does.
[Atrix 4G Android Development] Phalanx7621:
Yeah I'm in the same boat. Hopefully by beginning of year ill have a bit of money saved.
[Atrix 4G Android Development] stevehkim:
Sorry for the stupid question but i flashed the v3 without journaling. How do i know its working? Still fairly new to this stuff. Also will clearing dalvik cache and cache partition in CWM erase the flash?

atrix unlocked and loaded
[Atrix 4G Android Development] toe451:
any updates for ext4 ???? thanks....
[Atrix 4G Android Development] stevehkim:
I just reaplied the sciprt after i did an update just to make sure.

atrix unlocked and loaded
[Atrix 4G Android Development] Notorious544d:
Well basically, as many developers have sadly left us, there are not any active Rom's except for CM7 and the Aura Rom. So development of the scripts have been withdrawn as there is no point in updating as the latest script is embedded into the latest Aura Rom.

In terms of updates, Diviance has managed to get Ext4 w/o journaling fully working and rock stable in his Aura Rom.
[Atrix 4G Android Development] sk8trix:
Is it safe to.run this on cm7 beta2????? Don't wanna screw my ROM up
[Atrix 4G Android Development] Vangelis13:
CM7 is ext4
[Atrix 4G Android Development] IUH1991:
You don't need to, cm7 is already ext4.
[Atrix 4G Android Development] ghost_og:
Only /System uses extents with CM7 though.

If you do a backup, /Data and /Cache will get formatted as ext3. From what romracer explained to me, this will also get rid of any other optimization that are related to ext4. But since ext3 can be mounted as ext4, all the partitions show up as ext4 when you run 'mount' after a restore.

I've been curious about using this script, or the one within romracer's newest CWM, to format /Data and /Cache and enable extents, but haven't really been able to find a clear cut answer to the advantages/disadvantes of having them on all or only some of the partitions.

Maybe someone with more knowledge of file systems can help me out. If extents are not enabled on an ext4 file system, can mount options make up for whatever performance gains extents would have offered? How much of a difference will extents make for our phones, considering the file sizes we are usually dealing with compared to something like a full blow Linux desktop?
[Atrix 4G Android Development] stevehkim:
Im also curious. My last flash i ran these ext 4 scripts on cm7. After i tried to do a nandroid backup in cwm and got errors cannot mount /system. Backup aborted. I wiped and did a fresh install of cm7 without the scripts posted here by deviance. Allowed me to nandroid backup in cwm. What would cause this?

tapped via supercharged atrix with cm7 and clems kernel.
[Atrix 4G Android Development] sk8trix:
Me too I just ran the script on my cm7beta 2.Rebooted and it was super fast but then on bloatfreezer and on root explorer I couldn't mount the system.I also went into CWM and tried to mount the system and no go. any help????

Also got this on a stock ROM so i think it's a ext4 script thing....
[Atrix 4G Android Development] stevehkim:
Yup i just installed it again and same error $hit have to do another wipe and re install! I love full wipes.

tapped via supercharged atrix with cm7 and clems kernel.
[Atrix 4G Android Development] stevehkim:
Phone does fly! F it imma just leave it as is and see if we can get a fix to this mount /system problem.

tapped via supercharged atrix with cm7 and clems kernel.
[Atrix 4G Android Development] stevehkim:
Anyone get these errors if doing the partition ext 4 in cwm?

tapped via supercharged atrix with cm7 and clems kernel.
[Atrix 4G Android Development] stevehkim:
I think i have somewhat of an idea on why these scripts dont really work on cm7. I used these scripts flawlessly on darkside rom. These scripts were made for gingerbread 2.3.5?? So its conflicting with our cm7 /system ect.

*edit-I just tried doing the ext. 4 conversion in CWM for /data, /cache, and /system phone would not boot. Booted straight back into recovery. So I flashed deviances ext 4 scripts w/o journaling and phone booted right back up into cm7 without any errors. So strange.

tapped via supercharged atrix with cm7 and clems kernel.
[Atrix 4G Android Development] sk8trix:
Its really a bummer that script is messin up because it does make the phone way faster but I'm not down for errors ill just wait till so.ething else comes out.
[Atrix 4G Android Development] ghost_og:
If you were having problems converting with CWM you might want to let romracer know. He gave these instructions for getting a log of activities created during the conversion:

Have you tried just converting /Cache and /Data and leaving /System alone? He said if filesystems are already ext4 it shouldn't have any negative effects, but maybe that isn't the case?
[Atrix 4G Android Development] stevehkim:
Ghost,

Yea I sent him a message in his thread for his new recovery. Just waiting for a reply. Stupid file system is stressing me out! The wife keeps yelling at me that its just a phone. Little does she know...
[Atrix 4G Android Development] ghost_og:
I was able to successfully upgrade my /Data and /Cache partitions using the CWM script. I didn't want to try /System because of the other problems people have reported. (That one isn't really necessary anyway since I'm on CM7, and it already has extents enabled).

I converted them one at a time and booted up the phone after each conversion to make sure it worked. I verified the block info after each boot up, and did not have any issues with either partition.
[Atrix 4G Android Development] stevehkim:
Ghost thanks. Gonna try it now.
[Atrix 4G Android Development] stevehkim:
Just did as you said and phone booted up just fine. Thx.
[Atrix 4G Android Development] stevehkim:
Ghost after doing the upgrade i can no longer rcv photos through text. Do u have this problem?

cm7 on steroids
[Atrix 4G Android Development] stevehkim:
Ghost i did the upgrade on all partitions in cwm to ext 4 and phone booted up fine. Did it just for the hell of it after i did a nandroid backup.

cm7 on steroids
[Atrix 4G Android Development] sk8trix:
I'm going to try to do cwm and just data and cache and leave system alone tonight.

If I happen to wipe cache and data at ay given time in the future do I have to convert these to ext4 again? like the other ext4 script or is it permanent?
[Atrix 4G Android Development] mav3tan:
the files are gone. Can someone re-up it?
[Atrix 4G Android Development] Phalanx7621:
Hmmm guess Diviance decided to remove the links.
[Atrix 4G Android Development] AndroidON:
I modified his script a little bit.

This script will make /data, /cache to ext4, journaling off.

You can now use this on CM7. Just flash it from CWM.

(CM7 is using ext4 already, but not journaling off)

http://api2.ge.tt/0/9plXDpA/0/blob/download

And another one, this will affect only on /system.

Jouraling will go off, but you can't modify files in /system if you install this.

I don't know why. I think CM7 need journaling for /system.

(It is faster and can be accessed anyway)

http://api2.ge.tt/0/9c4m3sA/0/blob/download

Credits for Diviance :)

I even don't know how to make it.

Just opened script and modified it.

Ps. If you wipe up partition or change to new rom, then you will have to reflash it.