HTC EVO 3D CDMA/SPRINT Kernel
(Sense 3.0, Sense 3.5 AND AOSP/CM7/MIUI)
NOW ON TEAMWIN'S KERNEL MANAGER APPLICATION
HBOOT 1.50 USERS
If you have hboot 1.50, you might want to read joeykrims's thread before flashing
THIS THREAD IS FOR the AnthraX SERIES of kernels
mildAnthraX...................[SENSE 3.0] 100% stock HTC w/ overclocking enabled (stock cpu clock table from 192 to 1188MHz)
AOSP_mildAnthraX..........[AOSP/CM7/MIUI] Stock with mild tweaks, GPU and CPU OC
infectedAnthraX..............[SENSE 3.x] Balance of safety and performance (see change logs for details)
AOSP_infectedAnthrax.....[AOSP] Balance of safety and performance (see change logs for details)
MegAnthraX...................[SENSE 3.x] Pure raw performance, 320MHz gpu, higher cache speeds, FSB tweaks. 1.6V vdd_max
(while the voltage table/cpu table on mega and infected are the same, i raised the cap from 1.45 to 1.6 for those who wish to overvolt using a 3rd party utility such as system tuner)
*not every phone can run megAnthrax, and this kernel may break your phone, use at your own risk. this kernel is 100% identical to infected outside of GPU speed, Vdd cap, removal of the GPU Early suspend feature and cache vs. cpu speed table
1) overvolting/undervolting your phone may break it, brick it, cause it to melt, etc... do this at your own risk, and only if you know what you are doing. If YOU break your phone, please do not post on this thread about it.
2) overclocking your phone can break it, as you can see from reading this thread, this kernel has been 100% stable for quite a few, but some had issues. Overclock at your own risk.
3) not every phone can be over clocked, anything over 1.56 is considered unstable (on any of my kernels, well most any ones kernel)
VERY IMPORTANT INFORMATION IS HERE ->
HOW TO INSTALL THIS KERNEL
... TEAMWIN RECOVERY IS RECOMMENDED
1) boot into recovery
2) back up your system (just in case)
3) wipe delvik and cache
4) flash the kernel
5) re-wipe delvik and cahce (dont ask why, but the posts here on XDA prove it fixed a lot of issues people where having)
6) reboot the phone
7) let it sit for 10 minutes
8) reboot the phone again (normal reboot)
*for best results - flash at the same time you flash your rom: use my modifed superwipe tool - flash your rom (dont reboot), flash the kernel, wipe cache and delvik, reboot, let sit for 10 min, and reboot again.
THANKS to my Offical Beta Testers (if i forgot someone, PM me)
Eternity-3D kdunk (Special thanks for testing MegAnthraX) BigMase-3D action-b rudeboi3d (Special thanks for testing MegAnthraX) dondizzle aaronpoweruser (Special Thanks for the 4.4.0 version of GCC Compiler that fixed WiFi and 4G) easton
[COLOR="red"][SIZE="3"]RC3 SENSE & AOSP (in progress)[/SIZE][/COLOR] -WORK IN PROGRESS - burstmode and ZSL camera drivers -> from the HTC Amaze -FIXED WiFi to work w/ Hydro (tested good) & AndroTECH Runny Sense 3.5 (works sometimes) -reverted back to stock Input, power and battery drivers (some, not all, had issues with updated ones) [COLOR="red"][SIZE="3"]RC2.1.1 SENSE & AOSP (testing)[/SIZE][/COLOR] -fixed issues w/ random display on issues -will be the base for MegAnthraX for AOSP/CM7/MIUI [COLOR="red"][SIZE="3"]RC2.1 SENSE & AOSP (ready to infect)[/SIZE][/COLOR] -fixed bootloop some people (not all, but some) were having after installed (based off of the kmsg logs sent to me) -2 versions, 1 with zram, 1 without zram (zram is still in experimental phase) [B][COLOR="Red"]---> DISABLE WIFI OR 4G BEFORE FLASHING - HAVING BOTH ON AT THE SAME TIME IS CAUSING PROBLEMS <---[/COLOR][/B] -AOSP Version (Finally) -3D camera and video still has issues, from porting ZSL and burstmode [COLOR="red"][SIZE="3"]RC2 SENSE (ready to infect)[/SIZE][/COLOR] -NEW BASE, MSM8x60 native 18.104.22.168 (not .13 patched to .14) -clean up and optimized stuffs in RC1 -fix CPU hotplug notification -hardware assisted unaligned accesses, compared to software based. -updated smartassV2, and on-demand settings -1.18GHz during boot up -CIQ 100% removed - gone, poof <img src='http://rootzwiki.com/public/style_emoticons/<#EMO_DIR#>/smile.png' class='bbc_emoticon' alt=':)' /> -made some changes to charging/battery to reducing freezing/lockups for some while charging -fixed 192MHz lockup/freeze issue again... -100% new RPCrouter -100% stock HTC (and QUALCOMM) voltages from 192-1188 -100% stock QUALCOMM voltages on 1512 and 1536 -used MATHCAD to fill in the blanks from 1242-1458, and 1566+ for voltages w/ a 1.4V max -new sound drivers with BEATS support (feedback from XDA users on previous version has been great) *100% full 48khz, 24bit signal processing -a lot backported from 3.x -GPU Early suspend with 50ms wakeup period. (should allow EVERYONE to use EarlySuspend) -fixed some stuff w/ cleancache that was broken in RC1 -updated CPU drivers -new battery drivers are back 1) the hotter the phone, the slower the charge rate 2) slow mode charge after 95% -fixed camera, i broke it in test 98 -opened VDD so anyone can over/under volt - [B]do this at your own risk!!![/B] [COLOR="Red"][B]KNOWN ISSUE: 4G wont turn on unless you turn off WiFi first[/B][/COLOR] -zram is back (new version), but not swapzram or zcache -O2 optimized (final will be O3) [COLOR="red"][SIZE="3"]RC1 (ready to infect)[/SIZE][/COLOR] -upgraded back to super special SBA43 drivers (after all this is a sense 3.5 kernel) <img src='http://rootzwiki.com/public/style_emoticons/<#EMO_DIR#>/smile.png' class='bbc_emoticon' alt=':)' /> -backported more kgsl from 3.0.4 to keep nemamark working (still over 50fps @ 1.7GHz) -set default speed to 1.53GHz -fixed Synchronous Multicore Threading to be more efficient (this feature will look like dualcore mode in sys information apps, but its not) made some changes to the thread scheduler for more performance removed a lot more redundant code an example to explain redundant code: (if x=1 then goto 3, else goto 3) why not just goto 3?? and save some cpu cycles?? -disabled swap, we really dont need it on the 3D and most roms dont take advantage of it -fixed random reboot issue that happened to a couple of people when phone was in deepsleep -ported KGSL turbo mode from the sensation (but deleted LOW mode) -fully 100% OpenGL 2.0 compliant -updated bluetooth drivers (faster) -fixed ONDEMAND governor, may cause reboots in B03 -[B]BEATS support in the KERNEL!!![/B] thanks to a magical unicorn for the source! *[B]CONFIRMED BY MY TESTERS TO [/B]fix sound quality issues people are having with BEATS *[B][COLOR="Red"]SUPER LOUD AND CLEAN tushy BASS[/COLOR][/B] -fixed 3D driver for lcd panel [B](reverted back to STOCK)[/B] [COLOR="Red"](3d image viewing got broken in B03 for some, not all)[/COLOR] -WiFi sensitivity is set to -108 -Updated to FULL AUDIO drivers (including mixer) from Sensation XL -fixed 192 as MIN FREQ (had wake up issues in previous releases) ...in the hands of the beta testers -fix: removing some of the sense 3.5 enhancements that don't play well with sense 3.0 (only the ones causing conflict) -REMOVED: support for 2-way call recording, conflicts with beats ......in the hands of the beta testers -TWO versions available Early Suspend for GPU - less performance, better battery NO Early Suspend for GPU - better performance, less battery [COLOR="Red"][SIZE="3"] *****some phones like ES, while some phones like NO ES[/SIZE][/COLOR] [COLOR="Blue"][B]**TESTED FOR 3 DAYS BETWEEN 14 TESTERS, ONLY 2 ISSUES OF LOCKUPS/FREEZES REPORTED, NOT ALL PHONES ARE THE SAME, EXAMPLE: 4 DAYS ON MY PHONE, NOT 1 ISSUE WITH HEAVY USAGE... STILL NOT FINAL, I DO STILL EXPECT SOME PROBLEMS.[/B][/COLOR] [COLOR="red"][SIZE="3"]New in Final Beta B03 (pre-RC1) (ready to infect)[/SIZE][/COLOR] removed dualcore mode binaries (included with most roms) downgraded from SBA43 to SBA42 - should help with nemamark users (nemamark now works, firstname.lastname@example.orgGHz) relaxed securty a bit [B]yes, CIQ is still disabled[/B] modified ONDEMAND governor, should react faster Ziggy's Custom LAGFREE as default governor updated usb drivers adjusted wifi sensitivity to -98 enabled wifi calling reverted back to original camera (new one was working great for some, and causing issues for others) removed Ziggy's Dual Core (can be added back in by ROM developer) increased GPU Scaling steps in 2d from 2 steps to 6 (27,96,160,200,228,266) vs previous release of (200,233) increased GPU Scaling steps in 3d from 3 steps to 8 (27,128,160,177,200,228,266,300) vs previous release of (27,200,228,266) increased KSL process page table from 128M to 256M+64K cache ZRAM and SWAPZRAM removed due to performance issues as well as random reboots (i can enable in the future if demand is high enough) trying a different version of 2-way call record to see if it solved the BSOD on incomming calls. used Virus's VM settings [COLOR="red"][SIZE="3"]New in Beta B02.2 (PRIVATE BETA)[/SIZE][/COLOR] fixed dualcore mode binaries zram is now universal with any sense rom (well - atleast with VirusROMs, but any rom w/ busybox and init.d support should work) [B](the ONLY difference between this and 2.1 is ZRAM is auto enabled w/ any rom that supports init.d and has busybox)[/B] [COLOR="red"][SIZE="3"]New in Beta B02.1[/SIZE][/COLOR] [B]zram[/B] swap(by popular demand) [B]swapzram[/B] some 3.x.x back porting *swap and zram included, but must be activated by your rom Compressors / Decompressors: XZ (NEW), GZIP, BZIP2, LZMA, LZO [COLOR="Red"][SIZE="3"]New in Beta B02[/SIZE][/COLOR] added some more steps for GPU OC - should yeild better battery life, and smoother operation fixed some errors with 1.89GHz OC 2D camera tweaks (faster response - less lag) adjusted schedulers for better performance removed more redundant code [COLOR="Red"][SIZE="3"]New in BETA B01[/SIZE][/COLOR] Lowered WiFi Voltage fixed early_suspend zram, swapzram mods framework for the Virtuous CPU Governor [COLOR="Red"][SIZE="3"]New in Alpha A00 to A03[/SIZE][/COLOR] -3.x.x backporting -fixing issues -tweaking VM settings -optimize build process BASE RELEASE (PRE-ALPHA) (2 MONTHS IN THE MAKING, WITH OVER 2 WEEKS OF TESTING) Qualcomm 22.214.171.124 source Patched to 126.96.36.199 O2 Optimized CIFS w/ UTF8 Synchronous Multicore Threading Max GPU Clocks set to Qualcomm Spec (300MHz 3D and 266MHz 2D) - Scaling is still in effect using default HTC scaler increased GPU memory Ziggy's version of LagFree SmartassV2 RCU Tweaks Full 100% SBA43 GPU Drivers (with Qualcomm's 3D fix) NTFS Support Encryped File System Support Cache, Ram, and bus speeds all set to QualComm spec while under 1.56GHz 1080p playback tweaks 2way call recording support TUN support PERFLOCK disabled CIQ disabled swap disabled redundant code removed native hardware NEON support Ziggy's Dual Core Mod optimized CPU alignment EXT4 tweaks for improved IO SLOB, SLQB, and SLAB BFQ, CFQ, VR and SIO
Infected Version BUS SPEEDS (FSB) 310MHz @ if over 1.53GHz 360MHz @ 1.404, 1.458, 1.512 & 1.53 GHz (qualcomm spec) 310MHz @ 1.18, 1.24, 1.29, and 1.35 (htc/qualcomm spec) 251MHz @ 918, 972, 1.26, 1.80, 1.134 (htc/qualcomm spec) 167MHz @ 648, 702, 756, 810, 864 (htc/qualcomm spec) 103MHz @ 384,432,486,540,594 (htc/qualcomm spec) *speeds above 1.512 are not approved or supported by HTC or QUALCOMM *speeds above 1.188 are not approved or supported by HTC *this is the 1st and only kernel with public source code to use a 360MHz FSB on the 3D Evo as of 10/30/2011 Mega Version (same as standard except the following) BUS SPEEDS (FSB) 310MHz @ if over 1.728GHz 360MHz @ 1.566, 1.620, 1.674, & 1.728 Infected GPU SPEEDS (CORE CLOCK) 2D Graphics supports the following speeds:27,96,160,200,228,and 266MHz 3D Graphics supports the following speeds:27, 128,160,177,200,228,266,300 *2D clock speeds are qualcomm spec, htc does not support or approve above 233MHz *3D speeds are qualcomm spec for HW001 and HW002 only (htc does not approved or support above 266MHz) Mega GPU SPEEDS (CORE CLOCK)Mega Version 2D Graphics supports the following speeds:96,160,200,228, 266, and 300MHz 3D Graphics supports the following speeds:128,160,177,200,228,266,300, 320Mhz CACHE SPEEDS ranges from 432MHz to 1620MHz depending on cpu speed [COLOR="Red"][I](432 and 1836 for the Mega Version)[/I][/COLOR]
-o2 optimization during build cause issues w/ nemamark, i prefer the performance gain with -o2 (noticeable) over the ability to run nemamark -no WiFi on Synergy, but fine on all other Sense 3.x roms -Wiping cache [COLOR="Red"]AFTER[/COLOR] flashing (both of em) seems to reduce a lot of problems. Best practice is to wipe before and after flashing any kernel. -sprint hotspot breaks (3rd party hotspots are confirmed by many others to work) [COLOR="Red"]*ONLY AFFECTS SOME USERS*[/COLOR] black screen on incomming calls - fixed by disabling auto brightness -wifi is broken on the 3.5 roms on xda -QUADRANT causes issues for some, but not all users. (maybe fixed) -Having WiFi and 4G (WiMax) on at the same time can cause bootloops, disable 1 or the other before flashing -Camaera may have issues as im porting over the HTC Amaze Camera features
MORE THANKS: (basically, i kanged from the following people)
ziggy for some edits to my code
htc (for some source code, yes...just some)
qualcomm for some source code (base source code)
aurora for some really really new source code
faux123 for some ideas
kernel.org for some code tweaks
TrevE for his help w/ CIQ emulation
showp1984 for his ZRAM script in init.d
...and people i didnt kang from
virus for being a great help as well, and for space on his server
xRepinsSporx for his FTP stie
some benchmark results -
eternity 1.4, hboot 1.04 ENG, HW 001 - all tests are best out of 5 consecutive runs, with all default services & apps running, online (3g) and connected to gtalk
NEOCORE @ 1.404GHz LAGFREE = 60fps NEMAMARK @ 1.836 = >50fps (with SBA42 drivers, NEMAMARK will not run on SBA43 drivers) QUADRANT ADVANCED @ 1.836GHz LAGFREE = 4042, 8428 cpu, 3574 ram, 6772 io, 381 2d, 1057 3d CF BENCH @ 1.836GHz LAGREEE = 13784 NATIVE, 3953 JAVA, 7856 OVERALL RLBENCH @ 1.836GHz LAGFREE = 16.3 SEC LINPACK @ 1.86GHz LAGFREE = 101.597 ANTUTU @ 1.566GHz LAGFREE = 919 ram, 1942 cpu interger, 888 cpu floating point, 296 2d gpu, 1240 3d gpu, 435 database io, 57 sdcard read/write (class 2 card) over all score 5864 **SUBMITTED ANTUTU @ 1.836GHz LAGFREE = 1069 ram, 2296 cpu interger, 1056 cpu floating point, 297 2d gpu, 1247 3d gpu, 515 database io, 62/87 sdcard read/write (class 2 card) over all score 6629 **SUBMITTED
use at your own risk. very limited support can be provided for hboot 1.50 users, but i will do my best.
this is tested on my phone and by beta testers before each release. since every phone is different, your phone may break by using this.
I do my best to test on different phones to insure that nothing bad happens, but i cant promise anything.
before i upload each version, i test the following on Eternity 1.4 , hboot 1.04 ENG, HW001, OCed to 1.512 LAGFREE w/ USB connected (for logging)
(I also ask my beta testers to this this as well)
install the kernel, and reboot x2 times, then test:
wifi, 3g, 4g, sdcard, usb, voice, sms, mms, voice incomming, voice outgoing, usb diskdrive mode
and i test the following apps: root explorer, gtalk (3g and wifi), gmail (3g and wifi), browser (3g and wifi)
and i run the following benchmarks: quadrant advanced, AnTuTu, cfbench, and rlbench (as a stress test)
i cycle wifi on and off x2 times, and connect to 3 different access points (open, WEP, and WPA)
i cycle 4g on and off x2 times
install and remove a random app from market
*AOSP version is tested on the latest MIUI build
if there is any sign of a problem, i dont upload
DOWNLOAD: (and most current change log)
Show some Support HERE
Source Code can be found on my thread there -> http://infectedrom.c...Magical-Unicorn
while not my 1st kernel, this is my 1st SENSE kernel - any feedback is welcome - good or bad.
I have been a C and C++ programmer (in addition to COBOL and RPG-IV) for over 5 years (the kernel for these phones is done in C) for the US Government, I am not a 18 year old who learned from a 20 page book on how to make a kernel. I still have a professional relationship with Qualcomm (a local comany in San Diego) and CodeAurora, that i hope to use to make this the kernel of kernels.
XDA LINK --> http://forum.xda-dev...d.php?t=1318005
Edited by chad.goodman, 11 November 2011 - 07:19 PM.