Get Root Access On Termux Without Rooting Your Phone

 

Get Root Access in termux without rooting your phone in termux

Hello guys, like you all know when you are a root user of a computer device or your android device how much powers you will have?  whether you have full control over your hardware or your device control.On our laptop or our PC, it hardly takes some efforts to become a root user, we give the administration permission in the Windows and in Linux, we give superuser permissions.  This is how we can become a root user using that we can perform many high-end tasks that a norma lis not able to perform.  But, in the android doing so is somewhat difficult task that we have to root our device which can cause harm to our devicei f we don't know much about the rooting process.so guys today I am going to show you without rooting the android device how you can become a root user in the termux application.so hello guys, welcome back to the thetechyvers.so let us go to our termux applications.  In here,we will go type our supper user command Sudo su and enter.Now, as you can see the program

sudo is not installed.  Install it by executing tsu, so we will pkg install then tsu, and then enter so first, we will install this package means terminal superuser now our package installed,

now we will enter our previous command sudo su,we now see as we are entering  sudo su,it is asking are you rooted and then our termux's dollar sign is again showing to us, which means

we have to again enter the command means we are not yet superuser so for that, see your phone device is not rooted, if you  will root your device and if your phone is new your warranty period will get expired because every company ends warranty

period on rooted devices even if you have purchased the mobile today, and if you have rooted it tomorrow and the phone gets damaged,the company won  't take any guarantee or warranty over it.So, without harming our device, without rooting it,see.. in the rooting there are a lot of advantages but we will see that later because without knowing much about the device,without understanding the controlling of the device,if we root the device  so there are a lot of things that happen because of miss-configuration that might cause harm to our device.A lot many times it might damage the motherboard.so now we will see how we can take the root permissions in our termux.  So first of all you have to 


apt update


and 


apt upgrade


Note if you face any error in update and upgrading click here to solve it .


you have to run these commands so that our repositories get updated so that our termux application will also get updated.

We have it fully updated.  Now we have to 


apt install proot -y 


and then enter.  This application,the package we have to install after installing this.Now see if you have wget then you can skip this process and if you don't have wget installed, then you can use 


apt install wget -y


and enter.  For git cloning, we have


to apt install, we have to add git and enter. Here, I have installed git now we will jump to our browser we will open our browser now here we have to type 


mfd gaming ubuntu in termux



and enter so here see we have to open the first script now here we have to copy the link we  will come back to our termux now here we have to git clone it



git clone https://github.com/MFDGaming/ubuntu-in-termux.git



and then paste the link, now here we will paste the link and then enter.Now, it is git cloned now will check it using ls now see our ubuntu in termux is cloned now we will get inside its folder writing


cd ubuntu


and then enter now wee will use ls,Now, see here the file 



ubuntu.sh


we  have to grant it an executable permission so for granting executable permission, we have to use chmod command means change module then if we want to grant it executable permission then we have to +x


chmod +x ubuntu.sh



x means executable and plus means addition means we are adding executable permission in it and then we have to give our filename we will press the tab and then enter.

Now, we will ls it.  We can see it has become green ubuntu.sh means it has executable permission.Now, we have to 


./ubuntu.sh



Do you want to install it?


Yes, and then enter.  Now, it is starting its process so we will wait

so that the process gets completed.Now, you have to ls it and see here it is showing start ubuntu.sh file, now you have to run this.


Now here,




 ./startubuntu.sh



and then enter. now as you can see here we are now root localhost.So here, the hashtag sign is also present and it is showing root user. Now, we will check if we have become root user or not.what is the command of checking the user?


that command is 


whoamI


Here, we will return whoamIb and then enter.


See after typing whoamI, it shows we are root now.If you again want to go to your terminal means normal, you have to enter exit command and you can comebagain to your normal terminal here you can do your normal work. If you want to become a root user, for that again you have to navigate inside that folder and then you have to run the start ubuntu.sh file using ./ I am showing the same start on ubuntu.sh and then enter. Now see, you have now become the root user so see this is how you can become a root user.We will again enter whoamI and then root, now see your phone is not even rooted but still, you can access root.So this is how you can grant fake user permission in the termux.


So that's it is for today's post.


Bye Bye.



Post a Comment

0 Comments

Close Menu