iOSはシステムメモリが少なくなるとクラッシュする前に自動的に再起動する仕組みになってるそうです。
システムメモリの利用できる容量が〇〇%を下回ったら再起動する。というように設定されてるそうですが、脱獄状態のiOSデバイスでは通常のシステムに加え、脱獄システムが動作してるため、設定されたシステムメモリのボーダーラインを下回りがちになるそうです。
そこで、ボーダーラインを少しだけ低く設定し直せは、自動的に再起動するのを回避できるようです。
最近の脱獄は再起動すると入獄状態に戻ってしまうので、再起動してしまうと手動で再脱獄しなければなりません。
朝起きたら入獄状態になってるというコメントも見かけます。
知らないうちに再起動されるのはストレスなので、早速、試してみたいと思います。
どうするの?
次のディレクトリに移動します。/System/Library/LaunchDaemons
plistファイルを開きます。com.apple.jetsamproperties.Nxx.plist
(同じような名前のファイルがあれば全て書き換えます。)
次のキーの値を60
や55
から50
に変更します。UserReclaimableLimit
お疲れ様でした。
参考
Reddit
【Jailbreak】iOS 11.x 脱獄スレ Part12
[NEWS] OSIRIS IS GETTING UPDATED FOR 11.3.1
This permanently fixed the overnight rebooting for me:
1. Open Filza and navigate to`/System/Library/LaunchDaemons.`
2. Scroll down until you see 2 entries for
`com.apple.jetsamproperties.(a number).plist`
3. Tap on the first one and navigate to
`Root/Version4/System/Override/Global`
and change the `UserReclaimableLimit` from `60` to `50 `
4. Now do the same for the second jetsamproperties.(a number).plist
What this does: ios automatically reboots the device if the available memory drops below a certain threshold, the above lowers that threshold by 10 which accounts for the extra ram used by jailbreak tweaks and such. I did this about a week ago and have had no overnight reboots since.
To determine if this is what’s causing your reboots: Go to Settings>Privacy>Analytics>Analytics Data, you should see a bunch of entries in alphabetical order. Scroll down, if there is one or more that says "SystemMemoryReset" then this fix will work for you.
Note: as u/pl0323 mentions some have had success by turning off the iCloud daemons within iCleaner however the method above corrects the issue without limiting iCloud functionality.