yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] شیرخدا:
Vpn problems with mod enabled

First let me say that this is an excellent and useful mod but I too am unable to use vpn apps while this mod is enabled. Your question seems fair that this doesn't seem to have anything to do with vpn's but I think that the problem is while the mod is enabled even when not active the "... Attempts to create a VPN connection. By proceeding,..." security pop up no longer shows. I'm no developer so I don't think that there is much more information that I can give you appart from that the same issue used to happen with the xhalofloatingwindows mod but the developer for that was able to fix it 'officially' by version 2.24 but I think that fixes were being tested at version 2.18 onwards.

I know that not many people seem to use vpn's so it may not be worthwhile trying to make it compatible but if you do thanks in advanced.

Thanks in general for the mod.
[Xposed Framework Modules] hamzahrmalik:
If I can find how they did it, I'll matter

Lol well basically what happened was, if you remember I added black background months ago, early June I think

But it was very unstable. Like very very

I was adding it using xposed, forcing every app to display a blank black rectangle in appropriate place and this caused a lot of apps to break

Yesterday, I randomly realozed that I can actually draw over other apps without xposed...(silly me)

So now OHM draws the black rectangles without using xposed

In fact, if you disabled the module, the black part would still work

Because the black part and the resize part are different, I had to switch of the black part whenever you toggle ohm. But I forgot to do the same for blacklisted apps :(

The launcher may well be hard coded, I'm not sure

And the status bar... I noticed the issue but since I have black status bar it doesn't really matter

Compared to

Its a lot better :)
[Xposed Framework Modules] hamzahrmalik:
2.3 is out with option to change colour of the overlay which was introduced yesterday
[Xposed Framework Modules] RusherDude:
Yeah, it is MUCH better :D, however for we that use tinted status bar, if the status bar and navigation bar isn't placed on their reduced place, it looks bad still :(. You didn't find the way yet to "move" the status and nav bars? That would be another big step :highfive:

Btw, you said that now you draw the black rectangles without xposed, but now it looks like the black rectangles pop in with any new screen, which looks ok in an screen but when you move to the next one the screen blinks because the black rectangles draw again.. and again for any new app you open. it look a little broken, couldn't the black zones be "fixed"?

Also, I think that the launcher problem is hardcoded values or relational values, like max_height x 0,25, and since you don't change those paramenters the screen hits won't be correctly calculated. You could easilly transform every on screen click and click also on the padding position, so it would fix this problem :fingers-crossed:, could you please test this? It could be neat because gestures are the best :(

Testing 2.3 :good:

Things I noticed:

a) The Google Play is half broken. You can't select apps music etc, it is scrolled down by default and you can't scroll up :(. I didn't saw this prob before o.O Now the Phone and Contacts app do the same, instead of looking out-of-their-place, they look cut: Maybe its the same webviews problem, but the black bars just draw over screen zone? Maybe you could draw reduced black zones for those damn webview apps? could be a nice fix!

b) The blacklist premium problem is there, though u had fixed it on this version, my bad :P.

c) The background color option works, but why by default it's red? lol, shouldn't be the default black?

Also when the settings are applied, if you're in OHM mode toggled, the background doesn't change, you need to toggle off and on to see the change.

Also, if you could put an option to set the color the same than the action/navigation bar.. :DD. This may be hard, or at least to get the value after programs like tinted status bar changed it haha. Consider ir a challenge XD

Thanks!

EDIT:

As I said on the post before, the Keyboard is unusable with OHM mode on, since the black padding is over it :( This is a critical bug and should be priority :(
[Xposed Framework Modules] Jimmy34742:
After using Flying Android for a while, I've gone back to OHM. I make the OHM screen pretty small (less than 1/4 of the screen) so that the whole small screen lies within reach of my thumb. That works well most of the time, but some apps have enough controls so that they're hard to use with such a small OHM screen. In that case, Flying Android works better because I can just slide the screen around until the thing I need to reach lies under my thumb. So I still suggest adding a flying mode to OHM. It's not needed as often, so it would only really be useful on a per app basis. Per app flying would be different than what the Flying Android app offers. That app also has other development limitations, so you wouldn't simply be repeating the other app's functionality.
[Xposed Framework Modules] hamzahrmalik:
I think next priority is keyboard then system bars

I thought I fixed blacklisting but I apparently didn't lol

I'm aware of the google play issue but I've literally no idea what causes it
[Xposed Framework Modules] RusherDude:
Yeah, keyboard problem priority is #1 since the app is broken now. You got 2 ways: either don't paint black rectangles over keyboard (bad solution since if the keyboard is normal size it isn't exactly one-hand usable lol) or to move the keyboard to the right (hard solution, but much easier than moving the nav/status bar out of their place?)

The problem with both the keyboard and the phone/people/googleplay apps is the same: the same webviews problem you had in the past. The apps are bigger than the space selected for the apps (with the margins), so since the black rectangles are painted over them, some part on the screen is covered by them.. it's easy lol.

So in order to fix that, you could check for the app opened, if it's phone/people/app then paint smaller black rectangles since the app is always a little bigger than its permitted space. It seems to be small logic easy fix here, if I'm not mistaken with the method for painting the black rectangles.

Keep doing good! :good:
[Xposed Framework Modules] hamzahrmalik:
Your wrong. Sorry for being blunt

The Google Play problem was there even before I added black rectangle feature

I don't know why, I'll get you screenshot one min

Edit
[Xposed Framework Modules] hamzahrmalik:
It works for many other people so its your ROM, sorry. A log perhaps?
[Xposed Framework Modules] hamzahrmalik:
Send. A. Log.
[Xposed Framework Modules] rockadz9:
great job,,nice man I will give it a try:laugh:
[Xposed Framework Modules] Hackerlacka:
I followed the help-guide which said that I could typ in 960 x 540 in the top two boxes. I applied the changes and rebooted my device. When my device was running again nova launcher crashed and it wouldn't start again. Setttings went black and a could axcess a single app. Had to disable this mod through recovery. My device is a Galaxy s4
[Xposed Framework Modules] Jimmy34742:
I made some settings, but the area was too small. I tried to change the settings, but all I got was empty windows, even after rebooting. So I also had to disable the app via recovery on my S4.
[Xposed Framework Modules] hamzahrmalik:
Next update will warn if you make the area less than 40% of total screen area. Also, I will make a zip to disable this mod (without disabling all of xposed)
[Xposed Framework Modules] airmaxx23:
Is this similar to the Flying Android module? It lets you move the whole window (screen) around.
[Xposed Framework Modules] hamzahrmalik:
Version 1.1 is now out with masterswitch in notification centre
[Xposed Framework Modules] Jimmy34742:
1) I alter the settings via the toggle, but no matter what settings I try the app tells me it's too small. Even the default (all 0's) is reported too small. And no matter what numbers I put in the settings, I always get a tiny window in the lower left that's about 400 pixels high and 100 pixels wide, with almost all of the window off the screen. Do we need to reboot after every time we change settings?

2) Maybe post a couple of sets of suggested settings to try in case I'm misunderstanding the settings? And maybe put suggested sets of settings in the app's options?

3) Can you make a disabler that we can flash via recovery and not ADB?
[Xposed Framework Modules] mtvtitan:
Screenes

I took the liberty of creating the screenshots. See attachments.

I don't know any coding and how to create any logs, just another average user.

FYI

1) There are issue with some games and emulators fro the key mapping.

2) It works on my Xperia Z1 (monXdified)

3) Start going with small values, I started with 10 pxl.

Request, if you would like to do it:

1) Filter option

2) Reboot / Restart options
[Xposed Framework Modules] Droidphilev:
1.1 works fine for me, thanks!
[Xposed Framework Modules] hamzahrmalik:
Are you putting the settings in the right order?

Tutorial is planned

You the xposed disabler
[Xposed Framework Modules] Jimmy34742:
Is a reboot required after changing the settings? I see the "right," "left," etc. in the settings, but no matter how I set them, I got the same result.

The Xposed disabler works fine, but it requires two reboots after booting to recovery: once to disable the app in Xposed and reinstall Xposed, then once again to bring the system up with Xposed installed. If we had a zip we could flash, we'd only have to reboot one time instead of two.
[Xposed Framework Modules] hamzahrmalik:
Don't need to reboot. But it'll only apply to apps launched after applying. Or relaunched. At least at the moment. I'm trying to make it reload every time you switch, tonight maybe
[Xposed Framework Modules] Android phone user:
Yeah, sure, but where should I search for it?
[Xposed Framework Modules] hamzahrmalik:
Go to xposed installer and go to logs. Then select share
[Xposed Framework Modules] Proym:
Since we no longer need to restart an app to toggle, an ability to create shortcuts would be great for enabling it via 3rd party softkey apps like lmt or udn.
[Xposed Framework Modules] hamzahrmalik:
I was thinking same thing. Tomorrow.
[Xposed Framework Modules] Proym:
I don't know if it can be achieved with exposed but have you tried messing with the "simulate a secondary display" option in the developer options? Because it seems to me the mini view in LG G Pro II is achieved using that tool or something similar. It just creates a smaller window over the actual screen and dims the background though it's clickable unlike "simulate a secondary display" if I'm remembering correctly. Because in all the apps I've tried this module leaves the actionbar intact and in my opinion that just defeats the purpose. By the way English is not my native language so forgive me if anything I've said is incomprehensible.
[Xposed Framework Modules] Jimmy34742:
That's right. I'm a big fan of operating the phone one-handed, but I'm finding this app useless. Consider Flying Android, for example. When I'm standing on a crowded subway carrying a heavy bag in one hand and operating my phone with the other and enjoying the full screen, I suddenly encounter some app with a stupidly designed UI that places something I need to press out of my thumb's reach. We all have these small hand-sized phones but UI designers design as if we're sitting at desktops with a mouse available, or are willing to employ our whole bodies to operate our tiny computers. In that case, I activate Flying Android with a gesture, which instantly flies the entire window plus action bar down about 3/4 of the screen. If it's still too far off to one side, then I drag the flying window with my thumb, press what I need to, then touch somewhere outside the flying window to instantly pop the window back to the standard location.

With your app, even if I sacrifice the full-screen experience, the only way I can bring the entire window under the reach of my thumb is to create a window that would be way too small to use all the time. The functionality I'd like to see is a way to toggle your app on and off from inside any other app, for example by touching somewhere outside of the shrunk window. And the shrunk window has to include the stuff at the top of the phone (i.e. the action bar), or else it pretty much has no purpose. In other words, I need a shortcut (which I would program to a gesture using GMD Gesture Control) that would allow me to instantly actuate your app from any context, and have your app shrink the entire screen. This would be different from Flying Android because your shrunk window wouldn't be flying and draggable, just squeezed way down. But the shrunk window then needs to be instantly re-inflatable back to full screen.
[Xposed Framework Modules] RusherDude:
Dude, I know that the problem was there, and I explained you why!

The problem is that phone/people/play apps, are BIGGER than usual when resized (you said that it was due to webviews or something). So after resizing them, you're screwed, first because when moving the action bar, you place it at the same place you would for any other app, and in this case, since the app is bigger, you overlapp app space. And then it is exactly the same with the black rectangles, you paint them like to other apps, but since the app is bigger, you also overlap app space.

The easy fix is is, if I'm into the phone/app/gplay app, change the coordinates where the action bar is moved and make the black rectangles smaller in order to let the entire app be on screen. That until ofc you can somehow resize those damn apps correctly :good:
[Xposed Framework Modules] S.D.Richards:
Please forgive me for not reading the complete thread right now. Anyway, here are my experiences.

Device: Sony Xperia Z Ultra

ROM: SlimKat 7.9 (Android 4.4.4)

Short, it works as expected/described, apart from the keyboard.

Bug: When I change the background color from the default "red", it gets applied, but still shows "red" in the menu.

If you could add the following feature(s), I'd happily buy the unlocker/pro version.

1. switchable profiles: depending on the situation, I'm using the left or right hand, but currently I need to enter the settings and re-aply to move the thing around.

2. support for Tasker: together with (1), let me de-/activate it and also be able to select the position this way.

3. option to set it automatically to "normal mode" when the keyboard gets opended

Sidenote, I doubt it's possible, but: could the otherwise blank background be repurposed? It would be nice if I could drop some (zooper-)widgets on there to have some quick info always at hand.

Also, again don't know if possible, but could there be a listener for taps on the actual shrunken app, so that it automatically goes back to normal if some things get clicked(emulating what Apple does with their new phone)?

Thank you for your work, much appreciated :)
[Xposed Framework Modules] hamzahrmalik:
All those can be done except for widgets

Also the tasker issue is sort of solved already because there is a toggle you can set Tasker to activate
[Xposed Framework Modules] S.D.Richards:
Sure, calling the toggle app from Tasker is possible, but that alone wouldn't help if you'd included support for the mentioned profiles - unless you plan to clutter my appdrawer with dozens of toggle apps ;)

Thanks for your answer, I'll buy the unlocker later on tonight :)

Edit, and bought.
[Xposed Framework Modules] hamzahrmalik:
I'd make 2 things if I made profiles

Firstly, shortcuts for each profile(like the type you can add to launcher but don't show in app drawer)

And secondly one shortcut which would launch a floating window to quickly change profile

And thanks for buying :)
[Xposed Framework Modules] streetrod60:
this one handed doesnt work with keyboard?
[Xposed Framework Modules] Jimmy34742:
Reverted to 2.1.1 to recover keyboard functionality.
[Xposed Framework Modules] hamzahrmalik:
You can disable the solid overlay

Go to OHM and chose settings from main menu
[Xposed Framework Modules] Jimmy34742:
Yes, that worked. I didn't realize that was the overlay covering the keyboard because my overlay was the same color as my background.
[Xposed Framework Modules] SBL777:
Thanks!!!
[Xposed Framework Modules] RusherDude:
lol [MENTION=5290145]hamzahrmalik[/MENTION]

You didn't like my last post? that is the problem..
[Xposed Framework Modules] hamzahrmalik:
I don't want to just change the margin size for those apps because that would be what I call a "hacky fix" because it might work for some but on other resolution it might not

Also if they change it on play store I'd have to do it again

I'm trying to think of a way to actually solve the problem
[Xposed Framework Modules] RusherDude:
Now thats forward-thinking :good:

However, it may be smart to do a hacky fix until they release apps for L, they may in the end disable webviews or anything, who knows :laugh:

Please, in the meantime, can you update the paid version with the fix for the blacklist? Right now the app is unusable, since for those apps either you don't blacklist them (lose functionallity, some critical), or blacklist them (and lose even more functionality) :(
[Xposed Framework Modules] hamzahrmalik:
OK, hotfix tomorrow
[Xposed Framework Modules] RusherDude:
Thanks a lot mate :fingers-crossed:
[Xposed Framework Modules] nexusTG920:
Shrink the screen size using "off pixels"

Hi all !

I was looking for a mod that would allow to use android only on a part of the screen. The closest thing that I found is this one-hand mod.

My purpose is to save as much battery as possible while hiking for several days. I use my phone to listen to some music, and read some maps.

I've already installed greenify and it helps a lot. After this I was wondering if there was a possibility to use for example only half of my nexus 5 screen by shrinking android OS into for example the bottom part of the screen and turning the top pixel off. I've tried it using this module but on my device the margins appear as blue and pixels are not turned off.

Moreover, the "shrinkage" is not perfect since the margins cover the screen and don't allow me to reach some part of the UI. The UI is not shrinked but only covered by the margins.

To summarize here are my questions :

- how can I get a working shrinkage

- can the margins be turned off pixels ?

Many thanks for your help
[Xposed Framework Modules] hamzahrmalik:
Premium version 2.3.1 is out, fixed blacklist issue
[Xposed Framework Modules] RusherDude:
That's only possible on AMOLED screens, where black pixels are OFF: On LCDs (like ur Nexus 5 ones), all the screen is either turned ON or OFF. Not possible, black pixels are always ON on an LCD.

Also, if the pixels are blue, you'd be able to change the colour in settings. If not, then you're using the free version and Hamza bugged it lately to be blue by default, not black :laugh:

Thank you. I am not able to try right now, tomorrow I'll review haha :laugh::good:
[Xposed Framework Modules] nexusTG920:
Okay ! Thank you for your explanations. Do you think that a special ROM could do what I want ?

Many thanks
[Xposed Framework Modules] hamzahrmalik:
No because its not possible. The pixels cannot be off. Its like if you have a screen made of gorilla glass 2 you can't buy an app to make it gorilla glass 3

It the same way, your screen is LCD and there's nothing you can do abut that. Sorry
[Xposed Framework Modules] RusherDude:
Checked the new version. Blacklist works again :D.

Btw, Mostly all the stuff I tried worked excellent, but I found something strange: Remember that loong ago (first version) the module had problems with some apps? (Reddit is fun, solid explorer, etc..) and they got solved? Now I'm finding that reddit is fun haves problem again :(, somehow the status bar and the bar with the options is hidden. What could've happened?
[Xposed Framework Modules] شیرخدا:
Vpn problems with mod enabled-Fixed

Just wanted to follow up on the vpn issue, turns out that the fix is quite simple. All you need to do is add VPNDialogs (com.android.vpndialogs) to the apps black list and the relevant security pop-up will start to show up again.

Thanks again for an excellent app. Hope this helps anyone having problems using a vpn with this mod.
[Xposed Framework Modules] hicks12:
Been trying this and it seems to solved my issue with the oneplus one, coming from a nexus 5 its slightly too big :P. Any ideas when the keyboard resize will be implemented? Would be brilliant to get that done as its the only thing stopping me creating one handed texts :D.
[Xposed Framework Modules] gardenofwine:
current application closes when toggeling onehand

I'm trying to emulate the iPhone 6 "reachability" experience in my Nexus 5 using onehand mode. I've installed onehand and it works great when I touch the "onehand toggle" icon in my launcher. I hooked up my home button to launch "onehand toggle" when I double tap it (using Home2 Shortcut). What n=happens now is that whatever app I'm currently using is closed, and then the onehand toggle is launched, resizing the screen; but I have to manually launch the application that was running.

Is there a better flow I can use so that a double tap (or any other key shortcut) would shrink the currently used app screen to a one handed mode? The goal here is to mimic iPhone6 behavior in ease of use. A simple double tap to resize the screen.

Thanks!
[Xposed Framework Modules] Jimmy34742:
[MENTION=6085566]gardenofwine[/MENTION], after doing settings in the One Handed Mode app, exit it completely using the back button. After that, enter/exit one-hand mode using the toggle, not the main app. Make sure you've mapped any shortcut you're using, such as the home button, to the One Handed Mode toggle and not to the One Handed Mode app.
[Xposed Framework Modules] imsiin:
Hey great app, quick question I have a note 3 and I'm having issues with landscape games when enabling OHM. For instance tiny tower vegas, when I enable OHM everything seems to move down instead of shrinking and the touch controls don't work unless you touch above them..

Anyway to fix this?
[Xposed Framework Modules] jackeyyiu:
Got stuck in booting

I am using oneplus one and stuck in booting state:crying:

anyone trying this with oneplus one before?
[Xposed Framework Modules] hamzahrmalik:
I have yes

I can't see how it would affect booting

Use xposed Disabler to uninstall xposed from recovery
[Xposed Framework Modules] jackeyyiu:
Hahaha, thz but I fix it by rebooting it few times:cyclops:

Btw, anyone know how to toggle this one hand feature by one touch? i open then onehand toggle and the apps setting page comes out only.

I also found that there is a widget to toggle(3 vertical rectgular). but everytime i open it, the one hand mode get enabled but the setting page comes out as well....

Anyone help me?:crying:
[Xposed Framework Modules] hamzahrmalik:
In both cases you need to close the main app first from recent apps menu then it'll work how you want
[Xposed Framework Modules] jackeyyiu:
its work!!!!

thz so much!!!

i am using glove box for the toggle, but seems cannot work in apps(eg. chrome). i have to go to another app and get back to chrome to make it work.

any other toggle apps recommended?
[Xposed Framework Modules] Dehvee:
Having trouble getting this to work on my OPO phone. It seems nothing is being "shrunk" and everything is just cut off to whatever I specify to. Settings are at 50 pixels left and top, instead of shrinking it just cuts off the screen by 50 pixels so I'm just seeing less. Any solution to this?
[Xposed Framework Modules] hamzahrmalik:
Means the app is working the mod isn't

Make sure it's enabled and rebooted

Works fine on my opo
[Xposed Framework Modules] meirone:
Can I change the dpi settings also?

Hi there

I tried to use the module so I can work as if it was a 3.7 inch... But it seems like it doesn't really change the DPI settings, but only adds margin. Means that part of the screen, including text boxes, buttons etc. are disappearing. Is it a problem in my phone?

Here is what I was dreaming of when I tried your module :laugh: -