yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] :
I spent way too long trying to get this working. This is the original post broke in to the simplest steps possible. I hope it can help someone.

Sent from my Samsung Epic™ 4G SERO
[Epic 4G Android Development] darren.wlsn1:
will quatum (sp) rom even work if all steps with adb are NOT correct? rom works fine still but fc's in gmail are my issue and i tried adb with 1.2 but i hangs on samsung screen after command "adb reboot recovery" so im not sure whats still on phone.
[Epic 4G Android Development] mictek:
Edit: Stupid post...
[Epic 4G Android Development] Dameon87:
adb shell mount

or adb shell df
[Epic 4G Android Development] sniperkill:
Thankx much bud...!!! :-)
[Epic 4G Android Development] fchristian2k:
I did a little experimenting with this. I believe the issue is related to the use of ROM Manager and the "Quick Backup and Restore" setting, not a problem with Dameon's work. Dameon cannot be expected to think of every little mod each of us may make to our phone, much less every possible setting in each application. These are the little things that wreak havoc on the Devs and a big reason why it takes so long for an official OTA to be released by the OEMs.

When I had the same problem (exact same output as you posted); I decided to try going to clockwork/advanced and run "reboot recovery". It did go into 2.5.1.2 but w/ errors. The errors related to bitmaps. The "Quick Backup and Restore" feature specifically disables the graphical progress bars for backups and restores; so I decided to find a way back in to ROM Manager, disable that setting, and test again. This worked and I was able to successfully install the "prepare.zip" package without errors.

Additional notes here:

I had the errors occur even after an Odin restore to stock DK28. If you have used ROM Manager and enabled "Quick Backup and Restore" in settings... find a way back to it and disable (I was able to restore backup from clockwork and change the setting... I doubt this method will work for all).

When I went into the cwm 2.5.1.2 after seeing the errors, ADB did not see the phone. However, after achieving a fully successful installation of the "prepare.zip" package; ADB saw the phone and worked as expected.

I hope this information helps others. Good luck to all!

Thank you very much, Dameon, for all your hard work on this and your ROM!
[Epic 4G Android Development] abmcbride85:
I have been a fan of daemon's work since I first got my epic and have learned a lot about the Android system. Recently I decided to switch my computer over to Linux (Ubuntu 10.10) and am slowly learning the system. Unfortunately, I have not picked up on it as quick as I would like to (due to work) and am a little concerned about trying this convert to EXT4. I'm having trouble installing ADB. If anybody has a walk-through they can direct me to to help with ADB and a step by step on installing this using a Linux machine I would greatly appreciate it.
[Epic 4G Android Development] Torcior:
Thank you D

Hey just wanted to say this is by far the best mod/rom combo I have seen yet. Quardrant was 1600+, and getting about 14.3 mflops.

Thanks for all your hard work on making this happen!
[Epic 4G Android Development] feefeeboomboom:
Great succses yay!

ok so i finaly got this working..

dl the stock dk28-rel.tar.md5

root using 1 click

follow op instructions

OMG it worked for you, weird..
[Epic 4G Android Development] DCIR_Error:
The only problem I'm having with this is when it gets to formatting the /system as ext4, it stalls. What gives?
[Epic 4G Android Development] Dameon87:
It takes a few minutes bro lol.
[Epic 4G Android Development] ericizzy1:
hi, since exchange doesnt work for me, can i flash the midnight rom on top of the Quantum rom (with ext4 installed)? thanks for your great work
[Epic 4G Android Development] DCIR_Error:
Lol, guess I'm just impatient. :D
[Epic 4G Android Development] bondosho:
This is the best mod for this phone. Booting is insanely fast, everything just "flows" better. Good job Dameon!
[Epic 4G Android Development] MysteryEmotionz:
Hey deamon I can't flag anything else with cwm. Out boots me into the old cwm and it don't like ext4. what am I missing?
[Epic 4G Android Development] thomasskull666:
Same here. I guess you need to flash the new recovery permanently with redbend_ua.
[Epic 4G Android Development] MysteryEmotionz:
I found a work around that I haven't seen posted so I figuref I would share.

1. Reboot into recovery using 3 finger method

2. Goto advance

3. Reboot recovery

4. Flash as you would normally ;)
[Epic 4G Android Development] feefeeboomboom:
My phone is booting the custom cwm. So idk what's going on with that. Um, try quick boot see if that works
[Epic 4G Android Development] DCIR_Error:
Edit: Got it working just like you said. I just had to switch pc's... the old one wasn't cutting it lol.
[Epic 4G Android Development] darren.wlsn1:
ya this method worked for me too, puts you in other clockwork with "2" on the end needed for this rom.
[Epic 4G Android Development] asj2583:
Got the aosp lockscreen working. Boot in to clockwork recovery (2.5.1.0) and go into advance and select reboot recovery. Recovery will reboot and you'll see (2.5.1.2) now flash the aosp lockscreen for dk28 roms located here ---> http://xdaforums.com/showthread.php?t=862292 and you'll be good to go!
[Epic 4G Android Development] imtjnotu:
Wish this could be done without a pc
[Epic 4G Android Development] smoothone:
Ditto on that. I'm sure he meant without a pc in general but I wish I didn't have to use a Windoze box. I went through a ****ing mission last night since I don't have a Windoze pc. Have not used one in 8 years! Windows7 is still just DOS in disguise! NTFS, mis manages memory, bloated and resource hungry, still have to restart the pc for certain operations, **** I could go on and on. One buddies pc wouldn't recognize my phone and then I had to go to someone elses house and yes I installed windoze drivers! By the way Windoze would never let me open my phone as a hd to view my files! It would recognize the phone I just couldn't open it as a hard drive! Something that Linux and Mac do with ease and without installing any specific drivers! I STILL haven't got this done! I didn't attempt it more than once cause it was getting late and I was getting pissed. I have had zero issues with any of my phones with a Linux box or even a Mac. Yes I know there are a lot of Windoze lovers out there. I am truly happy for you guys! Ok my Windoze rant is over. Thanks again for all your hard work Dameon. I'm sure this is going to new Epic! I will try again today when I get to another (sigh) Windoze box :~(
[Epic 4G Android Development] DiGi760:
To begin with, Windows 7 is far from being DOS in disguise. Up through Windows 98, that was definitely the case. With XP, sort of. From Vista on up, enough of the framework has changed to make that claim invalid.

I have no argument about it still being bloated and resource hungry. You're right about that with Vista and 7.

Also, on PCs with drivers, I have had no issues seeing the SD card and using it as intended. This includes my home PCs and most of the computers at the office, in XP, Vista, and 7.

And as someone who uses and programs in linux, nearly every machine I use linux on also dual boots some version of Windows. Sometimes you just need it. And who doesn't have an extra cd-key for XP floating around?

Besides, why do you need a PC for this? I see nothing that requires it. You can open the .bat file and get the list of commands it calls. If you're a linux user, then you should be familiar with script files. That is basically what a .bat is.
[Epic 4G Android Development] imwillzillla:
Did this step by step and worked like a charm. I highly recommended following these steps.
[Epic 4G Android Development] fastmikey1969:
Are there any concerns with wear leveling? Is that still preserved with ext4?

I found some info on the other SGS devices but wasn't sure if it applied to the Epic.
[Epic 4G Android Development] SwimDrewid:
So far, very snappy and the best battery life I've had with android! (evo and epic)
[Epic 4G Android Development] megabiteg:
Is it necesary to ODIN back to DI18 then back to DK28 in order to start this process? Or just haveing DK28 ROM with CW-Redirect works fine?
[Epic 4G Android Development] tokyomonster:
Just having DK28 with CW Redirector should work. I was able to move from Nebula rom to Quantum + EXT4 without any issue.
[Epic 4G Android Development] codest3r:
That's all I did. From Quantum 2.1. No odin, no sir. Just be sure to follow the steps. If you get errors with script make sure you unplug and replug so ADB connects properly.
[Epic 4G Android Development] codest3r:
Did it flash successfully? (completed status message) Did you unplug and replug? I think I had to do it twice or use a different port to get it to take the "adb reboot recovery".
[Epic 4G Android Development] smoothone:
Wow ok I was just releasing a little steam. Anyone that knows OS's knows that it is not DOS in disguise (sarcasm). It is still a bloated resource hungry and fairly archaic os! By the way I dual boot Windows 7 at home and the POS will not open files on my phone. The only reason I needed windows was to Odin and I was terrified to do that with my dual boot windows box. I have run many of these windoze bat files, etc as commands on my Linux box many times. "framework changes" hilarious, they have come so far in twenty years :~)

I will comment no more on Dameons thread about this topic. It would be unwise to start a discussion with anyone as to which operating system is the better one. Windoze would get crushed in every arena. But then anyone who knows OS's already knows this. Except for maybe Gates fanboys and persons that have never used Linux or Mac. Thanks for your info anyways.
[Epic 4G Android Development] WunderXDA:
Ok so after reading this thread I have 2 questions:

1. WHAT?????

2. Is there a guide anywhere that doesn't use any shorthand/acronyms/developer slang?
[Epic 4G Android Development] TheBurgh:
I am currently running midNIGHT 2.1.1. Does anyone know if I can begin the process from this rom?

Do I enter the first command exactly as it appears below?

: cd /path/you/extracted/OneClickEXT4
[Epic 4G Android Development] Overstew:
What does this do, really?
[Epic 4G Android Development] smoothone:
In all seriousness if you don't know what that means I would not even attempt this. This process is not really complicated but you obviously are a cut and paste person (not an insult). That is as basic as it gets and you don't understand that! If you mess something up you will be very sorry you started this process and you will have a hundred questions after to fix it. Good luck and I hope someone with the patience can walk you through every step. If your happy with your phone then just leave it. Good luck.
[Epic 4G Android Development] smoothone:
That question was answered on the first two pages!
[Epic 4G Android Development] tokyomonster:
[Disclaimer: Not trying to sound douchey]

This is still pretty experimental, so if you're having issues with instructions provided so far, I'd wait it out until an easier method appears.
[Epic 4G Android Development] :
Nevermind see my old post
[Epic 4G Android Development] :
I translated all directions to the most basic steps. I spent 12+ hours trying to figure it out, and then making sure the directions were idiot proof. Its on page 11.

P.S. Just to be clear I did the exact same steps when this first came out and it would not work. Only after 1.2 was released was I able to pull this off.

Sent from my Samsung Epic™ 4G SERO
[Epic 4G Android Development] crcsboy:
Worked great for me. Thanks op

I only drink the finest cambodian breast milks!
[Epic 4G Android Development] TurboFool:
You claim you won't comment any further on the topic, and then you flamebait with inaccurate and biased information. Very nicely done. I use and support Linux and Mac heavily, still vastly prefer Windows 7 here. All I'll say on the matter.

Anyway, for the main topic, I got all this to work after a few false starts yesterday evening, but I'm having trouble flashing the stockemail.zip file from QuantumROM and was wondering if this related to the early issues I saw with people having compatibility issues with Clockworkmod. Any tips?
[Epic 4G Android Development] tokyomonster:
For those curious, this can be done from Linux as well. You can just copy/paste the adb commands from the .bat file, which is what I did. I may format them and change it to a shell script later, but I didn't have time earlier.
[Epic 4G Android Development] sniperkill:
I got it to work when the origional release came out, so it did work. It just took a lot more tinkering around with to get it to work, lol... HOURS!! I seen your posts thruought this thread and your not the only one who had problems... All of us did! So with that being said, I seen your directions on page 11, and if anyone still doesnt understand those steps (Cuz their really easy to understand ), then you should leave this alone... ( not twards you prophour, just to anyone else who cant understand the steps in the OP, or the ones I posted, or the ones you posted!!)...
[Epic 4G Android Development] TurboFool:
Yeah, I'm now getting the following when I try to install anything from Clockworkmod:

E:Failure at line [2, 3, whatever]:

copy_dir PACKAGE:system SYSTEM:

Installation aborted

Thoughts?
[Epic 4G Android Development] TheBurgh:
I appreciate your input but you didn't answer my question. Here's how you can help me. Does the : need to be in the command? I probably know more than you give me credit for...... After all I am running a custom rom. Not much cut and paste there (not an insult)
[Epic 4G Android Development] sniperkill:
Hey Dameon87,

I did a run down adb shell mount on my system and came up with this.. Does this look like it's right??

Microsoft Windows [Version 6.1.7600]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Kevin>cd C:/android-sdk-windows/tools

C:\android-sdk-windows\tools>adb devices

List of devices attached

D700332b8e51 device

C:\android-sdk-windows\tools>adb shell mount

rootfs / rootfs rw,relatime 0 0

tmpfs /dev tmpfs rw,relatime,mode=755 0 0

devpts /dev/pts devpts rw,relatime,mode=600 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,relatime 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

/dev/block/stl6 /mnt/.lfs j4fs rw,relatime 0 0

tmpfs /sqlite_stmt_journals tmpfs rw,relatime,size=4096k 0 0

tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

/dev/block/stl9 /system ext4 ro,relatime,barrier=1,data=ordered,noauto_da_alloc

0 0

/dev/block/stl10 /data ext4 rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=or

dered,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/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,noatime,no

diratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437

,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,noati

me,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=

cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

C:\android-sdk-windows\tools>
[Epic 4G Android Development] leatherneck6017:
It's been stated multiple times in this thread. If you cannot get adb reboot to work, simply boot into the old recovery screen using the 3-button method, go to "advanced" and select "reboot recovery".

If the "prepare.zip" worked, you should now reboot into the new recovery screen.
[Epic 4G Android Development] :
I hope you (sniper) and the OP can understand my original frustration. I wanted to make sure everyone could understand how to do this. I had to see it work with the directions provided so I could help clear up any confusion. Btw I was up for about 36 hours that day. I guess I came off as whining. I just couldn't accept that it wasn't working for me, it also didn't help my disposition when it was said this was beyond my abilities.

Sent from my Samsung Epic™ 4G SERO
[Epic 4G Android Development] :
Every "type:" is an individual command. Every line is a seperate step.

Sent from my Samsung Epic™ 4G SERO
[Epic 4G Android Development] sniperkill:
Hey man, dont worry about it :-) I'm the same way when it comes to leaving things undone, and unfinished, lol... I was trying to stay up to finish also, but my wife was screaming down my neck about goin to bed, lol... So, my wife wouldnt let me, lol... No worries bud!!

LMFAO, everytime I read this post, I crack up laughing cuz it's just like describing myself to the "T"!! Even if I got it to work, If I didnt understand how it worked, or how I got it to work, I'd start over from scratch until I understood it, lol...
[Epic 4G Android Development] sniperkill:
If your typing a command like cd C:/android-sdk-windows/tools then yes the : has to be in the command... Look, just download the ext4.zip in the OP to your desktop, unzip it, and make a new folder called ext4, and drag and drop everything from the ext4.zip file into the new folder. then drag and drop that ext4 new folder you just made, and drop it right onto your C:/ drive. Then after you flash the prepare.zip file, type this command exactly, cd C:/ext4 then hit enter, then type install-ext4.bat and let it do it's thing, then flash the ROM, and then flash the kernel... Boot and enjoy!!

Oh, if you get a error like, "device not found", unplug the usb, then plug it back in and try again
[Epic 4G Android Development] lviv73:
After flashing Quantum rom I cannot use "adb reboot recovery" to get in back in Clockwork 2.5.1.2(stuck at Samsung logo).

My question is:If I format and flash roms using regular Clockwork(not 2.5.1.2) will it format my phone using RFS or it will continue formating and installing roms using EXT4?
[Epic 4G Android Development] sniperkill:
Im not positive, but I think it will use the rfs file system. I THINK cwm 2.5.1.2 is only for ext4... But im not sure... I could be wrong... If you go as far as flashing Quantom ROM, you need to use quickboot, or reboot recovery from inside rom manager in order to get into 2.5.1.2.. Even so, if you made it as far in the instructions for installing ext4 file system to flash the rom, 1st, make sure RIGHT after you flash the rom, you flash the kernel, 2nd, you shouldnt need to reboot into recovery using adb anymore...
[Epic 4G Android Development] TheBurgh:
Very helpful. That's what the community is all about. Thank You for your input.
[Epic 4G Android Development] ZenInsight:
There is no "slang" going on in here. If you don't understand this then I would be VERY scared to try any of it.

PM me if you still have questions.
[Epic 4G Android Development] asj2583:
When boot into recovery does it say version 2.5.1.0 on top? If so go into advance and select reboot recovery. When it reboots it should say 2.5.1.2. Install any mod regularly and it should work.
[Epic 4G Android Development] ZenInsight:
You need to be in Command using ADB when you first boot the phone into recovery to run the prepare zip (which you then do on the on the phone. ADB is just used to get to recovery rather than the 3 finger mode) then CMD on the PC again in order to run the bat file that should be on your phone sd card. You have to be in CWM reboot recovery in order to run the ROM AND the ext4 Kernel zips.
[Epic 4G Android Development] sniperkill:
I had this SAME problem!! The problem is that you do mot have cwm re-direct installed... Start over and Odin DK28, then use one-click-root-and-recovery-v2.2.5 found here http://xdaforums.com/showthread.php?t=770388 and you wont have that error anymore..
[Epic 4G Android Development] TurboFool:
Bingo, thank you.

Uh... that's how I did all of this to begin with. I Odined to stock DK28, installed the one-click with redirect, and then followed all original instructions to a T which would work only if redirect was installed. As far as I'm aware that's not the problem, the problem is that it still doesn't redirect to the special version Dameon made for this.
[Epic 4G Android Development] ZenInsight:
You should be able to use the regular 3 finger mode to get into recovery 2.5.1.0 , and from there advance> reboot recovery to get to 2.5.1.2

I think Dameon is aware that people can't get back to recovery through ADB after going through this process. Not sure if fix is being worked on
[Epic 4G Android Development] asj2583:
Yes, you can do this from midnight 2.1.1.
[Epic 4G Android Development] thomasskull666:
I'm guessing the same thing, after flashing a ROM in 2.5.1.2 and rebooting into recovery, you are back to 2.5.1.0. Old cwm doesn't like ext4 lol

Sent from Carl Sagan through the Cosmos
[Epic 4G Android Development] sniperkill:
You need the redirect, thats your problem cuz I had the same error. I was using the root 2.0.4 which doesnt have the redirect, and I thought it did, but no.. Use this root here http://xdaforums.com/showthread.php?t=770388 and you wont have that problem anymore... Sorry for the double post, lol
[Epic 4G Android Development] sniperkill:
You prolly already know this, but the only way to get into cwm 2.5.1.2 is to use quickboot, or reboot recovery from inside rom manager...
[Epic 4G Android Development] thomasskull666:
Ya I mean those do work, but where's the fun in that? XD. I'm so used to pressing the four hardware buttons to reboot into recovery, I wonder why it doesn't boot into 2.5.1.2 with that method...

Sent from Carl Sagan through the Cosmos
[Epic 4G Android Development] asj2583:
Souldnt cw redirect come with the rom? I came from midnight 2.1.1 and so far the only issue I had is whenever I use the three finger method I boot into cw I boot into version 2.5.1.0. But if I go into advance and reboot recovery ill boot into 2.5.1.2.
[Epic 4G Android Development] TurboFool:
That's what I was running, as I said. I flashed to stock DK28, then installed the latest Clockworkmod with redirect, which is the very one you linked to. Redirect takes me right into Clockworkmod, as it's supposed to. It just doesn't take me into the 2.5.1.2 special version that Dameon made for EXT4.
[Epic 4G Android Development] mattallica76:
If you use the 4 hardware button method, to get into 2.5.1.0, you can then select reboot recovery and it will take you to 2.5.1.2
[Epic 4G Android Development] mattallica76:
Finally got around to installing this just now. Followed OP instructions to a T and it worked first time around. Thanks Dameon. I'm still getting all my apps setup now, so it'l take some time before I get to test battery and performance.

One thing to note, the OP states : AFTER FLASHING THE ROM, YOU MUST FLASH THE KERN-DK28EXT4.zip FILE !!! But this is not the newest kernel. I found the DK28-EXT4Kernel-FINAL.zip deeper in the thread. This is needed to prevent the phone from locking up while charging with the power off.
[Epic 4G Android Development] zman0900:
Ext4 is working great for me with Midnight rom 2.2. Very very fast. Thanks for the great work.

Would it be possible to write the recovery with redbend_ua somehow so it will boot directly into it using the vol-down+camera+power buttons?
[Epic 4G Android Development] rob97ss:
Im getting...ADB is not recognized as an internal or external command,operable program or batch file..What should i check for?Thanks
[Epic 4G Android Development] TurboFool:
Make sure you have ALL of the files from the zip extracted into one folder and that you're running the command FROM that folder. So if you put it in C:\EXT4, then make sure when you're in the command prompt that you've typed "cd C:\EXT4" (no quotes) to be in that directory before running the command.
[Epic 4G Android Development] mrhocuspocus:
Need Help!

im stuck on samsung screen and can only boot into cwm 2.5.1.0 i cant do anything bc .0 doesnt like ext4! What can I do?

advanced > reboot recovery brings me back to 2.5.1.0

Im also getting error device not found in adb.