yashsingh1/xdaforums huggingface dataset:
[Galaxy S6 Original Android Development] ktoonsez:
You will have to give me the exxact name of the wake lock from an app like Better Battery Stats so I can search the kernel. Then maybe I can help. If its just SSp that would be useless, cant search for SSP, it would turn up millions of hits
[Galaxy S6 Original Android Development] hovanhuang:
Please see attached. Its SSP_wake_lock from kernel wakelock.

Thank you so much. I think your discovery would be very beneficial to all galaxy s6 users.

View attachment 3338892
[Galaxy S6 Original Android Development] skivnit:
The thing is there's no service running that should trigger that,

Sent from my SM-G925F
[Galaxy S6 Original Android Development] ktoonsez:
Its all over the place.

1. Humidity sensor

2. Motion

3. Prox

4. Grip, whatever thats supposed to be

Basically all sensors that the ROM activates, whether its a service/framework/app.
[Galaxy S6 Original Android Development] ktoonsez:
My best idea off the top of my head is to find an app that gives you control over the sensors so you could turn off the sensor that is giving you the most problems, your case the 1 for motion
[Galaxy S6 Original Android Development] hovanhuang:
Thanks for looking into it. Like I mentioned above, the motion sensor really mess things up. From my observation, as long as the phone is moving, the motion sensor is awake, which drains like 4% per hour.......

So no way around?

---------- Post added at 10:55 PM ---------- Previous post was at 10:54 PM ----------

I will try that. Thanks a lot.
[Galaxy S6 Original Android Development] ktoonsez:
Can u reproduce right now? I could build a test, but look above, that is really the best solution, finding an app to turn off sensor
[Galaxy S6 Original Android Development] hovanhuang:
I would love to test your build. Doesn't seem like anything available on play store. Will keep looking.
[Galaxy S6 Original Android Development] skivnit:
Only apps available are the ones that list available sensors and test them

Sent from my SM-G925F
[Galaxy S6 Original Android Development] ktoonsez:
Here it is, do NOT put it in your pocket or get near the prox sensor while moving it around so you can distinguish between motion and prox:

http://ktoonsez.jonathanjsimon.com/sgs6/TW/KT-SGS6-LP5.0-TW-G920GSM-05.30.2015.zip

Still cant believe it can rack up anything amountable with just the motion, it only holds the wakelock for 3*HZ.
[Galaxy S6 Original Android Development] hovanhuang:
Thanks. I will flash kenel now then shake my phone for 10 mins and report back.
[Galaxy S6 Original Android Development] hovanhuang:
So far so good. I tied my phone to my fan with slow swinging for 20 mins.

What did you changed? I will keep testing now.

View attachment 3338954
[Galaxy S6 Original Android Development] ktoonsez:
Awesome.

Commented out the wake lock when the motion sensor reports new data while the sensor is on (probably breaks something that an app/service needs to read). If someone on the official kernel wants to do another test, here is what u should try:

search for the file "sig_motion_poll_delay" or "motion_poll_delay" and try some different values, maybe 0 disables it, but play around with the values and see if it help.
[Galaxy S6 Original Android Development] hovanhuang:
Fantastic work.

Which folder should we search for? Will the value got reset after reboot on stock kernel?

I will report more about testing tomorrow with true motion.

Good night.
[Galaxy S6 Original Android Development] ktoonsez:
Go right to the root folder and use ES File explorer search function and it will find it somewhere. The value will reset on reboot (maybe more since the ROM is gonna be the thing that turns it on and off), but that can worked around with ktweaker scripts.

Tell me the file name and path you find the file in so I have it for future reference.
[Galaxy S6 Original Android Development] hovanhuang:
That's why I asked for the folder path. I can't find anything under root.......

Didn't you changed the value from kernel side?...
[Galaxy S6 Original Android Development] ktoonsez:
I disabled the wake lock. Didn't touch the value of the poll. R u saying used es file explorer and used the search function to search entire phone and it didn't find it? I don't know the folder.
[Galaxy S6 Original Android Development] edgarf28:
Isn't the SSP wakelock related to those 4 motion options? (Which are turned on at default)

I disable them always and I don't see the SSP wakelock.
[Galaxy S6 Original Android Development] ktoonsez:
Could be. Also if GPS is enabled it could also come into play so it can detect motion.
[Galaxy S6 Original Android Development] hovanhuang:
I have them disabled as well. Did you try hike with your phone for hour or two?

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

I am pretty sure I use the correct way to look for those files but got nothing.

When you said disable the wakelock is that kind of "cheating", which the sensor is still being awaked and would possibily drains battery?
[Galaxy S6 Original Android Development] ktoonsez:
The sensor is always on. This was just an experiment to see if this was really the source of the drain. Can't believe that file didn't turn up.
[Galaxy S6 Original Android Development] 21cdb:
I have those disabled as well and I also have a huge SSP wakelock. I also have a huge lli_pm_wlock, is that a kernel thing as well?

My phone is definitely kept awake way more than my screen is on, regardless of which kernel I use. I have very few partial wakelocks, it's all kernel wakelocks for me.
[Galaxy S6 Original Android Development] g.lewarne:
lli_pm is part of the modem control interface. its probably best to not mess with that
[Galaxy S6 Original Android Development] Cygnuss:
Can someone post the direct link to the kernel and app please i cant find it its too confusing. Thanks.

PS: I have the G920F
[Galaxy S6 Original Android Development] Gilg@mesh:
how could you miss?
[Galaxy S6 Original Android Development] nadejo:
12 days left for my s6 :D and thx to ktoonsez it is more exiting now. It is a big jump from s4 to s6.
[Galaxy S6 Original Android Development] insaned:
I lost GPS with the kernel, I don't know if was from the last update or not because I don't use gps often...
[Galaxy S6 Original Android Development] ktoonsez:
You should use google to fix the ROM to get GPS back :good:
[Galaxy S6 Original Android Development] insaned:
I didn't understood..

How you mean use Google?

I referred to last kernel update, not rom update. GPS started to work after I flashed other kernel.
[Galaxy S6 Original Android Development] ktoonsez:
Dont know how you missed it by searching, its a known issue with all ROMs and custom kernels once OD1 and newer came out, its all over the place in my thread and every single ROM thread:

Here is the file:

https://www.androidfilehost.com/?fid=23991606952608763
[Galaxy S6 Original Android Development] ktoonsez:
Need testers again guys, myself and g.lewarne are working on unified for both 920 and 925 to make things easier to update and keep on newest firmware :D

Here is the link, notice it has name G92X in it for now.

http://ktoonsez.jonathanjsimon.com/sgs6/TW/KT-SGS6-LP5.0-TW-G92X-05.31.2015.zip

Things to test:

1. Battery bizzare 0% thing as usual is NOT present

2. Screen working without issue

3. Turn screen on and off making sure no reboots

4. In-call audio

Let me know guys
[Galaxy S6 Original Android Development] middleearth1010:
Flashed it. The only problem I had before is not being able to use always on on gpu and lock it at 772 without glitches and freezes.
[Galaxy S6 Original Android Development] insaned:
Damn.. Really missed it. The searches didn't return much but I noticed this while driving now and on travel so it wasn't a deep search.. It gave me trouble enough to make a factory reset and a restore.

Thanks a lot for the link, now I can flash your kernel again ;)
[Galaxy S6 Original Android Development] ktoonsez:
Nobodies phone works with 772 that I know of, everybody that goes that high says it slows down (gets really laggy), crashes, reboots phone, glitches on any kernel stock or custom
[Galaxy S6 Original Android Development] ktoonsez:
Everybody redownload and flash again, first one got corrupted on upload
[Galaxy S6 Original Android Development] edgarf28:
All the things are working on my G920F with the G925K OE6 ROM so far!
[Galaxy S6 Original Android Development] ktoonsez:
AWESOME!!!!!!!!!!! Myself and g.lewarne are loving this and on the first release to boot!!!!!
[Galaxy S6 Original Android Development] edgarf28:
Nice work guys!

Does this kernel also work on the T/W8 models? When using the in call audio fix (or on an T/W8 ROM)
[Galaxy S6 Original Android Development] ktoonsez:
Yes it will, they can flash your ROM, plus the ROM patch then my kernel :good:
[Galaxy S6 Original Android Development] LuigiBull23:
That's right. I'm on your OE6 build as we speak and it's been running great!! :thumbup::thumbup:
[Galaxy S6 Original Android Development] middleearth1010:
I had flashed everything running fine. No problems here I have noticed yet. KT I wonder if there was a way for u to write code to boost gpu voltage so we could use 772 stable.
[Galaxy S6 Original Android Development] Cygnuss:
were can i download KTweaker app?
[Galaxy S6 Original Android Development] LuigiBull23:
It's in the zip.
[Galaxy S6 Original Android Development] Cygnuss:
Thanks, i though it would be a apk file. :good:
[Galaxy S6 Original Android Development] Docmjldds:
I was the user that posted the method to have in call audio work on International ROM installed on TMobile S6 Edge. Could NOT make this a go on the CarHD ROM that I posted using. Reinstalled the *other* kernel followed by the audio patch file and In call audio worked again. Just an FYI.....:crying:
[Galaxy S6 Original Android Development] g.lewarne:
im not entirely sure what you said?
[Galaxy S6 Original Android Development] Docmjldds:
In Call audio would NOT work on my TMobile Variant using the International CarHD rom using the Unified KT Kernel. I went back to Simple kernel and the In call Audio works. What I was saying is I believe I was the first user to get incall audio on the Tmobile S6 Edge to work, flashing an International F ROM. But to have it work correctly, I found out you could NOT flash the ROM, followed by kernel, followed by patch for audio at the same time prior to booting up. The ROM had to be flashed, then going back to recovery, I flashed the Simple Kernel for the S6Edge TMobile/W8 Canadien variant, then audio patch that was uploaded for the NON Edge S6 to patch International ROMs.

Hope my specificity helped. I didn't want to be kernel comparison directly on KT's thread. I posted over on the Tmobile S6 Edge General section specific Instructions under the heading International ROMs, how to flash an F ROM on the Tmobile variant to get In call audio working. I meant my Post to go to KT and incorrectly posted to Luigi.....Just assumed everyone here would get my drift. Sorry if I wasn't clear. In Call audio has been a major issue in the past to get International ROMs to work on SM-G925T and W8 variants.
[Galaxy S6 Original Android Development] -Mr. X-:
I chain flash my roms kernels and audio fix fine, not sure why you had to boot. but the audio fix requires no need to boot the rom first. The fix is just libs, binaries and firmware.
[Galaxy S6 Original Android Development] Docmjldds:
I know it makes zero sense that chain flashing doesn't work, but I have repeatedly tested this on the the CarHD ROM and yesterday on the Echoe V3 ROM. Both ROMs for the F International version, installed on my Tmobile S6 Edge. Both had no In call audio when I tried initially flashing the ROM, followed by flashing the Simple kernel, followed by flashing the In Call Audio patch....PRIOR to first boot up. But if I just flash the ROM, bootup and setup, then go back to recovery and flash the Kernel, then audio patch and reboot, In Call audio worked.

The only thing I have not tried is simply just Flashing ROM, then Kernel...boot up and setup the ROM, then back to recovery and ONLY flash the audio patch. I assume the latter would work since kernel is already on board.

Other users that initially said this doesn't work for them, had tried chain flashing at once. Then those users did it in steps, it then worked for them. So this was repeatable by others. Just reporting my results and what users either posted publicly confirming this, or a few PM messages that also confirmed this. I don't have anywhere near your expertise, in this field to understand the why this required a reboot, but that's the only way I get this to work, which BTW I'm totally ecstatic over.:good::good:
[Galaxy S6 Original Android Development] -Mr. X-:
I ran into something interesting last night with the latest flashify. IT does not deploy bash scripts properly. there fore does not deploy the audio fix properly. I could not get it to work for the life of me last night i had to do TWRP flashing for the test kernels i was running. Something has changed in the latest flashify version as it used to work.
[Galaxy S6 Original Android Development] Docmjldds:
Correct me if I'm wrong, but doesn't flashify hook into TWRP or CWM. I know it asks which recovery is on board. For that reason I just use TWRP, Specifically the V2 TWRP version that was used on the Thread involving the 5.1.1 leaked Firmware we all are waiting for, from Sammy
[Galaxy S6 Original Android Development] -Mr. X-:
You're correct, and i said flashify and i mean flashfire :/ my derp.
[Galaxy S6 Original Android Development] Docmjldds:
I thought that's what you meant to say :laugh:
[Galaxy S6 Original Android Development] jah2110:
Hi I have a question, wen I open the ktweker always have a poupup saing the values are north the same and thinks like that, I have to say yes or no? Thanks [MENTION=464050]-Mr. X-[/MENTION]
[Galaxy S6 Original Android Development] Alarand:
Is your profile in ktweaker set to apply on boot? Are you trying to use unsupported features? Kernel installed properly?
[Galaxy S6 Original Android Development] ktoonsez:
At least read the change log. #13 is of interest.
[Galaxy S6 Original Android Development] mcreego:
Thanks for your work. I use your kernel on Galaxy s5 and it rocks!!!! In the next updates could you think about implement savoca color control because the screen on s6 in really bad calibrated.

Thanks in advance and have a nice holiday:laugh:
[Galaxy S6 Original Android Development] barondebxl:
Works perfectly with the G920i as far as I can tell. Unfortunately I still have deep sleep from flashing twrp but not the kernel's fault
[Galaxy S6 Original Android Development] ktoonsez:
Awesome. I will add that to the OP. But one quick thing that some people forget to test is making a call, lol. Make a call and make sure u got audio in and out and then I will add to OP.
[Galaxy S6 Original Android Development] barondebxl:
Calls work
[Galaxy S6 Original Android Development] ktoonsez:
Awesome!!!
[Galaxy S6 Original Android Development] lehongwang:
i see 74% the s6 runs with 400mhz of cpu, this kernel can set the min cpu. but the kernel is stable enough???? thank you
[Galaxy S6 Original Android Development] ktoonsez:
Yes it's 100% stable
[Galaxy S6 Original Android Development] Hemant:
Hi can you make a kernel for SM-G9200 dual phone. Thanks.

Sent from my SM-G9200
[Galaxy S6 Original Android Development] reubenskelly1992:
Anyone else find the battery worse with this kernel?
[Galaxy S6 Original Android Development] koko115:
It,s compatible with s6 edge ?
[Galaxy S6 Original Android Development] ramon.nmgn:
Just use stock settings or do you recommend tweaked settings? If so, what settings u use or can i use best for battery life?
[Galaxy S6 Original Android Development] LuigiBull23:
No
[Galaxy S6 Original Android Development] lehongwang:
I just flashed this kernel, but I see no different, so what is this kernel for ??

Just for overlocking, set min, max CPU ??? nothing else ????

and need to set Ktweaker run on boot ????

thank you.
[Galaxy S6 Original Android Development] LuigiBull23:
The kernel is still very much in its early development stages. So for now just play with what is specified in the change log.
[Galaxy S6 Original Android Development] pamarakos:
Hi

Happy to see famous team (ktoonez, luigibull23) being around....I had a succesfull "living" with your kernel on my S5, just ordered S6 edge ....I know it's not supported yet....just remember to show some love of your usual love for it too:)

I believe hardware-wise they are the same?

I'm waiting with the same eager and anticipation your kernel as I'm waiting for my device:)

Thanks
[Galaxy S6 Original Android Development] pEksi91:
Does this work on the 925F?

Edit: nvm.
[Galaxy S6 Original Android Development] nflwideout86:
Do you mind if i share it publicly in the sprint forums? Got too many people pm'ing me now lol
[Galaxy S6 Original Android Development] ktoonsez:
U can post it here in this thread. Don't post it in sprint or its gonna get confusing for people when I get back in town and start a thread dedicated for u guys. Guess I should have pmd that guy. That was my fault sorry about that.
[Galaxy S6 Original Android Development] skivnit:
Dammit thought ud go for the edge variant :( running ur kernel on s5

Sent from my SM-G900F
[Galaxy S6 Original Android Development] ktoonsez:
Just a heads up guys, been traveling for work, just got home tonight but heading out for work again for another 15 days. I will checkin here and there but wont have time for much till this crazyness is over.
[Galaxy S6 Original Android Development] -JFK-:
(Already posted in XtreStoLite thread but can be more usefull there...)

About touch screen sensitivity :

I have read there that they have found the "problem" of sensitivity problem near the screen bezel.

http://www.phonearena.com/news/Samsung-Galaxy-S6---S6-edge-suffering-from-touchscreen-issues_id66897

On the next screen shot I have test it by swipe from the bezel to the center of screen and we can see that there is a 4 to 5 mm "blank" area.

That's probably why I have problems to pull down the status bar and keyboard letter near the bezel...
[Galaxy S6 Original Android Development] -JFK-:
Sorry forget the screen shot
[Galaxy S6 Original Android Development] ktoonsez:
When I get some time down the road I will look to see if they included the edge code and flags like on previous phones.
[Galaxy S6 Original Android Development] -JFK-:
Thanks.

Have you already noticed that?
[Galaxy S6 Original Android Development] ktoonsez:
They still have not made the s6 for my carrier yet. I have been watching just about everyday for a release but nothing yet.
[Galaxy S6 Original Android Development] jah2110:
Hi, why when I open ktweker all the times a poupup windows soy this to mi? And how can disable? Thanks
[Galaxy S6 Original Android Development] LuigiBull23:
Are you setting a screen off governor and scheduler?
[Galaxy S6 Original Android Development] jah2110:
Yes! Thanks for quick replay
[Galaxy S6 Original Android Development] LuigiBull23:
Don't touch those. There's a reason it displays "Unsupported kernel, file not found" underneath them. They haven't been added yet.
[Galaxy S6 Original Android Development] jah2110:
OK! Minimun cpu i van touch? What is the minimum speed for screen of? Can i use set cpu for taht task?Thanks and now working fine :)
[Galaxy S6 Original Android Development] LuigiBull23:
You can play with the Min CPU. The minimum for screen off is the same as your selected scaling Min. The max CPU however CAN be changed for screen off.
[Galaxy S6 Original Android Development] jah2110:
OK I got it! And for low batery can I use set cpu because said not supported.
[Galaxy S6 Original Android Development] LuigiBull23:
No. It won't make any difference. All the features are kernel coded so anything that isn't currently supported by the kernel cannot be used in Ktweaker or any 3rd party app.
[Galaxy S6 Original Android Development] jah2110:
Ok! Thanks for the info and fast response!
[Galaxy S6 Original Android Development] -JFK-:
[MENTION=4325945]ktoonsez[/MENTION]

Don't loose time on touch screen problem...

-in dialer type *#2663#

-TSP firmware update (general)

You should see "PASS"

That have solve my touch screen problem...
[Galaxy S6 Original Android Development] SWTR:
When I enable LED Fade Mode. The LED doesn't fade, so it makes no change.
[Galaxy S6 Original Android Development] LuigiBull23:
It does work. Call or email yourself and you will see. You must have some 3rd party app overriding your LED settings.
[Galaxy S6 Original Android Development] dandroid13:
What about this one?
[Galaxy S6 Original Android Development] daffie:
I was just wondering what others are using as read-ahead value...stock (256) or 512/1024?
[Galaxy S6 Original Android Development] -JFK-:
2048 for me!

You can download an app to bench your SD and see the difference ;)
[Galaxy S6 Original Android Development] daffie:
Cheers will try your setting.

Did some benchmarks on settings 256 - 4096...no dicernable differences :)
[Galaxy S6 Original Android Development] Darktitor:
Is it possible to install it without voiding my warranty?

Thanks guys

Envoyé de mon MI 4W en utilisant Tapatalk
[Galaxy S6 Original Android Development] -JFK-:
Hello,

I haven't try but it should work with fastboot.

http://techbeasts.com/2014/01/05/useful-adb-and-fastboot-commands-and-how-to-them/

->fastboot flash boot bootname.img
[Galaxy S6 Original Android Development] chasse5594:
Can I flash this kernel with TWRP?
[Galaxy S6 Original Android Development] Gilg@mesh:
yes
[Galaxy S6 Original Android Development] Darktitor:
Is it like flashing with Odin?

Envoyé de mon MI 4W en utilisant Tapatalk
[Galaxy S6 Original Android Development] jah2110:
[MENTION=5082757]LuigiBull23[/MENTION], why when I change cpu voltage cpu1 and cpu2 and load stock kernel Nathin change? Are the same values for defoult? Thanks
[Galaxy S6 Original Android Development] Gilg@mesh:
do you press APPLY after you load stock voltage?
[Galaxy S6 Original Android Development] jah2110:
Of course mate and the values dont change... are the same.
[Galaxy S6 Original Android Development] -JFK-:
No.

You have to download fastboot and use command line.
[Galaxy S6 Original Android Development] dandroid13:
[MENTION=4325945]ktoonsez[/MENTION] it rebooted just after the screen timeout lol.
[Galaxy S6 Original Android Development] ktoonsez:
Too small again. File should be at least 500k. So won't help :(
[Galaxy S6 Original Android Development] dandroid13:
It has 1MB, just unzip it. :p
[Galaxy S6 Original Android Development] ktoonsez:
Cool. Try to look next week when things calm down at work
[Galaxy S6 Original Android Development] dandroid13:
Another one, this time after locking the phone. It seems to be completely random.
[Galaxy S6 Original Android Development] middleearth1010:
I can confirm it has happened to me the first time today. Using the one posted on the 6th.
[Galaxy S6 Original Android Development] dandroid13:
Yeah, that's the one I'm using here.

Enviado do meu Galaxy S6
[Galaxy S6 Original Android Development] xXWeresXx:
do you have the stock kernel as flashable??
[Galaxy S6 Original Android Development] dandroid13:
Why are you asking this in every thread? Just download the firmware and extract the kernel.

Enviado do meu Galaxy S6
[Galaxy S6 Original Android Development] xXWeresXx:
i ask this in 2 kernel thread. Nobody pinned the stock kernel in his thread.

i don't test a kernel when i don't can flash back
[Galaxy S6 Original Android Development] dandroid13:
Like I said, just download and extract, it's easy.

Enviado do meu Galaxy S6
[Galaxy S6 Original Android Development] Darktitor:
Hi!

I have random reboot with this Kernel how can I help to fix it?

Also is there a way to disable the security notification?

Thanks

Envoyé de mon SM-G920F en utilisant Tapatalk
[Galaxy S6 Original Android Development] dandroid13:
Post last_kmsg here, after the reboot.

Freeze the SecurityLogAgent app.
[Galaxy S6 Original Android Development] santiargy:
Has anyone tried this on the 920FD?
[Galaxy S6 Original Android Development] riirezende:
Man your Kernel its the best on the XstreStolite.

But random reboot its so bad.

Please fix it!

Thanks for your work its so good