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.
*/
Now this is nAa 3.x based kernel. Major props to him for making it happen. I thought we all would be forever stuck with ancient 2.6 kernel
The original from nAa is already good enough, but because i know howto compile kernel and feels uneasy using kernel compiled by others, here u go, somewhat extended kernel from the original one.
Click to expand...
Click to collapse
FEATURES:
Pretty much the same as nAa's, difference is:
1- compiled using Sourcery G++ Lite 2011.03-42 crosscompiler which is gcc 4.5.2 for kernel 3.4.x and with linaro 4.7-2013.06-1 which is gcc 4.7.4 for kernel 3.0.x
2- my own cpu frequency table with oc upto 1.8ghz with 100mhz steps. slightly preundervolted too.
3- not sure if its just me or the rom i'm using, interactive governor in nAa's seems abit buggy, it stayed at lowest frequency after waking from deep sleep thus making phone lags and unuseable. so i've patched it and make it default governor for kernel 3.4, and ondemand as default for kernel 3.0
4- enabled conservative and powersave cpu governor.
5- lowmemorykiller driver patched from various source
6- some networking stuff eg disabled all packet scheduling algorithm except sfb, and using veno as default tcp congestion avoidance algorithm.
7- using slub memory allocator instead of default slab.
8- enabled and use tiny preempt rcu instead or tiny rcu.
9- enabled sched autogroup.
10- wifi compat-driver is from "old" nAa's 3.4.0 which i think backported from kernel 3.8 or 3.9. current naa 03 kernel, he downgraded to compat-wireless from linux 3.2 due to some people said got connection error. that didn't happen to me so i haven't downgraded it. the 3.0 kernel uses compat-wireless 3.0.9-1.
11- currently patched to upstream linux 3.4.50 for kernel 3.4 and to 3.0.85 for kernel 3.0
12- removed smartassv2 and smartassh3 cpu governor. seems buggy and doesn't work well with kernel 3.4 and 3.0
13- added fiops disk io scheduler and made it default for kernel 3.4, sio as default for kernel 3.0
14- only for cm10. nAa's 03 got all individual ramdisk for stock, cm9, cm10 and cm10.1 ramdisk so it should boot with all those roms but i've only added cm10 ramdisk. if kernel detected that booting rom is not cm10 or cm10 based it'll force boot into recovery.
15- modules will be insmod directly from within ramdisk. existing modules in rom wont be touched.
16- miui based on cm10 compatibility by adding its required services in ramdisk.
17- stweaks support for kernel 3.0
18- probably many small things i forgot...
for more geeky bits by bits changes, read changelog.txt
Click to expand...
Click to collapse
BUGS?
it inherit the same bugs from nAa's kernel, probably more due to what i changed. but do not, i repeat, do not report bugs in any rom thread if u chose to use this kernel instead of default provided kernel in rom zip. by doing so u just made life harder for those rom maker/compiler. i'll *****slap anyone who does so.
but if u still want to report bugs, report to me and provide logs. without logs i'll just ignore it.
Click to expand...
Click to collapse
SOURCE:
download patch file from sourcepatch folder from download link. apply the patch onto vanilla 3.4 kernel for kernel 3.4.x and onto vanilla 3.0.8 kernel for kernel 3.0.x
Click to expand...
Click to collapse
CREDITS/THANKS TO:
1- nAa who originally port codeaurora kernel 3.x
2- everyone whom contribute to nAa kernel 3.x
3- codeaurora
4- linus torvalds and whole kernel dev team
5- google and whole android dev team
6- sony for this phone.
7- <insert your name here if u feel that i've failed to mention your name, whoever u are>
Click to expand...
Click to collapse
DOWNLOAD
Click to expand...
Click to collapse
reserved for rainy days
Is USB OTG enabled here ??
Sent from my Live With Walkman using xda premium
Nice, I'll try it with BadBeanX soon
Sent by The Dark Side of The Force. Said Yoda.
enabled in defconfig, but not sure if it works or not because i didn't have otg cable to test.
cm10.1
great work !
but can you please support ramdisk cm10.1
Thanks ...
Hmmm...the title is a bit wrong my friends...it should be 20130609 not 20130509
anyway i will be watching this thread regularly cause i'm using your kernel right now...
adrpat said:
great work !
but can you please support ramdisk cm10.1
Thanks ...
Click to expand...
Click to collapse
probably not. it'll be unstable, especially for automatic light sensors.
http://forum.xda-developers.com/showpost.php?p=42234545&postcount=2731
Can't get it to boot with Polish Blood 4.2.2 AOSP
Sent from my Live With Walkman using xda premium
This is for jelly bean 4.1...
Sent from my Xperia Mini using Tapatalk 2
an0nym0us_ said:
probably not. it'll be unstable, especially for automatic light sensors.
http://forum.xda-developers.com/showpost.php?p=42234545&postcount=2731
Click to expand...
Click to collapse
Pardon me but what about slow SD Card speed while copying from PC?
I experienced that before on nAa kernel
Sorry for my broken english
Black_jackss said:
Pardon me but what about slow SD Card speed while copying from PC?
I experienced that before on nAa kernel
Sorry for my broken english
Click to expand...
Click to collapse
If I'm not mistaken, mike said he already solved it in his cm10.1 but i cannot seems to find any related commit in his github, or any other github that forked naa's. If anyone could point me to exact fix for it then I'm more than happy to include the fix.
edit: probably this one?
https://github.com/LegacyXperia/msm7x30-3.4.x-nAa/commit/3deef4ae03ba5eafc20f559644c0be6d6d3253b0
zerorated24 said:
This is for jelly bean 4.1...
Sent from my Xperia Mini using Tapatalk 2
Click to expand...
Click to collapse
Exactly. I already wrote clearly in thread title, in first post and in changelog. Thats why i changed boot init script to force boot into recovery if booting into unsupported rom. Spare them hassle of watching lags and systemui crash.
Should've made the script to trashed and corrupted partition tho, teach them unforgettable lesson to read properly :sly:
edit: nvm - delete
electrified said:
what do i have to delete if i'm stuck in Wifi turning on... ?
Click to expand...
Click to collapse
Nothing. Wifi should always be fully working. Modules are called directly from ramdisk, not involving any files from rom. But if its not working, logcat and dmesg would be awesome.
an0nym0us_ said:
Nothing. Wifi should always be fully working. Modules are called directly from ramdisk, not involving any files from rom. But if its not working, logcat and dmesg would be awesome.
Click to expand...
Click to collapse
now working after a few reboots
Sorry but this was a reply on the post above me.
Sent from my Xperia Mini using Tapatalk 2
Works very well, also USB OTG is supported (finally). Thanks, and keep up the good work!
csoresz2 said:
Works very well, also USB OTG is supported (finally). Thanks, and keep up the good work!
Click to expand...
Click to collapse
u tested usb otg?
wow kernel size decreased alot compared previous version. seems you removed adblock right
Related
This is Rage Kernel v2.9 for Xperia Mini / Mini Pro / Active / Live recompiled to run on FXP CM7.2.0 ROM from Freexperia Project here.
The boot image consists of kernel compiled from DuMOHsmol's Rage Kernel v2.9 source, FXP wi-fi driver and FXP ramdisk. It is tested running in FXP122 CM7.
The kernel is compiled using FXP default config, modified to enabled added features in Rage Kernel, so overall the features is similar to Rage Kernel v2.9 (see post #2 below)
Credits:
Many thanks to DuMOHsmol for Rage kernel source and DoomLord for providing the base/stock source.
Thanks for Freexperia Team for making such a great rom.
Thanks for wucinac, HUdasp, gandhar, Snoopo, & jakobxxl for initial testing and feedbacks.
This kernel will not be updated everyweek like FXP rom releases. It would only be updated if there's update in Rage Kernel or there's update in FXP ramdisk/ROM that requires changes in this kernel too.
I mainly compiled this kernel because it gives good battery life, so I haven't tested all features that Rage Kernel offer. Therefore I can't really confirm that those added features will work fine in CM7. What does work is the basic functionalities (like calls, wifi, bluetooth, camera, etc) and added cpu governors, overclocking options, and added i/o schedulers. What I haven't test: zram and swap.
And because I personally considered this kernel as some kind of a workaround for the battery drain issue in fxp kernel (see post #3 below), then if FXP team has fixed it, this kernel might be no longer needed.
As of version 2.6, changes from original Rage Kernel source are below:
4 files in Rage source replaced with files from FXP source :
- arch/arm/mach-msm/board-semc_mogami.c
- arch/arm/mach-msm/sdio_ctl.c
- drivers/mfd/marimba-codec.c
- drivers/misc/lm356x.c
Files sdio_ctl.c and marimba-codec.c is replaced to avoid compiling errors when using fxp defconfig. The file board-semc_mogami.c is replaced to fix touchscreen problem when using original file. File lm36x.c is replaced to fix force close problem in Torch app.
Another change is patch from here applied to fix the touchscreen issue.
Changes in version 2.7 are included as a patch files in the download post below.
Changes in version 2.8 & 2.9 are related only to cpufreq driver & cpu governors, so the patch from 2.7 can still be used, but the cpufreq part of the diff must be removed.
Version 2.7 / 2.8 / 2.9:
Please see all download links for Mini/Mini Pro/Active/LiveWithWalkman in this #75 post.
Flashing disclaimer applies! Use this kernel at your own risk.
How to use:
1. For the first time CM7 users: Flash the Freexperia CM7 kernel & Rom first, and make sure everything works fine, and then continue to step 2. For those that already have CM7 running, just begin at step 2.
2. Flash this kernel using fastboot.
3. Reboot to CWM and wipe cache
4. Reboot again.
Notes :
- This kernel is not supported in anyway by FXP team or original Rage maintainer DuMOHsmol. Anyone having problem, please don't ask them for support. Just ask in this thread & I'll try to figure it out.
- Battery life is not solely affected by the kernel. It can also be affected by apps/mods/tweaks used or applied in the rom. If battery drain is high, then please check what cause the wakelocks using apps like BetterBatteryStats here
- There are instances that using Google Maps or Latitude (or maybe other gps-related apps) would cause GpsLocationProvider keeping the phone awake, like the case in this post #82 and post #34. This situation can be diagnosed using that BetterBatteryStats app mentioned above. The workaround is to disable gps and reboot the phone.
- Of course, other than advantages, there are also disadvantages using this kernel in FXP cm7. Advantages including: a bit better battery life, more cpu governors, more i/o schedulers, etc. Disadvantages: I perceive sdcard i/o is somewhat slower, sometimes there's lag in video recorder, there might be broken features in future FXP releases, not supported by FXP team, and there might be other problems that haven't been encountered yet. If anyone experiencing more disadvantages than advantages using this kernel, then please consider using FXP kernel instead.
Features (quoted directly from DuMOHsmol's Rage Kernel original post here ) :
DuMOHsmol said:
This is my kernel, it's based on stock SE 4.0.2.A.0.74 kernel sources, with some things from DoomKernel by DooMLoRD (so go and say thanks to him, and other developers too).
It has:
- Overclock up to 2Ghz
- CWM Recovery 5.0.2.7
- Prerooting
- CPU Governors:
brazilianwax
smoothass
smartassV2
SavagedZen
interactiveX
lagfree
minmax
Scary
smartass
interactive
conservative
userspace
powersave
ondemand
perfomance
v2 added:
- Xperia Mini support
- Tun/tap interface enabled (VPN, ipv6)
- Swap support enabled
- Two way call recording support added
- I/O schedulers:
noop
anticipatory
deadline
cfq
bfq
vr
sio
v2.1 changed:
- disabled NFS and CIFS (battery drain fix from DoomKernel), let's see if it can really increase battery life.
v2.2 changed:
- moved to from 4.0.2.A.0.58 to 62 source, though I didn't see any changes
- added 0% battery workaround patch by Bazoocaze. I don't even know what it does but it seems to be something useful since everyone includes this in their kernels
- New cpufreq driver from DoomKernel. You can experience some problems with overclocking now (my phone becomes unstable at 1.8GHz now, instead of 2.0), but phone eats much less battery in sleep. I've also changed 1018Hz to 1024Hz and 249Hz to 245Hz because those new numbers looked wierd
v2.3 changed:
- moved back to 4.0.2.A.0.58 source (just to make sure that everything will work).
- updated version number in ramdisks to 62.
- removed 0% battery workaround patch (it's useless on our devices).
- reverted old cpufreq driver with small fix. It should be stable now and phone seems to eat less battery than in 2.1. (thanks himasura for lots of testing)
- salvaged some ram.
- enabled NTFS support.
- enabled usb-storage driver, so you don't need to manually load usb-storage.ko now.
- Version number now shows version of kernel (#23=2.3).
v2.4 changed:
- Now phone lights up blue led to show when you can enter recovery (thx to DooMLoRD).
- Minor changes in ramdisks.
- Enabled hid drivers for microsoft and a4tech.
v2.5 changed:
- Re-added CIFS
- Enabled ext4 support
- Added zram and cleancache drivers
- Added lulzactive governor
- Root fs now mounts as rw after boot.
v2.6 changed:
- removed lulzactive governor as it wasn't working properly (thx to kamarush and others for pointing that)
v2.7 changed:
- moved to sony 4.0.2.A.0.74 kernel sources (updated touchscreen driver)
- Increased GPU dedicated memory to 4MB
- Updated su binary in autoroot.
v2.8 changed:
- added new cpufreq driver at last (with CPU frequency fixup by DooMLoRD), battery drain is lower now. I left version 2.7 too for those who want higher overclock or have some problems with 2.8.
Everything else is similar to stock kernel for now.
Click to expand...
Click to collapse
A bit background:
I use FXP CM7 rom for my mini pro since release 049 and like it very much. One thing that made me keep switching back to stock rom was the high battery drain, because in my daily activities electric plug is not always readily available, so battery life is critical for me.
In fxp 052 I got a bit desperate and trying to use custom kernel based on stock from bbooff here, with fxp rom. The battery life is excellent, just like stock rom, but I encountered 2 problems: touchscreen sometimes become unresponsive and wifi was not working (even if I replaced wifi modules with stock).
Finally, I decide to learn how to compile android kernel, and I found that it is quite similar with compiling linux kernel, which I've frequently done to my computer and laptop.
So, I compiled kernels from 3 sources and compare the battery life in my mini pro. They are from DoomLord's official SE source, DuMOHsmol's Rage kernel source, and krizky82's X Kernel source. I also recompiled kernel from FXP kernel source using stock semc_mango_defconfig, to see if battery life is better. The conclusion is that best battery life is achieved using stock and Rage Kernel, and I've been using FXP with rage kernel since release 102 and haven't considered going back to stock rom again.
I posted in Rage Kernel thread to thank DuMOHsmol, and since then there's 3 xda members that ask me to share this kernel, so I make this thread.
I hope this could help those who want to use FXP CM7 and need a battery life that's close to what stock rom offer.
Note:
As of release 114/115, FXP kernel also has better power management and quite a good battery life. The power consumption difference between this rage kernel and fxp kernel is not as much as it used to be before. In case of broken features or any problem caused by using this kernel in FXP cm7 rom, then please consider using FXP kernel instead.
hi ,after flash your kernel ,my device have a boot-loop,please check it ,thank you
zhanglz0904 said:
hi ,after flash your kernel ,my device have a boot-loop,please check it ,thank you
Click to expand...
Click to collapse
Okay, I'll check it. I might zip the wrong file. What is your device? I assume it is mini / st15? Because kernel for mini pro works fine in my mango. I'll check and if needed I will re-compile it.
Edit:
I think the problem was I incidentally used wrong ramdisk for mini kernel.
I have made a new kernel for mini, but it needs testing first. So, if anyone's willing to test it, please send me a PM. Thank you...
Edit:
Fixed. Link for mini updated.
Thank you!!
Im using cyanogen fxp 111
Only need flash the kernel?
Or need make a full wipe?
edwarddd said:
Thank you!!
Im using cyanogen fxp 111
Only need flash the kernel?
Or need make a full wipe?
Click to expand...
Click to collapse
You are using mini pro, right? I'm still fixing kernel for mini.
You don't need to do a full wipe, just wipe the cache partition.
Yes im using the mini pro
Thanks!
thanks a lot.even i was switching back to stock because of the battery drain ..will try this on my mini pro today
i am using fxp111 on my st15i,thank you for your great work .
zhanglz0904 said:
i am using fxp111 on my st15i,thank you for your great work .
Click to expand...
Click to collapse
Mini kernel is fixed. Link is updated. Please test it and let me know if you encounter any more problem. Thank you for your feedback...
greenAlgae said:
Mini kernel is fixed. Link is updated. Please test it and let me know if you encounter any more problem. Thank you for your feedback...
Click to expand...
Click to collapse
hi ,greenAlgae ,i am sorry to tell that i encountered the same problems with using your fixed kernel ,it may not the ramdisk,but the drivers,i think .
by the way ,some of us using the rage kernel have encountered the same problem,they aslo "complained" the boot-loop ,so i think the problem is kernel itself not the the ramdisk ,i am very happy if you will fix it ,thank you much .respected your work
zhanglz0904 said:
hi ,greenAlgae ,i am sorry to tell that i encountered the same problems with using your fixed kernel ,it may not the ramdisk,but the drivers,i think .
Click to expand...
Click to collapse
what is the problem?
im install fixed kernel and everithing working.
no bootlop or error during boot.
zhanglz0904 said:
hi ,greenAlgae ,i am sorry to tell that i encountered the same problems with using your fixed kernel ,it may not the ramdisk,but the drivers,i think .
by the way ,some of us using the rage kernel have encountered the same problem,they aslo "complained" the boot-loop ,so i think the problem is kernel itself not the the ramdisk ,i am very happy if you will fix it ,thank you much .respected your work
Click to expand...
Click to collapse
Is there any error when you flash it using fastboot? Did you get to boot logo only or you get to cyanogen boot animation when the phone bootloop?
wucinac said:
what is the problem?
im install fixed kernel and everithing working.
no bootlop or error during boot.
Click to expand...
Click to collapse
Thank you wucinac. It seems there's some kind of inconsistencies here. Hopefully it can be worked out, else i would have to pull out the kernel for mini altogether.
Sent from my SK17i using XDA
For st15i i have to use fastboot query with flag:
Code:
fastboot -i 0xfce flash boot boot.img
fastboot -i 0xfce reboot
P.S. Rage flash'ed without any problems. Kudos to developer, many thanks for merging battery save and direct call record!
oh great! Let's test!
gqcJYb3UN8xSIWNUy2xX said:
For st15i i have to use fastboot query with flag:
Code:
fastboot -i 0xfce flash boot boot.img
fastboot -i 0xfce reboot
P.S. Rage flash'ed without any problems. Kudos to developer, many thanks for merging battery save and direct call record!
Click to expand...
Click to collapse
So, it does work for mini after all, right?
All credits goes to original devs. It was DuMOHsmol who added the features, so your kudos goes to him
Snoopo said:
oh great! Let's test!
Click to expand...
Click to collapse
Yes sir, please test it and kindly let me know how it goes . Any feedbacks - even negative ones - will be much appreciated
Sent from my SK17i using XDA
So long time ago i using stock rom, and rage kernel are the best, i think that are the best kernel
For stock neves restart the phone on overclock , i dont back to stock rom never thanks!!
Sorry for my bad inglish
edwarddd said:
So long time ago i using stock rom, and rage kernel are the best, i think that are the best kernel
For stock neves restart the phone on overclock , i dont back to stock rom never thanks!!
Sorry for my bad inglish
Click to expand...
Click to collapse
Well, overclocking is the feature that I very rarely use. Because I use this kernel for better battery life, and overclocking might just negated that
But I'm glad that it works for you
Sent from my SK17i using XDA
greenAlgae said:
A bit background:
I use FXP CM7 rom for my mini pro since release 049 and like it very much. One thing that made me keep switching back to stock rom was the high battery drain, because in my daily activities electric plug is not always readily available, so battery life is critical for me.
In fxp 052 I got a bit desperate and trying to use custom kernel based on stock from bbooff here, with fxp rom. The battery life is excellent, just like stock rom, but I encountered 2 problems: touchscreen sometimes become unresponsive and wifi was not working (even if I replaced wifi modules with stock).
Finally, I decide to learn how to compile android kernel, and I found that it is quite similar with compiling linux kernel, which I've frequently done to my computer and laptop.
So, I compiled kernels from 3 sources and compare the battery life in my mini pro. They are from DoomLord's official SE source, DuMOHsmol's Rage kernel source, and krizky82's X Kernel source. I also recompiled kernel from FXP kernel source using stock semc_mango_defconfig, to see if battery life is better. The conclusion is that best battery life is achieved using stock and Rage Kernel, and I've been using FXP with rage kernel since release 102 and haven't considered going back to stock rom again.
I posted in Rage Kernel thread to thank DuMOHsmol, and since then there's 3 xda members that ask me to share this kernel, so I make this thread.
I hope this could help those who want to use FXP CM7 and need a battery life that's close to what stock rom offer.
Click to expand...
Click to collapse
I have installed your kernel on my sk17i .. with FXP 111, but overclocking is set to 1024?
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.
*/
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_of_Linux_kernel_names
Click to expand...
Click to collapse
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.
Click to expand...
Click to collapse
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.
Click to expand...
Click to collapse
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.
Click to expand...
Click to collapse
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
Click to expand...
Click to collapse
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>
Click to expand...
Click to collapse
nice, good work.
can you please post the sources?
far fetched request,
can you make this for cm9?
Good work, i wonder if someone could develop a BFS Kernel for Mini pro. i used to use BFS with my Optimus One.
Nice one mate....!! i think it is more battery efficient( uses less battery)
gandhar said:
nice, good work.
can you please post the sources?
far fetched request,
can you make this for cm9?
Click to expand...
Click to collapse
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
Good job Mate
Sent from my SK17i using XDA
an0nym0us_ said:
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
Click to expand...
Click to collapse
yeah, thanks..
just wondering
what if you compile with fxp ramdisk, what happens then?
gandhar said:
yeah, thanks..
just wondering
what if you compile with fxp ramdisk, what happens then?
Click to expand...
Click to collapse
i've never tested, but probably wont boot. fxp's cm9 need its own kernel config too, not just difference in the ramdisk.
coolbuy said:
Good work, i wonder if someone could develop a BFS Kernel for Mini pro. i used to use BFS with my Optimus One.
Click to expand...
Click to collapse
whats BFS buddy???
an0nym0us_ said:
i've never tested, but probably wont boot. fxp's cm9 need its own kernel config too, not just difference in the ramdisk.
Click to expand...
Click to collapse
i'll try that out someday and let you know if it works out.
good day
whalesplaho said:
whats BFS buddy???
Click to expand...
Click to collapse
http://ck.kolivas.org/patches/bfs/sched-BFS.txt
http://ck.kolivas.org/patches/bfs/bfs-faq.txt
an0nym0us_ said:
http://ck.kolivas.org/patches/bfs/sched-BFS.txt
http://ck.kolivas.org/patches/bfs/bfs-faq.txt
Click to expand...
Click to collapse
thanks buddy....
I installed your kernel with hybrom v2 wt19i at the monent working perfect good work
Sent from my WT19i using XDA
Bluetooth not working with stock rom.
Wifi works perfect with the MESA Modules
fabiode34 said:
Bluetooth not working with stock rom.
Wifi works perfect with the MESA Modules
Click to expand...
Click to collapse
Umm can anyone else confirm this?
Forgot to test bt myself on stock rom earlier. Currently on exmiui and bt works for send/receive file to/from my laptop.
Congratulations men, waiting for xmp
Sent from my SK17a using xda premium
an0nym0us_ said:
Umm can anyone else confirm this?
Forgot to test bt myself on stock rom earlier. Currently on exmiui and bt works for send/receive file to/from my laptop.
Click to expand...
Click to collapse
Here it says "Activating..."
But nothing else... Can you send me the bluetooth modules from your current rom?
fabiode34 said:
Here it says "Activating..."
But nothing else... Can you send me the bluetooth modules from your current rom?
Click to expand...
Click to collapse
Did u reboot and try again after reboot?
If that didn't work too i'll test myself later by restoring my stock rom cwm backup.
Yes i already tried rebooting.
Still says "Activating..."
bluetooth works fine for me and wlan i forgot to install wifi modules (downloading now) i think it will works fine
Really nice work and thank you
Btw it's oc 1.6
Edit: my Rom MIUI v4 2.6.15
v2 Released. Scroll down for info!
Hello,
After lots of help from sirkay and FXP, I've built my own kernel that I thought I'd share with you.
This kernel wouldn't exist without the hard work of FXP. This is built from his source code. All real credit for this belongs with him (and DoomLord too, also an FXP Team member)
That said, this is my take and keeps the rather awesome release that is CM7.2 alive!
To be clear: This is a kernel for Cyanogen Mod 7.2 - Gingerbread! If you want a good ICS Kernel look at Sirkay's Thread.
So, what's different?
Uses a very recent GCC to compile, GCC version 4.6.3 which I optimised the build for Cortex-a8 and NEON.
Is compiled for performance not size (Optimize for size unticked)
Heap Randomisation is disabled.
Enabled SWAP - So you can use swap if you want to...
Default Scheduler changed to deadline, same as the Sony official kernel (still has bfq if you want to use it)
Default governor changed to ondemand.
CONFIG_OABI_COMPAT turned off. (This might break apps, haven't found any yet though)
Disabled CPUFreq Debugging.
Disabled FRAME_POINTERS, enabled STACK_UNWIND. Reason here: http://lists.openmoko.org/nabble.html#nabble-td6126708
There is no boot logo when this kernel boots. Each time I added one, the kernel refused to boot. I'll look at that. Just have patience, your phone is booting still...
(Here's where I make lots of stupid claims about how smooth, how buttery, how much battery life this kernel saves. Except I'm not a screaming idiot, so I'm not going to do that!)
I'm interested in any feedback you have, but I did this mostly for me.
And please remember the real person to thank, FXP. It's his source code I've used to build this. Also again thanks to Sirkay for his help and pointers.
Download it from here.
- muppet
Nice Kernel what's battery performance ??
aditya080908 said:
Nice Kernel what's battery performance ??
Click to expand...
Click to collapse
About the same as every other kernel.
OTG support? ?!
Sent from my ST18i
so good, This is what I looking for
@muppetmania attach here you png file. i can try to convert it to .rle for you
Could GB MIUI have the privilege?
Could we have a CM7 based MIUI 2.3.7 kernel?
I think GB MIUI works just fine and don't want to upgrade to ICS or JB.
But a better kernel for GB MIUI is always appreciated.
Thanks in advance,pls let us know if you'd be willing to.
Anoopnk said:
OTG support? ?!
Click to expand...
Click to collapse
If you'd like me to respond to questions, please post an actual articulate question in the first place. Cheers.
Yes, I'm aware I'm a ****, it's been pointed out to me already
sirkay said:
@muppetmania attach here you png file. i can try to convert it to .rle for you
Click to expand...
Click to collapse
Thanks sirkay, but the problem isn't that I can't make a rle file, it's that the rle file when added to the ramdisk stops the kernel booting. It seems to a bug in the SEMC loader, I found a post about it somewhere. Does the boot.img need to be padded out to a certain size to work?
Sometimes my logo.rle would work, but then I'd make changes, recompile, and the kernel would hang on boot. Annoying, so I've removed it for the moment.
rivtre said:
Could we have a CM7 based MIUI 2.3.7 kernel?
I think GB MIUI works just fine and don't want to upgrade to ICS or JB.
But a better kernel for GB MIUI is always appreciated.
Thanks in advance,pls let us know if you'd be willing to.
Click to expand...
Click to collapse
Hi rivtre,
I'd love to help, but my Ray is the only phone I have and is running CM7.2. While I could make a kernel for MIUI I'd have no (easy) way to test it. It wouldn't be fair to anyone if I started releasing untested things. So I'm sorry, it's not that I don't want to help, but no. Anyway, read the next bit to see why that's probably not a bad thing!
To All:
My kernel seems to be terrible when it comes to HD video recording. Can anyone else test this? I get heaps of dropped frames using my kernel when recording HD video vs a FXP Stock kernel. I need to look more at this, but for the moment I'd recommend not using this kernel!
v2 Released!
Version 2 of muppet kernel released.
What's new?
Compiled with GCC 4.7.1
Reverted to BFQ Scheduler by default
Reverted to Interactive CPU Scaling by default
Added logo.rle so you know it's booting!
Removed Debugging Symbols (CONFIG_KALLSYMS)
Reverted the scheduler and CPU scaling as they seemed to be the cause of the video recording lag.
Enjoy!
Download
does the kernel also work with this rom http://forum.xda-developers.com/showthread.php?t=1424121?
can I flqsh the kernel with flashtool?
is overclocking possible?
borg17a said:
does the kernel also work with this rom http://forum.xda-developers.com/showthread.php?t=1424121?
can I flqsh the kernel with flashtool?
is overclocking possible?
Click to expand...
Click to collapse
Not sure if it works with the stock ROM or not - try it and report back.
Yes, like all kernel images, you can flash it with Flashtool.
You can OC up to 1.6Ghz.
I tried it, but It doesn't work. Booting failed
muppetmania said:
Not sure if it works with the stock ROM or not - try it and report back.
Yes, like all kernel images, you can flash it with Flashtool.
You can OC up to 1.6Ghz.
Click to expand...
Click to collapse
borg17a said:
I tried it, but It doesn't work. Booting failed
Click to expand...
Click to collapse
Oh well sorry. It's only for CM7.2
muppetmania said:
Version 2 of muppet kernel released.
What's new?
Compiled with GCC 4.7.1
Reverted to BFQ Scheduler by default
Reverted to Interactive CPU Scaling by default
Added logo.rle so you know it's booting!
Removed Debugging Symbols (CONFIG_KALLSYMS)
Reverted the scheduler and CPU scaling as they seemed to be the cause of the video recording lag.
Enjoy!
Download
Click to expand...
Click to collapse
Just flashed your kernel, going to give a test run! thanks!!
Edit:
Well it doesn't seem to me that the camera recording works at all ... pictures = fine - but when trying to record video - the image freezes - and the camera app crashes.
I have to reboot to get back into the camera app...
Also, can't play any video I previously recorded...
Anything I'm missing?
I've flashed your kernel and did a cache + dalvik wipe...
Cheers!
Apocalyps2 said:
Just flashed your kernel, going to give a test run! thanks!!
Edit:
Well it doesn't seem to me that the camera recording works at all ... pictures = fine - but when trying to record video - the image freezes - and the camera app crashes.
I have to reboot to get back into the camera app...
Also, can't play any video I previously recorded...
Anything I'm missing?
I've flashed your kernel and did a cache + dalvik wipe...
Cheers!
Click to expand...
Click to collapse
Oh, well that's not the sort of feedback I wanted!
I haven't done much video recording the last couple of weeks (I've been away from work)
Let me do some testing and see what I can find...
Thanks for reporting
If you want a logcat I'll make one and get it to you , cheers
Sent from my ST18i using xda app-developers app
GPS
i just install your kernel on my phone...but why my GPS cannot running well
a1nx said:
i just install your kernel on my phone...but why my GPS cannot running well
Click to expand...
Click to collapse
why your bug reporting so terrible
a1nx said:
i just install your kernel on my phone...but why my GPS cannot running well
Click to expand...
Click to collapse
Update baseband to 75 or 77 ...reflash kernel !!!
Have fun !!
Sent from my ST18i
Your One And Only Kernel!:victory:
First I want to Thank some pals ,Stephen(mcsqwizzs98) , Ferat And Benjamin(scritch007) who helped me a lot in different Stuffs...and Tim Graham(tomgus) ,champ , Achotjan...
I Released this kernel because I wanted to stay on Gb(Mooke-electra) for a while so I figured to make some kernels for Gb roms:silly: and here we go!!! This is based of Thjap's Sources...many thanks to him
Features:
Fastest , Best battery and memory! Simply Your One And Only Kernel For Cm7,SDE and Stock GB Roms...
Ported Newer Kgsl Drivers by me
[P7001] Optimized Kgsl Drivers
[P7001] Fixed Battery Drain
[P7001] Cleaned Up some useless Cods/Drivers
[P7001] Improved Performance
[P7001] Stock Freq at Boot
[P7000] Drived From Thjap's Sources:
[P7000] Swap Support
[P7000] Vr Sched
[P7000] Sio Sched
[P7000] Deadline
ect...
[P7000] bzip2 Support
[P7000] Tun Support
[P7000] Ext3 , Ext4 , NTFS File system Support
[P7000] Updated Yaffs
[P7000] Lzo , Bzip , Gzip Decompression
[P7000] OC_UV
[P7000] Optimized Cpu Freq Table
[P7000] Unlocked many Cpu Freq-Voltages
[P7000] 128-1228!!!
[P7000] Memory Optimization
[P7000] Battery Tweaks
[P7000] Speed Tweaks
Many More...
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Download Links Can be Found Here
Amin` said:
Your One And Only Kernel!:victory:
First I want to Thank some pals ,Stephen(mcsqwizzs98) , Ferat And Benjamin(scritch007) who helped me a lot in different Stuffs...and champ , Achotjan...
I Released this kernel because I wanted to stay on Gb(Mooke-electra) for a while so I figured to make some kernels for Gb roms:silly: and here we go!!! This is based of Thjap's Sources...many thanks to him
Features:
Fastest , Best battery and memory! Simply Your One And Only Kernel For Cm7,SDE and Stock GB Roms...
Stock Kernel:
This Comes Later...
Click to expand...
Click to collapse
THX Very much hero !! but where is 32 kernel ???
Amin` said:
Your One And Only Kernel!:victory:
First I want to Thank some pals ,Stephen(mcsqwizzs98) , Ferat And Benjamin(scritch007) who helped me a lot in different Stuffs...and champ , Achotjan...
I Released this kernel because I wanted to stay on Gb(Mooke-electra) for a while so I figured to make some kernels for Gb roms:silly: and here we go!!! This is based of Thjap's Sources...many thanks to him
Features:
Fastest , Best battery and memory! Simply Your One And Only Kernel For Cm7,SDE and Stock GB Roms...
Stock Kernel:
This Comes Later...
Click to expand...
Click to collapse
Exellent idea but cannot download, error links!!! Please adjust links!
tori_mc said:
Exellent idea but cannot download, error links!!! Please adjust links!
Click to expand...
Click to collapse
Solved!
SDE Kernel:
- No bootimage (an old bootimage flashed then blank screen then appeared again after loaded all libs and come to bootanimation)
- No vdd????
Did you test all before posting?
BTW, fast, smooth with new ksgl, wifi works, data works
silveraero said:
SDE Kernel:
- No bootimage (an old bootimage flashed then blank screen then appeared again after loaded all libs and come to bootanimation)
- No vdd????
Did you test all before posting?
BTW, fast, smooth with new ksgl, wifi works, data works
Click to expand...
Click to collapse
it has vdd..
about bootimage it's not a big deal...but I'll fix it...
I flashed my phone over 10 times yesterday to test this kernels and you ask me did I test them?
Amin` said:
it has vdd..
about bootimage it's not a big deal...but I'll fix it...
I flashed my phone over 10 times yesterday to test this kernels and you ask me did I test them?
Click to expand...
Click to collapse
Just asking if you test these things mate. There is no VDD level in CPU setting in CyanogenMod Setting menu, also adb mask controller told me that vdd file dors not exist.
Finally,a new kernel for SDE thanks a lot Amin...keep it up!! I will test it soon and report if it's necessary!! great job...thanks again buddy!!
Edit: well,tested...scrolling is laggier on home screen...and wifi seems to be a little lazy to connect...for example at phone startup it don't connect automatically...I have to go in settings-wifi and press connect manually! Just a little request buddy..if it's possible...can you add all other cpu governor from achotjan's kernel please?thanks a lot
Sent from my X10i using xda premium
InternationalPlayer71 said:
Finally,a new kernel for SDE thanks a lot Amin...keep it up!! I will test it soon and report if it's necessary!! great job...thanks again buddy!!
Edit: well,tested...scrolling is laggier on home screen...and wifi seems to be a little lazy to connect...for example at phone startup it don't connect automatically...I have to go in settings-wifi and press connect manually! Just a little request buddy..if it's possible...can you add all other cpu governor from achotjan's kernel please?thanks a lot
Sent from my X10i using xda premium
Click to expand...
Click to collapse
Well I don't have any issue with wifi and CPU governors from Achotjan's kernel are there. Just, battery drain fast, 50% in 6 hours without using.
Sent from my X10i using xda premium
Hey Amin not working with MM TEAM CM 7.2 | V 1.5 i mean it works boots just very laggy and no camera or wifi other then that its great
azeez77 said:
Hey Amin not working with MM TEAM CM 7.2 | V 1.5 i mean it works boots just very laggy and no camera or wifi other then that its great
Click to expand...
Click to collapse
mm's cm is based on stock rom...you should try stock kernel when it's released...
silveraero said:
Well I don't have any issue with wifi and CPU governors from Achotjan's kernel are there. Just, battery drain fast, 50% in 6 hours without using.
Sent from my X10i using xda premium
Click to expand...
Click to collapse
Many governors are missing (Brazilian wax,interactive,smoothass,savagedZen and some others)...I think that amin included only Th's governors!! I will test the kernel again today..just to see if I can confirm problems reported!!
Sent from my X10i using xda premium
New Release is on the way...
but I have to test some stuff...
i`m ready to test things if u want\
Hi
I've tested the SDE version and i it WLOD after overclocking to 1228...
P7001 Released! - All Cm7-SDE-Stock Download Links can be found in here:https://sites.google.com/site/aminkernels/devices/x10
Changelog:
[P7001] Optimized Kgsl Drivers
[P7001] Fixed Battery Drain
[P7001] Cleaned Up some useless Cods/Drivers
[P7001] Improved Performance
[P7001] Stock Freq at Boot
[P7001] VDD
For Stock Kernel Users:
I forgot to package the wifi modules in zip but Cm7,Sde users don't need it...so Stock kernel users have to wait till tomorrow when I make a flashble zip for them for wifi...
Gingerbread?
Amin` said:
P7001 Released! - All Cm7-SDE-Stock Download Links can be found in here:https://sites.google.com/site/aminkernels/devices/x10
Changelog:
[P7001] Optimized Kgsl Drivers
[P7001] Fixed Battery Drain
[P7001] Cleaned Up some useless Cods/Drivers
[P7001] Improved Performance
[P7001] Stock Freq at Boot
[P7001] VDD
For Stock Kernel Users:
I forgot to package the wifi modules in zip but Cm7,Sde users don't need it...so Stock kernel users have to wait till tomorrow when I make a flashble zip for them for wifi...
Click to expand...
Click to collapse
Would any of your kernels work on 2.3 non-cm7/cm9 roms?
Feedback
Amin,
not work on [ROM]"X10S" |v9 Final released FTF File| 21/07/2012
blank screen after boot logo.
Amin` said:
P7001 Released! - All Cm7-SDE-Stock Download Links can be found in here:https://sites.google.com/site/aminkernels/devices/x10
Changelog:
[P7001] Optimized Kgsl Drivers
[P7001] Fixed Battery Drain
[P7001] Cleaned Up some useless Cods/Drivers
[P7001] Improved Performance
[P7001] Stock Freq at Boot
[P7001] VDD
For Stock Kernel Users:
I forgot to package the wifi modules in zip but Cm7,Sde users don't need it...so Stock kernel users have to wait till tomorrow when I make a flashble zip for them for wifi...
Click to expand...
Click to collapse
Links are not working again!
tori_mc said:
Links are not working again!
Click to expand...
Click to collapse
Confirmed
Sent from my X10i using xda premium
Thanks to XperiaSTE team for the overclock kernel source first. I just did the config and compile but nothing else.
This kernel will overclock your device to 1.15GHz. The overclocking will provide a better performance and a smoother user experience.
I'm using a kexec multiboot kernel on my device, so I didn't test the kernel packed as elf format. It should be good because I have done flashing the self-built kernels several times.
The overclock source doesn't seems to be the latest but everything works~ Maybe that's because the modules in initramfs? (I did nothing to initramfs)
It's nearly impossible for me to upload the kernel on something like devhost/mediafire, so sorry for that. Could someone upload it on these sites please?
V2 Changelog:
1) Use GCC 4.9 Linaro to compile.
2) Change the SLQB allocator to SLUB. I don't really think SLQB is stable.
3) use 2G/2G user/kernel split. It seems to have a better performance.
4) PID namespace
5) NOTE:NO recovery in V2! Instead of recovery, the kexec multiboot menu by @percy_g2 is added. Big thanks to percy_g2. For how to use it, see Link:http://forum.xda-developers.com/xperia-u/p-development/kexec-multi-boot-menu-t2647623
* To enter boot menu you should press the power key when vibrate
V2 Link: http://pan.baidu.com/s/1mgt82V2
V1(Stable) Link: http://pan.baidu.com/s/1kTyul07
Finally, sorry for my poor English
Hope you like the kernel~
zhy0919 said:
Thanks to XperiaSTE team for the overclock kernel source first. I just did the compile but nothing else.
This kernel will overclock your device to 1.15GHz. The overclocking will provide a better performance and a smoother user experience.
I'm using a kexec multiboot kernel on my device, so I didn't test the kernel packed as elf format. It should be good because I have done flashing the self-built kernels several times.
The overclock source doesn't seems to be the latest but everything works~ Maybe that's because the modules in initramfs? (I did nothing to initramfs)
It's nearly impossible for me to upload the kernel on something like mediafire, so sorry for that
Link: http://pan.baidu.com/s/1kTyul07
Finally, sorry for my poor English
Hope you like the kernel~
Click to expand...
Click to collapse
hi, first of all big thanks for the kernal!!
can u provide a changelog or something like that to show the difference between cm11 kernal and your kernal ???
is overclock the only added feature in this kernal?
thanks and i wish you support more!!!
vicky2131 said:
hi, first of all big thanks for the kernal!!
can u provide a changelog or something like that to show the difference between cm11 kernal and your kernal ???
is overclock the only added feature in this kernal?
thanks and i wish you support more!!!
Click to expand...
Click to collapse
Thanks for your support!
by doing diff -u to the two xperiap_defconfig, the configs seem to be same.
So XperiaSTE did nothing more to the overclocked kernel.
therefore the config isn't changed and the only change is in the code.
Doing diff to the whole source tree will take much time so i didn't do it
By the github commit the changes seem to be all related to overclocking.
https://github.com/XperiaSTE/android_kernel_sony_u8500
you can read cm-11.0 and overclock branches's commits
Omg, finally oc kernel for cm11! Can i use this kernel for miui v5 kk 4.4.4 by kosmos?
kopter3161 said:
Omg, finally oc kernel for cm11! Can i use this kernel for miui v5 kk 4.4.4 by kosmos?
Click to expand...
Click to collapse
CM11Overclock_Fandroid-MIUI https://yadi.sk/d/kn4Gv5wXaP7Qj
Is this kernel stable? And can I use this in Europe?
Thanks for the kernel!
Just a suggestion for anyone thinking about flashing it right away:
Wait a couple of days/weeks for someone to do some testing, you could fry your motherboard (happened to me on my previous 2 phones).
I'm not saying this kernel will do that, but it's just a precaution.
mrdjibrilo said:
Thanks for the kernel!
Just a suggestion for anyone thinking about flashing it right away:
Wait a couple of days/weeks for someone to do some testing, you could fry your motherboard (happened to me on my previous 2 phones).
I'm not saying this kernel will do that, but it's just a precaution.
Click to expand...
Click to collapse
using from mornin!!!
no issues!!
vicky2131 said:
using from mornin!!!
no issues!!
Click to expand...
Click to collapse
It's a small time period, understand me please
I was running OC kernels on my previous phones and the motherboard frying happend months after use,
I'm not saying that this is the situation with this specific kernel, these are just my previous experiences,
and it was just to warn people
I had ever used panthom kernel on stock jb, it used 1.15ghz too but still safe used for a long time..
thanks for the great work.but how to install multi rom on our phones?
If anyone has a problem downloading the kernel from baidu, I have made a mirror on dropbox:
https://www.dropbox.com/s/gxuw8o8jtllzmfi/CM11Overclock_Fandroid.elf?dl=0
Ofcourse with the permission from the developer
Can someone please explain steps for installing multiroms? Can I use cm11 along with cm10?
Would the existing cm10 need to be reinstalled?
I've given link in the thread
No reinstalling is needed
Sent from my Xperia P using XDA Free mobile app