yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] rauschkugl:
Post is edited. But you could also find it by searching for ktweaker.

Gesendet von meinem GT-I9505G mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] Formhault:
---------- Post added at 09:58 AM ---------- Previous post was at 09:57 AM ----------

The thought that there may be such a topic in the Galaxy S3 section really hasn't crossed my mind. Thanks!
[Galaxy S 4 i9505 Original Android Development] aeroman:
show the graphic bar on the picture the old (used) battery or the remaining (present) battery capacity? :)

it should be the used battery, but would again have demanded. ;)

greetings

●Sent from my Galaxy S4-LTE√
[Galaxy S 4 i9505 Original Android Development] davtse:
Battery used during the test.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Just tried Alucards kernel for fun. Look at the io values. Over 8000! I never got more than 54xx...

But I switch back to ktoonsez kernel. Best kernel :)

But it would be awesome if you can inject those tweaks in your kernel [MENTION=4325945]ktoonsez[/MENTION] :)

Edit: this is on official cm11

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] aeroman:
very interesting, it really need to know the temperatures. :)

the graphics prove to me a lot, as I said, the temperatures (CPU & Battery)

would have been to see it would have been perfect. ;)

Regards
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
This is insane

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] djmik21:
What is your setup bro?
[Galaxy S 4 i9505 Original Android Development] Toss3:
He's using CM11 and Alucard_24's AOSP kernel. Getting over 12k now with Brood's AOSP and Alucard's kernel. :)Almost 40k in CPU and over 8k in I/O.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
I tested again without the stweaks app.. io is 40xx :/. Guess those io tweaks in stweaks are magic sauce... Perhaps ktoonsez could include it :). I hate stweaks ;)

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] :
i'm following the alucard kernel thread a long time and i think ktoonsez can copy some of the features, if they are compatible and nice to have :)
[Galaxy S 4 i9505 Original Android Development] Formhault:
Such as?
[Galaxy S 4 i9505 Original Android Development] vagaBond07:
I've tried Alucard's kernel before, smooth and snappy but I still prefer KT with a lot of features and tweaks :)
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Seems so..

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] carlos67:
Can I just stick my oar in on this CPU settings not sticking lark.

This is a suggestion. I too had the same problem with CPU setting at 2106 not sticking past a few moments like [MENTION=2776000]iamnot[/MENTION]curtcobain. Here's what solved it for me.........

I had Rom Toolbox installed and all I did was go into the CPU tab in Rom toolbox and set the CPU the same as in KTweaker and tick set on boot. Viola! no more jumping back to 1890 :)

This is strange because even before doing this in Rom Toolbox, the set on boot option in Rom Toolbox was not set :confused:. Anyway, all I know is that it now works as required. See this as more of a workaround if you already have Rom Toolbox installed. Hope this helps.

By the way, are people still having reboots on Ktoonservative governor? I want to try it with the settings suggested by Ktoonz but not if its unstable.

Edit: Apart from KTweaker, no other CPU altering software installed apart from Rom Toolbox Pro.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Try following, rom toolbox back to default and go to ktweaker, Extras and set scree off mhz to 594 and reboot. Set cpu to your 2.1 ghz and let screen off mhz at 594. Voila. Works too... Strange thing..

Edit: try 450 as gpu max. Guess the voltages are the reason for freezes.. Some devices doesn't like the stock gpu voltages.

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] carlos67:
Actually, you are right! I have just discovered that despite what I said above, Rom toolbox has nothing to do with it:o. It seems that you need to have a screen off CPU setting active in order for the screen on one to stick.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
I tried everything (trickster mod, setcpu rom toolbox) and nothing worked. But now it sticks... Very strange.

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] carlos67:
Indeed, very strange that screen off needs to be set in order for screen on to stick. I can almost hear the cogs in Ktoonz's brain whirring away as I type reasoning as to why this should be so.

Anyway, can anyone answer my previous Qu. about KToonservative gov. Is it stable for everyday use? I know I could just try it but want to canvass some opinion first.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
I use ktoonzervativeq cause it's the best governor

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
All you can do is try it, works for thousands but some people will have trouble on AOSP for some reason.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Thanks for the dmesg's man, glad I could see what was going on in the background :highfive: :good:
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
So is this working? :)

But I still don't understand why... Lol... Waiting for kernel 22.6. ;)

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
As long as you set a screen OFF Mhz in extras you will be fine for now. If you:

1. Put Screen OFF Scaling Max to "Selected Scaling Max"

2. Reboot

3. Then OC or UC

It will keep asking you the questions, talk about a bizarre combination, I would never find/guessed that combination again in a million years!!!!!!
[Galaxy S 4 i9505 Original Android Development] carlos67:
OK, done this. Which governor (and tunables) is best to use for screen off for max battery saving whilst sleeping? Once I got this part sussed I'm going to leave the poor thing alone for a while.

Thanks [MENTION=4354056]KTOO[/MENTION]nsez :angel:

BTW, I'm on a Touchwiz Rom.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
You already have it picked, Ktoonservativeq. Under Extras screen in KTweaker, set

Screen Off Profile Mhz = 594

Screen Off Profile Sched = noop

Screen Off GPU Max Mhz = 200

For some good battery savings while screen is OFF.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Why noop?

Just wanted to say I'll test every new kernel you throw at me ;)

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] carlos67:
Thanks man. Was using conservative gov for screen off with max CPU of 594MHz but I will try what you suggest as you seem to get awesome battery on your device.

Can I make a suggestion? In KTweaker app it would be very useful to be able to restore a default value in a tunable e.g. Long press on "sampling_rate" and have the option to "restore default value" rather than having to restore default values to everything. :)
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Does this have newer drivers and stuff?

http://review.cyanogenmod.org/#/c/44552/

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] simondavies315:
Any new test kernel for AOSP to deal with reboots?
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Cus it is the simplest scheduler, its got like 50 lines of code so it takes no CPU overhead whatsoever to run, thus saving battery :highfive: :good: :D
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
This is the latest:

http://xdaforums.com/showpost.php?p=42786624&postcount=1062
[Galaxy S 4 i9505 Original Android Development] aeroman:
+1

i try a few days ago AluCard on Slim, i became with all tested 3 various versions only problems, :crying:

(bootloop, lost Wi-Fi or Root and other unsightly problems, Data lost etc...)

i prefer KT too, :) its actually best kernel so far, under all tested kernels through me. :good:

therefore is KT preferable btw. highly recommended. ;)

best regards
[Galaxy S 4 i9505 Original Android Development] :
I guess Intelliplug 2.0 from faux isn't integrated...

Here is my list, what i think ktoonsez can integrate (if its possible):

- Intelliplug (from faux)

- Option for fsync on and off

- ASYNC FSYNC (from Faux)

- Upgraded BFQ and FIOPS (if there is a newer version)

And this 2 lines where great too...

- Imported and adapted cpu timing functions from linux 3.14. Now they are shared.

- Optimized all governors to use shared timing functions.
[Galaxy S 4 i9505 Original Android Development] drasko85:
san andreas 1.05 runs smooth but...

KT gaming script runs San Andreas without a lag on full settings but my s4 is overheating - tem. rises so much it is not safe anymore:D

Does anybody have solution for mention problem or maybe some other script that will run San Andreas without such extreme overheating???
[Galaxy S 4 i9505 Original Android Development] nikosma:
Does anyone have faced that problem too...

is there any suggestion or solution for that?
[Galaxy S 4 i9505 Original Android Development] MohamedN:
My phone is connected a network but doesn't provide any Internet.. My wife's phone is connected to the same network and has internet.. Is this a kernel thing? Already set the build. Changes to false..

Running bless my child profile which is giving me great results in terms of battery
[Galaxy S 4 i9505 Original Android Development] !crazy:
Try changing vfs cache pressure to higher value, like 100 which is linux/android default. Try changing dirty background ratio to 5 - 10, and dirty ratio to 15 - 40 (20 is default.), and also important, set dirty writeback centisecs to 5 - 30 sec (5 is default.).

You can change all these with Android tuner free under sysctl settings, Rom Toolbox, and bunch of other apps. Or manually edit files in /proc/sys/vm

Edit:

- means between, for the case it wasn't clear enough. So you have to choose one value between the two.
[Galaxy S 4 i9505 Original Android Development] Dijkstra88:
New Linux 3.4.87 just released. Nice big changelist:)

Send from my GT-I9505 with Tapatalk 4 Pro
[Galaxy S 4 i9505 Original Android Development] Formhault:
Anything of importance that really stands out?
[Galaxy S 4 i9505 Original Android Development] Dijkstra88:
Don't know for sure. That's up to Ktoonsez to decide;)
[Galaxy S 4 i9505 Original Android Development] XxmentxX:
Is the kernel compatible with TW 4.4.2 ?

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] Dijkstra88:
Yes it is. Read the OP or see my signature. You need to download the TW4.4 kernel from the OP. You might need to change the buildprop. (Red letters) to get wifi to work.

Send from my GT-I9505 with Tapatalk 4 Pro
[Galaxy S 4 i9505 Original Android Development] 00raq00:
I know what is broken in tw ROM... It's libdvm.so. When I put libdvm.so from Google edition lags gone but I haven't access to sdcard.

Wysłane z mojego GT-I9505 przy użyciu Tapatalka
[Galaxy S 4 i9505 Original Android Development] wEaKlY27:
Hi guys i dunno what happened but the thermal readings in kmonitor suddenly got stucked... i already tried removing and readding the kmonitor and ktweaker app but still doing the same thing....
[Galaxy S 4 i9505 Original Android Development] Misk77:
A question about screen mirroring.

It's seems very random on every rom if it's works and no stuttering, lag. Only rom what I didn't have any problems it worked perfectly was on omega26 and omega28, with stock kernel, think it's talexop kernel.

With KT kernel is delayed in about 3-15 second in browsing and YouTube.. And clips on Internet.

How much affect does the rom have and/or kernel? Any suggestions or solution,.

Anyone who has thoughts about this?

Skickat från min GT-I9505 via Tapatalk
[Galaxy S 4 i9505 Original Android Development] Moz007:
After a week of comparison, it seem i have better perfomances with the stock kernel of CM rom than the KT kernel... I tested in benchmarks, 3d games and in the UI of the rom... I use the recommanded profil... Anyway, this is a little disturbing... :rolleyes:
[Galaxy S 4 i9505 Original Android Development] Mussels84:
half my devices (S3, S4, galaxy tab range) wont even work with my adaptor on stock rom and kernel.

all in all, its a very poor technology. i've stuck with MHL for a while now.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
I'm sure it's the undervolting... Load stock values and try again. Uv makes the ui and other stuff laggy.

Gesendet von meinem GT-I9505 mit Tapatalk

---------- Post added at 04:14 PM ---------- Previous post was at 04:05 PM ----------

Best battery/screen on time I ever had. EVER. On my Galaxy S2 with fluxi kernel and cm9. I underclocked to 1.0 ghz max and 100 mhz min. And uv cpu and gpu.

Was awesome..

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] davtse:
-_-"

You should really put the text on top of the image. For a second there I nearly had a heart attack thinking someone got the magic configuration for battery life lol.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Sorry :/. I wish we would get that battery life/screen on on the S4. Perhaps with lowest brightness and uc to 1.0 ghz ;)

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Still working on a easy way to switch to f2fs for the general user. No issues in 2 days so far with data so think its looking good :D
[Galaxy S 4 i9505 Original Android Development] nazfalas:
you - are - awesome!!!
[Galaxy S 4 i9505 Original Android Development] tanoxxx:
Great Genius ktoonsez :laugh::laugh::victory::victory:

this kernel will be compatible with CM11? for switch to f2fs will be mandatory to format the sd or you have found a way to convert the filesystem without format the sd? the app normally backup with titanium with normal filesystem we can restore after the f2fs conversion or must clean re-install manually?

The Nexus 7 2012 need a genius like you with your awesome kernel, i can hope you do it one day? :fingers-crossed:

Sorry for to many questions and really really thanks for you hard and fantastic work :laugh::laugh::laugh:
[Galaxy S 4 i9505 Original Android Development] jumpers:
hi all, i have ADB issues, getting always a "permission denied", in a local shell (Better terminal Emulator Pro), i have no issues, but with adb i got errors.

i started ADB as root, and Root acces is set to apps and adb in android devellopers options.

can this be Kernel related ? or ROM related ? (running CM11)

Edit : a stupid example : using FB2PNG

working with BTEP : http://bass2style.com/mobileUP/XDA/Screenshot_2014-04-15-19-54-33.png

bot not with ADB : http://bass2style.com/mobileUP/XDA/fb2png_error.png

i also get issues with KTweaker at each reboot, getting this messages :

http://bass2style.com/mobileUP/XDA/Ktoonsez/Screenshot_2014-03-29-15-47-12.png

http://bass2style.com/mobileUP/XDA/Ktoonsez/Screenshot_2014-03-29-15-47-18.png

http://bass2style.com/mobileUP/XDA/Ktoonsez/Screenshot_2014-03-29-15-47-25.png

http://bass2style.com/mobileUP/XDA/Ktoonsez/Screenshot_2014-03-29-15-47-33.png

http://bass2style.com/mobileUP/XDA/Ktoonsez/Screenshot_2014-03-29-15-47-41.png

http://bass2style.com/mobileUP/XDA/Ktoonsez/Screenshot_2014-03-29-15-47-48.png

http://bass2style.com/mobileUP/XDA/Ktoonsez/Screenshot_2014-03-29-15-47-57.png

http://bass2style.com/mobileUP/XDA/Ktoonsez/Screenshot_2014-03-29-15-48-03.png

http://bass2style.com/mobileUP/XDA/Ktoonsez/Screenshot_2014-03-29-15-48-10.png

http://bass2style.com/mobileUP/XDA/Ktoonsez/Screenshot_2014-03-29-15-48-16.png

any solution ? i think that my profile (KTGaming) wont restore at boot, i dont know why. :/
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
I am using CM 11 for testing, dont know if other ROMs will work but should.

You have to format the SD or you wont have F2FS formatting so all your entire SD will get wiped

Titanium is just copying files so yes you can restore apps and app-data.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Here is a preview of the procedure people will have to do:

Does it look scary???

1. Backup everything from your internal SD to your PC or external SD, since the entire internal SD is going to get wiped out with format!!!!!!!!!!

2. Download the files from below

3. Flash the TWRP-KT-F2FS.zip files that contains the F2FS support

4. Reboot recovery

5. Go to "Wipe->Format Data" option (THIS WIPES YOUR ENTIRE INTERNAL SD CARD, all files and folders, all gone so make a backup to your external SD or PC!!!!!!!!!!!!!)

6. Reboot recovery

7. Flash FormatCache-F2FS.zip

8. Reboot recovery

9. This step you have 2 choices:

A. Flash your ROM/gapps to start completely fresh​

B. Go to restore option and ONLY restore your "Data"​

10. Flash my newest kernel

11. Flash SGS4_MOD_RAMDISK_TO_F2FS.ZIP

12. DONE!!!!!!!!!!!!!
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
This started in Kitkat. You need to do adb stuff in this order:

1. adb shell

2. su

3. You now have root access so do whatever you want to do
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Lets do it lol ;)

Btw is the new kernel working even if we don't wanna use f2fs?

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
All the kernels will come with EXT4 as default (even though F2FS is supported). To move to F2FS you do the procedure above. After my 30th time doing it now, I can go back and forth in 15 minutes.

Just need to find people to test now, since this is way more complicated than normal tests.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Perfect :)

Good thing is that only the internal sd card is wiped. I'll copy all from Internal to my 64 gb external and done. :)

THANKS!

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] tanoxxx:
Perfect, great News :victory::victory::victory::victory:

Thanks Genius :laugh::laugh:

For Nexus 7 2012, you can make your awesome kernel for it? w:fingers-crossed:
[Galaxy S 4 i9505 Original Android Development] hawkerpaul:
If we convert our storage to f2fs

1. What are the advantages? Speed presumably, but anything else?

2. Must we stay on twrp after this or can we use philz? If we can use philz, why do we need to format with twrp as I'm sure I've seen f2fs support mentioned in philz before, tho i could be wrong.

3. I assume after this point we can then no longer experiment with other kernels such as alucard, faux etc.

4. Will roms have a problem reading f2fs, as for example slimkat is unable to read exfat (at least the last time i looked it couldn't) so will there be possible compatibility issues?

Thanks
[Galaxy S 4 i9505 Original Android Development] 9Lukas5:
The rom has to support f2fs. So cm has added support some time ago and broodplank1337's AOSP rom has also f2fs support for all partitions

L

sent from my snapdragon powered galaxy S4 on KitKat
[Galaxy S 4 i9505 Original Android Development] Formhault:
Interesting.

[MENTION=4325945]ktoonsez[/MENTION] /system and /data are f2fs (on your end), as well? Or just /sdcard?
[Galaxy S 4 i9505 Original Android Development] Solace50:
this is a slight bit off topic but still related a tad, is thre a diagnostics menu to show when the phone last shut down or rebooted? since the recent kernel updates i would like to see if theres been any rr's while sleeping/idle as a few occurred on previous builds while playing music/doing other stuff but have not been apparent recently.

nvm i just found uptime under status menu. figured it would have been in a hidden sys ui menu or something.
[Galaxy S 4 i9505 Original Android Development] davtse:
If you go to settings ->about phone -> status there's a row that says uptime which is how long ago your phone last reboot. Alternatively if you have tasker you can use it to send a notification when the phone reboots
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
You would have to ask Phil on all your Philz questions, I dont know if he has options for that. You would have to format back to ext4 if using another kernel. I have not seen any "merged" commits in CM for F2FS but there might be some that I have not seen so I cant answer you on "does the ROM need f2fs support". You wouldnt think it needed it since the kernel is where the f2fs driver code is.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
/data is the SD card. Supposedly /system can not be formatted that way due to some boot issue, is what I have read.
[Galaxy S 4 i9505 Original Android Development] Formhault:
Right. I keep forgetting that /data incorporates both /cache and /sdcard :D. Getting /system to f2fs should, in theory, boost performance by another 20%, too, right? But oh well, Android is gonna be on f2fs soon enough, I think.
[Galaxy S 4 i9505 Original Android Development] dr.wtf:
to answere that... the part with formatting the sd-card sounds scary. i would have to backup my sd-card every time...
[Galaxy S 4 i9505 Original Android Development] islipfd19:
It's not that scary, once you've got it working and I'll presume fstab or whatever it may be called (don't have the time or effort to actually look for the file name) is updated to see the sdcard as f2fs one can create a flashable zip so that the user can update to the bleeding edge CM11 nightly and then just flash the file and the sdcard will work as expected. But this is just a presumption and I don't plan on formatting my sdcard to use f2fs.
[Galaxy S 4 i9505 Original Android Development] nazfalas:
So if you need (more) testers: I would gladly test.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Well test #1 of F2FS version went very very very well :D. [MENTION=3545504]smeroni68[/MENTION] just ran my procedure from the previous page with my testing files and went very well. He chose option "B" so he has his full ROM and all data (not SD card data, but the /data/data/ folder that contains all your apps/preferences etc...)
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Thanks KToonsez for the opportunity...

First impression is positive... but need some time to be sure...

Will update here...
[Galaxy S 4 i9505 Original Android Development] vagaBond07:
nice...ill go for this! Just womdering if thisbis compatible with Danvh GE ROM?

---------- Post added at 09:25 PM ---------- Previous post was at 09:20 PM ----------

I dont see the download link KT
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Im only working on AOSP right now, there are no download links, just testing with willing people on AOSP, lol.
[Galaxy S 4 i9505 Original Android Development] vagaBond07:
Oops.... But if issues arise, i can restore NANDROID back up right? Im willing to yest it with broodplank's rom :)
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Yes you can always go back, just has a few extra steps to get things formated back to ext4, how much longer are u available, its only 3pm where I am at?
[Galaxy S 4 i9505 Original Android Development] vagaBond07:
Its early morning here in my place....
[Galaxy S 4 i9505 Original Android Development] D!3G0 #1:
I hope someone makes a video of how the steps are for nw as Im :/
[Galaxy S 4 i9505 Original Android Development] jumpers:
KrappyKat, this breaks a lot of adb stuff, like adb push into certains locations ETC. Google is making Android a piece of **** with all this stupid changes and limitations...
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Im pretty sure its Selinux that is giving us the screw. It is very annoying, I used to be able to do:

adb shell dmesg > dmesg.txt so I could look at on my PC easier, no more with kitkat :( without 3 extra steps.