PDA

View Full Version : [Kernel][ACS][GPL] Twilight Zone Kernel v1.1.1 - Hajime-taisho



tanimn
07-05-2011, 12:00 PM
tanimn and the Android Creative Syndicate are proud to present the...
Twilight Zone Kernel
version 1.1.1 - Hajime-taisho

Built from the ground up (again) with EC05 sources (this time), incorporating many of the tweaks and optimizations that have not been available since Eclair(OK, so it's not that long ago now), Twilight Zone now beats as the heart of SyndicateROM (http://forum.xda-developers.com/showthread.php?t=976194). As of version 1.1.1 you can expect things like:

v1.1.1:

Core and modules rebuilt with CrossTools-NG
All voltages back to stock and user controlled undervolting enabled - Thanks raspdeep
Native ClockWorkMod 3.0.2.5 recovery built in
TinyRCU ported and enabled - Thanks paulmck
The perfect hardware keyboard delay - Thanks theimpaler747
Fixed a DNS server typo - Thanks Rodderik
Voodoo sound updated to v8 - Thanks supercurio
DVSINT1 back to stock values
VTP tethering fixed
read_ahead_kb to 2048 for sdcard performance - Thanks brainmaster
Handset can be used as a bootable usb device on a PC - Thanks Vincent Palatin
CIFS and TUN compiled into core and most debugging off - Thanks gzub
BFQ disk scheduler - Thanks richardtrip
Display undervolt - Thanks richardtrip and koxudaxi
Conservative governor fixed and defaulted.
Interactive governor - Thanks Mike Chan
v1.1.0:

Back to basics with fresh EC05 source and codesourcery 2009q3 toolchain
Voodoo Sound v6 - Thanks supercurio
1.3ghz new top speed - Thanks Rodderik (Some phones may not tolerate this for long, if at all. YMMV.)
600mhz step added for smoother scaling at stock frequencies
Conservative governor is fixed. (OnDemand is still default.)
Adjustable hadware keyboard patch - Thanks mkasick
tun.ko added to modules for VPN support
Framerate cap raised to 72fps - Thanks Rodderik
DVSINT1 raised to 1.125v for higher clocks and better stability
Sports mode back and working for the camera
sysfs interface for scaling_available_frequencies - Thanks nullghost
v1.0.3:

Compiled with newer 2010.09 codesourcery toolchain
Now boots with the conservative governor at 800mhz
Automatically switches to 1ghz with the ondemand governor once booted
Undervolts are less agressive to accomodate more handsets and stabilize app behaviour.
Removed the hardware keyboard fix until it can be made to play nice with the toolchain.
Fixed the battery charging animation
Incorporated the new RNDIS/ADB feature discovered by mkasick
Patched the malware exploit revealed by Rodderik
v1.0.2:

It's not something we talk about...
v1.0.1:

Restored clock scaling via setcpu
v1.0:

1.2ghz Overclocked and Undervolted
Dual filesystem support (rfs and ext4)
Native ext4 support compiled right in
Kernel based root permissions
Built-in busybox (version 1.18git. 1.18.3 is gimped)
Init.d script support
RNDIS/ADB Coexistence
TCPMSS Clamping (Allows mismatched MTU's to function properly)
Idle timer from 2.6.34 kernel
Cortex A8 Optimizations
Hardware Keyboard Tweaked (fix for dropped keystrokes)
Camera sports mode force close patched
Fully optimized build for the fastest code available
Bugs:

Some phones do not boot past black screen with samsungmobile banner:
Adjusted the cpu clock for the boot process. This issue should now be closed.
Launcher constantly reloading:
Relaxed the undervolts so the cpu has enough juice not to choke.
Sources:
Source code for this kernel is available from Github (https://github.com/tanimn)

Notes:
Overclocking safely would be nearly impossible without a tool like setcpu from Michael Huang. If you haven't already picked it up, it's available from the Android Market (http://market.android.com/details?id=com.mhuang.overclocking&feature=search_result), and he also maintains a thread on xda for it HERE (http://forum.xda-developers.com/showthread.php?t=505419). You should pop on over and say thanks for such a great tool. I hear donations are always welcome. http://media.xda-developers.com/images/smilies/smile.gif

On a stock rom setup for daily use this kernel pulls 16's in linpack and 1550+ in quadrant standard. Try it in its native habitat of SyndicateROM Frozen for a real treat. Couple this with k0nane's optimizations and you will start to see what your phone can really do.

Thanks need to go out to nullghost, thomasskull666, mkasick, Rodderik, DevinXtreme, and k0nane for leading the way here. Without their work and help, I would be lost in a sea of unfamiliar code. Most of the code that went into this kernel is ports of work from DI18 and other handsets. If I've missed anybody who's work I've used, please let me know and I will correct the omission immediately.

A special thanks to Rodderik. A gaffe with mixed up files left me thinking some of his code was samsung source, and a lot of the overclock work is built from his accomplishments. (Is that a good thing or bad thing to be mistaken for samsung developers?)

A heavy dose of heartfelt gratitude goes out to the entire ACS team, whose support and inspiration made this journey possible. I won't name any names, but just remember when you see an ACS tag that THAT person helped make this happen. So without further ado; grab your keys of imagination and cross over into the Twilight Zone...


Place zip on sdcard and flash through clockworkmod recovery:
Be sure to wipe dalvik-cache before booting.

Links to Download Twilight Zone Kernel v1.1.1

Twilight Zone 1.1.1 - ACS.Server (www.forums.acsyndicate.net/ACS/TZ-1.1.1.zip)


Links to Download Twilight Zone Kernel v1.1.0

Twilight Zone 1.1.0 - Hosted by k0nane (http://k0nane.info/rom/Twilight_Zone_1.1.0-Hajime-kun.zip)
Twilight Zone 1.1.0 - Mediafire (http://www.mediafire.com/?c25dj7l3u091237)
Twilight Zone 1.1.0 - Sharebeast (http://www.sharebeast.com/rwi15jz4tfrq)

If you have trouble with the current version, please try a 1.0 release.
Links to previous versions:

Twilight Zone Kernel v1.0.4 - Hosted by Acsyndicate (forums.acsyndicate.net/ACS/Twilight_Zone_1.0.4-Frozen.zip)
Twilight Zone Kernel v1.0.3 - Hosted by Acsyndicate (forums.acsyndicate.net/ACS/Twilight_Zone_Kernel-1.0.3.zip)
Twilight Zone Kernel v1.0.1 - Hosted by k0nane (http://k0nane.info/rom/Twilight_Zone_Kernel-EB13v1.0.1.zip)

ACS - From spontaneous ingenuity comes creative brilliance...

The Twilight Zone kernel, like all ACS productions, are not and will never be donationware. You are free to make use of it and distribute it under the terms of the GPL. Please be aware, however, that many hours have been donated from many people to realize this release, and will continue to be donated to subsequent releases. If you wish to contribute your time, energy, or generosity to the continued development of this project, it will be graciously appreciated.

nanobytecomputers
07-05-2011, 10:00 PM
Thank you for taking your time to work on a kernel for us it is very appreciated.

THERE IS A THANKS BUTTON PEOPLE!
He did not have an obligation to find the time to work on it much less use this time to use this time for y'all wheres your manners.




Downloaded: 48 times

J.Frick
07-06-2011, 03:37 AM
Fashed over from v1.1.0 with CWM 3.1.0.1 and wiped dalvik cache and everything.

Boots fine but when the screen times out it won't wake back up, have to pull battery.
On SRF v1.2

Any ideas? Thanks!

nanobytecomputers
07-06-2011, 04:06 AM
I had the same issue with 1.2 with the genocide kernel and I reverted to 1.1.0 and had no more issues. I think mine may be program related though never got a chance to do a diagnostic. try seeing if you have an error log when it happened, may be good to post your installed programs and I will post the ones we have in common as a possible 3rd party issue.

Have you tried changing your theme for the slide screen? I didn't even think about trying that

J.Frick
07-06-2011, 06:50 AM
So I think it is an issue with the launcher pro lockscreen or tsm part's slide screen options. Or something, idk...
I flashed the fully loaded with TouchWiz and it seems to be fine again.

Is launcher pro compatible with SRFv1.2 and this kernel?

I'm also running SetCPU on boot. 100-1200 on demand, no profiles.
Is Galaxy tuner ok to run withSetCPU?

But all things said, this is an excellent kernel. Thank you to tanimn and all of ACS! You guys rock!

flyers2114
07-06-2011, 10:27 AM
Yes lp is fine with 1.2....set it to 200-1200...that should solve the no wake issue...and yes Galaxy tuner is fine also....you may also want to try voltage control instead of setcpu....

J.Frick
07-06-2011, 05:00 PM
Still having no-wake issues.
Changed SetCPU min to 200. No dice.
Uninstalled and using Voltage Control, same problem.

I guess its back to 1.1.0 for me...

tanimn
07-06-2011, 06:50 PM
Still having no-wake issues.
Changed SetCPU min to 200. No dice.
Uninstalled and using Voltage Control, same problem.

I guess its back to 1.1.0 for me...

What governor, scheduler, and undervolts?

I only did limited testing of this on Frozen 1.2, but didn't run into this in the process.

J.Frick
07-06-2011, 10:54 PM
After much battery pulling, force-closes and other such mayhem,
I just said forget it and wiped everything reflashed the rom and kernel together. Seems to be working now!....?

Im not sure if it was the SRF1.2 fully loaded that did it, but its possible.
As for voltage control, I tried not to mess with it too much then.
any suggestions as to how to go about using galaxy tuner and voltage control to get the most out of my phone?
Epic 4g SyndicateROM frozen v1.2.0 + TwilightZone v1.1.1

works great now. love the team here, you guys are awesome.

flyers2114
07-06-2011, 11:22 PM
After much battery pulling, force-closes and other such mayhem,
I just said forget it and wiped everything reflashed the rom and kernel together. Seems to be working now!....?

Im not sure if it was the SRF1.2 fully loaded that did it, but its possible.
As for voltage control, I tried not to mess with it too much then.
any suggestions as to how to go about using galaxy tuner and voltage control to get the most out of my phone?
Epic 4g SyndicateROM frozen v1.2.0 + TwilightZone v1.1.1

works great now. love the team here, you guys are awesome.


I honestly dont play with the undevolts that much.....I just use VC to set it 1200/200 and conservative or ondemand which has always worked for me.....never 1 issue....as far as Galaxy Tuner....just play with the settings to get best sound for yourself....I personally enable 3d sound and EQ I have 3D sound set at 17 and I just play with the EQ until I get a louder sound....it doesnt take much....but also play with it for the best sound....same would be for VC if you want to play with undervolts....start out at -25 at a time and run stress tests to see how it handles it....every phone handles it different....

Ethereal
07-19-2011, 05:41 PM
Let me start by saying hi and THANKS to ACS for a great ROM. I'm a noob to Android but even I can tell a dramatic difference in performance (confirmed by Quadrant) after flashing SFR 1.2.

I do have one issue to report, more of a curiosity than a real problem.

I tried a bunch of ROMs before settling on SFR 1.2. When I first flashed SFR, I followed qbking's video and used the Genocide kernel. I later reflashed to TZ-1.1.1, and had no problems with either kernel.

When I decided to come back to SFR for good, I flashed back to a clean stock EC05 (with DRockstar's ReRFS package) and then flashed the sfr-1.2-final.zip, followed by TZ-1.1.1.zip. I rebooted and the "SAMSUNG" screen was followed only by a blank darkness, with the four touch buttons lit below. I waited fifteen minutes, pulled the battery, went back to CWM and flashed the Genocide kernel, and then immediately re-flashed TZ-1.1.1. It booted up without a hitch.

I've repeated this a few times to confirm the result: clean-flashing SFR 1.2 and TZ leads to a non-booting phone. However, simply flashing Genocide prior to TZ makes it boot up fine. It's not necessary to boot the Genocide kernel; something its installation leaves behind makes it possible for TZ to boot.

I've re-DL'd both SFR and TZ to make sure I didn't have flawed ZIPs. I've also confirmed (in the "About Phone" menu) that I AM running the TZ kernel.

Anyone else experience anything like this?

tanimn
07-19-2011, 05:48 PM
I can only speculate that something is borked in the formatting. Can you post a logcat?

Ethereal
07-19-2011, 06:36 PM
Forgive my cluelessness, but what am I looking for in the logcat output? Or, how should I be looking for it?

What I got is like trying to drink from a waterfall, and filtering for F, E, W, etc doesn't seem to help.

tanimn
07-19-2011, 06:44 PM
Pipe it to a file and pastebin the whole file.'adb logcat > log.txt'Post a link to the paste.

Ethereal
07-19-2011, 11:12 PM
Just when I thought it couldn't get worse...

I tried to re-create the boot failure I described to get log output, but I ended up with some bizarre result I've not seen before in which the Sprint boot animation had superimposed in its midst a simple "Android" logo. The logcat from that is over 500K, so I can't pastbin it, and don't know how much it would help since it's a completely new kind of misadventure.

I re-reinstalled SRF, then Genocide, then Twilight Zone, and it STILL wouldn't boot past a black screen after the SAMSUNG logo. Logcat of that mishap:

http://pastebin.com/E1D3KYrw

I re-re-reflashed srf-1.2-final.zip, booted successfully, and then restored from NANDroid.

Sorry I didn't manage to recreate the scenario I described, which really was consistent when I wasn't trying to document it. I'm a little too rattled to experiment further. I'm just thankful to have a working phone with a great ROM that I'm realising I might not manage to fix the next time I break it.

tanimn
07-20-2011, 12:45 AM
The schizophrenic boot logos, as well as just getting stuck at the samsung screen, usually indicate a bad flash. More and more prevalent in the last few months, sometimes the only solution is to download a fresh copy of the file.I'll take a dig through the logcat you posted when I get back to a pc tonight, and see what we can glean from it.

Ethereal
07-20-2011, 05:36 PM
Sigh...

OK, I used Odin to flash back to bone stock EC05. I then used Heimdall to flash CWM 3.1.0.1 and CleanKernel.

Booted into CWM, installed srf-1.2-final.zip and TZ-1.1.1.zip.

NOT SUCCESSFUL

Re-Odin-ed to EC05, used Heimdall to flash just CWM3.1.

Re-re-DL'd both srf-1.2-final.zip and TZ-1.1.1.zip and installed them.

IT WORKED!

I honestly don't know if I screwed something up with the first use of Odin (which was my FIRST use of Odin), or if the third-time downloads were really the first correct copies I've obtained, but it finally booted up correctly.

Thanks for this great ROM, and my apologies to tanimn for my illegitimate bug report.

tanimn
07-21-2011, 01:06 AM
No need for apologies. Who in their right mind would believe that it might take 3 downloads to get a good copy in this day and age. If I hadn't seen it first hand, I would have never thought to look at that option myself.
I'm tempted to start releasing md5'd tars, at least then you know if it broke in transit. ;)