yashsingh1/xdaforums huggingface dataset:
[One (M9) General] Sneakyghost:
I have again tried to verify the unpacking of encrypted RUU's using two variants of the same 4.16.401.10 M8 RUU - one signed by HTC and leaked by someone, one signed by HTC and leaked by DJluisbento.

Both RUU's are signed with a different signature but are identical otherwise.

I have managed to extract most files using 7zip but some file always breaks. Different files for each package though.

This suggests the encryption cannot be circumvented, broken or otherwise overcome by 7Zip.

If it appears to work on these M9 RUU's it likely just appears so and might still contain corrupted files. The only way to prove that 7Zip can successfully and reproducible unpack encrypted M9 RUU's will be [MENTION=4118840]kmdm[/MENTION] fixing ruuveal and bruutveal to work with this, then do a proper decrypt and compare a 7zip unpack to the decrypt side by side.

I talked to the SunShine crew on IRC last night and they were also sceptical this works. Pointing out the unpacked files will most likely be corrupted.

Simply because there is so much skepticism and no solid evidence (a screenshot of a --seemingly-- full set of files does NOT count as evidence!) i strongly advise against flashing anything that has been taken from a RUU unpacked with 7Zip until there IS evidence this is OK.

Please wait for ruuveal to be fixed until creating anything firmware (OTA's seem to be encrypted as well now).
[One (M9) General] artur0588:
I have got the same partitions

system.img_00 838*859*760 byte

system.img_01 837*734*712 byte

system.img_02 834*883*696 byte

system.img_03 834*491*860 byte

system.img_04 447*460*536 byte

Merged system.img 2*511*478*168 bytes.

Linux converted system.raw 4*697*620*480, when open with linux reader on Windows or mount in Ubuntu we receive all system folders but most of them empty.

EDIT: added some screenshots
[One (M9) General] nkk71:
why is you're merged system img only 2*511*478*168 bytes.? mine is 3,793,430,564 bytes (which is the sum of all the system.img_xx)
[One (M9) General] :
Yup. Mine is 3,793,430,564 bytes as well. :)
[One (M9) General] artur0588:
May be i just write mistake, i think you are right. Did you manage how to extract all data from that image?
[One (M9) General] :
apppreload.img only contains customization files, Facebook_Client.apk and HTC_Club.apk.

My system.img doesn't have any priv-apps or framework files either.
[One (M9) General] crucky:
Guys can i help you anyway with my M9 ? just cant root it now is it possible without root to make a dump ?
[One (M9) General] :
If you are unlocked and/or S-OFF you can make a copy of your system partition using TWRP.
[One (M9) General] aos10:
so , what is the RUU ?

do i need to wipe all data on my device ?
[One (M9) General] danlat1415:
Has anyone been able to flash the 1.32.401.17 manually from an S-OFF, unlocked, rooted M9?

(watching an waiting before I try mine)
[One (M9) General] Electronic Punk:
No one will be able to do so because any device that is rooted has at some point had their system modified.
[One (M9) General] ceza_21:
How can I flash this on stock m9
[One (M9) General] Electronic Punk:
~Copy to your internal sd, boot to recovery and you should see options there.

I am sure there are better guides, but thats the short version.
[One (M9) General] danlat1415:
what a pain in the behind that is then...

so all rooted phones will have to go fully back to stock 1.32.401.8, then flash all consecutive RUUs to get the update.

Looks like I'll be waiting until there is an easier method sorted.

Why HTC, Why???

This is where the hard work and dedication of the XDA developers is greatly appreciated.
[One (M9) General] kangconsumer:
Do i need stock recovery to flash RUU.zip from extsd? On 2.8.6.4 beta from CT the recovery just reboots and does nothing
[One (M9) General] aos10:
Going back to stock meaning I have to format my entire device?

how should I know my stock version? Because as I know there is different versions to stock
[One (M9) General] Electronic Punk:
Or just flash a maintained custom ROm and they will do the work for you.

Comparing 15 and 17 and excluding all odex files, the following is a rough overview of what has been updated.

Quite a few libs and stuff too if that means anything, new boot.img too with some updated stuff in there. All good.

---------- Post added at 05:13 PM ---------- Previous post was at 05:12 PM ----------

You would flash a ruu from download mode, if the filename is right and its a fat32 external SD it should tell you to press vol up to go.
[One (M9) General] aos10:
custom roms ? this is getting harder and harder

custom roms have the same program as the stock ? how to update them if there new version ?

i think i stay on this update for a while until i know what i am doing

edit : this is the RUU i should use to return to stock ?

https://docs.google.com/uc?id=0B17smFr95pleMjhDVXVlTjlmX0U&export=download
[One (M9) General] Jonny:
0PJAIMG_HIMA_UHL_L50_SENSE70_hTC_Asia_HK_1.32.708.15_R1_Radio_01.01_U11440261_56.02.50306G_2_F_release_426879_signed.zip

Had a request for this RUU so here it is:

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

MD5: ffbc846db5eb7639ab54f774bf51c79f
[One (M9) General] Electronic Punk:
For WWE devices that is indeed the rom I would suggest.
[One (M9) General] magnum15:
How do i know if i have the international version of M9?
[One (M9) General] Jonny:
Your device will be himauhl
[One (M9) General] jauhien:
Cease being stupid please..
[One (M9) General] aos10:
i think he meant you will get an update with this name

OTA_HIMA_UHL_L50_SENSE70_HTC_Europe
[One (M9) General] Jonny:
Nope, I meant what I said. Getting updates with that name is a byproduct of having a himauhl device.
[One (M9) General] Adam182:
Ive been told in this thread that it would be ok to flash 1.32.401.17 onto my S-OFF, unlocked, rooted M9

http://xdaforums.com/one-m9/development/ota-1-32-401-15-firmware-noredtext-t3072571

- Adam
[One (M9) General] jauhien:
What? To flash the official OTA file into ROOTED hima M9? that's something fantastic, Dear Adam.. :)
[One (M9) General] Adam182:
I'm new to this game, im just wanting to know how to go about getting 1.32.401.17 onto my M9 - Adam
[One (M9) General] Sneakyghost:
You S-OFF? Then use my Firmware zips.

I just tested .17 and its fine. My device was an O2 device before (206) and i converted it to 401 with my FullWipe zip. However, whenever you use my Firmware, please be advised that it says full, yet does not include the system image. It is meant for people intending to download a custom ROM. So no need for system in the package.

Link: http://xdaforums.com/one-m9/development/firmware-t3068243
[One (M9) General] Jonny:
https://www.androidfilehost.com/?fid=96039337900114780

MD5: c6d28d52d009b2ad0e44eaeba77f4e3f
[One (M9) General] aos10:
noop question here

if i install any RUU here , the bootloader will be locked and i have to unlock it again ?

my device is Europe , is it gonna damage my phone if i installed the developer edition frameware ? what the advantage of the developer edition ?
[One (M9) General] Jonny:
Most of the answers could be found by searching... try it next time.

Bootloader stays locked, no it won't damage your phone, advantage is no bloat - same advantage as you get for flashing the .401 WWE RUU.
[One (M9) General] Joloxx9:
Sorry but I dont get this phone, can somebody tell me is that correct if I want to return to stock on s on. Unroot, flash ruu 1.32.401.8, flash stock recovery, and now I will be able to get otas or not? Sorry, maybe that's dumb question but before this phone I had nexus 4 and sgs2 and I have never ever got so many problems to go back to stock... Thanks in advance. I forgot my phone is standard wwe International bought in uk without any carrier etc
[One (M9) General] jauhien:
Just relock and flash RUU - then you'll be able to receive the next OTA.. again if you're S-OFF you may skip the relocking.. :)
[One (M9) General] jay_ntwr:
Thanks, I SunShine'd S-Off and got the firmware updated using fastboot and the .30 release you hosted. I used the htc_fastboot.exe just to be on the safe side because the first time I tried it w/ S-On I had all kinds of problems and was almost sure that I bricked my phone--luckily I didn't.

I knew it didn't work the first go around because I still had the .6 recovery after the firmware update. Now it's showing .30 so I'm good.

Quick question, so now my recovery is back to stock AND the firmware is updated and I'm running the same version of the system but since the firmware replaced TWRP, does that mean that OTAs will work again until I flash TWRP again? In other words, did the firmware fix the R/W permissions to R only when it flashed? Since I still have root, I figured I'd leave the stock recovery there just to see but figured I'd ask--you seem to know what you're doing with this m9. It seems like there is a lot of confusion on the threads about this so I thought I'd ask.

Thanks again.
[One (M9) General] clsA:
It's a new phone so we are all still learning.

If you restored the system.img and flashed the firmware that's the same as flashing the RUU

you should be able to get OTA as you are now.

Enjoy your Phone :)
[One (M9) General] jay_ntwr:
Totally cool! I didn't realize we were only just down the path. I'm guessing you're right that I should get the next OTA. I was surprised that I was still rooted though. I'm going to hold off and see if the next OTA works or not and I'll report back. If it goes smoothly, I'll install TWRP, surely I'll need to re-get root, then probably just flash the images moving forward as that was so easy to do. Thanks for the help, clsA.
[One (M9) General] drmoeed:
Hi ...

Does any one has 1.32.410.17 RUU ...

I can't take OTA after multiple tries ...

"System mounted to rewrite ... Reflash device to enable read only" ...

The famous error I receive when OTA being installed in Stock Recovery ...
[One (M9) General] jauhien:
There's no .401.17 RUU.. please lock the bootloader:

fastboot oem lock

Then .401.15 RUU , then take your so much desired OTA.. :D
[One (M9) General] drmoeed:
I'm S Off ...

Relocking bootloader is still mandatory ...

Coz I have flashed .15 RUU from Ext SD card already and failed to completely .17 OTA installation afterwards .......
[One (M9) General] jauhien:
Flash .401.8 RUU and try installing .15 OTA first..
[One (M9) General] Jonny:
There are 3 different versions of the .15 RUU - each has a different checksum so that's where you are running into problems.

1.32.401.15

1.32.401.15_R (later renamed to 1.32.401.15_R1)

1.32.401.15_R2

Flash the 1.32.401.8 RUU then OTA up from there.
[One (M9) General] aos10:
Question,is it possible to lock the bootloader while I am rooted?
[One (M9) General] Jonny:
fastboot oem lock
[One (M9) General] aos10:
thanks

the reason i asked this because if i am rooted when trying to update it boot to recovery mode

i think if i disable the bootloader i will not reboot to recovery mode and will be able to update
[One (M9) General] jauhien:
I see, lots of changes with this hima..

Before we used to type this command as:

fastboot oem lock :)
[One (M9) General] drmoeed:
I think it still is same ...

I juz did it ... :)
[One (M9) General] Jonny:
Lol! Damn autocorrect :p
[One (M9) General] Electronic Punk:
Anyone on rooted .17 seeing /system/ as read only?

Not sure if it is something I have buggered up? :D

EDIT: Turns out locked/relocked devices have this limitation.
[One (M9) General] blueberry60:
Is there any obligatory to flash hboot.zip before flashing 1.32.401.8 RUU if we're on 1.32.401.15?
[One (M9) General] Sneakyghost:
That one is, I believe, on Androidruu.com since April 8th. http://androidruu.com/getdownload.php?file=M9/0PJAIMG_HIMA_UHL_L50_SENSE70_hTC_Asia_HK_1.32.708.15_R1_Radio_01.01_U11440261_56.02.50306G_2_F_release_426879_signed.zip

People, there were some guys uploading many many files to androidruu around beginning of April.

Whenever you look for something, its worth checking there first. Should a file be missing, let me know and if you find a RUU.zip elsewhere that's not on androidruu.com, let me know too. I will gladly upload it to that host. The files on Androidruu are being available free of charge. Androidruu and Androidfilehost are from a long-time XDA member who is supporting us with his service on his own account and charges nothing. Still, maintaining his quite extensive server network is quite costly. He has donate buttons on Androidfilehost. So, if you feel like contributing, drop RUU's there or throw him a buck or two - it will be to our all benefit.

---------- Post added at 10:05 PM ---------- Previous post was at 10:03 PM ----------

The M9 doesnt use a hboot anymore. It uses aboot and to answer your question: I tried going forward and backward with the 206 RUU.zip's and it worked fine without the need of flashing the aboot first.
[One (M9) General] Behold_this:
Well said
[One (M9) General] clsA:
Both of the Developer Edition RUU's are still missing

0PJAIMG_HIMA_UL_L50_SENSE70_ATT_NA_Gen_Unlock_1.32.617.30_Radio_01.01_U11440221_62.05.50320G_F_release_427069_signed.zip

0PJAIMG_HIMA_UL_L50_SENSE70_ATT_NA_Gen_Unlock_1.32.617.6_R2_Radio_01.01_U11440221_59.04.50303G_2_F_release_426167_signed.zip
[One (M9) General] Sneakyghost:
Thanks mate. They haven't been uploaded to HTC's ROM site yet it seems. I'll shoot Alex these links. Leave them online for a bit so he has time to move them from the AFH servers to the androidruu.com servers.
[One (M9) General] clsA:
that's my stash they'll be their forever ;)
[One (M9) General] timnyce:
Has anyone who has s-off their m9 and converted over to WWE 1.32.401.8 - 1.32.401.15 gotten the lastest ota which is 1.32.401.17? Because I'm fully stock and s-off rooted and converted to WWE 1.32.401.15 but hasn't received any ota. So I'm wondering if something is wrong.
[One (M9) General] jureca:
It can convert M9 EU, a developer changing Mid and Cid?
[One (M9) General] Android The Greek:
Do we need to relock bootloader on at&t unlocked soff with .30 dev edition firmware
[One (M9) General] Jonny:
fastboot oem writecid HTC__J15

Seems J15 gets the updates first.
[One (M9) General] timnyce:
oh snap mate thanks man it worked lol.
[One (M9) General] jauhien:
Yeah.. we're privileged.. :) Mirage of Dubai city.. :D
[One (M9) General] Nima78600:
Hi, I am s-0ff and supercid ,and converted my phone to Europe version using 1.32.401.8 RUU.zip. After flashing this i could not receive .15 OTA update till I changed cid to HTC__001.

Now again change cid to HTC__J15 to receive .17 OTA update, But after downloading OTA , installation failed.

Any suggestion please?what's wrong?
[One (M9) General] timnyce:
Does anyone have the stock recovery Img file for 1.32.40.17 please? Or can I use stock recovery img file from 1.32.401.15?
[One (M9) General] Nima78600:
I think both recoveries are the same. But if you want you can get it by extracting firmware inside the 1.32.401.17 ota file.
[One (M9) General] hamdir:
actuall __J15 is not exclusive to UAE ;) anyway it might mean the bug fixes relates to this region
[One (M9) General] augie7107:
Trying to flash 1.32.617.30 RUU, "Can't open zip 0PJAIMG.ZIP"

Unlocked and S-OFF

How to remedy?
[One (M9) General] Jonny:
No it doesn't, it just means HTC rolls out the update to certain CID numbers before others. If it was regional updates it wouldn't be a WWE .401 release.
[One (M9) General] Nima78600:
I think I had the same problem . Because the first letter is zero not 'O'

It should be renamed to 0PJAIMG.ZIP
[One (M9) General] augie7107:
Thanks, but that's not it. I have the zero in front of the name in adb folder. Inadvertently typed "O" in posted question.
[One (M9) General] Nima78600:
Don't flash via fastboot as it didn't work for me. Place the zip file into your ext sd card and boot your phone to download mode. It will be flashed automatically
[One (M9) General] kilp12:
Yes I'm having the same issue. Need help as well.
[One (M9) General] Jonny:
Reflash the .8 RUU and OTA up from there, CID HTC__001 gets a different version of .15 I think so it has a different checksum, hence the fail message when you used HTC__J15 to get the .17 OTA.
[One (M9) General] drmoeed:
I also have M9 of CID HTC__J15 ...

I did flash stock 1.32.410.8 RUU from the OP by placing that in external SD (renaming it to OPJAIMG.zip) ...

before it i flashed the stock 1.32.410.8 firmware (which swiped the internal storage) ... Then i recieved the .15 OTA (57mb) and then .17 OTA (92.3mb) ... Whole process went on smoothly ...

Here's the firmware link ...

https://www.androidfilehost.com/?fid=96039337900114680
[One (M9) General] drmoeed:
Here are some screen shots ...

I'm also S Off and with supercid ...
[One (M9) General] BR7fan:
They have AT&T ruu with latest updates.
[One (M9) General] jauhien:
Yeah, they fixed battery drainage and heating issues - only for our desert region.. :)

P.S. Kindly note I do not use any sleep/save/extreme/etc - I need always online and 100% performance..
[One (M9) General] drmoeed:
Here's mine battery stats for today ... After updating to .401.17 ... Remarkable improvement ...

(Its with full on usage ... wifi, autosyncing, gps, lte, youtube streaming etc ) ...
[One (M9) General] aos10:
there new update for T mobile devices ?

about 333 mb

i am still on 1.32.401.15 , don't wont to reset and update then root then reset again

what does the new update do ?

what does the .17 update do ? it suppose to fix the camera a bit , but i can't see the difference in my friend device
[One (M9) General] Rydah:
Latest version for T-Mobile is 1.32.531.33 which was released 4/17/2015 at 12:50AM. 88MBS in file size.
[One (M9) General] kilp12:
Hey thanks a lot mate this worked flawlessly. :)
[One (M9) General] Nima78600:
Thanks, I'll try it again. But my question is why can't receive. 15 update after flashing 1.32.401.8 Ruu with supercid? Before I had M7 and never had problem receiving OTA with supercid.
[One (M9) General] Jonny:
Because OTA's roll out via CID number. HTC's servers seem to be set up to send first to CID HTC__J15.

Dont get too hung up on SuperCID either - it's called that because it allows you to flash most things without failing on the CID check, and at one point writing SuperCID SIM unlocked the device (doesn't anymore) - it has no bearing on at what point in the roll out process you get OTA's.
[One (M9) General] Nima78600:
Thanks a lot mate, I completely agree with you. I am just confused why with my M7 device I had never problem as it always was supercid and I never needed to change that. Additionally, as I know and check META-INF in any OTA update file, supercid is in the cid list, that's why before always I received OTA.

---------- Post added at 03:27 AM ---------- Previous post was at 02:58 AM ----------

Actually while trying to flash .17 OTA update I get this message ''abort("/dev/block/bootdevice/by-name/system has been remounted R/W; reflash device to reenable OTA updates''

What does it mean?
[One (M9) General] killeeeeer:
I have a Taiwan's variant of the m9 and its still on stock since i got it 1.32.709.14 the phone has overheating and camera problems , i have yet to get a update and i live in Israel. do you recommend i flash different ruu. im s-off by the way
[One (M9) General] frankcck:
401WWE would be good for you, if you only wanna use stock ROM.

Concerning about camera performance, go check [MENTION=1144067]hamdir[/MENTION] 's thread and thread "photo taken with M9", you will get great photo then.

hTc one M9 LET THEM STARE
[One (M9) General] killeeeeer:
wwe401 is

i assume ?
[One (M9) General] vtotheinay:
this is my first time considering S-offing an htc phone. ive had tons before but always root/unlocked bootloader only. I wish this wasnt such a foreign language to me hahah. i am on a sprint m9 with software version 1.32.651.30. based on numbers it appears there are newer updates already with the 0PJAIMG_HIMA_UHL_L50_SENSE70_HTC_Europe_1.32.401.1 5_R1_Radio_01.01_U11440261_56.02.50306G_2_F_releas e_426891_signed.zip file. going to have to do some research to learn this stuff this weekend. if i am going to run viper rom is it necessary to get s-off? i do remember on my M7 i struggled to update to newer bases of viper rom because my radio/firmware were behind but i wasnt s-off to do an easy flash of those files.
[One (M9) General] aos10:
i am talking about this update
[One (M9) General] Behold_this:
That's Sprint, not T-Mobile.
[One (M9) General] aos10:
oh,, thanks

but why Sprint got the update before the international ?

this is really annoying

i had HTC 8X , and we got the 8.1 update after 10 month after lumia 920 and other lumia devices

version HTC 8X got the update after 4 month of lumia

the intentional always the last device will get the update

this update is to fix problems...why make it timed exclusive ?
[One (M9) General] hamdir:
the international M9 with 1.32.401.15 almost surely contains these fixes already (as these were the list of changes in the .15 update)
[One (M9) General] dexterxda:
Why the different numbering then? Sorry I'm new to HTC but with Samsung and Sony, the same firmware number is used in all market, if there's a new and higher number it usually means it's a new firmware.
[One (M9) General] Nima78600:
Htc phones firmware version are not like other android phones and any region or carrier has different firmware number, so higher number doesn't mean higher or newer software version.
[One (M9) General] dexterxda:
Thanks I understand now ;) too bad then, was looking forward to some improvements on my international m9.
[One (M9) General] Nima78600:
Unlocked Europe version of Htc phones usually get update first.(x.xx.401.x based firmwares)
[One (M9) General] Sneakyghost:
Hey [MENTION=2588346]djluisbento[/MENTION] would you mind trying to get your hands on an actual EXE for international 401 RUU 1.32.401.17?

Just for putting it up on androidruu.com for archiving purposes...

Thanks bud.
[One (M9) General] MPooZD:
how temperature is ? is it under 38C ?
[One (M9) General] frankcck:
For your convenience, https://www.androidfilehost.com/?fid=95916177934551582. Credits to [MENTION=4860093]SoLdieR9312[/MENTION]
[One (M9) General] Duncan1982:
I changed my cid to supercid 11111111 and now when I type fast boot reboot oemRUU it doesn't reboot into the black screen, instead a bunch of info appears.

Any help would be much appreciated as I'm trying to update to 1.32.401.17 from 1.32.206.15.

Thanks

Graeme.
[One (M9) General] Nima78600:
Firs off all the command is "fastboot oem rebootRUU" to go through the blach screen

Seccondly, which version would you like to flash on your phone?​
[One (M9) General] Duncan1982:
Sorry my bad on the command its 04:53 here in Scotland need more coffee lol

So that obviously works now that the command is as it should be.

So when I type Fastboot flashzip 1.32.401.17-firmware-noredtext.zip the picture below is what I get.

Yes I have S-Off and unlocked.​
[One (M9) General] Nima78600:
The command for flashing firmware is:

"fastboot flash zip firmwarename.zip" firmwarename is the name of your firmware

You can rename your "firmware 1.32.xxxxxx" to "firmware" and then type "fastboot flash zip firmware.zip"

Also usually you need to type this command again, because first time it doesn't flash completely.
[One (M9) General] Duncan1982:
Thanks for you help mate, and this may help others, I am now getting the Error code 7, see picture.
[One (M9) General] Nima78600:
This message says your cid doesn't match.

Are you sure your cid is "11111111"
[One (M9) General] Duncan1982:
Hey Nima my lesson is don't try things when your half asleep.

First I was getting commands all backwards , which I should know better.

This was my main issue and I corrected the CID which I was trying something else prior to posting and forgot to revert back.

The End result was " Success" I am now on 1.32.401.17.

This is testament to the support on XDA cheers dude :)
[One (M9) General] Nima78600:
I completely agree with you. Happy to see you are successful...