[Q] Android rooting !! Read alot but still some questions I need answers !! - HTC One X

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.

Related

A good solution to OTA from custom rom, for all who cant get back to stock

as the title said, this is a good solution to get back to stock and to OTA update.
1- just download the awesome stock rom that made by mike1986 here http://forum.xda-developers.com/showthread.php?t=1546970&highlight=htc+one+x+*stock* (remember, the odexed one)
2- upload it to your SD
3- flash it normally as any custom rom using the CWM 5.8.4.0
4- flash the stock recovery which can be found at the same ROM thread (fastboot flash recovery recovery.img)
5- flash the stock boot.img, can be found at the same ROM thread (fastboot flash boot boot.img)
6- reboot
7- after rebooting, go to settings, about, software update
8- enjoy
just remember that it seems that mike's STOCK ROM already the latest updated one, so the update won't work till HTC officially releases the jelly bean.
dont forget the thanks button below
1.) is it necessary to lock the bootloader to install the OTA?
2.) i have a stock nand backup from my rom 1.29.
yesterday i flashed the boot.img from backup and restored the backup. after start my HOX came up with OTA update. so does i neet the original recovery.img too?
if yes which one can i take?
BR
1- actually i think relocking your bootloader is a must when u r running the original RUU, but here this is a stock rom to be flashed from ur CWM.
installing OTA just requires the stock boot.img and stock recovery, no need to relock the bootloader.
2- this is a fortune for me, wish i could have mine as well, then why not to restore it and get ur original OTA?
if your HOX updated the OTA already then no need to stock recovery, BTW your stock recovery can be found inside your origional RUU which can be found on filefactory server, am sure u've seen it before (just google how to extract RUU, then extract your stock recovery from it)
Hossam.Abdelsalam said:
1- actually i think relocking your bootloader is a must when u r running the original RUU, but here this is a stock rom to be flashed from ur CWM.
installing OTA just requires the stock boot.img and stock recovery, no need to relock the bootloader.
2- this is a fortune for me, wish i could have mine as well, then why not to restore it and get ur original OTA?
if your HOX updated the OTA already then no need to stock recovery, BTW your stock recovery can be found inside your origional RUU which can be found on filefactory server, am sure u've seen it before (just google how to extract RUU, then extract your stock recovery from it)
Click to expand...
Click to collapse
thanks i think you helped me
that was the plan... restore the backup and then do the OTA but i´m not sure if i could install the original OTA that way or i need to flash the original recovery.img too.
maple85 said:
thanks i think you helped me
that was the plan... restore the backup and then do the OTA but i´m not sure if i could install the original OTA that way or i need to flash the original recovery.img too.
Click to expand...
Click to collapse
hi
u need to get stock recovery and re lock ur phone or else the OTA wont get installed i just did it today
see this my post on the same : http://forum.xda-developers.com/showpost.php?p=32368798&postcount=112

[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] Rooting the 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.

[Q] unroot

my phone is rooted but there is no rom installed so how can i un rooted it ? do i have to download the stock rom and flash it ? i also have no backup except for being backed up to google . the reason i wanna unroot is so i can git the updates ota
clipps said:
my phone is rooted but there is no rom installed so how can i un rooted it ? do i have to download the stock rom and flash it ? i also have no backup except for being backed up to google . the reason i wanna unroot is so i can git the updates ota
Click to expand...
Click to collapse
If you say you have no ROM installed, then it means you do not have a working phone. Your only option, therefore, is indeed to download a stock ROM and flash via Odin or (custom) recovery. Whichever option you choose, you would need to make sure that you download and flash a compatible ROM, i.e. one that would not brick your phone. Your best bet would be to revert to the same Android version you were on prior to the ROM being uninstalled.

trouble with official update on rooted m9

my m9 has received an android 6 update massage. but after installing, the phone restarts in custom recovery.
please help me how to upgrade my rooted m9 to an official marshmallow. i do not want to upgrade to a custom ROM
excuse me, my English is so weak
How did you upgrade to Marshmallow with a custom recovery as that isn't possible...
Tell us what you have flashed...g
sjmahmoudi. persiangig . com / image / d .jpg
i could not upgrade to marshmallow. i received an OTA upgrade message. i download first part and then a installing confirmation widows appeared and when i confirmed it the phone restarted and boot on custom recovery.
since i am xda new user i can not ad links to my posts. a link to a screenshot of my phone is above this post. i add some SPACES to it so i can post it
In order to upgrade to official MM....you need a stock recovery image...and a stock system image...
Search for...and flash your stock recovery....if that is the only thing you have changed....g
gregsarg said:
In order to upgrade to official MM....you need a stock recovery image...and a stock system image...
Search for...and flash your stock recovery....if that is the only thing you have changed....g
Click to expand...
Click to collapse
thank you.
i just want to upgrade to android 6.
i know that i can flash custom roms with custom recovery. is it possible for me to download an stock system image and flash it with custom recovery the same way? i do not want to make everything back to its original. i want a rooted android 6 with custom recovery.
-----------------
i had some search. if i upgrade to stock android, then i will have to root my phone again and for that i have to flash a custom recover again. i searched and find out that android revolution custom ROM is a good choice for ones how wants to keep HTC Sense.
thank you for your support.
Check here for possible stock system images and recoveries...
You should be able to flash a stock system backup from this thread...to include recovery....then take your OTA....and flash TWRP afterwards....
Just make sure everything matches your carrier....cid/mid....so the outcome is favorable...g
http://forum.xda-developers.com/showthread.php?t=3132698
You'll quickly find, if you haven't already, that the latest Android Revolution HD (v20) requires you to have the latest firmware. Flashing it without it will throw your phone into a boot loop.
gregsarg said:
In order to upgrade to official MM....you need a stock recovery image...and a stock system image...
Search for...and flash your stock recovery....if that is the only thing you have changed....g
Click to expand...
Click to collapse
If he has removed his carrier's bloatware as well as the custom recovery, would he have to flash the system image also?
Or just flash the recovery?
I am asking as many AT&T users often root to remove AT&T bloatware, like I did. I used HTCDev.com to root, and my bootloader is unlocked.
Soundwve said:
If he has removed his carrier's bloatware as well as the custom recovery, would he have to flash the system image also?
Or just flash the recovery?
I am asking as many AT&T users often root to remove AT&T bloatware, like I did. I used HTCDev.com to root, and my bootloader is unlocked.
Click to expand...
Click to collapse
Flashing a stock RUU will guarantee that the system and recovery are completely stock...
The OTA scans the device prior to update and will detect any software that isn't signed or official...
I'd RUU back to stock...then OTA will prompt....and won't get stuck trying to update the system partition...g

Categories

Resources