[MOD] Force transparent bar Leds Power-Off - Sony Xperia P, U, Sola, Go

With this mod you can both modify max led light intensity and force power off to save battery.
Root access required.
You need to go, with a file explorer, here: system/etc and open this file hw_config, then search down echo 20000 > $dev/button-backlight/max_current
Modify ir to echo 1 > $dev/button-backlight/max_current and add this other line below echo 0 > $dev/button-backlight/max_brightness
Save, reboot and its done!
If instead of power off you want to set the max just leave echo 20000 > $dev/button-backlight/max_current as originally and set echo X > $dev/button-backlight/max_brightness X = 255 to 0. The default used intensity is 80 so you will notice intensity change from 80 to 0.

thanks mate!
but do you know how to make it stay on with the screen?

thanks... this is exactly what im searching for

Work fine. Thanks mate....!!!! (^.^)

It would be nice if you could have the same thing for non root users.

Do you think this would work on xperia u?...

ankh.red said:
Do you think this would work on xperia u?...
Click to expand...
Click to collapse
There is no such line in hwconfig for Xperia u..
To OP: Any solutions for Xperia u?
Sent from my ST25i using xda premium

I don't have "20000" on my Xperia S, just "2000".
Which device do you have?

chochic10 said:
It would be nice if you could have the same thing for non root users.
Click to expand...
Click to collapse
dont belive that this will be possible, because it needet editing system files. even the app Adjbrightniss from the Play store needs root access to dissable the LED

no amtters 2000, 200000 nor 999999 to the max. the real max is 255 xD

This is awesome work great!!
Thank you
Sent from my LT26i using xda app-developers app

Xperia U users may install an app called Screen Filter to turn off the Transparent Panel.
Just unmark 'Enable soft-key backlight' and enable the app.
I've been using it, and works like a charm
P.S. Do NOT set the filter brightness to 0 %. You won't be able to see a thing, and you'll be forced to reset.

babu.rajiv2007 said:
Xperia U users may install an app called Screen Filter to turn off the Transparent Panel.
Just unmark 'Enable soft-key backlight' and enable the app.
I've been using it, and works like a charm
P.S. Do NOT set the filter brightness to 0 %. You won't be able to see a thing, and you'll be forced to reset.
Click to expand...
Click to collapse
Also you need to disable it when you want to install an app. (not from store).
Sent from my ST25i using xda app-developers app

ankh.red said:
Also you need to disable it when you want to install an app. (not from store).
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
Did anyone find out how the screenfilter app disables the default lights on the Xperia U?
Would very much like to access it via shell scripting to do the same for a new upcoming LED control app...

nixx-X1 said:
Did anyone find out how the screenfilter app disables the default lights on the Xperia U?
Would very much like to access it via shell scripting to do the same for a new upcoming LED control app...
Click to expand...
Click to collapse
Screen Filter doesn't really turn off the Illumination Bar. If you open up the music player, or gallery or even if you just change the theme, it lights up.
Screen Filter just turns off the soft key light characteristics, not the entire functions of Illumination Bar

.Sent from my LT26i using xda premium

babu.rajiv2007 said:
Screen Filter doesn't really turn off the Illumination Bar. If you open up the music player, or gallery or even if you just change the theme, it lights up.
Screen Filter just turns off the soft key light characteristics, not the entire functions of Illumination Bar
Click to expand...
Click to collapse
I know, but the way it disables those soft-key-lights is ideal for me to suppress the normal (theme bases, non-application-bounded) light up actions.
Been trying to figure out where it does what, but still haven't found it (and dev. is not so responsive to emails..)

nixx-X1 said:
I know, but the way it disables those soft-key-lights is ideal for me to suppress the normal (theme bases, non-application-bounded) light up actions.
Been trying to figure out where it does what, but still haven't found it (and dev. is not so responsive to emails..)
Click to expand...
Click to collapse
Wish you luck, mate.
Hope you succeed

can anyone say me the original permission for the hw-config.sh?

RW-R--R--
(code 644)
Thank's for your work Yakandu, I've just one regret: we can't use illumination app for sms with this mod.

Related

Screen Bleed Workarounds

I'm really sensitive to the button backlight screen bleed on these phones. Here are two things which have helped me so far:
1. mVideoPlayer https://market.android.com/details?id=afzkl.development.mVideoPlayer&feature=search_result
This is the only video player I have found which disables the button backlight when playing in the dark.
2. Screen Filter https://market.android.com/details?id=com.haxor&feature=search_result
Allows you to disable the button backlight all together!!! Set the filter to 100% if you don't want it to dim your screen and the de-select the check box for soft-key backlight.
Ideally I would prefer to find an app which will timeout the capacitive back lighting but I have not been able to find one.
Dude... you just fixed my phone!
I used the screen filter app and it works perfect!
I mean those buttons are in the same place all the time why do they even need to be lit?
Thanks for sharing~
Turboboxer said:
Dude... you just fixed my phone!
I used the screen filter app and it works perfect!
I mean those buttons are in the same place all the time why do they even need to be lit?
Thanks for sharing~
Click to expand...
Click to collapse
I felt the same way
Thanks a lot that screen bleed is gone. Doesn't bother at all now. Never need the keys at the bottom to light anyways.
Sent from my HTC_Amaze_4G using xda premium
Tasker + Locale Execute Plug-in
OR
Tasker + Secure Settings (Recommended)
Secure Settings -> Market Link
Local Execute Plug-in -> Market Link
Tasker -> Market Link
There is a difference between the Market Version and Off market version -> http://tasker.dinglisch.net/faq-ov.html
Command to turn off softkeys backlight -> echo 0 > /sys/class/leds/button-backlight/brightness
For Locale Execute Plug-in, "@! echo 0 > /sys/class/leds/button-backlight/brightness" without the quotes
heyodee said:
Tasker + Locale Execute Plug-in
OR
Tasker + Secure Settings (Recommended)
Secure Settings -> Market Link
Local Execute Plug-in -> Market Link
Tasker -> Market Link
There is a difference between the Market Version and Off market version -> http://tasker.dinglisch.net/faq-ov.html
Command to turn off softkeys backlight -> echo 0 > /sys/class/leds/button-backlight/brightness
For Locale Execute Plug-in, "@! echo 0 > /sys/class/leds/button-backlight/brightness" without the quotes
Click to expand...
Click to collapse
Nice, but why spend the money if you only using it for that feature??? Couldn't you just run the echo from a Terminal?
vw671 said:
Nice, but why spend the money if you only using it for that feature??? Couldn't you just run the echo from a Terminal?
Click to expand...
Click to collapse
Tasker is arguably one of the best apps ever developed on android. Its feature extensive. A must have app for all android devices. Then again, that's my setup, tot i share
vw671 said:
Nice, but why spend the money if you only using it for that feature??? Couldn't you just run the echo from a Terminal?
Click to expand...
Click to collapse
Yes it can be tun straight from terminal emulator.
Code:
su
echo 0 > /sys/class/leds/button-backlight/brightness
chmod 0333 /sys/class/leds/button-backlight/brightness
The second line makes the changes permanent until reboot. Otherwise locking the screen and unlocking again, as well as some other things, will turn the backlights back on again.
To undo the permanence, type this:
Code:
su
chmod 0647 /sys/class/leds/button-backlight/brightness
vw671 said:
I felt the same way
Click to expand...
Click to collapse
+1,000,000 and thanks OPoster for this!!!
the screen filter darkens it a lot..
Felinos11 said:
the screen filter darkens it a lot..
Click to expand...
Click to collapse
Set it to 100% to disable the filter.
Thank you!!! Great find! Now there's not a single flaw with my phone .
For some weird reason, after installing Screen Filter, I was unable to install a third-party application downloaded from the Internet, the Install button froze. Then after uninstalling Screen Filter everything went back to normal...
Just in case someone else bumps into the same problem
lgtsanev said:
For some weird reason, after installing Screen Filter, I was unable to install a third-party application downloaded from the Internet, the Install button froze. Then after uninstalling Screen Filter everything went back to normal...
Just in case someone else bumps into the same problem
Click to expand...
Click to collapse
have had trouble sideloading apps too
I just reboot when it happens
fixed the last 3 times. Seems to happen every couple of days for whatever reason
Awesome thanks a lot .. works great
lgtsanev said:
For some weird reason, after installing Screen Filter, I was unable to install a third-party application downloaded from the Internet, the Install button froze. Then after uninstalling Screen Filter everything went back to normal...
Just in case someone else bumps into the same problem
Click to expand...
Click to collapse
Just pull down the taskbar and click on the screen filter icon to disable it , and your apps should install like normal .
I have tasker and I just downloaded secure settings. However I am confused by your instructions. How do I set this up? Do I create a profile if so what profile? What type of task do I assign that profile? Sorry to sound like a tasker newbie but I am. I saw your post purchased tasker and tried to set it up but there is no clear cut way.
Sent from my HTC_Amaze_4G using XDA App
cirrob said:
I have tasker and I just downloaded secure settings. However I am confused by your instructions. How do I set this up? Do I create a profile if so what profile? What type of task do I assign that profile? Sorry to sound like a tasker newbie but I am. I saw your post purchased tasker and tried to set it up but there is no clear cut way.
Sent from my HTC_Amaze_4G using XDA App
Click to expand...
Click to collapse
Create New Profile -> Softkeys Light
First Context -> Event -> Display -> Display ON
**The Task should pop up**
Add New -> Plugin -> Secure Setting -> Run Command ( from dropdown)
Use Root (Checked)
Command Name (backlight) or whateva
Command is
chmod 644 /sys/class/leds/button-backlight/brightness (make file writable for chanages
echo 1 > /sys/class/leds/button-backlight/brightness (turn softkeys backlight on)
sleep 10 (wait 10 seconds)
echo 0 > /sys/class/leds/button-backlight/brightness (turn softkeys backlight off)
chmod 444 /sys/class/leds/button-backlight/brightness (make readonly to prevent changes by system)
Thats it, you can tweak however you like, or tell it to stay off when a particular app is running in Fore Ground stuff like that
***You could add a second context to the first So when you are in a bright environment, it doesn't come on
Second Context -> State -> Sensor -> Light Level --- Range (0-15)
Thanks! I will try this when I get home today. I appreciate your detailed and patient response.
Sent from my HTC_Amaze_4G using XDA App
OK I think I did something wrong. I created the profile just fine and then created the task by cutting and pasting the text of your command in the run command field of secure settings. Hit apply and nothing has changed.
Am I missing a step?
Sent from my HTC_Amaze_4G using XDA App

how to group apps and disable camera tone?

-Does anyone know how to group apps? I'm starting to have problems finding an app I need because the screen is already full and there many apps that I rarely use and I wanted to group this apps into a separate folder.
-Another thing I tried was disabling the camera tone but with no luck. Does anyone know how to disable it?
Thanks,
Baxxter13 said:
-Does anyone know how to group apps? I'm starting to have problems finding an app I need because the screen is already full and there many apps that I rarely use and I wanted to group this apps into a separate folder.
-Another thing I tried was disabling the camera tone but with no luck. Does anyone know how to disable it?
Thanks,
Click to expand...
Click to collapse
For grouping apps I'm using Nova Prime launcher and you can create different launcher tabs for what ever you like.
I believe the camera tone issue is legally motivated, in some places it is illegal to de-activate the camera sound I believe so I think this is why you can't turn it off from the settings, if you flash a custom ROM there is usually an option to turn it off (with a warning) but on stock ROMS usually not.
Hope that helps,
R.
Which launcher do u use?
Sent from my GT-N7000 using xda premium
If its touchwiz,there os an option to create a folder in the homescreen and drawer, just long click choose add to home screen and select folder, for the drawer clock on the menu button when in drawer mode, it will give u an option ro hidde aps amd also create folders...for the camera sound, root it...
Sent from my GT-N7000 using xda premium
I'm using touchwiz. I found out the option that you can create a folder in the homescreen but I was hoping to group the apps in the menu and not just hide them.
I also rooted my phone yesterday but I couldn't find anything to disable the camera tone. I guess l'm gonna have to install another launcher and see if sorts out.
Anyaway thanks,
Sent from my GT-I9300 using XDA
I haven't (yet) rooted my phone, but I can take "shutter sound" away. You need to tick your volume rocker to minimize system sounds to silent. Then you can take pictures without shutter tone. Just remember put vol back up after.
Walto said:
I haven't (yet) rooted my phone, but I can take "shutter sound" away. You need to tick your volume rocker to minimize system sounds to silent. Then you can take pictures without shutter tone. Just remember put vol back up after.
Click to expand...
Click to collapse
Sorry what do you mean whith "volume rocker"? If you are refering to the volume key that didn't work out for me, I even turned off every sound in the settings=>sound but even that didn't work out .
Sent from my GT-I9300 using XDA
Baxxter13 said:
Sorry what do you mean whith "volume rocker"? If you are refering to the volume key that didn't work out for me, I even turned off every sound in the settings=>sound but even that didn't work out .
Sent from my GT-I9300 using XDA
Click to expand...
Click to collapse
Hmm maybe there really are localisation differences. Vol-key brings camera sounds off atleast in my device.

Camera Settings not being saved?

Hello,
I'm having this issue with the camera which all the time resets itself to the default settings.
It only happens with the shortcut settings, I constantly add to the shortcut "exposure level" + "Focus mode" and everytime single time I'm opening the camera app I get the default shortcuts. For Instance the if I change the MP resolution or picture quality it will remember changes.
I'm using Wanamlite 1.8 + Phenomenal 2.0 Medium
Any suggestions? :good:
Thanks!
chancho83 said:
Hello,
I'm having this issue with the camera which all the time resets itself to the default settings.
It only happens with the shortcut settings, I constantly add to the shortcut "exposure level" + "Focus mode" and everytime single time I'm opening the camera app I get the default shortcuts. For Instance the if I change the MP resolution or picture quality it will remember changes.
I'm using Wanamlite 1.8 + Phenomenal 2.0 Medium
Any suggestions? :good:
Thanks!
Click to expand...
Click to collapse
Hi! Really old thread but did you ever solve this? I have the same problems. But to me it's not only the shortcuts, the camera always resets to default settings so I always have to change iso and flash.
mertzi said:
Hi! Really old thread but did you ever solve this? I have the same problems. But to me it's not only the shortcuts, the camera always resets to default settings so I always have to change iso and flash.
Click to expand...
Click to collapse
This happens to everyone. The camera resets to default everytime u exit and enter again.
Sent from my GT-I9300 using xda app-developers app
Give a thank if I helped you
JellyYogurt said:
This happens to everyone. The camera resets to default everytime u exit and enter again.
Sent from my GT-I9300 using xda app-developers app
Give a thank if I helped you
Click to expand...
Click to collapse
Yes I read that on another forum. I guess it's a "feature".

[REQ] remove increasing ringtone

Is there a way to have it tying at full volume instead of staying quiet or am I just missing a stupid setting somewhere?
Sent from my SCH-I545 using xda premium
I've seen a lot of people talking about it and posting. I'm in the same boat missing calls. Someone needs to find a way to make it ring louder. This sucks.
ice.candi said:
Is there a way to have it tying at full volume instead of staying quiet or am I just missing a stupid setting somewhere?
Sent from my SCH-I545 using xda premium
Click to expand...
Click to collapse
There's an app called disable increasing ring in the playstore it's free and I can confirm that it's working. I'm on stock deodexed rom.
Yup i'm using disable increasing ringtone from the play store. Doesn't required root access either.
That app sits on the notification page for me and I can't get past it no matter what i do.
go to setting >> more >> application manager >> All >> Disable Increasing Ring >> Uncheck Show notifications
gsxcorey said:
That app sits on the notification page for me and I can't get past it no matter what i do.
Click to expand...
Click to collapse
or long press notification go to app info then disable notifications
I'm bringing this back I'm afraid
For us rooted folk, has anyone figured out how to fix this without an app, or how to do what that app does manually perhaps?
I know that for the i9000 for those with deodexed roms there was a fix involving edits to the phone apk I believe.
WANAM
If you have root, wanam xposed has a feature for this as well. It also has a lot of stuff and can change a lot of touchwiz. My notification bar is totally themed out, and I changed a lot of other stuff, mostly under the hood. You need xposed though, and it is on the play store.
Now that sounds interesting. I have to use XPOSED for another issue. I'll have to check it out then. Thanks
Not only did it work, but it gave me a windows to a few other tweaks I had on the itinerary . Cheers! :highfive:

my issues: fullscreen, battery, brightness and chrome

hi everyone! after using remix os on my yoga 500 notebook for over a week, i'm having some issues i hope someone can help me solve.
1) how do i force an app to open in phone mode? some apps have fullscreen disabled from the beginning, some can be disabled, but for example hangouts just refuses to open as a window... i have toogled the "allow all apps to switch to phone mode" in experimental settings, but i still cannot run hangouts in a window (see screenshots)
2) can the os tell me my battery is runnin out somehow? all you see is a small icon, and today i forgot to plug in my cable and the notebook just powered down without ANY warning or notification before. it simply suddenly turned itself off, like when you pull a pc out of the socket
3) is there a way to set screen brightness without having to use the dedicated physical keyboard buttons? my lenovo yoga can be put in tablet mode and then the keyboard is disabled, so there is no way of changing screen brightness (except 3rd party apps but there are only really outdated ones and they just look awful), i also have no such option in settings.
4) is it possible to have 2 different chrome tabs next to each other? in cm13's multiwindow with "merge tabs with apps" enabled in chrome, you could do just that. but there is no such option in chrome here.. and before you suggest using 2 different browsers - it sucks, i have all my account data synced with chrome.
if you have a suggestion to any of my problems, please tell me
bump
Settings/Applications
For each application, click on it and turn off "Open in fullscreen mode".
Then when you open the app, you will have access to a pull-down at top of screen. Simply select the middle symbol on the upper right and it should go into phone display. You can resize the display to suit yourself. The system remembers your settings.
Sent from my LENOVO 33476WU using XDA Labs
lollyjay said:
Settings/Applications
For each application, click on it and turn off "Open in fullscreen mode".
Then when you open the app, you will have access to a pull-down at top of screen. Simply select the middle symbol on the upper right and it should go into phone display. You can resize the display to suit yourself. The system remembers your settings.
Sent from my LENOVO 33476WU using XDA Labs
Click to expand...
Click to collapse
i have done exactly what you described, and it does work for some apps, but not for hangouts. any other idea?
FWIW the. 205 release has brightness adjustment on the taskbar if you use alt/F1 to go into terminal mode and type vi
EDIT does not work. You need to have root
Sent from my LENOVO 33476WU using XDA Labs
lollyjay said:
FWIW the. 205 release has brightness adjustment on the taskbar if you use alt/F1 to go into terminal mode and type vi
EDIT does not work. You need to have root
Sent from my LENOVO 33476WU using XDA Labs
Click to expand...
Click to collapse
Not quite the case, brightness slider was there from first alpha - it's the build.prop edit that 'enables' it.
On systemless-root I added that prop by default (via ramdisk.img) as I figured it best to enable it.
Alt/F1 would work without system root; but needs a initrd.img to mount /system rw and need to use sed or similar instead of vi
HypoTurtle said:
Not quite the case, brightness slider was there from first alpha - it's the build.prop edit that 'enables' it.
On systemless-root I added that prop by default (via ramdisk.img) as I figured it best to enable it.
Alt/F1 would work without system root; but needs a initrd.img to mount /system rw and need to use sed or similar instead of vi
Click to expand...
Click to collapse
Yes sorry I got distracted and didn't finish :silly:
Sent from my on Z00A using XDA Labs
HypoTurtle said:
Not quite the case, brightness slider was there from first alpha - it's the build.prop edit that 'enables' it.
On systemless-root I added that prop by default (via ramdisk.img) as I figured it best to enable it.
Alt/F1 would work without system root; but needs a initrd.img to mount /system rw and need to use sed or similar instead of vi
Click to expand...
Click to collapse
I was wondering where that prop entry came from...
Sent from my Nexus 7 using XDA Labs

Categories

Resources