PRETTY TITLE!
Ladies and gentlemen, welcome to the first custom kernel for CM 10.1 on the Xperia S:
Kernel755
ORANGE FEATURES*:
CPU frequencies ranging from 192 and all the way up to 1728MHz (boot frequency is 1,5GHz, so you'll have to change to your preferred frequency with an app)
A bit undervolted for better battery life
With 9 extra governors: badass, smartassV2, dancedance, lionheart, nightmare, lulzactive, hyper, intellidemand and lagfree. That's 15 governors altogether! (PM me with governor suggestions!)
Flashable zip now available for releases!
Now with potatoes! (CLICK HERE)
Kernel Samepage Merging -- enable it under Settings>Performance>Memory
3D GPU OC up to 320MHz
2D GPU OC up to 266MHz
Simple GPU Governor
With more to come! C:
*note that these are only the newest release's features. For more information, read the changelog
GREEN DOWNLOADS!
The newest release (release, not alpha): http://bit.ly/18AWHSF
More downloads, including alphas and old releases in the 3rd post.
PRETTY DISCLAIMER!
Code:
I am not responsible for bricks, thermonuclear war, exploding cows or you
getting fired because the alarm clock failed. YOU are choosing to use these
modifications and it is YOUR responsibility and phone.
If you say it's my fault, I'll point my finger at you and let the others laugh. Silently, in the background, I might just help you fix your issue.
Also, OC is dangerous and blablabla, you've heard it all before.Kernel sources available at my GitHub account.
Or here, if you want the exact repository: https://github.com/someone755/kernel
XDA:DevDB Information
Kernel755, a Kernel for the Sony Xperia S
Contributors
someone755
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r3
Stable Release Date: 2013-10-26
Current Beta Version: a6
Beta Release Date: 2013-10-26
Created 2013-09-29
Last Updated 2013-10-26
Second post!
And now, a FAQ. @franciscofranco's FAQ, updated to fit our device.
F.A.Q. - Read this before complaining!
1. My phone exploded, HALP!
A: I don't answer to problems without a log. The log file is in /proc/last_kmsg. Paste it on pastie.org and link it on your post. Logcats are useless for Kernel purposes, don't bother posting them.
2. OMG BETTARY SUCKZ, IT DEAD IN 45 MINUTAS, HALP!
A: As you can imagine I don't build kernels to decrease battery life. All the battery life problems come from your apps, either Facebook, or Maps, or some Location Service being enabled etc etc. Check your damn wakelocks and fix them, the kernel is not responsible for them.
3. How do I flash this?
A: Since it's an .elf file, it's only flashable through fastboot. The general command is "fastboot flash kernel.elf"
4. OP is arrogant, I'm gonna call the Internet Police?
A: Deal with it.
5. Touch Control doesn't work in rXXX release, you suckas, fix plixe!
A: I don't know who you are. I don't know what you want. If you are looking for a fix, I can tell you I don't have the solution. But what I do have are a very particular set of skills; skills I have acquired over a very long career. Skills that make me a nightmare for people like you. If you leave now, that'll be the end of it. I will not look for you, I will not pursue you. But if you don't, I will look for you, I will find you, and I ignore you.
6. What's up with the kernel's name?
A: Well I have '755' in my name. So there's that...
7. I'm on stock/CM10/CM9/GB and this kernel doesn't work.
A: This kernel is ONLY for CyanogenMod 10.1 and any ROMs that came of it (like AOKP, for example). Don't flash on anything else unless you are SURE the ROM is based off of RaymanFX's CM10.1.
8. My Locked-bootloader phone won't boot with this/I can't flash it.
A: This is a custom kernel. It requires an unlocked bootloader.
9. What app do you recommend for dealing with CPU settings?
A: Use TricksterMod. For 2D GPU OC and setting the 2nd core's governor, I recommend Kernel Tuner. Both are feature-packed and free, and if you don't mind an extra icon in your drawer, I say get both.
10. What is the difference between releases marked as a# and r#?
A: The r# releases are considered the most stable, but do not pack all the features. Because my work is rather slow, I'll add an alpha, an a# release, every time a minor change is introduced. But even if they look and feel stable, do not consider them as such. Most of them are dirty builds!!! Meant for advanced users only, so distributed in fastboot-flashable format ONLY!
11. I want to support you and your work!
A: Putting a subtle sign in your signature that you're using my kernel (or like it or have used it). Please, no big banners or anything, just the name of the kernel. That would be appreciated the most.
And now, thanks!
@RaymanFX -- helping me with nearly all issues and, of course the kernel sources. Also for an old project from which I learnt how proper GPU OC is done.
@abcdjdj -- writing a neat tutorial on how to compile kernels, and telling me about the -w flag
@letama -- adding a few new words into my dictionary (initramfs=ramdisk, did you know that!? )
@hei1125 -- for the NOVA kernel, and its' sources
@Forzaferrarileo -- for his kernel, Forzaferrarileo
@IAmTheOneTheyCallNeo, @fusionjack and @DJLamontagneIII -- for detailed toolchain and compiler flags explanation
@franciscofranco -- for inspiring me to get this done
@Wendigogo -- for SCSI and USB fixes help
@cronot -- for new logo and bringing in .96 fixes
@aebob -- for awesome logo idea
@thicklizard -- for helping with -O3
Sony and Google -- Android rules
HTC -- Inventing S-ON, forcing me to buy a Sony phone :3
@all -- for being an awesome community! C:
Third post!
Changelog!
Code:
a6: [URL]http://bit.ly/HgpWlX[/URL]
--O3 optimization enabled! Be sure to clean your cache and dalvik prior to flashing this!
-brought in .96 fixes, including Vol+ bug fix and OOM tweaks, thanks to @cronot
-new kernel logo (by popular demand), thanks to @cronot
-sakuractive governor, thanks to @cronot
-the config is now visible in /proc/config.gz
-enabled a bunch of SCSI and USB devices, such as card readers
-26/10/2013
r3: [URL]http://bit.ly/18AWHSF[/URL]
-user wish fulfilled: GPU OC is back and better than ever!
-added simple GPU governor
-included intellidemand optimizations -- now with screen-off frequency capped at 1134MHz
-29/9/2013
a5: [URL]http://bit.ly/18cqKkB[/URL]
-both GPU OCs removed (temporarily, will be back another day)
-added KSM
-fixed the bug where the CPU would not go over a certain clock value
-28/9/2013
a4: [URL]http://bit.ly/15fWaTW[/URL]
-user wish fulfilled: added 2D GPU OC
-user wish fulfilled: added 3D GPU OC
-moar governors!
-21/9/2013
a3: [URL]http://bit.ly/1dkjQ27[/URL]
-added 3 I/O schedulers: FIFO, ZEN and FIOPS
-minor tweaks and changes (mostly source-code fixes and addons for easier building)
-26/8/13
r2e6: [URL]http://bit.ly/16utyoU[/URL]
-fixed recovery error 6
-24/8/13
r2: [URL]http://bit.ly/19Rg0vP[/URL]
-added smartassv2 and lionheart governors
-user wish fulfilled: Pretty new picture!
-user wish fulfilled: More governors (ask for more)!
-user wish fulfilled: Flashable zip!
-24/8/13
a2: [URL]http://bit.ly/13Mu8Uu[/URL]
-added badass CPU governor
-23/8/13
a1: [URL]http://bit.ly/19Piriz[/URL]
-the first alpha release
-added the first custom governor, dancedance
-23/8/13
r1: [URL]http://bit.ly/14lWL9s[/URL]
-initial release
-OC to 1.7GHz, boot freq 1.5GHz
-undervolted frequency table
-22/8/13
Again, can a mod please delete this one?
Why did DevDB add this? Can I please get a Mod to delete it? :3
so the actual kernel itself is not even built yet?? I thought placeholders are not allowed?
It is built, sorry it took me some time to write the OPs
Check again, the first build is there :3
Great work really ! i have been waiting for an overclocked kernel for CM.10.1. Any chance of getting the GPU overclocked too ? and one more, is the CM10.1 kernel only overclocked ?
I said tnx I even recommend PAC users to try your kernel but try to slow down a little bit.
Your OP is ridiculous...you are arguing with yourself man...
You'll undermine your good work with stupid sentences.
Friendly advice - don't do that - be nice and all guys will appreciate you.
Tnx
Sent from my LT26i using Tapatalk 4
---------- Post added at 12:22 PM ---------- Previous post was at 12:21 PM ----------
someone755 said:
It is built, sorry it took me some time to write the OPs
Check again, the first build is there :3
Click to expand...
Click to collapse
Like this
Sent from my LT26i using Tapatalk 4
@Anicane: Yeah, it's OC'd, but the boot frequency is locked at 1,5GHz. All features are up there in the OP.
There are more to come, I'm hoping to release a shiny new build sometime this week.
Though GPU OC is gonna take me a bit more time to figure out (I'm a complete newbie at this )
@funky0308: But I don't want to sound 'Dead F***ing Serious' D: Just look at how pretty my disclaimer title is :3 (Also note how I'm not responsible for exploding cows c: )
I'm here to prove you don't have to be serious to do a good job. All it takes is determination and time.
Thanks for the recommendations, though, appreciated
Nice to see a new developer here. What about some GPU overclock?
OP is just what it really has to be in every thread to avoid those guys who crap everything up and blame authors for that.
Powered by GSR with Android 4.1.2 on the board.
Yeah, as said, GPU OC is coming, but it's not on the priorities list.
I'm currently adding 3 I/O schedulers, so that's new. Hopefully you'll get a new build by midnight
Next are CPU governors (hopefully a lot of them). -- Any specific wishes here? I have quite a lot to choose from
Only when I finish that, I'll add GPU OC. Thank god it's all open source, so I can steal a little from here and there
Also, I'm having some issues with the compiler, so that could make things worse... (Damnit, -O3 flag, y u no work!? I want you optimized... ;-
Cool!! Will try it tonight...
Thanks man!!
Good job!
so if my cow explodes who do I blame?
Sent from my AOSP 4.3 Xperia S via Tapatalk
Waiting for zip to flash through recovery ,of the kernel,great job ! :good::good:
@Ben36: Blame the government, I can't be held responsible if your cows explode
And yeah, r2 won't come as a flashable zip.
Maybe r3, but I can't really see into the future
Rated the thread 5 STAR,maybe i can see the future
Can u add MP decision...?
P.S. Chmod 755 can't be the most stupid thing cause we have lovely chmod -x chmod
Powered by GSR with Android 4.1.2 on the board.
Related
Hello folks, I'll make this first post temporary, and let everyone know that this Kernel hasn't been developed or tested yet, I just bought my TF300T a couple days ago. I am starting this thread because I initially want some requests/ideas for a new kernel. I am mostly working on this for my own personal use, but at the same time I love to share with the community, so all of my source code and all releases will be posted up on XDA and github.
I want to base this work off of my previous kernels that I developed for the Acer A100/A200/A500 devices. The reason is that I want to include the options for several different OverClock steps, several optional 3rd party Governors, Zram support, AutoGroup Scheduling for Android, Extra / Optional I/O Schedulers, Cleancache + Zcache support, if necessary mmc_cap_erase delete (brick prevention; may not be necessary with this device??).
Here is an example link to my acer kernel: http://forum.xda-developers.com/showthread.php?t=1818924
I plan to port a lot of the features over to this device, but it will take some time to get things right and stable. I am looking for ideas, volunteers, or even partners (team members) to help with this project so that we can bring TF300 users the most stable and feature rich kernel possible. Also this kernel source may be ported to work with other Asus Transformer devices or clones, but since I personally own the TF300T, it will be the only "supported" kernel unless others wish to join the team and help with porting the kernel to work with other devices.
So people, let me know any ideas you have for a new kernel, and any features you'd like to see added. I want to get community input PRIOR to development instead of developing a test build and getting tons of requests for things that may be useful but incompatible with the work already done. Hopefully this makes sense to everyone, and I really look forward to working with a new community and bringing EVERYONE a feature rich kernel that works with stock roms as well as CM/AOKP etc..
undervolting would be cool
Spark1223 said:
undervolting would be cool
Click to expand...
Click to collapse
Definitely, undervolting is of high priority in this project.
Basically any bonus feature I added to my acer kernels in the thread I mentioned above, will be considered for this kernel and added unless there is a major conflict somewhere. I intend the kernel to boot for all users with as close to stock settings as possible, but users may use init scripts or apps such as CPU Master to change default boot settings / profiles / governors. That way it keeps one kernel for everyone, and gives people who aren't extreme OC'ers benefits of the kernel, as well as those who want extreme performance and extreme control tons of features.
As you said in the other thread a combination of clemsyn and unters would be great. Also have a look what _that has done with the tf700 kernel (compatible with tf300) by adding cifs, iso, Fsync and row scheduler support.
Underclocking would be great as well. Clemsyn's elite battery saver kernel on the nexus 7 was fantastic but didn't support 4.2.1 once everyone upgraded.
Also not sure if you are aware but you can mess with the asus cpu scripts inside system/etc to set different clock speeds and limits like I do in my kernel installer for CROMI.
Welcome aboard!
Are you planning to keep develop unters kernel or start one of your own?anyway id like to see pegasusq governor and deadline i/o
sbdags said:
As you said in the other thread a combination of clemsyn and unters would be great. Also have a look what _that has done with the tf700 kernel (compatible with tf300) by adding cifs, iso, Fsync and row scheduler support.
Underclocking would be great as well. Clemsyn's elite battery saver kernel on the nexus 7 was fantastic but didn't support 4.2.1 once everyone upgraded.
Also not sure if you are aware but you can mess with the asus cpu scripts inside system/etc to set different clock speeds and limits like I do in my kernel installer for CROMI.
Welcome aboard!
Click to expand...
Click to collapse
I've been doing a bit of researching on the device before jumping into the coding, so every little bit of insight helps, I know the tf700 and tf300 share the same kernel sources for the most part, but are the devices backward compatible kernels completely? Just from what I have read on a few threads, there are some issues with some hardware and the tf700 kernels with the tf300.. I'm not familiar with the row scheduler yet, is it an I/O scheduler or is it a kernel task scheduler such as BFS/CFS/Autogroup? I had intended to include the Autogroup scheduler for this device, as it has been well tested on my other devices, and improves overall stability, speed, responsiveness (and yes those benchmark scores will raise a very noticeable amount haha). Autogroup was originally for linux, and use the TTY task grouping, which isn't compatible with android, in my Acer kernels I patched it so that it used UID task grouping, and like I mentioned, everyone was very pleased with it (although most people don't completely understand the concepts)
About setting clock speeds in init scripts, thats completely common, and usually its the strategy that most apps take too, they just automate script writing/editing process. I actually want to go in the kernel's sources and edit the cpu freq tables for the highest stable overclock combination possible, yet keep a default clock for the kernel that is known to work and not cause problems. Then of course users can use the init.d scripts as you mentioned to set cpu frequencies at boot, or per event cpu freq as they please.
Governors are an important thing seems to be left out in the tf300t community from what I have seen. I personally want to try to get the preferrered governors I am experienced with working with this device such as, Smartass(v2), Savagedzen, Intellidemand, Wheatley, Lulzactive, Lionheart, and all the stock standard GPL governors.
For I/O Schedulers I'd like to add: BFQ, CFQ, SIO, DEADLINE, and V(R) (based on stability and performance on other devices I have developed with, I'd expect the default I/O scheduler to be V(R), however its hard ot say at this point as no testing has been done yet).
For underclocking, you mean undervolting? If so then: We'll most likely have to just see what the device likes with trial and error on a few test runs, although this shouldn't be hard to achieve. If you mean underclocking, I'm not sure I exactly understand what you'd be trying to accomplish as this feature is already achievable with stock kernels???
I really appreciate all the hard work that you have put into this community, as well as the other devs, and appreciate all the great welcomes!! Thanks!! Keep up the good work and I look forward to working with you guys!
Artic89 said:
Are you planning to keep develop unters kernel or start one of your own?anyway id like to see pegasusq governor and deadline i/o
Click to expand...
Click to collapse
My plan is to take the stock kernel sources and implement the features that I speak of. Also I will probably be referencing other kernel devs sources throughout this process, but my current intention is to base my kernel from stock, and put most of the work I put in myself and if there is anything that the other devs add that I haven't added I will patch those in as well. Generally it is much easier to work with a stock kernel and manually implement features, than to take someone elses work and try to guess at things they have done. If sources are all on git servers, then it will make referencing a whole lot easier, but if sources to most kernels are just zipped/tarred up then it makes comparing things a PITA.
As for the Pegasusq governor, that shouldn't be a problem, as long as it plays well with our processor/board. I am all about as many governors as possible Just sometimes so many options makes debugging harder when people are experiencing stability issues. I will keep anything mentioned here open for implementation, and we'll justs have to see what works and what doesn't.
I appreciate all the great pointers and ideas guys. Like I said I look forward to working with you all. For now its bed time in KY. Night guys!
Can't wait to see how this kernel progresses.... On thing that would be incredible is, my note 2 has a app called st tweaks that you can change cpu/gpu voltage and speed with a lot more options. To have something like that on the TF300 would be great. Most of us run our gpu oced to 650 or 700mhz....
Sent from my SCH-I605 using Tapatalk 2
Yes undervolting. Typod underclocking
sounds interesting
Sent from my magic machine and written by my trained pet monkey with a sprinkle of fairy dust
Great to see new development to our beloved devices!
+1 Very curious to how this pans out! Seems promising :good:
Welcome Sir
Will you also develop 4.2 kernels or will you stick to 4.1 only?
Please add gpu overclock to 700mhz and the possibilty to manage gpu frequencies
This sounds very interesting!!! What I would like you to do is name one for CyanogenMod 10.1 (android 4.2) since I am using that ROM right now.
Sent from my TF300T using Tapatalk HD
My main requests would be GPU OC and i/o improvements.
Just to add to the discussion I'm curious as to why people use other governors on jellybean other than interactive. I am all for choice and customization but you kinda remove something important from jellybean when you don't use the interactive governor in jellybean.
Sorry if this sounds rude I'm just genuinely curious :laugh:
To add to the suggestions things I would thoroughly like to see are 1) cm10.1 support 2) Row scheduler support 3) interactive governor patches.
Notes regarding the third suggestion: Google updated the interactive governor when 4.2 was released to make things significantly smoother and more battery friendly. Though things must be tuned on a per device basis but if people use this kernel enough there should be a decent amount of people to test things and tune it it in just right for this tablet.
Welcome on board, can't wait to see the results.
i would like to see data2sd support for uhs-1 support.
Zadeis said:
Just to add to the discussion I'm curious as to why people use other governors on jellybean other than interactive. I am all for choice and customization but you kinda remove something important from jellybean when you don't use the interactive governor in jellybean.
Sorry if this sounds rude I'm just genuinely curious :laugh:
To add to the suggestions things I would thoroughly like to see are 1) cm10.1 support 2) Row scheduler support 3) interactive governor patches.
Notes regarding the third suggestion: Google updated the interactive governor when 4.2 was released to make things significantly smoother and more battery friendly. Though things must be tuned on a per device basis but if people use this kernel enough there should be a decent amount of people to test things and tune it it in just right for this tablet.
Click to expand...
Click to collapse
Pegasusq is made for quad core devices... Runs great on my note 2
Sent from my SCH-I605 using Tapatalk 2
OK, my wish list:
- CPU freq management
- GPU freq management (preferably live)
- Color management (incl Trinity & OMAP Gamma management)
- Governor management (incl governor settings)
- i/o management (I WANT row scheduler)
And an app to control this. Preferably your own app. Make that App a paid App. (I'd buy it it in a heartbeat).
Have fun!
---------- Post added at 08:44 PM ---------- Previous post was at 08:34 PM ----------
Oh and support both 4.1 and 4.2 ...
Lots of good suggestions and ideas I have read so far. I'm surprised at all of the replies on here so quickly, thats great!
The things I see brought up on here the most that people are wanting are GPU userland control and the ROW scheduler. I mentioned previously that I wasn't familiar with ROW scheduler, but after doing a bit of research, it makes sense as the mainline linux patch wasn't submitted until August. Glad to see that ROW scheduler is just another Block/IO Scheduler too, that makes my plan of implementing my own flavor of Autogroup for Android still valid and possible.
I have seen a few people mention about Interactive Governor and Jelly Bean, I think there is a bit of confusion about Jelly Bean relying on Interactive to work properly. I think this confusion came from the Nexus 7 and Jelly Bean development, as the N7 had the interactive governor rewritten for better OS integration with JB, however JB doesnt exactly depend on it, and you can always base/rewrite new governors off of the Interactive that JB supported kernel source(s) have used.
Most likely the interactive governor will remain the default governor with my kernel, yet the 'option' will be available for several other cpu governors also. This should help people who don't like to rely on cpu profiles, and vice versa.
The main things right now I see people want are:
*1.8+ ghz CPU OC
*650/700 + GPU OC
*Userland GPU control (may be easier said than implemented)
*Userland CPU/GPU Voltage Control
*Added CPU Governors (including backporting N7 interactive governor for better scaling performance with Jellybean)
*Added Block I/O Scheduler Support (i.e. ROW, Deadline, VR, NOOP, BFQ, etc)
*CIFS/Samba FS Support
*NTFS R/W support (high speed) - I need to research the NTFS support provided with stock roms and 3rd party roms. NTFS-3G (fuse) would be the best option if it doesn't break compatiblilty with the stock rom's VOLD
*Backwards compatibility throughout roms including stock roms, CM10, CM10.1, aokp, etc (4.0, 4.1.x, 4.2 base)
Some things I haven't seen many or any people mention that I personally would be interested in including support for (which may or may not be included in stock kernel source / configs):
*ZRAM
*CleanCache + Zcache
I've mentioned a lot about Autogroup scheduler in the previous posts, I'm sure that most people probably don't fully understand what it is for and what the other options are. If you have ever had a device with a custom kernel that supported BFS (brain f*ck scheduler) then you know of the performance increase overall with BFS. As far as I know the Acer Tabs that I integrated Autogroup into the kernel was the first android tablet to fully support Autogroup on Android, as the original Autogroup mainline patch was developed for GNU Linux distributions that use per-tty task scheduling, android doesn't use this, instead I patched Autogroup kernel source to use UID task scheduling (per user/root) instead, and the results were quiet astonishing versus the standard CFS (completely fair scheduler). Autogroup is very well known for outperforming BFS also, and BFS had been used with android devices previously to get around the sluggishness from CFS, since Autogroup didn't work properly out of the box with Android. To help sum things up, here is a link explaining more about how Autogroup helps process/task scheduling at the kernel level: http://www.phoronix.com/scan.php?item=linux_2637_video&num=2&page=article
Right now I'm still in the research phase of this project, and learning more about the actual hardware inside the device, and what methods our stock roms / custom roms use to interact with the hardware. I'm planning on getting my sources for my new kernel started sometime tomorrow, but as much as people get their hopes up for things like this, I will say that I'm not going to rush into throwing out releases or putting things together in a hurry. I'm all for a quality kernel here, and with that said - it will take some time to get everything in line. Please don't ask for ETAs or if I have any beta/test versions. As soon as I have a test kernel zimage available it will be posted and available on my github.
I appreciate everyone's collaboration and cooperation greatly! Many good things to come guys!
Hands down if you can make this happen I will give you 10 bucks.
FEATURES FOR 4.2.2:
Code:
-Built from CM10.1 sources
-Built using Linaro 4.7.4 toolchain
-Overclocked to 1620Mhz
-Underclocked to 270Mhz
-faux sound is here
-Undervolted and support for user undervolting
-Added Governors
+intellidemand
+badass
+wheatley
+smartassH3
+asswax
+smartmax
-Added IO Schedulers
+sio
+tripndroid
+fifo
-thalmus hot plugging (mpdecision is disabled by default for 4.2.2)
-fast charge support
-frandom support
FEATURES FOR 4.3:
Code:
-Built with latest CM10.2 sources
-latest linux 3.4.65
-Compiled with Linaro 4.8.2
-Overclocked to 1620Mhz
-Underclocked to 270Mhz
-fast charge support
-faux sound support
-CM cherrypick to prevent battery drain (thanks for finding it pwncake)
-Added Governors
+intellidemand
+badass
+wheatley
+smartassH3
+asswax
-Added IO Schedulers
+sio
+tripndroid
+fifo
-thalmus hot plugging
-frandom support
-undervolting and user undervolting (minimum is 900, anything below this won't change anything)
-modified colors (sort of like trinity but my modifications)
-gpu OC to 480
This rom currently supports the Trickster Mod App - get it here https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod&hl=en
This rom is meant for AOSP 4.2.2 and 4.3 depending on which download you grab and what ROM you use. Do not mix the kernel, you assume the risks of your stupidity if you don't read the OP.
PM me if you need any help starting up your own kernel
BDownloads for 4.3:
BionicSheep2v0.7.1_RC2
BionicSheep2v0.6.0_RC1
BionicSheep2v0.5.5
BionicSheep2v0.5.1
Downloads for 4.2.2:
BionicSheepv0.3.8_RELEASE_6
READ THIS PLEASE:
Everyone, sorry to disappoint but this kernel is now dead. Due to a serious serious issue with the git client, me trying to delete 1 repo caused the deletion of my kernels repo instead. There will be no builds anymore, I would have to start from scratch and I do not remember every line of code I have changed for the past 4 months.
My sincerest apologies to you guys, I am still shocked myself right now, I can't believe it did that.
I will keep downloads up for now but I doubt the kernel will work bug free into the future without keeping up with driver updates and such. If there are any GPL concerns from any mods here on xda, please let me know and I will take the links down. I had source up until it got deleted. Thanks for the help, experience, and the times guys. You made this kernel a wonderful learning experience for me. Look out for my app in the next few months guys, its my new project if git doesn't screw me on that too.
My settings:
Gov: asswax
IO: row
Read ahead: 1024
Voltages: (stock, I pick them in the first place )
GPU: 480
Powersaving: 0
Mpdecision: its gone so enabling it does nothing
Sources:
https://github.com/BionicSheep/android_kernel_samsung_d2.git
Special thanks to:
ahagersr - for getting me started up and giving me hours of reading material
stratatak7 - for helping with packaging and voltage fixes
gideonX - for his patience and willingness to answer my nooby questions
pwncake193 - for helping me with 4.3 sources and kernel start up for it (send him thanks guys)
ktoonsez - for his patience and willingness to answer my nooby questions
imoseyon - fastcharge
TripNRaVeR - for his IO scheduler
faux123 - for his awesome sound support
the community - help in general
Changelog
Code:
10.07.2013 RC2
-fix all the bugs!
10.06.2013 Experimental Release
-Hopefully fixed random reboots (you tell me)
-Linux 3.4.65 updates
-cm updates
-clock changes
-GPU overclocking to 480, if you think its useless, don't tell me, just turn it off, my testing proves otherwise
-updates deadline scheduler to have 0ms latency (credits to imoseyon)
10.03.2013 Release Candidate
-cm updates
-asswax tunables adjusted to personal preference. Ramps up slower but also ramps down slower, also focuses on lower
clocks at screen up and deep sleep. Check the git if you're curious
-Linaro 4.8.2 instead of 4.7 used to compile
-Latest linux 3.4.64
-378 clock changed back to 384 (so much more stable and battery friendly)
-voltage adjustments
[COLOR="Red"]This is probably my last build for this phone, when the Nexus 5 comes out I will probably get it and sell my gs3, so if the
price is less than $350, this will be it guys. Thanks for testing as I made my first kernel. I learned a lot! If any huge issues
present themselves I will obviously update it.
4.2.2 is being worked on, but my tester has to get back to me on the latest build (I run 4.3 personally) and then I will upload!
[/COLOR]
09.25.2013
-cm updates
-bluetooth updates
-basically update the everything
-linux updated to 3.4.61 (x.62 will be implemented soon hopefully
-modified clocks a bit to try and get better stability
-sorry updates have been slow (school and all), I am planning on getting a nexus 5 on release so prepare for a potential stop on this kernel for the gs3 when that happens (sorry)
08.23.2013
-tweaked sheep colors a bit and colors look whiter than ever!!
-voltage tweaks (again)
-smartmax governor added(info on it [URL="http://forum.xda-developers.com/showpost.php?p=38193047&postcount=6943"]here[/URL])
08.22.2013
-trying to fix various bugs
-linux 3.4.59 update
08.20.2013b(4.3)
-torch is done! Finally figured out what was going wrong
08.20.2013(4.3)
-linux 3.4.58 updates
-latest cm sources
-fixed torch
-bionicsheep colors should be implemented on boot (no yellow tint)
-voltage tweaks
08.15.2013(4.3)
-rebased from cm so latest drivers and merges
-linux 3.4.57 updates
-upped voltages on overclock so this should fix reboots for some people
-code clean ups
-modified screen colors, its like trinity but my tweaks.
I tried to make colors less saturated and cool the colors
(to enable for now just switch the screen temp (to any option)
in the advanced settings and lock your device,
I will enable on boot if you guys like it)
-so with new drivers this build tends to produce graphical
glitches on older versions of ROMS (pwncakes latest build has been
tested and works)
-old versions of the kernel also no longer play nice with new versions of ROMS
08.12.2013(4.3)
-fixed reboots for some people (I wasn't able to get it to reboot so
hopefully this works for you guys, let me know if it doesn't)
-undervolting finally is here and stable!
-user undervolting is back (min is 850 so going lower is pointless)
-it seems smoother than normal
08.11.2013(4.3) Part 2
-forgot to include frandom module in last build its here now
-you should see some performance improvements especially if you
use things like the crossbreeder mod
08.11.2013(4.2.2)
-frandom support
-clock changes
08.11.2013 (4.3)
-faux sound has returned
-Stable underclocking to 270 (whooooo)
-Stable overclocking to 1620 (WHOOOO)
-frandom support
-easter egg
-mpdecision disabled and removed on boot
-latest cm sources merged
08.10.2013 (4.3) Part 2
-think I fixed hot plugging (confirmed)
08.10.2013 (4.3)
-rebased with latest cm sources
-added thalamus auto hot plugging and double checked its working
-added governors:
+asswax
+wheatley
+badass
+smartassh3
+intellidemand
-added IOSched:
+tripndroid
+fifo
+sio
08.09.2013 (4.2.2)
-fixed hot plugging so that it actually shuts down the second core
-mpdecision is removed since hot plugging works now so you don't have to change a thing
08.06.2013 (4.2.2)
-thalamus hotplugging
-fifo scheduler
-easter egg (you will see when you boot)
08.05.2013
-initial 4.3 build
08.03.2013
-Fixed user voltage scaling
-[COLOR="Red"]Faux Sound[/COLOR] support for those who were asking for it
08.02.2013
Added some governors and IO schedulers per request:
-smartassH3 Governor
-asswax Governor
-wheatley Governor
-tripndroid IO Scheduler
08.01.2013
-Initial Release
Give me an hour or two and I'll post some feedback
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
crashpsycho said:
Give me an hour or two and I'll pohavest some feedback
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
Thanks man. Much appreciated. Like I said, let me know if you have any requests
Downloading this shiz right now. Yay for new kernels. :highfive::good:
So it looks like if you flash over Ktoonz the tweaker box will stay there which is fine.... I must say coming from any reboot I've never seen where a kernel loads up widgets and everything so fast... nice work on that
Responce wicked fast, deep sleeps better than my snoring wifey,
Small querks I've noticed upon flash there is a lag switching pages and responce is slow I've noticed that you can get SOD I'm running at 15xx to 16xx to test high CPU, and that once SOD is in.place Battery Pull require. But works very well
Request, savage zen& zen, Wheatley, smartassh3, Lionheart would be great but very stable kernel so far Big Props!
Edit : running Liquid smooth 2.9
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
crashpsycho said:
So it looks like if you flash over Ktoonz the tweaker box will stay there which is fine.... I must say coming from any reboot I've never seen where a kernel loads up widgets and everything so fast... nice work on that
Responce wicked fast, deep sleeps better than my snoring wifey,
Small querks I've noticed upon flash there is a lag switching pages and responce is slow I've noticed that you can get SOD I'm running at 15xx to 16xx to test high CPU, and that once SOD is in.place Battery Pull require. But works very well
Request, savage zen& zen, Wheatley, smartassh3, Lionheart would be great but very stable kernel so far Big Props!
Edit : running Liquid smooth 2.9
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
When you first flash, you will have lag for a minute or two but then after that it is gone. Idk if I can fix this, but I will look into it. Hmmmmm, haven't gotten any sleep of death yet. What governor are you running? I would recommend asswax since it is just the smartest in my opinion. Also what was your minimum clock? This could cause SOD. Thanks for the help and I will have those governors for you on the next build (shouldn't be long, hell I might be up tomorrow morning)
EDIT: I will try raising the voltages on my underclock and see if that works. For future reference I run this on CM just for smoothness, but I will try testing on LS when I get a chance
aeppacher said:
When you first flash, you will have lag for a minute or two but then after that it is gone. Idk if I can fix this, but I will look into it. Hmmmmm, haven't gotten any sleep of death yet. What governor are you running? I would recommend badass since it is just the smartest in my opinion. Also what was your minimum clock? This could cause SOD. Thanks for the help and I will have those governors for you on the next build (shouldn't be long, hell I might be up tomorrow morning)
EDIT: I will try raising the voltages on my underclock and see if that works. For future reference I run this on CM just for smoothness, but I will try testing on LS when I get a chance
Click to expand...
Click to collapse
His device may not be able to handle UV. I've been booted for almost 30 minutes now with no issues. I've left it stock so far so I will change to badass and see if it happens. So far though smooth as hell.
For reference, I am on Carbon 1.8 Stable.
phoenix2217 said:
His device may not be able to handle UV. I've been booted for almost 30 minutes now with no issues. I've left it stock so far so I will change to badass and see if it happens. So far though smooth as hell.
For reference, I am on Carbon 1.8 Stable.
Click to expand...
Click to collapse
Glad you like, any requests welcome, I want to make this a bit of a rom for the community
aeppacher said:
Glad you like, any requests welcome, I want to make this a bit of a rom for the community
Click to expand...
Click to collapse
As the above poster requested, savagezen is nice. Not sure if it's been ported to 3.4 yet though. Asswax is also nice.
As for IO Sched, there is an awesome one for a T-Mobile kernel to check out. tripndroid iosched by TripNRaVeR. Very smooth with no noticeable drain.
Link to the kernel is here: http://forum.xda-developers.com/showthread.php?t=2301896&page=4
aeppacher said:
When you first flash, you will have lag for a minute or two but then after that it is gone. Idk if I can fix this, but I will look into it. Hmmmmm, haven't gotten any sleep of death yet. What governor are you running? I would recommend badass since it is just the smartest in my opinion. Also what was your minimum clock? This could cause SOD. Thanks for the help and I will have those governors for you on the next build (shouldn't be long, hell I might be up tomorrow morning)
EDIT: I will try raising the voltages on my underclock and see if that works. For future reference I run this on CM just for smoothness, but I will try testing on LS when I get a chance
Click to expand...
Click to collapse
actually my setting were at 1512-1620 intellidemand/sio for testing, UV ive never had any problem and i didnt change the voltage setting , does this kernel support FastCharge ran Fastcharge toggle on trickster and it didnt stick for some reason, so far ive left everything the same 918-1620 with interactive/row and no issues, but ill keep testin
phoenix2217 said:
As the above poster requested, savagezen is nice. Not sure if it's been ported to 3.4 yet though. Asswax is also nice.
As for IO Sched, there is an awesome one for a T-Mobile kernel to check out. tripndroid iosched by TripNRaVeR. Very smooth with no noticeable drain.
Link to the kernel is here: http://forum.xda-developers.com/showthread.php?t=2301896&page=4
Click to expand...
Click to collapse
I'll get right on that
aeppacher said:
I'll get right on that
Click to expand...
Click to collapse
You da man. :highfive::good:
crashpsycho said:
actually my setting were at 1512-1620 intellidemand/sio for testing, UV ive never had any problem and i didnt change the voltage setting , does this kernel support FastCharge ran Fastcharge toggle on trickster and it didnt stick for some reason, so far ive left everything the same 918-1620 with interactive/row and no issues, but ill keep testin
Click to expand...
Click to collapse
hmmm :/ fast toggle working here with trickster mod. Make sure the phone is unplugged. Then toggle fast charge on. And then you should be able to plug it in. Fast charge won't work if its plugged in.
crashpsycho said:
So it looks like if you flash over Ktoonz the tweaker box will stay there which is fine.... I must say coming from any reboot I've never seen where a kernel loads up widgets and everything so fast... nice work on that
Responce wicked fast, deep sleeps better than my snoring wifey,
Small querks I've noticed upon flash there is a lag switching pages and responce is slow I've noticed that you can get SOD I'm running at 15xx to 16xx to test high CPU, and that once SOD is in.place Battery Pull require. But works very well
Request, savage zen& zen, Wheatley, smartassh3, Lionheart would be great but very stable kernel so far Big Props!
Edit : running Liquid smooth 2.9
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
Check out the new update! Added some of your requests (wheatley and smartassh3)
phoenix2217 said:
As the above poster requested, savagezen is nice. Not sure if it's been ported to 3.4 yet though. Asswax is also nice.
As for IO Sched, there is an awesome one for a T-Mobile kernel to check out. tripndroid iosched by TripNRaVeR. Very smooth with no noticeable drain.
Link to the kernel is here: http://forum.xda-developers.com/showthread.php?t=2301896&page=4
Click to expand...
Click to collapse
I added tripndroid and asswax
Holy crap. You're a machine. Flashing this right now. :thumbup:
Sent from my SGH-I747 using xda premium
Looks great! I'll flash this soon. Glad to see you made so much progress.
Sent from my SAMSUNG-SGH-I747
Thanks for sharing your work with us!
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Does this have faux sound support?
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
x10user2011 said:
Does this have faux sound support?
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Not yet man, I'll take that as a request though. If I can figure out how to implement it, I will surely do so
===>INTRODUCTION<===
This is my personal kernel based off of ASKP. I cherry-picked a lot of custom commits from many big kernels. I'm new in development, so, any help whatsoever (commits, suggestions, logs, etc etc) would be greatly appreciated
releases will be as frequent as possible, as I'm gone for 7 hours of my day during weekdays.
****FEATURES****
using A.S.K.P as the base<- you get all the features of A.S.K.P+ more
linux kernel 3.101 WITH the Con kalivas patchset for improved performance
L3 cache overclock (116MHZ)
custom RAM OC setup (333MHZ/400MHZ/466MHZ)
gpu oc interface (307/384/512)
optimized CRC32 computing algorithem
optimized square root interger library
custom voltage setup,modified by me personally taking inspiration from the voltage's of other kernels,everything from the GPU voltage to the screen regulator has been tweaked
CPU overclock up to 1.7GHZ
multiple governors i have personally added (this is ALWAYS changing considering what jhonny/grarak/faux/bsmitty/Amperific/boype do to their governor,or what i personally decide to do)
some new IO schedulers have been added
EXFAT is added, 1.2.5 source from dorimanx
updated RWSEM to linux 3.14
numerous enhancements to SLUB including a update to the 3.3 version
MMC software updates/enhancements
GPU side enhancements
HUGEMEM setup (this is a arguement from me personally,the gnex is only a 720P phone,you cannot utilize 1080P with out screen,so even if this is a retarded and dirty hack,i want to use the extra available ram)
ALL kernel logging has been disabled for a increase in speed
Kernel SamePage merging has been updated to linux 3.6 standards with faux's check page patch for improved performance and efficiency
memory Compaction updates for better performance
modified screen colors
imsoyen's SmartReflex 1.5 tuning interface
updated thermal framework drivers from faux & omapzoom
updated android binder.c from omapzoom's 3.8 branch that bsmitty discovered
updated logger from poondog,linux 3.9
graphite and link time optimizations including -o3 and hard float point with NEON with the latest linaro 4,9.1 toolchain from christopher83,compiled with graphite ops on gpu code along with -o3
zcache,zsmalloc and zram updated to linux 3.11 from mpokang kernel with faux's setup for zram
many misc enhancements from AK kernel
many misc OMAP enhancements
the latest WIFI drivers WITH a working hotspot
a modified anykernel zip package that will install a new HOSTAPD binary for working wifi hotspot and new meda_profiles.xml to fully disable 108PTHIS KERNEL USES VERY HIGH CLOCK SPEEDS WITH VERY LOW VOLTAGES,I BUILD THIS KERNEL THROUGH A "PERSONAL" SETUP,IF YOU GET SOD'S/ FREEZES,PLEASE UP YOUR VOLTAGES ON "MPU" BY 25 UNTIL THEY STOP :3
IF YOU'RE GOING TO USE A HOTPLUG GOVERNOR, FOR ALL THAT IS HOLY DO NOT USE MULTICORE POWER SAVING WITH IT. THIS CAUSES ISSUES AND NO BUG REPORTS ARE ALLOWED IF YOU HAVE HOTPLUG WITH MCPS
BUILDS:http://patty.mbqdevelopment.com/Kernels/ASKP Remix/ <- the numbers are going to be in order,the bigger the better XD (thanks to mbq for the generous hosting site,or as i like to call him,"big brother" thanks man :good: )
-------------------------------------------------------------------------------------------------------------------------
ALL CREDITS TO THE FOLLOWING
bsmitty83 <- i seriously use all of his commits that i possibly can,go thank him when you get the chance and try his kernel!
franciscofranco<-franco is franco. you all know what he can do.
amperific<i used his kernel for a base,without him,this wouldnt be here :good: give the original a shot when you get the chance!its much cleaner
grarak<lots of his fixes,and thanks to him ive learned alot
Ezekeel<ezekeel. nothing else needed.
tFrost<his great Rom Directory app that can download kernel updates (http://forum.xda-developers.com/gal...ctory-3-14-t2681305/post51078192#post51078192)
burstlam<i use his backports all through the kernel
edoko<alot of his air kernel stuffs helped this kernel alot
faux123<its faux.
ak<he has ALOT of code in this kernel.
imoseyon<interactive x
metalspring<his toolchain is bomb :good:
morfic<color controls
boype<its boype,nothing less to say.
aosp<mr smarty pants
pianistaPL (he wrote most of the original OP for me)
milojoseph (he told me to make the thread)
MBQ_ (his music takes headaches away) ((https://soundcloud.com/mbq-1)) (((he re-wrote the OP for me for spelling fixes and organization)))
poondog (used alot of his stuff for memory)
jhonnyx<-i use every commit of his that works
you! the users! for testing and adding ideas!
and many many more!
GITHUB: https://github.com/pattyboi/kernel_tuna/
CHANGELOG: https://github.com/pattyboi/kernel_tuna/commits/milestone[/CENTER]
good to know you're working on a kernel! keep it up!
jhonnyx said:
good to know you're working on a kernel! keep it up!
Click to expand...
Click to collapse
thanks man,means alot! really do appreciate the support!
Flashing it as I type
Will report soon, it's good to see new kernel from people in this gnex threads
Edit: got my first freeze, lol. Maybe the voltages are too low, I guess?
But I got a couple questions:
1. Did you intended to UV voltages, including IVA? I see it lower than DirtyV and Franco.
2. The frequency steps..... There's a lot of it, but is it correct? There are numerous voltages that are new to me lol like 460, 1480, 1560...
Maybe you could explain just a little bit lol
Edit2: pattyboi did you implemented early suspend on interactive? There's a slight lag when waking up the device
Btw there's pegasusq, too.
This is how it starts you are now entering the Linux twilight zone of the quest for the best kernel patches go get em @pattyboi:)
@aosp you're a veteran
Sent from my Galaxy Nexus using xda app-developers app
@pattyboi:)
Thanks, bro! It looks nice. Do you maybe know how to add to this kernel 85MB Ram (to make SuperRAM version)?
ahmadairfan said:
Flashing it as I type
Will report soon, it's good to see new kernel from people in this gnex threads
Edit: got my first freeze, lol. Maybe the voltages are too low, I guess?
But I got a couple questions:
1. Did you intended to UV voltages, including IVA? I see it lower than DirtyV and Franco.
2. The frequency steps..... There's a lot of it, but is it correct? There are numerous voltages that are new to me lol like 460, 1480, 1560...
Maybe you could explain just a little bit lol
Edit2: pattyboi did you implemented early suspend on interactive? There's a slight lag when waking up the device
Btw there's pegasusq, too.
Click to expand...
Click to collapse
sorry for the late reply bud,i fell asleep after getting that 2nd build up. the 460 is gonna be removed,as i said im still nooby and i didnt add it right :silly: the rest should be correct as i didnt touch any other one,the uv voltages were just burstlams slight uv on regulators,i havent touched anything with iva,mpu or anything else,ill probabaly bump them up a lil within the nest couple days still gotta wrap my head around how to properly do it lol. but thank you for testing man! & yeah the interactive early suspend i "think" is there,is 7 am so im not entirely sure,if its causing wake lag i might try and switch the interacitves or just remove early suspend,like i said its a big mess i gotta iron out
EDIT ,one more thing,did you disable eco mode? that might cause wake delay because it was for me
pianistaPL said:
@pattyboi:)
Thanks, bro! It looks nice. Do you maybe know how to add to this kernel 85MB Ram (to make SuperRAM version)?
Click to expand...
Click to collapse
i will work on that for the next couple days! im still a noob so dont get your hopes up,but ill try man
aosp said:
This is how it starts you are now entering the Linux twilight zone of the quest for the best kernel patches go get em @pattyboi:)
Click to expand...
Click to collapse
thanks for the support man , if you ever can work some of your magic with amazing pullin up amazing commits,ill be very very grateful
as if i didnt spam the thread enough lol,we got a update! remove 460mhz due to it being added incorrectly,add fifo and fixes for it from ak's kernel,itll be up in 3 minutes!
pattyboi:) said:
as if i didnt spam the thread enough lol,we got a update! remove 460mhz due to it being added incorrectly,add fifo and fixes for it from ak's kernel,itll be up in 3 minutes!
Click to expand...
Click to collapse
Alright buddy you did it. Now all you gotta do is sit back and watch the thanks meter get higher than the post meter. Then you will be a certified guru.
pattyboi:) said:
i will work on that for the next couple days! im still a noob so dont get your hopes up,but ill try man
Click to expand...
Click to collapse
Thanks! You can always ask for help our amazing developers
I'm charging my phone and will install your kernel
DR3W5K1 said:
Alright buddy you did it. Now all you gotta do is sit back and watch the thanks meter get higher than the post meter. Then you will be a certified guru.
Click to expand...
Click to collapse
thanks man,the support really does mean the world for me
pianistaPL said:
Thanks! You can always ask for help our amazing developers
I'm charging my phone and will install your kernel
Click to expand...
Click to collapse
thats true man,ill prob talk to some of them tonight & thank you for giving it a shot
if you guys want,theres a latest build without early suspend,testing to see if it has anything to do with screen wake delay,its up on dropbox as i type
pattyboi:) said:
sorry for the late reply bud,i fell asleep after getting that 2nd build up. the 460 is gonna be removed,as i said im still nooby and i didnt add it right :silly: the rest should be correct as i didnt touch any other one,the uv voltages were just burstlams slight uv on regulators,i havent touched anything with iva,mpu or anything else,ill probabaly bump them up a lil within the nest couple days still gotta wrap my head around how to properly do it lol. but thank you for testing man! & yeah the interactive early suspend i "think" is there,is 7 am so im not entirely sure,if its causing wake lag i might try and switch the interacitves or just remove early suspend,like i said its a big mess i gotta iron out
EDIT ,one more thing,did you disable eco mode? that might cause wake delay because it was for me
Click to expand...
Click to collapse
Take it easy bud, we're all here learning as well lol
Yeah I'm not using eco mode and intelli-plug, not liking the less-snappier feel lol.
You could take interactive from either bsmitty's or Franco's, I think they're making out the best interactive so far. :good:
Also, this kernel has GPU governor. Is it overclocked as default?
Btw, I'm suggesting to do some wrapping on your OP. Because your kernel has many features inside lol :laugh:
Thanks!
ahmadairfan said:
Take it easy bud, we're all here learning as well lol
Yeah I'm not using eco mode and intelli-plug, not liking the less-snappier feel lol.
You could take interactive from either bsmitty's or Franco's, I think they're making out the best interactive so far. :good:
Also, this kernel has GPU governor. Is it overclocked as default?
Btw, I'm suggesting to do some wrapping on your OP. Because your kernel has many features inside lol :laugh:
Thanks!
Click to expand...
Click to collapse
I'll switch em out soon GPU us at the actual original clock.(384 or around that) I'm gonna try and get the sysfs thing for the oc set up today,was being a pain the other day,I'm not good with op's but I'll try
pattyboi:) said:
I'll switch em out soon GPU us at the actual original clock.(384 or around that) I'm gonna try and get the sysfs thing for the oc set up today,was being a pain the other day,I'm not good with op's but I'll try
Click to expand...
Click to collapse
I can make good OP in few minutes Will back
---------- Post added at 03:37 PM ---------- Previous post was at 03:20 PM ----------
Test OP:
INTRODUCTION
This is my personal kernel based of ASKP Kernel. I cherry-picked a lot of custom commits. I'm new in development so every help from developers and users will be great.
FEATURES
ASKP Haste+ as base
graphite and lto optimizations
metalsprings custom toolchain - Linaro 4.7.4
dirtyv commits
rcu updates
intelliplug
pvr governor's
zRAM
high perfomance sound
slight regulator undervolt
oc up to 1.6 ghz
smart reflex class 3 only (the switches in trickster dont work because you cannot adjust sr class 3)
some schedulers i use
some govs i use/like
fastcharge
eco mode
screen specific controls of course
updated thermal drivers
ion updates
700mb ram for user
voltage controls
exfat suppourt
ALL DOWNLOADS
https://www.dropbox.com/sh/z43idai19erzu2n/1NZ69_Jeo3
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ALL credits go to:
bsmitty83
franciscofranco
amperific
grarak
Ezekeel
burstlam
faux123
ak
imoseyon
metalspring
morfic
boype
and many many more!
GITHUB: https://github.com/pattyboi/kernel_tuna
CHANGELOG: https://github.com/pattyboi/kernel_tuna/commits/milestone?page=1
pattyboi:) said:
thanks for the support man , if you ever can work some of your magic with amazing pullin up amazing commits,ill be very very grateful
Click to expand...
Click to collapse
Firsties kill the vmsplit stock is optimal even boype knows
defconfig: 3G/1G vmsplit (tuna default) · ecf4b67 · boype/kernel_tuna_kk44 · GitHub - http://goo.gl/PXCfEo
E980 Kernel+
***I am not responsible for you bricking your device or causing any other unwanted outcomes to your device. Be careful and smart. If you don't know what you're doing you probably shouldn't be flashing this.***
This is the E980 Kernel+The end goal here is to have a kernel with more features and potentially much better battery life. I can only guarantee it will work on E980, not sure if it will work on other devices. I also do not know what ROMs it will work on. That is up to you to share. Rule of thumb is, if it's CyanogenMod, it'll work.
Suported Devices:
E980
E988
***If you are interested in building your ROM with my kernel, you have my permission to do so. However, if you could just let me know, that'd be nice. Also a credit would be appreciated but is not necessary either.***
DOWNLOAD[11/12/14]: E980Kernel+V0.7.3.4: http://goo.gl/yMqgrP
[11/12/14]: E980Kernel+V0.7.3.3: http://goo.gl/eUfbQY
[10/11/14] E980Kernel+V0.6: http://goo.gl/XvQg7Z
[9/29/14] E980Kernel+V0.5: http://goo.gl/tJ9JGs
[9/23/14] E980Kernel+V0.4: http://goo.gl/cxphLB
[9/15/14] E980Kernel+V0.3.1: http://goo.gl/vtmnRR
Original Kernel: https://drive.google.com/file/d/0BxhkPfIzMhriQ0pqdGN0TnFDb2c/edit?usp=sharing
CHANGES[11/12/14] V0.7.3.4:
Removed Undervolting
Removed GPU Tweaks
No more (or at least a lot less) random reboots
[11/12/14] V0.7.3.3:
Added Intelli-Plug V3.8
Added Intelli-Thermal
Added Undervolting
Tweaked GPU a little (more to come later)
Updated Intellidemand to V5
***If you are experiencing reboots upon setting CPU governors, set the voltage higher on your CPU thru Trickster or similar Kernel Settings App!***
[10/11/14] V0.6:
Compiled with Linaro (Should notice some minor performance improvements)
Other minor changes
[9/29/14] V0.5:
Added I/O Schedulers:
SIO, VR, Zen
Fixed Faux
Updated Faux Drivers to V3
[9/23/14] V0.4:
Removed Governors:
SmartassV2, Hyper (Only in config, they are still in source)
Added Faux Sound Controls (Thanks to Faux123 for his work)
Updated to CM11 Nightly 9/23/14 boot.img
[9/15/14] V0.3.1:
Added Governors
Dancedance, Intellidemand, SmartassV2, Hyper. (Hyper seems to be buggy, same with SmartassV2)
Added TCP Congestion Control
Westwood, Highspeed, Hybla, Htcp, Vegas, Veno, Scalable, Lp, Yeah, Illinois.
Flashing Instructions:Make sure you use Mack's TWRP or Gummy CWM.
Flash a supported ROM
Flash E980 Kernel+
Wipe Cache & Dalvik
I highly suggest you are rooted and busybox'd.
Note: If flashing fails and you are on a CM11 ROM, you may want to try flashing original kernel or earlier version before reflashing your ROM or clean installing.
To-Do List:
-Faux Sound - Done.
-Governors/IO schedulers - Done.
-More TCP congestion controllers - Done.
-Replacement for Qualcomm's MP-Decision (Intelli-Plug) - Done.
-Support for actual GPU underclocking (Maybe save battery since it always runs at top freq when it doesn't have to.) - In the works.
-Support for undervolting - Removed for now.
-Lower clock speeds than 384 MHz
-Higher clock speeds than 1728 MHz
-Intelli-Thermal - Done.
-Fast Charge - Soon.
-Battery Life eXtender - Soon.
-Knock On/DT2W (May not add due to battery drain issue that comes with)
-Keyboard USB support
-Linaro Performance Toolchain - Done.
-Support for F240 - In the works.
-Anything else?
***Make note I do not know if I can implement all of these but I will try my best***
Source: https://github.com/Snepsts/kernel_e980
Toolchain: https://github.com/Snepsts/linaro4.7gcc
HOW TO BUILD
At this point if anybody wants to try out the kernel before I make releases, you are free to compile it yourself. I would like to ask that you do not share compilations just because I like to track how many people download and use the kernel through my goo.gl links and the afh download counter. I don't like it when people rehost my kernel since it gives me misguided numbers on how many people are following my work. It's just personal though, I'm not going to stop you. I just like it because it gives me an idea of how many people are using my work and kind of makes me want to keep working on it since I know how many people still use it.
Anyways, I'll leave instructions to compile right here:
This is assuming you're using a Linux distro (VM or not, has to be 64-bit) Pretty much everybody recommends Ubuntu, and that's fine, but if you want my suggestion Mint runs like a dream. Anyways to building!
You'll need to get the required packages. I forget these off the top of my head, but they're something like this:
Code:
sudo apt-get install -y build-essential kernel-package libncurses5-dev bzip2 abootimg
There might be more, idk. This should get you through the build. Let me know if there's anything else.
Next we'll make a directory and grab the sources.
Go to your main directory to store the android folder in (for tidiness sake), if you have a preference you can do this differently. If you're not sure what you're doing here, just go from where you are (should be your main dir):
Code:
mkdir android
cd ~/android
git clone https://github.com/Snepsts/kernel_e980.git
This might take a while... when it's done you should have a folder called "kernel_e980" in your android directory.
While we're downloading, go get the latest M build or the latest nightly of CyanogenMod: https://download.cyanogenmod.org/?device=e980
This will be useful later.
Now we go grab a toolchain. My favorite is this one: http://www.mediafire.com/?x7lgbeprpg8gn choose the cortex A-15 one. Untar it and move the folder wherever you like. I suggest the android folder to follow the rest of the guide.
Code:
cd ~/Downloads
tar -xvf arm-cortex_a15-linux-gnueabihf-linaro_4.7.4-2014.06-build_2014_09_13.tar.xz
Now move this folder through the GUI (Graphical User Interface), much easier than more commands imo.
Now rename the folder toolchain, just because it's easier.
Now we're ready to build. The username is whatever your Linux username is.
Code:
cd ~/android/kernel_e980
export ARCH=arm
export CROSS_COMPILE=/home/username/android/toolchain/bin/arm-cortex_A15-linux-gnueabihf-
make cyanogenmod_e980_defconfig
All ready to go
One last thing, before you make it, if you are a little more advanced and need to toggle something or do anything else, use:
Code:
make menuconfig
You probably don't need that.
The # means the amount of cores in your computer's processor +1. For example, my Linux virtual machine has 4 cores allocated to it, so I assign it -j5. Now to make the kernel:
Code:
make -j#
And watch the words flyyyyy.
If anything fails, double check you didn't mess up. Also, the current Github build is never guaranteed to succeed.
Once the build is completed, you should see something like:
zImage is created!
Or something. Now go to your Downloads and get the boot.img out of the CyanogenMod build whatever way you wish to.
We'll leave it in the Downloads folder for the sake of the guide:
Code:
cd ~/Downloads
abootimg -x boot.img
Now you should have a zImage, intrid.img, and a bootimg.cfg. Ignore the zImage, move the intrid.img and bootimg.cfg to the ~/android/kernel_e980/arch/arm/boot folder.
Now we finish the kernel:
Code:
cd ~/android/kernel_e980/arch/arm/boot
abootimg --create boot.img -f bootimg.cfg -k zImage -r intrid.img
Done! Your kernel will be the boot.img file.
Replace a current kernel.zip's boot.img with this one, you can use any of the E980Kernel+ .zip folders for this. Just remove the boot.img in that one then put yours in it. I always upload my kernel to Gdrive and then download it to my phone to flash. But whatever you wanna do from here is fine.
And now you have the latest version of E980Kernel+ Unofficial. Yay you!
Click to expand...
Click to collapse
XDA:DevDB Information
E980 Kernel+, Kernel for the LG Optimus G Pro
Contributors
Snepsts
Source Code: https://github.com/Snepsts/kernel_e980
Kernel Special Features: Faux Sound, CPU Governors, TCP Congestion Controllers, I/O Schedulers, Intelli-Plug/Intelli-Thermal
Version Information
Status: Beta
Current Stable Version: V0.7.3.4
Stable Release Date: 2014-11-12
Current Beta Version: V0.8.1 TEST
Beta Release Date: 2015-1-12
Created 2014-10-19
Last Updated 2015-1-12
About E980 Kernel+
In this post we will go over some of the things in this kernel and shed some light on what they do... Let me know if you have any information to contribute or anything else
Intelli-Plug
Intelli-Plug is developed and updated by Faux123.
Intelli-Plug is a hot plug replacement for Qualcomm's proprietary MP-Decision. MP-Decision essentially decides the final factor on clock speeds, when cores go offline, how long they go offline, and they generally manage your CPU. There is a lot of discussion over whether or not Qualcomm's solution to hot plugging is efficient or not. Intelli-Plug is an open-source and updated version of MP-Decision in which anybody can contribute to and improve. It uses different methods for arguably better performance and better battery life. The current version used is optimized for MSM-8960 chipsets (like ours). It is updated and even offers convenient profiles to optimize battery life, performance, balance the two, or do a little between each option. Some of the profiles allow an eco-mode like experience. Eco-mode is a depreciated feature of Intelli-Plug that turned a quad-core processor into a dual-core, effectively optimizing the processor to run like a dual-core and save more battery power. In order to toggle the profiles option without paying 5 dollars for the Faux Clock app, you may use a root explorer (like ES File Explorer), go to sys/module/intelli-plug/parameters/nr_run_profile_sel and input a number anywhere between 0-5.
I prefer this option ON and do not currently have a profile preference. In my experience it improves the overall device (performance/battery life) with no noticeable drawbacks.
Intelli-Thermal
Intelli-Thermal is developed and updated by Faux123.
Intelli-Thermal is a thermal replacement to Qualcomm's proprietary thermal solutions. It is open-source and anybody can contribute to it. It has optimized thermal performance and is arguably more efficient than stock thermal settings. In addition to being an open-source and updated module, Intelli-Thermal offers customization such as: personal selection of cores to throttle at a self-determined value, and a similar selection for cores to offline (minus core 0, since it must be online at all times). Intelli-Thermal allows you to set your own rules (do not set the limit too high) and thermal values are in Celsius.
I prefer this option ON, and set Frequency Throttle Limit to 70 C, Core Offline Limit to 65 C, enable all cores for Frequency Throttling Cores, and enable Cores 2 & 3 for Offline Cores. Rarely do I ever experience heat, and if so it is very minimal. The device may lag or get hot depending on your settings, so please be careful or mindful of what you set. This works better on some ROMs than others.
*** Personal Note: These two are of my favorites because they are optimized and make for a better experience with little to no performance drops. This is just my preference, and it can be chosen to follow as a guideline by your discretion. ***
Multi-Core Power Saving
This is a normal kernel feature.
Multi-Core Power Saving is a basic feature that, depending on the profile selection, groups tasks to a certain amount of cores. 0 is off, so the device runs as normal. 1 is on, and will try to group tasks into single cores or multiple cores at lower frequencies to save power, but will not force it. 2 is aggressive, and depending on the user, may find that this causes a little more lag as the phone really hates using any extra CPU juice for anything, processes may be clustered and slowed down from this, but battery life is also the best at 2.
I prefer this option set to 1, as it has no noticeable lag and seems to still optimize the battery a little more. This option varies from user to user.
Faux Sound Control
Faux Sound Control is developed and updated by Faux123.
Faux Sound Control is a custom feature that enables sound manipulation on the kernel level. This feature will allow you to modify the gain (Make sound louder at the potential cost of music quality or lower for ear protection) and other various settings from a kernel level. This is completely user preference and will vary from user to user.
Intelli-Demand CPU Governor
Intelli-Demand CPU Governor is yet another feature developed and updated by Faux123.
Intelli-Demand means Intelligent On Demand. On Demand is a kernel CPU Governor that comes as the stock setting for most phones. But it tends to be a little less than optimized and such results in sub-par battery life. Intelli-Demand is a tweaked version by Faux that will allow for similar performance and better battery life. It is also popular for gaming as when the GPU 3D load gets heavy it will perform like On Demand as not to interfere with game loads.
This is my current preferred CPU Gov as it has never given me problems and works like a charm.
I/O Scheduling
I/O Schedulers are different ways of controlling the input/output stream of information in with the memory of a phone. These generally do not vary too much in performance or battery-life but everybody seems to have a preferred one. I don't have a favorite and switch between noop, row, and zen from time to time again.
My only preferred setting here is setting the read-ahead buffer to 4096, as it increases speed and performance without any real hit to the battery.
TCP Congestion Control
I am not very well versed in TCP protocol or anything in the sort, but this basically controls how your phone interacts with Wifi/Data packets.
My preference (and, from what I've read, the general consensus) points to the Westwood TCP Congestion Controller. Never had any problems with it, too lazy to benchmark them.
I will add more later, and as I add features to the kernel, I will add explanations! Also, I plan on buying the Faux Clock app soon simply to figure out which profile is which (since the information is nowhere to be found) and then I'll return it and report the numbers back here. Also, whenever Cyanogen decides we're ready for CM12 official, the kernel will be ready for CM12 too. Please bear in mind that I hate updating and am not one with the Github (nor do I have time to learn about Github). Cheers! :good:
GOOD JOB:good::good::good:
And a little cpu overclock like 2ghz plzzzz ^^
Is it possible that you can create a kernel for F240?
Name... Hmmm
2SHAYNEZ
MitoTakatori said:
Is it possible that you can create a kernel for F240?
Click to expand...
Click to collapse
Hmmm... You posted the kernel for F240 to be compatible with E980 CM11 ROMs... right? If you can give me source for that I can try and add the same things to it as I am the e980. But I am by no means a dev or anything.
Snepsts said:
Hmmm... You posted the kernel for F240 to be compatible with E980 CM11 ROMs... right? If you can give me source for that I can try and add the same things to it as I am the e980. But I am by no means a dev or anything.
Click to expand...
Click to collapse
Nice. I will check the source then pinpoint it to you. Thanks in advance.
MitoTakatori said:
Nice. I will check the source then pinpoint it to you. Thanks in advance.
Click to expand...
Click to collapse
I hope I am able to deliver a kernel to you. By the way, what is the difference between F240 and E980/E988? I know E988 is international. Is F240 Viet or something? And what are hardware differences?
Snepsts said:
I hope I am able to deliver a kernel to you. By the way, what is the difference between F240 and E980/E988? I know E988 is international. Is F240 Viet or something? And what are hardware differences?
Click to expand...
Click to collapse
That's a good question... But u did build this on vmware? What steps did u take?
Snepsts said:
I hope I am able to deliver a kernel to you. By the way, what is the difference between F240 and E980/E988? I know E988 is international. Is F240 Viet or something? And what are hardware differences?
Click to expand...
Click to collapse
F240 is korean. I really don't know the exact difference between the E98x variants and the F240x. Maybe some kernel thingy.
bountyman334 said:
That's a good question... But u did build this on vmware? What steps did u take?
Click to expand...
Click to collapse
Yes. VMware using Linux Mint 64-bit. My main machine is a Windows 7 with AMD FX-6350 (3.9 GHz) and 8 GB of RAM.
Here, read the guide mukwing gave me in this thread: http://forum.xda-developers.com/optimus-g-pro/general/making-cm11-0-kernel-e980-t2870820
That should be everything you need. Props to him he knows what he's doing!
MitoTakatori said:
F240 is korean. I really don't know the exact difference between the E98x variants and the F240x. Maybe some kernel thingy.
Click to expand...
Click to collapse
I do believe there are some slight hardware differences which is what I read. I'm guessing the kernel you posted tells it to emulate an e980 somehow with the hardware. Maybe do something a little different to behave like e980. I don't really know though, that's just my guess. But yes I'll totally give it a shot if you can give me source.
Name it "Spartan" kernel or "Taco" kernel ?
2SHAYNEZ
shayneflashindaily said:
Name it "Spartan" kernel or "Taco" kernel ?
2SHAYNEZ
Click to expand...
Click to collapse
Is the Taco kernel a reference to the flashaholic thread?
I like Spartan kernel though...
I was thinking of something like the "Ignis" kernel. Ignis is Latin for flame. Or maybe "Phoenix" kernel.
Knock on/double tap to wake please
Just tried to add some governors. Picked them right off of another kernel... I also copied and pasted the kconfig, makefile, and cpufreq.h files hoping that it would be the same... didn't work. Haha, guess I'll try typing in the config stuff myself and see where that gets me.
Adding features is the most headache things haha.
The commits from other device's kernel always not so compatible with e980 kernel.
Even commits from similar device's kernel like oppo n1 or G Pad 8.3 i still can't sucessfully incorporate them.
Without knowledge of programming, hard to find out what's wrong in the code.......
BTW, i have compiled a TWRP which can mount/read/write to F2FS formatted sdcard. But it lack the ability to format the sdcard to F2FS, need to do it in linux.(i am not sharing it because it still have chance of recovery bootloop)
mukwing said:
Adding features is the most headache things haha.
The commits from other device's kernel always not so compatible with e980 kernel.
Even commits from similar device's kernel like oppo n1 or G Pad 8.3 i still can't sucessfully incorporate them.
Without knowledge of programming, hard to find out what's wrong in the code.......
BTW, i have compiled a TWRP which can mount/read/write to F2FS formatted sdcard. But it lack the ability to format the sdcard to F2FS, need to do it in linux.(i am not sharing it because it still have chance of recovery bootloop)
Click to expand...
Click to collapse
Wow really? Damn I would have thought for sure HTC One kernels would have some similarity (Since we have identical processors).
Guess I'm learning C. I've actually made sense out of some of the programming already, but it's gonna be a ***** to get working. Thanks for the info though.
Good if you know programming language!
Waiting your kernel
But i will stay with stock lg for a while, haha.
Running this with acid and its running great, lost 2% between 11pm-6 in deepsleep:beer:
Sent from my LG-E980 using XDA Free mobile app
Snepsts said:
Is the Taco kernel a reference to the flashaholic thread?
I like Spartan kernel though...
I was thinking of something like the "Ignis" kernel. Ignis is Latin for flame. Or maybe "Phoenix" kernel.
Click to expand...
Click to collapse
Lol love tacos .... How about "La flama Blanca" The white flame lol .. Jk
2SHAYNEZ
Machinex
MarkOneHundred
Sheer will .
This is machinex.
This is machinex. I have been working on this kernel for over a year now, and am finally comfortable with its release to the public. This kernel builds on the great work of those who have made this device the powerhouse that it is. There are elements here that you have experienced on every GS4 kernel to date, as well as other devices.
The goal I had for this project was upstreaming/updating/experimentally upgrading as much as I possibly could. I have done so, and will continue to do so.
This kernel is ONLY for TW-based, 5.0.1 roms for the I9505!!! NO I WILL NOT DEVELOP FOR DEVICES I DO NOT OWN, SAVE YOUR BREATH!
OBLIGATORY DISCLAIMER:
THIS KERNEL COULD VERY WELL DESTROY YOUR PHONE, YOUR LIFE, YOUR MARRIAGE, Etc. YOU INSTALL AT YOUR OWN RISK!! XDA AND I ACCEPT NO LIABILITY FOR YOUR DECISION TO USE THIS KERNEL!!For noobs: assume that installing this kernel will cause your phone to grow arms and punch you in the face.
PLEASE READ AND UNDERSTAND THIS OP BEFORE LEAVING USELESS "IT DOESN'T WORK" COMMENTS!
Issues that aren't answered here will be dealt with on a case-by-case basis.
SEE POST #2 FOR UPDATES, CHANGELOGS, and FIXES
SEE POST #3 FOR BATTERY/PERFORMANCE INFO
SEE POST #4 FOR A SHORT SYNAPSE BRIEFING
LOGS OR IT DIDN'T HAPPEN! Context helps too. What were your Synapse Settings?
KNOWN ISSUES Wifi issue is fixed! After a fresh rom install, all you need to do is reboot and the appropriate files are created in /data enjoy! HOTSPOT IS FIXED!!!! Finally! I AM AWARE OF AND WORKING ON LOCKSCREEN PIN BUGS!!
FEATURES:
- Linux 3.4.113 + a LOT of upstreamed subsystem code.
- Automatic Busybox Installation, Version 1.25.1.
- Cpufreq core backported ENTIRELY from mainline 4.13. All Cores operate independantly. Their governors and tunables can all be different.
- Govorners: Due to a highly upstreamed cpufreq core api, not many custom governors for now except for Interactive, Intelliactive, and the *NEW* Schedutil governor, described in the documentation like so:
The "schedutil" governor aims at better integration with the Linux
kernel scheduler. Load estimation is achieved through the scheduler's
Per-Entity Load Tracking (PELT) mechanism, which also provides
information about the recent load [1]. This governor currently does
load based DVFS only for tasks managed by CFS. RT and DL scheduler tasks
are always run at the highest frequency. Unlike all the other
governors, the code is located under the kernel/sched/ directory.
Sysfs files:
* rate_limit_us:
This contains a value in microseconds. The governor waits for
rate_limit_us time before reevaluating the load again, after it has
evaluated the load once.
For a great, comprehensive blog regarding the specifics of each governor, as well as the settings found below, please check out the link I've referenced in post #3.
- HARDLIMIT and THERMAL: Incorporated Yank555's CPU Limiting solution, Hardlimit. ALL hardlimits, cpu boost limits, and thermal limits are now PER CORE. I have included it directly in the core cpufreq code, and it is the primary controller for THERMAL, INPUT BOOST and user controlled hardlimits. Thermal overrides both user-selected and input-boost limits, and you can monitor the limiting in real time. Also, the thermal driver now accounts for each core's temperature, and saves time/lock-contention by skipping core control if the temps are below the frequency limiting value.
-CPU HARDPLUG: A driver I built that hooks into the main cpu hotplug API and allows you to disable any core you want, configurable for screen on/off.
- Hotplugs: MX Hotplug, personally built from scratch and uses a real-time kthread for its calculation work. Intelliplug 15.8 (Personally Updated), Alucard Hotplug, MSM_sleeper, Lazyplug, Blu Plug, and Bricked hotplug.
Hotplug Notes: I changed the names of certain functions in the Alucard and MSM Sleeper hotplugs, so that their tunables could be streamlined in Synapse. Synapse is cleaner and simpler than ever, but if you use a third party app, Alucard and MSM Sleeper's max cores and max cores during suspend settings will not be tunable. So anyone who uses a third party app with this kernel let me know and I'll devise a workaround. Mpdecision removed entirely. The "mpdecision" in our sysfs is actually bricked hotplug.
-GPU:Machinactive, Interactive, Conservative, Ondemand, Performance and Powersave GPU Governors, GPU touchboost (fixed suspend issue), ability to lock the min/max freqs, and more!
-Updated version of fauxsound (5.4) (flar2, alesaiko, me). I limited the options in the code to the 4 controls that actually work for our device, and you'll notice a significant stability improvement. Slimbus:Golden-ratio-based operation is pristine. Sound quality is hardware-perfected. The version number is largely arbitrary and I increment when I make any significant improvements. NO MORE USERSPACE CALCULATIONS NEEDED!!!
-A gamot of colour, brightness, and panel options that I frankly didn't think would be feasible for our device, but it's working! MDNIE HIJACK selection, KCAL, and Cyanogen's generic PCC colour control are implemented in Synapse. Note that MDNIE/KCAL stuff is a battery thief, and I've not tested PCC colour control enough for power consumption to give you a definitive statement on it. Note: PCC values are from 1000 (safety limit) to 32768 (or a number close to that), meaning your tuning control is as FINELY GRAINED as possible for this device. I can't believe Synapse actually supports its ridiculous number of steps (and well, I might add). Faux's generic "colour control presets' are in there and they actually work! The stock colours much more vivid, and lower brightness settings benefit from them as I have modified top brightness to my liking.
-HBM:Qualcomm High Brightness Mode: unlocked! This can be controlled via a checkbox in Synapse, but you can also use flar2's HBM widget from the play store. I tried it before and HBM would flicker, but i pulled off a VERY hacky way of making it userspace controllable. Be careful! Though it doesn't seem to drain the battery or overheat the device, it's purely experimental and could cause Chuck Norris to come to your house and personally smash your phone. Now SEPARATE from autobrightness! "SCREEN FLICKER FIX" on PAGE 2
- Completely upstreamed and overhauled cpu, power, scheduling...you name it. Updated Powersuspend to the point where I had to rename it, because it is now closely integrated with the core suspend/power api. Introducing: Prometheus. The driver now calls suspend directly when you turn the screen off, unless a) music is playing, b) the phone is plugged in or c) you choose to disable the feature.
-All the TCPIP tweaks etc, updates to random/frandom, android-specific autogrouping, limited but significant LMK/OOM updates.
-BACKPORTED "codel" fair-queueing net-scheduler, for a faster/more consistent networking experience.
-persistent ram, kexec-support, fast-charge, etc. Drop Caches button in Synapse is useful.
-Utilizing Qualcomm's built-in QRNGD (qualcomm random number generator daemon) with randomness optimized in the kernel = entropy for days.
-BOOTLOADER: Officially only 5.0.1 Bootloaders are supported. Unofficially, someone tried it with a KK bootloader and it worked fine for him so what do I know?
-COMPLETE Synapse support. Download, update, AND install Busybox On Rails from the PlayStore before you install the kernel for best compatibility and support. UPDATE: FULL Busybox installation is now included in machinex installer script. If you have any issues, still feel free to install Busybox on Rails. Upon kernel installation, you'll find Synapse installed in your system apps. If you want to get rid of it, just remove it from /system/priv-app with your file manager.
-CPU and GPU VOLTAGE Control: Both in Synapse. I DO NOT SUPPORT ISSUES IF YOU CHANGE VOLTAGE. YOU ARE ON YOUR OWN.
MENTIONS:
To those listed here, I cannot express how grateful I am for your assistence, patience, and kindness towards me as I badgered you throughout my journey. Though saying "thank you" doesn't feel like enough, thank you all. If I missed someone here, please tell me.
Thankyou:
friedrich420
Slim80
Tkkg1994
flar2
osm0sis
alesaiko
HybridMax
Kushan
Alucard24
Ausdim
Ktoonsez
neobuddy89
javelinanddart
Andreilux
theHacker911
UpInTheAir
Pafcholini
Placiano
Dorimanx
faux123 (seriously like the godfather of s4 kernel hax)
jcadduono
FransiscoFranco
Cyanogen
Meticulus
Eliminator74
Matthew-333 (moonshine kernel)
klabit87
apbaxel
yank555
ion-storm
yseras
PDesireAudio
lsswizard
arter97
Grarek
mrg666
showp1984
gsstudios
Lord Boeffla (andip)
Chainfire
TeamTrickster
tommygreenus
Andycar (For being the best bloody coding buddy I could ask for)
The Machinex Testing Team! - AMAZING folks, just amazing.
My Awesome Testers from this thread.
Again, I'm sure there's tons more.
On to the fun part then
INSTALLATION INSTRUCTIONS:More importantly, the uninstallation instructions. The install pretty much takes care of itself.
There are two links below that you must download in order to safely have an install/uninstall solution for this kernel. The one labelled "machinex-MarkOneHundred.zip" is the kernel. UPDATE: Busybox On Rails isn't required anymore. The second zip is crucial for uninstalling, aptly named "machinex-uninstaller-Jan12.zip." When this kernel is installed (and everytime it boots), it will rename mpdecision, thermald, thermal-engine, and power.default.so with an appended "-bak" suffix, because they all interfere with the updated power/cpu code in the kernel. If you switch to a different kernel, I INSIST that you flash the uninstaller (or take a look at the scripts yourself and do the stuff manually). ATTENTION: SLIM80'S KERNEL CLEANING SCRIPT IS NO LONGER NECESSARY WHEN FLASHING THIS KERNEL!!!!!! I HAVE INTEGRATED MY OWN CLEANUP PROCESS IN THE INSTALLER!!!!!!!!!!
TLDR: NO NEED FOR BUSYBOX ON RAILS, flash zip. use uninstaller zip to uninstall.
DOWNLOADS:
!!!JANUARY 12, 2017:UPDATE!! NEW UNINSTALLER for EVERY VERSION!!!!
DO NOT MIRROR THESE ELSEWHERE. DO NOT INCLUDE THEM IN YOUR ROM WITHOUT ASKING MY PERMISSION FIRST. I AM HAPPY TO COLLABORATE, NOT TO BE ON THE RECEIVING END OF BUG REPORTS CAUSED BY THIRD PARTY DOWNLOADERS.
UNINSTALLER-JAN12: https://www.androidfilehost.com/?fid=385035244224412313
md5: 295ac70bbb17ad2e5dc59e4ca1288e79
MarkOneHundred
INSTALLER: https://www.androidfilehost.com/?fid=745849072291685412
md5: 03af9cfc399d3eda3141254291668563
SOURCE: https://www.github.com/robcore/machinex
(be gentle on my ridiculous commit history, my git skills are shoddy at best).
So keep in mind this a development thread, blah blah blah, but if we all have good discussions (let's TRY to keep it on topic), I'm more than happy to have some fellow nerd friends to talk about my passion with. Heck, I want to use this thread as a chance to meet some other developers who wanna work on stuff together, exchange ideas, learn, and teach me how to get better at git.
Enjoy!
XDA:DevDB Information
Machinex, Kernel for the Samsung Galaxy S4
Contributors
robcore
Source Code: https://www.github.com/robcore/machinex
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: MarkOneHundred
Stable Release Date: 2017-10-31
Created 2016-09-05
Last Updated 2017-10-31
Reserved
UPDATES NOTICE:
Reset your fuelguage (in Synapse) after every install! WIping your cache and dalvik-cache can be helpful for stubborn apps, as well as wiping the cache of any specific app giving you trouble!
-------------------------------------------------------------------------
UPDATES - MarkOneHundred - October 31, 2017
CHANGELOG:
- Updated memory management to roughly linux 4.4.
- Modified Cpufreq in various ways. Per-Cpu frequency touchboost, per-cpu thermal core tracking and limiting, and governors can now be changed if a cpu core is offline. The governor selected will be applied to the core once it comes back online.
- Implemented Omniboost, a generic touchboost interface that can be used for any driver, so long as driver has an external function that the booster can use.
- Built a new hotplug driver from scratch, mx_hotplug. The driver chooses to on/offline cores based on a combination of system load and current number of scheduler requests (and touch of course). What separates this hotplug driver from others is that it uses a real-time kthread in order to give it an "interactive" type calculation.
- Speaking of which, found and fixed the issues with google's most recent interactive governor, and have added it back. Due to it working perfectly now, I forward-ported Intelliactive as well.
- Updated Hardplug to be more efficient.
- Built a little userspace hotplug driver from scratch for those who just need manual core adjustments.
- Tons of other little fixes and updates, to the kernel itself and to Synapse. Please explore around Synapse for some of the updated features.
- Found and fixed any of the user reported bugs i could.
- Continued with the various core updates to 4.14.
- Updated to my own toolchain, 7.1.1 hardfloat, cortex-A15 optimized (it is similiar enough to krait to give us an edge).
- I will update this if i think of anything else.
Sticky: Kernel base is now pretty much somewhere between 3.16-3.18, however I will keep the versioning at 3.4 for certain functions that depend on kernel_version conditionals. Wifi hotspot disconnect issue still persists, but i'd like to think that one day it will be solved...
Can be found in MachineX Rom by the awesome @Andycar found here: https://forum.xda-developers.com/ga...m-machinex-debloated-nogapps-s6-apps-t3573009
See my poorly formatted wiki for older updates:
https://github.com/robcore/machinex/wiki
-----------------------------------------------------------------------
LOGS
In Synapse, under 'LOGS AND PROFILES,' you will find a button that says ALL LOGS. Please press this button IMMEDIATELY after a bug appears that you would like to report, or after a boot if you get a kernel panic (RR).
From now on, without these logs present, I am no longer able to respond to the issues brought up by users.
FIXES
The following fixes involve sqlite and the "Setting Storage" application, also known as Settings Provider, or "com.android.providers.settings package" You will be working with a file named settings.db, and the 'system' table within.
Synapse Cancelled Fix: Get rid of the init.d scripts that are conflicting with UCI service startup. Also check the SuperSU section below...
Sound Fix: Either don't use an audio mod, or don't use Faux Sound Engine. That's all she wrote.
ScreenFlickerFix: Using an SQLITE DB Editor of your choice (from playstore), navigate to the "system" table and change values for "dim_screen" and "intelligent_screen_mode" to 0. *UPDATE* NOW AVAILABLE IN SYNAPSE UNDER THE "EXTRAS TAB"
ChargingTweak: Same as above but change "adaptive_fast_charging" to 0. This is only IF you are having issues which kernel driver-level fast charge. *UPDATE* NOW AVAILABLE IN SYNAPSE UNDER THE "EXTRAS TAB"
MASSIVE THANKYOU to @Andycar for making the above two fixes possible via Synapse!
SuperSU: I'm seeing a lot of permisison errors. Make sure, when using custom roms and kernels, that SuperSU is set to be as permissive as possible so you don't get knox blocked. Here are the crucial settings:
- ENABLE SU during boot
- DISABLE (untick) Mount namespaces separation
- Install SuperSU into /system
- ENABLE Trust System User
- Though I know many have security issues with the idea of allowing apps by default, doing so will make your experience way faster and provide you with less interuptions. At the very least I would set allow by default for Synapse.
These SU settings are kinda par for the course when it comes to android modding.
build.prop: Here is a list of property removals/changes recommended for our device:
REMOVE(lines containing):
ANYTHING with "fps/FPS" in it.
persist.sys.NV_FPSLIMIT
persist.sys.NV_POWERMODE
persist.sys.NV_PROFVER
persist.sys.NV_STEREOCTR
persist.sys.NV_STEREOSEPCHG
persist.sys.NV_STEREOSEP
persist.af.resampler.quality
af.resample
persist.af.resample
ro.telephony.default_network
telephony.lteOnCdmaDevice
dalvik.vm.dexopt-flags
ro.media.enc.jpeg.quality
ro.media.enc.hprof.vid.fps
ro.ril.power_collapse
ro.ril.sensor.sleep.control
pm.sleep_mode
power.saving.mode
persist.cust.tel.eons
persist.sys.dalvik.hyperthreading
boot.fps
shutdown.fps
debug.egl.profiler
hw2d.force
hw3d.force
video.accelerate.hw
debug.mdpcomp.maxlayer
debug.egl.buffercount
debug.enabletr
ro.hwui.renderer.disable_opaque
persist.sys.media.use-awesome (this is default anyway, and is controlled via the nuplayer checkbox in developer settings, so it's unneccesary)
CHANGE:
persist.sys.storage_preload=0 to persist.sys.storage_preload=1
tunnel.decode=false to tunnel.decode=true
af.resampler.quality=4 (or anything else) to af.resampler.quality=255
ro.config.dha_ils_enable=false to ro.config.dha_ils_enable=true
#ro.config.dha_cached_max=4 (remove the #)
#ro.config.dha_empty_max=36 (remove the #)
#ro.config.dha_lmk_scale=0.594 (remove the #)
sys.config.samp_spcm_enable=false to sys.config.samp_spcm_enable=true
sys.config.spcm_preload_enable=false to sys.config.spcm_preload_enable=true
ro.security.mdpp.ux=Disabled to ro.security.mdpp.ux=Enabled
For those having gaming issues, try removing them if you have them or adding them if you don't:
debug.performance.tuning=1
persist.sys.ui.hw=1
This might solve some issues for some folks.
---------------------------------------------------------------------------
INSTALLATION NOTE: Your first boot will probably take longer than usual, because this kernel makes significant (but safe, and auto-backed-up) changes to your core operating system.
This kernel includes drivers that TW has been compatible with since JB (I checked),
but didn't update the kernel drivers for (the best example of this is Autosleep). That said, there are userspace controllers like thermald and mpdecision (a binary linked to kernel code)
that interfere with custom governors, hotplug drivers, etc, so I've made the decision to back them up in the kernel script, and have them disabled while using this kernel.
The UNINSTALLER restores everything to the state it was in before flashing machinex, which is why I so strongly emphasize its use.
PERFORMANCE AND POWER-SAVING
Regarding the age-old performance/battery-life settings questions floating around, I'm gonna go ahead and suggest the following website created by a very dedicated fella who started out with the exact line of questioning, and built a genius guide for users of custom kernels. Heck, it's useful for developers too.
His username here is @gsstudios and he is a recognized developer here on XDA. Deserves it too
http://androidmodguide.blogspot.ca/
and on XDA:
http://forum.xda-developers.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957
I encourage you to rate that thread 5 stars, as it is the most comprehensive guide to kernel tunables you ever did see.
Note that I *probably* don't incorporate feature requests, as I have enough on my plate with bringing up the subsystems to a point where I can call this a stable release thread. Don't like it? YOU try backporting linux 3.9 scheduling code to a Samsung 3.4 base
On that note, if anyone here is savvy regarding kernel, C and (not "or") git development, I welcome coding partners because working with a team means better quality, better time management, and a better chance of incorporating fancy tweaks.
Cheers.
SYNAPSE:
Synapse has a default "warning" that comes up the first time you open it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The initial warning is just a bug in the app because it's just been installed.
It's a design flaw in the app itself.
Synapse bases its stability check on whether the device is rebooted within 2 mins of being turned on.
Synapse does this on first boot for every single kernel that uses it,
because it has no previous internal boot settings to base its decision on,
and also because the app expects saved defaults when none have been established yet.
It is nothing to worry about.
Untick the option in settings called "stability check" going forward.
Breathe.
Does it work?
I'm on imperium kernel on Thor s7 rom, I was wondering if your kernel works with m919, tmo gs4, I was looking forward to trying out your rom.
Thank you
-jeff
Hey Jeff,
The answer is...maybe/probably. I know that's probably not what you want to hear, but let me explain.
My device is actually an i337m (which is why i included it in the thread title), but I've been using the international kernels and roms without *major* issues ever since I've owned it. This is built from international sources, and it is running well on Albe's awesome 9.0 rom, so I imagine it will perform well for the ported/upgraded roms for our phones.
So if you've been using the international roms/kernels without problems, I see no reason why this wouldn't work for you other than the bugs/current issues listed in the op.
Sent from my GT-I9505 using XDA Forums
Can you create kernel for cm 13?
Wysłane z mojego GT-I9505 przy użyciu Tapatalka
Welcome to s4 community Bro.
Congratulations . Downloading. ......
Sounds nice bro, good Job! Try this Kernel later as soon as possible on my GT-I9505 with THOR S7 v1.5!
Sent from my SM-G935F using XDA-Developers mobile app
r2089 said:
Can you create kernel for cm 13?
Wysłane z mojego GT-I9505 przy użyciu Tapatalka
Click to expand...
Click to collapse
Sorry man, but CM is not on my list of priorities.
NAROUTO said:
Welcome to s4 community Bro.
Congratulations . Downloading. ......
Click to expand...
Click to collapse
Thanks! Though I've been around here for a while
xell75 said:
Sounds nice bro, good Job! Try this Kernel later as soon as possible on my GT-I9505 with THOR S7 v1.5!
Sent from my SM-G935F using XDA-Developers mobile app
Click to expand...
Click to collapse
Thanks! I hope you enjoy!
Everyone who uses this, feel free to provide feedback to help me assess what's needed for MarkTwo!
@robcore.
Im gonna try this to imperium rom v15.
So what is the best settings for more battery life ?
Playing clash of clans a few times a day browsing tapatalk and using youtube all day.
I want my device to run cool. Lol
Update:
Got a random reboot from the first initial setup.
==========
Will let it run for a couple of days with the preset default settings.
I will use my old 2600mah for now and later on swap my 7500mah once i get some good battery stats.
droidblitz said:
@robcore.
Im gonna try this to imperium rom v15.
So what is the best settings for more battery life ?
Playing clash of clans a few times a day browsing tapatalk and using youtube all day.
I want my device to run cool. Lol
Update:
Got a random reboot from the first initial setup.
Click to expand...
Click to collapse
Msm sleeper is a pretty sold hotplug for battery. I've noticed power efficient workqueues tend to slow things down/eat battery. Honestly I would try out msm sleeper for battery savings. Just note that games+youtube by design will eat into battery life. I will add some more power conscious governors soon. Also the usual stuff, the power your screen brightness the better, and turning off vibration/haptic will help.
robcore said:
Everyone who uses this, feel free to provide feedback to help me assess what's needed for MarkTwo!
Click to expand...
Click to collapse
I'm using this Kernel now on my GT-I9505 with THOR S7 v1.5 and so far a stable Kernel for me, many settings and alot settings I had never seen before as I like, very good! Just one thing til yet, Trying to set "Hellsactive" as CPU governor causes a freeze and a full reboot. Otherwise Kernel seems stable, using "Stockdemand" CPU Governor now. Keep going your work!
Sent from my SM-G935F using XDA-Developers mobile app
xell75 said:
I'm using this Kernel now on my GT-I9505 with THOR S7 v1.5 and so far a stable Kernel for me, many settings and alot settings I had never seen before as I like, very good! Just one thing til yet, Trying to set "Hellsactive" as CPU governor causes a freeze and a full reboot. Otherwise Kernel seems stable, using "Stockdemand" CPU Governor now. Keep going your work!
Click to expand...
Click to collapse
You know what, the interactive-based governors gave me trouble for the longest time. But I have found the issues in a great patchset, and am working on a fix that should be ready in a couple of hours. Until then EVERYONE STICK TO ONDEMAND-BASED GOVS!!!!
droidblitz said:
@robcore.
Im gonna try this to imperium rom v15.
So what is the best settings for more battery life ?
Playing clash of clans a few times a day browsing tapatalk and using youtube all day.
I want my device to run cool. Lol
Update:
Got a random reboot from the first initial setup.
==========
Will let it run for a couple of days with the preset default settings.
I will use my old 2600mah for now and later on swap my 7500mah once i get some good battery stats.
Click to expand...
Click to collapse
I'm guessing interactive based gov? If so, see my post above, MarkTwo is coming tonight.
robcore said:
You know what, the interactive-based governors gave me trouble for the longest time. But I have found the issues in a great patchset, and am working on a fix that should be ready in a couple of hours. Until then EVERYONE STICK TO ONDEMAND-BASED GOVS!!!!
Click to expand...
Click to collapse
Nice mate that's ok, thanks for the information! I'm looking forward for your new version!
Sent from my SM-G935F using XDA-Developers mobile app
xell75 said:
Nice mate that's ok, thanks for the information! I'm looking forward for your new version!
Click to expand...
Click to collapse
Dude thank YOU. I can't tell you how much I appreciate you and the others for testing this out and helping me iron out the remaining bugs, and being so understanding that "interactive based govs are broken" which is super embarrassing. Lol.
droidblitz said:
@robcore.
Im gonna try this to imperium rom v15.
So what is the best settings for more battery life ?
Playing clash of clans a few times a day browsing tapatalk and using youtube all day.
I want my device to run cool. Lol
Update:
Got a random reboot from the first initial setup.
==========
Will let it run for a couple of days with the preset default settings.
I will use my old 2600mah for now and later on swap my 7500mah once i get some good battery stats.
Click to expand...
Click to collapse
Update: simple gpu gov is snappy at stock settings and sooooo much better for battery consumption.
Also if memory serves me correctly, aren't you a cm kinda guy ; )
robcore said:
I'm guessing interactive based gov? If so, see my post above, MarkTwo is coming tonight.
Click to expand...
Click to collapse
Nope havent touched anything
There was a failed message when i booted the synapse app.
Something link kernel image failed but not sure should have taken a screencapture and the log.
Either way its working now.
robcore said:
Update: simple gpu gov is snappy at stock settings and sooooo much better for battery consumption.
Also if memory serves me correctly, aren't you a cm kinda guy ; )
Click to expand...
Click to collapse
More into like AOSP rom but had to use Tw for camera/video
I just noticed something.
My display colors somewhat changed? I think in a good way. Lol
simple gpu gov in marktwo?
droidblitz said:
Nope havent touched anything
There was a failed message when i booted the synapse app.
Something link kernel image failed but not sure should have taken a screencapture and the log.
Either way its working now.
More into like AOSP rom but had to use Tw for camera/video
I just noticed something.
My display colors somewhat changed? I think in a good way. Lol
simple gpu gov in marktwo?
Click to expand...
Click to collapse
Well it's great to see you here man! Lol with screen colour I made some fixes and changes to sammy's mdnie code. Upon checking the code against their roms, it turns out they've never bothered to fix discrepancies between the values in settings and the driver itself! "Standard" and "dynamic" have been switched this whole time. Also "auto" has been a placebo all along, they have had the backend in place all along but never initialized it in the list of available screen modes. On that note, for even cooler stuff check out the "video_mode" scenario in synapse. It's AWFUL for battery life, but sharpens everything to a crisp. I'm pretty sure kcal helped with color too(?).
As for simple gpu gov, works just fine on MarkOne! Franco's simplification to it made it a freakin' powerhouse while being better for battery somehow.
Building MarkTwo as we speak, then I'll test it and it's out! I'm working on the gov settings in synapse while building too. The tunable settings are ticking me off.