yashsingh1/xdaforums huggingface dataset:
[HTC Droid DNA] tsruggles:
So I ran another RUU except in fastboot. Followed the rest of steps to a T and I'm successfully locked, back to stock, and s-on from moonshine!
[HTC Droid DNA] Phaded:
Did you flash the lock zip before ruu?
[HTC Droid DNA] Phaded:
Due to hboot compatibility issues, I am leaving guide as is. Do not use new ruu or I'm not supporting your issues.
[HTC Droid DNA] badfishie:
I cant get the RUU to run at all. Any ideas? Need this stock to return for warranty
[HTC Droid DNA] persom55:
it takes a while for the ruu promt to pop up on my computer so you might just have to wait.

also, the method for returning to stock after moonshine s-off also work for rumrunner. you need to restore the hboot from the post after it before the ruu is ran- havent seen anyone say this and i thought this might help someone
[HTC Droid DNA] thayl0:
whys it take so long to download.
[HTC Droid DNA] Phaded:
There are two mirrors and it's almost 1GB...
[HTC Droid DNA] thayl0:
is there a certain rom you half to be on. I'm on viper and when it tries to boot to bootloader it can't and gives me a error 155. I wetn ahead anyways and booted to hboot 1.15
[HTC Droid DNA] Phaded:
Flash the old stock hboot, then ruu
[HTC Droid DNA] thayl0:
I did. It still isn't working.

I get the same error
[HTC Droid DNA] Phaded:
What isn't working? Are you getting an error message?
[HTC Droid DNA] thayl0:
Yes I am gettin error 155 (unknown error) not error 158.
[HTC Droid DNA] Phaded:
What rom are you running? Try flashing one of the older stock sense roms if you still have custom recovery, redo the hboot, then try ruu
[HTC Droid DNA] thayl0:
Atm I'm on viper. Just flashed back 2.07 hboot and going to try the 2.07 RUU

if it fails.

I'm going to attempt to flash a super stock 2.06 rom reflash 1.15 hboot and rerun the 1.15 ruu
[HTC Droid DNA] Jaggar345:
I was getting error 155 as well even after I flashed the stock splash screen and the stock hboot. What Semmed to work for me was I put the phone into the bootloader and started the ruu. After that I no longer got the error. For me it would give me the error when the pc tried to put it into the bootloader so I just did it and it worked fine.
[HTC Droid DNA] Phaded:
I keep forgetting to add that to OP. thanks for reminder
[HTC Droid DNA] .torrented:
In case anybody is wondering I have my collection post up-to-date with all of the firmware and RUU's (both 1.15 and 3.06)
[HTC Droid DNA] Phaded:
I'll edit this piece tomorrow
[HTC Droid DNA] skyjamesmath:
RUU keeps crashing installscript

I have windows 7 installed on my computer. whenever I run the ruu to flash back to stock the it says installscript has crashed. does anybody have any idea whats going on?
[HTC Droid DNA] Phaded:
Never saw that error. Try a fresh download and run with phone in bootloader.
[HTC Droid DNA] iofractal:
removed sorry
[HTC Droid DNA] Nirvana Rules:
Wow S-off rooted and modified Hboot in 10 min. Just wow I thought I was going to be up all night trying to do all that. Thanks Devs.
[HTC Droid DNA] lucky_strike33:
I'm in a bit of a problem. I'm not trying to go back to stock and I can't boot up the ROM I am on. My recovery is not working and I have locked my boot loader. I'm still s off.

What can I do to get my boot loader unlocked and back to flashing ROMs??
[HTC Droid DNA] lucky_strike33:
Can you help me out?

I tried to install the new 4:42 sense 5 last night but went into boot loop. Went back to bootloader to try new recovery twrp. I flashed recovery then when trying to go into recovery the recovery popped up then went away and my phone rebooted. Tried to put cwm back but didn't work.

I thought I had bricked my phone so I flashed ruu 2.06 .zip but that ROM didn't load. It boot looped. So I tried to run ruu exe and I did fastboot OEM lock before running ruu exe.

Now I am stuck and not sure what to do next. Can you advise what I should do?
[HTC Droid DNA] Phaded:
Fastboot oem unlock might work. If not, flash the 1.15 ruu, supercid, unlock at htcdev
[HTC Droid DNA] lucky_strike33:
I still have cid vzw 001 and still s off

---------- Post added at 04:20 PM ---------- Previous post was at 03:46 PM ----------

Where do I find the 1.15 ruu ?? U said flash not run the exe ruu? Just making sure.
[HTC Droid DNA] Phaded:
Try this in fastboot:

fastboot oem writecid 11111111 (eight ones)

fastboot reboot-bootloader

fastboot getvar cid

Verify all 1s

If so proceed to htcdev

If that doesn't work, run ruu as exe, once you have 1.15 and it boots, follow supercid method of unlocking
[HTC Droid DNA] Phaded:
SuperCid method:

http://xdaforums.com/showthread.php?t=2109862
[HTC Droid DNA] lucky_strike33:
I got it to change at 11111111 went to htc dev and says mid not allowed
[HTC Droid DNA] Phaded:
Mid not allowed usually means cid isn't right. Verify it's 8 1s, no spaces beginning/end
[HTC Droid DNA] lucky_strike33:
I changed it to 22222222 and worked like a charm. Thanks!
[HTC Droid DNA] lucky_strike33:
I have tried to ruu 3.06 zip but it wont let me.

Brandons-iMac:Fastboot Janky5$ fastboot flash zip ruu.zip

sending 'zip' (920285 KB)...

OKAY [ 34.944s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) zip info parsing...

FAILED (remote: 24 parsing android-info fail)

finished. total time: 35.169s

I even tried to flash recovery.img and when going to recovery it doesn't stick. It reboots.
[HTC Droid DNA] Phaded:
Doh! It is 2s lol. My bad. Drank a few too many haha
[HTC Droid DNA] Phaded:
You are unlocked and s-off tho right? If so, what are you trying to accomplish now?
[HTC Droid DNA] lucky_strike33:
All I had to do was fastboot erase cache. Was able to boot to recovery and adb push rom. Thank you for helping me out with cid. Now I have a token for later use
[HTC Droid DNA] sabres032:
Since I have S-off with Moonshine I've flashed the latest radios and placed a custom recovery on. Does the RUU file replace custom recovery with stock and revert back to the original radios or do I need to flash them before RUUing?
[HTC Droid DNA] I.M.famous XMAN:
Hi guys. I got an issue. tried to go to stock and now I'm stuck on the htc screen and cannot force it to reboot. I've done everything I can from this tut but now I'm stuck. I used moonshine to s-off and all, but now I get nothing. it is stuck on, at the htc screen. help.

edit: got it to boot back into hboot, but it says tampered. I can get into fastboot but it will not flash anything but recovery and kernels. Roms fail and they failed before the hboot saying tampered.
[HTC Droid DNA] Phaded:
RUU replaces all of it. Then if you let it update it'll upgrade them.
[HTC Droid DNA] Phaded:
Might have to erase cache in fastboot
[HTC Droid DNA] I.M.famous XMAN:
Thanks mane. IDK if erasing the cache fixed it or not but I also used my nexus7 usb cable and that fixed it. I erased the cache and changed cables at the same time. :silly: But after that, I was able to RUU to 1.15. :victory:

FYI just to let ppl know how I got into this situation: I was not thinking and flashed a 4.3 kernel over a 4.4 rom. CM doesn't mind that too much, but apparently Sense doesn't like it at all. So, be careful of what you are flashing and it's prolly not a good idea to start flashing things towards the end of your Superbowl party. ;) I don't even remember what I was flashing.
[HTC Droid DNA] Phaded:
removed old 1.15 links and updated to 3.06. no longer need to run ota process before return.

also revone, moonshine, rumrunner are all the same, but i already had it split into multiple posts so excuse the redundancy
[HTC Droid DNA] badogg:
Hey Phaded, just wanted to stop by and say thanks for taking the time to put this together. It was a big help for me today. :highfive:
[HTC Droid DNA] .torrented:
[MENTION=2479532]Phaded[/MENTION] I changed my firmware zips and flashing instructions a bit to make it easier to flash, just letting you know in case you wanted to update your tutorial.
[HTC Droid DNA] Phaded:
Ok. When I get to my computer I'll take a look. Thanks.
[HTC Droid DNA] .torrented:
Also in order to flash the splash1.img it wont allow that without an ENG bootloader, but I packaged up a zip (In my collection thread) that can be flashed with a stock bootloader using fastboot oem rebootRUU fastboot flash zip PL83IMG_splash1.zip

format
[HTC Droid DNA] skeet43169:
Hello I'm having a issue trying to get s-on I used moonshine to s-off so I got the files to flash back s-on but the lock bootloader doesn't lock I'm on viper 2.5.2 if that helps
[HTC Droid DNA] .torrented:
you flashed the re-lock zip in recovery and it wont lock?
[HTC Droid DNA] skeet43169:
Correct i just tried to download it from the phone and same thing do i need to flash the hboot first b4 I flash the lock zip
[HTC Droid DNA] .torrented:
I would recommend flashing the 1.54.0000 bootloader first

Then connect to the pc and you are going to want to run these commands:

adb devices

adb shell

su

*** This last command is what that .zip is supposed to do ***
*** It is also one whole command from "echo" to "33796" ***

echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p3 bs=1 seek=33796

your bootloader should be now locked

what that command does, besides locking the bootloader, is it goes into that partition to Hex address 0x8404 and changes the 4 bytes 1 byte at a time to 00 00 00 00
[HTC Droid DNA] skeet43169:
Where can I get that?

And after I do that then I flash the 3.06 bootloader and keep going?
[HTC Droid DNA] .torrented:
you can get the bootloader from the firmware link in my sig, flash the bootloader first and then the lock commands that i just mentioned after you boot back into android
[HTC Droid DNA] skeet43169:
Ok thanks I'll give a try

Ok "your Sig" never mind found it sorry

---------- Post added at 04:10 PM ---------- Previous post was at 03:20 PM ----------

Ok ran the ruu and it says I need the correct one for my phone
[HTC Droid DNA] .torrented:
nvm

edit* go back to my thread again and go to the bottom where it says, under RUU Links, having trouble with the SENSE 5 RUU, and follow those instructions, that should allow you to flash the SENSE_5_RUU_ROM.zip which does the same thing as the RUU.exe
[HTC Droid DNA] skeet43169:
Ok after I flash this I don't need to run ruu just the Wrightsecureflag command
[HTC Droid DNA] .torrented:
After you run that, it will put you back to 100% stock, just verify that you are Locked, No custom splash image is flashed, your CID is VZW__001

your bootloader should be 1.54.0000 and it says *** LOCKED *** only, it should not say *** TAMPERED ***

if all of those are correct ^ then yes you can go ahead and

fastboot oem writesecureflag 3
[HTC Droid DNA] skeet43169:
Thanks for all the help buddy
[HTC Droid DNA] .torrented:
let me know how things turned out :)
[HTC Droid DNA] skeet43169:
Ok that didn't work this is what it says and the Wright securely faild
[HTC Droid DNA] .torrented:
you ran both of the firmware_part1 and _part2 (_part2 twice) zips and then the SENSE_5_RUU_ROM.zip ?
[HTC Droid DNA] skeet43169:
I had to leave But I flashed the hboot then tried to run the ruu then I flashed the ruu zip and this is what the command prompt said

The whole post 1 part 2 thing u didn't do or see to do
[HTC Droid DNA] MSmithXDA:
I'm selling my phone so will be running this. Quick question...This will wipe all data as well, right? And also this would leave the phone with the same amount of free space as it would be if I just bought the phone and turned it on for the first time, right?

Thanks!
[HTC Droid DNA] lucky_strike33:
When you ruu your device. It goes back to factory setting. Like when you got your phone out of the box.
[HTC Droid DNA] MSmithXDA:
Thanks! :good:

---------- Post added at 06:23 PM ---------- Previous post was at 05:32 PM ----------

I'm on Moonshine, HBoot 1.33.4444. I flashed the Lock Bootloader zip file, which it said was successful, and rebooted into bootloader. As far as I can tell it's still unlocked. Nothing says locked . I repeated the process with the same results.

Thanks
[HTC Droid DNA] MSmithXDA:
Ok...Well I took a shot and just kept going. After installing HBOOT 3.0.6 it then said "LOCKED" but also "TAMPERED". I just kept going though, and after RUU'ing, it then no longer said "TAMPERED". So, it's all good and working. THANKS EVERYONE!
[HTC Droid DNA] jamiethemorris:
What are you moving to?
[HTC Droid DNA] MSmithXDA:
Well it's Craigslist so of course the person cancelled on me after doing all this work (which he asked me to do), so right now nothing. But my plans are to move to the G2 for the next 6 months and then the M8 (once the after market is cheaper and Dev community gets established). I'd love to keep my dna but my Bluetooth phone quality is so low that I use a headset. I'm in my car for 2-3 hours a day so it's an issue for me.

---------- Post added at 09:11 AM ---------- Previous post was at 08:53 AM ----------

Hmmm.... so after successfully completing the return to stock none of my Google accounts can sync with stock sense from the ruu. I'm successfully logged in, which I know because web based gmail works and was already logged in when I went to it. However none of the Google apps work (like gmail, play store, Google+, Google books,etc). Most say "Couldn't sign in. The was a problem communicating with Google's servers". If I go into Google accounts in settings it says "Sync Error" and "Sync is currently experiencing problems. It will be back shortly". I tried clearing cache of Google apps and services but no luck. Also tried factory resetting twice, but still the same. Also tried removing and re-adding the accounts but nothing. Tried with two different Google accounts and neither work. Both are working fine on my other android devices though. Any advice? Couldn't decide if this should this be a seperate thread?
[HTC Droid DNA] MSmithXDA:
Well that sucks...turns out the problem is with 2 step verification. Apparently the new Sense doesn't support it (even though it does detect it and prompt you for the code as normal and even accepts your code and detects if you mistype it). For future readers, sign into your google account on a pc. Turn 2 step verification off. Go back to your phone. Remove your google account. Then re-add it. It will work fine again.
[HTC Droid DNA] Phaded:
Weird, 2 step worked for me on my last replacement.

Also the reason it didn't show locked is moonshine removes the flag from being displayed :)
[HTC Droid DNA] MSmithXDA:
Ok, figured it out. It's really weird. If you have an expired credit card in your Google Wallet Account and it's the default card and also you use 2-Step authentication, then apparently syncing breaks for new phone installs. So, I could turn off 2-Step and it works. Or I could keep 2-Step on and update my credit card and it works. I actually had 2 google accounts that must be linked somehow (both with the same expired credit card) and I had to update both google wallet accounts before either would work with 2-step authentication.

Don't know if this is specific to Sense or not. I do know though that if it's not, then it doesn't affect google accounts that are already on devices, as my other devices weren't affected by this.
[HTC Droid DNA] elmanortega:
hi guys i have a problem

error 158

i have an htc droid nda from a client

he wants to go back to stock

he did not s off the device it came like that

i did a relock now looks like this

locked

monarudo pvt ship s off

cid vzw 001

hboot 1.33.001

radio 1 01 01 0110

i ran the file via new twrp beta 6 cause he wanted to install new rom but now he wants to go back to stock

RUU_DLX_WL_JB_50_S_VERIZON_WWE_3.06.605.4_Radio_1.01.01.1112_NV_VZW_4.46_002_release_340974_signed_2

this is what i want to install but i get error 158

can you guys tell me what to do thanks
[HTC Droid DNA] Phaded:
Update the hboot. See post #4
[HTC Droid DNA] elmanortega:
thanks man all fine, thank you very much

now i have another htc droid dna

client hard reset it

after that it wont boot up pass the htc logo

i was gonna install the oem ruu but when the ruu send the command to go to oem rebootRUU

where the htc letter are

it goes black no HTC nothing

so it cant install the oem rom

is ther a way to install the rom via PL83IMG.zip

like we did in devices that had microsd card???

or should i super cid, root,soff and custom rom???

thanks
[HTC Droid DNA] sulla65:
It seems to me the instruction to FLASH 3.06 HBOOT BEFORE CONTINUING- SEE POST 4. can be misleading to some. You don't need to flash the HBOOT if your already on the latest stock hboot. like I was. It took a while for me to realize this, duh. So I ignored the FLASH 3.06 HBOOT BEFORE CONTINUING and just went with post 3. :)
[HTC Droid DNA] .torrented:
New Version 0.3.2

+Fixed S2W bug when S2S_Only was active

+Fixed minor issues in aroma (corrected clock speeds)

If you flash this on a 4.4 Rom you may experience a battery display glitch

Pulled*** I goofed up on some logic switches

Ill get it back up tomorrow, sorry guys
[HTC Droid DNA] johnwaug:
Just flashed and s2s only works. Seems to be running great. Thanks for your excellent work and support.
[HTC Droid DNA] Uzephi:
Uh, you might need some sleep. Look at what thread you replied this to. Either my phone is right in showing the "how to restore to factory..." Thread and you posted here instead of the kernel thread, or my phone flooped and mixed the two threads together.
[HTC Droid DNA] .torrented:
Yeah, that's what happens after 10+ hour work shifts and multiple tabs open on my browser. Oops.
[HTC Droid DNA] Phaded:
Haha
[HTC Droid DNA] hooby3dfx:
Firstly - thank you for this guide! Sending phone back to verizon after 10 months due to broken power button (and also above normal generally crappy data connection from day one).

I was on CM 10.2 and had a backup with rom manager. Did this procedure wipe that as well (I assume it did)? I know that those get stored in some protected area.
[HTC Droid DNA] xaalfx:
Thanks so much for this guide. i have a question though, does anyone know how to run the RUU in ubuntu? my machine came with windows 8.1 pre installed and from my understanding there are nor fastboot drivers that work on 8.1 any help is much appreciated.:confused::confused:
[HTC Droid DNA] .torrented:
I think it works with WINE

sudo apt-get install wine
[HTC Droid DNA] xaalfx:
Cool thanks for the reply. so i got wine installed and it works i tried different .exe files and they worked but when i open up the RUU the wizard loads and the staus bar reaches 100% and then just dissapears and i get nothing lol am i doing something wrong? or am i just at a loss. This is the only machine i have available to me and i really want to return to stock cause i locked my bootloader thinking i could ruu through windows and now my bootloader says "TAMPERED" lol
[HTC Droid DNA] .torrented:
Click the collection thread link in my signature, open the RUU Links section and scroll past the two RUU.exe files and follow the guide below them.
[HTC Droid DNA] bmyton:
I'm sure it's redundant at this point but I wanted to send a huge Thank You for doing this write-up. Everything worked perfectly!
[HTC Droid DNA] mdphoenix:
This worked beautifully. Took 10 minutes, if that. Locked. S-Off. No tamper message.
[HTC Droid DNA] h2on0:
The RUU 3.06 is for windows? I have never used adb in windows and I would prefer to do it in linux.

Does this do the same thing only in linux?

*** Boot into Bootloader/Fastboot USB Mode***

fastboot oem rebootRUU

fastboot flash zip 306_firmware_part1.zip

fastboot reboot-bootloader

fastboot oem rebootRUU

*** This next part is very important, you need to flash this twice ***

fastboot flash zip 306_firmware_part2.zip

fastboot flash zip 306_firmware_part2.zip

fastboot reboot-bootloader

fastboot oem rebootRUU

fastboot flash zip SENSE_5_RUU_ROM.zip

So I would flash the lock bootloader zip in twrp.

Reboot bootloader

I am hboot 1.33 so I would flash the hboot 3.06?(or should I only do this if I can't flash the 3.06 firmware zip?)

flash the 306 firmware(per instructions above)

then finally

adb devices (your device should be listed)

adb reboot bootloader

fastboot devices (your device should be listed)

fastboot oem writesecureflag 3

fastboot reboot-bootloader

*verify you are locked s-on

fastboot reboot

and I would be all set? I am kinda leary working on the dna I am used to using my galaxy nexus which is pretty much idiot proof.

thankyou

edit: how do I push the lock bootloader.zip to the root of the device? Never mind I think I am reading to much into this internal storgae would just be my sdcard right?
[HTC Droid DNA] .torrented:
Yes those instructions are the same as running the windows RUU

Yeah /sdcard is the root of the sdcard

I would run the RUU_ROM.zip first, then lock, then s-on
[HTC Droid DNA] h2on0:
I did it exactly like I posted and it worked good thank you. The only thing that was different was that I had to "reflush" zip 306_firmware_part1.zip twice also.
[HTC Droid DNA] welbinator:
I don't know how I S-OFFed

Hello, before I start on this tutorial, I want to make completely sure I'm looking at the right one.

Sometime ago, I S-OFFed and rooted my phone, then an OTA came by and like a dummy I tried to install it, it borked my phone, I had to sideload a rooted copy of the update. So I'm good.

With the upcoming KitKat update, and with any future updates, I'd rather not have to do this every time. Plus I can't use ISIS when rooted (I've tried hiding root, doesn't work. Verizon still detects root and disables the app).

So I just want to be 100% out of the box stock. I think this is the tutorial for me. Please tell me if I'm wrong.

Also, it seems as if there are different instructions depending on how I S-OFFed, but I don't remember how I did. Is there a way to tell which method I used?
[HTC Droid DNA] Jaggar345:
This guide will work for you. In terms of telling which method you used to soff, boot to the bootloader and see if it says moonshine up top. If it does you used moonshine. If it just says unlocked then you probably used rumrunner. You can also tell by looking at which hboot your on. If it's the newest one you used rumrunner.

Sent from my Droid DNA. If I have helped you in any way please press the thanks button.
[HTC Droid DNA] welbinator:
Mine says this:

*** RELOCKED ***

MONARUDO PUT SHIP S-OFF

CID-VZW_001

HBOOT-1.33.0001

RADIO-1.01.04.0308

OpenDSP-v6.120.274.0114

eMMC-boot

Oct 23 2012,21:34:05
[HTC Droid DNA] Jaggar345:
Your on an older hboot so you probably used moonshine. Try using that one for the guide.

Sent from my Droid DNA. If I have helped you in any way please press the thanks button.
[HTC Droid DNA] welbinator:
OK. Moonshine sounds familiar so you're probably right. Thanks!

---------- Post added at 01:34 AM ---------- Previous post was at 12:34 AM ----------

so, flashing the stock HBOOT first, since apparently I'm not on the right one. and this is probably a stupid question but here goes... where do I put the stuff in the "code" box? It says:

3. Flash hboot

Code:

Step 1) adb reboot bootloader

Step 2) fastboot oem rebootRUU

Step 3) CD to directory containing hboot zip (i.e. cd C:\sdk\)

Step 4) fastboot flash zip PL83IMG.zip

*** When it says it is done in the terminal/cmdprompt execute the following ***

[The green bar only fills up about 75% of the way]

Step 5) fastboot reboot-bootloader

Am I supposed to run the RUU program? It's currently at a screen that says "Update the current ROM version" Do I want to do that?

---------- Post added at 02:09 AM ---------- Previous post was at 01:34 AM ----------

also, it says to put the hboot file in the same place as the fastboot.exe file. well, there is no fastboot.exe file on my computer.

I get the feeling this guide is for experienced users, and the author is assuming some things.

There must be something I was supposed to do previously in order to have the fastboot.exe file on my computer.