Rooting with Mac OSX? Heimdall? - Galaxy Note Pro 12.2 Q&A, Help & Troubleshooting

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

Related

Rom flashing on a Mac

Has anyone ever tried to flash a rom or develop a rom that can be flashed by a Mac? I have Missing sync to sync my Tilt and to download .cabs and .exe's.
Works great by the way. I have flashed several roms from Windows XP on the " other side " of my Intel chip, so no problem there. Just wondering can it be done from the Mac side? And has anyone done it?
I have been using Macs and Apples for over 25 years ( started with Apple IIc) and never once had the urge to switch so comments from the "Apple Bashers" will mean nothing to me
Just curious.
no i'm not going bash apple but i haven't come across anything for mac and i believe the kaisercustomruu.exe can only be run only on windows
I have successfully flashed my Tilt using a Parallels install of XP Pro. Of course that requires an Intel Mac to accomplish...
NotATreoFan said:
I have successfully flashed my Tilt using a Parallels install of XP Pro. Of course that requires an Intel Mac to accomplish...
Click to expand...
Click to collapse
I have flashed several roms using both Parallels and Bootcamp on the other side of my Intel/Mac chip and .exe file will not run on OS X but is it possible to create a rom using say a .dmg package instead of an .exe package?
The problem is far beyond the fact that the package is in exe the tools to actually flash the rom are windows only
I'd just flash from the MicroSD card.
Read here:
http://forum.xda-developers.com/showthread.php?t=336158
AstainHellbring said:
The problem is far beyond the fact that the package is in exe the tools to actually flash the rom are windows only
Click to expand...
Click to collapse
Obviously you can't just re-package under a different file extension. What " tools " are you refering to? Kitchen tools? Again just re-packaging. Leopard can run on an intel chip. Word, Excel, etc, can run natively on a Mac. Can you put together a rom or write one from scratch that can be downloaded natively to a Mac and then flashed to a Kaiser? Even theoretically?
You can use whatever OS you want... Just do what Peterfnet suggested... Use the SD card method... It's safer and easier.
Just follow the link provided by Peterfnet!
Rayan said:
You can use whatever OS you want... Just do what Peterfnet suggested... Use the SD card method... It's safer and easier.
Just follow the link provided by Peterfnet!
Click to expand...
Click to collapse
It wasn't a "how do I flash a rom question " , I press a button and my screen twirls from OS X Leopard to Windows XP , I flash a new rom, press another button and my screen twirls back to Leopard and all my Mac apps. ( new Intel Chip for Mac)
The question was " what do the knowledgeable people here think? " Are there limitations of computer science that would prevent this or just limitations of available ground work that I could create?
Edit: I re-read this post and it sound kind of terse, I didn't meanit that way.
Thanks for your input Rayan
I see no reason why it would not be possible to flash a ROM natively inside Mac OS. But in order to do so, the flashing application written by HTC would need to be recoded to run on Mac.
If you extract the .exe file that is inside the rar file posted by the chefs here, you will see 5-10 files, one of which is the OS.nbh file. If you can write a program for Mac OS that can communicate with the Kaiser and call that file, then it would be possible. (DISCLAIMER: I am NOT a programmer, so it is a definite possibility that I could be talking out of my ass.)
Since flashing is not yet available to Linux users, then Mac is probably still a bit off.
peterfnet said:
I'd just flash from the MicroSD card.
Read here:
http://forum.xda-developers.com/showthread.php?t=336158
Click to expand...
Click to collapse
best option all around
Well, ever since I discovered the SD Card method I don't flash it through the PC anymore... No more fears of freezing up, power failures and such!
In fact, I carry several "test" ROMS in my card just to install them on the go whenever I'm bored! LOL...
Here's an answer from someone who is paid to write software....
You're correct there is no technical reason that you can't flash your phone from a Mac OS.
Basically the whole process is a few commands & responses sent across the USB port and then the nbh image streamed via the port to the waiting device.
Here's the bind: Microsoft is well known for not working well with others. Why would they be motivated to provide non-MS OS the ability to flash "Windows Mobile"? It's kind of like iTunes being able to integrate with non-iPod MP3 players as well as it works with iPods (or so I've heard).
Thanks all , it looks like I have my next project. Thanks for all your input. peterfnet and Rayan thanks when HTC comes out with their new rom update and new driver package at the end of the month I'm going the card method for a change.

[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?

The unofficial galaxy s3 linux support thread

I just wanted to start this thread for anyone who needs help with the s3 on linux whether its mounting sd/mtp or help with heimdall. I use Arch linux and let me tell you mtp is a pain in the butt, I ended up having to use a ftp server, and for my sd card I use a root ap called SG USB MASS STORAGE ENABLER by Mohhamad Abu-Garbeyyeh.
Linux
Bierce22 said:
I just wanted to start this thread for anyone who needs help with the s3 on linux whether its mounting sd/mtp or help with heimdall. I use Arch linux and let me tell you mtp is a pain in the butt, I ended up having to use a ftp server, and for my sd card I use a root ap called SG USB MASS STORAGE ENABLER by Mohhamad Abu-Garbeyyeh.
Click to expand...
Click to collapse
I'm using Ubuntu but there's no way I'm playing with my phone on it - I have a Windows partition just for that sort of thing. Maybe if it weren't my daily driver, I'd be willing to give it a shot but, while I use Linux for just about everything, it's just easier to have a Windows partition for some things. This being one of them.
Hats off to you though - takes guts (& knowledge) I don't have!
Need to be on stock. Doesn't work without stock.
http://forum.xda-developers.com/showpost.php?p=33491516&postcount=11
It worked for me on ubuntu 13.04
sjpritch25 said:
Need to be on stock. Doesn't work without stock.
http://forum.xda-developers.com/showpost.php?p=33491516&postcount=11
It worked for me on ubuntu 13.04
Click to expand...
Click to collapse
I'm rooted and ROMd with Carbon. Love my AOSP!
Bierce22 said:
I just wanted to start this thread for anyone who needs help with the s3 on linux whether its mounting sd/mtp or help with heimdall. I use Arch linux and let me tell you mtp is a pain in the butt, I ended up having to use a ftp server, and for my sd card I use a root ap called SG USB MASS STORAGE ENABLER by Mohhamad Abu-Garbeyyeh.
Click to expand...
Click to collapse
A couple of things I have found:
1. While MTP did not work with my Mint 15 system and stock android 4.1.2 on my phone, once I rooted, unlocked the bootloader, and installed cyanogenmod, it worked like a charm.
Before, when I plugged in my phone, I would get multiple error windows saying the MTP system wasn't available. I had to use windows (yuck!) and odin to get root and unlock the bootloader (although I did not try the virtualbox windows until after I had done this). I installed the most recent version of cyanogenmod and now the Mint system recognizes the MTP just fine. No error windows or anything.
2. I was able to get a virtualbox windows machine to recognize the phone, although it required different usb filters for download mode and for typical mtp.
This required going into download mode, selecting the appropriate filter in virtualbox, unplugging the phone, booting up the virtual machine and then replugging the phone. After this, odin recognized the phone. I did not attempt to flash anything further, though, since I had already done so from a windows system.
I think Ubuntu ships with mtp and its libraries now
I used to use arch Linux. Such a fun distro. Then work started using a TS gateway and it started become too much a hassle. Installed Windows 8, no longer fighting the system :screwy:
Sent from my SCH-I535 using xda app-developers app
lazarus0000 said:
I'm using Ubuntu but there's no way I'm playing with my phone on it - I have a Windows partition just for that sort of thing. Maybe if it weren't my daily driver, I'd be willing to give it a shot but, while I use Linux for just about everything, it's just easier to have a Windows partition for some things. This being one of them.
Hats off to you though - takes guts (& knowledge) I don't have!
Click to expand...
Click to collapse
What do you mean you have a windows partition? I have a laptop that's quad booted with Windows 7, Ubuntu, Fedora, and Pear OS 8. I want to take Windows out of the picture but I need it for things like this. Could you give me more details on this like does it act like a windows system? It'd be much appreciated.
Sent from my SCH-I535 using Tapatalk

[Q] Samsung Galaxy Pocket GTS-5300 - android - win file transfer

hi all, i know this is a developers' community but it's also a unique source of information on related matters so inevitably here i am (an end user)
system:
pc: windows 7 x64 pro os
phone: samsung gts-5300 (galaxy pocket), android os (gingerbread xxlj4), ('rooted' following these instructions)
question:
is there a way to be able to manipulate files in the phone through usb cable with a windows program (like a file manager)?
or at least can it be done using console commands?
note that by 'files' i mean android os files too
the issues:
'rooting' that phone does not actually grant root access to the system files but merely grants access to the su app and a glimpse of the system files
so yes we say it's 'rooted' but you can't actually pull any system file to a windows folder for example bcz you don't have the permissions required
i have installed numerous applications, on the pc and the phone, android sdk, android commander, qtadb, droid explorer, adb insecure, rom manager so i suppose that if someone gives me a set of steps i could hopefully quickly reply the problem that comes up on each step (obviously i don't think there is a quick solution to this, i know im an optimist...)
as far as i can understand, adb insecure should be the solution to this problem for similar devices where 'rooting' is not actually rooting, but im having the already mentioned and i suppose resolved issue of it causing the usb debugging mode to go off, and the problem is noone in the related thread actually mentions how that problem is overcome
thnx for your time

Rooting from linux?

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.

Categories

Resources