Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

synapse1278 ,
@synapse1278@lemmy.world avatar

GrapheneOS has an option to restart the phone after a given time without any successful unlock. I have it set to 8 hours, so it reboots every night. Shorter is possible.

A freshly restarted phone is in its safest state. Necessary to input the unlock code, strict minimum required processes running in the background.

jgomo3 ,

"you do need to restart your phone regularly to rid it of demons"

typo: "daemons", not "demons".

nnjethro ,

Miners. Not minors! (Galaxy Quest)

Silentiea ,
@Silentiea@lemmy.blahaj.zone avatar

Sounds kinda cyberpunk

drawerair ,

I'm doubtful. I wanna hear more from security experts.

ObsidianZed ,

I use Tasker automation that reminds me to reboot after my phone has been up for awhile. I don't think I'd like an auto reboot feature. I don't even like it when I can't postpone a software update until a time convenient for me.

accideath ,

My iPhone 13 mini‘s battery is so small that I involuntarily restart it at least once every two weeks

Psythik ,

iPhone batteries are small in general. My GF's iPhone se (don't ask me which gen) barely lasted half a day, and took hours to charge. So a couple of years ago I bought her a Z Flip 3 for her birthday because all the girls in the Korean shows she watches had that phone at the time. Now her battery actually lasts a full day, and the phone charges to full in 45 minutes.

accideath ,

The larger iPhones easily last a day. The SE (any gen) are fairly small and thin and don’t have very large batteries. The 12 and 13 mini are also very small and thus don’t have much battery life. If you have a regular sized iPhone or even a Max, battery life is fine, on the bigger ones good even.

Psythik ,

I'm just going to assume that you're right because I know nothing about Apple devices and their capabilities.

pewgar_seemsimandroid ,

finaly the nsa doesn't do something stupid

ruse8145 ,

I'd love to see your list of "stupid" things... not immoral, vicious, incendiary, criminal, etc...but stupid. None of those things is stupid if they are also your fundamental mandate.

pewgar_seemsimandroid ,

✨ Us government instance discovered ✨

ruse8145 ,

You may have missed the joke

IndustryStandard ,

Update your spyware regularly

rottingleaf ,

Oh. I had a habit of taking the battery out of that laggy shit, then turning it on again.

dreikelvin ,

iphones just do weird shit after a while so that you can't go on without a restart. truly smart

Bobo ,

Samsung phones have an option of scheduled autorestart; I have mine set to restart once every week at a scheduled time.

SomethingBurger ,
@SomethingBurger@jlai.lu avatar

LineageOS has this option too. The whole system crashes and restarts randomly once a week /s

higgsboson ,

Just once a week? They must be improving.

impure9435 ,

GrapheneOS has a convenient auto-reboot feature

CaptKoala ,

TIL, I use GOS and never thought to look, I just see a banner saying there's been updates and I've got "update and restart now", "schedule restart" and "I'll restart myself when ready" (or some such).

impure9435 ,

The main purpose of this is actually security. Because when the device is in BFU (before first unlock) state, it's much harder to gain access to the data (without the correct unlock credentials). During the reboot, the encryption keys are wiped from RAM, making it essentially impossible to access the device, since brute-force unlock attempts are prohibited by Weaver API, which is enforced by the Titan M2 hardware security module. You can read more about this at https://grapheneos.org/faq#encryption

CaptKoala ,

I will give that a read. I have been unintentionally using this feature, anytime I expect I won't use the GOS pixel for a bit I restart it, I've also found it disables biometrics as a security measure. Cool stuff.

impure9435 ,

It doesn't intentionally disable biometrics. Disabling biometrics is just a logical consequence of wiping the encryption keys from RAM. Your data is encrypted with your password as the key (not exactly, it first goes through a key derivation function, but the PIN/password is the entry point for the KDF). Your biometric information can't decrypt your data, as your data is not encrypted with your biometric information as the key. When using biometrics, the encryption key is kept in RAM, and the biometric data is only validated by the OS. No actual decryption occurs here. The data on your phone is only being decrypted during the first unlock after a reboot. That's why security states are grouped into BFU (before first unlock) and AFU (after first unlock).

CaptKoala ,

Thank you for your in depth explanation, hope your comments help many others on top of myself.

ComradePedro ,
@ComradePedro@lemmy.ml avatar

This! Actually a great feature on GrapheneOS, been using it for over a year now.

lemmyingly ,

Samsung has had the auto reboot feature for a long time too.

Samsung - auto-restart

hal_5700X ,
@hal_5700X@sh.itjust.works avatar

Wait...the NSA did something good. WTF.

redbr64 ,
@redbr64@lemmy.world avatar

Coming from the 9000 series, I am wondering what do you like about the 5700 series HAL?

variants ,

I remember my old phone had the option to auto reboot and I had it set to like 3am but now I don't see that option on newer phones. My previous phone didn't even have a reboot option I had to shut it down and power it back up

viking ,
@viking@infosec.pub avatar
hal_5700X ,
@hal_5700X@sh.itjust.works avatar

For Samsung phones. Go to Settings -> Device Care -> Under Performance you will see Auto Optimization -> At the bottom of the page you will see Auto Restart -> Restart on Schedule -> Done.

variants ,

Would alarms work after a restart if I don't unlock ot first?

4am ,

For iOS they do; I would assume for Android they will as well. It would be pretty bad if an automatic update stopped you from waking up in the morning…

variants ,

I've noticed my phone doesn't initialize anything until I unlock it then it takes a while for it to boot up and all that but also I haven't seen it reboot on its own, it usually gives you a prompt

pirat ,

I have childhood memories of feature phones that would trigger alarms even when the phones were turned off.

Strepto ,
@Strepto@sh.itjust.works avatar

I've tested this and they do still work

variants ,

Awesome thank you for your testing

altima_neo ,
@altima_neo@lemmy.zip avatar

Jokes on them, my S22 Ultra restarts in it's own. Even when I don't want it to.

thejml ,

It’s a feature! Device Failed Successfully.

sugar_in_your_tea ,

Sounds like my wife's old Samsung phone as well... I'm sensing a common theme...

altima_neo ,
@altima_neo@lemmy.zip avatar

And my old note 4 too...

kromem , (edited )

Replace your battery.

Your phone is 2 years old.

Phone batteries are typically designed to last around 2 years before they really degrade because a lot of people buy new ones around every 2-3 years.

When the battery can't sustain the same throughput, the phone can handle this in one of two ways.

  1. Slow the phone down. This is what Apple does and why people with iPhones 2 years old complain the new update slowed their phone down.

  2. Don't slow it down but if the throughput drops below what's needed, die and reboot. This is what your phone is doing.

Getting a new battery will probably stop this behavior (and for iPhone users reading this, getting a new battery for a 2 year old phone will make your phone faster).

Edit: Seems some of you don't believe me looking at the downvotes. Look at number 8 in this list: https://helpdeskgeek.com/help-desk/why-your-android-phone-keeps-restarting-and-9-ways-to-fix/

p5yk0t1km1r4ge ,
@p5yk0t1km1r4ge@lemmy.world avatar

I have an s22 ultra as well, and it's fine? Sounds more like they have some rogue apps causing the restart.

kromem ,

Half life is typically probabilistic.

You were lucky. They were not.

p5yk0t1km1r4ge ,
@p5yk0t1km1r4ge@lemmy.world avatar

Doubt it but it is what it is. Have a nice night!

lemmyingly ,

My phone is 3 years old and is still going strong. The battery feels the same to me as the day I bought it, but I also don't consume a full battery in a day.

altima_neo ,
@altima_neo@lemmy.zip avatar

Didn't really have much installed aside from revanced and Firefox

ElderWendigo ,
@ElderWendigo@sh.itjust.works avatar

This is gonna sound odd, but have you cleaned out the USB port lately? Weird stuff happens when pocket lint collects in there. I thought mine had a dead port until I picked out (with a non-conductive toothpick) the lint I didn't realize had accumulated.

jbk ,

Don't e.g. alarm apps not work after that until you unlock your phone since the device data decryption keys weren't kept in RAM after rebooting? I have that feature off since I don't want that to happen. Afaik AOSP has added that to make installing updates more seamless, but it'd be useful for this too. (And since Samsung usually sucks at improving their already self-made stuff to align with AOSP, like Virtual A/B updates, I'm just assuming this)

MeatsOfRage ,

Android auto fails to load for me so often I'm pretty much restarting every day anyway

luves2spooge ,

Really? My S22u is super stable. I don't think it's ever crashed. The current up time is 377 hours. But that's only because of the 6.1 update a few weeks ago.

meliaesc ,
recursive_recursion ,
@recursive_recursion@programming.dev avatar

TL;DR:
Restarting your phone once a week can help improve performance and security.

  • this is the same for routers and it's commonly known as a power refresh
Aeri ,
@Aeri@lemmy.world avatar

I wonder if the regular updates mine does count.

viking ,
@viking@infosec.pub avatar

Yes, a reboot is a reboot. As long as the boot sequence cycles through where the code is validated, you're good.

Chozo ,
@Chozo@fedia.io avatar

a reboot is a reboot

Not always. Some phones will do a sort of "soft" reboot, which doesn't actually go through the entire boot process, but is more like logging out of the active OS user and back in, reloading some of the OS but not all.

Pretty sure a system update would trigger a full reboot, though, but I've seen the option for this sort of partial reboot in the power menu on some devices in the past.

cyberpunk007 ,

Maybe home grade routers.

qprimed ,

well, I mean... anything can leak memory. but yeah, enterprise/carrier grade devices are designed to be in continuous use for years and they generally do that pretty well.

sugar_in_your_tea ,

Even then, some places will reboot on a schedule when nobody should be using it.

I have some entry level "enterprise" hardware (Mikrotik router and Ubiquiti access point) and I auto-reboot mine weekly. In addition to maintaining performance and minor security wins, it also helps ensure everything csn survive a reboot (e.g. all configurations have persisted to disk).

It's good practice. Some people brag about continuous uptime, I see it as a liability.

cyberpunk007 ,

It's good practice for patching purposes. You should always be maintaining stable OS versions and a memory leak or the like is fairly uncommon. I think I've seen it once in my career on a particular check point OS version.

sugar_in_your_tea ,

Yeah, I'm more worried about keeping up on patches and ensuring things will start back up properly than memory leaks. But minor security and performance wins are nice too.

dustyData ,

That's why all master systems have a backup At least on datacenters 10 years ago is how we did it. We could run a patch, system update, data backup, system restart or whatever it was required to almost any piece of kit on the racks without losing continuity of service. Just do the backup first, then the same operation on the master, if any of them fails the whole architecture is designed to pick up the tasks and continue as if nothing wrong is going on. It was expensive, but they were mission critical banking infrastructure. The thing only went out for account balancing, but it was at 3am when it was likely that no one would need it, and even then for the user there was no loss of service. Transactions still went through, just with a couple of hours of delay for the whole ordeal to sync up.

locuester ,

Absolutely. Nothing scarier than rebooting the computer or router that’s been running for 10 years.

I also enjoy exercising software blue/green rotation weekly. Even if no code changes, have it roll to the alternate infra on an automated schedule. Is a great habit to get into and helps any engineer sleep better. It also results in providing very accurate downtime recovery numbers - not estimates.

tacosplease ,

I leak memory all the time

tal ,
@tal@lemmy.today avatar

If my router rebooted once a week, it would be in the trash can.

Tag365 ,
@Tag365@lemmy.world avatar

Feels like I need to reboot my iPhone daily in order to keep applications and tabs from being terminated from out of memory issues as quickly.

Rai ,

I have an old-ass iPhone XS and don’t run into this issue. But mine has a LOT of storage so maybe that helps?

zingo ,

Restarting anything with a chip in it once and a while is good practice.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • technology@lemmy.world
  • random
  • incremental_games
  • meta
  • All magazines