[GUIDE] ROOT T-Mobile S2 in Linux (SGH-T989 Hercules) - T-Mobile Samsung Galaxy S II SGH-T989

This guide will teach you how to root your S2 Hercules in Linux. Please backup all important data before proceeding. This shouldn't wipe anything, but there is always the risk that something could wrong!
DISCLAIMER: Neither I nor anyone else is responsible if you mess up/brick your phone while doing this. This has been tested multiple times (by me) and was successful each time! THIS WILL VOID YOUR WARRANTY! If your cat or pet squirrel gets hurt or dies 'cause your phone blows up, don't come crying to me!! (A vet might be able to help, though)
Prerequisites: Phone charged 80% or higher; Samsung Micro-USB to USB cable; admin account on Linux computer; a brain :good:
Note: These instructions were tested on a Debian-based Linux distro. Please adapt as necessary.
1. Download Heimdall and Heimdall Frontend and install them on your computer.
2. Download 'Files to Root SGH-T989 Hercules.zip', SuperSU.zip, and TWRP (download the latest with .img file type) and save them to an easy-to-find directory on your computer.
3. Extract 'Files to Root SGH-T989 Hercules.zip' and copy the two **-android.rules files to /etc/udev/rules.d and set as executable. Reboot the computer.
4. Enable USB Debugging on your phone and reboot into 'Download Mode.' (To boot into 'Download Mode,' power off your phone, plug it into your computer, and hold in power and both volume buttons at the same time.)
5. Open Heimdall Frontend as root. (On Debian-based distros, run sudo heimdall-frontend in terminal.) Go to the 'Utilities' tab and click 'Detect Device.' It should say "Device Detected."
6. Go to the 'Flash' tab. In the box for pit file, put in the Hercules.pit (from the 'Files to Root SGH-T989 Hercules.zip' file.) DO NOT check repartition.
7. Under the 'Partitions (Files)' section, click 'ADD.' In the dropdown to the left, select recovery. Click browse and select the TWRP img file that you downloaded earlier.
8. Click 'Start.' Your phone will reboot automatically when it is finished. You should now unplug your phone from the computer.
9. Transfer the SuperSU*.zip to your phone. It may be easier to download it to your phone than it will be to transfer the file. Make sure you can open the zip file and that it is not corrupted.
10. Boot into recovery mode. (Do this by powering off the phone and holding in Power and the two volume buttons with it UNPLUGGED. After it vibrates twice. release the power button but keep holding in the volume buttons until you see the TeamWin screen.)
11. Click 'Install' in TWRP. Select the SuperSU file and swipe to install. Once it has finished installing, click 'Wipe Cache/Dalvik.' Click back and then reboot.
Congratulations! Your phone should now be rooted. The first boot after rooting can take longer than normal. You should see an "Android is Upgrading..." screen after it boots. Test to make sure it is rooted by either downloading the root checker app or using another app that requires root.
If I left anything out in this tutorial or you need help with something, please feel free to let me know!
Credits in next post. Hit the THANKS button if this was useful. :good:

Credits:
Glass Echidna & @Benjamin Dobell (Heimdall)
TeamWin (TWRP Recovery)
@Chainfire (SuperSU)
@jrc2 [me] (All files in 'Files to Root SGH-T989 Hercules.zip')

Reserved.

Related

[Root]ATT SGS3 Tested working! Reset flash counter! Simple

First off, let me say that I did not develop this stuff and all thanks should go to those that did. Special thanks to noobnl, mskip and TeamEpic for all their work.
So here we go.
General Disclaimer:
Use these tools and this guide at your own risk. Doing these things wrong/improperly/etc. has the ability to completely ruin your device and YOU assume all risk and responsibility if that happens.
Also note that Rooting WILL violate the manufacturers warranty on the device making it ineligible for warranty repair. If you have insurance on the device however they MAY still replace it for the cost of your deductible.
Root Method Starts Here.
1. Download and install the Samsung USB drivers from Samsung's website
2. Turn on Debugging on your Phone
* Open Settings
* Select "Developer options" in the System section
* Check the box for "USB Debugging"
3. Plug you phone up to your computer using the USB cable and allow the drivers to install.
4. Download CMW_SuperUser_v3.07.zip from the bottom of this post
* I recommend making yourself a nice little GS3 folder in your downloads folder for all this stuff so it's easy to find
* DO NOT UNZIP!!
5. Copy CMW_SuperUser_v3.07.zip on to the Root of your GS3s INTERNAL storage (if you put it into a folder, you may have a hard time finding it later, but that's on you).
* DO NOT UNZIP!!
6. Unplug you phone
7. Power off your phone
^^ once u have now odin time......
1. Download Odin3-v3.04 from the bottom of this post
2. Extract Odin3-v3.04 into it's own folder somewhere where you can easily find it.
3. Download fixboot.tar from the bottom of this post to somewhere you can easily find it.
4. Reboot your phone into download mode
* Hold down Volume Down, Home and then power until Warning!! message is displayed
* Press Volume Up to continue.
5. Your phone should now be in download mode and displaying a green Android and say Downloading. If it is not, power off your phone by holding down the power button and then try to get into Download mode again. Do NOT progress until you have done so.
6. Go into the folder you extracted Odin3 into and run Odin3 v3.04.exe
7. Connect your phone to your computer via USB
8. In Odin, the COM box all the way to the left should turn blue and it should say Added!! in the Message area.
** Click on PDA and in the Open window that pops up navigate to and open the Tar With CWM from below file you downloaded earlier
** Verify that Auto Reboot and F. Reset Time are checked
** Click Start. Once the process is completed you device should automatically reboot and there will be a green PASS! box in the upper left of the window. You can then close Odin.
** Power off your device and boot into Recovery mode
* To boot into Recovery mode: Hold down Volume Up, Home and then the Power button until you are in Recovery (it should say CWM-based Recovery at the top of the screen)
**. Install CMW_SuperUser_v3.07.zip that you copied onto your internal memory
* Navigating ClockWorkMod Recovery: Use the Volume Up and Down arrow keys to change the highlighted option and the home key to select an option. The Back softkey works, but will not be lit and will take you back one screen.
Installing a zip:
* Select "Install zip from sdcard" (Yes, I know it's on the internal storage.)
* Select "Choose zip from sdcard"
* Select the zip you want to install; in this case CWM_SuperUser_v3.0.7.zip
* Select "Yes" to begin installing
**. Once the process has completed use the Back arrow to get back to the main recovery screen (remember, it works, but it's not lit) and select "reboot system now." Once your device boots up you should now be 'Rooted,' but there's still a few more things to be done
Reset counter: triangle away from playstore and reset the counter.
15. Install BusyBox. There are actually several ways to do this, but the BusyBox app in the Google Play Market is quick and easy. Install it, grant it SuperUser permissions and it'll walk you through the rest and advise you when to update.
16. Update your Binaries.
* Open the Superuser app
* Get into settings (the wrench icon in the upper right of the screen)
* Select Su binary under the General section towards the bottom of the list
* Select Update
**.Your device is now rooted and all set.
** optional: update cwm using rom manager or use img from clockworkmods website. Flash through adb.
Links:
First make sure you read all of the above:
Triangle away:
http://forum.xda-developers.com/showthread.php?t=1494114
New Odin Tar with Stock Kernel: http://www.mediafire.com/?d1t0av7u1e6d3xx
Odin Tar with CWM: http://forum.xda-developers.com/attachment.php?attachmentid=1148060&d=1340384923\
CWM Su fix (flash this in CWM after): http://www.mediafire.com/?0e86q6rexr7g8g4
after that
Hit thanks on Everyone mentioned in this post including myself
Special thanks:
noobnl, mskip and TeamEpic For root CWM
FennyFatal for stock Kernel
Me for Tar and Method testing
IRC for testers
TheSoberRussian for letting me pull his boot.img
^^ hit thanks on everyone here or ill eat u.
Now time to wait for ROMS!
This needs to be sticky
TheSoberRussian said:
Now time to wait for ROMS!
Click to expand...
Click to collapse
mine will go up as soon as i get the device xD
no more blind deving
Here's Odin again....
Yay. I'll give this a go (via Heimdall in Linux) as soon as I get my phone. In the meantime... I'll let you other guinea pigs below this post test it out.
Ohhh how I love root. Let me count theee ways: ClockWorkMod recovery (and nandroid backups), ROMs, TitaniumBackup, AdAway (/system/etc/hosts), adb over wireless, free wifi tethering, permanent debloating, kernel overclocking, CIFS (windoze) network shares, poking around /data/data in a root adb shell, yadda yadda...
Nice. I got my gs3 today
I'm going to wait a week before I do any rooting. Just to feel the phone out
sent from my GALAXY SIII
Process not working for me! I finished the ODIN flashing OK as usual but when going to recovery I end up in stock 3e recovery and not CWM!
Even tried adb reboot recovery and ended in stock 3e recovery too!
Can you check if you uploaded the correct boot.img?
Sweet ty
Sent from my Xoom using xda premium
Great job, can't want to see more from the dev's. Now to add to my reference thread. b:
From the TMO forum:
qbking77 said:
Here's a how to video for everyone!
http://www.youtube.com/watch?v=7Soapch0c5U
Click to expand...
Click to collapse
Original thread:
http://forum.xda-developers.com/showthread.php?t=1726725
mp2ning said:
Process not working for me! I finished the ODIN flashing OK as usual but when going to recovery I end up in stock 3e recovery and not CWM!
Even tried adb reboot recovery and ended in stock 3e recovery too!
Can you check if you uploaded the correct boot.img?
Click to expand...
Click to collapse
Same cant get into CWM recovery
ghost77 said:
Same cant get into CWM recovery
Click to expand...
Click to collapse
The T-Mobile and Sprint root guides root by installing a new recovery.img and this one installs a boot.img.....
No worries here as phone works correctly although the flash counter changed to custom and indicates the 3 times I flashed with ODIN!
Remember, this time its UP VOLUME home and power
duckfart said:
Remember, this time its UP VOLUME home and power
Click to expand...
Click to collapse
I am used to flashing my Samsung phones almost weekly! In fact I also own an International GS3 and I know how to enter recovery; problem is I reach the stock recovery and not CWM recovery!
+1 not working, 3e instead of CWM.
mp2ning said:
Process not working for me! I finished the ODIN flashing OK as usual but when going to recovery I end up in stock 3e recovery and not CWM!
Even tried adb reboot recovery and ended in stock 3e recovery too!
Can you check if you uploaded the correct boot.img?
Click to expand...
Click to collapse
Same here, still booting me into 3e recovery.
Got inpatient and did Sprint root method , and now have root
ghost77 said:
Got inpatient and did Sprint root method , and now have root
Click to expand...
Click to collapse
I figured all variants of US GS3 could have the same recovery but I am not about to try and soft brick it!
I just went to the spring thread and downloaded the clockworkmod.tar file and followed the instructions in THIS thread but instead of flashing the fixboot.tar i did the clockworkmod.tar from the other thread. Now have working root.
my bad man i thought it would have CWM ill fix now

Rooted. Now have no access to the google play store. Someone please help!

NEWBEE here with a big problem (I bet everyone loves hearing that:cyclops
So I rooted my device using the instructions listed below. I get to the point where I am suppose to install busy box and I am unable to access the google play store (it says server error) I have also tried downloading it through the web browser. It says that it is downloaded but cannot find it in the downloads folder or in my applications.
I have also tried installing the rom. I get the following: installing update.. assert failed: getprop ("ro.product.device") == "d2att" I ! getprop ("ro.build.product.device") == "d2att" E: error in /sdcard/cm-10-20120829-NIGHTLY - d2aa.zip
(status 7)
Installation aborted
I have also tried other roms but have had no luck. This problem has been driving me mad. ANY ADVICE QOULD BE GREATLY APPRECIATED!
THANK YOU ALL!
First off, let me say that I did not develop this stuff and all thanks should go to those that did. Special thanks to noobnl, mskip and TeamEpic for all their work.
They made this for Sprint version and i compiled it into a bootimg with out kernel to flash in odin... Why did i do this? simple.. if u bricked flashing another kernel from a different Device (i9300) this will fix it.
So here we go.
This is first to Restore to Stock Kernel For root See below.
General Disclaimer:
Use these tools and this guide at your own risk. Doing these things wrong/improperly/etc. has the ability to completely ruin your device and YOU assume all risk and responsibility if that happens.
Also note that Rooting WILL violate the manufacturers warranty on the device making it ineligible for warranty repair. If you have insurance on the device however they MAY still replace it for the cost of your deductible.
1. Download and install the Samsung USB drivers from Samsung's website
2. Turn on Debugging on your Phone
* Open Settings
* Select "Developer options" in the System section
* Check the box for "USB Debugging"
3. Plug you phone up to your computer using the USB cable and allow the drivers to install.
4. Download CMW_SuperUser_v3.07.zip from the bottom of this post
* I recommend making yourself a nice little GS3 folder in your downloads folder for all this stuff so it's easy to find
* DO NOT UNZIP!!
5. Copy CMW_SuperUser_v3.07.zip on to the Root of your GS3s INTERNAL storage (if you put it into a folder, you may have a hard time finding it later, but that's on you).
* DO NOT UNZIP!!
6. Unplug you phone
7. Power off your phone
^^ once u have now odin time......
1. Download Odin3-v3.04 from the bottom of this post
2. Extract Odin3-v3.04 into it's own folder somewhere where you can easily find it.
3. Download fixboot.tar from the bottom of this post to somewhere you can easily find it.
4. Reboot your phone into download mode
* Hold down Volume Down, Home and then power until Warning!! message is displayed
* Press Volume Up to continue.
5. Your phone should now be in download mode and displaying a green Android and say Downloading. If it is not, power off your phone by holding down the power button and then try to get into Download mode again. Do NOT progress until you have done so.
6. Go into the folder you extracted Odin3 into and run Odin3 v3.04.exe
7. Connect your phone to your computer via USB
8. In Odin, the COM box all the way to the left should turn blue and it should say Added!! in the Message area.
9. Click on PDA and in the Open window that pops up navigate to and open the fixboot.tar file you downloaded earlier
10. Verify that Auto Reboot and F. Reset Time are checked
11. Click Start. Once the process is completed you device should automatically reboot and there will be a green PASS! box in the upper left of the window. You can then close Odin.
** now u have Stock Kernel Now flash Recovery img from here http://forum.xda-developers.com/atta...0&d=1340384923
Root Method Starts Here.
** Get Odin like mentioned Above
** Make Sure you have all Samsung Drivers installed.
** Reboot your phone into download mode
* Hold down Volume Down, Home and then power until Warning!! message is displayed
* Press Volume Up to continue.
** Your phone should now be in download mode and displaying a green Android and say Downloading. If it is not, power off your phone by holding down the power button and then try to get into Download mode again. Do NOT progress until you have done so.
** Go into the folder you extracted Odin3 into and run Odin3 v3.04.exe
** Connect your phone to your computer via USB
** In Odin, the COM box all the way to the left should turn blue and it should say Added!! in the Message area.
** Click on PDA and in the Open window that pops up navigate to and open the Tar With CWM from below file you downloaded earlier
** Verify that Auto Reboot and F. Reset Time are checked
** Click Start. Once the process is completed you device should automatically reboot and there will be a green PASS! box in the upper left of the window. You can then close Odin.
** Power off your device and boot into Recovery mode
* To boot into Recovery mode: Hold down Volume Up, Home and then the Power button until you are in Recovery (it should say CWM-based Recovery at the top of the screen)
**. Install CMW_SuperUser_v3.07.zip that you copied onto your internal memory
* Navigating ClockWorkMod Recovery: Use the Volume Up and Down arrow keys to change the highlighted option and the home key to select an option. The Back softkey works, but will not be lit and will take you back one screen.
Installing a zip:
* Select "Install zip from sdcard" (Yes, I know it's on the internal storage.)
* Select "Choose zip from sdcard"
* Select the zip you want to install; in this case CWM_SuperUser_v3.0.7.zip
* Select "Yes" to begin installing
**. Once the process has completed use the Back arrow to get back to the main recovery screen (remember, it works, but it's not lit) and select "reboot system now." Once your device boots up you should now be 'Rooted,' but there's still a few more things to be done
15. Install BusyBox. There are actually several ways to do this, but the BusyBox app in the Google Play Market is quick and easy. Install it, grant it SuperUser permissions and it'll walk you through the rest and advise you when to update.
I would advise you to find the stock firmware for your device, put your device in download mode and flash stock via odin. Then factory reset so you are back to default Samsung and see if the Play Store works and if it does use the toolkit by mskip to root, install busybox and CWM.
try googling around?
http://forum.xda-developers.com/showthread.php?t=1562231
http://www.google.ca/search?client=...rceid=opera&ie=utf-8&oe=utf-8&channel=suggest
seems you weren't the only one to experience this issue. hopefully one of those links will work for you
Clear caches on playstore and google framwork then reboot
Sent from my SAMSUNG-SGH-I747 using xda premium

[Q] Need some help on flashing rom.

O.k my wife got an AT&T Samsung Galaxy S3 when they first came out I bought it for her and it has this rom build on it l747UCALG1 and mine which I just bought about three days ago have this build on it l747UCALH9. Her build I was able to root if need be but my phone I can't and I am already on 2 count of the custom binary and I can't reset it since some how I can't root the phone the developers are seeing all of this stuff that we are doing to the phones and I believe they are trying to stop us. But anyway can some one tell me since I have a copy of her stock Firmware how can I just flash my phone or what have you with her stock firmware which is l747UCALG1 so I can root my phone. Also if you don't mind please leave me a clear step-by-step way to do it and if it works without doing any damage at all to my phone, and if I want to later go back to the stock that is on my phone now I can but I don't think I will unless I have to send or take it in ever for warranty repair or just sale it. If this works right leave me your e-mail or if you have a paypal account give me that address or what have you and I will send you a donation.. (Thanks)
Sincerely,
System Network Admin
http://forum.xda-developers.com/showthread.php?t=1739426
OR
http://forum.xda-developers.com/showthread.php?t=1746665
How to Revert to Old Firmware & Root Newest Release -
Hello and welcome to XDA.
I understand your concern to root your device especially with it being on the latest firmware, but I will do my best in order to explain every step to you in the utmost detail. I am currently on I747UCLH9 with a Custom ROM. Meaning I kept the Modem & Bootloader and kicked the Kernel and Firmware. Before I begin, I would like to ask you to thank to all the Developers / Posters who made & put this content together as this would not be possible without them. I will link all of their original posts at the end of this. Be sure to give credit to every one of them and please make sure to give thanks to them. I take absolutely NO CREDIT for any of these links/steps whatsoever. I simply researched and compiled them in order to help you. With that being said, let us begin.
Before anything you must remember this. After you are finished downloading whatever items you need, you MUST (and I cannot stress this enough) FACTORY RESET YOUR DEVICE. Reason being is because a lot of other people have tried this same process of downgrading without wiping and ended up getting startup boot errors. Be sure to NOT sign into your Google account. This is just a warning, follow the steps below to know when you should begin this process.
All files you download should be saved on your desktop. Personally I prefer to make a separate folder for these kind of delicate things. Keeps it organized so you don't forget where you are.
Make sure your phone IS NOT plugged in to your computer as of right now & you have NO external SD card.
Now;
Let's begin.
Before you start be sure you have the Samsung USB drivers installed. Which you can get from Samsung's website or here.
Samsung USB Drivers
Also be sure that you have WinRAR installed as well which you can get right here.
WinRAR
To be on the VERY SAFE side you must download ADB (Android SDK). What you must do is when it asks you for where you would like to install it, you MUST ONLY CLICK "Local Disk C:" . AND THATS IT. The best thing is to keep it here so when you have to execute a command line, it will be very simple. You will have a folder called "android" here. THAT IS YOUR ADB FOLDER. You will understand what I mean shortly. *Note* this is for CWM-T (ClockworkMod Touch).
Android SDK
1. Download the stock rooted LG1 Firmware. I747UCLG1 Stock + Root Only.
2. Right-Click the LG1 Firmware you just downloaded and extract it. It is currently root69.stock_ATT_I747UCALG1.7z ; the extraction process will turn it into the correct .tar file (Flashable file type with Odin)
3. Now that you have the Stock ROM, you need..well ODIN! Here's the link. Odin 3.07.
4. Since it is in .zip format you need to extract this as well. You will end up with 4 files. Right-Click on the Odin3 v3.07.exe and run it as administrator. Now you are at the Odin screen with nothing there -_-".
5. Factory reset your phone. Just let it boot up but DO NOT sign into your Google account, just click through skip everything head straight to your Settings, then Developer Options & make sure USB Debugging is enabled/checked. Back out of your settings completely and you are at the home screen.
6. Now, just hit the power button and turn your device off. After it is completely turned off hold the Volume Down + Home button. While holding these 2. Press and hold the Power button. You should now be holding all three buttons at the same time waiting for a green lettered screen to come on (Download Mode). Use the phone keys to select the option to continue. Your phone will now say Downloading, do not turn off device. (Or along those lines).
7. After selecting the option that sends your phone to the screen with the text "Downloading, Do not turn off device." You should be holding your phone in hand with USB plugged into your computer but your device is not connected. Odin is open on your computer screen with nothing still. From here just plug your phone in and you will see a pop-up in the first box of many under the Odin logo which says "COM: #".(#: Being a select number of your device. This is of no importance, as long as you see this pop up.) Once you see this your phone will be ready to be flashed back. Just click the PDA button and browse to the root69.stock_ATT_I747UCALG1.tar file. (Be sure you click the .tar and not the .zip.)
8. Check to make sure no other boxes should be checked except for Auto-Reboot.
9. Press Start and wait for the process to finish.
10. Everything should go through fine and your phone will start back up and you will be on LG1. You are now on stock firmware BUT rooted. Unplug your phone, Skip past everything once again and make sure USB Debugging is enabled. Keep your phone unplugged & don't forget to close ODIN.
Now before you do anything. You need a Custom Recovery AKA CWM. Well in this case we will be installing the latest touch version.
11. Download the latest ClockworkMod Touch from here. This link is saved in a way specifically from their website. You can either go to www.clockworkmod.com and browse the ROM Manager tab for the 6.0.1.4 Recovery. OR you can just right click the link provided right here and press "Save As..." this file will come up and asked to be saved as recovery-clockwork-touch-6.0.1.4-d2att.img. RENAME IT AS "recovery.img" without the quotes & save it.
ClockworkMod Touch 6.0.1.4
12. Now that you have this file. Plug in your phone to your computer and in the root folder of your phone storage and copy the recovery.img file to it; which is the first folder that pops up when you press open when you plug your phone in. (Remember no SD CARDS!)
13. Now, click the Start button on your taskbar and in the search bar type cmd. Now you will see cmd.exe; press enter and you will see the Command Prompt open. If you saved the Android SDK the way I told you to, you can copy and paste the line below. If you saved it somewhere else you can change the folder simply by browsing to the android folder. Make sure you click on the "platform-tools" folder. NOT the "platform" folder. Also whichever directory it is you must add a "\" at the end so it will find the location correctly.
cd C:\android\platform-tools\
14. Now you are in the directory time to run ADB Shell and flash that recovery! Copy and paste or type the following; I recommend you copy and paste the last line as it gets tricky. After the SU command your phone will be detected.
First you type adb shell
following that su
and finally dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p18
As you can see in the last command it is named recovery.img there are no special characters or numbers or symbols to mess with the flashing. After you run this command you will an output similar to the following.
14004+0 records in
14004+0 records out
7170048 bytes transferred in 1.430 secs (5014019 bytes/sec)
Finish up this step with the following command
reboot recovery
15. Your device will now restart and head straight into recovery. Congrats you now have LG1 Stock + Root with CWM-T. Unplug the USB and press "Reboot System".
TO UPGRADE BACK TO LH9 WITH ROOT AND CWM-T
Before I begin.
You must remember that this step REQUIRES you download 4 files to go on the root of your phone memory. Your phone should now be on the home screen. Plug it in and open your phone memory. With that being said you need the following files. The Rom, Modem, Bootloader, and Kernel. You will be flashing them in this following order as well.
16. Download the following pieces and save them to the root of your phone's memory. Be sure to remember which file has what name so when you enter the recovery you aren't lost as to which to flash first.
I747UCLH9 ROM Download
I747UCLH9 Modem Download
I747UCLH9 Bootloader Download
I747UCLH9 Kernel Download
17. After everything has finished transferring, remove the phone from the computer and turn your phone. Remember how you got into download mode? Well instead of holding Volume Down + Home, you hold Volume Up + Home. While holding these two press and hold your power button until you see it says Samsung Galaxy S III. If you look at the top left hand of the screen while it's JUST turning on. You will see some blue text flash. When you see that you know your entering the recovery and can release the buttons.
18. You are back at the recovery. You must now do the following. Touch the options as I list them. Follow these steps precisely.
- Wipe Data/Factory Reset
- Yes -- Delete all user data
- Wipe Cache
- Yes - Wipe Cache
- Advanced
- Wipe Dalvik Cache
+++++Go Back+++++
- Install Zip from SD Card
- Choose zip from SD Card
Now choose them in the following order, ROM, Modem, Bootloader, and finally Kernel.
WAIIIITTTTTTTT! After you are finished flashing the Kernel you MUST do the following. Click options as I state them.
- Wipe Cache
- Yes - Wipe Cache
- Advanced
- Wipe Dalvik Cache
- Advanced
- Fix Permissions
+++++Go Back+++++
Reboot System
19. Wait for your phone to reboot and NOW you can sign into your Google account. Go past everything go into your App drawer first and check for Superuser/SuperSU once you see that, go into your settings and check your ROM, Modem, Bootloader, Kernel. Yes. They are bone stock with root. Congrats you achieved maximum upgrade with root.
Now I would like to give my shout-outs; Thanks; and share the following posts that helped me compile this. I couldn't have done it without you guys.
neverends - Samsung Drivers & Odin provided. Steps to flash with Odin as well.http://forum.xda-developers.com/showthread.php?t=1722686
mrRobinson - I747UCLG1 Stock root injected file. Location of Odin, and commands to execute ADB shell to flash recovery.
http://forum.xda-developers.com/showthread.php?t=1739426
drothenberger - Provided CWM Flashable version of I747UCLH9. Blessing, really. Stock root with latest FULL update without having to revert back to LG1 stock.
http://forum.xda-developers.com/showthread.php?t=1896773
ALSO
Thanks to you all above; the CWM Team, CM10/AOKP Team, Moderators & Posters alike. None of this would have been possible without you. Keep up the good work. Bless -
jaysoblitzed said:
Hello and welcome to XDA.-
Click to expand...
Click to collapse
You made an awesome guide!! Hope he made a generous donation. Thanks!!
werked said:
You made an awesome guide!! Hope he made a generous donation. Thanks!!
Click to expand...
Click to collapse
Thank you, I really appreciate that. I don't accept donations I simply did it to help those who wanted/needed it
Sent from my T&K Blessed SGH-I747
I do not see the 4 download links for the ROM, Modem, Bootloader and Kernel. Can you post them.
I will fix the links but if you simply look at the people / threads I have given credit to at the bottom of my guide you will see drothenberger's thread. He has the original links there. Mind you, you MUST scroll down to the part where it says "PIECES:" and download following his links. Don't worry I will re-post them accordingly.
Sent from my T&K LH9 Blessed SGH-I747
Does upgrading from rooted LH9 from a rooted LG1 trip flash counter since we are installing 4 separate files instead of 1 .tar?
thanks!

[ROOT][ROM][TUTORIAL] Rooting and modifying the LG G2 + softbrick help

Let's admit it. Your new LG G2 is running 4.2.2 and that just isn't enough. You want 4.4. Well you will have to wait for that. With CyanogenMod 10.2, you can get a near AOSP device running 4.3. I tried to make this an easy tutorial by using terms everyday people can understand. NOTE: THIS WILL WIPE YOUR APPS AND ACCOUNTS OFF YOUR PHONE! You will retain most of your internal storage, however. By the way, the "Knock-on" feature will only work to turn your phone on as of this CM build. Also some help at bottom if you soft brick phone (aka it turns on, but doesn't regular boot or boot into recovery. Lets get started:
Prerequisites:
1. Latest build of CyanogenMod (for now on CM) *DOWNLOAD THIS ONTO YOUR DEVICE IN THE DOWNLOADS FOLDER*:
Verizon Wireless​AT&T​International​Make sure to support the mod. By far one of the best roms out there.
2. Download Google Apps or "Gapps". Make sure to read the text on the download page. Then scroll down to the table and download Gapps for CM 10.2 *DOWNLOAD THIS ONTO YOUR DEVICE IN THE DOWNLOADS FOLDER*
Gapps​3. Make sure you have a custom recovery. TeamWin Recovery Project (TWRP) is Highly Recommended. Download the latest build (most likely 2.6.3.2) *DOWNLOAD THIS ONTO YOUR COMPUTER*
Verizon​AT&T​Please support TeamWin. They really outdid themselves with TWRP.
4. The Root (ioroot10). All credit goes xda member thecubed (aka IOMonster). Original thread. *DOWNLOAD THIS TO YOUR COMPUTER, EXTRACT FILES"
ioroot10​5. You will need Android SDK to push your TWRP recovery to your phone *DOWNLOAD THIS TO YOUR COMPUTER, EXTRACT FILES* This might take a while to download.
Android SDK​Ok, so you should have 5 downloads: CM, Gapps, TWRP, the Root, and Android SDK. CM and Gapps should be saved to the downloads folder on your SD card on your phone. Extract ioroot10.zip and Android SDK files and I recommend putting TWRP, ioroot10, and the SDK onto your desktop.
Bottom Line: CM and Gapps are on your phone. TWRP, Root, and SDK, are on your computer.
Step One: Rooting
Phone is unplugged
1. Go to Settings>About Phone and tap build number 7 times to unlock developer options (it will give a message if you do this properly).
2. Go to Settings> Developer Options (this should a new category) and make sure USB Debugging is enabled.
3. Plug in LG G2 and let drivers download.
Phone is Plugged in
4. When a message comes up asking what type of connection you want, choose internet connection>ethernet.
5. On the status bar, there should an icon that looks like the android icon with antennae (get it - deBUGging). If there is not a debugging icon, try changing the usb connection type. You may have to change it to Media Transfer.
6. Once connected with debugging enabled, shift-right-click in the ioroot10 folder on your computer and select "open command window here".
7. Type in adb devices: <file source>\ioroot10>adb devices
8. You may get a message saying the daemon had started first, but it should say "List of devices attached" with your device labeled under the message. If no message appears saying your devices is attached, troubleshoot (disconnect phone, disable debugging, enable it, plug back in).
9. Now close the command prompt.
10. right-click root.bat in the ioroot10 folder and select run as administrator.
11. "Press any key to begin"
12. The command prompt should say "looking for devices". Now look at your phone and you should see a message from the computer requesting permission. Tap "Yes". If there is no message, close the window and start from step 10 again.
13. The command prompt should now list your phone and carrier and ask you to unplug your phone, disable USB debugging, enable USB debugging, and plug your phone back in. Do this and continue.
14. Another message will come up asking you if you want to install SuperUser (su). If you choose no, you will not root your phone and the process will stop. NOTE: THIS IS YOUR LAST CHANCE TO CHANGE YOUR MIND!.
15. Press continue and you should get a message saying "done, enjoy your phone!"
By now, you have rooted your phone and we will now install TWRP as a recovery partition. Here is an awesome video made by ZetaTango if you still have questions.
Step Two: TWRP Installation
PHONE IS PLUGGED IN AT ALLTIMES DURING THIS STEP
1. Extract Android SDK .zip package if you haven't already. Place the TWRP .img file you downloaded (openrecovery-twrp-2.6.3.2-g2vsw.img) into \[android sdk bundle name]\sdk\platform-tools.
2. In this same folder, you should see an application called adb.exe
3. Do not start this app as all you will see is a quick command prompt window with a lot of text. This won't damage anything, it is just useless.
4. What you need to do is shift-right-click in platform-tools folder and "open command windows here"
5. Copy this code one line at a time (ignore what is in parentheses):
adb push openrecovery-twrp-2.6.3.2-g2vzw.img /data/local/tmp/openrecovery-twrp-2.6.3.2-g2vzw.img
adb shell
(IF YOU DONT SEE A #, type su to get it.)
cd /data/local/tmp
dd if=/data/local/tmp/openrecovery-twrp-2.6.3.2-g2vzw.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
exit​6. This should work if you've placed the TWRP .img file in the platform-tools folder.
7. DOUBLE CHECK THAT YOU HAVE CM AND GAPPS IN YOUR DOWNLOAD FOLDER. If you don't, you're screwed after the next step.
8. Type >adb reboot recovery
9. This will reboot your device and start it in recovery mode that should look like a very primitive version of android (not really)
Now your phone should be in recovery mode and plugged in. As long as CM and Gapps are in your downloads folder, you are doing fine. Sorry no video for this step.
Step Three: Installing CyanogenMod w/Gapps
PHONE SHOULD STILL BE PLUGGED IN
1. On the home page of the recovery launcher, select "Backup" and make sure all boxes are checked off. Slide to to backup. Wait for it to complete. Tap home button when it is complete.
2. Select Wipe>Advanced Wipe and make sure ONLY these boxes are checked off: Dalvik Cache, System, Cache, and Data. Swipe to wipe. Wait for completion and tap home button.
3. Now select "Install". Your CM and Gapps should be located in your downloads folder.
4. Select your downloads folder and tap the CyanogenMod file. Then tap "Add more zips" and tap your Gapps file.
5. Once your CM and Gapps have been selected, swipe to flash them. Wait for process to complete.
6. When the ROMs have been flashed, select Reboot System and your phone will load with CyanogenMod 10.2
You should see the CyanogenMod loading screen and then make a CyanogenMod account and set up your AOSP LG G2 phone. Here is a video for this step by OfficialSoftModder. Yes, he is using a Nexus 7, but it the exact same process.
Hope you guys were able to do this with ease. Please comment any questions and I will be sure to answer them. WHAT? YOU BRICKED YOUR PHONE??!!?! Lucky for you, as long as you didn't kill the battery, you should be able to save your phone.
1. Unplug bricked phone.
2. Hold power button until device shuts down and for 2 seconds after the devices shuts down. plug in phone. While, plugged in, it will turn on.
3. .Turn off again, then hold power and up sound at the same time to enter download mode. Go here and folow the directions.
4. Start all over again. Your phone after this will be unrooted and back to factory settings.
[deleted]

Flashing on a Mac with Heimdall and Mobile Odin

Hi there,
as I never owned any Windows-based PC but only Macs and nevertheless use Samsung phones and tablets I searched for a possibity to flash my N5100, which is not supported by the Cyanogenmod-installer. After a lot of looking around, I here compile the way it worked for me.
As always: I take no responsibility at all - be sure you know what you do or don't do it. Your device can be bricked, although the risk is small if you follow the instructions step by step.
Credits and thanks to Chainfire for his wonderful work and to Bill Anderson, whos guide helped me a lot and is the base for the heimdall-part of the guide.
If the nerds here complain about this guide being too simple, I don't mind - folks like me need it that way...
1. Download and install Heimdall
2. Download and install an app to unarchive tar.md5-files (p.e. The Unarchiver) – Mac OS won't do that on its own.
3. Create a folder for the process, p.e. /Autoroot, wherever you'll find it when you need it.
4. Download the CF-Auto-Root for the device (here) and save it into this folder
5. Extract the CF-Autor-Root-mxxxx-yyyy.tar.md5 – file – you'll get 2 files: cache.img and recovery.img
6. Start Heimdall, klick the Utilities-tab
7. Shut down your Samsung device.
8. Start it in „download-mode“: press the VolumeDown + Home + Power keys. You'll get a warning and press VolumeUp to proceed.
9. Connect the device to your Mac via USB.
10. In Heimdall, press the Detect button. The display should show „Device detected“.
11. Click on the Utility-tab and then the Save as button of the Download PIT section - browse to the folder created in step 3 and enter a file name such as Samsungxxxx.pit. Save.
12. Once you got the PIT file, you can click the „Flash“ tab.
13. Use the Browse button to select the PIT file downloaded in Step 11.
14. Click the Add button to add a partition.
15. From the Partition Name menu, select Recovery.
16. In the File box, browse to the recovery.img file that you retrieved in step 5.
17. Repeat steps 14 through 16 for the Cache partition.
18. Click each partition in the Partitions box to verify that it is associated with the correct file.
19. Check the No Reboot option, as you do not want Heimdall to automatically reboot the device – if the process fails with checked No Reboot-option, try it again with No Reboot unchecked, for me, it worked this way and I proceeded with step 23.
20. Click the Start button, and watch the Status text area where the progress of the flashing can be seen until the "Flash completed successfully!" message.
21. Hold down the Power button and unplug the USB cable. Keep holding down the Power button, and press the VolumeUp button until the Samsung device boots into Recovery mode.
22. Your Samsung device should automatically reboot after CF-Auto-Root installs.
23. You should by now have a superuser-access. Verify this with any terminal emulator app by entering su command and granting SuperSU root privileges to the emulator app You use.
24. Install Mobile Odin onto your device.
25. After starting the app, grant superuser-access.
26. Download the recovery you like, p.e.PhilZ Touch Recovery (for your device) and copy it onto the SD-card of your device, p.e. using android filetransfer.
27. Download the custom-ROM you like, p.e. cyanogenmod (for your device) and copy it onto the SD-card of your device, p.e. using android filetransfer.
28. In Mobile Odin click on Recovery → Internal SD-card and choose the recovery you just copied onto it.
29. Restart the device into the recovery mode, holding Home + VolumeUp + Power
30. Choose Install from zip and choose the custom-ROM you just copied onto the SD-card
31. Done!
Hope these lines could be helpful for Mac-users...
Best regards,
Rabendoktor

Categories

Resources