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

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

OP arif-ali

20th March 2011, 03:04 AM   |  #1  
arif-ali's Avatar
OP Recognized Developer
Flag Sheffield
Thanks Meter: 1,641
 
1,001 posts
Join Date:Joined: Nov 2007
Donate to Me
More
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, 502 views)
File Type: zip kernel_aa_0.5_clk_ppp.zip - [Click for QR Code] (5.37 MB, 384 views)
File Type: zip kernel_aa_0.6.zip - [Click for QR Code] (2.96 MB, 500 views)
File Type: zip kernel_aa_0.6_clk_ppp.zip - [Click for QR Code] (4.45 MB, 494 views)
Last edited by arif-ali; 24th April 2011 at 09:13 PM. Reason: 0.6 Added
The Following 8 Users Say Thank You to arif-ali For This Useful Post: [ View ]
20th March 2011, 03:05 AM   |  #2  
arif-ali's Avatar
OP Recognized Developer
Flag Sheffield
Thanks Meter: 1,641
 
1,001 posts
Join Date:Joined: Nov 2007
Donate to Me
More
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
Last edited by arif-ali; 24th April 2011 at 08:31 PM. Reason: potential 0.6 changelog/release notes
20th March 2011, 03:06 AM   |  #3  
arif-ali's Avatar
OP Recognized Developer
Flag Sheffield
Thanks Meter: 1,641
 
1,001 posts
Join Date:Joined: Nov 2007
Donate to Me
More
reserved another
20th March 2011, 03:06 AM   |  #4  
scariola's Avatar
Senior Member
Flag Sandy Eggo, CA
Thanks Meter: 437
 
1,179 posts
Join Date:Joined: Nov 2009
More
Trying now

Sent from my HTC HD2 using XDA Premium App
20th March 2011, 03:25 AM   |  #5  
af974's Avatar
Retired Recognized Developer / Retired Forum Moderator
Thanks Meter: 1,887
 
4,940 posts
Join Date:Joined: Jan 2008
More
Nice, thanks.....if i'm not wrong Mdj's kernel wasnt UV, right?
20th March 2011, 03:55 AM   |  #6  
arif-ali's Avatar
OP Recognized Developer
Flag Sheffield
Thanks Meter: 1,641
 
1,001 posts
Join Date:Joined: Nov 2007
Donate to Me
More
is it UV? afaik no
Quote:
Originally Posted by af974

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
22nd March 2011, 01:35 AM   |  #7  
arif-ali's Avatar
OP Recognized Developer
Flag Sheffield
Thanks Meter: 1,641
 
1,001 posts
Join Date:Joined: Nov 2007
Donate to Me
More
updated kernel see OP, changelog and git logs for details
22nd March 2011, 05:13 AM   |  #8  
Member
Thanks Meter: 2
 
66 posts
Join Date:Joined: 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.
22nd March 2011, 08:00 AM   |  #9  
illuzi0n's Avatar
Senior Member
Flag Sydney
Thanks Meter: 97
 
534 posts
Join Date:Joined: May 2009
More
about time someone made a proper kernel for cLk ..thanks arif-ali
23rd March 2011, 07:02 PM   |  #10  
zach.antre's Avatar
Senior Member
Flag Athens
Thanks Meter: 69
 
242 posts
Join Date:Joined: Mar 2010
More
Quote:
Originally Posted by arif-ali

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?

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

Advanced Search
Display Modes