Rooting a mobile phone from FreeBSD

Has anyone successfully rooted a mobile phone from FreeBSD?

I am following a Linux Guide which I thought would work using FreeBSD but the process just stuck when I ran

adb -d install KingoRoot.apk

saying

Performing Push Install

stopping at 0%
 
No Magisk is an application that should be run on your phone to provide root access.[1].
If you want to learn how to do stuff like this you definitely shouldn't be following sketchy 7 year old tutorials on youtube.

You might have to unlock your phones bootloader and install a custom one. Just read up on some of the official Magisk and TWRP documentation.
For guides and help I recommend the XDA forums.

All guides that utilize adb should work fine on FreeBSD, aside from the bugginess like oops mentioned.

[1]: https://github.com/topjohnwu/Magisk
 
It depends on what Phone it is. For Pixel phones you unlock the bootloader, then use open source tools to root. It is quite safe.

What phone is it?
 
It depends on what Phone it is. For Pixel phones you unlock the bootloader, then use open source tools to root. It is quite safe.

What phone is it?
I'm basically just trying to get the hang of rooting a phone.

I'm trying several including Samsung Galaxy S III mini, Samsung Galaxy S5 Neo, SONY XPERIA, Xiaomi Redmi Note 10, OUKITEL C15.

using numerous versions of Android.
 
Xiaomi phones are a hassle to unlock the bootloader.

For the others you can just search for a guide for that specific phone.
 
I own a Redmi Note 12 and I unlocked it's bootloader while on HyperOS in a Windows virtual machine running with bhyve. If you will use Magisk and you can't find image files in ROM you're using which are needed to be patched by Magisk, you can use sysutils/android-ota-payload-extractor to extract needed images like init_boot.img from payload.bin.

I recommend running adb start-server as root, otherwise you may not see your phone. You need to enable USB debugging from Developer Tools in Settings.
 
I recommend running adb start-server as root, otherwise you may not see your phone. You need to enable USB debugging from Developer Tools in Settings.
I trying to make an old SONY XPERIA usable after it was abandoned several years ago. The phone itself, which uses Android 4.1.2, works fine but has a number of apps, such as Facebook, Skype etc installed, but they are not usable. The account under which it was originally registered is inaccessible because the password has been forgotten and it no longer has the original sim, so I haven't found a way of verifying the Google account.

If I got root access, would I be able to find the original account details? I can recover media on the phone using jmptfs but am unable to access the mail account.
 
I own a Redmi Note 12 and I unlocked it's bootloader while on HyperOS in a Windows virtual machine running with bhyve. If you will use Magisk and you can't find image files in ROM you're using which are needed to be patched by Magisk, you can use sysutils/android-ota-payload-extractor to extract needed images like init_boot.img from payload.bin.

I recommend running adb start-server as root, otherwise you may not see your phone. You need to enable USB debugging from Developer Tools in Settings.
I'm trying to use ADB on Rebmi Note 12 when i run adb devices nothing gets listed.

Any idea what I need to do apart from enabling developer options?
 
Back
Top