yashsingh1/xdaforums huggingface dataset:
[Samsung Epic 4G Touch] sabunimwil:
Epic 4g touch Mijj's blend 4.0.4 v12

Testing Kobridge Tweak Pack v3.2 on Mijj's Blend the Goodness 4.0.4 v12. Not so hot on battery life. I was actually getting better battery on the stock rom without this but I'm going to give it a few days to settle in. I flashed the Moderate script. Does anyone have any suggestions. I wiped even though I was told I didn't need to. I didn't see that anyone had tested on this rom yet so I figured I would give it a go. I read all the warnings and instructions so if you just have negativity please keep it to yourself. I was being a guinea pig here.

If there are any settings I can change that would help, please feel free to give me any suggestions.

It's actually making my phone lag and freeze. When it stops lagging it is still fast but when I turn on the screen it takes about 3 seconds to load. When you hit the home button you get the same response. The page loads one widget at a time.

Battery life down to 79% in 1hr 37 minutes.

Screen 54%

Android OS 16%

Android system 8%

Cell standby 5%

I did the test script and got a return of 0 and also had the "Hello Android" file show up in temp. So my scripts are running, right?
[Samsung Epic 4G Touch] kobridge:
First, I'd like to recommend to try F or SF mode.

If you see the lag again, then that means something wrong.

There are couple of things and maybe you already read those.

1. you need to be sure that script is running. If you checked script thru SManager, it's ok but we still don't know it's running on boot by system not SManager.

2. Do you have any tool that you can use the monitor the battery status, CPU status something like Rom Toolbox? If you have this, check the CPU frequency. If CPU is set to 1.2GHz on M tweak mode then, it means it's not running.
[Samsung Epic 4G Touch] odub303:
I'm assuming this is intentional, but the CPU tweaks file is not included in the CM9 zip. Has it been shown to cause problems on CM9?
[Samsung Epic 4G Touch] sabunimwil:
I just downloaded Rom Toolbox and it says my CPU is running at 1GHz in M. I guess that means that the script is running. I just went into my initd folder and ran the scripts with boot and su clicked. What else should I do to make sure this is working right?

I'm going to try SF here in a few minutes. Should it need to settle in like a rom does or should it be instant?

hanks BTW for the help. I hate the battery life on android and I was really hoping this would help. Just hope I can get it right.
[Samsung Epic 4G Touch] kobridge:
It's there but not in init.d. It's included at /system/etc/install-recovery.sh

No,no no! We are not running the scripts by SManager. We are running it by system (kernel). Don't run the script manually. Just reboot and check the CPU speed again.

Edit: wait. you also need to remove the SManager settings that manually running scripts on boot. Which scripts were you manually running? Did you install the Kobridge Tweak Pack 3.2 on post #61 at page 7?
[Samsung Epic 4G Touch] odub303:
Thanks for clarifying. I was looking for the cpu file in system/bin b/c that's where it is in some of the other packages. I've been messing around trying to create my own one-stop-tweak-shop for a while. You just made my life much easier lol. Working out well so far, thanks!
[Samsung Epic 4G Touch] sabunimwil:
Only ran the test file manually. I ran SF and the cpu reads 1200mhz. Not good!

Not running anything manually at this point. I read through the guide on increasing battery life and was following those instructions but then realized (duhhttp://xdaforums.com/images/icons/icon12.gif) that flashing the zip should have done it for me. Had a blond moment there.
[Samsung Epic 4G Touch] kobridge:
That's good. SF runs at 1.2Ghz. Now seat back and see how the battery life goes.

From the Rom Toolbox, can you post the snapshot of the kernel tweak? I just want to confirm that scripts are running.
[Samsung Epic 4G Touch] sabunimwil:
Having a problem posting screen shots. The button is greyed out and un-clickable. (new word).

Min Free KBytes - 4096

Dirty ratio - 95

Dirty background ratio - 70

VFS Cache Pressure - 50 OOm Kill Allocating task - unchecked

Apply on boot - unchecked.
[Samsung Epic 4G Touch] kobridge:
This is good. If you slide from right to left on the same screen, it will show you the CPU frequency info. Can you get that info too?
[Samsung Epic 4G Touch] sabunimwil:
Sliding left to right gives me:

I/O scheduler - NOOP

Sampling rate - 100000

Up threshhold - 75

Powersave bias - 0

Ignore nice load - unchecked

Normalized sleapers - checked

New fair sleepers - checked

Gentle fair sleepers - checked

Apply on boot - unchecked

Didn't see CPU frequency. Do I need to buy the pro version? Not a problem if I do. Thanks again for all the help. I have been doing a little rom modding and themeing but this is new to me and I am learning a ton from the articles. Thanks.
[Samsung Epic 4G Touch] afinch1992:
Ive searched through the thread and did not find this mentioned. I use my phone as a hotspot a lot using the tether for root app. Since I flashed this tweak I am not able to get it to work with 4g. Then once the screen is off, all connection seems to be lost or is very inconsistent. Is this a side effect or unrelated issue? Also, would using the sprint hotspot app be a better idea? I just didnt want to end up with a huge bill at the end of the month incase sprint could track my usage of their app
[Samsung Epic 4G Touch] kobridge:
You said that you are on SF mode. Check the Sampling rate again. If it's still 100000 then it mean my CPU tweak is not working on your ROM while other tweaks are working.

Edit: after boot, it would take about 1 minutes until CPU tweak settle down. So, wait couple of minutes and check it please.

When did you down load the tweak? If you downloaded AOKP tweak very first time, there was one issue on first one. I uploaded the tweak again after couple of hours. For Hotspot, the hacked sprint hotspot is ok if you don't have the hotspot plan. That's why we call it hacked hotpot. For the normal Sprint hotspot, you wouldn't able to connect it if you don't have Sprint hotspot plan. But hacked one, you can connect and Sprint will not charge you.
[Samsung Epic 4G Touch] BigJPNut:
Ive been running 3.2SF tweaks on Venum 6.0 and my sampling rate has been 100,000 too according to RomToolboxPro. I just assumed it was wrong and rolled with it.

Edit: At this point I just set romtoolbox to set sampling rate at 25000 on boot just incase and unchecked all the sleepers.
[Samsung Epic 4G Touch] gershee:
thanks for finally getting around to us aokp users kobridge! woot!

I'm still on milestone 5 so I'm hesitant to give a try (unless someone can confirm working), but I'll flash b37 and the tweaks later today!
[Samsung Epic 4G Touch] afinch1992:
Forgot to change my signature :P. thank you for the info on the hotspot as well. I guess i will keep tether for root anyways since it has a widget.

i downloaded and flashed it yesterday on top of a fresh install of calks2 v1.6. I did have back ups of juicedefender and setcpu that were reinstalled, but I stopped both from running. I will give it a go again tonight and see if it was just a fluke. i didnt know if there was an automatic 4g or 3g cut off when the screen turned off or something
[Samsung Epic 4G Touch] kobridge:
JP, no please don't touch anything from rom toolbox. After the boot and couple of minutes later, it will change the value by itself after my CPU tweak settled down.

Again don't change anything from Rom Toolbox. It will mess up my tweaks!

Sometimes, CPU tweak is not settled down and it would show 100000 sampling rate. In that case, just reboot the phone and check it again (most of time, this would solve the issue).

For SF mode (screenshot)
[Samsung Epic 4G Touch] BigJPNut:
Ok I will try again. I noticed your tweak calls for no gentle fair sleepers, but yours are checked in the screenshot.

Edit: Now shows 25000...thanks again!
[Samsung Epic 4G Touch] kobridge:
I believe that it's a kind of bug on Rom Toolbox. I don't believe the values on those sleeprs displayed in RomToolbox but I do not touch those sleepers thru Rom Toolbox. It could mis-lead us.
[Samsung Epic 4G Touch] odub303:
It does not appear that the CPU tweaks are taking effect on CM9. Even after a reboot and allowing time to settle, the sampling rate is still shown as 100000.
[Samsung Epic 4G Touch] kobridge:
Which tweak mode?

If you are using A mode, then that's the right value.
[Samsung Epic 4G Touch] rmikulus:
Doubt you'll find it flashable. Download Script Manager and run as root (not at boot). Higher speed settings will drain battery more quickly.

---------- Post added at 11:13 AM ---------- Previous post was at 11:09 AM ----------

I've seen a huge battery life increase since running your script. I will probably go in and manually apply my own memory management settings based off of V6, but so far, on Calk's 2 1.6 I am really, really happy. Battery has been such a huge issue for me on ICS.

Thank you!
[Samsung Epic 4G Touch] kobridge:
Please don't post nothing related to Kobridge Tweaks in this thread.

edit: I was talking about the first part - Supercharger thing.
[Samsung Epic 4G Touch] BigE-evo:
My phone is lagging at wake up and when getting a call.

Running:

Venom6.0

FE22 plus (also used FE22repackACS)

3.2SF

I reflashed both kernels then applied tweak. Both times sampling rate stayed consistent at 100000. I can't figure out why the tweak is not sticking.
[Samsung Epic 4G Touch] kobridge:
Now I can figure it out why people are complaining about the lag. 100000 sampling rate is not right for SF. Just check the posts from few pages before and read down to here. You will figure it out. It should be 25000! Once after it's settled down, it should not have any issue any more until you change the kernel again. Changing kernel does not erase the tweaks but move the settings back to kernel default values. So, you have to wait until new tweak values settled down or try reboot and check the values again.
[Samsung Epic 4G Touch] odub303:
SF mode

---------- Post added at 01:14 PM ---------- Previous post was at 01:09 PM ----------

On the CM9 SF tweak package, I had to manually run the install-recovery.sh script in order to get the cpu tweaks to take effect. It now shows 25000 in the sampling rate. Worst case scenario, SManager can be configured to run the script at boot.
[Samsung Epic 4G Touch] BigE-evo:
I rebooted and let it settle. Same 100000.

I forgot to mention I am on Venum 6.0 ODEXED. Do you think that is causing it?
[Samsung Epic 4G Touch] kobridge:
I've tested on AOKP and it had no problem. For CM9 I'm not 100% sure but based on the theory, it should be fine. Could you check the init.rc (on root /) file if it has install-recovery.sh inlcuded?

Keep try... Lots of VeNuM user are using my tweaks without any problem. Are you running anything else on boot? Any tools?
[Samsung Epic 4G Touch] rokair:
OK, now that I know where the CPU script is I looked at it and I am fairly certain I see the issue. It doesn't seem completely correct but I noticed this when I was playing with init.d scripts (variants from yours and Calks) a while back.

If you reboot the phone and wait (without letting the screen turn off) for at least the minute (or two) you will see the governor setting that you are expecting. Now turn the phone screen off and wait a few seconds. Turn the screen back on a after a few more seconds check the values again and you will see that the Sampling rate (haven't checked other values) are back to the defaults values (100K).

It seems that if you change the governor (as you do in at least the case of the M file to PowerSave) that you have to set the OnDemand values again when you return to that governor.

EDIT:: Yes, I edited the dvfs.sh file to include the lines from the top of the file (when you initially set the governor values) again just after the setting of the governor at the on wake step, replaced the file on the phone, and rebooted. Now the issue is gone. I actually debate if all of the values are needed again or not but to be the safest I reset them all.

AWAKE=`cat /sys/power/wait_for_fb_wake`

if [ $AWAKE = "awake" ] ; then

echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo $AWAKE_MAX_CPU_SPEED > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo $AWAKE_MIN_CPU_SPEED > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

echo $ONDEMAND_SAMPLING_RATE > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate

echo $ONDEMAND_UP_THRESHOLD > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold

echo $ONDEMAND_DOWN_DIFFERENTIAL > /sys/devices/system/cpu/cpufreq/ondemand/down_differential

echo $ONDEMAND_FREQ_STEP > /sys/devices/system/cpu/cpufreq/ondemand/freq_step

echo "Set MAX/MIN CPU speed to $AWAKE_MAX_CPU_SPEED/$AWAKE_MIN_CPU_SPEED"

sleep 2

AWAKE=

fi
[Samsung Epic 4G Touch] BigE-evo:
The only thing that should be running on boot is System Panel. I don't think that program does anything to kernel. I use it for monitoring rouge apps and usage. I will disable it and reboot, see if that works.

EDIT: found the culprit. I disabled System Panel, rebooted and now my sampling rate is 25000.

EDIT EDIT: checked again, went back to 100000. Back to the drawing board.
[Samsung Epic 4G Touch] kobridge:
You're right! I'm checking it now!

Thanks for your finding!
[Samsung Epic 4G Touch] rokair:
Just wait for the fix that I mentioned to Kobridge. Once he has it updated this issue will likely go away. To see if this is your issue...reboot...wait about 2 minutes but do not let you screen turn off. Check the value and it will likely be 25K. Then turn off your screen...wait about 10 seconds...turn screen back on...wait about 10 seconds and check the value again. It will likely be 100K. If this is what you see then the fix in the works will help you. ;)
[Samsung Epic 4G Touch] kobridge:
I'm not there yet...
[Samsung Epic 4G Touch] edlee:
Hey KO,

I have been out the last few days, and I noticed you have been doing alot of new work, kudos.

I noticed in your new 3.0 and 3.1 tweaks the init.d files only have four files:

10ext

11zipalign

41tweaks_other

70wifiSleepWait_kobridge

what happened to 21cpufreq_governor and 31cpufreq_scaling, do we not need these anymore?
[Samsung Epic 4G Touch] kobridge:
I thought that I mentioned about that at OP.

What's going to be installed or replaced?

build.prop - Be sure that you have the same version of stocked based ROM. If your rom is different with the rom version in the title, you may need to find a different build.prop.

install-recovery.sh - thanks to sfhub. sfhub created this file originally to support the init.d scripts from stock or any other type of roms. If you are using sfhub's auto root tool, the original install-recovery.sh would be saved into install-recovery-orig.sh. So, be sure that make backup these files if those are already there. My flashable zip file will replace the existing install-recovery.sh.

init.d - will be created if it's not there and any existing init.d scripts will be cleaned up. So, make sure you have the backup of those files.

busybox, sqlite3, zipalign will be placed into /system/xbin folder.

CPU tweak file will be placed into /system/bin folder. No more cpu tweak files in init.d folder.
[Samsung Epic 4G Touch] steve97ta:
Well flashed Calks rooted fe16, agats repack fe16-acs recovery.

And the 3.1 aggressive tweaks just to see how fast.....what in the world did you do? This thing flies!

I'll post back with results when it settles in
[Samsung Epic 4G Touch] edlee:
sorry, I tried to skim the whole thing, and get straight to flashing.

So should i wait for a 3.1 tweak for calk 2 v1.5, or can flash 3.1M now as long as I keep the build.prop from 2.5m?
[Samsung Epic 4G Touch] akarol:
Gotcha! Thanks man! 3.0M has settle after a couple of hours and there's almost no lag. :) Anxiously waiting for your next iteration.
[Samsung Epic 4G Touch] slick4mitch:
Ok, I read the OP and I didn't see this mentioned, do we have to wipe something before flashing? Like cache and/or dalvik? Also, I'm running stock FE16 kernel, do we need a repacked kernel for these tweaks to work? Thanks in advance.
[Samsung Epic 4G Touch] kobridge:
OK. Now I've finished posting all 3.0 Kobridge Tweak files.

There are 1. Stock based FE6 Rom 2. VeNuM ICE RL5.5 Rom 3. Calkulin's E4GT2 v1.5 Rom flashable zip files.

I created flashable zip files based on the download count for Kobridge tweak v2.4.

Some of the tweak files were not downloaded as much as I expected, so, I'm not going to support those Roms. If you want to use these tweaks for other stock based roms, please use the stock based tweaks.

Starting from Kobridge Tweak v3.0, I'm not going to support the previous build ROMs. So, to use the up-to-dated tweaks, I recommend you to use most recent rom. Sorry for any inconvenience and thanks for using my tweaks!

No. No wipe required. Also, you don't need repacked Kernel to run the init.d scripts.
[Samsung Epic 4G Touch] BigJPNut:
Thanks for this kobridge. Im on Venum5.5 and running 3.0SF tweaks. One thing I noticed when I fire up Rom Toolbox, it shows noop scheduler and up threshold at 70%, but the Sampling rate is 100,000. I changed it to 20,000 and checked apply on boot. Is this a good idea to do or not?
[Samsung Epic 4G Touch] urrlyx:
thanks Kobridge! flashed the 3.1m package and will report back after it has settled in.
[Samsung Epic 4G Touch] kobridge:
It should be 20,000 and not 100,000. Where do you see 100,000 value?

Edit: I think that's not a good idea because I don't know how Rom Toolbox works and how it changes the values. It may break my tweaks working properly. With my tweaks (for me), I do not use any other tweaks provided by any other tools like Rom Toolbox, System Tuner Pro or anything else. I only use those to watch the current values.
[Samsung Epic 4G Touch] BigJPNut:
Rom Toolbox/peformance/kernel tweaks/advanced
[Samsung Epic 4G Touch] edlee:
KO,

I just installed V3.0M on calks, I have no idea how you did it, but this thing flies!!!

Samsung should hire you, unless you already love your day job.
[Samsung Epic 4G Touch] kobridge:
It seems like you have something besides of my tweaks.

I just applied the 3.0SF and showing like this...

Edit: Just remembered that it would take about 30 seconds ~ 1 minute until all tweaks settled down. So, you may not see the tweaks effective just after the reboot and screen turned on. Wait couple of minutes at least and check it again.
[Samsung Epic 4G Touch] BigJPNut:
That could be it. I pushed the build.prop and dvfs file. And just added the 41tweak file with a little add on to remove the sleepers. Let me just flash it. Sorry man I know you do great work and I hope I didnt inconvenience you. I'll report back.
[Samsung Epic 4G Touch] steve97ta:
I can't believe i went back to stock for these lol

Calks fe16 stock rooted + agats fe16 acs recovery kernel + ko's aggressive 3.1 = pure awesomeness
[Samsung Epic 4G Touch] BigJPNut:
Flashed and all is well now kobridge! Totally user error for thinking I was doing something a little better. My next question I noticed on your screen shot your sleeper boxes are checked and mine are not. Is something wrong on my end? Should I check them? I was thinking unchecked was better, but could be me over thinking again lol?
[Samsung Epic 4G Touch] kobridge:
Again, personally I do not want to use use any options provided by multiple tools. Soon or later, our phones are going to be messed up and hard to control it. So, as said, I did not touched anything from Rom Toolbox.

Rom Toolbox is a great tool for several things like change LCD density easily, uninstalling any APKs, and disabling apps or events during the boot.

But as long as tweak related, I do not use anything like that.
[Samsung Epic 4G Touch] dec3ption:
I may have overlooked something, but can the 3.9 tweak for stock rooted roms be used for agat's FE16 rom?
[Samsung Epic 4G Touch] steve97ta:
You should be good running the stock ones. Agats is stock with a few tweaks and theme.
[Samsung Epic 4G Touch] BigE-evo:
That is exactly what happened. Thanks!
[Samsung Epic 4G Touch] kobridge:
Kobridge Tweak Pack v3.2.1 - Super Fast & Battery Savings

Kobridge Tweak Pack v3.2.1 - Emer fix release (CPU Sampling rate fix - prevent the phone slowing down)

If you want to know what this is, then please visit back to OP or page 7 post#61.

What's on v3.2.1?

* CPU sampling rate issue - fixed

* Lag time - during the wake up, it took long time. - not fixed. still there.

What's coming next?

There are still some people having some amount of lag time or delay during the phone wake-up. So, I'm still testing this part if my tweak can handle the lag time without noticeable battery loss. My next tweak version would come out with next build but new build (ROM) comes too early, then I'll delay my next version release date. Thanks for using Kobridge Tweaks and I'm trying hard to make it better or like a butter!

Who need this update?

Everyone using my previous tweaks pack v3.2. You must update it with this one. For new users, don't download v3.2. Instead, download the tweak pack in here v3.2.1.

If you are using v2.4 or below, it's ok to keep using those. But the upgrade is recommended.

What's in attachment?

FE22KOB_TWv3.2.1zip

- For stock rooted FE22 ROMs, All-in-One package. Super Fast(SF) Tweak (Antutu 6500), Fast(F) Tweak (Antutu 6500 or below), Moderate(M) Tweak (>6000), Agressive(A) Tweak (>5500). Battery savings are reverse order :D

VeNuM_6.0_KOB_TWv3.2.1.zip

(FE22) &

VeNuM_5.5_KOB_TWv3.2.1.zip

Calk2v1.5_KOB_TW_v3.2.1.zip

(FD26) - Enjoy!

Calk2v1.6_

(FE22) - Just flash using the zip files after unzipping FE22KOB_TWv3.2.1.zip

Kobridge_AnaKonda_v1_Tweaks_v3.2.1SF.zip

(FC24) - Not verified whether it's working or not. Hope this works. Download and directly flash. SF version only for now.

AOKP37_KOB_TWv3.2.1.zip

(AOKP build37) - Kobridge Tweak Pack for AOKP build37 users.

CM9_Alpha4_KOB_TWv3.2.1.zip

(CM9 Alpha4) - Kobridge Tweak Pack for AOKP build37 users.
[Samsung Epic 4G Touch] kobridge:
Credits on Kobridge Tweak Pack v3.2.1

Big thanks to rokair - he pointed out that one of my tweak was not working properly. That's the reason why I started releasing this update.
[Samsung Epic 4G Touch] kobridge:
Third reserved for kobridge
[Samsung Epic 4G Touch] DutchDogg54:
Kobridge - This is a simply amazing thread. Thanks so much for your work in trying to solve one of the key issues people have with their phones! I've learned a lot reading through it (just read all 37+ pages last night and today) & I'm super excited to get this running on AOKP for my rig but I'm hesitant to update to build 37...I know gershee mentioned it but can you tell me whether this would work for Milestone 5 AOKP release? I would update but I run my phone at 160 dpi and there's no phone apk that will allow lower than 190 right now for AOKP, which is a big difference.

If I have to update to get your tweaks, well that's the price to pay, but I just thought I'd check. Thank you again, for providing excellent tweaks & being probably the most responsive dev I've come across yet - Seriously man, you respond at near 100% and seemingly immediately - impressive!
[Samsung Epic 4G Touch] Success100:
hmm...install aborted using frankenstein fe22 rom. tried to flash stock fe22kob version. wtf did i do wrong...hmmm..lol
[Samsung Epic 4G Touch] DutchDogg54:
Did you unzip the originally downloaded zip file to find the ones inside that are actually supposed to be flashed?
[Samsung Epic 4G Touch] Success100:
heccccks no lol. thats what I get for not reading and I'm always telling people to search before they post. lol thanks bro

ahhhh...i see. thanks
[Samsung Epic 4G Touch] BigJPNut:
I wanna say thank you kobridge. Whatever you did, the sampling rate shows up immediately in Romtoolbox on Venum 6.0 with 3.2.1SF tweaks and the phone seems snappier!
[Samsung Epic 4G Touch] BigE-evo:
Awesome! Thanks for the quick update.

Quick question:

I'm going to assume that the VeNuM 3.2.1 tweak is for the stock kernel that is installed with VeNuM and the FE22KOB 3.2.1 is for any other compatible kernel?

I am on FE22repackACS so I would use FE22KOB 3.2.1 even tho I am running the VeNuM ROM? Correct?

Thank again!