[Kernel] Dragon-G2x v1.5.2 (CM7/Trigger) <Fix Boot on 173+> [10/19/2011] - T-Mobile LG G2x

APN Fix: The work here was done by cm_acree, I provided testing and reporting, nothing more. Thank him. I have noticed one issue testing this build, which could be my fault. Rebooting from the menu to recovery (I have clockwork installed) then rebooting from clockwork back to CM7.1 breaks data. Reboot from the power long-press menu, and it comes right up. But how often do we hit recovery?
FOR OTHER DEVS: To fix APN, grab the boot.img and use it's ramdisk in your build. That was the only thing I did to my kernel build to get this result. See the bug report here: http://code.google.com/p/cyanogenmo...on Model Network Owner Summary Stars Priority
First off, big thanks to Faux123. This is based on his repo with a few tweaks of my own. I'll be adding more as we go on. And of course, he's welcome to pull any patches he likes from my github. Morfic also deserves top billing as of v1.3. I added a lot of tweaks from his code in the latest version.
Changes:
Added zram compressed swap support. I'll attach a script to turn it on and one to see what its status is. It's not like the older ramzswap that requires a special tool, everything is done through sysfs now. Very nice.
Added zcache compressed cache. This is a bigger win IMO, it compresses any compressible data in the cache. This means you can keep much more data in cache, which means you have to read it in from slow flash much less often.
Tweaked the low memory killer to take swap space into account, but only some of it.... This prevents swap thrashing while the system tries to kill processes and free up ram/swap. I also suggest using something like AutoKiller to set the levels to the best performance for your workload. We all run different apps and such, and that can affect how these things work for each user. There is no setup that is going to be perfect for 100% of users. Speaking of AutoKiller, I have found the advanced tweaks to help a fair bit as well. Don't use the memory management one, it overides your settings for things like swappyness. And the IO Scheduler doesn't do anything as we aren't using cfq. Unless you turn on cfq...
On Swap and compression:
While badly configured swap can slow things down, it's far more complex than people think. It also frees up RAM that's not being used frequently for apps that are. So your system can more efficiently use the resources it has. While compression does use some CPU time, our dual core 1Ghz+ CPUs can compress/decompress REALLY fast. Far faster than reading from the flash storage. In theory, this can affect battery life, though I haven't seen any significant issues from it.
Q: But we have 512M, that's a LOT!
A: Well, kind of... Not all of it is accessible to the kernel for running apps. 128M for the GPU, some for the cameras, wifi, etc... In the end, a little less than 400M is available. Then you have to add in system overhead from the kernel itself, Android's OS processes, etc.. That is quite limiting, IMO, so using it more efficiently is important to me.
Q: I don't like compression/swap.
A: Then don't run this kernel.
Download 1.5.1 (older cm7 builds): goo.gl/B2LSW
Download (CM7/Trigger) v1.5.2: http://goo.gl/rl7VY
Scripts: http://goo.gl/M4SzG
Code:
Changelog:
v1.5.2
* Added patch from CM repo for booting 173 and newer builds.
v1.5.1
* Possible BT/CAM fixes (Change clock options based on Morfic's info)
* Integrate some config changes
v1.5
* Possible SOD fix from vork/CM
* Faster SHA-1 from kernel git
* Faster memcpy/memset from kernel git
* Various other patches from the kernel git
v1.4.1
* Updated ramdisk for the latest APN fixes
v1.4
* Disappearing APN fix from cm_acree
* Misc. little fixes
v1.3
* Added morfic's changes to the voltage control code
* Increased voltages
* Added JRCU patch from morfic's repo
* Tweaked various VM options also per morfic's repo
* Made deadline scheduler the default
v1.2.2
* Update to work with latest CM nightly builds
v1.2
* Updates from the CM repo
v1.1
* Update various drivers from the LG source drop
* Increase voltages and switch to max 1.5Ghz
* Switch to the CM based battery driver

Great to see you back, ttabal! Been missing your work since the dragon kernels on the Vibrant. Always nice to find another dev working on the G2x! Looks alike a great start to an aggressive kernel, just what we need
You have any plans of working on a kernel based off the LG's OTA 2.3.3, the source was released last week?

Thanks bro. how do we run the script to turn on/check.

use a terminal emulator to cd to sdcard/scripts folder and type "su" then "sh enable_zram.sh" all without the quotes.... am i right? i did it and the command ran just fine and applied...

fcisco13 said:
Thanks bro. how do we run the script to turn on/check.
Click to expand...
Click to collapse
Unzip the scripts.zip and use gscript or Script Manager to run them... you can also just run them in a shell if you prefer. Lots of options. They are to run on the phone, not your computer.

zimphishmonger said:
Great to see you back, ttabal! Been missing your work since the dragon kernels on the Vibrant. Always nice to find another dev working on the G2x! Looks alike a great start to an aggressive kernel, just what we need
You have any plans of working on a kernel based off the LG's OTA 2.3.3, the source was released last week?
Click to expand...
Click to collapse
Thanks man! Still getting up to speed on the OC options and such for Tegra, but looks easy enough. I'll be getting dirty later, this is just to get started. I've already got the source building thanks to Faux again, just need to get an OTA based ROM installed so I can test it. If only the dual boot thing worked on G2x, would save me some time. Owell. I sent that dev the info he should need to make it work... don't know what the deal is.
Anyway... nandroid almost done... time to try booting.

thanks ttabbal your way was easier... i am just used to shell... lol i was going to give him a breakdown of the script.... thanks....

I loved your stuff on the vibrant and hope to see more of the same with the G2X.

Awesome! Bring some of the Dragon love here to the G2X. My other Vibrants are still rockin' your kernels dude!

What should happen when i run script with script manager??
I get setting up swap space version 1 size =xxxxx

Thanks. Love seeing new devs
Sent from my LG-P999 using XDA Premium App

ttabbal said:
Thanks man! Still getting up to speed on the OC options and such for Tegra, but looks easy enough. I'll be getting dirty later, this is just to get started. I've already got the source building thanks to Faux again, just need to get an OTA based ROM installed so I can test it. If only the dual boot thing worked on G2x, would save me some time. Owell. I sent that dev the info he should need to make it work... don't know what the deal is.
Anyway... nandroid almost done... time to try booting.
Click to expand...
Click to collapse
Excellent! Cant wait for one of your kernels. Feel free to PM or DM me if u need a test.
Glad you got the source compiling w/o issue (I know Faux was having major issues w/ that and maintaining stability), now u just gotta make sure you dont have the same freezing\"black wake screen" issue and you're solid. From what I hear, Tegra's CPU governor is really different from other chips, and its very sensitive\strict to voltage changes in between stepping (<=100mv per stepping). I'm running OTA (well, WeaponG2x, but thats OTA based) FT at the moment cause I use A2DP, but I jump back to CM every once and a while when major developments happen. Feel free to shoot me a test if u need another device to try your code on. More than happy to help!
Crossing fingers for the boot

Same here but I'm on weapon also, we need an oc-uv kernel
sooo bad for the ota. no ones made a working one yet for 2.3.3 it would be much appreciated Sent from my LG-P999

KingDavid63 said:
Same here but I'm on weapon also, we need an oc-uv kernel
sooo bad for the ota. no ones made a working one yet for 2.3.3 it would be much appreciated Sent from my LG-P999
Click to expand...
Click to collapse
Haha I spy a typo in your signature.

Uh oh it is oc and uv got us a mac book made kernel, lets hope it don't freeze and I'll be one happy man. Thanks dude!
Edit: didn't get as far as script with ota kernel, froze 10 minutes in had to do a battery pull, if you need a log cat just say the word...
Sent from my LG-P999

when i apply this with script manager whats it suppose to say? how do i know it worked?
and do i have to do it everytime i reboot? or just check the box root and run at boot when i apply?
thanks in advance

Hey man voodoo included?,
Very nice kernel dude! Good job man

This kernel is smooth as silk. I can't wait to see how you improve on it
Sent from my LG-P999 using XDA Premium App

moeahmad1995 said:
Thanks. Love seeing new devs
Sent from my LG-P999 using XDA Premium App
Click to expand...
Click to collapse
+ 1 ttabal is a badass kernel dev. He did awesome stuff for the vibrant with his dragon kernels.
This kernel is solid , nice work. Running the script as well and all seems really smooth.
Sent from my LG-P999 using Tapatalk

This work for eagle blood 2.3.3???
Sent from my LG-P999 using XDA App

Related

[KERNEL] [GPL] MixUp - Overclock/Undervolt (11/10/2010 - Taco Madness!)

This is based off the latest Samsung kernel source (DI18) with some of my tweaks. Overclock to 1.2Ghz @ 1.25V is maximum. That is 50mV LESS than the voltage given in a stock kernel for 1Ghz!
This kernel is UNBELIEVABLY fast! Average Linpack scores of 9.5+ mflops & Quadrant scores of ~950-1050.
Battery life is great on this beast. Yesterday I ran it all day starting around 8AM, and I didn't hit low battery until 10PM. Thats the furthest I've ever gone, and almost double stock.
Just flash the zip in recovery. I have had no issues with this kernel, nor have any of my testers. This kernel is already included in AOSP Magic & Tha Boss ROM v.2 or above (it was actually made special for Tha Boss at the request of it's maker @KyleCole90). If you're running one of those ROMs you don't need to flash this, unless I release a new version here.
Use SetCPU to set the clock. You'll have to re-do the autodetect (press Menu, Choose Device, Autodetect) for it to decide the new speeds, and you may have to do it a few times. Also, if you flash a different kernel, or update then you'll have to re-detect as well.
Props to @Decad3nce for the BFQ patch from his Hero kernel, @Supercurio for his Voodoo Color mod for the i9000 I just ported it to Epic, Skeeterslint for helping me solve a problem with my ramdisk, @KingKlick92 for a baseline of safe values for voltages from his Vibrant kernel, @Herver for the conservative tweaks, and to Unhelpful on the Captivate forum for his helpful (*rimshot*) source for his Captivate overclock kernel.
If you have any questions or problems (shouldn't be any ) then Twitter me or email me. Also, I don't ask for donations, but if you're feeling generous and you like my work please check out my apps on the Market or send me a donation via the Paypal Donate link in my signature.
-------------------------------------------------------------------------------
Root Issues On Some ROMs:
There are some root issues on some ROMs due to the fact that they still use the old JoeyKrim root. It was never intended to be a permanent root method. Once we got kernel root it became moot. I recommend you ask your ROM dev to fix this, instead of complaining to me
Here's how to fix it if your ROM dev doesn't (just run this from a shell/command prompt, you must have ADB set up):
Code:
adb shell
remountrw
rm /system/bin/playlogo
rm /system/bin/jk-su
mv /system/bin/playlogo-orig /system/bin/playlogo
-------------------------------------------------------------------------------
Changelog:
MixUp-20101110-1036 -- Released 11/10/2010 10:37PM CST:
Added Smartass governor. Still beta. Not default, but available. Similar to interactive, but more responsive & better battery supposedly. Thanks to a dev in the Hero forums whose name I can't remember.
CIFS support
VooDoo Sound support. Still beta.
1.3Ghz & 1.6Ghz OC!
Light & CPU tweaks from Devin
Several more small tweaks I can't remember
This version is beta! I have NOT tested this one at all! I'm running FroYo atm, and I can't test this kernel since it isn't .32. Let me know of any (probably a few) bugs.
MixUp-20101024-847 -- Released 10/24/2010 8:47PM CST:
Switched back to conservative scheduler by default. Interactive is still there, but not default. It'll get set to default when someone fixes interactive.
Patched up to 2.6.29.6 (thanks @Nullghost)
Various scheduler tweaks, backported from newer versions
New BusyBox version
Back camera tweaks, sharpness & saturation upped a notch. I think its better, but if you disagree then take them down a notch in camera settings.
Front cam tweaks. Samsung -- People != blobbish vampires. Sharpness & color upped. No more pale blobs of Play-Doh.
RNDIS! Finally! DevinXTreme got this one goin.
Speaking of Devin, this is now a collab between him & I, with some (credited) kanging from @Nullghost
Optical sensor tweaks. I know, I know, they keep coming. It's good, I promise. I think I FINALLY fixed it.
IMPORTANT! Calibrate your battery after flashing this kernel, else it will decrease! To calibrate, charge your phone all the way (or insert a full battery), wipe battery stats in Clockwork, let it drain to ZERO, plug it in and charge to FULL! Do NOT put in a full battery after the discharge. Your battery should really improve after this.
MixUp-20101017-855 -- Released 10/17/2010 10:05PM CST:
New CPU tables again. Alleviate radio sleep issues. Anything left is just DI18's fault
Actually capped at 1Ghz at boot now, just change with the OC program of your choice
No more no-voodoo version. Voodoo is brightness issue free now, and its too much hassle to maintain two kernels. It may return eventually if I get around to integrating it to my config
Interactive CPU governor added & set as default. Ondemand still available as are the rest.
Fixed lots of config errors, depriving you of EXT4 & BFQ
More optimization for Cortex-A8
MixUp-20101005-809 -- Released 10/5/2010 8:09PM CST:
New CPU Tables (MOAR BATTERYZ!!11!)
More conservative tweaks from Herver (BATTERYZ!!!)
Updated to DI18 sources
New ramdisk
Limited to 1Ghz until changed in setcpu now, better battery by default & more stable for some users. Just up it in SetCPU if you want OCing
Tweaked minimum brightness levels
Screen doesn't fall to minimum brightness automatically until 1% battery now. Used to be 5%. You're welcome
I left up the old DG27 kernel for people who haven't yet upgraded to DI18, just in case the DI18 one causes issues for them
MixUp-20100926-323 -- Released 9/26/2010 3:55PM CST:
Switched to BFQ scheduler. See here for details.
Tweaks to the default Conservative governor. Scales up sooner to avoid hangups and scales down sooner to save battery
Added the Voodoo Color option (thanks @Supercurio for creating it, I just ported it to Epic). There are some issues with it as described at the link. If you don't like it, use the one without it instead of complaining, kthx
Fixed root issues finally, if you experience them you still have the JoeyKrim exploit installed. Bad user.
Undervolted 50 more mV across the board, battery life on this beast is amazing
Added Superuser Permissions app (thanks for the help, Skeeterslint)
adbd now runs as root by default. That means "adb shell" drops you straight to # instead of $
EXT3/EXT4 FS support included in kernel. Do with it what you will.
Changed to a different floating point emulation method that *may* yield better performance
NEON support in the kernel
MixUp-20100921-655 -- Released 9/21/2010 6:55PM CST:
Added Clockwork & ROM Manager support.
Judging from the reports I've heard and things I've seen, I'ma call this one Stoopid Fast. Just cuz it sounds cool
MixUp-20100920-630 -- Released 9/20/2010 6:30PM CST:
adbd now runs as root. This allows adb push to /system. It also enables adb remount to remount /system to RW or RO, but there is something missing from the ROMs that don't allow adb remount yet. I'm working on it.
Small tweaks to voltage table (I think) so possible better battery life on this one, but don't hold me to that. I'll be fine tuning them later on some more.
-------------------------------------------------------------------------------
Source:
My source is now on GitHub.
Stock DI18 Samsung kernel branch here. This is for beginning kernel devs. It's totally stock. Feel free to fork this or download the tree to start your own kernel base.
MixUp VooDoo is here. This has all my changes applied and I will push all my changes to it.
I did not have time to upload my source for the non VooDoo kernel today, I have the local repo done, but I only have access to a high speed connection when I go into town, and I didn't have time to upload this one while I had access. Really though, if you want the source for a non-Voodoo kernel its identical to this, just change the "drivers/video/samsung/s3cfb_tl2796.c" and "drivers/video/samsung/s3cfb_mdnie.c" files with the ones from the stock repo. Everything else is identical.
For devs wondering how I made ADBD run as root, I'm sure you already know how to do this, but if not do the following. Go to your ramdisk, open up default.prop, and then:
Change ro.secure=1 to ro.secure=0
Change ro.debuggable=0 to ro.debuggable=1
Change persist.service.adb.enable=0 to persist.service.adb.enable=1
Then recompile. That's it.
-------------------------------------------------------------------------------
And just to protect me:
I AM NOT RESPONSIBLE IF YOU BRICK YOUR PHONE!
Overclock kernels carry an inherent risk. You're pushing your hardware further than it's meant to go. Everything should be safe, and I've tested it myself and I trust it on my phone. But that doesn't mean it's perfect.
If *you* screw up and blame me, I will point at you and laugh. Deal with it.
i think i'll wait a bit to see if this is safe to flash
If I flash this kernel will I get those black screens like I did with Heros rom?
Sent from my SPH-D700 using Tapatalk
plmiller0905 said:
If I flash this kernel will I get those black screens like I did with Heros rom?
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
I don't notice them, but if you got them on his ROM you may well see them here too since its the same kernel. I recommend you set it on OnDemand scheduler with SetCPU instead of Conservative or whatever the default is
Geniusdog254 said:
I don't notice them, but if you got them on his ROM you may well see them here too since its the same kernel. I recommend you set it on OnDemand scheduler with SetCPU instead of Conservative or whatever the default is
Click to expand...
Click to collapse
Ok sounds good...what about having to hurry up and put the phone to sleep on the intial startup to stop the bootloops, do I have to do the same for this kernel as well?
Sent from my SPH-D700 using Tapatalk
plmiller0905 said:
Ok sounds good...what about having to hurry up and put the phone to sleep on the intial startup to stop the bootloops, do I have to do the same for this kernel as well?
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
Probably. I've gotten away without doing it, but the last couple boots I've had to. I'll build my own kernel later today and see if that fixes it. Just gotta download the Samsung source and set up a build environment for this instead of my Evo
Geniusdog254 said:
Probably. I've gotten away without doing it, but the last couple boots I've had to. I'll build my own kernel later today and see if that fixes it. Just gotta download the Samsung source and set up a build environment for this instead of my Evo
Click to expand...
Click to collapse
Ok I'll wait to flash this then cause trying to hurry up and put the phone into sleep mode at startup is hell. I'll be looking forward to your kernel and thanks for your hard work.
Sent from my SPH-D700 using Tapatalk
This kernel boot loops your phone. Even with a battery pull. I suggest flashing back to the stock kernel with Odin3.
casual864 said:
This kernel boot loops your phone. Even with a battery pull. I suggest flashing back to the stock kernel with Odin3.
Click to expand...
Click to collapse
are you putting it to sleep as soon as it boots??
Good so far thanx for posting it
BopChie said:
are you putting it to sleep as soon as it boots??
Click to expand...
Click to collapse
Even if I do that, whenever I put the phone to sleep it won't turn back on. Forcing me to do a battery pull.
casual864 said:
Even if I do that, whenever I put the phone to sleep it won't turn back on. Forcing me to do a battery pull.
Click to expand...
Click to collapse
Hmm did you put SetCPU at Set on Boot? I've seen that cause issues before. I know that it's working fine for me, although I occasionally have to do the instant-sleep trick on boot, but not always.
I know that it works for me, and it's reported working in the og. Grimey Goods thread as long as you do the instant-sleep. YMMV
so i dont set setcpu on boot or i do?
evoguyfhp said:
so i dont set setcpu on boot or i do?
Click to expand...
Click to collapse
You can give it a shot. I have it set on boot and it works for me but it's caused problems in the past if you set weird freqs. YMMV
Just posted a new version. Yes, I actually compiled this one
Let me know how it works. I'm going to bed. It's late here. I'll check feedback in the morning and respond to them tomorrow after class.
Enjoy
Geniusdog254 said:
Just posted a new version. Yes, I actually compiled this one
Let me know how it works. I'm going to bed. It's late here. I'll check feedback in the morning and respond to them tomorrow after class.
Enjoy
Click to expand...
Click to collapse
changelog?
[email protected] said:
changelog?
Click to expand...
Click to collapse
See OP. No more issues on boot (don't worry about locking and unlocking as soon as it boots anymore) and no wake issues. To make sure you have no wake issues, use the "ondemand" governor. That's the only one I've tested with. Can't guarantee that on conservative or powersave or any of the others. You can change them in SetCPU
Got It.. D'Oh..
PlankLongBeard said:
Only thing I ask for is a update.zip for returning to stock DI07 Kernal. After that all is well.. (BTW.. Thats for the Just In Case) Makes it Easier!
Click to expand...
Click to collapse
clockwork backup?
BopChie said:
clockwork backup?
Click to expand...
Click to collapse
Yeah, will be doing so, I forgot..

Collin_ph battery tweak V3 RC2 is released!

In case you don't already know, this script is written for CM6 roms, but has been ported to many others. The main purpose is to increase battery life and performance of the phone it's running on.
To install, simply download the file in the link below, copy it to your SD card, reboot into recovery and flash it.
As always, the latest version still can get around 24+ hours of battery life with normal usage under CM6 on a HTC Hero.
I only test this tweak on the Hero CDMA, but it's possible that it works on other phones. I really do expect that this will be the last version of V3 and will become "final" one we've verified that it works on all phones.
New features:
Allows disk scheduler changes for even faster disk access.
CFS Tweak (disabled by default) modified to play nicer with GPS.
Collin_ph Battery Tweak v3 RC2: http://www.primoweb.com/froyo/collin_ph_battery_tweak_v3_rc2.zip
Documentation: http://www.primoweb.com/froyo/battery_tweak_v3.html
Please check the doc page often as I've not yet updated the battery tweak from other versions yet.
Please note, if you're new, there is a lot of features that aren't covered here, such as the ability to configure nearly every tweak within battery tweak, so PLEASE check out the docs. If you have any questions please let me know. Thanks!
Thanks to:
Decad3nce for porting rc1 to the eris, and for working with me to develop this release.
Tomatosoup for helping work on the next release which will be called tweaktool.
There's not much there now, but keep your eyes peeled on tweaktool.com -- once that tool is available, it should work on many more phones and be available on the market.
NOTE: Several users have let me know that they are getting marked improved performance by changing the scheduler from "ondemand" to "interactive" through the custom settings. The "ondemand" scheduler is the default in RC2, but will most likely be replaced with the "interactive" scheduler in the final release. You may consider choosing a custom option at this point and changing the scheduler to "interactive". I'd appreciate any input you may have on this subject.
-----------------------------------------------------------------------------
By the way, I'm saving up to take my kids to see the last launch of the space shuttle Discovery on November 1st. If you like and use the tweak, please consider donating using the following link:
Or at least upvote my reddit thread
http://www.reddit.com/r/reddit.com/comments/dk53y/garage_sale_to_support_taking_my_kids_to_see_the/
WEWT!!
wewt! you the man
Thanks so much! I'll give this a shot on ZenEXP tonight and let you know how my battery does tomorrow.
So in this update do I still have to run batt-cfg to get everything set up? Also, can I check if it's working the same way? (pidoff bat.sh?)
You don't have to run batt-cfg, it should run as is unless you want to tweak the settings. and the command to check if it is working is pidof batt.sh
Love the battery life I get with you battery tweak. Just installed the rc2, thanks for the awesome work.
Having problems with the link. Anyone else?
Sent from my HERO200 using XDA App
Macanage said:
Having problems with the link. Anyone else?
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Nope, just d/l'd.
Thanks for this collin_ph
Says its down for me.
Sent from my HERO200 using XDA App
The Xda "App" on the phone does not show the attached zip that is at the bottom of the forum post.
Probably will have to go to Xda via the browser.
Sent from my HERO200 using XDA App
Jon.StatiK said:
Says its down for me.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Says down for me also
OOPS Another d/l link at the bottom of the post
Sorry about the site being down folks, had a problem with the server. It's back up and running, luckily I had attached the file to the thread. Sorry for the inconvenience.
collin_ph said:
Sorry about the site being down folks, had a problem with the server. It's back up and running, luckily I had attached the file to the thread. Sorry for the inconvenience.
Click to expand...
Click to collapse
bump. 10char
Works great with cm6 stable. Definitely my preference over setcpu or OC widget. Thanks alot.
Sent from my HERO200 using XDA App
So I was looking through the batt.sh code and saw that swapiness was set to 0. Does this imply that paging in/out drains battery?
Is there any typos in this release? lol jk.. but really
Sent from my HERO200 using XDA App
Is using this tweak with the #14 uncapped kernel ok? should i delete setcpu, before i flashed this tweak i was getting 4.8 linpack after install it went to 3.9 what am i doing wrong lol
dirkydirk23 said:
Is using this tweak with the #14 uncapped kernel ok? should i delete setcpu, before i flashed this tweak i was getting 4.8 linpack after install it went to 3.9 what am i doing wrong lol
Click to expand...
Click to collapse
Make sure you delete set CPU if you're using this tweak. They don't work well together.
After going over the script code, I noticed that the governor is set to "ondemand". Does that provide better battery life than "interactive"? Also, what is the purpose of the disk tweaks? When they were enabled, my battery life was horrible. Perhaps because I use Darktremor's A2SD?
nspot said:
After going over the script code, I noticed that the governor is set to "ondemand". Does that provide better battery life than "interactive"? Also, what is the purpose of the disk tweaks? When they were enabled, my battery life was horrible. Perhaps because I use Darktremor's A2SD?
Click to expand...
Click to collapse
IMO, it really depends on your use.
If you use very intensive applications, you'd want your processor to jump to max right away(ondemand). But lets say that you just unlock your screen to send a quick text, interactive would be a lot better.
Interactive, overall, will always have better battery life. The problem is that it sometimes 'sticks' to the min freq before ramping, making garbage collection crap out something fierce.
Decad3nce said:
IMO, it really depends on your use.
If you use very intensive applications, you'd want your processor to jump to max right away(ondemand). But lets say that you just unlock your screen to send a quick text, interactive would be a lot better.
Interactive, overall, will always have better battery life. The problem is that it sometimes 'sticks' to the min freq before ramping, making garbage collection crap out something fierce.
Click to expand...
Click to collapse
I see. I can't say I've noticed the slow ramp-up with "interactive" before, but the note about garbage collection makes sense. But going back to my earlier question, I noticed that the disk tweaks simply amounted to mounting certain directories to new locations. Still unclear on how these increase performance/battery life.
As an aside, the dalvik VM heap parameter is equivalent to the JVM heap, correct?

[KERNEL]CM-Enigma [BFS][SLQB][VDD][1.8ghz]v 1.3.2

I've compiled a kernel for Cyanogenmod 7 that OC's up to 1.8ghz (along with a few other tweaks I forgot about). Just use setCPU. It's pretty much Kali-'s kernel, but with a few minor config changes that I just had to enable. If you feel the need to donate, please donate to Kali- as I just changed around a few files. A few more tweaks will come around as soon as I have spare time (school's a b*tch sometimes and I have a tattooing apprenticeship to juggle). Just request what you guys want for the next version and I'll do my best to add it.
Thanks to Kali- and the rest of the cyanogenmod team for creating our port, and to everyone who helped them out. Hope I'm not violating anything by posting this.
DOWNLOAD:
http://www.mediafire.com/?pq7y7sb5dhz1fnv
TO DO LIST:
edit OC Code, attempt to make more stable
Add BFQ
Add SLQB
Add 122mhz at 850 mv (if possible)
How to install if you're already on CM:
NANDROID! NANDROID! NANDROID!
move zip to /sdcard
flash with ROM Manager
SetCPU it!
PROFIT
Source: https://github.com/DOAlaboratories/cm-kernel
1.3.2-
Updated CPU Freqs once again, hope have gotten it stable again...
Added VDD levels sysfs interface (edit your voltage tables through "/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels")
Re-patched SLQB, should be better now
Added BFS scheduler
Increased GPU memory allocation
1.3-1.3.1-
Internal Releases
1.2-
Added SLQB allocator
Set BFQ as default
New OC Code (should be more stable)
1.1-
Fixed Wifi
added [email protected] step
1.0-
Initial release
CREDITS:
Lee, for helping me get my VDD levels set up and the GPU mem alloc tweak
snq-, for the original VDD patch for the original desire
Kali-, first and foremost, for making our original kernel for CM7
Must....resist...urge to make CM7 even faster...
Sent from my CM7 Inspire
Good job. My request kindly post the user manual guide for installing this CM7 or send me PM. I will post. Thanks
1.1 coming tomorrow with the [email protected] step It seems stable enough for a daily driver.
1.1 is up!
will this work for MIUI as well?
how stable is this?
ogwilson said:
how stable is this?
Click to expand...
Click to collapse
seems pretty stable right now. a few reported crashes but it's alright.
I had a few issues with 1.0 @ 1.8, just updated to 1.1 and went to 1.7.
This is perfect, was just looking around for how to go past 1.2
LOL 1) Put your source up
LOL 2) Compile a proper wifi driver module
LOL 3) I don't think you know how the kernel works if you can't even compile a proper wifi module.
Watch your language, remember you are a senior member
1)I'm new to kernel compiling.
2)the source is going up today.
3)if you have a problem with me posting this, compile this **** yourself and don't troll. I do this out of my free time, I'm busy as hell, and I don't ask for donations. I'll put up the source later so you can do it yourself and post it better.
Sent from my Desire HD using XDA App
maxisma said:
LOL 1) Put your source up or GTFO
LOL 2) Compile a proper wifi driver module
LOL 3) This OC is BS and I don't think you know how the kernel works if you can't even compile a proper wifi module.
Click to expand...
Click to collapse
Lol, at this guy. Give people a chance to learn. Judging from your other posts you seem to be doing the same to other people who want to learn but don't know stuff yet.
If you know a lot now, you didn't always. These people are at that stage, give them a chance rather than posting comments that don't advance the discussion or help them in an way.
DOAlaboratories said:
1)I'm new to kernel compiling.
2)the source is going up today.
3)if you have a problem with me posting this, compile this **** yourself and don't troll. I do this out of my free time, I'm busy as hell, and I don't ask for donations. I'll put up the source later so you can do it yourself and post it better.
Click to expand...
Click to collapse
+1
Speaking of wifi, is anyone having problems with it on 1.1? It works perfect on my phone and I'm on CM7RC1, but I haven't tested it on nightly 8.
Sent from my Desire HD using XDA App
Benchmarks?
Wow 1.8 ghz is fantastic...good work!
Have you tried the Quadrant/Linpack to see what kind of results this overclock can achieve?
I'm predicting very high benchmark scores for this.
wifi is fine for me on 1.1
Thanks again for doing this.
kvs678 said:
Wow 1.8 ghz is fantastic...good work!
Have you tried the Quadrant/Linpack to see what kind of results this overclock can achieve?
I'm predicting very high benchmark scores for this.
Click to expand...
Click to collapse
I got about 61 on linpack and 2700 on quadrant
Sent from my Desire HD using XDA App
Nice to know, pretty good for single core.
Anything you guys want to see in 1.2? And source should be up about 6pm Pacific.
Sent from my Desire HD using XDA App
Tried this Kernel and it is not very stable for me.
I get constant phone freezes at 1.7 and 1.8Ghz.

[Q] Request: EC05 Kernel with keyboard fix and no other tweaks

I have tried the other Kernels available , Genocide, Twilight etc. The performance gains are real and it is amazing what the developers are doing.
However I have significant instability with these Kernels compared to Stock. I use my phone for business and stability is #1 priority for me. The only fix I really need is the skipped key press bug. I am running stock now but the keyboard is unusable without the fix.
Would one of the developers that knows what they are doing have time to compile a stock kernel with only the skipped keyboard fix implemented?
Thanks!
violinbf said:
I have tried the other Kernels available , Genocide, Twilight etc. The performance gains are real and it is amazing what the developers are doing.
However I have significant instability with these Kernels compared to Stock. I use my phone for business and stability is #1 priority for me. The only fix I really need is the skipped key press bug. I am running stock now but the keyboard is unusable without the fix.
Would one of the developers that knows what they are doing have time to compile a stock kernel with only the skipped keyboard fix implemented?
Thanks!
Click to expand...
Click to collapse
The closest thing I've found is this:
http://forum.xda-developers.com/showthread.php?t=1039991
I'm like you, I want stability above all else and I only wanted the skipped keyboard fix. I don't care about overclock/undervolting and what not. Just want something stable. Although this kernel has some other minor changes, it's pretty much stock.
I just flashed this kernel this morning and haven't had any issues thus far but it's only been a few hours.
I'll report back tomorrow and let you know if I run into any issues.
Wrong section dude this need to be in general.
Sent from my SPH-D700 using XDA Premium App
Clean Kernel EC05 should suit you well, and finally has a proper post here:
http://forum.xda-developers.com/showthread.php?t=1053252
It has no volting done, and has the same performance as the stock kernel.
Hope you like it!
DRockstar said:
Clean Kernel EC05 should suit you well, and finally has a proper post here:
http://forum.xda-developers.com/showthread.php?t=1053252
It has no volting done, and has the same performance as the stock kernel.
Hope you like it!
Click to expand...
Click to collapse
Just wanted to say thanks again for compiling that kernel. Downloaded voodoo controller from the market as well. Didn't realize what I was missing as far as sound quality!
Not to rudely question your decision, but have you tried any customs that support voltage control? (Currently only genocide, but twilight is promising it soon). I used to have terrible instability, but it was because my phone couldn't handle undervolting... genocide + voltage control removing undervolt fixed that.
On a side note, if you decide to try genocide make sure you go to the end and look for the 1.0.1 test build, it fixed the kswapd0 high cpu usage bug (rare, but definitely made the phone less stable). I've had 18 hours of perfect uptime (not battery of course) since installing the update, and I have large tendancy to max out my phone.
Sent from my SPH-D700 using XDA App
I'd like to have stock, ext4, and keyboard fix. Stability is my #1 priority as well...that being said, I'm running the Genocide kernel at stock speed, and it seems pretty stable. Been using now for a matter of weeks.
Sent from my SPH-D700 using XDA App
Thread in the wrong section. Please post in the proper section. Thread closed.

| ROM | DISCONTINUED | CM_Merged v2.1.0 | Stable | Android 2.2.2 | Cm6 Parts

This is a ROM ive put together for the sk4g. Heres a Complete break down of the Rom.
ATTN: I HAVE DISCONTIUED MY WORK FOR THIS DEVICE. I AM SICK AND TIRED OF THE PRE TEEN DRAMA.
Credits:
SteadyHawkin (If you dont know who he is...HE IS THE BEST KERNEL DEV I KNOW) (Just a general thanx)
Lpy (Renice Script and Lagfix)
Cyanogenmod (I used there cm6 code to update android version from 2.2.1 to 2.2.2)
Reviewers (Helping me out and for the original blaze 4g modem)
Dxidisa (For Rom Kitchen)
Sduvick, Ayoteddy, Dr. Honk, and nxd (For The Kernel)
ANY ONE ELSE I FORGET...YOU GO RIGHT HERE.
Directions To Install:
Download Latest and Greastest Rom from 4shared
Boot into Recovery
Wipe Cache
Wipe Dalvik Cache
Wipe Data
Wipe System
Check Your Mounts (VERY IMPORTANT)
Flash Rom
Reboot
Let Sit For 5 mins
Reboot Into Recovery
Flash My Modified Blaze 4G Modem : Download Here»» http://www.4shared.com/zip/avQgz2er/Blaze_4G_Modem.html
Reboot Again
Restore Apps and data
Reboot yet again
Enjoy
WHAT IS THIS ROM???
Its based on KJ2
System and Framework Patched to 2.2.2 Froyo
Full TW Support
No Theme [Yet]
Deodexed
Debloated
Zipaligned 4x
Fully Optimized
Better Quad Scores
Added Zipalign All Script on Boot
(This Zipaligns both System and Data Apps on boot)
CPU Screenstate and CPU Governor Freq Script (This controls everything basically, Huge boost in battery life)
Read Ahead Script Set to 3072kb
Dalvik cache set to default 64mb
If Dalvik becomes full it is moved to Cache Partition by default (Reduces Lag)
Launcher Lagfix Script (Kills all lag within the stock launcher)
Internet Speed Script ( Increase Network speeds and browser speed)
Battery Saver Script (Will Extend Battery life by up to 25%)
GPU Render Script (Will Render UI with GPU instead of CPU by default)
INTRODUCING TWO NEW SCRIPTS
Battery Calibration Script (Auto Deletes Batterystats.bin on first boot)(MAKE SURE YOUR DEVICE IS CHARGED TO 100% BEFORE FLASHING)
WiFi Script (Turns off WiFi after 10 sec of screen off) (Keep phone in deep sleep when screen is off)
GPS Binaries Modded to Increase Lock speed (Locks on to multiple sateilites for accuracy up to 4 meters)
Using PDTeam P1 Kernel (1.3ghz OC and CWM Recovery Baked In and Voodoo)
Added Full init.d Support
Busybox Run Parts Support Added
And MUCH MUCH MORE
WARNING: I DO NOT HAVE THIS DEVICE. THIS IS A BLIND BUILD. I AM NOT RESPONSIBLE FOR ANY DAMAGE YOU CAUSE BY FLASHING THIS ROM. YOU HAVE BEEN WARNED.
How to set your APNs:
Name: Tmobile
APN: epc.tmobile.com
MMSC: http://mms.msg.eng.t-mobile.com/mms/wapenc
MCC: 310
MNC: 260
APN type: Internet+MMS
EDIT: YOU NO LONGER NEED TO SET THE APNS STARTING WITH v2.0.0++. IT NOW AUTO SETS FOR YOU.
Warning: Flash at your own risk. I am making these builds blind. There are alot of risks. You have been warned.
Download link:
*Link Removed*
Donation Link:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RCNQJ23STFQFQ
Common Questions Answer Area:
I am unable to boot past the splash screen...Why???
You need to check your mounts...make sure you are using the red voodoo recovery with voodoo enabled...Make sure you follow my directions in the OP to the "T".
I am stuck at the green android guy...what do I do???
You got a corrupted System or Cache Partition..You need to Odin to stock to kill the corruption....then reflash my rom once you regain root and voodoo recovery...partition corruption is very common on all sammy devices...and No my rom didnt cause this issue.
AND IF YOU CHOOSE NOT TO DONATE PLEASE PLEASE PLEASE HIT MY THANKS BUTTON.
Definitely gonna flash this as soon as I can (once the link is up...)
Sent from my SGH-T839 using XDA
WolfV2 said:
Definitely gonna flash this as soon as I can (once the link is up...)
Sent from my SGH-T839 using XDA
Click to expand...
Click to collapse
Im trying to see if reviewers will test this out before release. Wanna make sure everything boots up.
Sent from my SPH-D710 using xda premium
you got me excited
hey man, this isnt gonna work at 1.3 ghz... its gonna crash for alot of us. my phone can run 1.15 semi-stable, 1.1 would be safe for everyone. this processor is extremely sensitive and cant handle speeds like that.
excited for the rom though, thanks for contributing
**** mine never even handled 1.1. would always do the 1 buzz followed by 3 and i would be forced to wipe my entire phone afterwards. god the SK4g is such a piece of ****. anyways, i'll test this out if i get around to it, probably wont be until next monday though. hopefully tis up and running by then.
I second that. Please remove the overclock for the sake of compatibility. On my device, I have never found any kind of stable overclock.
I also appreciate that you have used an accurate version number--that properly indicates the state of the software. Thank you. Little things go a long way.
also do u have a list of apps that have been added and or removed?
I guess I'm one of the lucky ones because i can go to 1.3 stable, but the loss in battery life just isnt worth the increase in speed. I say you should remove the overclock and just put in the description [OVERCLOCKABLE].
Sent from my SGH-T839 using XDA
How about make two versions? An OC'd one and a non-OC'd one? I would definitely like to see how this thing runs with that (I usually OC to 1.2, and too lazy to actually do it when it would be helpful...)
EDIT: Just tried 1.3, about 5 seconds after setting it phone did the FC vibrate pattern, then stopped responding... maybe 1.3 is a bit drastic?
Sent from my SGH-T839 using XDA
ive been able to overclock to 1.3 semi stable, with a slight voltage increase ive gone over an hour at 1.312. the problem is that the battery does drain like crazy. and it is susceptible to issues. the performance gains arent 30 percent so it isnt worth it, but if it remained stable id use it.
Chill out everyone. Its just OCable to 1.3ghz. Its set to default 600-800mhz screen wake and 200-400mhz screen sleep. My script handles the freqs of the cpu. However if a user chooses to use any overclock app or widget it will disable my script and no help will be given if someone has issues. It will show in the logcat if my script was disabled.
Sent from my SPH-D710 using xda premium
Just a question on logcats but is there something like lumberjack but for froyo? handy lil app on my ICS devices for getting logs when i'm no where near a computer.
pintek said:
Just a question on logcats but is there something like lumberjack but for froyo? handy lil app on my ICS devices for getting logs when i'm no where near a computer.
Click to expand...
Click to collapse
App called aLogcat. It is the most simple to use.
Sent from my SPH-D710 using xda premium
Thanks for the info!! At the momment i've gotten my phone as stable as possible with gov2 but I wouldn't mind trying something abit newer squeeze every lil bit of performance out of my sidekick. So i'll give your rom a shot an knowing how my phone behaves i'll have plenty of logs for ya to look at.
ReActiveDisorder said:
Battery Saver Script (Will Extend Battery life by up to 25%)
Click to expand...
Click to collapse
You had me at hello.
Seriously though, hyped on flashing this.
d3xtro. said:
You had me at hello.
Seriously though, hyped on flashing this.
Click to expand...
Click to collapse
key words is up to...people on my ET4G have seen 20-30% but we also have sammy ics leaks On froyo im guessing 15-25% at the most.
Sent from my SPH-D710 using xda premium
Just so everyone knows im currently at disneyland with the fam...the rom is done but the wifi at my hotel sucks monkey balls so I cant upload I will get back friday night so i will upload when i get back.
Sent from my SPH-D710 using xda premium
where do you live? Its crazy how people spend whole weeks at disneyland and may never go back again. As a southern californian, I think we kind of take it for granted haha.
Back on topic, I'll definitely be able to test this out when its ready.
JonathanBarca10 said:
where do you live? Its crazy how people spend whole weeks at disneyland and may never go back again. As a southern californian, I think we kind of take it for granted haha.
Back on topic, I'll definitely be able to test this out when its ready.
Click to expand...
Click to collapse
I live in arizona.
Sent from my SPH-D710 using xda premium

Categories

Resources