[RELEASE] ShinTo Kernel v029a001 N9005 & N900T
[ 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
–== 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
–== DriveDroid ==–
“DriveDroid 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
Thanks! I will install it later today. Can i place the link of this page at tkari’s ROM thread at XDA?
You’re most welcome Pierre!
By all means, of course you can if the OP doesn’t mind.
Link the page though, not the download link.
Thank you.
I will ask the OP. Thanks for the fast response.
Hello..can i ask u to build kernel for me? My device (sm-n9005) can’t use kernel that has latest linux kernel version..will always reboot..i have try all kernel and always reboot..i just can only use kernel that has linux kernel version 3.4.0 like compulsion stock modified..i really hope someone could build a custom kernel for me that use original linux kernel version..i use latest rom XXUGNH1..btw,i really love your kernel name Shuriken,i hope that i can use your new Shuriken kernel with original linux kernel version 3.4.0..please if u dont mind..thanks
Hi and thank you very much for your kind words.
I’m afraid for the time being I have a very tight schedule so I won’t be able to help you with producing a variation of ShinTo Kernel specifically compiled on version 3.4.0
If all kernels make your device reboot, even stock Samsung, then I would advise taking it back for service & warranty as you may have a faulty device.
Stock kernel did fine..my device only reboot when i change location that have 4g lte signal when use custom kernel..
I just want to use custom kernel that have many funtion..and can save more battery..its fine,i understand..thanks so much for your reply
Yes this is the best kernel have ever had !!!! Thanks for your work
Thx Yoann for all your help!!!! 🙂
Can i ask u to teach me how to build a custom kernel? I want to make linux version 3.4.0 for my sm-n9005..if u dont mind,what all the things i need?
Hi Nik,
I will be writing some tutorials on how to get everything going and compiling for the Note 3 but it will take me some time.
What you could do is google for how to “Cross Compile for ARM”. You should find plenty of tutorials on how to setup your environment based on Ubuntu, and all the steps required. Once you have all that, I would recommend you check Imoseyon’s thread for Note3 @ XDA and his GitHub account. Once there, you should be able to download or patch your way to 3.4.0 because he has it done there.
Good luck!
Thanks for your help..
hi, just want to ask..will this kernel work on S5 port rom for note 3?
Hi, from what I’ve heard it should work.
Make a full nandroid backup before trying out ShinTo Kernel, just in case you need to go back.
Hi iamskynet
Hi
I’ve been testing your kernel on my note 3 (international) and the only thing i’m missing on it is the usb kernel support (Use phone as usb keyboard)
Is there any chance you could incorporate this in your kernel please??
That would make this kernel complete
-Swipe to sleep would also be good (love the touchwake 🙂 ) but the usb keyboard would make this one of the best kernels!!!
Hey Mike!
Thank you for such kind words 🙂
Well, I’ve looked into the code for the USB keyboard and thought that no one was interested so I didn’t bother…
I will try to add it to the list with S2S S2W stuff.
I try not to add too many things as I’m always worried about the stability of ShinTo Kernel when I add new code.
I’m trying out your shinto kernel.
Thank you for trying ShinTo Kernel; hope it will be worthy of your time.
I’ve seen that as well, not sure why there is little interest in the usb keyboard code.
The application is immense.
Imagine connecting to dumb terminals, servers etc… (please note i use this in my workplace all the time and its so handy not to carry a usb keyboard all the time!!)
But i can understand not overloading your kernel as most features make it harder to maintain.
Thank you for your response 🙂
Well, if it is usefull to you on your daily job, then I will try to squeeze it in the next release 😉
Thanks iamskynet
I hope this isnt to much trouble and doesnt cause any conflicts with your previous codes 🙂
I have included and tested USB Keyboard in the upcoming version of ShinTo Kernel ShuriKen (v30a001) so keep an eye here as the release is happening very soon 😉
Anyone else having VPN issues ? Hola will not work at all and Pandora via patcher and exposed also does not work anymore.
Hi Randy,
Just tested it with OpenVPN and I have no issue whatsoever.
Is it possible you changed some networking settings from Synapse?
I would recommend clearing your Synapse and testing with stock settings.
Hmmm … could not see anything wrong in network settings …
Hola brings up this dialog.
Error trying to show the Android 4.0+ VPN service dialog. . . . .
(1st) line of error dialog.
Hi again,
From what you have posted it seems like a rom thing or a bad interaction with an xposed module maybe?
How’s the f2fs coming along? 😀
A dev and I tested it a while ago for a straight week but he never figured it out lol and we concluded it wasn’t possible on TW
awesome work
Well it is very possible and I have it working right now with stock Samsung rom. Have adapted the latest upstream sources from f2fs. Still have one issue with labeling xattr & selinux to crack.
Just finished adding code so ShinTo Kernel will be able to mount f2fs or ext4 in any combinations you’d like on the fly. This way ppl can test f2fs and if they don’t like it, go back to ext4 without headaches. Just twrp backup / format ext4 or f2fs / restore.
All issues solved. Next version of ShinTo Kernel will bring easy F2FS to any TouchWiz rom. There will be no need to touch or configure anything at all. ShinTo Kernel is smart enough to mount /system /data /cache on the fly, be it F2FS or EXT4 and in any combination.
More details to come 😉
NICE WORK DUDE!!!
Finally..i change my carrier network simcard and now i can use any custom kernel for my sm-n9005..its great that i can use your kernel,thanks a lot..btw,when will your new kernel be release?
Happy for you Nik!
If everything goes well and there are no last minute surprises, it should be released by the end of next week. 😉
Hi guys I’m running shinto and my phone screen won’t turn back on after I start my WiFi tether. I have to turn off the phone to get it working again 🙁 other than that it’s great 🙂
Hi & thank you for trying ShinTo Kernel.
Sorry to hear that you have this issue with WiFi tether.
I would advise you to wait a few days for the new release and if by then you can reproduce the problem, I would ask you to contact me so we can work together to debug and fix it.
Sorry to hear that bud. Tested on my n9005 no issue so far.
Thank you very much for reporting!
I think you will love next release ShinTo Kernel ShuriKen (v30a001). 😉
Hi again, after a user submitted some good last_kmsg bug reports, I was able to find the culprit that hits a very small percentage of users: a bug in UDP6 code path that causes a NULL pointer dereference. For that to happen you have to have open UDP6 (TCP/IP V6) and streaming data (music or video or voip, etc…)
This should have already been fixed in the upcoming ShinTo Kernel ShuriKen that will be published very soon, so keep an eye here 😉
Just wanted to stop by and say great work bud!
Really lookin forward to Shuriken
It’s almost here and it will be radical 😉
Tested the wifi tethering and no issue found. N9005 user here.
Thank you very much Brian for reporting here.
Keep an eye for the new version of ShinTo Kernel “ShuriKen” that will be release here very soon 😉
Hello Iamskynet,
Do you have some recommandations to set up the kernel with synapse? What’s your settings?
I jump into Shintô kernel flash today :D.
Synapse-settings working for me (SM-N9005):
CPU Governor: Interactive
CPU Max Screen-on frequency: 2496 Mhz
CPU Max Screen-off frequency: 652.8 Mhz
TOUCHBOOST_MAX_FREQUENCY: 300 Mhz
Enable Intelli-Hotplug
CPU voltage: -20 mV (-25 mV isn’t stable enough for me)
I/O Scheduler: Row 512/1024 (both)
Thanks I’ll try it 😀
I want to donate, but I am broke as a joke. I run my own server, and am wondering if you would be interested in having me host your site?
I’ve got a Fiber line coming into it, it’s a Dual QuadCore Xeon with 32G of Ram, sitting pretty in a 120G SSD primary drive, with Mirrored 256G 15k RPM drives…
No need to donate but I thank you for your offer.
Sounds like a sweet setup you got there!
Maybe in the future I might take you up on the offer, thank you very much!
It’s the least that I can to… or even donate a mirror for you or something? I have 200G free at Copy.com, and 9TB Free with OneDrive?
Thank you very much ^_^
For sure will let you know if/when I have a need 🙂
Hi, just found this kernel and tbh its a awsome one. it has the features that i always wanted in a phone such as the led control and the sound control specially the xpand feature.never seen that feature in a phone before, at least not by it being controlled kernel side. is there a way i can turn up the volume on the front earpiece so its almost equally to the normal speaker? i know it might damage it if its too loud but at least lower the speaker so it matches the earpiece or somethiing like that? also i saw a person on here that mentioned intelliplug but i cant find it in synapse.otheriwise everything is great. no issues so far!
Am loving this kernel a lot…… So wen should we be expecting an update
Well… there’s no fixed date atm as I’ve been hammered with work.