yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] DevastatorTNT:
Yes, sadly. I'll flash a new build :) Thanks for the help :D

I hope next builds will support custom kernel
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Im building a test quick, u around to test???? We will go down that path if we have to. Just want a dmesg that you will only be able to get using ADB since you cant touch the screen.
[Galaxy S 4 i9505 Original Android Development] qtwrk:
please forgive my stupidity.

my value is 19 , and what am I supposed to do now ? clean the files to none ? to 0 ?
[Galaxy S 4 i9505 Original Android Development] DevastatorTNT:
The value is OK, you don't have to modify the value, it's simply a data taken from the hardware which give us an idea about the proximity sensor. I don't know where is your problem, maybe in the ROM...
[Galaxy S 4 i9505 Original Android Development] invano:
I'm here on omega if you need it
[Galaxy S 4 i9505 Original Android Development] steveman29:
Yes we can do that, just need a moment to reflash the latest kernel again
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Here you go, file name has a "B" on the end. You are having the problem where the screen becomes untouchable when the screen turns on from a notification???

Download

http://goo.gl/38IFOV
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Dont flash the official, try this one, I made the hook from a different location since I believe the jizzer ROMs cant handle the proper functions to turn the screen on/off:

Download

http://goo.gl/38IFOV
[Galaxy S 4 i9505 Original Android Development] steveman29:
Ok I am testing it and will report.
[Galaxy S 4 i9505 Original Android Development] invano:
happened even without notifications...

I'll let you know what I catch over dmesg
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Go to this file before testing and write a 1 to it using Root Explorer or whatever, it will add more debug:

/sys/devices/i2c-3/3-0020/input/input3/screen_wake_options_debug
[Galaxy S 4 i9505 Original Android Development] steveman29:
Version b is working fine with me, I tried 2 times with a calendar notification and the touch screen is working!:good:
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Maybe try a text if you can get a second phone to text it with? Also, maybe try a couple of quick on/off, on/off's with power button.
[Galaxy S 4 i9505 Original Android Development] steveman29:
Ok I will try different senarios
[Galaxy S 4 i9505 Original Android Development] Salman787:
Hi ktoonsez!

Mind Blowing job on the latest version of the kernel.....Been waiting for S2W feature to some on TW S4 for a long time....

I have an issue regarding the installation of the kernel and would request your kind assistance. Firstly my setup:

Rom = Omega v17 (Android 4.3), Phone Model = i9500, Previous Kernel = Adam v3.5.

I downloaded the international version of the kernel for Android 4.3. flashed it through recovery, Wiped Cache and Davlik Cache, Fixed Permissions and restarted. When my system booted, I went to the settings and in kernel, it was still displaying adams kernel. I thought I should check ktweaker app in app drawer. I checked and found it there. Its version was 6.4. On opening Main settings I cannot find any options regarding S2W as there are no options below "Vibration Strength".

Kindly advise if I'm doing something wrong.....
[Galaxy S 4 i9505 Original Android Development] Ninolina:
[MENTION=4325945]ktoonsez[/MENTION], After a few hours of using these new features, I noticed that swipe 2 wake and Double Tap 2 Wake don't react after some time even that I choose the option to be active all the time when screen is off.

Anybody else have this? I am on Omega v19 (android v4.3)

Thanks in advance. :)
[Galaxy S 4 i9505 Original Android Development] steveman29:
I tried calls from another phone, text messages, quick on and off and everything is working fine.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Your procedure looks good to me, but of course it looks like u dont have my kernel since its showing someone elses.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Coooooooool. Thanks for the testing (Im out of thanks for the day, lol). Ill go with this way of handling the screen on/off then and we should be good.

Anybody else confirm that the "B" is working for them when the official did not (Im talking about the part where the screen becomes untouchable and you have to pull battery)???
[Galaxy S 4 i9505 Original Android Development] invano:
I'm still testing simulating a "normal usage". Up to now it's working. If something goes wrong I mention you here.
[Galaxy S 4 i9505 Original Android Development] Dijkstra88:
+1 working for me also.

Send from my GT-I9505 with Tapatalk 4 Pro
[Galaxy S 4 i9505 Original Android Development] qtwrk:
hmmmm, i don't know , B version on me doesn't wake up on notification , and swipe/double tap still down, however pocket mode does work ...
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
[MENTION=5053427]nplnpl[/MENTION], did you try the "B" yet? Yours seemed to be the most consistent getting messed up?
[Galaxy S 4 i9505 Original Android Development] Salman787:
Any advice on how to go about it.... Coz I'm a noob and totally dependant on u guys expertise.... :)
[Galaxy S 4 i9505 Original Android Development] Formhault:
So... I set "Screen wake option" and "Sensor wake option" to "Both". Then set "Hold wake lock for wake options" to "Enabled ALWAYS on screen off". And... they still don't work. None of them. :confused: :(
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Get a real ROM and it will work :good:. Cant remember what ROM you are on, and more than likely its your prox sensor.
[Galaxy S 4 i9505 Original Android Development] qtwrk:
what do you mean by real ROM ??? is there a false ROM ?:crying:
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Lol :D :eek: :p. Just getting pissed that its so difficult
[Galaxy S 4 i9505 Original Android Development] Formhault:
I'm on Danvdh's GE ROM.

But what about touch to wake and sweep to wake? Those shouldn't be proximity sensor related...
[Galaxy S 4 i9505 Original Android Development] Ninolina:
Did you rebooted phone after setting that? It's working on my phone but it seems you have to practice movements so it will work. :)
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Yes they are or I would have not mentioned over the last 10 pages today. The sensor needs to be clear or it will just wake up in your pocket all the time.
[Galaxy S 4 i9505 Original Android Development] nplnpl:
ok, i try now ... thx ^_^
[Galaxy S 4 i9505 Original Android Development] LuigiBull23:
Have been running Danvdh's GE ROM for 2 full days now and can confirm that ALL wake combinations are functioning as intended. So it most likely is your proximity sensor..
[Galaxy S 4 i9505 Original Android Development] Formhault:
GOD DAMN YOU SAMSUNG!!!

I recalibrated my prox sensor, remember...? So I guess it won't work until I get a new sensor or get it cleaned up.

The threshold you put in for the proximity sensor can't be modified, heh? Cause mine, for example, is more like 40-45 or something like that, haha... :(

---------- Post added at 12:44 AM ---------- Previous post was at 12:42 AM ----------

Awesome. I want a Moto X... :(
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Did you try this yet to see the value??????????????

http://xdaforums.com/showpost.php?p=50875647&postcount=3687
[Galaxy S 4 i9505 Original Android Development] Formhault:
Just saw it. Yeah. And mine can't and will never go below 40 something... :(
[Galaxy S 4 i9505 Original Android Development] Salman787:
Hi Guys,

Would really appreciate your help. I have followed the procedure to installed the latest version of the kernel 3 times now, following the procedure word for word each time. Yet whenever my phone boots up, in setting my kernel stll shows the previous kernel. Any suggestions in this regard will be highly appreciated.
[Galaxy S 4 i9505 Original Android Development] DevastatorTNT:
Ok, 03/06 PAC version doesn't work too. Maybe Pac-Man has eaten the screen :( I'll wait :|
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Thats a topic for your recovery thread, not here. Only last thing I can say is redownload it, because it is not flashing it that is for sure.
[Galaxy S 4 i9505 Original Android Development] Formhault:
Ktoon, could you please make the sensor threshold tunable? Just so people like, that 1% with faulty / dirty on the inside sensors, can manually set it to the lowest threshold *their* sensors got... (in my case, raw_data is 43, no matter how hard I try to clean the sensor).

Am talking specifically about that 25 value you mentioned, of course...

That'd be great, and not just for me, I bet. Perhaps you could make it happen, please? In the next release...? :D
[Galaxy S 4 i9505 Original Android Development] bennetski:
Fantastic new kernel. Can I just ask for some clarification on the fast charge. I'm looking for fast charge USB but seeing the warning message freaked me. Is it safe for 1000mah through USB.

Sure I have had it before but just want to check
[Galaxy S 4 i9505 Original Android Development] Salman787:
k. will change my recovey from TWRP to CMW and see if it works.....Thanks for the help...
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
No one can answer that except the manufacturer of your PC. I can tell you that I have 4 PCs at work only two of them output 1000 and none of them have had any problems
[Galaxy S 4 i9505 Original Android Development] DevastatorTNT:
Sincerely I'm not sure, but if KT added this value it means that he has tried it at least :)
[Galaxy S 4 i9505 Original Android Development] Formhault:
As long as the USB ports are part of a good motherboard (so no ZNXKSLSPR model ASD-123 Made on Ship#13 motherboards)... relax!

My PC is 8 years old. Motherboard : Asus M2N-X (that's old!). And its USB ports (at least the rear ones, as those are usually likely high powered) were able to charge my previous Note 1 @ 1A with no problems (with the proper modifications in the kernel, of course, not stock...).

My parents' PC is 13 years old; motherboard : some Gigabyte that doesn't even have SATA2 and DDR2 support. That's ancient! But guess what? Its USB ports (even the front ones, this motherboard is still kickin' hard!) were able to charge my Note 1 @ 1A, too - just remembered :D.

And then there were these kickass computers I had at the place I used to work... Like 2012-"old" systems, you know? Yeah, they weren't able to charge the Note 1 @ 800 mA, lol.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Any feedback yet? I want to get this merged and I will have to put it in all the other kernels too so I have consistency. Anybody else tell me if the "B" solved for them too????
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
I will change it to 50 for now.
[Galaxy S 4 i9505 Original Android Development] nplnpl:
ok , this version work :P ... if i look a problem i contact you :)
[Galaxy S 4 i9505 Original Android Development] mattiadj:
Guys probably im stupid but I have problem on latest. I'm on goldeneye and the any of wake options works! What I have to do to have double tap works?

Also... I have setted custom mA for fast charging and disabled the safe margin but it seems is useless! I charge always at 1200 screen of 1900 screen off from AC.

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Original Android Development] LuigiBull23:
I can confirm that ALL wake options are working fine on latest PAC ROM.
[Galaxy S 4 i9505 Original Android Development] Salman787:
Hi Guys,

I have changed my recovery from TWRP to CMW and flashed the latest version of the kernel. The installation in both recoveries, go without a hitch. But on booting my phone and checking in the setting, I still have the previous kernel. As per ktoonsez guidance I have changed the recoveries to check but the issue is the same....any other suggestions would be highly appreciated.....Thanx
[Galaxy S 4 i9505 Original Android Development] nazfalas:
Try PhilZ recovery, reflash rom (no wipe, just flash again) and then flash the new kernel and see if that helps.
[Galaxy S 4 i9505 Original Android Development] Salman787:
Thanx for the reply nazfalas. I have flashed philz recovery (latest) and flashed the kernel without wiping. Yet the issue is the same....Any other suggestions?
[Galaxy S 4 i9505 Original Android Development] nazfalas:
Ok, just to make sure: Did you re-flash your ROM also as I described?
[Galaxy S 4 i9505 Original Android Development] dandroid13:
So, I just tried B and the screen still isn't working. :crying:
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
What isn't working? U mean when u wake it u can't touch the screen at all?
[Galaxy S 4 i9505 Original Android Development] dandroid13:
Exactly, using stock flashed less than 24 hours ago.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
OK. I will remove all the wake functions from the jizzer so u guys don't get screwed :good:. Was hoping it would work out. Im curious when did u download it? Whats the time stamp in Settings->About?
[Galaxy S 4 i9505 Original Android Development] dandroid13:
Downloaded it around 2 hours ago, 16:26:51.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
That was the latest, I added one more thing after the initial "B" release. Maybe someone that has it working fine can share the time from there "Settings->About", or redownload if they got it early to see if that one line screwed things up.
[Galaxy S 4 i9505 Original Android Development] dandroid13:
Ok, I'm using 24/02 for now.
[Galaxy S 4 i9505 Original Android Development] Mussels84:
LED values are between -1 and 23?

that seems... unusual.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Why is that? As the dialog says, -1 means disabled. :good:
[Galaxy S 4 i9505 Original Android Development] Mussels84:
we use 12 hour time here, thinking -1 oclock has just fried my brain so bad.

just to make sure i understand it:

0 would be midnight, 10 would be 10am, 23 would be 11pm?
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
U got it :good:. We use 12 hour time too, but there is no way to say 10 am to the kernel, so did the 24 hour thing. My current settings are 23 for Start and 6 for Stop.
[Galaxy S 4 i9505 Original Android Development] speedytr:
I'm on davids rom. sweep to wake works sometimes, tap to wake dont work most of the time. My sensor raw data is 8
[Galaxy S 4 i9505 Original Android Development] Formhault:
You mean your phone ways charges at 1200 instead of 1900 (chosen value)?

Set Fast Charge to "Custom mA" and Fail Safe to "Disabled".
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
This has been covered already. Samsung restricts charging to 1200 while screen is on so your phone doesnt melt. I could remove it but that would be a BAD idea whether it was configurable or not.
[Galaxy S 4 i9505 Original Android Development] Formhault:
Right. That's why I can't get the phone EXTREMELY hot and charge fast while gaming, lol. Otherwise, not only the CPU would get hot, but also the battery (which would be the BAD thing), right? God the Note 2 was so goos :D.

[MENTION=2596418]mattiadj[/MENTION] The only way to see if it's charging at 1900 screen-off would be with Battery Monitor Widget, which can provide logs.
[Galaxy S 4 i9505 Original Android Development] Mussels84:
oh, i think i had it backwards then. to me 'stop' means 'stop the LED' and start means 'start the LED'

you must have it 'start the LED stopper' and 'stop stopping the LED'
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Look here for another convenient way:

http://xdaforums.com/showpost.php?p=50799192&postcount=9301
[Galaxy S 4 i9505 Original Android Development] Formhault:
I saw that earlier but thanks for reminding me :D. And by mV you actually meant mA, right? :p
[Galaxy S 4 i9505 Original Android Development] steveman29:
I had another wake problem with alarm but this time after a few tries i managed to unlock the device. This is the last dmesg

https://www.dropbox.com/s/lcqejx8kfxiy85w/kt_dmesg.txt
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Your second statement is correct, I sometimes forget English isnt every bodies first language here, I thought by labeling it "Disable LED Start Hour" everybody would see that as the hour to start disabling :good:
[Galaxy S 4 i9505 Original Android Development] Mussels84:
english IS my first language, and i still failed it.

maybe even simpler wording in the next update: LED on time/LED off time
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
I would redownload if under "Settings->About" says that the kernel was built before 4:28ish PM, I added one extra line that jizzer 4.4 had that 4.3 did not have (so uploaded the "B" version twice). And to be clear, you did not have to pull the battery, the screen did come back to life?
[Galaxy S 4 i9505 Original Android Development] steveman29:
Yes I didn't have to pull the battery to get the screen back to life. I think it is the first "b" version. I will redownload and try again with alarm. Thanks.

---------- Post added at 07:33 AM ---------- Previous post was at 07:08 AM ----------

It was probably the first version. I reinstalled the latest "b" version and it appears to be working fine with alarm. I will do more testing though.
[Galaxy S 4 i9505 Original Android Development] LuigiBull23:
On behalf of [MENTION=4325945]ktoonsez[/MENTION], I have tested and can confirm that the new wake features are indeed functioning as intended on the following AOSP/GE ROMS:

CM

Danvdh's GPE ROM

Hellkat

Liquidsmooth

Slimkat

PAC MAN

Omni

Please remember to read the change log for info on how to properly trigger each wake option.

If you are not using a wake lock then you can only catch the wake functions when receiving a notification (text, email, WiFi, etc..)

Also note that you MUST hold a wakelock if charging through A/C, otherwise the wake functions likely won't trigger.

If you continue to encounter issues you may need to check the value of your proximity sensor as suggested by KT by navigating to /sys/class/sensors/proximity_sensor/raw_data. If it is above the threshold of 25 then NONE of the options will work and will likely require some cleaning to boost that number back down.
[Galaxy S 4 i9505 Original Android Development] speedytr:
Ok. I'm on Danvdh's GPE ROM and I set my wakelocks setting always on. My tap2wake almost not working and sometimes my swipe2wake dont work. If you are so sure about your tests find me a solution "Mr. I tested all" (my treshold is 8 by the way). Everyone has different configs so whatever working for you may not work for me.
[Galaxy S 4 i9505 Original Android Development] dclarkg:
Yes and no, here is my case:

-Old bootloader

-Modem: NB9

-LTE: Newest u can use on old bootloader

Full wipe, installed Latest Dandvh GE4.4, installed latest kt kernel, boot for the first time, switched to ART.

All 4 wakeup methods work well with wakelock always on but all other options seems to be a little buggy, I select disabled and could tap to wake, prox sensor wakeup methods seem to go off but swipe/tap still worked, tried wakelock off after 30 seconds but tapping waked up the phone.

No matter the setting tapping always worked, swipe sometimes and prox sensor methods seem to follow the desired options, also it seemes that the wakelock starts when the screen is on regardless the setting.

I couldn't try the wakelock on led since i could never stop the tapping wake up, I'm curious why only a particular method work and the others didn't with the wakelock disabled, the bug should affect all methods.

Is not an issue at all, just reporting my bugs in case there is useful info
[Galaxy S 4 i9505 Original Android Development] planetf1:
I'm using the red bull reloaded profile, and the only change I've made so far is to reduce the min frequency to 189 Mhz. My rom is samsung 4.4 stock - I'd run the same build for many weeks (originally leaked, same change # for kernel/rom was then shipped).

I left the phone on charge overnight. This morning I picked up the phone to unlock (still connected). Touching the home button the screen came on fine, the clock was the correct time etc & it seemed responsive. However it would not recognize touch screen input. I unplugged, same issue. I tried the power switch and whilst the dialogue came up to select shutdown, it could not be selected

SO basically the touchscreen was not working, until I force powered down (10s) and rebooted, whereupon it was fine.

Any suspect issues in the current kernel (I did upgrade to yesterday's build)? Ay thoughts of things to check/try tweaking?

thanks

Nigel.
[Galaxy S 4 i9505 Original Android Development] LuigiBull23:
I am fully aware of that sir. I didn't test all ROMS. In favor of [MENTION=4325945]ktoonsez[/MENTION] I just tested the ROMS many have had issues with but couldn't replicate the issues. All wake options have worked 100% for me and am just reporting my findings. Apologies if I offended you.
[Galaxy S 4 i9505 Original Android Development] rauschkugl:
It was discussed for the last 10 pages. Read a bit please.

Gesendet von meinem GT-I9505G mit Tapatalk

---------- Post added at 10:55 AM ---------- Previous post was at 10:51 AM ----------

Tap on the right place then it will work. I'm also on this rom and there are no issues at all.

You don't have to be pissed just because somebody reports that it works. If it's your config it's also not the kernels fault.

Gesendet von meinem GT-I9505G mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] speedytr:
Apologies from me if I offended you but I'm sick of all the I know it all and YOU are doing smth wrong attitude of users.

---------- Post added at 11:03 AM ---------- Previous post was at 10:56 AM ----------

I'm tapping right place and it doesnt work. I use my rom as clean as possible and there are other people having difficulties, I'm reporting for helping developer.
[Galaxy S 4 i9505 Original Android Development] LuigiBull23:
No one knows it all, especially not me.. I'm just doing my job here sir but I completely understand your point. I'm sorry you're having problems getting these new features to work. Hopefully KT can figure out why it's working fine for some and not others and eventually have a definite solution, which I'm sure he will.
[Galaxy S 4 i9505 Original Android Development] rauschkugl:
That's OK but in your first report you just said it doesn't work or just sometimes. Nothing more. And with that many information kt can do nothing and you don't have to wonder that you get a reply by someone who says that it does work.

At least you described your problem a little bit better afterwards.

The others that have problems are on tw or have a dusty proximity sensor until now.

Gesendet von meinem GT-I9505G mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] mattiadj:
I have reed latest pages but... I haven't understand... Are wake up functions work on tw rom? I'm on goldeneye and any type would work!

Also I can't change and take phone off! If I switch off my phone and plug in the cable, it starts it self!

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Original Android Development] steveman29:
I had another wake problem with sms. But I didn't know the adb command to get a dmesg. I only managed to pull last_kmsg:(
[Galaxy S 4 i9505 Original Android Development] rauschkugl:
They should work but some reported that touchscreen doesn't work at all on some situations. Try the latest b test kernel posted some pages ago.

When you're on the old bootloader it's normal that the phone turns on when charging. Nothing kernel related. You would have to update your bootloader if you want to charge your phone while it's off.

Gesendet von meinem GT-I9505G mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] invano:
Next time you can use

Adb shell su -c dmesg > /path/where/save/log.txt

Inviato dal mio GT-I9505 utilizzando Tapatalk