FORUMS

[TW Verizon][Nadia Kernel][14-April-2015][4.4.4]Faux Sound Support

4,700 posts
Thanks Meter: 4,051
 
Thread Closed Email Thread


- Emotion nightly Kernel Note 4 -SM-N910V

Developed by Placiano and Pafcholini



Introduction
Introducing the Emotion Revolution Roms & Kernels for Android Devices.
Emotion Rom/Kernel is a modified, aftermarket firmware/Kernel distribution few Android devices (Note 2, Note 4, HTC M7, Newman N2). Based on the Android Open Source Project , Emotion Rom & Kernel is intended to increase performance and stability over Android-based Devices released by sellers, for example, Samsung, HTC and so forth. Emotroid additionally offers a mixed bag of features & improvements that are not presently found in stock variants of Android.


*** Disclamer***
Quote:

Your warranty is now void.
We are not responsible for any damage or problems you may have!
YOU are choosing to make these modifications.


Thread IndeX

POST 1: Kernel Information, Changelog, Credits,Screenshots
POST 2: Synapse, Recommended settings, FAQ, etc.
POST 3: Know/Reported issues
Request new features here



Features:

Quote:

  • Based on Samsung Open Source XXU1BOB4
  • Compiled with Toolchain Linaro GCC 4.9.3 2015.02 Cortex A15
  • Linux version 3.10.40
  • OC/UC -> 3072MHz / 268MHz
  • PowerSuspend Driver
  • Intelli-Plug V4.0
  • KSM enabled
  • Sweep2wake
  • Simple GPU Algorithm
  • Voltage Control
  • Intelli-Thermal
  • KCAL - Advanced color control
  • Led Control
  • CRC Settings
  • Advanced TCP control
  • S-View flip cover hack
  • Selinux Permissive
  • Sched: LOAD_FREQ (4*HZ+61)
  • Reduced wakelocks
  • Frandom number generator
  • Synapse full support
  • Governors: interactive_pro, intelliactive, bluactive, conservativex, alucard,darkness, nightmare, smartassV2, ondemandplus, umbrella_core, yankactive, dancedance, bioshock, lionhearth, conservative, interactive, ondemand,powersave, userspace, performance
  • I/O Scheldures: bfq, vr, fiops, zen, fifo, sio, test-ioshed, cfq, row, deadline, noop


Quote:

April- 14 -2015 nightly r9
-Back to Linux 3.10.40 (For now, we are working to bring stable 3.10.73)
-Added Intelli-thermal v3.0
-bcmdhd4358: filter multicast packages while suspended
-fs/namei.c: fix potential memory leak in path_lookupat
-pinctrl: msm: fixed potential NULL pointer dereference
-usb: ks_bridge: by default debugging is disabled
-slub: fix kmem_cache_shrink return value
-mm: slub: fixed format mismatches in slab_err() callers
-power:Enable/Disable power collapse after camera open
-Implemented CPU Core Control by andip71
-tick: don't update idle time if cpu offline
-msm: kgsl: Only wake GPU on multitouch events
-Interactive: don't boost cpu if already boosted
-rtc: qpnp-rtc: Sets RTC time correctly
-rtc: qpnp-rtc: Set alarm control register properly
-Added Mobile Storage Analyzer
-soc: mbhc: Fix ID Tech card reader detection
-power: catch wake-up requests in suspend_again
-pinctrl: msm: prevent bogus wake up from suspend
-asoc: wcd9xxx: Improved headset detection
-Implemented Motorola MSM memcpy enhancements "memutils" (Faster memcpy performance for Krait)
-Improved Memutils
-Added CIFS as module
-Adde NTFS as module
-ASoC: msm: qdp6v2: handle proxy read failure
-ASoC: msm: qdsp6v2: Fix timestamp query during gapless transition
-mmc: core: Update PON (Power Off Notification) based on the system state
-mm: Fix NULL pointer dereference in madvise(MADV_WILLNEED) support
-netfilter: IDLETIMER: fix invalid deference of timer
-Fixes and improvements in Synapse
-Added CPU Binning (pvs information) Synapse> CPU VOLTAGE
-Added CPU core control in Synapse> CPU DRIVERS
-For more info check our Github

March- 27 -2015 nightly r8
-Linux update to 3.10.71
-Powesuspend updated to 1.7
-Intelli-plug updated to 4.0
-OC/UC -> 3072MHz / 268MHz
-Added Hardlimit Control
-Added new governors
-Addeded new scheldures
-Added memcopy & string use glibc version
-Added quickwakeup driver (improve battery life)
-Optimized Kernel Samepage Merging (KSM)
-deadline: Optimized for non-rotational
-mm: Clear page active before releasing pages
-ARM: 8119/1: crypto: sha1: add ARM NEON implementation
-ARM: 8120/1: crypto: sha512: add ARM NEON implementation
-ARM: crypto: add NEON accelerated XOR implementation
-ARM: add support for kernel mode NEON and only allow kernel mode neon with AEABI
-Fixed failure to enter PS mode while roaming
-Sched: Set MC (multi-core) sched domain's busy_factor attribute to 1
-Disabled add_random for more performance on SSD's
-tcp: enabled tcp fast open functionality (franciscofranco)
-For more info check our Github

March- 5 -2015 nightly r7
-Added KCAL - Advanced color control (Thanks to @savoca for his great job) check this thread for more info

March- 3 -2015 nightly r6
-Based on XXU1ANK4 (KitKat version) and compatible with "F,G,T,V,W8"
-Based on XXU1BOB4 (Lollipop version) and compatible with "F"
-Lollipop version has all the features except mdnie control and S-View hack
-Kernel compiled with Linaro Toolchain 4.9.3 2015-02
-FauxSound updated to 3.6
-Fixed some issues in FauxSound and Synapse
-cpufreq: Introduced new relation for freq selection Introduce CPUFREQ_RELATION_C
-Interactive Governor: Use CPUFREQ_RELATION_C
-Added Gentle fair sleepers (Synapse -> KERNEL TWEAKS)
-Enabled Kernel SamePage Merging (KSM) (Synapse -> KSM)
-Added key disabler (Synapse-> SCREEN/MISC)
-Added userspace vibration strength control (Synapse-> SCREEN/MISC)
-Changed some stuff in Synapse
-Reverted some commits
-Another minor changes

January- 27 -2015 nightly beta r5
-FauxSound implemented
-FauxSound in Synapse
-Added high performance mode in Synapse->Sound
-Fixed battery drain on wifi (My fault)
-Reverted another commits

January- 16 -2015 nightly r4
-Fixed cpu voltage control (No more 0MHz frequency in cpu voltage table)
-ASoC: wcd9xxx: use hwdep node for codec calibration
-ASoC: wcd9320: use hwdep nodes to get calibration
-ASoC: wcd9xxx: Changes for High performance mode
-ASoC: wcd9xxx: Change PA on and VDDIO switch sequence
-ASoC: wcd9xxx: Avoid micbias glitches during audio playback
-In conclusion better quality sound on headsets
-Sched/fair: reduced latency
-Decreased DHD_PACKET_TIMEOUT_MS to 250 ms (Before 500ms)
-Drecreased time to enter sleep
-Net: wireless: Increased scan entry expiration to fit new scan time
-PM: devfreq: Use high priority workqueue
-Msm: kgsl: Report correct GPU frequency in sysfs
-Some minor changes

January- 11 -2015 nightly r3
-Added Frandom as module and set by default (Synapse>I/O>Frandom) "For more info check this"
-Network speed tweak
-Reduced wakelocks "wlan_rx_wake" and "wlan_ctrl_wake"
-dtsi: realigned voltages with userspace values (Thanks to twistedumbrella)
-cpu-boost more performance (Thanks to franciscofranco)
-sched: LOAD_FREQ (4*HZ+61) "For more info check this"
-Interactive governor imported from the Nexus 6 (No more lag on interactive)
-Added bluactive and interactive_pro governors
-Reverted some changes that made the kernel laggy in some cases.
-Selinux set to permissive by default
-Gpu: msm: for higher priority you want to use nice level of -7
-Now you can change the governor tunables from Synapse (Issue fixed) (Thanks for the tip to AndreiLux)
-Synapse shows all the available gpu governors (Thanks to my friend Friedrich!)
-Cleaned some things in Synapse
-Other minor changes

January- 4 -2015 nightly r2
-Fixed Ondemand governor
-mm: slub: Default slub_max_order to 0 (Improved performance)
-Increased io performance
-writeback: fix occasional slow sync
-Fixed min frequency (Finally!)
-msm: Fix high load average from uninterruptible waits
-Cpu boost sysfs to enable/disable it (Synapse>cpu drivers)
-S-View hack (Twistedumbrella) enable/disable (Synapse>miscellaneous)
-Minor fixes

January- 1 -2015 nightly r1
-Based on Samsung Open Source N910FXXU1ANIE
-Compiled with Toolchain Linaro GCC 4.9.3 2014.12 Cortex A15
-PowerSuspend Driver
-Intelli-Plug V3.9
-Stereo Call Recording Support
-cpufreq_limit: don't override cpu min frequency
-Fast Charge V1.2
-Sweep2wake
-Simple GPU Algorithm
-Sysfs interface to Enable/Disable Logger Android (Default disable)
-Voltage Control
-Intelli-Thermal V1
-mDNIe Hijack control
-Advanced TCP control (westwood default)
-Sysfs interface to Enable/Disable CRC
-Dynamic Fsync Control V1.5
-Added Intelliactive, Smartmax and SmartassV2 governors
-Led Control
-Panel Color Control
-mDnie mode adapter for Synapse
-Selinux Enforcing/Permissive
-Synapse Support



Installation instructions

You need to have TWPR, CWM o Philz Recovery.
  • Download the last kernel
  • Reboot in recovery mode
  • Make backup (recommended)
  • Flash the zip

Downloads

Quote:

Strictly No Mirrors Please. In the event that you need to make one ask us first with purpose behind what valid reason.

Current Version

After flash the kernel (LL version) go to play store and download Synapse apk.

App to control your display : Color Control

Emotion nightly r9 LL (Mediafire)



Old version

Emotion nightly r8 LL (Mediafire)

Nadia nightly r7 LL (Mediafire)

Nadia nightly r7 KK (Mediafire)

Nadia nightly r6 LL (Mediafire)

Nadia nightly r6 KK (MEGA)

Nadia nightly beta r5 (Mediafire)

Nadia nightly r3 (Mediafire)

Nadia nightly r4 (MEGA)

Nadia nightly r4 (AndroidFileHost)

Nadia nightly r3 (Mediafire)

Nadia nightly r3 (MEGA)

Nadia nightly r3 (AndroidFileHost)

Nadia nightly r2 (Mediafire)

Nadia nightly r2 (MEGA)

Nadia nightly r2 (AndroidFileHost)

Nadia nightly r1 (Mediafire)

Nadia nightly r1 (MEGA)

Nadia nightly r1 (AndroidFileHost)

Source code:
Emotion kernel Github

Thanks To/Credits
Andip71, AndreiLux, apb_axel, Civato, Christopher83, DerTeufel, Faux123, Ffolkes, Flar2, Franciscofranco, Franlov, Friedrich420, Gokhanmoral, Infernum, LoungeKatt (TwistedUmbrella), savoca, _Sofos_, Vanito, Yank555.lu, ZaneZam.
I hope I have not forgotten anyone!




Hit the "thanks" button if you like our work.

You can follow new updates here (Spanish)

The Following 4 Users Say Thank You to aukhan For This Useful Post: [ View ] Gift aukhan Ad-Free
5th February 2015, 10:15 AM |#2  
aukhan's Avatar
OP Senior Member
Flag Bangalore
Thanks Meter: 4,051
 
Donate to Me
More
Recommended settings & FAQ Synapse and all available options:
Quote:


- LIVE STATISTICS: Time in states, Uptime,etc.
- CPU - GOV: cpu scaling, cpu governor and governor tunables.
- CPU voltage: separate frequency voltage.
- GPU: GPU scaling min/max frequency, GPU governor, Simple GPU Algorithm.
- I/O: schedulers, internal storage read-ahead, externalSD read-ahead, Frandom Module, Scheldure Tunables Internal/External
- CPU DRIVERS: PowerSuspend and Intelli-Plug
- THERMAL: Intelli-Thermal Control
- MISCELLANEOUS: Dynamic FSYNC Driver, Logger Mode, CRC Settings, S-View bypass, Selinux Status, Optimize Database.
- BATTERY: Live Statistics and Fast Charge
- MDNIE/SCREEN: Panel Control, mDNIe Mode and mDNIe Mode Hijack
- LED: Led Control
- SCREEN WAKE CONTROL: Sweep2Wake Control
- KERNEL TWEAKS: low memory killer, kernel entropy, panic and panic on oops.
- NETWORK: tcp congestion control, hardering the TCP/IP stack to SYN attack,ignore pings,etc.
- VM-FS: dirty radio, swappiness,etc.
- BUILD.PROP: Build.prop Tweaks
- LOGS: Clearn Synapse, Logcat and Dmseg
- INFO-REBOOT: info about the kernel, reboots,etc.

Balance between performance and battery
Quote:
Above is what I use personally. MAY NOT be optimal for all. Share your settings.

Quote:

CPU frequency: 2649MHz/300MHz
CPU governor: Intelliactive or Bluactive for performance/ Interactive for battery
CPU voltaje: -25uV ((Be careful!! If you low voltages much you can get bootloop or battery drain.)
GPU: default values
I/O schedulers: row for both
PowerSuspend: hybrid hook
MPDECISION for performance/ Intelli-Plug for battery
Intelli-Thermal: enabled
MISCELLANEOUS: fsync enabled, logger mode disabled, crc disabled (you choice), Selinux Permissive
TCP: westwood for both

Aukhan recommended settings

1.
2.

F.A.Q

Can I flash this kernel on Note 4 SM-N910C or other variant?
No, you can not. This kernel is only for SM-N910F, SM-N910G, SM-N910T and SM-N910W8.

When I switch to Ondemand governor I noticed that cpu-boost is disabled.
Exactly, Ondemand and cpu-boost doesn't work well together. When you switch to Ondemand governor cpu-boost will be disabled automatically. Don't re-enable cpu-boost if you are using Ondemand governor. (Synapse>CPU DRIVERS)

Which app can control this kernel?
By default, the kernel is controlled by Synapse, but you can use the app that you like (Trickster Mod, Kernel Tweaker, etc.).

I flashed the kernel and Synapse says: "No support UCI detected".
Reflash the kernel, since it was a bad installation and Synapse does not detect the scripts.

After flashing the kernel lost root what to do?
In case you loose root just flash SuperSU

Any recommended settings to follow using Synapse?
At the beginning of the second post.

After flash the kernel some apks give me FC.
Go to Google Play Store and reinstall those apks.

From where can I remove int.d script?
Go to /system/etc/init.d using any root based file manager and delete.
Note: There is an important one related to superSU and if you remove it by mistake you're gonna have trouble with root permissions.

My device doesn't show any reaction to undervolting (battery life is same as before) or gets unstable even on light undervolting?
Use DVFS disabler Module(standalone) (dynamic voltage and frequency scaling), this feature was kept in touchwiz for benchmark boosting purposes and will conflict with any undervolting and custom governors because it scales the voltages and frequency on regular intervals and is framework integrated, so gets a higher priority than kernel based voltage and scaling controls.
For people who don't know what is DVFS please refer Wikipedia.

Min/Max frequency don't stick?
If your frequency settings don’t stick, it's because on certain Qualcomm devices, there are certain system services (thermald/mpdecision/project butter) or kernel service that rewrite frequency settings based on current thermal status and/or touch input.

I made a logcat but my file is empty. How I can "fix" it?
By default Android logger is disable. Go to Synapse > MISCELLANEOUS and enable Logger Mode.

What is it PowerSuspend?
This new powersuspend PM kernel driver is a replacement for it and existing early_suspend drivers. It should give better battery life.

What is it Intelli-Plug?
Intelliplug is a replacement for mp decision. Intelli-Plug is Faux123 open source solution to Qualcomm's closed source mpdecision. Intelli-Plug is disable by default. It conflicts with mpdecsion, so is HIGHLY recommend turning off mpdecision when using intelli-plug! (If you use Synapse the change is automatic. If you enable Intelli-plug mpdecision will turn off).

What is it Intelli-Thermal?
an intelligent MSM thermal throttling kernel driver designed to replace the
closed sourced thermald(aemon) from Qualcomm.

What is it Frandom?
Frandom is a kernel random number generator, which is 10-50 times faster than what you get from /dev/urandom. And it uses very little (/dev/frandom) or none (/dev/erandom) of the kernel's entropy pool, so it is very useful for applications that require a handy source for lots of random data.

What is it CRC?
CRC is a mechanism aiming to prevent data corruption when is enabled (reduce the performance around 30%). So if you disable it improve the performance but your data can be corrupted. Use it at your risk.
/sys/module/mmc_core/parameters/crc
The Following 3 Users Say Thank You to aukhan For This Useful Post: [ View ] Gift aukhan Ad-Free
5th February 2015, 10:15 AM |#3  
aukhan's Avatar
OP Senior Member
Flag Bangalore
Thanks Meter: 4,051
 
Donate to Me
More
Know/Reported/Fixed issues Know issues

1. Synapse doesn't show CPU governor tunables.
I'm trying to fix it. FIXED

2. Sometimes Synapse (and others kernel control apks) show that the min frequency is 1190MHz (or other frequency).
Just cancel it. FIXED

3. Ondemand doesn't work well. FIXED
Thanks for the report @Vangelis13

Any other Issues you may Report us and we will fix it
The Following User Says Thank You to aukhan For This Useful Post: [ View ] Gift aukhan Ad-Free
5th February 2015, 10:18 AM |#5  
aukhan's Avatar
OP Senior Member
Flag Bangalore
Thanks Meter: 4,051
 
Donate to Me
More
Currently its confirmed that its runing fine on Developer Edition by @manbat thanks to him.

If anybody else has tried it on a non developer Edition please let us know since we do not have a V Variant Device We wont be able to test.

Kindly report.
The Following User Says Thank You to aukhan For This Useful Post: [ View ] Gift aukhan Ad-Free
5th February 2015, 02:48 PM |#6  
dirtyjersey856's Avatar
Senior Member
Flag Breckenridge
Thanks Meter: 188
 
More
First! Sweet my first...first.lol
5th February 2015, 08:26 PM |#7  
manbat's Avatar
Senior Member
Flag Fort Worth, Texas
Thanks Meter: 696
 
Donate to Me
More
Have been running for a few days on my DE...runs great !!!

Sent from my SM-N910V / VZW Note 4 DE / Factory Bootloader Unlocked / Rooted / Custom Kernel-ed / TWRP 2.8.4.0.trltevzw
The Following User Says Thank You to manbat For This Useful Post: [ View ] Gift manbat Ad-Free
6th February 2015, 05:36 AM |#8  
aukhan's Avatar
OP Senior Member
Flag Bangalore
Thanks Meter: 4,051
 
Donate to Me
More
Post
Quote:
Originally Posted by manbat

Have been running for a few days on my DE...runs great !!!

Sent from my SM-N910V / VZW Note 4 DE / Factory Bootloader Unlocked / Rooted / Custom Kernel-ed / TWRP 2.8.4.0.trltevzw

Glad to know it's running rock solid.
The Following User Says Thank You to aukhan For This Useful Post: [ View ] Gift aukhan Ad-Free
7th February 2015, 11:46 PM |#9  
Senior Member
Thanks Meter: 22
 
More
Working great here. Only thing I noticed is that when battery is above 90% the led flickers very quickly. May be an interaction with Light flow.
8th February 2015, 12:55 AM |#10  
manbat's Avatar
Senior Member
Flag Fort Worth, Texas
Thanks Meter: 696
 
Donate to Me
More
Quote:
Originally Posted by JDevil

Working great here. Only thing I noticed is that when battery is above 90% the led flickers very quickly. May be an interaction with Light flow.

=======
No issues with LEDs here....

Sent from my SM-N910V / VZW Note 4 DE / Factory Bootloader Unlocked / Rooted / Custom Kernel-ed / TWRP 2.8.4.0.trltevzw
9th February 2015, 03:55 AM |#11  
aukhan's Avatar
OP Senior Member
Flag Bangalore
Thanks Meter: 4,051
 
Donate to Me
More
Quote:
Originally Posted by JDevil

Working great here. Only thing I noticed is that when battery is above 90% the led flickers very quickly. May be an interaction with Light flow.

Are you using any LED apps? I don't see any issues.
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes