[Galaxy Tab S Original Android Development] UpInTheAir:
HELP & FAQ

HELP & FAQ

PLEASE POST QUESTIONS THAT ARE

NOT DEVELOPMENT

RELATED IN Q&A HERE. THIS WILL HELP KEEP THINGS TIDY ;)

BEFORE POSTING, ENSURE YOU READ POSTS #1-3 AND SEARCH THREAD FOR INFO FIRST. THANK YOU FOR YOUR ASSISTANCE :)

BUGS

[Q] Duplicate proc/last_kmsg files

[A] Doesn't appear to affect anything, looking into it - apparently only from v0.8 and up

[Q] Synapse: AUDIO: HP equalizer does not work

[A] Toggle the control switch off > apply > on > apply >then it works :)

[Q] GPU Qos has this error:

[A] Don't worry, it wont hurt, and will only show if GPU freq 100 MHz is not in use. If you set 100 MHz and restart synapse, control will be available without error.

AUDIO

If you don't like the sound:

open synapse app

AUDIO: set all SP equalizer settings to zero

disable SP equalizer

apply

"SYNAPSE BOOT CANCELLED"

Wait for the kernel to stabilize and device to cool

Open synapse app

Synapse app menu > select all globally > undo > apply

Re-boot

If still issues > try again after #1

Still issues > Manually set config after boot (open synapse app > syanapse app menu > settings > disable apply on boot)

ISSUES

DO NOT POST ANY BUG REPORTS REGARDING SOD, FREEZE or REBOOT WHERE YOU (USER) HAS CHANGED ANY VOLTAGE OR FREQUENCY FROM DEFAULT !!

Uninstall any CPU control apps, tweaks and scripts etc.

Install Wanam DVFS disabler for greater kernel control

Flash kernel

Boot and allow things to stabilize

Open Synapse & tap :

"understood" message about unstable boot

"select all globally"

"undo" button

"apply"

make any change

"apply"

Reboot and ensure "synapse boot completed" toast message

You should be good to go

BOOT-LOOP

Power off & let device cool

Wipe cache & dalvik-cache in recovery (if custom recovery)

Re-flash kernel

Re-boot

Let things stabilize and cool before touching anything

BETTER BATTERY LIFE

There are no best settings. User "HABIT" is #1 cause of battery drain, followed by screen, ROM & apps, modem etc

This kernel is built to be balanced with a good mix of battery whilst keeping performance

Decrease screen brightness

Use dark wallpapers and app themes

Check your wakelocks with better battery stats app & use Greenify app to stop unwanted apps self starting and running in the background

Suggest:

CPU GOV: governor = ondemand (tweaked for power efficient workqueues)

CPU FREQ: 200 > 1900 MHz (-25 mV for all)

Synapse: CPU MULTICORE: Hotplug CPU UP boost = 30 %

GPU: 100 > 480 MHz (-50 mV for all) (100 MHz may induce some GUI sluggishness)

GPU: Midgard Power policy control = coarse_demand

GPU: Midgard Power policy threshold control = Battery (may induce some GUI sluggishness)

PowerSuspend Driver = Enable

MEMORY: Dynamic FSync = Enable

MEMORY: Dirty Page Writeback = Enable

CPU Multicore Power Saving = (2) Agressive

BETTER PERFORMANCE

DO NOT POST ANY BUG REPORTS REGARDING SOD, FREEZE or REBOOT WHERE YOU (USER) HAS CHANGED ANY VOLATGE OR FREQUENCY FROM DEFAULT !!

Disable DVFS with [APP][Android 4.0+][DVFS Disabler]

Warmer device under heavy load, but within the safe CPU temp of 95 degC

Synapse: CPU FREQ: 500 > 2000 MHz (2100 not stable for some devices)

Synapse: CPU MULTICORE: Power Efficient WQ = disabled

Synapse: CPU GOV: use Interactve governor

Synapse: GPU: set Midgard Power policy threshold profile to Ondemand or Performance. This will scale your GPU up/down faster at the expensive of battery life compared to Battery profile.

Synapse: GPU: GPU max freq = 533 MHz (more if your device is stable)

Synapse: MEMORY: UKSM = enabled

Synapse: ADVANCED: LMK profile = aggressive

GPU THESHOLD CONTROL

Set Midgard Power policy threshold profile (This determine how your GPU freq scales up/down):

Battery = battery friendly

Ondemand = Good all-round mix

Performance = A little agressive

Method:

Ensure you apply [] any changes to MIN / MAX GPU freq or GPU GOV Threshold profile

PRESS THE "Apply GPU GOV SETTINGS" button !!

Settings will be applied immediately and auto set on every boot.

HOW TO BACKUP YOUR STOCK KERNEL BEFORE FLASHING SkyHigh KERNEL

Boot into TWRP Recovery

Select Backup

Select "[X] Boot" only (boot.img/kernel)

Select Storage > Micro SD (if external sdcard installed) > OK

Swipe to backup

CAN I USE OTHER KERNEL CONTROL APPS

No, many features and options won't be available. Remove all other control apps to avoid conflicts !

Synapse is the recommended and has everything you need ;)

HOW TO MONITOR LIVE CPU & GPU VALUES

CPU load & freq - available RAM - GPU freq - CPU temp - most resource intensive process

[APP][2.1+] Cool Tool

Download my personal cooltool_presets > unzip & copy folder to INTERNAL sdcard. If you have cool tool app already running, you must disable > overwrite existing folder > enable

LITTLE CORE CPU FREQUENCY

Real frequency is apparently double that reported by other apps

Example: min 200 MHz (real) in Synapse is reported as 100 MHz in SetCPU

RANDOM REBOOT

Don't UV or UC CPU or GPU

Use SkyHigh defaults

DOWNLOAD LINK NOT WORKING

I want to keep this project all in one place (Thanks to XDA) - ☆☆ NO MIRRORS ☆☆

Please try again in a few minutes

POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE

Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.

HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE

DO NOT KILL PROCESSES

This feature allows the user to define processes and system processes white-lists filled with the preferred process names and to not be killed by lowmemorykiller, unless it is absolutely necessary.

When a the lowmemorykiller needs to free ram, it will first kill the processes not included inside the two process name lists chosen by the user.

If there are no more standard killable processes, then it will be necessary to kill one of the processes included inside one of the two white-lists, to prevent system hangs, slowdowns, etc.

You can find the [SkyHigh/Synapse] folder on your internal sdcard and add one process name per line. Lists updated on reboot.

Max 25 processes

Example only:

com.ea.games_r3_row
com.quoord.tapatalkxdapre.activity

DYNAMIC MANAGEMENT OF DIRTY PAGE WRITEBACKS

* [Christopher83]

BACKUP & RESTORE

If the backup isn't visible, reboot device and ensure for have "synapse boot completed" message. Otherwise synapse won't read the file.

Reboot after applying your new settings

Read "ISSUES" & "SYNAPSE BOOT CANCELLED" above

TCP/IP NETWORK SECURITY

* Thanks to zeppelinrox & V6SuperCharger

Hardening the TCP/IP stack to SYN attack

Bump up tw_buckets in case we get DoS'd

Ignore pings

Don't cache connection metrics from previous connection

Don't pass traffic between networks or act as a router

Enable spoofing protection (turn on reverse packet filtering)

Don't accept source routing

Don't accept redirects

- Further reading:

http://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening

http://www.symantec.com/connect/articles/hardening-tcpip-stack-syn-attacks

SEGMENTATION FAULT

I don't believe it's kernel related, but rather busybox

Try uninstall your ROM busybox with this app. https://play.google.com/store/apps/details?id=stericson.busybox and reboot.

Re-flash kernel

Use the busybox that comes with the kernel located in /sbin

Also try to update your SuperSu and su binary if it asks and reboot.

USB KEYBOARD / MOUSE

Base project: https://github.com/pelya/android-keyboard-gadget

Required app: USB KEYBOARD

For best results, enable & use Hacker's Keyboard

Steps:

Ensure device USB debugging

Connect device to system via USB cable

Enable in Synapse > USB > USB Keyboard / Mouse >> Enable & apply

Start USB KEYBOARD app

BATTERY SCALING CALIBRATION - FUEL GAUGE RESET

Tap [Fuel-Gauge reset] in synapse BATTERY section

Reboot device

Battery % "reporting" calibration (digital)

a) Deplete battery to 5-10% (NOT ZERO)

b) Charge UNINTERUPTED until FULL (don't touch)

c) Unplug and then use normally. Device should then re-calibrate itself

..