Controlling LEDs using /sys/class/leds commands [Root] - Samsung Galaxy S9 Questions & Answers

Has anyone managed to control the main LED on the S9 Snapdragon (G9600) via shell commands to modify the file at /sys/class/leds/led_g/brightness?
I'm able to control the Torch using this method, but the brightness file seems to be locked (not allowing modifications or reverting back to value of 0). Lightflow is able to control it using root, so I'm sure it can be done, just not sure what commands need to be fired to allow the brightness values to be modified ... any help would be super welcome. thanks!
EDIT: Found the solution. Using /sys/devices/virtual/sec/led/led_x works

Hi can you help me out? Iam also facing a similar problem. i can access the sys/class/leds/button-backlight and can change the brightness of the variable to "170", the thing is the variable's value is changin, but the LED is not glowing! ,i tried "1" and it has the same response. Lemme post a screenshot indicating my situation here!
My device : Letv Le X509
Status: Rooted
{
"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"
}
This screenshot indicates the files that i have within the leds folder.
M

Related

[Q] Non Standard LCD Density & Sense 3 Lock Screen

I've changed the LCD density on my phone recently, and everything seems OK except for the HTC Sense 3 lockscreen, which doesn't seem to have scaled properly.
{
"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"
}
I was wondering if anyone here knew of anything I can do to get it to scale properly
Any help would be appreciated!
I think you would need to use the tools available to re jig the screen size for the lockscreen (M100 or whatever it is called), I had this problem with the "Lense" style on CM7 when i changed to 180
wbbigdave said:
I think you would need to use the tools available to re jig the screen size for the lockscreen (M100 or whatever it is called), I had this problem with the "Lense" style on CM7 when i changed to 180
Click to expand...
Click to collapse
I've been searching around for tools like that, but can't find any! Searching for M100 doesn't come up with anything
I think its an M10 tool that requires a decent set of programming knowledge (or at least it did when I last heard of it)

[App][Total Commander]

For all of us who are using it on PC (and missing it on android )
It's still on beta and not yet available on Google Play but, as far as i'm used it, it's fully operational and functional. Good thing is that it never ever asked for superuser privileges but it can do whatever you want with system files so...
you can download it at http://www.ghisler.com/android.htm and bellow are some screenshots that show/prove it's functionality
{
"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"
}
P.S. It does looks a bit confusing at first sight (like it's predecessor on PC at first look long, long time ago...) but after few finger hits over the screen it gets very logical and practical so give it a shot
How about remount /system to RW?
pvltlnv said:
How about remount /system to RW?
Click to expand...
Click to collapse
Full.
First, while you are in system folder, hit last green button in main menu:
then hit the R button:
and there you go:
As i understood on the TC forums there is will of author to make that R button permanent part of main menu but with this way it stays open down there untill you choose to disable it so it's fine like this too
Final 1.01 version out, now also available on playstore:
https://play.google.com/store/apps/details?id=com.ghisler.android.TotalCommander
and ,best of all, it's free
Thanks man for a wonder app.

[Q] Wifi Tethering bypass trick with SQ Lite Editor, how do I to get it to work?

On this post, MrNa5ty kindly point out that there's an entry in Sq Lite Editor read as "tether_entitlement_check_state", yet I don't see it on my end. I also notice there's a step before everything, which is "need to try and activate the hot spot initially in the user interface settings", to my limited knowledge, I believed I had already done that, yet it still didn't seem to be appearing anywhere on my Sq Lite screen, does anyone has a similar situation like this and get resolved? The picture below is what I think MrNa5ty referring to as "user interface settings". Or maybe not, bc how is a rookie like me know any better, lol.
{
"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"
}
Anyway, I went back to SQ Lite Editor after I see this message pop up
And I had done this so many times, I lost count, but I never able to see that database entry ""tether_entitlement_check_state" appear, man I wish banging my head to the wall could solve this problem. :crying:
PS: Do I have to unroot it before it could work?

Always on display (AOD) available?

HI. I want to know do this phone support Always on display?
chainrulez said:
HI. I want to know do this phone support Always on display?
Click to expand...
Click to collapse
Any device supports AOD but most likely it is only included in devices with amoled displays due to battery consumption.
In one of my Xiaomi devices; Mi 8 Lite used a ROM ported from other Xiaomi device with amoled and it worked fine too.
I'm not sure, in AOSP ROMs, it looks like actually due to some policy was retired from Android 10 so I didn't see it in any custom ROM like was present in Pie.
I'm actually using an app that works even better that native AOD created by Samsung so it has the feature (retired since years by Samsung), it can show only the notification in a black environment without light up all the screen, no battery drain at all, you need to disable on-screen notification from settings if you have enabled and prefer this (like me) https://play.google.com/store/apps/details?id=com.achep.acdisplay&hl=en
{
"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"
}

Question Problem with app PowerAmp

Hello.
I have had the PowerAmp app installed on other mobiles and I never had any problems.
Now with my Honor Magic 4 Pro gives me an error when editing the information of a song.
Indicates that I don't have write access to the files And that allows access.
How much pulse to activate the permission is when the error message comes out.
I have Nova launcher installed and I don't know if it would have anything to do with it.
Anyone else who has this problem?
Best regards.
{
"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"
}
Sounds like scoped storage raising it's ugly head.
Try using a file manager that works in Android 11/12. You should be able to edit common user (or whatever their terminology for it is) files.
As best I know Poweramp doesn't allow editing the music database unless you grant it access which I strongly advice against doing. Best practice is to use a file manager instead in order to better protect your music database.
I refuse to load Android 11 or 12 on my devices mostly because of scoped storage... blah

Categories

Resources