[HOW TO] ROOT HTC RUBY / AMAZE 4G - HTC Amaze 4G

This is a very simple device to root.
However if you root this device it will likely void your warranty.
There is no current method of obtaining S-OFF, so don't ask!
Requirements:
PC
Phone
USB Cable
External SDCARD (optional but highly recommended)
Internet Connection
HTC Drivers
Battery with a charge of over 50%
Ability to read
Ability to follow directions
Then you must view the following video!
If you meet these requirements then proceed to post #2.

Step #2 - Unlocking your bootloader
Copied from this thread by Revolution
Go to HTCDev.com
Make a account , here then go to this link and follow all instruction's , but make sure you go to this link , it don't show us as a supported device but this work's for all device's me & crackeyes have tried this .
Go to this link after that : here , follow all the step's , below will be my version .
1) Remove and reinsert the battery.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2) Press Volume Down and Power to start the device into Bootloader mode.
3) Use the Volume buttons to select up or down. Highlight Fastboot and press the Power button.
4) Connect the device to the computer via a usb cable
5) Make a folder in c:\ called Android & then input the file's from your android SDK their , such as
adb.exe
AdbWinApi.dll
fastboot.exe
6) Open up command prompt. ( Start > Run > Type CMD,). The window that appears is called Command Prompt.
7) Navigate to where you unzipped the ZIP file and go to the folder you just created (For Example: If you created the folder in C:\Android, then you would type in Command Prompt: cd c:\Android).
8) Type in Command Prompt: fastboot oem get_identifier_token.
9) You will see a long block of text. Copy and paste this text into the the token field below (in the command prompt: Right Click > Mark > highlight the block of text > Right click to copy).
10) Paste this string of text into the token field and hit Submit in order to receive your unlock code binary file. You will receive this information in your email.
Example:
11) On the bottom of http://www.htcdev.com/bootloader/unlock-instructions/page-3 , please input your result's & if it say's failed keep on trying & it will go threw .
Straight from HTCDev.com , & NOTE : THIS WILL VOID YOUR WARRENTY
You are about to start the process of unlocking your device. Unlocking your device allows you to install custom Operating Systems (“OS”) onto your device. Custom OS’s are not tested as thoroughly as your original OS, and unlocking your device may void all or parts of your warranty. HTC disclaims any and all liability for proper functioning of your device after the bootloader has been unlocked and for data lost in the unlocking process. To prevent unauthorized access to your data, unlocking the bootloader will delete all personal data from your device including applications, text messages and personalized settings.
Click to expand...
Click to collapse
Once you have unlocked your bootloader you can make changes to your /system partition.
The majority of you will probably never need to do this. This is because most developers use flashable zip files that will do everything for you. These files are flashed from Recovery Mode.
Let's move on to step #3

Step #3 - Installing Custom Recovery
Now that you have unlocked your bootloader you can now obtain root.
The easiest way to do this would be by installing a custom recovery.
I created a simple bat script that should update your recovery for you.
Boot up your phone and connect it to your computer by usb cable.
Go to Settings --> Applications --> Development.
Check USB debugging.
Unzip the attached file and run the Flash.bat file as Administrator.
Your phone should reboot and go to a white screen.
It should update the recovery for you automatically and reboot.
Now you should have yourself a custom recovery.
If by chance you decide that you would like to revert to the custom recovery then use the same technique with the STOCK_RECOVERY_FLASHER.zip file.
If a .bat script isn't your thing then try this thread: [TOOL] HTC Amaze 4G All-In-One Toolkit by Hasoon2000

Step #4 - ROOTING!
Now that you have your custom recovery installed it's time to flash root onto your phone.
Download a custom rom from the Development section or the HTC Amaze ROM Bible and store the zip onto your external sdcard.
If you do not want a custom rom but just want root simply download the attached Superuser-3.0.7-efghi-signed.zip file.
If you do not have an external sdcard then store it onto your internal sdcard.
The custom recovery from step #3 will default to an external sdcard if it's detected.
If the custom recovery from step #3 does not detect an external sdcard then it should default to your internal.
Now there are a couple different ways to reboot to recovery. The best way is to open the command prompt up and navigate to either directories from posts 1 or 2 that contains the adb.exe file.
For example this is from post #2.
If you stored it to your desktop directory then it would be something like:
C:\Users\Binary100100\Desktop\RecoveryInstallerForNoobs
so you may have to enter:
cd Desktop\RecoveryInstallerForNoobs
Now enter "dir" into the command prompt and press Enter and you should see something like:
c:\Users\Binary100100\Desktop\RecoveryInstallerForNoobs>dir
Volume in drive C has no label.
Volume Serial Number is 4850-996B
Directory of c:\Users\Binary100100\Desktop\RecoveryInstallerForNoobs
01/03/2012 05:04 PM <DIR> .
01/03/2012 05:04 PM <DIR> ..
11/08/2011 02:50 PM 366,661 adb
11/08/2011 02:50 PM 410,942 adb.exe
11/08/2011 02:50 PM 96,256 AdbWinApi.dll
11/08/2011 02:50 PM 60,928 AdbWinUsbApi.dll
11/08/2011 02:50 PM 127,435 fastboot
11/08/2011 02:50 PM 356,009 fastboot.exe
12/27/2011 12:37 AM 128 Flash.bat
12/27/2011 12:32 AM 5,187,584 recovery-cwm-ruby-5.0.2.7.img
8 File(s) 6,605,943 bytes
Click to expand...
Click to collapse
As long as you see adb, adb.exe, adbWinApi.dl and AdbWinUsbApi.dll you should be good to go.
Now without leaving the command prompt enter:
adb reboot recovery
Your phone should reboot and you should be looking at your recovery.
If for whatever reason you couldn't get access to recovery then go back to bootloader mode.
Remove the battery and put it back in. This is to make sure the device is completely powered off. Hold the Volume Down button while pressing power to get back to hboot mode. Just like step #1. Now if you don't see Recovery in the list then select BOOTLOADER. You should now see RECOVERY. Select that and your phone should reboot to recovery from there. Now that I know you're in recovery... let's move on.
From here you can flash your custom rom or root files.
Use the volume rocker buttons to move the highlight up and down the menu and highlight "Install zip from sdcard" then press the power button to select.
Now "choose zip from sdcard" then press power button again.
Highlight the downloaded custom rom or the Superuser-3.0.7-efghi-signed.zipfile and press power again. From here I think you have the idea.
Select the appropriate zip file and press the power button to install.
Now you can go back and then select "reboot system now" and let your device boot up.
Check the app drawer and make sure you have an app called SuperUser. If you have this app then you now have root.

If you followed the instructions like you were supposed to you should be fully rooted and unlocked the full potential of your HTC Amaze 4G phone.
Feel free to post your questions and comments here in this thread.
PLEASE! don't send me private messages asking for help. I just spent two hours making this as simple as I could to save me from all of the help requests. If you have problems then post in this thread and make sure to reference the step that you're having issues with.
Example:
Problem with Step #1 I can't follow directions. Someone do it for me. I'll be willing to pay $10,000,000 to have root.
Click to expand...
Click to collapse
Then I'm sure you will get plenty of help.
Remember to hit the thanks button to show your appreciation.

Thanks was wondering where the old sticky thread went!!! hopefully less questions with this one...It's much more clear.

seansk said:
Thanks was wondering where the old sticky thread went!!! hopefully less questions with this one...It's much more clear.
Click to expand...
Click to collapse
Which is exactly why I made it. Unfortunately the members that just got the device couldn't use the old PH85IMG.zip method because of the Main Version Older error and they couldn't use the tool that xboarder56 made because I had to remove it per request. I didn't want to make a tool that would do everything because then they would never learn for themselves. So I feel that this is a healthy balance.

Binary100100 said:
Which is exactly why I made it. Unfortunately the members that just got the device couldn't use the old PH85IMG.zip method because of the Main Version Older error and they couldn't use the tool that xboarder56 made because I had to remove it per request. I didn't want to make a tool that would do everything because then they would never learn for themselves. So I feel that this is a healthy balance.
Click to expand...
Click to collapse
good Idea I am having lots of flashing problems since 1.3 too, I didn't want to unlock it and I OTA'd...but then couldn't stand the bloatware and wanted more...now I'm having all kinds of problems, including kernel. so now If you could help me with the kernel, I posted question in general section, I'm kind of a semi-noob with kernels!!!!! lol

seansk said:
good Idea I am having lots of flashing problems since 1.3 too, I didn't want to unlock it and I OTA'd...but then couldn't stand the bloatware and wanted more...now I'm having all kinds of problems, including kernel. so now If you could help me with the kernel, I posted question in general section, I'm kind of a semi-noob with kernels!!!!! lol
Click to expand...
Click to collapse
Give me the link to your question and I'll do what I can to help.
Do you have access to fastboot and an unlocked bootloader?

Binary100100 said:
Give me the link to your question and I'll do what I can to help.
Do you have access to fastboot and an unlocked bootloader?
Click to expand...
Click to collapse
Yes, I'm familiar with all that stuff..unlocked and can get into fastboot. custom recovery is intact as well. here's the link: http://forum.xda-developers.com/showthread.php?t=1424757 post 8 and this almost the same http://forum.xda-developers.com/showthread.php?t=1328141&page=10 post 92....thanks you much in advance

Great job on this Binary!

IF PEOPLE HAVE PROBLEMS...you can always message me as well. BUT MAKE SURE TO READ AND FOLLOW DIRECTIONS FIRST...I'm am very familiar with all these procedures as well, just to take a load of binary and xboarder's backs...

seansk said:
IF PEOPLE HAVE PROBLEMS...you can always message me as well. BUT MAKE SURE TO READ AND FOLLOW DIRECTIONS FIRST...I'm am very familiar with all these procedures as well, just to take a load of binary and xboarder's backs...
Click to expand...
Click to collapse
Thank you very much! I don't have time to be 24/7 tech support.

jimczyz said:
Great job on this Binary!
Click to expand...
Click to collapse
Agreed. I wish this thread had been here when I rooted. It would have saved my hunting through 3 or 4 threads and trying to piece things together myself. Of course, I probably learned more that way.

marleyfan61 said:
Agreed. I wish this thread had been here when I rooted. It would have saved my hunting through 3 or 4 threads and trying to piece things together myself. Of course, I probably learned more that way.
Click to expand...
Click to collapse
I always encourage people to never stop learning.
When I see a script I like to open it up and see what's inside.
Knowing how things work is a great way to learn for yourself.
Before you know it, you'll be making guides like this! At the very least you'll be the A instead of the Q if you know what I mean.

Binary100100 said:
I always encourage people to never stop learning.
When I see a script I like to open it up and see what's inside.
Knowing how things work is a great way to learn for yourself.
Before you know it, you'll be making guides like this! At the very least you'll be the A instead of the Q if you know what I mean.
Click to expand...
Click to collapse
We both have the same curiosoty Binary...I alway open random files and probably break things before I fix them lol...my first computer was a packard bell 486 dx2 66 in 1993 I think. I learned everything I know by myself...including a lot of dos which we still use today for android . good old windows 3.1

Thanks a million!
I had lost my root to the most recent OTA update from t-mo, obviously I'm a noob when it comes to root only, everything else electronic wise I got the hang of. I'm not the type of person that likes things handed to me I prefer given the basic and expanding my knowledge from there, knowledge is a beautiful thing! I'm back rooted and again thanks for this post!

andyb0308 said:
I had lost my root to the most recent OTA update from t-mo, obviously I'm a noob when it comes to root only, everything else electronic wise I got the hang of. I'm not the type of person that likes things handed to me I prefer given the basic and expanding my knowledge from there, knowledge is a beautiful thing! I'm back rooted and again thanks for this post!
Click to expand...
Click to collapse
I'm glad that you found it helpful.

May be a Noob ? but I'm wondering since I use my phones hotspot to get internet on my laptop, if I can do this without the sim card in the Amaze, while using my other phones hotspot? I've searched and found no mention of this, thanks for the great guide.

Marquis63 said:
May be a Noob ? but I'm wondering since I use my phones hotspot to get internet on my laptop, if I can do this without the sim card in the Amaze, while using my other phones hotspot? I've searched and found no mention of this, thanks for the great guide.
Click to expand...
Click to collapse
As long as you have a PC connected to download the required files.
Sent from my HTC Amaze 4G using xda premium

Related

[Noob Guide] How to install nvflash

I am currently on a journey to becoming a "know-it-all." I've always been a serial flasher, but other than that, I notice I really don't know much else. In an effort to change that, I am learning as much as I can from the XDA forums (as well as google searches) and completing NOOB GUIDES along the way. I am a visual learner, so there will be many pics and screen images to guide the noobie more effeciantly.
Disclaimer: Proceed at your own risk. I am only responsible for what I do, not what you do. This is just documentation of what I have done.
I want to give a shout out to Rushing, who wanted a noob guide on nvflash. I want to install it too, so let's see what I can do to help. If you read my first Noob Guide on how to recover from a brick, you'll realize that fastboot is not my forte (btw if I don't fully explain certain things, it's because I have in my first guide...so please go there first if you don't understand, ask questions second). I've did some digging and I realized that I probably never really was stuck on fastboot. I just didn't know how to use it. So when the screen states "Starting Fastboot USB download protocol," it is not stuck. This is what it's suppose to look like.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Open up Windows Command Prompt and enter fastboot devices to make sure you see your Prime.
Tip: You can also enter fashboot help for a list of commands.
Now that you have gotten a crash course in fashboot, here is the Tegra3 Guide: nvflash. Note: The instructions are just a tad bit different in this noob guide but the concept is the same. Download the Windows version of the nvflash flash zip, and extract to the C:\ drive. In the command prompt, enter fastboot flash staging c:\tf201_nvflashpack\ebtblob.bin
This is what your Prime should look like after it finishes.
Enter fastboot reboot in the command prompt. When the Prime reboots, instead of saying “This Device is UnLocked” it should say “AndroidRoot 9.4.2.28r01″ in the top left corner. This means you have successfully flashed the AndroidRoot bootloader. Now start up fastboot again. Again, in the command prompt enter fastboot boot c:\tf201_nvflashpack\nvfblobgen.img
It will take approximately 30 seconds, but your prime will automatically reboot. For some reason, my driver got messed up. I had to update my driver and reboot (Every time my Prime went to sleep, it disconnected so I went to Settings --> Developer options --> select Stay awake)
Now back to the regularly scheduled program. :good: When my Prime rebooted, it showed up on my computer. Navigate to AndroidRoot files by going to: My Computer --> ASUS Android MTP Device --> Internal Storage --> Android Root. There should be 5 files there.
According to the Tegra 3 guide, it states, "** You absolutely must keep these files in triplicate copies -- they are your life-line **" but I have no idea what triplicate copies they are talking about. Update: I got word that it just means save multiple time in multiple places. My guess is 3 times in 3 places Next, you must boot into NVIDIA APX mode. You can do this by shutting down the Prime while holding the vol up button. It will seem like a normal shut down but it will be connected to your computer.
I opened my command prompt from the nvflash pack folder and entered wheelie.exe which started wheelie. Then I inputted wheelie --blob blob.bin which immediately started to download and my Prime turned on and showed:
I just downloaded NvFlash for Windows
In the command prompt I entered: nvflash --resume --rawdeviceread 0 2944 bricksafe.img then nvflash --resume --read 14 factory-config.img then nvflash --resume --read 7 unlock-token.img
A whole bunch of mumbo jumbo came up each time and I had to enter several times to get back to point where I could enter again. I'm not sure if I did this right. From what I gather, searching the web, I should have saved the img's to nvflash. But I don't know.
Entering nvflash --resume --go and it didn't reboot, just the same mumbo jumbo. I had to reboot with the power/vol and it rebooted normally.
Hit thanks if I've helped.
tiisai44 said:
I am currently on a journey to becoming a "know-it-all." I've always been a serial flasher, but other than that, I notice I really don't know much else. In an effort to change that, I am learning as much as I can from the XDA forums (as well as google searches) and completing NOOB GUIDES along the way. I am a visual learner, so there will be many pics and screen images to guide the noobie more effeciantly.
Disclaimer: Proceed at your own risk. I am only responsible for what I do, not what you do. This is just documentation of what I have done.
Click to expand...
Click to collapse
Thank you so much for this very visualize instruction. i will install this before going to another ROM... subcribing... keep it up...
First, I think it's great that you're trying to help. However, with fastboot and nvflash, you need to be a bit careful about giving instructions when you're not entirely clear what to do, particularly given the risks if things go wrong. I do, however, think it's great that you are doing guides with practical pictures. A couple of things:
- You twice refer to 'fastboot' as 'flashboot' - that will cause confusion.
- You mention that you don't know what is meant by "You absolutely must keep these files in triplicate copies" - this is nothing to do with a subdirectory called 'triplicate copies'. What it means is that the files that are produced are vital and you should back them up to several places so you don't risk losing them!
- you don't mention about downloading nvflash (see this post)
- there are actually very good instructions as to how to use nvflash here, here and here. They include the final set of nvflash instructions that you have not yet included.
Good luck!
Nice guide
If I might make a suggestion, on a windows based machine, if you open your nvflash folder (where fastboot and adb.exe are, press and hold shift, right click in a blank part of the window (folder window) and select command prompt here. Now when you issue commands, either fastboot or adb instead of using
fastboot boot c:\tf201_nvflashpack\nvfblobgen.img it becomes
fastboot boot nvfblobgen.img
There is less chance of making a typo and saving yourself fustration, actually, I copy then rightclick in the command window and choose paste, no mistakes this way. Also if your doing any adb work, if you put the files i.e. rom to be pushed for instance, you minimize the path.
apd said:
First, I think it's great that you're trying to help. However, with fastboot and nvflash, you need to be a bit careful about giving instructions when you're not entirely clear what to do, particularly given the risks if things go wrong. I do, however, think it's great that you are doing guides with practical pictures. A couple of things:
- You twice refer to 'fastboot' as 'flashboot' - that will cause confusion.
- You mention that you don't know what is meant by "You absolutely must keep these files in triplicate copies" - this is nothing to do with a subdirectory called 'triplicate copies'. What it means is that the files that are produced are vital and you should back them up to several places so you don't risk losing them!
- you don't mention about downloading nvflash (see this post)
- there are actually very good instructions as to how to use nvflash here, here and here. They include the final set of nvflash instructions that you have not yet included.
Good luck!
Click to expand...
Click to collapse
Thanks so much for the response. I was super tired last night. I tried to finish it but I couldn't keep my eyes open. And obviously was a bit disoriented. I will make those spelling corrections when I get back to my computer. However, I did list the guide "Tegra 3 Guide: flash" which is the same as your 3rd here. Did you mean for the first 2 here's to be the same? I'll take any help I can get. I'm not well versed in adb or fastboot. Like I said in my disclaimer, this is only documentation of what I am doing and how I'm doing it. For example, in my first noob guide, I made a mistake in trying to run adb commands in fastboot. I went back, acknowledged my mistake and listed a guide that is helping me to learn. Do you think it would be better if I write in first person? Something to consider. I am a visual learner so I just wanted to do something that would help others and thought that they might fair better with pics. Regardless, I'm happy with the info you gave and hopefully will put it to good use in just a bit.
Gage_Hero said:
If I might make a suggestion, on a windows based machine, if you open your nvflash folder (where fastboot and adb.exe are, press and hold shift, right click in a blank part of the window (folder window) and select command prompt here. Now when you issue commands, either fastboot or adb instead of using
fastboot boot c:\tf201_nvflashpack\nvfblobgen.img it becomes
fastboot boot nvfblobgen.img
There is less chance of making a typo and saving yourself fustration, actually, I copy then rightclick in the command window and choose paste, no mistakes this way. Also if your doing any adb work, if you put the files i.e. rom to be pushed for instance, you minimize the path.
Click to expand...
Click to collapse
Thank you so much for this. I never knew this. I will add this in a little later when I get to my computer.
hi guys i've flashed hairy bean 1.2 on my tf201 but now I would go back to cm10 so I would like to know what are the commands in apx mode or a guide to restore the bootloader and recovery? please help me and thanks!
this guide helped, but I had to play around with everything to finally figure out that i was supposed to copy the blob files (the ones referred to as needing to be triplicated) to the nvflashpack directory on the c:/ or wherever else you placed it. I know it may be a noob mistake, but you are also making a noob guide, so please include small details such as this.
Thanks a lot for the guide and help!!!
missing files.
I have followed every guide to the letter, but when i make the bricksafe.img and the other two I have no idea where they are saved to. I've looked everywhere on my pc and tablet, but no files. where are they or why aren't they copying?
germy said:
I have followed every guide to the letter, but when i make the bricksafe.img and the other two I have no idea where they are saved to. I've looked everywhere on my pc and tablet, but no files. where are they or why aren't they copying?
Click to expand...
Click to collapse
are you looking for a file called bricksafe.img?
whycali said:
are you looking for a file called bricksafe.img?
Click to expand...
Click to collapse
Yeah. I can't seem to find it anywhere. where is the default location when you use the commands above?
---------- Post added at 06:44 PM ---------- Previous post was at 06:36 PM ----------
germy said:
Yeah. I can't seem to find it anywhere. where is the default location when you use the commands above?
Click to expand...
Click to collapse
ok. i found it. I had to get a program that searches for files in hidden folders. it saved it to a random folder. are the file sizes bricksafe(about 12mb), factory-config(about 5mb), and unlock-token(about 8mb)?
germy said:
Yeah. I can't seem to find it anywhere. where is the default location when you use the commands above?
---------- Post added at 06:44 PM ---------- Previous post was at 06:36 PM ----------
ok. i found it. I had to get a program that searches for files in hidden folders. it saved it to a random folder. are the file sizes bricksafe(about 12mb), factory-config(about 5mb), and unlock-token(about 8mb)?
Click to expand...
Click to collapse
as I was corrected by flumpster bricksafe is one of the files created by this process. Sorry about the mixup
whycali said:
bricksafe is not one of the files created by this process. it is used in the process.
blob.bin
blob.txt
bootloader.ebt
create.bct
recovery.bct
are the relevant created files
Click to expand...
Click to collapse
you are wrong.
flumpster said:
you are wrong.
Click to expand...
Click to collapse
I stand corrected.. I am pretty sure however it does not get created in a "random folder" Thanks for correcting me. Guess thats why this is the noob guide. color me noobie
---------- Post added at 11:44 PM ---------- Previous post was at 11:17 PM ----------
germy said:
ok. i found it. I had to get a program that searches for files in hidden folders. it saved it to a random folder. are the file sizes bricksafe(about 12mb), factory-config(about 5mb), and unlock-token(about 8mb)?
Click to expand...
Click to collapse
yes
whycali said:
I stand corrected.. I am pretty sure however it does not get created in a "random folder" Thanks for correcting me. Guess thats why this is the noob guide. color me noobie
---------- Post added at 11:44 PM ---------- Previous post was at 11:17 PM ----------
Click to expand...
Click to collapse
I'm pretty sure them 3 files get created in the same directory as where you are working from nvflash with the commands that are given.

[GUIDE] Root, unlock, and install a custom firmware!

The aim of this guide is to enable you to install a custom firmware on your Optimus G while being as clear, accurate and succinct as possible. This guide is intended for use by Windows users with an AT&T Optimus G (AKA LGE970).
I've presented the following sections in a specific order for a reason: you need to root to unlock, and you need to unlock to install a custom firmware. If you're currently running what the manufacturer gave you, you need to start with rooting, then unlocking, then trying other firmwares. Be careful, good luck, and have fun!
How to "root" your Optimus G
(Optional if you have another means of un-RARing) Download and install 7-zip from here. You need this to open certain types of archives (specifically .rar, but you might also want to open .tar, .bz2, or other types of archives in the future). This program is supremely awesome in its ability to open almost any archive you throw at it. It's also unobtrusive and efficient.
Download and install LG USB Drivers from here. Without these drivers, your computer won't be able to effectively communicate with your phone. This is vital for the steps we will be taking.
Enable USB debugging by going to Settings->(General)->Developer options" and checking the box next to "USB debugging." You will get warnings. You can probably ignore them. This setting will allow you to run commands on your phone from your computer (via USB). For more info on the Android Debug Bridge, click here.
Download and extract (using 7-zip (or whatever)) the root exploit from here.
Connect your phone to the computer with your USB cable.
Put the phone into "Charge Only" mode at Settings->General->PC connection->USB connection type
Open CurrentRoot.bat and follow its prompts. You will need to change from "Charge Only" to "Media sync (MTP)" mode. The setting is in the same place.
Run SuperSU (now in your apps drawer) it and make sure it works. This program allows others to gain access to superuser privileges. For more info on rooting and what kind of stuff it lets you do, click here and/or use Google.
If that didn't work for you, try following instructions from the thread where this root method came from.
How to unlock the bootloader
The bootloader is the first program your phone runs and its main job is to load the operating system. The stock bootloader is locked and will only run versions of Android that LG and AT&T want it to. Since our goal is to install and run custom firmwares, we must circumvent this locked bootloader. Luckily, thecubed and Shellnut2 have found a way to do this for us. What you want to do is buy Shelnutt's app. There are several reasons you should throw down some cash on this:
It's way easy to use
It'll make backups of your stock recovery/bootloader for you, it'll also make restoring these backups easy
The money is for a good cause
If you're still confused, visit thecubed's thread. He is the man, thank him a billion times. Then thank him again for being a nice guy.
For the convenience of those interested, here is the more laborious/error prone/manual way to unlock (NOTE: this method does NOT work if you've updated to Jelly Bean, you need to use the app):
If you haven't already, download and install 7-Zip and the LG USB drivers, and make sure you have USB Debugging turned on (see above).
Download the latest version of the bootloader unlock here (latest version has the highest version number).
Ensure that your screen is on and unlocked (I'd go to "Settings->Display->Screen timeout" and set the timeout to never to make sure the screen doesn't go off during this process). Your screen must remain on because SuperSU will ask you to grant superuser privileges to the unlock script and you want to be able to tap "Yes" when the time comes.
Connect your phone to the computer with your USB cable, and run the freegee.bat script in extracted files on your computer. Do NOT run this script as administrator. The install will fail if you do. Follow the prompts. You can ignore "No space left on the device" errors, but "adb.exe not found" or "tar: invalid magic" errors are not negligible and indicate either you skipping a step, a funky download, or something very bad.
Once the script finishes, make sure you have a populated "backups" folder in the folder where freegee.bat lives. The backups folder contains your original stock/locked bootloader, which you might want if you ever want to revert to stock.
If you're sure the script ran successfully, power off the phone. Next, hold down the power and volume up keys simultaneously to enter fastboot mode. You should see a screen that looks like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
In fastboot mode, there is a menu, but it's hidden. To navigate it, remember that volume up moves the cursor up, volume down moves it down, and power selects the currently highlighted option. The options are, in order:
Start - boot the phone normally [highlighted by default]
Restart Bootloader - reboot into bootloader
Recovery Mode - enter ClockworkMod recovery (more on this later)
Power Off - (duh)
Here is a video of thecubed showing you how to get to ClockworkMod from the bootloader (like a boss):
Using Team Win Recovery Project
Team Win Recovery Project (AKA TWRP) is a recovery, which basically allows you to install new firmwares and apply updates/modifications to already-installed firmwares (and a bunch of other things, like mounting and formatting portions of your phone's memory). It is the default recovery option when you use the Freegee app to unlock your phone (the other is Clockworkmod, which is so similar I won't be writing a separate guide on how to use it). Navigating TWRP is fairly self explanatory. Many great guides on how to use TWRP have been written and can be found via Google. Here is the first search result that came up for me. It's a pretty good guide.
One thing I will vehemently recommend is that you make a backup every time you install a new firmware. Personally, I backup apps and texts with Titanium Backup and my current firmware via TWRP (the linked guide explains how to make a backup in TWRP). Backups are a good idea and people should always make them. ALWAYS.
Installing custom firmwares
Follow the firmware author's instructions EXACTLY. These guys know what they are doing, certainly more than you or I. Check out the development threads for ROMs to try out.
Note: Be sure that if you are installing ROMs that require the Jelly Bean OTA update that you have taken that update.
There are two ways to do this: receive the update as intended (Over The Air) or use LGNPST (guide on using that under FAQ 3.a of this post) or autoprime's awesome tool, TeenyBin.
FAQs
How do I upgrade FreeGee? The easiest thing to do is simply install the new version of FreeGee the way you did the old one. It will work. Make sure you keep your original locked bootloader in a different, safe place though, just in case you ever want to revert to stock (if you try to return your phone, for example).
How do I disable that pesky OTA update notification? This comes courtesy of shawnchalfant and adfurgerson (visit ad's thread for more details): go into Titanium Backup and freeze the following programs: com.lge.lgfota.permission 4.0.4-91f513f88d AND com.lge.omadmclient 3.2.21
How can I re-lock and un-root my phone?
How to LGNPST to restore a factory image.
Obtain the following files: AutoLGNPST-tSilenzio.zip (available on IRC), and the firmware. Unzip AutoLGNPST-tSilenzio.zip and follow the instructions in "READ ME FIRST.txt" (mad props to tSilenzio for automating this process).
Here's the laborious/error prone/manual method for LGNPST-ing back to stock.
You need to obtain the following files: LGNPST-PhantomPhreak53.zip, LGNPST_ACG_2.2.3_Lab.zip, and the firmware. Follow the following steps (please note: I am less experienced with this process and find it much more tedious. Also, IMHO, I don't think the people you're returning the phone to will care if you leave some minor traces of your unlocking shenanigans. I think the process above this is more than sufficient and simpler). Credits go to Jhoopes517 for this process, he showed me how to do it in his thread.
(Install LG USB drivers)
Extract LGNPST_ACG_2.2.3_Lab.zip, run the installer. Open file explorer to C:\Program Files\LG Electronics\LGNPST and replace the current LGNPST_ACG.exe with the one in the extracted folder (if you are on a 64-bit version of windows, go to C:\Program Files (x86)\LG Electronics\LGNPST)
Extract LGNPST-PhantomPhreak53.zip and run LGNPST_GenericModels_Ver_5_0_12_0.exe and then run LGNPST_Components_Ver_5_0_20_0.exe
In file exlorer, navigate to C:\LG Electronics\LGNPST and copy over the "Models" folder from the extracted Phantom zip folder
Run cmd as administrator and execute the following
Code:
regsvr32 "C:\LG Electronics\LGNPST\Models\LGNPST_LS970.dll"
Extract LGE970AT-01-V20j-310-410-MAR-08-2013.zip and change the extension of the .tot file to .bin
Connect phone to computer, power off, and then power on, holding down the power button and both volume buttons
Run the newly replaced LGNPST_ACG.exe from step 2. Select the DLL from step 5 and the .bin from step 6.
Press Start
If LGNPST errors out at 85%, turn your phone off and hold the power button until the phone powers on, then release. DO NOT disconnect the cable before LGNPST is done doing its thing. Your phone may reboot. This is OK.
(If you are using Shelnutt's app, simply use the button in the app to re-lock and install the stock stuff).
Here's the laborious/error prone/manual method for re-locking the phone and installing the stock recovery/bootloader/kernel.
Remember the backups of the locked bootloader that you kept? You're going to need them. Obviously, you'll need USB Debugging enabled and LG USB drivers installed. Copy them to your phone's "Internal Storage" in a folder, in this example it's called "backups." Connect the phone to your computer via USB, open a command line (cmd) and type the following:
Code:
cd C:/some/folder/where/you/have/adb.exe/eg/your/freegee/download
adb shell
su
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/recovery
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/boot
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/aboot
dd if=/sdcard/backups/aboot-att-backup.img of=/dev/block/platform/msm_sdcc.1/by-name/aboot
dd if=/sdcard/recovery-att-backup of=/dev/block/platform/msm_sdcc.1/by-name/recovery
dd if=/sdcard/boot-att-backup.img of=/dev/block/platform/msm_sdcc.1/by-name/boot
dd basically copies from the if= location and writes to the of= location. The first three dd steps write a bunch of zeros to the recovery, boot, and aboot partitons, the last three write the backups to aboot, recovery, and boot. If you want to know more, read all about dd here and/or Google. If you lost your backups, you can try writing mine.
Now you've restored the stock bootloader and recovery, but your phone is still rooted. To unroot it, open SuperSU, go to its settings, and tap "Full unroot." Do a factory reset (Settings->General->Backup & reset->Factory data reset) and you should be good to return the phone to AT&T (or whatever).
Be careful with these last two methods if you have removed any bloatware or installed a custom firmware, you may prefer to LGNPST back to stock (LGNPST is almost always a safe way to return to stock).
blenkows said:
Haha I wish I had seen this earlier. I had screenshots before and after so I could see exactly what was removed but I had just deleted them. From memory, it doesn't seem like too much was removed. All the AT&T apps are gone but it appears LG's apps are still here.
Click to expand...
Click to collapse
Here is a list of apps I had shortly after factory reset on stock for people to compare with theirs. I have struck out the ones I was able to remove without my phone blowing up. Let me know if you safely removed one and I'll strike it out. Also let me know if I missed any or included an app which isn't part of stock. Thanks!
AAT
Adobe Flash Player 11.1
Adobe Reader
Amazon Kindle
Android keyboard
Android live wallpapers
Android system
Aspect ratio correction
AT&T address book
AT&T code scanner
AT&T family map
AT&T hot spots
AT&T locker
AT&T messages
AT&T navigator
AT&T ready2go
AT&T smart wi-fi
Bluetooth share
Browser
Bt/wifi test
Bubbles
Calculator
Calendar
Calendar storage
Calendar widget
Camera
Car home
Certificate installer
City ID
Clock
com.android.backupconfirm
com.android.providers.partnerbookmarks
com.android.providers.settings
com.android.sharedstoragebackup
com.lge.lgdrm.permission
com.lge.lgfota.permission
com.lge.lockscreen
com.lge.omadmclient
Contacts
Contacts storage
DeviceHelp
Download manager
Downloads
DRM protected content storage
DRM service
Email
Email widget
EmailServices
Face unlock
Facebook
Favorite contacts widget
File manager
File networking
FileShare
Finance
Gallery
GestureOverlayService
Gmail
Google account manager
Google backup transport
Google calendar sync
Google contacts sync
Google partner setup
Google play books
Google play magazines
Google play movies & tv
Google play music
Google play services
Google play store
Google search
Google services framework
Google text-to-speech engine
Google+
Home
Home selector
Home theme - Biz
Home theme - cozywall
Home theme - marshmallow
HTML viewer
Key chain
Lg keyboard
Lg tag+
Lg voicecommand speechpack
Lgapduservice
Lgatcmd service
Lgsmartcard service
Lgsystemserver
Live tv
Live wallpaper picker
Local search
Lock screen settings
Maps
Marionette
Market feedback agent
Media home
Media storage
Messaging
Multi-photo live wallpaper
Music
Music
Musicfx
My uploads
MyAT&T
Network location
News
NFC service
Nfsservicemanager
Note pad
Note pad widget
On-screen phone
Package access helper
Package installer
Phone
Phone/messaging storage
Photo frame
Playready cert test
Polaris office 4.0
Power control widget
Quickmemo
Search applications provider
Settings
Setup wizard
Shutdown monitor
Sim toolkit
Smartshare
Social+
Streaming player
System ui
Talk
Task manager
Today+ widget
Tom's diner
Twitter
User dictionary
Usermode
Vidclip
Video wiz
Videos
Voice command
Voice search
Voicemail
VPN client
Vpndialogs
Wap service
Weather
Widevine keybox test
Wiper app
Wise screen
World clock widget
YouTube
Yp mobile
I can't root. What do I do?
Double check that you have followed all the steps in this guide (USB drivers, correct settings, etc.) If your software version ends in "c," you need to LGNPST to the version that ends in "o" (see the section on LGNPST in this post).
Why shouldn't I run the Nexus 4 conversion?
See this post by thecubed. Don't be impatient, a legit, safe ROM is forthcoming here. Messing with partition tables is needlessly risky.
My shiny new firmware has no APNs and I don't get mobile data! What do I do?
Use the APN settings in this post. They have always worked for me. If they don't try setting the "APN" variable to "pta" instead of "Phone."
... (ask me more questions!)
I hope you found this useful. Obviously this is a work in progress. I am way open to suggestion, please leave a comment below! If you liked this post, hit the thanks button and/or rate this thread so that others know this guide is legit. Thanks!
Very nice, man. This is great for people who don't want to have to hop between threads for all the different information.
I recommend we sticky it.
this is definitely appreciated. i was looking for a guide when i first rooted and unlocked, just to read along with making sure i was doing it right. more just to double check my process than actually needing it.
This is the best root/ROM guide I've ever seen. Excellent job.
Sent from my LG Optimus G
anyone try this on E97110d
should it work?
cpus456 said:
anyone try this on E97110d
should it work?
Click to expand...
Click to collapse
I haven't so I can't recommend trying it.
Awesome work! someone please sticky
all worked great!
can you please also post a guide on how to lock back the device and unroot.
and also how to update to a new version of freegee if it comes out.
Please
?
Thank you.
karelson said:
can you please also post a guide on how to lock back the device and unroot.
and also how to update to a new version of freegee if it comes out.
Please
?
Thank you.
Click to expand...
Click to collapse
Both of those requests are covered in the OP. Specifically, look at FAQ #2...If you can't understand that, I can't help you.
Carrett can u do a guide for going back to stock? Flashing a stock Rom....got the files I need just have no clue what to do. .need to return my phone.thanx
Sent from my LG-E970 using xda premium
martyotaku said:
Carrett can u do a guide for going back to stock? Flashing a stock Rom....got the files I need just have no clue what to do. .need to return my phone.thanx
Sent from my LG-E970 using xda premium
Click to expand...
Click to collapse
What files do you have exactly? The easiest way to do it, in my opinion, is to follow the steps in FAQ #2.
i have the stock rom(i deleted some bloat) and i went on thecubed's irc and got some dlls and and a lg program but no clue what to do
Is there a way to restore? I totally messed up. My phone won't turn on at all. Help would be appreciated thanks.
i need a step by step for LGNPST back to stock if possible please
martyotaku said:
i need a step by step for LGNPST back to stock if possible please
Click to expand...
Click to collapse
I have never LGNPST-d my way back to stock, nor do I plan on doing it. If you are already unlocked, my advice to you is to obtain APKs of any bloat you removed, reinstall them, and follow my method for relocking and unrooting. That being said, you may be able to find someone willing to walk you through LGNPST-ing in IRC. I will try to figure out how to do it and if I feel confident I'll write a how-to. If someone wants to supply me with a howto, I'd be happy to include it in the OP and credit them (assuming their how-to makes sense and I can easily follow it).
Honestly though, it seems like a pointless exercise when you have CWM and su.
Sorry I can't be more accommodating.
carrett said:
I have never LGNPST-d my way back to stock, nor do I plan on doing it. If you are already unlocked, my advice to you is to obtain APKs of any bloat you removed, reinstall them, and follow my method for relocking and unrooting. That being said, you may be able to find someone willing to walk you through LGNPST-ing in IRC. I will try to figure out how to do it and if I feel confident I'll write a how-to. If someone wants to supply me with a howto, I'd be happy to include it in the OP and credit them (assuming their how-to makes sense and I can easily follow it).
Honestly though, it seems like a pointless exercise when you have CWM and su.
Sorry I can't be more accommodating.
Click to expand...
Click to collapse
I kinda need LGNPST. Somewhere during rooting, my phone just wouldn't turn back on. It did that screen flicker thing and the buttons flicker, but it stayed there for about 10+ minutes. So i figured, i wanted to start fresh with factory settings again. When i try to run LGNPST, it goes to 67% then the phone leaves download mode and then LGNPST says it's been disconnected and that i should restart my phone and then it can continue. Problem is that the phone can't even boot up at all.
I even tried the unbrick guide from the other optimus g forum but i can't get ahold of the .KDZ file. I'm not even sure if that process can work on an AT&T optimus g. Spoke to people on IRC and said that it sounds like a hardware issue. If i can't get this thing to boot, i'm going back to BestBuy to exchange for another one.
aznracer62 said:
I kinda need LGNPST. Somewhere during rooting, my phone just wouldn't turn back on. It did that screen flicker thing and the buttons flicker, but it stayed there for about 10+ minutes. So i figured, i wanted to start fresh with factory settings again. When i try to run LGNPST, it goes to 67% then the phone leaves download mode and then LGNPST says it's been disconnected and that i should restart my phone and then it can continue. Problem is that the phone can't even boot up at all.
I even tried the unbrick guide from the other optimus g forum but i can't get ahold of the .KDZ file. I'm not even sure if that process can work on an AT&T optimus g. Spoke to people on IRC and said that it sounds like a hardware issue. If i can't get this thing to boot, i'm going back to BestBuy to exchange for another one.
Click to expand...
Click to collapse
The folks in IRC know much more about lgnpst than I do. There's no secret that's being withheld, and unfortunately my best guess is that the lgnpst experts in IRC are right and it is a hardware issue. The good news is that you don't have to tell Best Buy the events leading up to your phone's demise and they probably won't be able to tell what they were either (we're talking about Best Buy employees here; most don't give two craps about their job).
Found a how to for a different lg phone here. Not certain that it will work for ours but it's worth a try. If it works for you, let me know and I'll add it the OP for others.
carrett said:
Found a how to for a different lg phone here. Not certain that it will work for ours but it's worth a try. If it works for you, let me know and I'll add it the OP for others.
Click to expand...
Click to collapse
I've tried something similar to that. Basically that's just an older version of LGNPST but when you use it, it says verizon wireless on it, well the one i downloaded at least. And you're right, took it to best buy and they didn't ask about it. I have up to January 24 to exchange it again in case it happens again. If the guys on IRC say it's hardware after explaining exactly what i did, it's the hardware. Gotta admit, i'm new to LG. I came from a line of Samsungs. Usually if anything goes wrong id just reflash with Odin or Heimedall and everything's back to normal again. LGNPST does the same function? From what i've read it serves the same purpose.
Anyway, take 2 on this guide. Deleting everything LG from my computer and starting fresh. One thing that i did notice when rooting, cmd gave me an error saying i'm missing backup_restore.apk (or something of similar name).

HOX+ Tutorial for Unlocking, Rooting & installing a custom ROM [BEGINNERS FRIENDLY ]

HOX+ Tutorial for Unlocking, Rooting & installing a custom ROM [BEGINNERS FRIENDLY ]
[SIZE="+2"]-- Step-by-Step Tutorial for Unlocking, Rooting and Installing a Custom Rom for your HTC ONE X+ --[/SIZE]​
Here is my beginner friendly manual method for Unlocking, installing an alternative Recovery, Rooting and installing a custom ROM for HTC ONE X+
Why should you do it manually?
At first glance, an all in one tool to do the work for us seems a good idea, but what happens if a step fails? Do you know how to use the right tools to recover? Does your computer have the basics prerequisites installed to allow you to recover your device? In performing this task manually all the basic tools will be installed and in the event that some bugs occurs, at least you will have the certainty of having all the tools in hand to fix it. It is an easy task to obtain if you follow this step-by-step tutorial rigorously. All you need is in this thread, no need to search to find that file or that app, all you need is 30-60 minutes of attentive reading and performing the described procedure. If something goes wrong, read again and simply perform the procedure another time. Remember, you decided to root and customize your phone, no one can be held responsible for your action. If something goes wrong we are here to help, but if you have the ability to read, you should be able to perform this without a swear.
Be aware that the HTC ONE X+ comes in two versions, one version called INTERNATIONAL (ENRC2B) that come WHITOUT the so-called LTE technology.
Then the North American version for AT&T and TELUS (EVITARE_UL) version that comes WITH so-called LTE technology.
LTE is an initialism of Long-Term Evolution. To determine which version your phone is you can simply download an application called CID Getter from the Google Play store available HERE Simply open the program once installed and navigate to the line named [ro.aa.project]:[your version model]
ENRC2B is INTERNATIONAL
EVITARE_UL is AT&T / TELUS
Now that you know which version is your phone lets start with the installation of your SDK tool folder. ADB is a versatile command line tool that lets you communicate with your Android device. This tool is MANDATORY and will serve you very often. Let's do this.
-- Screenshots for the visual ones --
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
____________________________________________
[SIZE="+1"]-- Enabling USB debugging mode --[/SIZE]
On your phone simply follow this path : Settings -> Developer options -> Turn the option ON -> under Debugging -> tick USB debugging option Debug mode when USB is connected
That's it, done!
-- Screenshots for the visual ones --
____________________________________________
[SIZE="+1"]-- Java Installation --[/SIZE]
This is a prerequisite to have a flawlessly working SDK tool installation.
Click on the following link to download it on Java's website : Free Java Download
On the next page, do not click on Agree and Start Download, instead click on See all Java downloads.
Which should you choose? If you have a 64-bit Windows OS you MUST install the two versions (both 32-bit and 64-bit), otherwise the 32-bit is sufficient for a 32-bit Windows OS.
Before installing the latest version of Java, it is recommended to uninstall all previous Java's installation. (How to -> Remove Older Versions)
Complete the required installation depending of the type of Windows installation.
You are all done for Java.
-- Screenshots for the visual ones --
____________________________________________
[SIZE="+1"]-- SDK Tools Installation --[/SIZE]
First step is to download the SDK Manager, to do so click on this link -> Download the SDK
Next locate on the bottom of your screen the USE AN EXISTING IDE, click on it.
On the Get the Android SDK page, tick the I have read and agree with the above terms and conditions box and click on the Download the SDK Tools for Windows button.
Navigate to your Download folder, and locate a file named like this: installer_r21.1-windows.exe (N.B. The r21.1 version was available when I did this how to, your version could be different.)
Double click on the installer_r21.1-windows.exe file to start the installation. Take good note where the file will be installed, generally the default SDK path is : C:\Users\your_session's_name\AppData\Local\Android\android-sdk.
Now, navigate to the path of the SDK installation folder.
Select all (CTRL + A) in this folder and Copy (CTRL +C) them for the next step.
Now you need to create a new folder at the root of your C:\ drive named : AndroidSDK
Open up the newly created folder and Paste (CTRL + V) the previously copied files.
Stay in this folder and double click on the SDK Manager icon.
The SDK Manager will open a new window, click on Deselect All, then tick the following line in Tools : AndroidSDK Platform-tools
Click on Install 1 Package..., accept the license agreement and click on Install let the manager do it's thing.
Click on Done and close the manager's window.
Congrats! You have created successfully your SDK tool!
Wait! Let's clean your computer a bit....
Go back to the previous folder, the one located in this path : C:\Users\your_session's_name\AppData\Local\Android\android-sdk
Click on the Uninstaller, we don't need this one anymore. Don't worry the other AndroidSDK folder won't be deleted.
Voilà! You are done with this part.
-- Screenshots for the visual ones --
____________________________________________
[SIZE="+1"]-- Creating of script file for a fast access --[/SIZE]
Locate the Platform-tools sub-folder in the AndroidSDK folder.
Right click in a empty space of the folder and select in the contextual menu New -> Text Document
Open this new Text Document and Copy/Paste this : c:\windows\system32\cmd.exe
Save this file as : Start SDK.bat
Acknowledge the : If you change file extension... warning.
Right click your new created Start SDK and send a shortcut on your Desktop.
Done! If you try to double click on your Start SDK shortcut, a command window should open with something like these lines :
Code:
C:\AndroidSDK\platform-tools>c:\windows\system32\cmd.exe
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\AndroidSDK\platform-tools>
Success!
____________________________________________
[SIZE="+1"]-- Installing HTC's Drivers --[/SIZE]
This one is very easy, simply download and run the installer and let Windows do the rest. Drivers compatbile 32-bit or 64-bit
Download the Self-install HTCDriver_4.0.1.001.exe/
Make sure your phone is not plugged on your computer via the USB cable.
Simply run the installer of the driver you've just downloaded.
Once the installation is completed, simply plug your phone via your USB cable and Windows "wizard manager" will now detect your phone.
If it doesn't work, unplug your phone and reboot your computer. Then plug back your phone once rebooted.
Done!
-- Screenshots for the visual ones --
____________________________________________
[SIZE="+1"]-- Let's try all this! --[/SIZE]
With your phone plugged on your USB cable...
From your Desktop, double click on your Start SDK shortcut.
In the command window, at the command line : C:\AndroidSDK\platform-tools> type this -> adb devices (Enter)
The serial number of your phone should appear in the command window. If it is the case, then try this again : C:\AndroidSDK\platform-tools> type this -> adb reboot (Enter)
Your phone will now Reboot
If all this worked, you have a successful SDK Tools installation!
-- Screenshots for the visual ones --
____________________________________________
[SIZE="+1"]-- Unlocking your Bootloader --[/SIZE]
This step is mandatory since there is no other solution yet to unlock the bootloader on the ONE X+. !! PLEASE BE ADVISED TO BACKUP ALL YOUR DATA FROM YOUR PHONE'S USB MEDIA, THIS PROCEDURE WILL TOTALLY AND FULLY WIPE YOUR PHONE. ALSO, BE ADVISED THAT YOUR WARRANTY IS MOSTLY VOID !!
Before doing this you can visualize what is an unlocking procedure HERE. Or you can watch this video HERE
Ready?
To unlock your bootloader go to HTCDev create your account with a valid email address, then select on the right field : All Others Supported Devices and click on Begin Unlock Bootloader (If you followed this tutorial to the letter, your SDK tool/adb command should work flawlessly for this procedure.)
Follow the on screen instructions to get your Token ID.
To submit your Token ID you need to highlight everything between the two spades ♠< < < < <Identifier Token Start> > > > > ....token ID string.... < < < < <Identifier Token End > > > > >♠
Now simply right click and Copy/Paste in the correspondent field to submit.
You will received your unlocking code in your email account (almost instantly, check in your SPAM folder if it take more than 5 minutes) you registered with on HTCDev.
Complete the unlocking procedure and wait for your phone to reboot.
Congrats! The Unlocking process is successful!
____________________________________________
[SIZE="+1"]-- Recovery installation --[/SIZE]
Let's install your new recovery now. !! Be advised that installing CWM Recovery on this device is NOT RECOMMENDED, this recovery is untested, unreliable, unsupported and outdated. The ONLY recovery you should use on your HTC ONE X+ is TWRP Recovery !!
Download this TWRP Recovery for the International version (ENRC2B) : HERE MD5:0a708f4c27d69d2d1505ce7832d4b3be
Download this TWRP Recovery for the AT&T/TELUS version (EVITARE_UL) : HERE MD5:6e24a6686bc4840043a57cb61b63f22c
Once downloaded to simplify the operation rename your file like this : TWRPrecovery.img
Take this TWRPrecovery.img file and Copy/Paste it in the platform-tool of your SDK folder.
TIP : Since your are in the platform-tool folder you can create a batch file to open a command window right from your Desktop.
Do this directly into the platform-tools folder.
Right click on an empty space and select Create New text document
In the new text paste this : c:\windows\system32\cmd.exe
Save it with this name StartADB.bat (important to save it with .bat extension and overwrite the warning)
Now right click again on your new .bat file, and create a shortcut to your Desktop.
Now try to : adb devices your phone via your new Start ADB batch file directly form your Desktop shortcut with your phone plugged on your USB cable.
If you have a serial number as confimation you have done it right!
This a ONE TIME OPERATION TO DO, IT WILL WORK AS LONG AS THE SHORTCUT WILL BE ON YOUR DESKTOP.
Time to plug your phone on your USB cable if it is not already plugged.
Click on Start SDK, in the command window type at the prompt > adb devices (Enter)
Confirmation of the serial.
At the prompt type >adb reboot-bootloader (Enter)
The phone will reboot in bootloader mode.
Make sure the FASTBOOT USB is highlighted.
At the prompt type >fastboot flash recovery TWRPrecovery.img (Enter)
If Success is achieved, type again at the prompt >fastboot erase cache (Enter)
You now have TWRP Recovery installed.
Unplug your USB cable and hit Power button one time.
Select Recovery with your Volume rocker.
Hit Power button one time.
Your phone should reboot in Recovery
Familiarize yourself with it.
Click on BACKUP and perform a full backup of your actual ROM.
Once done REBOOT System.
-- Screenshots for the visual ones --
____________________________________________
[SIZE="+1"]-- Time to install the root --[/SIZE]
This is fast to obtain, simply download this SuperSU.zip file and transfer this at the root of your USB media (SD card).
You can now click on your Start SDK batch file from your Desktop to start a command window while your phone is still plug on the USB cable.
Type at the prompt > adb devices (Enter)
Then again at the prompt (if serial confirmation is positive) >adb reboot-bootloader (Enter)
Phone will reboot in Bootloader
Unplugged the USB cable
Hit Power button once
Select Recovery in the menu with the Volume rocker
Hit Power once to reboot in Recovery
Select Install
In the Select Zip to Install menu located your SuperSU.zip file
Click on it and in the new menu simply Swipe to Confirm Flash
Reboot system
You are done rooting your phone.
____________________________________________
[SIZE="+1"]-- Custom ROM installation --[/SIZE]
So far all is good and the above instructions were all successful as we expected now you want that wonderful ROM from that thread, right? This procedure is very simple, but one rule applied here : ALWAYS BACKUP YOUR ACTUAL ROM BEFORE FLASHING ANYTHING! Do transfer it on your computer and keep this file in a safe place follow this path to locate the TWRP folder. At the root of your SD card locate TWRP -> Backups -> your_One X+_serial_number -> You should have one file stamped with date and time. This is your backup you can rename it. Copy/Paste it and put it in a safe place in your computer.
Now the fun part begin!
Once you have selected the ROM for your model version INTERNATIONAL OR AT&T/TELUS, simply download it.
Take also the correspondent boot.img that need to be flashed just before or just after (doesn't really matter) the ROM installation.
Transfer your ROM.zip at the root of your internal storage of the HTC ONE X+ via your USB cable.
While the ROM is transferring on your phone, simply extract the boot.img that match your ROM, rename it for an easier recognition (i.e. Viperboot.img, Eleganciaboot.img, ARHDboot.img, etc) Copy/Paste it in your platform-tool folder (SDK)
Leave your phone plugged to your USB cable
Click on Start SDK, in the command window type at the prompt > adb devices (Enter)
Confirmation of the serial.
At the prompt type >adb reboot-bootloader (Enter)
The phone will reboot in bootloader mode.
Make sure the FASTBOOT USB is highlighted.
At the prompt type >fastboot flash boot insert_your_boot_image_name_here.img (Enter)
If Success is achieved, type again at the prompt >fastboot erase cache (Enter)
You now have a customized boot.img installed.
Unplug your USB cable and hit Power button one time.
Select Recovery with your Volume rocker.
Hit Power button one time.
Your phone should reboot in Recovery
(!! The following instruction are with TWRP Recovery installed !!)
Select Wipe menu, then select Factory reset (swipe), select System (swipe)
Go back to the Install menu and select it.
Locate your ROM.zip and select it.
Swipe to confirm.
Probably Aroma installer will start, simply follow the on-screen instructions and complete the installation.
!! Confirm the Rebooting option ONLY IF YOU FLASHED THE BOOT.IMG BEFORE ROM INSTALLATION !!
Otherwise select the Reboot Bootloader and perform the 4 to 8 steps
Reboot the phone.
-- Screenshots for the visual ones --
Your phone should Reboot with your new ROM, put your phone aside for ~10 minutes to let the new installation performing all it's task. Then you can customize your phone at your desire. Don't forget to reboot your phone when done.
Enjoy!
If you found something hard to understand, let me know, I will do my best to rearrange this tutorial.
Also let me know by PM all the orthographic errors you found, I will fix this ASAP.
If this helped you in anyway please take the time to rate this thread.
Happy flashing!
Lucky Thirteen said:
you should be able to perform this without a swear.
Click to expand...
Click to collapse
I don't do anything without swearing, but thanks for a great, thorough tutorial. Mods - please sticky this!
sup, i have been using your guide to root and i have been getting trouble getting through the "adb device" part, no matter how many htc drivers i download i end up with the same error, it says devices but mine is never shown. but i guess its all good now as is followed it through the htcdev site...... but anyways would like to know how i can add these roms cause i am really confused about there kernels and stuff would be appreciated if you could explain how it works and whats a good rom to start with.
Hi decoy,
Can you specified at which portion of the tutorial you are stuck at?
i was getting stuck at lets try all this---> AndroidSDK\platform-tools> type this -> adb devices. over here when i type this my device does not show up i have tried updating my drivers several times still no success.
Are you with stock OS on your phone?
Have you tried another USB port? USB 3.0 ports are known to create issues. Also make sure your USB cable is not on a USB hub. If you have Enable USB debugging and you have followed the procedure to the letter, obviously there is a little thing missing.
Please try to describe your computer type and Windows version, where your USB cable is plugged in your computer, is Java installed correctly. Do describe at the most of your knowledge your situation. If it's really not working we can try to arrange a TeamViewer session to have a deeper look at it.
Yo its cool now cause I already rooted it, I guess the problem was the device connection on adb, as it was not being shown even though my computer recognized it, but when I went through the steps on Htcdev it worked cause I was able to unlock and install the recovery..... And I was using it on a usb 3 hub on windows 7. And yes at the moment I am running the stock Rom. I have An other question if you don't mind.... When you install the international recovey how does the back up work and how can you use it?
Sent from my HTC One X+ using xda app-developers app
You simply reboot in recovery and you will see menus, from there it is easy simply pick your choice and swipe to confirm.
Once you will be in Recovery you will see how simple it is, it is very intuitive.
New to android and new to rooting, thanks so much for this guide, unlocked, rooted and custom rom installed. I had no issues with this guide and it was a clean and new experience
Thanks! Successful completion with a few questions
First off, thank you very much for the thorough and easy to follow guide. This was my first attempt at installing a custom ROM on my phone and it went without a hitch.
I do have a few questions for you. First, I decided to install the Elagancia rom. It was a somewhat arbitrary decision, but is there any place that lists the pros and cons about various roms so it can be easier to decide which is right for my phone?
I was hoping to find a 4.2.2 based rom that was pretty much stock without sense, but I couldn't find one for the AT&T HTC One X+, is there one out there that I'm missing?
When I went through the install, it asked me various questions about install options. I didn't know what many of the options did, so I was wondering if there was a guide somewhere about the rom which describes the tweaks I could install. And I also wanted to know if there's a way to go back and change my options without wiping the phone clean and doing a fresh install again.
And again, thanks!
BlueWRXPride said:
First off, thank you very much for the thorough and easy to follow guide. This was my first attempt at installing a custom ROM on my phone and it went without a hitch.
Click to expand...
Click to collapse
Glad if it helped you! Please take the time to rate this thread, it will help to reference it. Take the time also to read this FAQ, you will probably learn a trick or two about your phone.
BlueWRXPride said:
I do have a few questions for you. First, I decided to install the Elagancia rom. It was a somewhat arbitrary decision, but is there any place that lists the pros and cons about various roms so it can be easier to decide which is right for my phone?
Click to expand...
Click to collapse
No, there's not a specific thread for that usage, but in each ROM thread there are Changelog and Screenshots that describing what you should expect from that specific ROM. It's not perfect but generally it's a good... appetizer!
BlueWRXPride said:
I was hoping to find a 4.2.2 based rom that was pretty much stock without sense, but I couldn't find one for the AT&T HTC One X+, is there one out there that I'm missing?
Click to expand...
Click to collapse
Unfortunately, not yet, at least, not that I know of.
BlueWRXPride said:
When I went through the install, it asked me various questions about install options. I didn't know what many of the options did, so I was wondering if there was a guide somewhere about the rom which describes the tweaks I could install. And I also wanted to know if there's a way to go back and change my options without wiping the phone clean and doing a fresh install again.
Click to expand...
Click to collapse
Again, in each Changelog and Add-on section of the intend ROM should have a brief description of tweaks and options available in Aroma Installer, but you can perform a search or ask for a description if you don't find an satisfying answer about a given option.
If you flash over the same ROM, all your settings, apps and data will be preserved, only the system will be updated, so simply flash over to change some options. The vital thing is to have a perfect backup done and saved just in case something goes bad with one flash or update.
BlueWRXPride said:
And again, thanks!
Click to expand...
Click to collapse
You are welcome!
I have a more general question about different roms. First, I'm assuming while it's easy to load a different ROM on the phone, there's no way to put it on there and try it out without wiping your phone clean. That makes the process of trying our different roms to find what you like pretty lengthy. Am I missing anything there?
Second, am I right to assume that most roms that are based of Sense 4+ will more or less look the same, and that the variations from rom to rom will mostly be behind the scenes?
BlueWRXPride said:
I have a more general question about different roms. First, I'm assuming while it's easy to load a different ROM on the phone, there's no way to put it on there and try it out without wiping your phone clean. That makes the process of trying our different roms to find what you like pretty lengthy. Am I missing anything there?
Click to expand...
Click to collapse
Well there is some way to migrate your apps & DATA from one ROM to another with applications like Titanium Backup or My Backup Pro. What I usually do is a full backup of my everyday ROM just before trying another ROM, than I can full wipe (this mean a factory reset and system format) and install the intend ROM I wanna try on my phone without setting everything at the first boot, I play with it and check for options, fluidity, speed, customization,etc. If I find the ROM worth installing my thing, I go on and start the processus to migrate my personal preferences, apps and DATA. This process can take two,three,four days to set the ROM like I want. I simply full backup the unready installed ROM and simply restore my everyday ROM until the other will be completely up and running. Then I suddenly have two perfect ROM to play with only by restoring them at my desire.
BlueWRXPride said:
Second, am I right to assume that most roms that are based of Sense 4+ will more or less look the same, and that the variations from rom to rom will mostly be behind the scenes?
Click to expand...
Click to collapse
Even if the base is the same, the developers do magnificent work to customize, personalize them very differently. Options and tweaks are very different from one dev to another. They all have their personal strength and usually the ROM reflects that talent.
Again, you have to try some at first, then you will see the personality of each ROM. You will learn also if you like a strongly customized ROM or maybe you will prefer a more Vanilla ROM (close as stock as possible) it is all yours to discover.
Lucky Thirteen said:
Well there is some way to migrate your apps & DATA from one ROM to another with applications like Titanium Backup or My Backup Pro. What I usually do is a full backup of my everyday ROM just before trying another ROM, than I can full wipe (this mean a factory reset and system format) and install the intend ROM I wanna try on my phone without setting everything at the first boot, I play with it and check for options, fluidity, speed, customization,etc. If I find the ROM worth installing my thing, I go on and start the processus to migrate my personal preferences, apps and DATA. This process can take two,three,four days to set the ROM like I want. I simply full backup the unready installed ROM and simply restore my everyday ROM until the other will be completely up and running. Then I suddenly have two perfect ROM to play with only by restoring them at my desire.
Click to expand...
Click to collapse
Thanks, that makes sense. Are you able to change between roms without hooking up to the computer and using adb? In your instructions you talk about how you have to flash the boot.ini file that is specifically for the rom you want so is there a way to take care of that without your computer?
I am having trouble here:
•While the ROM is transferring on your phone, simply extract the boot.img that match your ROM, rename it for an easier recognition (i.e. Viperboot.img, Eleganciaboot.img, ARHDboot.img, etc) Copy/Paste it in your platform-tool folder (SDK)
•Leave your phone plugged to your USB cable
1.Click on Start SDK, in the command window type at the prompt > adb devices (Enter)
2.Confirmation of the serial.
3.At the prompt type >adb reboot-bootloader (Enter)
Where do I click on start sdk?
golmar88 said:
I am having trouble here:
•While the ROM is transferring on your phone, simply extract the boot.img that match your ROM, rename it for an easier recognition (i.e. Viperboot.img, Eleganciaboot.img, ARHDboot.img, etc) Copy/Paste it in your platform-tool folder (SDK)
•Leave your phone plugged to your USB cable
1.Click on Start SDK, in the command window type at the prompt > adb devices (Enter)
2.Confirmation of the serial.
3.At the prompt type >adb reboot-bootloader (Enter)
Where do I click on start sdk?
Click to expand...
Click to collapse
Start SDK refers to the cmd file you created on your desktop in the -- Creating of script file for a fast access -- section
Mr. Thirteen, do you think you could offer me a little more help? Please refer to the post below.
http://forum.xda-developers.com/showthread.php?t=2226031
golmar88 said:
I am having trouble here:
•While the ROM is transferring on your phone, simply extract the boot.img that match your ROM, rename it for an easier recognition (i.e. Viperboot.img, Eleganciaboot.img, ARHDboot.img, etc) Copy/Paste it in your platform-tool folder (SDK)
•Leave your phone plugged to your USB cable
1.Click on Start SDK, in the command window type at the prompt > adb devices (Enter)
2.Confirmation of the serial.
3.At the prompt type >adb reboot-bootloader (Enter)
Where do I click on start sdk?
Click to expand...
Click to collapse
BlueWRXPride said:
Start SDK refers to the cmd file you created on your desktop in the -- Creating of script file for a fast access -- section
Click to expand...
Click to collapse
Probably you just missed a section like BlueWRXPride told you.
trouble with file Start SDK.bat
Lucky Thirteen said:
If you found something hard to understand, let me know, I will do my best to rearrange this tutorial.
Also let me know by PM all the orthographic errors you found, I will fix this ASAP.
If this helped you in anyway please take the time to rate this thread.
Happy flashing!
Click to expand...
Click to collapse
Hey lucky thriteen ive been doing everything step by step but im having trouble making the note and copying and pasting c:\windows\system32\cmd.exe once i create the shortcut and open it its nothing like how you show it in the example any idea what it could be?? thanks
---------- Post added at 04:47 PM ---------- Previous post was at 04:41 PM ----------
Lucky Thirteen said:
If you found something hard to understand, let me know, I will do my best to rearrange this tutorial.
Also let me know by PM all the orthographic errors you found, I will fix this ASAP.
If this helped you in anyway please take the time to rate this thread.
Happy flashing!
Click to expand...
Click to collapse
hey lucky thirteen ive been having trouble with the step where you have to create a note in the platform-tools file once i save the note and create the shortcut its not like the example that you post it only shows c:\windows\system32\cmd.exe any idea on what i did wrong?? thanks

[HOW TO] beaups Moonshine S-OFF exploit for linux/android noobs

How to for n00bs:
Beaups Moonshine S-OFF for the Droid DNA
(Note: This guide will assume that you are complete noob with android and linux, BUT that you are not too dense to google basic things and infer basic differences between PC setups)
YOU WILL NEED:
1 Laptop or Desktop with internet access
1 32bit Linux (Ubuntu or Mint preferred, Mint to be used in this guide) liveUSB or liveCD (liveCD preferred, and what will be covered in this guide)
1 Stock Droid DNA with the 2.06 firmware update (2.04 is reported to work, but more success seems to be had with the updated firmware) WITH AT LEAST 80% BATTERY LIFE
1 Factory HTC/Droid micro-usb (Or any cable you know will work with ADB)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Prepping your computer:
1: Burn a liveCD of your linux distro of choice. Mint is my choice due to having great out of the box compatibility with hardware.
2: Insert liveCD into your PC, turn it on (or reboot), and enter boot menu (typically esc, f8, or f12 pressed during start up) and select “Boot from CD Drive”.
3: Allow liveCD to boot, it may take some time depending on the speed of your hardware. This is good time to prepare your phone for shining.
Prepping your phone:
1: Update to the 2.06 firmware update, if you have not already. If you cannot OTA, you can find guides to flash said firmware update elsewhere on XDA
a: If you are unsure what firmware you are on, go to “Settings”, “About”, and “Software Information” and it will have your firmware listed.
2: Disable any sort of screen lock. Image lock, facelock, pin lock, doesn't matter, it MUST BE DISABLED FOR THIS TO WORK
3: Disable “Fastboot”. “Settings”, “Battery”, UNCHECK “Fastboot”
4: Enable USB Debugging. “Settings”, “Developer Options”, “USB Debugging”
5: Boot into fastboot (turn off phone, reboot holding down POWER button and VOLUME DOWN button simultaneously). Select “Factory reset”. Allow phone to reset and reboot. Go back into settings, repeat sets 2 and 3 if necessary.
Downloading, unpacking, and excecuting moonshine.
1: On your live linux session, that is connected to the internet, go to www.moonshine.io
2: READ EVERYTHING
3: READ EVERYTHING AGAIN
4: Download the .tgz file relevant to your device (for most of us this will be the Verizon DNA file “moonshine_dlx_2.06.605.1.tgz”
5: Go to the folder your .tgz was just downloaded to. This should be your “downloads directory”
6: Right click anywhere in your download directory and select “Open in Terminal”
7: Extract the moonshine .tgz by typing out the following command into terminal “tar -zxf moonshine_<device>_<version>.tgz” For the Verizon DNA this will be “tar -zxf moonshine_dlx_2.06.605.1.tgz”
Your download directory should look like this when done
(Unfortunately, after this, the iPhone I was using to take pictures died, so there are no more pictures after this, but everything is very straightforward)
At this time plug your phone (which has been factory reset, rebooted, and all things listed in the “phone prep section” have been double checked) into your PC via your HTC/Android USB cable.
8: Execute the “Distiller” by typing the following command into terminal “sudo ./distiller”
9: Agree to the onscreen prompts, sit back, relax, DO NOT F**K WITH YOUR PHONE, and let the shine do its magic. This should take five to fifteen minutes and your phone will reboot several times.
10: Enjoy S-OFF and root.
ALL CREDIT GOES TO BEAUPS AND THE MOONSHINE DEV TEAM, this is simply a shoddy step by step guide by a n00b for n00bs to (hopefully) get more comfortable with the idea. This may be reproduced, altered, or edited in anyway as long as credit is given to me (DWC2134) for the original text and pictures and to the DEVS who brought us this awesome utility. In fact, PLEASE edit, improve, and revise this as you see fit for use by new android and linux users. Any changes suggested in this thread will be taken into account and incorporated into the OP.
Toubleshooting:
1: If you are experiencing the "temproot failed" problem, first try a hard reboot, then a factory reset + hard reboot if the reboot alone does not solve the problem.
2: There is some chatter of questionable validity that VZW is trying to push an update to stop SOFF. If you are having trouble, turn off your radios and/or put your phone in airplane mode while attempting moonshine. While most, myself included, doubt the validity of this claim it is better safe then sorry.
Beaups original moonshine thread
Moderators, if this is in the wrong section, or out of line, etc etc, please move, edit, delete, or do as needed.
Does it have to be the 32 bit version? If so I just have to redo my live usb.
sent from my droid DNA with xda premium
DaPitt84 said:
Does it have to be the 32 bit version? If so I just have to redo my live usb.
sent from my droid DNA with xda premium
Click to expand...
Click to collapse
Yes or the exploit will give an error saying there aren't enough 32 bit libraries. I tried on a 64 bit and got that error. I re did my live cd to use 32 bit ran the exploit and it worked flawlessly.
Sent from my HTC6435LVW using xda premium
Nice howto I did the s-off yesterday worked great. I'm on windows 7 64 bit and installed 32 bit mint.
For people doing this like op said install and use 32 bit just easier and if you're on a 64 bit system doesn't matter 32 bit installs fine.
Sent from my HTC6435LVW using xda premium
Very nice "How To' for us Windows PC peeps dwc2134...thank you.
I have a couple of questions if anyone can answer:
1) I haven't seen any other procedure where "Factory Reset" is called upon. Is there a specific reason?
2) I have a burned image of "Ubuntu-13.04-desktop-i386.iso" on USB Stick that runs v/smoothly on my laptop w/Vista Ultimate, but I can't seem to get to terminal screen. I do however see all of the Moonshine flies in download folder when in Ubuntu and "moonshine_dlx_2.06.605.1.tgz"
Please forgive the noobish Q's
Thx in advance
First of all, thank you dwc2134 for providing this guide! I am very new to this scene (Android rooting) and this guide helps out TREMENDOUSLY since I have no knowledge about terminal/command prompts.
However, after re-reading this guide and the instructions at moonshine.io, I have some questions in my head that are preventing me from going further (If anyone here can answer any of my questions, it would be most appreciated!)
1. At the Instructions page on moonshine.io, Step 8 says "Use the matchingStockRUU..", I have no idea what this, is this something I should worry about? I have not modified my Droid DNA in anyway whatsoever ever since I got the device. I only did the 2 OTA updates (2.04 and 2.06) and that's it.
2. In this guide (dwc2134's) on Step 8 where it says to execute the "Distiller", do I type it into the same terminal window I extracted the Moonshine.tgz file?
3. Once the whole process finishes, and I go back to the fastboot screen to see the glorious text that reads: "S-Off", does this mean my phone is rooted and I can install apps like SetCPU off the bat? Or do I have to flash a custom ROM and if so, can anyone recommend a "tried-and-true" ROM?
Once again, if anyone can answer my queries, it would be very helpful. Thank you in advance!
dfa7 said:
Very nice "How To' for us Windows PC peeps dwc2134...thank you.
I have a couple of questions if anyone can answer:
1) I haven't seen any other procedure where "Factory Reset" is called upon. Is there a specific reason?
2) I have a burned image of "Ubuntu-13.04-desktop-i386.iso" on USB Stick that runs v/smoothly on my laptop w/Vista Ultimate, but I can't seem to get to terminal screen. I do however see all of the Moonshine flies in download folder when in Ubuntu and "moonshine_dlx_2.06.605.1.tgz"
Please forgive the noobish Q's
Thx in advance
Click to expand...
Click to collapse
OK, fingered it out. This may just be of some help to others here. ubuntu-13.04-desktop-i386.iso wouldn't get into "terminal" BUT, linuxmint-15-cinnamon-dvd-32bit.iso does.
Does anyone know if it absolutely necessary to "Factory Reset" DNA with this Mooshine S-OFF method?
dfa7 said:
Very nice "How To' for us Windows PC peeps dwc2134...thank you.
I have a couple of questions if anyone can answer:
1) I haven't seen any other procedure where "Factory Reset" is called upon. Is there a specific reason?
2) I have a burned image of "Ubuntu-13.04-desktop-i386.iso" on USB Stick that runs v/smoothly on my laptop w/Vista Ultimate, but I can't seem to get to terminal screen. I do however see all of the Moonshine flies in download folder when in Ubuntu and "moonshine_dlx_2.06.605.1.tgz"
Please forgive the noobish Q's
Thx in advance
Click to expand...
Click to collapse
1: While not ENTIRELY necessary for a successful moonshining, performing the factory reset and hard reboot seems to solve the "temproot failed" problem several users (myself included) have expierenced.
2: Mint is my go to, so it may be slightly different in ubuntu. You can also open terminal by pressing ctrl-alt-T or by going to your applications menu (or the search in the dash) and searching for "Terminal" and then inputting "cd ~/downloads". This will, for lack of better words, open your download directory in terminal so that the commands you input specifically look for, and effect, the files there. You may have to alter the "~/downloads" portion slightly to get you to the correct directory, but looking at the filepath on your computer it should be pretty obvious.
AndroM31 said:
First of all, thank you dwc2134 for providing this guide! I am very new to this scene (Android rooting) and this guide helps out TREMENDOUSLY since I have no knowledge about terminal/command prompts.
However, after re-reading this guide and the instructions at moonshine.io, I have some questions in my head that are preventing me from going further (If anyone here can answer any of my questions, it would be most appreciated!)
1. At the Instructions page on moonshine.io, Step 8 says "Use the matchingStockRUU..", I have no idea what this, is this something I should worry about? I have not modified my Droid DNA in anyway whatsoever ever since I got the device. I only did the 2 OTA updates (2.04 and 2.06) and that's it.
2. In this guide (dwc2134's) on Step 8 where it says to execute the "Distiller", do I type it into the same terminal window I extracted the Moonshine.tgz file?
3. Once the whole process finishes, and I go back to the fastboot screen to see the glorious text that reads: "S-Off", does this mean my phone is rooted and I can install apps like SetCPU off the bat? Or do I have to flash a custom ROM and if so, can anyone recommend a "tried-and-true" ROM?
Once again, if anyone can answer my queries, it would be very helpful. Thank you in advance!
Click to expand...
Click to collapse
1: If you have not modified your phone in anyway, and have received the OTAs, then that is irrelevant to you.
2: Yes. Or in another terminal window opened in your "downloads" directory, though opening a second window seems kind of pointless.
3: Moonshine installs superuser to your device, so YES YOU CAN install custom apps like SetCPU right off the bat. I would recommend first installing a custom recovery (I am using CWMs new touch version) and making a nandroid backup before doing anything else, personally. I would also highly recommend installing a custom rom instead of putting in too much time with the stock sense rom. There are so many fantastic roms out for this phone, it would almost be a waste not to. A lot of folks swear by the ViperROM. I'm currently using it and love it.
dwc2134 said:
1: While not ENTIRELY necessary for a successful moonshining, performing the factory reset and hard reboot seems to solve the "temproot failed" problem several users (myself included) have expierenced.
2: Mint is my go to, so it may be slightly different in ubuntu. You can also open terminal by pressing ctrl-alt-T or by going to your applications menu (or the search in the dash) and searching for "Terminal" and then inputting "cd ~/downloads". This will, for lack of better words, open your download directory in terminal so that the commands you input specifically look for, and effect, the files there. You may have to alter the "~/downloads" portion slightly to get you to the correct directory, but looking at the filepath on your computer it should be pretty obvious
Click to expand...
Click to collapse
Thanks for clarrification. I decided to Mint and all is perfect! Ubuntu was a challenge considering I'm not an Apple guy and Linux is greek to me. As for the "Factory Reset", I'll gamble only 'cause I'm configured to my liking and not in mood yet to spend a day getting everything back. Thx again!
All's well that ends well. If you end up having the temp root problem, try a hard reboot first and then a factory reset.
Sent from my HTC6435LVW using xda app-developers app
dwc2134 said:
1: If you have not modified your phone in anyway, and have received the OTAs, then that is irrelevant to you.
2: Yes. Or in another terminal window opened in your "downloads" directory, though opening a second window seems kind of pointless.
3: Moonshine installs superuser to your device, so YES YOU CAN install custom apps like SetCPU right off the bat. I would recommend first installing a custom recovery (I am using CWMs new touch version) and making a nandroid backup before doing anything else, personally. I would also highly recommend installing a custom rom instead of putting in too much time with the stock sense rom. There are so many fantastic roms out for this phone, it would almost be a waste not to. A lot of folks swear by the ViperROM. I'm currently using it and love it.
Click to expand...
Click to collapse
Thank you so much for clearing away my doubts! Once I get the "S-Off" message, I'll look into your suggestions mentioned here.
dwc2134 said:
All's well that ends well. If you end up having the temp root problem, try a hard reboot first and then a factory reset.
Click to expand...
Click to collapse
dwc2134 - thanks for your help, patience and interset with some of us and this project! It does seem easier than revone.
Where do I find the Linux file to put on usb? I don't have any blank cd's either...will it work from usb stick?
HellRayzer said:
Where do I find the Linux file to put on usb? I don't have any blank cd's either...will it work from usb stick?
Click to expand...
Click to collapse
You can find the .iso image for any distro you want online. I prefer Linux Mint, though Ubuntu is another crowd favorite. You can make a bootable USB, but I find it easier to make and use liveCD/DVDs. A pack of burnable DVDs is $2.89 at CVS. Google is your friend for the rest of this, it is all VERY self explanatory and most distro sites put step by step instructions right on their website.
http://www.linuxmint.com/download.php
http://www.linuxmint.com/documentation/user-guide/english_15.0.pdf
Error When Trying To Download - 'This file reached max downloads limit"
Followed the guide...booted from USB Ubuntu. No problems. Connected to moonshine.io, clicked next, next, but when I selected the DNA version, I get the error:
"This file reached max downloads limit"
...and no download.
Any ideas? I see another person has posted this in the developers section. Is there a link problem?
Thanks.
dwc2134 said:
You can find the .iso image for any distro you want online. I prefer Linux Mint, though Ubuntu is another crowd favorite. You can make a bootable USB, but I find it easier to make and use liveCD/DVDs. A pack of burnable DVDs is $2.89 at CVS. Google is your friend for the rest of this, it is all VERY self explanatory and most distro sites put step by step instructions right on their website.
http://www.linuxmint.com/download.php
http://www.linuxmint.com/documentation/user-guide/english_15.0.pdf
Click to expand...
Click to collapse
This is spot on. I did my first live cd related to rescuing crucial data on a government computer with a corrupt OS a few weeks ago. I googled "How to make a bootable live cd USB drive" and literally in five minutes I was booted into my Ubuntu distro.
One thing I did learn is with Ubuntu there's a lot of alternative distros on their main site with all the links. After not having the option to boot without making any changes I went to my google-found guide again and realized only ubuntu distros with "desktop" in the filename would give me the live boot option I needed for the task at hand.
One of those small details I overlooked, that was solved by a quick recheck with google.
EXCELLENT GUIDE, I'm really impressed.
Max download limit reached.
I am having the same issue it says that the maxium download limit has been reached.:crying:
I can't donate if I can't download!
FUBAR'd
UntamedDarkness said:
I am having the same issue it says that the maxium download limit has been reached.:crying:
I can't donate if I can't download!
Click to expand...
Click to collapse
Link looks to be FUBAR'd. Maybe Verizon got pizzzed and did a bit of hacking themselves...
Several people now reporting the issues in multiple threads. I just rechecked...same error.
Out of curiosity, are you using Verizon Mobile Hotspot on your phone to connect to the internet via computer? I am.
CharliesTheMan said:
This is spot on. I did my first live cd related to rescuing crucial data on a government computer with a corrupt OS a few weeks ago. I googled "How to make a bootable live cd USB drive" and literally in five minutes I was booted into my Ubuntu distro.
One thing I did learn is with Ubuntu there's a lot of alternative distros on their main site with all the links. After not having the option to boot without making any changes I went to my google-found guide again and realized only ubuntu distros with "desktop" in the filename would give me the live boot option I needed for the task at hand.
One of those small details I overlooked, that was solved by a quick recheck with google.
EXCELLENT GUIDE, I'm really impressed.
Click to expand...
Click to collapse
Yep, google has most any answer you could ever need if you search enough. The only reason I promote liveCDs over liveUSBs is that I think they are a touch easier to make and use. For some reason I have always had a hard time getting liveUSBs to work.
Thank you! I'm really glad it seems to have helped some folks out!
UntamedDarkness said:
I am having the same issue it says that the maxium download limit has been reached.:crying:
I can't donate if I can't download!
Click to expand...
Click to collapse
ejohanss said:
Link looks to be FUBAR'd. Maybe Verizon got pizzzed and did a bit of hacking themselves...
Several people now reporting the issues in multiple threads. I just rechecked...same error.
Out of curiosity, are you using Verizon Mobile Hotspot on your phone to connect to the internet via computer? I am.
Click to expand...
Click to collapse
I doubt it is Verizon, most likely a bandwidth issue or hosting service issue. Seems to be common with everyone trying to download moonshine right now. Sounds like there is trouble with the download limit counter. I knew I should have kept a backup copy of the .tgz
No, when I tether I use one of the free solutions. I got bumped off of unlimited, so I tend to use more wifi then phone data. You NEED an internet connection that is not reliant on your phone for this to work. Moonshine actively connects to the internet during the ./distiller program.
dwc2134 said:
Yep, google has most any answer you could ever need if you search enough. The only reason I promote liveCDs over liveUSBs is that I think they are a touch easier to make and use. For some reason I have always had a hard time getting liveUSBs to work.
Thank you! I'm really glad it seems to have helped some folks out!
I doubt it is Verizon, most likely a bandwidth issue or hosting service issue. Seems to be common with everyone trying to download moonshine right now. Hopefully beaups will be able to set up some new downloads or someone else will be willing to host the files for him. I knew I should have kept a backup copy of the .tgz
No, when I tether I use one of the free solutions. I got bumped off of unlimited, so I tend to use more wifi then phone data. You NEED an internet connection that is not reliant on your phone for this to work. Moonshine actively connects to the internet during the ./distiller program.
Click to expand...
Click to collapse
I just checked it's a host download limit it's ABSOLUTELY not related to verizon.

[Root] Complete Stock PH1 Setup with Root - Everything working

AT&T
I am not responsible for anything that happens to your device by doing this! If you break it, brick it or just plain blow it up. it is your phone and your responsibility for what happens to it.
Here it is. Full AT&T With Root - since this is AT&T based all bands should work as well
This is Based On AT&T PH1 Firmware and is Completely Stock and Unmodified
To Avoid Repeat Questons. READ! READ IT AGAIN! and then READ it once more! if you do not Understand any part of this. Do Not Continue!!!
This Guide assumes you have some basic knowledge and can at least copy and paste for the most part! It is Intended for advanced users!!!!!!!!
This Guide also Assumes you have an sdcard inserted in your phone(however some of you may not and this will not work.)
This Does NOT Trip Knox.
Read this entire post before doing anything to avoid issues and FOLLOW Directions - if you don't things will not work right.
Note! if at anytime during the following steps you see the samsung boot animation before step 11. start over cause you screwed up!
Step 1. Initial PreSetup Requirements and Downloads
Make Sure your ExtSDCard(the one you put in your sim tray) is formated exfat(backup your card before you do this in windows or linux(whichever you use))
https://www.androidfilehost.com/?fid=24651430732237653 bbx.rar
https://www.androidfilehost.com/?fid=24723785898787049 ATT_System.rar
https://www.androidfilehost.com/?fid=24713784966775407 AT&T Bootloader
https://www.androidfilehost.com/?fid=24713784966775395 AT&T Modem
Step 2. extract system.rar and bbx.rar and then copy system.img and bbx to your extsdcard(the sdcard you inserted into your phone)
Step 3. odin sprint userdebug firmware available here. http://forum.xda-developers.com/sprint-note-7/how-to/root-super-leaky-bros-sprint-galaxy-t3447202
Step 4. Directly after odin is done with the sprint file you will immidiatly be presented with an update screen
Step 4a when this process of erasing your phone is finished it will reboot(this is the point you want to do the next step)
Step 4b. press and hold power, home and vol up to enter recovery
Step 4c If you see the samsung boot animation. you did NOT do this right and i would suggest you start over
Step 5. open a command prompt in your adb folder and do the following steps 1 at a time(these are case sensative)
Step 5a. adb shell
Step 5b. su
Step 5c. setenforce 0
Step 5d. export PATH=$PATH:/sbin
Step 5e. mount -o remount,rw /
Step 5f. on your phone, go to apply update from sdcard(this will mount your extsdcard as /sdcard and you should see the system.img file and the bbx file) do not select anything, go back to adb and continue(it is not a big deal if those files don't show. we just needed the extsdcard mounted as sdcard - the files exist, just continue to the next step)
Step 5g. cp /sdcard/bbx /sbin/bbx
Step 5h. chmod 777 /sbin/bbx
Step 5i. cd /sbin
Step 5j. ./bbx --install /sbin
Step 5k. umount -l /system
Step 5l. /sbin/dd if=/sdcard/ATT_System.img of=/dev/block/platform/soc/624000.ufshc/by-name/system
Note. you will see a blinking cursor. just be patient
Step 7. when it is done you will see something similar to this
11161600+0 records in
11161600+0 records out
5714739200 bytes (5.3GB) copied, 268.668086 seconds, 20.3MB/s
Step 8. if all went well you should be at your prompt and not in adb anymore
Step 9. from your command prompt simply type
Step 9a. adb reboot bootloader
Step 10. open odin and click the bl button and select this file - BL_N930AUCS1APH1_CL8706614_QB10526661_REV00_user_low_ship_MULTI_CERT.tar.md5
Step 10b. now click the cp button and select this file - CP_N930AUCS1APH1_CL8706614_QB10526661_REV00_user_low_ship_MULTI_CERT.tar.md5
Step 10c. now click start. it will reboot when done let it fully boot this time.
Step 11. once booted and you have setup your phone, we need to add the root files or supersu as most of you know it
Note! pertaining to Step 12. these instructions were taken Explicitly from @freeza thread which is listed in step 3
Step 12. Now we need to add supersu and the needed files for it to work
Step 12a. download this file - https://www.androidfilehost.com/?fid=24651430732236679
Step 12b. Extract the sun7 file to your adb folder making sure the files are in a folder called sun7(mine looks like this - c:/adb/sun7 and contains 4 files)
Step 12c. Open a command prompt where your ADB executable and sun7 folder are.
Step 12d. adb shell
Step 12e. su - Note! if your adb prompot changes from a $ to #(you are good and have root access)
Step 12f. type exit twice to get back to the command prompt. - Your Phone should be fully booted when you do this
Step 12g. adb push sun7 /data/local/tmp/su
Step 12h. adb shell chmod 0777 /data/local/tmp/su/*
Step 12i. adb shell
Step 12j. cd data/local/tmp/su
Step 12k. su
Step 12l. ./root.sh - Note. this command begins with a . do not leave it out
Step 12m. Your Phone will now reboot
Step 13. when booted back up go to playstore and install busybox on rails or a similar app and install busybox to /system/xbin(if your given an option of where to install it)
Step 14. Thats Pretty Much it. most of all enjoy it
Additional Notes!
If for any reason you do a factory reset. you will break root and need to redo this method to get it back
If you use shealth do not update it or allow playstore or galaxy appstore to auto update it or it will break it
Enjoy and FOLLOW Directions - if you don't things will not work right.
thank you to the following:
@freeza - for posting the original userdebug file
 @ted77usa - for testing
@bajasur - for the initial idea which ultimately led to this
 @Surge1223 - for the busybox installer and the adb help and android commands that make this work
 @galaxyuser88 - for testing this and pointing out some flaws
 @Hashcode - for inspiration
and anyone i missed
this was a complete collaboration and is only available because of those mentioned so be sure to give them thanks
TY to @jmahaffey for testing and the following screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This Method Completely replaces the Sprint files with AT&Ts. with exception to the kernel, recovery and the su binary. so everything once complete is now AT&T and not sprint with AT&T touchs thrown in to make it work.
as we don't have an unlocked bootloader, there is no twrp recovery. but flashfire takes it place. so any changes you want to make are basically done the same way as they would be for twrp except they are now flashed through flashfire.
to get rid of the security notice you will get(because the system is now rooted) simply install root explorer(or any root browser) and go to /system/app and delete securitylogagent or go into the folder and rename it adding .bkp to the end of the file name and reboot.
reserved 2
and 1 more just in case
Nice job OvrDrive! Can't wait to get my replacement.
---------- Post added at 11:19 PM ---------- Previous post was at 11:11 PM ----------
So if you want to go back to stock rom all you have to do is flash the stock firmware again?
borijess said:
Nice job OvrDrive! Can't wait to get my replacement.
---------- Post added at 11:19 PM ---------- Previous post was at 11:11 PM ----------
So if you want to go back to stock rom all you have to do is flash the stock firmware again?
Click to expand...
Click to collapse
yup. this does not trip knox. just odin stock firmware and samsung pay and android pay will work again. yes they are broken by root, blame samsung. but stock firmware they work fine
enjoy all. i can go relax now that i got everyone taken care of.
@OvrDriVE
Finally we got att root method published too..... great job as always Bud[emoji106] hint @Venom0642 test your note 7 Bro before u return it.....haha
Sent from my SM-N920T using Tapatalk
Thank you for making this root method happen, can't wait for replacement note 7s to come out. Already got my case and other accessories coming soon in the mail next week.
I will definitly try this, as soon as I get home from work, before the new replacements come, just in case.
@OvrDriVE Thanks man and sorry I couldnt been much help.
Since I use Samsung pay most of the time, I think I will wait until my Gear S2 is able to use SSPay before I root.
But def cant wait to get my N7 rooted!
Thanks!
Awesome. I really wanted to be a tester, but it is impossible to get a replacement for now. Sorry.
Does all samsung stuff work
Does samsung health still work? I've read somewhere new version doesn't on rooted devices..
dvtmg704 said:
Does all samsung stuff work
Click to expand...
Click to collapse
[email protected] said:
Does samsung health still work? I've read somewhere new version doesn't on rooted devices..
Click to expand...
Click to collapse
This is a short thread as of right now. Please read it~
But short fed answers.
It was stated S Health works on the older version and to not update it.
OvrDrivE also stated that Samsung Pay and Android Pay will work.
Made it so it kinda sticks out like a sore thumb
sixk said:
This is a short thread as of right now. Please read it~
But short fed answers.
It was stated S Health works on the older version and to not update it.
OvrDrivE also stated that Samsung Pay and Android Pay will work."
Made it so it kinda sticks out like a sore thumb
Click to expand...
Click to collapse
I've cut and pasted overdrive's response about Samsung Pay and Android working from post #6. "yup. this does not trip knox. just odin stock firmware and samsung pay and android pay will work again. yes they are broken by root, blame samsung. but stock firmware they work fine."
So got my replacement n7 and have software ver 1APH1, is it rootable? I know this root process is based off of the PH1 but justed wanted to make sure.
Currently trying this on my replacement Note 7, which I just got from AT&T. However, when I try to odin the Sprint file from step 3 odin is giving me a " SHA256 is invalid" error.
The file is an md5 file rather than a tar file too; I don't know if it should be
rogerandgina said:
So got my replacement n7 and have software ver 1APH1, is it rootable? I know this root process is based off of the PH1 but justed wanted to make sure.
Click to expand...
Click to collapse
Yes, I wanted to make sure this worked before trading it in. It does work on this software version.
Could someone recommend a good app that will allow tether for us Unlimited users? Perhaps there's a way to unlock the provisioning?
---------- Post added at 06:20 AM ---------- Previous post was at 06:18 AM ----------
Although root is working, I'm getting security warnings. "Threat Found" Unauthorized actions have been detected. Restart your device to undo any unauthorized change"
I realize I have to freeze the Security Log Agent with titanium backup.... but what exactly is the security problem and will I be at harms way by disabling the log agent?
What is it, and how to avoid?
JameyS said:
Although root is working, I'm getting security warnings. "Threat Found" Unauthorized actions have been detected. Restart your device to undo any unauthorized change"
What is it, and how to avoid?
Click to expand...
Click to collapse
From the second post:
OvrDriVE said:
to get rid of the security notice you will get(because the system is now rooted) simply install root explorer(or any root browser) and go to /system/app and delete securitylogagent or go into the folder and rename it adding .bkp to the end of the file name and reboot.
Click to expand...
Click to collapse
Luigiman765 said:
From the second post:
Click to expand...
Click to collapse
Thanks... I was just wondering if it will cause other "Real" security issues in the future by not detecting a real problem once turned off?
Also, Wifi tether?

Categories

Resources