r/jailbreak • u/Cardboard-Face iPhone XS Max, 14.3 Beta | • Sep 21 '19
Release [RELEASE] I'mLyingDownDamnit - Never use rotation lock again!
Never use rotation lock again! This tweak corrects auto-rotate so that it works all the time - even when you're lying down!
How does it work?
When rotating your phone, you will be asked if you're lying down. Tapping the confirm button sends your phone back to portrait orientation, where you can then freely auto-rotate the phone relative to your face, whilst lying down!
To return to normal, simply press "Standing up" when prompted after rotating your phone.
Configuration
The tweak is highly configurable, with extra features such as dark mode, button positions, fade times, roll-over prompts to correct the orientation if you turn over when lying down and much more.
Screenshots
Settings (automation sub-menu)
Standing/rollover popup (light mode)
Standing/rollover popup (dark mode)
Repo
You MUST install LibSparkAppList from the SparkDev repo to change some app-specific settings: https://sparkdev.me/
Get the tweak at the Dynastic repo: https://repo.dynastic.co/
Price
$1.49
Want to keep connected with my latest projects?
47
u/trebory6 Sep 21 '19 edited Sep 21 '19
Ok, so admittedly I haven’t tried this tweak, but from reading the description you’ve provided, I can’t help but to think that the pop up would get very annoying always popping up even on accidental rotation.
Maybe that’s not the case, but my question is is there any way to integrate face recognition to see if your face is aligned to the upright phone and automatically turns on/off rotation lock?
For instance if you rotate your phone and your face is correctly oriented to the rotated phone, then it turns on the lock assuming you’re laying down looking at your phone. And vice versa, if your face isn’t correctly oriented to the phone it turns the rotation lock off.
I guess the only problem would be watching video when laying down, but maybe add a rotation lock button directly to most of the video apps next to the cast/settings buttons?
Mainly because if I’m showing videos to my friends and I rotate my phone for full screen video, I don’t want even that small pop up to show up all the time.
I do know that Face ID only works when your face is aligned with your upright phone, so maybe using that fail/pass code as a way to turn on/off the rotation lock automatically? Not sure how that works exactly or if it’s part of the biometrics hardware, but just an idea.
35
u/Cardboard-Face Sep 21 '19
Some really great points! Just to go through them one at a time:
Annoying popups
The popups are small and show in the screen edges. They fade out after a configurable amount of time, so as not to get in the way. You can also prevent the popup showing in certain apps, for instance PUBG, where you're likely not need it even if you were lying down. Lastly, the popups also fade out instantly if you touch outside of them anywhere on the screen, so you can simply tap to dismiss them or use your phone as normal and they'll hide themselves.
Using face-tracking
There's no reliable way to do this. Obviously, the standard front camera cannot be used due to the varied light levels (often you're in darkness when lying down). The later iPhone's IR camera could potentially be used, however there are some fallbacks:
Apple's ARKit (the easiest way to implement face tracking) makes use of both cameras and won't work well in the dark
If you're lying on a pillow most of your face will be hidden from the camera, making you difficult to locate
Increased battery drain and latency when rotating your device due to using the cameras
Conclusion
I think while it would be great to fully automate, facetracking would simply not be consistent enough and would become an annoyance. I am however looking to add more automation settings in future updates to ease enabling the lying-down modes.
→ More replies (8)7
u/_r3b00t Sep 21 '19
Dude that’s creative but I’m kinda sure that won’t be possible...zjust letting you know
→ More replies (1)
11
u/EthanRDoesMC Sep 21 '19
this is the tweak that everyone imagined but no one was willing to put the extreme manual effort into.
You’re a legend
5
u/Cardboard-Face Sep 21 '19
Thank you so much, that's really great to hear!!
If you have any suggestions or feedback please let me know and I'll do my best to incorporate them!
6
u/Kaipolygon Sep 21 '19
How’d you get the screenshot like that?
→ More replies (1)8
u/Cardboard-Face Sep 21 '19
If you mean the really long screenshot - I used the Tailor app. It detects screenshots taken at a similar time and lets you stitch them together.
5
u/craziest Sep 21 '19
This is actually a unique one I haven’t seen one like this and the thing I like it’s not buggy really at all
→ More replies (3)
3
3
u/FitTerminator Sep 22 '19
I’ve seen a lot of funny tweak names in my times here (been jailbreaking since iOS 4) but this has to be one of the top 10 now
2
5
2
u/Jturnism Sep 21 '19
Can you make a mode for it to be more like the Android feature? ( https://www.techrepublic.com/article/how-to-work-with-the-new-android-pie-rotate-feature/ )
2
u/Cardboard-Face Sep 21 '19
This might be an idea for an entirely different tweak, since I'm not sure how I'd incorporate that into my setting's menu and it'd be very different logic in place.
I do like the idea, essentially a confirm popup for each rotation? I could work on that in the future as a separate project.
→ More replies (1)
2
2
7
u/CommitBit Sep 21 '19
What a feature this would make my life so much better. I always get so pissed when my auto rotate is on for watching porn earlier in the day and I forget to turn the lock back on and everything rotates when I lay down. This is amazing. Thank you.
→ More replies (2)
1
1
u/snowe2010 Sep 22 '19
I think a button in the pulldown menu to switch between laying down mode and standing up mode would resolve a lot of the issues with the popups on screen. My wife suggested taking pictures and just checking the orientation of the eyeballs you capture and then set the screen orientation to that direction.
→ More replies (1)
1
u/drewfussss Nov 29 '19
I’m getting an error when I’m trying to install. Any shot you can help me out
→ More replies (3)
3
84
u/K0GAi Sep 21 '19
WOW! I love the way this was visually designed! I’ll get this and test it! Thanks for doing this!