Android rooting tools? (Solved)
from Tattorack@lemmy.world to linux@lemmy.ml on 23 Feb 2025 13:58
https://lemmy.world/post/25957691

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!

#linux

threaded - newest

Maiq@lemy.lol on 23 Feb 2025 14:02 next collapse

I think your best bet is xdaforums.com.

non_burglar@lemmy.world on 23 Feb 2025 14:15 next collapse

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.

BCsven@lemmy.ca on 23 Feb 2025 17:33 collapse

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

non_burglar@lemmy.world on 23 Feb 2025 17:53 next collapse

Did you read my comment?

If you are referring to fastboot oem unlock, there are almost no phones that don’t have dual or even triple bootloader partitions, so that won’t work by itself.

click the buttons on the web page

I wouldn’t trust a chrome USB TTY permission to touch anything hardware of mine.

BCsven@lemmy.ca on 23 Feb 2025 21:12 collapse

You can flash twrp or download app to phone. Windows is sefinetly not a requirement because I only have Linux machines

northernscrub@lemmy.world on 25 Feb 2025 11:32 collapse

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

BCsven@lemmy.ca on 25 Feb 2025 15:50 collapse

There are various guides, and don’t forget to use Sudo with fastboot command. xdaforums.com/…/guide-windows-linux-how-to-unlock…

Udev rules github.com/M0Rf30/android-udev-rules

exu@feditown.com on 23 Feb 2025 14:33 next collapse

I general you need to flash either Magisk or KernelSU by patching to boot image or sideloading in the recovery.
Motorola seems to change bootloader unlocking for every phone, so the easiest way would be making a Windows VM and just do that.
I have found a CLI tool for flashing Qualcomm chips while in download mode, but there’s not really any documentation about it.

Kory@lemmy.ml on 23 Feb 2025 14:56 next collapse

LineageOS has instructions for Windows/Mac/Linux: wiki.lineageos.org/adb_fastboot_guide

anon5621@lemmy.ml on 23 Feb 2025 16:29 next collapse

Follow instructions …support.motorola.com/…/unlock-your-device-a/ for unlocking bootloader firstly for flashing custom recovery u can use native adb and fastboot tools

P.S But for future please use this repo for getting information about how much vendor is evil github.com/…/bootloader-unlock-wall-of-shame

mr_right@lemmy.dbzer0.com on 23 Feb 2025 17:39 next collapse

thanks i just wish i know about them one year ago

aarch64@lemm.ee on 23 Feb 2025 18:13 next collapse

The wall of shame is fantastic, thanks for sharing it.

N0x0n@lemmy.ml on 24 Feb 2025 08:15 collapse

It makes me kinda uneasy to see Google way down the list… :/ This seems suspicious as fuck ! Not about the person who made the list, but when something so evil makes something so easy to unlock, make my eyebrows twitch !

anon5621@lemmy.ml on 24 Feb 2025 12:09 collapse

Not only to unlock also install custom key for bootloader and lock bootloader again same way graphenos doing that

silverhand@reddthat.com on 23 Feb 2025 16:41 next collapse

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.

mexicancartel@lemmy.dbzer0.com on 23 Feb 2025 17:00 next collapse

Googal shits.

Also stock android isn’t the best android. And proprietary stock android is so bloated even if it is not chineese

mr_right@lemmy.dbzer0.com on 23 Feb 2025 17:44 collapse

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)

iJustGhost@lemmy.ml on 23 Feb 2025 17:39 next collapse

For extended phone lifespan, useful for thirdworld countries when OEMs stopped shipping updates to older models. Rooting/Unlocking can give you option to stay in stock and install security updates yourself or installing custom roms like Lineage OS. I use Samsung S9 which it doesn’t recieve updates anymore but I like keeping it so I rooted it to keep up with modern standards.

oldfart@lemm.ee on 24 Feb 2025 16:00 collapse

How do you keep up to date? LineageOS just stopped updating S9 in December

iJustGhost@lemmy.ml on 02 Mar 20:04 collapse

I build it myself from the source, it sucks but some things are meant to go…

Tattorack@lemmy.world on 23 Feb 2025 19:25 next collapse

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.

GrumpyDuckling@sh.itjust.works on 23 Feb 2025 21:36 next collapse

You might be able to by connecting it to a pc and using console commands. I was able to do it with a cheap onn tv box.

notanapple@lemm.ee on 24 Feb 2025 01:07 collapse

You can disable apps using adb.

I personally use AppManager (FOSS). In the settings, change the working mode to Wireless ADB. The app should give you the instructions but you can also ask here. Then from the app list you should be able to disable any app you want. The app even tells you which apps are bloatware.

But if you want, you can use adb on Linux too. Download adb and then from terminal run the commands as explained here: xda-developers.com/disable-system-app-bloatware-a…

bubusleep8941@lemm.ee on 23 Feb 2025 22:05 collapse

Increase phone life by avoiding scheduled software obsolescence…

JubilantJaguar@lemmy.world on 23 Feb 2025 18:51 next collapse

Several years ago I came to the conclusion that, for the kind of device models that I personally use (i.e. cheap ones), rooting has now become too complicated and dangerous (if not impossible) and that it’s better simply to move my computing back to the desktop while waiting for a more open and free mobile platform to emerge.

Xanza@lemm.ee on 23 Feb 2025 20:20 next collapse

It depends on your phone.

potentiallynotfelix@lemmy.fish on 23 Feb 2025 21:26 collapse

Magisk is the only one I know of.