News for hackers. Stuff that matters.
Re:New Apple security feature reboots iPhones after 3 days, ... by jsjohnst on Thursday November 14, 2024 @09:32PM (#42143464)
Wish this could be reduced lower. If I don’t unlock my phone in a day, something is up and extra paranoia is warranted.
Re:New Apple security feature reboots iPhones after 3 days, ... by astrea on Thursday November 14, 2024 @11:01PM (#42143855)
After reading your comment, I was interested in whether or not I could achieve this through the built-in Shortcuts app. Unfortunately, "Restart" is not an available action.

Edit: Actually, it's under "New Blank Automation" > "Shut Down" > "Restart". Thanks, @jwond!

Re:New Apple security feature reboots iPhones after 3 days, ... by elboru on Thursday November 14, 2024 @11:14PM (#42143912)
It’s so frustrating having a nice Shortcut idea just to hit a limitation right away.
Re:New Apple security feature reboots iPhones after 3 days, ... by __m on Friday November 15, 2024 @01:44AM (#42144450)
Yeah shortcuts could be much more useful. I wanted to make a post request when I arrive at some place with some additional javascript logic to update an authentication token. It just doesn’t work when running in the background, I have to manually trigger it
Re:New Apple security feature reboots iPhones after 3 days, ... by bobbylarrybobby on Thursday November 14, 2024 @11:46PM (#42144040)
But can you have it run a fixed period of time after last using your phone?
Re:New Apple security feature reboots iPhones after 3 days, ... by johnfernow on Friday November 15, 2024 @02:37AM (#42144691)
Unfortunately not. Looks like you can set the time (or choose sunrise or sunset), and then you can set it to repeat daily, weekly, or monthly. No option based on inactivity.

However, you can set it to shutdown or reboot if it receives an email that contains a specific string in the subject line. So you could have a computer that sends it a shutdown email. You could base it off of inactivity of that computer, or you could have it listen for a cancel-shutdown email, which could be sent by the iPhone when it connects to WiFi (assuming you don't live someplace like a university campus where you're always connected to WiFi even when you leave home.) If the computer doesn't receive the cancel-shutdown email within the set period of time, the computer would send the shutdown/reboot email to the iPhone.

However, like another commenter pointed out [1], the action doesn't even seem to work currently as of iOS 18.0.1. If you set it to "Run Immediately" with "Notify When Run" to off, it just doesn't run. If you turn "Notify When Run" on, the action runs, but still requires you to confirm it manually with a tap, which defeats the purpose of the automation. Who knows, maybe a future update will fix it.

1. https://news.ycombinator.com/item?id=42144044

Re:New Apple security feature reboots iPhones after 3 days, ... by jwond on Thursday November 14, 2024 @11:21PM (#42143942)
There is a restart action. You need to first add the Shut Down action, then you can change it to Restart.
Re:New Apple security feature reboots iPhones after 3 days, ... by designed on Thursday November 14, 2024 @11:48PM (#42144044)
Just tried it. Unfortunately, even when you choose "Run Immediately", it still asks for user input when the time comes ("Are you sure you want to restart this iPhone?")
Re:New Apple security feature reboots iPhones after 3 days, ... by mike_d on Friday November 15, 2024 @04:18AM (#42145201)
I have had my phone set to reboot every day at sunrise and have had no issues with it prompting for input in weeks.
Re:New Apple security feature reboots iPhones after 3 days, ... by RulerOf on Thursday November 14, 2024 @11:40PM (#42144017)
Thank you very much. I've wanted to have a weekly reboot of my phone for years now, and it drove me nuts that I couldn't create a shortcuts automation for it.
Re:New Apple security feature reboots iPhones after 3 days, ... by buzzerbetrayed on Thursday November 14, 2024 @11:28PM (#42143966)
Nice! Just created an automation to restart daily at 4:00am. Hopefully it works without user input.
Re:New Apple security feature reboots iPhones after 3 days, ... by astrea on Thursday November 14, 2024 @11:27PM (#42143962)
I'm so dumb. I didn't even click into the "Blank Actions" tile.
Re:New Apple security feature reboots iPhones after 3 days, ... by create-username on Friday November 15, 2024 @03:14AM (#42144865)
I created a shortcut to turn off my iPad every night. It’s useless
Re:New Apple security feature reboots iPhones after 3 days, ... by godelski on Friday November 15, 2024 @03:33AM (#42144952)
While we're on the topic of Shortcuts, does anyone know how to do decent data transfer? I've been wracking my head to figure out how to replace my termux script on Android that would sync photos to my home computer whenever I was on my local wifi (or wifi and tailscale).

I know shortcuts has an ssh action but it appears quite buggy and if I try to do any real bash scripting or wanting to not overwrite existing backups it hangs. It doesn't handle

  [[ ! -a "$FILE" ]] && cat /dev/stdin "$FILE"
Even with more formal if statement notation. Best I have come up with is a very painful shortcut that repeats this for each thing I want to sync

  if [[ ! -a "$FILE" ]];
  then
     cat /dev/stdin "$FILE"
  else
     cat /dev/stdin /dev/null
  fi
Seems to hate functions. iSH and others can't seem to access the photos library. There's got to be some way I can get those out of the sandbox. (God damn is the app buggy. This is worse than programming in brainfuck)
Re:New Apple security feature reboots iPhones after 3 days, ... by giamma on Friday November 15, 2024 @03:47AM (#42145037)
I am using an app for this. It's called WebDavNav+ and there is a free version WebDavNav for evaluation.

You can create sync configurations and switch on auto sync.

I have an Odroid HC4 with Open Media Vault and docker which is my personal NAS. It runs a WebDav container and so on a daily basis my iPhone is backing up photos to my NAS using WebDavNav+.

Re:New Apple security feature reboots iPhones after 3 days, ... by godelski on Friday November 15, 2024 @04:18AM (#42145202)
Thanks! I mean I don't need anything fancy and honestly, I don't want to run a web server (I will if that's what's needed, it's better than this Shortcuts hell). I feel I shouldn't need fancy tools to do some pretty basic things, you know?

I'll be honest, I'm just a bit pissed Apple intentionally handicaps powerusers, and pushes people into their paid solutions. It's one thing to offer a paid solution, it's another thing to create a problem and then sell the solution. I mean just an iCloud backup isn't even good enough. Don't they know 3-2-1?

Re:New Apple security feature reboots iPhones after 3 days, ... by giamma on Friday November 15, 2024 @05:44AM (#42145662)
I see your point. I already had the NAS in place so it was a nobrainer for me, but if you just want to backup to computer you can still run a light webdav server on your computer. For example, I am using dufs [0], which is very easy to deploy and configure.

[0] https://github.com/sigoden/dufs

Re:New Apple security feature reboots iPhones after 3 days, ... by petesergeant on Thursday November 14, 2024 @09:45PM (#42143530)
And for minimal hassle if you just hadn’t touched your phone. 12 hours would work great for me.
Re:New Apple security feature reboots iPhones after 3 days, ... by rcMgD2BwE72F on Thursday November 14, 2024 @10:35PM (#42143759)
18h is the default on GrapheneOS IIRC. Got my phone stolen abroad days ago with tones of sensitive data and that features was a big reassurance. I set it to 6h I believe.
Re:New Apple security feature reboots iPhones after 3 days, ... by yonatan8070 on Friday November 15, 2024 @02:02AM (#42144540)
I tried to do it using Tasker on my crDroid device, but it requires the phone to be rooted, which mine isn't since some apps detect it and throw a fit.
Re:New Apple security feature reboots iPhones after 3 days, ... by aaomidi on Thursday November 14, 2024 @10:07PM (#42143636)
I think you may be able to do something like this with a shortcut.
Re:New Apple security feature reboots iPhones after 3 days, ... by HnUser12 on Thursday November 14, 2024 @10:18PM (#42143687)
Iirc reboot requires user input so you can’t automate.
Re:New Apple security feature reboots iPhones after 3 days, ... by itake on Thursday November 14, 2024 @10:40PM (#42143784)
Yep. I tried to do it with a shortcut and it was basically a reminder to reboot that could be ignored.
Re:New Apple security feature reboots iPhones after 3 days, ... by Hamuko on Friday November 15, 2024 @12:22AM (#42144157)
My guess would be that the three-day timer is the first version to test the waters. Put it out there to see if there are any unexpected problems. And if everything's peachy, lower it in some future release to make it more secure.
Re:New Apple security feature reboots iPhones after 3 days, ... by eleveriven on Friday November 15, 2024 @02:08AM (#42144566)
If they went with something more aggressive (like 24 hours) it might annoy more users, especially those who keep their phones locked for a while but don't use them constantly
Re:New Apple security feature reboots iPhones after 3 days, ... by Washuu on Friday November 15, 2024 @02:22AM (#42144622)
I'm one of those people. I charge my phone once a week. Most of my interaction with it is notifications on the lock screen.
Re:New Apple security feature reboots iPhones after 3 days, ... by eleveriven on Wednesday November 20, 2024 @05:17AM (#42192462)
Your usage style highlights why a one-size-fits-all approach to device behavior doesn’t always work
Re:New Apple security feature reboots iPhones after 3 days, ... by Hamuko on Friday November 15, 2024 @02:24AM (#42144628)
I imagine the number of people who don't unlock their iPhones in ≥24 hours is a vanishingly small percentage of the userbase. Especially since with new iPhones, just looking at the lockscreen with your face unobscured is enough to unlock it.
Re:New Apple security feature reboots iPhones after 3 days, ... by oarsinsync on Friday November 15, 2024 @02:49AM (#42144746)
I imagine a vanishingly small percentage of the user base is still a very large number of people, that as an absolute number, would make up a significant percentage of the users of any other product.

Apple’s scale is so large, it’s easy to forget even tiny percentages are still actually really significant in absolute terms.

Re:New Apple security feature reboots iPhones after 3 days, ... by tlb on Friday November 15, 2024 @04:57AM (#42145417)
Your phone knows how often you normally use it. It could do something intelligent based on a usage pattern to restart when there’s an unusually long gap.

I can see this being too hard to explain compared to “reboots after 72 hours.”

Re:New Apple security feature reboots iPhones after 3 days, ... by eleveriven on Wednesday November 20, 2024 @05:14AM (#42192440)
That would be a good solution! A concept that merges predictive behavior with user convenience
Re:New Apple security feature reboots iPhones after 3 days, ... by carstenhag on Friday November 15, 2024 @09:48AM (#42147385)
Users that have an iPhone just for work would be affected with a 24h check. Even with 72h they might be affected, but it would be fewer (if you assume they work Fridays and Mondays)
Re:New Apple security feature reboots iPhones after 3 days, ... by elzbardico on Friday November 15, 2024 @12:45AM (#42144244)
I am almost never use my phone at home anymore. And even when I leave home for gym or stuff like that, I will have my phone with me, but will interact most of the time with the apple watch. The only few times I will actually use the phone is to answer some urgent message.

For lazy reading and media consumption I will use the ipad.

I really enjoy apple ecosystem.

Re:New Apple security feature reboots iPhones after 3 days, ... by jalk on Friday November 15, 2024 @02:27AM (#42144640)
How about a system for rebooting if the phone is not close to a specific Airtag or similar device. Ofc. with the possibility to override by unlocking.
Re:New Apple security feature reboots iPhones after 3 days, ... by zanoab on Friday November 15, 2024 @08:42AM (#42146834)
Find My already gives notifications when a device gets separated from your other mobile devices including Airtags. Apple could add extra actions on top of that to automatically mark as lost, reboot, or erase.
Re:New Apple security feature reboots iPhones after 3 days, ... by hulitu on Friday November 15, 2024 @02:59AM (#42144790)
You can always install Croudstrike. They will take care of reboots. /s
[dead]
Re:New Apple security feature reboots iPhones after 3 days, ... by skygazer on Friday November 15, 2024 @08:50PM (#42153440)
Your shortcut likely isn’t working. I tried it, but it didn’t reboot at the scheduled time. It briefly turned on to show a dialog asking for confirmation, but since it was unattended, no one approved it, so it never restarted. You can confirm it’s failing by scheduling it to go off while you’re there, or download a System Status app that shows boot time.