stf icon indicating copy to clipboard operation
stf copied to clipboard

Could we root a device remotely through STF?

Open Tierney0115 opened this issue 10 years ago • 3 comments

Tierney0115 avatar Dec 30 '15 03:12 Tierney0115

That's a good idea. The Wugfresh tool kit is great for rooting Nexus devices. However the tool kit is only for windows at the moment. The link says Linux users can use an app called Wine to run the root software on linux. It would also be cool if you could send the rooting commands through the STF

Link to Rooting tool kit on linux discussion http://goo.gl/aSVbvR

th3prince1 avatar Jan 02 '16 04:01 th3prince1

I don't think it's possible to root all or even most devices from STF. Many devices require you to unlock the bootloader, and then install a custom recovery. This requires physical interaction on the device. In some cases, like HTC, you may even have to register on their website to get an unlock code. I have an HTC One M8 and had to do that.

If we somehow managed to do that, we would still lose ADB access to the device since the ADB keys reset, and USB debugging is off by default anyway. And, by resetting the phone with rooted firmware, before you even get to settings to turn USB debugging on, you'd have to deal with the initial prompts about setting up wifi, your name, google account etc.

It might be possible for some devices, as long as you don't have to erase the user partition, but I don't think it's really worth it. It would be a HUGE maintenance cost and a never ending source of issues.

Feel free to try to implement it yourself, though :)

On Saturday, 2 January 2016, th3prince1 [email protected] wrote:

That's a good idea. The Wugfresh tool kit is great for rooting Nexus devices. However the tool kit is only for windows at the moment. The link says Linux users can use an app called Wine to run the root software on linux

Link to Rooting tool kit on linux discussion http://goo.gl/aSVbvR

— Reply to this email directly or view it on GitHub https://github.com/openstf/stf/issues/212#issuecomment-168363134.

sorccu avatar Jan 02 '16 17:01 sorccu

I don't think it's possible to root all or even most devices from STF. Many devices require you to unlock the bootloader, and then install a custom recovery.

Totally agree

Though, maybe functionality for flashing a custom ROM on a already rooted device would be considerable? Suppose the ROM could automatically be patched with Magisk. Definitely would make updating & Resetting the OS easier. Or even just a proxy for fastboot would be really useful.

ttlns avatar Jan 22 '25 17:01 ttlns