Related
how to disable ambient light sensor in xperia mini ,is there any method to do that,can anybody help on that issue ?
i use this on my x8, i don't know is this working on Xperia mini, my ray don't have it so i can't try.
1.ROOTED
2.open system/etc/hw_config.sh
3.edit
Code:
echo i2c_pwm_als > $dev/mode # BL control modes [i2c, pwm, i2c_pwm, als, pwm_als, i2c_pwm_als, i2_als]
delete "_als" in "echo i2c_pwm_als"
4.save and out, reboot
this should work....you can use root explorer to do this.
sorry for my English, still learning and have bad marks at GRAMMAR and VOCABULARY.
ok thanks will try it
Moved to proper forum.
nitinex said:
ok thanks will try it
Click to expand...
Click to collapse
is it working?
[HOWTO] disable ambient light sensor for LCD in xperia mini
I think I've suceeded in turning off auto-brightness in my SK17i (Xperia mini pro), Android 2.3.3, build 4.0.A.2.368.
It doesn't dim backlight after couple of second inactivity.
It still dim backlight about 3 seconds before timeout set in Settings/Display/Screen timeout.
You will need root. Files you have to modify has mode "-rw-r--r--" (writable only for root).
You can try it without permanent changes (settings will be lost after reboot):
Connect phone to PC over USB cable, enable Settings/Applications/Development/USB debugging.
Run command:
Code:
adb shell
You should get root shell (line begins with #).
In that shell run:
Code:
echo 0 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/enable
Disconnect USB cable.
If it works for you, you can make it permanent. Basically you will edit file which sets this on device boot:
Open Root explorer
Go to /etc diretory
Find hw_config.sh, long touch and in popup select Open in Text Editor
Find line
Code:
echo 1 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
and edit it to
Code:
echo 0 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
Press Back button and save file.
scroolik said:
I think I've suceeded in turning off auto-brightness in my SK17i (Xperia mini pro), Android 2.3.3, build 4.0.A.2.368.
It doesn't dim backlight after couple of second inactivity.
It still dim backlight about 3 seconds before timeout set in Settings/Display/Screen timeout.
You will need root. Files you have to modify has mode "-rw-r--r--" (writable only for root).
You can try it without permanent changes (settings will be lost after reboot):
Connect phone to PC over USB cable, enable Settings/Applications/Development/USB debugging.
Run command:
Code:
adb shell
You should get root shell (line begins with #).
In that shell run:
Code:
echo 0 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/enable
Disconnect USB cable.
If it works for you, you can make it permanent. Basically you will edit file which sets this on device boot:
Open Root explorer
Go to /etc diretory
Find hw_config.sh, long touch and in popup select Open in Text Editor
Find line
Code:
echo 1 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
and edit it to
Code:
echo 0 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
Press Back button and save file.
Click to expand...
Click to collapse
It works, but... After the phone starts, the maximum brightness is set up and ambient senzor doesn't work. But if you turn off display and then you wake it up, brightness is lower than before it's like you have been in dark room, but aren't.
Is it also working with xperia active?
Is there a possibility to disable the soft key backlight at this way?
duke85 said:
Is it also working with xperia active?
Is there a possibility to disable the soft key backlight at this way?
Click to expand...
Click to collapse
Use "superDim"
Sent from my MT15i using Tapatalk
superDim can also disable soft key backlights?
I can't find that kind of option
Yes. Try other lights option.
To disable softkeys light I use Screen Filter with 100% settings to not dim the screen and it has an option to disable softkeys light. I enable and disable with app shortcut. The widget will not work with full 100% screen, but use regular icon.
I rooted my xperia active.
Superdim don't disable the ambient light sensor.
The Button Backlight once is disabled, once it isn't... doesn't work steady When I'm closing superdim, backlights are back on.
Is there another possibility?
Will this work for you?
market.android.com/details?id=com.hatcyl.android.Disable_Auto_Brightness
http://forum.xda-developers.com/showthread.php?t=1259445
Meanwhile I edited my /etc/hw_config.sh:
# LMU AS3676 Configuration
dev=/sys/devices/i2c-0/0-0040/leds
#Sensor on/off. 1 = on, reg 90h
echo 1 > $dev/lcd-backlight/als/enable
#[gain],[filter_up],[filter_down],[offset]
echo 3,2,2,0 > $dev/lcd-backlight/als/params
# touch-button-backlight
echo 8000 > $dev/button-backlight/max_current
echo 6450 > $dev/red/max_current
echo 7950 > $dev/green/max_current
echo 4500 > $dev/blue/max_current
# ALS curve display BL [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 1,30,255,54,52,1,65 > $dev/lcd-backlight/als/curve
# ALS curve key LED 2 [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 2,48,0,128,128,4,10 > $dev/button-backlight/als/curve
# ALS curve RGB(red) [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 3,71,255,64,32,5,37 > $dev/red/als/curve
# ALS curve RGB(green) [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 3,71,255,64,32,5,37 > $dev/green/als/curve
# ALS curve RGB(blue) [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 3,71,255,64,32,5,37 > $dev/blue/als/curve
In line echo 1 > $dev/lcd-backlight/als/enable I replace the "1" with a "0".
The other bold lines I simple deleted, except echo 8000 > $dev/button-backlight/max_current
Until now the ALS is disabled in any Situation.
For button backlight I replaced "8000" with "0001" in line echo 8000 > $dev/button-backlight/max_current
Until now the button backlight is disabled in any Situation...
scroolik said:
I think I've suceeded in turning off auto-brightness in my SK17i (Xperia mini pro), Android 2.3.3, build 4.0.A.2.368.
It doesn't dim backlight after couple of second inactivity.
It still dim backlight about 3 seconds before timeout set in Settings/Display/Screen timeout.
You will need root. Files you have to modify has mode "-rw-r--r--" (writable only for root).
You can try it without permanent changes (settings will be lost after reboot):
Connect phone to PC over USB cable, enable Settings/Applications/Development/USB debugging.
Run command:
Code:
adb shell
You should get root shell (line begins with #).
In that shell run:
Code:
echo 0 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/enable
Disconnect USB cable.
If it works for you, you can make it permanent. Basically you will edit file which sets this on device boot:
Open Root explorer
Go to /etc diretory
Find hw_config.sh, long touch and in popup select Open in Text Editor
Find line
Code:
echo 1 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
and edit it to
Code:
echo 0 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
Press Back button and save file.
Click to expand...
Click to collapse
It also works on my st15i. Thanks!
You think or you did ?
This works even on ICS
https://play.google.com/store/apps/...uYW5kcm9pZC5EaXNhYmxlX0F1dG9fQnJpZ2h0bmVzcyJd
duke85 said:
superDim can also disable soft key backlights?
I can't find that kind of option
Click to expand...
Click to collapse
you can do it yourself.
type in terminal emulator:
su
echo 1 > /sys/class/leds/button-backlight/max_current
after reboot backllights will be on again.
you can create a script using scripter app from play store or you can create a permanent init.d script yourself (or i can provide a flashable zip)
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?
Dear All,
I want to disable auto brightness on my phone. I am using NEO V. i installed "disable auto brightness" app from android market and its not working on my phone. Can you someone tell me to how to disable auto brightness ?
Thanks,
karthic
karthicvkn said:
Dear All,
I want to disable auto brightness on my phone. I am using NEO V. i installed "disable auto brightness" app from android market and its not working on my phone. Can you someone tell me to how to disable auto brightness ?
Thanks,
karthic
Click to expand...
Click to collapse
Use "tasker"
Sent from my MT15i
I installed "tasker" on my mobile. but how do i disable auto brightness on this app ?... Need a quick help pls !!!
I need to add a widget on home screen, and by pressing that disable or enable auto brightness, I found a code which may work on Tasker app.. But i didnt know how to implement this to tasker ?
Can you pls help me on this ?
Code :
--------------------------------------------------------------------
IF %AUTO is set
Disable auto-brightness
Set brightness to 5
clear %AUTO
goto stop (i.e. put the number of the stop action here)
END IF
Enable auto-brightness
set %AUTO = 1
stop (just to have another action to jump to)
--------------------------------------------------------------------
Thanks,
karthic
Sorry for my english
1)root your device
2)take rootexplorer
3)connect your phone with pc by cabel and go inside folder ETC
4) copy file "hw_config"
5)paste it on your screen on pc
6)open it by notepad
7)edit last part of this file by changing this:
echo 1,2,2,0 > $dev/lcd-backlight/als/params #[gain],[filter_up],[filter_down],[offset]
echo 0 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/button-backlight-rgb1/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/button-backlight-rgb2/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/red/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/green/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/blue/als/enable #Sensor on/off. 1 = on, reg 90h
echo 900 > $dev/button-backlight-rgb1/max_current #Max current in uA
echo 900 > $dev/button-backlight-rgb2/max_current #Max current in uA
you need to find this in original file and replace it.
If you can`t replace it change mount r/w.
problem
lokaf said:
Sorry for my english
1)root your device
2)take rootexplorer
3)connect your phone with pc by cabel and go inside folder ETC
4) copy file "hw_config"
5)paste it on your screen on pc
6)open it by notepad
7)edit last part of this file by changing this:
echo 1,2,2,0 > $dev/lcd-backlight/als/params #[gain],[filter_up],[filter_down],[offset]
echo 0 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/button-backlight-rgb1/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/button-backlight-rgb2/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/red/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/green/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/blue/als/enable #Sensor on/off. 1 = on, reg 90h
echo 900 > $dev/button-backlight-rgb1/max_current #Max current in uA
echo 900 > $dev/button-backlight-rgb2/max_current #Max current in uA
you need to find this in original file and replace it.
If you can`t replace it change mount r/w.
Click to expand...
Click to collapse
Hey... I connect my Xperia Neo V with my cable USB and i dont found this folder ETC , Help me pls ! thx
If you're using root explorer,use it and go to system folder...
There you can find the folder - Etc
Sent from my MT11i using Tapatalk 2
brightness
Ghostfreak NB said:
If you're using root explorer,use it and go to system folder...
There you can find the folder - Etc
Sent from my MT11i using Tapatalk 2
Click to expand...
Click to collapse
How to make Root explorer? Im beginer ..Sorry ..i want done it ! Thx
Lol.... I didn't get you!
You can't make root explorer!
Buy it from play store!
Sent from my MT11i using Tapatalk 2
Thx
Ghostfreak NB said:
Lol.... I didn't get you!
You can't make root explorer!
Buy it from play store!
Sent from my MT11i using Tapatalk 2
Click to expand...
Click to collapse
Ok Thank you so much !
lokaf said:
Sorry for my english
1)root your device
2)take rootexplorer
3)connect your phone with pc by cabel and go inside folder ETC
4) copy file "hw_config"
5)paste it on your screen on pc
6)open it by notepad
7)edit last part of this file by changing this:
echo 1,2,2,0 > $dev/lcd-backlight/als/params #[gain],[filter_up],[filter_down],[offset]
echo 0 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/button-backlight-rgb1/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/button-backlight-rgb2/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/red/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/green/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/blue/als/enable #Sensor on/off. 1 = on, reg 90h
echo 900 > $dev/button-backlight-rgb1/max_current #Max current in uA
echo 900 > $dev/button-backlight-rgb2/max_current #Max current in uA
you need to find this in original file and replace it.
If you can`t replace it change mount r/w.
Click to expand...
Click to collapse
I instaled on my xperia Neo v All app with root explorer , file manager for i enter in this folder..I'have found hw_config. But i can,t edit from phone ...i editing from my PC , copy in SD card ..And enter in phone on app root exp. , copy edit file and paste it in Etc folder , Remember from phone ! and FAILED , How to make ! What to be made ?
I think you are in read only mode!
That is why you are not being able to edit in phone!
Sent from my MT11i using Tapatalk 2
ok
Ghostfreak NB said:
I think you are in read only mode!
That is why you are not being able to edit in phone!
Sent from my MT11i using Tapatalk 2
Click to expand...
Click to collapse
So ,i cant solve my phone with sensor brightness? i tried all variants and nothing ..i know is make it for battery save , but is darkness !
And sorry for my bad english
lokaf said:
Sorry for my english
1)root your device
2)take rootexplorer
3)connect your phone with pc by cabel and go inside folder ETC
4) copy file "hw_config"
5)paste it on your screen on pc
6)open it by notepad
7)edit last part of this file by changing this:
echo 1,2,2,0 > $dev/lcd-backlight/als/params #[gain],[filter_up],[filter_down],[offset]
echo 0 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/button-backlight-rgb1/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/button-backlight-rgb2/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/red/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/green/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/blue/als/enable #Sensor on/off. 1 = on, reg 90h
echo 900 > $dev/button-backlight-rgb1/max_current #Max current in uA
echo 900 > $dev/button-backlight-rgb2/max_current #Max current in uA
you need to find this in original file and replace it.
If you can`t replace it change mount r/w.
Click to expand...
Click to collapse
Worked like a charm.
doesnt work
Guyz it doesnt work! Do I edit it wrong? !! Please I need to find a way to disable auto brightness!!The app by hatcyl it looks cheap! I just want to disable it for ever thanks!
Whomsoever want to disable automatic brightness of xperia neo/neo v and dont wanna buy "disable auto brightness (play)" app could follow this Tutorial to disable automatic brightness.
You Need-
Root.
Root Explorer.
Now....With root explorer go to /system/etc/hw_config.sh (backup this file).......edit it with text editor in root ex...........see these last strings-
echo 1 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
echo 1 > $dev/button-backlight-rgb1/als/enable #Sensor on/off. 1 = on, reg 90h
echo 1 > $dev/button-backlight-rgb2/als/enable #Sensor on/off. 1 = on, reg 90h
echo 1 > $dev/red/als/enable #Sensor on/off. 1 = on, reg 90h
echo 1 > $dev/green/als/enable #Sensor on/off. 1 = on, reg 90h
echo 1 > $dev/blue/als/enable #Sensor on/off. 1 = on, reg 90h
you have to edit all "echo 1" To "echo 0" like this-
echo 0 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/button-backlight-rgb1/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/button-backlight-rgb2/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/red/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/green/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/blue/als/enable #Sensor on/off. 1 = on, reg 90h
Save the File and reboot.Thats It!
This Will Only disable the ambiant light sensor. after this you cant increase brightness more then neo's 100% (which it can with sensor enabled under the sun)
P.S. I Saw this tweak in a post of a thread in xda (dont know by whom) so just sharing it. It worked for Me. But If You Find It Useful Hit The Thanks Button!!
hmm. will try it. thanks man
thanks any way , but it didn't work on my rooted Neo V
this is what I was looking for. thanks
btw:
If someone want to disable backlight od hardware buttons change further
two lines in this file like this:
echo 1 > $dev/button-backlight-rgb1/max_current #Max current in uA
echo 1 > $dev/button-backlight-rgb2/max_current #Max current in uA
pawo99 said:
this is what I was looking for. thanks
btw:
If someone want to disable backlight od hardware buttons change further
two lines in this file like this:
echo 1 > $dev/button-backlight-rgb1/max_current #Max current in uA
echo 1 > $dev/button-backlight-rgb2/max_current #Max current in uA
Click to expand...
Click to collapse
Thanks for the mod.
Sent From My Neo
Code:
# Audio jack configuration
dev=/sys/devices/platform/simple_remote.0
echo 0,201,1600 > $dev/accessory_min_vals # default = 0,200,1600
echo 200,1599 > $dev/accessory_max_vals # default = 200,1600
echo 0,100,280,500,700 > $dev/button_min_vals # default = 0,100,300,600,700
echo 99,199,399,699,5000 > $dev/button_max_vals # default = 99,199,399,699,5000
echo 750 > $dev/btn_trig_period_freq # Button Period Freq(Hz) default = 512
echo 32 > $dev/btn_trig_period_time # Button Period Time(cycle) default = 16
echo 750 > $dev/btn_trig_hyst_freq # Button Hysteresis Freq(Hz) default = 512
echo 32 > $dev/btn_trig_hyst_time # Button Hysteresis Time(Cycle) default = 16
echo 750 > $dev/btn_trig_level # default = 500
# Proximity sensor configuration
dev=/sys/bus/i2c/devices/0-0054
hwid=`cat /sys/class/hwid/hwid`
case $hwid in
0x0a)
val_cycle=2
val_nburst=7
val_freq=3
val_threshold=15
val_filter=0
;;
*)
val_cycle=2
val_nburst=8
val_freq=2
val_threshold=15
val_filter=0
;;
esac
nv_param_loader 60240 prox_cal
val_calibrated=$?
case $val_calibrated in
1)
nv_param_loader 60240 threshold
val_threshold=$?
nv_param_loader 60240 rfilter
val_filter=$?
;;
esac
echo 0 > $dev/cycle # Duration Cycle. Valid range is 0 - 3.
echo 1 > $dev/nburst # Number of pulses in burst. Valid range is 0 - 15.
echo 0 > $dev/freq # Burst frequency. Valid range is 0 - 3.
echo 2 > $dev/threshold # sensor threshold. Valid range is 0 - 15 (0.12V - 0.87V)
echo 1 > $dev/filter # RFilter. Valid range is 0 - 3.
# LMU AS3676 Configuration
dev=/sys/devices/i2c-0/0-0040/leds
echo 1,65,255,24,24,5,128 > $dev/lcd-backlight/als/curve # ALS curve for group1
echo 2,0,0,0 > $dev/lcd-backlight/als/params #[gain],[filter_up],[filter_down],[offset]
echo 1 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
# TI BQ275xx firmware loader
bq275xx_fwloader
What tweaks do i make in the file to disable the sensor and Backlight ?
Th0anks
And will i be able to use Root Dim to make 100% brightness then ?
oooh great... its works for me ..... yee haa
it disabled it but the max brightness is really low now
---------- Post added at 09:03 PM ---------- Previous post was at 08:19 PM ----------
the only way to get maximum brigtness when disabeling the light sensor is by this app
worked for me..
soji89 said:
worked for me..
Click to expand...
Click to collapse
It cannot work, you won't be able to use the full brightness
and almost everybodey reports that after a few reboots it will go back to normal....
Original thread
well i have reverted back to auto... coz in sunlight it legibility is NIL :s
Has anyone experienced better battery life with this mod ?
Ive been using "Disable Auto Brightness" app and with that there is no rly better battery life.
Still good to know that there would be a different way to diasble the auto Brightness ^^
Great job
Is there any way to change the color of LED notification, I only want to change the Battery charging LED color, From yellow to deep Orange just as it was on stock condition. I know there are various apps out in the market but none of them allows changing battery charging LED color, so I was hoping there would be some script or something like that to do that.
How about changing the hw_config.sh file in syystem/etc.take a backup first, then find the line for charging light and adjust rgb to your need I guess
Regards
N
Use the method above or just use an app like Light Flow
Sent from my SK17i running Android 4.1.2
Sure that light flow allows charging light edit too?
He said he tried many apps, that why I didn't suggest it.
Regards
N
Thanks for the help guys. Yes light flow don't completely change the LED color
I tried the method you mentioned, I managed to reach system/etc/hw_config.sh and lost it
How can I find the line for charging light, there so many codes.
# Audio jack configuration
dev=/sys/devices/platform/simple_remote.0
echo 0,201,1600 > $dev/accessory_min_vals # default = 0,200,1600
echo 200,1599 > $dev/accessory_max_vals # default = 200,1600
echo 0,100,280,500,700 > $dev/button_min_vals # default = 0,100,300,600,700
echo 99,199,399,699,5000 > $dev/button_max_vals # default = 99,199,399,699,5000
echo 512 > $dev/btn_trig_period_freq # Button Period Freq(Hz) default = 512
echo 16 > $dev/btn_trig_period_time # Button Period Time(cycle) default = 16
echo 512 > $dev/btn_trig_hyst_freq # Button Hysteresis Freq(Hz) default = 512
echo 16 > $dev/btn_trig_hyst_time # Button Hysteresis Time(Cycle) default = 16
echo 500 > $dev/btn_trig_level # default = 500
# Proximity sensor configuration
dev=/sys/bus/i2c/devices/0-0054/
val_cycle=0
val_nburst=15
val_freq=0
val_threshold=1
val_filter=1
nv_param_loader 60240 prox_cal
val_calibrated=$?
case $val_calibrated in
1)
nv_param_loader 60240 threshold
val_threshold=$?
nv_param_loader 60240 rfilter
val_filter=$?
;;
esac
echo $val_cycle > $dev/cycle # Duration Cycle. Valid range is 0 - 3.
echo $val_nburst > $dev/nburst # Number of pulses in burst. Valid range is 0 - 15.
echo $val_freq > $dev/freq # Burst frequency. Valid range is 0 - 3.
echo $val_threshold > $dev/threshold # sensor threshold. Valid range is 0 - 15 (0.12V - 0.87V)
echo $val_filter > $dev/filter # RFilter. Valid range is 0 - 3.
# TI BQ275xx firmware loader
bq275xx_fwloader
Its either this file or pre hw congi in the same path or on folder above
Regards
N
Thanks again but I don't think it works on CM, I can't find no lines regarding charging LED color, I tried every file you mentioned. Guess will have to wait for CM guys to do something about it