Night Light
aka Simple Night Shift
Now in Material Design
An app that do simple editing of KCAL value for our smartphone in order to get night mode back.
This app changes the three RGB value in KCAL file under /sys/devices/platforn/kcal_ctrl.0
REQUISITES:
- A custom kernel that support and use kcal for display colors ( qualcomm devices with MDSS as stated in savoca's thread )
- Root Permission (haven't checked with magisk because i don't use so tell me if it works)
MAIN FEATURE:
- No background processes
- No memory or battery consumption
- Simple slider selection of RGB Value
- Quick settings toggle tile
INSTRUCTIONS:
Open the app , grant superuser Permission then choose the RGB values and refresh with refresh FAB
Click On/Off toggle for enable/disable
Add quick settings toggle for fast On/Off.
P.P.S.: I have tested this app only with stock android OREO and ElementalX kernel so don't guarantee that work with other kernel/roms, if you have doubt try it and tell me if it works, a reboot simple reset this value so don't be shy.
{
"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"
}
CHANGELOG:
V4.0
- Complete rebuilt from scratch with android Studio and material design (no more tasker or appfactory)
- About 8'000'000'000X faster opening and color application
- Real interface with real button
- New icon
- No longer necessary Boot/Read external storage permission
Older Version Changelog:
V2.0
- Initial release
V2.1 - Try to fix FC on startup
- Fixed inconsistent value if never set at least one time
- Fixed save button don't working if not long pressed
- Speed up app opening
- Removed some SU request after first open
- Added minimum value security block to avoid black screen
- Improved some routine
V2.2 UNINSTALL 2.1 BEFORE INSTALL 2.2
- Reverted some wrong changes
V3.0.1
- Fixed FC at startup
- Fixed value stick after reboot
- Fixed wrong SU request
- Now saving some preferences to stick after reboot
- Clean up redundant command
Enjoy! and don't miss the thanks button
Awesome thanks! Could you fix your link though? There's nothing in the folder when I click on the link.
DELETED
This is awesome, thank you! Would you mind sharing your Tasker project? I'd like to be able to toggle night mode with Tasker.
I am trying to use but it not functional. Something I miss?
Edit: Fixed by giving Massages storage permissions.
I tested a little bit the app and then the toggle stopped working
AFK269 said:
I am trying to use but it not functional. Something I miss?
Edit: Fixed by giving Massages storage permissions.
I tested a little bit the app and then the toggle stopped working
Click to expand...
Click to collapse
Hi, can you please explain me what you tested in order to make toggle useless? i have tested ths for a week and the toggle never stopped working, your signature tell that you are unrooted, is right? you have the latest apk attached on the post? if yes can you please attach the kcal file under Night folder in your storage, thanks
moddroid said:
Hi, can you please explain me what you tested in order to make toggle useless? i have tested ths for a week and the toggle never stopped working, your signature tell that you are unrooted, is right? you have the latest apk attached on the post? if yes can you please attach the kcal file under Night folder in your storage, thanks
Click to expand...
Click to collapse
I have the latest 2.0. I gived permissions to mass storage and gived root permissions with Magisk Root. I played with colours to give the correct colour (this yellowish tint that have also pixel devices ) and after that toggle stopped working and when I try to change, I press the and I try to enable with toggle and nothing happens
yochananmarqos said:
This is awesome, thank you! Would you mind sharing your Tasker project? I'd like to be able to toggle night mode with Tasker.
Click to expand...
Click to collapse
I really don't understand this request, why use tasker when this app as no background processes and a simple QS tile? anyway, yes i can share but remember : this app don't enable night mode, only change display rgb value , the end user set this value, more you lower the blue and the green value more reddish your display is , so don't expect a simple toggle for night mode under some settings. i provide a link as soon as possible
AFK269 said:
I have the latest 2.0. I gived permissions to mass storage and gived root permissions with Magisk Root. I played with colours to give the correct colour (this yellowish tint that have also pixel devices ) and after that toggle stopped working and when I try to change, I press the and I try to enable with toggle and nothing happens
Click to expand...
Click to collapse
hmm, strange, please open the kcal file under Night folder in your storage and write here the value inside the file, or try to press the refresh button in the right side of header before close app
Anyway i didn't tried with magisk so i don't know if can depend on this.
moddroid said:
hmm, strange, please open the kcal file under Night folder in your storage and write here the value inside the file, or try to press the refresh button in the right side of header before close app
Anyway i didn't tried with magisk so i don't know if can depend on this.
Click to expand...
Click to collapse
0 58 77
moddroid said:
I really don't understand this request, why use tasker when this app as no background processes and a simple QS tile? anyway, yes i can share but remember : this app don't enable night mode, only change display rgb value , the end user set this value, more you lower the blue and the green value more reddish your display is , so don't expect a simple toggle for night mode under some settings. i provide a link as soon as possible
Click to expand...
Click to collapse
Automation, that's why. Also I want to peek under the hood.
There's a few issues with the app. It app force-closes on startup. Look of Disapproval does the same thing and so did Custom Quick Settings until the dev updated it. I'll try and grab a logcat. It's something to do with Android Oreo, but I'm not sure what.
The app only opened right away on first run, now I have to tap it, wait until MagiskSU grants su permissions a couple times, then tap the Quick Setting tile and then it will open. It does not apply unless I tap the icon in the upper right that looks like a refresh icon or tap the tile again so it's "off", then tap it again to turn it "on".
AFK269 said:
0 58 77
Click to expand...
Click to collapse
The values are right , the app have stopped to work after some time or not worked at all? Have you the stock kernel? i think it's something related to magisk, but i don't have soo much time for checking it right now
yochananmarqos said:
Automation, that's why. Also I want to peek under the hood.
There's a few issues with the app. It app force-closes on startup. Look of Disapproval does the same thing and so did Custom Quick Settings until the dev updated it. I'll try and grab a logcat. It's something to do with Android Oreo, but I'm not sure what.
The app only opened right away on first run, now I have to tap it, wait until MagiskSU grants su permissions a couple times, then tap the Quick Setting tile and then it will open. It does not apply unless I tap the icon in the upper right that looks like a refresh icon or tap the tile again so it's "off", then tap it again to turn it "on".
Click to expand...
Click to collapse
New Update try to solve some problems, waiting feedback ?
moddroid said:
New Update try to solve some problems, waiting feedback ?
Click to expand...
Click to collapse
Stopped working. 2-3 times I changed values to give the right colour and stopped working.
AFK269 said:
Stopped working. 2-3 times I changed values to give the right colour and stopped working.
Click to expand...
Click to collapse
Sorry my fault, wrong fix, updating right one. Uninstall v2.1 and delete Night folder
moddroid said:
Sorry my fault, wrong fix, updating right one. Uninstall v2.1 and delete Night folder
Click to expand...
Click to collapse
I reverted back to stock kernel so I can't test it now. Due to some tweaks to the kernel.
I cant go to 0 to use 0-58-77
Until 30 goes
Anyone use other setting?
noolis said:
I cant go to 0 to use 0-58-77
Until 30 goes
Anyone use other setting?
Click to expand...
Click to collapse
There's a security block to 30.
Why? Because if you accidentally put everything to 0 your screen become totally black, and the only way to restore is via adb or recovery, so i suggest never use value under 30, for a good results i use: Red-255 Green-160 blue-100. ?
Works amazingly on a Moto G4 Plus XT1641 with ElementalX Kernel. Thanks.
Now it works great.
Related
This application is no longer available or being developed.
Hey everyone,
Since v5.0 of HeroLED Donate, the app has been able to enable LEDs for all devices which do not have working LEDs by default. If your ROM does not have working LEDs, this app is for you.
If your ROM does have working LEDs, this app will do nothing for you. YOU DO NOT NEED THIS!
One of the things stopping me from using the Eris port was not having LED notifications. Hunting around, the old threads about this problem with Cupcake Hero and the main fix for it was the HeroLED app from fictionless.
For the past couple of days I've painstakingly used a combination of smali and a decompiled versions of the APK to resurrect the code. This has resulted in a base for which I can start adding features. Therefore I introduce HeroLED.
Click to expand...
Click to collapse
Cookers: I've put this onto Market for easy distribution. It also allows me to see stats about the app, therefore please do not bundle it in ROMs.
It is available on the Market in two versions: Donate and Free. Just search for 'heroled' in the Market or scan the QR code below.
Donate / Free
{
"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 Donate version of the application has more features than the Free version. See the changelog below to see what. I may backport the features back later, haven't decided yet.
Click to expand...
Click to collapse
Donate Changelog - Donate version will now be v4.x
Code:
v5.0
- Ability to automatically find the paths to LEDs, not just use fixed paths.
[B]This means that the app will work on "any" rooted device.[/B]
v4.4
- Correct LED Notification colours
- Ability to set period of time where the button backlight will trigger on/off
(i.e. night-time). Should help with battery consumption.
v4.3
- Blinking functionality is now run in shell. Makes it all much more efficient.
See [URL="http://forum.xda-developers.com/showpost.php?p=6469680&postcount=154"]here[/URL] for a detailed description.
v4.2.2
- Fix for Dream when using .33 Kernel
v4.2.1
- Fix Button Backlights
- Small bit of optimization
v4.2
- Change Charging Light LED so that it's more like stock (Red -> Orange -> Green)
- Make the icon optional when enabling the foreground service.
v4.1.1
- Fixes! Should be totally fixed now.
- Charging LED now works with screen on and off.
v4.1.0 Donate
- Fixes!!!!
- Everything should be working now, let me know though!
v3.0.8 Donate
- Add option to set the Service to run in the foreground. Will stop Android killing the Service
when it's running short of memory.
v3.0.7 Donate
- Fixed FC caused by restarting the service too frequently/quickly (from Preferences).
- Add the functionality for me to manually specify application's notifications to flash LED
(if they don't themselves). At the moment the only one is the phone which allows missed
calls to flash the LED. (You can enable this in preferences).
- You can now change the default LED colour (used for notifications which don't specify
their own colour).
- After a lot of fiddling, the charging light is back. Unfortunately it doesn't work when
the screen is on. This is due to the something resetting the LEDs when the screen goes
on/off for some reason. It will work when the screen is off though. If the charging
light is enabled, it also means that notification LED's won't flash when you're charging
(screen on/off).
Free Changelog - Free version is v3.x
Code:
v3.3.2
- Correct LED Notification colours
v3.3
- Blinking functionality is now run in shell. Makes it all much more efficient.
See [URL="http://forum.xda-developers.com/showpost.php?p=6469680&postcount=154"]here[/URL] for a detailed description.
v3.2
- Fix for Dream when using .33 Kernel
v3.1.2
- Small bit of optimization
v3.1.1
- Fixes! Should be totally fixed now.
v3.1.0
- Fixes!!!!
- Everything should be working now, let me know though!
v3.0.7 Free
- Fixed FC caused by restarting the service too frequently/quickly (from Preferences).
v3.0.6
- Fixed FC caused by improper handling of notification flags.
- Removed unnecessary permissions.
v3.0.5
- Further optimisation! Made the actual blink code much quicker, will mean
you don't get the alternating lights when the colour isn't green.
- Fixed an FC.
- Fixed a bug where the LED wouldn't turn off after the notification removed
(mainly from GTalk).
V3.0.4
- Optimisation!
- Removed a lot of redundant calls and fixed other things.
V3.0.3
- Bug fix release.
- Revert the trackball light for Magic, seems to be something weird
going on in the kernel.
- Taken out the charging light code. The button light code was interfering
with it so I decided to just totally disable it. Doing this also means I can
start to slim down the application as it won't need to be constantly running.
This will be in v3.1
V3.0.2
- Jogball will now also turn on when screen turns on for Magic.
- Fixed LED Blinking randomness. Should now be just like stock.
- Other fixes.
- Please note, there is a bug with the charging led (when you turn the
screen on, the LED turns off). It's caused by the buttons backlight enabling
but I'm not quite sure why, needs investigation. They work when the screen
is off though so it's not a massive bug.
V3.0.1
- Button backlights now turn on when the screen turns on.
- Sapphire/MT3g/Magic should now work. (My bad! Sorry).
V3
- Working code-base.
- Now turns on the hardware keyboard backlights on/off automatically.
Loccy did great with his script, but this method is more practical and efficient.
- Should now be working for Sapphire/MT3g (let me know though).
- Notifications now show if plugged in and charging LEDs are turned off.
- No longer requires restart. Launch HeroLED application after install,
press Menu and select "Start Service".
- Various bug-fixes
Click to expand...
Click to collapse
Problems
Please don't just post comments like "It keeps f/c'ing for me" or "It caused my phone to crash" as it doesn't help me figure out what the cause of the problem is! Please add a logcat as it means I can fix it!
This has been testing on King's Droid Eris but should work on all Hero's (Legend, Cupcake Hero, Eclair Hero, Droid Eris).
It requires ROOT, press 'Always Allow' when it's prompts you.
If you find your device doesn't work, PM me the result of this command:
Code:
adb shell busybox find /sys -name brightness
Click to expand...
Click to collapse
woooooooorrd. nice work.
fantastic~
NICE!! one step closer to a perfect Eris ROM. I was wondering when someone was going to do this. Thanks!!
uh yeah, flashing kings_eris right now (the 2. time) and then i will test it!
what about notifications in settings??! do i have to turn them off ??
The Ape said:
uh yeah, flashing kings_eris right now (the 2. time) and then i will test it!
what about notifications in settings??! do i have to turn them off ??
Click to expand...
Click to collapse
Leave your notifications as normal. Any notifications are intercepted by the app.
Let me keep this thread up so more people can see it : )
I've just recieved the source for the original HeroLED from fictionless, so i'll working on this tonight.
I'll probably release via Android Market.
There is no LED notification? Didn't even recognize that
Oh and btw: try to get the LEDs on keyboard of G1 working... (if that's somehow possible.. IDK)
domenukk said:
Oh and btw: try to get the LEDs on keyboard of G1 working... (if that's somehow possible.. IDK)
Click to expand...
Click to collapse
Yes, I've just found a way of doing it.
can you also get LEDs on Magic worked?
Works great!
Working Great on my G1 with the Vega Legend rom .91, both notifications from messages and charging leds work! Now just need one for the keyboard!
Tried on my MT3G not work the led with missed calls
Nice one dude I will try this..
paoloc67 said:
Tried on my MT3G not work the led with missed calls
Click to expand...
Click to collapse
As I said, there will be bugs in this.
chunan93 said:
can you also get LEDs on Magic worked?
Click to expand...
Click to collapse
This *should* work on both the G1 and Magic. Let me know though.
senab said:
This *should* work on both the G1 and Magic. Let me know though.
Click to expand...
Click to collapse
tested on Magic, only incoming call works
missed call, SMS and charging are all failed
chunan93 said:
tested on Magic, only incoming call works
missed call, SMS and charging are all failed
Click to expand...
Click to collapse
Hmmm, if you can send me a logcat it would be appreciated. I'm on a G1 so can't test. Best way would be to paste the logcat at Pastebin then PM the URL.
senab said:
Hmmm, if you can send me a logcat it would be appreciated. I'm on a G1 so can't test. Best way would be to paste the logcat at Pastebin then PM the URL.
Click to expand...
Click to collapse
i post logcat for missed call, hope it helpful
Code:
D/CallNotifier( 189): - onDisconnect: cause = INCOMING_MISSED, incoming = true, date = 1271429652498
D/CallNotifier( 189): stopRing()... (onDisconnect)
D/Ringer ( 189): stopRing()...
D/Ringer ( 189): mRingHandler: STOP_RING...
I/AudioPolicyService( 111): stopOutput(): before lock
I/AudioFlinger( 111): setMode(0): before lock mHardwareLock
D/AudioHardwareInterface( 111): setMode(NORMAL)
I/AudioFlinger( 111): setMode: ready to unlock mHardwareLock
I/AudioPolicyService( 111): setPhoneState(): before lock
E/LED_DUAL( 128): open failed errno: 2
E/LED_DUAL( 128): open failed errno: 2
E/LED_DUAL( 128): open failed errno: 2
E/LED_DUAL( 128): open failed errno: 2
D/JOGBALL ( 128): Jogball, + set_jogball_mode mode=0
btw, if i plug the phone into usb, incoming call LED won't work
duplicate post
nickstewartroc said:
Working Great on my G1 with the Vega Legend rom .91, both notifications from messages and charging leds work! Now just need one for the keyboard!
Click to expand...
Click to collapse
There's a fix for the keyboard lights, it's real easy. Do a search for it.
Void Lock
A Secure and Convenient Gesture Lockscreen
Features:
-Gesture Unlock
-Key Combo Unlock
-Gesture to launch apps from lockscreen
-Gesture to change settings like Vibrate and WiFi from lockscreen
-MugShot
-And... anything else you can just read from the description on the Market Page.
Pics:
{
"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"
}
Issues:
Make sure to follow every instruction when doing the Setup. Especially on the brightness part.
Update:
1.9
-Lots of bugfixes. Improved launching and also removed screen flickering
-Attempt to get rid of navigation bar for ICS devices that has no hard keys
-Added in Setup Brightness to Settings. Added in new gestures: Show Notifications and Glimpse Text.
1.8
-ICS Support
-Able to set Void Lock as default Home Launcher now for more security and bugfixes
-Fix for status bar showing, only if set as default Home Launcher.
-Fix for popups showing up that blocks gesture and keys input.
1.6
-Fixed MugShot crashes
-Added requested feature: Shortcut to toggle on/off status of Void Lock.
1.5
-Fixed stock lockscreen bug
1.4
-New Setup Screen!
-New attempt at fixing bug with stock lockscreen
-Added 5 tips
1.3
-Added setting for SoftKey Lights Off. Find in Essentials.
-Added setting for custom brightness for settings like Show Time. Find in Essentials.
-Added Notification to prevent system from closing service. Able to lock from Notification.
-Added Information Section in Settings. Information section contains Uninstall Info, Tips, and EmailMe.
1.25
-Fixed up a bug related to calling. Lockscreen should not interfere with any Incoming and Outgoing calls anymore.
-Fixed up Setup bug. All devices should be able to finish Setup now.
-Turned off Start at Boot by default. New users can now reboot to remove lockscreen if there are any problems. When the lockscreen can be unlocked properly, go to Essentials in Settings to turn on Start at Boot.
1.2
-Fixed up the lockscreen interference with Calling.
-Modified order of launching. Should stop the stock lockscreen from showing up now. At least it does for my devices. If any devices still has the stock lockscreen showing, tell me which device it is.
-New Feature: Screen Timeout replacement. When screen timeout activates, it will launch Void Lock instead of turning off the screen. Enable it in Experimental Section of Settings.
Links:
Free Version
Nice app, need translation?!
Nice app.
I found the setup a bit confusing, but i don't really know how it could be made better.
After trying it i got some FCs:
I was using the unlock feature.
http://pastie.org/3074624
http://www.pastie.org/3074625
I'm using a i9000 on latest cyanogen build from repo.
I would make screenshots with another font ;-).
djkidy123 said:
Nice app, need translation?!
Click to expand...
Click to collapse
thanks, translations are always welcome.
Dark3n said:
Nice app.
I found the setup a bit confusing, but i don't really know how it could be made better.
After trying it i got some FCs:
I was using the unlock feature.
http://pastie.org/3074624
http://www.pastie.org/3074625
I'm using a i9000 on latest cyanogen build from repo.
I would make screenshots with another font ;-).
Click to expand...
Click to collapse
Yea, I wasn't too happy with the setup, but... I only found out about the brightness thing after testing it out on a i9000 too. Tried a more automated approach, but doesn't produce the same results as regular presses. I'll upgrade the setup process when I find a better solution.
Thanks for the logs, I tried reproducing the problem, but didn't get a force close, but I think I might know what the problem might be.
Will get to work on that.
lol the font looks really really cute.
I'm still not able to reproduce the forceclose, but thanks to the logs, I believe I fixed the problem. One of them was leftover code I missed removing which strangely wasn't causing me any problems.
The other... should be fixed.
You'll see an update soon.
doesn't work on ICS 4.0.2...
matiu said:
doesn't work on ICS 4.0.2...
Click to expand...
Click to collapse
I confess, I have not been able to test it out on ICS yet...
Which phone are you using and which part doesn't work?
New update! Should fix up the phones having the lockscreen suddenly locking and also those who still has their stock lockscreen show up.
Sent from my LG-P920 using XDA App
constant FC on the setup wizard (when setting unlock key)
nexus s 4.0.3
if you need help testing on ICS i can help you with beta-test. PM me if you'd like that.
DevJackey said:
I confess, I have not been able to test it out on ICS yet...
Which phone are you using and which part doesn't work?
Click to expand...
Click to collapse
Google Galaxy Nexus, your application crash during the setup (after making the first gesture)
matiu said:
Google Galaxy Nexus, your application crash during the setup (after making the first gesture)
Click to expand...
Click to collapse
Thanks I'll investigate.
Sent from my LG-P920 using XDA App
Had to use No Lock app, to disable normal lock screen, then set the VOID, work great!
Nice work there....but i have one problem tough....during calls the phone gets locked itself and i have to unlock it again to hang up and stuff
And could you add a "disable stock lockscreen" feature?? It would be highly appreciated
csoulr666 said:
Nice work there....but i have one problem tough....during calls the phone gets locked itself and i have to unlock it again to hang up and stuff
And could you add a "disable stock lockscreen" feature?? It would be highly appreciated
Click to expand...
Click to collapse
I'm currently fixing up the call lock right now.
There wasn't a disable stock lockscreen feature because it was supposed to disable the stock lockscreen automatically. However, that only seems to be working on the phones I'm testing on and strangely, the phones I can test on won't show the stock lockscreen, but some others does.
I'll be doing some more work into this part.
Update
New update out. Fixed up the calling. Now, the incoming call and incall screens won't be locked up. After call, it will lock back up. This works if you press the power button to turn off too.
New Feature. Find it in experimental setting. New feature affects the screen time out. Now, if you want, the Screen Timeout will lock with Void Lock instead of turning off the screen. Good feature for those like me who uses the WakeLock and avoids using the power button.
I forgot to disable my other lock screen and now seem to be locked out of my phone. Evo 4g with decks rom. any suggestions?
Great dev! can't wait for it to work completely on ICS
Couple of issues
evo 3d: when going to uninstall the uninstall screen flashes like crazy, buttons are highlighted (force stop, clear data, move to sd, uninstall) and blinking, takes several taps before you can get it uninstalled.
evo 4g: also when uninstalling it flashes, sometimes you have to clear data, move to SD card, then uninstall
it's one of the oddest things I've ever seen... and no, I'm not the one who left the nasty market comments.
18rmiller said:
I forgot to disable my other lock screen and now seem to be locked out of my phone. Evo 4g with decks rom. any suggestions?
Click to expand...
Click to collapse
I believe you have emailed me about this problem. I've replied to the email.
roshga said:
Great dev! can't wait for it to work completely on ICS
Click to expand...
Click to collapse
Thanks, I also can't wait for it.
mildlydisturbed said:
Couple of issues
evo 3d: when going to uninstall the uninstall screen flashes like crazy, buttons are highlighted (force stop, clear data, move to sd, uninstall) and blinking, takes several taps before you can get it uninstalled.
evo 4g: also when uninstalling it flashes, sometimes you have to clear data, move to SD card, then uninstall
it's one of the oddest things I've ever seen... and no, I'm not the one who left the nasty market comments.
Click to expand...
Click to collapse
Wow! that's also one of the oddest things I've heard about.
But, I can't imagine why it would happen. None of my code goes beyond the lockscreen and shouldn't affect the uninstalling at all. I just did an uninstall on my phone, tablet, and old phones to see if I get the same issue, but it was able to be uninstalled properly.
The only uninstall issue I know of is that the app is granted Device Admin status after the first time you press the Void Lock app, but that will only give you an Uninstall is not Successful message instead of the issues you are having.
Also odd that it happened to both of your phones.
I can't seem to think of why that uninstalling problem happened and I'm 100% positive that none of the code for Void Lock will affect the uninstalling. But if all that flashing and etc happens only when you are uninstalling Void Lock then Void Lock should definitely be the culprit. Its so strange...
Hmm, could it be related to your rom?
I also never had to clear data or move to SD card to uninstall it. Just disable device admin in the phone's Security Settings and then uninstall it and it'll work properly.
I'm not too worried about the market comments. I guess I expect it because of all the incompatibility issues I have not been able to predict when I released it. Yet, it does work for a lot of phones so I wouldn't even know which phones to restrict. All the problems seems to be coming from manufacturers making changes to the default lockscreen. Still working on fixing all of that right now.
I am a bit upset at those nasty market comments that rates low because of not being able to uninstall. I did give instructions in the market description. I guess I'll need add a new tab in the Settings to describe how to uninstall.
nice lockscreen.
I'm not planning to update this app anytime soon. You can try alternatives if you want, such as Backlight & Sound Notification. Thanks.
Read the FAQ before asking questions. If you haven't read it, my only reply will be "Does the FAQ help?"
Click to expand...
Click to collapse
You do NOT need a kernel with BLN support to use this app. In fact, I made this because my device has no BLN kernels.
Also, a quick note for those who are gonna read the comments: The attached MDPI/HDPI versions look fine on respective devices. The first version of ButtonLED was only available for MDPI, which should explain the first few comments.
Hey guys,
I've been fiddling around Tasker for the last few weeks and finally decided to create a fully functional app using it.
At this point, some of you will be thinking "another useless, ugly, cluttered Tasker created app that does something nobody needs".
Well, then, I'll try to prove you wrong
You do NOT need Tasker to use the app.
App Description:
ButtonLED is similar to NoLED: It allows you to have led like notifications without actually having the led light. However, NoLED uses uses your screen; ButtonLED only uses the hardware buttons' backlight (your screen stays off). It's customizable to an extent, with more to come depending on feedback and suggestions.
Features:
status bar notifications + missed call/unread text support;
pause for some user defined time on proximity (e.g. If phone is turned down, or is in your pocket);
turn button backlight for x seconds, then off for y seconds;
notification exceptions (e.g. To ignore all notification that contain "hello", add *hello* to the exception list);
logs;
should work on all devices since the user can locate the brightness file;
and some more (check the screenshots, install the app).
Compatibility:
It should work on all rooted devices (some devices have a kernel level limitation; read the FAQ). At the moment, you'll also need to have a proximity sensor to run it. It should work without having to do (almost) anything manually for many devices. If auto locate doesn't find anything useful, you'll have to manually locate the brightness file. Please share the results when you do that so i can improve the auto locate feature.
Running The App:
install and open the app. You should be greeted by a popup showing you a list of files. Select the most appropriate (you're looking for something that has a path such as "/sys/devices/platform/bcm21553-leds/leds/button-backlight/brightness). Once you're done, click "enable buttonled in accessibility" and do so. Come back to buttonled and tap the "test buttonled" button. If your capacitive buttons flash, you're good to go. Otherwise, you will need to select a different brightness file (use auto locate or do it manually).
You may also want to customize the options.
Some examples for the brightness file:
Code:
I'll update this list later.
Auto Locate will not follow symlinks as it can cause infinite loops or imprecise results (if it doesn't search deep enough). Usually, /sys/class/leds will have symlinks to all LEDs, backlight included. Check it out.
Screenshots (actual release is slightly different):
{
"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"
}
Changelog:
v1.6 (05/05/13):
You can now ignore apps as well.
The battery tweak can be disabled on devices where ButtonLED was flashing the LEDs once or twice before sleeping forever.
You can long press log items to view the full text, for items that didn't fit.
Proximity sensor feature is now disabled (it wasn't working anyway due to a Tasker limitation) (the UI option is still listed as "FEATURE DISABLED"). This should have a minor but positive impact on performance/battery.
Minor UI changes.
Other minor changes.
v1.5 (24/02/13):
Wake locks are released while the LEDs are off and ButtonLED is waiting;
Sleep timer is fixed. The current value is also displayed when changing the sleep start/end times;
Tapping on a log entry will give you the option to add that notification to the exclusion list;
ButtonLED will give you the choice to install Busybox if it's not found;
File Browser/Auto Locate issues might be fixed for users who were having them (pressing File Browser did nothing at all even if Busybox is installed). Please try it if you were having this issue.
Added XHDPI version for everyone. Also added MDPI for JB/CM10 users.
v1.4 (19/01/13):
Manual search is now as fast as other file explorers (busybox is required);
Sleep start/end added (ButtonLED will not react to notifications during that time);
Confirmation added before removing exceptions;
Fixed a (rare?) issue where ButtonLED kept blinking the lights after the screen is turned on;
Might be more battery efficient if using higher LED Off delays, not sure. But if it is, it will be much better (more testing needed);
v1.3.1 (03/12/12):
ButtonLED will stop notifying you about missed calls and unread texts when you turn your screen on, instead of continuing till you view them;
Auto Locate will now simply search /sys for the brightness file. That means it will locate more files, across more devices. It's also faster;
Fixed the bug where ButtonLED would forget resuming once the battery drops below the threshold then go above it again.
v1.3 (03/11/12):
Stop service and exit menu option;
Ignore notifications if battery is lower than threshold;
Fixed exceptions not taking effect;
Changed the path auto locate looks into. Hopefully, this will make it work for more devices;
Two versions are now available, one for mdpi devices, the other for hdpi devices (thanks for .xxx. for testing).
v1.2 (27/10/12):
Rewrote most of the logic;
Better handling of events;
Less battery consumption and more accurate logs;
Logs now show battery percentage on processed notifications, screen on (if notifications are pending) and device shutdown, which should give users an idea about battery consumption;
Fixed logs showing skipped notifications as processed (e.g. Notifications that were issued with the screen turned on were skipped but shown as processed in the logs);
Auto Locate brightness file option (beta; need more device specific info to tweak the search);
Separated missed call from unread text notifications;
Run with higher task priority, should avoid lag (uses the renice linux shell command).
v1.1 (24/10/12):
Missed call/unread text notifications support;
Optional permanent notification;
Option to use flashlight instead of the hard buttons' led light;
Test button that will turn on and off the led/flashlight;
Other minor modifications and fixes.
(original beta thread)
To Do:
Landscape support;
Patterns?
This list is updated based on your feedback. Want to see a feature? Suggest it!
Bugs:
Proximity sensor doesn't have any effect;
This list is updated based on your feedback. Thanks for reporting any bug you find.
Downloads:
Don't forget to post your comments!
Get ButtonLED
Jelly Bean/CM10 users, get the "ButtonLED.x.x.XXXX_JB.apk".
Everyone else, download "ButtonLED.x.x.XXXX.apk".
Don't know which APK to grab? Read the FAQ for info on how to determine your resolution (MDPI, HDPI, XHDPI, ..).
You can find previous versions here.
Tasker Project:
You can get the Tasker project if you prefer, it offers the same functionality but will run inside Tasker instead of being a separate app.
You need Tasker (pre-ICS versions only) and the Holo Light IPack icon pack to use this.
Grab the appropriate project file from here.
Place the XML file in your SD Card (e.g. mnt/sdcard/tasker/projects/) and open Tasker. Long tap on an existing project (if you can't see the projects bar, disable beginner mode in Tasker's settings, then swipe down from the "projects"/"tasks"/"scenes"/"variables" bar), select "import", then tap on the file's name (e.g. buttonled.hdpi). You should see a new project appear with ButtonLED's icon. Apply the changes by tapping on the green check mark in the bottom left corner, then open Tasker again.
To open ButtonLED's configuration menu, run the task named "config".
Click to expand...
Click to collapse
~~~~
FAQ:
Q: It's not detecting my brightness file!
A: Apparently, if you have a kernel with BLN support, you don't have one. Otherwise, try searching manually or asking on your device's forum. And to make sure auto locate didn't miss something, you can run this in a terminal emulator (this will also expand the search so expect some weird results):
Code:
find / | grep brightness
It's worth noting that Auto Locate will not follow symlinks as it can cause infinite loops or imprecise results (if it doesn't search deep enough). Usually, /sys/class/leds will have symlinks to all LEDs, backlight included. Check it out.
Q: The test button works fine, but ButtonLED won't react to my notifications.
A: make sure ButtonLED is enabled in accessibility. Also, check ButtonLED's logs. Is it detecting the notifications? Is it reacting to them, but you fail to see it? If that's the case, try increasing the led on duration.
Q: Can i use this with application xyz (e.g. Whatsapp)?
A: if the application sends notifications, yes. ButtonLED will automatically detect them.
Q: Should i get the MDPI or HDPI APK?
A: if your device's density is ~160, get the MDPI APK. If it's ~240, download the HDPI APK. If you don't know, download an app from the market that will show you (e.g. screen resolution), or grab the MDPI APK and if it looks squished, uninstall it then install the HDPI APK.
Q: Battery usage is too high!
A: ButtonLED will hold a wakelock when it's flashing the LEDs. Configure it to ignore notifications you don't care about (turn the logs on, and use exceptions). See this post.
Q: Auto Locate/File Browser isn't working!
A: Try installing Busybox.
Also make sure ButtonLED has root permissions - check your SU app, and try to revoke permissions then give them back.
If that fails, it might be related to how Tasker checks if your device is rooted:
Tasker decides that a device is rooted if /system/app/Superuser.apk is present and su is present in one of the directories of $PATH
Click to expand...
Click to collapse
Q: Test works, and the logs show that ButtonLED detects and processes my notifications, but it won't light my LEDs!
A: Check this out.
Q: Talkback is talking randomly even when I have it disabled!
A: That's a known Samsung issue. It's not related to ButtonLED.
Q: How do I ask for help?
A: What have you tried? Did you do anything covered in this FAQ but it didn't help? Have you read the last few pages of comments? If you don't answer any of these questions, I'll assume you haven't read this FAQ and my reply will be "Read the FAQ".
Click to expand...
Click to collapse
~~~~
Reserved
fantastic concept, but the lights flash all the time, without notifications, on my mother's lg p500!
i'll keep watching you for updates, and i'll be testing =)
thanks!
joaor10 said:
fantastic concept, but the lights flash all the time, without notifications, on my mother's lg p500!
i'll keep watching you for updates, and i'll be testing =)
thanks!
Click to expand...
Click to collapse
The logs should be useful in that case. Did you check them out? It might be because of another app that has a permanent notification (e.g. Tasker).
edit: did auto locate work for you? If not, where was your brightness file?
I just noticed the exceptions aren't taking effect (forgot a line ). It's fixed in v1.3, will upload it later.
Regarding resolutions, I'll try checking the XML files later and try adapting it to all resolutions. Don't hold your breath, tho. Worst case scenario, multiple versions will be created, one for each resolution.
If you know where a device's brightness file is located (perhaps you own it, or you just read it somewhere), please share so I can improve the auto locate feature.
Thanks.
will there ever be a compatible jb version?
So in other words, it's like Backlight Notification but for all phones?
https://play.google.com/store/apps/details?id=neldar.bln.control.free
Exploitlol said:
will there ever be a compatible jb version?
Click to expand...
Click to collapse
If anyone has Tasker and can generate JB APKs ("Minimum Android Version: 16" setting) without problems, I'll be happy to pass the project for them to export and send me back, after which I'll upload it.
polobunny said:
So in other words, it's like Backlight Notification but for all phones?
https://play.google.com/store/apps/details?id=neldar.bln.control.free
Click to expand...
Click to collapse
Pretty much, although it works differently: BLN "redirects" LED notifications to the capacitive buttons, ButtonLED tries to detect all notifications.
It's more like NoLED but with capacitive buttons.
Thanks GermainZ...Working on my Ace-i
How's the battery drain?
ccab said:
How's the battery drain?
Click to expand...
Click to collapse
I did my best to keep as low as possible: the sensor is only checked when the notification is triggered and every 30 cycles after that.
I did some testing and the drain was around 6.5% per hour on my device (tested for around 7 hours). Note that was before I fully implemented the battery saving features, so it will probably be less. The used settings were: 1s on, 1s off. (current default is 1s on / 4s off)
But then again, it all depends on your device. Obviously, having a kernel that supports underclocking (e.g. setting your frequencies to 156Mhz-1Ghz with a governor that doesn't lock the frequency to the max) helps, since your device will always be awake if ButtonLED is active (active as in turning the LED on and off, not just running in the background).
Thanks a tonne man.. I was waiting for such an app for like months now.. glad it came and yeah fyi I have subscribed to the thread and waiting for more features and updates..
Sent from Hell!!
---------- Post added at 11:08 AM ---------- Previous post was at 10:52 AM ----------
Resizing for hdpi phones is needed hehehe..
And May I ask where the brightness file is generally located ? Because I wasn't able to make the app work for some reason :/
Sent from Hell!!
.xxx. said:
Thanks a tonne man.. I was waiting for such an app for like months now.. glad it came and yeah fyi I have subscribed to the thread and waiting for more features and updates..
Sent from Hell!!
---------- Post added at 11:08 AM ---------- Previous post was at 10:52 AM ----------
Resizing for hdpi phones is needed hehehe..
And May I ask where the brightness file is generally located ? Because I wasn't able to make the app work for some reason :/
Sent from Hell!!
Click to expand...
Click to collapse
Autolocate didn't work?
It depends on the device and ROM used, really. In the first post, I posted two examples (S5830 and S5830I).
Judging from your signature, I'm guessing you're using the Galaxy S3. After some googling, I think this file will work:
/sys/class/leds/button-backlight/device/leds/button-backlight/brightness
If not, well... Try asking on your device's forum and report back once you find it
GermainZ said:
Autolocate didn't work?
It depends on the device and ROM used, really. In the first post, I posted two examples (S5830 and S5830I).
Judging from your signature, I'm guessing you're using the Galaxy S3. After some googling, I think this file will work:
/sys/class/leds/button-backlight/device/leds/button-backlight/brightness
If not, well... Try asking on your device's forum and report back once you find it
Click to expand...
Click to collapse
Auto locate did not work man. When I tried the test, it gave me this reason.
My decide is LG optimus sol with cm7.
I would glad to see a reply soon. Eager to make it work.
Sent from Hell!!
.xxx. said:
Auto locate did not work man. When I tried the test, it gave me this reason.
My decide is LG optimus sol with cm7.
I would glad to see a reply soon. Eager to make it work.
Sent from Hell!!
Click to expand...
Click to collapse
Try this:
Tap the "Browse for the button brightness file" button
Go to /sys/class/leds/button-backlight/
Tap the "brightness" file
Test
If that doesn't work, try the same with /sys/class/leds/button-backlight/device/leds/button-backlight/ in step 2.
GermainZ said:
Try this:
Tap the "Browse for the button brightness file" button
Go to /sys/class/leds/button-backlight/
Tap the "brightness" file
Test
If that doesn't work, try the same with /sys/class/leds/button-backlight/device/leds/button-backlight/ in step 2.
Click to expand...
Click to collapse
Man!!!!!! You are a life saver.. Thanks a lot.. I got the file.. tested the button led light.. and now looking forward for real time notification.
Sent from Hell!!
---------- Post added at 12:12 PM ---------- Previous post was at 12:05 PM ----------
Okay. So, here is the deal.
In test mode it works like a charm. But in real time notification, it won't glow the soft key light.
Sent from Hell!!
.xxx. said:
Man!!!!!! You are a life saver.. Thanks a lot.. I got the file.. tested the button led light.. and now looking forward for real time notification.
Sent from Hell!!
---------- Post added at 12:12 PM ---------- Previous post was at 12:05 PM ----------
Okay. So, here is the deal.
In test mode it works like a charm. But in real time notification, it won't glow the soft key light.
Sent from Hell!!
Click to expand...
Click to collapse
Did you enable ButtonLED in Accessibility?
If you did, check ButtonLED's logs. Do note that ButtonLED will only work if your display is off, and will stop notifying you once you turn the screen on.
GermainZ said:
Did you enable ButtonLED in Accessibility?
If you did, check ButtonLED's logs. Do note that ButtonLED will only work if your display is off, and will stop notifying you once you turn the screen on.
Click to expand...
Click to collapse
I have enabled it in accessibility.
Buttonled log looks normal to me. It catches the going processes.
Yeah, the display was off for a long.time and there were missed calls but soft keys never glowed :/
Sent from Hell!!
.xxx. said:
I have enabled it in accessibility.
Buttonled log looks normal to me. It catches the going processes.
Yeah, the display was off for a long.time and there were missed calls but soft keys never glowed :/
Sent from Hell!!
Click to expand...
Click to collapse
What do the logs say
Normally, it would be something like this:
Code:
14:57: Stopped (screen turned on; battery: 87%)
14:56: Sleeping for 300 s (proximity detected; battery: 87%)
14:51: Sleeping for 300 s (proximity detected; battery: 87%)
14:51: Missed Call (processed; battery: 87%)
14:51: Missed Call (detected)
Also try setting a higher "on" delay, just to make sure it's not turned off too fast.
I just received the Nougat update and realized that the big Samsung in the sky disabled System UI Tuner. So when faced with defeat I decided to spin up an Android emulator and using the some nifty ADB commands reverse engineer all the settings inside the System UI Tuner menu. I then confirmed you could just apply the same settings and they would work and then created an easy to use application to apply them.
{
"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"
}
To get started you will first want to enabled [Developer Options]:
Go into [Settings]
Tap on [About device]
Repeatedly tap on the [Build Number] until a toast notification comes up stating you have enabled developer options.
Go back
Next you will want to go into [Developer Options] and enable [USB Debugging]:
Go into [Developer Options]
Scroll down and tap on [USB Debugging]
Finally plug in your device to your computer accept any prompts that appear on your phone and run the application. The application will take a few seconds to load as it finds your phone, but after that you will be able to select the settings you want and see them instantly apply to your phone. Features I've noticed that do no work on the Galaxy S7 are: Battery Percentage in the icon, and Do Not Disturb features.
Download - Version 1.1.0
Source Code
Big thanks goes out to @regaw_leinad for AndroidLib (Thread) and @muniz_ri for DeOdexed Marshmallow Rom (Thread)
Release Notes
v1.1.0
Improved performance was doing a lookup of the user id when I could have just passed "current" to the settings executable.
Added NFC for Samsung Devices.
v1.0.0
Initial Release
Images
Power Notification Controls on the Galaxy S7
No alarm icon showing and long time.
This is a great app - warning for S7 users, though - when I tried to disable the alarm icon, the phone kept crashing system UI. I fixed it by relaunching the app and turning the alarm icon back on. So far, that's the only thing I've seen that doesn't work. I have time and battery icon turned off and so far the phone has rebooted a few times without any issues - it doesn't crash system UI and remembers my settings.
Nice work! Great way to hide time/battery without root.
bigkevbosky said:
This is a great app - warning for S7 users, though - when I tried to disable the alarm icon, the phone kept crashing system UI. I fixed it by relaunching the app and turning the alarm icon back on. So far, that's the only thing I've seen that doesn't work. I have time and battery icon turned off and so far the phone has rebooted a few times without any issues - it doesn't crash system UI and remembers my settings.
Nice work! Great way to hide time/battery without root.
Click to expand...
Click to collapse
That is strange. That is the one thing I have disabled and it's working for me on my S7 (SM-G930T). I did do a factory reset after getting the update so that may be the reason why it's working on my phone.
bigkevbosky said:
This is a great app - warning for S7 users, though - when I tried to disable the alarm icon, the phone kept crashing system UI. I fixed it by relaunching the app and turning the alarm icon back on. So far, that's the only thing I've seen that doesn't work. I have time and battery icon turned off and so far the phone has rebooted a few times without any issues - it doesn't crash system UI and remembers my settings.
Nice work! Great way to hide time/battery without root.
Click to expand...
Click to collapse
StevenMattera said:
That is strange. That is the one thing I have disabled and it's working for me on my S7 (SM-G930T). I did do a factory reset after getting the update so that may be the reason why it's working on my phone.
Click to expand...
Click to collapse
I don't get errors disabling any icons, however, when I'm trying to enable the battery percentage in icon and nothing happens. Do you know any way to do this? Hiding icons is pretty nice without root. Good job.
serio22 said:
I don't get errors disabling any icons, however, when I'm trying to enable the battery percentage in icon and nothing happens. Do you know any way to do this? Hiding icons is pretty nice without root. Good job.
Click to expand...
Click to collapse
That is correct. I did not see any changes with battery percentage, or with the Do Not Disturb features. (Should have probably included that in the original post.) I left them in the app, because maybe they will work on other phones.
StevenMattera said:
That is correct. I did not see any changes with battery percentage, or with the Do Not Disturb features. (Should have probably included that in the original post.) I left them in the app, because maybe they will work on other phones.
Click to expand...
Click to collapse
Yeah still good to leave there. At least I can hide the icon to save some room. Thanks man, good find
Sent from my SM-G935T using Tapatalk
I used it to remove the annoying Alarm Icon. I always have an alarm so having a icon for it seems a little redundant. Thank you for this!
StevenMattera said:
I just received the Nougat update and realized that the big Samsung in the sky disabled System UI Tuner. So when faced with defeat I decided to spin up an Android emulator and using the some nifty ADB commands reverse engineer all the settings inside the System UI Tuner menu. I then confirmed you could just apply the same settings and they would work and then created an easy to use application to apply them.
To get started you will first want to enabled [Developer Options]:
Go into [Settings]
Tap on [About device]
Repeatedly tap on the [Build Number] until a toast notification comes up stating you have enabled developer options.
Go back
Next you will want to go into [Developer Options] and enable [USB Debugging]:
Go into [Developer Options]
Scroll down and tap on [USB Debugging]
Finally plug in your device to your computer accept any prompts that appear on your phone and run the application. The application will take a few seconds to load as it finds your phone, but after that you will be able to select the settings you want and see them instantly apply to your phone. Features I've noticed that do no work on the Galaxy S7 are: Battery Percentage in the icon, and Do Not Disturb features.
Download - Version 1.0.0
Source Code
Big thanks goes out to AndroidLib - https://forum.xda-developers.com/showthread.php?t=1512685
Click to expand...
Click to collapse
is there anyway to remove the nfc icon with this ?
many thanks
ryanz999 said:
is there anyway to remove the nfc icon with this ?
many thanks
Click to expand...
Click to collapse
Great idea! After digging through the android source code on how the icon_blacklist setting works. Then digging through a DeOdexed Marshmallow rom (Thanks @muniz_ri [thread=3415952]thread[/URL]) and de-compiling a few APK's, I was able to find the key Samsung uses on the NFC icon. (For anyone interested it's "nfc_on") A link to the new version has been updated in the original post.
StevenMattera said:
Great idea! After digging through the android source code on how the icon_blacklist setting works. Then digging through a DeOdexed Marshmallow rom (Thanks @muniz_ri [thread=3415952]thread[/URL]) and de-compiling a few APK's, I was able to find the key Samsung uses on the NFC icon. (For anyone interested it's "nfc_on") A link to the new version has been updated in the original post.
Click to expand...
Click to collapse
Absolute legend works a treat on my S7 !!!!
Would it be possible to remove the carrier name from the status bar with this app?
I've tried using this and it's Power Notification Control setting is very buggy on my S7. It works perfectly fine on my wife's. This lead me to believe that maybe it was an internal thing going on with mine because I was a beta tester for samsung and she wasn't, but we're both on 7.0, so I flashed stock 7.0 with odin to have a clean system and see if that was the problem, but I'm still having the same issue.
(It changes the ui, adds the option but when I go to activate it, I can not push the star to activate the bar and change the setting.
This mod has improved my quality of life. HAHA!
blankfaced said:
I've tried using this and it's Power Notification Control setting is very buggy on my S7. It works perfectly fine on my wife's. This lead me to believe that maybe it was an internal thing going on with mine because I was a beta tester for samsung and she wasn't, but we're both on 7.0, so I flashed stock 7.0 with odin to have a clean system and see if that was the problem, but I'm still having the same issue.
(It changes the ui, adds the option but when I go to activate it, I can not push the star to activate the bar and change the setting.
Click to expand...
Click to collapse
I have the same problem with my s7 edge
I am happy to find this app. Hate that alarm and bluetooth icon always being there. Seems to be working great on my S7 edge. Is there a way to remove the AM/PM in the clock? I know when its morning or night.
Love the app any chance to remove this garbage it added after root?
hatdrc said:
I am happy to find this app. Hate that alarm and bluetooth icon always being there. Seems to be working great on my S7 edge. Is there a way to remove the AM/PM in the clock? I know when its morning or night.
Click to expand...
Click to collapse
I would love this as well. I know if it's am or pm. I was a beta tester for 3 months and I repeatedly asked samsung to remove it. Worthless and takes up space.
I have tried using this app on my Galaxy s6 but it does not work. I do know however that the icon_blacklist adb commands do in fact work (as I have used them to hide my wifi and cellular icons in the status bar), so if this program is based on icon_blacklist, then it should. I researched androidlib.dll and made sure I have .NET framwork 3.5 or higher installed and enabled, and I do. Any help would be greatly appreciated. Also, it's a Samsung Galaxy S6 920v, MM 6.0.1. Not sure if this will work only on Nougat or not.
StevenMattera said:
I just received the Nougat update and realized that the big Samsung in the sky disabled System UI Tuner. So when faced with defeat I decided to spin up an Android emulator and using the some nifty ADB commands reverse engineer all the settings inside the System UI Tuner menu. I then confirmed you could just apply the same settings and they would work and then created an easy to use application to apply them.
Click to expand...
Click to collapse
Incredible app.
Is there any way to activate the "Dark Theme" in the SYS UI Tuner? Especially useful for us S7 AMOLED users.
Hi,
This is a great program! I'm just curious, will this work with other phones? We are experimenting with the same thing over on the LG V20 forums but only with the adb commands themselves, no front-end app or anything like that. So is it possible that this would work?
If not, would you mind sharing the adb command for enabling Power notification controls? That's the feature I want the most but after some quick Googling I can't find out how to do that.
Thanks!
EDIT: Whoops, I didn't see on GitHub that it says it will work on any Android device. I tested it out on the devices in my signature (LG V20 US Unlocked & LG G Pad III 8.0 Wi-Fi if you're on mobile and can't see my signature). The "Power notification controls" feature that I was mostly after doesn't work. I have the same problem as these guys:
blankfaced said:
I've tried using this and it's Power Notification Control setting is very buggy on my S7. It works perfectly fine on my wife's. This lead me to believe that maybe it was an internal thing going on with mine because I was a beta tester for samsung and she wasn't, but we're both on 7.0, so I flashed stock 7.0 with odin to have a clean system and see if that was the problem, but I'm still having the same issue.
(It changes the ui, adds the option but when I go to activate it, I can not push the star to activate the bar and change the setting.
Click to expand...
Click to collapse
Patybello said:
I have the same problem with my s7 edge
Click to expand...
Click to collapse
Any ideas? I messed around with a few of the "Status Bar" icon settings and those seem to work.
EDIT 2: I figured out how to get Power notification controls working (kinda)! It's still a little wonky and sometimes it locks up, crashes, or just resets though. blankfaced and Patybello, let me know if this works for you. What you have to do is get a notification from the app you want to change into your notification shade. Then slowly pull it left or right just a little bit until the cog icon appears, and click on it. From there if you tap the star icon with the A in it you can set the app's notification priority level (some levels on certain apps cause the notification window to reset/crash when you select them though , so YMMV)! Just make sure you hit "Done" afterwards. Sometimes you can then go into Settings > Notification > Apps to change it from there but a lot of times it just completely freezes up or resets itself, so I would recommend not trying to make any changes in there. I can't reboot my phone right now but I did reboot my tablet and it appears that the priority levels stuck, so hopefully this lasts!
{
"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"
}
Featured by:
XDA-Developers: Customize the Google Pixel 2’s Active Edge to do any action with Edge Sense Plus [XDA Spotlight]
What is Edge Sense Plus?
Edge Sense Plus was initially just meant for the HTC U series. It let's you customize the squeeze action and adds some more squeeze gestures and features.
But with the Pixel2 also coming with a squeezable frame I had the goal to make it compatible with it too.
..and after a couple of days debugging with @k4r70ng (I don't own the device, big thanks to him, was a great help) we are here now!
Requirements
You have to be on Oreo 8.1 or Android P.
You need to run a STOCK based ROM, because Active Edge is broken on AOSP roms.
You need to be rooted with magisk to use it.
Install the Active Edge System Mod Magisk Module from the MagiskManager Repo and the EdgeSensePlus from the playstore and you are ready to go!
Telegram Group
Join Telegram Edge Sense Plus Group
How does it work
To make it working on the Pixel2 I had to modify the SystemUIGoogle.apk that runs the ElmyraService (Service that processes the squeeze gestures).
I intercept the events and pass them to the EdgeSensePlus Application that starts the appropriate action then that you selected.
Some more adjustments were made, so the squeezing also works when you are in immersive mode, camera or when Google Assistant is deactivated/uninstalled.
What can it do?
Custom actions:
Currently you can choose from over different actions
Quickly Start camera - Also when screen is off and locked
Per App Action - Execute different squeeze actions depending in what app you are!
Sidebar
Gesture Panel - Draw custom gestures to start different actions
Custom App
Shortcuts - e.g. to make direct calls, start tasker tasks and more!
Scroll up/down
Flashlight
Recent Apps
Toggle Autorotation
Autobrightness (6 states: Auto, Min, Low, Mid, High, Max)
Split Screen
Expand/Collapse Statusbar
Toggle NFC
Toggle Display on/off
Toggle Autorotation
Toggle DND
Toggle Vibration
Toggle Bluetooth
Toggle WiFi
Music Play/Pause
Previous Track
Next Track
Toggle Keep awake
Google Assistent
Lock Screen
Back
Home
Toggle Sync
Sync all accounts
Previous App
Take Screenshot
Clear all notifications
GPS
Answer/End call
Immersive Mode
Shell command
Per app actions:
With the per app action, you can define different squeeze actions per app. So the chosen action will be executed dependent in what app you are currently are.
Double Squeeze: (Premium)
If you often accidentally trigger a short squeeze, that won't happen anymore if you map your desired action to the double squeeze gesture.
You can define a double squeeze interval, to ensure you are quick enough to trigger it every time.
Long Squeeze:
Missed a long squeeze action on your Pixel? Edge Sense Plus has it!
G-Sensor usage: (Premium)
If enabled, will be able to execute different actions depending on the current position of your device, whether it is flat or upright in your hand.
That way you can have six different squeeze gestures: short, long, doublepress in flat or upright device position.
Media control:
The media control will override your set squeeze actions while media is playing so you can control your media.
That includes play/pause, increase/decrease volume and skip to next and previous track.
Squeeze sounds:
Ever thought it would be funny if a squeeze of your Pixel2 would make a sound, if it is a *click*, *oink* , *fart* or whatever you think of?
You can use any .mp3 file to make that happen!
Sidebar:
The Sidebar has 4 different panels, Applications, Shortcuts, Recent Apps (Premium), Quicksettings (Premium).
Panel colors are customizable
Instructions
You must be on at least Oreo 8.1 to to be able to use it. Root with Magisk is required since the magisk module is mandatory!
It is recommended to have a working TWRP backup in case something goes wrong. Check the FAQ for help too.
Like always: Flash on your own risk. I'm not responsible for any damaga to your device
Flash the Magisk Module either in Magisk Manager or TWRP
Install Edge Sense Plus
Enjoy.
Downloads
Now also available via the MagiskManager Repo:
I recommend to install and update the Magisk Module directly via the MagiskManager repository directly in the MagiskManager app.
All releases will be also available on the GitHub repository
Edge Sense Plus:
Ok lol I am blind, thanks for app!
This looks great and more powerful than other options to intercept the squeeze gesture. Thanks for taking the time to port it!
Would it be possible to provide a module download with an Md5? I downloaded and flashed the module, wound up in a bootloop and had to restore a backup. I'd like to try this, but really want to be careful. Thanks
FAQ
Q: Will it also work on the Pixel2 XL?
A: No, it will bootloop your device. There is a separate thread on the Pixel2 XL forum.
Q: My device bootloops after flashing the magisk module.
A: Ensure you are on the latest Pixel2 OTA. To get out of the bootloop, go to the magisk thread and install the magisk uninstaller and then reinstall magisk again.
Q: The magisk module zip is greyed out when I try to install it.
A: I have no explanation why it happens for some. Install a FileManager like SolidExplorer or FX File Explorer, then Select that File Browser in the System File Explorer to select the path
Thanks. Yeah Pixel 2 on the latest January update with TWRP and Magisk 15.2.
Yep it was a bad download. Thanks for the Md5. I'm all set now :good:
jascolli said:
Yep it was a bad download. Thanks for the Md5. I'm all set now :good:
Click to expand...
Click to collapse
great, glad to hear.
Love the app so far! One thing that bothers me is that when I launch google assistant, it makes the beeping noise twice. Is there anyway to change that?
SuperSmashedBro said:
Love the app so far! One thing that bothers me is that when I launch google assistant, it makes the beeping noise twice. Is there anyway to change that?
Click to expand...
Click to collapse
Aware of that. Will look into this today. Does not happen on my U11... so debugging will take a bit longer.
Are there any plans to distribute the app through the Play Store? And is it normal for the app to constantly ask me to upgrade to premium? By constantly, I literally mean constantly. It seems to be tied to scrolling down the settings page, and it pops up 2-3 times before I reach the bottom.
Also, will squeezing still silence an incoming call? Are there any settings that might prevent the squeeze from silencing an incoming call?
AZImmortal said:
Are there any plans to distribute the app through the Play Store? And is it normal for the app to constantly ask me to upgrade to premium? By constantly, I literally mean constantly. It seems to be tied to scrolling down the settings page, and it pops up 2-3 times before I reach the bottom.
Also, will squeezing still silence an incoming call? Are there any settings that might prevent the squeeze from silencing an incoming call?
Click to expand...
Click to collapse
Currently the app is just visibible for HTC U Devices.
Im afraid of bad ratings from pixel users, since it does just work with root. On the U11 it works without.
Will try improve the scrolling issue.
I just override the google assistant action. So the other native squeeze actions should still work.
AZImmortal said:
Are there any plans to distribute the app through the Play Store? And is it normal for the app to constantly ask me to upgrade to premium? By constantly, I literally mean constantly. It seems to be tied to scrolling down the settings page, and it pops up 2-3 times before I reach the bottom.
Also, will squeezing still silence an incoming call? Are there any settings that might prevent the squeeze from silencing an incoming call?
Click to expand...
Click to collapse
Can you check if that fixes the scrolling issue?
https://www.dropbox.com/s/1rs8vn24o27vrxb/app-release.apk?dl=0
j to the 4n said:
Can you check if that fixes the scrolling issue?
https://www.dropbox.com/s/1rs8vn24o27vrxb/app-release.apk?dl=0
Click to expand...
Click to collapse
Your update seems to have fixed the constant update pop-up for me. Thanks! Just bought pro for the additional features. Awesome work!
Sent from my Pixel 2 using Tapatalk
btreu1 said:
Your update seems to have fixed the constant update pop-up for me. Thanks! Just bought pro for the additional features. Awesome work!
Sent from my Pixel 2 using Tapatalk
Click to expand...
Click to collapse
Much appreciated (-:
I've noticed that pocket detection makes active edge misbehave. I don't know if this is a known issue, but I thought I'd share my experience.
The other thing I thought was an issue was with setting a shortcut to a Tasker task. For anyone who may not understand how it works, you have to open Tasker and choose "exit" from the menu at the top right of the app before you can set the task shortcut in Edge Sense Plus.
Sent from my Pixel 2 using Tapatalk
btreu1 said:
I've noticed that pocket detection makes active edge misbehave. I don't know if this is a known issue, but I thought I'd share my experience.
The other thing I thought was an issue was with setting a shortcut to a Tasker task. For anyone who may not understand how it works, you have to open Tasker and choose "exit" from the menu at the top right of the app before you can set the task shortcut in Edge Sense Plus.
Sent from my Pixel 2 using Tapatalk
Click to expand...
Click to collapse
In what way misbehave? No issues reported yet on the u11 for half a year
Playstore compatibility for Pixel2/XL
burp