[HOWTO] Unlock, Root, and Install CWM on Galaxy Nexus using a Mac - Samsung Galaxy Nexus

[highlight]IMPORTANT! DATA LOSS![/highlight] For security purposes, this process will delete everything on your phone, including everything on the internal sd card! If you haven't backed up, do so now! Any pictures, videos, and documents not backed up will be unrecoverable...
First things first... This is mostly adapted from this guide by loveubuntu. Many Thanks!
[highlight]WARNING:[/highlight] Rooting your device probably violates your provider's acceptable use policy. It also voids your warranty. If you damage your device while following this guide, you are responsible!
That said, this process worked for me, without any problems.
[size=+2]Install the Java SDK[/size]
You may not need to do this if you're on a version before 10.7 (Lion)... I'm not sure.
You'll need an Apple Developer account, but they're free... Go to the Apple Developer Download page. The current version for Lion at the time of this writing is Java for OS X 2012-003.
Download and install.
[size=+2]Download and Setup Android SDK[/size]
Download the Android SDK. Make sure you get the one for Mac OSX.
Open the file to unzip it. For convenience, move the folder to your home directory. Open terminal and use the following command. You can leave terminal open... We'll be using it again, and again, and again...
Code:
mv Downloads/android-sdk-macosx ~
[size=+2]Get Connected[/size]
On your phone:
Open Settings | Developer Options
Turn on USB Debugging
Plug your phone into your mac.
In terminal, on your mac, run the following commands:
Code:
cd ~/android-sdk-macosx/platform-tools
adb devices
You should see your phone's serial number. If not, make sure everything is installed correctly and your phone is connected correctly.
[size=+2]Download Files[/size]
Download the latest Touch Recovery from ClockworkMod. Be sure to get the one for Google Galaxy Nexus (Verizon).
Download su.zip.
[size=+2]Unlock your Phone[/size]
Here's the part where you void your warranty and wipe your phone, so... here come the warnings again...
[highlight]IMPORTANT! DATA LOSS![/highlight] For security purposes, this process will delete everything on your phone, including everything on the internal sd card! If you haven't backed up, do so now! Any pictures, videos, and documents not backed up will be unrecoverable...
[highlight]WARNING:[/highlight] Rooting your device probably violates your provider's acceptable use policy. It also voids your warranty. If you damage your device while following this guide, you are responsible!
Turn off your phone (Are you sure you've backed up everything important on your phone???).
Hold Volume Up and Volume Down while pressing the power button to turn your phone on. Let go of the power button when the phone vibrates, but keep holding the volume buttons until you see stuff on the screen.
You should now see a big arrow and some text on your screen. The bottom line is the lock state. Congratulations, you're in the bootloader.
[highlight]Are you sure you backed everything up? Last chance...[/highlight]
If you're not plugged into your mac still, hook it up and run the following command in your terminal.
Code:
fastboot devices
You should see your phone's serial number, just like you did with adb (which doesn't work in the bootloader, of course).
[highlight]Okay, this is really your last chance. Backup any data you don't want to lose. The next command will erase everything.[/highlight]
Run the following command in terminal:
Code:
fastboot oem unlock
Use the volume up button on your phone to select YES and press the power button to accept.
Including the following, since I probably did it... Not sure if it is entirely necessary:
Use the volume up to change the value appearing in the arrow to recovery and press the power button to accept. You are taken to laying down android with a red triangle. This is the stock recovery. Now carefully press the volume up, volume down, and the power button to get to a menu. Choose wipe data and factory reset. 2 things: I had a hard time getting to the menu. Do it a few times and try pressing the power button JUST a fraction of a second earlier than the 2 volume buttons. Also wiping and resetting takes a few minutes, be patient.
[size=+2]Flash CWM Recovery[/size]
Well, if you made it this far, you've already voided your warranty and wiped your phone... why stop now?
Turn the phone off (pull battery if necessary). Boot back into the bootloader by holding the volume buttons and power again (see previous step, if you forgot how). Connect to your mac, if you're not still connected and run the following in terminal:
Code:
fastboot devices
See your device? Great! Now let's flash ClockworkMod Recovery. If you haven't moved it, it'll be in your downloads directory. You can run the following from terminal (the version may have changed, so double check):
Code:
fastboot flash recovery ~/Downloads/recovery-clockwork-touch-5.8.0.2-toro.img
[size=+2]Get Root[/size]
You're still in the bootloader, right? If not, get there and use the volume keys to select recovery. Press power to open it. Yay! CWM Touch! FTW
Okay, reboot and allow Android to create the folder structure it needs. When you get to the welcome screen, pull the battery to shutdown and boot back into the bootloader (you should be a pro at this by now). Use the volume keys to select recovery and power to get there.
If you're not connected to your mac, do so and run the following:
Code:
adb push ~/Downloads/su.zip /data/media
Yep, adb works in recovery... This just transfers the file to the root of your internal sd card.
Now run:
Code:
adb reboot recovery
Now use the menus to install su.zip. Choose zip from sd card, su.zip, etc... oh yea, and it's touchscreen.
Congratulations! You now have full administrator permissions on your phone.
[size=+2]Install Helpful Tools from Play Store[/size]
Boot your phone normally and go through the whole activation and getting started process.
Then install some tools that will help, now that you have a rooted phone. Just open the play store and search for rom manager. This is made by ClockworkMod and it works great with their recovery. Next you'll want to search for titanium backup. This will allow you to backup application data to help make loading new roms a little less of a hassle. There are free and paid versions of both of these apps. The paid versions give you more functionality, as well as, no ads.
Last, install solid explorer beta (or some other file manager). We need it for the last step.
Also, while you're in the play store, go ahead and update superuser if there is an update available.
[size=+2]Delete recovery.sh[/size]
Your phone may have a file called recovery.sh, which will flash the default recovery on reboot if you don't get rid of it.
Open Solid Explorer Beta.
Tap the Jump button at the bottom of the screen. Then Device and System Root.
Open the system folder, then open etc.
Scroll down and look for recovery.sh. If it doesn't exist, no worries... If it does, tap and hold on it, then either rename or delete it, whichever your more comfortable with.
That's it! Your unlocked and rooted. You can enjoy many benefits from just this process.
However, if you want a real benefit. Find a nice ROM and flash it using ROM Manager or by rebooting into the recovery if you need to install 2 zips, like most require. I'd like to recommend TeamBAMF.

Nice guide! I just did this myself like 2 days ago (with my replacement phone). It was really fun, I already had SDK set up n stuff though.

yes very nice guide, i hate switching between my pc & mac for just my phone.
i wonder if there is a way to do this w/o Java.

I'm pretty sure the platform tools are coded in Java, but we're not compiling anything... You may just need the jre. I already had the ask installed...
Wouldn't hurt to try.
Sent from my Galaxy Nexus using Tapatalk 2

anton2009 said:
Nice guide! I just did this myself like 2 days ago (with my replacement phone). It was really fun, I already had SDK set up n stuff though.
Click to expand...
Click to collapse
I already had the JDK setup too, so I'm not positive that step is necessary...
Sent from my Galaxy Nexus using Tapatalk 2

Related

[Solved] Unbricking Solution for LG Nitro HD | Confirmed Working on Bell Optimus

Standard disclaimer:
This tutorial is for people who have bricked their phone due to messing about with important files/partitions on their Nitro HD and found that it won't boot up afterward. Prior to attempting this, see if you can access your phone while booting with adb in order to fix your problem. The method used in this tutorial should only be used as a last resort. Don't hold me responsible if this method somehow makes your problem worse (although, really, how much worse can it get than a phone that won't boot?).
Now that's out of the way, let's move on...
Things you'll need:
1) ADB: You can get this in the Android Developer SDK <-Once installed, install platform-tools and add the directory containing ADB to your PATH. Alternately, you can just grab the ADB folder from your SuperOneClick folder, copy it to C:/, and then add that directory to your PATH. Hell, you could even run all the commands from wherever you have the ADB folder, just make sure you have it.
2) LG P930 drivers: http://s3.amazonaws.com/lgforum.com/resources/assets/680/original/LGP930.zip
3) LG Mobile Software Update Tool: http://csmg.lgmobile.com:9002/client/app/B2CAppSetup.exe
4) UpTestEX_mod2_marwin/KDZ_FW_UPD_EN: http://www.filesonic.com/file/2255759914/KDZ_FW_UPD_EN.zip
5) LG SU-640 firmware V10F_00.kdz: http://www.megaupload.com/?d=31XABWWJ
6) A method of rooting your phone. My preferred method is the latest SuperOneClick due to its simplicity. I won't really cover how to root your phone in this tutorial as it's covered elsewhere.
The following should only need to be downloaded if you were stupid like me and bricked your device before you made backups of the necessary partitions (This will be explained elsewhere, but needless to say it's as simple as switching the "if=" argument and "of=" argument in the dd commands toward the bottom):
7) boot.img: http://fileape.com/dl/OCowIxMnbDUMiPW6
8) recovery.img: http://fileape.com/dl/jFMlB8I3kkSMOYWN
9) firmware.img: http://fileape.com/dl/4gHHDDUhODLiJGHM
10) baseband.img: http://fileape.com/dl/TMsvdaKOa7VG4mVT
11) system.img: http://depositfiles.com/files/f0ke241ew
Alright, now that you have everything you need, let's move on to fixing your phone. I'm going to assume you are competent enough to install ADB (Android SDK or folder included to with SuperOneClick) to your system PATH. Go ahead and install the LG Mobile Software Tool and then install the drivers for LG P930 if you haven't already. Extract the KDZ_FW_EN.zip file. Note, in my case, I didn't have to do anything with the mfc42.dll or run WindowsEnabler as mentioned in similar tutorials elsewhere, but your mileage may vary.
Flashing the SU-640 rom:
1) Put your phone in download mode: power off the phone if it's not already, unplug the usb charging cable, and simultaneously hold the volume up button and plug the usb charging cable back in.
2) Open up UpTestEX_mod2_marwin. (If you know what you're doing, I've been told you can use KDZ_FW_UPD_EN as well, but since I didn't use it, I'm not going to discuss it)
3) Hit the folder icon next to the "Select kdz file" line and browse to the SU-640 v10f_00.kdz
4) Select "CSE web upgrade test", a new window with some options including an "Upgrade Start" button should appear.
5) Take a deep breath...there's no going back Press "Upgrade Start".
6) At this point in time another dialog box will appear asking what country and language the LG Mobile Upgrade tool should use. Since this guide is written in English, I assume you'll want to change it from Republic of Korea to All other countries and Korean to English. This affects the language that output messages are displayed in in the LG Update tool only, it doesn't affect anything with the rom (that'll be all Korean on initial startup lol).
7) The update tool will proceed to flash your phone, but it should never complete "normally" (mine never made it past 4% according to the tool and other users have reported similar behavior). However, your phone should reboot once or a couple of times and then just be sitting idle waiting for you to go through the setup wizard. At this point, just kill the LG update tool process in task manager, don't wait for it to complete because it won't.
Rooting your phone:
1) Now, on your phone you should see the standard Android startup wizard...in Korean. Hit the left button confirming you want to go through it, and on the next screen should be an option to switch the language to English. Ah, much better.
2) Go through the rest of the setup wizard if you want, but it's not necessary and you won't be able to set up accounts anyway unless you somehow have wifi.
3) Put the phone in USB debug mode and allow 3rd party sources. Don't freak out if the phone spontaneously reboots when you do this. It rebooted on me every single time I put it into debug mode for the first time (I flashed it several times lol).
4) Once it's rebooted itself, you should be able to connect in debug mode and connect via PC mode. Go ahead and root it using your preferred method. We're almost there!
Restoring Nitro HD partition images:
1) Open up a command prompt and navigate to the folder you saved your recovery images to (hopefully you put them in the same folder, it'll make your job easier)
2) Push all the image files to the phone's sdcard using the command:
Code:
adb push filename.img /sdcard
Alternately, you can just mount up your phone in My Computer and copy and paste the files over.
3) Now the real fun begins! Use the following commands:
Code:
adb shell
su
dd if=/sdcard/boot.img of=/dev/block/mmcblk0p8
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p13
dd if=/sdcard/firmware.img of=/dev/block/mmcblk0p1
dd if=/sdcard/system.img of=/dev/block/mmcblk0p27
dd if=/sdcard/baseband.img of=/dev/block/mmcblk0p14
4) You won't be able to issue a reboot command, so just hold power down on your phone til it's off and hold the volume down button so that it comes back up in factory data reset mode. You will want to pull your sdcard at this time if you don't want your data erased.
5) Hit power twice and your phone should go through its reset process and (hopefully!) come back up in a working (and rooted) AT&T "stock" rom
If you have any issues, it's possible I've forgotten some steps, so I'll address them in this thread. At this point, I'd like to thank specific people who helped me immensely getting a working phone again: bytecode64, gordec, schwin97, belth219, sukudos, and ziiljuks. (If I've missed you, I'm sorry, I'm thankful to this entire forum!)
Original post:
So I was messing with fonts (actually trying to get the "look of disapproval" from Reddit to display) and substituted DroidSansFallback with a kannada font using Font Installer *Root*. Well, long story short, it was causing issues with other non-english characters so I tried to restore *all* my fonts using the "stock" option that comes with Font Installer.
When I rebooted, my phone only got to the LG Screen and that's as far as it has gotten since. I can't do anything with it, but I can get to Factory Data Reset mode and Download mode. I tried plugging the phone into my computer, but it doesn't appear to get far enough to mount the disk. Odin recognizes it's attached when I put it in download mode, but obviously Odin doesn't work with our phones.
Does anyone know if there will ever be hope for my phone or should I pursue getting a replacement? I'm actually completely shocked that simply replacing fonts has bricked my phone to the point where it doesn't even boot. This has seriously made me reconsider tinkering with Android at all until recovery methods are possible. I'm more than willing to be a guinea pig at this point until I try to send it in for a replacement (within the next few days probably).
Click to expand...
Click to collapse
do a factory data reset ? my phone gets stuck on LG logo too when i try to move all my apps to SD using titanium backup . factory data reset option resolves it however . see if that works ?
Unfortunately factory reset won't help in this case, the app messed up something in the system.
But as long as it gets to the point when you can use adb (it comes with SuperOneClick if you don't have it installed), then yes, there still a chance
To make it easier, can you contact the app's author and ask what exactly that app changes in the system, which files, so if necessary we can provide you with these files.
[email protected],
I have adb from SuperOneClick, how would I know if I can use adb?
Edit, I guess what I'm asking is do you have a quick guide to connecting a phone using adb and pushing files that you can hit me with a link to?
open CMD window and type:
adb devices
It should show you your phone.
adb devices
If that comes back with a device listed you can still save your system. Good luck...
Okay, I'm at work now, but I'll check when I get home. I do believe I tried that command and it didn't show any connected devices, but I can't remember if I only tried that while I had it in Download mode or also while I was trying to boot it. I'm keeping my fingers crossed lol.
You should searching for the file named KDZ_FW_UPD_EN,and install LGMobile Support Tool which can be downloaded on the LG Official website.And then you should download the *.kdz file that matches your phone.
Finally launch the KDZ_FW_UPD_EN flash your phone with the kdz file.
I use the tool bring my bricked device back.
Good luck.
belth219,
Problem is I can't find a .kdz for my P930. This seems like it'd be really easy to do otherwise.
Alright, I've created a tutorial in the first post describing how I unbricked my phone. I don't think it's quite back to "stock", but I don't think anybody who bricks their phone will care about that.
You have done the great job.Thanks for the baseband.img.It made my SU640 closer to PERFECT!EDGE enabled!!
Sent from my LG-SU640 using XDA App
I can't claim credit (or blame lol) for creating any of the images in this tutorial. Gordec is responsible for 3/5 including the baseband and I am so glad he responded quickly with each image correctly copied!
Sent from my LG-P930 using xda premium
my 4g lte isn't working.
My 4G wasn't working until I did a factory data reset (a second one, actually). Is it just your LTE that's not working or 4G in general?
Sent from my LG-P930 using xda premium
Will this give a version that has wifi and regular calling available right off the bat? I messed up my nitro to the point that i can only sometimes make phone calls and my market / browser won't function at all. Force close immediately.
Think I should try this as an option?
AT&T LG Nitro HD P930 is my make
Also, I use it on TMobiles prepaid network. I only get edge. I checked the bands, I think im right but wanted reassurance that edge is all i can get. Thx
To the best of my knowledge, prepaid service providers only allow maximum 4G, but vary by provider. No prepaid that i know of allows access to the LTE network, only on a post-paid plan.
If you have a AT&T unit unlocked for use on another carrier, then there's not much you can do in this case. sorry.
basically my att data itself.
att goofed up on my data plan. The thing is great thanks a lot!
csmg.lgmobile.com:9002/swdata/WEBSW/LGSU640/ASKTBK/V10i_00/V10i_00.kdz
I couldn't get the version with the f's in the original post to work. Will this one do? It's 460 mb.
nope because you cant root the ...i version thus making it worthless.
Sandpapers,
I'm uploading the V10f_00.kdz to megaupload right now. I'll update my tutorial as soon as it's done. Sorry I didn't do this sooner.
Sent from my LG-P930 using xda premium

[VZW/SPRINT/GSM][Guide] Ultimate Galaxy Nexus Guide (Unlock/Root/Flash Roms/FAQ)

Post One: Unlocking and Rooting
Post Two: Installing Roms / Kernels / Tweaks
Post Three: Panic Section / FAQ / Miscellaneous
Unlocking The Bootloader And Obtaining Root
*This part of the tutorial is geared towards Windows users. I have a windows machine and will post instructions only on methods I personally have tested. This guide will assist other users. Once we unlock and root your device: this guide will be relevant to everyone.*
Time required:
20-40 minutes.
Setting up ADB for our device:
Download the AndroidSDK onto your computer.
Note: Google changes their mind every other week as to if this will be distributed as a .zip or an .exe. If you get an .zip file, simply extract the contents to your C:\ drive. For an .exe install it like you would any other program, but set the path directly to the C:\ drive when the installer asks.
Or...you can use this page to download the "ADB for Dummies AIO App."
This will automatically install ADB for you to your C:\ directory. It's very very simple this way.
If your platform-tools folder doesn't have a fastboot.exe, place this fastboot.exe file in your C:\android-sdk-windows\platform-tools (or possibly simply called tools, if you set up ADB ages ago) folder.
Now you have ADB installed! Congratulations.
Unlocking the Bootloader:
***NOTE***
This will perform a factory reset on your device. You'll lose all applications. You'll lose everything. Even the data on your SD Card! Backup your SD to your computer BEFORE performing this. There is a method for backing your applications up, detailed HERE.
Get the drivers:
Uninstall any previously attempted drivers if they don't work and move to the next.
Samsung's website has a download here under "Manuals & Downloads > Software."
Option Two: Navigate to the "Device Manager" (Control Panel > Device Manager) in Windows and Select the android device. Open the properties and select the "Install Driver" option. Pick the driver with "Install from disk." Ignore any warnings about the driver not being signed properly.
PDAnet's drivers may work if the above options don't. Simply install PDAnet (after uninstalling any previous attempted driver installations) to get the drivers.
While that is downloading, on your Galaxy Nexus: turn USB debugging on.
This can be found in Settings>Developer Options>USB Debugging
Once the drivers are installed, navigate to the C:\android-sdk-windows\platform-tools folder on your computer.
Hold shift and right click. Select "Open Command Window Here."
On your phone: turn USB Debugging On. This can be found in Settings>Developer Settings.
Plug your phone into the computer. Now in this command window type:
Code:
adb reboot bootloader
(Hit Enter)
Your phone should now boot into a screen with a green android with his chest exposed.
Type this:
Code:
fastboot oem unlock
(Hit Enter)
If your Command Prompt displays the message "waiting for device" your driver wasn't successfully installed.
Close the Command Prompt window and open Device manager while your phone is still plugged in. (Search for it using the search option).
Right Click the "Android" option and select Update Driver. Choose to "Browse My Computer" and "Let Me Pick From A List." Pick the Samsung driver with the newest date and install it. Now retry the code above.
Your phone will ask if you want to unlock it. Select "Yes" by using the volume keys and use power to select it.
Now, navigate to "Recovery Mode" with the volume keys. Use power to select.
A screen with another Android will pop up. Press Volume Up and Power at the same time.
Select Factory Reset. This process may take a few minutes. Be patient and let it work.
Once finished, select "Reboot."
Your phone is now unlocked!
Obtaining Root Access and Custom Recovery:
Turn on USB Debugging in Settings>Developer Options>USB Debugging.
Download the following:
SuperSU (CWM .zip)
CWM (Pick the version for your device [GSM/SPRINT/VERIZON])
Place the recovery-clockwork-VERSIONNUMBER-toro.img (or the recovery-clockwork-VERSIONNUMBER-toroplus.img if you're a Sprint user. Or the recovery-clockwork-VERSIONNUMBER-maguro.img if you're a GSM user) file into your C:\android-sdk-windows\platform-tools folder.
Put the SuperSU.zip on your phone.
Open another Command Prompt if it isn't still open. (Navigate to C:\android-sdk-windows\platform-tools and shift + right click. Select "Open Command Window Here.")
With your phone plugged in type:
Code:
adb reboot bootloader
(Hit Enter)
And wait for your phone to boot into the android again.
Now type:
Code:
fastboot flash recovery IMAGENAME.img
(Change the file name to the correct file name and Hit Enter)
Once that is finished: select the "Recovery Mode" option again on your phone.
You should get a new recovery menu here. Select "install zip from sd card" and "choose zip from sd card."
Find the SuperSU.zip that you transferred earlier and select "Yes" to installing.
Navigate back to "Reboot" and reboot your phone.
You're now rooted!
However, ClockworkMod Recovery won't continue to load after this.
To fix this, find "Rom Manager" from the market. (The free version is fine.) Use the "Flash ClockworkMod Recovery" option.
If your recovery still doesn't stick around after a reboot, you have another couple options. Find a file explorer that allows root access, such as Root Explorer. Use this program to rename /system/etc/install-recovery.sh to /system/etc/install-recovery.bak. You'll need to mount the system as r/w to do this. Root Explorer provides a button at the top to do so.
Or, you can do this completely manually by firing up ADB again and running a few commands:
Code:
adb shell
(Hit Enter)
Code:
su
(Hit Enter)
Code:
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
(Hit Enter)
Code:
mv /system/etc/install-recovery.sh /system/etc/install-recovery.bak
(Hit Enter)
Congratulations!
Your phone is now unlocked, rooted, and has a custom recovery!
Continue reading the next posts for info on getting custom roms, kernels, tweaks, and more!
***I take no responsibility for what happens to your phone due to following this guide! That being said, not only am I sure you'll be fine...but there are an endless amount of users who would be glad to help if you need it.***
Thanks:
Google, for making Android a reality.
VanillaTbone, for the ADB AIO app.
Droid-Life, for a previous guide that I used as an outline while writing this one.
Efrant, for posting about a bootloader locking utility without USB.
ClockworkMod team, for being a part of making our phones as awesome as they are.
The assorted developers, who continue to push out amazing material for us to use.
The awesome community, for endlessly supporting both Android itself and its users.
Installing Custom Roms Kernels and Tweaks
All of the instructions below require your bootloader to be unlocked. Please follow the guide above and return here when you're done.
Backing Your Files Up:
Time required:
15-25 minutes.
Making a Nandroid
The first thing you're going to want to do is back up your phone's entire system. This is done by making a "nandroid."
To do this, boot into ClockworkMod Recovery. To accomplish this: Turn your phone off. Once it is completely off: hold both volume buttons and the power button until the Android with his chest exposed is displayed. Navigate to the "Recovery Mode" option and select "backup."
This will take some time. Be patient and let it finish. This process is important! You should always have a recent nandroid available on your device.
Backing Your Applications Up
Install Titanium Backup from the market.
Open Titanium Backup. A Superuser request should pop up. Allow it. Note: if Titanium Backup then says it failed to obtain root access; press the menu button and select more>reload application.
Press menu>batch. Select "Backup all User Apps." Select all and "Run the Batch Operation."
Let the process complete. This may take quite some time: depending on how many applications you have installed.
You can now backup your Text Messages, Bookmarks, and WiFi addresses with Titanium Backup as well.
Press Menu>Backup Data To XML to do so.
Backing Your Contacts Up
Note: This process may or not be useful to you. The Google servers should automatically import any contacts you have stored back whenever you install a new rom. Also note that Facebook/Google+/etc contacts will need to be synced again through their respective applications.
Open the Contacts application.
Press the Menu button.
Select import/export.
Export to storage.
Installing A Rom (Or Kernel/Radios/Tweaks/Themes/etc.)
Time Required:
5-10 minutes.
Note:
Follow the guide above about backing your phone up before attempting!
This guide will also work for flashing kernels/radios/themes/tweaks/etc. Simply ignore the part about wiping data and wipe whatever the thread says you should. You only need to restore data after a rom install.
Find a Rom You'd Like To Try:
Verizon Galaxy Nexus
Sprint Galaxy Nexus
GSM Galaxy Nexus
Download the rom you'd like to try on your device.
Most roms also require you to install "gapps" as well.
You can find the correct ones for the rom you're using in the rom thread.
Make sure the Rom and Gapps are on your SD card.
Now, open Google Wallet (if you have it installed) and press Options>Settings>Reset Google Wallet. This will prevent the "Secure Element" errors some users have experienced.
Boot into ClockworkMod Recovery by turning your device completely off. Hold volume up, volume down, and power until the green Android with the open chest is displayed. Navigate to "Recovery Mode" with the volume buttons and select using the power button.
Remember to have a recent nandroid before continuing!
Navigate to "wipe data/factory reset" and select it. Select "yes."
Wait for the process to complete. This may take some time. Be patient!
Once complete: Navigate to "Install Zip from SD card" and "Choose zip from SD card."
Find the rom's .zip and install it. Once that completes install any applicable gapps' .zip.
Select the "Reboot" option.
Congratulations! Your phone should now boot into the custom rom!
Follow the prompts to re-activate your phone.
Restoring Your Applications / Contacts / Nandroid
Time Required:
5-15 minutes.
Restoring Your Applicaions
Install Titanium Backup. Note: you may want the pro key. If you have it, you won't have to manually click "install" on each application. The process is completely automated. Open Titanium Backup (grant root access. If titanium says it failed to obtain root access, press menu>more>reload application). Press menu>batch>restore missing apps with data. Now, here you have a choice to make. Do you want a completely clean install? Select "app only" and run the batch operation (Deselect Google Wallet first. We don't want to risk restoring wallet in any way. Install it manually through the Play Store.). Do you want all of your application data (saved games/settings/etc)? Select "app+data" and run the batch operation (Deselect Google Wallet first. We don't want to risk restoring wallet in any way. Install it manually through the Play Store.). This MAY cause you problems or it may not. Personally, I often restore application data and seldom run into any trouble. If you do find that restoring data caused problems, follow the guide above to re-install your rom and restore without data. This process will take some time. Be patient (I'd suggest turning your screen off so the screen doesn't burn, but that's just me.) It will vibrate upon completion.
You can now restore your Text Messages, Bookmarks, and WiFi addresses if you backed them up by pressing Menu>Restore Data From XML.
Note:
Overclocking/CPU tweaking applications should never be restored with data. Simply deselect it from the list.
Facebook/Haxsync/Google+ may have problems restoring your contacts when installed through Titanium Backup. Simply uninstall and reinstall through the market (and be sure to log in and select to sync your contacts again).
Also, if you have NFC Task Launcher successfully launching Tasker tasks with your stickers: they may not immediately work.
Through my testing, it's as simple to fix as uninstalling NFC Task Launcher and Tasker. Restore Tasker first. Then restore NFC task launcher.
Restoring Your Contacts
If google fails to restore your contacts (not facebook/haxsync/google+/etc) you may import them manually if you backed them up.
Open the contacts application and press menu>import/export>import from storage.
Restoring A Nandroid
If your phone is acting funny or won't boot...restore a nandroid from a previous rom or working set-up.
You may also use a Nandroid to switch back to a previous rom if you decide you don't like the one you're on.
Do this by booting into ClockworkMod Recovery (hold volume up, volume down, and power while your phone is off and navigate to "Recovery Mode").
Simply select "restore" and find the most recent (or relevant) backup.
This process will take some time. Be patient and let it complete! Once done, select "Reboot."
Note:
Nandroids are stored in the "clockworkmod" folder on your SD card. They take up quite a bit of space. ALWAYS have at least one recent one on your SD card. However, since these are huge files: you may like to delete old ones to save space. You must delete backups by booting into CWM and navigating to Backup and Restore>Delete.
Important Notes About Restoration
I outline the method of using Titanium Backup above for a reason. Restoring system applications and data is the most common cause of problems on custom roms. For this reason, always ONLY restore "missing applications" from "user applications" that were backed up when restoring onto a new rom. Every time you restore system data or applications a narwhal sodomizes your favorite childhood cartoon. This is FACT.
Installing Alternate Custom Recoveries
If you find a custom recovery (such as the touch-recovery options) that came as a .img file:
Use these instructions to flash. Plug your phone into the computer. Open up ADB. Move the .img to the C:\android-sdk-windows\platform-tools folder.
Type the following:
Code:
adb reboot bootloader
(Hit Enter)
You can also manually boot to the bootloader by powering off and holding volume down, volume up, power buttons until the green Android with his chest exposed is displayed.
Then type:
Code:
fastboot flash recovery FILENAME.img
(Replace the file name with whatever the .img is called and Hit Enter).
Wait for the process to complete and reboot.
***I take no responsibility for what happens to your phone due to following this guide! That being said, not only am I sure you'll be fine...but there are an endless amount of users who would be glad to help if you need it.***
Panic Section! (Something is Wrong)
Q: My phone won't boot!
A: The easiest option is to get into recovery and restore a nandroid using the above guide (pull battery to put phone in an off-state if needed).
However, more advanced options are available if you don't have a nandroid available (You're naughty).
Do you have another rom .zip available on your SD card? If so, simply use the above guide for installing a rom to get you booting again.
If not, you can download one on your PC. Boot into fastboot (the green Android with open chest menu). Navigate to recovery and select it with the power button.
Move the .zip to the C:\android-sdk-windows\platform-tools folder.
Open ADB.
Change the NAMEOFZIP.zip below to the correct file name...and perform the action.
Code:
adb push NAMEOFZIP.zip /sdcard/NAMEOFZIP.zip
(Hit enter)
You may have to reboot recovery to get the file to show up. Now follow the guide above for flashing a rom to get you booting again.
Did you install a tweak that modified only a file or two on your phone? (Find this out by opening the .zip and looking in the folders (ignore META-INF). Good news! We MAY be able to recover you completely. If this doesn't work...you'll have to follow another method.
Get your phone into fastboot (the boot-menu that allows you to select recovery/reboot/etc). Navigate to recovery and select it. Start up ADB. Pull the files that were modified out of the stock rom's .zip (using whatever tweak you were installing as reference to find what was changed) that you're on into the C:\android-sdk-windows\platform-tools folder. Now we're going to push these files onto your phone...replacing the tweaked ones and hopefully getting you booted again. Use this code, but change the values of the file name and where it should reside. This is only an example!
Code:
adb shell
(Hit Enter)
Code:
su
(Hit Enter)
Code:
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
(Hit Enter)
This will mount your system so you can write to it.
Code:
exit
(Hit Enter)
This should exit shell and allow the use of adb commands again. You may need to type it a couple of times (until the #_ changes back to the platform_tools> prompt).
Code:
adb push framework-res.apk /system/framework/framework-res.apk
(Press enter after each file that you need to replace).
Note: This last option probably won't work. I'd just skip over it unless you're absolutely adamant about restoring your current setup and want to try everything possible.
Q: I want my SDcard files from my phone...but I'm in a situation where I need to flash stock images! This will erase my SD content. What can I do to save it?
A: Do you have a custom recovery installed? If not, download a custom recovery from post one in this guide and flash it using those instructions. You'll need to be in a custom recovery in order to obtain ADB access without booting your phone. Boot into recovery (With phone turned off: hold Power and Volume+ and Volume- until the bootloader pops up and navigate to "Recovery"). Run the command:
Code:
adb pull /sdcard/ /SDCARD/
(Hit Enter)
This will put all of your files into a folder called "SDCARD" in your C:\ drive. Keep in mind that this will take a LONG time. Maybe a couple of hours.
To restore once you're booting again:
Move the "SDCARD" folder you created from your C:\ drive to the platform-tools folder. Then input:
Code:
adb push SDCARD /sdcard/
(Hit Enter)
Q: How do I make an "ADB Backup?"
A: An ADB Backup will backup your phones data (applications and their settings). Follow the guide HERE about ADB Backups.
Q: My phone gets really sluggish and often turns off or reboots on its own.
A: Without knowing anything about your situation...I'd say you either have severely bad data somewhere or some bad kernel tweaks. Use the rom install guide above, paying close attention to the part about backing up and restoring if you haven't already. In the case of a kernel problem, you're likely undervolting too low. Restore the stock kernel values and see if your problems subside.
Q: My phone screen won't turn on! This requires a battery pull to fix.
A: This is called a "Black Screen of Death" or BSOD. This is generally due to using a governor such as InteractiveX or HotplugX or possibly undervolting your device too low. Change governors or up your slots a bit.
Q: My phone is doing really weird things. Regardless of kernel/rom and even if I don't restore any data at all! Either that or I simply cannot boot up! My phone is possessed no matter what I do!
A: Razorloves has made a wonderful guide on restoring your Verizon phone back to stock. You can find it Here.
Shabbypenguin made an ODIN guide for Sprint users located Here.
Evostance made one for the GSM users, found Here.
Verizon/GSM images can always be found Here in the case that the above guides aren't updated.
Change the file names in the above guides, and you'll be good to go. *At the time of writing: Sprint images not available directly from Google.*
Q: My USB port is broken. How can I return to stock and re-lock my bootloader?
Follow the instructions in THIS post.
FAQ
Roms/Kernels
Q: What is the best rom?
A: The "best" rom is a matter of opinion. Do you like a certain customization and can't live without it? Use a rom that has that option.
Q: What is the best rom for battery life?
A: Roms themselves really shouldn't impact your battery all that much. They can have an impact, but if you're really looking for better battery I'd suggest swapping kernels or tweaking yours.
Q: What is the best rom for stability?
A: All of the roms out are "stable." They may have options that don't work correctly, but generally: this is user error. If you follow my advice on installing a rom, you'll end up with MUCH fewer bugs.
Q: What is the best kernel?
A: The best kernel is a matter of opinion. Some users may love one, while others swear by another. Find one you like and tweak it accordingly.
Q: How do I tweak a kernel for better battery?
A: Generally, you'll want to either change your governor and or undervolt and or underclock your kernel. This is done either by using SetCPU or similar apps, or with an option in your rom (usually labeled "performance" or something similar). Take note: extremely high/low voltages may cause instability. Never "set at boot" until you've thoroughly tested the options you've set. Testing includes low strain (like turning your screen off for an hour) and high strain (like playing a game for an hour) scenarios. To be extra safe: run the values for a couple days before setting them at boot. Follow the users ideas in the kernel's threads for some guidelines. However, remember that not all values will play nicely with all phones.
Miscellaneous
Q: Why does my phone perform so bad on benchmarking tests?
A: This depends on what you define as "bad." Does your phone feel fine? Ignore it. If your phone is really sluggish...you're running bad kernel settings or have bad data somewhere. That being said: our phones aren't going to be FANTASTIC with these benchmark tests. Sorry, but they aren't. We have a huge screen. And huge pixel density. And our GPU isn't the greatest of greats. This isn't bashing on the nexus at all. I'd rather have a phone that performs in every day use than a phone that gets a "FANTASTIC" benchmark but feels groggy when I perform simple tasks.
Q: How can Verizon users get Google Wallet?
A: Scan this with Google Goggles. Open the link with the Play Store.
Q: Why isn't Google Wallet working at [store]?
A: I'm not sure if it's a Google Wallet problem, or a problem with the terminal. But I personally struggle to find a terminal that consistently works in my area. Something that has generally worked for me is to open wallet and go to Options>Reset Google Wallet. You must then re-add any cards you had.
Q: Does my ass look good in these shorts?
A: Yes.
Neat Ideas / How to Show Off the Galaxy Nexus
-Get some NFC stickers. Tagstand has them available.
You can use these to make your phone perform certain tasks when you touch the sticker. Use NFC Task Launcher to define the tasks. These are capable of doing simple things like muting your volume to the more complex like turning on Tasker tasks that do things like auto-reply to text messages while you're at work.
-Do you have any suggestions? Submit them below!
***I take no responsibility for what happens to your phone due to following this guide! That being said, not only am I sure you'll be fine...but there are an endless amount of users who would be glad to help if you need it.***
Thanks for the great guide!
I have a few questions. What are kernels? What do they do? Can I have a bad kernel and ROM combination? I'm currently using AOKP build 27. What are some good kernels you would suggest? Should I save my current kernel? How would I go back to my current kernel?
Are BAMF and CM9 only for the CDMA GNex? They both say Toro and isn't that the CDMA version and Maguro is the GSM?
Tks man it was easy and smooth, now i´m rooted rocking cm9 on my Galaxy Nexus!!
3bs11 said:
Thanks for the great guide!
I have a few questions. What are kernels? What do they do? Can I have a bad kernel and ROM combination? I'm currently using AOKP build 27. What are some good kernels you would suggest? Should I save my current kernel? How would I go back to my current kernel?
Are BAMF and CM9 only for the CDMA GNex? They both say Toro and isn't that the CDMA version and Maguro is the GSM?
Click to expand...
Click to collapse
Kernels are the base of your phone.
They are the "engine" as far as software is concerned.
Bad Kernel/Rom combinations...kind of.
Some features may be removed from kernels. Like the ability to use the color control built into CM9. But generally, no. Other than hard-linked features built for the rom and supported by the kernel, no. I've yet to find any other than the CM9 reference I made.
Going back is as simple as re-flashing your kernel.
Remember: turn of any CPU changing apps like SetCPU or Rom-specific "performance" features before switching. You can then re-evaluate your settings.
Bamf is toro only still, I believe.
http://download.cyanogenmod.com/?device=maguro
Maguro cm9 (gsm).
Oh...
And bump for ze sake of easy access.
Wish I could get this stickied <_<
agreed this should be stickied...an a read this 20 times should be applied before posts can be made.....Oh and thanks for this it will be a one stop shop as it progress's.....
Awesome guide. Needs to be stickied. Also, I agree, my ass does look good in these shorts...
Sent from my GSM Galaxy Nexus using XDA Premium
beans_p_ said:
Awesome guide. Needs to be stickied. Also, I agree, my ass does look good in these shorts...
Sent from my GSM Galaxy Nexus using XDA Premium
Click to expand...
Click to collapse
Le' bump.
Huge props, this is fantastically written and very in depth. If I had never flashed before this would be brilliant. Thank you for your work mate excellent job
J
Sent from my Galaxy Nexus - AOKP M4 - Franco M1
Thanks sir!
Another bump.
And I'll continue to do this until this is stickied.
It's straight stupid to not even have ONE stickied thread about the basics...
Can't describe how fantastic this guide is; it should be stickied in both the general and the development section.
If it isn't too much trouble, it would be awesome if you could put the steps to renaming the recovery.sh so the clockwork mod sticks and perhaps to reverse it (if I remember this right).
SovereigN7 said:
Can't describe how fantastic this guide is; it should be stickied in both the general and the development section.
If it isn't too much trouble, it would be awesome if you could put the steps to renaming the recovery.sh so the clockwork mod sticks and perhaps to reverse it (if I remember this right).
Click to expand...
Click to collapse
Actually, I would include that...
But flashing recovery through rom manager works as well.
And I'd rather keep it noob-friendly.
I follow a forum where they said to rename that...and there are like 15 pages of people asking the same questions as to why terminal/adb aren't working.
Fixed wording of "shift" showing as "****" lol.
And...le bump.
@Jubakuba You might want to add the link for the recovery image for maguro as well. Your instructions only have toro in there! Beginners may get stuck on that.
ankushkatari said:
@Jubakuba You might want to add the link for the recovery image for maguro as well. Your instructions only have toro in there! Beginners may get stuck on that.
Click to expand...
Click to collapse
Look again, it's there.
Thanks though!
Edit:
Upon checking to make sure I wasn't wrong...
The link should have appeared next to the CDMA for simplicity.
So I updated.
This was initially a RootzWiki CDMA forum post...
Had to be edited for here a bit...and the merged CDMA/GSM forum here makes it a bit hard.
Thanks!
Awesome job on this Jubakuba, thank you for sharing it. Stickied it is.
(You can quit bumping it now )
xHausx said:
Awesome job on this Jubakuba, thank you for sharing it. Stickied it is.
(You can quit bumping it now )
Click to expand...
Click to collapse
Lol, sorry
And thanks!
thanks, I had no clue about tags, wish they worked with phone off.
That is a very good guide by the way. Wish I had that when I did my phone but I had a great guy help me out. So I was lucky. Thanks for this!

[GUIDE] [HOW-TO] Root Your Droid Incredible 2 VIA HTC Bootloader Unlock

My other thread got screwed up. So, I just thought it would be easier to re-write it all over.
Some warnings:
-This is not a FULL unlock (S-OFF or to unlock your SIM card slot.)
-This WILL VOID your warranty.
-This will work with ANY version of HBOOT. Unless something has changed and I never update.........
-This is a how to for WINDOWS ONLY. Sorry Mac, Linux, and Unix. If someone knows how to do it VIA those ways, I'll add it in here.
-If you are logged out of HTC Dev at any time during the identifier period (1 - 5), just sign back in and don't click anything. It will automatically redirect you to the last page you were on.
-I am not responsible if you didn't follow a step correctly and your phone lights on fire, cracks into two, wants to destroy you, etc...
If you like to learn visually (like me) and would rather not go through my jumble of steps, check out this YouTube video. [link]
What you are going to need:
-A computer
-Fastboot and ADB [API] - [link] <-- These are applications I use to flash ROM's. They are in a .zip from me.
-HTC Drivers - [link] <-- Drivers HTC gives, couldn't find them on HTC's site.
-Android SDK - [link]
-microUSB cable, phone, and some time
STEPS TO ROOT: finally...
1.) You are going to want to head over to the HTC Dev[eloper] site ([link]) and make an account or sign in. Once you have done one of the two, you are going to want to click 'Unlock Bootloader,' then 'Get Started.' It will next ask you what device you are trying to unlock, click 'Droid Incredible 2 (Verizon)' then 'Begin Unlock Bootloader.' Then a pop up window will ask you if you are sure, just click 'Yes.' Then, another pop up window will appear, just tick the two boxes and press 'Proceed to Unlock Instructions.'
2.) Go to your phone. Take off the [back] battery door and remove the battery (don't hold the power button and make it a proper shut off, just rip the battery out. Then, put the battery back in. Once you have replaced the battery, hold the volume down button and the power button at the same time until a white screen shows up. You can use the volume rocker to highlight your selection, and the power button to select the highlighted selection. Right now, we want to highlight 'BOOTLOADER' and use the power button to select it. Next, grab your miniUSB cable and plug it into your computer to your phone.
3.) Next, make a folder on your computer in the C:\ Drive. In Windows Vista & 7, you can just go to Computer from the Start Menu and it will be labeled Local Disk (C:\). You can name the folder whatever you want, I am just going to name it Android. Next, you are going to want to download my ADB, Fastboot, and ADBAPI .zip file and place all three files into the Android folder. After you unzip the ADB/Fastboot folder, you are going to want to (if you have not already) download and install the Android SDK manager. You will need to install SDK tools [and I believe a version of Android?] After you have installed everything, you can go to the Start Menu again and type in 'cmd' in the search bar and press enter. Then type in the following: (Or you could take the easy way of going to your C:\ drive and shift-clicking the folder and press 'Open Command Window Here...)
Code:
cd C:\Android
4.) After you have got into Command Prompt and are in the \Android folder, type in the following:
Code:
fastboot oem get_identifier_token
You will then see a great big brick of random characters. Right click in the bottom right-hand corner of '<<<<< Identifier Token End >>>>>' and click 'Mark...' Hold down the left-mouse-button and select the great brick of text up until '<<<< Identifier Token Start >>>>' (don't highlight any of the 'INFO' things.) Then, right-click again and you will have the identifier token copied to your clipboard. Back on the HTC Dev site, it will ask you for your identifier; just paste the identifier in the box and it will send you an email with a .bin file (Unlock_code.bin) and just throw that into the folder with ADB and Fastboot.
5.) You are going to want to click the continue link that HTC Dev sent you as well to downloading the file. After you have finished downloading and put it in the folder, type in the following:
Code:
fastboot flash unlocktoken Unlock_code.bin
Once you have done that and pressed Enter, your phone will change screens. It will ask you if you are SURE you want to do this. Just press the volume rocker up and press the power button. Your phone will reboot and take you back to Android. It's normal and it doesn't mean it failed... Your phone is fine and it should have went OK if you followed the steps. We are done with HTC Dev now, so you can close it.
6.) Next thing we are going to want to do is flash ClockWorkMod (CWM) Recovery onto your phone. You are going to want to download the .iso for CWMR and flash it to your phone (download link [link].) After you are done downloading the .iso, place it into your ADB and Fastboot folder. Once your phone has finished starting up, take the battery out again and put it back into HBOOT mode (step 2.) You are going to want to go back into FASTBOOT (step 2, again) and flash the recovery by doing the following:
Code:
fastboot flash recovery recovery(press TAB)
Once you press enter and fastboot says it has completed, it will just have the Fastboot screen. Just highlight 'Bootloader' and press the power button. Next, to make sure it worked... Scroll down to 'Recovery' (which is right under Fastboot) and select it. The HTC screen should show and then CWMR should come to life.
7.) This is where the real magic happens. We are going to install SuperUser on to your phone now. Reboot your phone into regular Android. Now, you can plug it into the computer and make it a disk drive or pop out the miniSD card and put it into a converter. Now, you are going to want to download SuperUser ([link] - make sure your scroll down to the .zip dowload) and put it onto the miniSD (I recommend not putting it in any folders so it is easy to find.) Now, put your phone back into CWMR (step 6.) Now, use the volume rocker to scroll down to 'install .zip from sd card' and press the power button. Now, find the SuperUser.zip (or whatever it is named) and press the power button. The 'yes' to install it is in the middle of all the 'no' options, use the volume rocker to select 'yes' and press the power button. Wait for CWMR to finish, and in the meantime... Just stare at your phone. After you have finished installing SuperUser, restart your handset into Android. Once it has finished restarting, go into the app drawer and find the SuperUser app. Press the 'menu' button and tap 'Settings.' Scroll down to 'Su Binary x.x.xx' and tap it. On the bottom it will say 'Update Binary,' just tap that and it will do its 'magic.' Once SU has finished updating Binary, you have a rooted DINC2.
If you need any help, please let me know here, or on Twatter (@Rumor0922)
Updated post. Finished the guide. Hope you guys enjoy.
thanks for your guide - I'm needing to get something fresh on my wife's DI2...and I'm not as savvy with the HTCs as I am with my GNex.
The problem I have initially run into is the JDK - I have it installed....but whenever I try to install the Android SDK, the installer tells me that it does not recognize an installed JDK...
Also, I did notice that your Fastbook & ADB link is not active - is it obsolete now?
Thanks again, hopefully I can get this puppy running smoothly soon
jegawhat said:
thanks for your guide - I'm needing to get something fresh on my wife's DI2...and I'm not as savvy with the HTCs as I am with my GNex.
The problem I have initially run into is the JDK - I have it installed....but whenever I try to install the Android SDK, the installer tells me that it does not recognize an installed JDK...
Also, I did notice that your Fastbook & ADB link is not active - is it obsolete now?
Thanks again, hopefully I can get this puppy running smoothly soon
Click to expand...
Click to collapse
Android SDK includes fastboot and adb, so it isn't necessary. Are you sure you have the JDK installed? What version? I know OpenJDK was giving me trouble so I had to switch to the official JDK.
Sent from my Transformer Pad TF300T using Tapatalk 2
prototype7 said:
Android SDK includes fastboot and adb, so it isn't necessary. Are you sure you have the JDK installed? What version? I know OpenJDK was giving me trouble so I had to switch to the official JDK.
Sent from my Transformer Pad TF300T using Tapatalk 2
Click to expand...
Click to collapse
Yep, just tried to reinstall 7u7 from the oracle site....no dice with SDK. Weird. I'll try with another PC to see if my laptop just licks
I added the ADB and Fastboot link, I thought it was already added... So, that is my fault. And like prototype said, Android SDK also includes ADB and Fastboot. Hope the best to your wife and the phone.
getting error!
EVoorhees said:
I added the ADB and Fastboot link, I thought it was already added... So, that is my fault. And like prototype said, Android SDK also includes ADB and Fastb7Aoot. Hope the best to your wife and the phone.
Click to expand...
Click to collapse
Hey guys im trying to root this phone with your instructions so I can use it for straight talk. Any who this error is popping up in cmd
<bootloader> [err] comand error !!!
OKAY [ 0.007s]
finished. total time: 0.008s
any help would be great and much appreciated!
how to de odex a rom
is there an easy way
thanks.
casseer15 said:
how to de odex a rom
is there an easy way
thanks.
Click to expand...
Click to collapse
www.google.com
Sent from my Incredible 2 using Tapatalk 2
Take it to the house said:
Hey guys im trying to root this phone with your instructions so I can use it for straight talk. Any who this error is popping up in cmd
<bootloader> [err] comand error !!!
OKAY [ 0.007s]
finished. total time: 0.008s
any help would be great and much appreciated!
Click to expand...
Click to collapse
This isn't for a SIM CARD tray unlock. It's just to root you phone and get ROMS and SU apps on it. Look around for a SIM unlock.
Sent from my HTC Incredible 2 using xda premium
6.) Next thing we are going to want to do is flash ClockWorkMod (CWM) Recovery onto yoour phone. You are going to want to download the .iso for CWMR and flash it to your phone (download link [link].) After you are done downloading the .iso place it into your ADB and Fastboot folder. Once your phone has finished starting up, take the battery out again and put it back into HBOOT mode (step 2.) You are going to want to go back into FASTBOOT (step 2, again) and flash the recovery by doing
Click to expand...
Click to collapse
the following:
In my download folder this shows up as an image file, is this right?
Does this mean that C: Android folder I created in the beginning of the guide? If not, where am I supposed to place it?
Does flashing it to my phone mean simply copy/pasting this cwm image file into the adb and fastboot folder?
Sorry guys I've been lurking for weeks. Successfully rooted my galaxy nexus and that was a breeze compared to this!
JimHTP said:
the following:
1.) In my download folder this shows up as an image file, is this right?
2.) Does this mean that C: Android folder I created in the beginning of the guide? If not, where am I supposed to place it?
3.) Does flashing it to my phone mean simply copy/pasting this cwm image file into the adb and fastboot folder?
Sorry guys I've been lurking for weeks. Successfully rooted my galaxy nexus and that was a breeze compared to this!
Click to expand...
Click to collapse
1.) Yes, an .iso file is a disk image.
2.) I personally like to place it in the C:\ Drive, but people put it where ever they want to.
3.) Yes, just put that in the folder with Fastboot and ADB[API.]
Please fadtboot install as administrator in pc?
Sent from my E15a using xda premium
It shouldn't have to install. You have to use Fastboot VIA Command Prompt.
Sent from my Incredible 2 using xda premium
Ok i try thanks
Sent from my E15a using xda premium
Here this message its in spanish sorry
Sent from my E15a using xda premium
kdrumwork said:
Here this message its in spanish sorry
Click to expand...
Click to collapse
English equivalent: "fastboot" is not recognized as an internal or external command, operable program or batch file.
That's happening since you're still in the Administrator's directory - C:\Documents and Settings\Administrador\.
You need to use the "cd" command to change to the directory where you downloaded fastboot. Then you'll be able to use that command.
Ok thanks i try this bro :thumbup:
Sent from my E15a using xda premium
anyone have any trouble with the new twrp 2.3.1.0 on here?
The Dropbox link for the drivers is empty. Can you put a new one up?

[GUIDE][ROOT][CWR/TWRP][DEODEX][OVERCLOCKING] SGH-S730M - Samsung Galaxy Discover

Note: This is an old phone. It's no longer being supported by Samsung, and I see that nobody is selling this phone except for eBay or Amazon. I also have a new phone now and my Discover is simply sitting there for me to have fun with. I won't be actively developing for this phone. However, I will provide support with any issues you may encounter. This thread will be kept here for future reference if anyone needs help.
Update (2022): ​I am no longer using Android. This is my last update here.​Copies of the relevant files are shared in this google drive link:​
SGH740M Root Files - Google Drive
drive.google.com
​
Please thank Ivdoan he is the mastermind behind finding and implementing root for this phone.
Thanks to JohnnyGalto for giving us updated CWM, TWRP, and Partition Tables!
THIS THREAD IS INTENDED TO USE ONLY FOR THE SGH-S730M, AND NOT FOR ANY OTHER PHONE. I CANNOT CONFIRM THAT IT WILL WORK ON ANY OTHER SGH-S730 VARIANTS, SO USE THIS THREAD AT YOUR OWN RISK. I AM NOT RESPONSIBLE FOR ANY DATA LOSS, OR BRICKING THAT IS A RESULT FROM YOU CHOOSING TO ROOT. HOWEVER, IF YOU SOFT BRICK YOUR PHONE, IT CAN BE FIXED VIA CLOCKWORK RECOVERY. WARNING ABOUT USING ODIN: IF YOU ARE A NOOB, ONLY CLICK ON THE BUTTONS I TELL YOU TO CLICK, AND NOTHING ELSE. I ACCIDENTALLY SOFT BRICKED MY PHONE BECAUSE I HIT THE WRONG BUTTON WHILE USING ODIN - AND DONT WANT YOU TO DO THE SAME THING. AND LASTLY, ROOTING AND MODDING THIS PHONE WILL VOID YOUR WARRANTY. SINCE THERE IS NO OFFICIAL WAY TO RETURN TO STOCK, ONCE YOU MODIFY YOUR PHONE: YOU ARE ON YOUR OWN FATE!
IF YOU HAVE THE 730G VARIANT (Tracfone, Net10), GO HERE: http://forum.xda-developers.com/showthread.php?p=47417608
Click to expand...
Click to collapse
Issues and Bugs (Known Problems)
Okay, with deodexing - sometimes the SamsungIME.apk in the /system/app directory can be a pain to deal with! I put a warning in my deodex CWR script that tells about this issue. It does seem to correct itself overtime, so I am not too worried at the moment (but still very annoyed).
Also, it seems that many users have been experiencing strange battery problems (such as the phone suddenly losing half of its charge in 3 minutes). I hope it is an software issue (correctable), or just a battery issue (fixable), rather than a hardware issue (hard to fix).
Rooting, Custom Recovery, and Unbricking Guide (Everyone)
]If you want to root your phone then follow part A.
If you want to root your phone and add custom recovery then follow parts A and B.
If you have soft bricked your phone, then please complete all steps outlined below (if not already done yet).
The tutorial is done on a Windows computer and is meant for a Windows computer. Steps will vary slightly or tremendously if it is done on any other OS.
Part A - Rooting the SGH-S730m
1. Download and install UnlockRoot Free on your PC. YOU DO NOT HAVE TO INSTALL BLOATWARE!!! PLEASE READ SETUP INSTRUCTIONS CAREFULLY!!!
2. Download and Install Samsung USB Drivers. If it prompts you to reboot for any reason, then reboot your Computer.
3. After all of this is over, you have to prepare yourself for the hardest part of this whole process, and maybe the most complicated dilemma you will ever face in the entirety of your lives.
4. Turn on your phone if it isn't already. Wait for the phone to fully boot.
5. Plug your phone into the computer via USB.
6. Run UnlockRoot on your computer and click the "Root" Button (when it prompts you to install bloatware apps on your device, say no).
DO NOT UNPLUG YOUR PHONE UNTIL UnlockRoot SAYS IT IS OK TO DO SO!!!!
Congratulations, you have should now have a rooted SGH-730m in proximity to your hands! :fingers-crossed:
How to verify your 730M is rooted
If by any reason, you feel unsure as to if your phone is actually rooted or not:
Install a root checking app.
These apps will tell you if your phone has root access or not.
Try Root Checker from the Google Play Store.
Install a terminal emulation app.
In these apps, type the command "su" (without quotes). If you get "permission denied" you have not rooted your device. If it prompts you for root privileges (ie a popup appears) then your device is rooted!
Try Terminal Emulator from the Google Play Store.
If you are a n00b (like me occasionally), and you fail to understand why something works, or, the exact opposite: Don't worry! You probably thought the auxiliary headphone jack was the USB port, or, thought you should unplug your phone early, despite me warning you not to do that. That's okay, you can get it fixed.
Part B - Installing a Custom Recovery
If you are not already acquainted with the idea of Custom Android Recovery, don’t be afraid. It allows developers, tweakers and noobs alike to backup, restore, fix, and to install custom ROMs and Kernels designed specifically for their device. It becomes extremely useful, because it allows people to remove “soft bricks†from their devices (which occurs when someone flashes data to the wrong device, or wrong parts of the device respectively).
I know you probably just want to not read this stuff anyways But I need to pay tribute to the developers Ivdoan and JohnnyGalto for there amazing work at compiling these custom binaries for the Samsung Galaxy Discover. Thanks guys.
So, lets get started – shall we?
Click to expand...
Click to collapse
YOU MUST ROOT YOUR PHONE BEFORE YOU DO THIS!!!!!
1. Download either the SGH_S730M.CWM_6.0.3.1.custom.recovery.tar.zip or the SGH_S730M.TWRP_2.5.0.0.custom.recovery.tar.zip file, and extract its contents to your desktop (if you don’t know what a desktop is, then please leave. You will probably break your device).
Just to clarify for those noobs out there: CWR stands for “ClockWork Recovery†and TWRP stands for “Team Win Recovery Projectâ€. They both are custom recoveries, and basically do the same thing. Personally, I would recommend the CWR for people that just want simplicity, and the TWRP for people that want more appeal. TWRP for this device is still under development, so be careful!
Click to expand...
Click to collapse
2. Then, download the Odin Flashing Program attached to this post. Extract its contents to wherever you find necessary.
DO NOT MESS WITH ODIN! IT IS NOT A TOY! IT CAN BRICK YOUR PHONE!
Odin, is a flashing tool. It is not made to be user friendly, and is meant for people who know how to use it. I will be very blunt by saying that I AM NOT RESPONSIBLE FOR YOU NOT DOING EXACTLY WHAT I TELL YOU! PROCEED WITH CAUTION!
Click to expand...
Click to collapse
3. Right Click on Odin, and click “Run as Administrator†(if available).
4. CLICK ON THE PDA BUTTON
5. When the file window appears, browse to the desktop directory (your desktop) and select either the S730M-CWR.tar.md5 or the S730M-TWRP.tar.md5 (depending on what version you downloaded).
6. Now shutdown your phone. Plug your phone into your computer. Boot into download mode by turning on the phone (release the power button as the phone vibrates) and holding the lower volume button and home key. Follow the instructions (press the upper volume button) to continue with download mode.
7. If your phone has been detected by Odin, the proceed.
8. Inside of Odin, press the Start button.
DO NOT DISCONNECT, UNPLUG, PLAY WITH ANY BUTTONS, OR CLICK ANYTHING ON EITHER THE PHONE OR COMPUTER UNTIL ODIN HAS FINISHED FLASHING CLOCKWORK RECOVERY ON YOUR PHONE.
8. To boot into clockwork recovery, hold down the upper volume and power key until the first vibration, then just hold the volume key.
That should be IT! :highfive:
Part C - Soft Brick Recovery (CWM Recovery Only!)
YOU MUST HAVE A MICRO SD CARD WITH AT LEAST 400 MB OF FREE STORAGE SPACE TO DO THIS!
build.prop restore script
You need busybox installed on your phone in order to use this script! If you dont have busybox, it wont work.
If you messed up your build.prop file (If you did, then you will know that you did), then you can use this script to restore you build.prop file to the original stock format.
1. Download the build.prop restore script, to your device (preferably a computer).
2. Place the zip file to the root (/) directory of your micro SD Card.
3. Remove the SD card from the computer, and turn off the SGH-S730M.
4. Remove the back plating from the phone, and insert the micro SD card into the phone. It should be named SGH-S730M CWR stock build.prop.
5. After putting the phone back together, boot into recovery by holding down the upper volume and power key until the first vibration, then just hold the volume key.
6. Using the volume buttons as scrolling keys, scroll down using the lower volume until you see install zip from sdcard as highlighted text. Using the power key as the enter button, click the power button.
7. Then, also using the volume keys, scroll down to the choose zip from sdcard option, and click the power button.
8. If you placed the zip file exactly where I told you to: you should see SGH-S730M CWR stock build.prop as an item. Scroll down to the file and click the power button. Then, when it prompts you to "Confirm Install", scroll down to "Yes - install".
9. Press the power button.
WAIT FOR THE PHONE TO BE 100% DONE EXECUTING THE SCRIP! YOU COULD MESS UP THE PHONE. DO NOT TURN OFF THE PHONE.
Full Restore (If all else fails)
To reduce confusion, please remove any backups that you may already have (which would be funny, you wouldnt have to do this anyways).
1. Download the rooted stock CWM Recovery Image (.zip) from here, to your device (preferably a computer). http://forum.xda-developers.com/showthread.php?t=2677332
2. Extract ALL of the contents of the zip file to the root (/) directory of your micro SD Card. The folder should be named "clockworkrecovery".
3. Remove the SD card from the computer, and turn off the SGH-S730m.
4. Remove the back plating from the phone, and insert the micro SD card into the phone.
5. After putting the phone back together, boot into recovery by holding down the upper volume and power key until the first vibration, then just hold the volume key.
6. Using the volume buttons as scrolling keys, scroll down using the lower volume until you see backup and restore as highlighted text. Using the power key as the enter button, hit the power button.
7. Then, also using the volume keys, scroll down to the restore option, and click the power button.
8. If you extracted the zip file the exact way I told you to: you should see a menu option. If you didn't do what I told you to, you may see "No files found". If it says "cant mound /sd" (or something similar), you probably have a bad SD Card, or, forgot to put it in correctly.
9. Press the power button.
WAIT FOR THE PHONE TO BE 100% DONE RESTORING YOUR BACKUP TO THE PHONE! YOU COULD HARD BRICK THE PHONE (BECAUSE CWM RECOVERY WRITES TO THE BOOTLOADER). DO NOT TURN OFF THE PHONE. THE PHONE IS NOT FROZEN IF IT WONT RESPOND FOR A WHILE.
10. If you did this correctly, you should have a rooted, and restored SGH-S730m!
Part E - Removing that annoying triangle from the boot sequence
Use the triangleaway script in the attatchments. (triangleaway.zip)
It resets flash counter and resets binary status to official.
Might have to do a factory reset to return current status to official.
Boot your phone into recovery mode
Extract triangleaway.sh from the zip file.
Open up ADB Shell
push triangleaway.sh /tmp
chmod 755 triangleaway.sh
execute triangleaway.sh
Reboot Phone.
Overclocking and Modding (DEVELOPERS ONLY)
SYSTEM MODS
If you don't know what you are doing, then, please don't read any further. its for your own good
The CSC directory can be deleted (and the files in the main /system directory that are associated with it). It does not affect the phone at all. Also, If you go to /system/etc/feature_default.xml you can change the phones features. So far, I have done many tweaks to the Messaging, Phone, Settings, People (Contacts) and Lock screen of the phone! If you are a developer (or tweaker like me), you should be able to enable/disable whatever you like using the feature_default.xml.
Overclocking
FitAmp has made a overclocking script for 1GHz (1000MHz). There is quite a noticeable difference in response, but, the phone still tends to lag a bit. File is attatched to the thread (S730M-OC-1000MHz.zip)
Custom ROMs
Custom ROMS by atmu5fear. All flashable ZIPs. - http://forum.xda-developers.com/showthread.php?t=2677332
I'm also making one for the Discover. It should be coming soon.
Please click :good: if it works for you!
Where can I find the OC script? Thanks
evertking said:
Where can I find the OC script? Thanks
Click to expand...
Click to collapse
The Script it attached to this post.
Procedures (using ADB)
put boot.img on sdcard:
adb push boot.img /sdcard/boot.img
Then, from adbshell:
su
dd if=/sdcard/boot.img of=/dev/block/mmcblk0p8
then reboot device.
shifattk said:
the op of this post decided to dump this thread and developing, so i decided to take over & repost this, as requested by the op.
I will also organize and add more of my stuff. That might take at least a week or so since everything is a mess right now, but i will do it.
***** original thread is here *****
please thank ivdoan he is the mastermind behind finding and implementing root for this phone.
Thanks to johnnygalto for giving us updated cwm, twrp, and partition tables!
issues and bugs (known problems)[
okay, with deodexing - sometimes the samsungime.apk in the /system/app directory can be a pain to deal with! I put a warning in my deodex cwr script that tells about this issue. It does seem to correct itself overtime, so i am not too worried at the moment (but still very annoyed).
Also, it seems that many users have been experiencing strange battery problems (such as the phone suddenly losing half of its charge in 3 minutes). I hope it is an software issue (correctable), or just a battery issue (fixable), rather than a hardware issue (hard to fix).
rooting, custom recovery, and unbricking guide (everyone)
if you want to root your phone then follow part a.
If you want to root your phone and add custom recovery then follow parts a and b.
If you have soft bricked your phone, then please complete all steps outlined below (if not already done yet).
The tutorial is done on a windows computer and is meant for a windows computer. Steps will vary slightly or tremendously if it is done on any other os.
part a - rooting the sgh-s730m
1. Download and install unlockroot free on your pc. You do not have to install bloatware!!! Please read setup instructions carefully!!!
2. Download and install samsung usb drivers. If it prompts you to reboot for any reason, then reboot your computer.
3. After all of this is over, you have to prepare yourself for the hardest part of this whole process, and maybe the most complicated dilemma you will ever face in the entirety of your lives.
4. Turn on your phone if it isn't already. Wait for the phone to fully boot.
5. Plug your phone into the computer via usb.
6. Run unlockroot on your computer and click the "root" button (when it prompts you to install bloatware apps on your device, say no).
do not unplug your phone until unlockroot says it is ok to do so!!!!
congratulations, you have should now have a rooted sgh-730m in proximity to your hands! :fingers-crossed:
how to verify your 730m is rooted if by any reason, you feel unsure as to if your phone is actually rooted or not:
install a root checking app.
these apps will tell you if your phone has root access or not.
Try root checker from the google play store.
install a terminal emulation app.
in these apps, type the command "su" (without quotes). If you get "permission denied" you have not rooted your device. If it prompts you for root privileges (ie a popup appears) then your device is rooted!
Try terminal emulator from the google play store.
If you are a n00b (like me occasionally), and you fail to understand why something works, or, the exact opposite: Don't worry! You probably thought the auxiliary headphone jack was the usb port, or, thought you should unplug your phone early, despite me warning you not to do that. That's okay, you can get it fixed.
part b - installing a custom recovery
you must root your phone before you do this!!!!!
1. Download either the sgh_s730m.cwm_6.0.3.1.custom.recovery.tar.zip or the sgh_s730m.twrp_2.5.0.0.custom.recovery.tar.zip file, and extract its contents to your desktop (if you don’t know what a desktop is, then please leave. You will probably break your device).
2. Then, download the odin flashing program attached to this post. Extract its contents to wherever you find necessary.
3. Right click on odin, and click “run as administrator” (if available).
4. Click on the pda button
5. When the file window appears, browse to the desktop directory (your desktop) and select either the s730m-cwr.tar.md5 or the s730m-twrp.tar.md5 (depending on what version you downloaded).
6. Now shutdown your phone. Plug your phone into your computer. Boot into download mode by turning on the phone (release the power button as the phone vibrates) and holding the lower volume button and home key. Follow the instructions (press the upper volume button) to continue with download mode.
7. If your phone has been detected by odin, the proceed.
8. Inside of odin, press the start button.
do not disconnect, unplug, play with any buttons, or click anything on either the phone or computer until odin has finished flashing clockwork recovery on your phone.
8. To boot into clockwork recovery, hold down the upper volume and power key until the first vibration, then just hold the volume key.
That should be it! :highfive:
part c - soft brick recovery (cwm recovery only!)
you must have a micro sd card with at least 400 mb of free storage space to do this!
build.prop restore script
you need busybox installed on your phone in order to use this script! If you dont have busybox, it wont work.
if you messed up your build.prop file (if you did, then you will know that you did), then you can use this script to restore you build.prop file to the original stock format.
1. Download the build.prop restore script, to your device (preferably a computer).
2. Place the zip file to the root (/) directory of your micro sd card.
3. Remove the sd card from the computer, and turn off the sgh-s730m.
4. Remove the back plating from the phone, and insert the micro sd card into the phone. It should be named sgh-s730m cwr stock build.prop.
5. After putting the phone back together, boot into recovery by holding down the upper volume and power key until the first vibration, then just hold the volume key.
6. Using the volume buttons as scrolling keys, scroll down using the lower volume until you see install zip from sdcard as highlighted text. Using the power key as the enter button, click the power button.
7. Then, also using the volume keys, scroll down to the choose zip from sdcard option, and click the power button.
8. If you placed the zip file exactly where i told you to: You should see sgh-s730m cwr stock build.prop as an item. Scroll down to the file and click the power button. Then, when it prompts you to "confirm install", scroll down to "yes - install".
9. Press the power button.
wait for the phone to be 100% done executing the scrip! You could mess up the phone. Do not turn off the phone.
full restore (if all else fails)
to reduce confusion, please remove any backups that you may already have (which would be funny, you wouldnt have to do this anyways).
1. Download the rooted stock cwm recovery image (.zip) i made from here, to your device (preferably a computer).
2. Extract all of the contents of the zip file to the root (/) directory of your micro sd card. The folder should be named "clockworkrecovery".
3. Remove the sd card from the computer, and turn off the sgh-s730m.
4. Remove the back plating from the phone, and insert the micro sd card into the phone.
5. After putting the phone back together, boot into recovery by holding down the upper volume and power key until the first vibration, then just hold the volume key.
6. Using the volume buttons as scrolling keys, scroll down using the lower volume until you see backup and restore as highlighted text. Using the power key as the enter button, hit the power button.
7. Then, also using the volume keys, scroll down to the restore option, and click the power button.
8. If you extracted the zip file the exact way i told you to: You should see a menu option. If you didn't do what i told you to, you may see "no files found". If it says "cant mound /sd" (or something similar), you probably have a bad sd card, or, forgot to put it in correctly.
9. Press the power button.
wait for the phone to be 100% done restoring your backup to the phone! You could hard brick the phone (because cwm recovery writes to the bootloader). Do not turn off the phone. The phone is not frozen if it wont respond for a while.
10. If you did this correctly, you should have a rooted, and restored sgh-s730m!
part d - soft brick recovery (twrp recovery only!)coming soon..
part e - removing that annoying triangle from the boot sequence..to a thread near you! (it's already here. I'm just organizing them so it is easier to understand and to use)
deodexing, overclocking and modding (developers only)
deodexing you rom
you must have a micro sd card with at least 100 mb of free storage space to do this!
so, after some work (and tons of patience), i managed to make a deodexed version of this phone. So, ive made a deodex script for cwr, that will remove you old /system/app and /system/framework directories, and makes new ones, with the new deodexed files.*
now, since this is considered a more "advanced" tweak, i am not going to post a step-by-step guide on how to do this.
Why? Well, if you really needed instructions to do this: You probably shouldn't be doing it anyways!
For developers: Make sure you have busybox installed, then install the zip here via cwr (its easy to see what file it is). Remember to wipe dalvik cache. There are some temporary bugs with the samsungime.apk, which wont work right for a while. Mysteriously though, the problem corrects itself after some time using the phone. Reply your findings!
For noobs: Don't do this, it will just make no difference, and i honestly don't feel like solving problems that don't need to be solved (or, ones due to illiteracy). Wait until you know what you are doing (and what an odex file is), then try this yourself.
system mods
if you don't know what you are doing, then, please don't read any further. Its for your own good
the csc directory can be deleted (and the files in the main /system directory that are associated with it). It does not affect the phone at all.
Also, if you go to /system/etc/feature_default.xml you can change the phones features. So far, i have done many tweaks to the messaging, phone, settings, people (contacts) and lock screen of the phone! If you are a devleloper (or tweaker like me), you should be able to enable/disable whatever you like using the feature_default.xml.
overclocking
fitamp has made a overclocking script for 1ghz (1000mhz). There is quite a noticeable difference in response, but, the phone still tends to lag a bit. File is attatched to the thread (s730m-oc-1000mhz.zip)
please click :good: If it works for you!
Click to expand...
Click to collapse
and where is the odin did you the number
thanks
manuelelitaliano said:
and where is the odin did you the number
thanks
Click to expand...
Click to collapse
Hi there,
Sorry for the late reply. I've been quite busy lately.
http://forum.xda-developers.com/showthread.php?t=2189539
^ That thread has the downloads for Odin.
???
Hey guys,
have we found a way to fix my problem with the phone, I still have no access to download, recovery, normal boot and it stays on for 7 secs max. This has ocured because I flashed the wrong file to modem. Let me know as I want to start working on development again.
camvar97 said:
Hey guys,
it stays on for 7 secs max.
Click to expand...
Click to collapse
^ That, to me looks like the battery is not charged (unless I am wrong).
camvar97 said:
Hey guys,
... I still have no access to download, recovery, normal boot and it stays on for 7 secs max. ... This has ocured because I flashed the wrong file to modem.
Click to expand...
Click to collapse
I've searched around a bit, and the best option would be to send it for repair IMO.
shifattk said:
^ That, to me looks like the battery is not charged (unless I am wrong).
I've searched around a bit, and the best option would be to send it for repair IMO.
Click to expand...
Click to collapse
as for the battery thats what samsung says might be the problem and that i need a new one
SGH-730G Users ONLY
Here is a thread I started this morning about the SGH-730G (Tracfone, Net10, Straight Talk) variant of the Discover. I created this thread so there wouldn't be confusions due to the slight differences between the 730G and the 730M variants. Right now there is a root method listed, and I am working on an Odin flashable recovery from soft brick. I will also be posting things that I have figured out so far, and in the next day or so a full deodexed version of the stock firmware. Coming later will be a custom rom. If anyone in this thread has dev experience and has the 730M variant, PM me about this custom rom as I would like to make it compatible with both versions of the phone but will have to work out the differences between the two to make it fully compatible. New thread for the 730G - http://forum.xda-developers.com/showthread.php?p=47417608
TheGeekyNimrod said:
Here is a thread I started this morning about the SGH-730G (Tracfone, Net10, Straight Talk) variant of the Discover. I created this thread so there wouldn't be confusions due to the slight differences between the 730G and the 730M variants. Right now there is a root method listed, and I am working on an Odin flashable recovery from soft brick. I will also be posting things that I have figured out so far, and in the next day or so a full deodexed version of the stock firmware. Coming later will be a custom rom. If anyone in this thread has dev experience and has the 730M variant, PM me about this custom rom as I would like to make it compatible with both versions of the phone but will have to work out the differences between the two to make it fully compatible. New thread for the 730G - http://forum.xda-developers.com/showthread.php?p=47417608
Click to expand...
Click to collapse
I've added a link to your thread to the original post such that people don't get confused and/or break their phones. Thank you fore making the thread.
shifattk said:
I've added a link to your thread to the original post such that people don't get confused and/or break their phones. Thank you fore making the thread.
Click to expand...
Click to collapse
Word. I know some people were confused in another thread. Root methods are basically the same but there are structual differences between them when it comes to mounting points for restore and such. Thanks for addinthe link to the OP. I'll go back in a few and add a link here in my OP for the same purpose.
Does anyone know how to carrier unlock for this phone yet.
question?when i try to install CMW it keeps failing nand rite mode and restarting! any solution or different ay to try,still showing stock recovery but rooted!
Hello guys is there any way to unroot??? thanks
alexandros050 said:
Hello guys is there any way to unroot??? thanks
Click to expand...
Click to collapse
You can use unlockroot software to unroot.
I tested rooted and unrooted.
x1745 said:
You can use unlockroot software to unroot.
I tested rooted and unrooted.
Click to expand...
Click to collapse
Ok thank you very much for your reply
Take a look at This, I've created a flashable zip that both roots the phone and installs the overclock kernel found in this thread. Thought you might be interested
edit: I also just posted a flashable stock rom here. it's deodexed, rooted, and overclocked.
Restl3ss said:
Take a look at This, I've created a flashable zip that both roots the phone and installs the overclock kernel found in this thread. Thought you might be interested
edit: I also just posted a flashable stock rom here. it's deodexed, rooted, and overclocked.
Click to expand...
Click to collapse
I tried flashing your ROM, get error status 255, installation aborted...
shifattk said:
The Script it attached to this post.
Procedures (using ADB)
put boot.img on sdcard:
adb push boot.img /sdcard/boot.img
Then, from adbshell:
su
dd if=/sdcard/boot.img of=/dev/block/mmcblk0p8
then reboot device.
Click to expand...
Click to collapse
Phone wont boot past samsung logo after this. Followed your instructions exactly
atmu5fear said:
Phone wont boot past samsung logo after this. Followed your instructions exactly
Click to expand...
Click to collapse
Did you make a CWM backup before doing it? If you did, boot into CWM recovery and flash the recovery package.

f*cked up phone

first of all i want to say that I almost know nothing about rooting and stuff.
I rooted my phone with the all-in-one toolkit and actually didn't know what I was doing. I was just clicking next and did what the screen told me to do. Everything went great and i had no problems until know. I downloaded and flashed the venom dotview tweak but it didn't work and the normal dot view which I reinstalled also didnt work so I decided to do a recovery from the settings app. it was really stupid to do that beacause my softkeys and statusbar are gone know and the flashed apps are still there. Is there a way to have my phone like it was when I bought it? I don't need a root anymore, I just want my phone getting to work normal.
Thanks
CrankyPants said:
first of all i want to say that I almost know nothing about rooting and stuff.
I rooted my phone with the all-in-one toolkit and actually didn't know what I was doing. I was just clicking next and did what the screen told me to do. Everything went great and i had no problems until know. I downloaded and flashed the venom dotview tweak but it didn't work and the normal dot view which I reinstalled also didnt work so I decided to do a recovery from the settings app. it was really stupid to do that beacause my softkeys and statusbar are gone know and the flashed apps are still there. Is there a way to have my phone like it was when I bought it? I don't need a root anymore, I just want my phone getting to work normal.
Thanks
Click to expand...
Click to collapse
Restore you stock ROM nandroid. Look for it in here COLLECTION of Stock backup's seeing as you really didn't bother to provide us with the relevant and more important information such as the CID and Main software version you were on before you decided to mess your phone up and I doubt you made a backup of your device before doing it.
Is your phone still recognized by a pc?
If so, just load another ROM on your sd card.. Wipe everything and flash through recovery. You'll lose all your data, but your phone will be back.
Since you are new to this - CONGRATS! You just learned the most important rule of flashing. Always make a backup first!
Good luck man. It's an easy fix.
I guess I will be the "bad guy" but why are you messing with your phone when you have no clue what you are doing?
Everyone starts somewhere. Im sure we all learned a lot of what we know now by making lots of stupid mistakes. This logic rings true for life... not just phones.
lucas.scott said:
Is your phone still recognized by a pc?
If so, just load another ROM on your sd card.. Wipe everything and flash through recovery. You'll lose all your data, but your phone will be back.
Since you are new to this - CONGRATS! You just learned the most important rule of flashing. Always make a backup first!
Good luck man. It's an easy fix.
Click to expand...
Click to collapse
yes and no, my pc sees him but the phone folder is empty en htc manager gives an error. any idee how to put a rom on the phone?
CrankyPants said:
yes and no, my pc sees him but the phone folder is empty en htc manager gives an error. any idee how to put a rom on the phone?
Click to expand...
Click to collapse
Unlock bootloader,install a custom recovery via adb then download a custom rom of your choice then move it to ext/internal sd.you may use otg.Then go to the custom recovery(TWRP/Cwm/philz) wipe then install zip through the location.
Jyotirdeb said:
Unlock bootloader,install a custom recovery via adb then download a custom rom of your choice then move it to ext/internal sd.you may use otg.Then go to the custom recovery(TWRP/Cwm/philz) wipe then install zip through the location.
Click to expand...
Click to collapse
How to install a custom recovery via adb and what is adb?
sorry I don't know anything
CrankyPants said:
How to install a custom recovery via adb and what is adb?
sorry I don't know anything
Click to expand...
Click to collapse
This is why you shouldn't use all in one toolkits, you don't learn anything like that and if you're not willing to learn then you probably shouldn't mess around with these things in the first place, expect others to then fix the problems for you. I'm not trying to be mean here, just stating fact.
Download the Android SDK
After downloading, extract the .zip file. Then go into folder inside the sdk folder you'll find a folder named "platform-tools" right click that folder and copy it on your desktop(Ease of access). Inside that platform-tools folder you'll find the applications adb and fastboot.
Download HTC Sync Manager in order to install the drivers(If you haven't done so already and just to be sure).
Download custom recovery, either Philz CWM Recovery or TWRP Recovery . Place the downloaded .img recovery file inside the platform-tools folder.
Make sure your phone has USB-Debugging enabled, if you don't have developer mode on phone. Go to Settings > About > Software Information > More > Tap 7times on Build Number. This will enable developer options. Go back to Settings and scroll down to Developer Options, open it and enable USB Debugging.
Connect your phone to the PC, make sure to accept any prompts that might appear on the phone then inside the platform-tools folder, hold shift then right click, then select "Open Command prompt here". Type adb devices if adb picks up your device it'll show you your devices serial number. Next type adb reboot bootloader to boot into bootloader mode then type fastboot devices again just to make sure the device is connected and being picked up by the prompt. Type fastboot flash recovery name_of_recovery_you_downloaded.img MAKE SURE you type in the correct name for the recovery, exactly the same!!!
When it's done, flash ROM of your choice.
I'm a beginner too, but I learnt loads from watching videos from a channel called Sakitech on YouTube. I watched them over a few times to understand the process before doing anything.
Unlook bootloader:
https://www.youtube.com/watch?v=rEVSfwXsx-c&index=3&list=PLRt6ru-Tz2f4tMLvv9wm9yyiW9mTeVIGA
Turn S-Off:
https://www.youtube.com/watch?v=--Hlms1BuPg&list=PLRt6ru-Tz2f4tMLvv9wm9yyiW9mTeVIGA&index=4
Install a custom recovery and root your phone
https://www.youtube.com/watch?v=WuHFcGvUjwA&feature=youtu.be
Install a custom rom:
https://www.youtube.com/watch?v=t4KeVs5axtM
Remember to backup before you put your phone under serious surgery!
https://www.youtube.com/watch?v=eda67mn-oXc
Hope this helps.
leongwengheng said:
I'm a beginner too, but I learnt loads from watching videos from a channel called Sakitech on YouTube. I watched them over a few times to understand the process before doing anything.
Unlook bootloader:
https://www.youtube.com/watch?v=rEVSfwXsx-c&index=3&list=PLRt6ru-Tz2f4tMLvv9wm9yyiW9mTeVIGA
Turn S-Off:
https://www.youtube.com/watch?v=--Hlms1BuPg&list=PLRt6ru-Tz2f4tMLvv9wm9yyiW9mTeVIGA&index=4
Install a custom recovery and root your phone
https://www.youtube.com/watch?v=WuHFcGvUjwA&feature=youtu.be
Install a custom rom:
https://www.youtube.com/watch?v=t4KeVs5axtM
Remember to backup before you put your phone under serious surgery!
https://www.youtube.com/watch?v=eda67mn-oXc
Hope this helps.
Click to expand...
Click to collapse
Good choice on the videos, these days reading is a bit to tedious for most people. Heck, they don't even read "STOP" on the STOP signs anymore, just drive straight past
I have a super short attention span so I need YouTube to learn anything in life lol.
Sent from my HTC One_M8 using XDA Free mobile app
leongwengheng said:
I have a super short attention span so I need YouTube to learn anything in life lol.
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
Good luck at school then and later on in your job
Lucky boy having such a commited community here. You could've quite easily ended up with a £600 paper weight. Might want to show some appreciation to everyone holding your hand through a process that you should've read about before doing anything. Must admit, I did like the 'I just kept hitting next without knowing what I was doing', that's probably the best thing I've read lol lol.
Sent from my HTC One_M8 using XDA Premium 4 mobile app
BerndM14 said:
This is why you shouldn't use all in one toolkits, you don't learn anything like that and if you're not willing to learn then you probably shouldn't mess around with these things in the first place, expect others to then fix the problems for you. I'm not trying to be mean here, just stating fact.
Download the Android SDK
After downloading, extract the .zip file. Then go into folder inside the sdk folder you'll find a folder named "platform-tools" right click that folder and copy it on your desktop(Ease of access). Inside that platform-tools folder you'll find the applications adb and fastboot.
Download HTC Sync Manager in order to install the drivers(If you haven't done so already and just to be sure).
Download custom recovery, either Philz CWM Recovery or TWRP Recovery . Place the downloaded .img recovery file inside the platform-tools folder.
Make sure your phone has USB-Debugging enabled, if you don't have developer mode on phone. Go to Settings > About > Software Information > More > Tap 7times on Build Number. This will enable developer options. Go back to Settings and scroll down to Developer Options, open it and enable USB Debugging.
Connect your phone to the PC, make sure to accept any prompts that might appear on the phone then inside the platform-tools folder, hold shift then right click, then select "Open Command prompt here". Type adb devices if adb picks up your device it'll show you your devices serial number. Next type adb reboot bootloader to boot into bootloader mode then type fastboot devices again just to make sure the device is connected and being picked up by the prompt. Type fastboot flash recovery name_of_recovery_you_downloaded.img MAKE SURE you type in the correct name for the recovery, exactly the same!!!
When it's done, flash ROM of your choice.
Click to expand...
Click to collapse
I have one problem. Since I don't have the notification bar anymore, the phone doesn't notificate me. How will I get the USB notification to work?
CrankyPants said:
I have one problem. Since I don't have the notification bar anymore, the phone doesn't notificate me. How will I get the USB notification to work?
Click to expand...
Click to collapse
If there's a pop up it'll show on screen, have you tried the adb devices command to see if your phone gets picked up?
Out of curiousity though, when you used the toolkit didn't you have to enable USB Debugging anyway? I'm not familiar with the toolkit, don't use it myself...? If you already enabled it then it's fine, as long as adb devices picks up your device then you're good to go.
BerndM14 said:
If there's a pop up it'll show on screen, have you tried the adb devices command to see if your phone gets picked up?
Out of curiousity though, when you used the toolkit didn't you have to enable USB Debugging anyway? I'm not familiar with the toolkit, don't use it myself...? If you already enabled it then it's fine, as long as adb devices picks up your device then you're good to go.
Click to expand...
Click to collapse
My device is already wiped so I have no configurations anymore.
I have no softkeys and no statusbar anymore since I recovered my phone with the settings app. So no statusbar means no pop-ups.
The adb devices command sees my device in the list of devices but next to it, it says 'offline'. when normaly it has to say 'device'.
CrankyPants said:
My device is already wiped so I have no configurations anymore.
I have no softkeys and no statusbar anymore since I recovered my phone with the settings app. So no statusbar means no pop-ups.
The adb devices command sees my device in the list of devices but next to it, it says 'offline'. when normaly it has to say 'device'.
Click to expand...
Click to collapse
You see it's supposed to throw a small pop up on the screen of the phone where it wants you to accept the RSA key to connect it to PC. It doesn't have anything to do with the softkeys or the notification bar on the top, it's supposed to be on the screen. I take it you probably can't even get into app drawer anymore in order to go to settings. Doesn't give any pop up on the screen... I think you really did f*** up your device
Did you use Hasoon2000's all in one toolkit? If so you probably had to have flashed a custom recovery, it's like the very next thing to do after you unlock bootloader?
BerndM14 said:
You see it's supposed to throw a small pop up on the screen of the phone where it wants you to accept the RSA key to connect it to PC. It doesn't have anything to do with the softkeys or the notification bar on the top, it's supposed to be on the screen. I take it you probably can't even get into app drawer anymore in order to go to settings. Doesn't give any pop up on the screen... I think you really did f*** up your device
Did you use Hasoon2000's all in one toolkit? If so you probably had to have flashed a custom recovery, it's like the very next thing to do after you unlock bootloader?
Click to expand...
Click to collapse
les us assume he is in stock.So he should have a stock recovery.now Boot into fastboot get the details fastboot getvar all.you will find the mid of your choice.download international fw's ruu open the zip there will be an android-info.txt file.edit the file with your mid(change 0P6B10000 to 0P6BXXXXX) where XXXXX represents your mid.then flash the ruu via recovery.Since he connects his device adb will at least detect it (i hope).
Also open toolkit on the right side it is written "next flash a recovery". Connect your phone and simply select twrp and press flash recovery.this should do it.For more details ask hasoon.
Jyotirdeb said:
les us assume he is in stock.So he should have a stock recovery.now Boot into fastboot get the details fastboot getvar all.you will find the mid of your choice.download international fw's ruu open the zip there will be an android-info.txt file.edit the file with your mid(change 0P6B10000 to 0P6BXXXXX) where XXXXX represents your mid.then flash the ruu via recovery.Since he connects his device adb will at least detect it (i hope).
Also open toolkit on the right side it is written "next flash a recovery". Connect your phone and simply select twrp and press flash recovery.this should do it.For more details ask hasoon.
Click to expand...
Click to collapse
To get getvar all you'll need fastboot commands, will fastboot commands even work if he MIGHT not have enabled USB Debugging or for that matter haven't accepted the RSA key?
That's why I asked about the recovery as well though. I saw that on hasoon's toolkit the flashing of a custom recovery was like the next step on the process which means that this guy should at least have a custom recovery already installed.

Categories

Resources