Related
I find out that mini's menu and back keys are along with the touchscreen panel. so anyone who have this problem (menu and back key keep pressing like crazy) why because...
(*). phone get heat (not overheat even normal temp lvs) and heat sensitive capacitive touchscreen gets sensitive to that heat and do following things.
- touchpanel menu and back key keep pressing on and on (if Settings>Sound>Haptic feedback is enabled it keeps vibrating) can't do anything on phone
- If somehow disable back and menu keys (system/usr/keylayout/cyttsp_key.kl add # to key 139 and key 158) touchscreen long press and dragging not working if you use panting software and try to draw something it miss lines(keep tapping)
hw_config.sh is like following
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 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=26
val_freq=0
val_threshold=2
val_filter=0
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. 16 - 31 is a special range for smultron only (SP)
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.
# LMU AS3676 Configuration
dev=/sys/devices/i2c-0/0-0040/leds
echo 1 > $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 1,30,255,54,52,1,65 > $dev/lcd-backlight/als/curve # ALS curve display BL [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
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]
echo 2,48,0,128,128,4,10 > $dev/button-backlight-rgb2/als/curve # ALS curve key LED 2 [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 3,71,255,64,32,5,37 > $dev/red/als/curve # ALS curve RGB(red) [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 3,71,255,64,32,5,37 > $dev/green/als/curve # ALS curve RGB(green) [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 3,71,255,64,32,5,37 > $dev/blue/als/curve # ALS curve RGB(blue) [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
[B][COLOR="Red"]# Touch panel
dev=/sys/devices/platform/spi_qsd.0/spi0.0
app_id=`cat $dev/appid`
case "$app_id" in
"0x0505")
fw=touch_smultron_innolux.hex
;;
"0x0105")
fw=touch_smultron_sony.hex
;;
"0x0015")
fw=touch_smultron_sony.hex
;;
*)
fw=touch_smultron_sony.hex
;;
esac
cyttsp_fwloader -dev $dev -fw /system/etc/firmware/$fw
[/COLOR][/B]
# TI BQ275xx firmware loader
bq275xx_fwloader
I highlight the line, Touch panel drivers are
/sys/devices/platform/spi_qsd.0/spi0.0 , /system/etc/firmware/touch_smultron_sony.hex , and cyttsp_fwloader
only editable file is touch_smultron_sony.hex
in my opinion it is a Hexadecimal microcontroller machine language
can someone convert this Hex to high level language and fix above mention bugs? (many users are suffering and you could be one to help them!!!)
[touch_smultron_sony.hex](This could be Touch firmware update)
Hi Namidu,
Where are you located? I think that the official service centers have some kind of calibration fix for the touchscreen sensitivity. Check this forum out http://talk.sonyericsson.com/thread/23778?start=780&tstart=0
hope this helps
Thanks to you reply! i think someone can solve above mention bug soon (anyway i think we need experts to solve this please help me to do it)
proprg8 said:
Hi Namidu,
Where are you located? I think that the official service centers have some kind of calibration fix for the touchscreen sensitivity. Check this forum out http://talk.sonyericsson.com/thread/23778?start=780&tstart=0
hope this helps
Click to expand...
Click to collapse
Hey I Live in Sri lanka we got no SE service center, and my phone is rooted!!!
and think i am not the only one
hi, I have xperia mini and I dont have that touch button issue, what if I extract my touch drivers for you and you install them on your phone, would this help you guys?
I dont know how to extract files, but my phone is rooted, you guys have to teach me how to extract. I m always happy to help
metalrawk said:
hi, I have xperia mini and I dont have that touch button issue, what if I extract my touch drivers for you and you install them on your phone, would this help you guys?
I dont know how to extract files, but my phone is rooted, you guys have to teach me how to extract. I m always happy to help
Click to expand...
Click to collapse
That wouldn't be the problem as all devices are shipped with same software, so you would be overwriting the same files.
metalrawk said:
hi, I have xperia mini and I dont have that touch button issue, what if I extract my touch drivers for you and you install them on your phone, would this help you guys?
I dont know how to extract files, but my phone is rooted, you guys have to teach me how to extract. I m always happy to help
Click to expand...
Click to collapse
That helps i think, but if you got that calibration fix it would be better.
1 . Download ADB interface for Windows.
2. go to DOS (type cmd in run) unzip 7z file to C:\
3. Plug your phone to PC and turn on USB Debugging and turn phone to Memorycard mod(MSC).
3. in dos command prompt type C:\tools
4. this command will pull files from your phone to computer
adb pull /system/etc/firmware/touch_smultron_sony.hex c:\touch_drivers/touch_smultron_sony.hex
Click to expand...
Click to collapse
and to copy hw_config.sh
adb pull etc/hw_config.sh c:\touch_drivers/hw_config.sh
Click to expand...
Click to collapse
And Upload Those Files!!!
metalrawk said:
hi, I have xperia mini and I dont have that touch button issue, what if I extract my touch drivers for you and you install them on your phone, would this help you guys?
I dont know how to extract files, but my phone is rooted, you guys have to teach me how to extract. I m always happy to help
Click to expand...
Click to collapse
@metalrawk: If the above method posted bay Namidu does not work fo you, just use any root file manager (like free app File Expert, with root explorer enabled) and copy those files from the phone internal storage, to your sd card. Then it will be easy to copy this two files (touch_smultron_sony.hex and hw_config.sh) to your computer and to upload them here.
thats it? i knew how to simply copy from system
btw here is hex file- http://db.tt/Nl3QeESz
and tell me where is hw_config,sh located. I dont know its path.
---------- Post added at 12:31 PM ---------- Previous post was at 12:29 PM ----------
and anyone tried SE15e .58 firmware on ST15i?
that might solve your problem
metalrawk said:
thats it? i knew how to simply copy from system
btw here is hex file- http://db.tt/Nl3QeESz
and tell me where is hw_config,sh located. I dont know its path.
---------- Post added at 12:31 PM ---------- Previous post was at 12:29 PM ----------
and anyone tried SE15e .58 firmware on ST15i?
that might solve your problem
Click to expand...
Click to collapse
Thanks metalrawk! I will try to use your hex file, to see if it is any diference. What's the firmware version on your phone? I have the firmware version 4.0.2.A.0.42. There is a newer one?
latest firmware for ST15 is 4.0.2.A.42 but SE released 4.0.2.A.58 (newer) for SE15e model which is same as ST15i and used in Japan.
some users flashed that FW in their ST15i and reported that it works.
metalrawk said:
thats it? i knew how to simply copy from system
btw here is hex file- http://db.tt/Nl3QeESz
and tell me where is hw_config,sh located. I dont know its path.
---------- Post added at 12:31 PM ---------- Previous post was at 12:29 PM ----------
and anyone tried SE15e .58 firmware on ST15i?
that might solve your problem
Click to expand...
Click to collapse
its on etc/hw_config.sh and thank you for your help!!
metalrawk said:
latest firmware for ST15 is 4.0.2.A.42 but SE released 4.0.2.A.58 (newer) for SE15e model which is same as ST15i and used in Japan.
some users flashed that FW in their ST15i and reported that it works.
Click to expand...
Click to collapse
I will Try that too friend
On my ST15i the file touch_smultron_sony.hex it's identical with the one posted by metalrawk. Maybe the hw_config.sh will have something diferent to help fixing this capacitive buttons problem...
deejay4angels said:
On my ST15i the file touch_smultron_sony.hex it's identical with the one posted by metalrawk. Maybe the hw_config.sh will have something diferent to help fixing this capacitive buttons problem...
Click to expand...
Click to collapse
Ya me too!
it is same 100%
a new firmware (.62) for S51se (japanese xperia mini) is just released on wotanserver, flash it in ST15i
metalrawk said:
a new firmware (.62) for S51se (japanese xperia mini) is just released on wotanserver, flash it in ST15i
Click to expand...
Click to collapse
Thanks for your help metalrawk.
Anyway, i've just tried both firmwares 4.0.2.A.0.58 and 4.0.2.A.0.61 from wotanserver and there is no change about this capacitive buttons - the problem it's the same: after the temperature goes above 34-35 Celsius degrees, the phone goes crazy beacause the Home and Back buttons starts activating on it's own.
Please upload the hw_config file from your phone so i can do more tests. It is located at the etc folder on your phone internal storage.
This problem can be fixed at a Sony Ericsson Center by doing a software calibration, so i think it's something that can be located in the system files...
http://db.tt/1bDIjTvA here you go
metalrawk said:
http://db.tt/1bDIjTvA here you go
Click to expand...
Click to collapse
Thanks, metalrawk.
Unfortunately, again the file it's identical and with the same MD5 as the one from my phone... And the people from Sony Ericsson they don't want to share their calibaration software, they are doing it only if you give them the phone...
they dont have the calibration sofware, my friend works at sony ericsson service center, when I bought my ST15i, it was having same problem so I gave it to my friend, he said that he will calibrate it on SE website, you need a service center technician account to access that page, but I refused to let him calibrate my phone and asked for replacement certificate instead. he gave me the certificate and took that faulty handset, I gave that certificate to the store and they gave me a new ST15i
I have xperia ray , and recently i used many cyanogenmod versions , fxp045 to fxp054
I have unlocked bootloaders with s1tool
but with cyanogenmod i have brightness issue , whenever i set brightness and lock my device ,after opening lock brightness reduces automatically
it is damn low & irritating , i dont know why other peoples are not complaining about this issue
EDIT : I got solution = http://forum.xda-developers.com/showthread.php?t=1445546
please help help help help, i really want to use Cyanogenmod
xperia ray said:
I have xperia ray , and recently i used many cyanogenmod versions , fxp045 to fxp054
I have unlocked bootloaders with s1tool
but with cyanogenmod i have brightness issue , whenever i set brightness and lock my device ,after opening lock brightness reduces automatically
it is damn low & irritating , i dont know why other peoples are not complaining about this issue
please help help help help, i really want to use Cyanogenmod
Click to expand...
Click to collapse
Adjust or set the brightness manually until the problem is resolved
first i am very thankful to you for reply , you are totally awesome , again thanks for joining xpiera ray forum (i have seen all your posts , so helpful)
I have tried , but still not working
Lemme explore it
Once i have CM7 installed , i go to settings and set brightness to full
then use my device it works good
After i lock it and open it again i find brightness it reduced to half
i go to settings and check it , it shows brightness is set to full but in reality it is not
is there any problem with my bootloader unlocking method ?
xperia ray said:
first i am very thankful to you for reply , you are totally awesome , again thanks for joining xpiera ray forum (i have seen all your posts , so helpful)
I have tried , but still not working
Lemme explore it
Once i have CM7 installed , i go to settings and set brightness to full
then use my device it works good
After i lock it and open it again i find brightness it reduced to half
i go to settings and check it , it shows brightness is set to full but in reality it is not
is there any problem with my bootloader unlocking method ?
Click to expand...
Click to collapse
It may be a problem with cm7, have you asked in the cm7 thread ?
The brightness works on my the miui roms
Not sure why it doesnt on cm7 so may be rom specific so report on that thread and see if you get any feedback. it may be a known bug
one more question chiefy009 , which miui is best for ray?
and is overclocking not harmful and much battery consuming
Planing to shift on miui
xperia ray said:
one more question chiefy009 , which miui is best for ray?
and is overclocking not harmful and much battery consuming
Planing to shift on miui
Click to expand...
Click to collapse
My miui has tweaks for smoothness and extended settings but try them all.
Overclocking does use battery so undervolt as well, undervolting is trial and error to see if your phone remains stable
Overclocking to high could damage the phone if used over a prolonged period of time I would imagine but a quick google search will get you more info
sent from my gorgeus Xperia Ray
i solved this problem
i used this thread http://forum.xda-developers.com/showthread.php?t=1377125
change the same part in hw_config.sh(inside system/etc)
to:
# LMU AS3676 Configuration
dev=/sys/devices/i2c-0/0-0040/leds/
echo 0,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
echo 12900 > $dev/torch/max_current
xutienan9520 said:
i solved this problem
i used this thread http://forum.xda-developers.com/showthread.php?t=1377125
change the same part in hw_config.sh(inside system/etc)
to:
# LMU AS3676 Configuration
dev=/sys/devices/i2c-0/0-0040/leds/
echo 0,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
echo 12900 > $dev/torch/max_current
Click to expand...
Click to collapse
Not working
f**k cyanogenmod
As far as I know you have to change "echo 0,0,0,0" to "echo 3,2,2,0"
xperia ray said:
Not working
Click to expand...
Click to collapse
aaaaaaaaaaa.........mine is working........
xperia ray said:
I have xperia ray , and recently i used many cyanogenmod versions , fxp045 to fxp054
I have unlocked bootloaders with s1tool
but with cyanogenmod i have brightness issue , whenever i set brightness and lock my device ,after opening lock brightness reduces automatically
it is damn low & irritating , i dont know why other peoples are not complaining about this issue
please help help help help, i really want to use Cyanogenmod
Click to expand...
Click to collapse
i had this problem to solved using this guide! if is not working with the file edit, use the als_curve.ini (backup first)
I have this in CM 7
# 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
echo 450 > $dev/button-backlight/max_current
Last time i changed the whole code , now i think i have to only change
echo 2,0,0,0 TO echo 0,0,0,0
right ?
i replaced lights.semc.so with stock lights.semc.so file , in system/lib/hw
brightness works but only problem is LED light always turn on , in pink color
xperia ray said:
i replaced lights.semc.so with stock lights.semc.so file , in system/lib/hw
brightness works but only problem is LED light always turn on , in pink color
Click to expand...
Click to collapse
That's right, only change the "echo x,x,x,x" phrase.
I tried "echo 3,2,2,0" and "echo 1.5,1,0.5,0 30h". I dont realy know what these parameters exaktly mean, but "echo 1.5,1,0.5,0 30h" works fine on my ray.
You also can change your als_curve.ini in system/etc.
brightness works but only problem is LED light always turn on , in pink color
Click to expand...
Click to collapse
Do you mean the flash LED on the back? And does it keep the brightness you set before you locked?
xperia ray said:
I have this in CM 7
# 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
echo 450 > $dev/button-backlight/max_current
Last time i changed the whole code , now i think i have to only change
echo 2,0,0,0 TO echo 0,0,0,0
right ?
Click to expand...
Click to collapse
1,65,255,24,24,5,128 to 0.0.0.0.0.0.0
i think i wrote it wrong, sorry
klpp said:
Do you mean the flash LED on the back? And does it keep the brightness you set before you locked?
Click to expand...
Click to collapse
no it is LED of home key , notification indicator in other words
1,65,255,24,24,5,128 to 0.0.0.0.0.0.0
i think i wrote it wrong, sorry
Click to expand...
Click to collapse
Hello xutienan9520,
could you please explain me the difference between
"echo x.x.x.x" and "echo x.x.x.x.x.x.x", i`m noob as f**k.
And what kind of effect does "echo 0.0.0.0.0.0.0" have to your brightness?
klpp said:
Hello xutienan9520,
could you please explain me the difference between
"echo x.x.x.x" and "echo x.x.x.x.x.x.x", i`m noob as f**k.
And what kind of effect does "echo 0.0.0.0.0.0.0" have to your brightness?
Click to expand...
Click to collapse
i also dont know about this , changing above echo to 0,0,0,0,0,0,0 fixed my issue
Change this
# 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
echo 450 > $dev/button-backlight/max_current
TO
# LMU AS3676 Configuration
dev=/sys/devices/i2c-0/0-0040/leds
echo 0,0,0,0,0,0,0 > $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
echo 450 > $dev/button-backlight/max_current
Uhh
If i come back from lockscreen it's still do dark...i use exactly your settings.
I just want the brightness i set in my displaysttings.
[Hack/Mod] Save Battery with Disabling Button Backlight on Xperia Neo & other Phones
Supported Devices:
Xperia arc and arc S
- .587
- .431
-. 4.0.3
- GB
Xperia Ray
- .587
- .431
-. 4.0.3
- GB
Xperia Neo/V
- .587
- .431
-. 4.0.3
- GB
And Maybe More
What?
Disabling Button Backlight for Battery Saving and Light Life
How?
1. Mount /system as Read and Write
2. Go To /sys/class/leds/button-backlight and change brightness and max_current to "1".
3. Go To /system/etc/hw_config and scroll down a bit. Now Change max_current to "1", too.
4. Reboot. Buttons Light will not light up anymore.
About the Attached File - just extract Disable/enable.zip to sys and than change hw_config.
For Disabling Just change hw_config ---> max_current to 455. ---> Download
[highlight]Hit Thanks is appreciated. It took about 1h to explorer that "Hack". Dont tell me thanks good work - I know that - just use the Thanks button it counts more. Thanks![/highlight]
jader13254 said:
How?
1. Mount /system as Read and Write
2. Go To /sys/class/leds/button-backlight and change brightness and max_current to "1".
3. Go To /system/etc/hw_config and scroll down a bit. Now Change max_current to "1", too.
4. Reboot. Buttons Light will not light up anymore.
Click to expand...
Click to collapse
In step 2, my file structure is
/sys/class/leds then i have more folder called blue...button-backlight-rgb1....button-backlight-rgb 2...green...lcd-backlight and red.
There are no files, just those folders...
[Root explorer force closes when i try to open them]
Pureness build 13 rom, alliance kernel
Suranjan16049 said:
+1
Click to expand...
Click to collapse
Just Try to change in hw config
Sent from my LT18i using xda app-developers app
What to edit?
Code:
LMU AS3676 Configuration
dev=/sys/devices/i2c-0/0-0040/leds
echo 1,40,255,35,35,1,100 > $dev/lcd-backlight/als/curve # ALS curve display BL [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 2,85,0,128,128,200,201 > $dev/button-backlight-rgb1/als/curve # ALS curve key LED 1 [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 2,85,0,128,128,200,201 > $dev/button-backlight-rgb2/als/curve # ALS curve key LED 2 [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 3,100,255,21,21,10,100 > $dev/red/als/curve # ALS curve RGB(red) [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 3,100,255,21,21,10,100 > $dev/green/als/curve # ALS curve RGB(green) [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 3,100,255,21,21,10,100 > $dev/blue/als/curve # ALS curve RGB(blue) [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 1,2,2,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
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
echo 900 > $dev/button-backlight-rgb1/max_current #Max current in uA
echo 900 > $dev/button-backlight-rgb2/max_current #Max current in uA
# TI BQ275xx firmware loader
bq275xx_fwloader
It may be that 4.0.4 ICS is not compatable with this mod, but thanks for the share
Sent from my MT15i using xda premium
Is it really save a battery...
Because I think this backlight not use as much power of battery...
Sent from my MT11i using xda app-developers app
Neo V has two button backlight, so if you own a Neo V, or if you are using a rom like pureness (which developer has neo V)...you will find these settings rgb1 and rgb2.
I have a Neo, but I use pureness so I must edit both.
So, go to
Go To /sys/class/leds/button-backlight-rgb1 and change brightness to 0 and max_current to "1". Do the same in the folder "button-backlight-rgb2.
Then Go To /system/etc/hw_config.sh and scroll down all the text. In the last block you have (not directly in order):
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
change to
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
then under some lines get
echo 900 > $dev/button-backlight-rgb1/max_current #Max current in uA
echo 900 > $dev/button-backlight-rgb2/max_current #Max current in uA
change to
echo 1 > $dev/button-backlight-rgb1/max_current #Max current in uA
echo 1 > $dev/button-backlight-rgb2/max_current #Max current in uA
-------------------------------------------------------------------------
@jader13254: was this thread on another section? I remember I posted somewhere... anyway I tried to suggest your mod to ThilinaC more times, but he seemed not to hear me... are there any bad consequences from this mod?
And what about battery life?
Extended for 15 min?
mati865 said:
And what about battery life?
Extended for 15 min?
Click to expand...
Click to collapse
Yes Maybe 5% Now That is Something
Sent from my LT18i using xda app-developers app
I'm using init.d script instead of editing the hw_config. When u want to enable it later on, just delete the script. Works on my I-Scream 587. Also works on my friend's arc s, but need to edit it a bit.
But the concept is mostly the same.
Code:
#!/system/bin/sh
#added by emannxperia on 19 Sept 2012
if [ -e /sys/class/leds/button-backlight-rgb1/brightness ]; then
echo "1" > /sys/class/leds/button-backlight-rgb1/brightness
fi
if [ -e /sys/class/leds/button-backlight-rgb1/max_current ]; then
echo "1" > /sys/class/leds/button-backlight-rgb1/max_current
fi
if [ -e /sys/class/leds/button-backlight-rgb2/brightness ]; then
echo "1" > /sys/class/leds/button-backlight-rgb2/brightness
fi
if [ -e /sys/class/leds/button-backlight-rgb2/max_current ]; then
echo "1" > /sys/class/leds/button-backlight-rgb2/max_current
fi
it worked Thanks
neo v cm 9
I think the backlight is quite useful too to disable it.
However may I know if there is any way to disable Home key during sleep mode? To wake the phone, simply just press the Power key at the side.
I hate to see my phone always accidentally turned on when I put it in my pocket (somehow because of wearing tight jeans, Home key can be accidentally pressed).
Thanks
jeopardise said:
I think the backlight is quite useful too to disable it.
However may I know if there is any way to disable Home key during sleep mode? To wake the phone, simply just press the Power key at the side.
I hate to see my phone always accidentally turned on when I put it in my pocket (somehow because of wearing tight jeans, Home key can be accidentally pressed).
Thanks
Click to expand...
Click to collapse
+1 Thats why my battery drains in my jeans
Sent from my LT18i using xda app-developers app
jeopardise said:
I think the backlight is quite useful too to disable it.
Thanks
Click to expand...
Click to collapse
Why? It lights only when the screen is on...or not?
Is the backlight really signficative for the battery economy?
jader13254 said:
Supported Devices:
Xperia arc and arc S
- .587
- .431
-. 4.0.3
- GB
Xperia Ray
- .587
- .431
-. 4.0.3
- GB
Xperia Neo/V
- .587
- .431
-. 4.0.3
- GB
And Maybe More
What?
Disabling Button Backlight for Battery Saving and Light Life
How?
1. Mount /system as Read and Write
2. Go To /sys/class/leds/button-backlight and change brightness and max_current to "1".
3. Go To /system/etc/hw_config and scroll down a bit. Now Change max_current to "1", too.
4. Reboot. Buttons Light will not light up anymore.
About the Attached File - just extract Disable/enable.zip to sys and than change hw_config.
For Disabling Just change hw_config ---> max_current to 455. ---> Download
[highlight]Hit Thanks is appreciated. It took about 1h to explorer that "Hack". Dont tell me thanks good work - I know that - just use the Thanks button it counts more. Thanks![/highlight]
Click to expand...
Click to collapse
neo v paranoid_android cm10 based lupus kernel
mod/ works on my neo v. thanks. i hope it save a lot of my battery.
EDIT: apparently whenever i restart my phone sys/class/button-backlight files revert back to its original state. im using es file explorer.
I´m beginer and I don't understand:
1. Mount /system as Read and Write
I have to do this in the CWD Recovery or with some root app.
I have CM9 FXP202 ROM
Thank you
jader13254 said:
Supported Devices:
Xperia arc and arc S
- .587
- .431
-. 4.0.3
- GB
Xperia Ray
- .587
- .431
-. 4.0.3
- GB
Xperia Neo/V
- .587
- .431
-. 4.0.3
- GB
And Maybe More
What?
Disabling Button Backlight for Battery Saving and Light Life
How?
1. Mount /system as Read and Write
2. Go To /sys/class/leds/button-backlight and change brightness and max_current to "1".
3. Go To /system/etc/hw_config and scroll down a bit. Now Change max_current to "1", too.
4. Reboot. Buttons Light will not light up anymore.
About the Attached File - just extract Disable/enable.zip to sys and than change hw_config.
For Disabling Just change hw_config ---> max_current to 455. ---> Download
[highlight]Hit Thanks is appreciated. It took about 1h to explorer that "Hack". Dont tell me thanks good work - I know that - just use the Thanks button it counts more. Thanks![/highlight]
Click to expand...
Click to collapse
---------- Post added at 09:56 AM ---------- Previous post was at 09:40 AM ----------
Ok, I think that to do it, I have tobuy and use Root Explorer, isn't it?
Re: [Hack/Mod] Save Battery with Disabling Button Backlight on Xperia Neo & other Pho
You can try Root browser lite! Or else you can use Notepad ++ on pc for editing!
Sent from my MT11i using xda premium
Ok, I will use Root browser lite.
SquallDNA said:
EDIT: apparently whenever i restart my phone sys/class/button-backlight files revert back to its original state. im using es file explorer.
Click to expand...
Click to collapse
Did you figure out a work around? I'm having the same trouble.
---------- Post added at 09:14 AM ---------- Previous post was at 09:09 AM ----------
eljuanen said:
I´m beginer and I don't understand:
1. Mount /system as Read and Write
Click to expand...
Click to collapse
Just root app. You can use 'Es File Explorer' App. Change settings to enable superuser. (Device must be rooted)
Go to Settings>Root Settings>
Check 'Root Explorer' and 'Mount File System'
then follow jaders steps listed above
Re: [Hack/Mod] Save Battery with Disabling Button Backlight on Xperia Neo & other Pho
Hi Jader...Do we hav this mod attached in ultimateHd3..? Or I hav to do it my self..cause m using Uhd..
Sent from my MT11i
Use at your own risk, i am not responsible for anything happening to your device
What it does
This flashable zip turns your button backlight off permanantly.
it just changes your hw_config.sh file to disable backlight.
Steps
for your own safety please make a backup, in case something happens.
reboot into cwm
flash the zip
Downloads for bbl disabler.
active
lww
mini
mini pro
ray
If u want to get the light back,
active
lww
mini
mini pro
ray
in case it didn't work, edit your hw_config file found in system/etc
find this line: echo 1 > $dev/button-backlight/max_current
and set it to
Active: echo 8000 > $dev/button-backlight/max_current
lww: echo 1500 > $dev/button-backlight/max_current
mini pro: echo 500 > $dev/button-backlight/max_current
ray: echo 50 > $dev/button-backlight/max_current
for mini find these two lines
echo 1 > $dev/button-backlight-rgb1/max_current
echo 1 > $dev/button-backlight-rgb2/max_current
change to
echo 8000 > $dev/button-backlight-rgb1/max_current
echo 8000 > $dev/button-backlight-rgb2/max_current
okay
I have an easier way
put it in init.d
Code:
echo 1 > /sys/class/leds/button-backlight-rgb1/max_current;
echo 1 > /sys/class/leds/button-backlight-rgb2/max_current;
Re: Testers for button backlight disabler
Gustavo RD78 said:
okay
I have an easier way
put it in init.d
Code:
echo 1 > /sys/class/leds/button-backlight-rgb1/max_current;
echo 1 > /sys/class/leds/button-backlight-rgb2/max_current;
Click to expand...
Click to collapse
Add it at the last or change something??
Edit: I get a feeling u use a mini(others dont have 2 button backlights rgb1 and rgb2)
Don't forget to hit thanks
Add the lines in a script that you already have or add this script :good:
Note: this is not a flash zip
Gustavo RD78 said:
Add the lines in a script that you already have or add this script :good:
Note: this is not a flash zip
Click to expand...
Click to collapse
thanks for the info and the file
but..i still think mine's easier, just a simple flash when you flash a new rom
could you please try it and confirm it works?
thanks
While Browsing the Neo\Neo V forum
i noticed several posts
asking about how to disable button backlight
specially in JB 4.2.2 threads
so i decided to create a tutorial to help you people solve this problem
PREREQUISITE
1. A Phone :laugh:
2. Root Explorer
3. Brain(most essential) :silly:
PROCEDURE
1. Start your phone
2. Open Root Explorer
3. Goto Root\system\etc
4. Open hw_config.sh
5. Scroll Down to the Last line and add these lines after it.(in the line after last line)
6. # Button Backlight Configuration
7. echo 1 > $dev/button-backlight/max_current
8. Save the file
9. Restart your phone
10. Enjoy
Hit Thanks
Nice guide, you can do this without Root Explorer too, using the default CM File Manager with enabled root access
mikeioannina said:
Nice guide, you can do this without Root Explorer too, using the default CM File Manager with enabled root access
Click to expand...
Click to collapse
by root explorer i mean any file explorer with root access
not the root explorer app
avinashrocks1990 said:
by root explorer i mean any file explorer with root access
not the root explorer app
Click to expand...
Click to collapse
Ok then. I added a link to this guide in the first post in my cm10.1 thread.
avinashrocks1990 said:
While Browsing the Neo\Neo V forum
i noticed several posts
asking about how to disable button backlight
specially in JB 4.2.2 threads
so i decided to create a tutorial to help you people solve this problem
PREREQUISITE
1. A Phone :laugh:
2. Root Explorer
3. Brain(most essential) :silly:
PROCEDURE
1. Start your phone
2. Open Root Explorer
3. Goto Root\system\etc
4. Open hw_config.sh
5. Scroll Down to the Last line and add these lines after it.(in the line after last line)
6. # Button Backlight Configuration
7. echo 1 > $dev/button-backlight/max_current
8. Save the file
9. Restart your phone
10. Enjoy
Hit Thanks
Click to expand...
Click to collapse
now the hw.confiq.sh changed look and tell me how can you change the values that you said
see
default
at neo v
# LMU AS3676 Configuration
dev=/sys/devices/i2c-0/0-0040/leds
echo 900 > $dev/button-backlight-rgb1/max_current #Max current in uA
echo 900 > $dev/button-backlight-rgb2/max_current #Max current in uA
besttt said:
now the hw.confiq.sh changed look and tell me how can you change the values that you said
see
default
at neo v
# LMU AS3676 Configuration
dev=/sys/devices/i2c-0/0-0040/leds
echo 900 > $dev/button-backlight-rgb1/max_current #Max current in uA
echo 900 > $dev/button-backlight-rgb2/max_current #Max current in uA
Click to expand...
Click to collapse
no need to edit those lines
just add the lines i have said in the end
and it will work
@besttt
logcat google talk fc
avinashrocks1990 said:
While Browsing the Neo\Neo V forum
i noticed several posts
asking about how to disable button backlight
specially in JB 4.2.2 threads
so i decided to create a tutorial to help you people solve this problem
PREREQUISITE
1. A Phone :laugh:
2. Root Explorer
3. Brain(most essential) :silly:
PROCEDURE
1. Start your phone
2. Open Root Explorer
3. Goto Root\system\etc
4. Open hw_config.sh
5. Scroll Down to the Last line and add these lines after it.(in the line after last line)
6. # Button Backlight Configuration
7. echo 1 > $dev/button-backlight/max_current
8. Save the file
9. Restart your phone
10. Enjoy
Hit Thanks
Click to expand...
Click to collapse
Sent from my MT11i using xda premium
Nice but its already excist in Xperia Arc forum by @jader13254
:::[ Pandemic Quote.:: Im The Godfather Of St Octane TF Packs !!
Press Thanks If You Like My Work/Advice !!!
Pandemic said:
Nice but its already excist in Xperia Arc forum by @jader13254
:::[ Pandemic Quote.:: Im The Godfather Of St Octane TF Packs !!
Press Thanks If You Like My Work/Advice !!!
Click to expand...
Click to collapse
It's okay I didn't knew that
And it was necessary because the forum was flooded by post asking about how to disable the button backlight
Sent from my Xperia Neo V using Tapatalk 2
But it does not work on GB.
mlotek01 said:
But it does not work on GB.
Click to expand...
Click to collapse
post your hw_config.sh
# 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,770 > $dev/button_min_vals # default = 0,100,300,600,700
echo 99,199,470,769,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=1
val_freq=0
val_threshold=4
val_filter=0
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.
# LMU AS3676 Configuration
dev=/sys/devices/i2c-0/0-0040/leds
echo 1,40,255,35,35,1,100 > $dev/lcd-backlight/als/curve # ALS curve display BL [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 2,85,0,128,128,200,201 > $dev/button-backlight-rgb1/als/curve # ALS curve key LED 1 [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 2,85,0,128,128,200,201 > $dev/button-backlight-rgb2/als/curve # ALS curve key LED 2 [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 3,100,255,21,21,10,100 > $dev/red/als/curve # ALS curve RGB(red) [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 3,100,255,21,21,10,100 > $dev/green/als/curve # ALS curve RGB(green) [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 3,100,255,21,21,10,100 > $dev/blue/als/curve # ALS curve RGB(blue) [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 1,2,2,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
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
echo 900 > $dev/button-backlight-rgb1/max_current #Max current in uA
echo 900 > $dev/button-backlight-rgb2/max_current #Max current in uA
# TI BQ275xx firmware loader
bq275xx_fwloader
echo 1 > $dev/button-backlight/max_current
It's better to attach text page instead huge post..
The lamps do not light up when buttons are pressed and I have removed the line in the file. Thank you for helping me
Envoyé depuis mon Super Arc à flèche nommé Arc S.
on CM10 works perfect.
@avinash thanks for reply in my pm..is it possible that keylight could be kernel related? Because when I use the old pacman 4.2.2 kernel by shardul, the keylight is gone. When I used the pacman nAa-03 based kernel inside rom zip the keylight is present..I already PM you the download link for pacman 4.2.2 nightly build for 2011 Xperia..maybe you can test the rom for your device, its working good..
For me Linus Torvalds is the greatest man on earth
bitoyz13 said:
@avinash thanks for reply in my pm..is it possible that keylight could be kernel related? Because when I use the old pacman 4.2.2 kernel by shardul, the keylight is gone. When I used the pacman nAa-03 based kernel inside rom zip the keylight is present..I already PM you the download link for pacman 4.2.2 nightly build for 2011 Xperia..maybe you can test the rom for your device, its working good..
For me Linus Torvalds is the greatest man on earth
Click to expand...
Click to collapse
no bro
keylight has nothing to do with kernel
they are two separate builds that you are using although they are based on similar source code
the hw_config.sh isn't modified in the link that you pm me
just edit the hw_config.sh your problem will be solved
it's not a big deal
The operation failed
Gaks said:
The operation failed
Click to expand...
Click to collapse
Its your file explorer's problem
Sent from my Xperia Neo V using Tapatalk 4 Beta