yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Change Log 04.28.2014

1. Linux 3.4.88

2. Now compiling with Linaro 4.9.1 a-15 optimized from [MENTION=4825437]Christopher83[/MENTION]

3. Updated kernel flash routine to detect F2FS partitions and include the appropriate fstab so it works with /data and /cache or /data and /cache and /system

4. Updated KT-TWRP.F2FS and KT-TWRP.EXT4 to have one common recovery binary, during flash uses same algorythm as kernel flash zip to use the proper fstab.

5. KTweaker 7.0

6. Under "Tools" screen added "F2FS: Convert ROM ZIP option". To use it, click that option, it opens a KT File Explorer, navigate to the folder where your zip files is, click the ROM zip file that needs converting and it will create a second file with the same exact name except adds a -F2FS to the end. A little hint, instead of using the back button once you are done converting, press the menu button and select close and KTweaker will remember that folder and take you right back the next time you go back in. It takes around 1:45 to do it my phone running ktoonsified v6, other profiles may take longer and if you are converting from external SD it may take longer depending on the quality of your SD.

7. TWRP for normal EXT4 format link is here http://goo.gl/jwMSEn

8. TWRP for F2FS format link is here http://goo.gl/Zw1akJ
[T-Mobile Samsung Galaxy S 4] Spacemonkie4207:
When I first load kt tweaker says values don't match.

Do I click revert or current?
[T-Mobile Samsung Galaxy S 4] Se7eN43:
What is the SGS4_MOD_RAMDISK_TO_F2FS.zip file for? It is not mentioned at all in the instructions.
[T-Mobile Samsung Galaxy S 4] PiggySmalls:
I don't know exactly what it is for, but I do know that as of now, it is not to be used.

Sent from my GT-I9505G
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Its not for you, ignore the file.
[T-Mobile Samsung Galaxy S 4] fidorulz:
Can you clarify number 4 in this?

I have TWRP but not sure what number 4 means or which one I should download for number 7 or 8

Dont use EXT4 to my knowledge and note sure what F2FS is or if im using it

Sorry if kind of noobie question
[T-Mobile Samsung Galaxy S 4] ktoonsez:
You want the ext4 version. F2FS is a type of file system format alot of us are experimenting with, ext4 is the standard android format.
[T-Mobile Samsung Galaxy S 4] kaseykrehbiel:
After installing the latest version, I've noticed that sometimes the blue notification LED stays on even if there are no notifications. I had to reboot my phone earlier to get it to stop. I do have the LED fade enabled.
[T-Mobile Samsung Galaxy S 4] elesbb:
Are you using light flow or anything like it to change the led colors?
[T-Mobile Samsung Galaxy S 4] kaseykrehbiel:
No, nothing like that. I'm on Fenny's 1.1 stock ROM if it helps.
[T-Mobile Samsung Galaxy S 4] elesbb:
It's probably more related to a ROM/app issue. I know Facebook messenger would do that to me.
[T-Mobile Samsung Galaxy S 4] braschlosan:
So what is the accepted "low impact" way not to have terrible audio with this kernel? I see multiple different suggestions and would like to apply the one that doesn't hurt performance or battery life

I've been trying to figure out this audio problem for a long time. I'm glad you compiled that information
[T-Mobile Samsung Galaxy S 4] elesbb:
go here and read. I made an app to handle different situations

http://xdaforums.com/showthread.php?t=2393708
[T-Mobile Samsung Galaxy S 4] TSFox0317:
I can't seem to get the F2FS tool to work, I'm on task650s latest jflte, anyone else get it to work and if so what are your thoughts on it?
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Change Log 05.05.2014

1. Mostly a TWRP update on todays release

2. Modified TWRP to do ext4 or F2FS on the fly based on "Settings" screen to reduce problems, no more need for flashing format zips like before, and no more rebooting in and out of recovery.

3. When you change the "Settings" you will notice that the name at the top will change according to your settings. EXT4 for ext4 formatting, F2FS for F2FS on data and cache, and F2FS+S for data, cache, and system.

4. Under "Settings" screen in TWRP you will see a new option called "Force data and cache wipe functions to use F2FS". When checked it will force wipes on the cache and data partitions to format it F2FS, unchecked forces to ext4.

5. Under "Settings" screen in TWRP you will see a new option called "Include system partition." When checked it will force wipes on system partitions to format it F2FS, unchecked forces to ext4.

6. KTweaker: New option under "Tools" screen called "Get Partition info" so you can check the format of the 3 partitions.

7. Since I made the new TWRP, I modified the ramdisk back to my original testing code to load the partitions based on there format. Since it does this, you will have to use KTweaker now to verify if you did indeed format everything properly using the new option from #6 above.

8. Link to newest TWRP-ALL-IN-1: http://goo.gl/xl5VwI

9. Link to newest F2FS folder (updated instructions in the folder, moved all the old stuff to the "OLD WAY" folder): http://goo.gl/HLz4al
[T-Mobile Samsung Galaxy S 4] dillis:
flashed the newest and got bootlooped im confused,i dont see these options in my twrp settings,flashed back to /28 and now everything is glitching hard,i need a better understanding of how to install this
[T-Mobile Samsung Galaxy S 4] PENKO956:
5/5 update was only for aosp roms on kk. if you are having issues either reflash your orignial rom or kernel.
[T-Mobile Samsung Galaxy S 4] TSFox0317:
Has anyone confirmed the f2fs tool included in ktweaker to work ?
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
Yes. Works fine.
[T-Mobile Samsung Galaxy S 4] TSFox0317:
Which recovery are you using?
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
KT's nodded TWRP is the ONLY recovery required to switch to F2FS.
[T-Mobile Samsung Galaxy S 4] TSFox0317:
and i just get that by installing the kernel or is there another source?

nvm just found that link
[T-Mobile Samsung Galaxy S 4] design12:
i got a question. So when we check force system partition to format f2fs in twrp, does that mean we still have to convert the rom zip to f2fs using the ktweaker tool before installing it?
[T-Mobile Samsung Galaxy S 4] ktoonsez:
You ALWAYS have to convert the ROM zip, the forces only effect the formats and wipes that TWRP does, it can not control what zips do inside them.
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
Thanks !

which CPU Governor do you recommend me to use for the best battery life?

I currently have ktoonservativeq enabled
[T-Mobile Samsung Galaxy S 4] whytechapel_x:
Pretty sure ktoonservativeq is the best.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
ktoonservativeq :good:
[T-Mobile Samsung Galaxy S 4] elesbb:
I won't be around much today. Helping my Uncle move ( which totally sucks cause its like 90 bazzilion degrees out! ) Prolly be back around 1:00 pm EST (Im hoping it doenst take all day xD) But i rebooted my computer and it still gives operation not permitted. The default.prop reads correct for adb remount. I have decompiled my Asus TF300 kernel and had this exact same issue. It ended up being the adbd binary in the ramdisk needing to get changed. But if you haven't touched that, im totally confused. The worst part of it all is that it's working fine for you! :P lol. Well like i said i will be back around 1:00 PM EST (or hopefully sooner) and i will be willing to test anything you got. :)

Thanks my man!
[T-Mobile Samsung Galaxy S 4] ktoonsez:
PM me when u r ready :good:
[T-Mobile Samsung Galaxy S 4] RMXO:
Here's my battery life using Omegas v3.1 & the 5.27.13 kernel. TYVM!

-Sent from my TMO Samsung Galaxy S4
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Settings->Application Manager->Running

Look for Maps, and Force Stop it. U will have to do it about 6 times since it runs so many processes/services/foreground processes
[T-Mobile Samsung Galaxy S 4] brando56894:
Version 5.30 causes my phone running revoltJB to boot loop, 5.27 works fine.
[T-Mobile Samsung Galaxy S 4] dragon-son:
5/30 version working great for me. No catastrophes this time:good: thanks for the continued hard work.
[T-Mobile Samsung Galaxy S 4] Poser:
Jesus... installed this kernel and broke out in hives... next time I read the op in its entirety. Stupid awesomeness.

Silliness aside...

@kt... I am not familiar with how SoC architecture handles clock gen for cpu and gpu. Is the gpu click set by a divider of the cpu clock gen? Also, since krait is a unified architecture...the Adreno does not have a separate voltage table, correct? If so, undervolting could undermine gpu clock increases?

I tried reading the qc whitepaper... but it seems to be above my pay grade.

Thanks.

Edit: ps, wtf is the deal with maps going rogue and nuking my battery. I see above that I am not the only one.... having to repeatedly kill a process tree is nonsense.

Sent from my SGH-M919
[T-Mobile Samsung Galaxy S 4] elesbb:
Hmm, i do not have any maps issue. I am using my modded google maps but its not much different from original. i would download BetterBatteryStats and see the exact culprit for the cause of it. Very strange.
[T-Mobile Samsung Galaxy S 4] gaww:
I have had a number of small issues (occasional lockup, voice dial doesn't always work, etc.), etc. with 5/30 compared to 5/27, so went back to 5/27 for now. I have not messed with settings with KTweaker, so it is not an apples to orange issue.

From the thread, it looks like a number of others have reverted to the prior release for similar reasons, so hoping stability is high on the list for the next one.
[T-Mobile Samsung Galaxy S 4] brando56894:
Same thing with RootBox
[T-Mobile Samsung Galaxy S 4] Gordietm:
Delete
[T-Mobile Samsung Galaxy S 4] Poser:
Its not a kernel issue...its a Google now implementation issue. Still, sucks nuts.
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
I've noticed after flashing your kernel, I wasn't getting any push notifications from apps like snapchat, facebook, or twitter.

Is it the cpu governor (I'm using yours) affecting it to conserve battery?
[T-Mobile Samsung Galaxy S 4] muqali:
Awww ****. Went from Note 2 to S4 and Ktoon is here too. Amazing.
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
Is there a way to get back notifications?

I love your kernel, but I can't find the setting that's interfering with that. Maybe it's a setting to save battery?
[T-Mobile Samsung Galaxy S 4] gaww:
Was your Note 2 trying to fall out of your pocket especially - when on a motorcycle also - lol?
[T-Mobile Samsung Galaxy S 4] MrHomebrew:
I've tried installing this Kernel twice now with no luck. Keep getting boot loop. Yes I wiped catch, delvic and fixed permissions. I am on Rogers wireless and was trying to install the touchwiz version of the kernel. The old one worked before exfat support, I just don't get why now it won't work.

Does anyone have an idea of why I am getting a boot loop with this kernal??

UPDATE GOT IT WORKING
[T-Mobile Samsung Galaxy S 4] dillis:
totally gapped and jumped the horse and flashed aosp >< getting a buncha weird errors even though i flashed back the old kernel hopefully didnt screw things up but probably did by the looks of it!
[T-Mobile Samsung Galaxy S 4] Lobster!:
Please fix the download, keeps cutting off halfway through for the TW version.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Nothing wrong with the file and I can not control the servers internet connection. :(
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
ALL working fine here.
[T-Mobile Samsung Galaxy S 4] PanchoPlanet:
What does the kernel do or control as far as the operating system is concerned?

I'm running Fenny's 1.2 w/philz with occasional reboots.

Pp.

sent from my bluetooth controlled toaster that also takes pictures.
[T-Mobile Samsung Galaxy S 4] B3L13V3:
Everything?
[T-Mobile Samsung Galaxy S 4] dragon-son:
Alright read the readme file and I'm still wanting clarification before I try this out.

Only need to convert zip if we are doing system as f2fs, and to convert the zip... not entirely sure how that is done.

Rest of it I get. Make backup is a must.
[T-Mobile Samsung Galaxy S 4] HolyGhostBoy1:
does this support fast charge?
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Yes
[T-Mobile Samsung Galaxy S 4] elesbb:
does this support awesomeness? Hell yeah it supports awesomeness! xD you rock dude!
[T-Mobile Samsung Galaxy S 4] HolyGhostBoy1:
Thanks just flashed everything is working good thanks for your hard work!:highfive:
[T-Mobile Samsung Galaxy S 4] Se7eN43:
When updating a nightly, do we still need to convert the rom zip to f2fs before flashing?
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Everytime, if you are on f2fs for the /system partition
[T-Mobile Samsung Galaxy S 4] subnoize soulja:
Can anyone that is using F2FS tell me how it compares to regular file system I am not sure how to go about switching and kind of want to know how it is before I attempt it?!
[T-Mobile Samsung Galaxy S 4] PENKO956:
http://www.xda-developers.com/android/f2fs-put-to-the-test-against-ext4/
[T-Mobile Samsung Galaxy S 4] ktoonsez:
FYI:

http://xdaforums.com/showpost.php?p=52589380&postcount=12441
[T-Mobile Samsung Galaxy S 4] HampTheToker:
Were you also using F2FS?
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Yes.
[T-Mobile Samsung Galaxy S 4] Tunasty:
What's good bro? How's everything going with the badass kernel?

Note 3 is poppin!
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Going awesome as usual :D. Hows the Note 3 treating you?
[T-Mobile Samsung Galaxy S 4] Tunasty:
It's going great bro. Missing your awesome sauce lol

Note 3 is poppin!
[T-Mobile Samsung Galaxy S 4] dragon-son:
Didn't find my answer in this thread, but the AT&T thread had the answer. To convert ROM to support f2fs for /system first download and install the latest ktweaker. There is option to convert ROM on tools. Going to be trying this out next weekend hopefully.
[T-Mobile Samsung Galaxy S 4] HampTheToker:
I took the plunge last night, and it worked flawlessly.
[T-Mobile Samsung Galaxy S 4] braschlosan:
Do you have a suggestion on how to adjust your v6 profile to not have laggy audio? There have been many suggestions on what to adjust but I would like to hear your advice for low impact setting that would fix the problem
[T-Mobile Samsung Galaxy S 4] CamFlawless:
The options that have been mentioned previously will serve you best. They include: adjusting you min MHz for media playback, setting super_conservative_screen_off to a 0, adjust your screen off max MHz, or setting disable_hotplugging_media to a 1.
[T-Mobile Samsung Galaxy S 4] munkyvirus:
Following up on the stutter thing, I installed SlimKat last night and loaded up ktoonz' setup again. Stuttering was almost completely gone. So the stutter might be a ROM thing
[T-Mobile Samsung Galaxy S 4] PENKO956:
i used to have to change gov to play media but i think kt fixed all that. now Pandora or any streaming player plays without any "stuttering or distortion" with the same setting as before. I don't think its the rom. running on kt 4/28

*in a side note. for those that like to record calls. this app works flawless with twge rom: https://play.google.com/store/apps/details?id=com.record.my.call
[T-Mobile Samsung Galaxy S 4] elesbb:
Definitely a kernel thing. It's not that it's an issue, it's just the kernel throttles down and saves battery very very well. I use my app to set a few parameters when media starts and that allows for good battery while keeping music from stuttering. I also noticed viper 4 android causes the stutter due to it's awesome processing power! I love it tho. And this bad ass kernel!
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Change Log 05.14.2014

1. KTweaker 7.1 (this is just an update for my S3 guys, nothing new for S4)

2. sched: set mc_power_savings=2 this feature packs tasks together and try to bind them to cpu0, which in theory will let cpu1 idle longer, thus improving battery life.

3. kernel:sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire

4. smp: patches from mainline 3.5 to hopefully help with hotplug efficiency

5. Linux 3.4.89
[T-Mobile Samsung Galaxy S 4] Rauch:
Followed everything to the T, and f2fs doesn't stick after flashing Slim.

Even though everything says its formatting as f2fs, ktweaker shows ext4.

So puzzled.
[T-Mobile Samsung Galaxy S 4] elesbb:
Hey dude, does this include the new adb binary I sent you? If not no big deal! I actually found another one to try. Was getting weird errors with the one I sent you.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
No. It didn't work on my PC.
[T-Mobile Samsung Galaxy S 4] elesbb:
Adb itself wasn't working or? I found that one randomly and was like "oh it works" but it have me a few issues (at least I hope it was caused by that) I'll just extract the ramdisk from each release and add it in. Thanks Jesus! I mean ktoonsez!
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Eclipse refused to work with it? Cant remember if I ever asked you this, are you using a Crapintosh or Windows? Just trying to figure out why your computer is the only one on the planet that doesnt work with the standard adbd. Or maybe running Windows 95, lol?
[T-Mobile Samsung Galaxy S 4] elesbb:
Nope windows 7 on an HP laptop. And adb works just fine. It's insecure adb that doesn't. So I can't run "adb remount" or "adb root". Just makes "adb push" hard to use cause I can't write to the system directory. It's no big deal dude! Love your kernel tho :)
[T-Mobile Samsung Galaxy S 4] dillis:
where do i find

mc_power_savings=2 in ktweaker? or is it already built in
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Its kernel source code, nothing to set.
[T-Mobile Samsung Galaxy S 4] Punchatron:
My experience so far on this kernel using GE ROM. Stock battery. Incredible battery life so far.
[T-Mobile Samsung Galaxy S 4] BlackGURU:
Which One do we download for 4.4.2 Sorry I havent been on xda in a whle
[T-Mobile Samsung Galaxy S 4] PENKO956:
depends what rom you are running. make sure you know cause you will cause your phone not to boot if you flash wrong kernel.
[T-Mobile Samsung Galaxy S 4] TGSKK:
I switched to KT's kernel but under profiles and scripts when viewing one of the options none of the buttons works. The word download doesn't show. Anybody knows how to fix this?

Insane SGH-M919
[T-Mobile Samsung Galaxy S 4] nopotential:
I don't think my original post made it to the forum.

I can't take burst shot pictures with the camera.

Can someone explain how, or if this feature just doesn't work?

Thanks
[T-Mobile Samsung Galaxy S 4] elesbb:
You just hold the shutter button down and it will take a burst shot of up to 20 pics. Works perfectly fine with this kernel.
[T-Mobile Samsung Galaxy S 4] nopotential:
It may be a problem with my ROM then
[T-Mobile Samsung Galaxy S 4] elesbb:
Do you have "stabilization" enabled? Quick Google search said it doesn't work with tgqt enabled.
[T-Mobile Samsung Galaxy S 4] kaiya215:
Whats rhe advantage of fs2f
[T-Mobile Samsung Galaxy S 4] Se7eN43:
It's made with awesome sauce!
[T-Mobile Samsung Galaxy S 4] CousinMikeyP:
Hey whats up "KT BOSS"

I was just googling with orange I have a tmobile s4 and he has been trying his best to figure out why his zram mod doesn't work for my T Mobile s4 we tried everything there is to try; or I should say he did, basically here's what he told me to explain to you, and to everyone who has the T mobile carrier, and or who is having the same issue:::

"Dude just a paragraph explaining that zram doesn't appear to work at all. And that you checked with the author of turbo zram and he thinks it must be kernel related and device specific to the T- mobile. Ask others to check zram use" *rlorange*
[T-Mobile Samsung Galaxy S 4] jrocks213:
Which one do I dl for tw insane kit kat rom???? 4.4.2
[T-Mobile Samsung Galaxy S 4] Cebrailefee:
Hello Ktoonsez!

Can you update your kernel for the MIUI ROM on i9505?

It would be awesome!

Envoyé de mon GT-I9505 en utilisant Tapatalk
[T-Mobile Samsung Galaxy S 4] Tunasty:
Guys, if [MENTION=4325945]ktoonsez[/MENTION] doesn't reply for a week or so... That automatically means he's bringing something BIG for you guys! Hope everything is going good bro!

TW 4.4.2 one...

Note 3 is poppin!
[T-Mobile Samsung Galaxy S 4] Cebrailefee:
I know that but still, his last kernel for MIUI was in 2013 bro x)

Envoyé de mon GT-I9505 en utilisant Tapatalk
[T-Mobile Samsung Galaxy S 4] ktoonsez:
I never made one for MIUi they r closed source. The one u r thinking of is someone that ported my kernel.
[T-Mobile Samsung Galaxy S 4] Cebrailefee:
Ok I didn't know..

Do you mind doing one?

We need some awesomeness on that Rom ;)

Envoyé de mon GT-I9505 en utilisant Tapatalk
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Not anytime soon. I'm swamped with work and traveling for work too working 15 hour days.
[T-Mobile Samsung Galaxy S 4] futiless:
Problem : BUT ! :)

First of all thanks for everything quite an amazing kernel.

But

I have a small issue and I think I am not alone. On a knox tripped phone the kernel seems to prevent power-off charging mode and instead hangs with the screen on. Only a full 20 second or so hold of the power or battery removal is available. Is there something I can do ?
[T-Mobile Samsung Galaxy S 4] elesbb:
Are you on the latest version? I remember this being discussed before and thought he had fixed it
[T-Mobile Samsung Galaxy S 4] futiless:
Yep latest just installed on top of new Slim 4.4.2 build 5 official 4050
[T-Mobile Samsung Galaxy S 4] elesbb:
What kernel are you using? Go grab Ktoonsez latest kernel. The one included is quite old.
[T-Mobile Samsung Galaxy S 4] futiless:
Interesting actually it is flashed over the original Ktoonsez one and now I have the latest same problem ...
[T-Mobile Samsung Galaxy S 4] Solace50:
im quite astonished that you haven't had samsung give you some job offer after the quality and amount of effort put into this. i honestly any reason that this could not be incorporated into mainstream builds with limited versatility to the end users. like the stock profiles you have are even refined to be pretty universal for everyone with only minor modification needed.
[T-Mobile Samsung Galaxy S 4] theman1111:
I'm wondering the exact same thing anyone know?
[T-Mobile Samsung Galaxy S 4] futiless:
Not to be the doubter. I am just curious if anyone can explain why ktoonsz google works with google ROMs. But slim Kat's latest with aosp kernel still locks up my phone when charger plugged in with phone off. I can't see how this is only me..

Thanks for all the effort BTW I can tell this is the work of an expert.
[T-Mobile Samsung Galaxy S 4] access9:
The tw 4.4 one (was already answered a few posts back)
[T-Mobile Samsung Galaxy S 4] elesbb:
[MENTION=4325945]ktoonsez[/MENTION] first random reboot caused by a null pointer dereference or something like that.

http://pastebin.com/4hW6K264
[T-Mobile Samsung Galaxy S 4] JaZart:
Is there a reason why I can't delete system apps or change permissions while on f2fs
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
Sounds like you need to mount your system partition as r/w. Have you tried using Root Explorer and/or SuperSU?
[T-Mobile Samsung Galaxy S 4] JaZart:
Well I tried to change the permissions to rwx using solid explorer but came up with an error . I'll try to use supersu
[T-Mobile Samsung Galaxy S 4] froader:
[MENTION=4325945]ktoonsez[/MENTION]

I have been loving your kernels. Awesome performance and battery that lasts all day.

Every once in a while I will miss my alarm in the morning because the phone wont wake. A couple of power button pushes and it reboots.

It's has happened twice in a week now and I have recorded last_kmsg in hopes there is something that you see that I can correct.

https://www.dropbox.com/s/4911l7xesl60zbv/kt_last_kmsg.txt

Thanks in advance, I appreciate all your work.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Nothing good in there as far as a kernel problem so it is probably under volting or setting minimum Mhz lower than 378.
[T-Mobile Samsung Galaxy S 4] froader:
WOW, talk about swift service. Thanks so much for the quick look and reply, just WOW.

I am running misanthrope profile. I've already bumped up my minimum, so I will take a look at the undervolt.

THANKS!!!!!!!!!!