Related
This mod will move all activity content to one, user configured, portion of the screen. The aim is to allow you to use a large device with, um, one hand....
If you mess up with crazy settings, use recovery to delete this file
/data/data/com.hamzah.onehandmode/shared_prefs/pref.xml
Or use the ADB script attached, DONT FLASH IT, its a bat file to run on PC, requires ADB
Click here to help translate this app!
Features
User configurable margins
Toggle using a notification (optional)
Optionally move Action Bar
Transparent notification icon option
Works on all apps
Premium Version Features
Blacklist
Per app settings
Update priority
Premium can be found on Google Play
Planned Features
Support for keyboard
Shift navigation bar to one side
Adjust DPI
Move alert boxes
You tell me!
How it works
This app hooks the Activity class and forces every app to use padding
How to get this awesome mod?
Check attachments, or visit the xposed repo for free version
Click here for premium
This mod is so cool I want to see the code and steal it
You can see the code, but you can't steal it. View Code here
Known Issues
Phone and People app doesn't work when moving actionbar
You tell me!
Changelog is in post below
Screenshots are attached below
Please don't report that it doesn't work without sending a log
XDA:DevDB Information
[MOD][XPOSED][4.0+]One-handed Mode for all devices! , Xposed for all devices (see above for details)
Contributors
hamzahrmalik
Xposed Package Name: com.hamzah.onehandmode
Version Information
Status: Stable
Current Stable Version: 2.0
Stable Release Date: 2014-05-27
Created 2014-05-20
Last Updated 2014-05-31
Changelog
Current Versions
Free: 2.5
Premium: 2.5
ChangeLog
Version 2.5 (16/2/16)
Under the hood updates for the premium verison
Version 2.4 (22/12/14)
New material design theme
Improved many layouts (padding etc)
Disabled the overlay by default because its unstable and covers the actionbar in newer apps using the newer support libraries
Internal optimizations
Version 2.3 (12/9/14)
Option to change the colour of the background
Version 2.2 (11/9/14)
Option to show solid background around shrunk window
Version 2.1 (29/5/14)
Widget for toggling
UI enchancements
Version 2.0 (27/5/14)
New layout which is more organized
Separate margins and master switches for Apps and Notification Centre (NC)
Ready made settings (presets) which you can apply
Smoother toggling
The notification now has 3 sub-buttons, toggle apps, toggle NC, toggle both
The toggle activity can be set to toggle either apps, NC or both
Report a problem button, creates a file on your SD card containing app info. If you have any problems, send this file
Faster
The new SD card read/write permissions are for the reporting button
More here: http://forum.xda-developers.com/showpost.php?p=52966376&postcount=233
Version 1.9 (18/5/14)
About page, with links to my website, twitter, and premium version
Better logic behind the warning of view area being to small, so you don't get false notifications
Performance enhancements
Version 1.8 (17/5/14)
Start notification on boot
Fixed a bug
Version 1.7.1 (16/5/14)
Bug fixes
Version 1.7 (14/5/14)
Move Notification Centre
Access settings through notification
Version 1.6 (8/5/14)
New notification icon
Optional transparent notification icon
Option to disable toggling toast
Version 1.5 (4/5/14)
Launchable activity for toggling, which can be configured to launch from shortcut apps like LMT or Gesture Control
Version 1.4 (3/5/14)
Seamless disabling (no restarting apps)
Version 1.3 (2/5/14)
Disable notification
Moves the actionbar too (optional)
Version 1.2 (1/5/14)
No need to restart apps after toggling
Version 1.1 (30/4/14)
Notification for toggling
Warning when making view area too small
Version 1.0 (29/4/14)
Initial release
@hamzahrmalik: Can you please attach some screenshots?
defim said:
@hamzahrmalik: Can you please attach some screenshots?
Click to expand...
Click to collapse
It does say i'll add soon....just try it if your curious
Sent from my iPod touch using Tapatalk
that's a great job , waiting for screenshots
Sent from my GT-I9500 using XDA Premium 4 mobile app
help :<
i put values out of sceen and now i m stuck with seeing nothing...
what can i do?
exh19 said:
i put values out of sceen and now i m stuck with seeing nothing...
what can i do?
Click to expand...
Click to collapse
Disable xposed through recovery
:<
i am unable to do that, when i boot into recovery, a brown corrupted like screen appears. and when i try to push using desktop flasher it fails. any ideas?
Working great on OPPO Find 5 (latest PAC ROM). I really needed something like this, thank you!
I added few screen shots
exh19 said:
i put values out of sceen and now i m stuck with seeing nothing...
what can i do?
Click to expand...
Click to collapse
Reboot your device and spam the power button. This will disable the xposed framework and all the modules. You can then go and change the settings in the module or disable it and reboot.
Hi,
Great idea!
Few things though:
It would be very nice that the things you mention in OP would be realized. I tried this on a GT-I9505 (galaxy mega 6.3) and such phone needs it for the keyboaard only IMHO. Other apps are no problem to have them fullscreen. So maybe:
- on per app basis (where keyboard is an app too)
- masterswitch in notification area or as widget (or any place that can be reached easily to switch keyboard to one side)
Kind regards,
Treare
treare said:
Hi,
Great idea!
Few things though:
It would be very nice that the things you mention in OP would be realized. I tried this on a GT-I9505 (galaxy mega 6.3) and such phone needs it for the keyboaard only IMHO. Other apps are no problem to have them fullscreen. So maybe:
- on per app basis (where keyboard is an app too)
- masterswitch in notification area or as widget (or any place that can be reached easily to switch keyboard to one side)
Kind regards,
Treare
Click to expand...
Click to collapse
Widget is coming soon. Notification icon is good idea I will add that.
exh19 said:
i put values out of sceen and now i m stuck with seeing nothing...
what can i do?
Click to expand...
Click to collapse
I will add check with next update so you won't be able to go out of screen
hamzahrmalik said:
Widget is coming soon. Notification icon is good idea I will add that.
Click to expand...
Click to collapse
Thanks for that! Also.... i tried all major keyboards that claim to have this left/right function but i never succeeded. It would be very helpfull!
spam power button
Can you define "Spam" power button please
Stuck here
Regards
blakeboro said:
Can you define "Spam" power button please
Stuck here
Regards
Click to expand...
Click to collapse
http://forum.xda-developers.com/xposed/framework-xposed-rom-modding-modifying-t1574401/post51306764
this module is quite handy and great compared to samsung's own one hand operation.
its a great work.
hope to see many neww things in future :good::good::laugh::laugh:
This is cool.
Did you consider to have function like T2 Ultra's single-handed mode?
(double tap home button to drop everything to the bottom.
http://gadgets.ndtv.com/mobiles/reviews/sony-xperia-t2-ultra-review-the-inexpensive-ultra-511729
Ok, had to update to newest framework but the mod isn't working correctly
Nothing appears, just the title bar as seen on screenshot.
I'm currently running CM-based ROM (kitkat) on my N7100.
Not working on Sprint Note 3 running Sprint S5 ROM
Download link is in the thread, do not use the "Download" section in XDA DEVDB, my network has some problems with it for now.
After nearly one year's silence, SwipeBack is now back alive, known as SwipeBack2.
SwipeBack2 is the continue of SwipeBack. It has still the basic feature, swipe-to-return gesture, inspired by the library SwipeBackLayout written by @ikew0ng(a.k.a. IssacWong, 碎星iKe, 碎iKe). It provides a smooth, nature-like and highly customizable swipe-to-return gesture. This module is initially a wrapper of SwipeBackLayout in Xposed, and was welcomed widely by Xposed users. Gradually it has gained much new features that is more than SwipeBackLayout.
If you have installed the old SwipeBack, please uninstall it first, and then you can install SwipeBack2
Features:
* Swipe-to-return gesture
* Per-activity settings which means you are able to customize settings on <strong>each page of each app</strong>
* Experimental hacks for Lollipop (may not work, use with caution, do not turn it on globally)
* More experimental features are coming in future releases.
Note that SwipeBack2 is now only a rewrite and a port to Lollipop (but it still works on ICS/JB/KK). It has many work to-do, as:
* Pure-gesture mode (disable scrolling effects, enables compatibility with apps that consist of Fragments but not Activities, and can work with Browsers)
* Fully-costomizable trigger area (at <strong>any</strong> position on the edge, to fix compatibility with apps that has a gesture like drawers already)
* Automatic bug report and crash log submitter
* More (<strong>advices are always welcome)
SwipeBack2 is free software released under the terms of GNU GPLv3. Source code available at https://github.com/PaperAirplane-Dev-Team/SwipeBack
Changelog
1.0.2:
- Fix icons
- Add ability to show a settings shortcut to the current app activity in notif bar
This is a minor release. We will go to fix several bugs in the next few weeks
1.0.1:
- Fix crashes in main app UI
- Fixes for apps with wallpaper
Downloads
From Xposed Store: http://repo.xposed.info/module/info.papdt.swipeback
From Google Play Store: https://play.google.com/store/apps/details?id=info.papdt.swipeback
FAQs:
Q: Why renamed to SwipeBack2?
A: Because SwipeBack2 is completely rewritten, and is refactored to have a better stability and flexibility. And another reason is, that SwipeBack (us.shandian.swipeback) is blacklisted by Alipay because of the unsecure SwipeBack, so I just renamed it to SwipeBack2 (info.papdt.swipeback), hoping that it will not be blacklisted any more.
Q: Would you add feature X / fix bug X?
A: Feel free to send emails or open issues on GitHub page. I may not have time to reply to you all, but I will take a look at bug reports and feature requests and have the resonable ones implemented in new releases.
Q: SwipeBack is great! Do you accept donations?
A: Well, not now.
XDA:DevDB Information
SwipeBack2, Xposed for all devices (see above for details)
Contributors
PeterCxy
Source Code: https://github.com/PaperAirplane-Dev-Team/SwipeBack
Xposed Package Name: info.papdt.swipeback
Version Information
Status: Beta
Created 2015-03-31
Last Updated 2015-03-31
Crashes when loading the app, gets to about 80% then fc
Edit: logcat https://www.dropbox.com/s/jikihl6rkfijgiu/logcat_and_device_info.zip?dl=0
Not for me, works as it should. Everything fine. Just have to experiment a bit with the Lollipop Feature, few Apps don't like it as stated in the App.
Ty!
apps loaded well but cannot change settings any of the app "unfortunaly swipeback 2 has stopped" please fix it
using in note 2 phantom 13 ROM
Cannot get it working on a Nexus 5 with CM12, I don't know if I'm doing anything wrong but I don't think so. Just installed, enabled it on Xposed and restarted. It's not CAF, so it may be fault of the rom. What android and rom are you using?
EDIT:
Just disabled every other module and it's working now. I will try to find which one is causing the problem and report it because it may be useful to someone.
Works fine expect one bug - on Lollipop when I go to the task manager after swipe back an app it shows the launcher screen as the thumbnails for the swiped back app.
Works great on LG G2 XenonHD 5.0.2:good:
Fantastic Modul, easy to use. Just awesome. Thank you.
https://dl.dropboxusercontent.com/u/73964661/SCR_20150331_190900.mp4
https://dl.dropboxusercontent.com/u/73964661/SCR_20150331_184109.mp4
Galaxy S5 G900F CM12 Fusion ROM
good to see new version thanks for continuing this module
Sent from LG Optimus G
Im glad someone revived this amazing module ... please keep it updated ... i will keep giving feedback and any bugs if i find on this thread
Edit 1 Bugs-
1. While swiping back on Whatsapp it goes back perfectly from the Chat screen to the Chat list. But while Swiping back on other apps like Gallery or Instagram. It doesnt swipe back. It goes to Home Screen.
2.After Swiping back the Recent app page shows wrong thumbnails .. it shows the Home screen as thumbs instead of App last state. (Screenshot Attached)
3.Also after restart i got a com.location.google has stopped ... i may have said the term wrong .. but it was something regarding Location.
4. SB2 force closes if Global settings option is pressed.
Notes:
I have unistalled old Swipeback and Freshly Installed this.
I love this app and will continue to send feedback to make it best.
--
Kitkat - LG G2 D802 International Model - Stock Firmware.
Been waiting for this module to work, thx for it. Unfortunately there are some bugs, the Gmail animation is fine but the rest are broken with in the status bar, like in the video https://vimeo.com/123755651 (nexus 4 stock 5.0.1 and Franco kernel) . Keep up the good work
nicholes said:
apps loaded well but cannot change settings any of the app "unfortunaly swipeback 2 has stopped" please fix it
using in note 2 phantom 13 ROM
Click to expand...
Click to collapse
Same here...;/ (and I know logcat or gtfo
can anyone confirm if it is working on kitkat or not(mine dont work)
Expect the called bugs, great app!
crash at loading apps and breaks recent app menu
nicholes said:
can anyone confirm if it is working on kitkat or not(mine dont work)
Click to expand...
Click to collapse
it runs fine on my Nexus 5 running the latest SlimKat
For us new to this... What does it do?
Simply swipe to go back to the screen you were at previously?
HorstiG said:
Fantastic Modul, easy to use. Just awesome. Thank you.
https://dl.dropboxusercontent.com/u/73964661/SCR_20150331_190900.mp4
https://dl.dropboxusercontent.com/u/73964661/SCR_20150331_184109.mp4
Galaxy S5 G900F CM12 Fusion ROM
Click to expand...
Click to collapse
What is that widget you use? I attached a snip of it.
DeisNet said:
Been waiting for this module to work, thx for it. Unfortunately there are some bugs, the Gmail animation is fine but the rest are broken with in the status bar, like in the video https://vimeo.com/123755651 (nexus 4 stock 5.0.1 and Franco kernel) . Keep up the good work
Click to expand...
Click to collapse
Same here :/
Moto G 5.0.2
mcdavid said:
What is that widget you use? I attached a snip of it.
Click to expand...
Click to collapse
Hi, thats Zooper Widget Pro, Handmade
This Xposed module enables LG's knock code for Lollipop and Marshmallow devices . The knock code is highly customizable, from changing colours to visibility, error messages, background, etc. You can even hide the emergency button.
What's more, you can use codes to directly open specific shortcuts from the lockscreen, for example use 11212 to unlock, 221 to open WhatsApp, 111 for email, etc. These shortcuts don't have to be just apps, they can be anything on your device, like Direct Dial, open a specific Contact, etc. You even have the option to launch these shortcuts without unlocking the phone! (Requires App Settings Xposed, link available in app)
The module is pretty self explanatory, and will prompt you to set a pattern on the lock screen, because that is what it replaces. Other than that, there are no specific instructions to use it. Should the module or Xposed be disabled for any reason, your phone will still remain secure with that pattern.
Compatibility :
I personally test on CM13, and I will support CM12.0, CM12.1, AOSP 5.x and 6.0.x and derivatives. HTC support is limited unless I find a tester. Support for other OEM ROMs is absent beyond basic working functionality.
The only caveats are because of the way Xposed works.
A. Your code(s) will be visible to any one or any app on your device. No root required. The codes are stored encrypted, but anybody determined to get them will be able to, provided they can lay hands on your device. One way to avoid this is to disable USB debugging to prevent chances of a local exploit.
B. You need root to restart the keyguard after changing the full screen option. It is not mandatory, you could manually reboot if you require. All other changes will be reflected automatically, but not this one.
Tags (ignore) : knock lock screen exposed xposed xda tuesday unlock tap full screen fullscreen lockscreen shortcut custom quick launch pattern pin protected pinned authentication dual two factor rijul ahuja
XDA:DevDB Information
KnockCode Lockscreen, Xposed for all devices (see above for details)
Contributors
Rijul.A, MohammadAG
Xposed Package Name: me.rijul.knockcode
Version Information
Status: Abandoned
Current Stable Version: 1.3.0
Stable Release Date: 2016-03-25
Created 2015-12-17
Last Updated 2017-08-15
Reserved
FAQ
Does this work with screen off?
No, that is device specific and I can't implement it without having a device in hand, and even then, it is beyond my abilities.
Module does not work at all
Give me logcat, SystemUI.apk or any other lockscreen.apk which your device uses, I will try to implement it.
Some features, particularly emergency button related, do not work
Give me logcat, SystemUI.apk or any other lockscreen.apk which your device uses, I will try to fix it, but if it gets too difficult to manage because of your OEM ROM, it will not be done.
I am stuck on the lock screen, please help!
Long press the buttons 5 times. Your stock pattern will be restored.
I would like to contribute
Thanks! File a pull request on Github
I would like to contribute by translating your app and I can work with Github
Thanks! File a pull request
I would like to contribute by translating your app and I don't know Github
Thanks! Download the strings.xml file from here and translate away. Upload the contents on hastebin and send me the link with the language.
CM / HTC / Xperia / TouchWiz support?
Works on some HTC, Xperia and TouchWiz devices and not all features work properly.
CM is supported before 20th June nightly I believe.
Reserved
Screenshots
Knock Code Entry
{
"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"
}
Custom shortcut selection
Some settings
More screenshots
Changelog
1.3.1
If you didn't previously update to 1.3.0, please uninstall your old version before updating.
- Better colour handling for dots
- Bugfix from incorrect dots implementation
1.3.0
Please uninstall app, it has been entirely remade from scratch
- Size reduction
- Add option to launch shortcut without unlocking
- Add dots animation
- Translations removed
Older versions
1.2.5
Please clear data of app because of new shortcut scheme
- Module now prompts for pattern if unset
- MOAR shortcuts (thanks @ CyanogenMod)
- Cosmetic changes
- Fix crash if launcher icon was hidden
1.2.4
- Fix custom shortcuts bug
1.2.3
- Added margin b/w dots and lines on lock screen
- You can now add other knock codes to launch apps directly (A la PIN/Pattern Shortcuts Xposed)
- Translation changes
- Long pressing the knock code in activities will now reset it
1.2.2
- Translations (Polish by pantinPL, Mexican Spanish by Alan Yadir)
- Attempted to remove lag while locking and unlocking
- Animate the view when unlocking (not the old green animations, but from AOSP)
- If knock code is never set, module will not replace pattern even if switch is on
- Disabling emergency button in MainActivity will disable option below it
1.2.1
- HTC
- Translation update
1.2.0
- Failsafe option
- Size reduction
1.1.8 (Beta)
- Attempted HTC compatibility, but no testers.
1.1.7
- Bugfix to prevent device lockout when too many incorrect attempts too many times
1.1.6
- Reimplemented KnockCode with buttons, faster now - ripple taps are now confined to boxes
- Added Brazilian Portuguese translations by Gabriel Campos
- Fixed issue with dots view where incorrect mode would still allow dots to be entered.
1.1.5
- Added red colour animation when pattern incorrect
- Fixed a hook so unlocking should be smoother now
1.1.4
- Issues with dots view fixed by using AOSP implementation (if you had issues with v1.1.3, this should fix it)
- Changed tap rectangle to material ripple
1.1.3
Fixed possible ANRs
Added dots view on lock screen (with animations Ooooooo)
1.1.2
Fixed issue with 5.0.x hooks
1.1.1
Minor bugfixes
1.1.0
You will need to enable the module from UI after install
- Xperia issue fixed (if version 1.0.7 produced an issue with you, it should work now)
- Module on/off switch ((thanks @Maxr1998)
- Hide module from launcher (thanks @Maxr1998)
- Change pattern size
- Hide emergency button text but keep button
- Vibration settings
- Module active checker (thanks @Maxr1998)
1.0.7
Marshmallow users will need to delete old version
Implemented emergency button
1.0.6.2
Working Marshmallow support, finally
1.0.6.1
- Improved Marshmallow support
- Fix a bug where module would prevent non pattern lock screens from loading
1.0.6
- Attempted Marshmallow compatibility
- Tried to increase the Lollipop success rate
Older versions
- Overhauled UI, added Lollipop compatibility, removed backward comptability (v1.0.5)
- MohammadAG's release (v1.0.4)
Please ignore this post
Tags : gesture lock screen exposed xposed xda tuesday unlock draw swipe full screen fullscreen lockscreen shortcut custom quick launch pattern pin protected pinned authentication dual two factor rijul ahuja
Whats the effect of this module on battery? I think this is like doubletap2wake function which is a real battery drainer.
Sent from my Nexus 5 using Tapatalk
Didn't work when i enabled the module, chnaged the password and rebooted. Had to uninstall xposed framework, uninstall your app, then re-install xposed. Anything I'm doing wrong with how to enabke the module? I have a galaxy s5 with cm12.1 nightlys.
pradhyu69 said:
Whats the effect of this module on battery? I think this is like doubletap2wake function which is a real battery drainer.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
DT2W is a real battery drain on Nexus 5, obviously due to digitizer and panel being powered together opposed to say an HTC M8/M7 or LG G3/G4 where they are powered separately and natively support DT2W. Your Nexus 5 was never designed with this in mind. DT2W is not a battery drainer. Your hardware just wasn't meant to do this.
N
I tried this module, and after restart my phone stuck at lock screen.. I tried the default pattern to unlock but nothing happened..
Please someone help me out
Benrap said:
Didn't work when i enabled the module, chnaged the password and rebooted. Had to uninstall xposed framework, uninstall your app, then re-install xposed. Anything I'm doing wrong with how to enabke the module? I have a galaxy s5 with cm12.1 nightlys.
Click to expand...
Click to collapse
You need to set up a 3x3 pattern in your default settings. My module checks if it is active, and then overrides it with the knock code. This is done so that there is a fallback pattern lock screen if/when Xposed is disabled for any reason. If it still doesn't work, please give me your Xposed logs. I will try to fix it. I am using the nightlies too!
pradhyu69 said:
Whats the effect of this module on battery? I think this is like doubletap2wake function which is a real battery drainer.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
This module only works while screen on, and therefore, is not the kind of battery drainer that you are taking about.
Dhaval2904 said:
I tried this module, and after restart my phone is stuck at lock screen.. I tried the default pattern to unlock but nothing happens.. Please someone help me out
Click to expand...
Click to collapse
Hi, sorry to hear that Dhaval. You should boot into recovery, go to advanced -> file manager -> delete /data/app/me.rijul.knockcode-*/base.apk. Alternatively, you could disable Xposed if you have a flashable ZIP available.
While you're at it, could you get me a logcat (when your phone is on)
Code:
adb logcat *:E > logcat.txt
Dhaval2904 said:
I tried this module, and after restart my phone is stuck at lock screen.. I tried the default pattern to unlock but nothing happens..
Please someone help me out
Click to expand...
Click to collapse
I also got this problem too.
because I still don't have any pattern lock or pin lock (just swipe)
then I disable Xposed and config Pattern lock in 3x3 (as dev said)
then enable module and reboot again.
now it's work like a charm.
good luck.
Hi, you're right. I tried it myself to see that there is some error which occurs, I'll fix it tonight after I get home. Thank you for identifying it.
I use a CM12.1 based ROM (SaberMod) for my Galaxy S4 and installed your new knock module.
I followed the suggestions (first set a 3x3 pattern, then enabled the module, restart the phone, unlock with default pattern and then set an own pattern) - and everything works
The only thing which is somehow strange is the following:
- I switch off the screen
- I switch the screen on again - the lock screen is visible
- I have to swipe up - an empty screen (only background) is shown
- now I can "knock" to unlock
Is that additional "swipe up" - step normal?
BTW, I'm using the lightning launcher if that matters...
Awesome for someone to take on this project forward! (Since MohammadAG is great at making new modules but terrible at mantaining any of them, or even replying)
It would be awesome if at the end, you talked with some kernel dev that permited Double tap to wake or such and combine efforts for screen-off knock code
Also, could the grid be expanded? 2x2 is small, it would be cool if we could change it to 3x3, 4x4, etc
Thanks a lot!
--
Edit: Tested it on Stock N5 6.0.1 and it blocks you right past the lock screen (knock code lockscreen): after it, a black screen and wallpaper changes to original M wallpaper and lockscreen is shown again and again. Need to disable the module to be able to go past the lockscreen again (and so lost the xposed log for that moment) .
Yes, I had 3x3 pattern lockscreen when activating the module. And the knock code lockscreen appears, but again and again on a loop.
RusherDude said:
Awesome for someone to take on this project forward! (Since MohammadAG is great at making new modules but terrible at mantaining any of them, or even replying)
It would be awesome if at the end, you talked with some kernel dev that permited Double tap to wake or such and combine efforts for screen-off knock code
Also, could the grid be expanded? 2x2 is small, it would be cool if we could change it to 3x3, 4x4, etc
Thanks a lot!
--
Edit: Tested it on Stock N5 6.0.1 and it blocks you right past the lock screen (knock code lockscreen): after it, a black screen and wallpaper changes to original M wallpaper and lockscreen is shown again and again. Need to disable the module to be able to go past the lockscreen again (and so lost the xposed log for that moment) .
Yes, I had 3x3 pattern lockscreen when activating the module. And the knock code lockscreen appears, but again and again on a loop.
Click to expand...
Click to collapse
For your first suggestion, you should refer to http://forum.xda-developers.com/nex...pp-hellscode-knockcode-mod-hellscore-t3135899
For second, yes, the size modification is on my to do list, but first is stability and compatibility.
If you could please use adb logcat *:E? I will try to fix this. I have not yet tested the module personally on Marshmallow, and support for it is very limited. I have been trying to install it on my device, but the build keeps failing. Thanks for feedback!
Bodenseematze said:
I use a CM12.1 based ROM (SaberMod) for my Galaxy S4 and installed your new knock module.
I followed the suggestions (first set a 3x3 pattern, then enabled the module, restart the phone, unlock with default pattern and then set an own pattern) - and everything works
The only thing which is somehow strange is the following:
- I switch off the screen
- I switch the screen on again - the lock screen is visible
- I have to swipe up - an empty screen (only background) is shown
- now I can "knock" to unlock
Is that additional "swipe up" - step normal?
BTW, I'm using the lightning launcher if that matters...
Click to expand...
Click to collapse
Yes, that is the expected behaviour. It emulates stock, wherein you swipe up the screen to show the pattern entry or the pin entry.
Bodenseematze said:
Is that additional "swipe up" - step normal?
BTW, I'm using the lightning launcher if that matters...
Click to expand...
Click to collapse
Yep it's normal, you can change it from stock settings>lockscreen>tick directly show pattern view.
======
Thanks OP the module working perfectly on my gt-n7100 unofficial cm12.1 rom by Ivan Meler. I wish I could unlock it even in a screen off state, just like LG devices
Dhaval2904 said:
I tried this module, and after restart my phone stuck at lock screen.. I tried the default pattern to unlock but nothing happened..
Please someone help me out
Click to expand...
Click to collapse
aillez said:
I also got this problem too.
because I still don't have any pattern lock or pin lock (just swipe)
then I disable Xposed and config Pattern lock in 3x3 (as dev said)
then enable module and reboot again.
now it's work like a charm.
good luck.
Click to expand...
Click to collapse
RusherDude said:
Awesome for someone to take on this project forward! (Since MohammadAG is great at making new modules but terrible at mantaining any of them, or even replying)
It would be awesome if at the end, you talked with some kernel dev that permited Double tap to wake or such and combine efforts for screen-off knock code
Also, could the grid be expanded? 2x2 is small, it would be cool if we could change it to 3x3, 4x4, etc
Thanks a lot!
--
Edit: Tested it on Stock N5 6.0.1 and it blocks you right past the lock screen (knock code lockscreen): after it, a black screen and wallpaper changes to original M wallpaper and lockscreen is shown again and again. Need to disable the module to be able to go past the lockscreen again (and so lost the xposed log for that moment) .
Yes, I had 3x3 pattern lockscreen when activating the module. And the knock code lockscreen appears, but again and again on a loop.
Click to expand...
Click to collapse
Hello, I have updated the module to allow users to set a pattern (that is, allows to use non pattern screen) after it has been activated. So silly of me to have done that wrongly - MohammadAG's ways were very well thought out. Could you please test again?
@RusherDude, I think that this process should also enhance Marshmallow compatibility, but I can not be too sure. If you would test it again, I will gladly work on it further. But I have started a MM ROM download anyway, so you can wait for me to vouch for the module too. Please provide logs if you end up testing.
Thanks for your valuable feedback!
Works well on Z3 5.1.1 with smart lock
Rijul.A said:
For your first suggestion, you should refer to http://forum.xda-developers.com/nex...pp-hellscode-knockcode-mod-hellscore-t3135899
For second, yes, the size modification is on my to do list, but first is stability and compatibility.
If you could please use adb logcat *:E? I will try to fix this. I have not yet tested the module personally on Marshmallow, and support for it is very limited. I have been trying to install it on my device, but the build keeps failing. Thanks for feedback!
Click to expand...
Click to collapse
Thanks for the fast answer! I will try logcat when Im back home. Also that post you linked, will investigate it, thanks!
Rijul.A said:
Hello, I have updated the module to allow users to set a pattern (that is, allows to use non pattern screen) after it has been activated. So silly of me to have done that wrongly - MohammadAG's ways were very well thought out. Could you please test again?
@RusherDude, I think that this process should also enhance Marshmallow compatibility, but I can not be too sure. If you would test it again, I will gladly work on it further. But I have started a MM ROM download anyway, so you can wait for me to vouch for the module too. Please provide logs if you end up testing.
Thanks for your valuable feedback!
Click to expand...
Click to collapse
Nothing is fixed on this version yet unfortunately, same error. A detail I didn't say before tho:
- The knock code only awaits for FIVE touches (my password had 5 touches too, maybe just that?), after that the black screen comes and..
- If the code was OK, the lockscreen appears again but you maintain your wallpaper.
- If the code was not OK, the lockscreen appears again but the background turns to the stock marshmallow one (the one in the dev preview).
That may help you or not, not sure tho. Ill try to help if im able later.
thanks!
Hi again! I've got another module for you all
This simple module makes the device "think" it's held in a certain orientation.
How does that help you?
Well, have you ever tried to read something in landscape mode while lying on your side?
I did, and I failed, because the screen rotated back.
Brilliant! But, how does this module work?
It basically disables systems' orientation sensor listeners (more battery juice side-effect?) and feeds it fake data.
Won't having the device always rotated be a pain in the arse?
No worries! Here's the best part: if you turn off auto-rotation (via quicksettings, for example), the device remains in it's original mode.
And, if you don't have quicksettings, you can make a shortcut on your homescreen from this app which does exactly that.
So, it's easily toggleable
Compatible with all Android versions from 4.0.3 'Ice Cream Sandwich' to 9.0 'Oreo'.
Credits:
Xposed Framework: rovo89 & Tungstwenty
Testing: DallasBelt
Download: Fixed Screen Rotation Mod on Xposed Module Repository
If you found this mod useful consider donating me a coffee, this will help me code ^^
How to report problems efficiently?
- Enable the Debug log in settings
- Use functions that don't work as intended
- Export the logs from Xposed app and put them on PasteBin
- Post on the XDA thread the link along with more information about your device
XDA:DevDB Information
Forced Screen Rotation Mod, Xposed for all devices (see above for details)
Contributors
XspeedPL
Source Code: https://github.com/XspeedPL/ForcedRotationMod
Xposed Package Name: xeed.xposed.fxrmod
Version Information
Status: Stable
Current Stable Version: 1.6.1
Stable Release Date: 2019-03-10
Created 2016-03-31
Last Updated 2019-03-09
Jm_Willing said:
Nice, but after I tested it I uninstalled it but unfortunately the device doesn't behave stock like so I think the settings persist even if you uninstall the module. Could you please look into that? Thanks in advance!
Click to expand...
Click to collapse
After uninstalling you need to reboot for it to take effect. Just like with installing.
Jm_Willing said:
Even after reboot it's still activated.
Click to expand...
Click to collapse
lol, if you uninstalled it and rebooted it isn't possible for it to work.
And since this module doesn't do any permanent changes, it must be something else.
Thanks alot, working great in my lg lbello runing 5.0.2
Can you added an option to whitelist apps?
Zak1997 said:
Thanks alot, working great in my lg lbello runing 5.0.2
Can you added an option to whitelist apps?
Click to expand...
Click to collapse
Sure, no problem
XspeedPL said:
Sure, no problem
Click to expand...
Click to collapse
Great, tnx, you rock
I'm sorry to ask, but i'm not sure to understand.
Isn't it the same to turn off screen rotation when you want it to remain in portrait, and disable when landscape is needed ?
I use this method cause i like my screen not to turn when i'm moving or lying on my side, and turn on rotation when I need to, for seeing a photo per exemple.
Sent from my Nexus 5X using XDA-Developers mobile app
Greedybro said:
I'm sorry to ask, but i'm not sure to understand.
Isn't it the same to turn off screen rotation when you want it to remain in portrait, and disable when landscape is needed ?
I use this method cause i like my screen not to turn when i'm moving or lying on my side, and turn on rotation when I need to, for seeing a photo per exemple.
Click to expand...
Click to collapse
Is there such functionality? Neither my Xperia Z 5.1 or Nexus 6P 6.0 can do that.
No matter if my devices are in portrait or landscape when I disable auto-rotation it just goes back to portrait.
XspeedPL said:
Is there such functionality? Neither my Xperia Z 5.1 or Nexus 6P 6.0 can do that.
No matter if my devices are in portrait or landscape when I disable auto-rotation it just goes back to portrait.
Click to expand...
Click to collapse
Usually when you turn off rotation lock and out your phone in landscape, you can lock it again but this time in landscape!
@gordonpn After doing some proper research I found this TechRepublic article.
It turns out it's not present on all devices out of the box and not on older Androids at all.
Tomorrow, along with app whitelisting, I'll add Gingerbread support too. I hope more people will find this module useful then.
could this force landscape mode on apps that doesn't allow it? TIA!
Can't guarantee that I'm right but I feel like the Landscape lock is only in CM13(never had it before on any older versions of Android or ROMs)? Cause I never really cared to notice it on an AOSP Based ROM(I can check it if you want) but I can clearly see the option working on the CM13 Based ROM I'm using right now...
Check the attached screenshot. BTW I'm using a OnePlus One(Bacon).
hamsup1o said:
could this force landscape mode on apps that doesn't allow it? TIA!
Click to expand...
Click to collapse
I experimented a bit, but the apps glitched and crashed a lot. I don't think that feature would be usable.
ojaswinsingh said:
Can't guarantee that I'm right but I feel like the Landscape lock is only in CM13(never had it before on any older versions of Android or ROMs)? Cause I never really cared to notice it on an AOSP Based ROM(I can check it if you want) but I can clearly see the option working on the CM13 Based ROM I'm using right now...
Click to expand...
Click to collapse
No need for that. Thanks for the insight though.
Got the 1.1 out!
Changes:
Code:
- Gingerbread support
- Implemented app whitelist
@XspeedPL
Hi!
Can you add option which would work by checking screen orientation and locking to that position when auto rotation is turned off.
Don't know if this module supposed to work so, but for me this broke auto rotation. Quick settings auto rotate -toggle became portrait/landscape -toggle which aint good for me. I can't lock screen to any position, but only make auto rotation toggle an 1/2 toggle when phone can be held 4 ways.
working great on galaxy s6 MM
Can you add option '' 0° '' ?
Great job
Tnx
XspeedPL said:
Got the 1.1 out!
Changes:
Code:
- Gingerbread support
- Implemented app whitelist
Click to expand...
Click to collapse
I've been waiting for this update, app whitelist is working great tnx
Spere said:
@XspeedPLDon't know if this module supposed to work so, but for me this broke auto rotation. Quick settings auto rotate -toggle became portrait/landscape -toggle which aint good for me. I can't lock screen to any position, but only make auto rotation toggle an 1/2 toggle when phone can be held 4 ways.
Click to expand...
Click to collapse
Well, that's what I had in mind when I made this module.
I know that you can hold devices 4 ways, but in the end you really only need 2 in my opinion: portrait and landscape.
The "orientation sensor" thing only ever complicated things for me.
cccornelll said:
working great on galaxy s6 MM
Can you add option '' 0° '' ?
Great job
Tnx
Click to expand...
Click to collapse
Done!
Here's the full changelog for 1.2.1:
Code:
- Reworked code structure
- Improved rotation injection
- Introduced an option to force rotation
- Added 0 degree rotation
- New app icon
N7100 (4.4.2) + Fixed Mod 1.2.1 = freeze system.
where is it this '' 1.2.1 '' ?!?! I can not find it anywhere to download....
AppOpsXposed Re is a module for the Xposed framework that restores AppOps functionality on recent Android versions.
"Re" (short for "revised") version got a few updates compared to the original, making it work on newer Androids, like Nougat and Oreo.
Original thread by caspase: AppOpsXposed - AppOps for 4.3+
What is AppOps? What's the difference between AppOps and permissions?
AppOps is a feature that is included in Android starting with JellyBean 4.3. It allows the user to limit an apps functionality, regardless of permissions granted; for example, you can prevent an app from reading your contact list, or accessing your current location. The difference between revoking permissions and using AppOps is that in the latter case, the affected app will not know what happend and, most importantly, will (usually) not crash. In the case of the location, the app will think that the location is currently unavailable. In the case of your contact list, the app will see an empty list.
An important thing to keep in mind is that AppOps was not intended for end-users, so some features do not work as advertised. Limiting "Keep awake" for example has no effect, as this was not implemented by the Android developers.
Compatible with all Android versions from 4.3 'Jelly Bean' to 9.0 'Pie'.
Credits:
Xposed Framework: rovo89 & Tungstwenty
Original module: caspase
Download: AppOpsXposed Re on Xposed Module Repository
How to report problems efficiently?
- Enable the Debug log in settings
- Use functions that don't work as intended
- Export the logs from Xposed app and put them on PasteBin
- Post on the XDA thread the link along with more information about your device
XDA:DevDB Information
AppOpsXposed Re, Xposed for all devices (see above for details)
Contributors
Xspeed, caspase
Source Code: https://github.com/XspeedPL/AppOpsXposed
Xposed Package Name: at.jclehner.appopsxposed.re
Version Information
Status: Stable
Current Stable Version: 1.30.6
Stable Release Date: 2019-03-09
Created 2018-08-10
Last Updated 2019-03-08
you rock dude. I had to settle for my 2nd favorite rom for my daily driver bc it had no AppOps. Now I'm free!!! when I get time I will flash back and give this a try.
Thanks for sharing!!!!
Hey, thanks for your work (even though I'm still on Nougat).
I have three questions though:
- when I go into an app's persmissions screen the sliders in 1.30.4 turned green when turned on and grey when off. In 1.30.5 they're always grey, can this be modified so they change color depending on how their status is?
-also in an app's permission screen, the name of each permission was differently formated and translated in 1.30.4. Could this be ported over to your version of AppOps?
-the next thing didn't work with 1.30.4 either but maybe it can be fixed (or my phone simply isn't compatible), when I go to designs and change the icons of AppOpsXposed, none of them changes in the phone's settings / app overview screen.
I have some screenshots attached. My phone is the HTC 10 on Nougat, regularly rooted
sutobe said:
- when I go into an app's persmissions screen the sliders in 1.30.4 turned green when turned on and grey when off. In 1.30.5 they're always grey, can this be modified so they change color depending on how their status is?
Click to expand...
Click to collapse
It's really easy to change, I am experimenting with colors at the moment.
When I was releasing this I prioritized functionality over looks, but it will be done, no worries.
-also in an app's permission screen, the name of each permission was differently formated and translated in 1.30.4. Could this be ported over to your version of AppOps?
Click to expand...
Click to collapse
I am aware of that, the labels got messed up when I was porting the code base. I'll see what can be done.
-the next thing didn't work with 1.30.4 either but maybe it can be fixed (or my phone simply isn't compatible), when I go to designs and change the icons of AppOpsXposed, none of them changes in the phone's settings / app overview screen.
Click to expand...
Click to collapse
It actually works like the previous version. To see those changes you can either reboot or restart the "UI" process.
To make it work auto-magically a lot more work would be needed, and to be honest, for a single time use feature it's not worth it in my opinion.
It works
But after disabling some ops (permissions) those apps on going notification don't show the notification bar although they're running in the background.
But if i revert it then the notification shows
FC after start at HTC One M7 with Android 5 ROM
Sent from my HTC One using XDA Labs
Nice this cutie is now offical.
Used your inoffical mod since oh my gosh ..long time ago...about a year
on LP, MM, Nougat
:good:
Awww yeah!... Thankyou for this!
Auto close app everytym when i open :/
Mockingbird_ said:
Auto close app everytym when i open :/
Click to expand...
Click to collapse
How to report problems efficiently?
- Enable the Debug log in settings
- Use functions that don't work as intended
- Export the logs from Xposed app and put them on PasteBin
- Post on the XDA thread the link along with more information about your device
Click to expand...
Click to collapse
Maybe try caspase appsops.
For me it works now better with my nougat device. Better permisson controll* and less errors on apps with blocked permissions :good:
*possible to block audio focus on music, video, notification
Hi! What's the difference of this and the appopsxposed without the "re"?~
nijihana said:
Hi! What's the difference of this and the appopsxposed without the "re"?~
Click to expand...
Click to collapse
Original module was supposedly abandoned. This version was updated to support newer Androids, including Nougat and Oreo.
"Re" is short for "revised".
Xspeed said:
Original module was supposedly abandoned. This version was updated to support newer Androids, including Nougat and Oreo.
"Re" is short for "revised".
Click to expand...
Click to collapse
Thank you!
Any chance blocking apps permission to change system settings?
A language file for translation would be nice
edit:
Now i see modul can block "write system" e.g. it can denin on playstore / service but some apps still
change system ( froce app to run in backround) after install an update.
So if an app has no permission to write system how it can change settings even if i denin playstore & service permisson to change system? ^^^^
This app is broking the item "Fingerprint scanner" in the settings of phone. I get FC when I try to open it. My phone is HTC U11, Adrroid 8.0, ROM LeeDroid.
@Xspeed: 'Add OP_BOOT_COMPLETED' in the hacks menu still doesn't work after checking the box and rebooting, there is no option anywhere to control whether an app can start on boot. I'm running a pure AOSP ROM so there is no Privacy Guard, etc. Is there a workaround/fix for this?
Thanks!
@Xspeed Just curious, what are the chances of this getting updated for Pie?
toBsucht Psp said:
Now i see modul can block "write system" e.g. it can denin on playstore / service but some apps still
change system ( froce app to run in backround) after install an update.
So if an app has no permission to write system how it can change settings even if i denin playstore & service permisson to change system? ^^^^
Click to expand...
Click to collapse
What settings is the app changing after you disabled the permission?
smallKING81 said:
This app is broking the item "Fingerprint scanner" in the settings of phone. I get FC when I try to open it. My phone is HTC U11, Adrroid 8.0, ROM LeeDroid.
Click to expand...
Click to collapse
I am going to need LogCat during the FC from you to be able to see what's exactly wrong.
AnonVendetta said:
@Xspeed: 'Add OP_BOOT_COMPLETED' in the hacks menu still doesn't work after checking the box and rebooting, there is no option anywhere to control whether an app can start on boot. I'm running a pure AOSP ROM so there is no Privacy Guard, etc. Is there a workaround/fix for this?
Click to expand...
Click to collapse
This boot run blocking is actually a hack that works only on some devices, to be honest it doesn't work on mine either
bkkzak said:
@Xspeed Just curious, what are the chances of this getting updated for Pie?
Click to expand...
Click to collapse
If you mean EdXposed, you're unfortunately out of luck. This module HEAVILY relies on so called "resource hooks" that EdXposed doesn't support at the moment. Sorry
What is the difference between this app and AppOpsX from F-Droid? does it work on Android Pie?
MDV106 said:
What is the difference between this app and AppOpsX from F-Droid? does it work on Android Pie?
Click to expand...
Click to collapse
To be honest I've never heard of AppOpsX. The two applications work completely different under the hood.
There is stuff non-Xposed apps can't do, like adding a shortcut to AppOps on the app details activity.
Regarding your second question, YES!
The fresh new 1.30.6 version supports Android 9.0 Pie and EdXposed.
I managed to make it work by separating resource hooking related stuff to a second module and made it optional for other functionality.
Simple? Absolutely. Clever? Maybe. AppOps? Xposed. Sorry :/