Skip to content

Commit

Permalink
Remove packet_sdk (monetization software)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueGradientHorizon committed Oct 15, 2024
1 parent 6a710a1 commit fb5c2bd
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 26 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ Enhances MIUI/HyperOS for better battery backup and performance.

- [Uperf](https://github.com/yc9559/uperf) (Apache License 2.0)

## Disclosure 🔓
## Monetization-free experience 🚫

[Click here](https://telegra.ph/Disclosure-09-16) to view the disclosure.
The original author of this module, [iamlooper](https://github.com/iamlooper) had included Internet bandwidth monetization SDK ([PacketSDK](https://www.packetsdk.com/)) binaries into his module, and it is clearly noted in his repository ([original disclosure](https://telegra.ph/Disclosure-09-16)). Although I am respectful to him for this module, I don't want any other 3rd party programs constantly running in the background without any easy ways to control them.
21 changes: 0 additions & 21 deletions common/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,6 @@
# Functions
############

setup_native_libs() {
case "$ARCH" in
arm64)
mv -f "$MODPATH"/libs/arm64-v8a/* "$MODPATH/libs"
rm -rf "$MODPATH/libs/arm64-v8a" "$MODPATH/libs/armeabi-v7a" "$MODPATH/libs/x86" "$MODPATH/libs/x86_64"
;;
arm)
mv -f "$MODPATH"/libs/armeabi-v7a/* "$MODPATH/libs"
rm -rf "$MODPATH/libs/armeabi-v7a" "$MODPATH/libs/arm64-v8a" "$MODPATH/libs/x86" "$MODPATH/libs/x86_64"
;;
x86)
mv -f "$MODPATH"/libs/x86/* "$MODPATH/libs"
rm -rf "$MODPATH/libs/x86" "$MODPATH/libs/armeabi-v7a" "$MODPATH/libs/arm64-v8a" "$MODPATH/libs/x86_64"
;;
x64)
mv -f "$MODPATH"/libs/x86_64/* "$MODPATH/libs"
rm -rf "$MODPATH/libs/x86_64" "$MODPATH/libs/armeabi-v7a" "$MODPATH/libs/x86" "$MODPATH/libs/arm64-v8a"
;;
esac
}

#######
# Main
#######
Expand Down
1 change: 0 additions & 1 deletion common/install.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
setup_native_libs
rm -rf "$MODPATH/memeui_enhancer.png"
1 change: 0 additions & 1 deletion customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ REPLACE=""

set_permissions() {
set_perm_recursive "$MODPATH/system" 0 0 0777 0755
set_perm_recursive "$MODPATH/libs" 0 0 0777 0755
}

#######
Expand Down
Binary file removed libs/arm64-v8a/packet_sdk
Binary file not shown.
Binary file removed libs/armeabi-v7a/packet_sdk
Binary file not shown.
Binary file removed libs/x86/packet_sdk
Binary file not shown.
Binary file removed libs/x86_64/packet_sdk
Binary file not shown.
1 change: 0 additions & 1 deletion service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ wait_until_login
sleep 30

# Main
setsid "$MODDIR/libs/packet_sdk" -appkey=T2g7Nti7RccbdcP6 >/dev/null 2>&1 < /dev/null &
mienhancer -e

0 comments on commit fb5c2bd

Please sign in to comment.