1
Cosmo Communicator - Android / Re: Signature spoofing
« on: May 31, 2022, 04:31:02 am »
I was not aware of a LineageOS port for Cosmo. Is this the fork you are referring to? https://github.com/PCLineageOS-Ports/cosmo-lk
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I've just stopped following this topic since I've been using the official planet procedure for rooting and I suggest everybody to do the same.
#!/bin/sh
threshold=70 # stop charging at this percentage threshold
p="$(upower -d|grep -m1 percentage|cut -d: -f2 | tr -d "%")"
if [ "$p" -gt "$threshold" ] ; then
echo "0 1" > /proc/mtk_battery_cmd/current_cmd
else
echo "0 0" > /proc/mtk_battery_cmd/current_cmd
fi