@@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❤
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
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 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).
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.
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!
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.
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)
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
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
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.
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
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)
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 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?
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?
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.
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
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?
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.
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????
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.
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 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
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
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).
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.
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
such a high production video for a small channel. kudos to you adrian!!
yeah i expect this from a much bigger channel
true
yo this is actually a great video! keep up the good work
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
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
*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
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)
7 years ago, I did run my first Minecraft Server on Andrioid Kitkat...
you're pointing out the fact that you're not faking this so much that I'm starting to get skeptical 😂
10:38 That phone did not deserve that.
NOOOOO THE PIXEL
For real.
It was stripped naked though
I remember when I did this in 2011 with a Jailbroken iPhone 4...
Barely runned, but was so cool to do this 😂
could you tell me where i find the ip and how to connect even online not just locally?😅😅
Man i really shock when i saw his subscribers 😢
Wher I find the Ip adress I need to join the server?
he got good quality videos, he is too underrated tbh
Question i accidently closed termux and now i dont know how to start the server again pls help
Nobody's gonna talk about his legendary mc name ?
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.
This video is really underrated! Amazing!
i love that the hardest part about this was getting the right java version lmfao
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
Man has such a stash of broken phones, I wish I had that too...
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....:(
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?
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.
12:46 we can see your ip you didnt blur it out
That's my local IP, not my public IPv4/6 address
that tnt test is fire
pun intended?
@@MutasimosDoesProgramming probably
@@Clyde6790pUA-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
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.
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.
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
that "god fricken damnit" was so real when using linux
You could've used && between each command to combine them into a one
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.
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.
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+
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)
Is there a way to run a 24/7 bedrock server like this?
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 would be curious to see how well Paper or Folia ran on such a device.
thanks for filling me up with this content!
🤨
so this is ubuntu on android running java that android could do as well?
bro iam face this problem please help me broom :-
The crash happened outside the Java Virtual Machine in native code
great content
took me a while till i managed to scrcpy a huawei p30 lite that i had around. yep, minecraft server works at some extent.
literally ran a minecraft server on an android tv box like 2 months ago. its Not good.
Wow
can you show how to do this for a bedrock official server? maybe just a few edits or something to the code
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?
how to get the ip address
This was SICK. Got it running on my Galaxy S7, how can you edit the files to make it render more chunks?
i thought you were gonna compile the minecraft java executable into a dalvik executable (the format Android executes Java code from)
Underrated content 🔥
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
i have a modded minecraft server running on my old phone since 2021 its ez af to setup
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 :)
I cant run the server it give me a Xmx problem, invalid maximum heap size
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
Could I install mods on that?
it gave me an error after installing openjdk-21-jdk it said too small maximum heap
Probably too little Ram?
yo can you do a tutorial on how to port forward it using ngrok
6 gigabytes is 6144 megabytes not 6192
You got a new subscriber me keep up the good work
LOL i actually created a minecraft on my old phone using termux without a pc and its running really fine
Make a video how unnistal this package
My phone will be destroyed before the 2nd tnt explodes
bro is underrated keep up the good content bro
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?
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
"change of plans" got me so hard. dunno why
wdym-
Amazing video! This is very good knowledge to have.
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
really good video, i subbed
great video! I wonder if it will run much better when using a relatively new iphone?
Come faccio ad accendere e spegnere il server e se sono da SP ovvero craccato come gioco
we have mc server on android before gta 6
Can you make another tutorial on how to make this server crossplay Java/Bedrock
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.
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
i wonder if i can do this with an iphone 6s from the trash
My device said unable to locate package software-properties-common
what do i do if im getting an error Connection refused: getsockopt
any idea if it is possible to write a start.bat file?
If i type java xmx 6129.. the error unable to accsess jar file
Yeh same problem
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?
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.
can i use some methods but instead of java, im installing 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!
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😅
What if i wanna transfer my world from my pc to the termux world, how do i do that? (my device is rooted)
Do i can play with the same phone that hosted