yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
Ok.., So here is the deal.

It seems to be a combination of Bluetooth AND YouTube.

Either alone doesn't seem to trigger the bootloop, but together it does.

I was live logcat'in when I triggered it (attached)

Lets see if this helps any ;c) I know your probably at work so here some of the failure.

I/ServiceManager( 198): service 'sensorhubservice' died
I/Netd ( 8233): Netd 1.0 starting
W/InterfaceController( 8233): Warning (Cannot load library: load_library(linker.cpp:746): library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
D/SensorHubService( 8234): nuSensorHubService starting...
I/ServiceManager( 198): service 'media.audio_policy' died
I/ServiceManager( 198): service 'media.transcoder' died
I/ServiceManager( 198): service 'media.audio_flinger' died
I/ServiceManager( 198): service 'media.player' died
I/ServiceManager( 198): service 'media.camera' died
D/AndroidRuntime( 8235):
D/AndroidRuntime( 8235): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 8235): CheckJNI is OFF
D/AndroidRuntime( 8235): setted country_code = USA
D/AndroidRuntime( 8235): setted countryiso_code = US
D/AndroidRuntime( 8235): setted sales_code = SPR
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Now I'm completely lost guys.

One of testers had boot loop with Highway rom.

I flashed rom and my v0.3.0 kernel.

Let phone boot and than flashed 0.3.1.

Phone booted just fine. Running it for over 2 hrs now and have no reboots.

Did build kernel for international model gti9505 and got a tester for it.

Phone booted without problems. Did run some tests.

Run for about 2-3 hrs. No reboots. No looping.

????
[Sprint Samsung Galaxy S 4 Original Android Develop] Doctor_XXX:
Nothing good to report here. Running stock MDL, with your kernel, and CrossBreeder...that's about it. Everything works nicely on v0.3.0, but I get immediate boot loops on v0.3.1. Is 0.3.1 really 2+ Mb smaller than 0.3.0?
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
Sorry Agat. I even went back and verified the md5 and downloaded again to be sure. It seems to be bluetooth related. I'll see about causing it to freak out again tomorrow and do another logcat. Is there anything else I can do? I've got an ubuntu devbox with the sdk and build environment setup, so if there is something that'll help let me know sir!
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Yes. It's about 2 MB smaller. I did change compression rate from GZIP to XZ. That's it. Just a different compression.

You can get my source form my git (link is in op) and try to build kernel yourself. May be do some tweaking or editing.

Over this long weekend I'll go back to my 0.3.0 source and start all over again.

But this time I will have to release a test kernel for every edit to see what is causing all this problems.

What confuses me most is that I don't get boot loops or any other problems.

We reboot I still can understand that we might have a different usage. For instance I don't have a bluetooth device so I'll never know how the kernel behaves with blue tooth. But boot loop right of the box I can't understand.

Why that never happen to me.....?????
[Sprint Samsung Galaxy S 4 Original Android Develop] likearaptor:
Agat,

I tried running the 0.3.1, I don't think I got the boot loop. What mine would do was it would boot I could do about 10 seconds of work and then it would freeze. I could turn the screen off but then the screen wouldn't come back on. I tried to uninstall many different cpu/systerm tunning apps thinking that maybe one of them was causing issues but still nothing. I then tried to restore to an older backup/kernel but for some reason my phone kept acting the same way. I should have gotten some logs pulled but I needed the device for work immediately so I hurried and downloaded the Google Play edition of the S4 and have been running that for today. I will wait a couple of days to see what I get battery life out of that ROM and then I will try to apply your kernel again (after I create a nandroid backup). I'm sorry I couldn't report back any positive updates.
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
Dunno about the boot loop out if the box as I've never seen that either. Where is the dmesg kept and I can pull a running live log on that and see if there is a panic.

Ps. I'm not a programmer. I've cloned your git in the past but pulled the wrong branch. I'm hesitant to compile and report issues from it since it's likely MY fault (the no wifi issues I saw for example, was because I pulled the i9505 branch)

I will do whatever you need me to do testing wise as long as we both are clear on my limitations! :D
[Sprint Samsung Galaxy S 4 Original Android Develop] daniel4653:
You guys with WiFi and Bluetooth problems. Idk what you guys are doing, I've had no problems with both.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
When you do statements like this you should say what rom are you running and what version of my kernel......:D
[Sprint Samsung Galaxy S 4 Original Android Develop] daniel4653:
Haha, sorry Agat.

Stock rooted MDL deodexed with no scripts or mods at all. With V. 3.1 of Agats kernel. Stock frequencies.

I played 1 hour of music through Bluetooth speakers and made a 5 min call using my Bluetooth headset. Had no problems with it. And WiFi has worked without any problems..
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
So you're running my 3.1 and it works for you??

At least it makes 2 of us....

Good to know I'm not the only one who is able to run that kernel.
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
The hot reboots killed my system today so I had to restore to fresh mdl backup so we'll see. Agat has my logs, so something is happening, we just need to find out what. I'd be ecstatic if it is something local to me since he has halted Development until it's resolved. But I'm not the only one having issues.

I don't have wifi issues. I was explaining to Agat the issue I had in the beginning when I yanked his i9505 initramfs build rather than the jfltespr branch.
[Sprint Samsung Galaxy S 4 Original Android Develop] daniel4653:
Yes correct. I honestly have not ran into a single problem from my two days of running it. Haven't had a single freeze or random reboots. I'm assuming its because other users are running non stock Roms ?
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I'm running Highway rom now for testing and still don't have any problems.

No freezes no reboots.

But I don't have any CPU control apps except for Kernel Tuner.

No mods or tweaks.

No init.d scripts..
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
I was/am running stock, odex'ed MDL.
[Sprint Samsung Galaxy S 4 Original Android Develop] xchampx13:
0.3.0 version I am having no problems with so far, thanks! Also thanks for telling the fix for the Detection Information :)
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
Stock mdl with no oc/uv (no tuner software at all installed in fact) and still had a reboot loop tied to Bluetooth.

Reverting to 0.3.0 no issues. For those who aren't having any issues keep in mind this is STOCK mdl from 1 click root Odin file and the 0.3.1 kernel. *shrug* I did not only a factory reset but a clean install as well. at this point, I'm going to stay at 0.3.0 for now unless anyone had a better testing Methodology for me to try.

Sorry Agat. Let me know.
[Sprint Samsung Galaxy S 4 Original Android Develop] RegnierD:
Since I've seen reports of issues on 0.3.1, I figured I'd jump on board and see what I could find regarding issues.

None! :D

I'm running this on the Google Experience rom (which apparently uses TW kernels o.O) with absolutely no hiccups. I've even set myself to the extremes on CPU frequencies which is not my usual setup. Using intellidemand governor (which is HTC's original code for those who don't know) set to bias powersave at 1 and row scheduler. Used Bluetooth headphones for music and YouTube. If you want more info, let me know!
[Sprint Samsung Galaxy S 4 Original Android Develop] DarkEye45:
I've been using v0.3.0 for four weeks now with no problems. Decided to try v0.3.1. Did not go so well.

*Downloaded v0.3.1 from XDA app on SG4

*Rebooted to Recovery and did a Nandroid backup

*Wiped cached

*Wiped Dalvik cache

*installed AGAT_GS4_v0.3.1.zip file

*Reboot phone from recovery

*BOOT LOOP - would not get past the Samsung logo and would reboot. Had to hold down volume up to get back to Recovery

Got back into Recovery

*installed AGAT_GS4_v0.3.0.zip file

*Reboot phone from recovery

*SG4 booted fine and is working again

Device: Samsung Galasy S IV (Sprint)

ROM: Stock

Kernel: Agat's MDL

Baseband/Firmware: MDLRunning Stock Rom
[Sprint Samsung Galaxy S 4 Original Android Develop] EPayne123:
Sometimes with kernels on our phone if we get stuck at the S4 boot logo we need to the device once or twice for it allow itself to boot properly. I didn't have any issues installing 0.3.1
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
I had no issues installing 0.3.1 either, it's just after. Maybe I'll live log again and see what's going on. And suggestions on what options to logcat Agat?
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
No as of right now.

I'm running some tests here (and in a back ground).

Trying to figure out what exactly causing problems.
[Sprint Samsung Galaxy S 4 Original Android Develop] PiggySmalls:
Agat, the version you sent me last night is running great. Had the one random restart this morning, but no problems since then. Running great!

Sent from my SPH-L720 using Xparent BlueTapatalk 2
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Thanks for feed back.

Hopefully I found the problem..
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
Yeah that's good news. The couple of reports of bluetooth issues with 3.1 made me stick with 3.0 which has been working fine.
[Sprint Samsung Galaxy S 4 Original Android Develop] PiggySmalls:
I don't know if this is a kernel issue, but I just tried to open Viper4Android and got a black screen. All of a sudden my phone has forgotten a lot of settings like keyboard preference.

Sent from my SPH-L720 using Xparent BlueTapatalk 2
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
0.3.2 has the same issue Agat, I just saw the PM

Logcat attached. I did a logcat -b events -b system -b main * to catch everything. Set it to loop and left it logging thru the initial reboot and the next subsequent hot reboot.
[Sprint Samsung Galaxy S 4 Original Android Develop] RegnierD:
I've put the 0.3.2 kernel through the paces since you've sent me the link, Agat, but I've yet to have any hangups. Frequent Bluetooth usage, tried most governor and scheduler combos, but try as I might the kernel holds up. Is there maybe a link to hardware revisions and the kernel problems? Your voltage tables aren't too conservative, so I don't think that would be the problem. I'm stumped, this has been the best version yet for me. I've got a launch day GSIV.

Tapatalked from my GSIV
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I guess Hardware version is the only thing we didn't compare yet.

I've got my GS4 at launch day as well.

May the the latter phone has a different hardware version?????

Edit: My hardware version is L720.08
[Sprint Samsung Galaxy S 4 Original Android Develop] PiggySmalls:
I don't have a launch day phone. Hardware version says L720.08. Is that what you need?

Sent from my SPH-L720 using Xparent BlueTapatalk 2
[Sprint Samsung Galaxy S 4 Original Android Develop] RegnierD:
I've got the same hardware version as you. I also noticed in your kernel version that you use Mint. That's my favorite flavor of Linux!

Tapatalked from my GSIV
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
L720.08 as well
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
Same here too.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
You forgot to mention if kernel works for you...;)
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
Haven't got it. I'd love to try it.
[Sprint Samsung Galaxy S 4 Original Android Develop] PiggySmalls:
0.3.2 is still running great for me. But I'm not running any kind of control program on here. Do you have any recommendations as to what program to use, and possibly a preferred settings list? Or is your kernel better left alone? I don't really need high battery life as I'm always around a charger.

Sent from my SPH-L720 using Xparent BlueTapatalk 2
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
There is an app called S4 Tweaker on the market.

It calls alpha version but I've been running it as cpu control app for about 3 weeks now.

I've part of prerelease tester group and so far it seems to work just fine.

You can try it. And it controls all 4 cores with one setting where all other apps controlling only core 0 and Kernel tuner you set frequency for each core separately.

That's the only app I'm using lately.

As for governor and/or I/O scheduler you should find your own setting and combination.

What works for me may be not what you're looking for.

My last run on 3.2 was 2 days 8 hrs with about 1.5 screen on time.

Running intelidemand/ondemand with sio...
[Sprint Samsung Galaxy S 4 Original Android Develop] daniel4653:
Ohhh Agat... There's new source for you to play with for Sph-L720 called MF9 :)
[Sprint Samsung Galaxy S 4 Original Android Develop] daniel4653:
Seee
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Thanks.

I just had 4 days long weekend so I think I can do a little work. :D

I'll download it tonight and compare it to MDL.

Let's see what changes (if any) Sammy has for us.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Did download MF9 and compared it to MDL source.

There is not a single line difference between those 2.

Most probably all changes and edits are in the rom not kernel.

I'll do some more testing tonight but I don't thing I missed anything.
[Sprint Samsung Galaxy S 4 Original Android Develop] EPayne123:
So S4 Tweaker is running well for you even though it is strictly meant for DreamKernel?
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Yes it does.

App was written for that kernel but it looks like it works with my kernel as well.

As I said I know the developer of the app and was part of pre-release testing.

If you have any problems with app there is an option to report bugs in it.

Just report your problems and developer will try to fix it...
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
Where is this app you speak of.I did a search but it was on my pjone
[Sprint Samsung Galaxy S 4 Original Android Develop] Highway 55:
it's in the play store.

S4 Tweaker
[Sprint Samsung Galaxy S 4 Original Android Develop] BigJPNut:
I found 0.3.1 kernel on your file host page...is this ok to use or should I wait for 0.3.2???
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
Every issue I ran into with 0.3.1 or 0.3.2 was Bluetooth related. Play with Bluetooth some
[Sprint Samsung Galaxy S 4 Original Android Develop] aneyboy:
Does smart scroll and dual camera work with this kernel?
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Dual camera??

Edit: Just found it and tested. Dual camera works. At least for a single shot. Didn't try it with video yet.
[Sprint Samsung Galaxy S 4 Original Android Develop] BigJPNut:
Does wifi work with this kernel on MF9? If so what version? Thanks in advance!

Edit: Well no bootloops or restarts. Everything working well so far on odexed mf9 except wifi wont turn on with 0.3.1 and 0.3.2 kernels.
[Sprint Samsung Galaxy S 4 Original Android Develop] TheTehk17:
AGAT! How have you been?

Finally upgraded from my Moment. Glad to be on the same phone as you.

Been running this kernel for the past few days and have encountered no issues so far. It runs great- reminds me of tKernel (which is still running on both of my Moments ;)).
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Wow!!

My kernels for Moment still in use???

It's been almost 2 years since I updated them...
[Sprint Samsung Galaxy S 4 Original Android Develop] BigJPNut:
Are you on MF9?
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
updating to MF9 now.

Will test kernels with it.

There are no changes edits to the kernel source tho.
[Sprint Samsung Galaxy S 4 Original Android Develop] TheTehk17:
Well nobody has really released anything else, and yours still works great, so... :p plus the Moment section is nearly dead anyway. I figure one or two more ROM updates for me and the candle will be out on that phone.

MDL
[Sprint Samsung Galaxy S 4 Original Android Develop] BigJPNut:
Check this out...

http://xdaforums.com/showthread.php?p=43430546
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
No wonder I wasn't able to find a single line difference with MDL source.

Will see what I can do about WiFi.

Without source hard to say tho..
[Sprint Samsung Galaxy S 4 Original Android Develop] BigJPNut:
Kt has wifi fixed on his kernel. So its possible...thanks a bunch!
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
For those of you who is running MF9 here is v0.3.3.

AGAT_GS4_v0.3.3.zip

I have tested it with MF9 and MDL.

WiFi was working on both.

Hopefully you guys can confirm this.
[Sprint Samsung Galaxy S 4 Original Android Develop] copticwalad:
I read that the MF9 Stock Kernel was quite good and I'm still currently on MDL with the AGAT 3.0 Kernel. Is there any obvious benefit to this 3.3 MF9 One? Is ExFAT 64gb card supported on stock and this anyone know?
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
64 GB exfat should be supported on this one.

I don't have 64GB card so I can't say for sue.

As for benefits you will have more options with this kernel.

More governors, more I/O schedulers, voltage control, CPU frequency control etc.
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
This newest one works great.ill test wifi later when I get home.
[Sprint Samsung Galaxy S 4 Original Android Develop] Westcoastking:
I have an issue im running instisic rom and 3.3 kernel and I downloaded the s4 tweaker from the playstore and it asks for root permission and it force closes doesnt wanna open up.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
It can be rom related as well.

You can use kernel tuner. It controls all 4 cores and you set the frequency for each one separately.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
If no one has problems with v0.3.3 may be I can post it in OP?
[Sprint Samsung Galaxy S 4 Original Android Develop] Doctor_XXX:
Might as well. It works with MDL and MF9 correct?
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Thanks for feed back.

There are not too many downloads yet and I was waiting for some info....
[Sprint Samsung Galaxy S 4 Original Android Develop] k2buckley:
I think that since it's not in the OP, a lot of people don't realize that it's been updated to work with MF9. I'd say go for it and put it in the OP!
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I'll do it now then.

Thanks.

Edit: v0.3.3 is up and running. OP updated link posted.

Kernel is updated to Linux version 3.4.49 and supports both MDL and MF9 based roms.
[Sprint Samsung Galaxy S 4 Original Android Develop] EPayne123:
I may attempt looking into it here soon. I will have to download the MF9 De-Odexed though unless I don't plan on deleting bloat because deleting bloat is so much more of a PITA if you use the Odexed version
[Sprint Samsung Galaxy S 4 Original Android Develop] :
All I gotta say is, why was I not using this kernel sooner?!:) Day #2 running great on Blu Kuban w/MF9 firmware. Much tks sir!!:thumbup:

jfltespr_BluKuban_AGAT_kernel_.0.3.3
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
Running 0.3.3 on rooted stock MF9. So far so good.
[Sprint Samsung Galaxy S 4 Original Android Develop] Highway 55:
Hey agat, have you been having FC problems with S4 Tweaker? Since updating to MF9 it FCs constantly.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I have same issue.

It looks like in MF9 they added some additional security features and I can't find SEAndroid in bloatware anymore.

So there are some real changes in the rom itself.

I did report the problem to app developer and he is looking into it.

The problem we have is that he has an international i9505 and he is working with it. So he can't really test for Sprint version of GS4.

I'm testing it for him and providing with dmsg and logcat's.

Hopefully he can fix it soon. :fingers-crossed:

For time being I'm using Kernel Tuner because it's the only other app that allows to set frequencies for all 4 cores.
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
Same here. On another note AGAT, the new kernel has helped with the battery life issues with the new MF9 rom.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
What battery life issue?

I've been on stock MF9 only about 1 min and flashed this kernel.:p

So I don't know much about stock kernel and battery life.
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
This is the battery life I was getting on stock. Even Crawrj has noticed similar results.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Doesn't look too good.

Hopefully you getting much better results with this kernel.

Best run I had with 3.3 was 2 days 8 hrs with 1.5 hrs screen on time. (didn't use phone much over the weekend).
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
Yeah. If your kernel doesn’t help I'm considering reverting to MDL.
[Sprint Samsung Galaxy S 4 Original Android Develop] roadrunnrr:
Bootloop on mf9 after installing. Went back to ktoonsez and booted Idk why it happened
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Total of 42 downloads and this if first post about bootloop. :confused:

What rom you one?

Do you have any other tweaks and/or scripts running?
[Sprint Samsung Galaxy S 4 Original Android Develop] roadrunnrr:
No mods at all and I'm in Stock deodexed mf9 I'm not saying it has anything to do with you but maybe some advice?
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I'll have to try deodexed MF9 myself.

This is how I installed MF9 on my phone while running stock MDL with crawj hotspot mode (no other tweaks or scripts):

1. Flashed full MDL stock tar file from this thread http://xdaforums.com/showthread.php?t=2277480

2. Copied MF9 update zip from same thread to root of my sd card.

3. Boot to stock recovery and applied update zip.

4. Reboot phone to system

5. Boot to download mode and flashed v0.3.3 boot.img (used Heimdall).

6. Reboot to system. Phone booted normally. No bootloop. No reboot.

7. Boot to download mod and flashed recovery.img (Heimdall). I'm using TWRP recovery I compiled myself.

8. Boot to system.

9. Reboot to recovery and flashed v0.3.3.zip file to have all modules flashed as well.

10. Reboot to system.

Did all that 3 times just to make sure everything works.

Running stock odexed MF9 with v0.3.3 now. No problems. No reboots. No hick ups...
[Sprint Samsung Galaxy S 4 Original Android Develop] roadrunnrr:
Weird I've done everything that way but went back to stock mdc let it update triangle away was on full stock mdl no mods no custom recovery then flashed noobnl's then the deodexed mf9 everything worked great then installed ktoonsez and it worked fine too.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
"then flashed noobnl's"

What exactly did you flash?

I'll try to replicate your steps.
[Sprint Samsung Galaxy S 4 Original Android Develop] roadrunnrr:
I went by crawj's instructions on the mf9 rooted thread might help if you read his instructions because I did it exactly like he described it. Thank you for your help dude
[Sprint Samsung Galaxy S 4 Original Android Develop] optimummind:
No problem flashing for me. Stock, odex, rooted MF9.