Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

{Answers} 2.20 Root Questions & Answers

OP abhipati

26th October 2012, 06:11 PM   |  #1  
abhipati's Avatar
OP Senior Member
Flag Littleton MA
Thanks Meter: 334
 
967 posts
Join Date:Joined: Jun 2012
More
I have seen so many thread with same questions all over in One X Q&A, so I have tried to pool all questions in one place and provide the answers.

Mod*- This should be in Q&A because i think people who do not read posts in General and come back and post questions in Q&A


First and Foremost

........................................Please please Read Read Read Read Read Read before you post or flash anything.......................................... .........


---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Question 1 - How to root 2.20 firmware

Answer

If you want to do all this in more easy way (i.e using GUI) then i would recommend you to follow - [TOOL] HTC One X (Evita) All-In-One Toolkit V1.1 [10-28-12] [PERM ROOT][Noob-Proof]

Step 1 - Setup the environment which will help you in rooting your device

1) Download Android SDK from here {For Windows}

2) Download java if you need it - here

3) Only for windows - Download htc sync ( It will install necessary htc drivers) - Link

4) Just to check if htc drivers installed properly , open "C:\android-sdk\platform-tools" ( Or folder where adb and fastboot exists) then "Press shift + right click and select "Open command window here" ( open command prompt and cd "folder where adb and fastboot exists).

5) In command window type " adb devices" and see output - If you get output then htc drivers installed properly.

"Info - What to learn about more about adb then goto - [HOW-TO] Install & Use ADB tool | Android Debug Bridge | Drivers - Videos - Tutorial

Fastboot - Link"

You can skip step 4 & step 5 - These steps are only for verification .

6) Goto [ROOT] HTC One X AT&T 2.20 Firmware - X-Factor root exploit and follow the instructions there.

7) I hope you successfully rooted your device (If not look at the FAQ)

If you think above instructions are difficult to follow then - There is awesome guide by XsMagical [ROOT][2.20][hboot 1.14] One XL Bootloader unlock & Root guide

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Question 2 - How to Installing custom recovery

1) You need follow the instructions listed here - Follow the instructions in this link http://forum.xda-developers.com/show...php?p=33179690 ( Thanks to GuyIncognito721)

I have further simplified the instructions which are listed in above link , so that they are more noobbbbb friendly (noobbbb - people who cannot read and follow instructions )

1) Download custom recovery, TWRP is preferred: http://teamw.in/project/twrp2/99

Info"""" Reason to use TWRP -
CWM does not officially support our device, and its just a port. Due to this, CWM has some serious and known problems. As already mentioned, USB mount doesn't work. Also, it has been known in some cases to cause some major issues with dialer and other phone functionality after flashing a ROM. Problems that persist even if you try flashing another ROM or restoring a backup. These problems are difficult (although not impossible) to fix, and a big headache.

TWRP officially supports our device, gets regular updates. Its fully working, and its recommended by almost all (if not all) our developers." (Thanks to redpoint73) """""

2) Make sure the file you downloaded "openrecovery-twrp-2.2.1.0-evita.img (for example) should be in same folder where adb and fasboot present ( How to make sure = You need to copy the file in the folder where adb and fasboot present)

Example - If you downloaded android sdk then the downloaded file should be in "C:\android-sdk\platform-tools" folder.

Look at twrprecovery1 - image in the attachment

3) Then open command prompt in the same folder ( by pressing shift+right click and select "open command window" here) or open command window and type cd C:\android-sdk\platform-tools (or change to directory where adb and fastboot exists)

4) Then Run the following command fastboot flash recovery openrecovery-twrp-2.3.1.0-evita.img (openrecovery-twrp-2.3.1.0-evita.img is the file name which you downloaded) in command prompt

5) Then run the command fastboot reboot in the command prompt (phone will reboot, so do not panic)

6) Run the following command after the phone is rebooted adb reboot recovery

7)You should be in the new TWRP recovery.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

From here follow the instructions below to flash custom roms

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Question 4 - How to flash Custom ROMS

Info - We have two development forums

1) Download the ROM of your choice on to your pc from above links

2) Once you downloaded the ROM of your choice, then extract the ROM.zip ( that mean you need to unzip it )

For example you downloaded CM10 -cm-10-20121012-NIGHTLY-evita and extracted it . Now you can see the boot.img in the folder you extracted. (( See the extract image in below ))

For example you downloaded Nocturnal Megre X rom and extracted it. Now you can see the boot.img in the folder you extracted. (( See the extract1 image in below ))

3) Now copy the boot.img from the extracted folder and paste in folder where fastboot and adb are present ( if you downloaded Android then paste it in C:\android-sdk\platform-tools )

Your folder where adb and fastboot present should now have boot.img of the ROM you extracted

4) Put phone into bootloader mode,

Either by opening command prompt in the same window where you placed boot.img (i.e where adb, fastboot is present) and running the command adb reboot bootloader in command prompt ( do not close the command prompt)

Or, since your phone is in recovery , select "Reboot" then Bootloader .

Note*- You always can get into bootloader by pressing power button + volume down for 10-15 sec. Also from there you can get into recovery by using volume keys to select recovery and pressing power button to enter into recovery

5) Once your phone is in bootloader mode, type the following command fastboot flash boot boot.img ( If command prompt is closed then open command prompt in the folder where boot.img, adb, fastboot are present . For example: C:\android-sdk\platform-tools - Same folder used in step 3)

5) Then run the following command adb reboot recovery

6) Your phone is in TWRP recovery

7) Select mount from recovery ( See mount - image in the attachments for example)

8) Copy the ROM.zip which you downloaded earlier to the SD card ( For example cm-10-20121012-NIGHTLY-evita.zip) ( Not the extracted folder but the actual zip file which you downloaded)

4) Copy the gapps into sd card ( you need to download gapps if you using CM10 or ASOP roms )

5) Unmount, then select Wipe and select Factory reset ( it is recommended to do a factory reset before flashing the new ROM. ) (See wipe, wipe1 images below )

6) Select Install in recovery and flash the ROM.zip

7) You need flash gapps if you flashing CM10 or ASOP ROMS

8) Enjoy

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

1) If you keep getting htc red screen ( saying " This Build is for development only") then it does not mean you bricked your device. It means you forgot to flash boot.img or missed some step

2) if you are flashing similar ROMs ( having same kernel ).. there is no need to flash boot.img separately. But say if you wanna switch from sense to aosp you must do that as they have different kernels.

Again if you are just upgrading from older version to newer version of same ROM and if there are no kernel changes no need to flash it" (thanks kancherlapraneeth)

3) Another scenario, if you struck in boot for every long and you panicked and you did factory reset. After you can access only twrp recovery then do not worry, do the following

"plug in phone to your computer and enter twrp, choose "mount". Get on your computer and download Rom of choice. Once downloaded, extract Rom and seperate the boot.img. rezip Rom. Transfer Rom onto phone.

fastboot boot.img, then flash the Rom through twrp. Then your golden" (Thanks to InflatedTitan) ( Do not understand fastboot , boot.img then read above)

4) If you flashed an internation rom or rom which is not for our device and bricked your device then follow this link , the OP has similar problem and people helped him

[B]5)Which version of super user do I need to flash [/B

In above instructions, after you installed Custom recovery you flashed custom ROM then you already have it ( since you rooted) , so check the root with app called root checker.

"If your on stock with twrp installed then it was a temp root, so root is gone after you reboot, but it allowed for a permanent boot loader unlock. So you will need to flash an su binary package and then download a superuser app from the play store." (thanks to absolutelygrim) (Case where you did not unlock the bootloader but just rooted and rebooted. ) then download http://downloads.androidsu.com/super...arm-signed.zip (Superuser zip ) and flash in recovery ( same way we flash custom ROM or gapps.) then download supersu from the market and update the binaries
Attached Thumbnails
Click image for larger version

Name:	twrprecovery1.jpg
Views:	1375
Size:	182.7 KB
ID:	1432583   Click image for larger version

Name:	mount.jpg
Views:	1352
Size:	26.1 KB
ID:	1432628   Click image for larger version

Name:	extract.jpg
Views:	1277
Size:	89.8 KB
ID:	1432654   Click image for larger version

Name:	reboot.jpg
Views:	1211
Size:	26.2 KB
ID:	1432681   Click image for larger version

Name:	wipe.jpg
Views:	1255
Size:	49.6 KB
ID:	1432720   Click image for larger version

Name:	wipe1.jpg
Views:	1187
Size:	42.3 KB
ID:	1432721  
Last edited by abhipati; 30th October 2012 at 07:33 PM.
The Following 39 Users Say Thank You to abhipati For This Useful Post: [ View ]
26th October 2012, 06:11 PM   |  #2  
abhipati's Avatar
OP Senior Member
Flag Littleton MA
Thanks Meter: 334
 
967 posts
Join Date:Joined: Jun 2012
More
Anyone correct if I wrote something wrong or need to be changed.

Mods - Delete if you find it unnecessary
The Following 4 Users Say Thank You to abhipati For This Useful Post: [ View ]
26th October 2012, 06:14 PM   |  #3  
Account currently disabled
Flag bay area
Thanks Meter: 279
 
932 posts
Join Date:Joined: Apr 2012
More
I find this a good idea.... I feel we should sticky things like this in the q/a and not have one hundred threads of the same problem...like this stickied... We could have different popular subjects stickied and so not so many threads would arise

---------- Post added at 05:14 PM ---------- Previous post was at 05:13 PM ----------

This is like a all in one thread good job!
The Following User Says Thank You to omario8484 For This Useful Post: [ View ]
26th October 2012, 06:20 PM   |  #4  
InflatedTitan's Avatar
Senior Member
Thanks Meter: 1,143
 
2,788 posts
Join Date:Joined: Jul 2012
Bro you did a damn good job on this. If a noob can't follow this, he doesn't need to be hacking anything. I mean for god sakes you've included pictures lol. Even though you've included steps and the fastboot commands, What about adding a link to gunnyman's quick anb dirty adb and fastboot tutorial? Rich in knowledge

sent from my venom injected, blazingly fast as f#&k OneXL via xda premium
The Following 2 Users Say Thank You to InflatedTitan For This Useful Post: [ View ]
26th October 2012, 06:25 PM   |  #5  
Senior Member
Massachusetts and stuff
Thanks Meter: 96
 
580 posts
Join Date:Joined: Jun 2010
More
I hope I don't sound stupid, but can we flash kernels after using the 2.20 Root method? Or should I not risk flashing a kernel?
26th October 2012, 06:33 PM   |  #6  
abhipati's Avatar
OP Senior Member
Flag Littleton MA
Thanks Meter: 334
 
967 posts
Join Date:Joined: Jun 2012
More
Quote:
Originally Posted by InflatedTitan

Bro you did a damn good job on this. If a noob can't follow this, he doesn't need to be hacking anything. I mean for god sakes you've included pictures lol. Even though you've included steps and the fastboot commands, What about adding a link to gunnyman's quick anb dirty adb and fastboot tutorial? Rich in knowledge

sent from my venom injected, blazingly fast as f#&k OneXL via xda premium


Thanks bro, I forgot about that tutorial . I will add it now
26th October 2012, 06:45 PM   |  #7  
InflatedTitan's Avatar
Senior Member
Thanks Meter: 1,143
 
2,788 posts
Join Date:Joined: Jul 2012
I gotta say, I'm proud of our little community. I really haven't seen any harsh words or flaming of the recent wave of noobs, even though a lot of problems could have been easily avoidable on their part. Great job for those who have helped someone recently. I'm sure those in need appreciated it, even if they haven't hit the thanks button. They'll soon see how great the HOXLers are!

sent from my venom injected, blazingly fast as f#&k OneXL via xda premium
The Following 2 Users Say Thank You to InflatedTitan For This Useful Post: [ View ]
26th October 2012, 06:49 PM   |  #8  
abhipati's Avatar
OP Senior Member
Flag Littleton MA
Thanks Meter: 334
 
967 posts
Join Date:Joined: Jun 2012
More
Quote:
Originally Posted by InflatedTitan

I gotta say, I'm proud of our little community. I really haven't seen any harsh words or flaming of the recent wave of noobs, even though a lot of problems could have been easily avoidable on their part. Great job for those who have helped someone recently. I'm sure those in need appreciated it, even if they haven't hit the thanks button. They'll soon see how great the HOXLers are!

sent from my venom injected, blazingly fast as f#&k OneXL via xda premium

+1 bro really we are awesome community who keep helping without ranting or flaming

Sent from my HTC One XL using xda premium
The Following 3 Users Say Thank You to abhipati For This Useful Post: [ View ]
26th October 2012, 06:49 PM   |  #9  
Account currently disabled
Flag bay area
Thanks Meter: 279
 
932 posts
Join Date:Joined: Apr 2012
More
Quote:
Originally Posted by InflatedTitan

I gotta say, I'm proud of our little community. I really haven't seen any harsh words or flaming of the recent wave of noobs, even though a lot of problems could have been easily avoidable on their part. Great job for those who have helped someone recently. I'm sure those in need appreciated it, even if they haven't hit the thanks button. They'll soon see how great the HOXLers are!

sent from my venom injected, blazingly fast as f#&k OneXL via xda premium

This probably is the most friendly community I've seen on xda..flaming only appears here when obviously deserved ...but holy critters I don't know how many bricked threads j saw when I woke up yesterday
26th October 2012, 06:54 PM   |  #10  
subarudroid's Avatar
Senior Member
Flag SL,UT
Thanks Meter: 667
 
1,448 posts
Join Date:Joined: Jun 2011
Donate to Me
More
Well done this should be put in the recourse, compilation roll-up.

Sent from my One X using xda premium
Last edited by subarudroid; 26th October 2012 at 06:56 PM.

The Following User Says Thank You to subarudroid For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread