yashsingh1/xdaforums huggingface dataset:
[One (M9) General] m4jkee:
Yes.

I was wondering if I have to flash stock recovery manualy.

Also firmware.

I found stock recovery, so I already flashed it. But just if anyone is wondering.

Do I have to flash old firmware? i am on 401.5 now. I need to go back to stock because of warranty (my display goes crazy)
[One (M9) General] Mutasek24:
in my opinion, to be sure that it is worth to flash RUU fully restore all stock HTC
[One (M9) General] m4jkee:
I thought RUU is stock HTC.

But do you have any idea, how to do this?
[One (M9) General] Mutasek24:
Good thinking :) RUU is full stock HTC. Are you S-off? You were already using RUU ? is it just the same firmware?
[One (M9) General] m4jkee:
Well I am s-off. I updated firmware manualy to fit vipers 2.1 rom. I found this post http://xdaforums.com/showpost.php?p=61212486&postcount=4 and it says that ruu converts (downgrades) firmware, which is all I need now.

I am downloading my stock ruu now, so in about half an hour I will see.

I used some ruus on ONE-X and ONE few years ago :D , but those days I was using windows and it was just about running some exe files :D Now i am on mac (not my choice, but my boss :D ) and i do have to flash it manualy :D

That post also says that we cant use more than 32GB SD card ( few minutes back, i tried to use 64 sdxc brutal lazer speed card and it didnt worked. So i deleted that ruu and downloading it again :D

I post some results when I`ll be done.

EDIT:

WELL I AM ON STOCK!!!

IMPORTANT IS SD NOT BIGGER THAN 32GBs

RUU converts firmware

Thank you for your help [MENTION=1335001]Mutasek24[/MENTION]
[One (M9) General] Mutasek24:
Good luck ;)

EDIT:

Great :)
[One (M9) General] Simpody:
So I'm trying to do from 8GB SD and it won't read the ruu. Just says can't open. It's named as .zip

Do you have to do anything with the the ruu zip before moving to sd or not
[One (M9) General] Mutasek24:
No you must only :

- change the name to 0PJAIMG

- copy to sd card

- reboot to download Mode and press VOL UP to start flash.

You tried to use another card? fastboot method also does not want to go?
[One (M9) General] Simpody:
Ok. SO dont i have to call the file 0PJAIMG.zip? Just 0PJAIMG
[One (M9) General] Mutasek24:
Just 0PJAIMG :)

EDIT:

prepend ".zip" only when you have a PC unchecked "Hide file extensions" ;)
[One (M9) General] Simpody:
Thank you soo much :thumbup:
[One (M9) General] estebato:
quest

i have a htc m9 (latin america, telcel) with version 1.27.600.1 no OTA update available

how can i convert it to developer edition without losing OTA function ??
[One (M9) General] Mutasek24:
You must have S-OFF

change MID - OPJA11000

change CID - BS_US001 or BS_US002

and flash RUU for developer edition
[One (M9) General] DeadPotato:
Hey there, I have a problem somewhat similar to one posted in the first posts but it's not that limited: I used the ruu zip on the OP, and everything looks fine except for the fact that device says it has no updates so I'm stuck on 1.32.401.8 at the moment and it has something like a demo app but its called "HTC Club" and doesn't pops at given times. Can I run the OTA zips that have been released to get to 1.40 base or do I need to flash a new ruu? And do I need to apply them all incrementally, or just flash the last one?
[One (M9) General] Mutasek24:
What is your CID? really HTC__002? you want to get rid of "demo" or just want to update OTA? If only OTA, you can use the OTA zips (you need to apply the incrementally)

EDIT:

If so to get rid of "version demo" you need to change Cid on one of the compatible for WWE - required S-OFF

cidnum: HTC__001
cidnum: HTC__J15
cidnum: HTC__031
cidnum: HTC__102
cidnum: HTC__A07
cidnum: HTC__032
cidnum: HTC__M27
cidnum: HTC__016
cidnum: HTC__Y13
[/ Html] and flash RUU again
[One (M9) General] Mutasek24:
SuperCID works :) but it can be a problem finding OTA, try changing to HTC__001 re-flash the RUU and should be OK

EDIT:

after this change, the phone should see OTA, even without re-flashing RUU, but probably not resolve the matter with "demo"
[One (M9) General] DeadPotato:
That's completely right! :D I was using super cid cause I thought it would get rid of the CID requirements for updates, but looks like it's not working that way :p as soon as I changed CID to HTC__001 I saw the 1.32.401.15 update, not 1.40 base though. If it doesn't pops after the OTA upgrade, can I flash the OTA manually?

EDIT: after downloading the OTA I got a message saying "We have determined that your phone may be running a modified version of its system software. for your protection, we cannot update your phone. Please revert your phone to the official HTC system software to update your phone. If you did not modify your system software or would like help reverting your system, please contact us via the support section at www.htc.com"

Looks like I'll need to run the RUU after all. I also noticed a message on the initial setup on red saying this was a test device and as such HTC reporting couldn't be disabled.
[One (M9) General] Mutasek24:
You can flash manually ,but OTA will be the first to 1.32.401.15 and the next one just to 1.40.401.8 :)

Wysłane z mojego HTC One M9 przy użyciu Tapatalka
[One (M9) General] DeadPotato:
I updated my previous post, please check it out, I'm getting the red text warning when the phone boots and I had the same red letters description on initial setup after running the RUU once again :eek:
[One (M9) General] Mutasek24:
The first message it means that you have to flash RUU again (already to Cid 001)

The second message Red Text is normal - appears after obtaining S-off. :)
[One (M9) General] DeadPotato:
Using simple CID getter from the Play Store to double check right before applying the update, it says my CID is HTC__001 WWE, however whenever I click on system update, the same pop up appears :(
[One (M9) General] Mutasek24:
What's your MID? 0PJA10000?

Wysłane z mojego HTC One M9 przy użyciu Tapatalka
[One (M9) General] DeadPotato:
[root@localhost M9]# fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_himauhl

(bootloader) version: 1.0

(bootloader) imei: 000000000000000

(bootloader) version-main: 1.32.401.8

(bootloader) boot-mode: download

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA11000

(bootloader) cid: HTC__001

all:

finished. total time: 0.004s
[One (M9) General] Mutasek24:
You have mid for developers edition, change for WWE, reboot to download mode and:

fastboot oem writemid 0PJA10000
[One (M9) General] DeadPotato:
Feel like a Hodor lol, sorry for that completely newbie mistake :eek: this is the first time I S-Off an HTC device and completely missed the mid detail :( after changing MID the update is rolling now :)
[One (M9) General] Mutasek24:
Glad to see you succeed [emoji106]

Wysłane z mojego HTC One M9 przy użyciu Tapatalka
[One (M9) General] DeadPotato:
Yes, downloading 1.40.401.8 now, ran out of thanks for post lol but again, thank you so much for your help! :) :good:
[One (M9) General] rubino90:
for me not works, impossible copy file zip (the link not remind in file called ruu.zip but another in first post) and is not possible paste zip in sd card i testing with 2 download times, 2 pc and 2 micro sd (32gb and 4gb) any solution?
[One (M9) General] Mutasek24:
Whose link you've used? pull out the SD card and connect to the PC (adapter required), or

- 0PJAIMG.zip copy to your folder adb / fastboot on PC

- open the CMD and type:

adb push 0PJAIMG.zip /sdcard2/

Wysłane z mojego HTC One M9 przy użyciu Tapatalka
[One (M9) General] strikerman10:
Cannot flash 0PJAIMG.zip

I'm hoping someone may be able to help me. I have followed all the instructions and read every post to try and flash the RUU zip file downloaded in the link on the 1st page but when I go into download mode I do not get the option to flash to file. I have uploaded a picture of what I get in download mode. My sd card is 16gb and is formatted to fat 32. I have tried two sd cards but neither work. When there is no file on the sd card the yellow writing at the bottom returns the fact there is no file. When there is I get the text in yellow at the bottom of the screenshot. Can anyone give me some advice?

The text covered by the white banner says system info.. I have checked my CID. It is 002. Mid is OPJA10000. I am trying to revert back from a Viperone rom.

Thanks
[One (M9) General] zbremi:
Hi Guys

I successfully came back to stock except i still have status Re-locked.

When i copied and pasted:

adb shellsuecho -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796exitexit

i got a message:

'dd' is not recognized as an internal or external command, operable program or batch file.

but bootloader got re-locked.

I guess im doing some simple mistake but simple one are hardest to spot. Any ideas?

I still have s-off...

Ok I found my mistake. I was just trying to do that from download mode...
[One (M9) General] passtheknowledge:
I want to go back to wwe stock but keep bootloader unlocked. Is that possible?

---------- Post added at 11:17 AM ---------- Previous post was at 10:56 AM ----------

I only ask because I changed my at&t m9 mid and cid to wwe m9. So not too familiar with the wwe m9 if it comes with a locked or unlocked bootloader.
[One (M9) General] Mutasek24:
Yes it is possible (bootloader locked is not obligatory)
[One (M9) General] passtheknowledge:
Thanks mate I updated to latest firmware and boot loader was still unlocked.
[One (M9) General] emrince:
:( :( :( help

(fastboot oem writesecureflag 3) I was I used it I want to make s-off there again for this code please help me
[One (M9) General] jollywhitefoot:
that command makes your s-off phone s-on. It won't make an S-On phone S-Off.

For S-OFF, you have to use sunshine (google "sunshine s-off") and you HAVE to pay $25 for this service. There is no other way.
[One (M9) General] emrince:
:(

again (s-off) for Do not command ??
[One (M9) General] jollywhitefoot:
I have no idea what you're asking me here.
[One (M9) General] emrince:
I want to make s-off with only one command Maybe you do not know anyone else knows
[One (M9) General] jollywhitefoot:
Well that I do know. I promise...the ONLY way to make s-off (at this time and probably ever) is by downloading and running the Sunshine S-Off app.
[One (M9) General] emrince:
:(

my device verizon not is sunshine method s-off yesterday, I conduct a java card Unfortunately, I'm so sorry I do not care
[One (M9) General] jollywhitefoot:
sorry bro. you're right. most people asking questions on here aren't going to go java card route.
[One (M9) General] emrince:
I expect in the future has perhaps taken care of command
[One (M9) General] jollywhitefoot:
maybe this thread will help you

http://xdaforums.com/verizon-one-m9/general/m9-java-card-t3063247
[One (M9) General] iElvis:
I think the command to go s-off with a Java card is fastboot oem writesecureflag 0. But don't quote me on that.
[One (M9) General] deakelem:
some help needed please

hey guys I followed this method to s-on my m9 because i had to take it to sprint to get replaced. Well while waiting for my new phone to come in I want to unlock my bootloader and s-on again but I get this error whenever I try to unlock the bootloader again. Even when trying to get the unlock token too

writing 'unlocktoken'...

(bootloader) flash unlocktoken

(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp

(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock

(bootloader) [KillSwitch] oem unlock Turn Off!

I would really appreciate it if anyone could tell me how i can get my bootloader unlocked again. Thank you
[One (M9) General] Boostjunky:
Check your developer options for the following:
[One (M9) General] deakelem:
That was it! thank you so much sir
[One (M9) General] 12890:
hi

hi guys im on the latsest build nomber 2.8.617.4 can i follow op to go back to stock rom i have super cid and soff

thanks :confused:
[One (M9) General] Mutasek24:
I understand that you want to go back to the European version (WWE)?
[One (M9) General] 12890:
yes
[One (M9) General] Mutasek24:
You can follow op.
[One (M9) General] nerlim:
Thanks for driving.

I used ruu you link, and I flagged locked, but I start an inscription in red.

Notwithstanding the above statement, this is a Test Device and is Htc's proprietary..........
[One (M9) General] cinemalover:
Hi guys, need help here

I relocked my M9 and make it S-ON. im using firmware 2.7.401.1 I cannot install from any RUU, it seems there is no RUU that match with my firmware. I make mistake should S-ON the device later, but i already did it, so now i cannot use the phone because there is no OS on it.

I try to unlock bootloader, and cannot retrieve the token when using fastboot oem get_identifier_token. I read that since 5.1 you need to turn on unlock option in developer options, but i cannot do that, since the OS is already wiped :(

Is there any solution for this ?

Thanks.
[One (M9) General] jollywhitefoot:
What's your current cid, mid, and os number?

I take it you flashed stock recovery before you locked? Otherwise you could install any custom rom in twrp.
[One (M9) General] cinemalover:
cid= HTC__032. mid= 0PJA10000, number is= 2.7.401.1

No i follow the guide from this thread, but instead going to step No.3 i skip it and go for the S-ON :(

Cannot launch TWRP is already wiped clean...

Now im stuck as far as i know i cannot use RUU that using older firmware than me.
[One (M9) General] jollywhitefoot:
I think that's correct. It might be worth asking in the twrp thread if there's a way to unlock boot without an os. Or maybe the root ninja guys know a way.
[One (M9) General] nerlim:
[IMG="Help"]http://i.imgur.com/Z9GMkS6.png[/IMG]

This thing is normal?
[One (M9) General] Mutasek24:
Yes. This message occurs when the device is S-offs when you get back to S-ON message disappears
[One (M9) General] nerlim:
Thank you very much, very kind.
[One (M9) General] iElvis:
Do you still have your original unlock token? It ought to work.

On another note, why would you go back to S-on? There's really no good reason to do it, even if you're returning to stock, and doing so can be dangerous, as you've learned here.
[One (M9) General] jollywhitefoot:
Bro, once you upgrade to 5.1 there's a setting in developer options that you have to check to allow the bootloader to be unlocked. Just flashing your unlock_code.bin does not work and presents the error that the OP described.

I'm sure there has to be a workaround, for people with soft-bricks, but flashing the token isn't the solution.
[One (M9) General] iElvis:
I knew about that setting and the havoc it's created in the Nexus community, but I didn't realize it also blocked htcdev unlocking. That sucks.
[One (M9) General] Oum:
Hi, did anyone manage to run the RUU_HIMA_UHL_L50_SENSE70_HTC_Europe_1.32.401.17_Radio_01.01_U11440261_56.02.50306G_2_F_release_429340_signed_2_4.exe that can be found on this page on Windows 10 ? After accepting the agrement and clicking Next, it just closes and then nothing...
[One (M9) General] nerlim:
(bootloader) [KillSwitch] oem unlock Turn Off!

this error is that in cmd with fastboot when I try to flash the file unlock_code.bin.

I'm s-on, locked, I can not get into TWRP.
[One (M9) General] kingvortex:
If you're on a 5.1 stock rom, there's an option called "OEM unlocking" in developer options that needs activating before you can unlock your bootloader.
[One (M9) General] nerlim:
Thank you, but I can not access the phone's operating system.

When I try, it stops.

Thank you, but I can not access the phone's operating system.

When I try, it stops.

Is there a way to do with fastboot?
[One (M9) General] kingvortex:
I don't know. Sorry. I'm still new to HTC devices. I doubt it though, as it wouldn't be very secure if you could bypass the setting like that.
[One (M9) General] Oum:
answering to myself : even if on Windows 10 64bits, you need to install Microsoft Visual C++ 2008 Redistributable Package (x86).
[One (M9) General] LLegion:
}Once you have gone through all way to get s-off rooted unlocked bootloader, custom rom, WHY WOULD SOMEONE WOULD RETURN TO STOCK??? If you did by ypourself, all the process above you should know going back to stock is not worth since you already know how to flash firmwares as released and try custom roms and frameworks....just my opinion.
[One (M9) General] Mutasek24:
This is your opinion, mine is different:), there are several reasons for example:

- Warranty repair

- Resale purposes

etc ...
[One (M9) General] jdub1983:
When i try to "LOCK" bootloader the adb command does not do anything at all?

I copied and pasted from the post...

Thanks for all the help in advance.
[One (M9) General] Mutasek24:
try so:

adb shell
su
echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
exit
exit
[One (M9) General] skruff77:
when i click on the link for the RUU its says "Sorry, the file you have requested does not exist." Is there a new one?
[One (M9) General] Mutasek24:
http://androidruu.com/getdownload.p...61_56.02.50306G_2_F_release_425571_signed.zip
[One (M9) General] skruff77:
Thank you for this. Will this work on T mobile m9?
[One (M9) General] Mutasek24:
No. This RUU is for Europen unbranded.- supported CID/MID

What's your CID/MID?
[One (M9) General] skruff77:
Cid-T-MOB010

---------- Post added at 09:35 AM ---------- Previous post was at 08:44 AM ----------

I think i found my RUU in the T mobile tread. Thank you for you help.
[One (M9) General] nsnobel2:
but phone is disabled by EE so I cannot go into developer option , is there any way to give command in download mode and it turn on oem unlock?

thanks
[One (M9) General] Vesten:
Followed this guide to a T and I am now, S-ON with locked bootloader, but software still says Modified? WTF?
[One (M9) General] Black-FR:
You could get the official status back, if you flash a matching ruu, via the sdcard method.

This also works, while you are S-ON, if there is a matching RUU, for your current software version.

Gesendet von meinem HTC One M9
[One (M9) General] Vesten:
But everytime I booted into download mode, I got a message at the bottom in yellow saying the SD_CARD_NOT_MOUNTED. And pressing Volume up didn't do anything.
[One (M9) General] Mutasek24:
Check your name .zip - 0PJAIMG (first is "0"- zero )in spite of it,your external sd card should be 32 GB or less and formatted in FAT32.
[One (M9) General] Vesten:
Ah, that maybe why? My SD was 128GB and only formatted through the phone. So unsure if that means it formats it in FAT32 or NTFS.
[One (M9) General] Mutasek24:
128GB is too large for flash RUU via SD, phone formats in FAT32
[One (M9) General] Vesten:
Ok thanks. Bit of a pain in the ass that tbh. Shouldn't matter!
[One (M9) General] Favorito:
Damn, i just skipped a step an instead of 1st flashing the signed zip, I just locked me to S-ON and i'm in fw 2.10.401.1 .

I'm stuck in download mode and can't do anything. don't tell me I need to wait for a signed ruu of matching fw :(
[One (M9) General] iElvis:
If you can't boot up, you may be stuck. Why did you go back to s-on? Despite all the guides you see, s-off should really be viewed as a one-way trip. Going back can be dangerous, as you've discovered.
[One (M9) General] Imkarthick:
please guide me through a return to 100% stock of my August - HTC M9 version

Hi folks you have been so helpful with your posts, I am hoping an amateur like me could get my phone fixed too. I recently bought a swappa phone didnt realize the ATT HTC M9 phone was in international Custom ROM, it worked the first day smooth and fine. But from day two I couldnt receive any incoming call. I was told that by the seller to switch back to stock ROM as I hold an ATT SIM card too... Thus I started this exploration, completed an S-OFF using the sunshine $25 apk, Enabled developer version and USB debugging, but am not very clear with the next steps.

Especially 1. Which ROM version to download ? Should I know the original stock firmware version.

2. By SD card is it meant Micro SD

Sorry if the questions sound so amateurish can't help it.
[One (M9) General] efrant:
1. You should be able to get the latest AT&T stock ROM from here or here. (Note that if the previous user changed the CID of the device, then you need to change it back to AT&T's CID, or to SuperCID (by using the following command: fastboot oem writecid 11111111)

2. Yes.
[One (M9) General] Ghvinadze:
Little help here

guys do you have any idea what does it mean ?

C:\SDK\platform-tools>fastboot getvar all

(bootloader) version: 0.5

(bootloader) max-download-size: 0x20000000

(bootloader) partition-type:cache: ext4

(bootloader) partition-size:cache: 0x14000000

(bootloader) partition-type:userdata: ext4

(bootloader) partition-size:userdata: 0x5e0000000

(bootloader) partition-type:system: ext4

(bootloader) partition-size:system: 0x118000000

all:

finished. total time: 0.096s
[One (M9) General] Imkarthick:
struggling with next steps in moving to 100% stock

Hi when I downloaded the RUU in the Micro SD and I relocked the boot loader but when I try to lock the bootloader using the adb shell option it shows as permission denied could you please help me sort our the issue. I am struggling a bit on what to do next.
[One (M9) General] clsA:
The RUU goes on your PC not your phone... it's a windows executable file

the fastboot commands take place on the PC also, not from an adb shell on the phone

phone has to be in Download_Mode

from a command prompt opened in the fastboot folder - fastboot oem lock
[One (M9) General] Imkarthick:
I downloaded the latest stock ROM from ATT website and placed it in micro SD card with the name as 0PJAIMG.zip and went to download mode and pressed volume up, but it says Failed: -2, fail to flash downloadzip

I am not sure what is causing this. But this is what I did so far:

1. S-off

2. Usb debugg enabled

3. Bootloader Relocked

4. Micro SD download of latest RUU and renamed as 0PJAIMG.zip

But it says fail to flash downloadzip. Am I missing something. I unable to figureout the issue yet can someone please help
[One (M9) General] clsA:
The file you downloaded from AT&T is a RUU.EXE you can not just rename it you need the rom.zip to do that

the file you need is here >> https://www.androidfilehost.com/?fid=24052804347847327
[One (M9) General] Imkarthick:
I zipped the RUU.exe and renamed 0PJAIMG. Now I am facing a new problem. I downloaded from the link shared above but I am unable to copy to the SD card(32 GB) it throws an error as "device has either stopped responding or is not connected" but I am able to copy other files into the SD card though, I tried formating the SD card too. Even after format the error it wont let me do it.

Wow never thought flashing a ROM is so painful and time consuming and worst part is I have still not solved the problem.. Will greatly appreciate a step by step approach.

I am not sure if Relock vs Lock is the reason the flash ROM is failing meanwhile the copying to SD card problem I not clear how to solve that either.
[One (M9) General] efrant:
The file with the exe extension is a Windows executable. Download it to your PC, plug your phone to your PC and run the exe file from Windows.
[One (M9) General] Imkarthick:
i tried the windows executable and got an error stating "Error 155 Unknown error The ROM update utility cannot update your android phone".

So not helping
[One (M9) General] clsA:
How are you accessing the sdcard ?

remove it from the phone and copy the rom.zip to the card

rename it 0PJAIMG.zip

place the sdcard back in the phone and boot to download_mode

follow on screen instructions to flash
[One (M9) General] ebautista:
Anyone knows the CID for Singapore and link for the RUU image? THanks in advance.
[One (M9) General] akb3r:
Look for your closest CID, https://docs.google.com/spreadsheet...imhhqtVfeMPVDA/edit?ts=56472c39#gid=100533445
[One (M9) General] Winston1989:
I reverted to stock and am at 1.32.401.8 and android 5.0.2 but phone says there are no updates available. Anyone able to help me?

Edit: Fixed it, forgot to change the CID, was super CID. Fixed by changing it to HTC_001.