[HOW TO] Unlock bootloader, Root, Flash Custom ROM, Flash Kernel

Search This thread

mrpalin

Member
May 22, 2013
13
1
I just want to make sure I'm clear.

I've lost my unlockcode.bin file from HTC dev. If I choose an RUU what numbers do I need to ensure line up properly? I've had issues in the past with the incorrect RUU file for my carrier.

Sent from my One S using xda app-developers app
 
Jun 13, 2013
9
0
Custom ROM for HTC One X+

See here's the toolkit for your phone tight here. As hassoon said his tutorials work for all phones but they need the correct toolkit. http://xdaforums.com/showthread.php?t=1994961
That is your toolkit thread

Sent from my One S using xda app-developers app

Hi, after much hemming and hawing and a great deal of trepidation I've managed to (successfully) root my HTC One X+. I now want to flash a custom ROM to my phone. Could you, or someone else, recommend a good custom ROM for the HOX+? I'm looking for stability, speed, aesthetics and improved battery life (not necessarily in that order). I liked what I've seen of the Viper ROM but don't know if it works for the HTC one X+. I'd be very grateful for any advice/suggestions about what custom ROM I should opt for.

Cheers
 
Jun 13, 2013
9
0
Custom ROM for HTC One X+

See here's the toolkit for your phone tight here. As hassoon said his tutorials work for all phones but they need the correct toolkit. http://xdaforums.com/showthread.php?t=1994961
That is your toolkit thread

Sent from my One S using xda app-developers app



Hi, after much hemming and hawing and a great deal of trepidation I've managed to (successfully) root my HTC One X+. I now want to flash a custom ROM to my phone. Could you, or someone else, recommend a good custom ROM for the HOX+? I'm looking for stability, speed, aesthetics and improved battery life (not necessarily in that order). I liked what I've seen of the Viper ROM but don't know if it works for the HTC one X+. I'd be very grateful for any advice/suggestions about what custom ROM I should opt for.

Cheers

Anyone?
 
Jun 13, 2013
9
0
Is there a mixed bag?

Do you want aosp or a sense

Sent from my One S using xda app-developers app

Ideally I'd prefer a mixed bag, a ROM a la carte, so to speak. A fast, stable AOSP ROM which has certain stock features (e.g Google Keyboard) coupled with customised ones (Sony Bravia HD 2/3, for instance) but minus the bloatware added by Samsung, HTC, Sony et al. Multiple themes would be the icing on the cake. Does such a thing exist outside my imagination? If not, is there any one ROM that comes close?

Thanks in advance
 
Jun 13, 2013
9
0
Post 1: How to unlock your bootloader, flash a recovery and root
Post 2: How to flash a custom ROM and kernel (boot.img)
Post 3: How to reverse everything and go back to stock
Post 4: How to ADB Sideload a ROM



Alright. This is for everyone who wants to root their phone. I've seen MULTIPLE threads of the same question "Can I root my phone and How do I do it". So I hope I never have to see it again! In this tutorial, I use use my toolkit as the way to root. Doing it manually takes forever and that is why I made my toolkit.

Requirements:
HTC One S (charged to at least 70%)
Windows XP,Vista,7 (8 is not officially supported since I don't have the drivers)
USB cable
Ability to read and follow step-by-step
Understanding that I am no way guaranteeing anything. If you screw up your phone, you probably didn't follow my steps and made a foolish mistake.

Let's begin.

Download my toolkit from here.

http://xdaforums.com/showthread.php?t=1604677

Extract the FOLDER to your C: drive or to your desktop.

MAKE SURE YOUR DIRECTORY DOES NOT HAVE A PERIOD OR SPACE.

Open One S.exe

So now you have my program open. Great.

On your phone, go to Settings -> Developer Options and Enable USB Debugging.

From my toolkit, Click 1. Install HTC Drivers.

After the drivers install, restart your computer.

After your computer loads up, open my toolkit and connect your phone to the computer. Your phone should now be recognized.

Now, click 2. Register at HTCDev. Register with a VALID email address and LEAVE the web browser open.

Now, under the commands section of my toolkit, press Boot into Bootloader.

You should have a nice, white, shiny screen that says FASTBOOT USB.

Click 3. Get Token ID. Look at the pop up and it will tell you how to get the Token ID.

Highlight where it says < < < < Identifier Token Start > > > > all the way to < < < < < Identifier Token End > > > > > and right click and it will automatically copy it.

Now, click Submit Token ID. Your web browser should now open a new tab. Scroll down and in the empty box, paste your Token ID. Press submit. HTCDev now emailed you your unlock token.

Your phone should still be in the bootloader. Now, go to the email address you registered to HTCDev and DOWNLOAD your unlock_code.bin. Press 5. Unlock Bootloader. Locate your unlock_code.bin and it will flash it to your phone.

READ the warning. THIS WILL WIPE ALL YOUR DATA FROM THE PHONE.

When you agree to it, press the volume up button and press the power button to accept it. Your phone will now restart.

When your phone loads up, go through the set up wizard. Then, on your phone, go to Settings -> Developer Options and Enable USB Debugging.

Under the Extras section, press Perm Root. It will push SuperSU.zip to your phone.

Now, it is time to flash a recovery. The custom recovery is for 2 different devices

TWRP (Team Win Recovery Project) is a custom recovery that will allow you to flash custom ROMs, Mods, etc.

If your phone is the S3 model, then flash the one that says TWRP (S3)

If your phone is the S4 model, then flash the one that says TWRP (S4)

If your phone is the special edition 64Gb model, then flash the one that says TWRP (Special Edition)

After it flashes, remove the USB cable and have HBOOT selected in bootloader. Press the power button and it will reload to another screen. Press the Volume Down button until you get to Recovery. Press the power button to select it.

Go to Backup and back up your boot and system partition. Always have a back up before you flash or do anything.

After that, go to Install and locate SuperSU.zip. Click it and slide the screen on the bottom to flash it. After it flashes, reboot the phone.

In your app drawer (your menu with all the apps), open SuperSU. If it says the binary needs to be updated, then update it. If it doesn't, then you are fully rooted!

The step-by-step tutorial is excellent but I just have one doubt; Is simply REGISTERING with HTCDev enough or do I have to ACTIVATE the account by clicking on the link I got on my mail before I proceed to "Boot into Bootloader." I'd be grateful if you could clarify this point.

Thanks In Advance
 

skinzy98

Senior Member
May 30, 2012
1,768
521
The step-by-step tutorial is excellent but I just have one doubt; Is simply REGISTERING with HTCDev enough or do I have to ACTIVATE the account by clicking on the link I got on my mail before I proceed to "Boot into Bootloader." I'd be grateful if you could clarify this point.

Thanks In Advance

Activate. And as for the ROM, I don't necessarily know of one. You can put a theme on any of them. But you have to find the theme you want. Carbon ROM is a great stable aosp ROM. For right now don't flash any of the ones that say 3.4 as you need to read up on that

Sent from my One S using xda app-developers app
 
Jun 13, 2013
9
0
Post 1: How to unlock your bootloader, flash a recovery and root
Post 2: How to flash a custom ROM and kernel (boot.img)
Post 3: How to reverse everything and go back to stock
Post 4: How to ADB Sideload a ROM



Alright. This is for everyone who wants to root their phone. I've seen MULTIPLE threads of the same question "Can I root my phone and How do I do it". So I hope I never have to see it again! In this tutorial, I use use my toolkit as the way to root. Doing it manually takes forever and that is why I made my toolkit.

Requirements:
HTC One S (charged to at least 70%)
Windows XP,Vista,7 (8 is not officially supported since I don't have the drivers)
USB cable
Ability to read and follow step-by-step
Understanding that I am no way guaranteeing anything. If you screw up your phone, you probably didn't follow my steps and made a foolish mistake.

Let's begin.

Download my toolkit from here.

http://xdaforums.com/showthread.php?t=1604677

Extract the FOLDER to your C: drive or to your desktop.

MAKE SURE YOUR DIRECTORY DOES NOT HAVE A PERIOD OR SPACE.

Open One S.exe

So now you have my program open. Great.

On your phone, go to Settings -> Developer Options and Enable USB Debugging.

From my toolkit, Click 1. Install HTC Drivers.

After the drivers install, restart your computer.

After your computer loads up, open my toolkit and connect your phone to the computer. Your phone should now be recognized.

Now, click 2. Register at HTCDev. Register with a VALID email address and LEAVE the web browser open.

Now, under the commands section of my toolkit, press Boot into Bootloader.

You should have a nice, white, shiny screen that says FASTBOOT USB.

Click 3. Get Token ID. Look at the pop up and it will tell you how to get the Token ID.

Highlight where it says < < < < Identifier Token Start > > > > all the way to < < < < < Identifier Token End > > > > > and right click and it will automatically copy it.

Now, click Submit Token ID. Your web browser should now open a new tab. Scroll down and in the empty box, paste your Token ID. Press submit. HTCDev now emailed you your unlock token.

Your phone should still be in the bootloader. Now, go to the email address you registered to HTCDev and DOWNLOAD your unlock_code.bin. Press 5. Unlock Bootloader. Locate your unlock_code.bin and it will flash it to your phone.

READ the warning. THIS WILL WIPE ALL YOUR DATA FROM THE PHONE.

When you agree to it, press the volume up button and press the power button to accept it. Your phone will now restart.

When your phone loads up, go through the set up wizard. Then, on your phone, go to Settings -> Developer Options and Enable USB Debugging.

Under the Extras section, press Perm Root. It will push SuperSU.zip to your phone.

Now, it is time to flash a recovery. The custom recovery is for 2 different devices

TWRP (Team Win Recovery Project) is a custom recovery that will allow you to flash custom ROMs, Mods, etc.

If your phone is the S3 model, then flash the one that says TWRP (S3)

If your phone is the S4 model, then flash the one that says TWRP (S4)

If your phone is the special edition 64Gb model, then flash the one that says TWRP (Special Edition)

After it flashes, remove the USB cable and have HBOOT selected in bootloader. Press the power button and it will reload to another screen. Press the Volume Down button until you get to Recovery. Press the power button to select it.

Go to Backup and back up your boot and system partition. Always have a back up before you flash or do anything.

After that, go to Install and locate SuperSU.zip. Click it and slide the screen on the bottom to flash it. After it flashes, reboot the phone.

In your app drawer (your menu with all the apps), open SuperSU. If it says the binary needs to be updated, then update it. If it doesn't, then you are fully rooted!

Activate. And as for the ROM, I don't necessarily know of one. You can put a theme on any of them. But you have to find the theme you want. Carbon ROM is a great stable aosp ROM. For right now don't flash any of the ones that say 3.4 as you need to read up on that

Sent from my One S using xda app-developers app

Thanks, dude. You've been very helpful. And very patient, I might add ;)

Hi, I googled Carbon ROM but it doesn't support HTC One X+ (International), the phone I have. Also the developers' page has something about D2xxxx devices and 3.4, which you said I shouldn't use, right? Any other suggestions for an AOSP ROM. It's a pity I can't use Carbon because I really liked the look of it. Could you tell me what 3.4 is? Is it the number of the Kernel? Or, perhaps, the hboot? Mine is 1.35, by the way.
 
Last edited:

dani087

New member
Jun 15, 2013
2
0
Nice tool, work for my ville c2. Thanks :)

Sent from my HTC One S using xda app-developers app
 

skinzy98

Senior Member
May 30, 2012
1,768
521
Thanks, dude. You've been very helpful. And very patient, I might add ;)

Hi, I googled Carbon ROM but it doesn't support HTC One X+ (International), the phone I have. Also the developers' page has something about D2xxxx devices and 3.4, which you said I shouldn't use, right? Any other suggestions for an AOSP ROM. It's a pity I can't use Carbon because I really liked the look of it. Could you tell me what 3.4 is? Is it the number of the Kernel? Or, perhaps, the hboot? Mine is 1.35, by the way.

I'm sorry I forgot to reply. Yes 3.4 is the kernel version. It has gotten much better since when I first wrote that post. What I was saying about 3.4 is that to run 3.4 (except for the very few lucky people who don't have to worry about hboot) on the HTC one s you need to have a hboot of 2.14 or higher. To do this on a one s you have to either run a jellybeN update ruu or try trick droid 10.1. Lry me check on the one x+ thread

Sent from my One S using xda app-developers app
 

nash.slayer

Senior Member
Jul 3, 2010
54
4
E: Unable to mount '/sdcard'

E: Unable to mount '/sdcard' , Error display while ADB Sideload.
What am I supposed to do?? I accidentally wiped everything while I was high!!

Help me out. Please!
And this is from the command prompt :

Android Debug Bridge version 1.0.29

-d - directs command to the only connected USB devic
e
returns an error if more than one USB device is
present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is r
unning.
-s <serial number> - directs command to the USB device or emulator w
ith
the given serial number. Overrides ANDROID_SERI
AL
environment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.

If -p is not specified, the ANDROID_PRODUCT_OUT

environment variable is used, which must
be an absolute path.
devices - list all connected devices
connect <host>[:<port>] - connect to a device via TCP/IP
Port 5555 is used by default if no port number
is specified.
disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
Port 5555 is used by default if no port number
is specified.
Using this command with no additional arguments

will disconnect from all connected TCP/IP devic
es.

device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> [<local>] - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(-l means list but don't copy)
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transport

adb install [-l] [-r] [-s] [--algo <algorithm name> --key <hex-encoded key> --
iv <hex-encoded iv>] <file>
- push this package file to the device and instal
l it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data
)
('-s' means install on SD card instead of inter
nal storage)
('--algo', '--key', and '--iv' mean the file is
encrypted already)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories
)
adb bugreport - return all information from the device
that should be included in a bug report.

adb backup [-f <file>] [-apk|-noapk] [-shared|-noshared] [-all] [-system|-nosy
stem] [<packages...>]
- write an archive of the device's data to <file>
.
If no -f option is supplied then the data is wr
itten
to "backup.ab" in the current directory.
(-apk|-noapk enable/disable backup of the .apks
themselves
in the archive; the default is noapk.)
(-shared|-noshared enable/disable backup of the
device's
shared storage / SD card contents; the defau
lt is noshared.)
(-all means to back up all installed applicatio
ns)
(-system|-nosystem toggles whether -all automat
ically includes
system applications; the default is to inclu
de system apps)
(<packages...> is the list of applications to b
e backed up. If
the -all or -shared flags are passed, then t
he package
list is optional. Applications explicitly g
iven on the
command line will be included even if -nosys
tem would
ordinarily cause them to be omitted.)

adb restore <file> - restore device contents from the <file> backup
archive

adb help - show this help message
adb version - show version num

scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specifie
d device
adb remount - remounts the /system partition on the device re
ad-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
tloader or recovery program
adb reboot-bootloader - reboots the device into the bootloader
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB
adb tcpip <port> - restarts the adbd daemon listening on TCP on th
e specified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns

adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:

- If <directory> is not specified, both /system and /data partitions will be u
pdated.

- If it is "system" or "data", only the corresponding partition
is updated.

environmental variables:
ADB_TRACE - Print debug information. A comma separated list
of the following values
1 or all, adb, sockets, packets, rwx, usb, sync
, sysdeps, transport, jdwp
ANDROID_SERIAL - The serial number to connect to. -s takes prior
ity over this if given.
ANDROID_LOG_TAGS - When used with the logcat option, only these de
bug tags are printed.
 
Last edited:

42freelancer

Senior Member
Jul 16, 2013
131
41
Port Saint Loser
Is there any way to have the unrooted phone seem as if it was never rooted in the first place? Trying to replace the phone under warranty and rooting it voids that. If there's a way, please let me know.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 38
    Post 1: How to unlock your bootloader, flash a recovery and root
    Post 2: How to flash a custom ROM and kernel (boot.img)
    Post 3: How to reverse everything and go back to stock
    Post 4: How to ADB Sideload a ROM



    Alright. This is for everyone who wants to root their phone. I've seen MULTIPLE threads of the same question "Can I root my phone and How do I do it". So I hope I never have to see it again! In this tutorial, I use use my toolkit as the way to root. Doing it manually takes forever and that is why I made my toolkit.

    Requirements:
    HTC One S (charged to at least 70%)
    Windows XP,Vista,7 (8 is not officially supported since I don't have the drivers)
    USB cable
    Ability to read and follow step-by-step
    Understanding that I am no way guaranteeing anything. If you screw up your phone, you probably didn't follow my steps and made a foolish mistake.

    Let's begin.

    Download my toolkit from here.

    Link 1 and Link 2

    Extract the FOLDER to your C: drive or to your desktop.

    MAKE SURE YOUR DIRECTORY DOES NOT HAVE A PERIOD OR SPACE.

    Open One S.exe

    So now you have my program open. Great.

    On your phone, go to Settings -> Developer Options and Enable USB Debugging.

    From my toolkit, Click 1. Install HTC Drivers.

    After the drivers install, restart your computer.

    After your computer loads up, open my toolkit and connect your phone to the computer. Your phone should now be recognized.

    Now, click 2. Register at HTCDev. Register with a VALID email address and LEAVE the web browser open.

    Now, under the commands section of my toolkit, press Boot into Bootloader.

    You should have a nice, white, shiny screen that says FASTBOOT USB.

    Click 3. Get Token ID. Look at the pop up and it will tell you how to get the Token ID.

    Highlight where it says < < < < Identifier Token Start > > > > all the way to < < < < < Identifier Token End > > > > > and right click and it will automatically copy it.

    Now, click Submit Token ID. Your web browser should now open a new tab. Scroll down and in the empty box, paste your Token ID. Press submit. HTCDev now emailed you your unlock token.

    Your phone should still be in the bootloader. Now, go to the email address you registered to HTCDev and DOWNLOAD your unlock_code.bin. Press 5. Unlock Bootloader. Locate your unlock_code.bin and it will flash it to your phone.

    READ the warning. THIS WILL WIPE ALL YOUR DATA FROM THE PHONE.

    When you agree to it, press the volume up button and press the power button to accept it. Your phone will now restart.

    When your phone loads up, go through the set up wizard. Then, on your phone, go to Settings -> Developer Options and Enable USB Debugging.

    Under the Extras section, press Perm Root. It will push SuperSU.zip to your phone.

    Now, it is time to flash a recovery. The custom recovery is for 2 different devices

    TWRP (Team Win Recovery Project) is a custom recovery that will allow you to flash custom ROMs, Mods, etc.

    If your phone is the S3 model, then flash the one that says TWRP (S3)

    If your phone is the S4 model, then flash the one that says TWRP (S4)

    If your phone is the special edition 64Gb model, then flash the one that says TWRP (Special Edition)

    After it flashes, remove the USB cable and have HBOOT selected in bootloader. Press the power button and it will reload to another screen. Press the Volume Down button until you get to Recovery. Press the power button to select it.

    Go to Backup and back up your boot and system partition. Always have a back up before you flash or do anything.

    After that, go to Install and locate SuperSU.zip. Click it and slide the screen on the bottom to flash it. After it flashes, reboot the phone.

    In your app drawer (your menu with all the apps), open SuperSU. If it says the binary needs to be updated, then update it. If it doesn't, then you are fully rooted!
    17
    Post 2: How to flash a custom ROM and kernel (boot.img)

    The fun part! Now, I will teach you how to flash a ROM and boot.img

    Find a ROM you like, the first thing you should do is make sure it is COMPATIBLE with your phone. If you find a ROM that is for AT&T and you have the International model, don't be an idiot and flash it. I will not help you with that since you already agreed to my warning from the first post.

    S3 ROMs don't work on S4 models and vice versa.

    Also, DO NOT ASK IF YOU CAN FLASH A ROM FROM ANOTHER DEVICE!

    Will it work? NO! Will it ever work? NO! Can I flash it anyways? Brick your device, I don't care. I warned you.

    Let's get back on task. So you found the ROM you want to try, so go ahead and download it. KEEP THE THREAD OPEN! MAKE SURE YOU READ EVERYTHING AND REREAD IT AGAIN! READ WHAT USERS SAID ABOUT IT AND ABOUT BUGS! GO AHEAD AND READ THE WHOLE ENTIRE THREAD! GAIN KNOWLEDGE!!

    Connect your USB cable to your phone. View the folders on your phone. I like to make a folder called ROMs on my phone and transfer it in there.

    After you transfer it, open my toolkit and press Boot into Recovery. When you are in TWRP, MAKE A BACKUP!!!

    After you make a backup AKA a Nandroid, click Wipe. Wipe Cache, Dalvik, Factory Reset and System. NOTHING ELSE! If you click anything else, IT WILL WIPE YOUR SD CARD AND YOU WILL HAVE MORE ISSUES ON YOUR HEAD!

    So you wiped everything. Great. Your phone is ROMless, Yay!

    Now go back and press install. Go to the folder where the ROM you downloaded, is located in. Select the ROM and slide the screen to flash it. After it flashes, press the back button. Press Reboot and Reboot into bootloader. Open the ROM you downloaded from your computer. You should see boot.img. Extract it to your computer. Open my toolkit and press Flash a Kernel. Locate the boot.img and it will flash it.

    After it flashes, press reboot from the phone.

    Congrats! Enjoy your fully working or borked ROM! Remember, DO NOT ASK FOR ETAs, DO NOT BUG/PM A DEV ABOUT UPDATES, and BE RESPECTFUL TO THE DEVELOPERS!
    14
    4. How to use ADB Sideload

    You may have seen what ADB Sideload around the forums but have no idea what it is. Since the HTC One S does not have an SD card, it makes things harder when you have to flash a ROM.

    Here's a scenario when we need to use ADB Sideload.
    1. You accidentally wiped your internal SD and have no ROM on your phone
    2. You wiped your ROM and forgot to transfer a custom ROM/have no backups(Nandroid) available.
    3, You have none of the above and there is no available RUU for your phone. <----- This is a real bummer.

    Here are the steps to load on a ROM
    I placed TWRP in my toolkit for a reason. CWM does not support ADB Sideload (as far as I know) and TWRP does.

    Boot into recovery manually. Turn your device off and hold the VOLUME DOWN + POWER button together until the BOOTLOADER pops up. Press the VOLUME DOWN button until you have selected RECOVERY. Press the POWER button to get into RECOVERY.

    Connect the USB Cable to your phone and computer.

    In TWRP, click "Advanced" and select ADB Sideload.

    Download a ROM to your computer (if you haven't already done so). Rename it as one word. For example CM10.zip, QX.zip, ARHD.zip, etc.

    In my toolkit, under the extras section, press ADB Sideload a ROM. Press "Yes" when it asks you if you are in recovery. Then select the ROM you want to install. It will then sideload it to your phone and flash it.

    After it finishes, press the back button. Press Reboot and select bootloader.

    Pull the boot.img from the zip file and extract it.

    Open my toolkit and press Flash a Kernel. Locate the boot.img and it will flash it.

    You now have a ROM on your phone!
    11
    Post 3: How to reverse everything and go back to stock

    Now, let's talk about getting back to stock. There are 2 ways to do this.

    1. Flash the stock RUU (If available) (Recommended)
    2. Restore your Nandroid (backup that I told you to make earlier)

    1. I'll talk about flashing the stock RUU first.

    Open up my toolkit and press "Factory RUU" from the links sections. I usually have the most updated RUUs that Football releases on my Dev-Host account. Download the correct RUU for your phone.

    Now, back up all your data (pictures, contacts, etc) since this will put your phone back to complete stock.

    Connect the USB cable to your phone.

    Press Relock bootloader. It may give you a security warning error or it may say failed. Who cares, ignore it. It's normal.

    Your phone will boot up normally.

    When the phone is fully loaded. Unplug and replug the USB cable back in the phone. Now,run the RUU you downloaded and follow the instructions.

    Your phone will be back to stock.

    2. Now, we will talk about restoring your nandroid backup.

    Connect your phone to the computer. Open up the folder to view the files on your phone.

    From your computer, Go to TWRP -> BACKUPS -> (Your hardware Serial Number) -> (Folder you wish to restore to) -> and copy boot.emmc.win to your computer. Rename boot..emmc.win to boot.img

    Open my toolkit and press boot into recovery.

    Click Wipe. Wipe Cache, Dalvik, Factory Reset and System. NOTHING ELSE! If you click anything else, IT WILL WIPE YOUR SD CARD AND YOU WILL HAVE MORE ISSUES ON YOUR HEAD!

    Press back and press Restore. Choose the backup to restore to.

    After it finishes, press the back button. Press Reboot and select bootloader.

    Open my toolkit and press Flash a Kernel. Locate the boot.img and it will flash it.

    You are now back to your stock Nandroid.
    2
    Hi, go into bootloader and see if you got VLE (S4) or VILLEC2 (S3)