|
|
| (59 intermediate revisions by 2 users not shown) |
| Line 1: |
Line 1: |
| Also see [[Rooting Android]]
| | This page contains notes and information about rooting my Android phone, and using it as an internet proxy. |
|
| |
|
| This page has got some info on how I use my Android phone.
| | =Rooting an Android Evo= |
|
| |
|
| =Installing Android SDK=
| | Here is a really long but WORKING guide to [[Rooting Android Evo 4G]]. |
|
| |
|
| ==Mac OS X==
| | Note that this was written in July 2015. That's at least 3 years after any other guide you'll find. So, if you need a MODERN guide to rooting the HTC Evo 4G, this is it. There's a LOT of crud laying around. |
|
| |
|
| Download android-sdk_r10-mac_x86.zip from here: http://developer.android.com/sdk/index.html
| | =Don't Root Robots= |
|
| |
|
| Extract to wherever you want, I put it with the rest of my 3rd-party packages in <code>~/pkg</code>. It's a binary, so you can just extract the .zip file and put it anywhere.
| | Talk from 2011 going into greater detail about how various android exploits work: |
|
| |
|
| You'll want to add the location of a couple of utilities to your <code>$PATH</code>, by adding this to your <code>.profile</code> or whichever dot file you put your <code>$PATH</code> stuff into (or just by running these from your command line, if this is a one-time thing for you):
| | https://jon.oberheide.org/files/bsides11-dontrootrobots.pdf |
|
| |
|
| <source lang="bash">
| | =Meeting People= |
| export PATH="${HOME}/pkg/android-sdk-mac_x86/platform-tools:${PATH}"
| |
| export PATH="${HOME}/pkg/android-sdk-mac_x86/tools:${PATH}"
| |
| </source>
| |
|
| |
|
| You can test it worked right by running:
| | Following Josh in General, let's meet some people. |
|
| |
|
| <source>
| | ==WARNING== |
| $ which adb
| |
| /path/to/android-sdk-mac_x86/platform-tools/adb
| |
|
| |
|
| $ which android
| | WARNING: The following websites WILL package viruses with APKs, so DO NOT USE THEM. |
| /path/to/android-sdk-mac_x86/tools/android
| |
| </source>
| |
|
| |
|
| This doesn't come with all the things you'll need, so before doing anything else, run the "android" program, which will run the Android SDK Manager.
| | <s>http://apps.evozi.com/apk-downloader/</s> |
|
| |
|
| [[Image:MacDroid1.png|350px|caption=The Android SDK Manager GUI on Mac OS X.]]
| | <s>http://www.apkpure.com</s> |
|
| |
|
| [[Image:MacDroid2.png|350px|caption=Packages I have installed.]]
| | <s>http://apk-dl.com/</s> |
|
| |
|
| I recommend installing the following:
| | ==Android Apps== |
|
| |
|
| * SDK Platform Android (whatever the latest API is)
| | In order to meet people over wifi, we'll need to install some Android apps to passively listen to everything going on around. |
| * Android SDK Platform-tools
| |
| * Android SDK Tools
| |
|
| |
|
| Pick "Available packages" from the side bar and then collapse the various lists there. You'll find the above packages in the list.
| | [[Android/Sniff]] |
|
| |
|
| If you try and collapse the list and you see a "Failed to fetch URL (blah blah blah)", then pick "Settings" from the side bar and check "Force https://... sources to be fetched using http://...".
| | =Old Notes= |
|
| |
|
| [[Image:MacDroid3.png|350px]] | | See [[Android/Old Notes]] |
|
| |
|
| ==Windows==
| |
|
| |
|
| 1. Extract the HTC_Droid_Incredible_Root.zip file to a folder with the same name
| | http://haxf4rall.com/2014/10/21/how-to-hack-an-android-phone/ |
|
| |
|
| 2. Open the folder and launch HTCSync2.0.25.exe and complete the installation
| | =Flags= |
|
| |
|
| [[Image:Droidroot1.png|350px]] | | [[Category:Android]] |
| | |
| [[Image:Droidroot2.png|350px]]
| |
| | |
| 3. Copy the <code>sdk</code> directory into the root of the C drive, in <code>C:\sdk</code>
| |
| | |
| 4. Open <code>C:\sdk</code> and run <code>SDK Setup.exe</code>
| |
| | |
| [[Image:Droidroot3.png|350px]]
| |
| | |
| a) you may get an error about https, if you do then close the window with the error message and click "Settings" on the left-hand side, then check the box that says <code>Force https:// sources to be fetched using http://</code>)
| |
| | |
| b) you may also need to update the version of the Tools. Click on "Available Packages" on the left-hand side of the "Android SDK and AVD Manager" window, and then check the "Android SDK Tools" box, and then click "Install Selected".
| |
| | |
| [[Image:Droidroot4.png|350px]]
| |
| | |
| 5. Go back to the unzipped HTC Droid Incredible Root folder and open <code>command.txt</code>
| |
| | |
| 6. Open a Windows command prompt (Start > Run > "cmd")
| |
| | |
| 7. Change directory to <code>C:\sdk\tools</code> by running
| |
| | |
| <pre>
| |
| > cd\
| |
| > cd sdk
| |
| > cd tools
| |
| </pre>
| |
| | |
| [[Image:Droidroot5.png|350px]]
| |
| | |
| =Internet Tethering=
| |
| | |
| You can get internet tethering for free using a program called Proxoid (http://code.google.com/p/proxoid). It creates a proxy service, so that all internet requests from the computer are forwarded (via USB) to the phone, and the phone then forwards the request to The Interwebs.
| |
| | |
| This literally took me 30 seconds to set up. It's very, very simple if you've got the right tools.
| |
| | |
| First, you'll want the Android SDK kit, because you'll use it to send instructions to the phone. See [[#Installing Android SDK]] above.
| |