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!
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)
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
So we are all anoyed by the auto brightness in xperia devices.Well i thought a solution in xperia mini!
in you hw_config located in etc folder delete the lines which start with # LMU...until...[X2 dont touch the next line which is the
touch panel !!! so there paste this
# LMU AS3676 Configuration
dev=/sys/devices/i2c-0/0-0040/leds
echo 0 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
echo 3,2,2,0 > $dev/lcd-backlight/als/params #[gain],[filter_up],[filter_down],[offset]
echo 8000 > $dev/button-backlight-rgb1/max_current
echo 8000 > $dev/button-backlight-rgb2/max_current
echo 2,48,0,128,128,4,10 > $dev/button-backlight-rgb1/als/curve # ALS curve key LED 1 [grp],[Y0],[Y3],[K1],[K2],[X1],[X2
remember this all process must be done with brightness at full and in a light rom so the brightness will be at maximum
if you are bored to do that just replace the hw_config with this that i will upload!!
WARNING: DO IT AT YOUR OWN RISK IF YOU BRICK YOUR DEVICE AND POINT ME I WILL LAUGH AT YOU
TESTED WITH MY DEVICE ST15i
Its work on LWW ?
Sent from my WT19i using xda premium
Waiting to see some feedback.
after replacing hw_config file "auto brightness" on my XM stock is off
cant understand what you are talking about?
Will it work on cm7.2?
I am using this setting.
echo "0,1,4,6,13,15" > /sys/module/lowmemorykiller/parameters/adj
echo "4000,5000,6000,10000,15000,20000" > /sys/module/lowmemorykiller/parameters/minfree
I see other members using 1000,2000,... or lower for minfree.
If I use my value for my neo, firefox closes when I load some image heavy page.
If I use lower value for my neo, it reboots in the same situation.
It is pretty strange. Please give some advises.
p.s. my vm.min_free_kbytes is 4096, related?
For stable use system use and low battery drain
echo 0 > /proc/sys/vm/oom_kill_allocating_task
echo 1 > /proc/sys/vm/vfs_cache_pressure
echo 95 > /proc/sys/vm/dirty_ratio
echo 80 > /proc/sys/vm/dirty_background_ratio
echo 0 > /proc/sys/vm/block_dump
echo 1 > /proc/sys/vm/overcommit_memory
echo 80 > /proc/sys/vm/overcommit_ratio
echo 3 > /proc/sys/vm/page-cluster
echo 0 > /proc/sys/vm/panic_on_oom
echo 0 > /proc/sys/vm/dirty_expire_centisecs
echo 0 > /proc/sys/vm/dirty_writeback_centisecs
echo "10" > /proc/sys/fs/lease-break-time
echo 3 > /proc/sys/vm/drop_caches
Click to expand...
Click to collapse
for performance
echo 1 > /proc/sys/vm/oom_kill_allocating_task
echo 100 > /proc/sys/vm/vfs_cache_pressure
echo 10 > /proc/sys/vm/dirty_ratio
echo 4 > /proc/sys/vm/dirty_background_ratio
echo 0 > /proc/sys/vm/block_dump
echo 1 > /proc/sys/vm/overcommit_memory
echo 100 > /proc/sys/vm/overcommit_ratio
echo 3 > /proc/sys/vm/page-cluster
echo 0 > /proc/sys/vm/panic_on_oom
echo 3000 > /proc/sys/vm/dirty_expire_centisecs
echo 1000 > /proc/sys/vm/dirty_writeback_centisecs
echo "10" > /proc/sys/fs/lease-break-time
echo 3 > /proc/sys/vm/drop_caches
echo "256,512,4096,11120,25360,33300" > /sys/module/lowmemorykiller/parameters/minfree
Click to expand...
Click to collapse
you can copy this to file without extention end run into terminal/shell exec sh path_to_your_file
try this and give me a feedback. On rom i use it's give a very good scores
invidian1 said:
For stable use system use and low battery drain
for performance
you can copy this to file without extention end run into terminal/shell exec sh path_to_your_file
try this and give me a feedback. On rom i use it's give a very good scores
Click to expand...
Click to collapse
Can we make a file and put this init.d folder??
Sent from my MT11i using xda premium
vishal_android freak said:
Can we make a file and put this init.d folder??
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
Of course, plese I added smartassv2 setting to this scripts too. But they will not work if you didn't choose smartassv2 as Your Governor. Delete ".txt" and push one of them to init.d folder.
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