{Answers} 2.20 Root Questions & Answers

Search This thread

kancherlapraneeth

Senior Member
Nov 9, 2009
1,131
240
DFW
@abhipati.. nice thread dude. and yes .. I'm also proud of our little community :)

---------- Post added at 09:52 AM ---------- Previous post was at 09:50 AM ----------

2.3.1.0, which I believe is latest.

try mounting sdcard through mount menu in TWRP before flashing ROM and gapps

---------- Post added at 10:16 AM ---------- Previous post was at 09:52 AM ----------

2.3.1.0, which I believe is latest.

did you get it working??
 
  • Like
Reactions: WarRaven

ul49

Senior Member
Jun 6, 2012
87
4
Nope. Can't mount sd card in TWRP either. Box isn't checkable. Still stuck on trying to install the zip files. Also interesting to note, factory reset from within twrp fails too, with the same errors.
 

Komodo Rogue

Senior Member
Oct 30, 2010
336
100
DC
Thanks to abhipati, Inflated Titan, and others. I had a number of problems flashing my ROM after using the newly created 2.20 root method (woohoo! I was so close to selling my HOX and getting a used Gnex), but your answers to noobs' questions helped me out a lot. Thanks!

I have a question about TWRP for people that rooted using the new exploit for 2.20: will restoring a backup work for us if the kernel is different?

Say someone installed CM10 and made a full backup in TWRP. Then, they wanted to try a ROM with an OCed custom kernel, so they flashed the boot.img of the new ROM and installed the ROM in recovery.

But, if they were to switch back to CM10, they have the CM10 backup ready to go - but instead of doing a restore entirely in TWRP, they would first have to flash the CM10 boot.img, and THEN restore their CM10 backup through TWRP, correct?

Thanks!
 

housry23

Senior Member
Sep 23, 2009
2,939
746
Springfield, OH
I'm no noob, but am new to the hox and this is the first HTC phone I've owned that has no s-off. I had a question about whether or not to flash the kernel for every nightly on CM10 and the op answered my question. I will just look at the commits and if nothing kernel related is merged then no reason to flash the kernel.

Thanks for the useful thread bro and hopefully people will use it when they have questions.

Sent from my One X using Tapatalk 2
 

Crappyvate

Senior Member
Jul 15, 2011
716
216
Isla de Vieques
I'm no noob, but am new to the hox and this is the first HTC phone I've owned that has no s-off. I had a question about whether or not to flash the kernel for every nightly on CM10 and the op answered my question. I will just look at the commits and if nothing kernel related is merged then no reason to flash the kernel.

Thanks for the useful thread bro and hopefully people will use it when they have questions.

Sent from my One X using Tapatalk 2

bump
 

Ericsig92

New member
Oct 29, 2012
1
0
Unlocked bootloader, now what?

I have a noob question: what happened to my data after I unlocked the bootloader? I knew it would wipe everything (which is fine, I just bought the phone) and was going to reinstall my apps and whatnot. but the "phone storage" is still full when looking in the settings, and photos and things are still there. My question is how to I get all my apps and stuff back?

Also, I have an HTC One XL on 2.20 and I unlocked the bootloader on a mac. I'm thinking ill just use that all-in-one toolkit on a PC for the rest of the process.

Thanks in advance,
-Eric

edit: one more quick question. Do I need to flash Android SDK to my computer and install ADB if I already have "adb.exe" included in the all-in-one toolkit?
 
Last edited:

noynek

Member
Jan 16, 2008
6
0
Unable to mount /sdcard

Trying to install ROM (CM10) and Gapps through TWRP and it fails to install. Says E: Unable to mount '/sdcard' and E:Unable to mount storage.

I'm no pro at this, but I was able to research and find that reformatting the drive resolves this. First, mount the card in TWRP, then click My Computer and find the drive representing the card. Right click it and select 'format.' Select 'FAT32' for the file system, allocation unit size is 4096, uncheck Quick Format. Drop your zips onto the drive and you're on your way.

I'll thank Sir Dog Milk over at HTCEvoHacks for this.
 

silent1643

Senior Member
Apr 19, 2011
55
2
Connect phone to pc.
Reboot phone into recovery
Mount usb
Format sd card from Windows
Reboot into recovery

Sent from my One X using xda app-developers app
 

Yarok

Member
Aug 15, 2012
17
1
I'm having problems running the XFactor root method. When I run the run.bat file, I keep getting stuck at "daemon started successfully" and it doesn't progress from there. This is what I see, and it doesn't progress from there. Additionally, there are two adb processes running in task manager, that both appear when run.bat is executed. If I end either of these processes while the .bat is running, I get messages prompting the backup confirmation, but with no response on the phone. And if I close the command window, one of the adb processes keeps on running, and if I run the .bat at this point it gets stuck at a "Waiting for device..." notice.

I'm not sure what I'm doing wrong. I've checked multiple guides, used both the run.bat itself and the all-in-one toolkit, restarted my computer, factory reset my phone, checked the USB (and debugging IS on), updated HTC drivers and Java, and I still have no luck. Admittedly I am new to Android, but I can't understand what I'm missing at this point.
 

Crappyvate

Senior Member
Jul 15, 2011
716
216
Isla de Vieques
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

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

5)


Hey OP you could add something about having to install SU and where to find it, etc....lot of people seem to stop at the custom recovery step
 
Last edited:

abhipati

Senior Member
Jun 10, 2012
1,077
342
Littleton MA
When you connect your phone to pc. goto the folder where adb exists and command prompt there. Then run the following command adb devices and do you see any output ?
 

dre4mer16

Member
Oct 30, 2012
9
0
Hello, could someone help with a question?

I can't get pass CID 111111 (failed) using the X-factor exploit or the HTC One X toolkit 1.1v. My bootloader says it is Locked ...with everything being stock 2.20 Htc one x. I have also tried different methods on multiple pc and re download htc drivers.

Help. I don't know where to go from here.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 39
    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://xdaforums.com/showthread.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

    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/superuser/su-bin-3.1.1-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
    4
    Anyone correct if I wrote something wrong or need to be changed.

    Mods - Delete if you find it unnecessary
    3
    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
    2
    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
    2
    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