yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Tried couple of games myself.

yea. Phone is warming up but never to the point of turning off or rebooting.

But I think that's somewhat normal or should be.

We all have pc's and/or laptops and more we using them hotter they get.

On my laptop when compiling kernels or doing other stuff that are pushing cpu's I feel the heat as well

and my fan is running almost constantly.

Our phones don't have any fans to cool them down and if we use them with cpu's running on high frequencies

they will/should go warmer..

I think it's kinda normal..

But that's just my thoughts...
[Sprint Samsung Galaxy S 4 Original Android Develop] wilzard:
TY this is what I have been thinking as well and why I haven't been complaining.

I don't have ROM Toolbox or anything, so I assume it is using whatever defaults were set when I flashed the kernel. It works fine, and has never once rebooted due to heating.
[Sprint Samsung Galaxy S 4 Original Android Develop] P1_e85:
Flashed kernel earlier today and sd card wouldnt mount. Phone rebooted with Notification of safely able to remove sd card. Then I go to settings and click mount and I just get same notice. Wifi stopped working as well. I did reflash a fresh copy rooted mf9, with kernel
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Running stock rooted MF9 with 64GB ExFat formatted sd card.

Never had that problem. Same goes to WiFi.

How did you flash kernel?

What recovery are you using?

What filesystem SD card?

More info please..
[Sprint Samsung Galaxy S 4 Original Android Develop] jameztownbarber:
Im loving this kernel!!! Great work [MENTION=2953465]agat63[/MENTION]

**Team VeNuM**
[Sprint Samsung Galaxy S 4 Original Android Develop] P1_e85:
Im currently using ktoonsez kernel on mdc rom with mf9 modem. I flashed the kernel and rooted odex mf9 rom during same process. Used TWRP and which ever way the phone formats the sd card is what it is formatted to.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
In what order did you flash kernel and rom?

Why you talking about sd card formatted by phone?

Phone is not formatting sd card unless you manually do that.

Since your sd card and wifi are not working it looks like modules are not loaded or have conflict.

That can happen if you flash kernel and than rom especially if rom doesn't have a kernel packed with it.

Based on total download count I can certainly say that it's not a kernel problem but may be wrong

sequence of flashing.

No one has complaint so far about sd card and/or WiFi..
[Sprint Samsung Galaxy S 4 Original Android Develop] P1_e85:
It works. Running smooth, flash philz touch cwm and then flashed kernel.
[Sprint Samsung Galaxy S 4 Original Android Develop] churchey360:
Is there gonna be a new version for the 4.3 MJA update?
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Source is downloaded and ready to go but do we have a good working TW 4.3 rom to test it with?
[Sprint Samsung Galaxy S 4 Original Android Develop] churchey360:
You could test it with a stock rooted ROM. I'd love to try it but I don't wanna root yet until we can reset the Knox count.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
You mean MF9 stock rooted rom?

Because I don't like what I read about 4.3 so far.

Locked bootloader etc... Why is sprint walking the VZW path I don't understand.....
[Sprint Samsung Galaxy S 4 Original Android Develop] daniel4653:
Some people are on Stock rooted MJA. They did this with activating the Knox flag. But have a working recovery.
[Sprint Samsung Galaxy S 4 Original Android Develop] churchey360:
I'm pretty sure you can root MJA but just cant reset the KNOX count on the bootloader. I just don't how well it'll deal with flashing Roms or kernels. I seen someone that rooted and installed a new 4.3 TW ktoonz kernel and is working fine. I just don't wanna get stuck in a bootloop that I can't get out of.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I guess I'll have to reed much more about it before I dive into it..

I won't try 4.3 until I'm positive i can get back to 4.2 any time I want.

Kernel source is downloaded and I would look for stock boot.img to pull the ramdisk from it.

and build first kernel with the stock ramdisk.

I didn't have internet for about a week and as it looks I missed a lot in that week.

Now I have a lot of reading to do and a lot of catching up...

Edit: I think I'll wait before flashing 4.3. I don't like this "No, first of all this does not include firmware like the bootloader. Second of all, you cannot get rid of the Knox bootloader once it is installed. Not even with Odin."

So I'll wait before even trying anything....
[Sprint Samsung Galaxy S 4 Original Android Develop] churchey360:
I think once you update to 4.3 you can't go back to 4.2. If there was a unrooted stock 4.3 restore that had stock rom, modem, kernel, and recovery that you could flash with odin then I wouldn't care about tripping the KNOX count and would root right away.
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
That's true. You cannot downgrade from 4.3 I am not messing with it until they work out all the Knox issues. Took me too long to get this phone running great on MF9 to chance it. Plus, I'm in the process of moving and that is the priority right now. I can wait.
[Sprint Samsung Galaxy S 4 Original Android Develop] monty_python:
Agat if you are looking for testers for your kernal on the galaxy note 3 I'm your guy.. Hint hint
[Sprint Samsung Galaxy S 4 Original Android Develop] mattie_49:
Optimized settings anyone

I love this kernel just don't recall know what to set for a balanced mix of battery life and performance. Any help would be greatly appreciated.
[Sprint Samsung Galaxy S 4 Original Android Develop] churchey360:
[MENTION=2953465]agat63[/MENTION] im about to root my sprint s4 and install a custom recovery if you need anyone to test a kernel for the 4.3 update just PM me.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I'm still struggling with 4.3 source. No matter what I do my tester doesn't get cell or data signal.

And on top of it phone asks for sim card.

Source on sammies site is missing jf-spr defconfig file and I'm using one from previous source.

May be that's the problem. I don't know yet.

Unfortunately at this moment I still don't have a 4.3 kernel for testing. :(
[Sprint Samsung Galaxy S 4 Original Android Develop] churchey360:
Yeah thats fine ill just use ktoonsez kernel until you get it working because its the only kernel out for 4.3 so far lol i wonder how he got his too work then?
[Sprint Samsung Galaxy S 4 Original Android Develop] mattie_49:
No there is chronic, faux, All kinds to choose from
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Voltage table gives you opportunity to try to undervolt. That should give you more battery life.

Kernel source is getting cleaned, updated to newer versions etc.

If we assume that every new release/patch is fixing some bugs and does some improvements than yea.

It all this additions should give a better kernel in theory.

But ultimately you, as end user will tell me if you gaining something from all this additions.
[Sprint Samsung Galaxy S 4 Original Android Develop] Cloaker:
In theory, undervolting can give you better battery.
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
I'm not able to download 0.1.6 for some reason.
[Sprint Samsung Galaxy S 4 Original Android Develop] ChadH42:
Can't download.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Tried link twice in last 10 min.

Download starting without any problems. :confused:
[Sprint Samsung Galaxy S 4 Original Android Develop] likearaptor:
I was able to download it and apply the zip, works great. Thanks
[Sprint Samsung Galaxy S 4 Original Android Develop] Inline:
From my experience, undervolting can dramatically increase your battery life, you should always undervolt at small increments at a time to make sure nothing goes wrong.

On my S3, with ktoonez kernel, I literally was able to more than double my battery life with undervolting (went about 75mv under stock), using custom governors and schedulers, and an assortment of tweaks to both, i.e. Changing sampling rate, etc.
[Sprint Samsung Galaxy S 4 Original Android Develop] monty_python:
Still no word on how to back up your stock kernel?
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Didn't understand the question.

What you mean but "back up stock kernel"?
[Sprint Samsung Galaxy S 4 Original Android Develop] jdverley:
So has anybody been able to get rid of this? Im guessing it hass something to do with using a custom kernel.
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
When you do a nandroid, the boot partition is the kernel. It does not include the system files that go with a custom kernel, so a restore would have to be a system and boot restore. The stock kernel is around here on xda if you need it. Chances are you won't.

---------- Post added at 08:42 PM ---------- Previous post was at

---------- Post added at 08:45 PM ---------- Previous post was at 08:42 PM ----------

Yeah. Freeze seandroid.apk in system, reboot, profit.
[Sprint Samsung Galaxy S 4 Original Android Develop] jdverley:
What exactly is seandroid.apk for?

---------- Post added at 01:58 AM ---------- Previous post was at 01:56 AM ----------

Oh it's part of Knox isn't it. oh well I dont work for the government so...
[Sprint Samsung Galaxy S 4 Original Android Develop] jsmcmahon89:
Dev host down again?
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
Apparently it is. I wish there was a mirror.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Here is first attempt to add OC and UC to the kernel:

It's work in progress but I'm running it for over a day now:

AGAT_GS4_v0.1.7.zip

If you decide to use it please let me know how it works..
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
Hell yeah thanks man
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I see on my phone frequencies from 162 to 1944.

So very little OC for now but a lot of UC.

Along with UV it should give a lot of improvements to battery life.

But be careful with both UC and UV and don't make them as boot settings until you absolutely sure

phone is stable and working fine.
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
I will.im really glad your working on this kernel.i love options and for me I can't use the other guys kernel so yeah flashing now

Edit haha I can feel the power.seriously can not wait to see just how high of oc we can get
[Sprint Samsung Galaxy S 4 Original Android Develop] monty_python:
Got the answer already.. Thanks though
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
0.1.7 has broken something in the way the system sees the CPUs. Under 0.1.6 I can monitor the CPU state with CPU spy but under 0.1.7 I'm gettting odd or no readings. System Tuner was reporting all 4 cores offline while CPU spy was reporting no time in any state. Swapped back to 0.1.6 and its reporting again.

I keep gettting an error when editing this for more info. Will try again later

Under 0.1.7

CPU Spy Plus has an App test that comes up as all PASS, but it obviously isn't working right.

Odd also, its reporting 0.1.6 as the kernel version.
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
The newest release is running perfect. At -50 uc and oc at 1.94 I got 12 hrs of phone time.Keep up the good work agat63
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
Are you able to see cpu states? Is it reporting 0.1.6 or 0.1.7?
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
Let me check

Edit its showing that its v0.1.6 but I guarantee agat either forgot to change the version number so thats not a big deal and if im stock how do I take a screen shot,oys showing that im at 1.94
[Sprint Samsung Galaxy S 4 Original Android Develop] Mudavo:
Latest release running great. Thanks!
[Sprint Samsung Galaxy S 4 Original Android Develop] monty_python:
Anyone using ktoonez governer and having trouble with the phone waking up from deep sleep?
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
The issue isn't that I think he forgot to change the number, its that the monitoring tools can't read the CPU states.

If you can't monitor, mucking with the values is dangerous. I'm sure it'll get fixed, or he'll tell me its only me (which is kind of what I was hoping to check).
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
Try kernel tuner I can see what the cpu cores are doing.ive never used cpu spy.
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
I'll see. System Tuner doesnt see them either, which is what Agat recommends
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
Im not sure why you cant see them I can.i wouldn't lie to ya.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
You're right guys.

I didn't pay attention to CPU states.

Just checked it again.

CPU Spy showing all frequencies as not being used.

System tuner - shows list of all frequencies but 0 time in state for all of them.

Gotta go back to drawing board and try to figure out where did it broke.

Sorry for bad release.
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
Danm now I feel stupid.I wonder y kernel tuner shows it being used
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
Bad release? Didn't brick anything, so it isn't bad.

Odd thing is, CPU Spy Plus has its own internal test for being able to read the states and it passes all 4. Weird.

Will be waiting for the next iteration!
[Sprint Samsung Galaxy S 4 Original Android Develop] opz187:
Hey agat! You think it would be possible to add frandom module like this?...

http://xdaforums.com/showthread.php?t=2275470
[Sprint Samsung Galaxy S 4 Original Android Develop] ACoolGuy:
I second this.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
v0.1.8 is up and running.

Added auto root to kernel.

Now on every boot it will check if su binary is present. If not it will flash binary and superuser.apk providing root access.

If for any reason you loose the root wile running this kernel a simple reboot will give you root access again.

I've tried this on filly stock firmware including stock recovery and stock kernel.

Flashed tar file with odin and upon reboot I had full root access.

This can be considered a new rooting option :D

Please note that if you run full stock firmware flashing tar file will break wifi.

You will need to flash zip file to get all correct modules.

I'll make a version of this kernel for full stock firmware as well in next couple of days.

OP is updated and links for tar and zip posted.
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
Is oc and uv still in this version
[Sprint Samsung Galaxy S 4 Original Android Develop] kallell:
Any word on if holmesm got the kernel to flash for USCC?
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
No.

UC/OC is gone for now.

I went over it to see why frequency states weren't populated and shown corretly.

Did few tests, build few kernels and now I can even make those frequencies available any more.

Spend better part of weekend trying to make it happen again with no dice.

Did collaborate with other devs and been told it's not working yet and no one (including me) can understand how I made it

work first time.

There is stuff missing in kernel source that will allow proper OC and UC and even what you have right now should not be there. :rolleyes:

So, it will take bit more time to get proper OC/UC going.
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
Really,thanks for your hard work. It is appreciated.
[Sprint Samsung Galaxy S 4 Original Android Develop] cerj:
AMAZING, you are the man. Grazie
[Sprint Samsung Galaxy S 4 Original Android Develop] WMWolverine:
Your kernel appears to underclock just fine; running at 1.57 Ghz
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
By underclocking I mostly mean frequencies below 384.

1.57 is stock available frequency.

v0.1.7 had frequencies down to 162 available.
[Sprint Samsung Galaxy S 4 Original Android Develop] MoHoGalore:
Howdy Agat,

Was at 100% MDL, flashed tar via pc, (of course broke wifi) but it didn't flash superuser.

Need anything pulled to look at via that route?
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I have tried it 4 times yesterday.

But I was flashing over fully stock MDC.

It should not matter tho. Kernel is checking if /system/xbin/su is present.

If it's there it moves on if not it will flash su binary and supersu.apk.

Do you miss the app or binaries?

Edit: Do you have a link for MDL ODIN tar? if yes I'll flash full stock unrooted MDL and try it again.

I'm making kernel to work with stock modules so it should not break wifi either.
[Sprint Samsung Galaxy S 4 Original Android Develop] MoHoGalore:
I got to MDL complete by resetting binary and status with TA prior to using MDC stock tar and OTA'ing up.. Hopefully we'll see the MDL stock soon versus a system pull. That's the best I can offer at the moment.

And nothing showed. App nor binaries.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I flashed full stock MDC yesterday and kept it on my phone whole day hoping for MDL update.

Did try manual firmware and software update with no success. Still on stock MDC but can't keep it much longer. Gotta do some tests so I need to flash back to my kernel.

As of right now I don't know of any other way to get to MDL but let OTA go through. If it won't happen in next hour or so I'll be on my kernel again. :(

Edit: You didn't answer my question. What you missing? app or binary?
[Sprint Samsung Galaxy S 4 Original Android Develop] MoHoGalore:
Apologies on missing the question - App.

Can give you the unchanged MDL update zip if you'd like but wouldn't expect it to be different than what you've already tried.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I never tried MDL

I have MDC tar only.

Is that MDL update zip flashing full stock unrooted software including recovery, kernel and modem?

Is it flashable in stock or custom recovery?

Give mi link to that zip and bit how to. There are too many different zips around and I didn't follow all of them.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
New kernel is up and running.

Fully stock MDL build with auto root added.

I have wiped my phone and let it update to MDL. (finally it worked).

Made sure I have no root.

Flashed kernel via ODIN and upon boot root was present.

Wiped phone again, Flashed stock MDC. Let it updated to MDL again.

Checked for root and made sure I don't have any residual root files/binaries left on the phone.

Flashed kernel and root was present.

New kernel won't break your wifi if you on stock MDL and also since it doesn't have any updates or tweaks it supports 64 GB exfat SD cards.

I guess this is easiest way to root.

All it takes is flash a kernel with ODIN.

OP is updated and link for new kernel posted.

Hope it will work for you as it did for me.

If not let me know please.
[Sprint Samsung Galaxy S 4 Original Android Develop] likearaptor:
Would it be possible to have a version of your kernel without the auto-root, or at least the superuser.apk? I like Supersu better than SuperUser, but it's not a huge deal. Just an idea. Thanks for all your work on this kernel. I am sure a ton of people will be using it soon.
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
+1 on that. Im sure it's possible to switch SU apps so it really isn't a deal breaker. I use the super SU also.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Kernel comes with SuperSU.apk
[Sprint Samsung Galaxy S 4 Original Android Develop] likearaptor:
I'm an idiot :) I meant I like SuperUser better than SuperSU. But it's not a big deal.
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
Awesome. I stand corrected. Thsnks agat for making life easy!
[Sprint Samsung Galaxy S 4 Original Android Develop] yaniel06:
Is it me or does it take a while for phone to charge and also it very sloe charging while in use. Fur example my phone is plugged in and im on xda and 1% for 5 minus that passed. On stock mdl rootedc with latest agat kernel. Twrp recovery.
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
Depends on the charging source. Are you using the Samsung charger?
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
It's included in latest kernel.
[Sprint Samsung Galaxy S 4 Original Android Develop] yaniel06:
Yes using a samsung charger. The one that came with phone
[Sprint Samsung Galaxy S 4 Original Android Develop] WMWolverine:
What are the stock voltages for this device? Is agat using them? If yes, disregard the first question.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I didn't change any of the voltage values.

All I did is activating voltage table.
[Sprint Samsung Galaxy S 4 Original Android Develop] opz187:
So i don't think frandom is working on the kernel. I installed your latest, then installed crossbreeder. Now in /dev, there is supposed to be a frandom module, but I don't see it
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Which one did you flash?

Just checked v0.1.9 zip and frandom.ko is present in /lib/modules folder.
[Sprint Samsung Galaxy S 4 Original Android Develop] opz187:
You only have 1.8 posted. Or at least that's all I can see :eek:
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I guess I should say "OOPS"....:o

So I built it and forgot to upload.....

Sorry. Will fix it in a bit.

gotta get home to upload it from PC.. I looked it up on my phone..
[Sprint Samsung Galaxy S 4 Original Android Develop] opz187:
No biggy bud. I'll wait for ya to get home. Love your kernel tho agat, I'll be sticking around here. Working great with the latest venom
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
v0.1.9 is up.

Added frandom module.

OP updated.

Link posted.
[Sprint Samsung Galaxy S 4 Original Android Develop] kallell:
Can you do another USCC build? Let me know if there is anything i can provide to help build it right.

Here's a custom TW kernel we have if that helps.

http://teamuscellular.com/Forum/topic/4479-kernel-tw-jb-422-droidz-kernel-v11/
[Sprint Samsung Galaxy S 4 Original Android Develop] EPayne123:
Well, due to my group of friends it seems like you and KT are the ones with the kernels so far that are useable to me and honestly both running awesome. Keep it up, first kernel forvyou and getting the hang of it... but at the same time running really really well with great support. Keep it going!
[Sprint Samsung Galaxy S 4 Original Android Develop] optimummind:
I experience these 3 errors with the v0.1.9 kernel that I dont get with shabby's MDL with franrom: cant mount external microSD card, detection info popup, and es file manager's root explorer crashes.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
To best of my knowledge detection info pop up comes with any custom kernel.

Hope some one can confirm it's not there with shabbies kernel.

Other 2 issues:

1.9 has been downloaded 60 times and this is first post about sd card error.

Please provide more. What size of card you using? What FS is card formatted?

Answers to these questions migh explain root explores craches too.

I'm using root explorer without any problems. Have 32GB fat32 card in my phone.
[Sprint Samsung Galaxy S 4 Original Android Develop] optimummind:
I reported too soon about the Detection popup. It did appear eventually after a while. :p

As for the microSD, it's the 64GB Samsung SDXC UHS-1 Class 10 card, formatted as ext4.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I'm not sure ext4 is recognized by our phones.

Can't say anything about it. Try it with other kernels and if it works I'll take a look at it.