EXT4 on DK28? - Epic 4G General

Can I run ext4 file system on leaked Froyo with no custom rom? I've searched but cant find exact answers. If so is there a how to i'm missing or can somebody please explain how?

I think the rom has to built to run it but I am like you I'm not sure. The best thing to do is do is try and if it doesn't work just odin back to stock and start over.
Sent from my SPH-D700 using XDA App

You need to get either the ext4 kernel or the dual fs kernel.
I would suggest going to this thread and doing the conversion the original way. Then flash something like the original acs-dk28 and finish with an ext4 compatible kernel. It is easier than it sounds. Just remember not to reboot after converting to ext4 until you have an ext4 kernel on there or you'll have to odin back and start over.

Related

How do I get clockwork 2.5.1.2 back when I'm already in ext4? (solved)

So I have been on ext4 for a few days using quantum 2.5. Everything was working as expected there with clockworkmod 2.5.1.0 and 2.5.1.2 installed and available. This morning, I tried flashing the new midnight rom, but my file was corrupted so I went back to Mammon's Bonsai4All 1.0.4 with an ext4 kernel. Now, I can't get back into cwm 2.5.1.2. Bonsai4All should have a working recovery redirect, so I'm guessing I need to reinstall 2.5.1.2. The problem is, I can't flash the prepare.zip to ext4 with 2.5.1.0. So the question is, what do I need to push to the phone to get the modded recovery back? I have the prepare.zip and all other files from the onelickext4 1.3 and I'm not afraid of adb or using the terminal on my phone.
Boot into recovery. Goto advance. Select reboot recovery. That should bring you to v where you wanna be. If it don't then its time to odin
Sent from my SPH-D700 using Tapatalk
If you boot into CWM then go to advanced then reboot recovery that should put you in 2.5.1.2
Beat me to it.
mysteryemotionz said:
Boot into recovery. Goto advance. Select reboot recovery. That should bring you to v where you wanna be. If it don't then its time to odin
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
The problem is, that when I reboot recovery, it brings me back to 2.5.1.0. I have a working phone right now, so I don't feel like using Odin again, yet.
It seems like there should be a way to get the correct recovery back on the phone with the terminal or adb. I've only been using android since October, so it is taking some work to learn how everything is done in the android world. Luckily, I went to school for programming on linux, but I'm a little rusty.
found this tidbit in an the ext4 thread over at ppcgeeks
Please note that until other ROMs add support (namely the new recovery binary in /system/bin/recoveryfiles) I cannot guarantee recovery will function properly
Click to expand...
Click to collapse
So I'm going to try pushing the recovery file from the prepare.zip and see if that works.
edit: It works! I'm getting errors from missing bitmap files, but that should be pretty simple to copy over as well.
Bonsai4All 1.0.4 does not support ext4. I'm surprised your phone even boots, which leads me to believe that you may still be rfs.
DiGi760 said:
found this tidbit in an the ext4 thread over at ppcgeeks
So I'm going to try pushing the recovery file from the prepare.zip and see if that works.
Click to expand...
Click to collapse
Midnight has those files already
Sent from my SPH-D700 using Tapatalk
You could download the QuickBoot app from the Market. Selecting Recovery from within the app automatically boots the phone into Clockwork 2.5.1.2
siphuyoda said:
You could download the QuickBoot app from the Market. Selecting Recovery from within the app automatically boots the phone into Clockwork 2.5.1.2
Click to expand...
Click to collapse
He can't boot up so how would he get a app
Sent from my SPH-D700 using Tapatalk
You all misunderstand.
I can boot just fine. I was on Quantum 2.5 and switched to Bonsai4All 1.0.4, which was pre-ext4. I installed the ext4 kernel at the time of flashing, so the phone works.
No matter how I got into recovery after installing Bonsai4All, it went to 2.5.1.0. That includes using quickboot or reboot recovery from within recovery. And I can't flash anything with 2.5.1.0 since it won't flash to ext 4.
How I fixed it:
1. Remount as rw
2. Copy /system/bin/recoveryfiles/recovery and /system/bin/recoveryres/* from the prepare.zip to my phone.
3. Remount as ro
And voila! Now I can get into 2.5.1.0 and 2.5.1.2.
Check.to make sure you do indeed have ext4 working by using adb shell. I just don't see how the phone booted on bonsai if you have ext4 installed.
Sent from my Evo killer
I too have epic experience 2.0.07 working with ext4. I actually have the same problem he's having so I'm gonna try his method. It boots up fine and and works but can't get into CW 2.5.1.2. Funny thing is I can still flash zip files through regular CW. Probably because they're not roms. I've checked through adb and and it says I'm using ext4. I can also tell the differance to. My quadrant score is like 1536. I know quadrant it ain't real world but the dev of midnight rom has a video in his blog showing the differance. I'm pretty close to what he got.
Sent from my SPH-D700 using XDA App
musclehead84 said:
Check.to make sure you do indeed have ext4 working by using adb shell. I just don't see how the phone booted on bonsai if you have ext4 installed.
Sent from my Evo killer
Click to expand...
Click to collapse
The new Dual Kernel maybe? It bridges the gap between the two file systems.
musclehead84 said:
Check.to make sure you do indeed have ext4 working by using adb shell. I just don't see how the phone booted on bonsai if you have ext4 installed.
Sent from my Evo killer
Click to expand...
Click to collapse
You can make other DK28 roms work with ext4 by flashing an ext4 compatible kernel after flashing the rom. If I had just tried to flash bonsai without an ext4 compatible kernel, it would freeze at the samsung screen and I would have to Odin out of it. I made that mistake once already when I stopped paying attention to what I was doing.
It says (solved) but I don't see the solution. guess that means I'm still an android n00b.
Stuck at SAMSUNG screen (Help!)
I had CWM3 and EXT4
I flashed Quantum Rom 2.7
tried to flash Nebula Rom 1.6 but it didn't take cuz of EXT4
I flashed ReRFS.Format.ROM.DK28-signed.zip to bring me back to RFS
reboot - hangs at SAMSUNG splash
reboot back into recovery, now 2.5.1.0
tried flashing Nebula Rom 1.6 - but reboot still hangs at SAMSUNG
tried flashing Quantum Rom 2.7 - but reboot still hangs at SAMSUNG
tried Odin, but I don't know what to do with Odin except flash the DK28 modem, so I did that, but it didn't help
so I'm basically trying a bunch of crap without knowing what I am doing, and as fun as this is - I'm kinda stuck - just going in circles
plus I keep seeing "E:can't open /cache/recovery/log" while in ClockworkMod Recovery 2.5.1.0 - and when I do the Reboot Recovery as people have said to make it go to 2.5.1.2, it still just hangs at the SAMSUNG splash...
I found SPH-D700-DK28-8G-REL.tar.md5 and flashed that and now I'm back in business - **phew**
Cobaltikus said:
It says (solved) but I don't see the solution. guess that means I'm still an android n00b.
Stuck at SAMSUNG screen (Help!)
I had CWM3 and EXT4
I flashed Quantum Rom 2.7
tried to flash Nebula Rom 1.6 but it didn't take cuz of EXT4
I flashed ReRFS.Format.ROM.DK28-signed.zip to bring me back to RFS
reboot - hangs at SAMSUNG splash
reboot back into recovery, now 2.5.1.0
tried flashing Nebula Rom 1.6 - but reboot still hangs at SAMSUNG
tried flashing Quantum Rom 2.7 - but reboot still hangs at SAMSUNG
tried Odin, but I don't know what to do with Odin except flash the DK28 modem, so I did that, but it didn't help
so I'm basically trying a bunch of crap without knowing what I am doing, and as fun as this is - I'm kinda stuck - just going in circles
Click to expand...
Click to collapse
Clarification on how I solved my problem is below. I had a usable phone the entire time, I just didn't have the cwm I needed.
It almost sounds like a your problem is a kernel issue, except you have it with so many roms. There may have been an error in the file system conversion somewhere that is causing you trouble. You don't usually get the "E: can't do whatever" error if your cwm is compatible with your file system.
My suggestion to you would be to Odin back to a good image. You do it basically the same as doing the modem. Uncheck everything on the left. Put your .pit in the pit section. Put your .tar file (or .tar.md5) into the box that says pda (the first box). Then, plug your phone in and flash.
After that, you can run the one-click root and recovery to get root and cwm 2.5.1.0 back. Then you can start playing again. Remember, if you use ext4 then you must have an ext4 compatible kernel. If you use rfs, you must use an rfs compatible kernel. You can use any rom on ext4 if you flash an ext4 kernel immediately after you flash the rom and before you reboot the phone. If you forget to do the kernel, you will hang at the samsung screen. Some roms are ext4 or rfs only, and some have a dual file system kernel. Currently, you can mix and match any dk28 kernel with any dk28 rom. Don't try to mix kernels and roms from different builds, though.
Now for further clarification on how I got 2.5.1.2 back when using a rom that didn't have it baked in:
DiGi760 said:
How I fixed it:
1. Remount as rw
2. Copy /system/bin/recoveryfiles/recovery and /system/bin/recoveryres/* from the prepare.zip to my phone.
3. Remount as ro
And voila! Now I can get into 2.5.1.0 and 2.5.1.2.
Click to expand...
Click to collapse
I guess my solution was about as clear as mud. In order to do this, it helps to be somewhat comfortable using a command line.
I used the prepare.zip that was a part of the original ext4 conversion to get the recovery files. When you open the prepare.zip it has the standard flashable zip structure and is organized according to where the files are supposed to end up on your phone. Open the zip, open the system folder, open the bin folder and copy the folder named "recoveryres" to your sd card. Then open the "recoveryfiles" folder and copy a file named "recovery" to your card as well. Put these files somewhere easy to find, like a folder named "cwm" at the root of your card.
Next, use a terminal emulator to remount your phone to rw so you can write to the protected areas. Most of our roms included a small remount script, so all you have to do is type "remount rw" without the quotes. Later you will use "remount ro" to make things read only again.
Now, you're going to copy those files that you got from the prepare.zip to their proper places on your phone. You did leave them somewhere easy to find, right?
Copy "recovery" to /system/bin/recoveryfiles/ and copy the "recoveryres" folder to /system/bin/. You may have to watch and make sure it doesn't skip any files when copying the recoveryres folder.
After that, remount ro and you are done.

Question about ext4

So I was wondering if the ext4 only works with roms or how can I get it to work with my stock rom that's rooted. I like the stock two launcher with the dk28 and I want to keep it like that. Thanks for your help in advance
Sent from my SPH-D700 using XDA App
Most ROMS will indicate if they have ext4 support or not. Read the release notes and see if they mention ext4. If they mention ext4 in the title, they do support it. If in doubt, post a question about it in the thread to ask the developer if they do and if not, if/when will they get it.
To get ext4, just use Daemon's CWM3 method to upgrade to ext4 and then flash an ext4 ROM.
Sent from my SPH-D700 using XDA App
Follow the instructions in the ext4 thread to convert to ext4. Then, flash your dk28 from clockwork, followed immediately by flashing a kernel that supports ext4.
Ok thanks for your help ill try that
Sent from my SPH-D700 using XDA App
Just remember to flash the kernel after the rom and before you reboot the phone and you'll be fine.
The kernel may only be available with the older amend scripts so you may need to use clockwork 2.5.1.0 and 2.5.1.2 to flash it.
Make sure you have the recovery redirector installed. If you have run the one-click root and recovery v2.5.5, then you have it.
Get the the one click ext4 from this thread. It says this method is deprecated, but it works just the same. Read the instructions before you do anything with it. Get the dual file system kernel from this thread.. And you can use noobnl's pre-rooted and redirected DK28 from this thread.
Since you are still on DK28, I would flash the prepare.zip, reboot to 2.5.1.2, run the one-click .bat file, flash dk28, flash the kernel, and tTHEN reboot. Then you will probably need to either reinstall cwm 2.5.1.2 (using the prepare.zip) or go ahead and install cwm 3. It sounds complicated, but it isn't that bad. Waiting for everything is the worst part.
DiGi760 said:
Just remember to flash the kernel after the rom and before you reboot the phone and you'll be fine.
The kernel may only be available with the older amend scripts so you may need to use clockwork 2.5.1.0 and 2.5.1.2 to flash it.
Make sure you have the recovery redirector installed. If you have run the one-click root and recovery v2.5.5, then you have it.
Get the the one click ext4 from this thread. It says this method is deprecated, but it works just the same. Read the instructions before you do anything with it. Get the dual file system kernel from this thread.. And you can use noobnl's pre-rooted and redirected DK28 from this thread.
Since you are still on DK28, I would flash the prepare.zip, reboot to 2.5.1.2, run the one-click .bat file, flash dk28, flash the kernel, and tTHEN reboot. Then you will probably need to either reinstall cwm 2.5.1.2 (using the prepare.zip) or go ahead and install cwm 3. It sounds complicated, but it isn't that bad. Waiting for everything is the worst part.
Click to expand...
Click to collapse
So I have all the files on my sd card the prepare.zip the ext4 formate.zip and the dk28ext4 kernal.zip even though I have this kernal I have to use a rom that's ext4 frendly thanks for your help
Sent from my SPH-D700 using XDA App
Estewa_619 said:
So I have all the files on my sd card the prepare.zip the ext4 formate.zip and the dk28ext4 kernal.zip even though I have this kernal I have to use a rom that's ext4 frendly thanks for your help
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Yes the rom has to be ext4 compatable. Make sure you flash the kernel after the rom.
musclehead84 said:
Yes the rom has to be ext4 compatable. Make sure you flash the kernel after the rom.
Click to expand...
Click to collapse
Ok cool thanks for the help
Sent from my SPH-D700 using XDA App
So what's a good rom to use with ext4 I want a rom that still keeps the stock tw launcher that comes stock on dk28 any input please. Also if u have screen shots or if there's a video on it would be great. Thanks again
Sent from my SPH-D700 using XDA App

Cwm3 question

so I already have nebula rom with ext4 and cwm2.5.1.2 and a lot of new roms say they need cwm3 to flash them is there a way to get cwm3 without having to flash back to stock and do the new 1 click root? Thanks for your input in advanced
Sent from my SPH-D700 using XDA App
I just used the new one click root that installs the new cwm to get it installed onto my phone.Then if your not converted to ext4 yet just boot into cwm and it will convert over all the file systems to ext4.

Looking for ClockworkMod 2.5.1.2 to flash over 2.5.1.0. Just can't seem to find it.

A link or a file, either would be great. I keep finding CW 3.x and 2.5.1.0, but never 2.5.1.2 for Epic. Please, someone point the way.
Many thanks.
To get to .2 boot into clockwork go to advanced and reboot recovery. That should put you into .2
Sent from my SPH-D700 using XDA App
This thread is where you need to go. Get the one-click ext4 zip. Inside it is a file called prepare.zip. Flash prepare.zip to add 2.5.1.2 to your phone if the rom you have doesn't already have it. Then, if you death-grip into recovery, you will see 2.5.1.0. Select advanced->reboot recovery to reboot into 2.5.1.2.
Thank you guys. I do need to flash since I never have flashed 2.5.1.2 prior.
I also found a similar file inside the viper 4.0.2b ROM package.
Follow up question, inside the flash, in addition to the recovery files, I see:
/system/etc/mke2fs.conf
/modules/ext4.ko
/modules/jbd2.ko
I presume these are for ext4. I plan to stay with RFS for now. I was looking for 2.5.1.2 because I want to use the latest Bonsai ROM (coming from stock DK28) and it seems to call for it, even with RFS. Will these extra files cause any issues later?
Thanks again.
I don't think that is going to work with Bonsai! 2.0.0 or > howeverif it does work please post your results in the bonsai4all thread
Sent from my SPH-D700 using Tapatalk
Top Nurse said:
I don't think that is going to work with Bonsai! 2.0.0 or > howeverif it does work please post your results in the bonsai4all thread
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
Thanks for pointing this out. I mis-read the post. In the original post, while beneath the "Latest News", it is written that RFS not supported in V2.0, immediately below that, under "Next Release News", it is written that "No more RFS...". Based on "Next Release", I thought it would be the version after the current. That, along with the instructions on the second post for RFS, I falsely figured...
I guess it's all for not.
I am stuck at SAMSUNG anyhow (after Reboot Recovery from 2.5.1.0). Can't get to 2.5.1.2...
Edit: On the Stuck on SAMSUNG issue, I re-flashed the latest 1-click from HERE, then re-flashed the .2 prepare/flash first .zip, and all is good. I can get into .2 now.
So the big question is whether you can create a swap disk with 2.5.1.2?
Sent from my SPH-D700 using Tapatalk
I flashed 2.0.1 with no problem using 2.5.1.2 but i was already converted to ext4. Flashing it would put you on ext4 and add cwm3
now that I know how to update it to 2.5.1.2 my question is-
should I?
I have no real reason to do so. I don't intend to do any further modifications to my ROM, just going to stick with the pre-rooted 2.2 I have. Would there be any benefit to updating CWM in this case?
The only reason to get 2.5.1.2 was to be able to flash to ext4. And then cwm 3 simplified the conversion to ext4. If you don't intend to convert to ext4, then there is no reason to get anything other than 2.5.1.0.
nixo31 said:
I flashed 2.0.1 with no problem using 2.5.1.2 but i was already converted to ext4. Flashing it would put you on ext4 and add cwm3
Click to expand...
Click to collapse
It adds ext4 and negates the need for cwm3 iirc.
Sent from my SPH-D700 using Tapatalk

[Q] Filesystem

Just got my GF a Glacier yesterday and I'm curious.. What filesystem does HTC use on /system /cache /data and /dbdata?
The stock ROM is Froyo (Android 2.2.x), I understand its filesystems are EXT2. Gingerbread (Android 2.3) uses EXT4.
Thanks. Nice to know HTC doesnt stick people with crappy filesystems like Samsung does.
Just a correction, and a clarification.
Correction: I mistyped. Froyo uses EXT3, the journalled version of EXT2. But EXT2/3 are the same when the filesystem is at rest.
Clarification: Should you elect to install a custom ROM, have a care to flash the right version of ClockworkMod Recovery to do your nandroid backups, restores, and ROM installs. CWMR version 2.x is for EXT3 filesystems, and CWMR version 3.x is for EXT4 filesystems, and they are not compatible.
There is an MT4G-unique version of CWM Recivert produces by Option94, our forum mod, which can deal with both EXT3 and EXT4 filesystems correctly. It goes by the name "Version 3.0.0.6" and there are a couple of threads about it in the development subforum. If you are switching back and forth between Froyo and Gingerbread, it is an easier way to go.
Nice. I won't be converting her filesystem because frankly she wont notice . Good bit of knowledge to have though, thanks!
regP said:
Nice. I won't be converting her filesystem because frankly she wont notice . Good bit of knowledge to have though, thanks!
Click to expand...
Click to collapse
The reason they mentioned the different Recovery image for file systems is this. FroYo which is Ext3 will only use the older 2.5.x.x recovery images. IF you want to move to Gingerbread you will have to load a recovery image that handles Ext4 systems, which is Recovery Image 3.0.0.5.
you cannot flash 2.3 ROMs with a 2.5.x.x recovery image, nor can you restore back to a 2.2 ROM using 3.0.0.5.... you end up with a bootloop problem.
Now if you want to do both and not have to worry about the recovery image use 3.0.0.6, which a link can be found in my signature.
neidlinger said:
The reason they mentioned the different Recovery image for file systems is this. FroYo which is Ext3 will only use the older 2.5.x.x recovery images. IF you want to move to Gingerbread you will have to load a recovery image that handles Ext4 systems, which is Recovery Image 3.0.0.5.
you cannot flash 2.3 ROMs with a 2.5.x.x recovery image, nor can you restore back to a 2.2 ROM using 3.0.0.5.... you end up with a bootloop problem.
Now if you want to do both and not have to worry about the recovery image use 3.0.0.6, which a link can be found in my signature.
Click to expand...
Click to collapse
I get you. Don't plan on doing any flashing on that phone. Was just curious as to what the default system was for the 4g. Thanks for all the info it def may come in handy some day.

Categories

Resources