Related
[KERNEL] [P6800 JB 4.1.2] [22 Mar] ROOT | ExTweaks | exFAT | SkyHigh Kernel [5.0.0 FINAL]
** FOR P6800 (GSM/3G) device running JB 4.1.2 DXMD3 ONLY !! **
I am UpInTheAir part time kernel dev (hack) and Chef of SGT 7.7 JB & ICS ROMs, and now bring to you my P6800 Jellybean SkyHigh Kernel.
-- STABLE FINAL RELEASE --
* I don't pretend to know everything, so if you can be constructive and help out this project, please do so. You will find allot of answers by searching gitHub, XDA and SEARCH
FEATURES
* Based on official Samsung source JB DXMD3
* AUTO ROOT (only if you don't already have it)
insecure kernel
su binary 1.91
SuperSU 1.91
busyBox 1.20.2 linusyang installed to system/sbin
* STABLE - under SkyHigh "default" values & conditions
* ExTweaks app support for almost all kernel configurations + more !!
Many descriptions are in the app ! If you require more info, don't be lazy, please SEARCH like I did !
CPU
Boot boost CPU freq
Boost CPU freq (not fully tested)
Cortex wakeup boost (not fully tested)
Max normal freq
CPU freq OC / UC
CFS settings – Arch power
CPU idle mode (sleep & awake)
Scaling max suspend freq
Scaling min suspend freq
Scaling min standby freq
CPU temp throttle
CPU VOLTAGE
Set voltage individually for each 18-step freq
CPU TUNING (Awake & Sleep)
Set default CPU governor
Set governor configuration
Enable/disable hotplug
BUS
Bus voltage group
Thresholds
IO Tuning
Int/ext sdcard read-ahead cache
Dynamic Fsync control
Dynamic dirty page writeback control
IO scheduler (awake & sleep)
MEMORY TUNING
OOM control (screen on/off)
Dirty background ratio
Dirty ratio
Clean RAM cache
zRAM
Swappiness
zRAM stats
KSM control
GPU CONTROL
VPLL/MPLL mode
Freq control
Voltage control
Threshold control
Stay-count control
DISPLAY
FB early suspend delay (CRT TV off animation for SUPPORTED ROM)
Touch screen sensitivity
SOUND
Master volume gain
Headphone
Mic
Speaker
TWEAKS
- CortexBrain-Background-Process control
- Check CortexBrain-Background-Process Service
TCP security
TCP speed
TCP RAM
IPV6 (enabled by default - does not actually switch off)
CPU
Memory
System
Kernel
IO
OTHER
- Cron Task Control
- Test Cron task service
- Cron reset
Clean RAM cache task every hour
Update AD blocker task every week
DB optimizing (sqlite3) task every day
Clean app cache task every day
Zipalign task every day
fstrim lagfix task every day
Cron test task jobs
Zipalign apps now
Zipalign on boot
DB optimization (sqlite3) now
DB optimization (sqlite3) on boot
Battery scaling calibration (fuel-gauge reset) now
Ad blocker update now
Remove Ad blocker
FILE SYSTEM MAINTENANCE / REPAIR
Partitions scan
Data FS repair on boot
extSdCard repair on boot
Fix permissions on boot
Fix permissions now
Trim FS partitions (fstrim lagfix) on boot
Trim FS partitions (fstrim lagfix) now
INIT.D SUPPORT
Enable init.d script run control
USB MASS STORAGE (UMS) MODE
MTP <> Mass storage mode
WIFI & GPS
Clean WIFI lease
TCP congestion control
GPS region
GPS zone check
Update time
ROOT
Install root now
Remove root now
Root check
Auto install root on boot
MODULES
Frandom control
XPAD control
ISO CD-ROM control
UDF CD-ROM/DVD control
PROFILES
Profile check
UpInTheAir & SkyHigh Default (you can configure & save values for each, but not change the actual profile name)
BACKUP & RESTORE
Backup User settings now
Restore User settings now
RE-BOOT
Re-boot into Recovery
BUG-REPORT
Kernel bug-report
App bug-report
Android logger control
Kernel printk control
Module logger control
INFO
* SkyHigh default CPU min/max 200 > 1400 MHz (13-step)
* 18-step CPU 100 > 1800 MHz (Recommend setting 200-1400/1600 MHz)
Default = 13-step 200 > 1400 MHz
Stock = 6-step 200 > 1400 MHz
* No UV for stock frequencies 200-500-800-1000-1200-1400 MHz
* 4-step GPU : Default = 160-200-267-400 MHz
MPLL mode = 4-step GPU (default)
Stock = 2-step GPU (160-267 MHz)
Min freq = 50 MHz
Max MPLL freq = 400 MHz
Max VPLL freq = 520 MHz
Voltage = 800 > 1200 mV (+/- 50 mV increments)
* GPU UV / UC / OC
160 MHz = 950 mV (-50 mV > stock 1000 mV)
200 MHz = 1000 mv
267 MHz = 1050 mV (-50 mV > stock 1100 mV)
400 MHz = 1100 mV
* GPU Control
freq clock
voltage
step thresholds
stay counts
GPU BENCHMARK BEFORE (3DMark app)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
GPU BENCHMARK AFTER @ 400 MHz (3DMark app)
* GPU VPLL mode optional
For devices that can't handle VPLL – use MPLL mode instead
http://forum.xda-developers.com/showpost.php?p=33720501&postcount=4181&nocache=1&z=1048045007703282
* Busfreq up & down threshold control
Stock / SkyHigh default = 23
* Busfreq (memory) voltage group
default group = 1 (stock)
available group options 1 > 7
L0 = 400 L1 = 267 L2 = 160 MHz
1 > {1150000, 1050000, 1050000} SkyHigh default / stock
2 > {1125000, 1025000, 1025000}
3 > {1100000, 1000000, 1000000}
4 > {1075000, 975000, 975000}
5 > {1050000, 950000, 950000}
6 > {1025000, 950000, 925000}
7 > {1000000, 925000, 900000}
* Set L2 bus (memory) speed from 133 > 160 MHz
- Default MHz now:
L0 = 400
L1 = 267
L2 = 160 MHz / 1000 mV (stock = 133 MHz / 950 mV)
* Adaptive vfs_cache_pressure on suspend / resume
Hard coded values :
- Set @ 10 = save battery on device suspend
- Set @ 60 = better smoothness on device resume
Low vfs_cache pressure values save battery while idle, while a low value also causes stutter with longer up times.
* Governors
pegasusq = SkyHigh default (siyah kernel version & "freq for responsiveness" tweaked to 500 MHz by me)
HYPER
scary
wheatley
abyssplug
lulzactiveq (siyah kernel version & tweaked by me)
lazy
hotplug
ondemand
performance
ZZMoove 0.7d
* IO schedulers
SIO = SkyHigh default
ROW
VR
NOOP
Deadline
CFQ
* SOUND CONTROL via ExTweaks app
* Thunderbolt scheduler IO Tweaks [pikachu01]
* Implemented kernel to report USB trickle charge (previously just reports discharging).
- Those devices without modified SystemUI.apk will now show battery charging animation whilst on USB power source
* Force USB charging source to be detected as AC
- faster USB charge using same circuitry
- limited by:
1. charging source max output
2. kernel - up to max 1500 mA (same is actual AC)
* Auto set init.d scripts to 777 – no need to manually set script permissions, just drop in & reboot
* Reduced GUI lag
- Frandom
- fstrim lagfix - NOT ENABLED BY DEFAULT
- Disabled gentle fair sleepers
- RAM management OOM adj & minfree values from V6SuperCharger
* Improved touch-screen sensitivity (on both battery and charge)
* Mount partitions NOATIME and NODIRATIME by default
* R/W and auto-mounting of exFAT USB-OTG & external sdcard using official Samsung Open Source modules v1.2.5
* modded ROM /system/etc/vold.fstab to permit exFAT mounting
* NTFS R/W OTG file system support (require app to mount)
* UDF/ISO file system support - BluRay (require app to mount) - not tested !
* Network filesystem support
In-built CIFS
In-built NFS (not tested)
* TCP algorithms
- cubic = default
- reno
- westwood+ (some users of other devices have reported faster network throughput speeds)
* In-built zRAM support
* LZ4 compression implemented & enabled for zRAM [psndna88 & Yank555.lu]
* Support paging of anonymous memory (Swap)
* General optimized for size
* Kernel compression = xz
* Support for iPad, iPhone, iPhone_3G/S, iPhone_4/4S, iPhone_5 (not tested as I don't own "rotten fruit" )
* UV motor -100 mV (3.1V → 3.0V)
* UV LED -100 mV (3.2V → 3.1V)
* fbearlysuspend control - allow CRT-off animation in SUPPORTED ROMs)
* Thermal throttle control (default on) – be careful here, do you want to melt your CPU?
* Dynamic read-ahead implemented and set at 1024 KB (variable)
* Int/External sdcard read ahead cache = variable KB
* Internal & external sdcard IO schedulers = SIO
* Dynamic FSync control v1.2 implemented and enabled
* Dynamic management of dirty page writebacks
* Android Logger Control disabled
* Linux printk Control disabled
* KSM support
* Custom bootanimation support
* Custom boot sound support
* Support for XPAD gamepad & rumblepad controller
* Reduce Android logger RAM usage
* Disabled kernel debugging to reduce zImage size
* Disabled some module logging
* Disable mali tracking debug
* Disable zRAM debug
* Triangle Away app support
* vm swappiness = 20 (performance)
* Free pagecache. dentries and inodes will be managed by /proc/sys/vm/vfs_cache_pressure
echo "1" > /proc/sys/vm/drop_caches
* System property accessory tweak values from V6SuperCharger
dalvik.vm.heapgrowthlimit 130m
dalvik.vm.heapsize 130m
persist.sys.purgeable_assets 1
windowsmgr.max_events_per_sec 90 (200 set as SkyHigh default)
* Virtual memory & kernel tweak
# values from V6SuperCharger & Kick Ass Kernelizer [[email protected]]
echo "10" > /proc/sys/fs/lease-break-time
echo "0" > /proc/sys/kernel/panic
echo "0" > /proc/sys/kernel/panic_on_oops
echo "0" > /proc/sys/vm/block_dump
echo "60" > /proc/sys/vm/dirty_background_ratio
echo "95" > /proc/sys/vm/dirty_ratio
echo "0" > /proc/sys/vm/laptop_mode
echo "15360" > /proc/sys/vm/min_free_kbytes
echo "4" > /proc/sys/vm/min_free_order_shift
echo "0" > /proc/sys/vm/oom_dump_tasks
echo "0" > /proc/sys/vm/oom_kill_allocating_task
echo "1" > /proc/sys/vm/overcommit_memory
echo "0" > /proc/sys/vm/panic_on_oom
#echo "20" > /proc/sys/vm/swappiness ########### Already implemented
#echo "10" > /proc/sys/vm/vfs_cache_pressure ########### Implemented adaptive vfs_cache_pressure on suspend (10) / resume (60)
* Misc tweaks for battery life
# values from V6SuperCharger & Kick Ass Kernelizer [[email protected]]
echo "65536" > /proc/sys/kernel/msgmax
echo "2048" > /proc/sys/kernel/msgmni
echo "500 512000 64 2048" > /proc/sys/kernel/sem
echo "2097152" > /proc/sys/kernel/shmall
echo "268435456" > /proc/sys/kernel/shmmax
echo "4096" > /proc/sys/kernel/shmmni
#
echo "524288" > /proc/sys/fs/file-max
echo "32000" > /proc/sys/fs/inotify/max_queued_events
echo "256" > /proc/sys/fs/inotify/max_user_instances
echo "10240" > /proc/sys/fs/inotify/max_user_watches
echo "0" > /proc/sys/kernel/sched_child_runs_first
echo "524288" > /proc/sys/kernel/threads-max
* TCP Speed & Security
# values from V6SuperCharger & Kick Ass Kernelizer [[email protected]]
# 3G TurboCharger Enhancement
#
# Google's public DNS settings
#
/system/bin/setprop net.dns1 8.8.8.8 ########### Not sticking
/system/bin/setprop net.dns2 8.8.4.4
#
# ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax
/system/bin/setprop net.tcp.buffersize.default 6144,87380,110208,6144,16384,110208
/system/bin/setprop net.tcp.buffersize.wifi 262144,524288,1048576,262144,524288,1048576
/system/bin/setprop net.tcp.buffersize.lte 262144,524288,3145728,262144,524288,3145728
/system/bin/setprop net.tcp.buffersize.hsdpa 6144,262144,1048576,6144,262144,1048576
/system/bin/setprop net.tcp.buffersize.evdo_b 6144,262144,1048576,6144,262144,1048576
/system/bin/setprop net.tcp.buffersize.umts 6144,87380,110208,6144,16384,110208
/system/bin/setprop net.tcp.buffersize.hspa 6144,87380,262144,6144,16384,262144
/system/bin/setprop net.tcp.buffersize.gprs 6144,8760,11680,6144,8760,11680
/system/bin/setprop net.tcp.buffersize.edge 6144,26280,35040,6144,16384,35040
#
# Queue size modifications
echo "20480" > /proc/sys/net/core/optmem_max
#echo "262144" > /proc/sys/net/core/rmem_default
echo "1048576" > /proc/sys/net/core/rmem_max
#echo "262144" > /proc/sys/net/core/wmem_default
echo "1048576" > /proc/sys/net/core/wmem_max
echo "50" > /proc/sys/net/unix/max_dgram_qlen
#
# Be sure that autotuning is in effect
echo "1" > /proc/sys/net/ipv4/tcp_moderate_rcvbuf
#
echo "0" > /proc/sys/net/ipv4/ip_no_pmtu_disc
echo "1" > /proc/sys/net/ipv4/route/flush
echo "0" > /proc/sys/net/ipv4/tcp_ecn
echo "1" > /proc/sys/net/ipv4/tcp_fack
echo "1" > /proc/sys/net/ipv4/tcp_rfc1337
#echo "6144 87380 1048576" > /proc/sys/net/ipv4/tcp_rmem ########### Not sticking
echo "1" > /proc/sys/net/ipv4/tcp_sack
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
#echo "6144 87380 1048576" > /proc/sys/net/ipv4/tcp_wmem ########### Not sticking
echo "6144" > /proc/sys/net/ipv4/udp_rmem_min
echo "6144" > /proc/sys/net/ipv4/udp_wmem_min
#
# Re-use sockets in time-wait state
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
#
# Hardening the TCP/IP stack to SYN attacks
echo "1024" > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo "2" > /proc/sys/net/ipv4/tcp_syn_retries
echo "2" > /proc/sys/net/ipv4/tcp_synack_retries
#
# Bump up tw_buckets in case we get DoS'd
echo "16384" > /proc/sys/net/ipv4/tcp_max_tw_buckets
#
# Ignore pings
echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all
#
# Don't reply to broadcasts (prevents joining a smurf attack)
echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
#
# Enable bad error message protection (should be enabled by default)
echo "1" > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses
#
# Don't cache connection metrics from previous connection
echo "1" > /proc/sys/net/ipv4/tcp_no_metrics_save
#
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes
echo "1800" > /proc/sys/net/ipv4/tcp_keepalive_time
#
# Don't pass traffic between networks or act as a router
# Disable IP Packet forwarding (should be disabled already)
echo "0" > /proc/sys/net/ipv4/ip_forward
#
echo "0" > /proc/sys/net/ipv4/conf/all/send_redirects
echo "0" > /proc/sys/net/ipv4/conf/default/send_redirects
#
# Enable spoofing protection (turn on reverse packet filtering)
echo "1" > /proc/sys/net/ipv4/conf/all/rp_filter
echo "1" > /proc/sys/net/ipv4/conf/default/rp_filter
#
# Don't accept source routing
echo "0" > /proc/sys/net/ipv4/conf/all/accept_source_route
echo "0" > /proc/sys/net/ipv4/conf/default/accept_source_route
#
# Don't accept redirects
echo "0" > /proc/sys/net/ipv4/conf/all/accept_redirects
echo "0" > /proc/sys/net/ipv4/conf/all/secure_redirects
echo "0" > /proc/sys/net/ipv4/conf/default/accept_redirects
echo "0" > /proc/sys/net/ipv4/conf/default/secure_redirects
* Power saving tweaks
pm.sleep_mode 1
ro.ril.disable.power.collapse 1
wifi.supplicant_scan_interval 180
CREDITS
* My family !!
* Samsung
* XDA
* wanam repo, ezykernel ICS diff, Ryuinferno, CM, boeffla, GM, redpill more to add yet
* Chainfire for root
* GM - siyah kernel
* AndreiLux
* dorimanx
* Christopher83
* zeppelinrox - V6SuperCharger - KAK - 3G TurboCharger values and Fix Emissions script
* idcrisis for permission to implement CrossBreeder entropy into kernel - no success as yet...
* pikachu01 FOR SOME tHUNDERBOLT TWEAKS
* Suxsem for fstrim
* XDA devs that I cherry pick code, values & ideas from. The list is never ending...
* edan1979 for excellent feedback & also nutley for volunteering to test
GPL COMPLIANT - SOURCE: >> GitHub
.
Download & change-log
DOWNLOAD & CHANGE-LOG
** DISCLAIMER : FLASH AT YOUR OWN RISK **
WARNING :
* Under-volting can cause instability
* Over-clocking can cause freeze/reboot, heat & damage to CPU, GPU or other hardware
* Any customizations may void warranty
P6800 GSM/3G JB 4.1.2 DXMD3 ONLY
INSTALLATION
** DO NOT USE ANY 3RD PARTY TWEAKS OR “PERFORMANCE” TYPE APPS & REMOVE ALL ROM /KERNEL SCRIPTS FROM /system/etc/init.d FOLDER **
1. NANDROID (just in case)
2. Have installed any P6800 JB 4.1.2 ROM based from official Samsung sources
3. Remove any previous CPU control settings from starting at boot, remove any 3rd party tweaks etc
4. Flash in custom recovery (CWM or TWRP) to auto wipe previous kernel profile remnants ie. crontab. logs & /data/.siyah folder
5. If requested by Recovery to install SU, DO NOT. Instead - Let the kernel do it on boot
SkyHigh Kernel : Latest release is v5.0.0 FINAL ExTweaks Edition
CWM.zip v5.0.0 FINAL http://d-h.st/n3S
Archive : Working CWM Official Released Legacy Versions (UNSUPPORTED)
v0.7
v1.0.3
v2.0.8
v2.1.0
v2.2.0
v2.7.0
v2.8.0
v3.2.0
v3.3.0
v3.4.2
v3.5.0
v3.6.0
v3.7.0
v3.8.0
v3.9.1
v4.0.0
v4.1.0
v4.2.0 - Stable for some users (4-step GPU control)
v4.3.0
v4.4.0
v4.6.0
v4.6.1
v4.7.0b
v4.8.0b
v4.9.0b
-------------------------------------------------------------------
Stock Kernel :
CWM.zip DXMD3 http://d-h.st/tKE
ODIN.tar DXMD3 http://d-h.st/yxr
++ PLEASE DO NOT REDISTRIBUTE - LINK HERE INSTEAD ++
BUGS
* Check if it is actually a stock firmware bug first using stock kernel -BEFORE- posting in this thread or elsewhere
1. Random screen tint reported on both stock & SkyHigh kernels using CPU control app (Read Post #3)
2. Screen OFF reboot with ONLY SkyHigh DEFAULT kernel settings ( no "performance" type apps, scripts etc) Please read ISSUES section for help or flash v4.2.0 for stabilty
.
.
FAQ & HELP
FAQ & HELP
MY RECOMMENDATIONS
* Governor = pegasusq, lulzactiveq, or ZZMoove
* IMO = Performance → → Battery
1. on-demand
2. pegasusq (snappy, but easier on battery than on-demand)
3. lulzactiveq
4. ZZMoove
* Scheduler = SIO
* CPU freq = 200-1400/1600 MHz
* CPU vdd levels = SkyHigh "defaults"
* Enable zRAM for better mulitasking
* CPU Control app = ExTWeaks
Don't forget to use only one Control app at a time. They will conflict !
ISSUES?
1 Remove any kernel related init.d tweaks, 3rd party performance type apps etc
2 Wipe your CPU control app(s) data (menu > settings > applications > "your control app(s)" > clear data/cache)
3 Use only ONE CPU control app ! USE EXTweaks
4 Open SuperSU app > settings > full unroot (or unroot from with EXTweaks options)
5 Boot into recovery and wipe cache & dalvik cache
6 Re-flash SkyHigh Kernel
7 If requested by recovery - DO NOT install root (let the kernel do it)
9 Reboot
8 If still issue such as bootloop etc, try using MPLL mode for GPU, and or increase GPU voltages +50 mV
9 Try a kernel "legacy" versions
10 Back to stock for you
RANDOM SCREEN TINT AFTER CHANGING GOVERNOR
* Turn screen OFF-ON
* Use only SkyHigh defaults values
* Don't use a CPU control app to change kernel settings - Use init.d script instead
* OR IF IT BOTHERS YOU,...... DON'T USE THE KERNEL
zRAM
Info here : (INFO)What is zram and how does it work???
LOGS
* You can find various ExTweaks logs in the /data folder:
/data/.siyah
/data/extSdCard_fix.log
/data/fsrepair.log
/data/fstrim_lagfix.log
/data/Ran_FixEmissions.log
/data/sqlite.log
/data/zipalign.db
/data/zipalign.log
/data/crontab
PREVENT/REDUCE SCREEN-OFF FLICKER FOR CRT-OFF ANIMATION ENABLED ROMs
* Set fbearlysuspend msleep between 100 and 500 ms
* Set to 0 if you haven't any CRT-off animation mod
DYNAMIC MANAGEMENT OF DIRTY PAGE WRITEBACKS
* [Christopher83]
This feature allows to have two different intervals for dirty page
writebacks and to dynamically manage them when the system has been
resumed (it's active) or when has been suspended.
Three new procfs parameters are exposed inside /proc/sys/vm path:
- dynamic_dirty_writeback is the activation status of this feature,
set 1 to enable it, set 0 to disable it and use the standard behaviour
- dirty_writeback_active_centisecs is the interval for the dirty page
writebacks when the system is active (screen on)
- dirty_writeback_suspend_centisecs is the interval for the dirty page
writebacks when the system is suspended (screen off)
This feature is in part inspired on Francisco Franco's patch:
https://github.com/franciscofranco/mako/commit/34d79548cf16b69c7d0154836018e7f258a22947
Click to expand...
Click to collapse
WHAT IS A CUSTOM KERNEL
* First of all, watch this : Android Basics 101: Understanding Kernels – XDA Developer TV
* Is usually' modified and complied from source.
* My very first successfully compiled kernel just included the "SkyHigh" name. I suppose you could call that a modified "stock" kernel. On the other hand, you could also argue that any firmware modified from either official or built from sources could be called "custom".
HAVE THE STOCK KERNELS ATTACHED BEEN MODIFIED
* If you are referring to the stock MD3 kernels in Post #2, NO
* I just extracted the zImage from official firmware and repackaged for flashing via custom recovery or Odin. There are no changes made to the zImage. I have no plans to modify these.
ENTROPY
* MAX pool sixe 4096
* It's not instant, just use your device and it will grow.
* No need for entropy generator apps that consume battery (use extra CPU cycles)
WHAT ARE GOVERNORS / SCHEDULERS ETC
* Excellent source of info by droidphile :
[REF][TWEAKS] Kernel Governors, Modules, I/O Schedulers, CPU Tweaks, AIO App Configs
FSTRIM LAGFIX
* fstrim is more of a maintenance binary. Android 4.2.2 and below are more prone to lag over time and prevalent as your internal storage is used up.
* Trims system, preload, data & cache partitions
* fstrim binary set to run by init.d 90lagfix script after boot to reduce impact on boot time
* A manual reboot once a week is suggested. Those users who have ample internal storage and or recently formatted their partitions via ROM flash or Nandroid restore may see little difference for now.
* More info : Google yourself or Nexus Storage Performance Over Time & TRIM 20130829
CUSTOM BOOT ANIMATION SUPPORT
1. copy bootanimation.zip to /system/media/ folder (mount folder r/w to paste)
2. ensure set permissions rw-rw-rw-
3. reboot
NOTE :
* For any further help or instructions for bootanimation, please open your own forum Q&A thread or post in a relevant bootanimation thread. There are many already built and can be found by searching.
* The size we need for our tab is 800x1280 or 1280x800 (depending on portrait or landscape)
CUSTOM BOOT SOUND SUPPORT
* Place custom boot sound PowerOn.ogg in /system/media
* To mute, create an empty file named mute in /system/media
* To unmute, create an empty file named unmute in /system/media
* To restore original boot sound, create an empty file named ori_sound in /system/media
* Reboot device after each process
NOTE :
* when creating a custom boot sound, make sure you use a capital "P" and "O" in PowerOn.ogg
* I will not provide a tutorial for creating boot sounds, you can Google yourself
BENCH-MARKING
Freeze or Re-Boot
1 Try increase CPU 1600 Mhz voltage by +25 mV or +50 mV. I would not recommend any more than that !
2 Lower CPU OC back to stock max 1400 MHz setting
3 To find out which frequency cause the freeze :
a) If you have UV the CPU and the device freeze, obviously you need to increase the voltage to a particular frequency step(s)
b) Do a stress test with SetCPU (or other app) and lock your max frequency for each step (DO NOT SET ON BOOT WHILST TESTING)
4 Try a different governor
5 Use a different benchmark app/tool
AnTuTu Crashes?
* Try another benchmark app !
Low Bench-Marking Scores
* Consectutive tests as well as OC may heat the CPU high enough where thermal limiting occurs. Well here you go........... I observed my CPU regularly drop to 800 MHz after hitting a thermal limit during testing.
Here's the proof !
https://github.com/UpInTheAir/P6800_JB_SkyHigh_Kernel/blob/master/arch/arm/mach-exynos/mach-px.c
Code:
#ifdef CONFIG_EXYNOS4_SETUP_THERMAL
/* below temperature base on the celcius degree */
struct s5p_platform_tmu px_tmu_data __initdata = {
.ts = {
[COLOR="Red"].stop_1st_throttle = 61,
.start_1st_throttle = 64,[/COLOR]
.stop_2nd_throttle = 87,
.start_2nd_throttle = 103,
.start_tripping = 110,
.start_emergency = 120,
.stop_mem_throttle = 80,
.start_mem_throttle = 85,
},
.cpufreq = {
.limit_1st_throttle = [COLOR="Red"]800000[/COLOR], /* 800MHz in KHz order */
.limit_2nd_throttle = 200000, /* 200MHz in KHz order */
* With some undervolt and governor tuning, little OC impact will be felt on battery. Not everyone fixes their CPU to max with performance governor so, providing your hardware can handle it, some OC should be OK for everyday use as the CPU only briefly scales to max freq with the 'right' governor.
* As you can see, this could be easily changed to allow (cheat) in benchmarks. This won't make much difference to everyday use, but IMO shouldn't be touched. My silicon may not handle it
RESET CUSTOM FLASH COUNTER
*There is a Samsung Galaxy Tab 7.7 flash counter introduced for P6800 JB 4.1.2 DXMD3, so any modified ROM, kernel or recovery flashed via PC Odin will increase the counter.
1. Have installed my P6810/P6800 SkyHigh kernel for JB 4.1.2 (patched for triangle away compatibility)
2. Install triangle away app v3.26
3. Reset counter
4. Reboot as requested
5. To check > open app again, or, power off and enter download mode
* Your custom ROM, kernel, recovery & root remain intact
Anything else, IF I find the time
.
UpInTheAir said:
I am UpInTheAir and Chef of SGT 7.7 ICS ROMs, and now bring to you my P6800 Jellybean SkyHigh Kernel.
** FOR P6800 GSM/3G device running JB 4.1.2 DXMD3 ONLY !! **
-- STABLE WORK-IN-PROGRESS --
* I am NOT a recognised developer, and don't actually use the P6800, but thought I would help out this forum by trying to develop a P6800 JB kernel.
* I don't pretend to know everything, so if you can be constructive and help out this project, please do so. You will find allot of answers by searching XDA and Google
FEATURES
* Based on official Samsung source MD3
* Default CPU max 1400 MHz
* OC to max 1600 MHz (support with CPU control app)
* CPU voltage control interface (UV support with a CPU control app)
* Enabled pegasus governor
* NTFS filesystem support
* Support paging of anonymous memory (Swap)
* General optimized for size
* Kernel compression = Gzip
* Default governor = on-demand
* Default IO scheduler = CFQ
* STABLE
TO DO
* Add more governors and IO schedulers
* UV GPU
* OC GPU
* UV screen
* Frandom support
* Other various useful modules
* Auto root
* init.d support
* STweaks support
* Increase AC & USB charge rate
* Custom bootanimation support
* Lots more
CREDITS
* Samsung
* XDA
* wanam repo, ezykernel ICS diff, more to add yet
* edan1979 for excellent feedback & also nutley for volunteering to test
* Development has been slow, but still progressing.......
* Things will speed up (time permitting) once JB source is released for my P6810 model and I can test changes on my own device and subsequent mirror the development
* SOURCE: Still being uploaded to github, and commits will be reflected a soon as I'm home (currently away) and PC stops freezing. Please be patient on this.
DOWNLOAD & CHANGE-LOG in Post #2
FAQ & HELP in Post #3
.
Click to expand...
Click to collapse
Nice!
I was planning to do this for sometime but I'm stuck at other things. I have already prepared the config for 6810 and i815. If you have time, I can send you those files to build the kernel for p6810. Hoping it will help you creating a custom stock rom for p6810 before Samsung!
Thanks again for contribution to our community! :good:
daniel_hk said:
Nice!
I was planning to do it for sometime but I'm stuck at other things. I have already prepared the config for 6810 and i815. If you have time, I can send you those files to build the kernel for p6810. Hoping it will help you creating a custom stock rom for p6810 before Samsung!
Thanks again for contribution to our community! :good:
Click to expand...
Click to collapse
Sounds great. Thanks !
Much easier to build and test with device in hand, so hoping for the official P6810 JB update soon. Although appreciate what you bring to the community with JB, If Samsung haven't released it in the next month, probably sell the tab for the "next big thing", as long as it's 7 or 8 in...... My 9 yo boy wants the tab though, so things could still change
Sent from my GT-I9500 using xda premium
already flashed.
booting : ok
overclock to 1600: work
set pegasusq governor: work
will try to uv and report.
Sent from my GT-P6800 using Tapatalk HD
UpInTheAir said:
Sounds great. Thanks !
Much easier to build and test with device in hand, so hoping for the official P6810 JB update soon. Although appreciate what you bring to the community with JB, If Samsung haven't released it in the next month, probably sell the tab for the "next big thing", as long as it's 7 or 8 in...... My 9 yo boy wants the tab though, so things could still change
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
Already sent the link in PM. It should work with the latest JB source for 6800.
Good luck and let's hear more good news!
Edit: attached here View attachment p8-wifi_defconfig.tar.gz
daniel_hk said:
Already sent the link in PM. It should work with the latest JB source for 6800.
Good luck and let's hear more good news!
Edit: attached here View attachment 1979341
Click to expand...
Click to collapse
Got it.
Thanks.
I'll just keep chipping away at the development until I have to go away to work again,.... probably early next month.
Sent from my GT-I9500 using xda premium
My 9 yo boy wants the tab though, so things could still change
Click to expand...
Click to collapse
Seems to me that a Tab 7.7 is about perfect for a little boy.
Keep it in the family:good:
Thanks dev for your kind support for the tab!
anyone try this kernel on the erobot rom yet ?
golfinggino said:
anyone try this kernel on the erobot rom yet ?
Click to expand...
Click to collapse
yes its working fine...
Hi, move to see that our device is not given up by developers
One request: after moving to JB I noticed that the sound is much lower in JB. Is it possible to fix it?
Sent from my GT-P6800 using Tapatalk 2
200mpx said:
Hi, move to see that our device is not given up by developers
One request: after moving to JB I noticed that the sound is much lower in JB. Is it possible to fix it?
Sent from my GT-P6800 using Tapatalk 2
Click to expand...
Click to collapse
Probably a way. In the mean time, take a look at this thread for SGS4 and see if it's applicable to your device....
Maybe with just a few minor adjustments, you can tweak from within your own ROM. Worth a look.
http://forum.xda-developers.com/sho...Modifications for i9500 (i9505 incompatible)!
Sent from my GT-I9500 using xda premium
Hi, how about NTFS filesystem support? I put via OTG usb flash drive 32gb formated as NTFS and tab can't recognize drive.
ROM is eRobot v1.0 and kernel is SkyHigh Kernel v0.7. May be i don't make some settings?
partola1 said:
Hi, how about NTFS filesystem support? I put via OTG usb flash drive 32gb formated as NTFS and tab can't recognize drive.
ROM is eRobot v1.0 and kernel is SkyHigh Kernel v0.7. May be i don't make some settings?
Click to expand...
Click to collapse
Firstly, does it work with your external sdcard formatted as NTFS ?
Secondly, Try USB OTG Helper app from Google Play and see if you have any luck mounting the USB stick.
Third, does it work with the stock kernel? You haven't said as I requested in OP...
Sent from my GT-I9500 using xda premium
Source : GitHub
I am now complying with the GPL and have managed to make the source/changes available for everyone to see.
Took a while, but eventually managed to upload and commit to GitHub.
Link now in OP
Now back to developing............
Edit: having a few git issues......
Edit2: Have gitHub back and correct. Just learning the basics and now lost some dev time because of it............. off to bed, always tomorrow
.
my uv setting
erobot rom
Sent from my GT-P6800 using Tapatalk HD
theerachai said:
my uv setting
erobot rom
Sent from my GT-P6800 using Tapatalk HD
Click to expand...
Click to collapse
Sweet !
Have you stress test each step to ensure stability?
You will need to lock the max frequency to that of each step, make sure it is NOT "set on boot" (during testing), so you can recover easily if device freeze or reboot occurs.
As a previous user didn't bother to give any further feedback on the NTFS, could someone using this kernel please check this:
1. Run Android Terminal Emulator app
2. su
3. Allow Superuser permission
4. lsmod
( the "l" is a lower case "L" )
What do you have? Please post a screenshot.
Also, check system/lib/modules for ntfs.ko
Cheers
Sent from my GT-I9500 using xda premium
Code:
* Your warranty is now void...
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, you getting dumped or you getting fired because your phone*
* bootloops and alarm does not go off. Please do some research if you have any *
* concerns about features included in my kernel before using it! YOU and only*
* YOU are choosing to make these modifications.
*/
Please don't use these kernels over other devices, absolutely it will brick your unsupported devices.
Its just only for GT-I9192 Galaxy S4 Mini Dual Sim Phone [DUOS]
use at your own risk. I'm not responsible for any damages or bricked phones.
Its Custom Kernel , and will avoid your warranty service
Features
Only For GT-I9192 [DUOS] over Samsung 4.2.2 roms only
Compiled with Linaro Toolchain 4.7.4 and -O3 optimization
Compiled from GT-I9192_JB_Opensource_Update1.zip MK4
AutoRoot
Auto Knox removing apps and notifications
Set selinux to permissive
Changed Samsung LowMemorKiller method to upstream
Fix Battery Drain
Added More FS partition type suuport ; cifs,nfs,ntfs,exfat.
Insecured ADB
Tweaks on CPU frequencies and voltages [battery friendly]
Custom Governorses
badass
smartassH3
smartassV2
Asswax
dancedance
wheatley
smartmax
interactive
userspace
powersave
lionheart
adaptive
ondemand
performance
IO Schedulers
Noop
deadline
row [default]
cfq
bfq
fiops
sio
vr
zen
fifo
Voltage Control
BLN Support
Dynamic FSync
Fastcharge USB
FauxSound V3.1
Increased entropy values
LZO compression method
Version 2.7 13th March 2014
Click to View Details for 2.7
Version 2.5 2nd March 2014
Click to View details @ Post 184
Version 2.4 Changelog 5th January 2014
Filename = Amestris Kernel-2.4_[9192-S4MiniDUOS][MK4]-CWM..zip
New configuration based on fluid script
Code:
# Tweaks and Configuration
/system/bin/setprop pm.sleep_mode 1
/system/bin/setprop ro.ril.disable.power.collapse 1
/system/bin/setprop ro.telephony.call_ring.delay 1000
echo "NO_GENTLE_FAIR_SLEEPERS" > /sys/kernel/debug/sched_features;
echo "NO_NEW_FAIR_SLEEPERS" > /sys/kernel/debug/sched_features;
echo "NO_NORMALIZED_SLEEPER" > /sys/kernel/debug/sched_features;
echo "20" > /proc/sys/vm/swappiness; #0
echo "1" > /proc/sys/vm/overcommit_memory;
echo "50" > /proc/sys/vm/overcommit_ratio;
echo "3" > /proc/sys/vm/page-cluster;
echo "10" > /proc/sys/vm/vfs_cache_pressure; #300
echo "2000" > /proc/sys/vm/dirty_writeback_centisecs;
echo "1000" > /proc/sys/vm/dirty_expire_centisecs;
echo "0" > /proc/sys/vm/oom_kill_allocating_task; #1
echo "0" > /proc/sys/vm/panic_on_oom;
echo "4096" > /proc/sys/vm/min_free_kbytes;
echo "10" > /proc/sys/fs/lease-break-time;
echo "64000" > /proc/sys/kernel/msgmni; #1024
echo "64000" > /proc/sys/kernel/msgmax;
echo "0" > /proc/sys/kernel/panic_on_oops; #1
echo "30" > /proc/sys/kernel/panic; #0 #10
echo "0" > /proc/sys/kernel/hung_task_timeout_secs; #45
echo "0" > /proc/sys/kernel/softlockup_panic;
/system/bin/sysctl -w kernel.threads-max=525810
/system/bin/sysctl -w kernel.sched_compat_yield=1
/system/bin/sysctl -w net.ipv6.conf.default.use_tempaddr=2
/system/bin/sysctl -w net.ipv6.conf.all.use_tempaddr=2
/system/bin/sysctl -w net.ipv6.conf.all.temp_prefered_lft=3600
/system/bin/sysctl -w net.ipv6.conf.default.temp_prefered_lft=3600
if [ -e /proc/sys/kernel/sched_min_granularity_ns ]
then
echo 200000 > /proc/sys/kernel/sched_min_granularity_ns;
fi
if [ -e /proc/sys/kernel/sched_latency_ns ]
then
echo 400000 > /proc/sys/kernel/sched_latency_ns;
fi
if [ -e /proc/sys/kernel/sched_wakeup_granularity_ns ]
then
echo 100000 > /proc/sys/kernel/sched_wakeup_granularity_ns;
fi
FauxSound V 3.1 thanks to f4ktion
USB Fastcharging Support thanks to f4ktion
Version 2.3 Changelog
Filename = Amestris Kernel-2.3_[9192-S4MiniDUOS][MK4]-CWM..zip
1-Enabled Voltage Control
2-Disabled BLN Wakelocks
3-Dynamic fsync v1.0 [credit to faux123]
4-changed kernel compression to LZO
5-tweaked ondemand cpu overnor for better battery usage, you may will get lower scores on benchmark apps, you can change the governorse to default if you want more power. [lower parameters than v2.1]
6-increased entropy values [4 x default]
7-increased read-ahead values.
8- revert the new ROW IO schedulers algorithm.
Version 2.2 Changelog is removed!!! unknown WIFI BUG!
Filename = Amestris Kernel_ST_V-2.2_[9192-S4MiniDUOS]-CWM..zip
12/31/2013
Fix for Voltage Control
Standard Edition - [ST]
Version 2.1 Changelog
12/27/2013
1-added BLN Support , you need BLN Control app and Liblights, i will provide them later!
2-Add misc FS support, cifs,nfs,ntfs,exfat.
3-Added IO Schedulers
Noop
deadline
row [default]
cfq
bfq
fiops
sio
vr
zen
fifo
4-Tweaked Ondemand cpu governorse profile
5-Tweaked for some battery consuming
6-CPU Voltage control is enabled
7-ZRAM is enabled
8-Removed useless logs
Version 2.0 Changelog
12/21/2013
1-Compiled kernel from open source samsung new kernel source release [MK4]
2-No changes from source, excepting disabled root prevention security system.
3-AutoRoot Kernel, it will disable Knox Security system and will root your phone if you have not Superuser.apk application in your /system/app folder. [SuperSU V1.86]
4-it will install busybox on /sbin folder and if you don't installed the busybox on /system/xbin or /system/bin folder, it will generate for those addresses to make busybox working for other applications, like Backup titanium.
5- Some Battery Twaeking for lower battery consuming.
6- All Knox Security files will be remove automatically by the kernel, it will check them, if they will be available, it will delete them.
7- Init.D Support
8- Insecured ADB services, adb remount , adb root.
Toolchain Version : arm-unknown-linux-gnueabi-linaro_4.7.4-2013 by christopher83
Version 1.0 Changelog
I just edited stock boot.img file as insecure for running root device.
This package will install :
busybox 1.20.2
Super Su + Su binary
EFS backup to your sd card
Rooted Stock Kernel
Init.D Scripts Support
Persian Language Support Page
Credits:
DSIXDA for kitchen
Christopher83 for LiNARO GCC
Wanam
Stratosk
Ktoonsez
F4k [f4ktion]
googy_anas
AndreiLux
junkyde [BLN]
Faux123
AndiP
ADRENO DRIVERS - GPU DRIVERS
Version : Adreno200-AU_LINUX_ANDROID_JB_VANILLA_04.02.02.060.053
Download the "ADRENO_DRIVERS[JB_VANILLA_04.02.02.060.053].zip" file and install it from recovery.
============================================================================================
============================================================================================
How To Install
** ZIP File Names - CWM Packages
Ensure you have custom recovery mod , CWM 6.x
Download the zipped attached file
copy downloaded file into your Device Storage [Phone]
goto Recovery mod and install the zip file.
enjoy.
----------------------------------------------------------------------------------------
** TAR File Names - ODIN Flashable files
1- Download the tar file .
2- Reboot your phone and goto Download mode
3- Connect your phone to PC and be sure that ODIN is recognized your phone.
4- Run the ODIN 3.09 and put tar file into AP section and uncheck "F.Reset Time" and , Click on the Start button.
** BLN liblights created by junkyde.
Pleasy post to i9190 your
Thank man!
مرسی داداش
THANKS
PLISE MAKE FOR i9190
thanks, what's insicure kernel for?
now i have root access and stock kernel
what init.d scripts are working?
Sent from my GT-I9192 using Tapatalk 4
ahmadblu said:
مرسی داداش
THANKS
PLISE MAKE FOR i9190
Click to expand...
Click to collapse
Trunghuy90 said:
Pleasy post to i9190 your
Thank man!
Click to expand...
Click to collapse
you're welcom, if you want this for your device, please send me original boot.img and recovery.img file from stock firmware that you downloaded.
i will make it as fast as i can.
fburgos said:
thanks, what's insicure kernel for?
now i have root access and stock kernel
what init.d scripts are working?
Sent from my GT-I9192 using Tapatalk 4
Click to expand...
Click to collapse
to access adb commands and also access to su.
yes, init.d is working.
http://db.tt/SHiYWMH4
My file
Thank man helped!
Trunghuy90 said:
http://db.tt/SHiYWMH4
My file
Thank man helped!
Click to expand...
Click to collapse
you send edited recovery and kernel to me..
i told you, just send me stock [unchanged ] version.
this boot.img is insecure.
M_J_Nazari said:
you send edited recovery and kernel to me..
i told you, just send me stock [unchanged ] version.
this boot.img is insecure.
Click to expand...
Click to collapse
I do not know where to get it at all , because I'm not root machine and I do not have personal computers . I just know it 's taken 2 files topic rooting guide .
Sorry my enlish!
Trunghuy90 said:
I do not know where to get it at all , because I'm not root machine and I do not have personal computers . I just know it 's taken 2 files topic rooting guide .
Sorry my enlish!
Click to expand...
Click to collapse
its rooted kernel. no need to change them.
BLN support.....???
M_J_Nazari said:
Hi,
Please don't use these kernels over other devices, absolutely it will brick your unsupported devices.
Its just only for GT-I9192 Galaxy S4 Mini Dual Sim Phone [DUOS]
use at your own risk. I'm not responsible for any damages or bricked phones.
I just edited stock boot.img file as insecure for running root device.
This package will install :
busybox 1.20.2
Super Su + Su binary
EFS backup to your sd card
Rooted Stock Kernel
Init.D Scripts Support
How to Install?
Ensure you have custom recovery mod , CWM 6.x
Download the zipped attached file
copy downloaded file into your Device Storage [Phone]
goto Recovery mod and install the zip file.
enjoy.
Credits:
dsixda for kitchen
Click to expand...
Click to collapse
Hi bro....
I just want to know whether this kernel has BLN support...??
If no, can you pls add it and post the modified kernel here...??
Awaiting your reply.....
Trunghuy90 said:
I do not know where to get it at all , because I'm not root machine and I do not have personal computers . I just know it 's taken 2 files topic rooting guide .
Sorry my enlish!
Click to expand...
Click to collapse
i think you can get the kernel from here:
http://forum.xda-developers.com/showthread.php?t=2375402
M_J_Nazari said:
its rooted kernel. no need to change them.
Click to expand...
Click to collapse
MY FILE KERNEL
http://hotfile.com/dl/236887509/04d283d/KERNEL-XXV-I9190DXUAMG1-1374235283.tar.html
vichunni said:
Hi bro....
I just want to know whether this kernel has BLN support...??
If no, can you pls add it and post the modified kernel here...??
Awaiting your reply.....
Click to expand...
Click to collapse
Hi
the samsung kernel source is published just for MF7 firmware, i trying to learn kernel customization already, but the source has a strange bugs, even when i add some io schedulers.
we have to wait for new kernel sources.
Trunghuy90 said:
MY FILE KERNEL
http://hotfile.com/dl/236887509/04d283d/KERNEL-XXV-I9190DXUAMG1-1374235283.tar.html
Click to expand...
Click to collapse
ok , i will take look at them when i get back to home.
M_J_Nazari said:
Hi
the samsung kernel source is published just for MF7 firmware, i trying to learn kernel customization already, but the source has a strange bugs, even when i add some io schedulers.
we have to wait for new kernel sources.
ok , i will take look at them when i get back to home.
Click to expand...
Click to collapse
Pleasy mod for i9190
Thank man more!
thanx bro I appreciate your hard work . thanks
do you have any plan to make a custom rom for this device with fewer bloatware and smoother . or maybe newer android version ?
Trunghuy90 said:
Pleasy mod for i9190
Thank man more!
Click to expand...
Click to collapse
ok, just be patient , im veru busy these days.
amirsardari said:
thanx bro I appreciate your hard work . thanks
do you have any plan to make a custom rom for this device with fewer bloatware and smoother . or maybe newer android version ?
Click to expand...
Click to collapse
Hi amir
im working on kernel compiling allready, yes i have a plan to make it. just gimme some time.
also you can find articles on persian languages here.
http://www.pda-planet.com/forum/
best reagrds
Thanx bro . now im a member at pda-planet with same user here . thank u
Think you could add oc?
Howdareme said:
Think you could add oc?
Click to expand...
Click to collapse
i will try to do that, allready i added io schedulers and also cpu governors profiles to the kernel, i will share it when i tested .
Welcome To Dash Mod
Dash mod?? My Frist script ,Its a lite script depends on tweeking build prop To Give U Smooth, Fast and Clean Rom u will feel The Diffrence Ur self Also Dash Mod Clears most of mods so u can use ur favourite mod after flashing dash mod without having any Conflict ,that is also a catalyst for legacy devices gives them more power
Change Log
Code:
[CENTER]v0.3[/CENTER]
-added ram cleaner
-corrected sd read ahead values
-new update script
-removed dalvik-cache cleaner on every boot
-dalvik cleqared by installation only
[CENTER]v0.2[/CENTER]
-Added Zipallign Darkyy
-add some files from fly on / slaidyboost
-add lag free scripts
-clears dalvik-cache every reboot
-Improve vedio quality
-increease Touch sensevty
[CENTER]V0.1[/CENTER]
-BackUP Orignal build.prop to SD/Dash-Mod/
-Boot Time Reduced Alot ( Will Reduce more by odexing ur rom (Give a try)
-Also Shutdown Time Reduce
-Faster 3G
-Faster 2G
-Faster Wifi
-Hides USB Debugging Notify(But adb works)[Exprmintal]
-Fixes blackscreen After Calls (CM ) Sensors related
-Improved scorl speed
-Improved Imgs Quality
-Preformance Tunning
-Vedio HW Accelration
-Fixes Some Bugs In Apps
-Reduces Lags In Games
That MOD Will/May
Remove Previus Mods To Give U The Cleanest MOD Ever
Installation :
-Go To Recovery
-Mount ur system/
Cache/
Data/
-flash the zip
DownloadS
V0.3
v0.3
V0.2
v0.2+odex
v0.2+non odex
V0.1
v0.1
XDA:DevDB Information
Dash-Mod A Mod To Speed Up All Devices
Contributors
myaservip
Credits;
Chainfire
slaid480
darkky
myaservip
v0.3 out
Res2
What about compatibility?
ast00 said:
What about compatibility?
Click to expand...
Click to collapse
Read OP carefully, compatible with all devices (i think most of them), it's also posted in Android Software and Hacking General [Developers Only] here
Don't forget to press thanks
Hey myaservip, i would be a little bit more careful which things i include in such a script.
Things like
busybox echo "ro.media.enc.jpeg.quality=100" >> /system/build.prop
busybox echo "video.accelerate.hw=1" >> /system/build.prop
...
Click to expand...
Click to collapse
does not do anything at all. Here is a interesting article.
Also be careful with things like
busybox echo "ro.ril.hsxpa=2" >> /system/build.prop
busybox echo "ro.ril.gprsclass=10" >> /system/build.prop
busybox echo "ro.ril.hsdpa.category=10" >> /system/build.prop
busybox echo "ro.ril.hsupa.category=5" >> /system/build.prop
busybox echo "ro.ril.enable.a53=1" >> /system/build.prop
etc...
Click to expand...
Click to collapse
as not everybody has the same network provider. Connection quality vary vastly.
Also
busybox echo "net.tcp.buffersize.wifi=4096,87380, 256960,4096,16384,256960" >> /system/build.prop
...
Click to expand...
Click to collapse
might not be a good idea, as a too high buffer can easily result in packet-loss, which decreases your connection speed. (Your value would be usefull if you sit right on your router / under your providers antenna )
busybox echo "ro.kernel.android.checkjni=0" >> /system/build.prop
Click to expand...
Click to collapse
Is usually set to 0 anway.
READ_AHEAD_KB="3072"
Click to expand...
Click to collapse
Do not set the read ahead value to such a high value. Your card will perform awesome in a benchmark, but way worse while actually using it. Read a little bit more over here...
Your 09sdcardspeedfix init.d script sets read ahead to 3072, while the S98system_tweak sets it back to 1024. Try not to have double entries.
No disrespect meant, but i would be very careful, with all these awesome tweaks you find here on xda.
Not all tweeks listed in topic u suggest
I explain
Vedio acceelration and jpeg tweeks are for legacy device trying To Give them more power
Corrected sd speed ok Thx For Suggestion
Adding new things to relase v0.3
►Tweaks Klean & Speed◄
2016, February 16th
Hi, after reading many forums and using the various resource I created a script to optimize all LG L Fino.
Before install check your phone is ROOT HERE.
How to .zip ? Flash banner into CWM HERE
- Activated init.d
Full cleaning at launch
Disabled kernel panic
Optimization
Tweaks VM
Configuring KSM
Activated Zram 256 mo
Best I/O scheduler line
Configuring lowmemorykiller
Remounted
Optimization application
Optimization database
Lag trim fix > need BusyBox tools
Secure and optimize
Idle wait
Kill all process
- Adaware
- Mod better screen (perf)
- Disable MPDecision and use full multicore
- DSP manager
- Tweaks to build.prop added
#
#fluencetype
ro.qc.sdk.audio.fluencetype=fluence
persist.audio.fluence.mode=endfire
persist.audio.handset.mic=digital
# Best Scrolling
persist.sys.scrollingcache=3
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
ro.min_pointer_dur=8
windowsmgr.max_events_per_sec=90
# Disable Checking Data
logcat.live=disable
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
ro.config.nocheckin=1
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
# Enable Surface Dithering
persist.sys.use_dithering=2
# Game Tweaks
persist.tegra.NV_FPSLIMIT=0
#
persist.sys.NV_FPSLIMIT=60
persist.sys.NV_POWERMODE=1
persist.sys.NV_PROFVER=15
persist.sys.NV_STEREOCTRL=0
persist.sys.NV_STEREOSEPCHG=0
persist.sys.NV_STEREOSEP=20
# LG flags
persist.service.pcsync.enable=0
persist.service.lgospd.enable=0
# Photo & Flashlight Quality
ro.media.capture.flash=led
ro.media.capture.flashMinV=3300000
ro.media.capture.flashIntensity=70
ro.media.capture.torchIntensity=65
# Quality Of Media Streaming
media.stagefright.enable-meta=true
media.stagefright.enable-rtsp=true
Click to expand...
Click to collapse
- Bootanimation GooGle : link here replace original file.
media / ..644
- Guide :
Delete manualy all Google files to app/* and to priv-app/*
- without : GoogleCalendarSyncAdapter.apk, GoogleContactSyncAdapter.apk, GmsCore.apk, GoogleBackupTransport.apk, GoogleLoginService.apk, GoogleServicesFramework.apk, Phonesky.apk
Disable all LG services to parameter/application : xx xx
Enjoy Your ROM is Kustom...
____________________________________
Apps for escort
Root Browser - Sd Maid - Link2Sd (for export 2go but don't extand)
Thank's many dev for the script.
Join the file .zip after eating.
Ok, enjoy...
Hi, No file shared ?
I'm looking for optimizing my LG L Fino. Could you please share it again ?
Thanks
Overclock?
Sent from my Moto E using XDA-Developers mobile app
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
foe.kernel
" i'm not a developers, i'm just a fisherman "
Code:
Your warranty is now void.
I am not responsible for bricked devices,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this kernel
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
☢ CPU ☢
msm_performance , cpu_boost , touch_boost
☢ GOV ☢
barry_allen , blu_active , lionheart, alucard , nightmare , darkness , darknessV5 ,
smartmax , lionfish , interactiveX , interactiv_pro , intelliactive dancedance , bioshock
☢ HOTPLUG ☢
intelliplug , msm_decision , alucard , lazyplug
☢ THERMAL ☢
intellithermal
☢ GPU ☢
msm_adreno_tz(adreno_boost) , adreno_idler
☢ SCREEN ☢
KCAL
☢ IO ☢
maple , noop , deadline , cfq
☢ LMK/VM ☢
aggresive lmk_fast_run , mimfree , zRam lz4
☢ MISC ☢
fingerprint_boost , fsync togle , arch_power
* Flash in recovery
Installation steps:
1)Download latest foe.kernel.vX.XX.zip
2)Reboot to recovery
4)Flash kernel zip
5)Wipe cache+dalvik-cache
6)Reboot
[KERNEL] foe.kernel [PIE], Kernel for the Xiaomi Mi Max [HELIUM]
Contributors : @dungphp
Source Code: https://github.com/evnit/kernel_xiaomi_msm8956
Status: Alpha
Created : 2019-06-29
Last Updated : 2019-07-10
Code:
foe.kernel.v0.03
------------------
- initial release (alpha)
- add adreno_idler
- tweak interactive governor
foe.kernel.v0.15
------------------
- add addrenoBoost
- add barry_allen gov
- add archpower
- add CPU_Touchboot eanble by default
- temp removing adreno_idler (ATM)
foe.kernel.v0.28
------------------
CPU
- update msm_performance touchboost
- Fix perf event initialization to avoid memory leaks
GPU
- revert back adreno_idler (enable by default)
- revamp msm_adreno.tz with addrenoBoost (enable by default)
- kgsl : increase memstore size , simple Algorithm & GPU state awareness
LMK/IO
- increase read-ahead parameters
foe.kernel.v0.37
------------------
CPU
- polishing interactive,performance,ondemand gov
- tweaked CPU_BOOST
- msm_performance: Make input boosting optional
HOTPLUG
- add msm_mpdecision (enable by default)
- add alucard
- remain lazyplug
Thermal
-revert intelithermal
GPU
- adreno_tz: Add GPU input-boost feature
LMK/IO
- fix memory leak
- readahead: bump up the default size
BOOT
- improving start-up device (bring all core online once boot)
- boost speed unlocking device after deep-sleep
foe.kernel.v0.42
------------------
Toolchain
- testing SaberMod Compiler
foe.kernel.v0.58-spectrum-UBER
------------------------------
Toolchain
- revert uberTC
CPU
- add blu_active gov
- fix cpu_freq initialize
ADD-ON
- add support spectrum
THERMAL
- revamp msm8952/56/76 qcom sequence
- fix invalid sensor data being accepted
- Add support for cpu temp limit
foe.kernel.v0.66-spectrum-XXXXXX-UBER-STABLE
--------------------------------------------------
CPU
- add lionheart, alucard , nightmare , darkness , darknessV5 gov
- improve msm_performance
- improve cpu_boost
- update barry_allen gov to version 1.1
- fix don't account cpu timer after stopped thread runtime
- improve bring all core after deep-sleep
- improve cpufreq track per-uid time in state
- fix cpu_timer_sample_group() double accounting
- fix dead stats clearing timing
- enable per uid cputime accounting
GPU
- revert adreno_idler & adrenoboost 2.2
- improve kgsl/msm_adreno_tz perfomance
- fix memory leak alocated sysfs
- scale piority set def 6
- improve display state awareness
LMK/VM
- zram: default compressor lz4
- fix memory leak
- add introduce a memory-latency governor
THERMAL
- fix core_ctrl don't get offline cpu0/4
- add support for cpu temp limit recommendation for SoC
- add a module param to change thermal throttle temp
- add Protect IOCTL from race condition
- improve invalid sensor data being accepted
KERNEL/POWER
- container freezer: make refrigerator always available
- fix process freezing
- fix endless reporting frozen PE (powerpc/powernv)
- fix perf event initialization to avoid memory leaks
- force arch_power true by default
FS
- fix race between freeze_super() and thaw_super()
ADD-ON
- new hydrogen build to test
foe.kernel.v0.74-spectrum-XXXXXX-UBER-STABLE
--------------------------------------------------
CPU
- add smartmax , lionfish , interactiveX , interactiv_pro , intelliactive dancedance , bioshock gov
- improve msm_perfomance
- enable cpu_boost by default 0 / 4
HOTPLUG
- add intelliplug & optimizations
- tweak alucard for more idle cpu sleep / improve abit perfomance
- improve msm_decision cause ramp cluster1
THERMAL
- revert intellithermal & some optimizations
- sequence max 43C for gaming to low cpu frequence
GPU
- fix some memory leak msm_adreno_tz(adreno_boost)
- enable adreno_true_idler by default workload 8
IO
- tweak io stat debug msg
- polishing some io scheduler
LMK/VM
- fix lowmemorykiller fast_run
- improved writeback_centisecs
foe.kernel.v0.88-XXXXXX
--------------------------------------------------
CPU
- revert barry_allen 0.9 gov (fix show_cpu_delay coz hang)
- revert intelliactive gov ||
- add cafactive gov
GPU
- disable UCHE global filter
- add 'strict memory' debug mode
- add unknown property type
- fix direct references to HZ
- improve adreno_boost perfomance
- do not wake up at turbo
- Add some more information to kgsl trace events
- remove old unused power init code
- notify the powerscale governor at state changes
HOTPLUG
- lazyplug:don't delay fingerprint boost
THERMAL
- update the hotplug initialization
- fix thermal sensor formula
- add package to send thermal messages dynamically
IPA
- prevent deletion of the default route rule
- fix dynamic memory leak
PERF
- fix corruption of sibling list with hotplug
- remove useless atomic_t
SELINUX
- remove unused permission definitions
- remove some more dmseg spam
foe.kernel.v0.95-XXXXXX
--------------------------------------------------
IO
- add fiops & sio scheduler
SPECTRUM
- update profile
GPU
- disable adrenoboost by default
HOTPLUG
- edit sampling
THERMAL
- add 'strict memory' debug mode
foe.kernel.v0.111
--------------------------------------------------
base on WEED.KERNEL-RC8 abig thanks @itsm03
SELINUX
- force premesive
DTD
- remove bcl
- msm: Add more overclock values
- bcl: queue work on spew
- cgroup: Kick CPU boost when an app becomes top-app
- mdss: fix race condition between rotator api's
- kernel: Restrict unbound kthreads to little CPU cluster
CPU
- OC big 2.0 lil 1.6
- UV support
- add impulse , caltivation
- rework freq table for max oc support
- add cpu voltage control
- revamp interactive gov
- cpufreq: improve cpu boost
- cpu-boost: Rework scheduling setup
- cpu-boost: add a function to boost the cpu to max freq
- msm: performance: prevent the driver from handling userspace min freq
- cputime: Fix invalid gtime in proc
- cputime: Remove extra cost in task_cputime
GPU
- improve kgsl_pwr_ctrl khtreads
- increase worker thread priority
- msm: kgsl: Remove event worker
- kthread_work: wake up worker only when the worker is idle
- devfreq_boost: Introduce devfreq boost driver
- boost devfreq device when userspace launches an app
IO
- improve maple threshold
HOTPLUG
- remove all hotplug
THERMAL
- revert intelithermal v3.1
LMK
- lmk: implement task's adj rbtree
- sched: Implement lockless wake
Z-RAM
- remove 11-day restart bug
NETWORK
- add wireguard support
SPECTRUM
- update balance profile
QC
- drivers: power: Add Qnovo Interface for QNS ·
MISC
- add toggle dynamic fsync
- add toggle powersuspend mode
- add toggle sCRC
- frandom support
just disable activity.manager, uxhengine & prefetch to run smoothly
---------------------------------------------------------------------
# QTI Performance
vendor.enable_prefetch=0
vendor.iop.enable_uxe=0
vendor.iop.enable_prefetch_ofr=0
vendor.perf.iop_v3.enable=0
some Usefull tweaking apps
---------------------------------------
LSPEED
Kernel Auditor
FDE.AI - Ultimate Android Optimizer
SPECTRUM
SPECTRUM foe.kernel DEFAULT PROFILE
Code:
# SPECTRUM KERNEL MANAGER
# Ramdisk file for profile based kernel management
# Initialization
on property:sys.boot_completed=1
# Set default profile on first boot
exec u:r:init:s0 root root -- /init.spectrum.sh
exec u:r:su:s0 root root -- /init.spectrum.sh
# Enable Spectrum support
setprop spectrum.support 1
# Add kernel name
setprop persist.spectrum.kernel FOE
# Balance (default profile)
on property:persist.spectrum.profile=0
chown system.system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chown system.system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chown system.system /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq
chmod 0664 /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq
chown system.system /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
chmod 0664 /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
chown system.system /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chown system.system /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
chmod 0664 /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
# Configure governor settings for little cluster
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "interactive"
# Configure governor settings for big cluster
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor "interactive"
# cpufreq
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 400000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1401600
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq 400000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq 1804800
#cpu
write /sys/kernel/cpu_input_boost/enabled 1
write /sys/module/cpu_boost/parameters/input_boost_freq "0:1017600 4:1056000"
write /sys/module/cpu_boost/parameters/input_boost_ms 35
#Enable CPU power saving
write /sys/module/workqueue/parameters/power_efficient Y
#Disable Fsync
write /sys/module/sync/parameters/fsync_enabled N
#Disable Gentle Fair Sleepers
write /sys/kernel/sched/gentle_fair_sleepers 0
#Enable Arch Power
write /sys/kernel/sched/arch_power 1
#Enable Fingerprint Boost
write /sys/kernel/fp_boost/enabled 1
#Disable TouchBoostMin
write /sys/module/msm_performance/parameters/touchboost 0
#Disable Core Control and Control VDD and MSM Thermal Throttling allowing for longer sustained performance
write /sys/module/msm_thermal/core_control/enabled 0
write /sys/module/msm_thermal/vdd_restriction/enabled 0
write /sys/module/msm_thermal/parameters/enabled N
#gpu
write /sys/module/adreno_idler/parameters/adreno_idler_active N
write /sys/class/kgsl/kgsl-3d0/max_gpuclk 600000000
write /sys/class/devfreq/soc:qcom,cpubw/governor "bw_hwmon"
write /sys/class/kgsl/kgsl-3d0/devfreq/governor "msm-adreno-tz"
# Set ice-COOL display
write /sys/devices/platform/kcal_ctrl.0/kcal_cont 256
write /sys/devices/platform/kcal_ctrl.0/kcal_val 256
write /sys/devices/platform/kcal_ctrl.0/kcal_sat 250
write /sys/devices/platform/kcal_ctrl.0/kcal_min 25
write /sys/devices/platform/kcal_ctrl.0/kcal 256 256 256
write /sys/devices/platform/kcal_ctrl.0/kcal_enable 1
# Virtual memory tweaks
write /proc/sys/vm/dirty_ratio 20
write /proc/sys/vm/dirty_background_ratio 5
write /proc/sys/vm/dirty_expire_centisecs 200
write /proc/sys/vm/dirty_writeback_centisecs 500
write /proc/sys/vm/min_free_kbytes 6541
write /proc/sys/vm/oom_kill_allocating_task 0
write /proc/sys/vm/overcommit_ratio 50
write /proc/sys/vm/swappiness 100
write /proc/sys/vm/vfs_cache_pressure 100
write /proc/sys/vm/laptop_mode 0
write /proc/sys/vm/extra_free_kbytes 24300
#Set block I/O scheduler
setprop sys.io.scheduler "fiops"
write /proc/sys/kernel/random/read_wakeup_threshold 128
write /proc/sys/kernel/random/write_wakeup_threshold 256
write /sys/block/mmcblk0/queue/read_ahead_kb 128
write /sys/block/mmcblk0/queue/iostats 0
write /sys/block/mmcblk0/queue/add_random 1
write /sys/module/lowmemorykiller/parameters/lmk_fast_run 1
write /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk 0
write /sys/module/lowmemorykiller/parameters/cost 32
write /sys/module/lowmemorykiller/parameters/adj_max_shift 353
write /sys/module/lowmemorykiller/parameters/adj 0 , 100 , 200 , 300 , 900 , 906
write /sys/module/lowmemorykiller/parameters/minfree "14746,18688,22118,25805,40000,55000"
# Enable msm_mpdecision & Disablealucard_hotplug
write /sys/kernel/msm_mpdecision/conf/enabled 1
write /sys/kernel/alucard_hotplug/hotplug_enable 0
write /sys/kernel/intelli_plug/intelli_plug_active 0
#Perfd
start perfd
# Performance
on property:persist.spectrum.profile=1
chown system.system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chown system.system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chown system.system /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq
chmod 0664 /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq
chown system.system /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
chmod 0664 /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
chown system.system /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chown system.system /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
chmod 0664 /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
# Configure governor settings for little cluster
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "interactive"
# Configure governor settings for big cluster
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor "interactive"
#cpu
write /sys/module/msm_performance/parameters/touchboost 1
write /sys/module/cpu_boost/parameters/input_boost_freq "0:1017600"
write /sys/module/cpu_boost/parameters/input_boost_ms 80
# cpufreq
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 400000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1401600
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq 400000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq 1804800
# Enable msm_mpdecision & Disablealucard_hotplug
write /sys/kernel/msm_mpdecision/conf/enabled 1
write /sys/kernel/alucard_hotplug/hotplug_enable 0
write /sys/kernel/intelli_plug/intelli_plug_active 0
#gpu
write /sys/module/adreno_idler/parameters/adreno_idler_active N
write /sys/class/kgsl/kgsl-3d0/max_gpuclk 600000000
write /sys/class/devfreq/soc:qcom,cpubw/governor "bw_hwmon"
write /sys/class/kgsl/kgsl-3d0/devfreq/governor "msm-adreno-tz"
#Perfd
start perfd
# Battery
on property:persist.spectrum.profile=2
chown system.system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chown system.system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chown system.system /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq
chmod 0664 /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq
chown system.system /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
chmod 0664 /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
chown system.system /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chown system.system /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
chmod 0664 /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
# Configure governor settings for little cluster
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "alucard"
# Configure governor settings for big cluster
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor "alucard"
# Enable msm_mpdecision & Disablealucard_hotplug
write /sys/kernel/msm_mpdecision/conf/enabled 0
write /sys/kernel/alucard_hotplug/hotplug_enable 1
write /sys/kernel/intelli_plug/intelli_plug_active 0
#cpu
write /sys/module/msm_performance/parameters/touchboost 0
write /sys/module/cpu_boost/parameters/input_boost_freq "0:1017600"
write /sys/module/cpu_boost/parameters/input_boost_ms 66
# cpufreq
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 400000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1017600
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq 400000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq 883200
#gpu
write /sys/module/adreno_idler/parameters/adreno_idler_active Y
write /sys/class/kgsl/kgsl-3d0/max_gpuclk 432000000
write /sys/class/devfreq/soc:qcom,cpubw/governor "bw_hwmon"
write /sys/class/kgsl/kgsl-3d0/devfreq/governor "msm-adreno-tz"
#Perfd
start perfd
# Gaming
on property:persist.spectrum.profile=3
chown system.system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chown system.system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chown system.system /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq
chmod 0664 /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq
chown system.system /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
chmod 0664 /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
chown system.system /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chown system.system /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
chmod 0664 /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
# Configure governor settings for little cluster
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "interactive_pro"
# Configure governor settings for big cluster
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor "interactive_pro"
#cpu
write /sys/module/msm_performance/parameters/touchboost 0
write /sys/module/cpu_boost/parameters/input_boost_freq "0:1017600"
write /sys/module/cpu_boost/parameters/input_boost_ms 35
# cpufreq
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 400000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1401600
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq 400000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq 1804800
# Enable msm_mpdecision & Disablealucard_hotplug
write /sys/kernel/msm_mpdecision/conf/enabled 0
write /sys/kernel/alucard_hotplug/hotplug_enable 0
write /sys/kernel/intelli_plug/intelli_plug_active 1
write /sys/kernel/intelli_plug/min_cpus_online 8
#gpu
write /sys/module/adreno_idler/parameters/adreno_idler_active N
write /sys/class/kgsl/kgsl-3d0/max_gpuclk 600000000
write /sys/class/devfreq/soc:qcom,cpubw/governor "bw_hwmon"
write /sys/class/kgsl/kgsl-3d0/devfreq/governor "msm-adreno-tz"
#Perfd
start perfd
only for Pie??
Hydrogen can get...?
raikko5 said:
only for Pie??
Click to expand...
Click to collapse
yes.
ZainBilq said:
Hydrogen can get...?
Click to expand...
Click to collapse
i've no hydrogen device to test
guffoe said:
yes.
i've no hydrogen device to test
Click to expand...
Click to collapse
I have, and I can test if you want.
I tested kernel on various pie roms.
Kernel 0.03 doesn't work - result - bootlop.
Kernel 0.15 is working, it is stable kernel.
Kernel 0.28 is working.
I have a question, is this kernel will be containing option of undervolting? I see added only one extra governor - barry_allen, more governors it will be a good direction.
Thank you for your effort.
ZainBilq said:
I have, and I can test if you want.
Click to expand...
Click to collapse
i'll try to compile on next build
irtrin said:
I tested kernel on various pie roms.
Kernel 0.03 doesn't work - result - bootlop.
Kernel 0.15 is working, it is stable kernel.
Kernel 0.28 is working.
I have a question, is this kernel will be containing option of undervolting? I see added only one extra governor - barry_allen, more governors it will be a good direction.
Thank you for your effort.
Click to expand...
Click to collapse
v0.xx still under testing build. more gov will coming. undervolting for what? did you got high temp?
Works fine!!! Not a very difference in day by day tasks but bechmarks improved
guffoe said:
i'll try to compile on next build
v0.xx still under testing build. more gov will coming. undervolting for what? did you got high temp?
Click to expand...
Click to collapse
alex_37_Spain said:
Works fine!!! Not a very difference in day by day tasks but bechmarks improved
Click to expand...
Click to collapse
I like undervolting. I know, it is hilarious, but in the past when I used other phones, these kernels have this option. It is a habit.
On the barry_allen phone can freezing when phone is using more than 3 minutes. On the intervative this problem doesn't exist .
waiting for hydrogen Sir...
Sent from my Xiaomi Mi Max using XDA Labs
irtrin said:
I like undervolting. I know, it is hilarious, but in the past when I used other phones, these kernels have this option. It is a habit.
On the barry_allen phone can freezing when phone is using more than 3 minutes. On the intervative this problem doesn't exist .
Click to expand...
Click to collapse
No freezing issue on barry_allen gov. Under testing intelliactive gov.
elzisaina said:
waiting for hydrogen Sir...
Sent from my Xiaomi Mi Max using XDA Labs
Click to expand...
Click to collapse
Try flashing latest build.
I confirm, at the last version of kernel doesnt exist problem of freezing on the barry_allen governor. Anyway, more governors I please for allucard.
When published i will use for all my build !
Great dev for P kernel now
sir
guffoe said:
Code:
just disable activity.manager, uxhengine & prefetch to run smoothly
Click to expand...
Click to collapse
Where can i find this option sir? Thanks
dungphp said:
When published i will use for all my build !
Great dev for P kernel now
Click to expand...
Click to collapse
Thanks for let me use your kernel source
you can try latest version V0.XX for testing.
right now trying compile other Toolchain
marxcs said:
Where can i find this option sir? Thanks
Click to expand...
Click to collapse
update!
just simply find & change it using root.explorer
guffoe said:
Code:
just disable activity.manager, uxhengine & prefetch to run smoothly
# QTI Performance
vendor.enable_prefetch=0
vendor.iop.enable_uxe=0
vendor.iop.enable_prefetch_ofr=0
vendor.perf.iop_v3.enable=0
Click to expand...
Click to collapse
Do i still need to change this after i flash v42 sir?
marxcs said:
Do i still need to change this after i flash v42 sir?
Click to expand...
Click to collapse
No need. Its just act.mngr detecting your app prefetch. We are not opt3.. So disable it. Until rom dev fix it.
The problem with freezing is still exist on the barry_allen. I precise it, this problem exist with Kernel Audiutur, when you browse this application, set up configuration by more than one minutes the problem show up.