How to lower screen brightness below system limit [root] - BLU R1 HD Guides, News, & Discussion

I have not ever really seen this information posted many places, and certainly not here, so here are a few ways to truly dim your screen below the system limit, not just apply a filter.
Note: You must have root access, or this will not work. Also, low brightness will not be retained if you lock your screen.
Edit: I have also found that Gravitybox allows you to lower the minimum brightness, which is what I now use. You'll need Xposed if that's what you want to do.
Proof
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Option 1 - The Easiest Way
I have exported a Tasker task to a standalone apk which only toggles brightness to minimum and back again.
It will ask for root access, so if you're uncomfortable with running some unknown app with higher privileges (and so you should be!), look to the following options.
Option 2 - The Best Way
This option requires that you have Tasker installed. Other similar apps may also work, but you're on your own.
Copy the provided Task file to the "Tasker/tasks/" folder, then import it.
Tap the "Tasks" tab
Tap "Import"
Tap the Task to import
Done! You can now create a widget to this task on your home screen.
Option 3 - The Basic Way
The most basic function is as follows:
Create a new task
Add action "Set Light"
Choose "lcd-backlight" to set to "1"
Done! Run the task, and you can dim your display.
To reset, just use the slider in quick settings and it will reset, or lock and unlock your device.
You can also create a widget for this task.
Option 4 - The Hard Way
If you have USB debugging enabled, and adb working on your computer, then the following will dim your device in one go:
Code:
adb shell "su -c 'echo 1 > /sys/class/leds/lcd-backlight/brightness'"
If you have a terminal emulator installed, then just
Code:
su -c 'echo 1 > /sys/class/leds/lcd-backlight/brightness'
Hope this helps someone. It should also work on many other devices.

Related

Is there a way to force a shortcut to minimize an application when launched?

I would like to launch some applications via the startup menu, and some of them simply need to be running in the background to function properly.
Is there a tag on the shortcut like -minimize that will work for all applications or does the specific application need to support it?
Thank you so much
Try Quickmenu....its nice start menu/task manager it has option to exclude programs from closing when u click on X
you could create a simple mortscript that calls the today screen (maybe with a delay) and make sure the shortcut to it is the last one in startup.
Yep, you can use MortScript to do what you need. I think it's the only way because I needed to do it also. I don't use the script anymore so I deleted it, but if you search the MortScript manual for 'minimize' you should find what you need.
I think its dependant upon the app.. but i have used -s successfully before.. you may also want to try to search MSDN
Give a try to the one attached here........
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
JBabey said:
I would like to launch some applications via the startup menu, and some of them simply need to be running in the background to function properly.
Is there a tag on the shortcut like -minimize that will work for all applications or does the specific application need to support it?
Thank you so much
Click to expand...
Click to collapse
I assume you want to run an app from \Startup. Your question is a little confusing. Anyway, it will be app dependent as far as the functionality using command lines in a .lnk. I do not know of a general command that would work for this as the point of shortcuts is to open the app. If the app is not intended to run in the background on its own, it will open like normal.
What are you trying to do exaclty? Perhaps that would help answer your question a bit more.
Is there a way to force a shortcut to minimize an application when launched?
i need this too.. for UL links..

mToday ( Profils 2 today) Free

I found browsing on the Internet a little program here is very interesting
Description: mToday is an application for you to switch between two today screen profiles to enable/disable pre-defined today plug-ins quickly and conveniently.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
link for more informations here
thanks Vicott Wong
nice catch bro, i like it
thanks
great find, thanks.
hmm, interesting, thanks.
Nice idea, but very very slow.
good but keep improving
This is a good idea but as mentioned slow, so keep improving.
If you want a quick second today, take the battery status today. Then you have two today screens. But this kill one today and go to the other today. This good to save memory. For me its good. In one I have all my things. And if I want IGO8 I take the other.
NEO130,
Could you please elaborate what is the "battery status today" that you use for mToday with minimal memory?
I try to do the same: one mToday profile with the applications I commonly use and the other mToday profile for iGO8. The profile with commonly used applications works OK but when the link of the empty profile for iGO8 is invoked it stuck my HTC Trinity such that it needs a hard reset. The succeeding boot yields the empty Today.
Not a convenient way to switch profiles, though...
Thank you,
Shkauf
Hi.
I posted this over at MobiSapienz but it may be easier to chat over here?
So I read:
"Added command line option to launch settings (-p0)"
When I do:
Run(SystemPath( "ProgramFiles" ) \ "Vicsoft\MToday\mToda y.exe","-p1")
It pops up the mToday Switcher and leaves it there.
Am I not doing the command line argument correctly. I did try "-1" but as I suspected that also popped up the switcher.
I am also assuming -p0 refers to mToday 1, and -p1 would refer to mToday 2.
I kind of wish there were a reg setting for "Current mToday Profile" for last switched profile.
Thanks...
(Integrating StatusTicker with mToday)
thank you lepsyfou
thats very helpful

how to start a single panel from desktop shortcut

i've searched in the programs directory the executable file of a single panel, for example 3d-fish panel, but in the directory i've founded only .dll without .exe...
what's the method to start a panel from a shortcut? what command i must launch?
tnx
nothing?
i must put an argumentto panelManager.exe?
I don't actually think that's possible, as panels are run from within an application (exe). They're not supposed to be used seperately. It's like trying to watch a movie in notepad, just not designed to work there.
Unless someone feels like making it, ofcourse.
for example, XperiaTweak can launch a panel from our choice automatically, then i suppose it use a command but what command?? i don't find it!!
sidvizioso said:
for example, XperiaTweak can launch a panel from our choice automatically, then i suppose it use a command but what command?? i don't find it!!
Click to expand...
Click to collapse
I believe that XperiaTweak uses it own extra software to launch the panel of choice.
Yeah the Xperia Tweak probably sets a command to press the X-Panel button, and then it tells the X-Panel software which panel to chose.
poetryrocksalot said:
Yeah the Xperia Tweak probably sets a command to press the X-Panel button, and then it tells the X-Panel software which panel to chose.
Click to expand...
Click to collapse
I think so too, as Xperiatweak also shows the LED lights that are associated with pressing the panel button.
However you simply want to run the application right ? Then ask Pubba ! He made EXEs which wrap media and radio panels. It should be easy with any other panel. Maybe even generic panel launcher could be made.
His EXEs are posted here (look for 'Pubba'):
http://forum.xda-developers.com/showthread.php?t=441439
Hi,
at the moment I'm working on this because I like to have this to.
I will tell you when I have managed to do it.
--------------------------------------------------------------
Got it working now
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Great you've got it running. Can you share your solution?

[App] Push v0.01 (aka new Pocket Gforce)

Hi all on the last week some friends ask me to make some simple apps using the Accelerometer from HTC and other. I'm still up my neck whit work but some simple app's came true. So heres one...
Gforce Push v0.01
This one is really simple but me and my friends enjoy driving whit it all the time.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Atm all he does is...
First put your devise in landscape mode (it will return to normal in the end)
Prevents backlight Dim and Standby (it will return to normal in the end)
show Total (x/y) Gforce in the big Blue center label
show Total (x/y) Gforce in the bar on the right (scale can be selected on the options menu)
show direction of Gforce(or movement if you invert x/y in the options menu)
show update rate on the red label
show other debug stuff on the green label (x, y , angle and battery)
atm Auto Calibrate is not working reasonably well so don't use it.
How to use it....
I dint make a instaler so yoiu have to copy the files to your devise manually and the open
"Push" folder must be put in the device memory root!!!
To go to options just touch the label "Options"
to go back to main just touch the label "Main"
to manually calibrate click the right button on the Dpad
to close the app click the center button on the Dpad
Skins...
All image's can be change but for the moment don't use different sizes
To do list...
Make config file to save preferences and path for the "img" folder.
Put Auto Calibrate more reliable
Release v0.01
http://rjsmsampaio.googlepages.com/Pushv0.01.rar
Thats it for 3 days of work.
Plz do comment.
Hi Ikari, I have downloaded your application. I'll tell you my experience after I tested it on my HTC phone.
Maybe I didn't test it in the right way, the arrow didn't point to the right direction that the phone was moving or accelerating. Nice arrows though.

[Q] Develop a pattern recognition app

I want to develop an app that can be trained to recognise certain characters. It's some sort of a word recognition app but for single characters. The problem with this is that i cannot find an appropriate input method even tough I've been struggling for two days to make it work using some sort of a GridLayout wich contains buttons. The problem with this method seems to be that i can't resize the buttons or remove the space between them. LinearLayout doesn't seem to be a good option either, since I can't swipe over the buttons and mark the letter.
THE ACTUAL PROBLEM:
I want to use an input similar to the picture i attached. That would be the letter A.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
.
The user will swipe over the matrix and leave a trail colored in blue. Then the matrix should be translated into the phone's memory to a binary matrix with 0 and 1 values.
RESTRICTIONS:
I want to tackle this problem programmatically.
The matrix will be 64x64
I use Android Studio.
---XML would be the easiest way to go, but a 64x64 matrix is pretty hard to create this way.
---API level does not matter at all. I just want this app to run on CM12 phone.
**After creating this app, I'll use a jpg picture of a character for input and refine the processing algorithms. I just need the algorithm to work for this 64x64 binary matrix first**
THE ACTUAL QUESTION:
How do I create the input matrix so it would be swipe-friendly and not bad looking ?
I think if you would like to use the button method you described above, you can call setOnTouchListener() on the buttons. The onTouch method is called when the user touches or swipes over the button so you could put your coloring code in there. But i dont know if a matrix of 64x64 buttons looks nice, that is the other problem
But basically you can as well use other views instead of the buttons because every view has the option to call an onTouchListener
--------------------
Phone: Nexus 4
OS: rooted Lollipop LRX21T
Bootloader: unlocked
Recovery: TWRP 2.8.2.0

Categories

Resources