Skip to content

Commit

Permalink
Finally fixed #1
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminSoelberg committed Aug 10, 2022
1 parent ea06448 commit 250f1a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Binary file modified EWay_Scooter_v1.0.15_speed.apk
Binary file not shown.
8 changes: 5 additions & 3 deletions apply_patch.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/env bash
rm -rf EWay_Scooter_v1.0.15_speed EWay_Scooter_v1.0.15_speed.apk
rm -rf EWay_Scooter_v1.0.15_speed EWay_Scooter_v1.0.15_speed_unaligned.apk EWay_Scooter_v1.0.15_speed.apk
cp -r EWay_Scooter_v1.0.15_original EWay_Scooter_v1.0.15_speed
patch -s -p0 < max_speed.patch
java -jar apktool_2.6.0.jar b EWay_Scooter_v1.0.15_speed -o EWay_Scooter_v1.0.15_speed.apk
apksigner sign --ks android.jks --ks-pass pass:abcdef12 EWay_Scooter_v1.0.15_speed.apk
java -jar apktool_2.6.0.jar b EWay_Scooter_v1.0.15_speed -o EWay_Scooter_v1.0.15_speed_unaligned.apk
apksigner sign --ks android.jks --ks-pass pass:abcdef12 EWay_Scooter_v1.0.15_speed_unaligned.apk
zipalign -p -f 4 EWay_Scooter_v1.0.15_speed_unaligned.apk EWay_Scooter_v1.0.15_speed.apk
rm -rf EWay_Scooter_v1.0.15_speed EWay_Scooter_v1.0.15_speed_unaligned.apk
python3 -m http.server 8000

0 comments on commit 250f1a3

Please sign in to comment.