yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 5] elesbb:
That is very interesting.. I have a whole page on my launcher dedicated to widgets, not a single one "stops" working. The only thing i have discovered about widgets in the new versions of android is the period at which it can be refreshed. The default receiver cannot refresh like every second, so you hold a service that refreshes the widget. But we aren't displaying news feeds or live feeds of anything so that shouldn't be an issue.
[T-Mobile Samsung Galaxy S 5] ktoonsez:
If you are running a service then that is probably why. Mine dont do that since there is nothing changing on the screen unless you touch it. And never wanted to add a service or I got to listen to people saying ktweaker is running the background chewing my battery!!!!!!!!! Lol
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Check this out guys:

http://xdaforums.com/showpost.php?p=55471271&postcount=1446
[T-Mobile Samsung Galaxy S 5] elesbb:
Lol I could hear them already :P but no I don't use services because I don't have to update anything on the widget. My Widgets are simply turning on the flashlight, changing network mode, and setting voltages when charging. All of them always work. I'll make one to change profiles and see if anyone, including you, have troubles. I still think you should share ktweaker source with me and let me do the Java stuff and you do kernel stuff :) at least I'd be able to give back since I'm poor. But I know you don't trust me :P
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Nothing to do with trust, I might want to add to the play store one day so that was why, here is the source for the Profile chooser.
[T-Mobile Samsung Galaxy S 5] elesbb:
You can still post it to the play store if I help you develop it. I just want to be able to give back to the God who makes God-Mode kernels :)
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Let me know if u see something I can change in that source so 4.4 doesnt screw it over.
[T-Mobile Samsung Galaxy S 5] elesbb:
Uhhh.. no offence, seriously, please don't hate me :P but its pretty wonky xD

When creating the pending intent, you shouldn't use 0 as the flags, you should using PendingIntent.FLAG_ONE_SHOT, or what i use, PendinIntent.FLAG_UPDATE_CURRENT.

That might be where the issue is.

Also, i never override the onUpdate and onReceive methods. You should only need to override the onReceive then use if(intent.getAction().equals(AppWidgetManager.ACTION_UPDATE_WIDGET) (i think thats the constant)

But where does the actual apply method fall in place? I take it its the "ProfileSet" action string?

What happens in the "Globals" class? Do you apply the settings using an xml parser?

Please don't hate me.. but it is kinda sloppy.. not really how i would do it. but i'm not a God like you :P

Also, instead of having the widget scroll through the folder, i would create a list array on the creation of the widget that has the profiles in them. then scroll through that on each click. Then in ktweaker, update that array list when you create a new profile or delete a profile. Thats how i manage the list for the Viper4Android widget. Please don't hate me btw :o just being honest I still love your kernel :D and don't ban me from it xD i would die
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Lol. The code is done from official examples from Google so not sure where u got your ideas from but I will try the 2 ideas u had.
[T-Mobile Samsung Galaxy S 5] elesbb:
Those guides suck lol Got my ideas from StackOverflow.com and from looking at other apps open source things. The guides on google just tell you different ways to do things, you need to modify it to your environment.

But how do you apply the profile? Do you use an xml parser and then echo the values?
[T-Mobile Samsung Galaxy S 5] bigtom624:
I'm running Project Infinity v8.
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Your getting off topic with the problem I am trying to kill, but yes it uses the same code that ktweaker UI uses.
[T-Mobile Samsung Galaxy S 5] elesbb:
I was only asking so I can implement the same method in my widget unless you don't want me to? But I think the reason your Widgets stop is mainly due to the pending intent not having a proper flag set. So the pending intent becomes empty.
[T-Mobile Samsung Galaxy S 5] ktoonsez:
I see, no need to make a replacement for mine, want to get mine changed so I dont get screwed by the ROM. I changed all the zero's to that pendingintent you mentioned, hope that fixes it. :good: So far so good, could usually get screwed over by installing an app and have done that about 20 times now and no stopage so far.
[T-Mobile Samsung Galaxy S 5] elesbb:
Sweetness! you dont hate me right? :D :fingers-crossed:
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Here is a new kernel along with elesbb's recommended flag for the widget, let me know how it goes on the widget issue u have:

http://goo.gl/bRvSFW
[T-Mobile Samsung Galaxy S 5] tech128:
Sweet!

Thank you very much for helping me with this issue. I've tried a build.prop edit and that didn't seem to stop it from being killed, so at least I know 1 method which doesn't work.

I'll flash your latest kernel right now and see how it goes.
[T-Mobile Samsung Galaxy S 5] tech128:
Well that was quick, didn't last very long before it was killed again.

I'll have to try V6 Supercharger's bulletproof app thing.

The only other three things I can think of would be smali hacks, kernel patches, or xposed modules.

I'm positive one of these has to work..
[T-Mobile Samsung Galaxy S 5] elesbb:
Hey did you apply those pendingintent flags to the other Widgets? Cause your main widget is working great so far but the WPC widget for profile selection has stopped already.
[T-Mobile Samsung Galaxy S 5] tech128:
Well I think I may have figured it out.

Both ktweaker and kmonitor apps were in /system/app which still allows the app to be killed.

I moved them both to /system/priv-app and the ktweakerwpc widget is still working!

I think I may have fixed it :)

I'll keep my eye on it and see if it keeps working.
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Yes I did it to all of them.
[T-Mobile Samsung Galaxy S 5] elesbb:
Very weird..
[T-Mobile Samsung Galaxy S 5] Nexus85:
I was running stock odex TMO NH5 rom and the same thing (files were deleted) happened to me when I backed up and restored on KT's latest TWRP recovery.
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Hope it is still going strong :D :good: :highfive:
[T-Mobile Samsung Galaxy S 5] tech128:
Nope, a little too soon to celebrate. I do that a lot :crying:

It has died again. Well now we know 2 methods of app memory locking that don't work.
[T-Mobile Samsung Galaxy S 5] ktoonsez:
And the worst part is I have never found a single thing in logcat when it stopped responding on me. Im going 2 days strong now and not one single stop so far with the new version. :good:
[T-Mobile Samsung Galaxy S 5] tech128:
Well I could strace the process just for the heck of it.

Was planning to try V6 and bulletproof the app, but it would be interesting to see if anything comes up.

Well it's tracing now, looks like it shouldn't take a tremendous amount of logging space, it's watching 12 threads.

OK it finally stopped. The last line said killed by SIGKILL so something is definitely killing it. Probably the oom killer.
[T-Mobile Samsung Galaxy S 5] steeleain:
Hey guys! I'm running "albinoman887's" CM11.0 4.4.4 KK unofficial ROM [2014-09-14] on my T-Mobile Gs5. Is this kernel compatible with this ROM? I've read everywhere and haven't found an answer to this. Keeping my fingers crossed, cuz I love this kernel. Thanks in advance ;)
[T-Mobile Samsung Galaxy S 5] luriert:
Yes.

It says on the OP that it is compatible with the G900T...
[T-Mobile Samsung Galaxy S 5] steeleain:
I understand that it's compatible with my phone, my question is if its compatible with the CM 11 rom. I do appreciate your quick reply thank you.
[T-Mobile Samsung Galaxy S 5] steeleain:
Yes, I understand that it's compatible with my phone, but my question is if the kernel is compatible with the CM 11 ROM.

---------- Post added at 03:53 PM ---------- Previous post was at 03:50 PM ----------

Yes I understand that this kernel is compatible with my phone, but my question is if this kernel is compatible with the CM 11 ROM.
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Yes it works just fine.
[T-Mobile Samsung Galaxy S 5] steeleain:
You're the best!
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Give this a try, changed another flag:

http://goo.gl/9FoIBh
[T-Mobile Samsung Galaxy S 5] tenxo:
Can you reload your twrp recovery that was based off of the 2.7.0.1, that one worked fine and saved to the extSd!

I know you pulled it related to the issues the 2.8.0.0 and 2.8.0.1 twrp base was having, just saying I liked your 2.7.0.1 version but seemed to have over written it since they were named all-in-one.

Please and Thank You! [emoji16][emoji106]

Sent from my SM-G900T using AllianceR(●)m
[T-Mobile Samsung Galaxy S 5] ktoonsez:
I don't have it either. Hopefully some will upload it for u :D
[T-Mobile Samsung Galaxy S 5] Gandolff:
https://mega.co.nz/#!3EQAwYjY!4m8eFc1TReVnPXGnIkRt4aJf8gqnFdhCNn5jK-YPqJo this is the recovery I'm using, 2.7.1.0. I have no issues with backups to ext SD. Enjoy.
[T-Mobile Samsung Galaxy S 5] tenxo:
Delete Double post
[T-Mobile Samsung Galaxy S 5] tenxo:
Thanks that's the one I'm using currently. Was trying to get back the ktoonsez version of it though.

Thanks again.

Sent from my SM-G900T using AllianceR(●)m
[T-Mobile Samsung Galaxy S 5] laureanop:
Works flawlessly for me, at least dealing with TW roms. Credit Team Win + Ktoonsex

https://www.dropbox.com/s/bqic0bqsqmfx6gg/TWRP-KT.ALL-IN-1-1.zip?dl=0
[T-Mobile Samsung Galaxy S 5] tech128:
Flashing it now, hoping for the best! :fingers-crossed:
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Change Log 09.21.2014

1. Sound Control (Faux Sound): add line gain to cached and register lock

2. i2c_qup: Massive rewrite to improve pm_runtime handling

3. WLAN subsystem: Sysctl support for key TCP/IP parameters It has been observed that default values for some of key tcp/ip

parameters are affecting the tput/performance of the system.

4. Trying different flags in KTweaker widget to try and stop it from getting killed by the ROM.
[T-Mobile Samsung Galaxy S 5] tech128:
Well the widget still dies with the 9/19 kernel, trying your new 9/21 kernel now...

I think it's really cool you're still at it ktoonsez, I haven't even had a chance to try any other fixes for it lol!
[T-Mobile Samsung Galaxy S 5] cm0002:
Hello,

I don't know what it is but the kernel does not seem to be stable when I run stabilitytest on classic cpu it crashes and reboot after 3-6 runs even without any modification on a fresh flash. Im on cm11 latest and I am defenetly flashing aosp version. Any help is appreciated
[T-Mobile Samsung Galaxy S 5] spirodave:
I had that issue . I think its just something with the test .. Overall this kernel is running smooth as butter . KT swill have a much better explanation for ya but I figured i would let you know my experience
[T-Mobile Samsung Galaxy S 5] elesbb:
Which widget is dying for you? The main widget or the profile widget?
[T-Mobile Samsung Galaxy S 5] elesbb:
For those of you having trouble with the PROFILE selection widget not working, try the attached file. I modded ktoonsez KTweaker app and recoded the widget. I have been going strong all day now. Just wanna make sure it is working for others.
[T-Mobile Samsung Galaxy S 5] tech128:
The widget just died again.

[MENTION=2675647]elesbb[/MENTION]

Yeah I'm having problems with the KtweakerWPC widget, the profile selector one.
[T-Mobile Samsung Galaxy S 5] elesbb:
Have you tried the one I posted yet?
[T-Mobile Samsung Galaxy S 5] elesbb:
BTW [MENTION=4325945]ktoonsez[/MENTION], what did you do in this 21st release? My profile is set to pretty conservative, i would get occasional jitters when certain animations would happen, Using the same profile with this latest release, nowhere near the amount of jitter as before. Awesome dude. Love it.
[T-Mobile Samsung Galaxy S 5] Aersaud:
Hello,

I absolutely love the kernel. Very good battery life and performance. Im on touch wiz and touch wiz version kernel. I have noticed there is a delay on the camera. It seems laggy in any app. Is there a fix for this or something I might be missing?

Thanks.

Edit I am on the latest everything. Touch wiz and kernel.
[T-Mobile Samsung Galaxy S 5] tech128:
Trying it right now. It has been working since last night but I'm gonna give it awhile before saying anything definitive.

It has worked for a little over a day previously then died.
[T-Mobile Samsung Galaxy S 5] elesbb:
Alrighty boss. can't wait to hear the results!
[T-Mobile Samsung Galaxy S 5] elesbb:
Any update dude?
[T-Mobile Samsung Galaxy S 5] tech128:
Yep, it's still working today!

Looks like you solved it man!

Muchos thanks!!

And thanks also to ktoonsez for the awesome kernel!
[T-Mobile Samsung Galaxy S 5] elesbb:
Great! Glad we could figure it out! I'll get in touch with the boss so he can implement the fixed version in future builds!
[T-Mobile Samsung Galaxy S 5] GuyInDogSuit:
Double-tap to wake doesn't work sometimes. I'm not sure if it's my profile (Undisputed v2) or what, but it's just a hit-or-miss kind of thing. CM11 9/25 official build.
[T-Mobile Samsung Galaxy S 5] kmcphee:
Have you tried this. http://xdaforums.com/showthread.php?t=2777813. This kernal is permissive

---------- Post added at 02:32 AM ---------- Previous post was at 02:31 AM ----------
[T-Mobile Samsung Galaxy S 5] aloom:
Amazing kernel love the stabilty and variety of options and mods. I just have one question regarding the profiles. According to your experience guys which profile do u think is better for both performance and battery life?? I tried ktoonsified v1 and v2 and noticed both oc to 2668 and enable fast charging , im a bit afraid about the fast charging thing can someone confirm if it is a safe option to use?also whether oc both cpu and gpu will affect anything? Thanks.
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Change Log 10.07.2014

1. Merged in NI2 from 900V source drop

2. MAJOR update for 4.4.4 platform: 1,104 changed files with 23,268 additions and 8,923 deletions.

3. Firmware updates for almost all devices

4. GPU updates

5. media/video updates

6. exFat upgraded to 1.2.9

7. Many updates to sound driver and various codecs

8. Touch screen updates

9. Too many more to list, you guys get the point...
[T-Mobile Samsung Galaxy S 5] Putrid Polecat:
Ignore
[T-Mobile Samsung Galaxy S 5] greogory:
I don't know for sure, but this might be a clue that something changed. Maybe. I could be wrong-- it happened once, almost.
[T-Mobile Samsung Galaxy S 5] scorchedsky:
I can confirm Samsung's "Smart Remote" app isn't sending IR codes... The app indicates everything is fine and the LED lights up to indicate it's firing, but nothing happens. I'll try other IR apps and report back
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Code is probably too new for your ROM then is my guess, Verizon is the only one with NI2 so far.
[T-Mobile Samsung Galaxy S 5] YMatrix:
Hey [MENTION=4325945]ktoonsez[/MENTION]!

Is there going to be a version which supports the G900h version of the s5?

Thanks!
[T-Mobile Samsung Galaxy S 5] p1garcia:
I had the same problem. Had to flash an older version to get it working again.
[T-Mobile Samsung Galaxy S 5] em0ney14:
Same here

Alliance v4 with latest firmware.

Went back to previous stable release and IR working again.

Only thing is the new version seemed much smoother when running apps or games that used a lot of CPU... :(
[T-Mobile Samsung Galaxy S 5] ktoonsez:
That will happen with an old ROM, this is meant for people that are on NI2 based ROM and that have TV's that came with remotes :good:

Also, you can try this but probably wont work on old ROMS:

http://xdaforums.com/showpost.php?p=55968261&postcount=1728
[T-Mobile Samsung Galaxy S 5] em0ney14:
Thanks for the response [MENTION=4325945]ktoonsez[/MENTION] .

Explains it well. I'm downloading the other version you posted in the thread you linked and will report back.

Can't wait to see you when i get the note 4 in a couple weeks !!!!

:)

---------- Post added at 07:14 AM ---------- Previous post was at 06:25 AM ----------

Looks like it was the same release posted here.

I tried it anyways and received the same results with IR light coming on when I activate it, but no response from the transiver. Back on the previous build for now but can't wait for the latest release to work with IR on my tmo s5.

Like I said before, the latest release is very smooth using the same setup I have been using for awhile now.

No skips whatsoever.

Thanks for the hard work kt!!!!
[T-Mobile Samsung Galaxy S 5] 13~BigBear~13:
Does this kernel work with NH5?
[T-Mobile Samsung Galaxy S 5] GuyInDogSuit:
Yes.
[T-Mobile Samsung Galaxy S 5] elesbb:
Yes but the ir won't work. I'm guessing a newer module isn't compatible with the older ROM. So to have the ir working you'll need to flash the 9-21 kernel.
[T-Mobile Samsung Galaxy S 5] 13~BigBear~13:
Ir isn't important to me. But thank you
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
Yes
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Here is a test kernel for you guys:

It has the NI2 ramdisk merged in, want to see how it effects you guys. Let me know how it goes, include your bootloader and ROM firmware versions.
[T-Mobile Samsung Galaxy S 5] GuyInDogSuit:
No AOSP love?
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Nothing has changed so nothing to update.
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Anybody awake that has the issue with 2.8 TWRP backups disappearing on external SD???? Got a test recovery.
[T-Mobile Samsung Galaxy S 5] BHermes21:
Yes i do but will be going to be in the next half hr. I could report in the morning..
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Here you go guys, let me know if this fixes it for you

Download

http://goo.gl/LgBsuk
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Change Log 10.13.2014

1. FIXED DISAPPEARING BACKUPS WHEN USING EXTERNAL SD!!!!!!!!!!

2. Upstream changes below.

3. Automatically identify data/media devices

4. Check sehandle before fixing permissions

5. recovery: Fix adb with linux 3.10

6. Fixes for exfat-fuse

7. atime is access time, let's just use mtime

8. applypatch: add support for BML partitions

9. Attempt to fix md5 issue with backups

10. Update RECOVERY_VARIANT blocking to use project-path-for

11. mtp: cleanup, fixes and performance improvements

12. performance profile support

13. Fix exfat-fuse handling
[T-Mobile Samsung Galaxy S 5] em0ney14:
Downloading the test kernel and testing I will report back soon

---------- Post added at 09:44 PM ---------- Previous post was at 09:04 PM ----------

Still no bueno the IR still not working on the test 1

---------- Post added at 09:45 PM ---------- Previous post was at 09:44 PM ----------

Alliance v4 NH5 firmware
[T-Mobile Samsung Galaxy S 5] ktoonsez:
The test has nothing to do with IR. U need a NI2 rom.
[T-Mobile Samsung Galaxy S 5] em0ney14:
Ok thanks for the response kt. Which roms running NI2? I'm on tmo and see the latest is nh5
[T-Mobile Samsung Galaxy S 5] ktoonsez:
I'm on Verizon and running official. Don't think u guys have anyone working on a NI2 rom so u will have to stay on older kernel.
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Anybody here running my test kernel release from 10.12? Is your MTP working?

Here is a link to the kernel:

http://goo.gl/AGVHjn

People on the 900F are having problems connecting to PC with it so Im curious if you guys have same problem.
[T-Mobile Samsung Galaxy S 5] kmcphee:
Works fine--' sprint moar rom only thing I noticed is the fast charging is not as fast as last build can you advised what parameters will work? I love your work
[T-Mobile Samsung Galaxy S 5] em0ney14:
The kernel is really good however I wish it was available for us on T Mobile
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Change Log 10.15.2014

1. Added key disabler that allows user to disable the Recents and Back buttons (you can change it by setting /sys/class/sec/sec_touchkey/keypad_enable to a 1 or 0 until I have time to add to KTweaker).

2. Updated ramdisk on TW so MTP works on 900F variant

3. Updated ramdisk to sync with CM for AOSP version
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Change Log 10.15.2014

1. All upstream changes

2. Add support for TrueType fonts

3. display cpu temperature in TWRP

4. Update reference to 24-hour clock

5. mtp: fix log spam: findNode not finding a node is not an error

6. Fix wiping crash when block device is not present
[T-Mobile Samsung Galaxy S 5] middleearth1010:
Hey bud, the last 2 releases broke the IR blaster on the Galaxy 5. Running Alliance ROM 4 on the T-mo. The IR blaster appears to "work" but doesn't actually send codes. I gotta see this fixed as I use a TV begone app to kill TV's when I'm out when my main Remote is dead.
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Get an NI2 ROM or go back to the old kernel that are compatible with your old ROM
[T-Mobile Samsung Galaxy S 5] em0ney14:
Sucks to be on tmobile right now, i need a tmobile based rom to keep the WiFi calling. [emoji53]

However, i still have the latest versions downloaded on my phone, but I'm currently running the build that keeps the IR stable.

I tested the new versions and they are smoother, both with screen on and screen off using Bluetooth, playing games, etc.

Thanks for your work kt747 and I'm going to do some searching on WiFi calling with other roms that keep my current number instead of registering a new one so we can enjoy your kernels to the fullest over here on tmo.

Either that or switch carriers when the note 4 arrives. LoL
[T-Mobile Samsung Galaxy S 5] middleearth1010:
It seems all the developers have stopped working on tmobile. I would gladly use an international version of any rom but i experience internet glitches with any touchwiz roms that are not tmobile. .
[T-Mobile Samsung Galaxy S 5] enigma1981:
Ktoonsez, do you think I'll run into any problems if I flash the 9/21 version to get the IR blaster working again?

I'm running XtreStoLite 1.3.7

Thanks man
[T-Mobile Samsung Galaxy S 5] middleearth1010:
Yes if u downgrade it will work. The latest will break the IR blasters unless you have 4.4.4 which nobody seems to have yet.. unless u are flashing nightly of Cyanmod. Does anyone have a working IR blaster on the latest?
[T-Mobile Samsung Galaxy S 5] em0ney14:
I can confirm 9/21 build works on alliance rom v4 latest firmware tmobile.

I'm going to test another rom now, but give me a couple hours to backup things. ....
[T-Mobile Samsung Galaxy S 5] elesbb:
I might make one with the ni2 from Verizon or an international build. Nothing special just pure stock.

however I might see if I can merge the newer modules into our T-Mobile version. But I'll download the tar file today and work on it tomorrow since it takes a millennia and a half to download.
[T-Mobile Samsung Galaxy S 5] elesbb:
Hey, you aware that the /system/lib/modules folder is empty? Might be why the IR doesn't work. Just noticed that while building the ROM. Unless its always been empty?
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Always empty on S5, answer the Hangouts I set you the other day!!!!!!!! Lol
[T-Mobile Samsung Galaxy S 5] miguel6763:
Thank you that little thing wiping cache and delvik BEFORE FLASHING did the job I had always wiped after I flaashed the kernel. Thank you now everything seems to be working.
[T-Mobile Samsung Galaxy S 5] em0ney14:
Having an issue using kTweaker.

I can open the Program and check the settings on everything, but when I select something to change, the screen lags and doesn't change, forcing me to force close kTweaker.

I have all my other tweak apps frozen with TiBu.

Thanks.

EDIT

After force closing and restarting kTweaker, the settings stick. I guess I have to follow that process for now unless there are any suggestions.
[T-Mobile Samsung Galaxy S 5] ktoonsez:
Let me guess, you are using SuperSU? If they dont set then it is SuperSU, that app only works half the time from what I have seen. You have to remove KTweaker from SuperSU list so it re-asks you then you will be able to set them.