Friday, March 25, 2011

+Thunderbolt

Got a thunderbolt and figured why not make the zip even more universal.  So, v6 should work for TB, DX, and D2 now. After flashing the zip be sure to reboot one more time!

What to expect - hopefully faster, more stable, and longer lasting TB/DX/D2.
How to check if the mods are in effect: 1) Launch Terminal Emulator, 2) Type "bash /data/imoseyon/checkimosey.sh", without the quotes and hit enter.
How to remove my mods: remove /etc/init.d/99imoseyon and reboot.

(Keep in mind that this is a work in progress and your mileage WILL vary.)

More details

Downloads
Change Logs 
  • v6.2.1 - fixed a bug in check script.
  • v6.2 - added swap support (if your kernel supports swap, ie thunderbolt). Run "sh /data/imoseyon/swap.sh create" to enable. Blog post on this.
  • v6.1.4 - made enable script more robust for more ROMs. No need to flash if yours is already working.
  • v6.1.3 - fixed more enable bugs for some roms.  It's not easy making a zip for all ROMs for 3 devices folks! ;)
  • v6.1 - added /tmp tmpfs support for thunderbolt
  • v6.0.5 - fixed more minor bugs, and tweaked cache_pressure slightly in an attempt to reduce/eliminate occasional sluggishness.
  • v6.0.4 - fixed a bug for stock ROMs without busybox, created /tmp if it doesn't exist.
  • v6.0.3 - fixed an unsilly bug for DX/DX
  • v6.0.2 - fixed another silly bug which prevented crond from starting up on some ROMs.
  • v6.0.1 - fixed a silly bug which prevented my mods from being enabled on ROMs that don't have init.d enabled.
  •  v6.0
    • Tweaked scripts to work on thunderbolt.
    • Tweaked minfree some more (note this is still a work in progress).
    • Separated sysctl settings to a separate file (/data/imoseyon/sysctl.conf) so they are easily customizable.
    • Abandoned interactive mode - it didn't really provide much value for me.  So I'm doing ondemand only for now.  May look at conservative next.

Thursday, March 3, 2011

Universal Zip (imoseyon mods)

UPDATE:
v5.2 is up

I finally had a chance tonight to create one zip to rule them all.  No more maintaining four different versions.  The new zip contains a script that runs when you flash it the first time to determine what needs to be enabled and makes the necessary changes regardless of which ROM you're on.

More details on the mods

What to expect - hopefully faster, more stable, and longer lasting DX/D2.
How to check if the mods are in effect: 1) Launch Terminal Emulator, 2) Type "sh /data/imoseyon/checkimosey.sh", without the quotes and hit enter.

(Keep in mind that this is a work in progress and your mileage WILL vary.)

Downloads
Change Logs
  • v5.2
    • tweaked minfree to be less aggressive for foreground app and background services
    • does a nightly check to see if it's enabled at boot and fixes it if the boot startup is clobbered by another app.
    • new script - run "sh /data/imoseyon/checkimosey.sh" anytime to see if all the tweaks are in effect.
  • v5.11: fixed a bug where if you didn't already have busybox installed my tweaks probably didn't stick at boot (for 3.4.2 users).
  • v5.1: updated to work on 3.4.2. (only 3.4.2 users need to flash)
  • v5.0: universal version for all ROMs.  Created two separate zips for governor types. (upgrade from 4.3 is only necessary if you want to go back to ondemand governor).
You can find the old change logs here.

Here are the differences between the two governors (taken from the Cyanogen docs):
The CPUfreq governor "interactive" is designed for low latency,
interactive workloads. This governor sets the CPU speed depending on
usage, similar to "ondemand" and "conservative" governors. However
there is no polling, or 'sample_rate' required to scale the CPU up.

Sampling CPU load every X ms can lead to under powering the CPU
for X ms, leading to dropped framerate, stuttering UI etc..

Scaling the CPU up is done when coming out of idle, and like "ondemand"
scaling up will always go to MAX, then step down based off of cpu load.
What's my verdict?  It's hard to say.  Interactive governor does feel a bit snappier but theoretically it should consume a bit more battery.  And I had a random reboot for the first time in months, after enabling interactive governor.... I'll post my opinion after using it for a week or so.