I’ve rooted my android phone many years ago. Back then that was a different phone than I have now, and I was still using Windows.
I’m now trying to find a way to root my current phone (Motorola g62 5G), and have no idea how to do it through Linux. However, I seem to only be able to find instructions that are specific to windows.
How would I go about doing this on Linux (specifically Ubuntu)?
EDIT:
Thanks to a number of answers on here I’ve managed to find my way and rooted my phone. Thanks again, guys!
Flashing the phone’s bootloader and image is still done with adb and fastboot, but unlocking the bootloader is by now pretty much done with tools only made for windows.
Mostly this is because the exploits use factory flashing tools provided by manufacturers, which are nearly always windows.
No, you can do it via the Linux fastboot adb tools. You typically have to paste in a udev rule so system sees the phone as expected. Or if you have a Pixel theGraphenesOS web based setup is easiest, you don’t need any knowledge just click the buttons on the webpage
Can we get that udev rule? Or at least a rough idea how to put it together? I had to put a windows box up just to get this phone talking to a pc
There are various guides, and don’t forget to use Sudo with fastboot command. https://xdaforums.com/t/guide-windows-linux-how-to-unlock-your-bootloader-official-and-unofficial-way.3885578/
Udev rules https://github.com/M0Rf30/android-udev-rules
What exactly are you hoping to achieve by rooting your phone btw?
From what I know rooting used to make sense back in the 2015’s when the Android market used to be littered with shitty OEM OS’s filled to the brim with bloatware, ads and restricted functionality. Rooting or installing custom ROMs used to give a very tangible boost to performance in those times. But nowadays most OEMs (except the ultra-cheap Chinese ones) have settled down to a uniform stock-Android-like design with minor design tweaks, and hardware has also improved to the level that it’s extremely rare to notice comparable lags. I know Motorola is one of those who prefer to keep their UI as close to stock Android as possible.
My phone still comes preinstalled with a bunch of crap and I want it gone. Like I’m never going to use Google Games, I’m never going to use LinkdIn, I’m never going to use YouTube Music, or Opera Web Browser. None of these apps I can remove without root.
Googal shits.
Also stock android isn’t the best android. And proprietary stock android is so bloated even if it is not chineese
yeah, its not about usability its about the preinstalled FAANG
also don’t judge not all people can buy pixels or oneplus (even if they had the money) so they have to buy whats available to them (price or brand)