Skip to content

Instantly share code, notes, and snippets.

View calvinbui's full-sized avatar
🍀
flover

Calvin Bui calvinbui

🍀
flover
View GitHub Profile
@calvinbui
calvinbui / tutorial.md
Created April 13, 2019 03:13 — forked from freyta/tutorial.md
Patching the 7Eleven 1.7.1 APK for mock location, root and "foreign APK" installation

Required files: jadx -> https://github.com/skylot/jadx/releases APK Easy Tool to easily decompile/recompile the APK -> https://forum.xda-developers.com/android/software-hacking/tool-apk-easy-tool-v1-02-windows-gui-t3333960 7 Eleven Fuel App APK ripped off your phone or download from here -> https://apkpure.com/7-eleven-fuel/au.com.fuel7eleven A Google Maps API key -> https://developers.google.com/maps/documentation/android-sdk/signup

I'll be explaining how to remove the mock location check and allow root access for version 1.7.1 in this little guide.

Step 1 - Install the downloaded APK onto your phone and open it up. What happens? It closes straight away. Bugger! Lets take a look at our code and see what could be causing that.

#!/usr/bin/env bash
# modified by jfro from http://www.cnysupport.com/index.php/linode-dynamic-dns-ddns-update-script
# Update: changed because the old IP-service wasn't working anymore
# Uses curl to be compatible with machines that don't have wget by default
# modified by Ross Hosman for use with cloudflare.
#
# Place at:
# /usr/local/bin/cf-ddns.sh
# if you're lazy (like me): curl -L https://gist.githubusercontent.com/Mkaysi/15719ff29b1ba29b5bd0/raw/cf-ddns > /usr/local/bin/cf-ddns && nano /usr/local/bin/cf-ddns && chmod 700 /usr/local/bin/cf-ddns
# run `crontab -e` and add next line:
#!/bin/bash
# Script Name: AtoMiC Transmission WebUI installer
# Author: Anand Subramanian
# Initial Release: June 21, 2014
# Publisher: http://www.htpcBeginner.com
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#