Got old Android phones? Spare phones? Nothing to do with them? With this, you can run a completely local Minecraft server on the latest version of Minecraft! No root required!
Termux
github.com/termux/termux-app
AnLinux
github.com/EXALAB/AnLinux-App
Commands for Termux
pastebin.com/cqAJDLnF
~
Twitter: twitter.com/adriantechguy
Telegram: t.me/adrianstech1
Telegram Channel: t.me/adrianstechlights
The program is called screencopy, not scrapy
thanks for the correction, it made sense in my head to call it that way lol
@@adrianstech ive been calling it scrapy for ages tbh
What i call it scrapy
I just call it skurpee
@@Lobsturti call it scurpy
more successful than when i tried it using a literal pc
Sorry but, litterally the easiest thing ever.
@@deivisnx I think he means in performance
@@b-fenix5789 bros phone is better than a pc???1?1?1
@@Meletion1 most people don't host the server on their main pc, at least not permanently. That spare pc can have mixed results. my spare pc had core 2 quad, so you can imagine the performance. not that i even get to use it for more then rosting Jellyfin
@@b-fenix5789 you use linux on it, right? Right????
That's how I run my server to play with my friends: I have an old phone, screen broken, so no use as a normal phone, with Android 10, rooted with Magisk, I use a module to run a Ubuntu chroot distro directly on the system, which I use to run java, and of course, my Minecraft server, it runs really great, as we are only 4 players. To have some extra "boost" I modified it's zram size to 3GB, and I use some commands to disable android hibernation, screen backlight, battery optimizations and so on. Everything that I need is adb to control the device.
Hey bro can you say exactly say what you did I wanna do it
how did u make ur friends join?
You have to give them the IP to the servers. On console you gotta use a certain app on your phone to make it joinable
@@Kourz I'm having a problem like making it able to play on t laucher and wen I put the "Phones IP" on the computer I can't join it
@@santiagogamerchannel not really sure tbh
I almost was crying when you smashed the phone and then I realized.
Same
😭😭
that pixel 6 pro is still capable, i love the google ui, i want a pixel for myself but they are rare in my country
@@AnisTheLxgend what u country live in I live iñ france
@@javario. i am from algeria.
I mean there's way more advanced things u could do with an old phone, those arm chips are pretty powerful and you can relativley eaisly create a kernel with docker support to even run a basic homelab on it
Yee Basiclt a raspberry pi but looks different
@@sebastianclifford2869you can probably install pi os on the phone
@@sebastianclifford2869 yeah
Yes, awesome idea
Bro the new 1.20.5 uses Java 21! It was announced in the patch notes. You tried installing all the versions.
I have dual Java now 🥶
@@Meletion1 Bruh I literally install a java version for every Java app I need to run because no one uses the same jdk 😭
I ran a Minecraft Java server on a Nintendo switch using Ubuntu Linux for ARM. (One that could be port forwarded out to the internet of wished) the performance was ok but not great. Could work as a small smp or a server for a few friends. The phone you ran it on was definitely better than that lol. Love the vid. Nice editing!
Haha that's cool
yo this is actually a great video! keep up the good work
Damn, that's a great video. Great to follow along, i really enjoyed it. With Java 8 you could do a 1.12.2 or 1.8 Server. With Java 17 1.19. Thanks for the idea. Wanted to play 1.12.2 with my friends and had no idea how to do Java 8 on a recent Ubuntu install. I will try it on an old phone I have laying around and if it's working, it'll go on my homelab. :) That's definitely a great way of repurposing a phone that wouldn't work for daily use!
yay
2:15 I relate so much with this bit that is unreal, mine was a S9 with the same screen & touch issues and i did EXACTLY the same.
Woah! That was so cool! Idk you could actually host servers on phones I thought people just booted phones into Linux if they’re in cybersecurity.
*no way we even got a mc server on mobile Before GTA 6*
damn
I already did this a year ago lol. It's hella more complicated now than it was.
Gta6 is a lot more complicated than this haha
did it years ago, it's not new.
@@Woodman3hella hard my Dumass bought an Android tablet for a car and did a server
NOOOOO THE PIXEL
For real.
It was stripped naked though
Actually amazing content, Subbed.
same
Wait this is fucking genius. My S10's screen touch is dead. If i get it to run an MC server through ill finally have a use for my favourite phone that doesnt involve destroying the poor thing.
Keyboard and mouse will help with a adapter
@@Meletion1 yeah that's what I plan on using, but I might also use a screen copy tool I've got
On any Linux distribution the capital letter in a choice is the default answer. You can just press enter to select the default answer instead of typing Y and then entering. Also the software you were using for using the phone's screen (scrcpy) is actually (scr)een (c)o(py).
bro is underrated keep up the good content bro
he got good quality videos, he is too underrated tbh
Yo I've done this before, it was actually a pretty fun project to do when you have free time. Sadly the phone I used sucked so bad that random chunks in the world get corrupted randomly.
Awesome video! Is there any way to like control the server data via a website, like have a dashboard with start/stop/restart file manager and things like that?
Amazing video! This is very good knowledge to have.
great video! I wonder if it will run much better when using a relatively new iphone?
It's actually really easy to host your world on Bedrock by enabling multiplayer (it's enabled by default), but it's really nice to see this working with Java!
Servers can be 24/7 and on separate hardware without graphics rendering, and geyser, Java is also... Java, so you get mods, plug-ins, datapacks etc.
So true, bugrock has nothing on us.
@@Meletion1 PocketMine and BDS (Bedrock Dedicated Server), both can run on Termux!
I ran a minecraft server on my old phone (samsung a70, snapdragon 675 6GB ram), it ran really nicely and could handle 5-6 players at 12 chunks 7 sim distance. I do not recommend giving the server more than half of your total ram. I gave mine 3GB (3072MB) and it ran fine but the moment I went a tiny bit over androids OOM killer just annihilated the whole termux process lol. You could try disabling the OOM with various tweaks but I didn't feel like doing that since I'd need to root
Can I do it in my a70s? It has like 8gigs of ram and sd 6 series.
that tnt test is fire
pun intended?
@@MutasimosDoesProgramming probably
@@Clyde6790pKZhead it's explosive hahjahaha I'm so funny (this is being ironic btw)
7 years ago, I did run my first Minecraft Server on Andrioid Kitkat...
This video is so good you deserve a sub
You got a new subscriber me keep up the good work
Underrated content 🔥
Man i really shock when i saw his subscribers 😢
you have to switch verison manualy using sudo update-alternatives --config java [ its a issue on Ubuntu sometimes ]
Didn't know this, thanks for mentioning it
This should be in description
Pretty cool stuff!
i ran my server off a Kindle Fire 8 (10th gen) Tablet I do NOT recomend as it was both a pain int compatibility (had to move it to linux mint for some aspects such as undervolting) it was a great learning experience but don't do it, I use Apex hosting now (mobile devices are not meant to run heavy tasks and programs 24/7 and cant dissipate the heat correctly 99% of the time, needing to be modified which for me included cutting a massive hole in the back case of the tablet and placing an 80mm 12v fan powered by a janky power supply)
Man has such a stash of broken phones, I wish I had that too...
Frankly, I'm not surprised anymore. On my Samsung Galaxy A54 5G phone, I can download all modpacks via java connected to curseforge: RLCraft modpack, SkyFactory all packages; SkyFactory 2/3/4/FTB/One etc. or dawncraft modpack. On top of that, I'm not surprised at all after learning that I can play optifine mod, JEI mod or all the modpacks and mods you can install on the computer. Even opening a server on the phone seems simple :D In the past, I was tired of looking for addons on MCPE and dealing with .mcpack to play Skyfactory on the phone. Now I bought a USB PD supported hub for the phone, I connect the keyboard, mouse and charging adapter to it and log in to the RLCraft servers with the phone.
This video is really underrated! Amazing!
This was SICK. Got it running on my Galaxy S7, how can you edit the files to make it render more chunks?
you deserve more subs
well i did think of this, thanks!
Nobody's gonna talk about his legendary mc name ?
Can you make a video tutorial on: 1)How to install a fabric server on the phone 2) How to make it so your friends can join please? Vanilla is alright but i like fabric because of tbe mods.
This is amazing.
i thought you were gonna compile the minecraft java executable into a dalvik executable (the format Android executes Java code from)
I would be curious to see how well Paper or Folia ran on such a device.
OMG why are you so underated???
The Java version for 1.20.4 is openjdk-19. I did setup a raspberry pi minecraft server just recently and still remember that mojang tested 1.20.4 in java 19
Its JDK 17+
worked great for my z fold 3 with enhanced processing enabled as well i blew up so much tnt.
boom
I remember doing this like 2 years ago, it didn't work that bad :)
thanks for filling me up with this content!
🤨
that "god fricken damnit" was so real when using linux
cool video this was a fun watch!
certified comment by.. me?
Is it possible to get a panel running on that phone? Like Puffer or Pterodactyl? I'm more comfortable with those.
literally ran a minecraft server on an android tv box like 2 months ago. its Not good.
Wow
such a high production video for a small channel. kudos to you adrian!!
yeah i expect this from a much bigger channel
true
now idk how anlinux works but after spinning up the ubuntu VM you should have been able to ssh in from windows and make your life a little easier in the regard of using the terminal
Subscribed❤
can you show how to do this for a bedrock official server? maybe just a few edits or something to the code
yo can you do a tutorial on how to port forward it using ngrok
i have a modded minecraft server running on my old phone since 2021 its ez af to setup
Hey man, I got a Xiaomi Mi A1 (also known as radiation phone) that has a screen all surrended by dead pixells. I don have ADB activated so what am I have to do?
10:38 That phone did not deserve that.
Bro trust me ur gonna be famous
Can you make another tutorial on how to make this server crossplay Java/Bedrock
If you wanna port forward and your to lazy or dont know how, install a fabric server and install the PortForwarded mod from modrinth!
Hi first good turtorial but i have a problem when i try to execute the first server start its givening me that my paper file is invalid or corupt (i have a google pixel 8) pls help
Fyi since android is Java based you can literally run a Minecraft server entirely native on android without a Linux vm
LOL i actually created a minecraft on my old phone using termux without a pc and its running really fine
I don't know u can do this :D, actually i am after this video smarter +10IQ up Btw don't stop, u have good and interesting content. U CAN'T STOP!
Me and my friends always make a server on our phone we use aternos but it's laggy and we use pojavlauncher a java edition launcher for Android
🤔 can put plugins too? or add-ons? or mods?
My phone will be destroyed before the 2nd tnt explodes
best vid on youtube
I would have love to have that phone :(
You can play and host server on your phone
Pixel 6 pro is my dream phone🗿
is it smarter to do it on my old Samsung j3 or my own current Samsung galaxy a53 ?
ayo same keyboard nice
we have mc server on android before gta 6
funnily enough I've done this aswell with a more crappier phone, it does not run well 😅 what if you use papermc though
Alreda did this a few years ago :P
What if i wanna transfer my world from my pc to the termux world, how do i do that? (my device is rooted)
10:33 that hurts man
"change of plans" got me so hard. dunno why
wdym-
6 gigabytes is 6144 megabytes not 6192
any idea if it is possible to write a start.bat file?
what keyboard do you have?
My friend litterly do exactly this
If i type java xmx 6129.. the error unable to accsess jar file
Lol I just made that a couple of weeks ago just for fun using ADB haha.
you're pointing out the fact that you're not faking this so much that I'm starting to get skeptical 😂
Great video❤❤ A question I wanted to ask if its possible to port forward for anyone to join?
It is, you can port forward using your router's page and doing it how you would with any other self hosted Minecraft server. I tested running it through ngrok and that also worked
@@adrianstechThe mirror for the ubuntu package is down making it impossible to setup the server
@@Woodman3 theirs probably a archive but I'm not 100
Is there anyway to add forge/fabric + mods on the phone server
U are proffessional! Did u had a successful youtube channel in the past?
This is my first channel
10:48 was that necessary? Edit: Thank god it was already broken. My heart!
can you also make a video for fabric server with mods active?
It's the same deal
Been doin this for a WHILE
The OP7P is funny
Ótimo vídeo
I'm your 994th subscriber :)
Nice video, how do you see a phone screens on ur PC? Without being able to screen at all
Prior he used usb debugging giving shell
@@Meletion1 ok, can u still turn it on using otg adapter and hdmi? Cuz my device display is 100% dead including the touch
@@epiccc2804 probably you can use hdmi I think it works but I'd google it because I wouldn't make a purchase off some stranger like me.
@@epiccc2804 probably?