yashsingh1/xdaforums huggingface dataset:
[Samsung Epic 4G Touch] tdunham:
Goodness is already tweaked fairly well. The order the tweaks run is important.

First - Extweaks

Second - Init.d Tweaks

Third - Third party cpu/kernel app (like SetCPU)

It's a little confusing but the last tweak to run takes precedence. So yes, Setcpu will override anything loaded before it (since it loads last). However, Setcpu will not override all the other tweaks, just the ones it is set for. So for instance, if all you change in Setcpu is governor and frequency then that is all that is changed. The init.d tweaks/settings are still in effect for everything else they are set for. Setcpu will only overwrite those 2 settings in other words.
[Samsung Epic 4G Touch] MarcAntonyy:
Ahhh, ic ic! Much thanks guys.
[Samsung Epic 4G Touch] rsngfrce:
I am using the current version of SuperSU so I don't think that is the issue. I did some searching and as far as I can tell the Siyah kernel also uses a version of BusyBox 1.20.0, so maybe ExTweaks was written for that version of BusyBox? I am going to force some other versions of BusyBox to see what works and doesn't with each.
[Samsung Epic 4G Touch] tdunham:
I think this is the home thread for Extweaks:

http://xdaforums.com/showthread.php?t=1530147

Maybe it would save you some time if you check there first? ;)

Edit: Searched that entire thread for the keywork 'busybox' without any results. But can't hurt to check there too.

---------- Post added at 06:42 PM ---------- Previous post was at 06:37 PM ----------

Also, just a heads up Agat. Rujelus is about the release a new Kuban kernel based on the latest source so maybe you can compare his with yours to work through any remaining issues.
[Samsung Epic 4G Touch] ImEVO:
Anyway I can get the default settings for gpu threshold?? "Sp"
[Samsung Epic 4G Touch] Capp5050:
Does this kernel change the default SD cache without having to use EX-Tweaks? Because mine is showing up as 384K. I'd like to increase it, but don't necessarily want the extra memory overhead of EX-tweaks, RTP or System Tuner Pro running at startup. I'm guessing I can place an entry in the init.d folder, but as a non-programmer, I have no idea what that command would be.

Thx!
[Samsung Epic 4G Touch] tdunham:
You're on re-calked right? If you know how to use root explorer, move the '03' file out of system/etc/init.d and change this line to what you want the cache to be:

echo "384" 1> $i/read_ahead_kb

Copy it back and set the appropriate permissions. (Just set it to match the 11zipalign file)
[Samsung Epic 4G Touch] ttittoo:
And this would be changed from "Gear03" in GearBox instead of the "03" in init.d, correct?
[Samsung Epic 4G Touch] tdunham:
Ok, technically Gear01 thru Gear04 get copied and renamed only when you shift gears. So yes, Gear03 and any other gear you shift to would also have to be changed in the Gearbox folder.

But, the easiest way is just to edit the 03 file if that is all you are going to use and leave it at that ;). I didn't want to train the Re-Calked users on how to use terminal and shift gears on the fly for those scripts.
[Samsung Epic 4G Touch] ttittoo:
Ya, I only wanted to make it clear that gear03 had to be edited because if you look in the 03 file there is nowhere to edit the 384 you posted so I was assuming it must have been in gear03 because there is the 384 you mentioned in there.
[Samsung Epic 4G Touch] tdunham:
Oops, you are correct. Gear03 is the file to edit, it gets called to run from 03.
[Samsung Epic 4G Touch] Jeffreycat:
Did you ever figure out why OTG mode isn't working?
[Samsung Epic 4G Touch] todivefor:
I am trying to understand something. I am running Recalk 021 and AGAT 0.6.5. I just reflashed both. When I run rom toolbox, it shows the governor as hyper. My init.d is running 03 and I see that gear03 is setting governor to conservative. Rom toolbox doesn't even list conservative as an option. What have I missed?
[Samsung Epic 4G Touch] agat63:
I can't say why toolbox doesn't list conservative but it should be there.

Just checked the source and conservative object file is there that means it has been compiled and should be added to kernel.

I can't check it on the phone since my wife is not home but per source it should be there.
[Samsung Epic 4G Touch] Mattix724:
Conservative is present.
[Samsung Epic 4G Touch] todivefor:
Unfortunately, I'll be the first to admit I am a noob when it comes to governors, etc. Rom Toolbox does not show conservative, bu installed Ex-tweaks and verified that it does as mattix724 said. If I look in /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors I see the same list as rom toolbox displays. Is this what is to be expected? Should conservative also be there?
[Samsung Epic 4G Touch] Mattix724:
What you are referring to is something that is generated by the kernel, so yes it should have all the governors in there.

I'm not familiar with kernel development but it's probably an easy fix. It just hasn't been added to that file?
[Samsung Epic 4G Touch] nivron:
ExTweaks doesn't directly read the list of available governors. It has a static list. I believe ROM Toolbox reads the list directly and is more accurate.
[Samsung Epic 4G Touch] todivefor:
Is this why the governor defaults to hyper and not conservative?
[Samsung Epic 4G Touch] tdunham:
It's ok. I haven't said anything up til now. The Re-Calked rom depends on Conservative governor but it hasn't been working in any of the 6.x releases. I just confirmed no Conservative in Rom Toolbox or SetCPU.
[Samsung Epic 4G Touch] ttittoo:
So what Rsngfrce posted about Busy box is the reason why extweaks profiles are possibly not working for me.:eek:
[Samsung Epic 4G Touch] rsngfrce:
BusyBox and ExTweaks info

Asked xan about the Busybox issue in the [APP] ExTweaks thread:

Well, that goes a bit over my knowledge level, but hopefully someone else can make some use of it! I am going to look for the v1.20.2-jb version and see what results I get. :)
[Samsung Epic 4G Touch] agat63:
I know all those problems.

I'm trying to add ExTweaks to my GSIII kernel and have both error messages.

I changed permissions to /res/ folder in ramdisk and ExTweaks script getting executed now but I'm getting -f errors and can't fix it yet.

Apparently I'm not alone in it.

Thanks for research and info. I was going crazy here thinking I'm doing something wrong.
[Samsung Epic 4G Touch] rsngfrce:
BusyBox success!

Well, I didn't have much luck once I foumd BusyBox v1.20.2-jb... I had issues with my phone while using it. I don't know if this is because the "jb" means it is only to be used with Jelly Bean, or due to the fact that I mistakenly installed v1.16.0 before that, which caused me to loose root for a while :eek: . But once I got stable again, I installed v1.20.2-cm9 and the results were perfect! No errors from the V6 SuperCharger script, Solid Explorer allows root access, no BusyBox complaints from MyBackup, and ExTweaks works! It seems SO obvious now, because v1.20.2-cm9 is the updated version of v1.20.0-cm7 that the kernel currently uses. All the problems come from trying to use stericson versions, which xan says don't work witb ExTweaks. Copy of v1.20.2-cm9 attached. :highfive:
[Samsung Epic 4G Touch] agat63:
Thanks for find.

Building kernel right now.

Will run some tests and if all is good will upload kernel tomorrow with updated busybox
[Samsung Epic 4G Touch] leaderbuilder:
Agat can you check that the ktoonservitive kernel is available on the profiles section(s) too. Last build it was only available on the CPU section (ExTweaks).

Looking forward to the next build. Thanks for the work!
[Samsung Epic 4G Touch] agat63:
Ktoonservative kernel?

I'm not sure I understand the request.

Ktoonservative is a governor and I just checked it's available in all apps.

I have tried no frills, kernel tuner, system tuner, tegrak and ExTweaks.

Governor is available in all of them.
[Samsung Epic 4G Touch] leaderbuilder:
Sorry what i meant is that that governor was not available in the profiles tab of ExTweaks. But it was there on the first tab CPU options settings on your last build

---------- Post added at 12:37 AM ---------- Previous post was at 12:32 AM ----------

Kind of bleary eyed. Running disk recoveris (dd rescue and cloning) most of this weekend. I wish people understood that backup means 'exits in two places', not moving data to another drive and deleting originals.
[Samsung Epic 4G Touch] tdunham:
Begging the wife's forgiveness but can you also check on the conservative governor as well or are we sticking with Ktoon? Tnx
[Samsung Epic 4G Touch] 5FOOTER:
I didn't see conservative governor in Romtoolbox either.
[Samsung Epic 4G Touch] agat63:
Will take a look

If it's not there will add it.

Hopefully will upload new kernel tonight.
[Samsung Epic 4G Touch] rovar:
Kernel Building

Hey agat, sorry to bother you, do you still have by chance the links or information you used to start building kernels?

Trying to get a modified from source kernel going but I'm very much clueless beyond the compilation stage.

According to Samsung readme I'm about (when this thing finishes) to get a zImage file that should be ODINable, so yeah... any pointers will be appreciated :p

Note to self: download the FI27 kernel before doing anything else XD
[Samsung Epic 4G Touch] agat63:
Unfortunatelly there is no good how to for kernel build.

You would have get bits and pieces of information from here and there.

And there is more than one way to set up build environment for kernel build.

Many available toolchains etc.

To build a fully working zImage sammies how to is not enough.

You would need a initramfs to be included in zImage.

without it your phone won't boot.

And yes. Ones kernel is build it's in /arch/arm/boot/ folder of your kernel source.
[Samsung Epic 4G Touch] Trahald:
Can somebody share their Extweak profiles for this kernel? I like to be my phone on balance? Currently I use smartassv2 governor.
[Samsung Epic 4G Touch] leaderbuilder:
You'll probably get ALL kinds of different preferences. Some like loads of battery and don't care about performance, other put performance as their priority. I fall into the latter. I'd rather have a device that is super quick and smooth 1st and then can deep sleep very well. I've got chargers in every vehicle, at home, the office and in my tech bag(s). And I've got an external battery (Anker) and an additional battery in my bag too.

Keep in mind you should really find what works for you on your device and your usage preferences. I've just been really happy with this lately; I do change stuff up every day or so to see what works best. Sometimes setting frequencies real low can cause serious lags or lockups.

Here is what I'm currently using:

CPU:

CPU Governor: ktoonservitive

Scaling Max: 1.2Ghz (Sometimes 1.3. 1.2 is default remember I love speed! For battery savings drop this to 1GHz or 1.1GHz)

Scaling Min: 100Mhz

Smooth Scaling Level: 600MHz

CPU Step Count: 18 (All Available)

Then down to CPU UNDERVOLTING: -25mV

Profiles: On

Priority 1: Screen Off

Priority 2: Low Battery

Priority 3: Charging

Screen Off CPU: SmartassV2

ScreenOff Max: 800Mhz

Screen Off Min: 25Mhz

Screen Off I/O: Noop

Charging CPU: HotPlug

Charging Max: 1.2Ghz

Charging Min: 25Mhz

Low Battery CPU: SmartassV2

Low Battery Max: 800Mhz

Low Battery Min: 50Mhz

Then in IO and USB

Default I/O: Noop

down to

USB MASS STORAGE MODE: Force Mass Storage Mode.

Some screenies:

https://www.dropbox.com/s/lsmhi1exgqxnqek/Screenshot_2012-10-26-00-09-58.png

https://www.dropbox.com/s/lsmhi1exgqxnqek/Screenshot_2012-10-26-00-09-58.png

https://www.dropbox.com/s/i0ydjuappz8wx3y/Screenshot_2012-10-30-10-05-53.png
[Samsung Epic 4G Touch] Trahald:
Thank you for your detailed answer. Performance is not my top priority though. Sometimes I even can't check my phone for 3-4 hours. I want my battery longs more than 14 hours at least. My screen time is like 1 or 1,5 an hour per day.
[Samsung Epic 4G Touch] dragonOL2:
Thanks for this... It's great to see setups from other users in the community. I'll try yours out for a few days to check it out. Awesome input :D
[Samsung Epic 4G Touch] rsngfrce:
Wow, your wife is more patient waiting for her updated kernel than I am... :p
[Samsung Epic 4G Touch] agat63:
That updated kernel is on here device.

She's not waiting she's testing without knowing it.

I'm reflashing kernels when she asleep.

Let me upload it now.
[Samsung Epic 4G Touch] t4d73:
I'm not sure if I have custom recovery. I just installed the one-click. Guess it's time to grab cwm lol.
[Samsung Epic 4G Touch] CyberpodS2:
Since I had no idea what the SmartassV2 was I went and found this post... Thought others might find it interesting also.

http://xdaforums.com/showthread.php?t=1663809

From the link above:

11: SmartassV2:

Version 2 of the original smartass governor from Erasmux. Another favorite for many a people. The governor aim for an "ideal frequency", and ramp up more aggressively towards this freq and less aggressive after. It uses different ideal frequencies for screen on and screen off, namely awake_ideal_freq and sleep_ideal_freq. This governor scales down CPU very fast (to hit sleep_ideal_freq soon) while screen is off and scales up rapidly to awake_ideal_freq (500 mhz for GS2 by default) when screen is on. There's no upper limit for frequency while screen is off (unlike Smartass). So the entire frequency range is available for the governor to use during screen-on and screen-off state. The motto of this governor is a balance between performance and battery.
[Samsung Epic 4G Touch] Admiral2145:
Great job on the kernel... Can we under volt this kernel? I don't see it in setcpu...
[Samsung Epic 4G Touch] agat63:
trying to figure that out.
[Samsung Epic 4G Touch] KnukLHead:
I don't know for sure if this is kernel related or not but I believe it is. Either way its the only variable. So I live in BFE Arkansas and the only internet I have is satellite or tethering thru my phone. Satellites faster but the ping is 7 to 8 hundred so if I'm gaming I tether my Xbox thru my phone still 120 to 200 ping but way better. Normally tethering thru my phone gives me a restricted NAT but since I've flashed this kernel my NAT has been open which is awesome. Any ideas or do you even know what I'm talking about
[Samsung Epic 4G Touch] agat63:
I'm glad it's working but I have no idea what are you talking about.:rolleyes:

If you explain that in details I'll gladly add it to OP for others to know.
[Samsung Epic 4G Touch] rwilco12:
I haven't had a chance to do the new ones in a one-click exe yet but I should have them up tonight. :D
[Samsung Epic 4G Touch] agat63:
Thanks for dropping by buddy.
[Samsung Epic 4G Touch] cas8180:
Agat

I actually have a very strong development background its what I do for a living just on the Microsoft platform but C is C you know what o mean? If I can get a environment setup on my notebook and get the tools to compile I may be able to help debug and enhance this code base I just need to find some time to get everything setup and learn the basics of compiling Linux kernel's and any gotchas that may come with it.
[Samsung Epic 4G Touch] sniper:
I know what you're talking about, but I'm not sure how the kernel would change the NAT setting.

Click here for custom mods for your E4GT
[Samsung Epic 4G Touch] epic4gfaded:
Nat type restrictions have to do with the DNS server and really have nothing to do with the kernel or anything to do with the phone. It looks to me that your connected to a different DNA server then normal or either a server switch or something I'm the routing protocols has been updated to increase bandwidth. But bottom link this is a networking issue not a phone, Rom or kernel issue.
[Samsung Epic 4G Touch] agat63:
Would be very nice to have someone with coding experience on board.

I'm structural engineer by education and I graduated college in 86. There where no PC's back than.

All I know about android I've learned in last 1.5 years and have no prior coding/programming knoweledge whatsoever.
[Samsung Epic 4G Touch] t4d73:
Ok newb question here! I've got the root install package and I'm getting ready to install cwm with option d. I plug my phone in and I'm going to select the letter but do I want my phone to be on or off?
[Samsung Epic 4G Touch] agat63:
ON.

Debugging ON

Screen ON.
[Samsung Epic 4G Touch] cas8180:
Right on well it sounds like you are doin very well for being self taught. If you have any links to tools you are using that could help. Another thing I was wondering is are you debugging and testing using the Android emulator? Or are you doing it the painful way and making changes and by trial and error pushing to your device? I think a lot of people don't use the Android emulator but that should give you a richer debugging environment?
[Samsung Epic 4G Touch] duce415:
Agat, is the test kernel any different than then one released today? Just wondering cuz I calibrated the battery with the test one that's all...
[Samsung Epic 4G Touch] agat63:
never was able to make emulator work even for non system apps.

Don't have slightest idea if you can run kernel on emulator.

And yes. I do small changes and flash kernel. Test it. Run it and if it's good do the next edit.

If kernel won't boot undo last changes and start all over again.
[Samsung Epic 4G Touch] rwilco12:
Are you kidding? I wouldn't miss this! I would've had my one-clicks done forever ago but I've been mobile all of yesterday and most of today. Thanks for all you do for us here! You really are the man!

PS - That other project we were working on? I think I'm getting the hang of it! :)
[Samsung Epic 4G Touch] agat63:
No difference except name 0.2.1.

No changes were needed.
[Samsung Epic 4G Touch] agat63:
I've got all set up and we can make all roms one click.

However every dev would have to provide us with factoryfs.img pulled from phone. And we can take it from there.
[Samsung Epic 4G Touch] rsngfrce:
The advantages of being married to Agat... ;)
[Samsung Epic 4G Touch] agat63:
LOL.
[Samsung Epic 4G Touch] leaderbuilder:
What she doesn't know....

ha ha. ;)
[Samsung Epic 4G Touch] agat63:
v0.6.6 is up and running.

OP updated links posted.

Sorry for delay.
[Samsung Epic 4G Touch] rsngfrce:
Working great so far! :)

(Edit: I used the tar, 6.6 showing)
[Samsung Epic 4G Touch] Doctor_XXX:
Looks like info still showing '0.6.5' on latest .zip file?
[Samsung Epic 4G Touch] agat63:
Let me check it

Link for zip has been replaced.

Try it now.
[Samsung Epic 4G Touch] pigxiang:
Plz try to modify arch/arm/mach-exynos/mach-u1.c

from

#define MXT224_MOVFILTER_BATT 47

to

#define MXT224_MOVFILTER_BATT 11

and from

static u8 t9_config[] = { TOUCH_MULTITOUCHSCREEN_T9,
131, 0, 0, 19, 11, 0, 32, MXT224_THRESHOLD_BATT, 2, 1,
0,
15,	/* MOVHYSTI */
1, MXT224_MOVFILTER_BATT, MXT224_MAX_MT_FINGERS, 5, 40, 10, 31, 3,
223, 1, 0, 0, 0, 0, 143, 55, 143, 90, 18
};

15,	/* MOVHYSTI */

to

0,	/* MOVHYSTI */

it may be helpful to improve touchscreen sensitivity.

http://xdaforums.com/showthread.php?t=1559015

http://xdaforums.com/showthread.php?t=1161262

And Would you please teach me how to compile the kernel from your source on github?
[Samsung Epic 4G Touch] agat63:
I'll gladly help you setup build environment for kernel build.

All you need is a fast linux machine or vm and look me up on IRC so we can chat real time.

I'm usually on freenode server on channels #ics-dev-e4gt and #oudhitsquad

I'll try to incorporate these changes in next release
[Samsung Epic 4G Touch] caaznkid:
Any progress on 4g speeds on 0.6.6 or we pretty much screwed forever cause of the borked source code?
[Samsung Epic 4G Touch] agat63:
No changes in 6.6.

Still can't find where and how.
[Samsung Epic 4G Touch] pigxiang:
It‘s an honor to get your help！！！

I have some experience in linux,shell,c and python,but noting about arm crossing-compiling.

I have built an available ubuntu environment with arm-eabi-4.4.3 and get some zImage with 3.x MB which are much smaller than yours.

Would you please tell me how to use the initramfs correctly ,and anything i don't know........

I'll try to follow you on freenode.

:crying:Don't laugh at my poor English because I'm Chinese~~~~:D
[Samsung Epic 4G Touch] agat63:
Forum is not the best place for that.

As I said look me up on IRC chat channels and I'll help you there.

Server: FreeNode

channels: #ics-dev-e4gt and/or #oudhitsquad.

If you don't have it install xchat2 client on you pc.

It works in Linux and windows.

Just google it and you will find it.

See you there.
[Samsung Epic 4G Touch] pigxiang:
I found you in freenote but you seem like off-line.
[Samsung Epic 4G Touch] leaderbuilder:
Unable to make nandroids with latest kernel.

Tried a few times.

Create and restores fine with 6.5 though.

:(
[Samsung Epic 4G Touch] rsngfrce:
Just came by to report same issue... with 6.6, I always get a message that a backup image of /data cannot be created, as soon as it starts trying to backup /data.
[Samsung Epic 4G Touch] dz1:
Installed 6.6 on blue Kuhn with ex tweaks can someone recommend a governor scaling max frequency , low freq ect for battery saving
[Samsung Epic 4G Touch] patrao_n:
There are a bunch of suggestions in the blu kuban rom thread

sent from MY BAD A$$ ET4G
[Samsung Epic 4G Touch] Omar04:
Confirmation...

No backup possible in 0.6.6 kernel

/data error
[Samsung Epic 4G Touch] elliwigy:
i use pegq and sio with max at 800mhz and min at 25mhz
[Samsung Epic 4G Touch] agat63:
I know.

I think I've got it fixed. Waiting for my wife to get home so I can test it before upload.

Another hour or so.
[Samsung Epic 4G Touch] tdunham:
We will have to wait until his wife falls asleep. :rolleyes:
[Samsung Epic 4G Touch] agat63:
You don't have to.

PM me for link and you can be first to test if it works. :p
[Samsung Epic 4G Touch] leaderbuilder:
ha ha

---------- Post added at 06:16 PM ---------- Previous post was at 06:15 PM ----------

I'll test for you anytime it you ever need anyone too.
[Samsung Epic 4G Touch] leaderbuilder:
Thanks Agat63!.

Nand creation and validation successful. I'll do a restore tomorrow.
[Samsung Epic 4G Touch] pigxiang:
Why can't I login Freenote now?

I have cloned the two repos and download the toolchain4.4.3.

would you please give me your build script via email?

pigxiang@gmail.com

Thanks very very much~~~!!!!!!
[Samsung Epic 4G Touch] rwilco12:
Whoa! Agat's been a busy boy! I come back from the weekend and find he's got three new updates out! lol

6.5, 6.6 and 6.7 are now available up on the Repo in TAR, ZIP and One-Click format!

http://xdaforums.com/showthread.php?t=1662295

You are the man Agat! Thanks!
[Samsung Epic 4G Touch] leaderbuilder:
6.7 Seems to be working great! No issue at all yet.

No ktoonservitive in this one I noticed. No biggie.

I'll be out in a 4G area and will check that too.

Thanks again for all the work!
[Samsung Epic 4G Touch] gharlane00:
v6.6 is defective. You should probably label it that way in the Repo or remove it and not include it in the Goodness updater.
[Samsung Epic 4G Touch] dz1:
I was on 6.6 all day battery life is ridiculously good 23 hours!!!!! will update to 6.7 but wow thanks for he good work was about to throw my phone at the wall
[Samsung Epic 4G Touch] agat63:
23 hrs is good.

But what would you say about this battery life?

Attached screenshots if from my GSIII running my latest kernel. :p
[Samsung Epic 4G Touch] tdunham:
Don't do that. Throw it in the mailbox. I'll PM you my address. :rolleyes:
[Samsung Epic 4G Touch] FC809:
Set up? :eek:
[Samsung Epic 4G Touch] dz1:
Wow that's amazing I notice phone goes to deep sleep with your kernel realy good i go to sleep and only loose 3% overnight

:p no lol
[Samsung Epic 4G Touch] Omar04:
Whaaaaaat? :what::what:

Setup pleaasssseee! :beer::D
[Samsung Epic 4G Touch] agat63:
I said it's on my GSIII phone...

Not E4GT. I don't have E4GT any more...

I'm still trying to work on this kernel and update it as much as I can but my main development is in

GSIII now.
[Samsung Epic 4G Touch] FC809:
Yeah I noticed it like 10 seconds later but was to lazy to say it :/ lol but anyway 0.6.7 is running great for me. Thanks a lot for your hard work!
[Samsung Epic 4G Touch] pigxiang:
my dear Agat63，where are you？

i'm waiting for you @freenode
[Samsung Epic 4G Touch] agat63:
I'm at work and will be online on IRC in about 1.5 hrs.