yashsingh1/xdaforums huggingface dataset:
[Samsung Epic 4G Touch] Capp5050:
Yeah, I just personally prefer the SetCPU interface and the flexibility in creating more complex Profile rules (e.g., OC device when on charger, but not when power is <10%; or UC when temperature reaches 45 degrees, but not when charging).

w/regard to 'screen off rules' (I'm assuming you would know this better than I), I had read somewhere not to create them, because some of the governors already have them included (e.g., pegasusq already has a hotplug setting for screen off). Is this info correct?

---------- Post added at 05:12 PM ---------- Previous post was at 04:59 PM ----------

To clarify - I have a SetCPU rule that specifies when on charger, use Ondemand/noop, Min 200 - Max 1400 (not 1200/1400). My logic here is that when I'm on the charger I can afford the energy consumption those settings create in exchange for 'snappier' performance, but still no need to run CPU cycles when nothing's happening. Ondemand is a fast-ramping governor so I don't feel the need to keep the min value propped up.

Off battery, I'm still testing ideal personal settings, but am closing in on 200/1200 w/SmartassV2 and SIO until battery is below 20% at which time I use 200/1000 w/Conservative and noop. I've tested pegasusq but it feels like menu response is a little too stuggish vs. SmartassV2.
[Samsung Epic 4G Touch] agat63:
AFAIK you're correct but as you mentioned some of the governors have the screen off settings in them and some don't .

So if you use performance governor when screen on you would want to change it for screen off.

But it's so different for different phone and users that I think there is no universal rule for settings.

Everyone should find the best combination based on usage habits and expectations.
[Samsung Epic 4G Touch] movetwice:
This might be a noob question, but using extweaks, with hotplug off screen profile I dont get any deepsleep time according to cpu spy. But If I used cpu sleeper to go into deep sleep it works fine, any idea why this is?

It also looks like my while charging options don't work because while charging I can get up to 1400mhz, instead of the capped 1200?
[Samsung Epic 4G Touch] localguyincali:
Good Morning,

I just woke up and opened my phone up there is a update for FH13, of course me clicked update and when it rebooted was stuck at the triangle, NOT thinking forgot i was rooted LOL, so pulled battery and rebooted, Question is the FH13 on here is the same but with added tweaks right? just flash it and reset my settings in EX Tweaks? Thanks for any info :)
[Samsung Epic 4G Touch] agat63:
FH23 is stock kernel with custom recovery.

There are no tweaks added. No UV/UC/OC or anything else.

Plain stock kernel.
[Samsung Epic 4G Touch] localguyincali:
What was this update i had? it said FH13 and your saying FH23? am i missing something or am i still asleep? lol
[Samsung Epic 4G Touch] agat63:
May be a misunderstanding on my end.

There is a thread for FH13 stock repack kernel that has been updated yesterday with FH23 repack.

And then there is this thread where we have kernels compiled from source.

Last 3 kernels were compiled from Samsung's updated source thay call FF18/FH13.

Source is pretty much same with very little (if any) changes but since it's latest source I have used it.

All other tweaks and edits we had in previous builds are present in latest 5.3 kernel and I have used modified ExTweaks created by Rujelus22.

New ExTweaks has more options and settings and let you control more.

Hope this answers your question.
[Samsung Epic 4G Touch] localguyincali:
So i can flash your FH13 and be ok? and do i need to dload the new ExTweaks? if so on ExTweaks where do i get that from? Thanks for your help :)
[Samsung Epic 4G Touch] agat63:
You can download and use FH13 source based kernel.

And you do not need to download or install new ExTweaks app.

ExTweaks app is a front end app that reads data from kernels initrams. Screen layout, options, settings ets are defined in kernel

and the app is just reading them and put it on the screen.

You will be just fine with your current app.
[Samsung Epic 4G Touch] localguyincali:
I can flash this AGAT_v0.5.3. or do i have to stay with the 5.0 stock version?
[Samsung Epic 4G Touch] agat63:
If 5.0 works for your rom than 5.3 will work as well.

5.0 doesn't have any tweaks.
[Samsung Epic 4G Touch] localguyincali:
Thankyou i'll give 5.3 a try and leave my settings alone in ExTweaks default.
[Samsung Epic 4G Touch] tdunham:
Hi Agat. I'm getting reports of very slow charging on 5.3. I'm pretty sure Ruj just had the same issue with his that he just went through.
[Samsung Epic 4G Touch] agat63:
I'm pretty sure I didn't touch anthing charging.

I'll take look but if 0.4.x were good this should be same since I did same changes to this source.

Added OC/UC/UV, updated to linux 3.0.41, added ExTweaks.

I used Rujelus's ExTweaks and if the charging problem was defined by ExTweaks settings than it's possible.
[Samsung Epic 4G Touch] tdunham:
That's possible I suppose. His thread got a ton of reports of slow charging after his recent ROM/Tweak/Kernel update and he's release a couple more kernels in rapid succession. I know one was to correct for the slow charging issue.

I hope the Extweaks addons don't interfere with regular performance because we're working towards using tweaks that are built into the roms through scripts like init.d that utilize the governors directly rather than an rely on third party software. If users want to use more advanced tweaking, then they can try something like Tegrak, SetCPU or Extweaks. Maybe I'm just being old school. LOL
[Samsung Epic 4G Touch] agat63:
ExTweaks are like init.d scrips.

The only difference is that is has front end GUI where you can change those settings.

Pretty much there are some scripts like init imbeded in kernels initramfs that are run on boot and when you run ExTweaks apps it reads all the settings and bring them up in GUI form so you can chage them as you need.
[Samsung Epic 4G Touch] tdunham:
Thanks for this, I guess I'm going to have to check it out more closely.

The charging rate is definitely different in 5.3. The 5.3 kernel is showing a 360mah charging rate which is really low and I'm not using Extweaks or a rom that is utilizing it. I saw similar reported charging rates for BlueKuban when he was having similar issues with his kernel.
[Samsung Epic 4G Touch] agat63:
Very strange since as I said I'm positive I didn't touch any charging variables.

I'll have to take a closer look.

On another hand it doesn't matter if you use ExTweaks or not. Values are set in those embeded scripts and if the problem is in the script you will see it.
[Samsung Epic 4G Touch] CyberpodS2:
Maybe you can ask ruj what was done in venum kernel 0.1.5 to fix the charging problem there. Might help see if it's something different or the same issue.
[Samsung Epic 4G Touch] tdunham:
Isn't it a Catch 22 though, don't I have to be running Extweaks to see what's running?
[Samsung Epic 4G Touch] agat63:
To see yes.

But it's running wether you see it or not.

As I said it's like init.d script. It runs even if you don't see it.
[Samsung Epic 4G Touch] tdunham:
So if I understand correctly, the tweaks are part of the kernel and cannot be altered unless the user installs Extweaks or the Dev includes it in his rom?
[Samsung Epic 4G Touch] agat63:
Tweaks can be altered with 3rd party apps like Tegrak, SetCPU, NoFrills, Voltage control etc.

But to be able to alter all settings you would need to install couple of apps ( I think no other app has all options presented in ExTweaks).

So it's easier to use one app for all settings. However I keep CPUSpy and NoFrills on my phone to control settings. If all apps show same settings than I know those settings are correct and representing current state.
[Samsung Epic 4G Touch] Sloth:
Just a heads up I charged my phone for the first time since upgrading to v5.3 it took 5+ hours to charge from completly dead which is fine for me because I have heard a slow steady charge is better then a rapid charge for battery health. I love all your kernals they give steller battery preformance. Btw before v5.3 I was using v4.4 it took a little over 4 hours to charge from 0%.
[Samsung Epic 4G Touch] Capp5050:
Another data point for you: Just noticed that I'm not charging on AC at a rate greater than 340ma. I hadn't noticed until now because usually my device is on and off the charger all day, but tonight I had to recharge from

Edit: Just flashed back to 0.5.0 and charge rate increased to >600ma.

One other note - while still on 0.5.3 I tested changing the 'Charge Current Setting' in ExTweaks from default (AC:650, usb, misc:450) to 'ALL:650' ; it allowed the charge rate to increase to >600. This would imply perhaps that the kernel for some reason is thinking the AC charge is a really a USB charge and thus limiting the allowed current.
[Samsung Epic 4G Touch] Foulwx:
How do you check the charging current? The other day I could barely charge if I had the screen on. Not sure which kernel I was running at thetime.
[Samsung Epic 4G Touch] Capp5050:
Battery Monitor Widget Pro. If your battery is reasonably well calibrated it will record charge and discharge rates fairly accurately.
[Samsung Epic 4G Touch] vanberge:
Agat, thanks so much for your kernels.

I've been including them in my ROM since release...

With the FH13 source built versions however, some of the tweaks in my rom aren't working any longer.

I wondered if you could possibly shed any light on what may be causing this?

The tweaks are a modified set of kobridge tweaks, and they MOSTLY run. Everything that I put in init.d runs fine.

But, there's a /system/bin/dvfs.sh script that sets the governor and CPU min/max values. For some reason, that doesn't get executed in the 0.5.x versions of your kernels, but it does in the 0.4.x versions.

I cannot find anything in init.d or anywhere else that calls that script even when it is working; so I'm wondering if it's a kernel module or something?

Just trying to get any info to be able to keep these tweaks going forward!
[Samsung Epic 4G Touch] umrico:
So forgive me as I am no pro but understand the basics, I am on 0.5.3 with the slow charge issue. Which package should I roll back to in the mean time?

TIA and thanks for all you do!
[Samsung Epic 4G Touch] agat63:
In FH13 source built kernels dvfs.sh callout has been commented out from init.rc in initramfs of the kernel.

There were quite a few reports stating that ExTweaks settings do not stick after reboot for some users and it all came down to dvfs.sh settings/script execution in different roms.

So I did comment it out that the dvfs.sh will not be executed.

It's an easy fix if you still want it to be executed in your rom. Just put a small script to call it out in your init.d folder.

If you add that callout in your init.d than after phone boots and does all the settings per ExTweaks it will run init.d scripts and will overwrite them.

You can put an explanation in your rom thread as well so users will know why ExTweaks values do not stick after reboot.
[Samsung Epic 4G Touch] vanberge:
Well explained!!

Many thanks.
[Samsung Epic 4G Touch] agat63:
Can any one run charging test for me.

I did work on it yesterday and it looks like it works.

Need someone to verify charging voltage.

I have the 0.5.4 in tar format only right now.

Please PM me if you wanna test it.
[Samsung Epic 4G Touch] rovar:
Um I just charged my phone to full, how one would go about testing the charge?
[Samsung Epic 4G Touch] agat63:
You would need to drain it a bit.

Less battery you have better/more accurate charging test you can run.
[Samsung Epic 4G Touch] rovar:
Well I can test it but its going to take a while to drain it and test the charge, if you expect results today I'm not the one :P
[Samsung Epic 4G Touch] agat63:
2 other users are testing it now.

Hopefully I'll have results by end of today.

I'm running it since yesterday evening and I think it does charge faster but

I need some one to collaborate this statment.

May be I just wanna it to be faster...
[Samsung Epic 4G Touch] s9amme:
In ruj's kernel, he found that charging was stuck to about 350ma no matter what. I believe that's the stock USB charging value. If charging from a wall charger, it should be greater than that, like in the 500ma+ range. You can use a battery monitor app to check if its charging correctly.
[Samsung Epic 4G Touch] agat63:
New kernel shows about 470-475 mA on charge.

But it was a bad compile and parts of initramfs is missing.

I would have to redo it tonight but it looks like charging problem has been taken care off.
[Samsung Epic 4G Touch] umrico:
Thanks for the update Agat!
[Samsung Epic 4G Touch] s9amme:
glad to see you've figured out the issue agat.

For others that want to test if their battery is charging properly, you can download CurrentWidget from the play store. Add the widget to your home screen. It will show the mA rating while your phone is charging. When connected to a USB port on a PC, it should be anywhere from 350mA to 400mA. When charging using a wall plug, it should be around the 600mA range
[Samsung Epic 4G Touch] rovar:
Using .5.3 it does indeed charge at 300~ from the charger.

Switched the profile on extweaks and now it shows the 600~

Tappin' Typin'
[Samsung Epic 4G Touch] 5FOOTER:
Which one did you change it to?

sent from my redbull filled brain pushing buttons in the dark
[Samsung Epic 4G Touch] RazzTick:
@ s9amme, did you manage to get the CurrentWidget to work? The page says that it will not work on Samsung phones because of lack of driver support at the hardware or software levels. I can see the voltage but not the mAh. I also tried Battery Monitor and it won't display mAh usage either.
[Samsung Epic 4G Touch] rovar:
I'm using the currentwidget right now and changed the profile to:

View attachment 1291205
[Samsung Epic 4G Touch] s9amme:
It works for me and others. Not sure why it wouldn't work. Are you comfortable using the terminal? You can also check it from there. Type the following and see what numbers show up after:

cat /sys/devices/platform/sec-battery/power_supply/battery/voltage_now
[Samsung Epic 4G Touch] agat63:
0.5.4 has been recompiled.

Hopefully charge problem is solved.

Anyone wanna test it please PM me for link
[Samsung Epic 4G Touch] rovar:
LOL I just charged my phone again XD XD XD

Edit: Oh and by the way .5.3 when it goes into deep sleep adjusts the voltage back to USB charging level.

I'm using smartassv2 / sio and everything else with default values, no profiles.

The only changes I did was the usb charge value I posted on the screenshot above.

Running stock FH13
[Samsung Epic 4G Touch] 5FOOTER:
Ok I'm on Blazer 1.5 with a battery mod it is animated when charging and my phone does not deep sleep while charging.

sent from my redbull filled brain pushing buttons in the dark
[Samsung Epic 4G Touch] agat63:
That's rom related not kernel.

With my rom phone screen off and deep sleep time almost same.

Phone goes to deep sleep almost immediately after screen is off.
[Samsung Epic 4G Touch] 5FOOTER:
Yes rovar posted he changed the charging settings in ExTweaks and got it to charge like normal but when he was charging his and went into deep sleep it went back to slow charge. A lot of us running your kernel are running blazer rom and the more info out there the better.

sent from my redbull filled brain pushing buttons in the dark
[Samsung Epic 4G Touch] agat63:
Slow charge issue has been fixed (hopefully).

Kernel is being tested by few users.

Once I have confirmation I'll post link for 0.5.4 in OP.
[Samsung Epic 4G Touch] prguzman1978:
After setting charge current to AC,Misc:650mA, USB:450mA on EXTweaks charging displays 339mA on current widget....

---------- Post added at 02:53 AM ---------- Previous post was at 02:48 AM ----------

PM me i will test it too...

---------- Post added at 03:11 AM ---------- Previous post was at 02:53 AM ----------

Now with 0.5.4 battery displays 642mA so it it looks good so far...
[Samsung Epic 4G Touch] rovar:
You have to unplug the phone, switch the setting and and plug the phone back to the charger, then it works.
[Samsung Epic 4G Touch] agat63:
So it has been confirmed from 5 different sources.

Charging problem fixed.

AGAT_v0.5.4 is up and running.

OP has been updated and links posted.

Sorry for bad release.
[Samsung Epic 4G Touch] iamxnan:
Full of probably how many time?
[Samsung Epic 4G Touch] RazzTick:
I am running Blu Kuban 1.0.4.7. I installed the 0.5.4 kernel and now Battery Monitor widget works and shows all values. Current Widget still will not show the mAh values. It only displays No Data. No big deal since the former widget works. Is it possible the ROM is the problem?
[Samsung Epic 4G Touch] agat63:
Hard to say.

Didn't use any of those widgets so don't know nothing bout them.
[Samsung Epic 4G Touch] rovar:
Try again in English.

Edit: Nothing to apologize for agat, your kernel work is solid, keep it up :)

also, loading .5.4
[Samsung Epic 4G Touch] RazzTick:
No problem. Just wondering. In any case I love your kernels so far. Always run well and have great battery life. I was about to uninstall Blu Kuban until I switched to your kernel because of bad battery life.
[Samsung Epic 4G Touch] leaderbuilder:
Going to give it a go right now. Thanks for the work. Stoli your way. :)
[Samsung Epic 4G Touch] agat63:
Like stoli.

But lately I'm on "Russian Standard" mostly. :p

And chasing it with Sam Adams. :silly:
[Samsung Epic 4G Touch] iamxnan:
it took a little over 4 hours to charge from 0% ?
[Samsung Epic 4G Touch] rovar:
No it was more like 3hr. That was using .5.3 with the charging setting changed but its a moot point now as we have .5.4

Tappin' Typin'
[Samsung Epic 4G Touch] prguzman1978:


---------- Post added at 02:23 PM ---------- Previous post was at 02:22 PM ----------

You need to tap on widget to display battery values
[Samsung Epic 4G Touch] rovar:
Going into deep deeeeep sleep, sets the charge level to USB levels (the 300~) range running .5.4 and FH13.
[Samsung Epic 4G Touch] tdunham:
Are you saying it starts out ok but at some point it drops back to usb charge level while the phone is sleeping? How can you tell/which app are you using to monitor?
[Samsung Epic 4G Touch] dtr145r:
hey agat

i really appreciate the work you are doing.

i have a request if you are interested,

id like to know if you could add custom boot animation support to your kernel?

the stock boot animation is lame and id like to replace it but i cant.

thanks

:)
[Samsung Epic 4G Touch] agat63:
Kernel does support custom boot animations.

You would need to rename 2 files in your bin folder and than you can use any bootanimation.zip file.

To make it easy you can flash one of bootanimations from this thread:

http://xdaforums.com/showthread.php?t=1652725&highlight=custom+bootanimation

Updater script will do everything.

After that you can just copy bootanimation in zip format you want to use to /system/media folder using root explorer, adb or any other utility you

feel comfortable using.
[Samsung Epic 4G Touch] Luda305:
Is your latest kernel (3.0.15 #v0.5.0) safe to wipe system/flash the 4.1.1 alpha 5 rom?
[Samsung Epic 4G Touch] rovar:
Yes thats is correct I'm using currentwidget to monitor the harge rate.

It is noticeable keeping the phone awake and going from 40% to 70% in 1hr about. Leaving the phone and going to check and see 90% and then 95% after 30 minutes.

If someone has a more 'techie' way to monitor the charge I'm open to suggestions. But I'm sure of what is going on (dont know how to fix it obviously :p)

Tappin' Typin'
[Samsung Epic 4G Touch] blackcanopy:
When charging your phone, it is always charging fastest from 0-around 85, at which point the charging slows down from 85ish-100. I've noticed this pattern with every ROM/Kernel combo I've used on my phone. If your looking to test if "quick charge" is working, keep in mind your battery must be below 85%.

Sent from my SPH-D710 using Xparent Blue Tapatalk 2
[Samsung Epic 4G Touch] RazzTick:
Thanks prguzman, but I already did that and the only value that will not show is mAh, all others do. Does not really matter right since Battery Monitor App widget is working.

One big problem I am having now since installing the kernel is that each time I hot or cold boot my phone it will display "Android is upgrading. Optimizing application x of x." It will finish doing this, hot boot, do it again and then finally boot to the OS. More than once it will freeze and display that a process has stopped running. I have wiped the cache and dalvik a few times but it keeps happening.

What info do you need to see if I can figure this out or if you can help me? Would the logcat be useful?
[Samsung Epic 4G Touch] prguzman1978:
ALL ICS Roms for some reason goes through the upgrading process im experiencing it too, I don't know if thats normal or not but it doesn't bug me.
[Samsung Epic 4G Touch] rovar:
Shouldn't it stay charging at 600~ 0% - 100% while on charger?
[Samsung Epic 4G Touch] tdunham:
I believe BC is correct, the charging rate slows as it approaches 100%. I think it is to protect and lengthen battery life and to prevent over charge occurrences.
[Samsung Epic 4G Touch] RazzTick:
Strange. This started happening when I installed the 0.5.4 kernel, did not happen with the Kuban kernel. I'll check out another rom like Wicked Sensations or Blazer over the next couple of days and report back.
[Samsung Epic 4G Touch] 5FOOTER:
Yes this is correct for all lithium batteries. I got to talk to a prof that is working on a fast charge for them. If it works you could charge a car in 7 minutes.

sent from my redbull filled brain pushing buttons in the dark
[Samsung Epic 4G Touch] rovar:
In that case .5.4 is working as expected, no resets and usual battey life

Tappin' Typin'
[Samsung Epic 4G Touch] s9amme:
You can see this on the stock battery graph. It shoots up steeply, then when it gets to about 80% or so, it starts to level out to a slower charge. Its perfectly normal
[Samsung Epic 4G Touch] agat63:
Just did 2 hot reboots using quick boot and 2 normal reboots from long press power button.

No androing is upgrading message, no optimization message.

Running 0.5.4 with my tFH23 rom.

Must be something rom related.
[Samsung Epic 4G Touch] agat63:
If run comes with it's ownl kernel you safe to flash.

If kernel is not included then you phone wont boot.

This kernel is not compatible with 4.1.1 JB roms but it's safe to use to flash them.
[Samsung Epic 4G Touch] agat63:
Any brave soul wanna test new build.

I'm trying to make USB OTG work but I don't have any device to test it.

I have a kernel that should (hopefully support OTG).

Need testers.
[Samsung Epic 4G Touch] DataHawg:
I'll try it. Got my OTG cable and a flash drive right in front of me. I'd love to see that work
[Samsung Epic 4G Touch] agat63:
Just sent you PM.

Let me know if it works.

Patiently waiting
[Samsung Epic 4G Touch] DataHawg:
Ok. Going to backup first
[Samsung Epic 4G Touch] agat63:
Kernel boots without problems

I just can't test otg.
[Samsung Epic 4G Touch] DataHawg:
Got this with mobile Odin trying to flash the tar file. I'll try the zip
[Samsung Epic 4G Touch] agat63:
Just downloaded and flashed it again with Mobile ODIN

Must be a bad download.
[Samsung Epic 4G Touch] DataHawg:
My bad. SD card was full. It was only a place holder. Up and running now

---------- Post added at 12:30 AM ---------- Previous post was at 12:17 AM ----------

Can't seem to locate the drive, Agat. With root explorer I can find an mnt directory. Inside that it says usb but no files in it.
[Samsung Epic 4G Touch] TheHighlightGuy:
I'll gladly test :D I've got a couple of things to try
[Samsung Epic 4G Touch] xfusejc:
I flashed the 0.5.4 kernel on the stock rooted FH23 leak. I enabled BatteryStats before going to sleep and left the phone at 99% charge. By the time I woke up, It had dropped to 76%. While the phone went into deep sleep (for about 8 hours), the main thing draining the battery life was WiFi On and WiFi Running.

I gotta try turning off the WiFi overnight and see what happens, but I've never had WiFi take such a toll on the phone.

Running it with the Pegausq as CPU governor and -25 undervaulting across the board with ExTweaks.

Any help would be great.