File tree Expand file tree Collapse file tree
pio/src/main/assets/home/etc Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,13 +9,19 @@ if [ "$ROT" == 1 ];then
99 # Tạo link home
1010 [ -e /data/local/Tool-Tree ] || ln -sf $HOME /data/local/Tool-Tree
1111 # Thêm không giới hạn tiết kiệm pin
12- dumpsys deviceidle whitelist +$PACKAGE_NAME
12+ dumpsys deviceidle whitelist +$PACKAGE_NAME & > /dev/null
1313 # Cấp quyền ở miui, hyper
1414 # Danh sách các ứng dụng đã cài đặt
1515 cmd appops set $PACKAGE_NAME 10022 allow
16- cmd appops set $PACKAGE_NAME QUERY_ALL_PACKAGES allow
16+ cmd appops set $PACKAGE_NAME GET_USAGE_STATS allow
1717 # Phím tắt màn hình chính
1818 cmd appops set $PACKAGE_NAME 10017 allow
19+ cmd appops set $PACKAGE_NAME INSTALL_SHORTCUT allow
20+ # Thông báo
21+ pm grant $PACKAGE_NAME android.permission.POST_NOTIFICATIONS
22+ cmd appops set $PACKAGE_NAME POST_NOTIFICATION allow
23+ # Loaded sẵn danh sách img
24+ search_image & > /dev/null
1925fi
2026) & >> $TEMP /Install.log &
2127
You can’t perform that action at this time.
0 commit comments