Yesterday I had the excellent idea of rooting my phone and installing a custom ROM. The process was quite easy though it took me like 2 hours. After I was done I found that I didn't really like the Lineage OS on my M8 as it was draining my battery way too fast. So I decided to go back. This is where the problems began. Since being a total noob when it comes to rooting and flashing on Android I had no idea I had to make a backup of my OS(only did one of my data using HTC Sync Manager). I was able to find one online in the end. But when I wanted to update OTA to 6.1.0 it just boots into Recovery Mode. After some research I found out that I also have to flash a stock recovery file. I allegedly did that using a tool I found online (One M8 All in One Kit 2.0). But still I am unable to update OTA. I just want to go back to Marshmallow.
Would really appreciate some help here guys
Thanks.
Tupi311 said:
Yesterday I had the excellent idea of rooting my phone and installing a custom ROM. The process was quite easy though it took me like 2 hours. After I was done I found that I didn't really like the Lineage OS on my M8 as it was draining my battery way too fast. So I decided to go back. This is where the problems began. Since being a total noob when it comes to rooting and flashing on Android I had no idea I had to make a backup of my OS(only did one of my data using HTC Sync Manager). I was able to find one online in the end. But when I wanted to update OTA to 6.1.0 it just boots into Recovery Mode. After some research I found out that I also have to flash a stock recovery file. I allegedly did that using a tool I found online (One M8 All in One Kit 2.0). But still I am unable to update OTA. I just want to go back to Marshmallow.
Would really appreciate some help here guys
Thanks.
Click to expand...
Click to collapse
You could just run an RUU to get back to stock, since you already flashed the stock backup and have lost data now.
What does it say next to "OS" in your bootloader? With that information I can link you to the proper RUU
xunholyx said:
You could just run an RUU to get back to stock, since you already flashed the stock backup and have lost data now.
What does it say next to "OS" in your bootloader? With that information I can link you to the proper RUU
Click to expand...
Click to collapse
6.12.401.4
I don't quite understand how this RUU works. Will it still say in bootloader "Software status:Modified" after I do this? And will I have to unroot it again or how does it work? Cause it still says Unlocked in bootloader.
Tupi311 said:
6.12.401.4
I don't quite understand how this RUU works. Will it still say in bootloader "Software status:Modified" after I do this? And will I have to unroot it again or how does it work? Cause it still says Unlocked in bootloader.
Click to expand...
Click to collapse
The RUU will take you back to stock unrooted.
I forgot to ask if it said S-On or S-Off in your bootloader. I'll give full instructions for both.
Download this RUU.zip and place it into your adb/fastboot folder
Boot to bootloader and plug your phone into your PC, then get into fastboot
If you are S-On, enter fastboot oem lock That will relock your bootloader. If you are S-Off you can skip this step
Then: fastboot oem rebootRUU wait until the phone boots to a black screen with HTC on it
then fastboot flash zip **drag and drop the RUU.zip here**
When the flash is done, fastboot reboot and you'll be back to stock, unrooted
xunholyx said:
The RUU will take you back to stock unrooted.
I forgot to ask if it said S-On or S-Off in your bootloader. I'll give full instructions for both.
Download this RUU.zip and place it into your adb/fastboot folder
Boot to bootloader and plug your phone into your PC, then get into fastboot
If you are S-On, enter fastboot oem lock That will relock your bootloader. If you are S-Off you can skip this step
Then: fastboot oem rebootRUU wait until the phone boots to a black screen with HTC on it
then fastboot flash zip **drag and drop the RUU.zip here**
When the flash is done, fastboot reboot and you'll be back to stock, unrooted
Click to expand...
Click to collapse
This is exactly what I was talking about. I don't understand how to do those "bolded" instructions. Does it have something to do with the Android SDK? I know I read something.
I am on S-ON btw.
Tupi311 said:
This is exactly what I was talking about. I don't understand how to do those "bolded" instructions. Does it have something to do with the Android SDK? I know I read something.
I am on S-ON btw.
Click to expand...
Click to collapse
So there is the main problem with toolkits. I never use them and never recommend them. Reason being: they shortcut the learning process, and teach you just enough to get into trouble. Then you are stuck with no idea how to recover.
Knowing how to use fastboot (at least on a basic level) is absolutely mandatory in order to unlock the bootloader, and flash custom recovery (for the purpose or root or custom ROM). The manufacturers set it up this way, for a reason. Essentially, if a user doesn't know how to use fastboot, they have no business unlocking the bootloader. The makers of the toolkits bypass this requirement with the intent to make it "easier" for folks to root/ flash custom ROM (the toolkit issued fastboot commands, whether you know it or not). But as already mentioned, it's not a good idea to do that.
I don't blame you. You only know what you know, and we all were n00bs at some point, and had to start somewhere. But my advice to you, would be to learn the basics of what fastboot is about, and how to use it. Plus, there is a lot of nuance here. You actually have to use htc_fastboot to flash the RUU (the "generic" Google fastboot can't handle the large file size). You can get it (as well as the RUU) from the following thread:
https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
From there, you need to open the command prompt from whatever folder/directory htc_fastboot.exe or fastboot.exe (respectively) are located. There is a shortcut for doing this:
1) Open folder in Windows, where fastboot.exe (htc_fastboot.exe) is located. Different fastboot installers will install it to different places, so you will have to find it yourself.
2) Hover mouse over the folder, press Shift+Right mouse button. This will open a menu, from which you want to select "Open command window here"
3) The command prompt window will open, and that is where you want to type your fastboot commands.
Another note (and I know this will probably be confusing), I think that you can use htc_fastboot for all the fastboot commands (no need to flip flop between htc_fastboot and fastboot). You just have to use "htc_" before all the fastboot commands. For instance:
htc_fastboot oem lock
redpoint73 said:
So there is the main problem with toolkits. I never use them and never recommend them. Reason being: they shortcut the learning process, and teach you just enough to get into trouble. Then you are stuck with no idea how to recover.
Knowing how to use fastboot (at least on a basic level) is absolutely mandatory in order to unlock the bootloader, and flash custom recovery (for the purpose or root or custom ROM). The manufacturers set it up this way, for a reason. Essentially, if a user doesn't know how to use fastboot, they have no business unlocking the bootloader. The makers of the toolkits bypass this requirement with the intent to make it "easier" for folks to root/ flash custom ROM (the toolkit issued fastboot commands, whether you know it or not). But as already mentioned, it's not a good idea to do that.
I don't blame you. You only know what you know, and we all were n00bs at some point, and had to start somewhere. But my advice to you, would be to learn the basics of what fastboot is about, and how to use it. Plus, there is a lot of nuance here. You actually have to use htc_fastboot to flash the RUU (the "generic" Google fastboot can't handle the large file size). You can get it (as well as the RUU) from the following thread:
https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
From there, you need to open the command prompt from whatever folder/directory htc_fastboot.exe or fastboot.exe (respectively) are located. There is a shortcut for doing this:
1) Open folder in Windows, where fastboot.exe (htc_fastboot.exe) is located. Different fastboot installers will install it to different places, so you will have to find it yourself.
2) Hover mouse over the folder, press Shift+Right mouse button. This will open a menu, from which you want to select "Open command window here"
3) The command prompt window will open, and that is where you want to type your fastboot commands.
Another note (and I know this will probably be confusing), I think that you can use htc_fastboot for all the fastboot commands (no need to flip flop between htc_fastboot and fastboot). You just have to use "htc_" before all the fastboot commands. For instance:
htc_fastboot oem lock
Click to expand...
Click to collapse
I followed those steps but when I tried and flash it it gave me this error "target reported max download size of 1826418688 bytes" and I found no real solution to this online.
On a side note I already had the HTC Sync manager installed and I used it to backup some stuff so I can't uninstall it(according to the guide I have to uninstall it, but I guess that's just a suggestion since uninstalling it shouldn't interfere).
Though I feel like I'm close to succeeding.
Tupi311 said:
I followed those steps but when I tried and flash it it gave me this error "target reported max download size of 1826418688 bytes" and I found no real solution to this online.
Click to expand...
Click to collapse
Did you use htc_fastboot? The file size error is usually due to using the wrong fastboot (you need to use htc_fastboot, as the "generic" fastboot can't handle the file size).
Tupi311 said:
On a side note I already had the HTC Sync manager installed and I used it to backup some stuff so I can't uninstall it(according to the guide I have to uninstall it, but I guess that's just a suggestion since uninstalling it shouldn't interfere).
Click to expand...
Click to collapse
I've left HTC Sync installed without any issues. Like you said, it's mostly a suggestion.
Also, just a suggestion:but I would recommend to refrain from quoting someone else's long post (like you quoted my last post). I know it is the default when replying, to include the quote. But just delete what you aren't directly replying to (quote few lines at most) to avoid cluttering up the thread with redundant text.
redpoint73 said:
Did you use htc_fastboot? The file size error is usually due to using the wrong fastboot (you need to use htc_fastboot, as the "generic" fastboot can't handle the file size).
Click to expand...
Click to collapse
Seems like my pc didn't like that I was using those commands and I had to use \.htc_fastboot . It's all good now. Thank you very much. Have a good day.
Related
Hello everybody,
This is my first post on XDA, although I've visited the site oftne
Anyways:
Yesterday I successfully rooted my One X and unlocked its bootloader. I also installed CWM recovery.
As the day came to a close I tried to install LC_MOD in an attempt to change the multitasking softkey to a menu button.
I did not make a backup, and the phone had no backups.
Needless to say the phone wouldnt boot. I panicked and in blind fear sortof erased everything off of my phone. everything. What I basically did was i went into advanced settings and formatted my /sdcard and all those other folders, hoping that would solve the issue (a simple data/cache wipe didnt work). So much data has been erased from the phone that I cannot even mount usb storage through CWM because im missing a file.
So, I come to you all, you gods of the tech world, with my head bowed, to ask for your help. I have literally tried everything in my power to fix the issue. I tried to install custom roms manually, that didnt work. I tried to install an RUU, and even that didnt work (the software could not detect my device). This was all made even more difficult because I myself have a mac, and much of the software I had to use was windows based, which led me on a journey to create a virtual machine.
I know i messed up, and what I'm really hoping someone out there cn do is upload one of their own backups of their One X's software, and show me how to use that to restore my phone.
Somebody out there please please help me :'(
Hi;
There is a reason all developers here shout out loud:
1- BACKUP YOUR PHONE BEFORE YOU F*** IT UP
2- DO NOT DO ANYTHING UNLESS YOU ABSOLUTELY KNOW HOW TO
But anyways, you ruined it, you should get it back, Hopefully you did not drain the battery below 30%, in that case keep on reading the next paragraph, but if you dropped the battery below 30, you should go to CWM Recovery, connect your phone to charger, and wait until it's charged properly...
After charging the phone, you need the correct RUU for your phone... As it seems, you don't know what you're doing, so go to fastboot, type this command:
Code:
fastboot oem readcid
Then post the code here in this topic, so someone can help you find the correct RUU for your phone...
After that go to THIS topic and follow the part where it says "If you DON'T have custom rom or Nandroid backup on internal SD card"
Thanks
Thanks a bunch bro!! And ye i get that it was completely my fault. I normally do backup before i do anything, but i guess i was just a bit too anxious. And I think you've told me everything i need to know, ill get that code out to you asap... And you're right, i seriously have no clue what im doing ^.^, I've never F***ed up this hard on any phone before
Xial649 said:
Thanks a bunch bro!! And ye i get that it was completely my fault. I normally do backup before i do anything, but i guess i was just a bit too anxious. And I think you've told me everything i need to know, ill get that code out to you asap... And you're right, i seriously have no clue what im doing ^.^, I've never F***ed up this hard on any phone before
Click to expand...
Click to collapse
Don't worry, with the correct version of RUU you can restore your phone...
Sent from my HTC One X using XDA
Next?
Alright I got the code:
<bootloader> DEBUG: cid: VODAP102
Whats next?
Xial649 said:
Alright I got the code:
<bootloader> DEBUG: cid: VODAP102
Whats next?
Click to expand...
Click to collapse
Your phone is from Voda Germany, and most probabely your correct RUU is this:
Code:
http://www.filefactory.com/file/t7qugfd3ey9/n/RUU_ENDEAVOR_U_ICS_40_Vodafone_CH-DE_1.26.166.2_Radio_1.1204.90.13_release_251279_signed.exe
Download it. Hopefully it would be the correct RUU for your phone.
1- Now open the exe file you just downloaded and make sure that it fully started.
2- Don't click anything, just open "Computer" (formerly known as my computer) in windows and enter %temp% in your address bar.
3- You will now see some folders, just search through these folders for the ROM.zip (using windows search function)
4- When you found it, copy it to your desktop.
5- Extract it with WinRar,7-zip or something like that and take the boot_signed.img and system.img.
6- Now copy the two files into the folder where the fastboot.exe is placed (if you have installed the Android SDK, it should be in platform-tools)
7- Go to your One X, go into the bootloader and go into fastboot mode. then connect your phone to computer.
8- Open CMD and navigate to the folder in which you have the two images and the fastboot file. (using cd command and after that the address you want to go to)
9- Now type in that
Code:
fastboot flash boot boot_signed.img
10- Now this one
Code:
fastboot flash system system.img
if all this is successful, you can just reboot your phone and everything is OK.
If you can't do any of these, let us now, we will help you through it...
Good lock
---------- Post added at 03:52 PM ---------- Previous post was at 03:41 PM ----------
In other note, RUUs are build to do an stand alone recovery of your phone. So you can first try, just running the RUU application and following the instruction given in the RUU. it may work correctly
This is good
Alright so i got everything going after downloading the RUU and it was in the process of restoring my phone, but then it said my battery went below 30% so i needed to recharge. At that point i had to leave, and so I noticed that if i left my phone in the booting animation (HTC logo) the LED light indicated that the phone was charging. Since I wasnt entirely convinced that my CWM recovery was actually charging the phone, i left it on booting while connected to my pc and hopefully itll be fully charged and ready to be restored tomorrow..... I really appreciate all the help you've given me man you've practically saved my life here , and I'd like to say that you've made my first cry for help a simple and smooth one.... Thank you very much my friend :victory: :highfive:
Problem
Ok so we have a new problem, the system.img file didnt flash. I tried and it said "FAILED"
What now??
& is the boot image supposed to only be around 4300 kb?
Could the sending of "system" failed because my phone had less than 30% batterylife???? & if its in Clockworkmod recovery5.8.4 while connected to an outlet will it be charging???
Edit: I've searched around and I saw this one guy who extracted the "boot_signed.img" and the "recovery_signed.img" (NOT the system.img), flashed them onto his phone, locked the bootloader with "fastboot oem lock", and then RAN the RUU..... He said he bricked his phone, and the situation he described is similar to mine. Any thoughts on which method of the two (yours and his) i should use?
Thanks again :3
Xial649 said:
Ok so we have a new problem, the system.img file didnt flash. I tried and it said "FAILED"
What now??
& is the boot image supposed to only be around 4300 kb?
Could the sending of "system" failed because my phone had less than 30% batterylife???? & if its in Clockworkmod recovery5.8.4 while connected to an outlet will it be charging???
Edit: I've searched around and I saw this one guy who extracted the "boot_signed.img" and the "recovery_signed.img" (NOT the system.img), flashed them onto his phone, locked the bootloader with "fastboot oem lock", and then RAN the RUU..... He said he bricked his phone, and the situation he described is similar to mine. Any thoughts on which method of the two (yours and his) i should use?
Thanks again :3
Click to expand...
Click to collapse
That's another method you can try, boot_signed is the stock kernel (and yes it's that small) and the recovery_signed is the stock recovery...
Since my previously mentioned method didn't work, do this:
1- flash the boot_signed.img into your device (fastboot flash boot boot_signed.img)
2- flash the recovery_signed.img in the device (fastboot flash recovery recovery_signed.img)
3- erase cache (fastboot erase cache)
4- lock your phone (fastboot oem lock)
5- now try again to flash the system image (fastboot flash system system.img)
And also, try having around 40% battery to do all this, don't let the battery drops under 30%
ALRIGHT!!!!
alright man!!!! that sounds like a plan... First thing tomorrow I'm going to try this method out.... and btw the RUU you linked me wasnt exactly working right (the software kept saying i had the wrong ruu), so i searched around and found someone with the same CID (VODAP102) and apperantly the uk RUU works fine on it, so i guess ill use that one ye? And btw does the bootloader have to be unlocked before i can flash these items? because i do believe its locked atm....
Xial649 said:
alright man!!!! that sounds like a plan... First thing tomorrow I'm going to try this method out.... and btw the RUU you linked me wasnt exactly working right (the software kept saying i had the wrong ruu), so i searched around and found someone with the same CID (VODAP102) and apperantly the uk RUU works fine on it, so i guess ill use that one ye? And btw does the bootloader have to be unlocked before i can flash these items? because i do believe its locked atm....
Click to expand...
Click to collapse
Your phone is "Vodafone Germany" version and the link I gave you is the "Voda DE" which seems right, but you can try that as well, doesn't heart...
No, for original ROM (RUU) you should have a locked boot-loader, unlocking is just for custom ROMs.
ok
ok so this is what ill do tomorrow:
1) make sure bootloader is unlocked
2) fastboot flash boot boot_service.img
3) fastboot flash recovery recovery_service.img
4) fastboot oem lock
5) fastboot flash system system.img
did i get everything?
Xial649 said:
ok so this is what ill do tomorrow:
1) make sure bootloader is unlocked
2) fastboot flash boot boot_service.img
3) fastboot flash recovery recovery_service.img
4) fastboot oem lock
5) fastboot flash system system.img
did i get everything?
Click to expand...
Click to collapse
The two first commands should work on a LOCKED boot-loader, so I think step 1 would not be necessary... If your phone is locked you should be able to do all steps 2, 3, 5 without problem (step 1 and 4 are the exact opposite of each other and if the phone is locked already I think can be skipped)
ok so its still not working.... I managed to flasht he boot_signed.img and the recovery_signed.img, clear cache and lock the bootloader after it, but i still cannot seem to flash the damn system.img... Any thoughts?
what happens is command prompt stays static for a second and then says sending 'system' (1000596 KB)
FAILED (remore: (00000006))
finished. total time: -0.000s
so? What now??
Xial649 said:
ok so its still not working.... I managed to flasht he boot_signed.img and the recovery_signed.img, clear cache and lock the bootloader after it, but i still cannot seem to flash the damn system.img... Any thoughts?
what happens is command prompt stays static for a second and then says sending 'system' (1000596 KB)
FAILED (remore: (00000006))
finished. total time: -0.000s
so? What now??
Click to expand...
Click to collapse
Any luck in running the RUU itself directly?
i gave up
alright so nothig worked. Not the manual flash, and not the RUU itself. So ive resolved to visit my local help center for HTC devices, and see what they can do, if they cant fix it the least they can do is send it to the german branch for repairs. Thanks for all your help mate, you've really proven to be a great guide, but I guess something just isnt clicking in this case :/.......... i love u man
I'm not sure if this would work.
If you are still htcdev unlocked:
1. Enter bootloader in fastboot usb
2. Fasboot flash recovery -your recovery .img here"
3. Boot into recovery
4. Go to "mounts and storage"
5. Mount SD(I think this is right) and your sd should show up in your pc
6. Copy your rom zips and other zips you need/want
7. Unmount SD
8. By this time you should be able to flash your rom
9. Make sure you flash boot.img again in bootloader.
Hope this helps
Sent from my HTC One X using xda app-developers app
Isn't it mount usb storage?
Sent from my HTC One X using XDA Premium App
You couldn't mount the USB storage / sdcard because you were running CWM from the bootloader. If you connect it to the pc you can put the recovery file you flashed into the fastboot folder and do:
fastboot boot *recoveryfilename*.img
Then you can mount the sdcard etc.
If you have photos and things you don't want an ruu to get ride of, you can fix the ROM. You broke it by trying to install an deodrexed mod for an odexed Rom. If you're interested I can tell you how to fix it.
You could also take this opportunity to install a custom Rom, with which I can also help.
For most people, following all these different methods to root your phone for to get a simple rooted ROMs has cause many a headache. I'm no expert and dont pretend to be, but I'm a huge fan of fast and simple. So without further ado, I present to you the Darn Simple nearly universal HTC way too gain root.
****Warning****Unlocking your bootloader through HTCDev will permanently void your warranty with HTC. For that reason, this method isnt preferred over using tools like Revolutionary. Unfortunately, Revolutionary doesnt work for the most recent HBoot, so if you try it and it doesnt work, you'll have to try an alternative root method.
If you simply want to root so you can flash ROMs or get WiFi tethering and dont really care about regaining a warranty later, then this guide is for you. Otherwise, you may want to consider another method.
The HTC Unlock is universal. Once you unlock your bootloader, you can flash whatever ROM you want.As far as compatibility, you should always read the post. Most devs warn you to do that before you go flashing willy nilly.
****END Warning****Since HTCDev provides a bootloader unlock tool, all you need to do is unlock your bootloader by going to http://htcdev.com/bootloader/ and following the instructions. As far as I know, all you need is the HTC drivers for your phone, and Fastboot.
LINK
open CMD, browse to the folder you downloaded and extracted for example, if the extracted folder is C:\User\Downloads\ADB_Fastboot then type in
Code:
cd "C:\User\Downloads\ADB_Fastboot"
in quotes. then, on your phone, go into settings > applications > development and check usb debugging.
Once that's done, type the following command into your command line:
Code:
adb reboot bootloader
This will reboot your phone into bootloader mode. Alternately, you can pull your battery and then hold volume down and press power. This will not work if you simply turn the phone off from the power menu unless you uncheck the Power > Fastboot option.
Go to the development section of the forum for your phone, in this case, since it's the Droid Incredible 2 thread, that will be here.
Do a search for recovery. That will take you to the latest available recoveries for your phone. Alternately, you can search google for Clockworkmod recovery "Enter phone name here" since ClockWorkMod is almost universal. For HTC, you will be downloading a .img file.
I've attached a recovery image to flash. This will get outdated, and there are other recoveries out there. I
Make sure your download is complete and make sure the file you find is for your phone. This is the absolute most dangerous part of the whole process. If you have the right img for your phone and it's a complete download, then there is no room for error. Mistyping the command will only result in you not flashing the file.
download the file to the same folder as your fastboot and adb files.
If you look at your phone it should says FASTBOOT USB in a red block. If not, one of three things need to be checked.
Your USB cable is not connected. Plug it in.
Your drivers have not installed yet. Go to HTC.com and find the drivers. (If someone has a link, please leave a comment)
You are not in fastboot mode. Press the power button on Fastboot and then let it connect.
If you followed all the steps from HTCDev completely, then on the very top, you should see the word ***Unlocked*** if not, you need to redo the HTC Dev step. We wont be able to continue without an unlocked bootloader.
In the command line, type in
Code:
fastboot flash recovery nameOfRecoveryFileHere.img
You can always rename the file to make it easier to flash.
Once that's done, on your phone, go to bootloader using the volume buttons, select it with power, and then select recovery.
Youre done with the difficult and dangerous part! Congratulations!
For many HTC phones, all you have to do is flash the SU package, (Attached below) from recovery. I havent tested it for this phone because I dont own one, but instead of keeping up with all the rooting methods, I just backup the current stock unrooted ROM just in case you need to revert for some reason, then I flash a rooted ROM. All the work is done for you! So if you want to find a ROM to download and get that in the works, that'l save you some time.
Here's the one I used. It's the stock ROM but rooted
http://forum.xda-developers.com/showthread.php?t=1737494
Next, we'll go down to the backup and restore option in your recovery, and then hit backup. This will take about 3 minutes.
When this finishes, press the back arrow about 3 times and then go down and select mounts and storage. You should now see a list. At the bottom, it should say mount usb storage. Select that. That will mount your SD card on your computer to allow you to drag the downloaded ROM there. Once that's done, you can hit the back arrow until you're at the main screen. The select install zip from SD Card > Choose zip from sd card, then navigate to the file you transferred. Select yes on the next screen and then wait for it to flash. Once that finishes, go back once more to the main screen, select factory reset and then you're done! Your phone is now rooted! press the back arrow and then select reboot now. Wait a few minutes as the first boot takes a while. Your phone will now start up and you're rooted!
Note:If anyone gets stuck, the backup you just made will restore you to your stock ROM without root. Then you can try again. Just go to backup and restore > restore > then select your backup and yes. This will put everything back.
Please post any comments or questions below and I will do my best to answer them. This is my first tutorial, so be kind! Since I've been doing this for a while, i may have missed steps that are second nature to me. If anyone gets stuck, let me know and I'll add the necessary information into the post.
The HTC Unlock is universal. Once you unlock your bootloader, you can flash whatever ROM you want.As far as compatibility, you should always read the post. Most devs warn you to do that before you go flashing willy nilly.
As always, the thanks button is below.
Great tutorial. Question though. If I'm S-Off but on 2.3.4 can I just flash a recovery and an su package to get proper root?
Sent from my Incredible 2 using xda app-developers app
You should be able to. Since I havent tried that method with this phone, there's a change it might not work. But that seems to be a general method nowadays. Make a backup of your system first, just in case it doesnt work right. Then you can flash the SU package and see if it works. if not, go ahead and restore the backup.
The reason people choose to do the "hard" (it's not actually that hard, I did it in 5 minutes) method to gain root access on their phone is mainly for a full S-OFF that you don't get with HTC Dev, and the ability to unvoid their warranty. HTC tracks the serial numbers used with the HTC dev tool so your warranty is permanently void, but when you use Revolutionary, you can always return to stock and put S-ON again, and HTC or Verizon would have never known. That's the reason this method is discouraged.
jellybellys said:
The reason people choose to do the "hard" (it's not actually that hard, I did it in 5 minutes) method to gain root access on their phone is mainly for a full S-OFF that you don't get with HTC Dev, and the ability to unvoid their warranty. HTC tracks the serial numbers used with the HTC dev tool so your warranty is permanently void, but when you use Revolutionary, you can always return to stock and put S-ON again, and HTC or Verizon would have never known. That's the reason this method is discouraged.
Click to expand...
Click to collapse
I will post that in the OP.
I followed your thread,,to save time.trusting your guide only gave me a brick..I know you tried but you failed to mention what version this works on,
by that i mean radio version..sux
I went this route at first. The HTC unlock only lets you run stock and near stock kernels. Most custom roms woun't boot. If you don't mind running a stock rooted rom this works.
takota6 said:
I followed your thread,,to save time.trusting your guide only gave me a brick..I know you tried but you failed to mention what version this works on,
by that i mean radio version..sux
Click to expand...
Click to collapse
This has nothing to do with radio version. The HTC Unlock is universal. Once you unlock your bootloader, you can flash whatever ROM you want.As far as compatibility, you should always read the post. Most devs warn you to do that before you go flashing willy nilly. I'll update the OP with this information as well. Thank you for your input.
I click on unlock bootloader and nothing happens, no instructions or anything. It just stays at the unlock bootloader screen. I don't know what I'm missing.
rocksteady said:
I click on unlock bootloader and nothing happens, no instructions or anything. It just stays at the unlock bootloader screen. I don't know what I'm missing.
Click to expand...
Click to collapse
Where? At the HTC dev website? You have to log in before continuing.
damastah said:
Where? At the HTC dev website? You have to log in before continuing.
Click to expand...
Click to collapse
I do log in at the htc dev and still nothing happens after I click.. I dunno.
rocksteady said:
I do log in at the htc dev and still nothing happens after I click.. I dunno.
Click to expand...
Click to collapse
Try a different web browser. Sometimes Google Chrome doesnt work for me with the HTCDev website.
Or. If you have fastboot installed, run
Code:
fastboot oem get_identifier_token
while your phone is booted into the bootloader. If you can give me the code there, I dont mind getting you the file you need.
damastah said:
Try a different web browser. Sometimes Google Chrome doesnt work for me with the HTCDev website.
Or. If you have fastboot installed, run
Code:
fastboot oem get_identifier_token
while your phone is booted into the bootloader. If you can give me the code there, I dont mind getting you the file you need.
Click to expand...
Click to collapse
(bootload) [ERR] Command error !!!
OKAY [ 0.016S]
finished. total time 0.016s
is the error I get. It seems like there is no driver, but I don't know how that can be. I works in windows and see's my dinc2 as myhtc in the device manager.
Hey so I want to start using the CM10.1 ROM that's posted here: http://forum.xda-developers.com/showthread.php?t=1786696. However to use the the proper kernel, you need hboot 1.28+. I'm on 0.96, how the hell do I update? Every time I try and search, it tells me I need my CID, so I used CID Getter and it didn't give me one. My network is O2 UK if that helps, and it is already rooted and CM10 is running on it. I thought about using the stock Nandroid backup thread to grab one (I accidentally deleted my original backup) and then update to Sense Jelly Bean, but it says there you need your CID and I obviously don't know it. Any help would be appreciated!
samsaBEAR said:
Hey so I want to start using the CM10.1 ROM that's posted here: http://forum.xda-developers.com/showthread.php?t=1786696. However to use the the proper kernel, you need hboot 1.28+. I'm on 0.96, how the hell do I update? Every time I try and search, it tells me I need my CID, so I used CID Getter and it didn't give me one. My network is O2 UK if that helps, and it is already rooted and CM10 is running on it. I thought about using the stock Nandroid backup thread to grab one (I accidentally deleted my original backup) and then update to Sense Jelly Bean, but it says there you need your CID and I obviously don't know it. Any help would be appreciated!
Click to expand...
Click to collapse
install the sdk on your computer and then set the right environment variables, then in terminal type with your phone connected
Code:
adb getvar cid
Never used adb before, so I used this: http://www.droidforums.net/forum/droid-hacks/6865-how-use-adb-all-commands-options.html, to help out. Navigated to the place it told me to but every time I type what you told me to, it says 'adb is not recognised as in internal or external command, operable program or batch file.' What am I missing, and apologies if this is really ****ing simple and I'm just being an idiot.
Edit: Navigated to the path the website gave me and found that the adb has moved to another folder. Went to that in terminal, put in what you told me and it just gave me a big old list of adb commands, as opposed to my cid?
samsaBEAR said:
Never used adb before, so I used this: http://www.droidforums.net/forum/droid-hacks/6865-how-use-adb-all-commands-options.html, to help out. Navigated to the place it told me to but every time I type what you told me to, it says 'adb is not recognised as in internal or external command, operable program or batch file.' What am I missing, and apologies if this is really ****ing simple and I'm just being an idiot.
Click to expand...
Click to collapse
follow this guide, it will explain you how to install the sdk and use adb
Right ok, what I actually needed to go was to go into the bootloader and type 'fastboot getvar cid'. That all worked well and good however it said 'CID: none'. Is this good or bad?
Edit: So I've finally found my CID haha, I had to use 'fastboot oem readcid' as the command, which gave '02__001'. How do I know go about updating my hboot? Do I have to download a nandroid backup and relock my device to get the update from HTC, or is there a quicker way to just do the hboot?
ok you need to download this firmware, which is for your specific CID, and then follow these steps:
Download the ROM and place it on your virtual SD card.
Relock your bootloader using the commend 'fastboot oem lock'.
Go into fastboot mode and type 'fastboot oem rebootRUU'.
Flash the new firmware using the commend 'fastboot flash zip firmware.zip'.
On first time running the commend you will see FAILED, don't panic and just run the commend again.
Reunlock your bootloader via HTCDev.
Flash custom recovery using the commend 'fastboot flash recovery recovery.img'.
Download boot.img and flash it using the commend ‘fastboot flash boot boot.img’.
Use the commend 'fastboot erase cache' to avoid boot issues.
Go into recovery and install the ROM.
Reboot your device and enjoy from JB!
Awesome thank you very much for all your help!
samsaBEAR said:
Awesome thank you very much for all your help!
Click to expand...
Click to collapse
glad to help you report back if you succeeded in it
I'm trying to install the latest RUU for my developer edition. The RUU loads till the point where I accept the agreement and then nothing. I'm on Windows 8.1. Here is where I got the RUU from http://www.htc.com/us/support/htc-one-m8/news/
Any idea why is this happening or how to fix it? I'm having all sort of problems with the phone at the moment. I'm giving a RUU a try to see if it fixes it.
Thanks in advance!
Same thing happens to me, no idea why. Works fine in Windows 7. some people say it's to do with needing a C++ Update but that didn't work for me either
What you can do, though, is once at the T&Cs screen, open a run box and type in %temp% and it'll take you to the Temporary Files folder on your PC and if you look at the newest folders there should be 2. One will contain a compressed file called 'rom'. Copy this to your Desktop, then to a microSD card and flash that via HBOOT or flash it via RUU mode using htc_fastboot.exe (which you can find here)
EddyOS said:
Same thing happens to me, no idea why. Works fine in Windows 7. some people say it's to do with needing a C++ Update but that didn't work for me either
What you can do, though, is once at the T&Cs screen, open a run box and type in %temp% and it'll take you to the Temporary Files folder on your PC and if you look at the newest folders there should be 2. One will contain a compressed file called 'rom'. Copy this to your Desktop, then to a microSD card and flash that via HBOOT or flash it via RUU mode using htc_fastboot.exe (which you can find here)
Click to expand...
Click to collapse
Could you refer to this C++ update if you happen to remember which one?
How do I flash the rom file through HBOOT or the RUU mode using htc_fastboot.exe (87.7 KB)?
To flash the ZIP in RUU mode
fastboot oem rebootRUU
htc_fastboot flash zip rom.zip
And unfortunately no, I don't know which update it was as didn't work
EddyOS said:
To flash the ZIP in RUU mode
fastboot oem rebootRUU
htc_fastboot flash zip rom.zip
And unfortunately no, I don't know which update it was as didn't work
Click to expand...
Click to collapse
I've never done this through RUU mode before, so I'll double check with you.
I'll open normal fastboot. Copy the rom.zip to the root of theSD Card or to the same folder where fastboot is? Also where to place HTC_fastboot.exe, same as fastboot or in the root of SD Card? Then I'll enter the command fastboot oem rebootRUU then htc_fastboot flash zip rom.zip? I'm sorry for the basic questions, thanks a lot!
If you're flashing it manually you don't copy it to your phone, just put it in your fastboot folder along with the htc_fastboot file and then do it all with the phone in fastboot mode
This is the same like applying the RUU exe? This will wipe everything and install everything from zero, right? On HBOOT I have a modified software status , is this going to be fixed as well?
Yep, completely resets the phone to factory defaults
EddyOS said:
Yep, completely resets the phone to factory defaults
Click to expand...
Click to collapse
@EddyOS
Sorry for asking more questions, but last time I applied a RUU was with my M7 when I first bought it. If I'm going to apply the RUU exe, does i have to be on fastboot or while the phone is on? Flashing the rom.zip, do I have to flash or format anything through fastboot or should reboot fastboot or simply reboot the phone? Applying RUU, does it reinstall HBOOT? Sorry and thanks again!
My previous post answers your last bit - it puts EVERYTHING back to factory and the latest versions
RUU.exe you can run when in Android or in fastboot mode, RUU.zip HAS to be flashed in RUU mode.
I've said everything you need to know so if you still don't get it, don't bother trying it
EddyOS said:
My previous post answers your last bit - it puts EVERYTHING back to factory and the latest versions
RUU.exe you can run when in Android or in fastboot mode, RUU.zip HAS to be flashed in RUU mode.
I've said everything you need to know so if you still don't get it, don't bother trying it
Click to expand...
Click to collapse
I'm just making sure. I don't have another phone at the moment and limited 3G internet connection, so I don't want to get stuck with the phone not working or downloading things twice. Sorry for repeating the same questions though
hello...sorry for the noob question....is there a way for me to install the RUU in linux....in window 7....it is always askin for me to install drivers...etc...n error msg...device not found...etc....i dont have those errors in linux....
never mind...I found it...
Hi
This is the first time I'm using a HTC device, before this I had some Nexus devices which were really easy for modification. I'm a little confused with HTC methods.
I'm a GNU/Linux user and I wish to do everything without using Windows. as I see RUU files at least for HTC 10 are .exe files and a Windows machine is needed to flash them. I have found this tool that extracts all the files from RUU file.
1- If I wanna flash exe RUU, can I just download the file from here and run it ? should I consider CID and MID before downloading a RUU file?
2- Considering that I have the right RUU file, can I just use "Universal HTC RUU/ROM Decryption Tool" and make a zip file and flash it?
Use the decrypt tool to get pull the ROM.zip from the RUU.exe, rename the ROM.zip to 2PS6IMG.zip and place that on the root of your sdcard. Boot to download mode and it will find the renamed zip and ask you to press vol up to confirm the flash. When it's done it'll prompt you to press power to reboot.
That's it. Super easy.
After the flash delete the zip or rename it to something else, otherwise every time you boot to download mode, it'll try to update again.
xunholyx said:
Use the decrypt tool to get pull the ROM.zip from the RUU.exe, rename the ROM.zip to 2PS6IMG.zip and place that on the root of your sdcard. Boot to download mode and it will find the renamed zip and ask you to press vol up to confirm the flash. When it's done it'll prompt you to press power to reboot.
That's it. Super easy.
After the flash delete the zip or rename it to something else, otherwise every time you boot to download mode, it'll try to update again.
Click to expand...
Click to collapse
Thank you.
Forgive me if I ask without any testing by myself, My device hasn't been arrived yet. (I'm preparing myself)
Will it wipe anything?
Will it re-encrypt data partition and solve the radio problem? (is flashing the zip exactly like running RUU.exe or it's just something like an OTA upate?)
Will It solve OTA problem? (not being able to receive OTA)
The exact question is
How can I flash the RUU like a factory reset
and how can I flash the RUU like an OTA
(ALL in Linux not Windows)
Thank you so much
Sir-Shadow said:
Hi
This is the first time I'm using a HTC device, before this I had some Nexus devices which were really easy for modification. I'm a little confused with HTC methods.
I'm a GNU/Linux user and I wish to do everything without using Windows. as I see RUU files at least for HTC 10 are .exe files and a Windows machine is needed to flash them. I have found this tool that extracts all the files from RUU file.
1- If I wanna flash exe RUU, can I just download the file from here and run it ? should I consider CID and MID before downloading a RUU file?
2- Considering that I have the right RUU file, can I just use "Universal HTC RUU/ROM Decryption Tool" and make a zip file and flash it?
Click to expand...
Click to collapse
do you not have an sd-card?
why not just use that method?
If you do a full RUU that way, is he going to get a full wipe with radio and firmware update is his question I think, I know it can so that with renaming the zip.
Are you going to s-off your phone first? Have you decided on that yet, because it's a preference but if you use Linux half decent I would recommend s-off with locked bootloader (when it's s-off, its a higher level permission so it works like unlocked but the locked flag is still there)
I'm not really familiar with the RUU method from the beginning, I know there's a lot of options though. My suggestion would be s-off (choose to keep bootloader locked during sunshine process) and then install recovery with fastboot and firmware with fastboot (sneakyghost thread for firmware/radio updates s-off), which works from Linux I believe because I had to learn how to use fastboot and adb with iOS when I remoted in to straighten out a phone on teamviewer. So I think "fastboot reboot oemRUU" method works in Linux, you just do ./ if I remember correctly.
Can some Linux guys help me out?
Sent from my HTC 10 using Tapatalk
andybones said:
do you not have an sd-card?
why not just use that method?
Click to expand...
Click to collapse
I have and I will use, but this is my first time with HTC and I'm still learning the way HTC works.
CharliesTheMan said:
If you do a full RUU that way, is he going to get a full wipe with radio and firmware update is his question I think, I know it can so that with renaming the zip.
Are you going to s-off your phone first? Have you decided on that yet, because it's a preference but if you use Linux half decent I would recommend s-off with locked bootloader (when it's s-off, its a higher level permission so it works like unlocked but the locked flag is still there)
I'm not really familiar with the RUU method from the beginning, I know there's a lot of options though. My suggestion would be s-off (choose to keep bootloader locked during sunshine process) and then install recovery with fastboot and firmware with fastboot (sneakyghost thread for firmware/radio updates s-off), which works from Linux I believe because I had to learn how to use fastboot and adb with iOS when I remoted in to straighten out a phone on teamviewer. So I think "fastboot reboot oemRUU" method works in Linux, you just do ./ if I remember correctly.
Can some Linux guys help me out?
Click to expand...
Click to collapse
I really like to s-off my phone, but as the only way for s-off is Sunshine and I do live in f*ing country, it's not easy for me to pay.
Why do you recommend s-off and keeping bootloader lock? I know s-off is more powerful but why keeping bootloader lock?
Sir-Shadow said:
I have and I will use, but this is my first time with HTC and I'm still learning the way HTC works.
I really like to s-off my phone, but as the only way for s-off is Sunshine and I do live in f*ing country, it's not easy for me to pay.
Why do you recommend s-off and keeping bootloader lock? I know s-off is more powerful but why keeping bootloader lock?
Click to expand...
Click to collapse
The bootloader lock serves no purpose on preventing you from installing things we flash after s off. It's basically a false flag, like a deadbolt on a door but to get in, you can just move the door to the side and walk in.
To unlock bootloader you have to go through HTC and agree to waive your warranty rights. S off unlocks everything, but certain apps looking for a locked bootloader, see a locked bootloader is just a fake sign on the door basically, with benefits to being locked and s off, for apps that require locked bootloaders.
Sent from my HTC 10 using Tapatalk
Sir-Shadow said:
I have and I will use, but this is my first time with HTC and I'm still learning the way HTC works.
I really like to s-off my phone, but as the only way for s-off is Sunshine and I do live in f*ing country, it's not easy for me to pay.
Why do you recommend s-off and keeping bootloader lock? I know s-off is more powerful but why keeping bootloader lock?
Click to expand...
Click to collapse
***On the HTC 10, S-OFF Locked = S-OFF Unlocked (Strange I know, this isn't how it was on previous M9, M8 or M7 etc,,, the HTC 10 is a bit different), Sunshine suggests that you choose S-OFF Locked (you will see this in the disclaimer when you run the application)***
There are several methods to flash RUU (Option 2 isn't viable since you are on Linux, but you still have 2 options) - I don't see why you would have any issues using adb on Linux, but I use Windows mainly, so I've never flashed an RUU on Linux, but I do know that Option 1 (SD-Card) is the safest method, IMO. (No worry of power going out and bricking device or something while it's flashing)
Taken from this thread found here
--------------------------------------------------
Option 1
Copy 2PS6IMG.zip (this is the RUU you rename to 2PS6IMG.zip) to root of a physical SD formatted to fat32. No exfat! No internal storage! Must be external SD formated to fat32!
Reboot phone to download mode and follow prompts once RUU is detected by phone.
Option 2
EXE option. Download EXE file below (for windows) and simply double click to start. You can either be booted to OS with USB debugging enabled OR booted into download mode for this to start.
Option 3
Fastboot RUU mode . This method assumes you have a working ADB/Fastboot directory on your PC. Download RUU zip file and place in your working fastboot/adb directory. Boot your phone to download mode and connect to PC. Issue the following commands.
htc_fastboot oem rebootRUU
###while in this mode your phone will display an HTC logo on the screen
htc_fastboot flash zip 2PS6IMG.zip
##while in this mode you will see an HTC logo on the screen and a green status bar across the bottom of the screen. When command output ##completes it may say reboot required to flush etc... if that's the case issue a "htc_fastboot reboot-bootloader" command and restart option 1 again.
## assuming flash completes and no further flushing/reboots are requested from the cmd output you can now reboot IF you simply wish to reboot the system you can issue "htc_fastboot reboot" which will reboot syst
andybones said:
***On the HTC 10, S-OFF Locked = S-OFF Unlocked (Strange I know, this isn't how it was on previous M9, M8 or M7 etc,,, the HTC 10 is a bit different), Sunshine suggests that you choose S-OFF Locked (you will see this in the disclaimer when you run the application)***
There are several methods to flash RUU (Option 2 isn't viable since you are on Linux, but you still have 2 options) - I don't see why you would have any issues using adb on Linux, but I use Windows mainly, so I've never flashed an RUU on Linux, but I do know that Option 1 (SD-Card) is the safest method, IMO. (No worry of power going out and bricking device or something while it's flashing)
Taken from this thread found here
--------------------------------------------------
Option 1
Copy 2PS6IMG.zip (this is the RUU you rename to 2PS6IMG.zip) to root of a physical SD formatted to fat32. No exfat! No internal storage! Must be external SD formated to fat32!
Reboot phone to download mode and follow prompts once RUU is detected by phone.
Option 2
EXE option. Download EXE file below (for windows) and simply double click to start. You can either be booted to OS with USB debugging enabled OR booted into download mode for this to start.
Option 3
Fastboot RUU mode . This method assumes you have a working ADB/Fastboot directory on your PC. Download RUU zip file and place in your working fastboot/adb directory. Boot your phone to download mode and connect to PC. Issue the following commands.
htc_fastboot oem rebootRUU
###while in this mode your phone will display an HTC logo on the screen
htc_fastboot flash zip 2PS6IMG.zip
##while in this mode you will see an HTC logo on the screen and a green status bar across the bottom of the screen. When command output ##completes it may say reboot required to flush etc... if that's the case issue a "htc_fastboot reboot-bootloader" command and restart option 1 again.
## assuming flash completes and no further flushing/reboots are requested from the cmd output you can now reboot IF you simply wish to reboot the system you can issue "htc_fastboot reboot" which will reboot syst
Click to expand...
Click to collapse
Sir, thank you for this clarification.
Now I'm happy that I can use this device without needing a Windows machine. And I think I have to find a way to S-OFF.
andybones said:
Option 1
Copy 2PS6IMG.zip (this is the RUU you rename to 2PS6IMG.zip) to root of a physical SD formatted to fat32. No exfat! No internal storage! Must be external SD formated to fat32!
Reboot phone to download mode and follow prompts once RUU is detected by phone.
Click to expand...
Click to collapse
FAT32 isn't needed anymore with the 10. ExFAT works just fine now. :good:
Sir-Shadow said:
Sir, thank you for this clarification.
Now I'm happy that I can use this device without needing a Windows machine. And I think I have to find a way to S-OFF.
Click to expand...
Click to collapse
Sunshine app is the only possible way for most of us to S-OFF our devices.. unless you live somewhere where java cards are prevalent and you are able to find a local business that has java cards and offers S-OFF service.. dunno if that is still a thing or not..
I remember reading that if you ever want to be able to take an OTA, you have to do a RUU flash using the Windows method... that shouldn't be an issue, though. Updates don't really need to be taken over the air, though. They will be available for download very shortly after the OTA.