yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] dandroid13:
Here it says "Add/Subtract 25/5 to all steps", This is what you should do, subtract 25 twice to get -50mV.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Anybody interested in a test kernel for GPU OC, I got really creative with some crazy ass code, lol!!!!!!!!!!!!!!! :D
[Galaxy S 4 i9505 Original Android Development] dandroid13:
As long as it doesn't fry my phone and is for TW, I can test it. :p
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Are you familiar with Antutu and know how to do the JUST 3D test? Not sure if you have been following today or not?
[Galaxy S 4 i9505 Original Android Development] dandroid13:
The last benchmark I did was in 2011... But yes, I've been reading the last few pages.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Yes here! :)

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Fixing up KTweaker for the new steps and I will PM both of you in about 5-10 minutes
[Galaxy S 4 i9505 Original Android Development] stevehkim:
Kt I follow you everywhere. Ill test if you need. Im on TW.

ATT S4 Rooted. Beastin.

4.2.2
[Galaxy S 4 i9505 Original Android Development] boterkaaseneieren:
Yes I will test again!
[Galaxy S 4 i9505 Original Android Development] dandroid13:
A simple guide on how to benchmark the GPU is more than welcome, mates. :p
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Forgot to mention, this is ONLY FOR Touchwiz. You both on it?
[Galaxy S 4 i9505 Original Android Development] dandroid13:
Yes I am.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
PM's sent, [MENTION=3117242]iamnotkurtcobain[/MENTION] Im pretty sure you are on AOSP aren't you?

EDIT:

With the new way I am doing the code, I got a 7400 on 3D only test on Antutu with 544 Mhz, not sure what the high is.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Thanks man, maybe in a bit, just testing 1 at a time right now :D :good:
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Yes I'm on cm10.1 :)

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] dandroid13:
What about thermal control? Which values should I use?
[Galaxy S 4 i9505 Original Android Development] thunderserpent:
Is AOSP 4.2 still being worked on or is it now just JB 4.3 because of CM10.2's official release?
[Galaxy S 4 i9505 Original Android Development] puamystery:
Nice kernel. but the camera usually FC or lag in slow motion record, sometime even reboot. Except for that, everything works fine.
[Galaxy S 4 i9505 Original Android Development] bsam55:
I have used KT's kernel on stock rooted 4.2.2 and stock rooted 4.3 (thanks to you MJ.) Works on both except for some features like Swipe to Wake.
[Galaxy S 4 i9505 Original Android Development] MJHawaii:
That's great can you post this in our I9505G forum thanks

Have you tried any TW ROMs with success using wifi

Or flashed the 4.3 TW kernal on MH1?

---------- Post added at 04:19 PM ---------- Previous post was at 04:16 PM ----------

Awesome guys please post in our Development forum in the touchwiz or sticky posts.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
OP Updated

Check your OTA or download from above :D

Change Log 8.20.2013

1. Update Ramdisk for CM compatibility

2. Linux 3.4.58

3. Linux 3.4.59

4. Added Mhz minimum setting while playing media for people having trouble playing music while screen is off (Option is in Extras Screen)

5. Using official exFat from Samsung source

6. A bunch of re-cleanup on TW version

7. Merged in 4 commits from CM from today

8. Added abyssplugv2 governor from abyss kernel

9. Merged in all CM updates from last 3 days

10. Linux 3.4.57

11. KTweaker: Added option to re-download when you have the current version when manually checking for update

12. Ramdisk updates

ENJOY
[Galaxy S 4 i9505 Original Android Development] lzk123:
Downloaded new kernel using OTA, and reboot to recovery when prompted. But there is some error and kernel is not installed. Using Philz Touch recovery 5.10.0. The last time I flashed kernel through OTA is when OTA feature first started, and it works.

SD Card mounted...

Verifying SD Card marker ...

SD Card marker not found

- - Installing: /emmc/KTweaker/OTA/KT-SGS4-JB4.2-TW-INTL-0.8.20.2013.zip

Finding update package...

E: unknown volume for path [/emmc/KTweaker/OTA/KT-SGS4-JB4.2-TW-INTL-0.8.20.2013.zip]

E: Can't mount /emmc/KTweaker/OTA/KT-SGS4-JB4.2-TW-INTL-0.8.20.2013.zip

Installation aborted.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Guess he moved things around for mounting, all you can try is reversing your storage option to see if it will allow that, too many people making recoveries these days, cant make them all happy :(
[Galaxy S 4 i9505 Original Android Development] mbc663:
Redownload
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
No need to redownload, the mount emmc is not present so its not gonna find the file.
[Galaxy S 4 i9505 Original Android Development] lzk123:
:good:Thanks. Guess I have to manually flash it in recovery.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Or do what I said above, reverse the storage option and see if that works.
[Galaxy S 4 i9505 Original Android Development] lzk123:
1. Tried changing to external sd. Clicked on "Check for new version" but this error appeared.

Error occured: /extSdCard/KTweaker/OTA/curversion.txt: open failed: ENOENT (No such file or directory)

2. Checked my external sdcard and realised there is no KTweaker folder. So I copy the whole KTweaker folder from internal to the external. Tried OTA "Check for new version". Same error again. Clicked "Flash existing" but no files appear.

3. Restart my phone and clicked "Flash existing" but no files still.

4. Cleared KTweaker data and cache. Open KTweaker and set the OTA storage to external sd. Tried clicking "Check for new version" and "Flash existing", but same errors.:confused:
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Well it was worth a try. Ill keep trying to find new ways to not get screwed by all the recoveries.
[Galaxy S 4 i9505 Original Android Development] DannySchaukens:
The wifi doesn't work with this kernel.

ThIs kernel is smoooooth baby :o

Can somebody explain me how to fix that? I use batteryking rom with mga modem....

Thx

Grtz.

--- Send from my phone ---

GRTZ FROM BELGIUM! Danny Schaukens Service.
[Galaxy S 4 i9505 Original Android Development] Pfeffernuss:
With all due respect but I fully understand why those settings result in a great battery life: the phone often lags and scrolling isn't very smooth.

These settings might be okay or bearable for a lot of people but I got annoyed rather quickly while browsing. Scrolling up and down is like chop chop chop instead of smooooth.

Reverted back to the recommended settings by KT. Okay, battery life will probably be less but the enjoyment (for me...) is greater. YMMV, obviously :p
[Galaxy S 4 i9505 Original Android Development] Medizinmann:
Hi!

WiFi works.

I use TW Version for 4.2.2 and Omega ROM V9.0.

Greetings

Medizinmann
[Galaxy S 4 i9505 Original Android Development] Dijkstra88:
+1

Send from my GT-I9505 with Tapatalk 4
[Galaxy S 4 i9505 Original Android Development] Tassos_i:
Best ever ktoonsez kernel for me (4.2.2. tw, exfat 64, stock mga/mh2 rom)

1. Full exfat support. With respect to previous versions, now (a) shortcuts to apps on sd survive reboot, (b) mobile odin "sees" my external exfat 64, (c) exfat mass storage on usg-otg is mounted. EVERYTHING WORKS.

2. Though the OP hates antutu, let me say, the latest kernel (aug 20), "out of the box", that is before OC-ing, has the same partial antutu scores as the stock kernel in CPU, GPU and outperforms the stock kernel in RAM partial score (4625 vs 4302). This is just fantastic, when we know that (what a shame) Samsung, upon detection of antutu/quadrant running, automatically overclocks by 10% everything. Curiously, since always, ktoonsez kernels have a low partial antutu I/O score, in the 650's-700's, when every other kernel I tested (stock, abyss, ausdim) have a partial I/O score in he 900's. Is there an explanation ?

I did not have the time to test battery drain, but I suppose it is as extraordinary as in previous versions under ktoonservative. So, as the exfat issues have disappeared, from now on, I stick to this kernel with OP's suggested settings.
[Galaxy S 4 i9505 Original Android Development] Moz007:
Thanks for this awsome work ktoonsez ! :good:
[Galaxy S 4 i9505 Original Android Development] LumPenPacK:
I have the same problem. Using 4.3 TW

Gesendet von meinem GT-I9505G mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] LuigiBull23:
All good and thank you for your honesty. Sorry to hear my settings didn't work out for you, though I'm not surprised. No setup will come out smooth for everyone. Everyone will have their own experiences with any setup they use. I've heard terrible things from people using Ktoonsez' setup but that doesn't make his settings bad. Those are just what works for him and he was generous enough to share them with us as a base to work with, especially if unsure where to start and I think the same can be said about mine. My settings run perfectly smooth on my phone, which is why I run them on a day to day basis but like Ktoonsez, I've gotten some great feedback and some not so great but this is to be expected as all devices are different. Again, thank you for your honesty. Really do appreciate it.
[Galaxy S 4 i9505 Original Android Development] hotweiss:
Lost root after updating to the latest kernel. Using Samsung's 4.3 ROM...
[Galaxy S 4 i9505 Original Android Development] pitastrudl:
reflash the rom, when recovery prompts you for "disable recovery flash" select no!

[MENTION=4325945]ktoonsez[/MENTION] recovery log here, trying to update from OTA, using latest official CWM https://www.dropbox.com/s/6f72f8al60lv9s9/recovery.log
[Galaxy S 4 i9505 Original Android Development] hotweiss:
Thanks.
[Galaxy S 4 i9505 Original Android Development] islipfd19:
[MENTION=4325945]ktoonsez[/MENTION]

Thanks for adding the requested feature. Now it's time to tweak settings to save as much battery as I possibly can.
[Galaxy S 4 i9505 Original Android Development] tinuz97:
New version is working great. I am on crashrom and also wifi is working fine.
[Galaxy S 4 i9505 Original Android Development] David78130:
Great work bro, just one little issue, in ktweaker fast charge goes off every time I reboot.. I don't know if it was quote if it's the case i'm sorry
[Galaxy S 4 i9505 Original Android Development] LuigiBull23:
It's supposed to be like that to prevent people from forgetting to disable it and complaining to the dev that their pc isn't detecting their phone.
[Galaxy S 4 i9505 Original Android Development] mitky82:
Sorry, but I cant find TouchWiz 4.3 rom :( I see kernel version for that...
[Galaxy S 4 i9505 Original Android Development] rauschkugl:
The kernel is for the ge Rom. There is no tw 4.3 yet.

Gesendet von meinem GT-I9505 mit Tapatalk 4
[Galaxy S 4 i9505 Original Android Development] adey64:
Hi what do you mean by "do"

dmesg | grep PVS?
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Ya, there probably will never be a 4.3 "TRUE" Jizzer ROM but the 4.3 is for Google Edition ROMs
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
PM sent :D
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Have time to test??? I have a little free time to see if I can get that recovery working too?
[Galaxy S 4 i9505 Original Android Development] crnkoj:
You should run that command in terminal right after boot to see your bin
[Galaxy S 4 i9505 Original Android Development] -sandro-:
I just have a few questions. 6h+ is amazing even on WiFi how did you manage to get this screen time on 4g data all the time? (if it was on). What did you do during screen usage? Did you watch videos causw that's the only explanation i could find unless you keep your cpu @ 500mhz ;) What are your cpu frequencies?

Tnx
[Galaxy S 4 i9505 Original Android Development] lzk123:
Test? Ya I have free time right now.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
:D. Enjoy the awesomeness :good: :highfive:
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Ill take a look, thanks.
[Galaxy S 4 i9505 Original Android Development] LuigiBull23:
My overall setup is a combo between My Ktweaker settings + TK Mod + Juice Greenify + Juice Defender

I Greenify most my apps and only use JD to toggle data off in apps that don't require it. When I'm streaming videos or reading, all other cores go off and CPU scales down according to my set tunables. That's normally how I'm able to surpass 6 hours of screen time.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
I ALWAYS get 5-6+ hours screen on with this kernel and I just use greenify. And that's with always 3/4G, Wifi enabled.

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] LuigiBull23:
Yup same here.. Not always but it happens. I use our mod for egl edit and sysctl for performance boost, manage unnecessary wakelocks, and that's about it. I rarely ever use wifi, which is why I use JD for certain apps that don't require data to save some juice from the lack of wifi use.
[Galaxy S 4 i9505 Original Android Development] carvajaljn:
I have a omega rom v9 whit this kernel + TK mod + greenify + comadose mod and all work fine
[Galaxy S 4 i9505 Original Android Development] DroidRevenge:
Hi,

I have installed latest version for TW ROM (Android Revolution HD v3.0), wipe cache, wipe dalvik cache but not fixed permission because PHILZ recovery does not have this command. After reboot start up sound is playing but no animation, then black screen... and and nothing more.

Is the "fix permission" step mandatory?
[Galaxy S 4 i9505 Original Android Development] ramon.nmgn:
With the settings from ktoon or own setting? What settings do u use?

Verstuurd vanaf mijn GT-I9505 met Tapatalk 4
[Galaxy S 4 i9505 Original Android Development] ubelai:
I'm curious as all hell to know myself!

Would consider myself lucky if my screen on-time broke 4hr 15mins.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
A few steps:

-flash MGA modem (it's the best for most users)

-latest ktoonsez kernel

-freeze unneeded system apps

-use greenify (important)

And now the ktoonsez settings:

-Cpu oc to 1.782 Mhz max (you don't need 1.9 ghz-> more heat, slower performance if you play intense game for a longer time), 387 min

-Gpu 450 mhz

-gentle fair sleepers disabled

-row scheduler

-ktoonservativeq governor

-gpu max while screen off max 200 mhz

-cpu when screen off max 486 mhz

-voltages -25 uv on all steps

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] ubelai:
Awesome thanks a million for that!

I have a feeling the main fixes to longer battery life from what you've stated must be the MGA modem (3G drains like a whore on my phone, no 4G connectivity where I am located) and FREEZING unneeded system apps.
[Galaxy S 4 i9505 Original Android Development] LyuboA:
This night I get 7:15h screen time watching tv shows with unis video on 3G and I dont use greenify or apps like that I'm with MGA rom and modem btw my screen time was always 5-6+ hours with this kernel ktoonsez settings UV 75 across the table

GT-I9505 using XDA Premium
[Galaxy S 4 i9505 Original Android Development] thunderserpent:
No it wouldn't really make a difference there.

If you're using the right kernel and haven't had a problem with the last version, try going back and seeing if you can boot.
[Galaxy S 4 i9505 Original Android Development] DroidRevenge:
So I don't know why but after flashing latest version I have:

- no boot animation

- black screen, no way to do nothing

Inviato dal mio GT-I9505 usando Tapatalk 4
[Galaxy S 4 i9505 Original Android Development] ramon.nmgn:
GE/CM/TW rom?

Verstuurd vanaf mijn GT-I9505 met Tapatalk 4
[Galaxy S 4 i9505 Original Android Development] LyuboA:
XXUBMGA is TW rom I use Android Revolution HD 3.0

GT-I9505 using XDA Premium
[Galaxy S 4 i9505 Original Android Development] thunderserpent:
well you can probably get to recovery right? Just flash an earlier version of the kernel or reflash your ROM without installing a custom kernel
[Galaxy S 4 i9505 Original Android Development] DroidRevenge:
So you don't have any issues... odd...

I have the sand Rom but this kernel does not works

Inviato dal mio GT-I9505 usando Tapatalk 4
[Galaxy S 4 i9505 Original Android Development] LyuboA:
I had same problem with MF8 Android Revolution 2.0 everything was fine till one reboot after the first samsung galaxy s4 logo the second Samsung logo dosnt show only sound and thats it this is from the rom or program not the kernel just reinstall the rom again without wipe you will be fine

GT-I9505 using XDA Premium
[Galaxy S 4 i9505 Original Android Development] frankcilo:
which governor do you think consumes less?
[Galaxy S 4 i9505 Original Android Development] thunderserpent:
conservative or ktoonzervativeq once its been tweaked :P
[Galaxy S 4 i9505 Original Android Development] DroidRevenge:
I know that it is enough to install again the Rom... but this not resolve kernel issue, in that way you overwrite it.

Inviato dal mio GT-I9505 usando Tapatalk 4
[Galaxy S 4 i9505 Original Android Development] LyuboA:
This is not kernel thing just reinstall the rom after flash the kernel again you see it will work

GT-I9505 using XDA Premium
[Galaxy S 4 i9505 Original Android Development] cdzo72:
Flashing the ROM again overwrites the kernel
[Galaxy S 4 i9505 Original Android Development] LyuboA:
Yes thats why I wrote after that flash the kernel again dont you read first and lets stop with this OK its little off topic this is not kernel problem its from the rom or tweaking program like android tweaker

GT-I9505 using XDA Premium
[Galaxy S 4 i9505 Original Android Development] DroidRevenge:
strange this procedure, but i will try...

---------- Post added at 02:06 PM ---------- Previous post was at 02:04 PM ----------

if it is a "problem of the rom" as you stated redoing again the procedure it will not solve the problem, i have no tweaking program, no mods and no tweaks installed...
[Galaxy S 4 i9505 Original Android Development] rauschkugl:
But it's not a kernel problem as it has been said different times now, so stop spamming the kernel thread.

Redownload the correct kernel if the rom works with stock kernel.

Gesendet von meinem GT-I9505 mit Tapatalk 4
[Galaxy S 4 i9505 Original Android Development] NEtik:
Dont know what you have done in the latest version but this is pure awesomeness
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Aosp 4.3? Or Tw?

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Looks like I missed u. PM me if u r available today.
[Galaxy S 4 i9505 Original Android Development] crnkoj:
hey ktoonsez, i cloned your sources to my drive and tried building the kernel for myself, first with your script, but somehow i wasnt able to get it to recognise the linaro toolchain i had downloaded and extracted, than i just used my home compiled 4.8.1 toolchain (swapped the location to it in your script), but it failed at some driver, anyhow my question is, if you would have the time, could you please post a quick setup of yours for building it with your scripts? I would appreciate that very much. The reason im trying to do this is to swap certain sdcard mountpoints directly in the ramdisk. Another question, are oyu building the ramdisk yourself, or just taking it from (for cm/aosp4.3) the stock cm10.2 kernel and than repacking it?

thanks for the great work
[Galaxy S 4 i9505 Original Android Development] exxpired:
Copied ktoonz settings and things were great for 1 day now I have mega random amounts of lag all over the place, anyone else experiencing this? May reset to defaults

Using latest pacrom and latest aosp kernel
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
4.8 does not work, it wont boot and I have not found the time to see why, I use the 4.7 from linaro.org labeled as "android-toolchain 4.7 (ICS, JB)".

My folders are as follows:

/kernels/i337/KTSGS4 = source

/kernels/i337/linaro4.7 = toolchain

/kernels/i337/Ramdisks = ramdisk folders (intl version would be AOSP_INTL4.3)

/kernels/i337/Packages = folder where zip file ends up and has the "META-INF" folder in it for the flash info for revovery

/kernels/i337/KTSGS4

I use CM ramdisk and add a some lines to init.rc for setting Mhz and calling my custom script that is in the /sbin/ext folder

Hope that helps.
[Galaxy S 4 i9505 Original Android Development] NEtik:
tw!
[Galaxy S 4 i9505 Original Android Development] crnkoj:
ah ok, thanks, i take it its t his one:

http://releases.linaro.org/13.07/components/android/toolchain/4.7

i tried with https://launchpad.net/gcc-linaro/+milestone/4.7-2013.07 before trying with mine.

ill test this, and report back tomorrow or so.

thanks again
[Galaxy S 4 i9505 Original Android Development] mitky82:
Now i can't revert back to stock kernel like on other kernels when flash back, wifi didn't work, buth wit wifi fix and triangle i run them. Now after revert to BMGA kernel phone dont load my sd card and cant fix wifi. I revert back because i found my phone freeze, i dont touch any settings on program with kernel. Strange thing.. using stock BMGA rom deodexed

EDIT: i fix wifi, but i cant see any images, music and video from sd card with stock galery, player and videos. Only with no stock apps i see them :( I remove all libs and replace with stock lib/modules :(
[Galaxy S 4 i9505 Original Android Development] rlorange:
Ok guys I have a little treat for you guys Thanks to KT who was kind enough to make me a test kernel with zram implemented as a module instead of baked into the kernel.

This has allowed me to make a script which creates 4 parallel zram virtual disks running with equal priority.

According to my research this should greatly improve the performace since Linux with multi thread on our quad core devices.

So if anyone is interested to test, pm me and I will post you my script and the kernel it runs on.

For INTN TW users only for now!

I will make a proper app to configure it later on.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Good stuff man, hopefully it will help out the jizzer's that still have some lag :good:
[Galaxy S 4 i9505 Original Android Development] nfsmw_gr:
Sorry for this irrelevant to the thread question, but what is this "jizzer" I've been reading about ever since I got my S4?

Could you or somebody else enlighten me please? :confused:

I google searched it but I didn't find a definite answer, the only thing I know is that it must lag like hell!! :p
[Galaxy S 4 i9505 Original Android Development] rlorange:
The kernel is going well so I'm working on a control app as we speak!

Just a note if you put an insmod command in the kernel default with no parameters

Insmod /system/lib/modules/zram.ko

Then it defaults as 400mb single zram drive as normal. So I think you can just go ahead and make this module version default as its causing zero issues like that. :) and my app will enable multiple drives for those that so wish :)
[Galaxy S 4 i9505 Original Android Development] LuigiBull23:
LMAO!!
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
+1
[Galaxy S 4 i9505 Original Android Development] nfsmw_gr:
C'mon, for real. :p

EDIT:

"Jizzer ROM" = Touchwiz, figured it out.

Give me a break, it's 4.50 in the morning here in greece. :p
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
LOL, we thought you were joking. I first starting calling Touchwiz, Touchjizz about 2 years ago and as time went on I called it the jizzer or TJ for short, lol. All it is is a slam on on Touchwiz since it is so slow and a memory hog (last check of MFD was 17 GB uncompressed, WOW, that 72 times larger than the biggest CM ROM).