[RELEASE] ShinTo Kernel “SecondReality” V40A02
[ 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].
You can disable ShadowLED if you go to ShinTo Features in Synapse app.
–== 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 / NEW STUFF ==–
This new release of ShinTo Kernel includes the following :
- PrecoGOV v1.0.2 : Improved and activated some extra code that was not enabled in v0.9; let me know how it feels 😉
- PowerGUARD : We all know that the Note3 is a big phone and as such, I myself find that depending on which jeans I wear, sometimes I pick my phone from my pocket only to find that the screen was on. It seems that I have a tendency to accidentally press the POWER button.
When you enable PowerGUARD from Synapse, once the screen is off, the only way to wake the phone is to press POWER BUTTON TWICE in less than a second.
Once you don’t need it anymore, you can disable it again in Synapse.
I hope it will be as useful to you as it is to me 😉 - Improved Stability : I’ve added some extra code that should harden ShinTo Kernel against some “very sensible” Note3’s (more to come in future versions)
- You NEED TO SELECT PrecoGOV as your default governor to enjoy all the benefits that it brings. As a matter of fact, ShinTo Kernel won’t work to it’s full potential without PrecoGOV as it’s default governor.
- A small list of enhancements to L2, CPU, SCREEN, VIDEO to make it perform even better and hopefully smoother for all of you with so many different roms out there.
- PLEASE BE ADVISED THAT IN THE NEXT VERSION I WILL REMOVE THE FOLLOWING :
– INTELLI-PLUG.
– ONDEMAND / ONDEMANDPLUS.
– INTERACTIVE.
It is compiled with latest available LINARO Toolchain GCC 4.9.3 compiled by the great Christopher83
What about great governor umbrella from note 4?
See there’s the thing… this is not a “request” kernel or a “i have everything” kernel.
This is… ShinTo Kernel.
This is another masterpiece.works excellent. Thank you very much
Shinto really makes this phone fly
This thing is flying. Wow!!
Running the kernel for almost 4 hours already. Running great so far. Excellent work good sir! 🙂
Thank you. this release is running even better than the last.
Do you need to set anything for I/o schedulers or anything GPU?
Whatever you wish.
For gpu I run simple on demand and the disable qualcomm gpu trustzone ticked.
yes shinto is materpiece kernel, do you plane st weaks support? cuz only in stweaks can be changed cpu hotplug to different types like msm, alucard, autosmp etc.. i dont post here my dreams requests, but such asking for 🙂
There’s only PrecoGOV/IntelliPlug/msm and from next version only PrecoGOV/msm
Oh and no, no stweaks for the foreseeable future.
I agree. No point in having intellihotplug, msm-thermal, touchboost or mpdecision in this kernel. Precog governor is enough. Stweaks is pointless. Kernel config can be done with a init.d script, this way no memory or cpu consumption is happening.
Well, that’s the beauty of Android; the freedom to choose among many different options what better suits you.
My research and development is geared toward a specific goal and that is not supporting or including everything out there.
It’s just how I see it, maybe I’m wrong or maybe not…
Many thanks for your amazing work. Running new kernel now, seems again improved in fluidity and seems also a bit faster for me. Well done !!!
You welcome!
That’s version 1.0.2 of PrecoGOV among other things 😉
Finally, no more screen on in my mobile phone case for my belt ^^ Kernel works great. Btw, I have a problem in synapse @ enlisting the governors for GFX and sometimes CPU SOptionList has failed: com.af.synapse.utils.RunCommandFailedException. echo: write error: No such device.
Argh… OK… Weird it has not happened to me. Will have to play some more with Synapse…
Thx for reporting!
Daniel!, please check what I’ve put below and let me know your findings.
Danke!
EVERYONE ATTENTION!
It seems there’s a possibility that Synapse is not setting PrecoGOV on ALL 4 CORES for everyone at boot…
To be 100% sure, what you can do for now is launch an app like TricksterMOD or FAUX and select performance governor, accept then select again PrecoGOV and accept to force PrecoGOV on all 4 cores…
Synapse is driving me bonkers! 🙁
#!/system/bin/sh
echo 1 > /sys/devices/system/cpu/cpu0/online
echo 1 > /sys/devices/system/cpu/cpu1/online
echo 1 > /sys/devices/system/cpu/cpu2/online
echo 1 > /sys/devices/system/cpu/cpu3/online
echo “precognition” > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo “precognition” > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo “precognition” > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo “precognition” > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
This is an init.d script to eliminate the problem. That’s why i don’t use synapse.
Fun! SOptionList has failed: com.af.synapse.utils.RunCommandFailedException. failed on ‘/system/bin/mpdecision’ No such file or directory
But, Trickster says it was set to precognition by synapse
Guess I will have to start coding a proper app for all that…
I’ve installed TricksterMod and have noticed that MP-Decision is *enabled* by default. I though that Synapse should disable it automatically when PrecoGOV is selected. After exiting TricksterMod, I started Synapse to make sure other settings are still ok, however, interactive governor was selected!?
I think I’ll just use Synapse + initial.d script for the time being.
In TricksterMod, mulicore power saving is set to “0”. Do you recommend to leave it as is?
Yeah I usually leave it at 0.
OK the.
Greetings!
Just wanted to let you know that i get the “SOption List has failed…” in synapse when switching between ums/default usb mode.
Thanks for the powerguard function, great feature!
THX.
6h0st – do we just copy/paste your code into the existing init.d file, and drop Synapse?
Thanks in advance. Am very ignorant on all things init.d…
No don’t drop Synapse as it does some other stuff that is needed.
If you have tricksterMOD (I think the free one should do it) use it at first boot and follow the instructions I put earlier.
This is my complete kernel configuration script. Just copy/paste into a new file, and copy it to init.d
It contains done tweaks that i use, but you can delete those lines if you don’t need them.
It has my notations for help inside.
#!/system/bin/sh
#CPU Settings
echo 1 > /sys/devices/system/cpu/cpu0/online
echo 1 > /sys/devices/system/cpu/cpu1/online
echo 1 > /sys/devices/system/cpu/cpu2/online
echo 1 > /sys/devices/system/cpu/cpu3/online
echo 268800 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 268800 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
echo 268800 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
echo 268800 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq
echo 2265600 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 2265600 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
echo 2265600 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
echo 2265600 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq
#CPU limitations
echo 2 > /sys/kernel/cpufreq_hardlimit/userspace_dvfs_lock
#Screen on
echo 883200 > /sys/kernel/cpufreq_hardlimit/scaling_max_freq_screen_off
echo 268800 > /sys/kernel/cpufreq_hardlimit/scaling_min_freq_screen_off
#Screen off
echo 1881600 > /sys/kernel/cpufreq_hardlimit/scaling_max_freq_screen_on
echo 268800 > /sys/kernel/cpufreq_hardlimit/scaling_min_freq_screen_on
#Touch boost
#echo 268800 > /sys/kernel/cpufreq_hardlimit/touchboost_lo_freq
#echo 1574400 > /sys/kernel/cpufreq_hardlimit/touchboost_hi_freq
#Set governor (interactive/ precognition)
echo “precognition” > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo “precognition” > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo “precognition” > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo “precognition” > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
# CPU Intelli-plug
stop mpdecision
#echo 0 > /sys/module/msm_mpdecision/parameters/enabled
#Activate/Deactivate (1/0)
echo 0 > /sys/module/intelli_plug/parameters/intelli_plug_active
echo 4000 > /sys/module/intelli_plug/parameters/cpu_nr_run_threshold
echo 12 > /sys/module/intelli_plug/parameters/nr_run_hysteresis
echo 883200 > /sys/module/intelli_plug/parameters/screen_off_max
echo 0 > /sys/module/intelli_plug/parameters/touch_boost_active
# Profiles to select: 0,1,2,3,4 ( Balanced-4, Performance-4, Conservative-4, Performance-2, Conservative-2)
echo 2 > /sys/module/intelli_plug/parameters/nr_run_profile_sel
# CPU Intelli-Thermal control
busybox chmod 644 /sys/module/msm_thermal/parameters/enabled
#Activate/Deactivate (Y/N)
echo “N” > /sys/module/msm_thermal/parameters/enabled
echo 65 > /sys/module/msm_thermal/parameters/core_limit_temp
echo 75 > /sys/module/msm_thermal/parameters/psm_temp
echo 65 > /sys/module/msm_thermal/parameters/limit_temp
busybox chmod 644 /sys/module/msm_thermal/core_control/enabled
echo 1 > /sys/module/msm_thermal/core_control/enabled
# Activate simple GPU alogarithm
echo 1 > /sys/module/simple_gpu_algorithm/parameters/simple_gpu_activate
echo 4 > /sys/module/simple_gpu_algorithm/parameters/simple_laziness
echo 6000 > /sys/module/simple_gpu_algorithm/parameters/simple_ramp_threshold
# Maximum GPU frequency
echo “simple_ondemand” > /sys/class/kgsl/kgsl-3d0/devfreq/governor
echo 200000000 > /sys/class/kgsl/kgsl-3d0/max_gpuclk
echo 200000000 > /sys/class/kgsl/kgsl-3d0/devfreq/max_freq
echo 100000000 > /sys/class/kgsl/kgsl-3d0/devfreq/min_freq
#Scheduler for internal,rpmb and external sdcard
echo “fiops” > /sys/block/mmcblk0/queue/scheduler
echo “fiops” > /sys/block/mmcblk0rpmb/queue/scheduler
echo “fiops” > /sys/block/mmcblk1/queue/scheduler
#Entropy on internal,rpmb and external sdcard
echo 0 > /sys/block/mmcblk0/queue/add_random
echo 0 > /sys/block/mmcblk0rpmb/queue/add_random
echo 0 > /sys/block/mmcblk1/queue/add_random
#Read ahead for internal, rpmb and external sdcard
echo 512 > /sys/block/mmcblk0/queue/read_ahead_kb
echo 256 > /sys/block/mmcblk0rpmb/queue/read_ahead_kb
echo 2048 > /sys/block/mmcblk1/queue/read_ahead_kb
#Disable CRC Checks
echo N > /sys/module/mmc_core/parameters/use_spi_crc
#disable iostats to reduce overhead !
if [ -e $i/queue/iostats ];
then
echo “0” > $i/queue/iostats;
fi;
# “Applying I/O related tweaks…”
MMC=`ls -d /sys/block/mmc*`;
echo Optimize non-rotating storage;
for i in $MMC;
do
#IMPORTANT!
if [ -e $i/queue/rotational ];
then
echo 0 > $i/queue/rotational;
fi;
if [ -e $i/queue/nr_requests ];
then
echo 8192 > $i/queue/nr_requests;
fi;
done
#Other settings
#echo 1 > /sys/kernel/dyn_fsync/Dyn_fsync_active
# Fast charge
echo 2 > /sys/kernel/fast_charge/force_fast_charge
echo 2100 > /sys/kernel/fast_charge/ac_charge_level
echo 460 > /sys/kernel/fast_charge/usb_charge_level
# Touchwake settings
echo 1 > /sys/class/misc/touchwake/enabled
echo 3000 > /sys/class/misc/touchwake/delay
#ext4 tweaks (stop this if f2fs!)
#if ( mount | grep -w ext4 ) then
# echo “EXT4 Partition Found!”
# echo “Remounting…”
# mount -o noatime,remount,rw,discard,barrier=0,commit=60,noauto_da_alloc,delalloc /cache /cache;
# mount -o noatime,remount,rw,discard,barrier=0,commit=60,noauto_da_alloc,delalloc /data /data;
#else
# echo “EXT4 Partition Not Found!”
#fi;
#Cache cleaning
busybox find /data/data -type d -iname *cache* -maxdepth 2 -mindepth 2 -exec busybox rm -rf {} ‘;’
# disabling knox security at boot
pm disable com.sec.knox.seandroid;
setenforce 0;
# Kernel and VM tweaks
echo “Applying Kernel, FS and VM Tweaks…”
#FS Tweaks
echo “10240” > /proc/sys/fs/inotify/max_user_watches;
echo “256” > /proc/sys/fs/inotify/max_user_instances;
echo “32000” > /proc/sys/fs/inotify/max_queued_events;
echo “524288” > /proc/sys/fs/file-max;
echo “10” > /proc/sys/fs/lease-break-time;
#Kernel tweaks
echo “10” > /proc/sys/kernel/panic;
echo “524288” > /proc/sys/kernel/threads-max;
echo “65536” > /proc/sys/kernel/msgmax;
echo “500,512000,64,2048” > /proc/sys/kernel/sem;
echo “2048” > /proc/sys/kernel/msgmni;
echo “268435456” > /proc/sys/kernel/shmmax;
#Kernel entropy settings:
echo “512” > /proc/sys/kernel/random/read_wakeup_threshold
echo “2048” > /proc/sys/kernel/random/write_wakeup_threshold
#VM Tweaks
#Dynamic dirty write-back (Recomand:1)
echo “1” > /proc/sys/vm/dynamic_dirty_writeback
#Dirty memory buffer to be used (default: 20)
echo “90” > /proc/sys/vm/dirty_ratio;
#Dirty background memory buffer to be used (default: 5)
echo “70” > /proc/sys/vm/dirty_background_ratio;
#Screen on dirty writes ( safe value: 1500)
echo “2500” > /proc/sys/vm/dirty_writeback_active_centisecs;
echo “2500” > /proc/sys/vm/dirty_writeback_centisecs;
#Screen off dirty writes ( safe value: 500)
echo “500” > /proc/sys/vm/dirty_writeback_suspend_centisecs ;
#Dirty writes time to consider data to be old (safe value: 200)
echo “250” > /proc/sys/vm/dirty_expire_centisecs;
#Value for reclaim memory used for caching (default:100)
echo “100” > /proc/sys/vm/vfs_cache_pressure;
#Drop caches (recommended value:3)
echo “3” > /proc/sys/vm/drop_caches;
#Other VM tweaks
echo “1” > /proc/sys/vm/overcommit_memory;
echo “50” > /proc/sys/vm/overcommit_ratio;
echo “2” > /proc/sys/vm/min_free_order_shift;
echo “8192” > /proc/sys/vm/min_free_kbytes;
#Swapiness control (if swap or zram is disabled)
#echo “0” > /proc/sys/vm/swappiness;
sleep 1
sync
#Network tweaks
echo “1” > /proc/sys/net/ipv4/tcp_tw_recycle;
echo “524288” > /proc/sys/net/core/wmem_max;
echo “524288” > /proc/sys/net/core/rmem_max;
echo “6144,87380,524288” > /proc/sys/net/ipv4/tcp_wmem;
echo “6144,87380,524288” > /proc/sys/net/ipv4/tcp_rmem;
#Disable kernel logger
echo “0” > /sys/kernel/logger_mode/logger_mode;
# Trimming
fstrim -v /system
fstrim -v /data
fstrim -v /cache
sleep 1
sync
# Set correct permissions to init.d scripts
mount -o remount,rw /system
chmod 777 /system/etc/init.d/*
mount -o remount,ro /system
# Fix ROM dev wrong sets.
setprop persist.adb.notify 0
setprop persist.service.adb.enable 1
setprop dalvik.vm.execution-mode int:jit
setprop pm.sleep_mode 1
# Init.d support
#run-parts /system/etc/init.d
So do i ditch synapse completely to use trickster or use them in tandem and just use trickster for the precogov setting?
DO NOT DITCH SYNAPSE.
Use Trickster in tandem as an extra layer of security, just to be safe.
thank you brother….will do and hello again….will contact you now through this site 🙂
Also do i have to do the performance then precogov in trickster after every boot? currently running the new 02 version
Had an SOD twice.https://www.dropbox.com/s/s6elwvh0fg39gsb/ShinTo_debug.zip?dl=0
If you have the FSYNC stuff ticked in Synapse then untick and try again.
Although I’ve seen a couple of things that looks suspicious:
1) A lot of chatter from MSM_THERM ADC … that’s weird as it shouldn’t show unless specifically activated. I mean in my own private logs that message never shows up.
2) Everytime it ended up with rebooting to ‘recovery’ …
Did your phone actually reboot to recovery?
No I rebooted to recovery myself.
Ah OK… So it was a sod then.
Make sure to do what I said in previous posts.
If we have some cores managed by PrecoGov and some by another governor then it would lead to instabilities.
Synapse should enforce PrecoGov on all four cores but it seems it’s not always true…
man, just flashed by now.. will report tomorrow if anything goes wrong, but i guess ill not encounter any of those (already read comments before flashing). Thanks Man for sharing your great work.
Hope you will have a smooth ride.
About this:
“PLEASE BE ADVISED THAT IN THE NEXT VERSION I WILL REMOVE THE FOLLOWING :
– INTELLI-PLUG.
– ONDEMAND / ONDEMANDPLUS.
– INTERACTIVE.”
Do we need msm-thermal? Why not remove it if we don’t use it?
Because you could choose to run with performance or conservative and then if msm-thermal wasn’t there you wouldn’t have any thermal protection.
I always get a SOD 🙁 for some reason my tmo note 3 don’t like your kernel, I don’t do any tweaking
Some roms dont work well with this kernel. I was on vision x with nonstop sods. Switched to tweaked and everything works great. Im on tmo
I’m on tweaked as well & still get SOD. I uncheck fsync & still get SOD.
I’m on tweaked too, but I tried every release of this kernel but never have success. Lean kernel works fine but after reading in XDA good things about this kernel I decided to try it but doesn’t work for me
I’m sorry it doesn’t work for you.
I have been using this rom and shinto kernel from past few months. I haven’t faced a single issue yet.
Tweaked rom and shinto kernel is just perfect for me.new version of shinto kernel is awesome. Thank you very much dev.loving it.
Thank you, very happy ShinTo Kernel is working well for you!
Do you recommend any I/o schedulers?
I am using this kernel with tweaked rom from past few months and can confirm you that i havent faced a single issue yet.
New version is working smoothly.
Thank you very much dev.
Man seems like the charging issue while phone is off goes back on the latest build.
I haven’t honed my psychic powers… yet…
man its ok, i know you can do it, and we all know that you already master your psychic power. hehe,
PS: just go back to a01 because i always charge my phone off, ill be waiting for the next release man. keep it up and thank you.
I can confirm the same charging issue, when phone is turn off, it just get sucked with screen on and trying to load charging animation, but it doesn’t. 🙁
Will it work with Cyanogenmod 12 (in Note 3…)?
http://forum.xda-developers.com/galaxy-note-3/development/hlte-spr-vzw-temaseks-unofficial-t2953375
Read the information and you might discover the answer.
Running your latest release since it was released. No SOD’s. Excellent! Just tested battery drain over night: 0.7%.Brilliant!
Unfortunately, precognition still causes microstutters on MultiX ROM. I’m using interactive and scrolling is very smooth.
I’m hoping that your God of afterlife will take care of microstutters
Glad ShinTo Kernel is working well for you, thank you for letting us know.
Yes that god is like a Q/A controller… And for now results are quite impressive lol
Hi good sir. I have had 4 SOD’s since this morning. Would sending you my log be helpful with diagnosis? Other than that, my phone is buttery smooth. 🙂
Yes, as stated in the release post, instructions are there.
I imagine you already made sure that PrecoGov is running on all 4 cores and mpdecision is not running, etc…
Made sure that 4 cores are running precognition governor at boot by a creating an init.d script.
Just to be 100% sure, once booted and rom has stabilised, open a command prompt and check that all for cored are running Precognition governor.
Use the path from your script and check the governor for cpu0 cpu1 cpu2 cpu3.
Also make sure that mpdecision is not running (ps | grep mpdecision)
Hey, I’m on n900w8 Canadian model
I Know I can flash either a n900t kernel or n9005 on my device, but I was never able to find enough information on whether one was better than the other. For shinto kernel I want to have the best experience so which version do you recommend flashing on my n900w8 device.
I have no clue as myself only have the N9005 international version.
Maybe someone else could help out here?
What rom are you using? I’m getting SOD’s on X-Note v21
Thanks for your response. I have two final things I want to ask. Is it OK to overclock with precog gov? And should I have dvfs disabler enabled in xposed installer or does precog gov take care of that too?
Yes you can overclock with PrecoGOV.
I just recommend everyone to test their phones with stock settings to make sure it is stable before adding Overclock/Undervolt to the mix.
No you don’t have to worry about DVFS as precogov takes care of that too.
Hi again, I remember on previous builds, it was recommended by megaflop, zdeuce and tdgillian from xda that the touch boost values should be set to 300mhz. Is that still the case on the newest release or should everything literally be kept stock? Including dynamic fsync?
I recommend Dynamic Fsync off, touch boost to lowest if on PrecoGOV (PrecoGOV doesn’t care about touchboost stuff).
I have the n900t on my n900w8 and I have no issues
I just traded up to the Note 4. But, I miss this kernel. Here’s hoping a Note 4 version is in your future. Architecture is so similar it shouldn’t be to hard to port unless I’m missing something. I love your work!
Thx!
Well, either way I would need to have that phone with me to do all the testings and take into account that ShinTo Kernel is adapted to the hardware as is PrecoGOV.
I could test it for you on the Note 4. The CPU is almost if not identical just at a slightly higher clock. I miss this kernel so much, I’m about to flash it on to my Note 4 like a mad scientist…”it’s alive, ALIVE!”
Hahahahahahahah lol
Maybe in the future 😉
im thinking this kernel is incompatible with for me best rom ever: X-NOTE last ver. 21, too meny random restarts and SOD, without UV etc.. with another kernel no problem few weeks withou restart or sod..
so people would post here what kind of rom and type of note 3 they using
mine:
x-note 21
n9005
many random reboots and sod.. but this kernel is awesom and have all what can be in kernel..
im sad for that
I’ll try to make some time to download this rom and try it out with debugging to see what is going on if more ppl have the same issue.
I’m on X-Note 21 and Shinto with no probs.
Thx for reporting!
I´m not sure if it´s an issue with X-NOTE Rom, I´m using Stock Rom 4.4.2 (…NG1) and had a few SOD´s and random Reboots too (and some other People with other Roms wrote the same).
I´m sure, mpdecision wasn´t running (seems impossible, since the file is renamed to _mpdecision under V40A02, so no process could start it ;-)) and all cores were on precoGov. dynamic fsync was off (not checked).
After a 3rd or 4th Reboot, my System seemed a bit crashed (system.ui… has stopped) and Launcher (Next Launcher 3D) didn´t start without issues anymore.
Most issues were SOD´s, Screen stays black and doesnt come back, only long press of power button for rebooting possible. Only 1 random reboot while I was in settings of ZooperWidgetPro and want to save changes. Green LED stays on and screen went black. I had the issue with Green LED on and Screen stays black also 2 times when I want to wake up my phone after a longer time of Sleep. It seems it cant write to internal SD anymore. (I´m using row/256 kB for internal and external SD)
I tried V40A02 with different settings for GPU (for example recommended simple-gpu-algorithm and ondemand-Gov), never overclocked and never undervolted. No other CPU-App (Faux, Trickster and so on), which could change “Standard-Settings”.
I decided to restore my Backup and installed Shinto V031, it´s running well for the moment again. With V031, I use conservative …
Sorry to hear that.
A full logset would help a lot to ubdertand what is going on. Without it its like it never happened.
If you want to test and provided said logset, pleased follow the instructions detailed in this post.
Sorry, you stated it clearly enough. I don´t want to get help for my issues, I only want to report that some others have SOD´s and Reboots too.
I would have provided logs, but I had all debug logs off (also Logcat Daemon), and after the 3rd or 4th issue (when I decided to turn debug on and to provide logs) my system was broken and I decided to restore Backup and also to go back to V031. Logs from a broken system wouldn´t have been useful (I think), but I will test next Shinto version for sure and next time I will turn debug on and provide logs, if there would be any issues…
I´m 30 years in software development and I wanted to sort out the possibility of my own “issues” (wrong settings, xposed modules, incompatible apps or something else) before I would provide logs and say it´s a kernel issue!
Again many thanks for your amazing work and your quick answer!
Thank you very much for your time and explanation.
I always want to get to the bottom of these kind of issues and know what is going on.
It can very well be a bug or something that triggers a specific code path that ends up causing some issues down the line.
u have to stop dynamic fsync, man.
p.s. Awesome work, dev!! n1
V40A02 support NTFS RW (otg)?
It’s included and compiled in the kernel so it should but haven’t tested it.
I asked about this because in version v31a001 ntfs (otg) peripherals not working. Do not mount when connected.
Another question, you can implement support for USB CD-rom (otg) devices?
It’s a bit hard to navigate this page due to its size. Any chance of starting a new thread on a developer friendly site?
It seems if I leave my phone unattended for any length of time, I get SOD. Like it doesn’t want to wake from deep sleep or something. I just wanted to share my logs in hopes that I can get some guidance to hopefully resolve the issue. Thanks for your masterpiece anyway! I do enjoy thoroughly the experience that is Shinto!
https://www.dropbox.com/sh/rdoa0c3h96mi6oq/AACNMSEA7eLYbvFdM7LqcbyUa?dl=0
THX!
I get this on X-Note 21
Wtf?
https://www.dropbox.com/s/69yn2mvjv0o2dyo/Screenshots_2015-02-03-12-09-48.png?dl=0
Any solution?
My phone is getting really hot in games with precondition active. With interactive and msm-thermal it’s ok. 🙁
Can anyone verify this? Or is just happening to me?
Precognition is a performance governor. Performance requires speed (CPU). Higher CPU clock generates more heat. It’s normal.
If you don’t understand what PrecoGOV is about (i.e.you haven’t read OP) then pick a different governor.
TY!
im thinking its normaln and ok..
with preco gov i too have poor batt life and hot phone under havy cpu load
now second day running without any issue on ver. 031, with conservative gov., perfect batt life, no SOD, no random restart or any problem
so i recommend for xnote users ver 031; like someone here post this combination like nonproblematic.
now im maximum satisfacted
im going buy u few beers
Funny experience here. When my phone (n9005) @ slightly modified HYPERDRIVE ROM 7.1 with a NFC fix SODs sometimes a day (mostly over night @ loading station) I force reboot and the colors are… very greenish. Another reboot and it’s fine again.
Already described in the known issues.
You don’t need to reboot, just toggle auto brightness on off and that’s it.
I have the same green effect, after each reboot. It just goes away when screen is turned off and back on.
Just to confirm, my SODs have gone since I flashed stock rom over my x-note 21. No more problems running on stock rooted xposed with this fantastic kernel. Great work dev!
Thx for reporting!
N900t
Zram fc’s
Im on precog kernel
Setting won’t stick after reboot
Remove Zram, that app is not needed anymore.
And it’s ShinTo Kernel.
PrecoGOV is ShinTo Kernel’s Governor.
What about dvfs disabler app, unistall also?
Yes you can uninstall if you don’t use it.
Running v31 on latest Verdon of Tweaked. I have been unable to get screen mirroring to work on 2 separate Samsung Series 6 smart TVS. Does anyone have this function working and ais there anything I need to configure in Synapse to get this going?
My question is, isn’t recommended to uninstall it?
Followed setting suggestions in op. phone is so fast,just got a ticket from mobile police. lol.
I’m on N900T TWEAKED 3.95 ROM, this kernel version (latest) setting won’t stick, and the ZRam force closes. Nothing was tweaked, left it in precog. All was well with version n900t-v030a003.
This is a great Kernel, would like to see the stability back. Keep up the hard work!
I too. am on Tweaked 3.95 and have experienced multiple SODs with the latest v40a01/02 versions. I made sure to untick dynamic Fsync, intelli-hotplug, touchboost, etc and pretty much kept everything else stock in Synapse. The SODs kept reccuring and I decided to revert to V31, but I missed the snappiness of V40. After reading everyone’s comment here, I elected to delete dvfs disabler and zram apps from my phone and also cleared synapse data before installing V40a02 once again.
It’s been 24 hours and not a single hiccup since installing. Thanks dev for your hard work and dedication to this wonderful kernel!
I also had 1 reboot that I know of and 4 SOD’s on the first day that I installed Shinto. Didn’t change any settings. No other kernel interfering apps. The next day, I installed trickster to force all cores on PrecogGov. SOD’s kept happening. I had come from Lollipop to try this kernel so I wanted to give it the best chance possible to work. So I had completely formatted my phone, wiped every last thing including internal storage. Then I installed stock T-Mo ROM and this kernel. And still too many SOD’s to be usable. I had disabled all logging because it said “confirmed to be fast and stable” on my phone so why do I need that? But I really needed a working phone anyway, so didn’t have time to wait for more SOD’s to get logs. Back to Lolli. Thanks for hard work. Hope you get all these exciting things to be stable.
Just a quick question. In the OP, it says that the kernel uses it’s own special init.d that survives wipes and even formats. I know that if I flash a new kernel, should be fine, but won’t there be remnants of this one no matter what based on that info? If it has settings that survive formats, then how do I make sure I’ve removed it?
Hi, I can’t help but notice that airview is forced enabled by default. I understand that this is the logic used by PreCogGov in order to preempt actions. However, this results to sometimes annoying “finger-over” actions (specially during web browsing). This was basically the reason I only enabled pen-only for airview. On top of that there are apps (retroarch in particular) that registers the “finger-over” as inputs which makes the app virtually unusable. Is there a way, maybe that the kernel registers these inputs without android receiving them? Just my two cents.
In the current version, the only way is to choose any other governor except PrecoGov.
How are you?hows life ?Any update ?enjoying the awesome work of yours.
Take care dear
Hey wassup!
All good here, developing, learning and inventing some crazy stuff 😉
Thank you, take care too!
Will Shin To support 5.0 anytime in the future?
Yeah anytime Samsung releases lollipop sources so I can start posting ShinTo (from scratch)
Will there be an update kernel for kitkat?
Possibly this week to fix bug and stability issues.