yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] CommanderROR:
[MENTION=4325945]ktoonsez[/MENTION]

Do you know how the frequency and voltage scalimg compares between your kernel and faux kernel?

I think there must be a difference here, and that could explain the reboots. Look at the idle voltages (cpu/gpu) and how they react when sync or call happens. Also the delay times.

I hope you'll find something there...
[Galaxy S 4 i9505 Original Android Development] djsky2011:
[MENTION=4325945]ktoonsez[/MENTION] your reboot issue is definitely voltage related. I noticed that we all have different CPU groups which is why some experience reboots while others don't. The more power hungry CPU groups will respond negatively to being starved for power during due to drastic changes in voltage during scaling. I have never experienced reboots on faux kernel but even if I slightly under volt and make a phone call or use data the phone would reboot instantly. This proves voltage is definitely the problem
[Galaxy S 4 i9505 Original Android Development] scottyf79:
with some users not experiencing rr's then the voltages are a good shout.....although i had the same kernel with 2 of the roms - 1 rebooted & 1 didnt :laugh:

im looking at the install process now (wipes before rom and after rom, seperate kernel flashes etc)

all basic stuff but sadly thats my level.:rolleyes:
[Galaxy S 4 i9505 Original Android Development] SeraphSephiroth:
Still waiting for help please guys! I really want to use this kernel but I need my wifi too. Anyone have any help for me?
[Galaxy S 4 i9505 Original Android Development] Mussels84:
flash a newer modem, possibly one with 'wifi fix' in the name. what exact one you will need will vary based on your bootloader and country.
[Galaxy S 4 i9505 Original Android Development] SeraphSephiroth:
Are you able to help? I live in NZ and I just updated to 4.3 and rooted
[Galaxy S 4 i9505 Original Android Development] Mussels84:
if you're on a 4.2.2 bootloader (no knox) try the MGA wifi fix, and then the MKE modem. that worked for me in aus.

if you're on 4.3 bootloader, you'll need one of the newer wifi fix files. i dont know which ones specifically.

ALWAYS cold boot (remove battery, 3 button combo into download mode) then use odin to flash. never reboot into download mode for flashing a modem.

if you flash the wrong one you could lose sound, dont panic you can just reflash to another one.
[Galaxy S 4 i9505 Original Android Development] SeraphSephiroth:
I tried to flash the stock modem. Would this work normally? Also where do I find the wifi fix files? @_@
[Galaxy S 4 i9505 Original Android Development] Mussels84:
google will definitely find them. did for me when i had to find them yesterday. the problem you're facing is simple: you've updated the phone to a version that is too new for your modem, so you need a newer modem. make sure you use the cold boot method i mentioned earlier or it wont actually flash.
[Galaxy S 4 i9505 Original Android Development] SeraphSephiroth:
Okay thank you. I will update you with my results. Also the stock modem was from the stock 4.3 rom I updated to. I'm on the same rom, just rooted.
[Galaxy S 4 i9505 Original Android Development] sarbe:
What about my problem which is latest btu and latest modem and I have this problem?
[Galaxy S 4 i9505 Original Android Development] Mussels84:
then try other modems. not every modem works in every country, or with every bootloader. i can only advise you for what works on optus in australia, so if that helps you let me know.
[Galaxy S 4 i9505 Original Android Development] SeraphSephiroth:
BTU is open. Works on all except the US variants I think

---------- Post added at 02:19 AM ---------- Previous post was at 02:02 AM ----------

Is the wifi fix the NON-HLOS bin?
[Galaxy S 4 i9505 Original Android Development] Mussels84:
yes, although which one you need varies by bootloader. i know that i'm on 4.2.2 bootloader (no knox) and needed the MGA wifi fix - those on 4.3 can use newer.
[Galaxy S 4 i9505 Original Android Development] SeraphSephiroth:
No wifi. Flashed my NON-HLOS and its still not working. I think the kernel is corrupting my wifi drivers.

---------- Post added at 03:03 AM ---------- Previous post was at 02:31 AM ----------

Halp please. I can't get it working :/
[Galaxy S 4 i9505 Original Android Development] Mussels84:
sorry i cant help anymore than i have. its not a problem i've experienced myself.
[Galaxy S 4 i9505 Original Android Development] SeraphSephiroth:
OK thank you anyway
[Galaxy S 4 i9505 Original Android Development] exynoss:
this kernel will work with MIUI rom ?
[Galaxy S 4 i9505 Original Android Development] Jmldsilva:
Hi. This reboots have no pattern. If i use only 3g no reboots. No lte.. Bit last night i could not speak at phone. Rebooting all the time. Was my first call reboots... I was in a place with médium reception.. A few posta after this onde someone refers to power.. Maybe. Like OC. Could you ser that?
[Galaxy S 4 i9505 Original Android Development] dannyella:
In installer,double check to see if you installed framework and reboot..
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
All the OC stuff has not changed at all so that would be very odd if that was the cause. So 3G only just delayed the reboot? When you had the problem last night you were still on 3G only?
[Galaxy S 4 i9505 Original Android Development] Jmldsilva:
Last night i had data off. I was just making a phone call.

---------- Post added at 05:22 PM ---------- Previous post was at 05:10 PM ----------

With 3g in sleep mode i didn't have any reboot or navigation.. What d you think of this...

---------- Post added at 05:22 PM ---------- Previous post was at 05:22 PM ----------

With 3g in sleep mode i didn't have any reboot or navigation.. What d you think of this...
[Galaxy S 4 i9505 Original Android Development] dannyella:
Hi all, sorry for OT noobish question

I'm on cm 11 with KT kernel..would it be okay if I just flashed next nightly over previous as I usually do with any changes to CM? or do I need to wipe all because of KT kernel? :confused:
[Galaxy S 4 i9505 Original Android Development] soyusado:
Flash the ROM as you usually do then flash the kernel, keep in mind that you need to wipe cache and dalvik cache after the flashing.

Cheers.
[Galaxy S 4 i9505 Original Android Development] LuigiBull23:
You can but you'll need to reflash the kernel as flashing the ROM will wipe the system partition, which replaces any currently installed kernel with the default CM kernel. Just wipe both caches like you normally would when flashing.
[Galaxy S 4 i9505 Original Android Development] Advancer:
After reading about the 3G/LTE theory, I put my phone on WCDMA only and not had a reboot since (not that I know of - I try to keep an app running, to see if it's gone). That's been 7 hours now. Also put it on charge, and not seen the usual reboot yet either. So I do think I put my money on the 3G theory rather than the voltage that is also running around. But maybe it's a combination of both?

I'm running latest Dandroid Google Edition with default kernel.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Thanks for testing that, I was hoping you would chime in. Looks like it is LTE to me. You try making a call in 3G only mode?

EDIT:

Forgot to ask if you are on TMO version or INTL? Could you test INTL if you are on TMO?
[Galaxy S 4 i9505 Original Android Development] Advancer:
I'm on Dandroids ROM, link in signature. Not completely sure what that one is, but can always put Jamal's back in if you want. 3G calling is just fine, I have one running now on test with the wife (Her: Why are you calling me? Me: Just answer and don't hang up!) :P
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Well that is some good news. What I was asking was are you using the TMO or INTL version of my kernel, maybe you missed out on the day we were testing TMO kernel on any INTL ROM.
[Galaxy S 4 i9505 Original Android Development] Advancer:
OK I'm installing this one now and will see how it behaves on 3G only!
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
No need to test that one, I want you guys on the INTL version if at all possible. So all your 3G testing was on the INTL kernel of mine right?
[Galaxy S 4 i9505 Original Android Development] Advancer:
I was running on whatever default kernel Dandroid had I'm afraid. But installed the KT-SGS4-KK4.4-TWGE-INTL-12.05.2013B.zip now and will test again.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
LOL, ok, ya that was faux kernel. He had to since its such a mixed bag of people that have mine working.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Are you on cm11 from today? :)

I hope we get GE 4.4.1 in a week or so. Perhaps it solves those reboots...

Gesendet von meinem SGH-M919 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Yes running CM from today. GE 4.4.1 is already out. Dont see how a camera upgrade will stop reboots on GE.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
What? There's only a GE 4.4 by now. Official 4.4.1 is only for nexus now. 4.4.1 has many changes under the hood (bugfixes!!).

Gesendet von meinem SGH-M919 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
99% sure Danv has already merged in 4.4.1 and yes its JUST a camera upgrade with very little bug fixes like I said for GE that is.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Changes from Android 4.4 to 4.4.1

https://funkyandroid.com/aosp-KRT16M-KOT49E.html

Gesendet von meinem SGH-M919 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Yep, all useless for mach-msm. Why do you think it took 2 hours to merge in 4.4.1 in CM 11.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Hows it going so far?
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
I think framework and base and chromium and so on changes are rom changes for every hardware.

Gesendet von meinem SGH-M919 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] Advancer:
No reboots in standby, no reboots while charging - this is something new! :D
[Galaxy S 4 i9505 Original Android Development] Jmldsilva:
Hello ktoonsez i am using the internacional i9505 and no reboots in 3g

Bit i made some calls and reboot.

---------- Post added at 07:55 PM ---------- Previous post was at 07:44 PM ----------

But have you tried to make An phone call
[Galaxy S 4 i9505 Original Android Development] Advancer:
Yes, I've tried calling the wife's phone, but not any long calls.

Edit: Did another 30 min call, still no reboot! :D
[Galaxy S 4 i9505 Original Android Development] Jmldsilva:
Goood.. This is new To me. What kernel are you using?
[Galaxy S 4 i9505 Original Android Development] Advancer:
kt-sgs4-kk4.4-twge-intl-12.05.2013b
[Galaxy S 4 i9505 Original Android Development] Jmldsilva:
Ktoonsez. Do you think it could be power related? Or just coding? Were there any modifications in that section?
[Galaxy S 4 i9505 Original Android Development] Formhault:
What do you mean? It took 2 hours to merge because the changes were very small? :D

And... the whatever-they-fixed-camera-related... will it enhance camera for the S4 as well? Or it's JUST for the N5?
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Just a tiny amount of changes. Just added a few features to the camera, Danv already has it in his ROM.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
No power changes that I have seen other than the fact that they took away charging while phone is powered off.
[Galaxy S 4 i9505 Original Android Development] Jmldsilva:
What could it be?
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Still just guessing since it works on 50% of INTL phones and 100% of all the other variants.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
You running todays CM 11 now? Just wondering if anybody has found a way to get camera working. FC's when opening on todays.
[Galaxy S 4 i9505 Original Android Development] MrJiM:
I'm on latest noobdev cm 11. But I don't use stock camera app. Snap camera works well for me.

Btw probably little late. But I just discovered auto sync pics to Dropbox option. Hahaha
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Not sure if you AOSP guys noticed but GPU governor "ondemand" and "simple" both now go to 128 consistently during idle for 4.4 and 4.4.1. Thought you guys would enjoy that!!!!!!!!!!!!!!!! :D :D :D :D :D :D :D :D :D :D
[Galaxy S 4 i9505 Original Android Development] override182:
Guess it renders the optional function of dropping GPU clock during screen off useless? Well great news but I hardly notice any impacts on battery since 4.4 lol
[Galaxy S 4 i9505 Original Android Development] MrJiM:
See my battery life. :D

http://xdaforums.com/showthread.php?p=48247315
[Galaxy S 4 i9505 Original Android Development] Mussels84:
Ktoonz:

this may help you out. on the 4.4GE roms (echoe) with the faux kernel, i've found out that some of the reboots are triggered by background apps - you may be looking in the wrong place.

pretty much: i can fire up any 3d game (angry birds friends is what i've repeated the test with) and its all stable. i close it and its fine... but within 10 minutes of minimising hte app the phone reboots. i can wait 10 hours with no reboots and make this happen every time.

now that may be a faux thing, or even a rom thing - but its another angle for you to look into, with whatevers going on at idle with the screen off relating to background apps.
[Galaxy S 4 i9505 Original Android Development] djsky2011:
I over volted my device +37.5 and reboot problems vanished
[Galaxy S 4 i9505 Original Android Development] Mussels84:
very interesting
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Wow, that would be crazy. We got 5 others that can raise there voltages too? Did u do all steps or just lower one?
[Galaxy S 4 i9505 Original Android Development] Mussels84:
testing +50mv on my current test, which is firing up angry birds and leaving it idle (maybe the instability is related to the lower MHz/voltage settings?)

edit: 30 minutes so far, previously only managed about 15m. we might be onto something here :/

were the default voltages for 4.4ge lower or something?
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Could be a new gpu/driver blob voltage difference... Interesting

Gesendet von meinem SGH-M919 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Nothing, the only thing that was changed for things like that is a file called 8960ab (not even sure what it does since we have an 8064) and it raised the "l2_freq_tbl" (L2 cache) to use step 4 instead of 3.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
I'm using snap camera. Way better and it works! But I went back to cm10.2.

The horrible aosp browser performance are a good reason to avoid Android 4.4.x. And Chrome just sucks.

Gesendet von meinem SGH-M919 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] Mussels84:
that could well be it. if the L2 cache is clocking higher at the same CPU frequencies, without a voltage raise...

since the problems are mostly at idle, that would mean we have a higher clocked cache when we're at minimum MHz and voltages.
[Galaxy S 4 i9505 Original Android Development] rlorange:
8th build KT? Camera fine for me
[Galaxy S 4 i9505 Original Android Development] Mussels84:
ktoonzie: so i tested with +50mv and my 'games' at idle crashes are gone, but i still had a reboot during a call once the screen was off.

this is on the faux kernel and not yours, so please keep that in mind, there are similarities so i think its still a valid test.

can you make a modified kernel as a test with the L2 cache locked at step 3 instead of 4, and i'll happily test it out since i'm really, really thinking thats the problem.
[Galaxy S 4 i9505 Original Android Development] MattBooth:
[MENTION=4325945]ktoonsez[/MENTION]

Can you check out this?

http://xdaforums.com/showthread.php?t=2102986

I had over an hour of that wakelock in 4 hours yesterday. I've been seen some people with 5 hours screen time in over 24 hours but best i het is maybe 1 hour
[Galaxy S 4 i9505 Original Android Development] dannyella:
Is KT tweaker app compatible with ART?
[Galaxy S 4 i9505 Original Android Development] MattBooth:
Yes.
[Galaxy S 4 i9505 Original Android Development] simondavies315:
Can I use your kernel on the official OmniROM builds ktoonsez?

Edit: It doesn't work no cellular signal or Wifi
[Galaxy S 4 i9505 Original Android Development] s3icc0:
KT on

I just start using this kernel (I am on SlimKat 4.4.1) and for the beginning I start using KToonz settings, let's see how it behaves (anyway I am going to switch to my favourite smartass soon

is there a thread with user configs for this kernel?
[Galaxy S 4 i9505 Original Android Development] LuigiBull23:
Here you go. Just read OP then jump to posts #7 and 8. Any questions please don't hesitate to ask there

http://xdaforums.com/showthread.php?t=2393708
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Ill look.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
More than likely it is not since that file should NOT be used but we can try it.
[Galaxy S 4 i9505 Original Android Development] :
Hey ktoonz I installed latest kernel in latest OMNI and it appeared some flickering.
[Galaxy S 4 i9505 Original Android Development] aljo00:
Any download links ?
[Galaxy S 4 i9505 Original Android Development] s3icc0:
I flashed this kernel today (3hrs ago) and I already have 2 reboots with the ktoonz own settings .... i have the configuration below. ..

.... and now the phone reboots when loading kernel default settings ... after reboot it asked several time about my settings and 2nd trial reseting to default worked ...
[Galaxy S 4 i9505 Original Android Development] kantjer:
I'm now running this kernel on SlimKat 4.4. for the last 24h using the "Nightmare To Remember" settings from [MENTION=5082757]LuigiBull23[/MENTION] thread, not a single issue until now.
[Galaxy S 4 i9505 Original Android Development] s3icc0:
I will be running default settings until I will develop my own settings based on smartass ... At least I will have a chance to test each input properly
[Galaxy S 4 i9505 Original Android Development] Advancer:
KT-SGS4-KK4.4-TWGE-INTL-12.05.2013B.zip
[Galaxy S 4 i9505 Original Android Development] Advancer:
I had such high hopes for the 3G only deal, but it didn't last. I had two phone calls, and it rebooted both times during call. It has also rebooted once while charging as well. Attached is the kmsg from the reboots during calls. Maybe I should give the voltage a go as well.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Try the voltages cheat to see what happens :good:
[Galaxy S 4 i9505 Original Android Development] Advancer:
I'm not too familiar with the voltage/MHz tweaking. So I go into KTweaker - Voltages - CPU - and Add 25 Volts to all steps? Then another 5 up to 35?

DOH! And just now I noticed your Get last_kmsg buttons in your app! Haha I was pulling them manually with terminal window :D
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Yep, that is easiest way. Im about to upload the TMO and INTL version with the lowered L2 cache too.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Google Edition Test 12.09

INTL Version

http://ktoonsez.jonathanjsimon.com/sgs4/TWGE/KT-SGS4-KK4.4-TWGE-INTL-12.09.2013.zip

TMO Version

http://ktoonsez.jonathanjsimon.com/sgs4/TWGE/KT-SGS4-KK4.4-TWGE-TMO-12.09.2013.zip

Change Log

1. Reduced L2 cache from 4 to 3 (this matches the 4.3 GE kernel)

2. Cross our fingers!!!!!!!!!!!!!!!!!!!!!!
[Galaxy S 4 i9505 Original Android Development] Jmldsilva:
I will test this one, in a few minutes... i Hope this works....
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Tried Snap Camera trial, doesnt even open, says cant find camera. Thats one top notch app, lol.
[Galaxy S 4 i9505 Original Android Development] Advancer:
Great, ktoonsez!! :D Are the settings in KTweaker returned to default when installing new kernel? Should probably lower the Voltage to eliminate that from testing?
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
The test is setting L2 cache to a different level, nothing to do with voltages that you can touch or adjust. I'd go back to your normal voltages to see what happens.
[Galaxy S 4 i9505 Original Android Development] charli:
I wish I could test it but I'm at work until late today. I'm really looking forward to your kernel working in GE roms.

Thanks for the hard work ktoonsez!
[Galaxy S 4 i9505 Original Android Development] ChesterZZ:
Rebooted in 2 mins, not charging :-/
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Which one, there is 2 of them?
[Galaxy S 4 i9505 Original Android Development] ChesterZZ:
The International version, I'm on dandroid 4.4
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Then load TMO version :good:
[Galaxy S 4 i9505 Original Android Development] ChesterZZ:
Just had another reboot when trying to turn on the phone after 2 mins. Will try the TMO version.
[Galaxy S 4 i9505 Original Android Development] Jmldsilva:
Don´t give up Ktoonsez! we all thanks your effort on this! in the logs what is the last thing that phone do before reboot, and what is similiar in all logs before the shut down..? this is some help of mine, because i don´t understand much.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Im still trying. The problem is it is coming from the ROM not the kernel, that why its been so hard. It is doing something that the kernel just cant handle due to whatever differences there is in the INTL version versus the America's one.
[Galaxy S 4 i9505 Original Android Development] Jmldsilva:
i understand, because this problem is happening in all GE created Roms, in AOSP base everythings works fine. and Jamal did he said anything about your thought. ?
[Galaxy S 4 i9505 Original Android Development] droggen:
I also bet on the voltage issue. not a difference in modem (that just exacerbates the problem by eg drawing more current with one phone variant).

reboot due to brown out detect behaves exactly as we experience.

from my experiments, I could undervolt by .1V on faux kernel Jamal 4.3, without issue.

doing the same undervolt on 4.4 on faux or ktoonsez kernels give immediate crash or reboot.

likely the function mapping desired voltage to the commands send to the voltage regulator changed. typically you have hexcode=(v-offset)*scale. it could very well be the scale or offset were changed to accommodate new CPUs, such as the snapdragon 800.

this means that although we request x volts, we get something lower.

it seems to me the step=3 vs step=4 highlighted by another poster could well be were the problem lies.

best
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Trial only works with Internet disabled...

Gesendet von meinem SGH-M919 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] ChesterZZ:
Well the TMO kernel definitely works longer than 2 mins.

EDIT: Just rebooted :-/

EDIT2: Tried to overvolt and it rebooted again... I have no issues like this with faux kernel.
[Galaxy S 4 i9505 Original Android Development] droggen:
on an additional note there are many voltages in a board: CPU, ram, cache, peripherals, gpio voltages etc.

my suspicion is Samsung preparing the drivers to be snapdragon 800 ready (as that's the new s4, coming out).

cheers
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
As I have mentioned, no voltages were changed in the merge. Im 99.99999% sure it is the data, they must have removed support for the Euro frequencies like Danv and me where talking about. It is something very very deeeeep thats for sure.
[Galaxy S 4 i9505 Original Android Development] ChesterZZ:
Anything else you want me to test?
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Probably not, we have already verified that everybody that turns off LTE can go pretty much a whole day without reboots. So that test is pretty much done. Nothing else I can think of.