[Kernel][Arc/ArcS/Pro][CM10/MIUIv5]3.4.x kernel[V10][Linaro-4.7][-O3 optimization]

Search This thread

siankatabg

Recognized Developer
Sep 9, 2012
1,614
7,660
Hello.
I make this kernel for me and here I will only share it for other ppl in this great forum.
Kernel is based on Legacy Xperia 10.1 kernel sources and minor patches from me.


I am not responsible for bricked devices.Do it at your own risk.


I'm not a great Dev and don't expect from me to make magics.


Changelog(v10.1):
Revert back to Linaro 4.7 (GooglePlay FC,Camera flash light always on after taking picture and maybe more)


Changelog(v10):
Updated kernel to 3.4.67
Removed BT wakelock
Wi-Fi optimizations
Increase Max and Min readahead
Entropy tweaks and use only nonblocking
-O3 optimization (maybe better performance)
Build with Linaro 4.8.2 Toolchain (maybe better performance)
Fixed Display auto brightness
Manage to use stock CM10 ramdisk (easy for porting to other devices)
Maybe more,but don't remember


Old Changelogs:

Changelog(v9):
Updated kernel to 3.4.66
bma250: update suspend/resume methods
Testing bluetooth power management changes
Updated zram from linux 3.12
Increase volume a little bit more
Testing new liblight
ADB should work now
Updates in init.sh(ramdisk)
Updated tiwlan.ini
Maybe more that I not remember now.

Changelog(v8.1):
Back to stock Sony Bootlogo - users request
xPro test version - please give feedback

Changelog(v8):
Updated kernel to 3.4.64
Added vibration notifying the user to press the button to enter recovery
New Bootlogo
Some minor updates

Changelog(v7):
Updated kernel to 3.4.63
LZO updates
Compiled with last linaro 4.7 toolchain
Updated some compile flags
Added overclock up to 1.8ghz(OC can make random reboots and other bad things,NOT RECOMMENDED)
Small undervolt on CPU
Wi-Fi firmware is now moved from ramdisk to modules.zip
Repaired Modules.zip

Changelog(v6-TEST):
Full port of Legacy Xperia CM10.1 Source
Totally recreated ramdisk to match new source
+ Repaired Bluetooth
+ More ram (382mb now)

Changelog(v5):
More Ram - 379mb now
Updated WiFi to the latest version
OC up to 1.6ghz
Again update of defconfigs
Cleared some bugs that i found
MiUi ramdisk repaired(now need to work proper)
Dual boot MiUi and CM10 (no need of two separate kernels)
Add Anzu test version
maybe more but don't remember now

Changelog(v4):
Added CFQ I/O fixes and updates
Set CFQ as default I/O
Update kernel to 3.4.62
Some compiling flags updates
Some config updates
And some ramdisk changes
+Added MiUi v5 kernel version :)

Changelog(v3):
Based on Legacy Xperia 10.1 3.4.61 kernel git
Removed some patches that prevent kernel to boot on CM10

Changelog(v2):
Repaired Bluetoth(now it's work)

Changelog(v1):
Patched to 3.4.61
WiFi fix from pcfighter(its stable now,thx to him)
Some Video related patches
Tweaks on LMK
Louder sound(patch from mike(LX git),thx to him)
Sony logo for boot screen :) (I like it)
Various other patches...

Downloads:

V10

Neo V v10.1: http://www.mediafire.com/download/3h3usfgn731zz94/3.4.67-cm10-MiUi-HAIDA-v10.1.img

Neo v10.1: http://www.mediafire.com/download/oxxzba1e15064hn/3.4.67-cm10-MiUi-HALLON-v10.1.img

Arc/S v10.1: http://www.mediafire.com/download/9qoecjj8pjaxz9c/3.4.67-cm10-MiUi-ANZU-v10.1.img

Pro v10.1: http://www.mediafire.com/download/c2x9t0hb8p5367w/3.4.67-cm10-MiUi-IYOKAN-v10.1-2.img

Neo/V - Arc/S Modules: http://www.mediafire.com/download/2zwnxulhgwczte3/3.4.67+v10.1+HAIDA+HALLON+ANZU+modules.zip

Pro Modules: http://www.mediafire.com/download/tw6cs69hqhsg6wf/3.4.67+v10.1+IYOKAN+modules.zip

Recommended to use this kernel with full wipe and reflash.If you dont want to do this,you can only extract /system/lib/hw/light.semc.so from the rom.zip that you use and replace your current light.semc.so.


Old Versions:

V9

Neo V v9: http://www.mediafire.com/download/ine3gnaud9q5h57/3.4.66-cm10-MiUi-HAIDA-v9.1.img

Neo v9: http://www.mediafire.com/download/mms3p663ot4socg/3.4.66-cm10-MiUi-HALLON-v9.1.img

Arc/S v9: http://www.mediafire.com/download/85f2op719m7za27/3.4.66-cm10-MiUi-ANZU-v9.1.img

Pro v9: http://www.mediafire.com/download/vxbh36ud2261xx4/3.4.66-cm10-MiUi-IYOKAN-v9.1.img

Neo/V - Arc/S Modules: http://www.mediafire.com/download/2281yx3b4ek5bq1/3.4.66+v9+HAIDA+HALLON+ANZU+modules.zip

Pro Modules: http://www.mediafire.com/download/3ifa41qzuxlax9i/3.4.66+v9+IYOKAN+modules.zip

V8.1

Neo V v8.1: http://www.mediafire.com/download/07to63dc3m9upcm/3.4.64-cm10-MiUi-HAIDA-v8.1.img

Neo v8.1: http://www.mediafire.com/download/dukwkk1r7hwgw9m/3.4.64-cm10-MiUi-HALLON-v8.1.img

Arc/S v8.1: http://www.mediafire.com/download/tobhxaw0j6pqq3q/3.4.64-cm10-MiUi-ANZU-v8.1.img

Pro TEST v8.1: http://www.mediafire.com/download/ftlimh27c10295b/3.4.64-cm10-MiUi-IYOKAN-v8.1-TEST.img

PRO - Use this modules : http://www.mediafire.com/download/2dvybln2nzbcrvx/3.4.64+v8+IYOKAN+modules-2.zip

Neo/V,Arc/S - For V8.1 flash modules for V8 :)

V8

Neo V v8: http://www.mediafire.com/download/fsbcpnr6cvju3wb/3.4.64-cm10-MiUi-HAIDA-v8.img

Neo v8: http://www.mediafire.com/download/cchu76xm6hfr257/3.4.64-cm10-MiUi-HALLON-v8.img

Arc/S v8: http://www.mediafire.com/download/v72hgp37kg42dlk/3.4.64-cm10-MiUi-ANZU-v8.img

Neo/V - Arc/S Modules: http://www.mediafire.com/download/2w3p5qh3mcazc4q/3.4.64+v8+modules.zip
Modules .zip content libs and config files that are needed for the new kernel to work proper.If you not flash them you will have problems with wi-fi,hard buttons and notification led.

V7

Neo V v7: http://www.mediafire.com/download/jgf76g0xj637wfu/3.4.63-cm10-MiUi-HAIDA-v7.img

Neo v7: http://www.mediafire.com/download/fz7878ro0fjqiru/3.4.63-cm10-MiUi-HALLON-v7.img

Arc/S v7: http://www.mediafire.com/download/foadga62fkx2cs4/3.4.63-cm10-MiUi-ANZU-v7.img

Neo/V - Arc/S Modules: http://www.mediafire.com/download/c0h48937c1323yp/3.4.63+v7+modules.zip
Modules .zip content libs and config files that are needed for the new kernel to work proper.If you not flash them you will have problems with wi-fi,hard buttons and notification led.


V6-TEST

Neo V v6-TEST: http://www.mediafire.com/download/f6u6h184qz1mq6h/3.4.62-cm10-MiUi-HAIDA-v6.img

Neo v6-TEST: http://www.mediafire.com/download/4mml2pih4ho4j4c/3.4.62-cm10-MiUi-HALLON-v6.img

Arc/S v6-TEST: http://www.mediafire.com/download/1etrs4ant7r5zkz/3.4.62-cm10-MiUi-ANZU-v6.img


Neo/V Modules v6-TEST: http://www.mediafire.com/download/ms6ob1mdxmjk7jf/3.4.62+cm10+miui+modules+v6.zip
Arc/S Modules v6-TEST: http://www.mediafire.com/download/tzxhftwcf11xhav/3.4.62+cm10+miui+modules+v6-ANZU.zip
Modules .zip content libs and config files that are needed for the new kernel to work proper.If you not flash them you will have problems with wi-fi,hard buttons and notification led.
Thx to MaxWorks for helping me with this .zip


V5

Neo V v5: http://www.mediafire.com/download/pvdplp7cmnody2q/3.4.62-cm10-MiUi-haida-v5.img

Neo v5: http://www.mediafire.com/download/bdzpnjsqgt07p2k/3.4.62-cm10-MiUi-hallon-v5.img

Arc/S v5: http://www.mediafire.com/download/0tsmcc1k1ic0cze/3.4.62-cm10-MiUi-anzu-v5.img

Modules(flash for working Wi-Fi): http://www.mediafire.com/download/pgoj8th5l383t6x/3.4.62_v5_modules.zip


v4
Neo V v4: http://www.mediafire.com/download/61nx60kly57yjvv/3.4.62-cm10-NeoV-v4.img
Neo v4: http://www.mediafire.com/download/dd19gbv2i5dplgp/3.4.62-cm10-Neo-v4.img
Modules(flash for working Wi-Fi): http://www.mediafire.com/download/al8wwsg50jc9equ/3.4.62_v4_modules.zip

v3:

Neo V: http://www.mediafire.com/download/0yh2gjpck7ybsyk/3.4.61-cm10-NeoV-v3.zip
Neo: http://www.mediafire.com/download/bwddy0evepwor1h/3.4.61-cm10-Neo-v3.zip

v2:
Neo V: http://www.mediafire.com/download/zthv6ybqu25lds4/3.4.61-cm10-NeoV-v2.img
Neo: http://www.mediafire.com/download/2wo1z3dz7nl55jv/3.4.61-cm10-Neo-v2.img

v1:
Neo V: http://www.mediafire.com/download/fptk8y3ag0wtqtr/3.4.61-cm10-NeoV.img
Neo: http://www.mediafire.com/download/pyyla0fq55hgs97/3.4.61-cm10-Neo.img



Button backlight tweaks only for v9=<
Disable button backlight:

This kernel use new method for disabling button backlight and here is how/to:

First way:

Go to /system/etc and open hw_config.sh with root explorer
Change this -
echo 900 > $dev/button-backlight-rgb1/max_current #Max current in uA
echo 900 > $dev/button-backlight-rgb2/max_current #Max current in uA
To this -
echo 1 > $dev/button-backlight-rgb1/max_brightness #Max current in uA
echo 1 > $dev/button-backlight-rgb2/max_brightness #Max current in uA
Reboot and enjoy.

Second way:

Download this:http://www.mediafire.com/view/92czo8qz16zvhi2/65DisableKeyBacklight

paste it in /system/etc/init.d and give right permissions:
rwx
r-x
r-x
Reboot and enjoy.


Buttons/Keyboard backlight configuration

Part with configuration of buttons backlight work on Neo/V Arc/S too.
So, in order to make kernel work on PRO fully:
1) Kernel modules for Pro
2) Full wipe (I did wipe data\cache\dalvic\system)
3) Install MIUIv5
4) Flash Iyokan Modules
5) Reboot
6) Check if all buttons\wifi\qwerty work
7) Open system\etc\hw_config.sh with text editor of any root explorer(I used X-plore)
8) Change
Code:
echo 1 > $dev/button-backlight/max_current
to
Code:
echo 1 > $dev/button-backlight-rgb1/max_brightness
echo 1 > $dev/button-backlight-rgb2/max_brightness
to remove buttons backlight only.
If you want to remove QWERTY backlight also, then you will need to add here:
Code:
echo 1 > $dev/keyboard-backlight-rgb1/max_brightness
echo 1 > $dev/keyboard-backlight-rgb2/max_brightness
It seems that for now QWERTY backlight can't be configured, only turned off. New modules work fine. Change digits to make backlight lower than normal instead of dimming.
attachment.php

Normal for me, lights turning on only when keyboard is slided out.
This way everything works for me.
For guide thank to MaggotHATE

Problems with OTG?Help here.
One 4PDA member (MaggotHATE) already found a solution for OTG issue:

To make OTG work with this kernel, just extract modules from cm10 official.
You will need:
cifs.ko
fuse.ko
ntfs.ko
scsi_wait_scan.ko
usb-storage.ko

Replace original modules with them.
This works for me.

I provide fixed zip
Link here: http://xdaforums.com/attachment.php?attachmentid=2316227&d=1381435297
May work on Neo/V Arc/S too(need test)



Download link for my sources:
http://www.mediafire.com/download/vdj1d7ah1cbnbt6/3.4.66-kernel-sources.zip


Credits:
nAa
Mike
MaxWorks
Pcfigter
And all other contributors that make this kernel so good.


Please don't mirror my kernels.

Sorry for my bad English,I use google translate...
 
Last edited:

YCx

Member
Aug 22, 2013
43
122
New Taipei City
wifi and bluetooth working,but i can't run 3d in antutu benchmark v4.0.1...

it is antutu's problem?

sorry my poor English.:crying:
 

siankatabg

Recognized Developer
Sep 9, 2012
1,614
7,660
If wifi stabile i will try to make bootable stock sony rom with this kernel!

Sent from my LT15i using xda app-developers app

I think that Wi-Fi is same as lx cm 10.1

let me to test it on miui v5:good:

Give feedback and tell me if WiFi work.

wifi and bluetooth working,but i can't run 3d in antutu benchmark v4.0.1...

it is antutu's problem?

sorry my poor English.:crying:

Don't know why,but I will test too.

I don't have problems with antutu.I make 5290 points.
 
Last edited:

Candy[MAN]

Senior Member
Oct 7, 2009
639
170
Orangeville
Works great on CM10 on the anzu. Please keep using the stock SONY bootlogo. I really prefer that. Gives it a stock look.
 
Last edited:
  • Like
Reactions: bluxe

siankatabg

Recognized Developer
Sep 9, 2012
1,614
7,660
Can somebody send me the boot.img from the last cm10 build for arc/s? On pm please :)

Sent from my Xperia Neo V using xda app-developers app
 

Top Liked Posts