Rooting from linux? - General Questions and Answers

I have an international Samsung Galaxy S3 (model GT-I9300), running Android 4.3, Baseband version I9300XXUGMK6. All of the recent rooting methods seem to require Windows (Odin + CF-root, or something similar). However, all my computers run Linux exclusively (they don't even have a Windows partition on them). Is there a native Linux method for rooting, or alternatively can I run a root under Wine?
Note that I have got adb working under linux, and I started a backup yesterday (which I aborted when I realized that I didn't need it; all I really need to preserve are my contacts and photos, and I don't need a full backup).
Thank you very much!
-A.

Related

[Q] Comprehensive list of steps/video for rooting FrG83G Og Droid on a Mac

I've been searching on the internet for quite some time, attempting to find a comprehensive guide to rooting my OG Droid (build number FRG83G running 2.2.2)on my Macbook Pro (i know windows is easier). Does anybody know any way I can do this? Preferably something that includes everything I would need to download/install (with links to said things). Thank you everybody in advance.
Bump, this board moves fast
You would be better dual booting your mac with windows or using a VM such as parallels for example. I dual boot with win xp and can flash quite happily
Do you by any chance have a list of steps that I need to follow in order to do that? Im not very familiar with that process.
Mr_Pent said:
Do you by any chance have a list of steps that I need to follow in order to do that? Im not very familiar with that process.
Click to expand...
Click to collapse
Assuming your using osx 10.6x (as i am) go into utilities and look for bootcamp assistant. You will need a copy of a windows os of your choice, licensed of course!
You will be given the choice to boot windows or os on boot, funnily enough windows xp runs better on a mac (and faster) then it does on a pc haha.
Follow the instructions given on bootcamp and enjoy (this will partition your hard drive so ensure its not full!)
For further reading, google bootcamp osx
Have fun.
I now have windows XP running on my mac via parallels. Do you have any further instructions for rooting my phone? Previously I had tried rooting my phone via SuperOneClick v 1.9.5 through mono on my macbook Pro, but it always ran stopped and said Psneuter exploit failed. I figured trying it again on windows could fix that problem, but I cant figure out how to transfer the file over.
Nevermind, I ended up using a usb flash drive, but the program has the same error still; so once again, do you have any instructions for me to follow detailing another way?

android rooting without a pc ?

hi, is it conceivably possible to root a fone with something like connect-bot. since it's local command-line shell has access to the directory tree above /mnt/sdcard , couldnt someone download the files needed for the root to the fone via the web browser and copy them to the correct locations with something like connect bot ?
i am new to android so i am wondering if there is a hole in my theory ?
thanks,
Depends on the phone really. Some need to flash files you normally can't while OS is still up. Some, perhaps?
There are root deployment applications which can be ran on some phones
Sent from my Verizon Supersonic using XDA App
thanks, i wonder if there is a roster of files that need to be updated/ replaced for rooting a 'samsung galaxy s2 epic 4g touch by sprint' (i hate that name).
the reason why i ask is because since android has a perfectly capable linux command-line and file browser then there is no need for windows. (i managed to install heimdall on fedora but i have a suspicion that the apb just runs the commands as if it was run directly on the fone).
Most of the phones need to connect into PC usb port... unfortunatelly
The way of rooting depends on which android version you are using. Some exploits allow applications to get root privilege; others, like psneuter(2.1) or zergRush(2.3.3) work restarting the ADBd with root privileges by making it believe it's running on a test(rooted) phone.
On the first case, I remember an application called "Universal Androot", which I used to root my first Android phone, SE Xperia X10 mini, when using Android 1.6. That app exploited some security error on the system, and gained root itself, so I rooted my phone without need of a computer. Also, for 2.3 API Level 9, I think GingerBreak has an android app which does the same.
For the second type(the most common), it's necessary to use a computer, as the only way to get the root privilege once exploited is via the ADB console "adb shell". The other processes will remain running with their original privileges.
^ thx for the explanation. kinda' like you cant upgrade the kernal of a running system.
hmm that would be nice if someone sort this out..
Like Z4?
HTC Thunderbolt running MIUI
sort of, but more related to android security: exploits like psneuter & zergRush attack ADBd to make it run as root. other exploits, like gingerbreak, give root privileges to the application which run the exploit(somehow equivalent to running "su" on the terminal)
Sent from my MK16i using XDA App

4.1.2 Mac root?

I remember there was a java program that someone released a while ago to root the S3 for Macs, but that method obviously no longer words. I was wondering if (because I haven't found) a root method that can be done via Mac? I know about virtual box and all but I was hoping for a native approach.

[Q] root i9500 on mac

hello! just got my new gt-9500, great device! but I tried for hours now to root it on a mac, couse i have no PC around and I just don't seems to be able to!
no odin, and the sh file I found is just for 9505, I also tired with heimdall, but the new version (1.4) don't work with my mac's version, and I can't get the older one to work properly..
am I missing something? how can I just root my device from a mac without a pc? giving it's not my own mac, its a problem to install vm on it. I don't have windows installation anyway.
tnx!

Rooting with Mac OSX? Heimdall?

Hi there,
I finally decided to root my Note Pro (P900), which is just 10 Days old (refurbished tho, so no warranty issues).
My Backstory (only read if you are bored
The main Reason for me is privacy. Coming from a Xiaomi Android Device with its excellent Permission Manager I was shocked at the Permissions some Apps require, that cannot be changed.
I did my research and tried a relatively unknown option named "Appguard". (Google actually removed it from the PlayStore after a short period of time, still available from their Website). This app was developed by a IT Professor at a german university with the help of his students. It allows to manage app permissions on the fly for installed apps and doesn't require root. However, this requires to reinstall the apps you want to monitor (no big deal) and it also allows apps to get PlayStore upgrades (great!). However as it functions without requiring root, there is no way to monitor system apps (including all the Samsung bloatware!).
I did further research and am now opting for the xPrivacy Plugin for the Xposed Framework.
This of course requires root to function. So here I am.
My device is a stock, unrooted P900 Wifi (32 GB) currently running 4.4.2 (KOT49H.P900XXUANI1). And, I'm on a Mac!
Bummer!
I understand that the current setup to gain easy root is using Odin on a windows machine (wich i dont have!)
I did some more research and found Heimdall. Its a multi platform tool that allows flashing Samsung devices.
Did anyone already try Heimdall and can maybe give me a hand on setting it up?
Does it even work with the P900?
Any other Methods rooting the P900 on Mac OSX?
Thanks a lot in advance!
For times when I need to use Odin I use windows in a VMWare virtual machine on my macbook. The VM image takes up precious SSD space on my rig though so when not in use I'll copy over the image to removable storage to free up space and then copy it back to the macbook when I need it.
Thank you for your reply.
Ive done some tinkering in the Meantime and it seems like at the moment there is no possibility for the P900 using Mac OSX.
There are actually two options (or one technique used by two programs). Both of them are open source, available for Windows, Linux and Mac and can be found on github.
One is Heimdall, which seems to work fine for older Samsung devices and actually uses a special kext to replace the samsung drivers on Mac OSX. It comes with a command line tool as well as a straight forward user interface.
The other one is JOdin3, a Java/Casual based program that can be used directly in the browser or downloaded and run as a java program. It also uses the Heimdall drivers, but offers a user Interface that looks and functions exactly like Odin, plus it inludes a "noob friendly" step by step process in the UI.
The problem is that the heimdall drivers are still having issues with newer samsung devices (including the note pro) preventing it to fetch the PIT file from the device.
As of now, April 23rd 2015 there is currently no way to root your device using Mac OSX
I'm currently downloading a virtual windows machine in virtualbox and will try to root that way.
I have no Windows license, but thanks to the Internet Explorer Team from Microsoft you can download already complete virtual Windows Enviroment for both OSX and Linux directly from the windows servers. For free!
Will report back once I rooted my device.
I successfully rooted my P900!
For those Mac Users out there interested:
I tried Virtualbox first, but it didn't work. I installed the exact same windows image (Win7 Enterprise) with VmWare Fusion and was able to detect my device using Odin with the latest official Samsung drivers.
I used Odin (v. 3.10.6) to flash TWRP Recovery (v. 2.8.6.0). You have to boot directly into recovery after flashing, otherwise the OS will revoke the custom recovery at the first boot.
I then used TWRP recovery to flash SuperSU (v. 2.46) from a USB Drive and made a full backup to the ext. SD card.
Currently downloading the Hyperdrive custom rom. Really looking forward to it.
Did you end up tripping KNOX?
Keep us posted on your progress.
KNOX will be tripped when you install a custom recovery via Odin.
So yes, my KN0X has been tripped.
I'm currently running the Hyper drive Rom with different kernels. Performance seems good and customization Options excellent. l have a problem with random shutdowns (not reboots), no matter what kernel l use.
Pretty sure It's related to the Rom setting/ Setup rather than root method. Some users of the Hyper drive Rom reported similar issues,' however l have to figure this out before university starts again on monday and i absolutely need the tablet for lecture.
If I dont find a solution for the shutdowns until sunday i might have to consider flashing stock + .Xposed

Categories

Resources