Android Marshmallow 6.0.1 - DeepSleep Fix For Samsung Galaxy Note 5 SM-N920C noblelte

Posted at

Android 6.0.1 DeepSleep Fix For Samsung Galaxy Note 5 SM-N920C (noblelte)

Should pre-root and execute from TWRP (custom recovery) terminal.



#!/su/bin/sush
for i in 'ls /sys/class/scsi_disk/'; do
cat /sys/class/scsi_disk/$i/write_protect 2>/dev/null | grep 1 >/dev/null
if [ $? -eq 0 ]; then
echo 'temporary none' > /sys/class/scsi_disk/$i/cache_type
fi
done