Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,801 Members 44,406 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
paulobrien
Old
(Last edited by paulobrien; 26th January 2011 at 04:05 PM.)
#1  
paulobrien's Avatar
Senior Member - OP
Thanks Meter 5681
Posts: 4,437
Join Date: Nov 2003
Location: Norwich
Default [KERNEL] 26/Jan r3: MoDaCo Custom Kernel for the Samsung Galaxy Tab


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
Follow me on Twitter - http://twitter.com/paulobrien

Follow MoDaCo Android on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

The Following 21 Users Say Thank You to paulobrien For This Useful Post: [ Click to Expand ]
 
paulobrien
Old
(Last edited by paulobrien; 26th January 2011 at 03:59 PM.)
#2  
paulobrien's Avatar
Senior Member - OP
Thanks Meter 5681
Posts: 4,437
Join Date: Nov 2003
Location: Norwich
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
Follow me on Twitter - http://twitter.com/paulobrien

Follow MoDaCo Android on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

The Following User Says Thank You to paulobrien For This Useful Post: [ Click to Expand ]
 
crisvillani
Old
#3  
Senior Member
Thanks Meter 155
Posts: 1,189
Join Date: Oct 2009
Location: Toronto

 
DONATE TO ME
Looks good!

Great too see you here!
Nexus 4 : AOSPAL
 
TheGrammarFreak
Old
(Last edited by TheGrammarFreak; 23rd January 2011 at 04:11 PM.)
#4  
TheGrammarFreak's Avatar
Senior Member
Thanks Meter 684
Posts: 2,805
Join Date: Jul 2010
Looking forward to the first MCR!

Does the RFS version include CWM?
Nexus 4: CM10.2
Nexus 7: CM10.2

Twitter | Blog
 
bert269
Old
#5  
Senior Member
Thanks Meter 20
Posts: 599
Join Date: Jul 2007
Location: Renton, WA, USA
Default 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!
Note 10.1 2014White 32gb + 64GB SD cl10 with ML1 ,TWRP 2.4.3.0

TMO M919/ + 64GB SD/cl10 with 4.4.2 (Insane V9) ,TWRP 2.7.0.1

TMO Vibrant - Send to family in South Africa, Root, CWM 5.0.2.3,

Retired G116gb cl6,Radio: 2.22.23.02
 
rmanaudio
Old
#6  
Senior Member
Thanks Meter 9
Posts: 205
Join Date: Aug 2010
Location: GTA
Testing it now on Roger/AT&T GSM Tab i987.

It is backing up and converting to ext4 right now.
i9000M, i9100M, i747M & P1000 TAB
 
Bauxite
Old
#7  
Senior Member
Thanks Meter 126
Posts: 557
Join Date: Jan 2011
It would be helpful if you put GSM in the title, or Euro for that matter, if that's the case.
 
acolwill
Old
#8  
acolwill's Avatar
Senior Member
Thanks Meter 61
Posts: 247
Join Date: Dec 2008
Location: In your bank, sharding your purplz
Cheers Paul,

Will give the EXT4 a whirl once I work out the pros/cons
Get 500mb extra Dropbox space! Sign up here...

Phone History: Various Nokia's -> HTC Touch Diamond -> HTC Hero -> HTC Desire -> ZTE Blade -> Samsung Galaxy SII
Tablet History: Samsung Galaxy Tab GT-P1000 -> Samsung Galaxy Tab GT-P6200



 
rmanaudio
Old
(Last edited by rmanaudio; 23rd January 2011 at 05:14 PM.)
#9  
Senior Member
Thanks Meter 9
Posts: 205
Join Date: Aug 2010
Location: GTA
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.
i9000M, i9100M, i747M & P1000 TAB
 
DeiphoneaAndroid
Old
#10  
Member
Thanks Meter 15
Posts: 82
Join Date: Aug 2010
Let's give it a shoot :)

Sent from my GT-P1000 using Tapatalk

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes