[KERNEL] [G800F/M/Y] Spookcity_Kernel-N (For all 7.x custom ROMS)

a-dead-trousers

Senior Member
Jul 28, 2016
220
119
43
New test build up. Hopefully some of these random reboot issues are fixed,fingers crossed. Download Here
Hi.
The stats "no data connection" and "no or unknown signal" inside BetterBatteryStats are back again accompanied with a "heavy" battery drain (dropped from around 4 days to less than 3 days)
With 4.0 and 4.0a everything was fine so for the time being I'll revert to 4.0a .
I'm a "not always connected" user so to reproduce this you need to deactivate wifi and/or mobile data.
wkr ADT
 
Last edited:

spookcity138

Senior Member
Nov 9, 2015
1,828
2,452
153
Eindhoven
Hi.
The stats "no data connection" and "no or unknown signal" inside BetterBatteryStats are back again accompanied with a "heavy" battery drain (dropped from around 4 days to less than 3 days)
With 4.0 and 4.0a everything was fine so for the time being I'll revert to 4.0a .
I'm a "not always connected" user so to reproduce this you need to deactivate wifi and/or mobile data.
wkr ADT
Thanks for the feedback. This is very weird and I can't explain why this would be. The only difference between v4.0a and v4.0b is that I reverted 2 commits. Both related to HZ and both with very small changes code wise. There should be no reason for this issue. So I'm at a loss.
I guess you don't have the random reboot issue with v4.0a? I did and I can say the last test build,in 2 days of testing has seemingly solved that for me.



Sent from my SM-G800F using Tapatalk
 

Panzerknakker

Senior Member
Jan 17, 2017
116
262
83
Never had any random reboot with 3, 4, 4a or 4b.
Nevertheless would be happy to see the git repo updated, to understand what I flash.
Thanks for your work.
 

a-dead-trousers

Senior Member
Jul 28, 2016
220
119
43
I guess you don't have the random reboot issue with v4.0a?
nope. never had.
If I remeber right the issue with "no data connection" and "no or unknown signal" first occured after you introduced "TCP congestions" (2.0) and was gone after you "Added the rest of the TCP congestions" (3.0). I only mention these TCP related changes because "no data connection" and "no or unknown signal" sounds like a network related problem. ;)
 

spookcity138

Senior Member
Nov 9, 2015
1,828
2,452
153
Eindhoven
Never had any random reboot with 3, 4, 4a or 4b.
Nevertheless would be happy to see the git repo updated, to understand what I flash.
Thanks for your work.
Understood,I have chosen a rather strange way of releasing builds. I commit and push all changes to the main "1.6_OC" repo (which is exactly the same as the 1500MHZ version minus the OC) Then choose changes that I feel are large enough to warrant a test build and release these. I have however started to create local branches for v4.0 and what will be v5.0 (which is the latest test version 4.0b) I will push these to my git and share the links in this post in a few. This should give some idea of my changes per build and perhaps help others with figuring out some issues.

Version 4.0 - Github
Version 5.0 (test version 4.0b) Github

nope. never had.
If I remeber right the issue with "no data connection" and "no or unknown signal" first occured after you introduced "TCP congestions" (2.0) and was gone after you "Added the rest of the TCP congestions" (3.0). I only mention these TCP related changes because "no data connection" and "no or unknown signal" sounds like a network related problem. ;)
Thanks,that is possible I suppose. I'm not real sure. I just don't know why this issue now. I will look over my commits and try to see. Also,strange that some had no reboot issues with v4.0a and some did. Also strange,but oh well.
 
Last edited:

Friedensfurz

Senior Member
Jan 31, 2016
277
229
0
NRW
I'm also still facing random reboots with 4.0a and 4.0b, maybe it's a RR issue? I clean flashed everything and also flashed the official Marshmallow OTA a few days ago...
 

Knoose

Senior Member
Oct 19, 2016
81
34
0
Deventer
Hi.
The stats "no data connection" and "no or unknown signal" inside BetterBatteryStats are back again accompanied with a "heavy" battery drain (dropped from around 4 days to less than 3 days)
With 4.0 and 4.0a everything was fine so for the time being I'll revert to 4.0a .
I'm a "not always connected" user so to reproduce this you need to deactivate wifi and/or mobile data.
wkr ADT
I am very interested in what kind of settings you have if you manage to get 4 days out of a charge :) i use greenify and ds battery saver and get 2 days max.
 

spookcity138

Senior Member
Nov 9, 2015
1,828
2,452
153
Eindhoven
I'm also still facing random reboots with 4.0a and 4.0b, maybe it's a RR issue? I clean flashed everything and also flashed the official Marshmallow OTA a few days ago...
So strange how this issue doesn't effect everyone. This makes it more difficult to track down. I never had any reboots,well maybe 1 or 2 in months of using different versions of this kernel,until the last test version (4.0a). Since I reverted the HZ related commits I haven't had one in 2 days. Its just strange. Some obviously have had no issues,reboot wise,with any version,so I just don't know. I can't imagine that it's RR related. I know Oleggluk uses RR and while I haven't heard from him in a bit,he hasn't reported reboot issues to me. I will continue to try to look into this.

Edit:
Question: You did not have these random reboots with the last release on here v4.0?
 
Last edited:

spookcity138

Senior Member
Nov 9, 2015
1,828
2,452
153
Eindhoven
No, 4.0 worked fine. I only had really few random reboots, maybe one or two in total.. 4.0a and b crash after less than 5 minutes of use, in perticular when screen is locked for about 30 secs
OK,thank you. I'll have a look at the changes I've made since the last "official" release on here and see if anything jumps out at me that could perhaps be the cause. I'm still thinking something suspend related judging by the reboots occurring mostly with the screen off.

Sent from my SM-G800F using Tapatalk
 

a-dead-trousers

Senior Member
Jul 28, 2016
220
119
43
I am very interested in what kind of settings you have if you manage to get 4 days out of a charge :) i use greenify and ds battery saver and get 2 days max.
Wifi and/or mobile data only active when I need them (e.g. surfing the net).
Magisk & DozeGMS+ to put Google Play Services into doze.
GPS not active. Also deactivated the "Search" option in advanced (three dots) menu of location settings, otherwise it keeps wifi running even if it is turned off in the wifi settings.
BetterBatteryStats to check if everything not needed is turned off ;) Anything but "deep sleep" should be on a low value (~5% max.).
 
Last edited:
  • Like
Reactions: Knoose

MikeT.

Senior Member
Mar 29, 2017
122
44
38
I'd have also two or three reboots when screen off with v4.0 in last days. I switched to 4.0b at day of release, no reboots since this installation.
Battery drain is a little bit higher.
RRemix, clean installed after stockfirmflash, v4.0a not tested.
 

Danko Jones

Senior Member
Nov 17, 2013
171
111
63
I'd have also two or three reboots when screen off with v4.0 in last days. I switched to 4.0b at day of release, no reboots since this installation.
Battery drain is a little bit higher.
RRemix, clean installed after stockfirmflash, v4.0a not tested.
I also had no reboots with v4.0b for now. But I also noticed higher battery drain with newest version.
 

spookcity138

Senior Member
Nov 9, 2015
1,828
2,452
153
Eindhoven
I'd have also two or three reboots when screen off with v4.0 in last days. I switched to 4.0b at day of release, no reboots since this installation.
Battery drain is a little bit higher.
RRemix, clean installed after stockfirmflash, v4.0a not tested.
I also had no reboots with v4.0b for now. But I also noticed higher battery drain with newest version.
Thanks a lot for the feedback guys. It's very appreciated! I also have not had a reboot with v4.0b. So even if the 2 commits relating to HZ that I reverted are not fully to blame,they were definitely a big part of the problem. No clue why battery drain would be higher. I will have a look when I have some time.
 

spookcity138

Senior Member
Nov 9, 2015
1,828
2,452
153
Eindhoven
Wow. Core test v4b = 23.1 MB (24,257,091 bytes)
The core V5 = 10.0 MB (10,547,814 bytes)
Did I miss something? :D
Hah,nope,but apparently I did. The only reason it would be that size is because I zipped up something else with v4.0b. More then likely another kernel zip. Oops:D

Sent from my SM-G800F using Tapatalk
 

Friedensfurz

Senior Member
Jan 31, 2016
277
229
0
NRW
Unfortunately, my phone still crashes seconds after locking the screen - even with v5.0 :( Here are my logs. I'm on Selinux enforcing, does that make a difference?
 

Attachments

spookcity138

Senior Member
Nov 9, 2015
1,828
2,452
153
Eindhoven
Unfortunately, my phone still crashes seconds after locking the screen - even with v5.0 :( Here are my logs. I'm on Selinux enforcing, does that make a difference?
Very strange. Again.thanks for the log. It is really appreciated. There is nothing at all there however that would explain this. If you are able to get the last kernel log after this happens it may be more helpful. I posted how to do this a few pages back in this thread. I don't see why SELinux set to enforcing would matter,but who knows. I can easily build and enforcing kernel to test this.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone