→ chris1281 : 因為OS隨時都在寫log 你的資料那一曲很容易被蓋到 07/06 16:40
推 XXXXHAY : 主記憶體使用率高,資料刪了馬上就被覆蓋掉 07/06 16:48
推 nissptt : android4.4 還是5之後,為解決系統隨運作逐漸變慢 07/07 01:56
→ nissptt : 的問題,加入Trim功能,一有空閒,就去清空舊資料 07/07 01:56
→ nissptt : 區。因為寫入flash時,不能像磁盤碟一樣,只從檔案 07/07 01:56
→ nissptt : 表刪除就好,而資料區,縱然上面已存在0或1, 直接 07/07 01:56
→ nissptt : 覆寫就可以。所以非磁盤碟不好救(SMR其實也有類似 07/07 01:56
→ nissptt : 問題,但不是清空,而是搬移造成), 至於記憶卡可能 07/07 01:56
→ nissptt : 是沒空白區才清空擦除,但高速卡也許不同。 07/07 01:56
推 nissptt : 剛剛查了一下,是在版本4.3納入的,不知道後來有沒 07/07 10:33
→ nissptt : 有更積極,道聽"X"說一下我看到的條件: Android 4.3 07/07 10:33
→ nissptt : will TRIM filesystems, as it wasn’t completely 07/07 10:33
→ nissptt : clear before. The Android framework will send o 07/07 10:33
→ nissptt : ut a “start idle maintenance window” event tha 07/07 10:33
→ nissptt : t the MountService listens for, and then invokes 07/07 10:33
→ nissptt : vold to fstrim filesystems when a few condition 07/07 10:33
→ nissptt : s have been met – the device hasn’t been touch 07/07 10:33
→ nissptt : ed for over an hour, no idle maintenance window 07/07 10:33
→ nissptt : event has been sent in 24 hours, and the device 07/07 10:33
→ nissptt : is either off-charger with 80% battery or on-ch 07/07 10:33
→ nissptt : arger with 30% battery. The goal is to have fstr 07/07 10:33
→ nissptt : im run roughly once every 24 hours if you’re in 07/07 10:33
→ nissptt : the habit of plugging the device in to charge e 07/07 10:33
→ nissptt : very night. 07/07 10:33
推 nissptt : 所以,要滿足接電腦用軟體掃檔,第一,當然,軟體要 07/07 10:35
→ nissptt : 支援外接裝置掃檔。 07/07 10:35
→ nissptt : 再來,閒置一小時就會觸發 07/07 10:37
推 nissptt : 電池電量高於80%或充電狀態大於30%都會執行。 07/07 10:39
推 nissptt : 所以,就必須耗電到遠低於30%再接電腦掃,不然電充 07/07 10:44
→ nissptt : 超過30%還是有可能觸發(外接操做不曉得1小時閒置計 07/07 10:44
→ nissptt : 時還有無作用) 07/07 10:44
推 nissptt : 我想到的是,誤刪檔後,或許,去循環播放影音檔避免 07/07 10:48
→ nissptt : 休眠並耗掉電池電量,電量夠低後立刻接電腦掃。 07/07 10:48
感謝答覆
※ 編輯: dharma (210.65.89.53), 07/13/2018 23:38:12