[UPDATE][KERNEL][SOURCE] AGAT_GS4_v0.5.2 10/20/13. full ExFat support.

agat63

Inactive Recognized Developer
Sep 14, 2010
3,987
7,937
0
Las Vegas, NV
I would like to thank for all help and support

Shabbypenguin, interloper, chris41g and Talustus from dream kernel team.


Now to the kernel.

This kernel is for TW (stock based) JB roms only.
It will not work/boot with any of AOSP/AOKP/CM roms.


Kernel is based on L720 MDL source.
Kernel works with MDL and MF9 roms.
Linux version is 3.4.66

Our big thanks to Talustus from Dream Team. We have full native ExFat filesystem support back.
- Build with Dream 4.7.4 optimazed tool chain.
- Available Schedulers
NOOP, CFQ, DEADLINE, ROW, SIO, BFQ, FIOPS, VR, ZEN​
- init.d support
- custom bootanimation support
- WiFi confirmed working.
- Auto Root
- Available governors.
Conservative, Interactive, Ondemand, Performance, Powersave, Userspace, Adaptive, SmartassH3, Wheatley, badass, slp, asswax, smartmax, intellidemand, dancedance​
- 64 GB ExFat SD Card support. ExFat fuse updated to latest version 1.0.1. (Talustus)
- Samsung's/MS ExFat modules.
- qcom's propritary mpdecision service disabled ( Talustus)
- OC'd to 2.1 GHz
- UC'd to 162 MHz
- Boot frequencies are set to stock.
- GPU OC to 533 MHz
- frandom module. Kernel will check for fandom module and if present will run it.
- Unsecure ADB.
- May be something else I can't recall.

Just in case someone needs or wants it here is TWRP recovery that has been modified and edited by Talustus from DreamKernel team and compiled for GS4 by me.
I don't know what edits have been done to it but I'm using this recovery for more than 2 months and didn't have a single problem with it
DREAM_TWRP.ZIP

Now back to kernels.

Here are the links:
v0.5.2
Source clean up. Cleaned ramdisk from residual exfat_fuse stuff not needed any more. Change compression method. Update to Linux 3.4.66
AGAT_GS4_v0.5.2.zip

v0.5.1
Fixed dual camera issue (Thanks Ktoonsez for tip). Update to Linux version 3.4.64
AGAT_GS4_v0.5.1.zip

v0.5.0
Update to Linux 3.4.55, enabled full native ExFat support
AGAT_GS4_v0.5.0.zip

v0.4.0
Cleaned up source. Fixed bootloop issues.
AGAT_GS4_v0.4.0.zip

v0.3.3
Update to Linux version 3.4.49. Supports MDL and MF9 based roms.
AGAT_GS4_v0.3.3.zip

v0.3.0
Fixed reboot problems. Added few governors and I/O Schedules. Lot of optimizations to list here.
AGAT_GS4_v0.3.0.zip

v0.2.2
Updated to Linux 3.4.20. Added SmartassH3, Adaptive and Wheatley governors. Unsecure ADB.
Link is temporary down pending some fixes.
Sorry.

v0.2.1
GPU OC to 533 MHz. Force kernel to boot with stock frequencies. Some source clean up.
AGAT_GS4_v0.2.1.zip

v0.2.0.
OC/UC 2.1 GHz/162 MHz. Added ExFat file system support. File system is supported has been tested on 64 GB card.
AGAT_GS4_v0.2.0.zip

v0.1.9
Added framdom module. Kernel tested. Module works.
AGAT_GS4_v0.1.9.zip

MDL Root.
This kernel has been compiled with stock MDL source without any additions to it except auto root.
You can flash this kernel over full stock MDL firmware via ODIN and it will give you root.
Wifi is working and 64GB exfat card should be supported as well.
AGAT_GS4_MDL_ROOT.tar

v0.1.8
Added auto root to kernel. On boot it will check if su binary is present and if not it will flash su and superuser.apk.
So if for any reason you loose your root simple reboot will fix that.
AGAT_GS4_v0.1.8.tat flash with odin. Can be flash on fully stock rom and that will provide root.
AGAT_GS4_v0.1.8.zip flash in recovery.

v0.1.6
Added voltage control table. It shows up and works with system tuner.
AGAT_GS4_v0.1.6.zip

v0.1.5
Update to Linux 3.4.10. Added fast charge (hopefully it works). Minor edits.
No 64Gb exFat support.
AGATgs4_v0.1.5.zip_

v0.1.4
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.
AGAT_GS4_v0.1.4.zip

v0.1.3
Added ROW scheduler. This scheduler was specifically written for mobile devices and ROW stands for Read Over Write.
Did work very well with Ktoonservative governor on GS2 and GS3.
AGAT_GS4_v0.1.3.tar
AGAT_GS4_v0.1.3.zip

v0.1.2
Build on new MDL source released by Samsung.
Updated to Linux 3.4.4, added SIO scheduler. Added modified Ktoonservative governor.
AGAT_GS4_v0.1.2.tar
AGAT_GS4_v0.1.2.zip

v0.1.1. L720 source build.
Update to Linux 3.4.4. Added SIO I/O scheduler
AGAT_GS4_v0.1.1.tar
AGAT_GS4_v0.1.1.zip

v0.1.0 (i9505 source build)
AGAT_GS4_v0.1.0.tar
AGAT_GS4_v0.1.0.zip

Installation instructions:
You can flash the zip file in any working recovery.
Tar file can be flashed with ODIN or
You can pull the boot.img out of either of the files and use heimdall to push it to phone.
I have tried the zip in recovery and heimdall method only. Have not flashed with PC ODIN.

For now to get rid of that nasty pop up message I've used the BloatwareFreezerFree app from play store.
In System bloatware find seandroid and freeze it. You can use any other app that's capable to freeze system apps.


Please report any issues and/or problems here so we can try to fix them.

my source can be found here:
https://github.com/agat63/AGAT_L720_kernel
(use MDL_Test branch).
 
Last edited:

jsmcmahon89

Senior Member
Jul 19, 2011
609
230
0
Palm Harbor
After installing the kernel, I get a "Detection information" pop up message saying "The device has detected an application attempting unpermitted actions. To protect your device, it is recommended you reboot." then I have 2 options, reboot now, or reboot later. Reboot now, takes me back to CWM where I get:

E: Invalid command argument
E: Invalid command argument

Any suggestions, I flashed via the zip you've provided.
 
  • Like
Reactions: Highway 55

Highway 55

Senior Member
Jun 30, 2010
638
328
0
MN
www.clownpenis.fart
After installing the kernel, I get a "Detection information" pop up message saying "The device has detected an application attempting unpermitted actions. To protect your device, it is recommended you reboot." then I have 2 options, reboot now, or reboot later. Reboot now, takes me back to CWM where I get:

E: Invalid command argument
E: Invalid command argument

Any suggestions, I flashed via the zip you've provided.
I get the same message. I wasnt sure if it was root causing it or the kernel because I flashed stocked rooted rom and kernel at the same time.

Sent from my Samsung Galaxy S4 using Tapatalk 2
 

agat63

Inactive Recognized Developer
Sep 14, 2010
3,987
7,937
0
Las Vegas, NV
After installing the kernel, I get a "Detection information" pop up message saying "The device has detected an application attempting unpermitted actions. To protect your device, it is recommended you reboot." then I have 2 options, reboot now, or reboot later. Reboot now, takes me back to CWM where I get:

E: Invalid command argument
E: Invalid command argument

Any suggestions, I flashed via the zip you've provided.
I get the same message. I wasnt sure if it was root causing it or the kernel because I flashed stocked rooted rom and kernel at the same time.

Sent from my Samsung Galaxy S4 using Tapatalk 2
Not to defend the kernel or so.
It's first attempt and based on different source but this has been found on the web:
http://teamuscellular.com/Forum/top...an-application-attempting-unpermitted-access/
It's not just our device or may be it has been triggered by the source I uses.
Both is possible.
This is just FYI.
I'll continue work with this source till official SPH-L720 dropps on sammies site.
Thanks for feed back.
 

rawintellect

Senior Member
Oct 12, 2008
1,889
1,676
0
Purgatory
After installing the kernel, I get a "Detection information" pop up message saying "The device has detected an application attempting unpermitted actions. To protect your device, it is recommended you reboot." then I have 2 options, reboot now, or reboot later. Reboot now, takes me back to CWM where I get:

E: Invalid command argument
E: Invalid command argument

Any suggestions, I flashed via the zip you've provided.
settings >>> more >>> developer options >>> uncheck "verify apps via USB" >>> profit.

if developer options aren't listed in more you'll need to enable them:

settings >>> more >>> about device >>> tap "build number 7 times" >>> do the above >>> profit.


A little more insight: This is caused by the app "SEAndroid" or "security enabled android" aka big brother seeing that you're playing with the kernel. you can either freeze the app in TiBu or do the above proceedure. Both will accomplish the same result.
 
Last edited:

agat63

Inactive Recognized Developer
Sep 14, 2010
3,987
7,937
0
Las Vegas, NV
settings >>> more >>> developer options >>> uncheck "verify apps via USB" >>> profit.

if developer options aren't listed in more you'll need to enable them:

settings >>> more >>> about device >>> tap "build number 7 times" >>> do the above >>> profit.


A little more insight: This is caused by the app "SEAndroid" or "security enabled android" aka big brother seeing that you're playing with the kernel. you can either freeze the app in TiBu or do the above proceedure. Both will accomplish the same result.
I tried that.
Still getting the pop up.
Did force stop and disable the SEAndroid app as well.
No dice.
Since I start seeing this pop up with source build kernel and never had seen it before and users from other thread are having that pop up with stock kernel I hope the problem is in the kernel source.
If so with right source it should go away.
 

rawintellect

Senior Member
Oct 12, 2008
1,889
1,676
0
Purgatory
I tried that.
Still getting the pop up.
Did force stop and disable the SEAndroid app as well.
No dice.
Since I start seeing this pop up with source build kernel and never had seen it before and users from other thread are having that pop up with stock kernel I hope the problem is in the kernel source.
If so with right source it should go away.
odd. it totally fixed my issue. I've never seen the message again.
 

rawintellect

Senior Member
Oct 12, 2008
1,889
1,676
0
Purgatory
Build the kernel with L720 source.
Kernel name is now showing correctly but the nasty pop up is still there.
Trying to find out if I can disable it from the source.

Can you link the source you're using?

---------- Post added at 10:25 AM ---------- Previous post was at 10:19 AM ----------

NVM I grabbed it from the OSRC.
 

Highway 55

Senior Member
Jun 30, 2010
638
328
0
MN
www.clownpenis.fart
Build the kernel with L720 source.
Kernel name is now showing correctly but the nasty pop up is still there.
Trying to find out if I can disable it from the source.
I started a thread in Q&A about removing bloatware. Somebody directed me to this link: http://forum.xda-developers.com/showthread.php?t=2210784 After removing a lot of the .apks listed in the OP of that thread I no longer get the warning message. I do not know which app was causing it, but I havent gotten the message for almost 3 hours. I was previously getting it every 5 minutes. :cool:

I do realize that this is probably only a bandaid fix, and that the kernel is the source of the problem (pun intended). ;)

Sent from my SPH-L720 using Tapatalk 2
 
Last edited:

rawintellect

Senior Member
Oct 12, 2008
1,889
1,676
0
Purgatory
I started a thread in Q&A about removing bloatware. Somebody directed me to this link: http://forum.xda-developers.com/showthread.php?t=2210784 After removing a lot of the .apks listed in the OP of that thread I no longer get the warning message. I do not know which app was causing it, but I havent gotten the message for almost 3 hours. I was previously getting it every 5 minutes. :cool:

I do realize that this is probably only a bandaid fix, and that the kernel is the source of the problem (pun intended). ;)

Sent from my SPH-L720 using Tapatalk 2
Check to see if SEAndroid is still there. I'm betting it isn't. Look in TiBu
 

agat63

Inactive Recognized Developer
Sep 14, 2010
3,987
7,937
0
Las Vegas, NV
Version v0.1.1 is up and running.
OP updated links posted.
Kernel is based on L720 source by Samsung.
Wasn't able to get rid of that pop up tho.
For now to get rid of of that message I've used the BloatwareFreezerFree app from play store.
In System bloatware find seandroid and freeze it. You can use any other app that's capable to freeze system apps.
You can use any other app that is capable of freezing system apps.
I'll continue my attempts to find where and how it triggered and hopefully can fix it soon.
Till then we will have to freeze the SEAndroid app.
 

agat63

Inactive Recognized Developer
Sep 14, 2010
3,987
7,937
0
Las Vegas, NV
Running smooth for me buddy. I haven't gotten any pop up yet. What does the pop up say?
A warning about some app attempting unpermitted access and suggesting reboot.
You can dismiss the message as well but it comes up every few min.
At least on my phone.
But I have flashed so many things (not exactly working) and so many times that it might be my phone by now and not common.
 

opz187

Senior Member
Sep 30, 2012
1,329
428
0
A warning about some app attempting unpermitted access and suggesting reboot.
You can dismiss the message as well but it comes up every few min.
At least on my phone.
But I have flashed so many things (not exactly working) and so many times that it might be my phone by now and not common.
Yea I been running it now for about an hour with no message. Every thing is smooth as butter