Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,807,727 Members 52,612 Now Online
XDA Developers Android and Mobile Development Forum

[24.APR.2011][KERNEL] AA 0.6 OC [ext2/3/4,cifs,reiserfs,btrfs,nilfs,utf8][MAGLDR/cLK]

Tip us?
 
arif-ali
Old
(Last edited by arif-ali; 24th April 2011 at 08:13 PM.) Reason: 0.6 Added
#1  
arif-ali's Avatar
Recognized Developer - OP
Thanks Meter 1,640
Posts: 1,001
Join Date: Nov 2007
Location: Sheffield

 
DONATE TO ME
Default [24.APR.2011][KERNEL] AA 0.6 OC [ext2/3/4,cifs,reiserfs,btrfs,nilfs,utf8][MAGLDR/cLK]

Use at your own risk, overclock at your own risk - I'm not responsible for damage to your device

The kernel used in this ROM is based on MDJ S9.2, and have ported it, and have patched to the latest upstream with the relevant fixes

The git is available here, check logs and diffs for the changes made. There is a neat build script to get it compiled for yourself if you want as well in Linux or cygwin. I am using the test branch at the moment.

Quote:
Howto cLK (kernel_aa_X.X.zip)
  1. Download kernel
  2. Unzip archive
  3. run script.sh (linux) or script.bat (windows) to copy over the kernel modules to your phone (make sure adb is in your path)
  4. grab the initrd.gz from your current rom
  5. then, either
    • reboot phone into fastboot by holding the back key
    • run "fastboot -c "" -b 0x11800000 flash:raw boot zImage initrd.gz"
  6. or
    • make boot.img by using "mkbootimg --kernel zImage --ramdisk initrd.gz --cmdline "console=null" --base 0x11800000 -o boot.img"
    • adb push boot.img /sdcard/
    • adb shell flash_image boot /sdcard/boot.img
  7. reboot your phone

Quote:
Howto MAGLDR CWM (kernel_aa_X.X.zip) & Howto cLK (kernel_aa_X.X_clk_ppp.zip)
  1. Download kernel
  2. copy archive onto the FAT partition of your SD card
  3. reboot phone into CWM
  4. Select Install zip from sdcard
  5. Select choose zip from sdcard
  6. Select the kernel from the SD
  7. Select Yes to install the zip
  8. reboot your phone

Quote:
Differences between kernel_aa_X.X.zip and kernel_aa_X.X_clk_ppp.zip
  • my initrd (so has boot.img which will only work with cLK)
  • Added ppp specific stuff
  • Added 02recov, which allows to get ROM Manager working (works for me)

NOTE: The initrd may or may not work for everyone please report your problems with dmesg and logcat files

Quote:
Thanks/credits
  1. m-deejay
  2. Cotulla (MAGLDR)
  3. RaiderX303 (ClockworkMod)
  4. cedesmith (cLK)
  5. #htc-linux and #htc-linux-chat
  6. All ROM users
Attached Files
File Type: zip kernel_aa_0.5.zip - [Click for QR Code] (4.23 MB, 479 views)
File Type: zip kernel_aa_0.5_clk_ppp.zip - [Click for QR Code] (5.37 MB, 365 views)
File Type: zip kernel_aa_0.6.zip - [Click for QR Code] (2.96 MB, 485 views)
File Type: zip kernel_aa_0.6_clk_ppp.zip - [Click for QR Code] (4.45 MB, 482 views)
The Following 8 Users Say Thank You to arif-ali For This Useful Post: [ Click to Expand ]
 
arif-ali
Old
(Last edited by arif-ali; 24th April 2011 at 07:31 PM.) Reason: potential 0.6 changelog/release notes
#2  
arif-ali's Avatar
Recognized Developer - OP
Thanks Meter 1,640
Posts: 1,001
Join Date: Nov 2007
Location: Sheffield

 
DONATE TO ME
Default Changelog

v0.6 (24/04/2011)
  • Add reiserfs support
  • Add NILFS support
  • Add btrfs support

v0.5 (21/03/2011)
  • Removed SMARTASS
  • Merged with master git

v0.4 (18/03/2011)
  • kernel patch to save reboot reason so is available on bootloader (credits to cedesmith)

v0.3 (01/03/2011)
  • Add back PPP support (to work with cLK)
  • Add cLK patches (credits to cedesmith)
  • more MDJ stuff config

v0.2 (14/02/2011)
  • re-cloned MDJ S9.2
  • Created branch test
  • Removed squashfs
  • Removed unnecessary PPP
  • Merged with master git

v0.1 (12/02/2011)
  • cloned MDJ S9.2
  • merged with master git

Previous Changelog from MDJ

Code:
S9.2:
- fixed wifi mac addresses ( http://www.gitorious.com/linux-on-wince-htc/linux_on_wince_htc/commit/4c31f2fb265ae68b82ed5e8ea4bec91208837011 )

S9.1:
- Initial Release
 
arif-ali
Old
#3  
arif-ali's Avatar
Recognized Developer - OP
Thanks Meter 1,640
Posts: 1,001
Join Date: Nov 2007
Location: Sheffield

 
DONATE TO ME
reserved another
 
scariola
Old
#4  
scariola's Avatar
Senior Member
Thanks Meter 428
Posts: 1,169
Join Date: Nov 2009
Location: Sandy Eggo, CA
Trying now

Sent from my HTC HD2 using XDA Premium App
 
af974
Old
#5  
af974's Avatar
Retired Recognized Developer / Retired Forum Moderator
Thanks Meter 1,886
Posts: 4,940
Join Date: Jan 2008
Nice, thanks.....if i'm not wrong Mdj's kernel wasnt UV, right?
“You have to learn the rules of the game. And then you have to play better than anyone else.” ~ Albert Einstein
 
arif-ali
Old
#6  
arif-ali's Avatar
Recognized Developer - OP
Thanks Meter 1,640
Posts: 1,001
Join Date: Nov 2007
Location: Sheffield

 
DONATE TO ME
Default is it UV? afaik no

Quote:
Originally Posted by af974 View Post
Nice, thanks.....if i'm not wrong Mdj's kernel wasnt UV, right?
afaik, it is not UV, I cannot see it in his changelogs
Phones: HTC HD2 (EU) (leo) | HTC One (m7ul) | Samsung Galaxy S III LTE (I9305)
Tablets: Nexus 7

If my post helped you, don't say thanks, click the Thanks button.
 
arif-ali
Old
#7  
arif-ali's Avatar
Recognized Developer - OP
Thanks Meter 1,640
Posts: 1,001
Join Date: Nov 2007
Location: Sheffield

 
DONATE TO ME
updated kernel see OP, changelog and git logs for details
Phones: HTC HD2 (EU) (leo) | HTC One (m7ul) | Samsung Galaxy S III LTE (I9305)
Tablets: Nexus 7

If my post helped you, don't say thanks, click the Thanks button.
 
FanoXDA
Old
#8  
Member
Thanks Meter 2
Posts: 66
Join Date: May 2009
Thanks so much. It's said that MDJ's kernel is extraordinary power-saving and low battery drainage. We have not seen Mr MDJ on the forum for quite a long time. We just hope you great guys to carry on the goodness of MDJ's kernel.
 
illuzi0n
Old
#9  
illuzi0n's Avatar
Senior Member
Thanks Meter 96
Posts: 529
Join Date: May 2009
Location: Sydney
about time someone made a proper kernel for cLk ..thanks arif-ali
 
zach.antre
Old
#10  
zach.antre's Avatar
Senior Member
Thanks Meter 69
Posts: 242
Join Date: Mar 2010
Location: Athens
Quote:
Originally Posted by arif-ali View Post
Use at your own risk, overclock at your own risk - I'm not responsible for damage to your device

The kernel used in this ROM is based on MDJ S9.2, and have ported it, and have patched to the latest upstream with the relevant fixes

The git is available here, check logs and diffs for the changes made. There is a neat build script to get it compiled for yourself if you want as well in Linux or cygwin. I am using the test branch at the moment.


  1. Download kernel
  2. Unzip archive
  3. run script.sh (linux) or script.bat (windows) to copy over the kernel modules to your phone (make sure adb is in your path)
  4. grab the initrd.gz from your current rom
  5. then, either
    • reboot phone into fastboot by holding the back key
    • run "fastboot -c "" -b 0x11800000 flash:raw boot zImage initrd.gz"
  6. or
    • make boot.img by using "mkbootimg --kernel zImage --ramdisk initrd.gz --cmdline "console=null" --base 0x11800000 -o boot.img"
    • adb push boot.img /sdcard/
    • adb shell flash_image boot /sdcard/boot.img
  7. reboot your phone


  1. Download kernel
  2. copy archive onto the FAT partition of your SD card
  3. reboot phone into CWM
  4. Select Install zip from sdcard
  5. Select choose zip from sdcard
  6. Select the kernel from the SD
  7. Select Yes to install the zip
  8. reboot your phone


  • my initrd (so has boot.img which will only work with cLK)
  • Added ppp specific stuff
  • Added 02recov, which allows to get ROM Manager working (works for me)

NOTE: The initrd may or may not work for everyone please report your problems with dmesg and logcat files


  1. m-deejay
  2. Cotulla (MAGLDR)
  3. RaiderX303 (ClockworkMod)
  4. cedesmith (cLK)
  5. #htc-linux and #htc-linux-chat
  6. All ROM users
Can you please make a cLK CWM Kernel of your to use with Typhoons build...
I have tried it this way and is not working and I think that the file structure for Typhoon builds is different that common build.

I would like to try this kernel. Is it possible plz?
Quote:
Don't SPAM...
Quote:
Hit the THANKS button instead
Device: HTC HD2 / Leo EU
HSPL: 3.03 HSPL | Radio: 2.15.50.14
BootLoader: cLK v1.5-rc1
Recovery: Team Win Recovery Project 2.1
NAND Android ROM:
Kernel:

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes