yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S 4 Original Android Develop] pdoroba:
Everything except dual camera works for me here. Stock MF9 odex, hotspot, 4 in 1 reboot, and phone recorder mod from vzw gs4. I also have a 64gb sandisk card exfat but have never had any problems. It's a smooth kernel. Thanks!
[Sprint Samsung Galaxy S 4 Original Android Develop] Nyckrs:
hey agat when moving apps to sdcard, after reboot are the apps grayed out? that's what i'm experienceing.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Haven't tried it before but just did it.

Moved 3 apps to SD and reboot the phone.

All 3 apps are working.

Did reboot 3 more times. Apps still working.
[Sprint Samsung Galaxy S 4 Original Android Develop] PiggySmalls:
+1

Sent from my SPH-L720 using Xparent BlueTapatalk 2
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
They may be for a few seconds.
[Sprint Samsung Galaxy S 4 Original Android Develop] Jaredc210:
would this kernal work on the google edition ROM?
[Sprint Samsung Galaxy S 4 Original Android Develop] Highway 55:
Yes it does. :D
[Sprint Samsung Galaxy S 4 Original Android Develop] jch8828:
I have the same setup with vzw call recorder mod, but when i do contact edit, i got force close. Not sure, what' wrong.
[Sprint Samsung Galaxy S 4 Original Android Develop] Jaredc210:
How do you flash this using TWRP?
[Sprint Samsung Galaxy S 4 Original Android Develop] Salil999:
Flash the rom

Flash the kernel

THEN wipe cache, dalvik, and factory. I think if you just hit wipe it will auto do it for you...

Sent from my SPH-L720
[Sprint Samsung Galaxy S 4 Original Android Develop] Jaredc210:
So i have to flash it all together? I flash ROM then add the Kernal ZIP to the flash then flash them both? Then clear the Cache and Dalvic Cache?
[Sprint Samsung Galaxy S 4 Original Android Develop] Salil999:
Flash the rom FIRST, then flash the kernel. THEN clear the cache dalvik and wipe data. At least, that's how I did it.

Sent from my SPH-L720
[Sprint Samsung Galaxy S 4 Original Android Develop] devoureddreams:
Wioe cache/dalvivk and then flash. No need to wipe data unless your doing a full reset to your rom.
[Sprint Samsung Galaxy S 4 Original Android Develop] echto:
Ok. This issue threw me for a loop last night. My wife and I bought a S4 at the same time and the only difference is she opted for the white version.

I one clicked rooted and installed mobile Odin to flash a recovery and Odin stated the device was unsupported. Hmmm. So I flashed a recovery via the PC Odin. I then used the recovery to flash v0.4.0. After rebooting the Wi-Fi failed to start and the phone heated up FAST and rebooted. Any Agat kernel causes the phone to over heat. The only way I could get Wi-Fi working and keep the phone from heating up was to install a faux kernel .

Any suggestions?

---------- Post added at 06:25 AM ---------- Previous post was at 06:22 AM ----------

Forgot to add that the kernel I flashed was

jfltespr-faux123-007u-MEA_r2 .
[Sprint Samsung Galaxy S 4 Original Android Develop] Salil999:
Maybe try to fix permissions? And did you make sure to clear all data?

Sent from my SPH-L720
[Sprint Samsung Galaxy S 4 Original Android Develop] pdoroba:
I had to reflash everything to fix the same problem, over heat and such... All works great now. MF9 stock odexed, hotspot, 4n1 reboot, vzw call record mod, agats .4 kernel. Only wiped system, cache, and dalvik
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
Same here. I wiped all, reinstalled the MF9 rom, stock kernel reboot menu and used Ti backup to restore apps. No overheating or other issues so far. I'm going to settle it in and try the kernel again.
[Sprint Samsung Galaxy S 4 Original Android Develop] Androidious:
Only issue I have, and can't figure if it is ROM or kernel related is, I installed AdAway 2.3 on my GS4. Then I install the new hosts file via the app. All is good right? Well once I reboot tho, it goes back to saying ad away is disabled again... But from what I can tell, via ES explorer, is the system is mounted as r/w... Running the stock mf9 ROM with su and whatnot installed, but can't for the life of me get the new hosts file to stick using ad away following a reboot. Ideas? I've even attempted symlinking to /data, but the symlink doesn't stick, when created via the app automatically after reboot either. Weird eh? Ad away works on my ASUS tf300 and the wifeys EVO LTE, just not my GS4.

Other than that, this kernel is rockin!
[Sprint Samsung Galaxy S 4 Original Android Develop] echto:
Wife is reporting that her phone is running good and not hot. I would still like to try and get v0.4.0 running on it but I doubt she will let me get my hands on it since I wiped it the last time.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
What's adaway?

I tried to find it in play store with no luck.

Any help locating it so I can try it?
[Sprint Samsung Galaxy S 4 Original Android Develop] Androidious:
Adaway was actually taken out of play store bc Google said it violated a policy bc it block ads from being shown on the phone lol... But it's legit I've used it since the Hero days. You can get the official copy from this site:

http://sufficientlysecure.org/index.php/adaway/
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Got it downloaded and installed.

What am I looking for now?

What would you want me to check/test and how?
[Sprint Samsung Galaxy S 4 Original Android Develop] Androidious:
So open it up, then click the top button to download and enable the program. Once it turns green showing it's enabled, it'll say "reboot"? Let it reboot. Then open it up again and see if it's disabled again (red colored icon) or if it's still green. Thanx Btw :D
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
It is enabled after reboot.

I did it right away.

Anything else I can test?
[Sprint Samsung Galaxy S 4 Original Android Develop] Androidious:
Nope that helps get rid of that variable for me :P thanks again!!! And now you're ad free lol

Edit: I tried fixing permissions in twrp, but upon reboot the phone got the hotness and things weren't running right at all... Freezes and phone unresponsive. So I've just finished wiping sys, dalv, and cache. Now flashed ROM, the ICS theme, hotspot and reboot mods, then the kernel again. We shall see :)
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
v0.1.4 is up and running.

Upgrade to Linux 3.4.6. Fixed the wifi issue. It works now. Intruducing ROW scheduler has changed kernel symbols. So 2 versions of dhd.ko

were in conflict. That has been fixed but till we figure out a way for Kernel to load it's own modules our option to flash is limited to CWM zip

files only.

OP is updated and link posted.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Here you go.

A test build for R970 USC phone.

AGAT_R970_v0.1.0.zip

Just a heads up.

I used same updater script that I use for this phone.

I don't know if it's good for your phone.

In case you not sure either try to verify it first before flashing.

Find another zip that works for you phone and swap updater-script and binaries.

Good luck.
[Sprint Samsung Galaxy S 4 Original Android Develop] Sterist:
May I please request loop scheduler? :)

required run ubuntu via terminal/vnc. I'm a little excited about running it on the s4
[Sprint Samsung Galaxy S 4 Original Android Develop] Pheonix28:
I flashed 0.1.4 and my SD no longer mounts. I went back to 0.1.2 and now the wifi isnt working when I use 0.1.2

I'm lost... using the shabby kernel for now so I have both wifi and my SD card.

Sent from my SPH-L720
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
What you mean SD no longer mounts?

I'm able to access my SD card on the phone, on linux machine and on windows.

Would you please provide more info.

As for WiFi.

By flashing 1.4 zip the /system/lib/modules folder has been overwritten to support new kernel tags.

Flashing back to any of previous versions of my kernel will break wifi since modules in kernel and in system are

in conflict.

Since modules were working fine together till update to Linux version 3.4.5 there was no need to include modules

in zip file before. So none of my previous zip files are flashing modules.

I'm flashing back to stock firmware to get back to stock modules that were working with previous versions of my kernels

so I can make a zip to fix the wifi issue if you guys will decide to go to earlier versions of the kernel.

But I hope with more info about not mounting SD card I'll be able to fix that and there will be no need to

flash previous versions of the kernel.
[Sprint Samsung Galaxy S 4 Original Android Develop] Pheonix28:
I have a 64GB SD card. I can't use the faux kernel because it is having the same problem. Upon booting up with the 0.1.4 it just tells me that the SD card can be removed. Upon trying to mount it nothing happens.

I'm sorry I cannot give more detailed information.

Sent from my SPH-L720
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
So with Shabbie's kernel you have 64 GB card support and you had that support with my previous versions of kernel.

Do I understand it correctly?
[Sprint Samsung Galaxy S 4 Original Android Develop] Pheonix28:
Correct. I have no issues with 0.1.2 or shabby

Sent from my SPH-L720
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
to Linux 3.4.5 introducing major changes to source. Thus problems with Wifi and card. I'll go over that patch line by line to find out what breaks 64 gb card support.
[Sprint Samsung Galaxy S 4 Original Android Develop] holmesm:
Tried it and it said e-signature verification failed.

Swapped it with another updater; same, I don't think I have anything else at the moment to swap......
[Sprint Samsung Galaxy S 4 Original Android Develop] Sterist:
disable signature verification
[Sprint Samsung Galaxy S 4 Original Android Develop] holmesm:
Oops, missed that check mark, now says:

skipping md5 check: no md5 file found

mounting /system and rooffs

removing old files

creating space

extracting files

restoring files

setting permissions

set_perm: some changes failed

error flashing zip.....

updating partition details...
[Sprint Samsung Galaxy S 4 Original Android Develop] k2buckley:
What recovery are you using?
[Sprint Samsung Galaxy S 4 Original Android Develop] frankt2012:
From what I understand with faux123 kernel is it dosen't support exfat because alot of the source code is closed source because Samsung licenses it from Microsoft. I guess the GS4 formats the card from the phone to exfat. I don't know if that has anything to do with your kernel though.

-Frank
[Sprint Samsung Galaxy S 4 Original Android Develop] holmesm:
TWRP 2.5.0.0 (openrecovery-twrp-2.5.0.0-jflteusc.tar)
[Sprint Samsung Galaxy S 4 Original Android Develop] kallell:
Agat, here's a kernel specifically for the uSCC folk -- if you want to compare scripts --

http://d-h.st/qi1
[Sprint Samsung Galaxy S 4 Original Android Develop] k2buckley:
In the OP, in the second or third paragraph, right after it says here are the links, it says this is limited to using CWM recovery.
[Sprint Samsung Galaxy S 4 Original Android Develop] holmesm:
There is no CWM recover for USC GS4 to my knowledge. Would rather use if you can point me to it!
[Sprint Samsung Galaxy S 4 Original Android Develop] kallell:
There is a few actually -

http://teamuscellular.com/Forum/forum/359-galaxy-s4-romskernelsmods/ :D
[Sprint Samsung Galaxy S 4 Original Android Develop] k2buckley:
This would be the one to use. http://xdaforums.com/showthread.php?t=2254678. It's based off CWM. The only thing is that it doesn't yet support exfat format on the sdcard, so if your sd card is in the exfat format, you won't be able to write your backups to the sdcard, only to internal storage.
[Sprint Samsung Galaxy S 4 Original Android Develop] pdoroba:
TWRP never fixed permissions for me. It would complete the task almost instantly... Then the same result, a hot phone. Not sure if it is the cause but I've switched to advanced CWM recovery and like it so far. Haven't used it to fix permissions yet though
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
There's a lot of people having issues with root stuff with MF9. I tried to change permissions of a post. Init file with estrong and it said operation not permitted. I thought it was my screwed up flash. Reports that triangle away doesn't work on MF9 I can confirm.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Have you guys tried TWRP I posted few pages back?

That's TWRP edited/modified buy DreamKernel team memeber Talustus.

I'm using it for couple of mounts and never had any problems with it.

And as for post-init.log file you can't really look at it on the phone. Not even with root explorer.

You will have to pull it from phone first.

You can do it via adb as well.

adb shell

su

cp /data/.agat/post-init.log /sdcard/post-init.log

exit

exit

adb pull /sdcard/post-init.log

File will be pulled into directory where cmd has been opened.
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
The file I was referring to was the post.init.boot.sh in etc. I couldn't change permissions with estrong. Total commander worked though.
[Sprint Samsung Galaxy S 4 Original Android Develop] PiggySmalls:
I've had some issues with EStrongs lately too. Finally broke down and paid for Root Explorer.

Sent from my SPH-L720 using Xparent BlueTapatalk 2
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
Total commander used to be my go-to back in the WinMo days. The Android version isn't as pretty as es, but I'm finding myself using it more now.

Back to topic, my reflash of MF9 is stabilized and ran all day without any problems, I swear that somehow battery life is better than before. Now I can try the 4.0 kernel again on a clean setup.
[Sprint Samsung Galaxy S 4 Original Android Develop] RegnierD:
You won't regret it. You can have tabs to common directories at the top, which is a brand new feature of the overhaul the app just went through. It's sweet.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Quick update.

Last couple of days my laptop is start acting and I'm prepping it to take for repair.

But.

I did add a small script to kernel that would allow to mount ExFat formatted card without rebooting the phone.

After ExFat formatted card is inserted you should be able to run the script and mount it.

Script will also check file system for any bad blocks or errors.

So far it works from ADB but I'm trying to make it work from the phone so you won't need a pc to mount the card.

Once it fixed I'll post new kernel and than will be out of deving for couple of weeks till my laptop is fixed.

Hopefully I'll get new version up in a day or two.
[Sprint Samsung Galaxy S 4 Original Android Develop] dec3ption:
Has anyone else noticed a high wakelock percentage for msm_hsic_host? I don't remember ever seeing it on a previous kernel before 0.4.0, but everything I've seen says it looks to be kernel related.
[Sprint Samsung Galaxy S 4 Original Android Develop] GBPackerFanForLife:
Went back thru posts but can't find link to DL the Dream Edited version of Twrp.
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
Only because I was looking for it myself.

DREAM_TWRP.zip - 10.04 MB
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
I've been using it for almost a week. It works great.
[Sprint Samsung Galaxy S 4 Original Android Develop] GBPackerFanForLife:
Awesome thanks..
[Sprint Samsung Galaxy S 4 Original Android Develop] drob311:
I just got this device... As soon as I run a tw rom this will be the first kernel I try! How you been agat? I don't know if you remember but you helped me out with my Samsung moment over on sdx. If you want to collaborate on a rom/kernel combo let me know. :beer:

Sent from my SPH-L720 using Xparent BlueTapatalk 2
[Sprint Samsung Galaxy S 4 Original Android Develop] echto:
Interesting. I am having a similar issue with Rom Toolbox Pro. Under DNS changer I select Google DNS as my DNS and turn on override on WiFi and Mobile and press accept. The changes are made. When the application is closed and relaunched the changes are not in affect.
[Sprint Samsung Galaxy S 4 Original Android Develop] KStyles69:
Rom... that once called (simplicity is performance MF9)... flash Mod....Comodose for better battery..Kernel....AGAT 0.4.0.... Was able to run full 28 hours on normal usage.... battery will drain %6ish in standby every 8 hours
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
To make it easier for every one I placed link to DREAM_TWRP.zip in OP.

It looks like you guys like it and since I don't see any complaints it works for you

as good is it worked for me.

I don't know what exactly has been edited but I know that in TWRP github and threads and in Phil's touch recovery threads

major credits are given to Talustus for all his input into development of those recoveries.

Apparently he really knows what he is doing.... :D
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
Yeah that one's a keeper.
[Sprint Samsung Galaxy S 4 Original Android Develop] Grommish:
Only thing I noticed is that this is 2.5 and the latest is 2.6. Don't know the difference but doesn't matter. Most devs will specify a recovery to use. You say this, it's what I'll use.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Every time I do add something to the kernel or make even small edits I change the version number.

That's the only way to keep track of all the edits.

Recovery dev's do the same.

As for this recovery:

It has been edited and modified long (2-2.5 months) ago and never touched again.

Talustus took first version of 2.5 as a base for his mods but he didn't change the version number.

I used his modified source to compile for Sprint version of GS4 and I didn't change it either.
[Sprint Samsung Galaxy S 4 Original Android Develop] echto:
That is a pretty slick recovery! Thanks!
[Sprint Samsung Galaxy S 4 Original Android Develop] evo30028:
Hi Agat, Thanks for your hard work. I'm running Sac's Rom V3 and v0.4.0 everything is going well so far, except for dual shot, freezes camera like stated previously. No worries though

I have run your kernels on my E4GT, loved them and loving this.

Thanks again!
[Sprint Samsung Galaxy S 4 Original Android Develop] pathtologos:
To get the dream recovery, u just flash the zip in your current recovery, or do u need odin?
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Flash zip in your current recovery if you have a custom recovery installed.
[Sprint Samsung Galaxy S 4 Original Android Develop] echto:
Just thought I'd share the great battery life! Yesterday just did some casual texting, picture taking, sending MMS, and a couple of 5 minute phone calls.

Here is what I have flashed: Stock_Rooted_Odexed_MF9_Rom_Data_Wipe, AGAT_GS4_v0.4.0, ComaDose_V2.1_Crossbreeder_7.2.13, MF9HotsptMod-Odexed, DREAM_TWRP.
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
So.

After 250+ downloads for v0.4.0 I don't see complaints.

Can I assume we good?

Can I continue with development?
[Sprint Samsung Galaxy S 4 Original Android Develop] Salil999:
I'm not sure if this has been answered yet, but my phone can't turn on Wi-Fi using crarwj's hotspot mod using your kernel. I flashed back to stock and it works perfectly now.

Sent from my SPH-L720
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I'm posting this using hotspot as screen shot shows.

And I'm adding screen shots from about device to show I'm running MF9 along with my Kernel.

As you can guess all screenshots are uploaded using hotspot as well.

Disregard v0.4.2 on kernel version. I'm working on making ExFat formatted cards to be mounted without

rebooting the phone thus new kernel version.

But the changes are in one additional script file I'm adding to ramdisk to run when phone is booted.

Other than that It's same v0.4.0 kernel.

Edit: MF9 I'm running has been installed via OTA. I did flash full MDL firmware tar file. Let phone download and install MF9 update.

There are no tweaks, mods, edits to MF9 stock rom except for root. I did not root the the rom/phone. I did flash my v0.4.0 kernel via ODIN and let it root my phone on boot.

Then I flashed DREAM_TWRP recovery via ODIN as well. After installing recovery I did flash v0.4.0 zip file in recovery to flash all modules that are packed in zip.

And just FYI. When turning hotspot on you turning WiFi off. Hotspot works on 3G/4G only not via WiFi.
[Sprint Samsung Galaxy S 4 Original Android Develop] Cheater912:
Wi-Fi hotspot doesn't work for me either. Nor does tethering. Not sure if this is a kernel or ROM issue (using the Google Play Edition).
[Sprint Samsung Galaxy S 4 Original Android Develop] Salil999:
I'm using stock ROM and I flashed via CWM. I also never updated to mf9 because I heard it has some speed problems.

Sent from my SPH-L720
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
I did have some speed decrease on Antutu. Went from 25500 to 24900-25000.

I don't think that's a big problem tho.

As for rom I have no problem flashing any other MF9 rom for testing purposes.

Give me link to rom you used and I'll try/test it on my end.
[Sprint Samsung Galaxy S 4 Original Android Develop] Salil999:
I'm using the ROM that came with the device. I'll try it again later this evening. Thanks for checking though!

Sent from my SPH-L720
[Sprint Samsung Galaxy S 4 Original Android Develop] ACoolGuy:
I would say yes. No reboots here and things running supersmooth. Any chance you are able to incorporate screen tone? What I mean is something similar to Ktoonz kernel the "Trinity Colors" option where you can make the screen colder(more blue) or Warmer (more red).
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
AFAIK the stock rom/phone has that option somewhere in screen settings.

Not sure tho. Never looked into it or tried to change colors temperature.

I'll look into ktoonz's kernel and see if I can do that...
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
I second that yes. The main thing that I am interested in is performance with great battery life. So far agat63 you continue to deliver that. Bring it on!
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Honestly I'm more driven by battery life than with performance.

If on my journey to make battery last longer I get some performance increase it's more like a side effect than

something I was trying to achieve.

Starting with my very first kernel for my first phone battery life was my ultimate goal.

There are always devs around who works on performance since it looks like no matter how good and fast the phone is it's never enough for many.

But there are not many devs who will put the performance to the side for battery life.

So I'm trying to feel that niche....... :D
[Sprint Samsung Galaxy S 4 Original Android Develop] guitardoc64:
That's why I'm here posting in this thread. Your recovery was the first I flashed. I'm liking your work, and using it.
[Sprint Samsung Galaxy S 4 Original Android Develop] PiggySmalls:
Agat, have used 4.0 on MDL and MF9, and have no problems so far. I'm getting about 22 hours average battery life, and more than decent performance.
[Sprint Samsung Galaxy S 4 Original Android Develop] xonone:
Agreed. Battery life is really nice (Almost hit 5 1/2 hours screen time with a few tweaks) and it really smooth. Smoother than any kernel i have tried.

Sent via SCH-I925U Note 10.1 LTE
[Sprint Samsung Galaxy S 4 Original Android Develop] shizkoff777:
I strayed for awhile vbut im back v.40 been great all day.
[Sprint Samsung Galaxy S 4 Original Android Develop] Doctor_XXX:
Let's move forward! ;)
[Sprint Samsung Galaxy S 4 Original Android Develop] agat63:
Already on it. :p

As you can see on screen shot on previous page.

Trying to make ExFat cards mount without rebooting the phone..

Not much luck yet tho.

works only from adb and doesn't wanna work from the phone... :(