[Q] Rooting the One X - HTC One X

Hi, i hope i am in the right place, sorry if not.
I want to root my One X on stock ROM. I currently have 4.1.1, CID HTC_001.
Is it possible to get it rooted while keeping certain things? These things are:
Being able to receive OTA
Keeping all files when rooting
Easy to revert back if i am not able to receive OTA.
Help will be very much appreciated thanks

If you unlock the bootloader with htcdev.com and flash a cwm custom recovery you can make a nandroid backup of the current non rooted rom and keep it in a safe place. You can restore that backup anytime if you want to go back stock.
After that you are able to flash custom roms or just root the one you are running currently ......
You might void some warranty with blocking the bootloader !!!
Tip : ALWAYS DO A NANDROID BACKUP FROM THE STOCK ROM !!!

Thank you
Mr Hofs said:
If you unlock the bootloader with htcdev.com and flash a cwm custom recovery you can make a nandroid backup of the current non rooted rom and keep it in a safe place. You can restore that backup anytime if you want to go back stock.
After that you are able to flash custom roms or just root the one you are running currently ......
You might void some warranty with blocking the bootloader !!!
Tip : ALWAYS DO A NANDROID BACKUP FROM THE STOCK ROM !!!
Click to expand...
Click to collapse
Thanks a lot. Just what i was looking for. I will certainly be doing this at some point. Shame you can't just root it but at least you are able to back it all up safely.

When following any guides
Don't flash the recovery. Just use fastboot boot recovery.img
Instead of fastboot flash recovery recovery.img
This way will leave the stock recovery on your device which is needed to apply any otaupdates
Sent from my HTC One X using xda app-developers app

Yes with the taken nandroid you can go back anytime....the only thing you have to remember is that when you took a nandroid backup the recovery of that backup is not stock, so after the restore you have to flash back the stock recovery before you can apply a official HTC update. But you can find that easily.....i have them also :thumbup:

That's great. OTA was something i really wanted, thanks. 4.2 is coming very soon and a possibility of 5. Just one more thing. Do you lose items on the virtual SD or does this not affect them at all?

Well do a full backup of the sd before you unlock the bootloader, it's sets the phone to its factory state and some say it wiped the sd but others say it didn't so that's a grey area for me !

Its probably the safest option, i will do that. Is using the stock recovery just as easy as using the custom recovery too? I read stock recovery and this insecure boot thing and it has a chance of bricking. Also i know a lot of articles are with 4.0.3 and 4.0.4 and 4.1 are different. I think 4.1 is the same as 4.0.4 though.

Well to be honest i'm not a big fan of rooting the stock rom ! I always flash a custom already rooted rom to have benefits of all the hard work that developers has.put into a rom. In my opinion a custom rom is always better than a stock rooted rom. So i don't much about the insecure root things !
What i do is : flash the custom recovery and backup the stock rom (keep that in a vault ) and flash a custom rom to play with !
Stock recovery has no use at all for me, i only need it when i want to update the phone with official HTC releases .....like they did to update to JB
ow and yes rooting and flashing on JB 4.1 are the same as on ICS 4.04 :thumbup:

Is it easy enough to go back to the stock recovery though if you have used the Clockwork one?

Yes it will take 3 fastboot commands while the phone is in fastboot USB menu
Fastboot erase cache
Fastboot flash recovery nameofrecovery.img
Fastboot erase cache
And the stock recovery is restored !
That's all !
Ofcourse the nandroid has to be restored before that.....you copy the nandroid backup to the phone and flash the boot.img from that nandroid (its inside the nandroid folder) after that you do a full wipe in the custom recovery and restore the nandroid, then you boot it up to see if it runs and after that you flash the stock kernel ! Easy and simple.......and you don't have to re-lock and unlock the bootloader anymore, it can stay unlocked the whole process

That doesn't sound too bad... Thank you very much for the help, i will certainly be having a go. Sorry for some of the stupid questions, i am quite new to all this. Bricking is the only worry for me, if i can avoid that, i'm happy . Thanks again.

No problem mate ! I was already helping somebody else tonight.....multitasking it is !

Hahaha. Well i won't be starting until i can get my hands on another laptop as my current is in a poor state. Damaged hard drive. can run very slow at times. I tried transferring SD to memory stick. But it was running at a painful speed so i stopped it Tomorrow i should be able to get another one to backup my things onto.

Related

How do I back up my stock recovery?

US Cellular has been promising Froyo for the CDMA Desire since October, and I'm tired of waiting so I'm going to root it and flash a Froyo ROM myself. I read through the unrEVOked documentation, and it mentions that if I want to install official updates in the future I need to restore the recovery image, but it doesn't tell me how to get it. How do I pull the stock recovery image from my phone so that I can flash it back on should I need to?
You can't actually backup a whole rom without rooting first. You need the custom recovery to do a nandroid backup which will back up the whole rom. If anything does go wrong or you need to reinstall then you can just use an RUU to do it. US Cellular doesn't have an RUU yet but you can use other CDMA RUU's.
So am I to understand that there is no way to back up the stock recovery, as I would have to overwrite the existing recovery just to do backups in the first place?
Yep, root access is needed to back the whole ROM up
To be honest, it's better with root anyway and a lot better when you install a custom rom.... from my experience anyway.

Back Up Non Root

Hello Everyone,
I am enjoying my Galaxy Nexus very much, but I am a little confused about doing a backup. I am currently unlocked bootloader but have un-rooted in preparations for the Verizon OTA. My question is....what is the best way to do a full back up non rooted. I currently have the full version of My Backup Pro, but that doesn't seem to backup the data portion of an app....just the app. I have used Wugs toolkit to do a backup, but I was wondering what is the easiest/best way.
I am confused I think due to the lack of an actual SD card. I cam from a Droid X and had it rooted and used Titanium Backup and My Backup Pro with no issues. Thanks for any help!!!!!
If you want to do a complete backup you can flash CWM in fastboot (using mskip's GNex Toolkit), do a nandroid backup, then flash back to stock recovery. Only requires unlocked bootloader.
Rooting has NO IMPACT WHATSOEVER on your ability to receive and install the OTA update.
Sent from my Galaxy Nexus using Tapatalk
efrant is correct, you will still be notified of the official OTA even if you have your bootloader unlocked and you are rooted. Once you download and install the OTA, then you will lose root.
Thanks for the responses. From my understanding though, if you used CWM to do your root (Wug's Toolkit) you would not be able to see/get the OTA. Is this correct? What method are you using to root your Nexus?
Again thanks for the help!!!! Another thing that is messing me up is the Google/Samsung/Verizon versions of the OTA. I have "mysid" so do I need to wait for the OTA or can I flash one of the 4.04s that are around. I am still learning about the difference of GSM vs CDMA and I really don't want to create issues with my Nexus!!!!
FredFS456 said:
If you want to do a complete backup you can flash CWM in fastboot (using mskip's GNex Toolkit), do a nandroid backup, then flash back to stock recovery. Only requires unlocked bootloader.
Click to expand...
Click to collapse
Why install clockworkmod?
You can install clockwork by doing (in the assumption you renamed the clockwork recovery img to cwm.img):
"Fastboot flash recovery cwm.img" okay...
But you can also run cwm without installing it to the system by doing:
"Fastboot boot cwm.img"
When you reboot the system afterward your phone will erase the one-time run and refer back to it's old ways again.
No manufacturer will know what you did and you don't run the risk of flashing a conflicting stock recovery back. Plus the fact that your nandroid backup will flash the right recovery to when you ever need to put a backup back after a crash.
Sent from my Galaxy Nexus using XDA

[Q] Get back to stock ROM

I'm currently running Viper X ROM on my HOX and i want to go back to stock for the JB OTA. I've made a back up in clockwork mod before flashing custom ROM.
Can i just restore the back up or do i need to do something else before? I'm a bit concerned because i had to flash boot.img from Viper X ROM before flashing the ROM itself.
So, do i need to flash boot.img from my backed up folder (stock ROM backup) or can just restore it? Or do i need to do something else?
In order to be able to update you need to flash the stock boot.img from the backup the backup stock rom and the stock recovery .....
MarcelHofs said:
In order to be able to update you need to flash the stock boot.img from the backup the backup stock rom and the stock recovery .....
Click to expand...
Click to collapse
so i flash the stock boot.img and in recovery mode restore the backup with clockwork mod?
yes, flash the boot.img boot into recovery and wipe everything except sd card and then restore the backup. After that flash the stock recovery and you are good to go
MarcelHofs said:
yes, flash the boot.img boot into recovery and wipe everything except sd card and then restore the backup. After that flash the stock recovery and you are good to go
Click to expand...
Click to collapse
a few more questions (noob)
when i flash the boot.img and then restore the backup can i use my phone normally then or do i need to flash the stock recovery?
will my phone still be rooted if i flash stock recovery or not?
will i be able to get an OTA update without flashing stock recover(if possible)/will rooted phones get OTA?
is the stock recovery CID specific or is ti model universal and where can i dl one?
schwarld said:
a few more questions (noob)
when i flash the boot.img and then restore the backup can i use my phone normally then or do i need to flash the stock recovery?
will my phone still be rooted if i flash stock recovery or not?
will i be able to get an OTA update without flashing stock recover(if possible)/will rooted phones get OTA?
is the stock recovery CID specific or is ti model universal and where can i dl one?
Click to expand...
Click to collapse
1: Phone will work with stock boot.img and backup
2:root is rom related not recovery related. The stock rom backup should be root free to receive ota's
3:stock recovery is absolutely necessary to receive ota's
4:stock recovery is related to the main version
Fastboot getvar version-main
Check if it is the 1.29 or the 2.17 version. You need the recovery corresponding to that number. Example if you need the 2.17 recovery you can download any stock recovery that starts with that number !
http://forum.xda-developers.com/showthread.php?t=1859714
Stock recovery's can be downloaded from there .
MarcelHofs said:
1: Phone will work with stock boot.img and backup
2:root is rom related not recovery related. The stock rom backup should be root free to receive ota's
3:stock recovery is absolutely necessary to receive ota's
4:stock recovery is related to the main version
Fastboot getvar version-main
Check if it is the 1.29 or the 2.17 version. You need the recovery corresponding to that number. Example if you need the 2.17 recovery you can download any stock recovery that starts with that number !
http://forum.xda-developers.com/showthread.php?t=1859714
Stock recovery's can be downloaded from there .
Click to expand...
Click to collapse
sorry to bother you again
can i use recovery.img from my stock rom backup?
Download it again preferred
I would suggest its always better to download it again
schwarld said:
sorry to bother you again
can i use recovery.img from my stock rom backup?
Click to expand...
Click to collapse
If you made the the backup with the custom recovery you can not use that one because it wil be the custom recovery cwm 5.8.4.0 so that's a no go
You have to download the real stock recovery !
MarcelHofs said:
If you made the the backup with the custom recovery you can not use that one because it wil be the custom recovery cwm 5.8.4.0 so that's a no go
You have to download the real stock recovery !
Click to expand...
Click to collapse
my cid just got jb update and i restored my backed up stock rom
i am downloading the jb ota right now and i still have root access, but you said my phone needs to be root free
so what should i do?
schwarld said:
my cid just got jb update and i restored my backed up stock rom
i am downloading the jb ota right now and i still have root access, but you said my phone needs to be root free
so what should i do?
Click to expand...
Click to collapse
It doesn't need to be root free. It does need to be stock, as in, all the apps are there and unmodified.
BenPope said:
It doesn't need to be root free. It does need to be stock, as in, all the apps are there and unmodified.
Click to expand...
Click to collapse
Ow yes sorry my bad
I always play on the safe side

[Q] Upgrading from ICS to JB

Hi guys.
Today I finally received an OTA upgrade from ICS to JB Android. I made a backup, then from settings i let system to update my ROM. It's going good so far, but when it's rebooting, it's going to recovery where the process is stopped. I have unlocked bootloader and rooted my HOX, but still i have a stock ROM. I tried to toggle off checking signatures in cwm but with no result. What can I do to keep root and upgrade to JB?
Thanks.
1. Stock ROM
2. Stock kernel
3. Stock recovery
Make sure you haven't removed system apps. Root doesn't matter.
Sent from my One X
And make sure to put back the stock recovery
http://db.tt/U5CK4noo
You can root again by flashing your custom recovery AFTER updating to JB.
http://androidsu.com/superuser/
So, at start I have to flash stock recovery. Have I to relock the bootloader? Then I'll update to JB. Of course I want to root, so just flash custom recovery and su? Thanks in advance
Make sure the rom is stock, then flash the STOCK recovery and update the phone, then flash a custom recovery back and root the JB rom again. No need to lock the bootloader !
You must mean stock recovery correct?
Sent from my One X
TToivanen said:
You must mean stock recovery correct?
Sent from my One X
Click to expand...
Click to collapse
Yep.......i was hasty !!!
So I flashed recovery stock, it's okay here. Look at screenshot in attachment. But when i try to update phone it's rebooting to cwm again I had this recovery from my first nandroid backup.
pablo7890 said:
So I flashed recovery stock, it's okay here. Look at screenshot in attachment. But when i try to update phone it's rebooting to cwm again
Click to expand...
Click to collapse
You downloaded my stock recovery and renamed it to recovery.img ?
Recovery from a nandroid is never a stock one, a nandroid backup can only be done with a custom one
Uuuups, what a mistake Thanks! I'll try to flash yours one.
Odp: [Q] Upgrading from ICS to JB
Thank you so much for advice. Ive rooted it again and its very cool phone finally with otg which is working very well .
Sent from my HTC One X using xda app-developers app
Case closed !

[Q] Android rooting !! Read alot but still some questions I need answers !!

Hey guys. so i had been an apple guy for a long time n can jailbreak/unlock any phone n firmware as long as the required tools are there and even fix bootloop issues etc.
I finally switched to android and own the international version HTC one X running 4.1.1 firmware . I finally deicided to root my phone . I read alot of forums , posts, issues and watched a lot of videos but still I have some questions that someone should answer .
1. Now I run firmware version 4.1.1 n software version 3.14.720.24 . I understood that after rooting , I can either keep the stock rooted firmware or can flash a custom ROM . I read the cyanogen mod 10.1 has jelly bean 4.2.2 . So if I flash that ROM , will I be able to downgrade my firmware back to my stock rooted firmware which is 4.1.1 ? ( cos in Apple i can't if i don't have the shsh) this is my 1st question.
2. I see that in order to root I should put my phone in charge only but that does not come after i upgraded to 4.1.1 . so what about it ?
3. And what is that about S-ON . I understood a little that it has to do with updating the radio ( idk guess its baseband version as in apple ) version . So if i flash cyangoen 10.1 which has features of JB 4.2.2 , does it require my S to be turned off S-OFF so that the radio version gets updated . N after turning off S-OFF and upgrading to CM 10.1 , can i again restore with my rooted stock firmware 4.1.1 cause this version will obviously have an older baseband version ??
4. And is there a stock rooted 4.2.2 version for HTC one X because when i google , all i get is the CM 10.1 mod and it has those themes, which i don't want to use . All i want is a rooted stock 4.2.2 JB firmware just like a jailbroken ios firmware.
5. I read about unrooting and relocking the bootloader in order to get the OTA updates , but found that many people have issues such as touchscreen not working n stuff like that . In iOS , i can just do a fresh install of the stock firmware and get the device updated with OTA updates . But in android , this is another chapter . Also I read that many people will actually release a updated stock ROM which I can flash instead of waiting for the OTA . The htc one x is about to get an update in august to 4.2.2 . So is the CM mod the only version with 4.2.2 or is there a stock rooted 4.2.2 version anywhere .
Sorry for my reference with Apple n iOS in every question but relating to that will make me understand the whole process well . I guess a person who has dealt with Jailbreaking iOS can answer my question effectively ..
Expecting crisp n clear replies
1: yes you can revert back to your original stock rom, just make sure you make a nandroid backup before flashing CM !
2: rooting the stock rom is done via the custom recovery. You have to install a superuser.zip wich can be found here on the forum. That will root the stock rom and you can use apps that require root access
3: s-on/s-off has not a big relation to radio's, our hox can't be made s-off. The most important thing is that you must flash the boot.img (kernel) seperate from the rom via fastboot commands or a tool
4: 4.2.2 only exist in a aosp form like CM. There is no sense based rom based on 4.2.2
5: in order to update the phone when a HTC update rolls out is to restore the stock rom nandroid backup and flash back the stock boot.img (wich is in the nandroid backup folder on the sdcard) and also flash back the stock recovery. Need links for that just PM me
Cheers
Mr Hofs said:
1: yes you can revert back to your original stock rom, just make sure you make a nandroid backup before flashing CM !
2: rooting the stock rom is done via the custom recovery. You have to install a superuser.zip wich can be found here on the forum. That will root the stock rom and you can use apps that require root access
3: s-on/s-off has not a big relation to radio's, our hox can't be made s-off. The most important thing is that you must flash the boot.img (kernel) seperate from the rom via fastboot commands or a tool
4: 4.2.2 only exist in a aosp form like CM. There is no sense based rom based on 4.2.2
5: in order to update the phone when a HTC update rolls out is to restore the stock rom nandroid backup and flash back the stock boot.img (wich is in the nandroid backup folder on the sdcard) and also flash back the stock recovery. Need links for that just PM me
Cheers
Click to expand...
Click to collapse
hey thanks for answering my question mate . I get a clear picture now . .
ur ans for the last question . How many backups are there totally . From what i understood , in order to flash , first i need to use fastboot in my pc with the boot.img of the ROM . then using my phone , i need to install from the custom ROM zip file using clockworkmod . god its so confusing . pls throw some light on this process mate .. Also after rooting , when do I get to install CWM ?
CM is already rooted.
You need to do this
1: unlock the bootloader
2: flash the custom recovery
3: MAKE THE NANDROID BACKUP !!!
4: flash the boot.img from CM
5: make a full wipe in the recovery (except sdcard ofcourse !)
6: install CM.zip
7: install Gapps.zip
8: reboot
Done......
Hey thanks for the help. Now I have rooted my phone successfully. Am still on the stock rom. Will flash to CM rom tomorrow I guess.
And regarding the OTA update. I just created a nandroid back up. So in order to update OTA, I am supposed to boot the boot.img of the nandroid backup using CMD, then restore the backup in Clock work mod and then go for the update right?
And since I haven't flashed to CM rom yet, if an OTA comes, can I just update?
Am planning to wait for a few days since the official JB 4.2.2 update is gonna come so mite as well update the OTA and make a backup before I install a custom ROM.
Sent from my HTC One X using xda premium
To update you need to flash the boot.img from the nandroid, restore the stock rom, flash back the stock recovery
But as long as you stay on your stock rooted rom you only need to flash back the stock recovery !
Mr Hofs said:
To update you need to flash the boot.img from the nandroid, restore the stock rom, flash back the stock recovery
But as long as you stay on your stock rooted rom you only need to flash back the stock recovery !
Click to expand...
Click to collapse
sry to keep nagging you about this mate . .But in the nandroid back up I took , it has a boot.img , recovery.img and some more files .
So in order to perform OTA update ,
if on stock rom , then i should use the recovery.img and in CMD , "fastboot flash recovery recovery.img" should be done .
If on custom rom , then i should use the boot.img in CMD , " fastboot flash boot boot.img " .. And then use recovery.img in CMD with "fastboot flash recovery recovery.img" and then perform the nandroid restore .
Pls telme if I am right mate ?
I promise I won't ask you any more questions
No you can not use the recovery.img from the nandroid backup, you made the backup with a custom recovery so the recovery in the backup is a custom one and not the stock one ! Check in the general section for the collection of stock backups and read the OP carefully. There are also all links to stock HTC recoverys.

Categories

Resources