[RELEASE] ShinTo Kernel “ShuriKen” v30a001

[ Enhancements included in ShinTo Kernel ]

–== ShadowLED ==–

By linking the Note 3’s RGB LED to the different activities of the OS, we can know in real time what is going on, even when the screen is off, and the phone is seemingly “deep sleeping”.The brightness of the led light is proportional to the instant workload; the brighter the color, the higher the workload.

BLUE:    All things related to WIFI networking activity [Upload/Download].
GREEN: All things related to internal “SD” (MMC0) activity [Read/Write].
RED:     All things related to external “SD” (MMC1) activity [Read/Write].

To disable ShadowLED you need to delete the following file with root & reboot : /system/etc/init.d/09-ShadowLED

–== ZRam ==–

RAM is a precious resource that we can never have enough.
ShinTo Kernel uses state of the art functionality to intelligently manage and optimize RAM for peak performance.

Our NOTE 3’s, running Samsung’s Android Kit Kat (4.4.2), have a huge amount of background apps and services that, most of the time, sit idle waiting for some event to fire.
All these background apps and services are sapping precious RAM, and some will never do anything.

ShinTo Kernel uses ZRam very moderately (only 256Mb) to compress sleeping background processes and apps to free precious RAM for other interactive processes (the ones most important to YOU).
The compression ratio achieved is at least 3:1 (256->85) and up to 4:1 (256->65) while not affecting performance or battery at all, as the size of the compressed RAM is only 256Mb (do not go above that!).

Some people would argue that there’s no need for this as we have plenty of ram but from my experience with ShinTo Kernel, the more “free” ram, the more apps you can have in ram, even if they are not currently active and this amounts to a better multitasking and more fluidity.

The final argument is that even Google have activated ZRam in their Android and Chrome OS.

I have included a very nice, simple and clean app called “ZRAM Status

To disable ZRam you need to delete the following file with root & reboot : /system/etc/init.d/05-ZRam

To know more about ZRam

 –== UKSM ==– 

UKSM by KernelDedupe.org is a state of the art intelligent memory management system that achieves great ram saves by using two techniques:

(1) ZeroPages

When we launch an app, most of the time the app will allocate more (or a lot more) memory than it really needs. The extra memory is allocated exclusively, zeroed and sits idle till the app decides to use it.
That could happen sometime in the future or never…

ShinTo’s UKSM kernel service detects these kind of “ZeroPages” and intelligently remaps them to the ZeroPage manager and then frees those pages of ram.
Once the process really asks for these “ZeroPages”, the ZeroPage manager takes care of everything.
All this is transparent to the normal user’s workflow and it doesn’t affect performance or battery life.

As a matter of fact it might enhance battery life and performance as a lot more can fit in ram so there’s less wasted time and energy fetching data from SD (MMC0).
That should also help with multitasking fluidity.

My daily workflow can see up to 400Mb of ZeroPages, which means about 400Mb of ram saved and allocated to running processes that need them.

(2) SamePageMerge

There are some processes that create many copies of the same memory contents (same pages).
Some of these (same page) content’s never change so it is a waste of memory.
One clear example could be a web browser.

ShinTo’s SamePageMerge manager detects these identical pages and “merges” them, so they only occupy one page instead of many.
If a process needs to change the contents of one of these “identical” pages, the SamePageMerge manager detects that and takes care of everything.
All this is transparent and seamless, with no performance or battery penalty.

I routinely hit about 50.000 pages (around 200Mb saved) (50.000 * 4k) and have hit about 90.000 pages with heavy loads.

To disable UKSM you need to issue the following command with root :
echo 0 > /sys/kernel/mm/uksm/run

To know more about UKSM.

–== DriveDroid ==–

DriveDroidDriveDroid allows you to boot your PC from ISO/IMG files stored on your phone. This is ideal for trying Linux distributions or always having a rescue-system on the go… without the need to burn different CDs or USB pendrives.

ShinTo Kernel includes the necessary patch and functionality to be able to switch from CD to USB mode, so you could create rescue USB keys directly on the mounted image in DriveDroid.
For people that are in the tech support and have to reinstall different operating systems or boot recovery cds, it is a godsend as they don’t need to have different usb keys, cd, dvd, etc…

It’s a great tool and I recommend everyone to check it!!!

To know more about DriveDroid | DriveDroid XDA Forum

  –== Fix / Performance Enhancement Patches ==–

ShinTo Kernel includes new patches from CodeAurora, independent developpers, and great people all around the internet that fix a lot of issues (some we don’t even know exist!), add enhancements, boost performance and energy efficiency.
All these patches have been painstakingly integrated and checked one by one by hand to make sure ShinTo is as stable and fast as currently possible.

This new update brings a (hopefully) robust stability with the same great battery life and fast performance. I am also very happy to announce the support of TMO (T-mobile) N900T for my American friends, thanks to the constant and very professional help of Rick, better known as Megaflop666 in XDA.

Thank you Rick!!!! 😀

It is compiled with latest available LINARO Toolchain GCC 4.9.2 compiled by the great Christopher83

You may also like...

30 Responses

  1. kevp75 says:

    Nice job bud. 🙂

    • iamskynet says:

      Thank you, hope it works as advertised 😀

      • kevp75 says:

        and then some dude.

        Whats yur paypal…. i get paid next friday and i seriously want to donate a couple 6 packs 😉

        • iamskynet says:

          🙂 no need to Kevp75 but if you feel mighty compelled to, then head to the main page of PreCog.me (from a PC, or view website in Desktop mode) and it should be on the top right side.
          But seriously, there’s no need to!

      • kevp75 says:

        Will do man.
        Quick one for you… in shadowled.sh i assume i cpuld simply comment out a line if i didnt need it… what about adding a line for white? say… something for missed messages or maybe even cpu usage?

      • kevp75 says:

        or a gps lock during nav? lol

        • iamskynet says:

          Yes you can comment out a line, hopefully I’ll have the time add functionality so you can configure all that in Synapse.
          Missed messages is up to the system/app like gmail, etc…
          Gps could be taken care by something like Tasker of for sure by Automagic (I actually use a lot Automagic), again user land stuff.

  2. Bryan says:

    Does this work if I am using cwm recovery?

    • iamskynet says:

      Yes it does.
      The only thing I don’t know is of you want to convert any of the partitions to F2FS, if cwm has the option to format in f2fs.

  3. Bryan Chiam says:

    Hi, My feedback with the v30

    Battery is good
    Smooth

    Suspected could be issue as below:
    Phone went dead once after i received one whatapp text. Battery during that time was around 14%. Didn’t change anything else in Synape except speaker volume. Will continue monitoring.

    Battery % dropped 2 digits instead of 1. meaning that, when my battery is at 80%, it will goes to 78 instead of 79% after some times of usage. Will continue to monitor.

    • iamskynet says:

      The 2% drop could happen in some corner cases where you resume from suspend, battery is already on edge of dropping and then you do something that taxes your battery. At next battery refresh it will drop the 2%.
      For the next version I will try to improve the battery monitor code to take care of this corner case.

  4. Troskyo says:

    I’ve installed your ShintoKernel.APK into my nexus 5 and now I have a serious issue with the house lights, the seem to tinker when I turn down the TV volume.. and Shadowled is not helping 😉

  5. kevp75 says:

    Yeah I use taker for alot :)… less now that ive got more control over cpu tho HA

    Thanks bud… im going to experiment a bit with the script and the zram script… i totally missed out on it needing swappiness 100… and have been setting it down to 10 LOL

    • iamskynet says:

      Setting it to 100 will give you more free ram for important tasks and put all those background ones that are seldom used out.
      That’s the purpose of zram in ShinTo Kernel.
      Enjoy!

  6. juzzn says:

    I’ve gotten my first random reboots and non-waking black screens on Tweaked 3.95 with this kernel after a few weeks of stability on the 29a. Nothing altered in synapse and shadowled has been deleted.

  7. Nik Kay says:

    Thanks for this awesome Shuriken.. Can u show me what’s synapse best setting? And should i activate DVFS Disabler or not?

  8. Ezaechiel says:

    Will test it right now :-D, thanks for your hard work. It’s a great kernel by far 😀

  9. Nathan Yu says:

    Hi, how do I go back to EXT4 from F2FS. Thank you.

  10. Ezaechiel says:

    Hi iamskynet, just to report I have this issue too this morning : “Some people are hitting an issue where the screen phone doesn’t turn on from deep sleep, but the phone is still responsive.” ==> I had to hard reboot the phone. It already happened with an older version of Civato’s kernel.
    I hope you find the solution for the new version 😉

  11. bassini says:

    Can you add intelimm grv by faux ? Its ver good for battery live and performance beter then interactivex and ondemand

    • iamskynet says:

      I am already evaluating it in a private build since about a week or two and depending on the results of my testing will add it or not.
      Thank you for suggesting it.

      • bassini says:

        I also try alucard and he is best in my opinion but i will try with alucard hotplug if you can pls try add this hot plug in your kernel

        • iamskynet says:

          HI, thank you for the suggestion, I am well aware of Alucard.
          ShinTo Kernel is not one of those kernels where the dev (me) will add stuff just for the sake of having everything in it.
          Don’t get me wrong, but for that you have a huge choice of very good kernels out there for the Note3.

      • bassini says:

        And a last very very usefuel option “coretxbrain” this the best kernel live meneger ( in ultimate kernel you can see ) ( in live time mod system cpu gpu etc )

%d bloggers like this: