yashsingh1/xdaforums huggingface dataset:
[Sprint HTC EVO 4G LTE] dsEVOlve:
Lmao! You find that whole process "easier" than waiting for a day? I think it might take the better part of a day to do all that. :)
[Sprint HTC EVO 4G LTE] -Apollo-:
Thanks for taking the time to do a write-up OP!
[Sprint HTC EVO 4G LTE] EPayne123:
Good tutorial. I actually waited but this definitely a decent tutorial. Don't listen to anyone saying that it is dumb not to wait. Why do they care what you do with your device?
[Sprint HTC EVO 4G LTE] greyopaque:
Actually, TWRP has a PJ75IMG.zip on their site that can be flashed the same way as the HBOOT. And then, you can flash Superuser from TWRP.

I did everything from my SD card. And, in response to the person saying it would take the better part of the day... the whole thing took me barely 10 minutes, and I have a completely updated phone, all the firmware, radios, etc. And all my data and settings are intact. I think that for someone like me that likes everything stock, but rooted (for WiFi Tether and Adblock), this is the best way to go.
[Sprint HTC EVO 4G LTE] bpdamas:
Agreed.

Definitely agreed.

I know. This is exactly why I root and I can't believe there are so many people against this method. It seems very simple to me and I can have a stock recovery waiting to flash as soon as an OTA update comes out. Oh well.
[Sprint HTC EVO 4G LTE] raiderep:
Thanks for this info. I think I'm like you and not only like the stock experience and its benefits but also prefer diy when possible.

Of course I never seem to stay stock like you but I like doing the steps my self. To each their own is the beauty of android.

Go android! :D

Sent from my EVO
[Sprint HTC EVO 4G LTE] zounduser:
i just noticed my internal was wiped for some odd reason? im attempting to run the previous ruu, to get my notification sounds and everything back.
[Sprint HTC EVO 4G LTE] Robbie_G:
One advantage to me would be you're getting the official ROM/update, and you don't have to worry about a malicious dev slipping in some malware.
[Sprint HTC EVO 4G LTE] bpdamas:
Very curious on this. Nothing in this method should affect this.
[Sprint HTC EVO 4G LTE] Rxpert:
..... I'm blown away by this.

Really?

Why do you even have S-off then? That required you down download specific drivers, and run a program as an administrator on your computer. If you're concerned about a rogue dev they would've royally screwed you there.

/Tin Hat
[Sprint HTC EVO 4G LTE] Robbie_G:
That's fair, rooting and s-off could also inject malicious code. But so can ROM makers.

I think there's a difference between trying to be safe and being paranoid. If there is a way for someone to make money off of you/steal your identity, eventually they will try. I'm not suspicious of any of the current devs, but it's something we should maybe be more aware of. Look at all the warez Windows out there with malware built in to steal your information.
[Sprint HTC EVO 4G LTE] vandymcnew:
Totally agree. Its a good thing to learn in my opinion. I broke my Evo 4G, fixed it then rerooted it. Now on the 4G LTE got it rooted with custom rom. Love learning new things plus some of the good things that come with rooting and custom roms are worth it for me.
[Sprint HTC EVO 4G LTE] ReproOne:
Do you have similar steps for the M8 on Sprint now?
[Sprint HTC EVO 4G LTE] Magnum_Enforcer:
Check out the thread in the link below:

http://xdaforums.com/showthread.php?t=2720558

Sent from my HTC device
[Sprint HTC EVO 4G LTE] Gerard927:
This is EXACTLY what I was looking for!! Thanks so much!!
[Sprint HTC EVO 4G LTE] browning:
Thank you for the process! Worked great and allowed me to keep all my apps/ settings/ etc in place without flashing a new ROM. Nice work.
[Sprint HTC EVO 4G LTE] Gerard927:
Ran through this process last night. Had a small hiccup obtaining S-OFF with LazyPanda, but otherwise everything went very smoothly. Thanks again!
[Sprint HTC EVO 4G LTE] bpdamas:
I had looked for this on other phones as well but for some reason this method is very hard to find. Hopefully this method can be used for other Android phones as well. The process should be relatively the same. This all is dependent on you being s-off though.
[Sprint HTC EVO 4G LTE] Robbie_G:
Do you think it would be possible for HTC to switch you back to S-ON after applying a future OTA?
[Sprint HTC EVO 4G LTE] Captain_Throwback:
Anything is possible. That's why people who were hesitant to take the OTA at first. At least until I reassured them that S-OFF remained after the update ;).
[Sprint HTC EVO 4G LTE] Rxpert:
And also why most people are very adament about never taking one. This thread may work now, bit it may screw you for a future update.
[Sprint HTC EVO 4G LTE] lowetax:
s-off ... just a minor little detail :)

i want to be pure as snow, except for this and this and this ...

interesting read. good job !

Sent from the snake pit testing grounds using xda premium
[Sprint HTC EVO 4G LTE] bpdamas:
I actually got on the unlimited.io irc chat and asked the source of the lazy panda development. They said it is permanent and won't be affected by OTA updates. I would feel 99% comfortable applying any future OTA updates in the risk of losing s-off. Just because I feel confident I won't and will be able to use this same method.

The only two items you could potentially have to do if you are running stock and rooted is flash a stock recovery (first part of this thread) and potentially flash the stock hboot (1.15 after the update). I don't think you will have to flash a new hboot though since the version of hboot included in the OTA, if included, will have a version number higher than the lazy panda hboot. That is really all that you will should have to change before applying the OTA update on future updates.
[Sprint HTC EVO 4G LTE] bpdamas:
Just FYI, I have uploaded stock recovery files for both the 1.13 software version and the most recent 1.22 software version. Feel free to download them if don't want to create a stock recovery file yourself.
[Sprint HTC EVO 4G LTE] Robbie_G:
But since there is a way to go back to S-ON ( http://xdaforums.com/showthread.php?t=1744700 ), I would think there is the possibility it would be vulnerable to HTC.
[Sprint HTC EVO 4G LTE] bpdamas:
Touche but I am not sure HTC will go through that trouble. I could be wrong but I would be willing to chance it the next time. Plus, I think by the time they send out a patch to make the phone s-on I will have already bought the next phone they come out with. Additionally, if they create this patch, it would in theory make all of their developer phones that truly have s-off for development purposes s-on as well. But you are correct, it is a gamble to do it this way.
[Sprint HTC EVO 4G LTE] cubbieswin:
I tried to follow this but I am running into problems with the red exclamation mark. From what I read with your little hiccup, I'd have to restore all the original programs and settings files to get the OTA update to work. What a pain in the ass that would be.

Back to the drawing board.
[Sprint HTC EVO 4G LTE] bpdamas:
That is correct, if you removed quite a few then it could be a pain. One or two wouldn't be an issue but I understand your frustration.
[Sprint HTC EVO 4G LTE] Captain_Throwback:
When you get to the red exclamation point screen (stock recovery), press both volume buttons and the power Burton at the same time. That will bring up the recovery menu. The yellow text at the bottom of the screen should tell you where the update got stuck. That might help you in your endeavor.

But as was stated, if you changed a bunch of files or flashed a different ROM, you really can't apply the OTA this way.
[Sprint HTC EVO 4G LTE] ReproOne:
I currently have a stock phone with s-on and root via Zedomax. I plan on using this technique as I too am a fan of being able to apply the OTA updates while keeping root without having to redo my phone/app settings.

I believe I have an understanding of everything except the stock recovery. If I take my current phone and get s-off using LazyPanda do I have to go through steps 1-14, or do I just start with initiating the OTA update? Also, if I do go through steps 1 - 14 do the phone/app settings get wiped?
[Sprint HTC EVO 4G LTE] ReproOne:
I just used LazyPanda and achieved s-off. I tried then starting with Step 15 with having the stock recovery file for 1.13.651.1 on the root of my SDCard (taken from link at first post) and the OTA Update did not install. I thought perhaps I was not suppose to the the .ZIP file on the SDCard, so I removed it. Tried the OTA again, and it still did not install. The message I get is as follows:

ClockworkMod Recovery v5.8.3.5

Finding update package...

E:unknown volume for path [INTERNALSDCARD:Download/OTA_JEWEL_CL_ICS_40_Sprint_WME_1.22.651.3-1.13.651_release_268352pdwvnjlt5q0w5qsi.zip]

E:Can't mount INTERNALSDCARD:Download/OTA_JEWEL_CL_ICS_40_Sprint_WME_1.22.651.3-1.13.651_release_268352pdwvnjlt5q0w5qsi.zip]

Installation aborted

Am I missing something by starting at Step 15 now? Ideas are greatly appreciated.
[Sprint HTC EVO 4G LTE] Captain_Throwback:
It doesn't sound like you completed step 14. You have to flash the stock recovery in hboot after placing the zip file on the root of the sd card. It doesn't sound like you did that before downloading the OTA.

-----------

Current Device: HTC EVO 4G | ROM: 5.07.651.1 Stock Rooted | Kernel: Classic v1.4 - SBC
[Sprint HTC EVO 4G LTE] ReproOne:
Thank you for the reply. Am I correct that will not wipe the phone?

Edit:It does not wipe the phone.

---------- Post added at 09:27 PM ---------- Previous post was at 08:47 PM ----------

I finished the processs, and all went well, on one of two. I'll do the other a little later.

Awesome thread and assistance from others on here. Thank you!
[Sprint HTC EVO 4G LTE] bpdamas:
Glad you got everything worked out. As was stated you must flash the stock recovery through hboot before installing the ota update. This is a perfect example however, of how you and the Cap'n make it happen. ;)
[Sprint HTC EVO 4G LTE] ReproOne:
Can someone explain why the stock recovery has to be flashed first, and what all that small size file does accomplish?

Also, perhaps the first post should reference starting with Step 14 (instead of Step 15) so it is even more clear that you must copy and run the file (even if downloaded from the link in the original post)?
[Sprint HTC EVO 4G LTE] Captain_Throwback:
One of the stock recovery's only jobs is to install OTA updates. Custom recoveries won't do it, and will cause an error. So the purpose in this instance is to be able to flash the OTA natively, as it was designed to be installed.
[Sprint HTC EVO 4G LTE] ReproOne:
Is it too soon to tell, or could the original steps here be manipulated to show what would need done to take the next OTA update yet to be released?
[Sprint HTC EVO 4G LTE] Captain_Throwback:
The steps would be almost identical. The only difference would be you'd have to flash the 1.22.651.3 ROM instead of the 1.13.651.1. That is, as long as HTC doesn't find a way to relock the NAND with the next update. Thus the reason it's always safer to just flash the rooted version.
[Sprint HTC EVO 4G LTE] bpdamas:
I have edited the post to be a little more clear if you just download the stock recovery file. Hopefully this helps and isn't so confusing.
[Sprint HTC EVO 4G LTE] bpdamas:
He is correct. The steps would be nearly identical in preparation for the next OTA update. You need to make sure you are running both a stock ROM and a stock recovery.Perfect example of how I am doing things. My wife just recently got the LTE and I made her s-off and rooted. I had a custom recovery installed briefly and made a nandroid backup once she got things set up. Then, I flashed the 1.22.651.3 stock recovery on her phone so if she sees an OTA update and wants to install it, she can. If ever she needs to go back to the nandroid version all I would have to do is flash the recovery that made the nandroid and restore it.

This also does one more thing for me and the community. I am going to use her phone as the guinea pig from here on out. She couldn't care less about root or s-off. I only wanted her phone this way so I could fix things that were broken if I needed to (ex. facebook photo bug in 3rd party apps). So, if she loses s-off it wouldn't be the end of the world as she is virtually a standard user as it is. So, for future OTA updates, feel free to check back in this thread to see if it makes you lose s-off. I will be installing them with this method from here on out unless HTC does something drastic. :good:
[Sprint HTC EVO 4G LTE] Captain_Throwback:
No, I meant ROM. If there's a future OTA update, and the person doesn't happen to be running the stock ROM, the latest available stock ROM would have to be flashed in order to take the (new) OTA, which of course would include the recovery along with it.

Granted, the approach in this thread is mostly for people that are staying on the stock ROM anyway, but I wanted to emphasize the fact that the device has to be COMPLETELY stock for the OTA to actually take, even if you have the stock recovery already flashed. It really doesn't matter which version of the stock recovery you use.
[Sprint HTC EVO 4G LTE] bpdamas:
Ah. Thanks for the clarification. Makes complete sense for those running a different ROM than stock. Since I am running stock, my mind didn't even go there. This is the beauty of the great minds at XDA.

And interesting, I believe I remember from the original EVO days that when trying to accept the OTA updates you had to be on the most recent stock recovery. I definitely could be wrong about this though.
[Sprint HTC EVO 4G LTE] Captain_Throwback:
Actually, on the OG EVO, you could be running a custom recovery and take the OTA successfully, if you were using Amon_RA's recovery (or one based off of it).
[Sprint HTC EVO 4G LTE] ReproOne:
I reviewed the Edit. Do you want to reference start with Step 10 now (instead of Step 15)? The confusion I initially had was whether the stock recovery had to be copied to the SDCard and ran before the OTA.

The post now reflects "Just extract the zip file to a location and place the zip file inside the extracted folder on the root of your sd card and start with step #15" It is steps 10 - 14 that detail you must do something with the file first.

Just giving you my feedback for consideration. Especially since the post was so helpful as I am sure there are many others just wanting to use the stock with full access.
[Sprint HTC EVO 4G LTE] bpdamas:
My memory seems to be incorrect. I trust that you are right and have no issues with that. I might just try and flash the older recovery when a new update comes out and see if it installs. Thanks for your help.
[Sprint HTC EVO 4G LTE] bpdamas:
Good point. I changed it up to remove the step #15 jargon. It makes the most sense now in my opinion. Thanks for the feedback.
[Sprint HTC EVO 4G LTE] chinchillables:
Doing this asthe steps show seems like it would rid you of S-OFF wouldn't it? I can see keeping root working, but the S-OFF is what I'm concerned about losing, even with flashing the pre-rooted roms. Also, it looked like some people were having odd issues popping up with that pre-rooted ROM. Isn't it safer to just use the firmware flash and update radio and everything? You have to toy around to get wallet to work I think, but at least you get the test with no worries.
[Sprint HTC EVO 4G LTE] Captain_Throwback:
The prerequisite for this procedure is having S-OFF, for the simple reason that nothing in the procedure will affect that. It's what allows you to take the OTA update with no worries about not being able to re-root. Flashing a rooted ROM will also not affect your NAND security status.
[Sprint HTC EVO 4G LTE] chinchillables:
Oh, so basically the whole worry everyone had is that they can't S-OFF after, BUT... Once you have S-OFF already, it's pretty much permanent?
[Sprint HTC EVO 4G LTE] PillowMetal:
I noticed that this procedure does not mention anything about busybox - won't accepting the OTA update get rid of busybox as well as SU (until you flash the latter back)? I am assuming that /system/xbin gets overwritten and this is why SU has to be reflashed, so this applies to busybox as well. The only other native file in that directory is dexdump which comes with the stock ROM.

So, I'm thinking I could use the script from ZedoMax's batch file as a guide to manually adb shell the busybox file and the subsequent install directive (that creates the symbolic links) to get busybox back the way I want it after the OTA.

Am I missing something, or anyone see a problem with doing this?

EDIT: I in fact did manually run through ZedoMax's batch file and ran only the commands pertinent to pushing and installing busybox symbolic links, but I had to do it a little differently using su inside the adb shell. I am planning to create a flashable zip that uses updater-script to perform these commands so we can flash busybox to its correct location in /system/xbin right after flashing SuperUserSU.

---------- Post added at 03:37 PM ---------- Previous post was at 03:14 PM ----------

Thanks for taking one for the team. I for one am going to check back on every OTA update.

Essentially yes, there is no S-OFF method for hboot 1.15, and S_OFF is a change to the NAND flash so it is somewhat "permanent" - however, it can be changed back to S-ON with a simple writesecureflag parameter, so it is not certain if HTC will find a way to flip that switch on a subsequent OTA update, but is not likely because it has to be run from fastboot usb so far.
[Sprint HTC EVO 4G LTE] bpdamas:
The OTA will get rid of SU but once you flash SU zip you can update busybox after that.
[Sprint HTC EVO 4G LTE] PillowMetal:
Thanks, what method do you use to update busybox? Is there a better/easier way than pushing it from ADB, changing owner, changing permissions etc? I also have a hard time finding a later up to date copy of busybox compiled for Android. I am just using the one supplied by ZedoMax's root.
[Sprint HTC EVO 4G LTE] bpdamas:
Honestly, most of the rooted apps I use have a busybox check incorporated into the app and if busybox is out of date it prompts me to update. Good example is titanium backup. So, I never really update busybox manually.
[Sprint HTC EVO 4G LTE] CheriePie:
Assert failed; Status 7; Installation aborted

I am having trouble trying to install the downloaded OTA update. I keep getting the following error:

Finding update package...

Opening update package...

Verifying update package...

Installing update...

Copying to fotaBoot to /data/system for customize reload...

Verifying current system...

assert failed: apply_patch_check("/system/app/4578_SPC_HTC_Mobile_Guide_Jewel.odex","8dfce631ec94db7163a4f432e17d6dcee170a997", "ce982c30d53e361c7e9107e191e95cd62a64847")

E:Error in /sdcard/OTA_Jewel_CL_ICS_40_Sprint_WWE_1.22.651.3-1.13.651.1_release_268385t21cg6sjfe2o8g14.zip

(Status 7)

Installation aborted.

Some background: my device is rooted with Zedomax method, and I successfully fed the LazyPanda last night to achieve S-OFF. I am still running stock ROM and stock recovery, and bootloader still locked since I never ran htcdev. So I'm having trouble trying to figure out why the OTA update won't install. :(

Note that this is the 2nd time I've attempted to go through this. The first time I was working on it I was getting a similar error (referring to a different file but still the exact same thing otherwise) before my phone fell to the ground smashing the screen so this is my replacement LTEvo which I've only had for just over a week.

From what I've read, it sounds like this error is usually caused by the update seeing your system as "not stock enough". To that end, I've reverted the AdAway hosts file back to the default, haven't even installed Avast Anti-Theft yet because I wanted to make sure it wouldn't conflict with the process. Any ideas what else could be going on that is keeping the update from installing?

I don't have any other tweaks in place that I'm aware of, unless an app like System Tuner Pro tweaked something without my knowing. Do you think I should try un-installing my root apps one-by-one to see if one of them is causing a problem? The root-level ones I have installed that interact with root level permissions are Titanium Backup Pro, ES File Explorer, AdAway, Link2SD,System Tuner Pro, SD Maid, Tasker, Juice Defender, Better Battery Stats, Battery Monitor Widget Pro, WiFi Tether, Roam Control, and of course SuperSU Pro. Perhaps the OTA Survival Mode setting of SuperSU Pro is doing something? Or one of the Device Administrator apps (Tasker and Secure Settings currently).

I'd really love to be able to install the OTA the way documented here so please no suggestions that I install another custom ROM instead. I prefer to stay with the stock HTC rom for now. I just need to figure out how to get around this silly "Status 7" error.

Thanks in advance for any help or direction you can provide.
[Sprint HTC EVO 4G LTE] Captain_Throwback:
Did you uninstall any system apps? The patch check is failing at the Mobile Guide odex file. You didn't install the deodexed stock ROM, did you? If you really want to load the OTA this way, you should do so before installing any apps.
[Sprint HTC EVO 4G LTE] CheriePie:
Nope! I didn't uninstall or even freeze anything. Did update thru the Play Store some of the system apps. Last time I had this error though it was error-ing out at /system/bin/debuggerd. See http://xdaforums.com/showthread.php?p=28872577#post28872577 you were kind enough to help me out there too Captain. :)

So yeah, I've purposely tried to do as little alterations to this device as possible, beyond what I use on a day to day basis, until I could apply the update. I haven't installed any ROMs, uninstalled any system files, or even frozen or disabled anything from running. The most invasive system level thing I've probably done is the hosts file thing with AdAway but I've even reverted that back for now. So I'm kind of stumped. :confused:

PS I checked in /system/app and the 4578_SPC_HTC_Mobile_Guide_Jewel.odex and .apx files are both still there, dated 5/19/12, owed by root/root with permissions 644. Since they're the very first files in that directory, it leads me to think that maybe it's less to do with that file itself than just the fact it's error-ing out as soon as it gets to that directory.

PPS this is my 2nd LTEvo, my first having smashed to the ground early last week, so I've only had this one a little over a week and as I said, did very little to it beyond a couple root apps so I could backup and manipulate my files as I'm used to. I only even did the S-OFF last night and that's it.

---------- Post added at 01:15 PM ---------- Previous post was at 12:27 PM ----------

Further to my above message... rather than chasing this silliness around, what do you think my next best option is for getting the latest update?

Perhaps installing TWRP and then flashing the ROM Update and Firmware Update from this thread:

[ROM][STOCK] --- Stock Rooted 1.22.651.3 Odexed & DeOdexed (7/14/12)---

I assume that'll get me to the same place in the end as the way I'm trying to do it here, right?
[Sprint HTC EVO 4G LTE] Captain_Throwback:
That's the preferred way to get the update anyway, if you're rooted ;).
[Sprint HTC EVO 4G LTE] CheriePie:
Alright, I'm gonna head on over in that direction now then. See ya there! ;) And thanks again!
[Sprint HTC EVO 4G LTE] bpdamas:
Just FYI, for future OTA updates, if you want to use this method you might consider flashing the odexed version of the rooted ROM. Just a thought in case that appeals to you. I'm glad the captain was able to help you out again.
[Sprint HTC EVO 4G LTE] PillowMetal:
Since you are S-OFF, another option you have (and the one I took because I am a purist and also wanted the latest radio, PRL and PRI) is to run the full RUU. Granted, this method will wipe your data partition so back up important data if you take this method, but you will end up with a completely stock phone (1.22.651.3) and still have S-OFF.

Then flash LazyPanda, TWRP, SU, busybox, etc...