yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 4] kill_dano:
TL;DR -- I'm having bluetooh interference when using two devices simultaneously.

Details:

I could use some advise: I'm on Dan's GPE rom (clean install) which KT collaborates on. I've got latest KT GPE kernel. I'm always connected to my Sony Smartwatch 2 which uses BlueTooth 3.0. Connection problems happen when I'm also connected Bluetooth speakers/headphones. The watch stops getting reliable data. The watch gets more than notifications; most 3rd party apps are loaded from the phone through bluetooth everytime you start them, but when I've got with headphones apps stop loading, also the headphones will occasionally disconnect. Both issues go away when I only use one device at a time. so I'm obviously getting interference between the two devices.

#1 Could this be a kernel issue? Should I try another kernel?

#2 Any special tricks to reduce device interference? Any way to force to devices to stop using each other's frequencies?

I just stopped it from hotplugging while BT and I've raised media playback and bluetooth paired minimum frequencies to 810mhz. IDK if this will fix the issue, but I'm looking for other troubleshooting tips/solutions/ideas in the mean time.

Love the kernel Thanks!

Update: Increasing the min clock speeds with Bluetooth connected seems to have very significantly reduced the issue.
[T-Mobile Samsung Galaxy S 4] style154:
Have you tried ktoonsez stock gpe kernel that comes with Dans rom?
[T-Mobile Samsung Galaxy S 4] DarkStarr:
So I installed the 3/6 kernel and tested the DT2W function and it worked. I shut it off to work with it later when I had more time. Tested today and.... nothing. None of the wake options work. Updated to 3/10 and still nothing. Prox meter shows 16 so I know it should work. I tried on charger, off charger, with wakelock and without. It worked fine when I tested it originally without wakelock.

EDIT: Damn.... Right after I posted I figured out the issue.... So I use Xposed Additions to kill the power button when the screen is off to prevent bumping it all the damn time and with it disabled the wake features don't work. (Specifically when the Long Press is disabled)
[T-Mobile Samsung Galaxy S 4] Felixpau86:
So on the newest version of the kernel when I woke it up, with the number unlock it would simultaneously tap 2 keys i.e. if I hit 0, it would hit 5. I tried to turn on and off screen, no use. Had to restart. Only happened once. There was also 1 lock up, never had any issues in the last few weeks... months?

I'm only using swipe to wake, not tap. Been using it since last 2 versions (the tap to wake), never had these issues happen to me. All KT settings.

So far I cant replicate but I have a feeling its a result of the new swipe tweaks.

Otherwise, working great

thanks!
[T-Mobile Samsung Galaxy S 4] elesbb:
Just wanted to say thank you!!! I finally found someone else who uses rubbing alcohol to fix waterlogged phones!

I ask people, if rice could absorb water naturally, does that mean I could put a bowl of rice in the rainforest and cook it? NO. Silly people.

Plus alcohol pushes the moisture out of the device. Thats why when you have swimmers ear, the stuff they give you is pretty much alcohol that drives out the water from your ear.

My favourite 'put your electronic device in water' joke is: "If you put your phone in rice, the rice doesn't fix it, little asians come out of the shadows and fix it for you" Or something like that. Lol.

Anyway sorry KT i'll leave your thread alone now xD
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Change Log 03.12.2014

1. Improved "on a phone call" code to make sure it is isnt executing the screen wake code while screen is off and you are on a call.

2. Increased speed for wake up on the screen wake functions, sensor wake functions wake a little quicker too but will always be limited by the 1 second timer.

3. Finally found a better spot to trigger and make the screen turn on way quicker when an incoming call is coming in.

4. KTweaker version 6.6.

5. NEW item under "Tools" screen called "Charging Current". You can click on the item and it will update the field with the current mA it is charging at.

6. NEW item under "Fast Charge" called "MTP while fast charging". Enabled will keep MTP on so you can still access the phone, disabled will disable MTP and you will not be able to access it, just simply charges. To take effect this option requires the cable to be unplugged and re-plugged in.

7. NEW item under "Fast Charge" called "Screen ON charging limit". BE VERY CAREFUL WITH THIS ITEM!!!!!!! When enabled it will keep the Samsung limit they imposed of 1200 mA while charging and the screen is on, if it is disabled it will allow you to charge at the full 1900 mA or whatever custom mA you have set for A/C. To take effect this option requires the cable to be unplugged and re-plugged in.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
I just found a typo in the proximity sensor code used for the "Screen Wake" functions (the issue only occurs when you have "Screen Wake" options on and "Sensor Options" off), be sure to re-download with the same links as earlier to get the latest!
[T-Mobile Samsung Galaxy S 4] blitzed604:
which script should i use when using Ktoonsified profile? there is no scrip in the shop with ktoonsified label
[T-Mobile Samsung Galaxy S 4] ktoonsez:
No need for one. :good:
[T-Mobile Samsung Galaxy S 4] norml:
I can charge my phone when it's off now!! woohoo
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Lol, just curious why anybody would even do that? Are you doing it just so if anybody calls you want it to go straight to voice mail or something?
[T-Mobile Samsung Galaxy S 4] norml:
No, once in a while, I like to give it a full 100% charge with the phone off, I do it when I see the percentages acting a little funny, get it down to around 5%, turn it off and charge, usually every couple of months, month and a half. I should get another battery, been using the stock one it came with since May.
[T-Mobile Samsung Galaxy S 4] CanadianKB:
Fast Charge Support now allowing USB Data and lower charge rates

Ive always loved your kernels on top of my fav Rom DanvDH GE, specifically for your Fast Charge implementing, I have my laptop near my bed with my phone on fast charge all the time. But i recently got a new warranty replacement and installed latest ROM/KERNEL and noticed something odd, Current Widget shows full AMP when FC enabled, which is the goal, but my computer also shows the phone as a portable hard drive for data transfer which it never used to!? Unsure if Current widget is not working (I used phone while on FC and it appeared to charge at 1AMP, u can tell if ur only getting .46...), if this is a new enchanement? if its safe for my phone to do data + FC. Or if its accidental. As well, when FC off on my wall charger with same ROM/KERNEL expect older editions I used to pull 1.4/1.9Amp now i pull a constant 1.2Amp, which isn't too bad, but I have 7500ma extended Batt so i did like 1.6+ full charge in 2 Hrs. Any thoughts, accidental? on purpose?? Perhaps Current Widget malfunction? I dont think Current Widget has updated at all, and my baseband is the same as it used to be.

DanVDH GE AOSP

Ktoonsez latest GE TMO KK Kernel

M919

ZEROLEMON 7500MA Batt and Red/Black Case.... I love my phone, Tempered glass and im in heaven. (those not so important detials :P)
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Everything is intentional and mentioned in the change log and why I gave you all the options in Fast Charge screen. The big one for me was fast charging and still have access to MTP.
[T-Mobile Samsung Galaxy S 4] s7icky.com:
Hey ktoonez. wifi is broke on the canadian kitkat that just came out.

Thanks ahead of time. :)
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Not sure what ROM you are talking about, Im guessing Touchjizz? If so this has been discussed hundreds of times.

Here is a hint:

To make wifi work when it wont turn on or connect, change this in the build.prop:

ro.securestorage.support=true TO ro.securestorage.support=false
[T-Mobile Samsung Galaxy S 4] s7icky.com:
lol thanks for helping the noob... and yes its touchjizz

And i just tried that and it did not work.
[T-Mobile Samsung Galaxy S 4] elesbb:
Yes it does work. Did you reboot after making the change?
[T-Mobile Samsung Galaxy S 4] s7icky.com:
Yes i did try it... are you on the newest bell rom that came out today?
[T-Mobile Samsung Galaxy S 4] elesbb:
No but its a 4.4 TouchWiz ROM correct? That is the fix needed for 4.4 to have functioning WiFi. Double check your build.prop to ensure the changes stuck
[T-Mobile Samsung Galaxy S 4] s7icky.com:
Changes dont stick wtf :/
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
Which file explorer did you use? There are some apps such as ROM Toolbox that appears to revoke read/write permissions of the system partition on most KK ROMS. Root Explorer works fine though.
[T-Mobile Samsung Galaxy S 4] s7icky.com:
Yea it wouldnt work with it had to use another one... Thanks guys :)
[T-Mobile Samsung Galaxy S 4] Hardcore69er:
I would add this to OP.. at the very bottom... so no one can see it
[T-Mobile Samsung Galaxy S 4] CanadianKB:
So to confirm its safe to do mtp and fc at same time? You are the best if this is true. But I'm still curious just because its true doesn't mean its safe. As for lower charging with wall chargers? What's your thoughts is that new ROM changes. I some how doubt it... I'd rather have no mtp with fc and still get 1.6 with wall charger now I get 1.2 with wall charger 1.0 with FC so I basically stock with FC but I like wall charger for when I'm in a rush like Friday nights lolur the best donation for sure... U gonna get an S5?
[T-Mobile Samsung Galaxy S 4] :
ok so quick question, if i am using a usb wall charger it counts that as usb charging not the A/C charging? and since im using a usb wall charger what would be a good solution to get a good fast charge but be safe as well? should i just use the stock fast charge option and not edit any values?
[T-Mobile Samsung Galaxy S 4] PiggySmalls:
A USB wall charger, such as the one that came with your phone is an A/C charger, because it's plugged into an A/C outlet. If you pull the USB cable out of the wall charger, and plug it to a computer, it's USB. It's determined by the source of the power, not the cable it goes through.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
All I can tell you is I use it and no problems. It might not be safe for everyone and could damage your PC and or charging port, too many variables, that why I put the warning in the Fast Charge screen in ktweaker. You do NOT get 1.2 with the wall charger all the time. You only get 1.2 with the wall charger when your screen is on, it does 1.9 when screen is off, thats Samsung that did that, and why I added the option to disable the Samsung 1.2 limit in the Fast Charge screen.

I probably will not get the S5 (really call it the S4.000001) since it is not really an upgrade at all and the bootloader will be locked Im sure.
[T-Mobile Samsung Galaxy S 4] PiggySmalls:
Oh come on, you don't want a curved S4 with a heartbeat monitor that will undoubtedly never ever work correctly, if at all?
[T-Mobile Samsung Galaxy S 4] seanvree:
Anyone have any troubles installing the KK4.4 kernel on Wicked v.10?
[T-Mobile Samsung Galaxy S 4] PiggySmalls:
Wicked v10 is 4.3, right?
[T-Mobile Samsung Galaxy S 4] seanvree:
Correct.
[T-Mobile Samsung Galaxy S 4] PiggySmalls:
Then you need the 4.3 kernel. Gotta find a KitKat ROM to use the 4

4 kernel. I'm sure the next wicked release will be
[T-Mobile Samsung Galaxy S 4] Saturny:
People said the same thing last year with the S4 ;)
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Well I am stuck on Verizon now so I really don't know what I am going to be able to do. Options r pretty much zero with the locked boot loader crap and they r on there bizzare 30 year old network that no other phone will work on.
[T-Mobile Samsung Galaxy S 4] Red Dragons:
Still having issues with the screen not coming on for several seconds when the phone starts ringing. Its actually almost 5 seconds and makes it impossible to answer the phone quickly. Not sure what version this started on but its been doing it for a while.
[T-Mobile Samsung Galaxy S 4] Spacemonkie4207:
Music cuts out when screen is off, using 4.4.2 TW
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Has done it since day 1 on my kernel due to heavy deep sleep.
[T-Mobile Samsung Galaxy S 4] Red Dragons:
Hmm, hasn't always done it for me. Don't remember when it started though. Is there a setting I can change? Maybe not use super conservative?
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
Have you tried lowering your sampling_rate_screen_off?
[T-Mobile Samsung Galaxy S 4] Red Dragons:
Not yet. Its at 90000 now. How low is ok and what will it do exactly?
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
It determines how often the kernel checks cpu usage. A higher value means it will scan less frequently. So I'd recommend lowering the value to somewhere between 20000-35000.

If you need a better understanding, here's a more detailed post I made couple months back regarding sampling rates.

http://xdaforums.com/showpost.php?p=49429620&postcount=7593

Hope this helps.
[T-Mobile Samsung Galaxy S 4] Red Dragons:
Awesome, thanks for all the info! Will give it a try.
[T-Mobile Samsung Galaxy S 4] Nexus85:
I used rom toolbox pro and it worked just fine for me. I just changed build prop from true to false by typing it manually then I realized there was a box true/false option to change it. I changed true option to false, pressed save then chose reboot when it prompted me. Settings stuck for me. Best of luck, hope I helped. :D:thumbup:
[T-Mobile Samsung Galaxy S 4] CanadianKB:
Well I deleted the fast charge widget and now use ktweaker. I just set auto update and noticed a setting for mtp while fc and full charge w screen on. U are awesome man. Plus I downloades ktoozes profile v4 since I know nothing about messing with GPU... But I will def use kywaeker from now on an thanks for the quick replies!

Regarding bootloaders I find that to be more carrier then sammy. T mobile has been good to me unlike Att and Verizon... Safestrap bull... That was a no go. But the s5 will have support for 124gb SD plus 16mp camera which attracts me. And native waterproof but I use zerolemon 7500 man batteries and can't see me giving it up. Still it would be nice to just throw in standard back and battery for waterproof for a day. Sammy should talk to you about employment lol. Support open source android that's the idea right? I agree if I can't play with my s5 boot loader its a no go even with all the improvements.

---------- Post added at 12:24 AM ---------- Previous post was at 12:18 AM ----------

Sorry last question. What is fail safe in fast charge menu... It's like a red button that says don't press me and doesn't say what it does.... So tempted lol
[T-Mobile Samsung Galaxy S 4] epsix:
[MENTION=4325945]ktoonsez[/MENTION] can you fix tmo NB4, it does not charge when phone is off.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
That was fixed in last build.
[T-Mobile Samsung Galaxy S 4] Fenny:
OHH, what did you change? I was looking on your git, but I couldn't see the commit that fixed it.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
My local git is completely busted. My Ubuntu crashed during a git checkout and can no long switch branches or commit to github. Still trying to repair it in free time. Anyway all the new global refs for sweep and double tap I made were getting called during charging with phone off so I had to check to make sure objects were not null before accessing them.
[T-Mobile Samsung Galaxy S 4] spacecowboy618:
I accidentally removed KTweaker app, is there somewhere I can get the apk?
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
You can always just pull it from the zip and place it in /system/app/ then fix permissions and reboot.
[T-Mobile Samsung Galaxy S 4] spacecowboy618:
Ok thanks I will give that a try
[T-Mobile Samsung Galaxy S 4] spacecowboy618:
Thanks for the tip, it lead me to turning on the app in application manager.
[T-Mobile Samsung Galaxy S 4] PENKO956:
is it me or the charger that came with phone only charges up to 340mA - 560mA now with fast charge enabled. with the pc usb3.0 charges at 1000mA. I tried a non oem charger and that one is charging faster at 480mA - 680mA. seems charging by pc is way faster now than original charger. mA vary for time to time but im still waiting to see the 1900ma. or is it just my phone?
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Its your charger. It is obviously not identifying itself as a AC charger. U can try disabling the fail safe option in Fast Charging screen.
[T-Mobile Samsung Galaxy S 4] PENKO956:
ok i finally got the results i wanted but with odd findings. what used to be a slow cable now turns out to be the fastest cable now. ok before the white Samsung cable that came with phone used to charge fast in like in 45min full charge. and a cable i got on ebay for $1.50 used to charge slow took 2hr+ for full charge. i have 3 sets of Samsung white charger cable with the 2a adapter (all with same results max is 800ma). even tried an old 1a adapter with same results. also tried purple flat cable with same results of max 800mA. finally tried the black cable (eBay) i had put away due to slow charge with the 2a adapter and WHAT 1900mA. just thought i would let you know...
[T-Mobile Samsung Galaxy S 4] phrotac:
I believe, though im not certain, that your "cheap" cable is a "charge only" cable. If that is the case, thats why the fast charge option is charging faster with it. Our OEM cables are "data+charge" cables. Like I said, just a theory here.
[T-Mobile Samsung Galaxy S 4] PENKO956:
do you get 1900 on the oem cable?
[T-Mobile Samsung Galaxy S 4] phrotac:
Doubtful. How would I find out? Are you sing an app to measure amperage?
[T-Mobile Samsung Galaxy S 4] Chrisuk80:
Use battery monitor widget to see what they charge at
[T-Mobile Samsung Galaxy S 4] extrem0:
I installed 4.4 aosp kernel over cm11 yesterday nighly. It was working great until today while moving a folder to external sd card (SanDisk 64gb exfat). The sd card got unexpectedly removed and the transfer failed. After that I couldn't use my SD card using this kernel. Tried wiping cache + dalvik, fix permissions. Nothing worked. Then I flashed yesterday nighly build to overwrite the kernel and my card is being read normally.

Which log file is the best to show any possible error (dmesg, logcat..)?
[T-Mobile Samsung Galaxy S 4] bcflyfisher:
Interesting...my external sd did the same thing 2 days ago but I just assumed it had committed suicide after viewing to much porn...
[T-Mobile Samsung Galaxy S 4] PENKO956:
this kernel already has a build in tool to check charging current. ktweaker>Tools
[T-Mobile Samsung Galaxy S 4] DarkStarr:
Awww man the wake features work way better but now I cant disable the power button at all and have the screen wake functions work. Any chance you can implement the function or something?
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Nothing I can do, it needs the power button to wake the phone.
[T-Mobile Samsung Galaxy S 4] DarkStarr:
That is really odd then, like I said it worked on the 3/10 with it disabled but not on the 3/12. Hmm I guess I will have to try it for a few days to see if I don't bump the power button as much now that I have had my S4 for awhile. I kinda figured as much though.
[T-Mobile Samsung Galaxy S 4] tigerxchaos:
Hey all,

I recently flashed CarbonRom 4.3. (I originally installed 4.4.2 but for some reason 4.4.2 ROMs work disastrously bad on my jfltetmo.)

I have since had terrible battery life and I think it's because the phone will not go into deep sleep. Kernel keeps getting listed as the highest source of battery drain and there's no "time in deep sleep" in GSam or elsewhere.

Found this kernel and wondered what the effects of flashing it would be. I'm new-ish to flashing kernels on anything more modified than CM - will I lose access to some of Carbon's features, like ribbons/PIE/etc. when I flash this?

Thanks everyone!
[T-Mobile Samsung Galaxy S 4] leftcoastfunk:
I'm on IOAP 4.4.2 kk and I've always loved Koontz' work, do I flashed the latest aosp kernel. Most everything seems fine, except now I'm getting all sorts of video glitching. Mostly during any type of animated movemy(such as progress bars/thinking circles), and when watching any kind of video. Seems to be somewhat sporadic. Any thoughts? I'm really hoping I can continue using KT kernels cause they are most definitely the best!
[T-Mobile Samsung Galaxy S 4] Nsomnia:
I have the 3/19 build of CM but kt keeps crashing just after boot any ideas? This is with a script and profile that were rock stable when I last updated cm late feb
[T-Mobile Samsung Galaxy S 4] CamFlawless:
You mean to say the KTweaker app itself keeps FCing on you?
[T-Mobile Samsung Galaxy S 4] Nsomnia:
Exactly
[T-Mobile Samsung Galaxy S 4] CamFlawless:
-Backup your KTweaker folder to a safe place

-Delete the entire /KTweaker folder from your sdcard

-Open KTweaker which shouldn't be a problem

-Move your files back into the KTweaker folder

-Profit

Additionally, if you are trying to restore a profile that is in the older .txt format, you will need to re download the .xml version from the KTweaker shop within the KTweaker app. If you try to restore a .txt on the newer builds, it will FC KTweaker.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Change Log 03.19.2014

1. Moved Double tap, sweep, etc... to its own screen in "Main Settings" called "Wake/Sleep Settings"

2. NEW item in "Wake/Sleep Settings"!!!!!!!!!!: Double tap to sleep. Double tap the top status bar area when the screen is on and it will to go sleep.

3. Made a duplicate item of "Prox Sensor Checker" in the "Wake/Sleep Settings" screen for easy access.

4. Made a duplicate item of "Charging Current" in the "Fast Charge" screen for easy access.

5. Remove all the main debug flags, zip files are about 2-3mbs smaller now :D

6. Sync with CM commits from a few days ago.

7. Remove DCVS flag to remove some unnecessary Samsung Mhz manipulation

8. Linux 3.4.83

9. Ondemand governor patches

10. Optimized ARM RWSEM algorithm from Ashwin Chaugule

11. Added 4 zram drives from TW 4.3 into 4.4.
[T-Mobile Samsung Galaxy S 4] marcelmira:
Strange, flashed kt kernel on the latest stock kitkat rom and the wifi doesn't work. I don't see any mention about this on the OP.

Can someone help me?

Thanks
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Ull give u a hint. Its in big ted letters in the OP:

To make wifi work when it wont turn on or connect, change this in the build.prop:

ro.securestorage.support=true TO ro.securestorage.support=false
[T-Mobile Samsung Galaxy S 4] marcelmira:
Sorry bro, I came back to edit my post and you already posted my question.

Really sorry and Thank you. :rolleyes:
[T-Mobile Samsung Galaxy S 4] ktoonsez:
No problem man. Enjoy the awesomeness:D
[T-Mobile Samsung Galaxy S 4] Solace50:
the supposed tmobile 4.4 TW url build points to the INT version to be downloaded. intended?
[T-Mobile Samsung Galaxy S 4] risx:
[MENTION=4325945]ktoonsez[/MENTION] what does the change log 11. Added 4 zram drives from TW 4.3 into 4.4 mean? Meaning there is 4 zrams now? Is there a way i can check this?
[T-Mobile Samsung Galaxy S 4] ktoonsez:
No it doesnt, you got link mixed up or something. Touchjizz 4.4 is TMO, Google Edition 4.4 is INTL because thats what works on the TMO phone :good:
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Yes 4 adjustable zram drives, use rlorange's app to mess with it. Search for zram in my INTL thread, he just updated it to work with Touchjizz 4.4
[T-Mobile Samsung Galaxy S 4] Solace50:
oops silly me. you re-ordered the 4.4 sections and i was just used to clicking the middle url without reading, was a bit fatigued at the time.
[T-Mobile Samsung Galaxy S 4] CrashTestDroid:
Easy mistake to make; I vote the "TW" should be renamed "TJ" to prevent this sort of confusion. People would read a bit closer then :D
[T-Mobile Samsung Galaxy S 4] PiggySmalls:
You have far too much faith in people.
[T-Mobile Samsung Galaxy S 4] risx:
Thanks! Installed zram and it works great
[T-Mobile Samsung Galaxy S 4] phrotac:
ROFLMAO!
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Or "The Jizzer", still my all time favorite :good: :cool: