yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] pjjohn73:
So from reading the tips from the fine folks on this forum such as Dameon87 OP, prophour and from the awesome video by leatherneck http://youtu.be/77-PYDtETxQ?hd=1, I made a list. Does anyone see any fatal flaws in it. I am hoping this will help people as some still seem to not be reading everything or are just confused.

Dameon87, if you see a mistake let me know, or if you think this will just further confuse people rather than help let me know and I will remove it.

1) Odin phone to DK28

Install with Odin3_v1.0.exe and s1_odin_20100512.pit, SPH-D700-DK05-Extended.rar

(Link: http://www.multiupload.com/FU8S28969Y) (ODIN, PIT, and ROM in zip file)

Make sure GPS locks after installing

Install with Odin3+v1.61 and no PIT, SPH-D700-DK28-8Gb-REL.tar

ROM (Link: http://xdaforums.com/showthread.php?t=794138)

ODIN (Link: http://www.mediafire.com/?z5nwqqz79f6ai5q)

Make sure GPS locks after installing

2) Install one.click.root.exploitv2.5.5 with clockworkmod Redirector 2.5.1.0 to phone

(Link: http://xdaforums.com/showthread.php?t=770388)

3) Download OneCLickEXT4v1.3.zip and extract the Prepare.zip from it.	Also download DK28-EXT4-RFS-KERNEL.zip and EXT4-Formatter.zip (Download from opening post (Link: http://xdaforums.com/showthread.php?t=890494)

4) Download the supported ROM of your choice.

5) Move prepare.zip, DK28-EXT4-RFS-KERNEL.zip, EXT4-Formatter.zip, and supported ROM of choice to the root of the phones SD-Card)

6) Unmount SD Card and turn on USB debugging on Phone

7) 3 button press to boot phone into clockworkmod 2.5.1.0 recovery mode)

8) Flash prepare.zip from clockworkmod 2.5.1.0 recovery mode on phone (Do not reboot yet)

9) Go to "advanced" and "reboot recovery" in clockworkmod 2.5.1.0 and then it reboots into version 2.5.1.2

10) Flash EXT4-Formatter.zip from clockworkmod 2.5.1.2 (will take a awhile) (do not reboot yet)

11) Flash ext4 compatible ROM of choice (QuantumRomv2.5 for example) (do not reboot yet)

23) Flash DK28-EXT4-RFS-KERNEL.zip (kernel for ext4 and RFS ROMs)

24) Reboot, Reinstall apps and play

PS: If in the future (after this process is done!) if you still go into the 2.5.1.0 clockwork recovery, then go to "advanced" and "reboot recovery" and then it reboots into version 2.5.1.2.

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

Optional to verify ext4 on phone....

Put phone into usb debugging and plug into computer

Go to command promt and type: adb shell mount (on computer)

you should see

something

like this to verify ext4

(This sample is not from my phone, not sure if all will be the same, just to show where to look for ext4)

((((((notice ext4 in))))))

/dev/block/stl9 /system ext4 rw,noatime,odiratime,barrier=1,data=ordered,noauto _da_alloc 0 0

/dev/block/stl10 /data ext4 rw,nosuid,nodev,noatime,nodiratime,barrier=1,data= ordered,noauto_da_alloc 0 0

/dev/block/stl11 /cache ext4 rw,nosuid,nodev,noatime,nodiratime,barrier=1,data= ordered,noauto_da_alloc 0 0

/dev/block/stl11 /data/dalvik-cache ext4 rw,nosuid,nodev,noatime,nodiratime,barrier=1,data= ordered,noauto_da_alloc 0 0

Updated to match new developments with installation 12-31-10
[Epic 4G Android Development] pjjohn73:
No Problem, glad I could help!
[Epic 4G Android Development] slipmaggot8:
When i adb reboot recovery the first time it hangs on the Sammy screen. ADB sees my device? need help what could it be? should i re-install clockworkmod redirector? DK28?. If i pull the battery and three finger reboot i get back to CWM and reboot normally and i still have my current ROM quantum2.1 Thanks in advance for any help i receive you guys are great
[Epic 4G Android Development] slipmaggot8:
HEy nevermind i figured it out. Had to reinstall CWM redirector. DURRRR!!! GREAT JOB DAMEON!!!!!!!!!! NOW GOTTA GO **** AROUND WITH MY EPIC. peace
[Epic 4G Android Development] pjjohn73:
glad you figured it out
[Epic 4G Android Development] daddymikey1975:
I did this mod this morning and running Quantum ROM rt. now..

10 hrs and still got 61% left.. EXCELLENT battery life w/ this mod...

Moderate use.. texting most of the day and streaming quite a bit from Pandora

Can't wait to run official froyo on EXT4 :D (not starting 'another' froyo topic, just sayin')
[Epic 4G Android Development] Mk4UmHa:
I don't have this partition, wierd.

/dev/block/stl11 /data/dalvik-cache ext4 rw,nosuid,nodev,noatime,nodiratime,barrier=1,data= ordered,noauto_da_alloc 0 0
[Epic 4G Android Development] mousiope:
can this be ported to other phones such as droid1.

i´ve read that converting ext3 to ext4 is relatively easy how about ext2 ?

droid1/milestone has ext2 right ?
[Epic 4G Android Development] siptang:
Quick question,

saw this on the op.

If I download this zip, can i flash it using clockwork and then install roms that take ext4? How can i be sure that it has created the extention properly? Any way to verify without a computer? I just downloaded all the files on my phone and wanted to flash while I was at church :x

Thanks in advance guys .
[Epic 4G Android Development] Dameon87:
You still have to follow the rest of the instructions.
[Epic 4G Android Development] joshk89:
I honestly thought i would screw this up, but i didnt, lol. nice work, seems pretty quick so far. It wasnt booting up at first, had to flash quantum a second time to get it to boot and all seems well so far.

edit - went to flash addons and wouldnt reboot into the .2 cwm. had to reflash the kernal to get it to reboot.
[Epic 4G Android Development] slipmaggot8:
I don't have this partition, wierd.

/dev/block/stl11 /data/dalvik-cache ext4 rw,nosuid,nodev,noatime,nodiratime,barrier=1,data= ordered,noauto_da_alloc 0 0[/QUOTE]

Me eighter I ran the adb shell mount and got all other data people have gotten except that one. Used the new flash method and duo kernal.

SOOOO I'm back playing with my phone with this new mod and let me say I see a very significant improvement on speed +response time. Did just about everything...calls,long txts, youtube,google,got all my apps back, put in gingerbread theme, made a nandroid back up, played psx for half hour...andx I'm still at 34 % battery life....Cannot thank DAMEON!!! And all the other mods here at xda. EXCELLENT!!!!!
[Epic 4G Android Development] kgbcapthowdy:
if i have an issue and i need to odin back to 2.1 will that take everything back to stock so sprint wont see and left overs from ext4? thanks
[Epic 4G Android Development] dhero1:
Me eighter I ran the adb shell mount and got all other data people have gotten except that one. [/QUOTE]

It probably depends on the rom you're using - some dalvik-cache locations may be set up to share the cache partition rather than having a seperate partition for each of cache and dalvik-cache. You can also use the command 'adb shell df -h' or 'adb shell busybox df -h' to see if there is a seperate dalvik partition set up ...
[Epic 4G Android Development] leatherneck6017:
UPDATED - Video Tutorial

New video tutorial showing how to install ext4 without using a computer and command prompt. Sorry about the focus on the video, couldn't get my Flip to do it. Thanks to dameon for the flashable .zip!

http://youtu.be/77-PYDtETxQ?hd=1

Text instructions (thanks Koadic!)

You need 4 things copied to your sdcard...

1. Prepare.zip (located inside the OneClickEXT4.v1.3.zip)

2. EXT4-Formatter.zip

3. Supported Rom.zip of choice

4. Most recent EXT4 kernel.zip

Then...

1. Boot to CWM 2.5.1.0

2. Flash prepare.zip

3. Inside CWM, go to Advanced->Reboot Recovery (should take you to 2.5.1.2)

4. Flash EXT4-Formatter.zip

5. Flash your desired Rom

6. Flash EXT kernel

7. Reboot
[Epic 4G Android Development] Koadic:
Odin *SHOULD* return you back to factory fresh.
[Epic 4G Android Development] algorhythm:
Your video helps a lot. I'm finally going to be doing this. My question is, what are the files you are referencing? I see that the OneClickEXT4.v1.3.zip file contains them but I also see the EXT4-Formatter.zip file in the OP. Do you know if EXT4-Formatter.zip replaces the OneClickEXT4.v1.3.zip file?

EDIT: Whoops, looks like you mention that in the video. So, it's prepare.zip, then EXT4-Formatter.zip, then flash the ROM (in my case, QuantumROM 2.5) and finally flash the kernel?
[Epic 4G Android Development] leatherneck6017:
Yep! Let me know if any issues.
[Epic 4G Android Development] Koadic:
Basically, you need 4 things copied to your sdcard...

1. Prepare.zip (located inside the OneClickEXT4.v1.3.zip)

2. EXT4-Formatter.zip

3. Supported Rom.zip of choice

4. Most recent EXT4 kernel.zip

Then, if I am following the video correctly, you...

1. Boot to CWM 2.5.1.0

2. Flash prepare.zip

3. Inside CWM, go to Advanced->Reboot Recovery (should take you to 2.5.1.2)

4. Flash EXT4-Formatter.zip

5. Flash your desired Rom

6. Flash EXT kernel

7. Reboot

Edit: While composing my message, original question by algorhythm was edited and answered, but see no reason to remove these basic steps
[Epic 4G Android Development] algorhythm:
Spoke too soon, started typing the first part of the post before I finished listening.

Your video makes it really simple, thanks :)
[Epic 4G Android Development] algorhythm:
Oh quick question, I know most ROM chefs say to wipe storage a few times, is that still necessary?
[Epic 4G Android Development] Koadic:
In this case, formatting to EXT4 should erase everything anyway.
[Epic 4G Android Development] thizzmaster:
works great! :) though quantum rom is pretty basic i prefer midnight a little more, but none the less great work!
[Epic 4G Android Development] algorhythm:
Figured as much, doesn't hurt to confirm :)

Thanks again guys, I'm flashing/formatting now :)
[Epic 4G Android Development] adamw1101:
are you not able to restore data with mybackup pro?
[Epic 4G Android Development] adamw1101:
very fast mod
[Epic 4G Android Development] Dameon87:
Filesystem change has NOTHING to do with market, or apps.

Everything that worked before will work with EXT4. It is only a filesystem replacement, not some hacky method.

This is a complete, drop in replacement for RFS. It isn't going to kill your market, or your updates, or anything else.
[Epic 4G Android Development] pjjohn73:
Your awesome! Looks pretty simple.thanks for the new video.
[Epic 4G Android Development] pjjohn73:
Currently is the Quantom and Midnight the only ext4 ROM? I know Mammon will soon, is there any others?
[Epic 4G Android Development] NYYFan325:
Just wanted to let everyone know that I backed up in CWM before doing this and was able to restore my data ONLY after it was all done. No FC's or any issues to report.

Hope this saves some people time instead of reinstalling all their apps
[Epic 4G Android Development] jordan2333:
I can't believe people are still having trouble with this lol.
[Epic 4G Android Development] jimmy2442:
im having trouble,

on the one click installer mine gets stuck at :

Formatting /system (/dev/block/st19) as ext4

i done tried restarting a couple of times, gets stuck there, i left it for about twenty mins on that
[Epic 4G Android Development] jordan2333:
Im sorry i can't help you.Everything worked for me the first time.Maybe i should go back to stock and doing it again so i could help other people out.But i must say the youtube vid really helped me out.
[Epic 4G Android Development] jimmy2442:
well im kinda worried, is my epic like half EXT4 now? cuz it only completed some of the process? i was able to boot into the midnight rom just fine and its workin.. hopefully someone can help me out lol
[Epic 4G Android Development] leatherneck6017:
Check out my youtube video and the associated instructions here: http://xdaforums.com/showpost.php?p=10229991&postcount=494
[Epic 4G Android Development] 2sslow:
Sorry,I read the entire thread but didnt see the answer i was looking for, So here goes.

Do I have to flash back to stock if I am already rooted running the latest viperRom?

And I get the instructions but is it necessary to flash the kernel if Im flashing midNIGHT v 2.4 Dual Boot Rom. Doesnt it have the kernel built in.

Sorry if this has been answered.
[Epic 4G Android Development] Eonxi:
Whenever I do the adb reboot recovery or Advanced -> Reboot Recovery I boot into the "Android Recovery Menu <2e>" anyone know why this happens?
[Epic 4G Android Development] blspyro:
well i think i found the reason none of the things i was trying to do was working.....i ran one click and it doesnt seem to be installing busybox for me could that possibly be the problem?

PyRo
[Epic 4G Android Development] leatherneck6017:
You could try wiping all data, cache, dalvik and then running 'prepare.zip' from recovery v2.5.1.0; if that works then you would reboot into recovery v2.5.1.2 and flash 'ext4-formatter.zip'. (Either way you do it you're gonna lose all data).

Yes, you need to flash the kernel.
[Epic 4G Android Development] leatherneck6017:
Sounds like 'prepare.zip' did not work. Wipe everything 3x and start again.
[Epic 4G Android Development] mictek:
Guys I had ext4 running fine on mine. I accidentally restored a backup through rom manager to test something else out which got my phone stuck in 2.5.0 recovery. The prepare.zip wouldn't flash. I tried to odin the stock dk28 and my phone would freeze during odin in a solid screen every time. I switched computers and ran the stock dk28 tar and it finally worked. From there I followed the original instructions and everything worked fine. I guess the answer is to follow the instructions. If that doesn't work try a different computer when flashing Odin if it's not working. My win7 machine wouldn't odin my phone, but the xp machine would. I had the proper drivers and every thing on both. As long as you can get the bootloader to load you should be ok.

I downloaded the tar file from here. when you download it you have to rename it from md5 to just .tar. No pit file needed. Hope this helps someone.

http://xdaforums.com/showthread.php?t=794138
[Epic 4G Android Development] Koadic:
Actually, I recently flashed Quantum Rom 2.5.0 after inserting the latest kernel into the rom.zip, and didnt need to flash the kernel seperately, so... if the rom has the latest kernel included, there is no reason to reflash the kernel after flashing the rom (tested and tried after asking about this in the QR 2.5.0 thread).

Regardless, formatting to EXT4 will erase everything, so regardless of what your running now, so long as you have the DK28 modem and CWM, go ahead and boot into CWM and follow along with the youtube video in this post and/or follow the simple written instructions.
[Epic 4G Android Development] pjjohn73:
Well I was waiting for the new Mammon ROM but got impatient, so I went ahead and did the ext4. Everything went really well. Verified the ext4 kernel is installed and all is good as far as installation. I installed the Midnight ROM, I have to say that in my experience the current 1.0.4 Mammon ROM is faster and more stable than using a ROM with ext4. It was not faster for me and had lots of lag and jumps scrolling in menus. So then I Wiped and then installed Quantum and reapplied the ext4 kernel. And it is better than what Midnight ROM was but still laggy and jumpy for me. I am going to check out Mammons new ROM when he is done and see if I have better luck. If not I will ODIN back to DK28 and the old file system and put Mammons ROM back on. I know a lot of people are having very good luck and swearing by ext4, but my experience is not that great.

I suppose I could redo the whole process and see if it gets better, but everything seemed to go well as far as installation, so not sure that would help...
[Epic 4G Android Development] sniperkill:
you could possibly be doing it this way, but failed to mention it, but you have to install ext4 first, then flash the rom, then the kernel. but with midNIGHT rom, and Quantom rom, all you gotta do is install ext4, then flash their rom and not need to flash the kernel.. Im supprised your not doing backflips over ext4, which leads me to believe that maybe you installed something wrong.
[Epic 4G Android Development] pjjohn73:
Yes, I am thinking the same... but I am very sure I did the proper steps. I have been reading this forum for a couple days. Followed closely. Here are the basic installs I did.

ODIN to DK28 Stock

OneClick Root/CWM

Flash prepare.zip in CWM2.5.1.0

Flash EXT4-Formatter.zip in CWM2.5.1.2

Flash ROM in CWM2.5.1.2

Flash DK28-EXT4-RFS-KERNEL.zip in CWM2.5.1.2

There are only two things that I can see causing me problems. If I did not need to install kernel, that might cause problems. Not sure why it really would though.

Or when I am restoring my apps from Titanium Backup, if restoring the data messes with it.

Not sure what else it could possible be. As I said I am sure I followed all steps and I verified that ext4 took.

Something is not right tho. Seeing as the kernel should work with the old file system also, I put Mammom back on and it is acting up the same way. Laggy, Jumpy, Home Button glitchy, Back Button glitchy, App Drawer glitchy. I may have to just do the process over again.

Going to start over...
[Epic 4G Android Development] leatherneck6017:
It looks like you did it EXACTLY how it's supposed to be done. I can tell you that in my experience the last couple of days I have had problems with restoring data (not apps) from Titanium Backup. So I took 4 hours and did things step by step with a reboot in between each step. It turned out that restoring my Launcher Pro settings was the ONE!!! thing that was messing everything up.

Now, if you're not using Launcher Pro, then I don't know what to tell ya...sorry!
[Epic 4G Android Development] pjjohn73:
Thanks for your help..

Perhaps ADWLauncher EX is causing me problems then. Perhaps I should do that without restoring data settings. I am going to ODIN and go back to my Mammom restore for now. Perhaps tomorrow when I have had sleep and a fresh mind (I'm tired) I will try again.

So from what you said before I do NOT need to do the kernel if I am using Quantom ROM? I thought you still had to...
[Epic 4G Android Development] leatherneck6017:
This is still a gray area for me. Dameon87, the author of both the EXT4 mod and Quantum ROM specifically states to flash the kernel after flashing a (even his) ROM. I've heard some people say that this is not necessary when flashing a ROM that supports EXT4. In the end I do not know, but I've had success using Dameon's instructions and flashing the kernel immediately following the ROM.
[Epic 4G Android Development] Koadic:
Well, I flashed only Quantum Rom 2.5.0 without flashing the kernel afterwards, BUT I also copied the zimage from the most recent kernel.zip (dual ext4/rfs) into the rom.zip, replacing the one in the rom and deleting the extraneous zimage.partext4 file (so if I decide to flash a friends, but they dont want ext4, I am still good to go). In other words, if your flashing a rom that says it includes a compatible EXT4 kernel, you shouldn't need to flash a kernel.zip, but when in doubt, go ahead and flash the kernel.zip, as it shouldn't hurt anything.
[Epic 4G Android Development] pjjohn73:
Thanks. That's what i figured as well and what I done. will play around tomorrow (later today actually) and try again. Probably just software I restored causing issues. My Mammon ROM on the old kernel runs so well, I am half temped to just leave well enough alone, but that never happens, when I find something to experiment with I have a hard time letting it go. Drives my wife crazy. LOL

Oh and leatherneck I apologize, when I said "So from what you said before I do NOT need to do the kernel if I am using Quantom ROM? I thought you still had to..." I had mixed up my posts. That was Sniperkill that said that not you.
[Epic 4G Android Development] rob97ss:
Is there any reason to update from 1.2 to 1.3??If so what needs to be updated just the kernal??Did my Wifes phone a few days ago,no problems,can i just leave it alone?
[Epic 4G Android Development] Koadic:
If it aint broke....
[Epic 4G Android Development] A4b_mercenary:
ok sorry but im trying to odin back all i need to do is redo the pit and tar files right? if not can some one tell me what i need to do. Thanks
[Epic 4G Android Development] pjjohn73:
break it. LOL
[Epic 4G Android Development] makipsee:
hahaha

10 char
[Epic 4G Android Development] pjjohn73:
Well I have ODIN to Stock DI18 before and then did the DK28 Update.zip. But most recently I did this.

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

Odin phone to DK28.tar (whole ROM)

Install with Odin3_v1.0.exe and s1_odin_20100512.pit, SPH-D700-DK05-Extended.rar (Uncheck F. Reset Time)

(Link: http://www.multiupload.com/FU8S28969Y) (ODIN, PIT, and ROM in zip file)

Make sure GPS locks after installing

Install with Odin3+v1.61 and no PIT needed, SPH-D700-DK28-8Gb-REL.tar (Uncheck F. Reset Time)

ROM (Link: http://xdaforums.com/showthread.php?t=794138)

ODIN (Link: http://www.mediafire.com/?z5nwqqz79f6ai5q)

Make sure GPS locks after installing

If you want to root again. Install one.click.root.exploitv2.5.5 with clockworkmod Redirector 2.5.1.0 to phone

(Link: http://xdaforums.com/showthread.php?t=770388)
[Epic 4G Android Development] freecharlesmanson:
ruined backups

i tried restoring my backups and those are not working with this...
[Epic 4G Android Development] makipsee:
i found out that the ONLY time u can run DATA restore is when the kernel is done flashing while your still in 2.5.1.2 recovery
[Epic 4G Android Development] pjjohn73:
How do you restore apps and data while still in Recovery?
[Epic 4G Android Development] makipsee:
back out to the main menu then go 2 backup and restore go 2 advanced restore choose the restore your date u want then choose restore data
[Epic 4G Android Development] pjjohn73:
Seems everything is running "better" on my Quantum ext4 setup than last time. I think ADWlauncher ex was giving some of my problems before. I did not let Titanium restore data on it this time.

I am not sure I see as much speed boost. It runs nice, but so did Mammon 1.0.4 without ext4. Going to play with it for a day and see if I notice more improvement.

Edit: games like angry birds are lagging bad for me now. Matter of fact other than ADWlauncher it seems like all scrolling and all action in games, etc. lags or stutter about every 1.5 seconds.

I have followed through all the steps correctly multiple times. Here are the basic steps...

ODIN to Stock DK28

OneclickRootCWM

Flash Prepare.zip in CWM2.5.1.0

Flash Flash EXT4-Formatter.zip in CWM2.5.1.2

Flash ext4 compatible ROM in CWM2.5.1.2

Flash DK28-EXT4-RFS-KERNEL.zip in CWM2.5.1.2

Verified that ext4 kernel IS installed through command prompt

The only thing I have not tried is to just flash a ROM like Quantum and NOT flash the kernel like some have suggested.

I also have not tried to do the formatter from the computer. Not sure if that may work better than from a flash in CWM.

I know that so many have had good luck, but I really believe that all my steps are correct and I go through the process without a hitch, it just is not giving me very good performance. :(
[Epic 4G Android Development] Auramaster:
HELP

I was trying to flash CM6.2 prebeta 15.2, flashed a few files wasn't working to great, so when I try to go back to my nandroid backup, it doesn't work! It's stuck at "restoring Cache".. and when I try to flash a new Rom [Most .zip files say this]it says

"E:Failure at line X:

copy_dir PACKAGE: system SYSTEM:

Installation aborted."

x= different lines..

My recovery use to say 2.5.1.2 when I used Rom Manager/Quick boot, but now its 2.5.1.0.

Everytime I reboot, it goes strait to Clockworkmod Recovery!!!! [So I can't go back to 2.5.1.2]

I tried flashing the

EXT4-formatter.zip

(Works, says flash rom, but then it gives me the stupid installation error with every rom),

prepare.zip

(gives me installation error)

Any help! Is there anyway I can get the 2.5.1.2 recovery in a flashable.zip without the Error msg I'm getting!
[Epic 4G Android Development] Koadic:
Inside CWM 2.5.1.0, go to Advanced->Reboot recovery, and that should take you to 2.5.1.2... If it doesn't, you may be stuck having to Odin back to something workable
[Epic 4G Android Development] bigroof:
I'm having the same issue. Everything installed great but know I want to try another rom but it only boots 2.5.1.0. If I run prepare.zip I get an error at line 2.