[How To] Easily Root your SGS2 - AT&T Samsung Galaxy S II SGH-I777

Instructions updated based on creepyncrawly's thread found here .
1.) How to root by using DooMLoRD's Easy Rooting Toolkit. (ZergRush Exploit) (Windows)
[*]Not working for KK6 2.3.6[*]
Download the "DooMLoRD's Easy Rooting Toolkit v3.0" package from this thread and extract it to a directory on your hard drive using WinZip or a similar program.
You need to have the USB drivers for SGH-I777 installed on your computer. (It will be "Samsung USB Driver for Mobile Phones" in Control Panel\Uninstall Programs.) Download and install the latest drivers from this thread. (x86 and x64)
Both USB Debugging (Menu\Settings\Applications\Development) and Unknown Sources (Menu\Settings\Applications) should be enabled on your phone.
Increase the screen timeout on your phone to 10 minutes. (Menu\Settings\Display\Screen Timeout) Remember to set it back to a shorter interval after you are done rooting.
Connect the USB cable to the phone and the computer. Go to the directory where you extracted the package and execute "runme.bat".
The toolkit will open a command prompt window where you will see the progress of the rooting process. It takes between 5 and 10 minutes for the process to complete.
Success. You're rooted.
2.) How to root by using SuperOneClick Root. (ZergRush Exploit) (Windows, Linux and Mac OS)
[*]Not working for KK6 2.3.6[*]
Download "SuperOneClick v2.3.1 - Automatic Driver Installation" from MultiUpload and extract it to a directory on your hard drive using WinZip or a similar program.
Please go the the SuperOneClick thread and read about the tool and how to use it. For Windows XP you need to have .NET Framework v2.0 or above installed. For Mac OS and certain flavors of Linux, you need to install Mono.
I have not tested this tool. It is included here because it claims to work for Mac OS and Linux, and provides a way to use the ZergRush Exploit on those operating systems. Since I am only familiar with Windows, I will be unable to support this rooting method. For problems, try posting questions in the SuperOneClick thread linked above.
If you try SuperOneClick on Linux or Mac, please post your (success or failure) results. Thanks.
3.) How to root by flashing Entropy512's Return/Unbrick to Stock, Kernel + Rooted System Package with Modem using Odin3 One-Click Downloader (Windows)
I have prepared Odin3 One-click Downloaders for the Stock non-rooted and Stock + Root packages. Each One-click Downloader also contains the Modem. This will make flashing back to stock or flashing root in Windows easier. These were tested and flashed successfully on my device. These could be posted in the OP for convenience.
Odin3 One-click Downloader I-777 UCKH7 Stock + Root No Bootloaders
I777_UCKH7_OCD_Root_No_BL.7z
(This one-click downloader flashes: zImage, factoryfs.img with root, and modem.bin)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
How to Use:
Download the 7 zip package. Extract the contents of the zip file to a directory on your hard disk drive.
Start the Odin3 One-Click Downloader program by double clicking on "I777UCKH7 OCD No BL.exe" or "I777UCKH7 OCD Root No BL.exe".
Now Enter Download Mode:
With the phone powered off, plug in the usb cable while holding the vol up + vol down buttons (but not the power button).
When the warning screen appears, press Volume up to continue into download mode.
In Odin, the small edit box in the upper left corner will turn yellow, and say something like [0:COM8]. The number could be different.
Click Start. Watch the progress bar advance in green while the message box in the lower area describes the steps. When the flash is finished, the top left larger edit box will turn green and say PASS! and your phone will automatically reboot.
Unplug the usb cable from you phone after it boots up. Success.
The above is from creepyncrawly, found here.
4.) How to root by flashing Entropy512's Return/Unbrick to Stock, Kernel + Rooted System Package from the command line using Heimdall (Linux and Mac OS)
Tested on Linux, should work on Mac OS
Download and install the latest version of Heimdall Command Line for your operating system from here. (Latest version 1.3.1 at this writing.)
Download Entropy512's Return/Unbrick to Stock, Kernel + Rooted System Package from here. Extract the PDA.tar file from this package to a directory on your hard disk drive, then extract the two component files from the tar - zImage and factoryfs.img.
Place zImage and factoryfs.img both in the directory where you have the Heimdall command line executable, and enter the following at the command prompt:
Code:
heimdall flash --kernel zImage --factoryfs factoryfs.img
Reboot the phone. Success. You're Rooted.

Super simple, Thanks!!

Do all the buttons and data connections work properly this kernel?
Sent from my SAMSUNG-SGH-I897 using XDA App

dayv said:
Do all the buttons and data connections work properly this kernel?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Been running kernel for an hour no issues yet.

Cool should have my phone in a hour or two. Though I may hold off flashing till later on encase the development cause needs a virgin dump of something later on tonight.
Sent from my SAMSUNG-SGH-I897 using XDA App

dayv said:
Cool should have my phone in a hour or two. Though I may hold off flashing till later on encase the development cause needs a virgin dump of something later on tonight.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Yea sent them mine already. Have it on pc in case they need more.
Sent from my SAMSUNG-SGH-I777 using xda premium

Might wanna get rid of the screenshot that has the first app listed. Some may frown upon it... just saying. Anyways, thank you and I will have mine in 3 hours. Yay!
Sent from my SAMSUNG-SGH-I897 using XDA Premium App

Probably a noob question, but pc drivers - are they the same as captivate or do I need to get new drivers? Link?
Thanks,
Bob

I can not for the love of God figure out why odin 1.8.2 is not recognizing my phone. I tried it first with debugging on, then off. Different ports. I know the drivers work because i can mount it and add or remove files from it. I get to downloading(do not turn off target) but Odin does not say COM1 or what not. Any suggestions/
I feel I missing something obvious, unless this driver is different then the captivate driver?

rbtconsultants said:
Probably a noob question, but pc drivers - are they the same as captivate or do I need to get new drivers? Link?
Thanks,
Bob
Click to expand...
Click to collapse
I'm pretty sure it uses the same drivers as the captivate. But I don't have the SGSII in my hands yet so I can't confirm.
---------- Post added at 10:15 AM ---------- Previous post was at 10:14 AM ----------
TheTodFather said:
I can not for the love of God figure out why odin 1.8.2 is not recognizing my phone. I tried it first with debugging on, then off. Different ports. I know the drivers work because i can mount it and add or remove files from it. I get to downloading(do not turn off target) but Odin does not say COM1 or what not. Any suggestions/
I feel I missing something obvious
Click to expand...
Click to collapse
What OS?
10 char

Windows 7.....

Did you open Odin as Administrator?

Graci, I haz rootz now.
Ok figured it out! Somehow the drivers were corrupted, I just re-installed them and all is good. I suspected it was causing the problem. Glad to get it fixed.

TheTodFather said:
Graci, I haz rootz now.
Ok figured it out! Somehow the drivers were corrupted, I just re installed them and all is good. I suspected it was causing the problem. Glad to get it fixed.
Click to expand...
Click to collapse
Do you mind linking to the drivers neccesary?

Done! not hard at all! thanks!!!

TheTodFather said:
Windows 7.....
Click to expand...
Click to collapse
Windows 7 sucks! I run it as parallel on my mac and I've had trouble with Odin many times. Whether its drivers,etc. Hopefully when I get home with my sgs 2 it won't give me any trouble
Sent from my SAMSUNG-SGH-I897 using XDA App

Super One Click doesnt seem to want to do the root. It attempts to start the daemon and then subsequently crashes.
Thoughts?

afroduck said:
Super One Click doesnt seem to want to do the root. It attempts to start the daemon and then subsequently crashes.
Thoughts?
Click to expand...
Click to collapse
Same for me... Odin goes smoothly but SuperOneClick crashes after closing and trying to restart adb

Hmm..
Two issues I am having with this. The first and most important is that I cannot seem to flash any other ROMs - or even other versions of Clockwork Mod with this. I get "signature verification failed". I've checked the MD5 of the downloaded files and it all seems to check out, so I'm unsure if this is intentional or not.
I've also now got an annoying big yellow exclamation point on boot. It doesn't really impede anything, but it is... absolutely infuriating how it stares at me with its yellowness.. It really isn't a big deal, though.
I'm going to try to reflash a third time, though, maybe it will solve itself.

Will this work with Heimdall?

Related

[Q] Rooting Vibrant with Froyo

Hi
I looked around and saw a few ppl having trouble while rooting vibrant.
I've put update.zip on /sdcard, and when i reboot my phone in recovery mode it says something about my package not being signed.
So i googled and did this:
java -classpath "/home/ohai/Downloads/android-sdk-linux_86/tools/sign/testsign.jar" testsign update.zip file-signed.zip
(don't worry, i'm not that stupid, i DO have the sdk and the testsign installed here)
then renamed file-signed.zip to update.zip and replaced it on /sdcard, but still got the same message.
Does anyone have a link to a actually working update.zip to vibrant's froyo?
i'm using froyo.UVJL4, downloaded from samfirmware.com.
Thx in advance
?
Sent from my SGH-T959 using XDA App
Everyone's update.zip is usually different is what i'd think.
try getting titanium backup, click menu and click menu, and then CREATE update.zip
that might help you out.
Go to dec section and look for the jl4 rom from geodude(cant remember exact name...) His rom, odex or deodex both come prerooted with the 3e recovery fix as well. Flash that. KTB.
Sent from my SGH-T959 using XDA App
If you are comfortable using the voodoo lagfix you can flash the new voodoo 5 kernels. They come with the SU binary and clockworkmod recovery built in. Then download busybox and superuser from the market. You'd have to flash via ODIN though.
Thx for the tips, but i was not thinking about using modified roms... all i want is to root my default rom from samsung, is it possible?
You need the correct key to sign the zip file. My understanding is this key was not released by Samsung so you will not be able to sign your update.zip files to work with the 3e recovery.
The 2e recovery accepted a "test key" which is why we're able to use update.zip to root and use CWM.
The RATC method still works for rooting in the 2.2 Firmware. You can use SuperOneClick to root, and then replace the stock 3e recovery with the one from here. This is a modified 3e recovery which removes the signature checking.
How about trying the ALT METHOD in the Noob Guide (my signature)... then flash a stock rom with root?
http://forum.xda-developers.com/showthread.php?t=857974
personally, you are hurting yourself by not running a rom like Nero v3 or Eugenes Ginger Clones.
Rooting T-Mobile Vibrant Froyo 2.2 JL5
I have the T-mobile Vibrant US Phone. I upgraded to JL5 and have rooted my phone with a program from here:
http://forum.xda-developers.com/showthread.php?t=803682
Get the latest version and you might have to run the program 2 or 3 times for it to finish. Note on my phone these were the steps I took.
1. Put phone in USB Debugging Mode.
2. Plug usb cable to computer.
3. Run the rooting program above with windows administrator rights.
4. It will run then probably hang half way through and indicate WAITING FOR
DEVICE.
5. Shut windows program down.
6. Reboot phone (Turn Off then On).
7. Reconnect to usb.
8. Restart the Rooting Program and Root.
9. It should finish and ask if you want to test SU say yes.
10. That's It you should be good to go.
Hope this helps.
s15274n said:
How about trying the ALT METHOD in the Noob Guide (my signature)... then flash a stock rom with root?
http://forum.xda-developers.com/showthread.php?t=857974
personally, you are hurting yourself by not running a rom like Nero v3 or Eugenes Ginger Clones.
Click to expand...
Click to collapse
What's so good in those roms?
NihtSpi said:
I have the T-mobile Vibrant US Phone. I upgraded to JL5 and have rooted my phone with a program from here:
http://forum.xda-developers.com/showthread.php?t=803682
Get the latest version and you might have to run the program 2 or 3 times for it to finish. Note on my phone these were the steps I took.
1. Put phone in USB Debugging Mode.
2. Plug usb cable to computer.
3. Run the rooting program above with windows administrator rights.
4. It will run then probably hang half way through and indicate WAITING FOR
DEVICE.
5. Shut windows program down.
6. Reboot phone (Turn Off then On).
7. Reconnect to usb.
8. Restart the Rooting Program and Root.
9. It should finish and ask if you want to test SU say yes.
10. That's It you should be good to go.
Hope this helps.
Click to expand...
Click to collapse
JL5?
where did you get it?
atcasanova said:
What's so good in those roms?
Click to expand...
Click to collapse
You still can't get rooted & you want FroYo?
I attached cwm update.zip so just use that to get into CWM Recovery (Reinstall Packages, You may need to do it twice) and then just flash the following ROM
http://forum.xda-developers.com/showthread.php?t=881692
Masterâ„¢ said:
You still can't get rooted & you want FroYo?
I attached cwm update.zip so just use that to get into CWM Recovery (Reinstall Packages, You may need to do it twice) and then just flash the following ROM
http://forum.xda-developers.com/showthread.php?t=881692
Click to expand...
Click to collapse
Sorry for being this dumb, but i don't have a clue of what is CWM
me too,
im desperately looking to root my vibrant from Bell canada. i just updated to JL2 using the kies pc software. i just got this phone for xmas so im quite new to it.
im hoping to find an app or website that can do most of the steps for me. or a youtube video with detailed step by step.
ive tried using the guide that s15274n wrote (btw, thanks for the awesome writeup) but i have the same problem of the update.zip file not passign the signature verifaction.
i would like to stay with a stock ROM for at least another couple weeks because of the super high chance of this phone bricking itself
my phone has a build date of 11.10
any thoughts?
thank you VERY much for any help
EDIT:
I have managed to root my phone! hurray!
heres how i did it:
i used the superoneclick method thanks to this link http://forum.xda-developers.com/showthread.php?t=803682
i used this guide to help me through the steps http://theunlockr.com/2010/10/11/how-to-root-your-android-phone-superoneclick-method/
thanks to everyone to put in work to make this possible.
THANK YOU!
chucked said:
me too,
im desperately looking to root my vibrant from Bell canada. i just updated to JL2 using the kies pc software. i just got this phone for xmas so im quite new to it.
im hoping to find an app or website that can do most of the steps for me. or a youtube video with detailed step by step.
ive tried using the guide that s15274n wrote (btw, thanks for the awesome writeup) but i have the same problem of the update.zip file not passign the signature verifaction.
i would like to stay with a stock ROM for at least another couple weeks because of the super high chance of this phone bricking itself
my phone has a build date of 11.10
any thoughts?
thank you VERY much for any help
EDIT:
I have managed to root my phone! hurray!
heres how i did it:
i used the superoneclick method thanks to this link http://forum.xda-developers.com/showthread.php?t=803682
i used this guide to help me through the steps http://theunlockr.com/2010/10/11/how-to-root-your-android-phone-superoneclick-method/
thanks to everyone to put in work to make this possible.
Click to expand...
Click to collapse
So many people figure out what was wrong and they are done. Thank you for posting your finding, I have been trying to Root my Bell Vibrant for a while.
Use SuperOneClickRoot - http://forum.xda-developers.com/showthread.php?t=803682
Works all the time for Vibrant!

[ROOT] [AT&T, TELUS, Bell, Rogers] Pre-Rooted Kernel (flash via Odin)

Hi!
This kernel enables custom boot animations (/system/media/sanim.zip), adb root, init.d support, runs a script to auto-root your /system partition, and then you're on your merry way
You may need the USB Drivers available here. (Support & Downloads for SGH-I717)
Once the USB Drivers are installed, power off the phone, then hold volume down and power it on, you'll get a screen asking you to hit vol up to continue, do so. This puts the phone in download mode.
Stick the provided pda.tar in the PDA box of Odin3 1.85, flash away!
Install Superuser from the market after booting.
Note that this will increase your flash counter, which is presumably used by Samsung as a reason to decline warranty service (not aware of any reports of this occuring yet...?)
Don't forget the donate link in my signature if you found this useful and want to motivate me to work on overclock/undervolt
Thanks, Good job.
Sent from my LG-P925 using xda premium
nice work Da_G
Nice work!!! Im just waiting my Note...
Sent from my SGH-I727 using Tapatalk
Dang what a beast!
Sent from my Galaxy Nexus using Tapatalk
Da_G said:
Hi!
This kernel enables custom boot animations, adb root, init.d support, runs a script to auto-root your /system partition, and then you're on your merry way
You may need the USB Drivers available here. (Support & Downloads for SGH-I717)
Once the USB Drivers are installed, power off the phone, then hold volume down and power it on, you'll get a screen asking you to hit vol up to continue, do so. This puts the phone in download mode.
Stick the provided pda.tar in the PDA box of Odin3 1.85, flash away!
Install Superuser from the market after booting.
Note that this will increase your flash counter. Don't forget the donate link in my signature if you found this useful and want to motivate me to work on overclock/undervolt
Click to expand...
Click to collapse
This should work on the Canadian versions, right? Or would this be AT&T specific?
excellent job! Here a little something
Confirmation number: 0P6459745L809882G
@goalcam:
The kernel is built from AT&T source. I haven't examined the Canadian source yet, I'll take a look and see if it'll work.
@bkeaver:
Appreciated!
Any chance a jig from the SG2 will reset the counter?
More than likely not, due to the bootloader revision.. however since my counter is already up in the dozens I can look at putting some time into finding where the counter is stored, so that we can wipe it at will
OK what am I doing wrong. I installed super user from the market and this is what I am getting....
Sent from my SAMSUNG-SGH-I717 using xda premium
OK, followed directions precisely. Installed Superuser from Market and get the following:
su binary vnull
When trying to update:
Checking installed version = legacy
Fixing database... okay!
Checking for busybox... not found
Downloading custom busybox... okay!
Checking md5sum... okay!
Checking current install path... fail!
Failed to find currently installed su binary. Update cannot continue.
Checked, and the flash count shows 1 with new image, and the new boot animation is showing up.
If I can screw something up, I will.
Any ideas?
oops, let me revert my current root and try again, i'll have a fixed v2 up in two shakes!
in the mean time, if you are familiar with adb you should have root access in adb.
Odin
Thanks Gabe !
Thanks Da_G Works Perfectly.
eoh7678 run DoomLord's root after installing the kernel it installs superuser correctly.
Ajairola
ajairola said:
Thanks Da_G Works Perfectly.
eoh7678 run DoomLord's root after installing the kernel it installs superuser correctly.
Ajairola
Click to expand...
Click to collapse
Confirmed! Running doomlord's root correctly installed su/busybox.
Awesome job!
ajairola said:
Thanks Da_G Works Perfectly.
eoh7678 run DoomLord's root after installing the kernel it installs superuser correctly.
Ajairola
Click to expand...
Click to collapse
Thanks for the idea. This worked perfectly...
Sent from my SAMSUNG-SGH-I717 using xda premium
Ok, it was a simple typo in the root script that prevented su and busybox from being installed properly, oops!
Fixed now in the first post, back to regularly scheduled programming.. look for Overclock/Undervolt soon
Da_G said:
Hi!
This kernel enables custom boot animations, adb root, init.d support, runs a script to auto-root your /system partition, and then you're on your merry way
You may need the USB Drivers available here. (Support & Downloads for SGH-I717)
Once the USB Drivers are installed, power off the phone, then hold volume down and power it on, you'll get a screen asking you to hit vol up to continue, do so. This puts the phone in download mode.
Stick the provided pda.tar in the PDA box of Odin3 1.85, flash away!
Install Superuser from the market after booting.
Note that this will increase your flash counter. Don't forget the donate link in my signature if you found this useful and want to motivate me to work on overclock/undervolt
Click to expand...
Click to collapse
What does increasing a flash counter do? Forgive a noob.
@SPtheALIEN: Replied in first post.

[Q] Root SGS3 without Windows

Is it possible to root the SGS3 (international version) without access to a Windows machine? I have a laptop running Ubuntu 12.04, and can connect to the phone using adb, but no access to a Windows machine.
alistair.cunningham said:
Is it possible to root the SGS3 (international version) without access to a Windows machine? I have a laptop running Ubuntu 12.04, and can connect to the phone using adb, but no access to a Windows machine.
Click to expand...
Click to collapse
No, not yet possible afaik. You need a computer and Odin or Heimdal. Heimdal seems to be working on linux i heard, but not sure. Search google for heimdal for linux.
alistair.cunningham said:
Is it possible to root the SGS3 (international version) without access to a Windows machine? I have a laptop running Ubuntu 12.04, and can connect to the phone using adb, but no access to a Windows machine.
Click to expand...
Click to collapse
this is what might help u out
http://www.youtube.com/watch?v=wWMlU10ir3I
gee2012 said:
No, not yet possible afaik. You need a computer and Odin or Heimdal. Heimdal seems to be working on linux i heard, but not sure. Search google for heimdal for linux.
Click to expand...
Click to collapse
Thanks, search for heimdal for Linux returned a link on galaxys3root.com (sorry, XDA is refusing to let me post the full link) and I downloaded the image from downloadandroidrom.com. This includes heimdall_1.3.2_i386.deb. So now I'm working on this. So far, every time I reboot into recovery I get the stock <3e> recorvery console that refuses to load the unsigned ClockworkMod image, but will keep working on it.
alistair.cunningham said:
Thanks, search for heimdal for Linux returned a link on galaxys3root.com (sorry, XDA is refusing to let me post the full link) and I downloaded the image from downloadandroidrom.com. This includes heimdall_1.3.2_i386.deb. So now I'm working on this. So far, every time I reboot into recovery I get the stock <3e> recorvery console that refuses to load the unsigned ClockworkMod image, but will keep working on it.
Click to expand...
Click to collapse
Well good luck, see the link above from vegeta1. :fingers-crossed:
No joy unfortunately. I use heimdall to upload the recovery image:
heimdall flash --recovery /tmp/recovery.img
and it says "RECOVERY upload successful" but then when I reboot to the recovery menu, it's the stock Android one not ClockworkMod. Any ideas?
No I am sorry, not familiar with ubuntu or heimdal. I use Odin.
Verstuurd van mijn GT-I9300 met Tapatalk
Do you have usb debugging enabled on your phone?
Verstuurd van mijn GT-I9300 met Tapatalk
Solved! The cure is to run:
heimdall flash --no-reboot --recovery recovery.img
then reboot by taking the battery out and putting it back in again. I then held down volume-up, power, and home as it booted, though I don't know if this last part is necessary.
I'm now gloriously rooted! Thanks for all your help.
Happy for you
Verstuurd van mijn GT-I9300 met Tapatalk
alistair.cunningham said:
Solved! The cure is to run:
heimdall flash --no-reboot --recovery recovery.img
then reboot by taking the battery out and putting it back in again. I then held down volume-up, power, and home as it booted, though I don't know if this last part is necessary.
I'm now gloriously rooted! Thanks for all your help.
Click to expand...
Click to collapse
Thanks! I was stuck here for a while until I found your method. I now have one rooted SG3, cheers
CWM working?
idoa01 said:
Thanks! I was stuck here for a while until I found your method. I now have one rooted SG3, cheers
Click to expand...
Click to collapse
I got mine rooted the same way, but despite clockworkmod being in the recovery, it doesn't run unless I repeat the whole process... Did you get it installed permanently?
Just need to install framaroot app and runed aragorn exploit and reboot ... one click root ...
Easyest method ... no counter ... no triangle ... just rooted
Sent From My Galaxy S III Using XDA Premium 4
Framaroot doesn't work on latest roms
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit

[GUIDE] Mac Root (tested)

This guide is for the select few that need to root their Samsung Galaxy S4 via Mac.
This guide only shows how to swap kernels in order for you to run motochopper then swap back to stock kernel.
Please keep in mind this is technical and involves using manual commands for heimdall in terminal.
If you have anything to add or have any questions, don't hesitate to ask.
I have tested this method using Heimdall on my Windows 7 machine.
I do not own a Mac to fully test this.
I am not an expert nor do I portray myself to be one.
I am not responsible to any problems from this method including bricking any devices, loss of data, or other issues that may arise with your device or computer. (Just to cover my behind.)
Things you need:
1. Heimdall
2. prerelease kernel boot.img (MD5: cd49d9c337d624abec5f6f1229e1abf6)
3. stock kernel boot.img (MD5: 3c776b87c2c1390787189e60d311c769)
4. Motochopper Root Exploit Tool
5. Drivers can be installed by installing Kies
First install Heimdall.
And make sure you have the drivers installed.
Make sure you have the prerelease kernel boot.img (MD5: cd49d9c337d624abec5f6f1229e1abf6) in an easy place to find and make sure you keep it seperate from the stock kernel boot.img (MD5: 3c776b87c2c1390787189e60d311c769).
If you have Kies installed, uninstall it.
Then open the heimdall-frontend application that was installed with heimdall.
Use the heimdall-frontend app to detect the device by going to Utilites > Detect.
Next open a terminal type
Code:
sudo heimdall flash --BOOT <full path to prerelease kernel>
Enter your password.
The prerelease kernel will be flashed and your device will reboot.
Go to Settings > More > About phone
and check to make sure your kernel version is 423399.
Then go into Settings > More > About phone > tap "Build number" about 7 times until it unlocks Developer options
Verify in Developer options setting on your device that you have "USB debugging" checked.
Verify in Developer options setting on your device that you have "Verify apps via USB" unchecked.
Verify in Security setting on your device that you have "Unknown sources" checked.
Verify in Security setting on your device that you have "Verify apps" unchecked.
Extract the motochopper.zip file.
Open terminal, navigate to the motochopper folder and type
Code:
sudo chmod +x run.sh
Then type
Code:
sudo ./run.sh
Follow the on screen prompts.
After you are rooted, make sure you update the su binaries.
Otherwise you will lose root later on.
Next boot your phone into download mode in order to put the stock kernel back.
Open the heimdall-frontend application and detect your device once again. (Utilities > Detect)
Next open a terminal and type
Code:
sudo heimdall flash --BOOT <full path to stock kernel>
Then go to Settings > More > About phone
and make sure the stock 562219 kernel is installed.
Credits go to djrbliss, chainsdd, Samsung, creators of Heimdall, and if I missed anybody please let me know and I will add them to it.
Thanks to Doppletronica for confirming the method.
If you found this guide helpful please hit the thanks button
EDIT: If this thread now belongs somewhere else due to its nature, please move it mods.
Also anybody is free to share this guide, just link them to this thread and please give credit where credit is due.
Thanks.
klabit87 said:
Is there anybody willing to test a root method running a Mac?
I may have found a way but I don't have any way to test it myself otherwise I would.
If interested please pm me.
Sent from my Verizon Galaxy S4 using Tapatalk 2.
Click to expand...
Click to collapse
does it have an unroot? i'd be willing to try it out. if so
theidoctor said:
does it have an unroot? i'd be willing to try it out. if so
Click to expand...
Click to collapse
I'm not too sure about an unroot method.
I'm sure if I looked at it hard enough I could come up with something.
Are you looking for an unroot method via Mac?
Sent from my Verizon Galaxy S4 using Tapatalk 2.
klabit87 said:
I'm not too sure about an unroot method.
I'm sure if I looked at it hard enough I could come up with something.
Are you looking for an unroot method via Mac?
Sent from my Verizon Galaxy S4 using Tapatalk 2.
Click to expand...
Click to collapse
yea. i mean, just for testings sake. i dont want to have to go through the whole unroot just to test a root method drama.
i could unroot on my VM and try your root, but what are the possible effects to it going down? does it work with you?
theidoctor said:
yea. i mean, just for testings sake. i dont want to have to go through the whole unroot just to test a root method drama.
i could unroot on my VM and try your root, but what are the possible effects to it going down? does it work with you?
Click to expand...
Click to collapse
Pm sent.
Sent from my Verizon Galaxy S4 using Tapatalk 2.
Update:
I tried making an unroot method.
That completely failed.
So I had to use Odin to get running again.
I did however get a chance to test the root method for Mac users.
It worked with no problems for me.
I may continue working on the unroot method but that depends on my own free time.
If anyone is interested in assisting with it that would be great.
Sent from my Verizon Galaxy S4 using Tapatalk 2.
klabit87 said:
Update:
I tried making an unroot method.
That completely failed.
So I had to use Odin to get running again.
I did however get a chance to test the root method for Mac users.
It worked with no problems for me.
I may continue working on the unroot method but that depends on my own free time.
If anyone is interested in assisting with it that would be great.
Sent from my Verizon Galaxy S4 using Tapatalk 2.
Click to expand...
Click to collapse
pm me instructions and i will try it out tonight. i dont mind being a flashaholic tonight
theidoctor said:
pm me instructions and i will try it out tonight. i dont mind being a flashaholic tonight
Click to expand...
Click to collapse
I will finish my write-up and get it to you as soon as I can.
I'm not around a computer at work so it may be later this evening possibly.
Sent from my Verizon Galaxy S4 using Tapatalk 2.
theidoctor said:
pm me instructions and i will try it out tonight. i dont mind being a flashaholic tonight
Click to expand...
Click to collapse
Pm has been sent. Let me know if you have any questions or concerns.
Sent from my Verizon Galaxy S4 using Tapatalk 2.
You can unroot it the same way you root. Use Heimdall.
DarkMenace said:
You can unroot it the same way you root. Use Heimdall.
Click to expand...
Click to collapse
Thanks. I knew I was making it harder than it was supposed to be.
I was really only interested in the root guide since a good few people were asking about it.
Sent from my Verizon Galaxy S4 using Tapatalk 2.
I was wondering if someone can help me. I keep getting this error message:
patxp:desktop ArmandoOrona$ sudo heimdall detect
Password:
Device detected
patxp:desktop ArmandoOrona$ sudo heimdall flash --BOOT boot.img
Heimdall v1.4.0
Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Claiming interface...
libusbx: error [darwin_claim_interface] USBInterfaceOpen: another process has device opened for exclusive access
ERROR: Claiming interface failed!
patxp:desktop ArmandoOrona$
I uninstalled kies and android file transfer and restarted mac. Any help would be greatly appreciated.
Has anyone else tested this? Just curious.
anothamexican said:
I was wondering if someone can help me. I keep getting this error message:
Initialising connection...
Detecting device...
Claiming interface...
libusbx: error [darwin_claim_interface] USBInterfaceOpen: another process has device opened for exclusive access
ERROR: Claiming interface failed!
patxp:desktop ArmandoOrona$
I uninstalled kies and android file transfer and restarted mac. Any help would be greatly appreciated.
Click to expand...
Click to collapse
I got this same error. What I did was uninstall kies and then open the heimdall-frontend app that was installed with heimdall, and use it to detect the phone. (In Utilities->Detect) From there I could run the command line part successfully. Worked for me.
Doppletronica said:
I got this same error. What I did was uninstall kies and then open the heimdall-frontend app that was installed with heimdall, and use it to detect the phone. (In Utilities->Detect) From there I could run the command line part successfully. Worked for me.
Click to expand...
Click to collapse
So just to clarify, are you saying the whole process worked for you?
Whereas you successfully rooted your phone?
Sent from my Verizon Galaxy S4 using Tapatalk 2.
klabit87 said:
So just to clarify, are you saying the whole process worked for you?
Whereas you successfully rooted your phone?
Sent from my Verizon Galaxy S4 using Tapatalk 2.
Click to expand...
Click to collapse
Yep. Once I got the kernel to flash okay, The rooting process worked flawlessly.
Doppletronica said:
Yep. Once I got the kernel to flash okay, The rooting process worked flawlessly.
Click to expand...
Click to collapse
Great! Thanks for your confirmation.
Sent from my Verizon Galaxy S4 using Tapatalk 2.
Man.....I wish I saw this yesterday. I spent 2 hours getting my old imac up and running with bootcamp to install windows.....another hour looking for my old XP disc to actually install it on the iMac, another half hour to install XP, then a good 45 minutes or so trying and failing to gett all the samsung drivers to wok (too several installs and unistalls til it finally worked). After all that, I downloaded the all in one root kit and install recovery as well.
Doppletronica said:
I got this same error. What I did was uninstall kies and then open the heimdall-frontend app that was installed with heimdall, and use it to detect the phone. (In Utilities->Detect) From there I could run the command line part successfully. Worked for me.
Click to expand...
Click to collapse
I got heimdall frontend to detect the device, where do I type in the commands? Under which tab?
anothamexican said:
I got heimdall frontend to detect the device, where do I type in the commands? Under which tab?
Click to expand...
Click to collapse
The guide has been updated.
You need to continue the process in terminal.
Sent from my Verizon Galaxy S4 using Tapatalk 2.

[Q] Upgrade to CM10.1...strange adb issue

I have this old Galaxy SGH-T959, which I'd like to get on CM10.1. I started out with a phone facory reset (it's on 2.2) and then followed the instructions on the CM site: First I pushed CWMR using Heimdall, which worked ok (I can get into CWM recvovery), but after that the phone seems to be soft-bricked (hangs after the splash screen when doing a regular rebooot). No big deal I thought, since I just need to get a ROM on there. I went through some troubles with installing USB drivers (eventually, I installed Kies and the drivers that came with it made it show up properly in the device manager). Now I just wanted to push my ROM zip via adb. So "adb devices" (after adb kill-server, adb start-server) shows the phone as 'T959xxxxx recovery'. So far so good. But now when I issue a push command (or any other adb command like shell or remount), there is just a blinking cursor and nothing else happens. Any idea wha's the problem?
pipetman said:
I have this old Galaxy SGH-T959, which I'd like to get on CM10.1. I started out with a phone facory reset (it's on 2.2) and then followed the instructions on the CM site: First I pushed CWMR using Heimdall, which worked ok (I can get into CWM recvovery), but after that the phone seems to be soft-bricked (hangs after the splash screen when doing a regular rebooot). No big deal I thought, since I just need to get a ROM on there. I went through some troubles with installing USB drivers (eventually, I installed Kies and the drivers that came with it made it show up properly in the device manager). Now I just wanted to push my ROM zip via adb. So "adb devices" (after adb kill-server, adb start-server) shows the phone as 'T959xxxxx recovery'. So far so good. But now when I issue a push command (or any other adb command like shell or remount), there is just a blinking cursor and nothing else happens. Any idea wha's the problem?
Click to expand...
Click to collapse
try a pc they are a lot easier to work with with android.
If you are on a pc then try odin... I usually understood heimdall as a mac alternative to odin or just an alternative to odin, odin is made directly by samsung so its gotta be quality stuff. vibrants do have bad ports too, i have two of them and both wont connect to the computer anymore and one doesn't even charge so try putting the rom on an external microsd card and throwing it in it then flash that through recovery, but if you are going to jelly bean usually you install cm7 first then cm10.1... not sure what guide you are using, a link would be nice, maybe a problem could be found there. theres a thread about the whole cm7 read post 2 here http://forum.xda-developers.com/showthread.php?p=43706442#post43706442 haha thats me i had a similar problem
Thanks for the reply.
I am on a PC. The guide I was working off is here: [apparently as a newbie I'm not allowed to post links]
I tried ODIN to push the ROM, but ODIN accepts only tar files etc. and not the CM zip files (at least I didn't find any CM tar's). I also tried putting the ROM on the external sd card, but that was non-starter as well. CWMR would not find the external SD and any attempt to mount it failed.
Find tar versions. I'm not sure how to convert it but if you can't find one just ask and I'm sure somebody with some spare time will put one together for ya
Sent from my SPH-L300 using xda app-developers app
blu422 said:
Find tar versions. I'm not sure how to convert it but if you can't find one just ask and I'm sure somebody with some spare time will put one together for ya
Sent from my SPH-L300 using xda app-developers app
Click to expand...
Click to collapse
I found a tar for android 2.3 and managed to flash it via ODIN and get the phone back up and running (2.3 will do, since I need it only for one particular app to run and that required 2.3). Thanks for the help!
pipetman said:
I found a tar for android 2.3 and managed to flash it via ODIN and get the phone back up and running (2.3 will do, since I need it only for one particular app to run and that required 2.3). Thanks for the help!
Click to expand...
Click to collapse
Pipetman, I have the same exact issue now. Can you provide a link to the tar file and to ODIN. I am new to all this stuff.
Thank you

Categories

Resources