Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[KERNEL] 26/Jan r3: MoDaCo Custom Kernel for the Samsung Galaxy Tab

OP paulobrien

23rd January 2011, 04:57 PM   |  #1  
paulobrien's Avatar
OP Senior Member
Flag Norwich
Thanks Meter: 5,685
 
4,437 posts
Join Date:Joined: Nov 2003

If you've been following my Twitter feed, you will have noticed i've finally started playing with (and enjoying) my Tab.

I've been playing with ROM updates, ClockworkMod recovery and other bits and bobs, and here is the first fruit of my labour - MoDaCo Custom Kernel r1 for the Samsung Galaxy Tab.

What? Why?

Koush has posted his EXT4 converting ClockworkMod release / kernel at XDA-Developers, however unfortunately it breaks a fair few things on the latest ROMs for international Tabs - keyboard backlights, rotation, camera and a few other bits. So, I set about compiling up my own kernel using Samsung's source, with the aim of including all of Koush's great additions plus the usual TUN and CIFS modules, as well as including things like IKCONFIG to make kernel development easy for others (particularly as I plan to upload the whole lot to github). As well as releasing for EXT4 / ClockworkMod, i've packaged it for standard RFS ROMs. The kernel / ramdisk is 'insecure' (for adb remount etc.).

This turned out to be somewhat traumatic due to the 'update1' Samsung source refusing to work on my device, but I got there in the end. So this is a prelude to the MoDaCo Custom ROM... my MoDaCo Custom Kernel.

Requirements

This kernel has been tested on a number of Tabs running a number of different ROMs with no issues. It comes in two versions - a simple 'RFS' version to use with a regular ROM, or the 'EXT4 ClockworkMod' version if you already have (or wish to) convert to EXT4.

In order to use either kernel you need to be familiar with flashing via Odin or Heimdall, although you could in theory extract the TAR file and flash using 'flash_image' I guess.

If you plan to do the EXT4 conversion, you MUST have a microSD inserted with enough space to do a backup of your system / data partitions (so this will depend on how much data is on your device).

YOU SHOULD BACKUP BEFORE INSTALLATION OR BE FAMILIAR USING ODIN / HEIMDALL FOR FULL SYSTEM RECOVERY IN CASE OF A SERIOUS ISSUE. YOU USE THESE DOWNLOADS AT YOUR OWN RISK!

This kernel is ONLY tested on a UK Galaxy Tab. It MAY work on other GSM Tabs, it almost certainly WON'T work on a CDMA Tab. If you have a non UK Tab and want to test (and know how to flash back to a regular version), then go ahead and report your results. At your own risk.

How to

RFS version

To use the RFS version (i.e. you have not converted to EXT4 yet and don't wish to)...
  • Download the RFS TAR file from below
  • Flash using ODIN (version 1.7, do not select the 'repartition' option)
  • Reboot, you're done!
  • Optionally download the kernel modules zip (for TUN/CIFS) and copy to a location of your choice
Simple huh?

EXT4 version

To use the EXT4 version (i.e. you are already running EXT4 or you wish to convert)...
  • Download the EXT4 TAR file from below
  • Flash using ODIN (version 1.7, do not select the 'repartition' option)
  • IF YOU NEED TO UPGRADE TO EXT4: Your device won't reboot normally - that's OK, just turn it off (hold down power button for 5 seconds)
  • IF YOU NEED TO UPGRADE TO EXT4: Load recovery - turn the device on with 'volume up' held
  • IF YOU NEED TO UPGRADE TO EXT4: Your device will now perform the EXT4 conversion - depending on the volume of your data, this can take a while, so be patient
  • Reboot, you're done!
  • Optionally download the kernel modules zip (for TUN/CIFS) and copy to a location of your choice
Downloads

DOWNLOAD

And finally

I hope this is usual for everyone - i've found this is a real performance boost (particularly with the newest ROMs) and I look forward to rolling MCR out for the Tab! I'll have the kernel in GitHub soon, after which i'll post the URL here.

Enjoy!

P
Last edited by paulobrien; 26th January 2011 at 05:05 PM.
The Following 21 Users Say Thank You to paulobrien For This Useful Post: [ View ]
23rd January 2011, 04:57 PM   |  #2  
paulobrien's Avatar
OP Senior Member
Flag Norwich
Thanks Meter: 5,685
 
4,437 posts
Join Date:Joined: Nov 2003
Changelog

r3 26/Jan
  • Additional governor / scheduler options
  • Battery icon fix for when device is powered off
  • Other minor tweaks
r2 24/Jan
  • Set default governor to 'on demand'
  • Added Fuse module (by request)
  • MCK version now shown in about
  • Updated compiler
  • EXT4 performance tweaks
r1 23/Jan
  • Initial release
Last edited by paulobrien; 26th January 2011 at 04:59 PM.
The Following User Says Thank You to paulobrien For This Useful Post: [ View ]
23rd January 2011, 05:05 PM   |  #3  
Senior Member
Flag Toronto
Thanks Meter: 155
 
1,196 posts
Join Date:Joined: Oct 2009
Donate to Me
More
Looks good!

Great too see you here!
23rd January 2011, 05:05 PM   |  #4  
TheGrammarFreak's Avatar
Senior Member
Thanks Meter: 685
 
2,809 posts
Join Date:Joined: Jul 2010
More
Looking forward to the first MCR!

Does the RFS version include CWM?
Last edited by TheGrammarFreak; 23rd January 2011 at 05:11 PM.
23rd January 2011, 05:43 PM   |  #5  
Senior Member
Flag Renton, WA, USA
Thanks Meter: 21
 
620 posts
Join Date:Joined: Jul 2007
More
On what versions will this work?
Thanks for the effort you put into this. Can you please tell on what version the base Tab must be, to make this kernel work? And also, if it will work with the protected bootloaders?

Thanks again!
23rd January 2011, 05:49 PM   |  #6  
Senior Member
Flag GTA
Thanks Meter: 9
 
205 posts
Join Date:Joined: Aug 2010
More
Testing it now on Roger/AT&T GSM Tab i987.

It is backing up and converting to ext4 right now.
23rd January 2011, 05:57 PM   |  #7  
Senior Member
Thanks Meter: 127
 
557 posts
Join Date:Joined: Jan 2011
More
It would be helpful if you put GSM in the title, or Euro for that matter, if that's the case.
23rd January 2011, 05:59 PM   |  #8  
acolwill's Avatar
Senior Member
Flag In your bank, sharding your purplz
Thanks Meter: 61
 
249 posts
Join Date:Joined: Dec 2008
More
Cheers Paul,

Will give the EXT4 a whirl once I work out the pros/cons
23rd January 2011, 06:11 PM   |  #9  
Senior Member
Flag GTA
Thanks Meter: 9
 
205 posts
Join Date:Joined: Aug 2010
More
Confirmed that it works for NA GSM Tabs. Converted everything over to ext4 and working.

No real increase in speed really. Quadrant scores are about the same...around 1000.

Gallery has some glitches were it does not show pictures the first time...have to exit and come back in.
Last edited by rmanaudio; 23rd January 2011 at 06:14 PM.
23rd January 2011, 06:23 PM   |  #10  
Member
Thanks Meter: 15
 
82 posts
Join Date:Joined: Aug 2010
Let's give it a shoot :)

Sent from my GT-P1000 using Tapatalk

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes