Last active
December 3, 2021 07:45
-
-
Save Lehmaning/d590ca52bc5038a01878d23694bc8ca9 to your computer and use it in GitHub Desktop.
To solve problems in Xiaomi phones.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sdcard=/storage/emulated/0 | |
cd $sdcard | |
echo "$(pm -l)" > $sdcard/packageList.sh | |
sed -i "s/package:/pm enable --user 0 /g" $sdcard/packageList.sh | |
sh $sdcard/packageList.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment