yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M9)] blu8503:
one more thing

You have been awesome for answering my stupid questions but can I bug you for one more? I need to get wifi tether working, I need to be able to edit build.prop which is in the system folder, without being s-off will I be able to do that?
[Sprint HTC One (M9)] OMJ:
you would have to pull the build.prop, edit, the push it back to system while in twrp...we'll have our ROM ready soon w/ tether...
[Sprint HTC One (M9)] ncson:
Hi! Omj . I flash new firmware on venom rom but no imei no signal . After flashed again leak firmware it ok . Can you help me ?
[Sprint HTC One (M9)] blu8503:
Method of flashing RUU when Locked

Would this be your recommended method of flashing the RUU?

-type fastboot oem rebootRUU from download

-when u see the black screen w/ HTC, type fastboot flash zip "RUU".zip

-when it's done, type fastboot reboot
[Sprint HTC One (M9)] Tyzing:
Thank you! Worked great and now able to run Viper 4.2.1....been waiting a long time for this one!
[Sprint HTC One (M9)] hhhfdq:
i have a question..my sprin m9 has s off, super cid, unlock bootloader, recorvery, android 5.1..rom ice 3.2.1..i want flash stock rom 6.0..what step i must do??sory for my bad english
[Sprint HTC One (M9)] ncson:
Done . I removed radio.img in firmware zip . Imei is ok . I don't know why flash radio.img lose baseband and imei on venomrom 4.2.1
[Sprint HTC One (M9)] kaw900r:
Still unlocked and s-off

How do I regain root and load twrp? cis-spcs_001 instead of 111. t/u
[Sprint HTC One (M9)] Aldo101t:
same way you did the first time.
[Sprint HTC One (M9)] kaw900r:
Typical

Wouldn't have asked. location explains it
[Sprint HTC One (M9)] OMJ:
after locking, you can simply run the ruu.exe from pc, or download the 0PJAIMG.zip version...

Rename to 0PJAIMG.zip, copy to sd card, boot into download mode, it should scan card & prompt to install

update twrp, flash modified firmware I posted, flash stock rooted ROM

what is your current setup?
[Sprint HTC One (M9)] blu8503:
Which RUU?

I tired the

0PJAIMG_Sprint_HTC_One_M9_3.41.651.4_RUU.zip but now I am wondering if since I don't have the latest firmware if I would have to do the older RUU?
[Sprint HTC One (M9)] OMJ:
the RUU updates your firmware & OS...fyi--it will also wipe internal storage
[Sprint HTC One (M9)] schmeggy929:
TWRP supersu 2.65 after RUU? Where do we find that version?

Edit: found it
[Sprint HTC One (M9)] kaw900r:
Current setup

Updated RUU yesterday via opjaimg on sd card. went well so I thought all was working then realized wasn't rooted anymore but still s-off, unlocked and niticed not super-cid anymore. Trying to get root back, TWRP loaded and most likely super-cid. Thought I did my due diligence but seems I missed something.
[Sprint HTC One (M9)] OMJ:
u dont need supercid...

twrp: https://dl.twrp.me/hima/twrp-3.0.0-0-hima.img.html

root: http://xdaforums.com/showthread.php?t=1538053
[Sprint HTC One (M9)] Arthas92:
pls help, my phone keep reboot and i can't run into download mode, it keep show blue screen after i flash this file

https://www.androidfilehost.com/?fid=24399994186369786

i still able get to bootloader
[Sprint HTC One (M9)] OMJ:
if your goal is to update to M, you need to flash the 3.41 stock rooted ROM...flashing firmware does not update the OS
[Sprint HTC One (M9)] tetrabyt:
anyone else having trouble loading the RUUs ? it app will start up and I get to the agree to the terms screen and it disappears... tried it on 32bit and 64bit windows ... same thing... any ideas ?
[Sprint HTC One (M9)] schmeggy929:
Nope just RUU'd about 3 hours ago no problem
[Sprint HTC One (M9)] Arthas92:
i know, i just tried flash firmware and use custom rom

i think i bricked my phone
[Sprint HTC One (M9)] dinaps86:
Alright let me start off by apologizing if this is a very obvious answer but I just read the OP, and am completely confused, I am running VIPER ONE 3.5.1 build, I do NOT have s-off, have TWRP beta 2.7.0.1, which way can I use to update firmware to 6.0, *is the ONLY option to re-lock bootloader and than fastboot RUU file.....? Sorry
[Sprint HTC One (M9)] ananth001:
since i don't have a backup of untouched /system partition , would i be ok to flash OPJAIMG from sdcard after relocking bootloader. I'm s-on and on bad boyz 5.1 and twrp 2.8.7

thanks and regards

ananth
[Sprint HTC One (M9)] OMJ:
yes, you have to lock bootloader, then either run the ruu.exe via pc or use the 0PJAIMG.zip ruu via sdcard

yes, that should work

for u both...flashing ruu will wipe internal storage & revert everythign to stock, after ruu'ing, you'll need to unlock then flash 3.0.0 twrp
[Sprint HTC One (M9)] retiredtrebor:
I have attempted to run this program several times. I am getting, basically, the same error message, but at different times during the process. The program starts the process, gets to the "verifying information" step, then returns the message unable to communicate - check USB cable, etc. On one attempt, the program rebooted the phone to the HTC on black screen, then issued the same message about communication.

I am S-off, unlocked bootloader. My PC recognizes that the phone is attached, it makes a sound and the phone pops up message about trusting the PC. I can issue ADB and Fastboot commands. I have used different USB cables and ports on the PC. Any suggestions?

Are the steps, and commands in the thread of Sneakyghost the same for the CDMA version, since he states not for CDMA?
[Sprint HTC One (M9)] OMJ:
I had the same issue after formatting my laptop, I think it's a driver issue...I used the 0PJAIMG.zip method instead
[Sprint HTC One (M9)] {ParanoiA}:
I also had to use the OPJAIMG.zip method. Ruu would error out on me
[Sprint HTC One (M9)] emalave32:
Hi, and thanks for all your work. I am trying to get some help. i updated my twrp, I am S-off and unlocked and I downloaded the modified firmware and stock root, however when I tried flashing the firmware on twrp, it didnt work. Does it sound like Im doing something wrong or am I missing a step? Any help would be appreciated. Thank you
[Sprint HTC One (M9)] OMJ:
that recovery should work but there is a newer version: https://dl.twrp.me/hima/twrp-3.0.0-0-hima.img.html

copy firmware to adb/fastboot/sdk folder, rename to firmware.zip, boot into bootloader, type these cmds:

fastboot oem rebootRUU

fastboot flash zip firmware.zip

fastboot reboot-bootloader

or rename zip to 0PJAIMG.zip copy to ext sd card, boot into download mode

flash the firmware 2x!
[Sprint HTC One (M9)] schmeggy929:
You do not flash firmware in TWRP. You need to fastboot flash it.

SEE post above me, lol
[Sprint HTC One (M9)] emalave32:
I tried to fastboot by renaming and going into download mode, however it did not try to upgrade anything, and Im on a new laptop, so i have to redownload drivers, sdk and what not :( haha. I appreciate the help though. I wonder if its because I have a 64gb sd card
[Sprint HTC One (M9)] OMJ:
yep, it's your 64gb card....get a 32gb, I had to do the same
[Sprint HTC One (M9)] Aldo101t:
that's it, you need 32gb or smaller.(SDHC)

Dang OMJ beat me to it
[Sprint HTC One (M9)] chumpalunski:
How long does the first boot take on the new rom?? I'm soff flashed firmware x2. Used the 3.0 twrp...been sitting on htc one screen for awhile.
[Sprint HTC One (M9)] emalave32:
Alright, I have a 32gb in my tablet, so I will try it again. Thanks for the help
[Sprint HTC One (M9)] schmeggy929:
Yeah I think it was stated that a 32gb card is needed
[Sprint HTC One (M9)] OMJ:
u flash the M stock rooted? if so, I'm guessing u dirty flashed...I'm pretty sure a clean flash will be required...u should see it start optimizing within 5 min or so
[Sprint HTC One (M9)] chumpalunski:
Yes...dirty. Gotcha.
[Sprint HTC One (M9)] hhhfdq:
flash this link

https://www.androidfilehost.com/?fid=24399994186369629

next badboy rom..

that all i must do?
[Sprint HTC One (M9)] emalave32:
success thanks
[Sprint HTC One (M9)] OMJ:
that is the RUU which will update to M but also reset everything to stock including internal storage...

-flash modified firmware from bootloader: https://www.androidfilehost.com/?fid=24399994186369786

-flash updated twrp: https://dl.twrp.me/hima/twrp-3.0.0-0-hima.img.html

-flash stock rooted ROM in OP
[Sprint HTC One (M9)] kaw900r:
twrp won't load

Ok I have tried every way I can think of. Run adb and it sees my device, adb bootloader works and I go into downlode mode and click on update from adb. Phone gives msg to send file I go back to command prompt and send file and all I get is waiting on device and eventually it the phone times out installation aborted. Any ideas as I am unlocked and still s-off??? t/u
[Sprint HTC One (M9)] OMJ:
copy firmware to adb/fastboot/sdk folder, rename to firmware.zip, boot into bootloader, type these cmds:

fastboot oem rebootRUU

fastboot flash zip firmware.zip

fastboot reboot-bootloader

for twrp...

copy twrp to adb/fastboot/sdk folder, boot into bootloader, type these cmds:

fastboot flash recovery nameofrecovery.img

done
[Sprint HTC One (M9)] Aldo101t:
open cmd on computer as admin, type adb devices, What's your output, if it shows your serial number type adb reboot download, phone should go into download mode, then type fastboot flash recovery twrp-3.0.0-0-hima.img--- the recovery should load, then type fastboot reboot.
[Sprint HTC One (M9)] kaw900r:
No go

Tried and CP is sitting at waiting for device and it did show a serial # after adb devices. t/u this driving me crazy

---------- Post added at 08:29 PM ---------- Previous post was at 08:27 PM ----------

Tried fastboot oem rebootRUU and nothing happened it never rebooted. t/u

---------- Post added at 08:39 PM ---------- Previous post was at 08:29 PM ----------

I even was in the IRC for twrp and they referred to check Utube and that didn't work either. Weird how it stayed unlocked and s-off but won't allow me to push the twrp...
[Sprint HTC One (M9)] Aldo101t:
are you putting the recovery img in the right directory, and are you in the right directory when you flash,I don't know if fastboot erase cache will help before you flash recovery.
[Sprint HTC One (M9)] kaw900r:
Yes

Using same folder that I have used in the past platform-tools and I also dled the minimal adb and same result. I will try the erase and see if it helps. t/u
[Sprint HTC One (M9)] Aldo101t:
you are sure your bootloader is unlocked.
[Sprint HTC One (M9)] kaw900r:
Same result sitting at waiting for device
[Sprint HTC One (M9)] Aldo101t:
Dang, only other thing I can think of is,are your SDK tools up to date.
[Sprint HTC One (M9)] kaw900r:
When I go via rfecovery mode it gives option to take adb update and it shows error msg E:Failto open file: /sys/devices/platform/android_usb/host_mode

Write host_mode error

handle_cota_install: No CW files. Skip cw installation.

If that could help with my issue...
[Sprint HTC One (M9)] litlepyro:
Does new firmware work with old bad boyz rom?
[Sprint HTC One (M9)] Aldo101t:
hmmm, I don't know. I've never seen that message before?

you mean download mode, you'll get a error message at the bottom if it doesn't see a 0PJAIMG. tHAT'S NORMAL

---------- Post added at 05:22 PM ---------- Previous post was at 05:17 PM ----------

NO, I DON'T think so, if you have the 3.33.xxx.x leaked firmware it does
[Sprint HTC One (M9)] mrlakadaddy01:
Just download rashr recovery flasher from app store, put recovery img in download on sd card, and flash it from phone.
[Sprint HTC One (M9)] kaw900r:
You need tob e rooted to use thata app. T/u anyway
[Sprint HTC One (M9)] mrlakadaddy01:
How are you trying to update it? That's weird.
[Sprint HTC One (M9)] kaw900r:
Copied to SD card . Also says root in app store. Event tried a couple otherst that also failed...
[Sprint HTC One (M9)] deedeebulldog:
Having a strange issue here. I try and boot into download mode and I get a message " failed to boot to download mode" I can boot into twrp, but i just boot back to bootloader.
[Sprint HTC One (M9)] schmeggy929:
Maybe you have a bad recovery img. But if you are sitting at waiting for device, something else is not working.

cmd from fastboot folder

type fastboot devices

Do you see the serial number and fastboot?
[Sprint HTC One (M9)] deedeebulldog:
ok scratch that. I can no longer boot into twrp. Any advice?

I was able to get into twrp again and now i am going to try and load my stock image.

Stock image did not work. Downloader seems to be broken. I was able to flash the firmware before this, I guess I will try to flash the beta rom and hope it boots
[Sprint HTC One (M9)] sjcdal:
stuck in bootloader.

Stuck in bootloader loop. I must have done something wrong, but I cannot figure it out.

I just went through all this in order again......

Have done full wipe..data included.

********************

Installed firmware via this:

0PJAIMG_Sprint_HTC_One_M9_3.41.651.4_RUU.zip

Copied to ADB folder, renamed it firmware.zip

fastboot oem rebootRUU

fastboot flash zip firmware.zip

fastboot reboot-bootloader

INSTALLED TWICE... Finished OKAY.

**************************

Recovery working after installing:

https://dl.twrp.me/hima/twrp-3.0.0-0-hima.img.html

copied file to ADB folder, renamed it twrp-3.img

fastboot flash recovery twrp-3.img

Finished with OKAY message.

*******************************

Then flashed from TWRP 3.0.0.0

INSTALL

/external_sd

Bad_Boyz_Sprint_ONE_M9_3.41.651.4_stock_rooted

Goes through full install..with note saying Bad Bozyz Sprint ONE m9 Marshmallow Stock Rooted Installer

.formatting/extracting/creating symlinks/setting permissions/extracting boot image/Mounting/Extracting Files/Installing/Cleaning/Creating symlinks/Unmounting

DONE!

BadBozy M9 Marshmallow Installed

Updating partition details

...done

*****************************************************

Reboot System..

And it goes to bootloader. With this screen message.

Software Status Modified

Unlocked

S-Off

***************************************

back to TWRP.. did wipe again.

Installed from SD card again after the wipe.

Same result..back to bootloader.

Oh..and if I let it sit at bootloader screen..it spontaneously reboots again to bootloader after about about 3-4 minutes.
[Sprint HTC One (M9)] deedeebulldog:
I am getting the same. Can you get into download mode? Mine is broken
[Sprint HTC One (M9)] mrlakadaddy01:
Why would you adb push a RUU zip? That's a ruu, it's supposed to go on the root of your sd card if card is 32 gb or below...you have to read the op.
[Sprint HTC One (M9)] sjcdal:
Yes, I can get into download mode.
[Sprint HTC One (M9)] kaw900r:
Nothing when I type that but it shows up when I type adb devices. If fastboot devices isn't showing what I am I missing? t/u
[Sprint HTC One (M9)] deedeebulldog:
Well I guess thats a good thing. I am trying to restore a backup since the new M rom is not booting for me. I seem to have no network connection.
[Sprint HTC One (M9)] schmeggy929:
pc is missing something, like latest SDK, jdk8, or htc drivers

also are you in download mode while typing fastboot devices?
[Sprint HTC One (M9)] sjcdal:
RE: stuck in bootloader.

Well...that worked. I didn't do it first because my 32GB card was not recognized every time I went into Download Mode...it kept saying not mounted.

Whatever, after all of this I went back to that method, and it seems to have worked.

Admit I was a little bugged by this reply at first because that method IS in the op #1...under

Flash Firmware via fastboot, no ext sd card needed...

-rename firmware to firmware.zip

-copy firmware.zip to your sdk folder

-boot into bootloader or download mode

-plug in usb

-select fastboot option (screen should say fastboot usb)

-type fastboot oem rebootRUU

-when u see the black screen w/ HTC, type fastboot flash zip firmware.zip

-when it's done, type fastboot reboot
[Sprint HTC One (M9)] mrlakadaddy01:
You have to use what's under firmware

---------- Post added at 04:02 AM ---------- Previous post was at 04:01 AM ----------

---------- Post added at 04:04 AM ---------- Previous post was at 04:02 AM ----------

The firmware and ruu are two different things. But I'm glad you got it.
[Sprint HTC One (M9)] kaw900r:
Reinstalled drivers and got TWRP loaded and then installed SuperSU and it is stuck flashing white htc screen and then black screen. Any ideas to get it to finish booting???
[Sprint HTC One (M9)] mrlakadaddy01:
Which supersu you flashed? Hopefully 2.65 and not the new beta

---------- Post added at 05:13 AM ---------- Previous post was at 05:13 AM ----------

Why not just flash stock rooted ROM?
[Sprint HTC One (M9)] kaw900r:
Just what I did and it's starting apps T/u. what a weekend. I am back rooted on the new firmware. What a great place here...
[Sprint HTC One (M9)] mrlakadaddy01:
Good
[Sprint HTC One (M9)] EvoGuy2010:
I ****ed up. I bricked my device where I don't have recovery nor do I have a working rom. I can only get to bootloader, ADB will not register device. How do I install ruu in this state? I am relocked with s-on rn.
[Sprint HTC One (M9)] mrlakadaddy01:
Explain steps taken that messed up your device
[Sprint HTC One (M9)] retiredtrebor:
A suggestion for some of you that are having problems flashing 3.41.651.4.

The phone got to the point that I could see/read the SD card on PC, but I couldn't transfer files to it. ADB and Fastboot failing to recognize the phone. I dug out my card reader, pulled the SD card from the phone, used PC to move file to SD card, reinstalled the card, booted into Download mode. The phone then proceeded to flash the ROM.

Hope this helps some of you.
[Sprint HTC One (M9)] OMJ:
adb does not work in bootloader...use fastboot

ie...fastboot devices
[Sprint HTC One (M9)] OMJ:
OP updated w/ 3.41.651.4 firmware from OTA....thx [MENTION=4366089]benny3[/MENTION]

3.41.65.4 Full Signed Firmware from OTA (fastboot flashable): https://www.androidfilehost.com/?fid=24407100847294492

3.41.65.4 Modified Firmware from OTA, removed recovery (fastboot flashable): https://www.androidfilehost.com/?fid=24407100847294493

3.41.65.4 Modified Firmware from OTA, removed recovery & boot (fastboot flashable): https://www.androidfilehost.com/?fid=24407100847294494
[Sprint HTC One (M9)] Hidesquadron1:
Need a little bit of help here. Attempted to flash the modified firmware from download mode, and am now stuck in a bootloop. I can use the button combos to boot into the bootloader menu, but I cannot use the options to boot into download or recovery mode. When chosen, I just enter a bootloop again.

If I select download mode, a silver HTC logo appears for a few seconds, but then the phone enters a bootloop again.

I'm fully prepared to wipe and start over, but without a working download mode, I'm not sure how to accomplish that. Any help would be great.
[Sprint HTC One (M9)] OMJ:
need more info...

which firmware specifically?

how did u update the firmware? list steps

are u on a L or M ROM?
[Sprint HTC One (M9)] Hidesquadron1:
Thanks for the quick reply.

Tried to flash your 3.41.651.4_modified_firmware (from post 533)

Steps I took:

- renamed file to 0PJAIMG.zip

- loaded it onto sd card.

- rebooted into Download mode

- executed the update when prompted

Almost instantly the bootloop began. Have been stuck here ever since.

Before attempting the update, I was on an L rom (viper). Was planning on flashing your stock root following the update.
[Sprint HTC One (M9)] OMJ:
did u flash the firmware 2x? if not, flash again, then update/flash twrp 3.0.0

*edit* I re-read your 1st post...I would use fastboot instead...I always flash firmware from bootloader
[Sprint HTC One (M9)] Hidesquadron1:
I was already running TWRP 3.0.0, (with s-off fwiw)

Unfortunately because I cannot access anything other than the bootloader, I am unable to flash the update a second time. Download mode only shows a silver HTC logo for a second or two, and then reboots back into the boot loop.
[Sprint HTC One (M9)] OMJ:
I think u read my post b4 I got a chance to edit it...lol...look up
[Sprint HTC One (M9)] Hidesquadron1:
Ha, I did. Thanks.

Going to try the fastboot route now, only with the full RUU zip. I hope that this bootloader isn't going to deny me fastboot. Any reason why download mode would simply not work anyloger?
[Sprint HTC One (M9)] OMJ:
not sure, maybe something didn't flash right on the 1st pass...it's probably best to flash from bootloader....no need to flash RUU yet, try fastboot flashing the firmware from bootloader
[Sprint HTC One (M9)] Hidesquadron1:
Just tried. Got an error saying that flashing the zip is not supported in the Bootloader, and to go into download mode instead.

Obviously, I can't do that.
[Sprint HTC One (M9)] OMJ:
and u used these cmds?

fastboot oem rebootRUU

fastboot flash zip firmware.zip

fastboot reboot-bootloader

if so, might be time to ruu...
[Sprint HTC One (M9)] Hidesquadron1:
fastboot oem rebootRUU reboots the device. flashes silver HTC logo, then reboots the phone again.

I have the full device RUU, but it doesnt seem to want to launch on windows.

---------- Post added at 05:53 PM ---------- Previous post was at 05:28 PM ----------

Yeah, no luck here.

rebootRUU just throws me into the same bootloop that selecting "Download mode" in the bootloader does.

On top of that, I can't seem to run the RUU.exe at all on my windows 7 machine. C++ and .net are up to date. Nothing occurs after the windows security warning.
[Sprint HTC One (M9)] mrlakadaddy01:
Did you try updating the sdk?
[Sprint HTC One (M9)] OMJ:
only suggestion that comes to mind is running as admin...

what happens if u power down, then hold vol down + power?
[Sprint HTC One (M9)] deakelem:
also try disabling any av or security tools you might have running on your machines. I know our av solution at work does not like certain htc and android fastboot binaries.
[Sprint HTC One (M9)] deedeebulldog:
I still can not boot into download mode. When I try I get red text saying failed to boot to download mode press vol+ or vol-.

I am unlocked and s off. I used this method below to flash. I flashed the firmware twice just in case (no fails). Flashed TWRP ( I can still boot into TWRP). Then flashed the stock 3.41 rom. After that it would only boot into bootloader. I tried ruu, but i get 30% batt error.

I have my stock image backup and Bad Boys 2.3 backup, but I dont think they will work with the new firmware.

Any help would be very much appreciated.

copy firmware to adb/fastboot/sdk folder, rename to firmware.zip, boot into bootloader, type these cmds:

fastboot oem rebootRUU

fastboot flash zip firmware.zip

fastboot reboot-bootloader

for twrp...

copy twrp to adb/fastboot/sdk folder, boot into bootloader, type these cmds:

fastboot flash recovery nameofrecovery.img
[Sprint HTC One (M9)] xlaw:
I had the same issue. I extracted and flashed the images separately in the 3.41.65.4 Modified Firmware without (fastboot flashable) from the OP. I flashed the partition first (i.e. fastboot flash partition gpt_main_32g.img), skipping gpt_main_64g.img. I also skipped tp_MXM11876.img and rebooted. That resolved my bootloop issue. I flashed the zip again in download mode, reflashed twrp and installed my ROM.
[Sprint HTC One (M9)] deedeebulldog:
You flashed gpt_main_32g.img down the list skipping the 2 .img and that worked for you.

How did you flash them? Im guessing and hoping you flashed in bootloader, because thats all i can boot into other than twrp. adb command fastboot flash name.img?
[Sprint HTC One (M9)] Hidesquadron1:
It worked!!

Thank you so much for this help! (and you can ignore that PM I sent you :p). For anyone else with the inability to use anything other than the boot loader, this method worked great.

Thanks also to [MENTION=506238]OMJ[/MENTION] for his assistance as well. Glad I didn't brick this thing.

Yinz all made my night. Thanks!
[Sprint HTC One (M9)] deedeebulldog:
Im sorry for the questions, but what all did you flash. I keep getting " target reported max download size of 536870912 bytes" when I try and flash and they fail.
[Sprint HTC One (M9)] OMJ:
which partition are u flashing when u get that msg?
[Sprint HTC One (M9)] deedeebulldog:
I get a fail on all except gpt_main_32g.img and radio.img. With download mode not working I am not able to flash the zip again and I can not ruu. I can still restore backups and my stock image, but no cell service and its buggy.

I am unlocked and s off.