New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
coolya Old
(Last edited by coolya; 3rd July 2011 at 07:37 PM.)
#1  
Guest
Thanks Meter
Posts: n/a
Lightbulb [KERNEL] Gingerbread with EXT4 support and FS converter

Code:
#include <std_disclaimer.h>
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */
As many people where demanding a Ext4 Kernel I created one and added a Filesystem conversion script.

This does only work on Gingerbread ROMs cause the bootloader is different!
On Froyo it will cause the device not to boot into the normal android system. Don't flash it if you are not on a Gingerbread ROM.
I have tested it with KPH but it should work on all Gingbread ROMs that have a updated bootloader.

FS converter? WTF???
This converts (formats) all your internal partitions (system, data, cache) with Ext4.
This way you don't have to use RFS which performance is pretty poor.

How to install?
  1. Install CWM (there some threads here how to do this)
  2. Make a Nandroid backup of your system (this is essential otherwise all your data will be lost!!!)
  3. Install the ext4-update.zip (this will format your partition into EXT4 and flash a new Kernel)
  4. Go into "mounts and storage" -> unmount cache (if it is mounted)
  5. Go to "backup and restore" -> "advanced restore"
  6. Choose the backup you made before -> Restore System & Data (cache is not needed it is rebuild on the next reboot)
  7. Reboot
  8. Don't panic (it will take some time to rebuild the dalvik cache,
    just like the first boot after you flashed a new rom with ODIN)

Follow those instructions otherwise all your data will be lost and i make fun of you!

This will install a Kernel that has EXT4 support and a modified init.rc to mount both ext4 and rfs partitions.

Ok enough talked, where can I get this ****? Here MD5: 369808990ff8d45065f0cdd8fbb3f8b8


WTH you bricked my Phone
This is impossible. Except your CWM is buggy. You phone doesn't boot up, you are stucked at the samsung logo?
Ok then we need some information from you. Did you hear the start-up sound the the samsung logo player?
How long did you wait?
Try to adb to the phone and give me the output from "mount" and "logcat" on pastebin.com pls.
Please tell us witch rom you were running. I am not sure if this will work with any custom rom cause i only tested stock
You can fully revert by flashing a Full ROM with ODIN. Then install cwm and restore the backup you created before.


How did you create this?
I simply build the kernel source added Ext4 support. Kernel source is on github
Then I created a new initramfs by dumping the stock one doing the modifications and repacking it. The Initramfs is also on github. This should help anyone of you trying to the some on your custom kernel.
The Following 15 Users Say Thank You to For This Useful Post: [ Click to Expand ]
 
OiToBi
Old
#2  
OiToBi's Avatar
Senior Member
Thanks Meter 30
Posts: 282
Join Date: Apr 2011
Cool dude ....
Is this a OC kernel ?>???
Nice work dude for this 1 ....
Appreciate ur work
Samsung Galaxy S3



 
adil_
Old
#3  
Senior Member
Thanks Meter 108
Posts: 466
Join Date: Jun 2011
Location: Bagalkot, India.
Great work...
Getting ext4 support means it will format the sd card fully or just creates a partition with the free memory left in the sd card?

Sent from my GT-S5830 using XDA App
Nexus 4 : ParanoidAndroid3+, franco.kernel.
Galaxy Ace : Cyanogenmod10.1.
Funbook : Stock
coolya Old
#4  
Guest
Thanks Meter
Posts: n/a
Quote:
Originally Posted by Aadigoku13 View Post
Cool dude ....
Is this a OC kernel ?>???
Nice work dude for this 1 ....
Appreciate ur work
nope nothing touched except FS support. I think i won't add anything like that cause it want to save my time to work on CyanogenMod. But everyone feel free to modify the source and do it :)
coolya Old
#5  
Guest
Thanks Meter
Posts: n/a
Quote:
Originally Posted by adiles View Post
Great work...
Getting ext4 support means it will format the sd card fully or just creates a partition with the free memory left in the sd card?

Sent from my GT-S5830 using XDA App
it does not touch your sd card. it simply formats the internal partitions to ext4.
 
digkong
Old
(Last edited by digkong; 3rd July 2011 at 04:18 PM.)
#6  
Senior Member
Thanks Meter 88
Posts: 610
Join Date: Jan 2011
Location: bangalore
hot bro just waited for this......
waiting to see your other work....
and what is FS converter????sry for noob question..
[SIGPIC]
 
Grif_07
Old
#7  
Senior Member
Thanks Meter 473
Posts: 166
Join Date: Jun 2011
Location: Mukachevo
Quote:
Originally Posted by coolya View Post
nope nothing touched except FS support. I think i won't add anything like that cause it want to save my time to work on CyanogenMod. But everyone feel free to modify the source and do it :)
Are you working on CM for ACE? Thx for kernel, nice work. )
 
fzn0268
Old
#8  
Junior Member
Thanks Meter 0
Posts: 10
Join Date: Jun 2011
There is no RFS filesystem's source in your source, how do you compile a kernel supporting RFS?
 
tj_style
Old
#9  
tj_style's Avatar
Recognized Developer
Thanks Meter 1313
Posts: 808
Join Date: May 2010
Location: Gadog - Bogor
Quote:
Originally Posted by fzn0268 View Post
There is no RFS filesystem's source in your source, how do you compile a kernel supporting RFS?
samsung just give we modules for rfs support.
it included in boot.img

G+: tjstyle Github: tjstyle Twitter: tj_style

Like my work? Please award it with some donation..
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7JHEY7QERQUWU
 
downloadonlyaccount
Old
#10  
Senior Member
Thanks Meter 52
Posts: 289
Join Date: May 2011
what are the advantages of using EXT4 as filesystem?

The Following User Says Thank You to downloadonlyaccount For This Useful Post: [ Click to Expand ]
Tags
ext4, galaxy ace, gt-s5830, kernel, rfs