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][ALL '11 MDPI] MESA v4.8 (STOCK ICS/CM9/CM10) [31 DEC 2013]

OP mdfzhi

17th June 2012, 08:29 PM   |  #1  
mdfzhi's Avatar
OP Senior Member
Thanks Meter: 3,745
 
4,056 posts
Join Date:Joined: Jun 2011
First of all,
Code:
/*
 * 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/kernel
 * 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.
 */

Quote:

Ok then, now that u've read the disclaimer we can continue with me and this kernel.
Frankly i'm no dev, just know a little bit of linux thus i know howto compile kernel, and i like tinkering with kernel to include what i like.
by that i'm learning as i go, so go easy on me please

About the kernel name, MESA stands for Man-Eating Seals of Antiquity, codename for kernel 2.6.32.
https://en.wikipedia.org/wiki/List_o...x_kernel_names

Quote:

Roughly features of this kernel include:
- base on Sony's official 4.1.B.0.587 kernel source, so i build this from ground up. patched to upstream 2.6.32.60. ics kernel should work with stock/custom rom based on stock ics 4.1.B.0.431 or 4.1.B.0.587, and jb kernel should work with source based jb rom eg cm10, aokp and pa. personally i've tested this with expeacer's exmiuiv4, lasan's miui, stock ics, fxp's cm10 and aokp jb.
- updated to upstream linux 2.6.32.61.
- hybrid kernel, support stock/stock based, cm9/cm9 based, cm10/cm10 based rom.
- patched with Con Kolivas's patchset that includes bfs task scheduler v0.404, so this is a bfs kernel. stock kernel and all of custom kernel here so far uses cfs cpu scheduler. read about bfs cpu scheduler here.
- oc upto 1.8ghz and using 100mhz steps. default boot only use 1ghz.
- uv sysfs interface to modify voltage. i also decrease voltage abit. for anyone who wish to use stock voltage, heres stock voltage table
- cpu governors includes default stock ondemand, interactive, powersave, perfomance and userspace, i've added ondemandx, intellidemand, smartassV2, smoothass, interactivex, brazilianwax, scary, lulzactive, lagfree, smartass, minmax and savagedzen. default booting governor is interactive, its been updated/backported from kernel 3.x. read about cpu governors here.
- disk io scheduler includes deadline, sio, cfq, noop, anticipatory, zen, bfq and vr. default booting disk io scheduler is sio. read about io schedulers here.
- dual recovery, cwm and twrp. access cwm by pressing volume down button and twrp by pressing power button. also can swap those keycode by adding "swap.recovery.keycode=true" to build.prop. phone will vibrate slightly before entering both recovery as indicator. also included autoroot which wont give problem with miui rom, init.d startup script and unsecure ramdisk for adb root access. v4.7 got twrp 2.4.3.0 and cwm 6.0.3.9.
- swap and zram support.
- ext2/3/4 support.
- usb otg support.
- ntfs read/write with fuse module built in.
- samba support with cifs module built in.
- wifi modules integrated into kernel, then added into ramdisk. it will be insmod directly from ramdisk and existing wifi modules in rom wont be touched.

for full itsy bitsy changes read the changelog.txt in download folder.
and to comply and abide with gpl, source diff also included in the download folder.

Quote:

Howto install:
1- be sure u already unlocked bootloader.
2- download correct kernel for your rom and phone and make sure md5 checksum matches. jellybean rom should use the kernel with "jb" in filename. or just use the new hybrid which support cm9/cm9 based, cm10/cm10 based rom and cm10.1/cm10.1 based rom.
3- if kernel downloaded in *.7z format u need to unpack it using winrar or 7zip.
4- flash the kernel via fastboot.

Quote:

Troubleshoot:
- ini.d script not working? read this
- stuck at booting after flashing kernel? wait a little bit longer. kernel needs to run some script when booting.
- still stuck at booting? wipe cache and dalvik cache via recovery.

Quote:

Reporting bugs:
1- if u got freeze problem, paste logcat to pastebin and give me the link.
2- if u got sudden reboot, after the sudden reboot, paste content of /proc/last_kmesg to pastebin and give me the link.
3- also tell me which phone u use, with which rom and which kernel.

what is that logcat and dmesg thingy u kept talking about? google for it.
how to get it? use this

Quote:

Credits also goes to:
- google for this awesome platform, android.
- sony for releasing the kernel source.
- fxp team for some of their patch i use, and for the awesome cm10.
- kamarush for helping with problem i've had with wifi modules earlier, and also for the ramdisk i've taken from his minicmlite v3 kernel.
- doomlord for some of his patch i use.
- krizky82 for some of his patch i use.
- adridu59 for some of his patch i use.
- <insert your name here if u feel that i've failed to mention your name>

Last edited by mdfzhi; 31st December 2013 at 02:28 PM.
The Following 364 Users Say Thank You to mdfzhi For This Useful Post: [ View ]
17th June 2012, 08:36 PM   |  #2  
gandhar's Avatar
Senior Member
Flag Goa
Thanks Meter: 679
 
1,029 posts
Join Date:Joined: Jan 2012
More
nice, good work.

can you please post the sources?

far fetched request,
can you make this for cm9?
17th June 2012, 08:38 PM   |  #3  
coolbuy's Avatar
Senior Member
Flag Sharjah
Thanks Meter: 84
 
512 posts
Join Date:Joined: May 2011
More
Good work, i wonder if someone could develop a BFS Kernel for Mini pro. i used to use BFS with my Optimus One.
The Following User Says Thank You to coolbuy For This Useful Post: [ View ]
17th June 2012, 08:42 PM   |  #4  
sravan242's Avatar
Senior Member
Flag SouL Of AnDrOiD
Thanks Meter: 248
 
403 posts
Join Date:Joined: May 2012
More
Nice one mate....!! i think it is more battery efficient( uses less battery)
The Following 3 Users Say Thank You to sravan242 For This Useful Post: [ View ]
17th June 2012, 08:51 PM   |  #5  
mdfzhi's Avatar
OP Senior Member
Thanks Meter: 3,745
 
4,056 posts
Join Date:Joined: Jun 2011
Quote:
Originally Posted by gandhar

nice, good work.

can you please post the sources?

far fetched request,
can you make this for cm9?

because i had ****ty connection speed i wont be able to setup github and the like.
but diff patch are in download folder. use that to patch sony's official 4.1.B.0.431 and u'll get exact source as on my pc
The Following 10 Users Say Thank You to mdfzhi For This Useful Post: [ View ]
17th June 2012, 08:51 PM   |  #6  
kamarush's Avatar
Recognized Developer
Flag Balatonföldvár
Thanks Meter: 3,344
 
679 posts
Join Date:Joined: Sep 2011
Donate to Me
More
Good job Mate

Sent from my SK17i using XDA
The Following 8 Users Say Thank You to kamarush For This Useful Post: [ View ]
17th June 2012, 08:57 PM   |  #7  
gandhar's Avatar
Senior Member
Flag Goa
Thanks Meter: 679
 
1,029 posts
Join Date:Joined: Jan 2012
More
Quote:
Originally Posted by an0nym0us_

because i had ****ty connection speed i wont be able to setup github and the like.
but diff patch are in download folder. use that to patch sony's official 4.1.B.0.431 and u'll get exact source as on my pc

yeah, thanks..

just wondering
what if you compile with fxp ramdisk, what happens then?
The Following 2 Users Say Thank You to gandhar For This Useful Post: [ View ]
17th June 2012, 09:05 PM   |  #8  
mdfzhi's Avatar
OP Senior Member
Thanks Meter: 3,745
 
4,056 posts
Join Date:Joined: Jun 2011
Quote:
Originally Posted by gandhar

yeah, thanks..

just wondering
what if you compile with fxp ramdisk, what happens then?

i've never tested, but probably wont boot. fxp's cm9 need its own kernel config too, not just difference in the ramdisk.
The Following 7 Users Say Thank You to mdfzhi For This Useful Post: [ View ]
17th June 2012, 09:08 PM   |  #9  
whalesplaho's Avatar
Senior Member
Flag Treasure Island
Thanks Meter: 1,374
 
5,978 posts
Join Date:Joined: Feb 2012
More
Quote:
Originally Posted by coolbuy

Good work, i wonder if someone could develop a BFS Kernel for Mini pro. i used to use BFS with my Optimus One.


whats BFS buddy???
17th June 2012, 09:09 PM   |  #10  
gandhar's Avatar
Senior Member
Flag Goa
Thanks Meter: 679
 
1,029 posts
Join Date:Joined: Jan 2012
More
Quote:
Originally Posted by an0nym0us_

i've never tested, but probably wont boot. fxp's cm9 need its own kernel config too, not just difference in the ramdisk.

i'll try that out someday and let you know if it works out.
good day

The Following User Says Thank You to gandhar For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
kernel, xperia active, xperia live with walkman, xperia mini, xperia mini pro
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes