Mod torch and flash without any app - General Topics

Hi guys
Back with a all new thing.
Feeling torch is eating battery or is of no use to see in dark.
Flash is not good or flaah is too shiny.
Here is a quick and simple solution fr all.
Now you have to be pre rooted and nothing else.
Use es file manager and brouse to /sys/class/flaahlight and there is a folder inside open it and in the fopder are two file to bf mooded
Strobe brightnesa and torch brightness.
add them to your favourits using es file manager so that you dont have to go such long to mod them.
Now a thing of importance plz check the max limit of both strobe and torch in the filea strobe max brightneaa and torch max brightnass.
These files will be in the same folder.
Hope you are helped by this now.
Now for those rare cases which do not have a screen brightness control bar can also try the mod just insted of flashlight folder go to backlight folder and mod the brightness file and adf it to favourits of es.
Peace
Sent from my SM-G355H using XDA Free mobile app

Related

[BLN] Button Led notifications

BLN is currently implemented in cyanogenmod / vurrutrom as a modification of the ROM (opensource liblights), not the kernel. Therefore it will work on every kernel.
You need the lights.latona.so file from cyanogenmod and must rename it to lights.omap3.so.
The correct, renamed file is attached for your convenience.
Make a backup of /system/lib/hw/lights.omap3.so and replace it with the attached file.
After that, change the permissions to match all other files in the folder and reboot.
Changing permissions on a terminal:
cd /system/lib/hw
chmod 644 lights.omap3.so
reboot bootloader
Click to expand...
Click to collapse
if you want to use a root explorer, permissions for the file are rw-r--r--
Note that most Google apps and Facebook do support led notifications but touchwiz apps don't...
Further, if you are using any touchwiz apps, then you will need Light Flow from the market, to have notifications of those apps. Adjust Light Flow settings to your liking, but do not enable omap_bl control.
About Lightflow config:
On General settings > enable button backlight control
On notifications > enable button backlight LED and leave brightness at 255
Use led flash-rate very slow or always on (works best for me)
Works perfect with whatsapp on KPQ, thanks!
Thanks !!!
Tried it when you posted @bck kernel thread.
Good you opened a new thread.
Thanks. Working great.
Can you give some details/instructions about light flow settings? I'm finding it a bit difficult to set up.
Thank You Pibe, working in UBKPE (Gb Argentina)
works for kp3, Many thank!!
would this work in miui rom ??
prince_venom said:
would this work in miui rom ??
Click to expand...
Click to collapse
yes, it should work... and as miui doesn't have touchwiz apps, lightflow isn't needed
alfrix said:
yes, it should work... and as miui doesn't have touchwiz apps, lightflow isn't needed
Click to expand...
Click to collapse
This file is already included in miui.
Sent from my Sony S-LT26i
alfrix said:
BLN is currently implemented in cyanogenmod / vurrutrom as a modification of the ROM (opensource liblights), not the kernel. Therefore it will work on every kernel.
You need the lights.latona.so file from cyanogenmod and must rename it to lights.omap3.so.
The correct, renamed file is attached for your convenience.
Make a backup of /system/lib/hw/lights.omap3.so and replace it with the attached file.
After that, change the permissions to match all other files in the folder and reboot.
Changing permissions on a terminal:
if you want to use a root explorer, permissions are rw-r--r--
Note that most Google apps and Facebook do support led notifications but touchwiz apps don't...
Further, if you are using any touchwiz apps, then you will need Light Flow from the market, to have notifications of those apps. Adjust Light Flow settings to your liking, but do not enable omap_bl control.
About Lightflow config:
On General settings > enable button backlight control
On notifications > enable button backlight LED and leave brightness at 255
Use led flash-rate very slow (works best for me)
Click to expand...
Click to collapse
This is really very nice. Thanks for the explanation it would be really usefull.
Will this add to the extra battery consumption? Or no noticable effects on battery? But this is really good work.
Sent from my GT-I9003 with Beats Audio using xda premium
erik07 said:
Will this add to the extra battery consumption? Or no noticable effects on battery? But this is really good work.
Sent from my GT-I9003 with Beats Audio using xda premium
Click to expand...
Click to collapse
Doesnt really affect the battery as the lights hav minimum usage.Im using miui and it uses this mod and I dont really see any difference in battery consumption.
devilhell007 said:
Doesnt really affect the battery as the lights hav minimum usage.Im using miui and it uses this mod and I dont really see any difference in battery consumption.
Click to expand...
Click to collapse
Thanks, ill try it myself and see.
Sent from my GT-I9003 with Beats Audio using xda premium
i tried it. no doubt, it works, but just for my opinion, after setting the config provided in the first post, the bln is not that real time, sometimes it just doesn't let you be notified. the bln is not consistent in other words. but this is great work. maybe there are some files that need to be configure, and work with lights.omap to make this mod consistent and reliable when it comes to notifying the user.
I am still saying that it will be great if we able to make bln mod in kernel itself. There are lots of apps which are available in market but it requires bln kernel mod. If we able to make it then easily we can change the blinking rate of bln like galaxy S users have done since age ago.
vishal24387 said:
I am still saying that it will be great if we able to make bln mod in kernel itself. There are lots of apps which are available in market but it requires bln kernel mod. If we able to make it then easily we can change the blinking rate of bln like galaxy S users have done since age ago.
Click to expand...
Click to collapse
i'll see if it can be implemented on our kernel, but don't hold your breath.
can someone help me this i not working for me .
my settings
general
light flow enabled
direct mode off
notification method cycle all fast
button back light - control
omap bl control off
notifiaction
light enabled
led flash rate very slow
button backlight led solid
button backlight brightness 255
devilhell007 said:
Doesnt really affect the battery as the lights hav minimum usage.Im using miui and it uses this mod and I dont really see any difference in battery consumption.
Click to expand...
Click to collapse
here's where i read the thread of bln control saying that blinking backlight (for notifications) can consume battery than static backlight (just for lighting the button when pressing backlight buttons).
http://forum.xda-developers.com/showthread.php?t=823922
but i really hope we can have this in every kernel and also making it as like it doesn't consume battery life at all, and also real time and consistent notifications.
@ alfrix
I just read somewhere that cm 7.2 has released with some ICS features backported to GB. One of it is ICS rotation animation. Like how we have ported bln feature can we take a file from cm 7.2 which is responsuble for ICS rotation so that we can have ICS rotation animation in out stock GB formwares also???
vishal24387 said:
@ alfrix
I just read somewhere that cm 7.2 has released with some ICS features backported to GB. One of it is ICS rotation animation. Like how we have ported bln feature can we take a file from cm 7.2 which is responsuble for ICS rotation so that we can have ICS rotation animation in out stock GB formwares also???
Click to expand...
Click to collapse
It needs a lot of framework changes: look here for that reason every firmware version must be modded individually or a lot of problems will arise...
For now i'm looking forward to port full bln (kernel mod + this liblights) but i have little time because of college... you may try to decompile framework-res and make the changes yourself... everyone starts somewhere

Looking for the best Flashlight app.

Hello! I am looking for the best fliashlight app available. I use the stock one from ICS 4.0 at the moment, but I hate how when I lock the screen, it turns off! Is there a flashlight app out there that stays on until you tell it to turn off? Let me know!
Sent from my HTC Sensation using XDA
TelsaLED for sure. I used it before CM9 had the built in torch app. It's got a lot of cool features, better than the CM9 one I just downloaded to test, and the light did stay on after I locked the phone.
I do like Tiny Flashlight by Nikolay Ananiev the most, because u can create an homescreen widget for quick start.
Flashlight app of course...
I gave Flashlight LED Genius a try, and I think I like it the most. You can turn the light on from your lock screen by simply shaking your phone, and they make it so the lockscreen doesn't turn off for a set amount of time that you can adjust. Definitely a nice light app.
Sent from my HTC Sensation using XDA
Flashlight. Plus the widget
yea... Flashlight
Flashlight... As everyone else agrees
The best flashlight app I have used is this simple sucker right here. It turns on automatic, plus it has an option where you can just tap the light icon whenever you need the light so it doesn't have to stay on the entire time. No Bells and Whistles - just a simple flashlight app.
Actually, I can't post the link so just go to Google Play - type in 831 media and the app is called SIMPLE LED FLASHLIGHT.
My 2 cents....
StoneBuckles
Maybe there are any direct links to your Flashlight apps?
The only link here is the TeslaLED and please try to enter just "Flashlight" in the Playstore... you will not find exactly what you want
So it would be VERY helpfull if you guys can link the app's directly, thanks
I find the flashlight in Pie Control is quite easy to use.
Built-in quick settings toggle in 6.0.1/ Battery Widget Reborn (had the free one, but i upgraded to the paid variant)
q3fuba said:
Maybe there are any direct links to your Flashlight apps?
The only link here is the TeslaLED and please try to enter just "Flashlight" in the Playstore... you will not find exactly what you want
So it would be VERY helpfull if you guys can link the app's directly, thanks
Click to expand...
Click to collapse
They have been giving you the names of the apps, you just have to search for the app they mentioned rather than "flashlight". You have to have 10 posts to post links.
Shano56 said:
[U"]TelsaLED[/URL] for sure. I used it before CM9 had the built in torch app. It's got a lot of cool features, better than the CM9 one I just downloaded to test, and the light did stay on after I locked the phone.
Click to expand...
Click to collapse
I downloaded this app mainly because you said it was highly customizable and stayed on when your screen was off and I like it.
Very customizable, has modes for On/Off, Off after x minutes, On while holding toggle, Text to Morse code with option to repeat continuously, and a couple of others.
Even the widget is customizable and it also stayed on for me when I turned my screen off.

[MOD] XXLS7 Status bar + 11 toggle Stock

Thank Ofeliax,Criskelo,Mr Luong,,_SVA_,......
small update for Jelly Bean XXLS7 .
. Enable/Disable shutter sound option in camera . When Phone: Mute/Sound, Camera Shutter On/Off.
.11 Toggle Stattus bar,10 Stock + Flight mode
. Battery % When : Setting/Display Battery percentage
. 2 Keybutton in status bar. Screen off & Task Manager .
- When touch Task Manager icon come to Home screen, when hold long press Task Manager icon come to recent apps.
- When touch Lock icon turn off screen, when hold long press Lock icon come to Extended Power Menu (reboot wih: Hotboot,Recovery,Download,reboot normal)
Download Link : http://d-h.st/aRN
Thanks a lot. I try this now.
Sent from my GT-N7000 using XDA Premium App
Hi, this one is really nice compared to those transparent ones :good: , I like the style, especially icons and full opacity of the upper part.
Could it be possible to disable the "black eagle" image in notification screen ? It would be perfect for me without this image :angel:
niczob said:
Hi, this one is really nice compared to those transparent ones :good: , I like the style, especially icons and full opacity of the upper part.
Could it be possible to disable the "black eagle" image in notification screen ? It would be perfect for me without this image :angel:
Click to expand...
Click to collapse
\res\drawable-xhdpi
notification_panel_bg.png
vuidoi said:
\res\drawable-xhdpi
notification_panel_bg.png
Click to expand...
Click to collapse
thank you but .. how can I use that ? I browsed the zip you provided, but I've not found this.
niczob said:
thank you but .. how can I use that ? I browsed the zip you provided, but I've not found this.
Click to expand...
Click to collapse
Chose open file with 7zip or winrar : SystemUI.apk\res\drawable-xhdpi . and change file notification_panel_bg.png
vuidoi said:
Chose open file with 7zip or winrar : SystemUI.apk\res\drawable-xhdpi . and change file notification_panel_bg.png
Click to expand...
Click to collapse
Thanks, it works

[APP][2.1+] Lime File Manager 1.3.0

Upgrade to 1.4.0
Fixed drag and paste no function
selection color
audio play
archive run on background
icon change
Upgrade to 1.3.2
Wrong background when ListView scroll
banner color background disappear
Compatible of getByteCount()
Multi function wrong when cancel dialog
Upgrade to 1.3.1
Adjust banner position
Optimize color
Add exit function
Upgrade to 1.3.0
Fixed some bugs
Add grid mode
Add poperty view
Add black theme
Avoid permission change error:/system/xbin/su、data/(user/0|data)/eu.chainfire.supersu/files/supersu.cfg
System read/write status fetch
Upgrade to 1.2.1
Fixed some bugs on Android 2.x
Upgrade to 1.2.0
Redesign the UI, add the slide bar on the left, move the multiple operation banner at the bottom to the top, better compatible with different sizes of devices.
Optimized code structure, and run faster for high stability.
Removed redundant functions, such as photo viewing, and music player.
Believes that the new version can bring you a new visual experience, and more simplicity of operation, hope you like it!
Upgrade to 1.1.0
1. support landscape and tablet view
2. make top and bottom bar much thin
3. change /n to /r/n to make text file can show correctly on windows
4. change icon of text file and unknow file
5. add launch password
6. make audio file play on background service
Hi, guys
If you hope to have an easy-to-use yet powerful file manager, please try Lime!
Lime, support batch file operations likes delete, rename, copy, and cut. In addition, if the device have root permission, you can also do those operations to system file.
Lime show the storage space and some other information likes modified time and size. In addition, the file transfer process is no longer simply show progress dialog, it also show current progress and time remaining like Windows.
Lime support convenient directory navigation, you can set the initial dir when launch it, you can quickly jump between the root directory and the sd card directory, and you can also set the directory as a bookmark to quickly switch between directories. Optimized search function allows you to quickly find the file or folder.
Want to create a new folder? Use Lime, you can quickly completed. Want the file to be arranged according to your wishes? It is also very simple for Lime.
Lime comes with text edit, image view, audio play, database browser, and file decompression tool, and also for you to match other suitable applications to execute the file.
Do not hesitate, just try! I believe Lime will be your default file manager!
It's FREE and NO ADs!
You can get it on Google Play
or download the attachment directly.
I only tested on HTC sensation with CM 9.1 ROM, I think there're some bugs on different devce, so If you have some problems or suggests, please reply here, I'll fix it as soon as possible.
If you find some problem, please post here.
A few things after just try the app: the interface is nice,a little too rainbow there, but good looking, so far no problems; the bar in the bottom is taking precious space, could the settings and exit buttons be somewhere else?? Top bar should be less polluted also.
Overall this app was everything we expect from a file manager:thumbup:
I installed the app on CM7.2 on Galaxy Ace I. I really like the app, but i faced some FCs when giving root permission, but still works.
Btw, i really like the UI and it is pretty smooth. My suggestion for the app is to include an option to block the app with a password.
@edit
Never mind, FCs was SuperUser related.
Penacal said:
A few things after just try the app: the interface is nice,a little too rainbow there, but good looking, so far no problems; the bar in the bottom is taking precious space, could the settings and exit buttons be somewhere else?? Top bar should be less polluted also.
Overall this app was everything we expect from a file manager:thumbup:
Click to expand...
Click to collapse
Thanks for your advice, it's important for me, I'll try to change them as soon as possible.
InnerSanctum said:
I installed the app on CM7.2 on Galaxy Ace I. I really like the app, but i faced some FCs when giving root permission, but still works.
Btw, i really like the UI and it is pretty smooth. My suggestion for the app is to include an option to block the app with a password.
@edit
Never mind, FCs was SuperUser related.
Click to expand...
Click to collapse
Thanks for your advice, set a password on setting, then if enter this app, ask for enter password, is that right?
It looks very good . ill give it a try.
Edit: works well too. Any plans for landscape or tablet support?
raducux said:
It looks very good . ill give it a try.
Click to expand...
Click to collapse
Thanks you. If you feel it no good, please tell me, I'll change to make it better.
I like it so far. It's quite snappy.
Why is the right door always locked?
Works fast and really well this will be my new default file manager, but can you make the root permissions stick?
Thanks in advance
sent from my xperia ray using tapatalk 3
thinkingboy said:
Thanks for your advice, set a password on setting, then if enter this app, ask for enter password, is that right?
Click to expand...
Click to collapse
Exactly!
A LAN SMB client and root explorer options (like setting permissions) would be great too (both are presents on ES File Explorer or Root Explorer).
With these suggestions, for sure it would be my default file manager. :good:
hasbrobot said:
I like it so far. It's quite snappy.
Why is the right door always locked?
Click to expand...
Click to collapse
Thanks.
InnerSanctum said:
Exactly!
A LAN SMB client and root explorer options (like setting permissions) would be great too (both are presents on ES File Explorer or Root Explorer).
With these suggestions, for sure it would be my default file manager. :good:
Click to expand...
Click to collapse
Thanks for your suggest. I'll add the password function in v1.1, and root explorer is already support, you can get root permission on setting by touch "Get root access permission", and if you want to modify file on system, you also need touch "Mount system to read/write".
And something like "LAN SMB client" will support on later version.
Thanks.
matgras said:
Works fast and really well this will be my new default file manager, but can you make the root permissions stick?
Thanks in advance
sent from my xperia ray using tapatalk 3
Click to expand...
Click to collapse
Thanks, root permission is already support, you can get root permission on setting by touch "Get root access permission", and if you want to modify file on system, you also need touch "Mount system to read/write".
raducux said:
It looks very good . ill give it a try.
Edit: works well too. Any plans for landscape or tablet support?
Click to expand...
Click to collapse
yes, I plan to support landscape and tablet later.
New version will release this weekend which changed something follow the suggests get from here.
Hope you'll like it.
Updated to 1.1.0 now, change those suggests, hope you like it!
Looks good, i'll give it a go.
Very nice file manager. Very easy/intuitive.
Sent from my SGH-I337 using XDA Premium 4 mobile app
y0yerrj0sh said:
Looks good, i'll give it a go.
Click to expand...
Click to collapse
Thanks, If any problem or suggest, plz tell me, I'll change it.

[Q] Running 25s-33s? Mind sharing a file?

So after extensive reading, I believe I can increase the torch brightness by using an older torch apk. Post 33s, the torch brightness was cut in 1/2.
May one of you guys share the system torch.apk and the show me a picture of the permission settings?
I tried getting the file from the 25R zip (http://forum.xda-developers.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541).... however, after a long download, I could not extract the require file.
Any help would be much appreciated.

Categories

Resources