yashsingh1/xdaforums huggingface dataset:
[One (M9) General] MyDailyBeef:
SORRY FLIPPY. Just wanna know if i need to put the aboot on labtoofer service? sorry and i praise you for your hard work. And ill try and do the backup thingy you requested me to do :D
[One (M9) General] Flippy498:
Taken from our last conversation:

;)
[One (M9) General] MyDailyBeef:
Right sick mate. That means I need to put aboot: 1.00.000 etc? Cheers. Could you help with the backup thingy you requested too? I'll try and follow the instructions you gave me but if it is different because I'm using the ruu service please explain. Thanks A LOT. You saved my phone :)
[One (M9) General] Flippy498:
Correct.

The instructions are the same no matter whether you use the service or not.
[One (M9) General] alucard2425:
Hello, i'm trying to restore my phone to stock and i'm currently stucked in a state where i can only boot into the bootloader and into RUU

The problem is that i cannot find the specific RUU.exe for my device

kernel: lk

product: htc_himauhl

version: 1.0

imei: 357226064276108

version-main: 3.35.401.32

boot-mode: download

version-baseband: 01.01_U11440792_97.00.51203G_F

version-bootloader: 1.0.0.0000

mid: 0PJA10000

cid: HTC__J15

plsssss help me ty in advance:)
[One (M9) General] Flippy498:
No one has contributed the needed RUU, yet, and no one knows if there ever will be one. Only the US RUUs get officially distributed by HTC. The RUUs for the rest of the world are leaked by insiders.

Since you didn't mention a different information I assume that your phone is S-ON. If your phone is S-OFF there are some more ways to help you out.

If you're still unlocked I'd recommend you to restore a backup for your firmware (there is one on the first page). Instructions can be found in my google sheet (link can be found on page 1, too).

If your phone is relocked and you're unable to re-unlock due to the OEM Unlock option not being activated in the developer options your only way out of this problem is contacting Llabtoofer's RUU service.

Edit: I completely forgot that downgrades from 1.32.xxx.15 to 1.32.xxx.8 are possible with the M9 even if the phone is S-ON. Since your situation with a phone on version 3.35.401.32 and the latest available RUU being made for 3.35.401.12 is quite similar it might be worthwhile to try out whether you can flash the 3.35.401.12 RUU. The worst thing that might happen is that the phone won't accept the RUU. Instructions can be found in my google sheet. If you're able to successfully downgrade with S-ON it would be nice if you could report back.
[One (M9) General] Berrus1924:
Hello!

I am selling my M9 this week and need to reset it to stock RUU. I am a TOTAL newbie in this matter, so please have patience with me :) I now have 2-3 days starting from now to learn everything about the matter and solve my problem.

So the problem is: I had teamwin thing on my phone and since I want to sell it I need the stock HTC rom/RUU (?) on my device, because with teamwin it wouldnt update automatically (there is currently an update of about 670 mb). It would download the update, then restart the phone and go into teamwin thing but not actually update.

Current state: Phone has no recovery, Phone is stuck in boot loop.

I think it would be best if someone tells me what information u need about my M9, maybe photos of the screen etc.

I hope you can help a newbie like me out.

Regards.
[One (M9) General] Flippy498:
The first thing is impossible. There's always a recovery on your phone since all you do is replacing and never erasing it. The stock recovery starts with a red triangle and an exclamation mark. If you don't hold the power button and shortly press volume up (the power button still needs to be pressed) while entering the stock recovery your phone will reboot automatically. That might be the reason why you think there is no recovery.

As long as you can enter the download mode everything should be fine. However, is there a specific reason because of which you didn't read the first page (especially the opening post)? ;) The OP explains where to find instructions for getting back to stock and where to find the needed files. :p Besides, post 6 contains a direct link to an alternative solution for getting back to stock if there is no freely available RUU.
[One (M9) General] asian_frogmaster:
Hi guys, semi noob here... so i have been in the root game for a while now but since the last update to my m9 to lollipop, ARHD, i have been quite put off by touching anything anymore. Due to the fact that the experience for that update was horrendous and very troublesome. I never did enjoy the Lollipop experience all that much and have been waiting to update to android 6/Marshmallow. Let me begin with the basic software details i am running. I am on HTC M9 International variant from Australia, Telstra Mobile, S-ON, Running Android 5.1/Lollipop, ARHD ROM 12.0 Sense 7.0. My main issue is, i have been trying to update to Marshmallow but have been told that i needed S-OFF to do so, i did not want to proceed with that so the other option given to me was to wait for the HTC update or something like that, by that time i was already quite frustrated and just left it for a few months. Fast forward to today, where Sense 8 is out, and there are a few new ROMs available. i would like some guidance and tips on how to move up and away from Lollipop. I am quite rusty, not that i was very good to begin with... I am willing to S-OFF given that i am guided and wont run the risk of blowing my phone up (i'v heard some scary bricking stories from performing S-OFF) so, if anyone is willing to give some patience and guidance to this poor soul stuck on a laggy software, please, i will be forever grateful!
[One (M9) General] Flippy498:
You were probably told that you need S-OFF because there wasn't an official update to android M for your phone at that time. Since I'm sure that you read the first page before you posted you already know that we don't have any telstra backups. However there is a telstra RUU you could use if it's made for the same firmware your phone is currently running or if the RUU version is newer than your phone. Due to the fact that you know what is written on page one you already know how to check your current firmware version and how to flash the RUU if it's compatible with your phone. ;)

Besides I'm sure that you already read about llabtoofer's RUU service because you read the whole first page and not only the OP and the second post with the backups. ;) He owns RUUs which aren't publicly available. (Sidenote: Only US RUUs get officially distributed by HTC the rest got leaked somehow.) Be aware that his service is not for free.

If you can't use that RUU and don't want to use llabtoofer's service you can get S-OFF and change your CID so that you're able to use RUUs for different SKUs or older versions than your current one. You need a sense-based and rooted rom. Either stock or custom. (So ARHD should be fine. If it's not you could try an older viper version. I used viper myself when I got S-OFF. All versions can be found on their website.) Simply google for sunshine S-OFF, install their app and let it bring some sunshine into your life. The process of getting S-OFF isn't risky at all. S-OFF itself is the risky thing since all security checks get disabled so that you get write privileges for every partition of your phone. You therefore need to be careful with the things you're flashing. If the file isn't compatible (e.g. CDMA files on a GSM device or vice versa) or broken because of a bad download you'll brick your phone. There is an article linked on page 1 with the difference between rom and firmware which explains S-OFF a bit more detailed than I did here. Be aware that S-OFF and llabtoofer's service cost more or less the same.

Please report back after you chose one option whether you were successful or in case you weren't successful which errors you faced.

If you choose S-OFF we can talk about changing your CID afterwards. You should focus first on getting S-OFF if you choose this option.
[One (M9) General] ITheLivingProof:
Stuck in bootloader

While using whatsapp my phone froze, so I forced restarted it. Then it said configuring apps then froze again. After that it rebooted into bootloader. I can go into recovery mode and download mode also, no further. It was stock but in bootlodaer it says modified. It is locked with S-ON. I really need help. I've tried factory resting it, I cant install anything cause of the locked bootloder and S-ON. What can I do? thank you.

C:\adb>htc_fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_himauhl

(bootloader) version: 1.0

(bootloader) imei: *******************

(bootloader) version-main: 3.50.710.1

(bootloader) boot-mode: download

(bootloader) version-baseband: 01.01_U11440801_96.01.51207G_F

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA10000

(bootloader) cid: OPTUS001

all:
[One (M9) General] Flippy498:
Since no one contributed a backup for your firmware version and since there is no publicly available RUU that I know of, either, your only hope is llabtoofer's RUU service which is linked on page 1.
[One (M9) General] ITheLivingProof:
Ok thank you I'll check it out, I need it fixed badly cause of school.
[One (M9) General] ITheLivingProof:
Is there anyway I can get S-OFF from the bootloader?
[One (M9) General] efrant:
Yes, but you'd need to find someone with a javacard.
[One (M9) General] ITheLivingProof:
Thanks for your reply, can I make the card? I can code in java.
[One (M9) General] fhartane:
Hi. Since Android N is rolling out for US users, I'm considering going back to stock, hoping they will release the upgrade for International Europe soon. I know this was mentioned before but I couldn't find the exact answer : does flashing the 3.35.401.12 RUU work when running 3.35.401.32 firmware (with s-on) ?

Envoyé de mon HTC One M9 en utilisant Tapatalk
[One (M9) General] Flippy498:
That's actually a pretty good question. I don't know the answer. It is possible to use the 1.32.401.8 RUU with a S-ON M9 while being on 1.32.401.15. Since other downgrades are not possible without S-OFF I assume that all numbers in the firmware versions have to match except for the ones behind the last dot.

I'd recommend you try it by yourself and report back whether it is possible in this case, too, and whether my assumption is correct or not. Every other S-ON User I gave that advice never reported back. The worst thing that could happen is that the flash doesn't start at all due to the firmware of your phone being newer than the one of the RUU.
[One (M9) General] fhartane:
Alright. I should give it a try whenever I know for sure that we're close to a release in Europe. I will report about it then.

I also have a TWRP backup of the stock rom after the 3.35.401.32 OTA. I assume it should also do it if I flash it and then stock recovery, if I understand the whole thing correctly. I'm new to returning to stock, only did it flashing RUUs so far.

Thanks
[One (M9) General] Flippy498:
If the backup was made while the system was still mounted as read-only you should be able to use it as an alternative to the RUU.
[One (M9) General] fhartane:
How do I know it was mounted as read-only ?
[One (M9) General] Flippy498:
Did you manually mount it as read/write before you made the backup? TWRP asks you whether it should change the state of system partition from read-only to read/write when you enter it for the first time.
[One (M9) General] fhartane:
Damn. I may have done something like that :(

I searched the internet for a long time to make sure I was doing it right and did think of having a look to your sheet :( :(
[One (M9) General] Flippy498:
Well, you can still use the backup from page 1...
[One (M9) General] fhartane:
I forgot about page 1 which I read earlier this evening (for the 2nd or 3rd time!). I hope everything works fine. Thanks for your work and time.
[One (M9) General] efrant:
No, you can't make the card. You need to send your phone to someone who has one, or buy a card. (You should be able to buy one for about US$150 give or take.)
[One (M9) General] ecdteck:
has any one got a copy of the VodaFone_UK marshmallow for the htc one m9 please.

I have a customer who phone crashed the recovey ran but now google app do not work at all.
[One (M9) General] Flippy498:
Is there a specific reason because of which you didn't read page 1? All needed files and instructions can either be found there or are linked on that page.
[One (M9) General] ITheLivingProof:
OOOO money I don't have right now...Uni taking all my money. I'm from Trinidad btw. I wonder if anyone has a back up for the stock recovery for 3.50.710.1
[One (M9) General] ecdteck:
I did there is no RUU there or working link.

only a 20 meg img file that is not what i am looking for.
[One (M9) General] Flippy498:
I'm pretty sure that there are at least two working links that lead you to a 3.35.161.12 RUU which is the only android M RUU for Vodafone that is publicly available. Besides there is a direct link to llabtoofer's RUU service in cases where RUUs aren't publicly available for one or another firmware version.
[One (M9) General] blueberry60:
Latest 0PJAIMG for HTC Developer Edition Unlocked Devices based on Nougat 4.14.617.6 :

0PJAIMG_HIMA_UL_N70_SENSE80_ATT_MR_NA_Gen_Unlock_4.14.617.6.zip

md5: 7f6464d74be36eadd1e013a09c4dbd01

modelid: 0PJA11000
cidnum: BS_US001
cidnum: BS_US002
mainver: 4.14.617.6
btype:1
aareport:1
hbootpreupdate: 3
nohardreset: 1
resparseoption: -S800M
erasepartition: cache
eraseonflash: system
eraseonflash: userdata
eraseonflash: aboot
eraseonflash: adsp
eraseonflash: boot
eraseonflash: cpe
eraseonflash: hosd
eraseonflash: hyp
eraseonflash: radio
eraseonflash: recovery
eraseonflash: rpm
eraseonflash: pmic
eraseonflash: sbl1
eraseonflash: sdi
eraseonflash: tz
eraseonflash: rfg_1
eraseonflash: sp1
eraseonflash: cota
eraseonsoff: frp
eraseonsoff: absolute
erasepartition: ddr
eraseonsoff: carrier
[One (M9) General] eknugt:
I can't return to offical rom

I tried flashing RUU (3.38.502.17.exe & 3.35.617.31.exe) but error message appeared ( 155 error )

then I tried flashing zip file by Adb and twrp recovery also don't complete

I tried with lock and unlock mode but still the same problem what can I do ???

the device information

CID : HTC_J15

MAIN V:3.35.401.12

Thanks
[One (M9) General] Flippy498:
The exe files failed to flash due to the fact that they're not meant to be used with your phone. The zip files on the other hand aren't meant to be flashed via adb or twrp. You can only flash them via HTC_fastboot (that's not the same as the normal fastboot) or an SD card. However, since too many users have problems with the HTC_fastboot method I would suggest you to use an SD card.

As written on page one you should read my google sheet if you don't know which RUU to choose and how to flash it. Everything is explained there in simple step by step instructions.
[One (M9) General] blueberry60:
Your device is International WWE model,if you want to convert your device into a Developer Edition model you need to know CID and MID values of both your device and Developer Edition, in otherwise you couldn't flash 3.35.617.31 Ruu.exe.
[One (M9) General] eknugt:
thanks for your reply

yes I flashed by fastboot but didn't complete , you can see the result

C:\platform-tools>fastboot oem rebootRUU

...

OKAY [ 0.001s]

finished. total time: 0.004s

C:\platform-tools>fastboot flash zip firmware.zip

target reported max download size of 800000000 bytes

Invalid sparse file format at header magi

error: write_sparse_skip_chunk: don't care size 2435476345 is not a multiple of the block size 4096

sending sparse 'zip' 1/1 (0 KB)...

error: write_sparse_skip_chunk: don't care size 2435476345 is not a multiple of the block size 4096

error: write_sparse_skip_chunk: don't care size 2435476345 is not a multiple of the block size 4096

OKAY [ 1.068s]

writing 'zip' 1/1...

(bootloader) HOSD CL#671758

(bootloader) ERR lzipv1_init : Cannot read header len bytes

(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_A

(bootloader) qoLpz

FAILED (remote: 99 RU_UNKNOWN_FAIL terrible mishap )

finished. total time: 2.152s
[One (M9) General] Flippy498:
That normal fastboot Version can't handle such big files. That's why HTC developed their modified version.
[One (M9) General] eknugt:
No now just want to return to official rom

thanks

---------- Post added at 10:25 AM ---------- Previous post was at 10:23 AM ----------

can you pls provide me the link of modified version.
[One (M9) General] Flippy498:
It can be found in sneakyghost's thread which is linked on page one or in my google sheet. (You should really read the first page. Completely and very carefully. All important information can either directly be found there or are at least linked there. ;))

But as written before, many users have problems with that method and therefore I don't support it here. It's too much hassle if you try to find the culprit if the flash fails.
[One (M9) General] blueberry60:
As [MENTION=5872674]Flippy498[/MENTION] told, you don't need to flash ruu.zip from download mode with htc_fastboot method, download 0PJAIMG_3.35.401.12.zip, name it as 0PJAIMG and copy it to external SD Card of your device, flash 0PJAIMG zip file by pressing Volume UP key when your device reboots into download mode.
[One (M9) General] blksith0:
I have an OPJA2 with S-ON, Unlocked Bootloader, and a custom ROM, and TWRP.

The HTC RUU setup program gave USB error 170, so I extracted the "rom.zip" but now what do I do? I have access to fastboot and adb.

I do NOT have an external SD card so is it still possible?

C:\minimal_adb_fastboot_1.4.1_portable>[b]fastboot flash zip rom.zip[/b]
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 2410282566 is not a multiple of the block size 4096
sending sparse 'zip' 1/1 (0 KB)...
error: write_sparse_skip_chunk: don't care size 2410282566 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2410282566 is not a multiple of the block size 4096
OKAY [ 1.012s]
writing 'zip' 1/1...
(bootloader) HOSD CL#695981
(bootloader) ERR lzipv1_init : Cannot read header len bytes
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_R
(bootloader) kpzF2
FAILED (remote: 99 RU_UNKNOWN_FAIL terrible mishap )
finished. total time: 2.048s
[One (M9) General] eknugt:
yesterday I had a problem with fastboot and RUU.exe

but finally I found this method it worked :good:

my phone has main v: 3.35.401.12

just you have to know the main v of your phone then choose the coorect rom and flas it as the following

1. For sake of being organized make a new folder on your desktop called "RUU" and make sure your phone has more than 30% battery otherwise RUU procedure wont work.

2. Download HTC sync manager from here and install it (this can help if RUU installer starts derping with USB connections etc : http://www.htc.com/us/support/softwa...c-manager.aspx

3. Download the RUU exe from here and put it in the RUU folder you created on the desktop: https://www.androidfilehost.com/?fid=23991606952597788

4. Download the rom.zip file from here and put it in the RUU folder on your desktop. File name needs to be rom.zip

5. Navigate to TEMP folder by typing %temp% in the search bar. If you can't find the temp folder this way then simply navigate to: C:\Users\PCname\AppData\Local\Temp

6. Select all folders you see there and delete them. If you get a file in use or skip message then please do so.

7. Go back to the RUU folder we created earlier and run the RUU exe file from step 3 as an admin. Give it a little time to load and once you are here don't press on next.

8. Copy rom.zip file from RUU folder and navigate to %temp% folder. Paste rom.zip file here: http://prntscr.com/a5gwae

9. Once copying is finished go back to the RUU exe window from step 7 and start clicking next until it prompts you to update. Click on update to 3.35.401.12.

10. During this procedure the phone will go on and off for a few times and after several minutes it will give the message that procedure has been finished successfully.
[One (M9) General] blksith0:
I'm going to try this, but first: how do I know the main v of my phone, I assume that's the firmware version?

I can't even get into an About settings page on my phone. I just want to undo everything I've broken so far, but I can't even get an RUU to work!

Where do I begin? How do I find out what firmware version I have first?

I may need to make a dedicated thread.
[One (M9) General] eknugt:
you can know the main version by Fastboot , just go to bootloader and connect the phone to pc then type this code

fastboot getvar all

all information will appear
[One (M9) General] rampsis:
0PJAIMG_HIMA_UHL_M60_SENSE70_MR_Orange_UK_3.35.61. 14_Radio_01.01_U11440792_95.00.51130G_F_release_47 2007_combined_signed_2_4.zip?????????? where I can download it?????? or TWRP backup????
[One (M9) General] Flippy498:
That's already explained here. You may want to re-read the OP and then to head over to my google sheet. ;)

Edit: I just noticed that you used fastboot for flashing. That won't work. It can't handle M9 RUUs since they're too big. You need HTC_fastboot. Page 1 explains where to find this modified fastboot version.

That won't work. You need to be in download mode if you want to use that command with the M9. The bootloader will only give you a bunch of errors.

Edit2:

That RUU can only be flashed with S-OFF since it's unofficial. If a backup for the mentioned firmware version isn't available on page 1 then we don't have any. You may want to contact llabtoofer's RUU service. A link can be found on page 1.
[One (M9) General] Ab.atrevido:
Everytime I try to find something for my specified phone, let it be custom rom or anything I suffer a lot. I can't easily find anything for my sprint variant. If I knew that I had to face this problem I would've never bought this variant. Recently I've been searching for RUU. ZIP stock rom for my phone and I couldn't find one not on any website. Only thing I found was ruu.exe in the official HTC website which won't help me.

I hope this post will catch someone's attention.

Thanks in advance :)
[One (M9) General] Flippy498:
There are some guides how to extract the zip files from the exe files here on xda. Although they might be written in sections for older HTC models you can still use them with M9 RUUs. I don't have direct link at hand since I'm writing with xda labs but I linked one of these guides in the Dev edition cnv thread which can be found in the q&a section.

Aside from that you might want to head over to the sprint specific M9 section here on xda. It can be found via the device search. As you already noticed this is the section for the international variant.
[One (M9) General] fediroth:
what is mine

advice?(bootloader) kernel: lk

(bootloader) product: htc_himauhl

(bootloader) version: 1.0

(bootloader) imei:

(bootloader) version-main: 3.35.401.12

(bootloader) boot-mode: download

(bootloader) version-baseband: 01.01_U11440792_97.00.51203G_F

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA10000

(bootloader) cid: HTC__031

this is my phone's info i can't install OTA

tell me error cache\recovery\block.map
[One (M9) General] Flippy498:
Looks like someone rooted that phone and didn't recover the ability to install OTAs on the way back to stock. Follow the instructions in my google sheet. It's up to you whether you want to use a TWRP backup or a RUU. Be aware that all data on your phone will be erased during the process.
[One (M9) General] harkavagrant:
a little help

so i am s-off super cid bootloader unlocked on stock developer edition (XX.XX.617.XX) and im trying to recieve the new nougat OTA and it wont take. it said if you want to recieve OTA's to look at your google sheet and I'm not seeing any information about it there not sure what I'm missing and any help would be appreciated