@@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
The program is called screencopy, not scrapy Also make sure if you are running 1.20 or higher to download the openjdk-21-re package instead of java 17 thx for the likes❤
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.
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
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 if 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!
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).
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!
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.
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.
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?
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)
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.
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!
@@nbvzxc8504 You open your world options and go to the Multiplayer tab, then make sure the switch is on and it's on Friends or Friends of Friend (you can also disable friendly fire if you don't want pvp on) Then you can give your gamertag/username to anyone who wants to join so they can friend you. Then they can join the world in the multiplayer tab when you load the world (assuming you're connected to the internet) Also, if cheats are enabled you should be able to toggle how many people can be joined at once with /setmaxplayers! (there's no IP or Port btw, since it isn't related to the classic server system that you can see on the server tab)
hey man could you explain exactly how to determine he IP and how to connect to the server? im reeally bad at programming and don know what im doing at all... can anybody explain?
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
Thank you now I`m hosting a server on my phone, but i have a Question. Can i connect to the phone files so i can edit all server? Not with usb i want with network because usb is not working.
omg thanks so much for this. i tried following a tutorial from a website and it skipped the start command and apt update command. for like 2 days i didnt know what i was doing wrong
also its extremely easy to replace some steps. like i used the curseforge server download link instead and i just had to chose forge version and minecraft version
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.
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?
I cant run the server it just says java "Error: Unable to access jarfile minecraft_server.1.21.jar" whenever i do " -Xmx6192M -Xms6192M -jar minecraft_server.1.21.jar nogui" can anyone help?
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
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
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
I wiped the data on my Termux install and was able to install Ubuntu-Termux just fine. Make sure you're on the Termux build off GitHub, and not the Play Store.
@@adrianstech I got mine from the GitHub when I did this, I had also wiped mine. My phone is fully compatible with the stuff you wanted to run. Done this before, just found it to be weird. Might have another try at this tomorrow.
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
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????
The program is called screencopy, not scrapy
Also make sure if you are running 1.20 or higher to download the openjdk-21-re package instead of java 17
thx for the likes❤
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
@@Lobsturtsi call it scurpy
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
@@javcee i am from algeria.
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?
@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
@Kourz yeye I have t laucher
@Kourz I can't find the IP to connect but ima to reinstall everything
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 if 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
Lol I ran it in kali linux nethunter termux with Java 21 very Ez@@Meletion1
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).
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
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.
could you tell me where i find the ip and how to connect even online not just locally?😅😅
yo this is actually a great video! keep up the good work
10:38 That phone did not deserve that.
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
such a high production video for a small channel. kudos to you adrian!!
yeah i expect this from a much bigger channel
true
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
Actually amazing content, Subbed.
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.
that tnt test is fire
pun intended?
@@MutasimosDoesProgramming probably
@@Clyde6790pTH-cam it's explosive hahjahaha I'm so funny (this is being ironic btw)
@@Meletion1are you being ironic?
@@wav8518 I don’t know I think that was more sarcasm
great video! I wonder if it will run much better when using a relatively new iphone?
NOOOOO THE PIXEL
For real.
It was stripped naked though
he got good quality videos, he is too underrated tbh
This was SICK. Got it running on my Galaxy S7, how can you edit the files to make it render more chunks?
Man i really shock when i saw his subscribers 😢
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?
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.
Question i accidently closed termux and now i dont know how to start the server again pls help
It's local host how we get static IP of our mobile i even tried to use no-ip ddns but unfortunately it's not working....:(
I remember when I did this in 2011 with a Jailbroken iPhone 4...
Barely runned, but was so cool to do this 😂
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)
This video is really underrated! Amazing!
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.
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!
how can i host on bedrock? pls
@@nbvzxc8504 You open your world options and go to the Multiplayer tab, then make sure the switch is on and it's on Friends or Friends of Friend (you can also disable friendly fire if you don't want pvp on)
Then you can give your gamertag/username to anyone who wants to join so they can friend you. Then they can join the world in the multiplayer tab when you load the world (assuming you're connected to the internet)
Also, if cheats are enabled you should be able to toggle how many people can be joined at once with /setmaxplayers!
(there's no IP or Port btw, since it isn't related to the classic server system that you can see on the server tab)
Nobody's gonna talk about his legendary mc name ?
Wher I find the Ip adress I need to join the server?
Start new season and type ip config
wait, are you the person from the hardware haven server?
Potentially
@adrianstech im athena, idk if you remember me but youtube recommended me this video randomly, glad to see you've had a little success on here
yes
can you show how to do this for a bedrock official server? maybe just a few edits or something to the code
it dosent work when i specifiy the ram value it says: "Invalid Initial heap size Xms" and that it couldn't create the java VM. i alocated 512M of ram
you're pointing out the fact that you're not faking this so much that I'm starting to get skeptical 😂
7 years ago, I did run my first Minecraft Server on Andrioid Kitkat...
next, running a minecraft server on a samdisk usb drive
not that impressive tbh
@@bacalhau_seco I think he means without a cpu, gpu, ram ect
@@Meletion1 thought it was running it on a live linux usb, wich makes more sense and its actually usable
@@bacalhau_seco yeah that's what I was thinking you were thinking but not what he was thinking but idk
@@Meletion1 how do u know what hes thinking if he didnt say it specifically
hey man could you explain exactly how to determine he IP and how to connect to the server? im reeally bad at programming and don know what im doing at all... can anybody explain?
Is there a way to run a 24/7 bedrock server like this?
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.
Thank you now I`m hosting a server on my phone, but i have a Question. Can i connect to the phone files so i can edit all server? Not with usb i want with network because usb is not working.
bro iam face this problem please help me broom :-
The crash happened outside the Java Virtual Machine in native code
You could've used && between each command to combine them into a one
omg thanks so much for this. i tried following a tutorial from a website and it skipped the start command and apt update command. for like 2 days i didnt know what i was doing wrong
also its extremely easy to replace some steps. like i used the curseforge server download link instead and i just had to chose forge version and minecraft version
@@UselessSet How can i do that? can you pls tell me?
And how can i put mods on it?
Also how can i start and stop it?
Thanks
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.
i thought you were gonna compile the minecraft java executable into a dalvik executable (the format Android executes Java code from)
Im trying to Run a Bedrock edition server on a Redmi 9A for days...
Additionally to these steps, you need Box64 to run x86_64 Bedrock server since you can’t run on ARM architecture.
Is it possible to get a panel running on that phone? Like Puffer or Pterodactyl? I'm more comfortable with those.
how to get the ip address
I cant run the server it give me a Xmx problem, invalid maximum heap size
I would be curious to see how well Paper or Folia ran on such a device.
literally ran a minecraft server on an android tv box like 2 months ago. its Not good.
Wow
yo can you do a tutorial on how to port forward it using ngrok
it gave me an error after installing openjdk-21-jdk it said too small maximum heap
Probably too little Ram?
Can u do tutorial how my friends can join server?
Did You tried to give them your ip Adress? Idk if that works because it is a local but you can tried it.
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?
I cant run the server it just says java "Error: Unable to access jarfile minecraft_server.1.21.jar" whenever i do " -Xmx6192M -Xms6192M -jar minecraft_server.1.21.jar nogui" can anyone help?
Fyi since android is Java based you can literally run a Minecraft server entirely native on android without a Linux vm
How? May you show me?
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+
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
so this is ubuntu on android running java that android could do as well?
can i use some methods but instead of java, im installing bedrock?
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
What if i wanna transfer my world from my pc to the termux world, how do i do that? (my device is rooted)
If you wanna port forward and your to lazy or dont know how, install a fabric server and install the PortForwarded mod from modrinth!
i love that the hardest part about this was getting the right java version lmfao
*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
is it smarter to do it on my old Samsung j3 or my own current Samsung galaxy a53 ?
I have a problem, and it is that i can't start the server after i stopped running it. Can someone please help me with this! Thanks.
just end the termux session by Useing ctrl+c
It never connects to one of the GitHub pages making it impossible to get Ubuntu on android. The mirror seems to be down or something.
I wiped the data on my Termux install and was able to install Ubuntu-Termux just fine. Make sure you're on the Termux build off GitHub, and not the Play Store.
@@adrianstech I got mine from the GitHub when I did this, I had also wiped mine. My phone is fully compatible with the stuff you wanted to run. Done this before, just found it to be weird. Might have another try at this tomorrow.
@@Woodman3 yeah, I haven't tried it but alot of people are having the same issue
If i type java xmx 6129.. the error unable to accsess jar file
Yeh same problem
Can you make another tutorial on how to make this server crossplay Java/Bedrock
Man has such a stash of broken phones, I wish I had that too...
I really don't understand nothing about these things but I done everything in the vodeo and now how do i join the server
Put the local Ip Adress in the server adress. The local ip adress is the second under ip somethink like 192.
what do i do if im getting an error Connection refused: getsockopt
12:46 we can see your ip you didnt blur it out
That's my local IP, not my public IPv4/6 address
6 gigabytes is 6144 megabytes not 6192
Could I install mods on that?
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
bro is underrated keep up the good content bro
that "god fricken damnit" was so real when using linux
🤔 can put plugins too? or add-ons? or mods?
ik this is a stupid question but can we add mods to it?
i have an samsung s6 do you think it'lll do the job like your phone?
Doesn't hurt to try, but I wouldn't expect the best performance
@@adrianstech thanks but is just too complicated😅
My device said unable to locate package software-properties-common
Is there anyway to add forge/fabric + mods on the phone server
Make a video how unnistal this package
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?
@@epiccc2804 YES hdmi plus mouse and keyboard
any idea if it is possible to write a start.bat file?
how do you edit the server properties in Termux?
10:48 was that necessary? Edit: Thank god it was already broken. My heart!
can u do a Minecraft server on Windows 10? because I have one lying with no use
You can, there's many guides that cover it already on TH-cam, Reddit, etc etc
Yes but linux has better performance especially on older hardware.
Come faccio ad accendere e spegnere il server e se sono da SP ovvero craccato come gioco
hey man my server keeps crashing after like 10 minutes, do you have a discord?
Do i can play with the same phone that hosted
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