Info:Hello, its my first ROM for LwW users..
ROM tested on stock kernel.
Works on locked and unlocked BL.
SS:
Code:
[IMG]http://imageshack.us/a/img594/9730/screenshot2012092915371.png[/IMG]
[IMG]http://imageshack.us/a/img21/5084/screenshot2012092915423.png[/IMG]
[IMG]http://imageshack.us/a/img213/5084/screenshot2012092915423.png[/IMG]
[IMG]http://imageshack.us/a/img204/4885/screenshot2012092915365.png[/IMG]
[IMG]http://imageshack.us/a/img834/8346/screenshot2012092915364.png[/IMG]
[IMG]http://imageshack.us/a/img402/7444/screenshot2012092915415.png[/IMG]
[IMG]http://imageshack.us/a/img248/4928/screenshot2012092915420.png[/IMG]
[IMG]http://imageshack.us/a/img259/6820/screenshot2012092915452.png[/IMG]
[IMG]http://imageshack.us/a/img844/4905/screenshot2012092915461.png[/IMG]
[IMG]http://imageshack.us/a/img248/3475/screenshot2012092915443.png[/IMG]
[IMG]http://imageshack.us/a/img42/6394/screenshot2012092915444.png[/IMG]
[IMG]http://imageshack.us/a/img253/6394/screenshot2012092915444.png[/IMG]
[IMG]http://imageshack.us/a/img211/6401/00026.png[/IMG]
Features:
-Based on Stock 4.1.B.0.587 (Generic)
-Root
-BusyBox
-CWM Recovery
-init.d support
-JIT
-Deodex
-Bravia Engine
-Black-green Walkman™ bootanimation
-Some tweaks in bulid.prop and init.d (RAM Script etc.)
-New Adreno libs
-Added MOD "Camera HDPI Extreme"
-Quick Panel
-"Restart" and "Reboot to CWM" on power menu
-Clear all notifications with one button "X"
-New call screen
-Black keyboard
-Blue-black Google Play
-Ultra brightness
-Cost Saving in messaging (for polish users )
-Working notification LED
-Clean (removed apk, some files etc.)
-Persistent battery on lockscreen
-Multitasking button on notification bar
What works:
-All, except bugs listed in "What doesn't works"
What doesn't works:
-Media transfer mode (MTP) when "USB Debugging" is off
If anyone see a bug/error write on this thread
What's added in build prop:
Code:
-dalvik.vm.execution-mode=int:jit
-ro.telephony.call_ring.delay=1000
-ro.media.enc.jpeg.quality=100
-debug.sf.hw=1
pm.sleep_mode=1
-ro.ril.disable.power.collapse=0
-persist.adb.notify=0
-ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
-ro.ril.hsxpa=2
ro.ril.gprsclass=10
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=10
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=5
-net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960
-ro.kernel.android.checkjni=0
-ro.HOME_APP_ADJ=1
What's added in init.d:
Code:
-RAM Script
-ShineTweaks
-and some tweaks from me:
echo "2048,3072,6144,15360,17920,20480" > /sys/module/lowmemorykiller/parameters/minfree
echo "0" > /proc/sys/net/ipv4/tcp_timestamps;
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse;
echo "1" > /proc/sys/net/ipv4/tcp_sack;
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle;
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling;
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes;
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl;
echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout;
echo "404480" > /proc/sys/net/core/wmem_max;
echo "404480" > /proc/sys/net/core/rmem_max;
echo "256960" > /proc/sys/net/core/rmem_default;
echo "256960" > /proc/sys/net/core/wmem_default;
echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem;
echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem;
echo "4096" > /proc/sys/vm/min_free_kbytes
echo "0" > /proc/sys/vm/oom_kill_allocating_task;
echo "0" > /proc/sys/vm/panic_on_oom;
echo "0" > /proc/sys/vm/laptop_mode;
echo "0" > /proc/sys/vm/swappiness
echo "50" > /proc/sys/vm/vfs_cache_pressure
echo "90" > /proc/sys/vm/dirty_ratio
echo "70" > /proc/sys/vm/dirty_background_ratio
echo "8" > /proc/sys/vm/page-cluster;
echo "64000" > /proc/sys/kernel/msgmni;
echo "64000" > /proc/sys/kernel/msgmax;
echo "10" > /proc/sys/fs/lease-break-time;
echo "500,512000,64,2048" > /proc/sys/kernel/sem;
echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs
LOOP=`ls -d /sys/block/loop*`;
RAM=`ls -d /sys/block/ram*`;
MMC=`ls -d /sys/block/mmc*`;
for j in $LOOP $RAM
do
echo "0" > $j/queue/rotational;
echo "2048" > $j/queue/read_ahead_kb;
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb;
SAMPLING_RATE=$(busybox expr `cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency` \* 750 / 1000)
echo 95 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo $SAMPLING_RATE > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
CACHESIZE=$(df -k /cache | tail -n1 | tr -s ' ' | cut -d ' ' -f2)
if [ $CACHESIZE -gt 80000 ]
then
echo "Large cache detected, moving dalvik-cache to /cache"
if [ ! -d /cache/dalvik-cache ]
then
busybox rm -rf /cache/dalvik-cache /data/dalvik-cache
mkdir /cache/dalvik-cache /data/dalvik-cache
fi
busybox chown 1000:1000 /cache/dalvik-cache
busybox chmod 0771 /cache/dalvik-cache
# bind mount dalvik-cache so we can still boot without the sdcard
busybox mount -o bind /cache/dalvik-cache /data/dalvik-cache
busybox chown 1000:1000 /data/dalvik-cache
busybox chmod 0771 /data/dalvik-cache
else
echo "Small cache detected, dalvik-cache will remain on /data"
fi
mount -t debugfs none /sys/kernel/debug
echo NO_NORMALIZED_SLEEPER > /sys/kernel/debug/sched_features
LOOP=`ls -d /sys/block/loop*`;
RAM=`ls -d /sys/block/ram*`;
MMC=`ls -d /sys/block/mmc*`;
for j in $LOOP $RAM
do
echo "0" > $j/queue/rotational;
echo "2048" > $j/queue/read_ahead_kb;
done
for i in \
`find /data -iname "*.db"`
do \
sqlite3 $i 'VACUUM;';
done
SAMPLING_RATE=$(busybox expr `cat
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency` \* 750 / 1000)
echo 95 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo $SAMPLING_RATE >
/sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
What applications were removed and added:
1) Added (all - 5):
Code:
-Apex Launcher
-Chrome
-Torch
-FileManager
-FlashPlayer (in the latest version)
2) Removed (can't remember the name so I'll be writing apk file names) (all - 84):
Code:
-com.apkinstall
-com.whatsapp
-com.qoowaa.act
-mcafreesuite
-uefalauncher2
-uefalauncher
-wisepilot
-adobereader
-antradioservice
-appenabler
-Browser (zastąpiony Chromem)
-chinesetextinput
-datatrafficswitch
-DigitalClockWidget
-EventStream
-EventStreamPluginCallLog
-EventStreamPluginFacebook
-EventStreamPluginTelephony
-EventStreamPluginTwitter
-Exchange
-facebook
-FBCalendarSync
-FBIAppShare
-FBMediaDiscovery
-FBMusicLike
-FBSetupwizard
-Galaxy4
-GenieWidget
-GMS_Maps
-GoogleLyricsPlugin
-HoloSpiralWallpaper
-Home (zastąpiony Apex Launcherem)
-JapaneseIME
-livewaremanager
-magicbox
-MediaWidget
-MusicWidgetWalkman
-neoreader
-NoiseField
-OemCryptoReceiver
-officesuite
-OMAClientProvisioning
-OmaDatasyncService
-OmaDownload
-OmaV1AgentDownloadServices
-PhaseBeam
-PhotoWidget
-PicoTts
-playnowclientarvato
-POBoxSknPink
-POBoxSknWood
-PostViewer
-Protips
-retaildemo
-SemcCamera3D
-SemcDlna
-SemcEmail
-SEMCFacebookProxy
-SemcGallery3D
-SEMCSetupWizard
-StatusSwitch
-Stk
-storefront
-Street
-Sync
-t2a-widget
-Talk
-talkback
-TimescapeSpline
-TimescapeWidget
-trackid
-UpdateCenter
-usersupport
-VoiceDialer
-WeatherWidget
-widgetanalogclock
-widgetdigitalclock
-widgetonoff
-widgettimer
-widgetworldclock
-wikipediaPlugin
-YouTube
-YouTubeKaraokePlugin
-YouTubePlugin
Download:
Click!
Instalation:
1. Download and put ROM on sdcard
2. Go to CWM
3. Do:
-full wipe
-wipe cache partition
-wipe system
-wipe dalvik-cache
4. Install ROM
Changelog:29.09.2012
-first release
Reserved
Hello Nice to see new developers here!
This rom is nice and has a good UI,
I would install it if I had an LWW
Great job!!
Keep it up mate!!
Sent from my WT19i using xda premium
How about battery life?
i'M go to install your ROM now..... FEW hours i'm talk about.... Thank You Very Much.... Great Job
Great. this rom is fast. can i request to add screenshot on power menu and long press back kill apps? maybe you can make an addon for this.
can i use Rage kernel for this?
le grande magnetto said:
can i use Rage kernel for this?
Click to expand...
Click to collapse
Yes use rage kernel ics
Sent from my SK17i using xda app-developers app
what about back button to kill app? is this option in this rom? or maybe i could do it somehow ?
Could you please add Xperia Home? Because I think it's better than Apex. You could add both of them and leave us the choice
kubekpop said:
Could you please add Xperia Home? Because I think it's better than Apex. You could add both of them and leave us the choice
Click to expand...
Click to collapse
I minus one since xperia Home would be a bit slower and I think the Apex launcher implementation gives this ROM its uniqueness in a sense but maybe the developer should do a poll
Hello, sorry, a noob question.
If it had been tested on stock kernel, does this mean that I can use this on locked bootloader?
Sent from my WT19i using xda app-developers app
@UP
Yes you can
Wysyłane z mojego WT19i (Live with Walkman) za pomocą Tapatalk 2
[W]ar[H]ead said:
@UP
Yes you can
Click to expand...
Click to collapse
Thanks, downloading it right now
My wt19i stuck at sony ericsson logo after flash this rom, first boot stuck at sony logo, then full wipe and the screen just black, can't go to recovery too. Must flash using flashtool again. Wt19i stock kernel locked bootloader fw58 ..anyone can help?
Sent from my WT19i using xda app-developers app
Flash ICS and then flash this rom. Because you need ics kernel.
Report
After 3 Days of using this ROM i can now say that this maybe THE Fastest And Stable ICS ROM i've used so far, there is a right amount of build.prop tweaks, very very nice init.d tweaks are MINIMAL ( Favorite Part ) Bloatware. All possible while maintaining .587 Sony Stock ROM with a smart inclusion of Apex Launcher, which is pivotal to this ROM's Uniqueness.I also noticed that scrolling speed is bleeding fast it truly is project butter standards BY FAR. I Hope that the developer of this ROM doesn't succumb to peer pressure and add any bloatware :fingers-crossed:
Pros: Very Stable, Well Put, FAST, Relatively nice for games, APEX LAUNCHER INSTEAD OF SONY HOME IN STOCK ROM FTW
Cons: May Not have all the shiny bells and wistles that came with Stock ( ftf.) Sony ROM, May be too fast for your eyes :good:
Note: ROM used with Kernel Panic By Slade87
Which is the recommended kernel to use with this rom? I'm tempted to try this rom
Related
Intro
Tweaks for All ROM To make your phone faster and more features
Installation For init.d and build.prop @ post Here
ChangeLog @ post Here
Build.prop Tweaks
Some ROM have 2 build.prop you have to change both @ /System and /System/bin
Code:
# Raise JPG quality to 100%
ro.media.enc.jpeg.quality=100
# VM Heapsize; 178MB RAM = 32 is better
dalvik.vm.heapsize=32m
# Render UI with GPU
debug.sf.hw=1
# Decrease dialing out delay
ro.telephony.call_ring.delay=0
# Helps scrolling responsiveness
windowsmgr.max_events_per_sec=150
# Save battery
wifi.supplicant_scan_interval=180
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
# Disable debugging notify icon on statusbar
persist.adb.notify=0
# Increase overall touch responsiveness
debug.performance.tuning=1
video.accelerate.hw=1
# Photo and video recording quality tweak (2.3 Rom only)
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=800000
# Photo and video recording quality tweak (2.2 Rom only)
ro.media.dec.jpeg.memcap=10000000
ro.media.enc.hprof.vid.bps=1000000
# Photo and video recording quality tweak (Official ROM only)
ro.media.dec.jpeg.memcap=10000000
ro.media.enc.hprof.vid.bps=1600000
# Internet tweaks
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.hep=1
ro.ril.hsdpa.category=10
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=6
ro.ril.def.agps.mode=2
ro.ril.def.agps.feature=1
ro.ril.enable.sdr=1
ro.ril.enable.gea3=1
ro.ril.enable.fd.plmn.prefix=23402,23410,23411
ro.ril.enable.a52=1
ro.ril.enable.a53=1
ro.ril.enable.dtm=1
# NetSpeed tweaks
net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960
# Disable blackscreen issue after a call
ro.lge.proximity.delay=25
mot.proximity.delay=25
# Fix some application issues
ro.kernel.android.checkjni=0
# Phone will not wake up from hitting the volume rocker
ro.config.hwfeature_wakeupkey=0
# Force button lights on when screen is on
ro.mot.buttonlight.timeout=0
# Disable boot animation for faster boot
debug.sf.nobootanimation=1
# Enable Stagefright helps stream Video and Music Faster
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
# Enable display Dithering
persist.sys.use_dithering=1
# Enable purgeable assets
persist.sys.purgeable_assets=1
# For SD storage insert notification sound
persist.service.mount.playsnd=0
init.d tweaks
Download Init.dtweaksV3.rar and choose 99Tweaks for balance option and 99XTweaks for aggressive tweaks copy it to /system/etc/Init.D
Note:Choose 99TweaksLow/99XTweaksLow for sdcard class3 and lower
Init.d tweaks contain
IPv4 tweaks
Code:
echo "0" > /proc/sys/net/ipv4/tcp_timestamps;
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse;
echo "1" > /proc/sys/net/ipv4/tcp_sack;
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle;
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling;
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes;
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl;
echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout;
echo "404480" > /proc/sys/net/core/wmem_max;
echo "404480" > /proc/sys/net/core/rmem_max;
echo "256960" > /proc/sys/net/core/rmem_default;
echo "256960" > /proc/sys/net/core/wmem_default;
echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem;
echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem;
Dalvik VM tweaks
Code:
echo "4096" > /proc/sys/vm/min_free_kbytes
echo "0" > /proc/sys/vm/oom_kill_allocating_task;
echo "0" > /proc/sys/vm/panic_on_oom;
echo "0" > /proc/sys/vm/laptop_mode;
echo "0" > /proc/sys/vm/swappiness
echo "50" > /proc/sys/vm/vfs_cache_pressure
echo "90" > /proc/sys/vm/dirty_ratio
echo "70" > /proc/sys/vm/dirty_background_ratio
Battery Tweaks
Code:
echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs
SDCard speed tweaks
Code:
# Sdcard Speed tweaks
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb(Class 4 and above)
echo "512" > /sys/devices/virtual/bdi/179:0/read_ahead_kb (Class 3 and lower)
Note:If you have init.d problem or if not have init.d folder try add this line at hw_config.sh
Balance Tweaks
Code:
# IPV4 tweaks
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_sack
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl
echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "404480" > /proc/sys/net/core/wmem_max
echo "404480" > /proc/sys/net/core/rmem_max
echo "256960" > /proc/sys/net/core/rmem_default
echo "256960" > /proc/sys/net/core/wmem_default
echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem
echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem
# Dalvik VM tweaks
echo "4096" > /proc/sys/vm/min_free_kbytes
echo "0" > /proc/sys/vm/oom_kill_allocating_task
echo "0" > /proc/sys/vm/panic_on_oom
echo "0" > /proc/sys/vm/laptop_mode
echo "0" > /proc/sys/vm/swappiness
echo "50" > /proc/sys/vm/vfs_cache_pressure
echo "90" > /proc/sys/vm/dirty_ratio
echo "70" > /proc/sys/vm/dirty_background_ratio
# Battery tweaks
echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs
# Sdcard Speed tweaks
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb(Class 4 and above)
echo "512" > /sys/devices/virtual/bdi/179:0/read_ahead_kb (Class 3 and lower)
Aggressive Tweaks
Code:
# IPV4 tweaks
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_sack
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl
echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "404480" > /proc/sys/net/core/wmem_max
echo "404480" > /proc/sys/net/core/rmem_max
echo "256960" > /proc/sys/net/core/rmem_default
echo "256960" > /proc/sys/net/core/wmem_default
echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem
echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem
# Dalvik VM tweaks
echo "4096" > /proc/sys/vm/min_free_kbytes
echo "0" > /proc/sys/vm/oom_kill_allocating_task
echo "0" > /proc/sys/vm/panic_on_oom
echo "0" > /proc/sys/vm/laptop_mode
echo "0" > /proc/sys/vm/swappiness
echo "20" > /proc/sys/vm/vfs_cache_pressure
echo "95" > /proc/sys/vm/dirty_ratio
echo "60" > /proc/sys/vm/dirty_background_ratio
# Battery tweaks
echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs
# Sdcard Speed tweaks
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb(Class 4 and above)
echo "512" > /sys/devices/virtual/bdi/179:0/read_ahead_kb (Class 3 and lower)
SuperCharger
Supercharger is minfrees,OOM groping fixes for our X8
Credits Goes To zeppelinrox
Download And Tutorial Here
And tutorial for stick minfrees Credits goes to SpyderX
1.In /etc/hw_config.sh write this line at the top
Code:
sh /etc/minfreeadjstick.sh
2.then, create a file (not folder) called minfreeadjstick.sh in /etc
3.open it and write this lines inside
4.
Code:
# Script to make minfrees and adj stick (Credits to Zeppelinrox)
sleep 40
echo "0,3,5,7,14,15" > /sys/module/lowmemorykiller/parameters/adj
echo "1536,2048,6656,7168,7680,8192" > /sys/module/lowmemorykiller/parameters/minfree
echo "0" > /proc/sys/kernel/panic
echo "0" > /proc/sys/vm/oom_kill_allocating_task
echo "0" > /proc/sys/vm/panic_on_oom
echo "1" > /proc/sys/kernel/panic_on_oops
echo "0" > /proc/sys/kernel/panic
# end of script
Wifi tweaks
This wifi tweaks is enabling N standard and 5ghz band
Credits Goes to Graveir 1. go to /system/etc/firmware
2. find this file name
Code:
fm_rx_init_1273.2.bts
fm_tx_init_1273.2.bts
fmc_init_1273.2.bts
3.Are they there? good you will have 5ghz band. Are they not there? you wont get 5ghz band
4.Go to /system/etc/ and find tiwlan.ini Note: In CM7 based ROMs the path may be /system/etc/wifi
5.Look for the following lines:
Code:
HT_Enable=0 #0=disable 802.11n support / 1=Enable
BurstModeEnable = 0 # 0 - Disabled 1 - Enabled
WiFiAdhoc = 0
and change them into:
Code:
HT_Enable=1 #0=disable 802.11n support / 1=Enable
BurstModeEnable = 1 # 0 - Disabled 1 - Enabled
WiFiAdhoc = 1
6. This stage is for people who have file from step 2
Look for the line
Code:
Single_Dual_Band_Solution = 0
And change them into
Code:
Single_Dual_Band_Solution = 1
7. Save, reboot
Xloud Engine
2.3 ROM Only
Xloud is making Sound enhancement,Volume enhancement,Equalizer enhancement credits goes to su.angga1.Download Here
2 Add this line at bottom of your build.prop
Code:
# Xloud Engine
ro.semc.xloud.supported=true
persist.service.xloud.enable=1
3.Set all permission to rw-r-r
[V][V][0]
[V][0][0]
[V][0][0]
4.Reboot,Enjoy
Note:X-Loud is making DSPManager work incorrectly
Bravia Engine
2.3 and 2.2 ROM
What is Bravia Engine? Learn Here
Credits goes to GreatApo
1.Download Here
2.Add this line at bottom of your build.prop
Code:
# BRAVIA HACK
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1
3.Copy be_photo and be_movie to system/etc
4.Set all permission
[V][V][0]
[V][0][0]
[V][0][0]
5.Reboot,Enjoy
A-Gps Patch
A-Gps patch is make GPS more accurate and lock on more Sat
Credits goes to crypted
1.Download Generic build Here
2.Copy to your SDCard
3.Boot to CWM recovery
4.select the "Mounts and storage" option, then "mount /system"
5.Install custom zip
6.choose the zip
7.Reboot,Enjoy
Video Recording A/V Sync for CM6Credits goes to jkrauser
This Audio and video sync for CM6/2.2.X
1.Download Here
2.Copy to your SDCard
3.Boot to Xrecovery
4.Install zip
5.Reboot,Enjoy
Modules For Stock KernelsModules is Add-on for our X8/E15
X8Gesture Pinch zoom/Fake DT Doixanh Sypanitcs Fake DT
Instruction & Download Here
andrej456 Pinch zoom/Fake DT Good for zooming Sypanitcs Fake DT
this is andrej456 X8Gesture good for zooming
Download Here
Instruction Here
AX8MT Cypress Real DT by AnDyX
Instruction & Download Here
X8UnderVolt UnderVolt CPU voltage
Instruction & Download Here
X8Overclock Overclock X8 CPU
Instruction & Download Here
Additional Modules:Tun.ko,Vpnc,NTFS,Utf8,Ext3,Ext4
You can find Here Here
Instalation for Init.d
1.Download
2.Extract
3.Choose 99Tweaks/99Xtweaks
4.copy to init.d
5.set perm to
[V][V][0]
[V][0][0]
[v][0][0]
6.reboot
7.Enjoy
instalation build.prop
1.look at build.prop tweaks
2.copy or edit (if exist) to your build.prop
3.set perm to
[V][V][0]
[V][0][0]
[v][0][0]
4.reboot
5.Enjoy
ChangeLog:
Post Update: Update
three build.prop update
Code:
# Enable display Dithering
persist.sys.use_dithering=1
# Enable purgeable assets
persist.sys.purgeable_assets=1
# For SD storage insert notification sound
persist.service.mount.playsnd=0
Init.D tweaks Update: Remove
Remove Minfrees Tweaks
Add SuperCharger
Post Update: More Detail
More Detail Instructions
Add credits thanks SpyderX
Add Sleep Mode build.prop
All Tweaks v3: added tweaks
Added wifi N standard
Added X-Loud engine
Added Bravia engine
Update init.d v3 for lower class Sdcard
and read ahead cache is 512kb
init.d tweaks v2: init.d update
MicroSD tweaks Thanks SpyderX
Some changes on Aggressive tweaks And again thanks SpyderX
Code:
echo "20" > /proc/sys/vm/vfs_cache_pressure
echo "95" > /proc/sys/vm/dirty_ratio
echo "60" > /proc/sys/vm/dirty_background_ratio
added experimental tweaks, contain
Code:
echo "0,3,5,7,14,15" > /sys/module/lowmemorykiller/parameters/adj
echo "2560,4096,6144,15360,17920,20480" > /sys/module/lowmemorykiller/parameters/minfree
echo "0" > /proc/sys/kernel/panic
echo "0" > /proc/sys/vm/oom_kill_allocating_task
echo "0" > /proc/sys/vm/panic_on_oom
echo "1" > /proc/sys/kernel/panic_on_oops
echo "0" > /proc/sys/kernel/panic
echo "0" > /proc/sys/net/ipv4/tcp_timestamps;
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse;
echo "1" > /proc/sys/net/ipv4/tcp_sack;
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle;
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling;
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes;
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl;
echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout;
echo "404480" > /proc/sys/net/core/wmem_max;
echo "404480" > /proc/sys/net/core/rmem_max;
echo "256960" > /proc/sys/net/core/rmem_default;
echo "256960" > /proc/sys/net/core/wmem_default;
echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem;
echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem;
echo "4096" > /proc/sys/vm/min_free_kbytes
echo "0" > /proc/sys/vm/oom_kill_allocating_task;
echo "0" > /proc/sys/vm/panic_on_oom;
echo "0" > /proc/sys/vm/laptop_mode;
echo "0" > /proc/sys/vm/swappiness
echo "20" > /proc/sys/vm/vfs_cache_pressure
echo "95" > /proc/sys/vm/dirty_ratio
echo "60" > /proc/sys/vm/dirty_background_ratio
echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb;
echo "8" > /proc/sys/vm/page-cluster;
echo "64000" > /proc/sys/kernel/msgmni;
echo "64000" > /proc/sys/kernel/msgmax;
echo "10" > /proc/sys/fs/lease-break-time;
echo "500,512000,64,2048" > /proc/sys/kernel/sem;
All v1:
initial release for public
nice. ..
XtremePeople said:
LowmemoryKiller Tweaks Balance
Click to expand...
Click to collapse
i think better is avoid this section and use Supercharger
.And thanks for other. will try this evening
Thanks. I'm gonna try some tweaks..
Sent from my X8 using XDA Premium App
Sorry for a noon question but can u explain the installation process a little bit more detailed...?
Sent from my X8 using XDA App
working in Gingerdx v17+LinuxDx v004.. thanks buudy!
u have to copy the file to the init.d folder, then set peimissions of it with root explorer
Erm... i think 40MB for dalvik vm heap is better. And SD Card read ahead cache BEST size is 2048 KB. Tried for about a 100 times, 2048 KB is BEST .
/sys/devices/virtual/bdi/179:0/read_ahead_kb is the file
Oh and my /etc folder is attached, take all the files you want from it.
By the way don't take the wifi files . They don't work I think...
Don't replace your entire folder with my folder, just take the stuff you need .
Of course, mine is not perfect .
And settings should be:
Code:
echo "20" > /proc/sys/vm/vfs_cache_pressure
echo "95" > /proc/sys/vm/dirty_ratio
echo "60" > /proc/sys/vm/dirty_background_ratio
Please make a version with tweaks to 2.1
is the bravia engine working on froyobread?
---------- Post added at 07:22 PM ---------- Previous post was at 06:56 PM ----------
you forgot to add this line
3. Go back to /system/etc and find a file named tiwlan.ini
NOTE: In CM7 based ROMs the path may be /system/etc/wifi
Click to expand...
Click to collapse
Thats why i dont find it! lol
SpyderX said:
Erm... i think 40MB for dalvik vm heap is better. And SD Card read ahead cache BEST size is 2048 KB. Tried for about a 100 times, 2048 KB is BEST .
(...)
[/code]
Click to expand...
Click to collapse
NOOOOOOO xD
With that Cache size the music has hiccups.
Probably if you have an higher class sdcard, that cache size will be good, but with Class2 and Class4 there is hiccups when you're listening to music
128KB for Slow MemoryCards
Any of this tweaks allow us to connect to eduroam networks?
XtremePeople, u should warn people, because enabling WiFi .n makes wifi work very unstable -___-
WARR10r said:
XtremePeople, u should warn people, because enabling WiFi .n makes wifi work very unstable -___-
Click to expand...
Click to collapse
No,Wifi N just stable for B/G but it will unstable to connect N standard
RockitOut11 said:
NOOOOOOO xD
With that Cache size the music has hiccups.
Probably if you have an higher class sdcard, that cache size will be good, but with Class2 and Class4 there is hiccups when you're listening to music
128KB for Slow MemoryCards
Click to expand...
Click to collapse
I think 512kb for class 3 and lower
ilarisk said:
is the bravia engine working on froyobread?
Click to expand...
Click to collapse
It's work on 2.2 and 2.3
SpyderX said:
Erm... i think 40MB for dalvik vm heap is better. And SD Card read ahead cache BEST size is 2048 KB. Tried for about a 100 times, 2048 KB is BEST .
/sys/devices/virtual/bdi/179:0/read_ahead_kb is the file
Oh and my /etc folder is attached, take all the files you want from it.
By the way don't take the wifi files . They don't work I think...
Don't replace your entire folder with my folder, just take the stuff you need .
Of course, mine is not perfect .
And settings should be:
Code:
echo "20" > /proc/sys/vm/vfs_cache_pressure
echo "95" > /proc/sys/vm/dirty_ratio
echo "60" > /proc/sys/vm/dirty_background_ratio
Click to expand...
Click to collapse
yes is best is 2048 for class 4 above but dalvik vm is best is 32 for me
szaberto said:
u have to copy the file to the init.d folder, then set peimissions of it with root explorer
Click to expand...
Click to collapse
where is this init.d folder ? can u please teach me step by step? thanks..
maliceomalice said:
where is this init.d folder ? can u please teach me step by step? thanks..
Click to expand...
Click to collapse
system/etc/init.d
etc/init.d
I copy on the both
hunff said:
system/etc/init.d
etc/init.d
I copy on the both
Click to expand...
Click to collapse
i download the v3 tweak. after i extract,wat should i do? copy all files in the folder to init.d folder?
Okay guys, I made some kernel tweaks that work on any ROM, and on the ROMs I have tried, improve battery life/performance.
THE BATTERY SAVER SCRIPT WILL NOT IMPROVE QUADRANT SCORES!
THIS SCRIPT WILL BE UPDATED FREQUENTLY!
Last update 7/11
Latest update notes: Focused more on battery life.
Battery stats on Liquid Smooth 1.5 with script:
{
"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"
}
Prerequisites:
Have root access
An app that can run scripts on boot, like Script Manger, located here:
https://play.google....ptmanager&hl=en
INSTRUCTIONS:
If using Script Manager:
1. Navigate to file.
2.Open as Script/Executable.
3.Set it to run at boot and as SU.
4.Save
5. Reboot.
If using ROM Toolbox:
1. Select "Scripter"
2.Select new script
3. Copy and paste script into Scripter
4. Select "At Boot"
5. Reboot
Make it Last script:
Code:
#!/system/bin/sh
echo "500,512000,64,2048" > /proc/sys/kernel/sem
echo "3072" > /proc/sys/kernel/msgmni
echo "74000" > /proc/sys/kernel/msgmax
echo "3072" > /proc/sys/kernel/shmmni
echo "2268435456" > /proc/sys/kernel/shmmax
echo "16777216" > /proc/sys/kernel/shmall
echo "400000" > /proc/sys/kernel/sched_min_granularity_ns
echo "256" > /proc/sys/kernel/random/write_wakeup_threshold
echo "256" > /proc/sys/kernel/random/read_wakeup_threshold
echo "5" > /proc/sys/kernel/panic
echo "575810" > /proc/sys/kernel/threads-max
echo "1" > /proc/sys/kernel/panic_on_oops
echo "25" > /proc/sys/kernel/hung_task_timeout_secs
echo "600000" > /proc/sys/kernel/sched_latency_ns
echo "2000000" > /proc/sys/kernel/sched_wakeup_granularity_ns
echo "1" > /proc/sys/kernel/sched_compat_yield
echo "0" > /proc/sys/kernel/sched_child_runs_first
echo "0" > /proc/sys/kernel/hung_task_timeout_secs
echo "0" > /proc/sys/vm/oom_kill_allocating_task
#end of /kernel , start of /fs
echo "10240" > /proc/sys/fs/inotify/max_user_watches
echo "256" > /proc/sys/fs/inotify/max_user_instances
echo "32000" > /proc/sys/fs/inotify/max_queued_events
echo "15" > /proc/sys/fs/lease-break-time
echo "165164" > /proc/sys/fs/file-max
echo "1053696" > /proc/sys/fs/nr_open
#end of /fs, start of /vm
echo "0" > /proc/sys/vm/oom_kill_allocating_task
echo "4" > /proc/sys/vm/min_free_order_shift
echo "1" > /proc/sys/vm/overcommit_memory
echo "2" > /proc/sys/vm/panic_on_oom
echo "8" > /proc/sys/vm/page-cluster
echo "3" > /proc/sys/vm/drop_caches
echo "0" > /proc/sys/vm/oom_kill_allocating_task
echo "2048" > /proc/sys/vm/min_free_kbytes
echo "20" > /proc/sys/vm/vfs_cache_pressure
echo "80" > /proc/sys/vm/dirty_background_ratio
echo "90" > /proc/sys/vm/dirty_ratio
echo "3700" > /proc/sys/vm/dirty_writeback_centisecs
echo "2100" > /proc/sys/vm/dirty_expire_centisecs
echo "0" > /proc/sys/vm/laptop_mode
echo "0" > /proc/sys/vm/block_dump
echo "0" > /proc/sys/vm/swappiness
IF THESE SCRIPTS DON'T WORK, USE THIS ONE.
Find them HERE
STEP 1. Under File, select DOWNLOAD.
STEP 2. Find a way to get it to your phone,make sure it's not opened in any text editors, until it's on your phone.
STEP 3. Follow other instructions
All credit ofr the above script goes to housas08
Latest update notes: enabled ZRAM(compressed RAM), loads SIO I/O if available, also loads the hotplugx governor and SIO on boot. Ups read and write speeds all around, file system speedups, enables multi threading, tweaks to the hotplug and hotplugx governor, and more. You might get random reboots using this script, you might only get a coupke and then they will stop or they'll never stop. Inform me if you consistent random reboots.
Credit to zepelinrox for minfreee and adj valueshttp://forum.xda-developers.com/showthread.php?t=991276
Credit to whirleyes for theKernel Modules.
GET THE SIO I/O SCHEDULER AND THE HOTPLUGX GOVERNOR HERE!
I HIGHLY RECOMMEND THEM FOR PERFORMANCE!
Speed it UP! script:
Code:
#!/system/bin/sh
# Load SIO I/O and hotplugx governor
insmod /system/lib/modules/cpufreq_hotplugX.ko
insmod /system/lib/modules/sio-iosched.ko
echo "700000" > /proc/sys/kernel/sched_latency_ns
echo "300000" > /proc/sys/kernel/sched_min_granularity_ns
echo "26188" > /proc/sys/kernel/sched_features
#writes more pages to disc, when given oppurtunity
echo "8" > /proc/sys/vm/page-cluster
#drop all cahces when given oppurtunity
echo "3" > /proc/sys/vm/drop_caches
#Keep 4MB in memory
echo "4096" > /proc/sys/vm/min_free_kbytes
#Dump Vfs cache less
echo "20" > /proc/sys/vm/vfs_cache_pressure
echo "80" > /proc/sys/vm/dirty_background_ratio
#How much dirty data there must be to write to disc
echo "90" > /proc/sys/vm/dirty_ratio
#How often writeback daemons wakeup to write data to disc.
echo "900" > /proc/sys/vm/dirty_writeback_centisecs
#How old 'dirty" data has to be to be written to disc
echo "800" > /proc/sys/vm/dirty_expire_centisecs
#^^^^^^Both expressed in 100th of second^^^^^^
echo "20" > /proc/sys/vm/swappiness
#faster sdcard read speed
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb
#enable multi threading
echo "1" > /proc/sys/kernel/multi_threading
# file system speedups
mount -o remount,noauto_da_alloc /system /system
mount -o remount,noauto_da_alloc /data /data
mount -o remount,noauto_da_alloc /cache /cache
# disable logcat - performance boost & save memory,comment, reboot for logcat.
rm /dev/log/main
#sets cpu governor to hotplug, is most intelligent
echo "hotplug" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "950" > /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency
#decreases sampling rate, stops lag and saves battery
echo "500000" > /sys/devices/system/cpu/cpufreq/hotplug/sampling_rate
echo "75" > /sys/devices/system/cpu/cpufreq/hotplug/up_threshold
echo "45" > /sys/devices/system/cpu/cpufreq/hotplug/down_threshold
echo "15" > /sys/devices/system/cpu/cpufreq/hotplug/hotplug_out_sampling_periods
echo "5" > /sys/devices/system/cpu/cpufreq/hotplug/hotplug_in_sampling_periods
#sets I/O scheduler to SIO, considered best
echo "sio" > /sys/block/mmcblk0/queue/scheduler
echo "sio" > /sys/block/mmcblk1/queue/scheduler
#Sets read and write on I/O sceduler to max.
echo "2048" > /sys/block/mmcblk0/queue/read_ahead_kb
echo "2048" > /sys/block/mmcblk1/queue/read_ahead_kb
#will merge tasks if able
echo "1" > /sys/block/mmcblk0/queue/nomerges
echo "1" > /sys/block/mmcblk1/queue/nomerges
echo "1" > /sys/block/mmcblk0/queue/low_latency
echo "1" > /sys/block/mmcblk1/queue/low_latency
echo "256" > /sys/block/mmcblk0/queue/nr_requests
echo "256" > /sys/block/mmcblk1/queue/nr_requests
echo "2048" > /sys/block/mmcblk0/bdi/read_ahead_kb
echo "2048" > /sys/block/mmcblk1/bdi/read_ahead_kb
echo "256" > /sys/block/zram0/bdi
#cache cleaner
rm -r /cache/*.apk
rm -r /cache/*.tmp
rm -r /data/dalvik-cache/*.apk
rm -r /data/dalvik-cache/*.tmp
#doesn't verify bus info, faster I/O
echo "N" > /sys/bus/hid/drivers/motorola/module/parameters/mot_pass_through_mt_input
echo "256" > /sys/class/bdi/default/read_ahead_kb
#faster scroll speed
echo "64" > /sys/bus/hid/drivers/magicmouse/scroll_speed
#performance boost in read/write when heap is at 4MB.
echo "4096" > /sys/block/mmcblk0/queue/optimal_io_size
echo "4096" > /sys/block/mmcblk1/queue/optimal_io_size
#better memory mangement
echo "2048,4096,43008,47104,51456,55808" > /sys/module/lowmemorykiller/parameters/minfree
#OOM fixes , shoould see awesome increase in multitasking
echo "0,3,6,10,12,15" > /sys/module/lowmemorykiller/parameters/adj
#net speed tweaks
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_sack
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl
echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "404480" > /proc/sys/net/core/wmem_max
echo "404480" > /proc/sys/net/core/rmem_max
echo "256960" > /proc/sys/net/core/rmem_default
echo "256960" > /proc/sys/net/core/wmem_default
echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem
echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem
# Enable ZRAM compressed memory.
if [ -e /sys/block/zram0/disksize ] ; then
$LOG -p i "Enabling compressed RAM functionality (ZRAM)"
echo $((120*2048*2048)) > /sys/block/zram0/disksize
busybox mkswap /dev/block/zram0
busybox swapon /dev/block/zram0
fi
You will definitely see a boost in performance when running the following script.
For this to work, either run this code at boot with an app like ROM Toolbox.
Or run the attached file at boot with an app like Script Manager.
Thank you to PureMotive for the battery saving kernel tweaks to make compatible and tweak for this phone. and this thread by him
http://forum.xda-developers.com/showthread.php?t=1621808
If you can, please donate:
Donate!
Or at least leave me a thanks.
<<<<<<<<<<<<<<<
Enjoy!
Your link is broken
This can be added to my BootMenu boot script.
Do have any details on what each line improve??
maybe add comment before each line
whirleyes said:
Your link is broken
This can be added to my BootMenu boot script.
Do have any details on what each line improve??
maybe add comment before each line
Click to expand...
Click to collapse
I might comment this in the future, but I don't have the time right now. I'll fix the link to the forum in the morning, the script download is operational.
I'll suffice it to say that these tweaks make the kernel write to disc less, using less battery, but decreasing performance.
Sent from my DROID RAZR using XDA
So far: Running your script, CPU set to 800mhz max, felt no performance decrease. We'll see how this works in the future. Battery drain on EU kernel is terrible. I hope this helps a bit. Thank you!
dtrail1 said:
So far: Running your script, CPU set to 800mhz max, felt no performance decrease. We'll see how this works in the future. Battery drain on EU kernel is terrible. I hope this helps a bit. Thank you!
Click to expand...
Click to collapse
Yeah, us OG RAZR guts have to deal with crappy battery life. That's why I made this script, please post your findings.
Sent from my DROID RAZR using XDA
Can you make and update.zip that makes the script works?If this is possible ;s i'm a little newbie
luizfilipel said:
Can you make and update.zip that makes the script works?If this is possible ;s i'm a little newbie
Click to expand...
Click to collapse
Unfortunately, I don't have the skill to do so, if somebody with this skill would like to put together a flashable .zip, then I would be grateful.
Script updated, now has kernel tweaks for performance!
Enjoy!
sorry, a little question from noobs...
it should run both? or just pick one of it?
teradaz said:
sorry, a little question from noobs...
it should run both? or just pick one of it?
Click to expand...
Click to collapse
Just pick one, they contradict each other in values, so if you try to run both there will be issues in what gets applied.
Leviathan26 said:
Just pick one, they contradict each other in values, so if you try to run both there will be issues in what gets applied.
Click to expand...
Click to collapse
thank you...
doesn't work for me:
luizfilipel said:
Can you make and update.zip that makes the script works?If this is possible ;s i'm a little newbie
Click to expand...
Click to collapse
it would be useless, since you have to run the script each time you reboot your phone.
Turkishflavor said:
doesn't work for me:
Click to expand...
Click to collapse
Use the option in Script Manager to run on boot. Then reboot your phone. And the values will be applied.
sevenup30 said:
it would be useless, since you have to run the script each time you reboot your phone.
Click to expand...
Click to collapse
The updater script would probably look for an Init.d folder and run it from there on every boot, if it was there anyway.
Sent from my DROID RAZR using XDA
Leviathan26 said:
Yeah, us OG RAZR guts have to deal with crappy battery life. That's why I made this script, please post your findings.
Sent from my DROID RAZR using XDA
Click to expand...
Click to collapse
Some feedback: there are really improvements in battery life! Now I can rum the EU leak with 3G all the time and it doesn't eat the battery that much... No performancy decrease so far..
Gesendet von meinem XT910 mit Tapatalk 2
dtrail1 said:
Some feedback: there are really improvements in battery life! Now I can rum the EU leak with 3G all the time and it doesn't eat the battery that much... No performancy decrease so far..
Gesendet von meinem XT910 mit Tapatalk 2
Click to expand...
Click to collapse
Awesome! Can you take a screenshot so I can put it in the OP?
Leviathan26 said:
Awesome! Can you take a screenshot so I can put it in the OP?
Click to expand...
Click to collapse
But ive just charged it 3 hours ago and iam using it all the time. Screen on is 2 hours.
This is an older one without tweaks...
Gesendet von meinem XT910 mit Tapatalk 2
Your kernel tweaks, they are like governors? If so why is it not possible to have smartassv2 for example?
As well, did you started to work on this because of this?
Anyway, good job and I'll let you know about my experience with your tweaks =)
An1mA said:
Your kernel tweaks, they are like governors? If so why is it not possible to have smartassv2 for example?
As well, did you started to work on this because of this?
Anyway, good job and I'll let you know about my experience with your tweaks =)
Click to expand...
Click to collapse
Governors are different to tweak scripts. A governor drives the CPU directly to its needed configuration, speed on processes or things like that. This script makes the kernel working different on some processes.
---------- Post added at 12:05 AM ---------- Previous post was at 12:02 AM ----------
@OP: You added a second script. Can we run them both or better one of them alone?
dtrail1 said:
Governors are different to tweak scripts. A governor drives the CPU directly to its needed configuration, speed on processes or things like that. This script makes the kernel working different on some processes.
---------- Post added at 12:05 AM ---------- Previous post was at 12:02 AM ----------
@OP: You added a second script. Can we run them both or better one of them alone?
Click to expand...
Click to collapse
Just run one at a time, they contradict each other in values. And the performance script is going to be getting an update later today.
For those of you who like to do additional tweaks to your phone, what init.d and build.prop tweaks do you use? I've noticed some of them try to override crpalmer and Zarboz's kernel settings so I removed them. Also, I've read that some of these tweaks don't help at all.
So what tweaks do you recommend, if any, that play well with the DNA and with custom kernels?
Currently I have speedscript in my init.d folder but I noticed no benefit or detriment so I may just remove it. I also reduced the WiFi scan interval in the build.prop. I would like to add more tweaks since I can't leave well enough alone.
I'm looking for speed and battery improvements which can he a fine balancing act. I also want to increase the scroll speed as wel as change the autobrightness settings so it's more biased to lower brightness. I'm not sure if those could be achieved with init.d or build.prop tweaks.
#Render graphics with GPU&CPU
debug.composition.type=cpu
debug.composition.type=gpu
#For Faster Startups Disable Boot Animation
debug.sb.nobootanimation=1<<< faster
[QOUTE]Many build.prop tweaks set this value to 300, but it seems this is a bad idea. As Google points out, Android maxes out at 60fps. The default value is already allow for a possible max_events_per_sec of 90. Even if you allow for 300 max_events_per_sec, you’ll only ever see 60 of these events in any given second. Therefore, any value much higher than 90 is unlikely to have any noticeable impact on your experience in general. Additionally, setting this value too high can starve other UI events that need to get processed, viz. touch inputs. You’re not likely to feel like your device is running very smoothly when it is busy processing thousands of scroll events instead of responding immediately to you clicking to try and open a link or an app. There may be some specific scenarios where increasing this value does appear to improve system feedback, but changing this value for all UI events across the board will likely cause more problems than it will solve.[/QOUTE]
# faster Scrolling
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
# improve voice call clarity
ro.ril.enable.amr.wideband=1
# disable error checking
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
# faster youtube?
ro.ril.hep=0
# Faster boot
persist.sys.shutdown.mode=hibernate
# does not need to be on if not a dev
persist.android.strictmode=0
# disable USB debugging icon from status bar
persist.adb.notify=0
# Qualcomm display settings
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
com.qc.hardware=true
# BATTERY SAVING-----------------
ro.ril.disable.power.collapse=1
ro.mot.eri.losalert.delay=1000 #smooths out network disconnects. breakes tethering in CM7.
ro.config.nocheckin=1 #disable sending usage data to google
# sleep modes
pm.sleep_mode=3<<< thats my personal mode used
#usage:
#pm.sleep_mode=0 -> collapse suspend
#pm.sleep_mode=1 -> collapse (will totally power off the cpu)
#pm.sleep_mode=2 -> sleep (cpu is still on, but put into low power mode (registers are still saved)
#pm.sleep_mode=3 -> slow Clock and Wait for Interrupt (lowered frequency and voltage)
#pm.sleep_mode=4 -> wait for interrupt (no change in cpu clock or voltage)
# locks launcher in memory (not recommended on low RAM devices)
#ro.HOME_APP_ADJ=1
check some of thoses out and maybe that will help in what your looking for
internet speed tweaks
Code:
echo "0" > /proc/sys/net/ipv4/tcp_timestamps;
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse;
echo "1" > /proc/sys/net/ipv4/tcp_sack;
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle;
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling;
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes;
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl;
echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout;
echo "404480" > /proc/sys/net/core/wmem_max;
echo "404480" > /proc/sys/net/core/rmem_max;
echo "256960" > /proc/sys/net/core/rmem_default;
echo "256960" > /proc/sys/net/core/wmem_default;
echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem;
echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem;
vm management tweaks
Code:
echo "4096" > /proc/sys/vm/min_free_kbytes
echo "0" > /proc/sys/vm/oom_kill_allocating_task;
echo "0" > /proc/sys/vm/panic_on_oom;
echo "0" > /proc/sys/vm/laptop_mode;
echo "0" > /proc/sys/vm/swappiness
echo "50" > /proc/sys/vm/vfs_cache_pressure
echo "90" > /proc/sys/vm/dirty_ratio
echo "70" > /proc/sys/vm/dirty_background_ratio
misc kernel tweaks
Code:
echo "8" > /proc/sys/vm/page-cluster;
echo "64000" > /proc/sys/kernel/msgmni;
echo "64000" > /proc/sys/kernel/msgmax;
echo "10" > /proc/sys/fs/lease-break-time;
echo "500,512000,64,2048" > /proc/sys/kernel/sem;
5. battery tweaks
Code:
echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs
6. EXT4 tweaks (greatly increase I/O)
(needs /system, /cache, /data partitions formatted to EXT4)
removes journalism
Code:
tune2fs -o journal_data_writeback /block/path/to/system
tune2fs -O ^has_journal /block/path/to/system
tune2fs -o journal_data_writeback /block/path/to/cache
tune2fs -O ^has_journal /block/path/to/cache
tune2fs -o journal_data_writeback /block/path/to/data
tune2fs -O ^has_journal /block/path/to/data
b) perfect mount options
Code:
busybox mount -o remount,noatime,noauto_da_alloc,nodiratime,barrier =0,nobh /system
busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev,nodir atime,barrier=0,nobh /data
busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev,nodir atime,barrier=0,nobh /cache
Flags blocks as non-rotational and increases cache size
Code:
LOOP=`ls -d /sys/block/loop*`;
RAM=`ls -d /sys/block/ram*`;
MMC=`ls -d /sys/block/mmc*`;
for j in $LOOP $RAM
do
echo "0" > $j/queue/rotational;
echo "2048" > $j/queue/read_ahead_kb;
done
microSD card speed tweak
Code:
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb;
Defrags database files
Code:
for i in \
`find /data -iname "*.db"`
do \
sqlite3 $i 'VACUUM;';
done
Auto change governor and I/O Scheduler
a) I/O Scheduler (Best: MTD devices - VR; EMMC devices - SIO) - needs kernel with these
Code:
echo "vr" > /sys/block/mmcblk0/queue/scheduler
or
echo "sio" > /sys/block/mmcblk0/queue/scheduler
b) Governor (Best: Minmax > SavagedZen > Smoothass > Smartass > Interactive) - needs kernel with these
Code:
echo "governor-name-here" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Move dalvik-cache to cache partition to free up data partition space <<< do this only if room is availble
Code:
CACHESIZE=$(df -k /cache | tail -n1 | tr -s ' ' | cut -d ' ' -f2)
if [ $CACHESIZE -gt 80000 ]
then
echo "Large cache detected, moving dalvik-cache to /cache"
if [ ! -d /cache/dalvik-cache ]
then
busybox rm -rf /cache/dalvik-cache /data/dalvik-cache
mkdir /cache/dalvik-cache /data/dalvik-cache
fi
busybox chown 1000:1000 /cache/dalvik-cache
busybox chmod 0771 /cache/dalvik-cache
# bind mount dalvik-cache so we can still boot without the sdcard
busybox mount -o bind /cache/dalvik-cache /data/dalvik-cache
busybox chown 1000:1000 /data/dalvik-cache
busybox chmod 0771 /data/dalvik-cache
else
echo "Small cache detected, dalvik-cache will remain on /data"
fi
Disable normalize sleeper
Code:
mount -t debugfs none /sys/kernel/debug
echo NO_NORMALIZED_SLEEPER > /sys/kernel/debug/sched_features
there does those 2 posts help you out orange
---------- Post added at 08:52 AM ---------- Previous post was at 08:51 AM ----------
also some of these are just examples so just modify for your needs cool?
---------- Post added at 08:54 AM ---------- Previous post was at 08:52 AM ----------
autobrightness you need to decompile framework-res.apk
Code:
# ------------------------------------------------------------ #
# | Ondemand | #
# ------------------------------------------------------------ #
if [ -e /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold;
echo "10" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/down_differential;
fi;
if [ -e /sys/devices/system/cpu/cpu1/cpufreq/ondemand/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpu1/cpufreq/ondemand/up_threshold;
echo "10" > /sys/devices/system/cpu/cpu1/cpufreq/ondemand/down_differential;
fi;
if [ -e /sys/devices/system/cpu/cpufreq/ondemand/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold;
echo "10" > /sys/devices/system/cpu/cpufreq/ondemand/down_differential;
fi;
# ------------------------------------------------------------ #
# | OndemandX | #
# ------------------------------------------------------------ #
if [ -e /sys/devices/system/cpu/cpu0/cpufreq/ondemandx/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpu0/cpufreq/ondemandx/up_threshold;
echo "10" > /sys/devices/system/cpu/cpu0/cpufreq/ondemandx/down_differential;
fi;
if [ -e /sys/devices/system/cpu/cpu1/cpufreq/ondemandx/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpu1/cpufreq/ondemandx/up_threshold;
echo "10" > /sys/devices/system/cpu/cpu1/cpufreq/ondemandx/down_differential;
fi;
if [ -e /sys/devices/system/cpu/cpufreq/ondemandx/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpufreq/ondemandx/up_threshold;
echo "10" > /sys/devices/system/cpu/cpufreq/ondemandx/down_differential;
fi;
# ------------------------------------------------------------ #
# | Conservative | #
# ------------------------------------------------------------ #
if [ -e /sys/devices/system/cpu/cpu0/cpufreq/conservative/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpu0/cpufreq/conservative/up_threshold;
echo "75" > /sys/devices/system/cpu/cpu0/cpufreq/conservative/down_threshold; # 35 # 12 # 30 (higher will lead to noticable lags) # 35 # screen off: # 50 ## 35
echo "100" > /sys/devices/system/cpu/cpu0/cpufreq/conservative/freq_step; # more aggressive ramping up (50) # screen off: # 10
fi;
if [ -e /sys/devices/system/cpu/cpu1/cpufreq/conservative/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpu1/cpufreq/conservative/up_threshold;
echo "75" > /sys/devices/system/cpu/cpu1/cpufreq/conservative/down_threshold; # 35 # 12 # 30 (higher will lead to noticable lags) # 35 # screen off: # 50 ## 35
echo "100" > /sys/devices/system/cpu/cpu1/cpufreq/conservative/freq_step; # more aggressive ramping up (50) # screen off: # 10
fi;
if [ -e /sys/devices/system/cpu/cpufreq/conservative/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpufreq/conservative/up_threshold;
echo "75" > /sys/devices/system/cpu/cpufreq/conservative/down_threshold; # 35 # 12 # 30 (higher will lead to noticable lags) # 35 # screen off: # 50 ## 35
echo "100" > /sys/devices/system/cpu/cpufreq/conservative/freq_step; # more aggressive ramping up (50) # screen off: # 10
fi;
# ------------------------------------------------------------ #
# | lulzactive | #
# ------------------------------------------------------------ #
if [ -e /sys/devices/system/cpu/cpufreq/lulzactive/inc_cpu_load ]; then
echo "85" > /sys/devices/system/cpu/cpufreq/lulzactive/inc_cpu_load;
echo "1" > /sys/devices/system/cpu/cpufreq/lulzactive/pump_down_step;
fi;
# ------------------------------------------------------------ #
# | smartassV2 | #
# ------------------------------------------------------------ #
if [ -e /sys/devices/system/cpu/cpufreq/smartass/awake_ideal_freq ]; then
echo "500000" > /sys/devices/system/cpu/cpufreq/smartass/awake_ideal_freq;
if [ "`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq`" -eq 200000 ]; then
echo "200000" > /sys/devices/system/cpu/cpufreq/smartass/sleep_ideal_freq;
else
echo "100000" > /sys/devices/system/cpu/cpufreq/smartass/sleep_ideal_freq;
fi;
echo "800000" > /sys/devices/system/cpu/cpufreq/smartass/sleep_wakeup_freq;
echo "85" > /sys/devices/system/cpu/cpufreq/smartass/max_cpu_load;
echo "75" > /sys/devices/system/cpu/cpufreq/smartass/min_cpu_load;
echo "200000" > /sys/devices/system/cpu/cpufreq/smartass/ramp_down_step;
echo "0" > /sys/devices/system/cpu/cpufreq/smartass/ramp_up_step;
fi;
# ------------------------------------------------------------ #
# | Abyssplug | #
# ------------------------------------------------------------ #
if [ -e /sys/devices/system/cpu/cpu0/cpufreq/abyssplug/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpu0/cpufreq/abyssplug/up_threshold;
echo "40" > /sys/devices/system/cpu/cpu0/cpufreq/abyssplug/down_threshold;
echo "5" > /sys/devices/system/cpu/cpu0/cpufreq/abyssplug/hotplug_in_sampling_periods;
echo "20" > /sys/devices/system/cpu/cpu0/cpufreq/abyssplug/hotplug_out_sampling_periods;
echo "10" > /sys/devices/system/cpu/cpu0/cpufreq/abyssplug/down_differential;
#echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/abyssplug/io_is_busy;
echo "20000" > /sys/devices/system/cpu/cpu0/cpufreq/abyssplug/sampling_rate;
fi;
if [ -e /sys/devices/system/cpu/cpu1/cpufreq/abyssplug/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpu1/cpufreq/abyssplug/up_threshold;
echo "40" > /sys/devices/system/cpu/cpu1/cpufreq/abyssplug/down_threshold;
echo "5" > /sys/devices/system/cpu/cpu1/cpufreq/abyssplug/hotplug_in_sampling_periods;
echo "20" > /sys/devices/system/cpu/cpu1/cpufreq/abyssplug/hotplug_out_sampling_periods;
echo "10" > /sys/devices/system/cpu/cpu1/cpufreq/abyssplug/down_differential;
#echo "1" > /sys/devices/system/cpu/cpu1/cpufreq/abyssplug/io_is_busy;
echo "20000" > /sys/devices/system/cpu/cpu1/cpufreq/abyssplug/sampling_rate;
fi;
if [ -e /sys/devices/system/cpu/cpufreq/abyssplug/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpufreq/abyssplug/up_threshold;
echo "40" > /sys/devices/system/cpu/cpufreq/abyssplug/down_threshold;
echo "5" > /sys/devices/system/cpu/cpufreq/abyssplug/hotplug_in_sampling_periods;
echo "20" > /sys/devices/system/cpu/cpufreq/abyssplug/hotplug_out_sampling_periods;
echo "10" > /sys/devices/system/cpu/cpufreq/abyssplug/down_differential;
#echo "1" > /sys/devices/system/cpu/cpufreq/abyssplug/io_is_busy;
echo "20000" > /sys/devices/system/cpu/cpufreq/abyssplug/sampling_rate;
fi;
# ------------------------------------------------------------ #
# | Pegasusq | #
# ------------------------------------------------------------ #
if [ -e /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/up_threshold;
echo "10" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/down_differential;
#echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/io_is_busy;
echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/sampling_down_factor;
echo "20000" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/sampling_rate;
echo "100" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/freq_step;
echo "5" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/cpu_up_rate;
echo "20" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/cpu_down_rate;
echo "100000" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/freq_for_responsiveness;
fi;
if [ -e /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/up_threshold;
echo "10" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/down_differential;
#echo "1" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/io_is_busy;
echo "1" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/sampling_down_factor;
echo "20000" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/sampling_rate;
echo "100" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/freq_step;
echo "5" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/cpu_up_rate;
echo "20" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/cpu_down_rate;
echo "100000" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/freq_for_responsiveness;
fi;
if [ -e /sys/devices/system/cpu/cpufreq/pegasusq/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpufreq/pegasusq/up_threshold;
echo "10" > /sys/devices/system/cpu/cpufreq/pegasusq/down_differential;
#echo "1" > /sys/devices/system/cpu/cpufreq/pegasusq/io_is_busy;
echo "1" > /sys/devices/system/cpu/cpufreq/pegasusq/sampling_down_factor;
echo "20000" > /sys/devices/system/cpu/cpufreq/pegasusq/sampling_rate;
echo "100" > /sys/devices/system/cpu/cpufreq/pegasusq/freq_step;
echo "5" > /sys/devices/system/cpu/cpufreq/pegasusq/cpu_up_rate;
echo "20" > /sys/devices/system/cpu/cpufreq/pegasusq/cpu_down_rate;
echo "100000" > /sys/devices/system/cpu/cpufreq/pegasusq/freq_for_responsiveness;
fi;
# ------------------------------------------------------------ #
# | Hotplug | #
# ------------------------------------------------------------ #
if [ -e /sys/devices/system/cpu/cpu0/cpufreq/hotplug/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpu0/cpufreq/hotplug/up_threshold;
echo "40" > /sys/devices/system/cpu/cpu0/cpufreq/hotplug/down_threshold;
echo "5" > /sys/devices/system/cpu/cpu0/cpufreq/hotplug/hotplug_in_sampling_periods;
echo "20" > /sys/devices/system/cpu/cpu0/cpufreq/hotplug/hotplug_out_sampling_periods;
echo "10" > /sys/devices/system/cpu/cpu0/cpufreq/hotplug/down_differential;
#echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/hotplug/io_is_busy;
echo "20000" > /sys/devices/system/cpu/cpu0/cpufreq/hotplug/sampling_rate;
fi;
if [ -e /sys/devices/system/cpu/cpu1/cpufreq/hotplug/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpu1/cpufreq/hotplug/up_threshold;
echo "40" > /sys/devices/system/cpu/cpu1/cpufreq/hotplug/down_threshold;
echo "5" > /sys/devices/system/cpu/cpu1/cpufreq/hotplug/hotplug_in_sampling_periods;
echo "20" > /sys/devices/system/cpu/cpu1/cpufreq/hotplug/hotplug_out_sampling_periods;
echo "10" > /sys/devices/system/cpu/cpu1/cpufreq/hotplug/down_differential;
#echo "1" > /sys/devices/system/cpu/cpu1/cpufreq/hotplug/io_is_busy;
echo "20000" > /sys/devices/system/cpu/cpu1/cpufreq/hotplug/sampling_rate;
fi;
if [ -e /sys/devices/system/cpu/cpufreq/hotplug/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpufreq/hotplug/up_threshold;
echo "40" > /sys/devices/system/cpu/cpufreq/hotplug/down_threshold;
echo "5" > /sys/devices/system/cpu/cpufreq/hotplug/hotplug_in_sampling_periods;
echo "20" > /sys/devices/system/cpu/cpufreq/hotplug/hotplug_out_sampling_periods;
echo "10" > /sys/devices/system/cpu/cpufreq/hotplug/down_differential;
#echo "1" > /sys/devices/system/cpu/cpufreq/hotplug/io_is_busy;
echo "20000" > /sys/devices/system/cpu/cpufreq/hotplug/sampling_rate;
fi;
Why you dont post it in 1 thread?
You have already another one like this here: http://forum.xda-developers.com/showthread.php?p=40315705
:::[ Pandemic Quote.:: Im The Godfather Of St Octane TF Packs !!
Press Thanks If You Like My Work/Advice !!!
Pandemic said:
Why you dont post it in 1 thread?
You have already another one like this here: http://forum.xda-developers.com/showthread.php?p=40315705
:::[ Pandemic Quote.:: Im The Godfather Of St Octane TF Packs !!
Press Thanks If You Like My Work/Advice !!!
Click to expand...
Click to collapse
Bro ... I Can't Post This One in that thread
Because this is not build.prop tweaks as you know
and it's only for expert because this is very very sensitive ..
Noel Macwan said:
Bro ... I Can't Post This One in that thread
Because this is not build.prop tweaks as you know
and it's only for expert because this is very very sensitive ..
Click to expand...
Click to collapse
Ooh ok, but you can set a title above it and this and all your tweaks belongs in general because this is no theme/app
:::[ Pandemic Quote.:: Im The Godfather Of St Octane TF Packs !!
Press Thanks If You Like My Work/Advice !!!
Pandemic said:
Ooh ok, but you can set a title above it and this and all your tweaks belongs in general because this is no theme/app
:::[ Pandemic Quote.:: Im The Godfather Of St Octane TF Packs !!
Press Thanks If You Like My Work/Advice !!!
Click to expand...
Click to collapse
Ok I'll tell to moderator to move it
Sent from my C6603 using xda premium
Noel Macwan said:
Ok I'll tell to moderator to move it
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
Ok thanks, you can report it by your own on non urgent and explain that you want it in general topic and then all in one with all your tweaks here
You messed up the whole themes/apps thread now
:::[ Pandemic Quote.:: Im The Godfather Of St Octane TF Packs !!
Press Thanks If You Like My Work/Advice !!!
Hi, can you explain where we must to edit this for to have more governors mode, build props...??
Thanks
good job we take intoaccount his script :good:
dragxdk said:
Hi, can you explain where we must to edit this for to have more governors mode, build props...??
Thanks
Click to expand...
Click to collapse
/system/bin/sh
Is this OK for mid range devices?
Sent from my Xperia U using xda app-developers app
Noel Macwan said:
/system/bin/sh
Click to expand...
Click to collapse
How to add? Is it work with stock rom locked bootloader?
Boonen said:
How to add? Is it work with stock rom locked bootloader?
Click to expand...
Click to collapse
Yes..
/System/bin/sh
Sent from my C6603 using xda premium
Noel Macwan said:
Yes..
/System/bin/sh
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
Ok. But How?
Boonen said:
Ok. But How?
Click to expand...
Click to collapse
You need to edit them
Sent from my C6603 using xda premium
Noel Macwan said:
You need to edit them
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
With texit editor (Root explorer) just copy and save?
{
"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"
}
Boonen said:
With texit editor (Root explorer) just copy and save?
Click to expand...
Click to collapse
Here You Go !!
Noel Macwan said:
Here You Go !!
Click to expand...
Click to collapse
Thanks! If i use other build.prop just flash this "[MOD][UPDATE][TURBO POWER]Increase Performance.zip"? Or need to add this line to build.prop?
Boonen said:
Thanks! If i use other build.prop just flash this "[MOD][UPDATE][TURBO POWER]Increase Performance.zip"? Or need to add this line to build.prop?
Click to expand...
Click to collapse
Just flash that
Sent from my C6603 using xda premium
Noel Macwan said:
Just flash that
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
I flash this zip, and i have ZN6 Settings.apk with CPU Settings but i don't see new governor. Why? I don't add to build.prop tweaks and i don't edit sh file. I use this 1.5 build.prop. How tu use new governor?
Q&A for [BOTH][SCRIPT] Make it Last/Speed it UP!
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [BOTH][SCRIPT] Make it Last/Speed it UP!. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Battery life script is not working
BytecodeMe said:
Okay guys, I made some kernel tweaks that work on any ROM, and on the ROMs I have tried, improve battery life/performance.
THE BATTERY SAVER SCRIPT WILL NOT IMPROVE QUADRANT SCORES!
THIS SCRIPT WILL BE UPDATED FREQUENTLY!
Last update 7/11
Latest update notes: Focused more on battery life.
Battery stats on Liquid Smooth 1.5 with script:
{
"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"
}
Prerequisites:
Have root access
An app that can run scripts on boot, like Script Manger, located here:
https://play.google....ptmanager&hl=en
INSTRUCTIONS:
If using Script Manager:
1. Navigate to file.
2.Open as Script/Executable.
3.Set it to run at boot and as SU.
4.Save
5. Reboot.
If using ROM Toolbox:
1. Select "Scripter"
2.Select new script
3. Copy and paste script into Scripter
4. Select "At Boot"
5. Reboot
Make it Last script:
Code:
#!/system/bin/sh
echo "500,512000,64,2048" > /proc/sys/kernel/sem
echo "3072" > /proc/sys/kernel/msgmni
echo "74000" > /proc/sys/kernel/msgmax
echo "3072" > /proc/sys/kernel/shmmni
echo "2268435456" > /proc/sys/kernel/shmmax
echo "16777216" > /proc/sys/kernel/shmall
echo "400000" > /proc/sys/kernel/sched_min_granularity_ns
echo "256" > /proc/sys/kernel/random/write_wakeup_threshold
echo "256" > /proc/sys/kernel/random/read_wakeup_threshold
echo "5" > /proc/sys/kernel/panic
echo "575810" > /proc/sys/kernel/threads-max
echo "1" > /proc/sys/kernel/panic_on_oops
echo "25" > /proc/sys/kernel/hung_task_timeout_secs
echo "600000" > /proc/sys/kernel/sched_latency_ns
echo "2000000" > /proc/sys/kernel/sched_wakeup_granularity_ns
echo "1" > /proc/sys/kernel/sched_compat_yield
echo "0" > /proc/sys/kernel/sched_child_runs_first
echo "0" > /proc/sys/kernel/hung_task_timeout_secs
echo "0" > /proc/sys/vm/oom_kill_allocating_task
#end of /kernel , start of /fs
echo "10240" > /proc/sys/fs/inotify/max_user_watches
echo "256" > /proc/sys/fs/inotify/max_user_instances
echo "32000" > /proc/sys/fs/inotify/max_queued_events
echo "15" > /proc/sys/fs/lease-break-time
echo "165164" > /proc/sys/fs/file-max
echo "1053696" > /proc/sys/fs/nr_open
#end of /fs, start of /vm
echo "0" > /proc/sys/vm/oom_kill_allocating_task
echo "4" > /proc/sys/vm/min_free_order_shift
echo "1" > /proc/sys/vm/overcommit_memory
echo "2" > /proc/sys/vm/panic_on_oom
echo "8" > /proc/sys/vm/page-cluster
echo "3" > /proc/sys/vm/drop_caches
echo "0" > /proc/sys/vm/oom_kill_allocating_task
echo "2048" > /proc/sys/vm/min_free_kbytes
echo "20" > /proc/sys/vm/vfs_cache_pressure
echo "80" > /proc/sys/vm/dirty_background_ratio
echo "90" > /proc/sys/vm/dirty_ratio
echo "3700" > /proc/sys/vm/dirty_writeback_centisecs
echo "2100" > /proc/sys/vm/dirty_expire_centisecs
echo "0" > /proc/sys/vm/laptop_mode
echo "0" > /proc/sys/vm/block_dump
echo "0" > /proc/sys/vm/swappiness
IF THESE SCRIPTS DON'T WORK, USE THIS ONE.
Find them HERE
STEP 1. Under File, select DOWNLOAD.
STEP 2. Find a way to get it to your phone,make sure it's not opened in any text editors, until it's on your phone.
STEP 3. Follow other instructions
All credit ofr the above script goes to housas08
Latest update notes: enabled ZRAM(compressed RAM), loads SIO I/O if available, also loads the hotplugx governor and SIO on boot. Ups read and write speeds all around, file system speedups, enables multi threading, tweaks to the hotplug and hotplugx governor, and more. You might get random reboots using this script, you might only get a coupke and then they will stop or they'll never stop. Inform me if you consistent random reboots.
Credit to zepelinrox for minfreee and adj valueshttp://forum.xda-developers.com/showthread.php?t=991276
Credit to whirleyes for theKernel Modules.
GET THE SIO I/O SCHEDULER AND THE HOTPLUGX GOVERNOR HERE!
I HIGHLY RECOMMEND THEM FOR PERFORMANCE!
Speed it UP! script:
Code:
#!/system/bin/sh
# Load SIO I/O and hotplugx governor
insmod /system/lib/modules/cpufreq_hotplugX.ko
insmod /system/lib/modules/sio-iosched.ko
echo "700000" > /proc/sys/kernel/sched_latency_ns
echo "300000" > /proc/sys/kernel/sched_min_granularity_ns
echo "26188" > /proc/sys/kernel/sched_features
#writes more pages to disc, when given oppurtunity
echo "8" > /proc/sys/vm/page-cluster
#drop all cahces when given oppurtunity
echo "3" > /proc/sys/vm/drop_caches
#Keep 4MB in memory
echo "4096" > /proc/sys/vm/min_free_kbytes
#Dump Vfs cache less
echo "20" > /proc/sys/vm/vfs_cache_pressure
echo "80" > /proc/sys/vm/dirty_background_ratio
#How much dirty data there must be to write to disc
echo "90" > /proc/sys/vm/dirty_ratio
#How often writeback daemons wakeup to write data to disc.
echo "900" > /proc/sys/vm/dirty_writeback_centisecs
#How old 'dirty" data has to be to be written to disc
echo "800" > /proc/sys/vm/dirty_expire_centisecs
#^^^^^^Both expressed in 100th of second^^^^^^
echo "20" > /proc/sys/vm/swappiness
#faster sdcard read speed
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb
#enable multi threading
echo "1" > /proc/sys/kernel/multi_threading
# file system speedups
mount -o remount,noauto_da_alloc /system /system
mount -o remount,noauto_da_alloc /data /data
mount -o remount,noauto_da_alloc /cache /cache
# disable logcat - performance boost & save memory,comment, reboot for logcat.
rm /dev/log/main
#sets cpu governor to hotplug, is most intelligent
echo "hotplug" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "950" > /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency
#decreases sampling rate, stops lag and saves battery
echo "500000" > /sys/devices/system/cpu/cpufreq/hotplug/sampling_rate
echo "75" > /sys/devices/system/cpu/cpufreq/hotplug/up_threshold
echo "45" > /sys/devices/system/cpu/cpufreq/hotplug/down_threshold
echo "15" > /sys/devices/system/cpu/cpufreq/hotplug/hotplug_out_sampling_periods
echo "5" > /sys/devices/system/cpu/cpufreq/hotplug/hotplug_in_sampling_periods
#sets I/O scheduler to SIO, considered best
echo "sio" > /sys/block/mmcblk0/queue/scheduler
echo "sio" > /sys/block/mmcblk1/queue/scheduler
#Sets read and write on I/O sceduler to max.
echo "2048" > /sys/block/mmcblk0/queue/read_ahead_kb
echo "2048" > /sys/block/mmcblk1/queue/read_ahead_kb
#will merge tasks if able
echo "1" > /sys/block/mmcblk0/queue/nomerges
echo "1" > /sys/block/mmcblk1/queue/nomerges
echo "1" > /sys/block/mmcblk0/queue/low_latency
echo "1" > /sys/block/mmcblk1/queue/low_latency
echo "256" > /sys/block/mmcblk0/queue/nr_requests
echo "256" > /sys/block/mmcblk1/queue/nr_requests
echo "2048" > /sys/block/mmcblk0/bdi/read_ahead_kb
echo "2048" > /sys/block/mmcblk1/bdi/read_ahead_kb
echo "256" > /sys/block/zram0/bdi
#cache cleaner
rm -r /cache/*.apk
rm -r /cache/*.tmp
rm -r /data/dalvik-cache/*.apk
rm -r /data/dalvik-cache/*.tmp
#doesn't verify bus info, faster I/O
echo "N" > /sys/bus/hid/drivers/motorola/module/parameters/mot_pass_through_mt_input
echo "256" > /sys/class/bdi/default/read_ahead_kb
#faster scroll speed
echo "64" > /sys/bus/hid/drivers/magicmouse/scroll_speed
#performance boost in read/write when heap is at 4MB.
echo "4096" > /sys/block/mmcblk0/queue/optimal_io_size
echo "4096" > /sys/block/mmcblk1/queue/optimal_io_size
#better memory mangement
echo "2048,4096,43008,47104,51456,55808" > /sys/module/lowmemorykiller/parameters/minfree
#OOM fixes , shoould see awesome increase in multitasking
echo "0,3,6,10,12,15" > /sys/module/lowmemorykiller/parameters/adj
#net speed tweaks
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_sack
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl
echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "404480" > /proc/sys/net/core/wmem_max
echo "404480" > /proc/sys/net/core/rmem_max
echo "256960" > /proc/sys/net/core/rmem_default
echo "256960" > /proc/sys/net/core/wmem_default
echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem
echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem
# Enable ZRAM compressed memory.
if [ -e /sys/block/zram0/disksize ] ; then
$LOG -p i "Enabling compressed RAM functionality (ZRAM)"
echo $((120*2048*2048)) > /sys/block/zram0/disksize
busybox mkswap /dev/block/zram0
busybox swapon /dev/block/zram0
fi
You will definitely see a boost in performance when running the following script.
For this to work, either run this code at boot with an app like ROM Toolbox.
Or run the attached file at boot with an app like Script Manager.
Thank you to PureMotive for the battery saving kernel tweaks to make compatible and tweak for this phone. and this thread by him
http://forum.xda-developers.com/showthread.php?t=1621808
If you can, please donate:
Donate!
Or at least leave me a thanks.
<<<<<<<<<<<<<<<
Enjoy!
Click to expand...
Click to collapse
The battery tweaks are not working on lg optimus l7 p705....
I"m using Mahdi Rom 4.4.4 and battery drains like crazy lost 1 % every 2 mins
I need an urgent fix plz help ??