yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Ok, it will be up in about 5 minutes and Ill post link. This should let you use Airview and keep the screen wake functions too :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D
[Galaxy S 4 i9505 Original Android Development] persecause:
up :(
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Here you go guys, let me know asap, so I can go to bed and sleep peacefully :D

Test made on 03.09.2014 at 00:19

Download TW 4.4

http://goo.gl/hh3D0P
[Galaxy S 4 i9505 Original Android Development] dandroid13:
AirView is working, you are the best!!!! :D:thumbup::D:thumbup::D:thumbup:

Enviado do meu Galaxy S4
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Thanks man :D. And screen wake functions working for you? Best way to test is to plug into USB port on your PC to make sure you have an active wake lock. I have been testing last 2 hours on TJ 4.3 ROM and everything is working perfect for me.
[Galaxy S 4 i9505 Original Android Development] dandroid13:
I can't test right now, it's 4:40 am here and I'm trying to sleep! :(:eek::silly:

Enviado do meu Galaxy S4
[Galaxy S 4 i9505 Original Android Development] steveman29:
I will test for you, flashing now.

Στάλθηκε από το SM-P600 μου χρησιμοποιώντας Tapatalk
[Galaxy S 4 i9505 Original Android Development] angeloumbao:
Don't worry K will test too.
[Galaxy S 4 i9505 Original Android Development] steveman29:
Airview is working fine, doubletap2wake is working fine, but all the other wakeup features require multiple tries to work.

Στάλθηκε από το SM-P600 μου χρησιμοποιώντας Tapatalk
[Galaxy S 4 i9505 Original Android Development] culbuto:
I have not problem with Wifi password, with Titanium I have same problem (This folder is not writable).

Same bugs whith last version -> 03.09.2014@00h19 -> Airview work and only DoubleTap2Wake work
[Galaxy S 4 i9505 Original Android Development] angeloumbao:
+1 to this

---------- Post added at 04:26 PM ---------- Previous post was at 04:25 PM ----------

Airview, doubletap, sweep, pocket all works fine here. ;)
[Galaxy S 4 i9505 Original Android Development] steveman29:
I just had another double finger during unlocking with the latest version you posted. Here is the log:

https://www.dropbox.com/s/lcqejx8kfxiy85w/kt_dmesg.txt

Στάλθηκε από το GT-I9505 μου χρησιμοποιώντας Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] Impact7:
Maybe I'm a bit stupid but which apps do you use with airview? The original gallery? A lock screen?

Gesendet von meinem GT-I9505G mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] culbuto:
Original Gallery, Browser, widget calendar.
[Galaxy S 4 i9505 Original Android Development] Impact7:
Huh.. Could someone give me a link to the gallery?

Sent from my S4 GE
[Galaxy S 4 i9505 Original Android Development] invano:
Sorry I was not clear enough...i mean, seems that it's independent from the wake locks you have built and from the proximity threshold.

If I disable the wake lock from ktweaker and my phone is not in deep sleep, it works and it's normal :good: . If I enable the wake lock based on led or screen off, actually my phone doesn't remain active...and it could explain why double tap works immediately after i receive a notification and not after some more seconds.

Considering the proximity sensor, even if it's at 255 the double tap or sweep work and are not inhibited.

Pocket and wave instead work very well.

Man, I don't want to stress you :) I can imagine you are doing your best.. i write this to you just because I think it could be useful.

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] cybdani:
Solution for titanium (and other apps) to write into external SD in 4.4.2 TW roms (NB8 in my case):

Edit file platform.xml in system/etc/permissions (make a backup before).

Search for this:

<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>

Add this:

<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
[COLOR="Green"][B]<group gid="media_rw" />[/B][/COLOR]
</permission>

Save changes and reboot.

Hope this helps.

Regards!
[Galaxy S 4 i9505 Original Android Development] dr.wtf:
thanks. already did that.

what exactly do you think is the problem with my network? is it my routers fault? because ipv6 is disabled in my router. it also doesn't depend on my windows pc in the network (wakelock exists when pc is off). no traffic is taking place while the wakelock is active. i've disabled everything that could cause it and logged the traffic. router firmware is up to date.

i know its not your problem but i thought you might have an idea.
[Galaxy S 4 i9505 Original Android Development] culbuto:
Thank's, work :good:
[Galaxy S 4 i9505 Original Android Development] Bradden1:
I have noticed that my phone turns itself on whenever I plug in to charge and it's off. Could this be kernel related?
[Galaxy S 4 i9505 Original Android Development] CamFlawless:
Looks like it's common on KT's kernel: http://xdaforums.com/showpost.php?p=50923312&postcount=2434
[Galaxy S 4 i9505 Original Android Development] dandroid13:
Let me guess, you have the old bootloader, right?

Enviado do meu Galaxy S4
[Galaxy S 4 i9505 Original Android Development] Bradden1:
I'm on mk8 bootloader..do you think that is the issue?
[Galaxy S 4 i9505 Original Android Development] Clandaries:
Someone knows where to get the actual stock kernel?

I am on actual Wanam Lite.

Thank you.
[Galaxy S 4 i9505 Original Android Development] dandroid13:
I had the same issue when using GPe ROMs without the KitKat bootloader last year, after flashing it problem solved.

Enviado do meu Galaxy S4
[Galaxy S 4 i9505 Original Android Development] Formhault:
Wake options set to Pocket 2 Wake and Double Tap 2 Wake. "Hold Wake Lock" is set to DISABLED, but the screen still goes on when double tapping and such...

Same goes for when "Hold Wake Lock" is set to be enabled only when the LED blinks. :confused:
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
I found the prox thing, I guess I never enabled ONLY the screen ones while debugging. SO if you could test for me quick just to make sure 4.4 is same and 4.3, turn the sensor and screen wakes to both and then you should see the screen wake get blocked when prox is blockced?
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
You are either plugged in or you caught it on a wake lock. The wake lock options are there to ensure you can wake. Just because you disable wake lock doesnt mean it cant still wake.
[Galaxy S 4 i9505 Original Android Development] invano:
nope. the screen wake works good I see but is not blocked by proximity

p.s. a part from the prox thing I was wrong. screen wake works. the led wake doesn't work.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
I have no idea what you were trying to say there but I just uploaded a new one. So do this:

Download newest from below

Turn ON Screen wake functions

Turn OFF sensor wake functions

Plug into PC or use a wake lock option

Then block the prox fully and try to do a sweep or double tap. It should not turn on unless your prox is not working optimally.

Test made on 03.09.2014 at 09:32

Re-Download TW 4.4

http://goo.gl/hh3D0P
[Galaxy S 4 i9505 Original Android Development] Formhault:
Am not plugged in. And caught in a wake lock?!?!?! :eek:
[Galaxy S 4 i9505 Original Android Development] invano:
yes it's normal. there must be an app you installed that take a wakelock
[Galaxy S 4 i9505 Original Android Development] yogg:
Worth to move over to 4.4.2? How is it like? I'm on Omega 4.3 JB Touchjizza. Feel like its time to move over to 4.4.2. Maybe there are stable 4.4.2 ROMS from CM and TW. But I have the newest bootloader. So downgrading isn't possible for me anymore.
[Galaxy S 4 i9505 Original Android Development] invano:
Perfect. Now it works! screen wake is correctly blocked.

It means my english is not good yet :D

I was saying that the led wakelock doesn't work. With "Enabled ALWAYS on LED notification" I'm unable to wake the screen...it is as if the wakelock is not created.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
What are your "Disable LED Start" and "Disable LED Stop" values? I just tested it and is working perfect on this Jizzer ROM I have loaded
[Galaxy S 4 i9505 Original Android Development] invano:
-1 and -1. I didn't touch led settings, I only enabled the fading.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Does your ROM or did you install something that takes over the LEDs instead of the normal TW functions? That would be the only thing left is custom LED control that is not calling the proper LED kernel functions
[Galaxy S 4 i9505 Original Android Development] Formhault:
:eek: will have to check with Wakelock Detector again... :confused:

But regardless, I thought the screen / sensor wake options require another wakelock (different than what any other apo would use).
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
It only requires A wake lock, doesnt matter where it came from.
[Galaxy S 4 i9505 Original Android Development] invano:
Ok I found the problem.... whatsapp manages whatever in a nasty way and it doesn't trigger the wakelock creation.

For example with tapatalk notif screen wake it's working fine (I don't know if it's related to the latest test version or I didn't notice it before)

last 2 remarks and I leave you :D

1) is it possible to decrease the timer between 2 taps? If I perform the second tap after 5 secs the wake still works.

2) is it possible to avoid multi-touch? A single tap with more than 1 finger is enough to wake the screen.
[Galaxy S 4 i9505 Original Android Development] John_wba:
[MENTION=4325945]ktoonsez[/MENTION] is there any chance you could reduce the time in which double tapping to wake? Seems a little long atm I can tap and leave it for 30 seconds and tap again and it will wake.. also any chance of being able to pick a certain area of the screen instead of all of it? Thanks man.

---------- Post added at 09:10 PM ---------- Previous post was at 08:22 PM ----------

Seems I copied most of your post lol... great minds think alike :)
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Ill see if the function will tell me finger count and I will reduce to 2 seconds instead of 5 seconds.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
See above........
[Galaxy S 4 i9505 Original Android Development] John_wba:
Just seen, at first I didn't even know I said what the other guy said lol. . Thanks anyway :D
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Cool, cant wait to see it :good: :highfive: :cool:
[Galaxy S 4 i9505 Original Android Development] rlorange:
Hmm USB OTG not working for me either
[Galaxy S 4 i9505 Original Android Development] cobra11111:
Setting?

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] ausdim:
[MENTION=4325945]ktoonsez[/MENTION]

Great work with your kernel also i feel an improvement to "msm_hsic_host" battery drain...

But can you please know anything about that?

Thank's
[Galaxy S 4 i9505 Original Android Development] rlorange:
I think this is related somehow to OTG not working for me. I used Folder Mount app and I auto fixed some module when the app promted me to do do

Folder Mount uses a fuse module to mount any extSD folder to internal memory...
[Galaxy S 4 i9505 Original Android Development] ramon.nmgn:
If i install this kernel by default without tweaking/editing settings , will my Battery life improve?

Verstuurd van mijn GT-I9505 met Tapatalk
[Galaxy S 4 i9505 Original Android Development] phil.o:
Why the hell is everyone asking this question? Just try it out and if you won't feel any improvement you can reflash stock kernel or whatever. But give it at least 2 fuel charging cycles.

- tapatalked ت
[Galaxy S 4 i9505 Original Android Development] norrgrd:
Thanks for your efforts and for this kernel.

Latest version turns on screen when a notification is received on TW.

Currently running WanamLite rom.
[Galaxy S 4 i9505 Original Android Development] rlorange:
Ok USB OTG is not working for me this kernel but iS on Adam kernel.

Folder Mount module patch did not affect this result.

Please look into Adam kernel sources for a solution to this?
[Galaxy S 4 i9505 Original Android Development] rlorange:
Hmmm nope I'm on wanam lite and power amp is working fine with my extsdcard. But perhaps it is related to the issue I'm having with OTG not working.
[Galaxy S 4 i9505 Original Android Development] boterkaaseneieren:
Can't believe how smooth and fat this kernel is. Running noop/ondemand. Are does the best settings for performance?
[Galaxy S 4 i9505 Original Android Development] maikinho10:
Thanks [MENTION=4325945]ktoonsez[/MENTION] !!

As always, awesome!

Im using your TW Kernel on Foxhound ROM:)

Hope TW Kernel has no reboots:))

but a little Question, if i charge my battery, every rom its not so smoothless, why?

if i unplug the charger, ROMS (Kernels) works incredible awesome...!!:good:

Greets

Maik
[Galaxy S 4 i9505 Original Android Development] steveman29:
This could be the case here. I did the same thing and I also have this problem!

---------- Post added at 10:29 AM ---------- Previous post was at 10:17 AM ----------

I hope ktoonsez will find out why OTG was working for everyone until version "06-08-2013" and stopped working for some of us with the later versions. Something must have changed to cause this. It is a great kernel and I don't want to be stuck with old versions.
[Galaxy S 4 i9505 Original Android Development] rlorange:
I'm sure he will. OTG is working for me on faux kernel. Also Folder Mount doesn't seem to interfere for me. Haven't tried Samsungs build in move-to SD card feature... would rather stick with Folder Mount lol!!
[Galaxy S 4 i9505 Original Android Development] boterkaaseneieren:
Did you tried this one for OTG?

http://www.nonsolosmartphone.it/abyss-gt-i9505-kernel-for-samsung-rom-only-t6511.html
[Galaxy S 4 i9505 Original Android Development] MattyDip:
Is this version updated with the lastest kernel sources from Samsung or not? Thanks

I had some problems with the previous version of this kernel with the lastest firmware.
[Galaxy S 4 i9505 Original Android Development] lzk123:
Thanks alot for the new update. :good:
[Galaxy S 4 i9505 Original Android Development] culbuto:
I see, I'm not the only one who have this bug!

ktoonsez, have you trying your kernel with TW MEA rom? if yes, which rom?
[Galaxy S 4 i9505 Original Android Development] aHcVolle:
had 2 reboots (seems to be the same problem)

current settings:

kernel version: 06 17 2013

cpu max freq: 1998MHz

I/O sched: row

CPU gov: ktoonservativeq

no uv, nothing changed in "extras".

rom: PAC 22.4.0

will try with no oc and report back.
[Galaxy S 4 i9505 Original Android Development] 9Lukas5:
Would you please change your govoner to pegasusq and test if you get a reboot, too? I haven't anything than my notice, but I have the feeling with pegasusq I haven't problems on the same kernel version than with ktoonservativeq

L
[Galaxy S 4 i9505 Original Android Development] Formhault:
User tunables for everything!!! :silly:
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Got the code done and looks pretty good. You only have 2 seconds or so to double tap and it will ignore it all day long if you tap with more than 1 finger.
[Galaxy S 4 i9505 Original Android Development] invano:
Very good :good: If you want I can test it in 2 hours more or less

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] Formhault:
I smell new builds are coming up soon? :good:
[Galaxy S 4 i9505 Original Android Development] lzk123:
Anybody experienced LCD discoloration?

My phone had severe LCD discoloration yesterday, even though I didn't use it for long periods of time. Sent phone for repair just now, and they said it was due to overheating. They replaced the motherboard, speaker, and microusb port. (Not sure why speaker and microusb port) So now I have new firmware with new bootloader and knox crap :crying:.
[Galaxy S 4 i9505 Original Android Development] Formhault:
My screen is doing just fine. Not as good as in the first day I got it out of the box, I bet, but still, fine. I think the whites are a bit on the yellow / purple side in some spots, but hard to notice (for me, and I'm a bug freak).

It's an AMOLED, afterall, and AMOLEDs tend to go haywire after some time. I have had my Galaxy S4 since late August and it's still kicking, but a friend of mine has a Note 2 which needed 3 screen replacements in under 4 months due to banding, weird color splashes and stuff like that.

Not sure how degraded your display was, though. But have a look at two top-notch Nokia phones which also sport AMOLED displays. Cute, isn't it?

http://dump.no/files/5136543d6dfd/IMG_20140217_203256.jpg

http://dump.no/files/5136543d6dfd/IMG_20140217_203307.jpg
[Galaxy S 4 i9505 Original Android Development] lzk123:
Isn't that screen burn-in or something? Mine was like the screen will turn very dark blue when on autobrightness. So dark that you can't even see what's on the screen.

So i disabled autobrightness and adjusted brightness manually. Anything below 50% became too dark to see (as if the phone was turned off). Adjusted to 70% and it looks normal. Anything above that brightness, the screen color became totally weird. Colors became sort of inverted.

What's even more shocking is that, stock recovery mode and download mode didn't appear abnormal. The colors are as usual.
[Galaxy S 4 i9505 Original Android Development] Formhault:
Yeah, it is. But all AMOLED screens with issues have the same cause, which I'm not getting into on this thread.

Could it be that you enabled a profile in KTweaker that had the coolest screen setting? But even so, it shouldn't be acting as you described... I guess your screen was defective - otherwise Samsung wouldn't have replaced it.

Oh and speaking about the microUSB and speaker module replacement... Chances are the microUSB port was rusty (happens, unless you clean it with isopropyl alcohol every week :laugh: ).
[Galaxy S 4 i9505 Original Android Development] lzk123:
I used the ktoons v4 settings. Was on old bootloader, so i restored back to stock firmware and reset the flash counter. Problem still exist, so I sent it for repair. Anyway, was wondering whether the kernel had caused this issue or was it due to some other problems. Had been using this kernel since probably around july last year. :confused: But have never encountered this issue before.
[Galaxy S 4 i9505 Original Android Development] Formhault:
July last year... boy, is your phone old... no wonder your screen "bursted in flames" :p. You were just unlucky, I guess. Good thing you were covered by the warranty.

But it happened all of the sudden? Usually, screens decay gradually.
[Galaxy S 4 i9505 Original Android Development] lzk123:
Yup it's that sudden. Placed my phone on the table, not under any direct sunlight and wind was blowing into the room. Came back few hours later and decided to use my phone. Turn the screen and it happened.

Bought my phone on the first day of release. Around 25th or 27th April.
[Galaxy S 4 i9505 Original Android Development] Formhault:
Weird. Could be from a bad batch... dunno... Hope it doesn't happen to anyone else, or to you, again :D.
[Galaxy S 4 i9505 Original Android Development] Mussels84:
speaker is part of the USB/charging area in the phone. its the lower board. top board is CPU/GPU etc.
[Galaxy S 4 i9505 Original Android Development] AbiDez:
Hello. I've installed the Version from 7.3.14. When I make a call, my phone screen switch off, when I look on the phone, the screen don't turn On. Is it possible that's the kernel update the problem make? Before updating run screen on or of feature works. Greetings AbiDez

GT-I9505 BL:MH6 SW: FoxHound 4.4 Tapatalk
[Galaxy S 4 i9505 Original Android Development] dr.wtf:
when i wake up the last few days i see a screen with tasker and power toggles off and different other background apps not running. also my keyboard is set back to the stock one. as if the rom was reset (which last kmsg confirms)

any idea what happens there?
[Galaxy S 4 i9505 Original Android Development] Lao Mayer:
The best kernel!
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
[MENTION=4129455]Formhault[/MENTION]

Do you have Reicast (dreamcast emulator) installed? I get way worse performance with ktoonsez' kernel. Loading games in the emu is much slower and games stutter. I can't get the same performance as with stock cm kernel and I just want to know the cause. :/

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] Formhault:
I don't have any emulator to play such games.

By the looks of it, Reicast is alpha?
[Galaxy S 4 i9505 Original Android Development] djmik21:
Hey guys how can safely replace this kernel with another?
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Reicast is alpha yes but the lags and slow loading is only with this kernel. Tried all settings. It's something in the kernel itself

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] Mussels84:
flash any other kernel compatible with your rom, in recovery mode.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Whatever works is what you should stick with, I play Asphalt 8 and get 35fps constantly so I have zero problems.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
I want your kernel not the stock cm kernel but I can't find out why reicast is MUCH slower/laggier with your kernel. Even with best settings.

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] Nico97:
Hello, you could put a mod… in your heart of the kind, from the app KTweaker I can set Hz/FPS on the screen like from 60 to 72 or 75 low Hz 45 or more Hz type…

Excuse my English
[Galaxy S 4 i9505 Original Android Development] !crazy:
Are 35 FPS really that good? I don't like asphalt series. Only game of that art I can play is 'the most wanted', but haven't tried to measure fps, since the app alone doesn't have the option.

With LevitOn I always have near 60 fps, with high resolution settings.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
For a game that when playing you are going 300 mph and things are flying by it is really good :good:
[Galaxy S 4 i9505 Original Android Development] John_wba:
[MENTION=4325945]ktoonsez[/MENTION] I noticed that the long lag before screen wakes up to answer a call is still present, which of your v5 settings should I change to fix it?
[Galaxy S 4 i9505 Original Android Development] rauschkugl:
Start with super conservative.

Gesendet von meinem GT-I9505G mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Change Log 03.10.2014

1. Improved Sweep 2 wake recognition.

2. Ignore double tap if more than 1 finger is used.

3. New option for "Hold Wake Lock for wake" called "Enabled ONLY while charging" so you can choose to only hold wake lock during charging.

4. Added wake lock montitor so wake locks can be kicked back on if they are killed prematurely.

5. New "Prox value when clear" added so you can specify the prox value to allow the screen wakes to still work when your prox is not functioning properly/dirty.

6. New item under "Tools" called "Prox Sensor Checker". Click it start/stop the monitor timer. Use this to see what you 100% clear prox value is, then add 20 to that number and use it for the "Prox value when clear" value mention in #5 above.

7. LEDs: Added some code that was needed on the TW version to catch all the notification scenerios.

8. Fix the issue where touch screen would become unresponsive on TW ROMs.

9. Thats all I can remember, ENJOY!!!!!
[Galaxy S 4 i9505 Original Android Development] Gordietm:
Works perfectly now on my jftlecan, thanks

SGH-I337M jfltecan
[Galaxy S 4 i9505 Original Android Development] dr.wtf:
does init.d work for anyone on ge rom?