toggle flashlight and silent mode with lockscreen slider - Defy Themes and Apps

One unfortunate limitation of the CM11 lockscreen is that you can't toggle silent mode or flashlight using slider shortcuts. (Yes, you can use the notification drawer or quick settings menu, but those are more cumbersome.)
I've been experimenting with Tasker App Factory, and I've just created two very simple apps: one to toggle the flashlight (torch) and one to toggle silent mode. You can set these apps as slider shortcuts on the lockscreen. I'm not a developer, so don't expect much, but I decided to share these in case they're useful to someone.

great, i had such a habit from old samsungs where holding volume key would turn flash on by default. thanks!

i use this menu: lock screen -> action buttons. there is an option to turn on toggle sound and torch, but it is not visualized.

Using an app called Torchie, just press both 'volume buttons' together to turn on/off torch anytime. It runs as a background service and just works anytime, even when screen off (if enabled from Torchie Settings). It kinda make your phone feel like a conventional battery operated torch. No root required.
https://play.google.com/store/apps/details?id=in.blogspot.anselmbros.torchie
XDA Thread here: http://forum.xda-developers.com/android/apps-games/app-torchie-torch-volume-buttons-anytime-t3270230

Related

[Q] pull down menu

has anyone worked out how to edit the pulldown menu on the Sg2?
I would love to know how to remove the Sound Vibration and Auto Rotation buttons from it as i never use them. Would also prefer to have Airplane mode on there instead.
You can have Airplane mode if you press Power button for a second.
Besides I don't think there is a mod out yet which will allow you to modify the Notification menu items, if you want it badly then only option is to go for a Custom ROM.
Regards.

Quick Toggle - iOS Control Center

Hi Everyone... I Present To You This Awesome App Called "Quick Toggle - iOS Control Center"
Very Useful App For Them How Wants Brightness Toggle And Who Doesn't Have Cool New SystemUIs...
I Bumped Into This App In Google Play & Installed It Tout De Suite Very Nice & Cool App...
ATTENTION ! USES ABOUT 25MB RAM WHILE USING, WHEN NOT ABOUT 5MB IS ACTIVE IN RAM...​https://play.google.com/store/apps/details?id=com.thinkyeah.quicktouch​
Quick Touch (previously name as QuickToggle) is an iOS 7 like control panel (iOS7 Control Center),
providing you with quick control to your device (System settings and Apps Launch) via a single expandable panel.
You can open it by swiping up from the bottom of the screen, double clicking Home button and a lot of more amazing methods.
With Quick Touch, you are able to,
- ★choose App alphabetically or launch it from recently used history★
- switch Airplane mode
- switch Screen Auto Rotation
- switch GPS
- switch WI-FI and APN
- switch Auto Screen Brightness and modify Screen Brightness
- modify Media Volume
- set Ringtone Mode
- turn on Flashlight (torch feature) like quick toggle
- short cuts of Map, Camera, System Settings
- quick system toggles panel like the Notification Toggle panel.
- and more other quick settings (quick toggles/power toggles )
Controlling your Android device has never been so easy and grace ever!
The more power Setting Toggles will be release in the future versions.​
I love this app bt It takes about 30 MB RAM

[GUIDE] Easy way to get vibration mode on nougat

After getting my op3t I was quite disappointed when I saw that you couldn't have silent-vibration-normal modes on the slider. Neither you can hold the down volume button to get to vibration mode.
I tried many apps that tried to modify the slider setting but none of them really worked. But finally I came across this.
This app won't substitute dnd for vibration mode but it will give you fast and easy access to vibration mode. Just download it and set the quick setting tile within the first 5.
In the screenshot you will be able to see there is the vibration mode symbol. That is the tile I'm talking about. You only need to press it once to get into vibration mode. And to get volume again you only need to press the volume up button.
But it gets better. Even if you can get to silent mode from the tile. When the slider is on the silent position this title will change to silent and won't change even if you press it.
Link to the app: https://play.google.com/store/apps/details?id=com.cgollner.quicktiles
Working like charm
thanks.
But it gets better. Even if you can get to silent mode from the tile. When the slider is on the silent position this title will change to silent and won't change even if you press it.
Link to the app: https://play.google.com/store/apps/details?id=com.cgollner.quicktiles[/QUOTE]
It works very very great. Nice app.
I use Power Toggles.

[Rom][Unofficial][8.1.0_r33] Screw'd

Here is the Unofficial posting for all Unofficial Screw'd builds for Shamu!
Credits
Huge props to the developers for Screw'd: MrApocalypse(Corey Edwards), Fabi92, dsmitty166,f100cleavland, Megatron007,Mikexdnax,Idrees, and Wrongway213.
Thank you for the amazing work guys!
Check out everything Screw'd here:
[url]http://screwdandroid.com/[/URL]
Thanks
@Neo thanks for everything!
 @camcory for stable device tree
@ the whole screw'd team
 @wrongway213 for being my yoda
 @nitin.chobhe for the guidance
 @flar2 for the amazing ElementalX Kernel hit him a thanks here:[url]https://forum.xda-developers.com/nexus-6/orig-development/kernel-elementalx-n6-0-01-alpha-t2954680[/URL]
 @TheDarkKnight2023
 @Metabolic12
Thank you to @wavedashdoc also for organizing an amazing repository to include many hard to find builds.
Install instructions:
make nandroid backup
flash rom, choice of gapps( i recommend Beans Gapps, any will do) and root if desired
Download link: https://androidfilehost.com/?fid=746163614322269488
Beans Gapps:[url]https://drive.google.com/open?id=1qlt6ciXq-jQuB-VEQYaKzzWN3suUXeuS[/URL]
Source Code:[url]https://github.com/ScrewdAOSP[/URL]
Kernel Source:[url]https://github.com/flar2/shamu[/URL]
XDA:DevDB Information
[Rom][Unofficial][8.1.0_r33] Screw'd, ROM for the Nexus 6
Contributors
fullofhell, wrongway213, MrApocalypse
Source Code: [url]http://see above[/URL]
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.1.x
ROM Firmware Required: Nougat
Based On: AOSP
Version Information
Status: Stable
Created 2018-04-04
Last Updated 2018-06-11
Features:
Android 8.1.0_r33
Rounded UI like Android P
Always On Display( this impedes battery life fyi) I do not use
Night light enabled for all devices
Light, Dark, & Black UI options
20+ accent colors built-in
Substratum ready (sysserv built-in)
Font picker
microG ready
User Interface
Status Bar
Status Bar icons configurations
Screw'd logo placement
Status bar weather
Network Traffic customizations
Battery icon styles + percentage
Custom carrier label
Clock + date customization
Brightness gesture
Double tap to sleep
Noticiation & music ticker
Quick Settings
Quick Pulldown
Smart Pulldown
Disable QS panel when secure locked
Weather settings
Brightness slider on panel
Brightness slider icon
Custom header images (with built-in Screw'd headers)
Mini QS Panel mode
QS Footer warnings
QS Footer icon disable (Settings & Running Services)
QS Tiles (Configurable in QS Panel -> Edit -> 3-dot menu)
Configurable rows & columns
Quickbar scroller
Show/hide tile labels
Haptic feedback on tiles
Recents
Hide apps from recents panels
Icon pack support
Clear-all button & placement
Immersive Recents
Memory bar
Slim Recents
Notifications
Configure notification sounds when screen on
Smart notification sounds
Notification light customization
Kill app button on on long-press notification menu
Heads Up blacklist options
In-call vibration options
Animations
Enable/disable scrolling cache
Screw'd Settings tab transition effect
Screen Off animations
Custom system animations
Custom ListView animations
QS Tile animations
Custom toast animations
Panel Porn
Volume dialog opacity
Volume dialog corner radius
Volume dialog outline stroke (color, thickness, dash width, dash gap)
Power/reboot menu opacity
Power/reboot dialog dim amount
QS panel opacity
Battery Bar
Location (statusbar, above navbar, below navbar)
Style (reg, center-mirrored, reverse)
Thickness, colors, gradient colors
Expanded Desktop
umm....yeah, that.
Power Menu
System
Advanced reboot options (recovery, bootloader, systemui)
Additional entries (screenshot, screenrecord)
On-The-Go Mode
Lockscreen visability
Buttons (*Device dependent)
Swap volume buttons on rotation
Volume buttons control media
Volume buttons control DND
Volume button playback control
Volume button cursor control
HW Navigation button disable*
Backlight customization*
Custom HW button targets*
Lock screen (*Device dependent)
Double tap to sleep
Charging info
Ambient music ticker
Music visualizer
Widget visability toggles (clock, date, alarm)
Lockscreen weather
Shortcut configuation (bottom & mid-screen)
Face auto-unlock
Fingerprint haptic feedback*
Battery light
Pulse if battery low
Only light when charged
Set colors depending on level
Alarm & Wakelock Blocker
Use with CAUTION!!
Smart Pixels (Device dependent)
Shuts off pixels to reduce power consumption
Misc
Screen off power button torch
Pocket Detection
SS custom summary, with random switch
Navigation
Gesture Anywhere
Location, add/update/remove gestures
Trigger width
Navigation Bar
Enable/disable navbar
Set portrait height/landscape width
Choose between stock, Smartbar, Fling bar
(Smartbar) Add/remove buttons
(Smartbar) Input method & media actions
(Smartbar) Touch animations
(Smartbar) Button long-press delay
(Smartbar) Set button action/icon
(Smartbar) Double tap to sleep
(Fling) Swipe gestures
(Fling) Tap gestures
(Fling) Show/set custom Fling logo
(Fling) Show ripples & trails
(Fling) Long-press delay
CarbonGestures
Set number of fingers used for gestures
Set swipe up/down/left/right actions
Last Note:
I recommend using EX Kernel manager with this rom. In doing so you have access to more features such as double tap to sleep/wake, fast charge, fsync, and more. Buy it.
You tube ROM Review by @glockman4519 thanks man!
Sound mod recommendations;
See this post, updated 4.14.18
https://forum.xda-developers.com/nexus-6/development/rom-screw-d-t3773277/post76230768
Congratulations for the ROM. It's really GOOD
Screenshots
Edit: these are old. The whole user interface is rounded and notifications are round as well. This is how Android P is.
gothy.gothy said:
Congratulations for the ROM. It's really GOOD
Click to expand...
Click to collapse
Thanks for the kind words glad u like it.
Are you gonna be updating weekly (or monthly) as are official versions? Gotta try this rom as i've used its previous version.
Ps. Is your name from band with same name or something else?
mal13 said:
Are you gonna be updating weekly (or monthly) as are official versions? Gotta try this rom as i've used its previous version.
Ps. Is your name from band with same name or something else?
Click to expand...
Click to collapse
At least once a week, maybe more, depends on life and school.. I have only done 8 builds and I'm trying to get better with each build and eventually have an official status so I figure the more I build and familiarize myself with the entire repo, the more good I can contribute to the Shamu community.
And your last part, very good, yes it is from the band Full Of Hell, they are one of the few bands that don't care what anyone thinks and create art ahead of the curve. I respect that, and I needed a tag for XDA. Lol..
Thanks for this! About to try it and have a quick qn - it will work with Fi I assume? Also I see it ha EX kernel built in, so while flashing do I still get to see the EX wizard which asks me things like wake gestures, color etc? If not how do I set those?
ECrispy said:
Thanks for this! About to try it and have a quick qn - it will work with Fi I assume? Also I see it ha EX kernel built in, so while flashing do I still get to see the EX wizard which asks me things like wake gestures, color etc? If not how do I set those?
Click to expand...
Click to collapse
I think it will work with Fi, not sure, give it a try and let us know please.. u do not get the ex kernel manger app. U can install it via play store, and mess with those settings through the app. The features are in built, u just set them how u would like.
fullofhell said:
I think it will work with Fi, not sure, give it a try and let us know please.. u do not get the ex kernel manger app. U can install it via play store, and mess with those settings through the app. The features are in built, u just set them how u would like.
Click to expand...
Click to collapse
I don't mean kernel manager app. I mean when you flash EX kernel in recovery it runs thru a wizard which lets you choose all these settings. If I dont do it here, then in my experience even if I choose 'apply on boot' in kernel manager, the settings never stick. e.g. dt2w, if I set it while flashing it works every time, otherwise I have to open the setting app every boot and again set it.
Hope that makes sense? I'm sure there's some file thats being written maybe init.d scripts etc.
ECrispy said:
I don't mean kernel manager app. I mean when you flash EX kernel in recovery it runs thru a wizard which lets you choose all these settings. If I dont do it here, then in my experience even if I choose 'apply on boot' in kernel manager, the settings never stick. e.g. dt2w, if I set it while flashing it works every time, otherwise I have to open the setting app every boot and again set it.
Hope that makes sense? I'm sure there's some file thats being written maybe init.d scripts etc.
Click to expand...
Click to collapse
I know what u are saying. U do not have that setup wiz within the ROM, every feature and option is just in built and u can use that ex kernel manager to set those settings as u would have when u do a standalone ex kernel install with the wizard. It will work this time, cuz the ROM was compiled together with the ex kernel source code and the rom itself.it is built with them all in there. Just try it and u will see what I mean.. paid version of the app btw..
Update: any settings u adjust or change within the ex kernel manager app to turn on or off fast charge, double tap to wake etc, they all can be set, then tap the power looking button to turn on and then they are set. I tested this with a couple reboots to be sure. They stick and are working great. Wavesdashdoc has some settings listed on his rom repo, that may benefit as well. For now I am personally just running default and everything is running perfectly....
So happy to see this.
The ROM is great. Running since last night after a clean flash. One bug I've found so far is that the volume down key does not lower the ring volume and does not enter DND mode. Instead it lowers the media volume. I've checked the button settings and they are correct. Also the phone got a little laggy at some point today and I rebooted.
BigDig said:
The ROM is great. Running since last night after a clean flash. One bug I've found so far is that the volume down key does not lower the ring volume and does not enter DND mode. Instead it lowers the media volume. I've checked the button settings and they are correct. Also the phone got a little laggy at some point today and I rebooted.
Click to expand...
Click to collapse
Thanks, I am glad you like it. Couple things that may help you out, The volume key being for the media volume is a setting. Go to settings/screwd settings/system/buttons/ Turn off "volume keys control media volume" and turn on "do not disturb switch"( this will allow you to show DND when hitting vol down..hold it and it will turn it on).. this fixes both of your issues. About lag, that must be some app you are using. I have been using the Rom for the past 2 months and chose to build this specific rom because of the zero lag. So i am not sure other than maybe user apps, old gapps, or maybe u changed the default kernel settings to try to improve the performance and messed up the default config by mistake... I built with EX Kernel's newest source because it has so many inbuilt features and in my opinion is a flawless kernel. So, any suggestion i would gladly look into for you but on your end i ask that you please document what running services you have and when and under what circumstances the lag occurs. That way i can better help. Additionally, i do not condone the use of Xposed b/c the lag/performance drop resulting from it. That is another possibility.
fullofhell said:
Thanks, I am glad you like it. Couple things that may help you out, The volume key being for the media volume is a setting. Go to settings/screwd settings/system/buttons/ Turn off "volume keys control media volume" and turn on "do not disturb switch"( this will allow you to show DND when hitting vol down..hold it and it will turn it on).. this fixes both of your issues. About lag, that must be some app you are using. I have been using the Rom for the past 2 months and chose to build this specific rom because of the zero lag. So i am not sure other than maybe user apps, old gapps, or maybe u changed the default kernel settings to try to improve the performance and messed up the default config by mistake... I built with EX Kernel's newest source because it has so many inbuilt features and in my opinion is a flawless kernel. So, any suggestion i would gladly look into for you but on your end i ask that you please document what running services you have and when and under what circumstances the lag occurs. That way i can better help. Additionally, i do not condone the use of Xposed b/c the lag/performance drop resulting from it. That is another possibility.
Click to expand...
Click to collapse
Thanks for the quick response! I followed your advice and got the volume button thing sorted out. I didn't root until today, I changed the ex cpu governor to ex instead of interactive that's the default one as I find ex provides better performance... I'll let u know if the lag appears again and under what conditions
Sent from my Nexus 6 using Tapatalk
Rom is fantastic. Fast, great battery life, Viper, Maps, You Tube, Netflix all working. Bluetooth connection to watch is very good.
Question: I have jump to camera with power button on. When I changed the bottom right lock screen shortcut to messaging and double press the power button with the screen off it opens up messaging instead of the camera. Is this intended? First time I have seen this behavior.
Thanks
Duyo said:
Rom is fantastic. Fast, great battery life, Viper, Maps, You Tube, Netflix all working. Bluetooth connection to watch is very good.
Question: I have jump to camera with power button on. When I changed the bottom right lock screen shortcut to messaging and double press the power button with the screen off it opens up messaging instead of the camera. Is this intended? First time I have seen this behavior.
Thanks
Click to expand...
Click to collapse
Thanks that means a lot. Ok so the past few mins I have been trying to replicate your issue. I have to mess with it some more, but I got it to do what u said. I think the gesture for power2x=camera, only works like it's supposed to if the bottom default lockscreen apps are left at default. When we changed them, it modifies the power2x=camera gesture to match the new default app that has now replaced the camera. I got it to gesture and open 3 different apps I set as my bottom right default. So it's kinda a bug, and nice catch I don't miss much and missed it..lol. but I will ask the team if they know if I can fix it, or not. Worst case, I remove that jump feature or at least set it up a bit differently so doesn't have unintended results. It should maybe just say hold the power button to shortcut to your bottom designated application...Sorry if it "screwed" up your intended shortcut..(pun intended..screw'd) har har..
Some info for anyone wondering

One Handed Mode Settings Shortcut

Hi, I have an issue with my Mi 10 OHM disabling itself every time my phone reboots so I'm trying to set a KWGT homescreen shortcut to the settings for OHM to be able to toggle it back on in 2 quick taps instead of going thru the settings sub menus each time. The prob is that I can't seem to find the enable/disable OHM setting in activities even tho I found the "Ignore accidental touch on edges" settings shortcut in activities & it's in the same place in device settings as OHM. To be clear, I'm not looking for a shortcut to activate OHM, I use the swipe left/right from home button for that, I'm looking for the activity shortcut to toggle it on/off in in the device settings. Thanks in advance for any help
꘏⚞^・ェ・^⚟꘏

Categories

Resources