Problem Button Backligh witch codename 9.3 no light - Sony Ericsson Xperia Neo, Pro

hi guys, sorry for my English.
I have installed the codename 9.3 and since I have not installed this light in the buttons (the two middle stripes)
probe to this thread
http://forum.xda-developers.com/showthread.php?t=1695362
and modifying thousand times hw_configh.sh and this tutorial
Below procedure actually work for me on my XPERIA Neo V (MT11i) with codename 9 ROM
XPERIA Neo V has two backlight behind home buttons one coded as rgb1 and other as rgb2 I'm going to disable both
1. This step will persist the values after reboot and completely disable the LED backlights
Go to folder /etc
Open file hw_config.sh
2. Go to line "echo 1 > $dev/button-backlight-rgb-1/als/enable"
Change echo to 0 like "echo 0 > $dev/button-backlight-rgb-1/als/enable"
3. Go to line "echo 1 > $dev/button-backlight-rgb-2/als/enable"
Change echo to 0 like "echo 0 > $dev/button-backlight-rgb-2/als/enable"
4. Now Go to line "echo 900 > $dev/button-backlight-rgb1/maxcurrent"
Change echo to 1 like "echo 1 > $dev/button-backlight-rgb-1/maxcurrent"
5. Now Go to line "echo 900 > $dev/button-backlight-rgb2/maxcurrent"
Change echo to 1 like "echo 1 > $dev/button-backlight-rgb-2/maxcurrent"
in folders button-backlight-rgb1 and 2
modify the brightness to 255 and reset back to 0 not to do

Just delete "20disable-button-backlight" in init.d folder & reboot. No need to edit hw_config.sh, quite easy.
Also, this thread please. No need to open new thread with the same topic.

works! but when lock screen no longer works. Back to work temporarily to adjust the screen brightness, I think it has something to do with the automatic brightness

works! but when lock screen no longer works. Back to work temporarily to adjust the screen brightness, I think it has something to do with the automatic brightness

Related

CyanogenMod , MIUI brightness Issue

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

[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

button backlight disabler

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

[Q] Proximity sensor sensitivity

As i keep ending calls unwillingly:
Is there a way to change the sensitivity for the proximity sensor?
Anybody have the same problem?
Using the test in "Xperia Diagnostics" the proximity sensor on my Xperia U on latest FXP is turning on/off at about 15mm, which is a bit too little. When i do the test holding the phone to my ear, there is no constant vibration but turning on and off, which happens during calls too, i guess...
Thanks for any input..
PS:
my ears are quite normal, if some are wondering
raha16 said:
As i keep ending calls unwillingly:
Is there a way to change the sensitivity for the proximity sensor?
Anybody have the same problem?
Using the test in "Xperia Diagnostics" the proximity sensor on my Xperia U on latest FXP is turning on/off at about 15mm, which is a bit too little. When i do the test holding the phone to my ear, there is no constant vibration but turning on and off, which happens during calls too, i guess...
Thanks for any input..
PS:
my ears are quite normal, if some are wondering
Click to expand...
Click to collapse
What build? Cause i got this with FXP 209, and not on any other build...
mirost1 said:
What build? Cause i got this with FXP 209, and not on any other build...
Click to expand...
Click to collapse
i had this problem with 209 and have it in 211 also...
raha16 said:
i had this problem with 209 and have it in 211 also...
Click to expand...
Click to collapse
May be its a common problem for new builds, cause now i am using 206a and have no probs with that.
mirost1 said:
May be its a common problem for new builds, cause now i am using 206a and have no probs with that.
Click to expand...
Click to collapse
I'm running 206a now too, but it is the same at least in "Xperia Diagnostics"... I will try real world usage tomorrow...
Anybody knows, where the settings for the sensor are stored? in the Phone-Application, in the Rom, in the Kernel, .... ?
Is there an app that lets you set the distance for the sensor for our device?
raha16 said:
I'm running 206a now too, but it is the same at least in "Xperia Diagnostics"... I will try real world usage tomorrow...
Anybody knows, where the settings for the sensor are stored? in the Phone-Application, in the Rom, in the Kernel, .... ?
Is there an app that lets you set the distance for the sensor for our device?
Click to expand...
Click to collapse
interesting question, did some googling and found this
http://stackoverflow.com/questions/9403351/how-to-change-android-proximity-sensor-sensitivity
This would solve it - but it's for the Desire:
http://forum.xda-developers.com/showthread.php?t=951858
Can somebody port this to our device?
No change in 206 btw...
Just for info, if someone s having the same issues:
I'm using eXperiance V2 - Rom on munjeni-Kernel now, but the problem remains.
i tried this, but no change:
http://forum.xda-developers.com/showpost.php?p=8888081&postcount=914
AndroSensor-App keeps showing 1cm as distance - can somebody verify this value on other kernels or other Roms?
1cm seems too little distance for my ear...
i get the feeling, i'm the only one, having this problem...?
:crying:
Found this:
https://github.com/rachit-rc96/Vengeance-Kernel-U8500/blob/master/drivers/input/misc/apds9702.c
According to my amateur-interpretion of this link, the settings for the sensor are stored in the kernel?
Can somebody confirm this?
Hello guys in my attemp to fix this really annoying bug (all the time calls were hanging or buttons were pressed) i decided to get my hands dirty and take a look!
So the calibration for the proximity sensor is done in the /system/etc/hw_config.sh
Requirements
ROOT
Root Explorer (or a filemanager of your choice with enables acces to system and edit files as text)
So changed the following lines of the originial hw_config.sh of firmware 6.1.1.B.0.54 ( i think that at every fw is the same configuration please provide feedback)
Code:
# Proximity sensor configuration
dev=/sys/bus/i2c/devices/2-0054/
val_cycle=2
val_nburst=0
val_freq=2
val_threshold=5
val_filter=0
echo $val_cycle > $dev/cycle # Duration Cycle. Valid range is 0 - 3.
echo $val_nburst > $dev/nburst # Numb er of pulses in burst. Valid range is 0 - 15.
echo $val_freq > $dev/freq # Burst frequency. Valid range is 0 - 3.
if `ls /data/etc/threshold > /dev/null`; then
cat /data/etc/threshold > $dev/threshold # Use value from calibration
rm /data/etc/threshold # Remove temp file
else # No value from calibration, use default value
echo $val_threshold > $dev/threshold # sensor threshold. Valid range is 0 - 15 (0.12V - 0.87V)
fi
if `ls /data/etc/filter > /dev/null`; then
cat /data/etc/filter > $dev/filter # Use value from calibration
rm /data/etc/filter # Remove temp file
else # No value from calibration, use default value
echo $val_filter > $dev/filter # RFilter. Valid range is 0 - 3.
fi
to :
Code:
# Proximity sensor configuration
dev=/sys/bus/i2c/devices/2-0054/
val_cycle=3
val_nburst=0
val_freq=2
val_threshold=2
val_filter=0
echo $val_cycle > $dev/cycle # Duration Cycle. Valid range is 0 - 3.
echo $val_nburst > $dev/nburst # Numb er 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.
As for now i think the overall experience of calling is definately better and no random hang up or button pressed so far... Please provide feedback!!!
Thank you for this useful information. I have a Sony Xperia V lt25i.
After display exchange, the proximity sensor always indicated "near" which resulted in black screen when using the telephone.
Anyhow here is what I did to resolve it:
- backup pics
- root phone using towelroot.apk
- install supersu
- install fx explorer
- install fx explorer root addon
THEN:
use fx explorer
... filesystems --> /system / --> root tools -> mount read-write
then go the file
/system/etc/hw_config.sh
and edit textfile
I changed the threshold from 5 to 9
val_threshold=5
then save file
... filesystems --> /system / --> root tools -> mount read-only
restart phone
try or use the app: Phone Tester
ENJOY
---

Turn Off Backlight Button Android Oreo

how tu turn off backlight button hw on android oreo?
i already use this step
changing /sys/class/leds/button-backlight/brightness" file from 40 to 0 and
echo "0" > /sys/class/leds/button-backlight/brightness using terminal emutor
both step are success but its like temporary. just few minute then button light is lighting up.
thank you
set the permission to r-r-r- and then it would be ok

Categories

Resources