Angry [KERNEL][ARC/ARC S] DooMKernel {GB} [Rel:v22][Dt:30/APRIL][FW:.42/.58/.62]

---[ UPDATES ]---

changelog for DooMKernel v22 (FW 4.0.2.A.0.42/.58/.62) posted here

---[ UPDATES ]---

Full touch recovery!!!




[ tips / recommendations ]

  1. for optimal results it is HIGHLY recommended to use -36 baseband with corresponding libs... the baseband files and libs can be found here:
    http://forum.xda-developers.com/show....php?t=1382657
    (thank you Iris!)

  2. for better battery life try undervolting... start off in steps of -25mV and see which is stable for u... for my ARC -100mV was stable...

  3. before u report any battery drain issues please read this:
    [GUIDE] HOW-TO Properly Evaluate Battery Life and Provide Useful Reports

  4. [USB-OTG] NTFS partitions in read/write mode



[ intro ]


hello guys!

this kernel will be useful for a lot of ppl using stock SE 4.0.2.A.0.42/.58/.62 FW...



Thank you Rycon33, tRippinthehead, harfot, babygau, IvanZn, SimonZ, AmitPeri, erwin929, DitoPower, frelle218, zangetsu2188, vulkanxxv, cowxie , silicon1138 & loderis for u kind donations


[ special thanks to ]

Thank you guys for ur help! this would not have been possible without ur help!



[ screenshots ]








[ disclaimer ]

OVERCLOCKING CAN BE DANGEROUS! U RISK THE HARDWARE GETTING DAMAGED!
PROCEED WITH CAUTION! U HAVE BEEN WARNED!


I AM NOT TO BE HELD RESPONSIBLE IF U DAMAGE UR PHONE / SPILL UR COFFEE / MISS UR ALARMS / ANY OTHER CALAMITY/MISHAP


[ WARNING ]

"Partition SDCard" option in CWM5 WILL WIPE UR SDCARD!!!


[ features ]
  • [v22 onwards] updated ramdisk scripts to correct superuser permission and to properly install busybox (1.18.4 full) in /system/xbin/
  • [v22 onwards] re-enabled debug sysfs
  • [v22 onwards] updated to patched ZRAM (thanks to faux123) [details on how to use it, here is a recovery flashable update.zip to enable it]
  • [v22 onwards] added Fugeswap to lowmemorykiller (thanks to LeeDroid-)
  • [v22 onwards] removed GPU overclock
  • [v22 onwards] bootup CPU frequency fix-up now at kernel level so no more need for having two separate versions of same kernels (1.6 GHz and 2.0 GHz), both are now merged into one
  • [v22 onwards] merged 4.0.2.A.0.58 & 4.0.2.A.0.62 FW kernel sources (not really any major changes)
  • [v21 ] testing GPU OC
  • [v21 onwards] reverted back to 2.6.32.9 stable sources
  • [v20-BootManger-v2 ] test kernel with 2.6.32.58 upstream patches
  • [v19-BootManger-v2 onwards] added BootManager v2.0 to kernel ramdisk
  • [v19-BootManger-v2 onwards] added GPU overclocking! -raised lower GPU clock to 245 Mhz (initially 192 Mhz) & upper GPU clock to 365 Mhz (initially 245 Mhz)
  • [v19-BootManger-v2 onwards] increased dedicated GPU memory to 4MB (initially 2 MB)
  • [v18-FIX1-modCWM-v5 onwards] fixed busybox issue - if the user has installed busybox in /system/xbin/ then that busybox will be given preference over busybox at /sbin/
  • [v18-FIX1-modCWM-v5 onwards] added my team's (Team UtterChaos) FULL TOUCH RECOVERY!!! (more details here)
  • [v18-FIX1 onwards] reverted few changes to give back 10MB RAM to camera, to fix this issue
  • [v18 onwards] reclaimed 20 MB more RAM!!! (thanks to jerpelea)
  • [v18 onwards] fixed 184 MHz freq not showing up in cpu freq selection
  • [v18 onwards] added ZRAM driver
  • [v18 onwards] added CleanCache driver
  • [v17-FIX2 onwards] REVERTED to stock voltages (till 1.4Ghz freq) - hopefully this should resolve random reboots faced by some users
  • [v17-FIX onwards] REVERTED all governors to pre v17 - hopefully this should solve the governors misbehaving
  • [v17 onwards] changes in cpufreq driver & cpu freq table
  • [v17 onwards] incorporated "Workaround to 0% battery issue" (modified battery driver) - thanks to Bazoocaze
  • [v17 onwards] incorporated small fix so that on ARC S the device will boot at 1.4Ghz as bootup max speed
  • [v17 onwards] tuned all governors to new cpufreq table
  • [v16-tests onwards] testing battery drain issue
  • [v15-modCWM-v04 onwards] updated recovery to modCWM-v04 TouchEdition Recovery
  • [v15 onwards] added fully working two way call recording
  • [v15 onwards] added CPU governors:
    • BrazilianWax
    • Smoothass
    • Lagfree
  • [v15 onwards] added I/O scheduler: Simple I/O (sio)
  • [v15 onwards] added SLQB memory allocator (and set it as default)
  • [v15 onwards] added TinyRCU along with fixes (and set it as default)
  • [v15 onwards] bumped BFQ to v2-r1
  • [v15 onwards] added Stochastic Fair Blue Net scheduler
  • [v15 onwards] bumped jHASH to v3
  • [v15 onwards] increased VM max readahead to 512kb
  • [v15 onwards] some patches to fix kernel memory leaks
  • [v15 onwards] minor fix to display the kernel version info correctly in "About Phone"
  • [v15 onwards] added some mounting tweaks
  • [v15 onwards] added support for bootsounds (currently broken on stock rom but same code works perfectly on CM7 so i will work more on this later)
  • [v15 onwards] added some tweaks for sdcard performance, Virtual Memory teaks, task killer tweaks
  • [v15 onwards] added support for userinit scripts:
    • if sd-ext is mounted then it will execute /sd-ext/userinit.sh & shell scripts in /sd-ext/userinit.d/ folder
    • also scripts in /data/local/ will be executed... it will execute /data/local/userinit.sh & shell scripts in /data/local/userinit.d/ folder
  • [v14 onwards] minor changes in my modified CWM recovery (modCWM-v3)
  • [v14 onwards] major cleaning of kernel sources (cleaned defconfigs using FXP defconfigs as reference)
  • [v14 onwards] TESTING: reverted some changes in kernel sources to older FW kernel sources to test if the issue of increased battery drain is resolved
  • [v14 onwards] compiled using newest gcc-4.6.2-(2011.10) linaro toolchain with O4 optimizations
  • [v14 onwards] changed kernel version string to "-DooMKernel" (will require specific modules)
  • [v13-modCWM-v2 onwards] few changes in my modified CWM recovery
  • [v13-modCWM-v2 onwards] shifted to 4.0.2.A.0.42 ramdisk (should solve some issues faced by users)
  • [v13 onwards] shifted to 4.0.2.A.0.42 kernel sources
  • [v13 onwards] now using my own modified version of CWM recovery with "Fix Permissions" and "Partition SDcard" support and some cleanup in menu (for ease of use)
  • [v12 onwards] shifted to 4.0.2.A.0.9 kernel sources
  • [v12 onwards] removed undervolting, now using stock kernel voltages (will improve stability on all devices)
  • [v12 onwards] modified recovery to support /sd-ext backup/restore (remember /sd-ext has to be the 2nd partition on ur sdcard [mmcblk0p2] for this to work)
  • [v12 onwards] corrected issues "high lcd brightness when in recovery"
  • [v11 onwards] new DooMKernel Logo - thanks to pvyParts (and thanks to Flava0ne for fixing it for Xperia 2011 line)
  • [v11 onwards] cool button-backlight notification to tell u when to spam keys for entering recovery [only spam the button when u see the backlight active]
  • [v11 onwards] now supports Xperia ARC S too!
  • [v11 onwards] updated recovery to CWM v5.0.2.6 FreeXperia Team
  • [v11 onwards] added lower voltages (more undervolt) new voltage table
  • [v11 onwards] added new Max frequency: 2.0Ghz
  • [v11 onwards] added FULL USB-OTG support! [Keyboard + Mouse + USB-Storage] (no need to use any modules anymore ) [for exact usb-storage mounting commands refer to this thread: http://forum.xda-developers.com/show...php?t=1224676]
  • [v11 onwards] updated integrated SuperUser app to v3.0.5
  • [v10 onwards] compiled using toolchain gcc-4.4.3 (might improve kernel performance)
  • [v10 onwards] added new CPU governors:
    • InteractiveX
    • Savaged-Zen
    • SmartAssV2
  • [v09-FIX onwards] fixed sysinit support
  • [v09-FIX onwards] enabled /system/etc/install-recovery.sh execution
  • [v09 onwards] added new bootup CPU thresholding, device will no longer jump to max freq for initial few seconds (might help some device who have booting issues)
  • [v09 onwards] improved init.d support, now scripts in /system/etc/init.d will automatically be given correct permissions and be executed (this will not correct/fix the errors which might be inherently present in the script)
  • [v09 onwards] corrected VDD control to show only those frequencies which are enabled in CPU-freq table
  • [v08 onwards] added new logo!! Thanks to soheil_rf
  • [v08 onwards] added I/O Schedulers:
    • V(R)
    • BFQ
  • [v08 onwards] added CPU Governors:
    • Smartass
    • Scary
    • MinMax
  • [v08 onwards] enabled NLS_UTF8
  • [v07 onwards] added user-level/runtime CPU voltage control [VDD control "sysfs interface"] (for more info keep checking this post: http://forum.xda-developers.com/show...&postcount=362)
  • [v07 onwards] added Interactive CPU Governor
  • [v07 onwards] added new Max frequency: 1.9Ghz
  • [v07 onwards] added lots of intermediate frequencies (from 122Mhz to 1.9Ghz for almost every 100/120Mhz there is a select-able frequency)
  • [v06 onwards] updated recovery related scripts to resolve mounting issue
  • [v06 onwards] added cpu freq thresholds to throttle CPU speeds to stock values when inside recovery
  • [v06 onwards] corrected adb issues (in both OS & recovery)
  • [v06 onwards] added lots of intermediate frequencies
  • [v05-FIX onwards] updated recovery related scripts to resolve mounting issue
  • [v05-FIX onwards] added cpu freq thresholds to throttle CPU speeds to stock values when inside recovery
  • [v05 onwards] updated recovery to CWM v4.0.1.4 FreeXperia Team [it is recommended to use v05-FIX and above]
  • [v05 onwards] {ramdisk tweak} /sd-ext also symlinked to /mnt/sd-ext
  • [v05 onwards] enabled SWAP support
  • [v05 onwards] enabled CDROM filesystem support in kernel (now u can mount ISO files)
  • [v04 onwards] enabled a few I/O Schedulers
    • noop
    • Anticipatory
    • Deadline (default)
    • CFQ
  • [v04 onwards] enabled ARM THUMBEE extensions
  • [v03 onwards] added new LOGO... no more boring SE TEXT logo
  • [v02 onwards] under/overclocked from 128Mhz to 1.862Ghz [NOT UNDERVOLTED] (for sake of safe booting the device will always boot at min 245Mhz / max 1024Mhz)
  • [v02 onwards] init.d scripts/binaries execution support
  • [v02 onwards] enabled support (in kernel) for many file systems
    • EXT2
    • EXT3
    • EXT4
    • NTFS (Read & Write)
  • [v02 onwards] enabled NFS (client & server) support in kernel
  • [v02 onwards] enabled CIFS support in kernel
  • [v02 onwards] enabled access to kernel .config (can be pulled from /proc/config.gz)
  • [v02 onwards] enabled TUN/TAP driver support (integrated in kernel) [VPN support]
  • [v02 onwards] USB-OTG support (already enabled in SE FW)
  • [v01 onwards] autorooting (prerooted)
    • kernel is insecure (ro.secure=0)
    • su binary & superuser.apk will automatically be installed by kernel (thanks to Bin4ry for posting the file RootXperia.zip; i have used the superuser files from his zip)
    • busybox already installed in /sbin/
    • [v03 onwards] busybox will get copied to /system/xbin/ if its not present there
    • adb server is persistent
    • usb debugging enabled
    • rootfs and /system mounted as rw (thank you Blagus for the tip )
  • [v01 onwards] CWM recovery (Thanks to FreeXperia team)
  • enabled IPTABLES/NETFILTER support




[ NOTICE ]
  • since i have changed the kernel version string stock wifi modules will no longer work on my kernel...
  • if u try to enable them on new kernel (v14 onwards) u will get "ERROR" while starting WIFI...
  • i will be providing modules for my kernel which HAVE TO BE FLASHED VIA RECOVERY for wifi/bt (and other things) to work correctly
  • stock modules will also be provided which again will have to be flashed via recovery if u want to return to stock kernel OR if u revert to older v13 or lower kernels



  • remember i have already told this to u guys... if i see some users reporting that wifi is giving error because u did not follow my instructions ur post WILL BE IGNORED....


[ credits for features ]

thank you all for ur work!


[ requirements ]



details regarding recovery and how to enter recovery



[ how to install my kernel (v14 onwards) ]
  1. download the boot.img & modules update.zip
  2. save the boot.img in the folder with fastboot binaries (fastboot.exe files)
  3. save the modules update.zip to sdcard (on phone)
  4. power down device
  5. start device in fastboot mode
  6. use the following command to flash the boot.img
    Code:
    fastboot flash boot boot.img
  7. reboot phone and enter recovery
  8. flash the wifi modules update.zip for my kernel
  9. reboot phone and enjoy the kernel


[ how to get back to stock kernel OR older versions of my kernel (v13 and lower) ]
  1. download the stock modules update.zip
  2. extract the kernel.sin (or boot.img if u want to flash my older kernels) file from the stock FTF u used to flash this fimware
  3. save the kernel.sin (or boot.img if u want to flash my older kernels) in the folder with fastboot binaries (fastboot.exe files)
  4. save the modules update.zip to sdcard (on phone)
  5. reboot phone and enter recovery
  6. flash the stock modules update.zip
  7. power down device
  8. start device in fastboot mode
  9. use the following command to flash the kernel.sin (or boot.img if u want to flash my older kernels)
    Code:
    fastboot flash boot kernel.sin
  10. reboot phone and thats it u should now be on stock kernel (or my older kernel)



FOR OVERCLOCKING
  1. start SetCPU/NoFrills CPU Control app on ur Arc (or any other app which supports overclocking) (u may get a popup asking for SuperUser permissions, click ok/yes/allow)
  2. now slowly increase the MAX slider to the right (one notch at a time) to increase the maximum frequency limit
  3. DO NOT JUMP TO THE LAST POSSIBLE FREQUENCY
  4. SLOWLY increase the frequency one notch at a time and do stability/testing for few hours



[ my kernel sources ]

https://github.com/DooMLoRD/Xperia-2011-Kernel-2.6.32.9



[ donations ]

if u feel that this work has helped u OR u think that the work i put into making this is worthy of donations, then click on the following link for buying me some coffee/beer/etc

PAYPAL DONATION LINK


FreeXperia PROJECT: if you want to support FreeXperia PROJECT (CyanogenMod device maintainers for Xperia 2011 phones) you can donate
https://www.paypal.com/cgi-bin/websc...=YJ7AK6HLAVNHU



[ downloads ]


KINDLY DO NOT MIRROR MY FILES


<NEW>

[ARC/ARC S] DooMKernel (v22) (FW: .42/.58/.62)
[ MD5HASH: 3114616d956ab41c0045b1f2629fc1fd ]


MODULES for DooMKernel (v22)




MODULES for stock kernel or DooMKernel (v13 and lower)


<OLD>

OLD FILES FOR FW: 4.0.1.A.0.283/4.0.2.A.0.42/.58/.62

Older Releases [FW: 4.0.A.2.368]
Older Releases [FW: 3.0.1.A.0.145/146/148]


[ DooMKernel Signature banners!!! ]

If you like to use my kernels and u want to show the world that u use it/love it , then you can add this banner to you signature!!!



Just copy the following code and paste it in you USER CP under "Edit Signature":
HTML Code:
[URL="http://forum.xda-developers.com/showthread.php?t=1172885"][IMG]http://icxperia.com/doomlord/doomkernel-sig.png[/IMG][/URL]


[ for modders/themers/others ]

hey guys here i am attaching a template update.zip which has been tested to work on the recovery provided here... u can add ur stuff to that file and edit the updater-script so that the u can flash ur files via this recovery...
basically it contains the correct combination of update-binary & mounting syntax...

this file is NOT required for normal/general users

TEMPLATE UPDATE.ZIP (v1)






cheers!

I am on a tour right now... will not be available for discussions for a while...



Like my work? Please consider donating via PayPal


Lead Developer of Team UtterChaos & Member of Team ICX

Creator of DooMKernel making those Snapdragons fly higher and faster

Android Devices I use : Sony Xperia Z, T, S, ARC, PLAY

Contributions : Generic Android / Xperia X10 / Xperia 2011 devices / Samsung Galaxy S2 / Huawei Ideos X6 / Samsung Galaxy SCL (i9003) / HTC Flyer / Kindle Fire / HTC JetStream / Xperia P, Sola, U / HTC One X / Xperia S / Xperia T, V, TX / Xperia Z, ZL, Tablet Z





** NEW *** Xperia SDCARD Mounter App! (supports Xperia Z, ZL, Tablet Z, T/TL, TX, V, S/SL/NX, Ion, Acro S/HD, P, U, Go, Sola, J, Miro, Tipo, Tipo Dual, E, E Dual!)