Hosting scripts and whatnot to ease the setup and use of Phantom on Android only.
(Please switch to branch iOS-Only for iOS information)
- Please be sure to allow commands to complete before moving to the next step!
- You may autocomplete filenames by typing the first few letters and pressing the tab button ->|
- Download Termux on your Android device.
- Open Termux and run commands as listed:
- apt update && apt upgrade (type y and press enter/return if prompted)
- termux-setup-storage && termux-wake-lock (press Allow when prompted)
- pkg install wget (be sure to type y and press enter/return if prompted)
- At this point, run the command exit and reopen Termux.
- Now type mkdir JavaRock.
- Move into the JavaRock directory by typing cd JavaRock
- Run the commands as listed (you may copy-paste into Termux):
- curl "https://raw.githubusercontent.com/BadWolf22/JavaRock/Android-Only/scripts/downloadPhantom.sh" | bash
- (The above line will automatically download the contained scripts, You do not need to open the link unless you don't trust me XD)
- you must type the following command or copy paste from the discord server: sed -i '3s,$,[server ip here],' ./startPhantom.sh
- chmod u+x makeScriptsExecutable.sh
- ./makeScriptsExecutable.sh
- curl "https://raw.githubusercontent.com/BadWolf22/JavaRock/Android-Only/scripts/downloadPhantom.sh" | bash
- Phantom is now completely setup, to test it simply type ./startPhantom.sh
You will type this every time you would like to begin Phantom.
If you see a few messages such as "Listener starting up" everything works perfectly :D.
(To stop phantom press the "CTRL" button at the bottom of your screen and type the letter c)
- To begin Phantom:
- Open Termux and navigate to your JavaRock folder using cd JavaRock
- Ensure your phone does not sleep by using termux-wake-lock
- Begin Phantom using ./startPhantom.sh
-
Everything is now running again, boot up your console and join the lan world.
-
Please note that you probably shouldn't play mobile Minecraft on this device because Minecraft might eat all the memory and kill Phantom.
-
Please also note that performance is not guaranteed as it is largely down to your devices power and internet speed.
-
Enjoy :D
I am sorry to say that sadly the only way to update these programs to the most recent version is to simply uninstall them and start again from the beginning. Sadly, I, BadWolf22, must update the scripts to the latest version of Phantom manually. Luckily, this is an extremely simple fix I can do as soon as I am aware that an update is needed.
If anyone from outside my group of friends stumbles upon this repository, please know that you are free to add an issue letting me know it needs to be updated or with any other issues you have. Also feel free to copy the repository or make pull requests :D. (Note that I am not the creator of Phantom(https://github.com/jhead/phantom)).
Perhaps there may come a time when you no longer need these on your phone taking up storage. In order to uninstall, simply open Termux with no previous sessions open and type the following:
- rm -rf Javarock