r/jailbreak • u/Cardboard-Face iPhone XS Max, 14.3 Beta | • Sep 21 '19
[RELEASE] I'mLyingDownDamnit - Never use rotation lock again! Release
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?
45
u/trebory6 iPhone XS Max, iOS 12.4 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.
39
u/Cardboard-Face iPhone XS Max, 14.3 Beta | 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.
9
u/trebory6 iPhone XS Max, iOS 12.4 Sep 21 '19
Well FaceID works perfectly fine in pitch darkness, but I understand the pillow obscurantism point.
I mean, like FaceID, it wouldn’t be perfect, but maybe just enough of an automation to be a toggle-able feature to entice people to pay?
I also understand where you’re coming from, but maybe it’s worth looking into sometime because I love the idea of this tweak.
Have a good one!
14
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 21 '19
While faceID works well in pitch darkness, I’m not sure how well it’d work at detecting an obscured face and calculating its orientation.
Perhaps it could be a fun optional feature that shows the UI if it can’t detect a face, so this could be something I’ll think about down the line.
Love the suggestions though, keep them coming!
2
u/mtuan293 iPhone XS Max, 15.2 Sep 22 '19
There’s Attention Aware Feature thing. Maybe you can utilize that? I think it’d check every now and then to ensure you’re looking at the phone, so not sure how that would work in this case.
0
u/Garlicvideos Sep 22 '19 edited Sep 22 '19
How about the gyroscope?
I could imagine using it to detect if the person is lying down.
Edit: why are you guys downvoting me? this is a serious suggestion and it could possibly work.
1
u/ARM64-darwin1820 iPhone XS, 13.3 | Sep 22 '19
Isn't the gyroscope what's currently used to determine the device orientation in the tweak?
1
u/Garlicvideos Sep 22 '19
Wait, doesn’t the tweak just give a prompt every time the OS auto rotates?
I meant using the gyroscope to detect whether the phone is pretty much face flat, thus knowing if the user is lying down.
So this way, instead of looking for the rotation on one axis, it looks for two.
If the tweak already does this, then my bad, im probably retarded.
1
u/ARM64-darwin1820 iPhone XS, 13.3 | Sep 22 '19
Sorry for the confusion, I meant the device auto rotate uses the gyroscope to detect when to rotate, doesn't it?
1
Sep 21 '19 edited Sep 21 '19
[deleted]
1
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 21 '19
That would be excellent to see, if you've got a demo app for it I'd be really interested in seeing it! What do you think about photos in the dark? I was wondering if that'd be plausible too, since I was after an all-round consistent solution.
6
u/_r3b00t iPhone XS, 13.5 | Sep 21 '19
Dude that’s creative but I’m kinda sure that won’t be possible...zjust letting you know
2
11
u/EthanRDoesMC Developer 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 iPhone XS Max, 14.3 Beta | 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!
8
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.
3
u/spockers iPhone 8, 14.3 | Sep 22 '19
I'm curious, why would you have rotation on when watching porn?
3
6
u/Kaipolygon iPhone 12 Pro, 15.1 Sep 21 '19
How’d you get the screenshot like that?
9
u/Cardboard-Face iPhone XS Max, 14.3 Beta | 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
1
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 21 '19
Thank you very much!! I really wanted a stable release so I’m glad it’s working smoothly for you!
2
Sep 22 '19 edited Feb 20 '24
This comment has been overwritten in protest of the Reddit API changes. Wipe your account with: https://github.com/andrewbanchich/shreddit
2
3
3
3
u/FitTerminator iPhone 16 Pro Max, 18.1 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
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 22 '19
Thank you very much haha - I was stuck for a while on what to call it.
4
u/-thenorthremembers- iPhone XS Max, 13.5 | Sep 21 '19
So many times I’ve dreamt of this, man! 😭 Thank you!!!!
3
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 21 '19
I'm so glad you like it, thank you for your support!!
2
Sep 21 '19
[deleted]
2
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 21 '19
The tweak is still live on Dynastic! Have you added the repo https://repo.dynastic.co/?
1
Sep 21 '19
[deleted]
2
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 21 '19
Hey that's true, it was on the front page not long ago. Do you think that was a moderator?
Update: Yup, removed?... Weird
1
Sep 21 '19
[deleted]
1
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 21 '19
How strange, I've sent them a message. Thanks very much for the heads up
2
u/exjr_ iPhone 1st gen beta Sep 21 '19
Hey! Because you edited the post, Automod checked the post again for any flags and it picked up one. I've approved it again since it's a false flag
1
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 21 '19
Whoops! I’m sorry, I added my Twitter and Discord.
What typically flags automod? Thanks very much for the quick response!
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 iPhone XS Max, 14.3 Beta | 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.
2
u/Jturnism Sep 22 '19
Yeah basically a unobtrusive confirmation to go ahead and rotate. And if I you don't want it to rotate and the rotation to stay locked, it should be simple to just ignore it and continue using your device like normal
2
2
2
u/jascubshawksboys Developer Sep 22 '19
Will it work for netflix
1
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 22 '19
It definitely should do, though I haven't tested it. It works for all my apps rotatable at the moment, including:
- Apollo
- Messenger
- YouTube
- Safari
- GMail
And many more rotatable apps.
2
u/0123456789javy iPhone 7 Plus, iOS 11.3.1 Sep 22 '19
Anyone know if it’s iOS 11 compatible?
1
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 22 '19
I believe it should be! If not, feel free to send me an email after and I can look into fixing the incompatibilities or refunding your purchase.
1
u/0123456789javy iPhone 7 Plus, iOS 11.3.1 Sep 22 '19
Thank you, I feel a little more confident trying it out :)
1
2
2
Sep 22 '19
[deleted]
1
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 22 '19
Thanks very much! A12 support for the tweak is ready and working, I can't wait to try pwn's Unc0ver update too!
1
u/Carlminion iPhone X, 14.3 | Sep 22 '19
This is fucking epic, I’ll get it soon
1
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 22 '19
Thank you very much!! I really hope you'll like it!
1
u/snowe2010 iPhone 6s, iOS 9.3.1 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.
1
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 22 '19
That's an idea, or perhaps some sort of swipe-down gestures to enable the different modes?
Also, while I love the eye-tracking idea, I'm not sure if it's feasible. I've written a more detailed response here. Thanks very much for the feedback! I love seeing people's take on this problem.
1
Sep 22 '19 edited Sep 22 '19
[deleted]
2
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 22 '19
Hi Mygriii, sorry you're having issues.
I've had a couple of users report this issue so I've got into contact and am waiting to hear back from Dynastic.
For the time being, you can forcefully remove the tweak from Cydia by editing your status file. From here, hopefully you'll be able to successfully reinstall it using Zebra.
To fix your status file:
- Open Filza and navigate to "/var/lib/dpkg/status"
- Make a copy of the file
- Open the copy and find my tweak
- Delete the whole section of my tweak
- Backup and replace the original copy with your new edited version
- Kill and reopen Cydia
2
Sep 22 '19
[deleted]
1
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 22 '19
No problem, you're very welcome. Please let me know if that solves it for you!
1
Sep 22 '19
[deleted]
2
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 22 '19
When you're trying to install again, are you trying via Zebra? Make sure you aren't using Cydia.
1
Sep 22 '19
[deleted]
1
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 22 '19
Excellent, I'm so glad it's working for you now. Enjoy!
1
u/hbc647 iPhone 6s, iOS 12.4 Sep 25 '19
Wow...This crashed my Cydia too. Worked fine on iPhone 6s, but breaking Cydia on iPad Pro 5th gen (non-A12). Wiped all sources, but status file fix brought them back. Tried muliple times, forget it. I will just keep it on my iPhone only
1
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 27 '19
Did you try installing using Zebra? It’s seemingly only Cydia with the issue.
I’m really sorry about the crash, myself and the Dynastic team are reviewing the possible causes.
1
u/hbc647 iPhone 6s, iOS 12.4 Sep 27 '19
No I'm not going that far... I just am not going to use it on my iPad.. hopefully you can come up with a fix for cydia
1
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 27 '19
Okay no problem! I’ve just moved house at the moment so I won’t be able to post any updates for a week I’m afraid.
I’ll do my best to reproduce and fix the issue on my phone.
I’ve also got an update in the works with some new features and improvements.
I’d highly recommend you try Zebra anyway though, it’s much faster and comes with a built in dark mode.
1
u/drewfussss iPhone 12 Pro Max, 14.2.1 | Nov 29 '19
I’m getting an error when I’m trying to install. Any shot you can help me out
1
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Nov 29 '19
Hi, sure thing! What's the error?
1
u/drewfussss iPhone 12 Pro Max, 14.2.1 | Nov 29 '19
My apologies! I needed to download the other repo, but it’s working perfectly now. Thanks so much!!
1
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Nov 29 '19
You’re very welcome!! I hope it you love it 😄
0
u/Neige420 iPhone 12 Pro Max, 14.3 | Sep 22 '19 edited Sep 22 '19
Will this also help me NOT drop the iPhone/iPad on my face and bust my lip?
3
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 22 '19
I was just thinking, and actually it might. If you're lying in your back to avoid the phone rotating sideways because you still want to utilize autorotate, then yes!
With this, you'll now be able to use auto-rotate when on your side, meaning you'll never have to hover your phone dangerously over your face again!
3
-1
u/Cadeno5 Sep 22 '19
I want this so bad but just unjailbroke for iOS 13
1
u/spockers iPhone 8, 14.3 | Sep 22 '19
Was it worth it?
1
u/Cadeno5 Sep 22 '19
Oh my god the downvote lmao. I just really wanted to play fortnite with a DualShock lol
1
0
u/hbc647 iPhone 6s, iOS 12.4 Sep 22 '19
installed. got some APT yellow lines in Cydia during install, restarted springboard and it seems to be working ok. getting prompted, rotates.. thanks. already had libsparkapplist installed.
1
u/Cardboard-Face iPhone XS Max, 14.3 Beta | Sep 22 '19
Glad it's all working for you now, I hope you enjoy using it!
-2
u/asdf23451 iPhone SE, 1st gen, 14.1 | Sep 22 '19
$1.49
For something that sends a message that selectively rotates the screen
No thanks
84
u/K0GAi iPhone 11 Pro, 15.1 Sep 21 '19
WOW! I love the way this was visually designed! I’ll get this and test it! Thanks for doing this!