yashsingh1/xdaforums huggingface dataset:
[One (M7) Android Development] :
Get prop ro.cid is that an adb command ? Lol how would I go about executing it
[One (M7) Android Development] iElvis:
Where does it say 1.28? If it says 2.17 on bootloader, you're upgraded.
[One (M7) Android Development] MrGriffdude:
Where it says OS

Sent from the basement where I reside...

(IT'S MY MOM'S)
[One (M7) Android Development] descenpet:
you are seeing os 1.28 and hboot 1.54? you must have flashed that zip with wrong android-info

---------- Post added at 11:50 PM ---------- Previous post was at 11:49 PM ----------

getprop in 1 word not get prop

you can use in adb shell or terminal
[One (M7) Android Development] MrGriffdude:
Yeah I am but I have supercid and s-off I also modified my hboot to get rid of the red lettering

Sent from the basement where I reside...

(IT'S MY MOM'S)
[One (M7) Android Development] descenpet:
i bet you flashed the red text removing hboot from baadnewz.
[One (M7) Android Development] MrGriffdude:
Yes that's what I did

Sent from the basement where I reside...

(IT'S MY MOM'S)
[One (M7) Android Development] descenpet:
ya he used android-info from old firmware and you got stuck with old version number displayed. some said you can't flash anything in ruu mode with that. read sneaky's red text removal thread for more details.
[One (M7) Android Development] iElvis:
There is a way to fix it by dd. Several people have done it.
[One (M7) Android Development] descenpet:
ya i saw people tring to fix that there. that's why i ask him to read details there.
[One (M7) Android Development] MrGriffdude:
Would you recommend that i switch back to the stock hboot?

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

Are the answers found in this thread?
[One (M7) Android Development] iElvis:
Follow the instructions in the other thread. Sneaky was the one who figured it out.
[One (M7) Android Development] descenpet:
apparently you have to dd back stock 1.44 hboot then flash 1.54 with correct android-info. just read last few pages of other thread.
[One (M7) Android Development] mettleh3d:
On TmoUS with S-OFF with CID TMOB010. Could someone please direct me towards instructions for TmoUS and mike's latest 2.17 firmware? It's all very daunting.

Many many thanks.
[One (M7) Android Development] MrGriffdude:
Hey man thanks a lot with helping me sort this out so jsu to be sure when I boot into bootloader mode OS should read 2.17 correct?
[One (M7) Android Development] descenpet:
that should be correct.

---------- Post added at 12:47 AM ---------- Previous post was at 12:41 AM ----------

you decided to do it in the end :p lol

there are several people who posted what they did. what makbil posted yesterday was quite clear so i will just link it.

http://xdaforums.com/showpost.php?p=42586614&postcount=25330

about cid and mid matching, if you use supercid, you don't need to match any. just go supercid, flash and go back to original if you want.

if you don't want to change it at all, edit android-info.txt to match your cid and mid.
[One (M7) Android Development] sean.trinidade:
See my comment above - you need to flash the firmware.zip TWICE for it to work!
[One (M7) Android Development] mike1986.:
I didn't even know it. Thanks for the info!
[One (M7) Android Development] edgarf28:
Ah thanks!! Flashing it twice works indeed! :D
[One (M7) Android Development] :No-Frost::
This did the trick!!!

First time system required a flush, second attempt flashed the firmware...
[One (M7) Android Development] m3dd0g:
I tried twice but still this

C:\fastboot>fastboot flash zip firmware.zip

sending 'zip' (37873 KB)...

OKAY [ 3.131s]

writing 'zip'...

(bootloader) adopting the signature contained in this image...

(bootloader) signature checking...

FAILED (remote: not allowed)

finished. total time: 8.053s

modelid and cidnum are matching
[One (M7) Android Development] Badr_75:
Thanks Mike !

So if :

- I do a backup in CWM - Copy on my desk

- Relock - Flash Firmware - Re Unlock - Reinstall CWM

- Restart Phone firts time - Copy backup from my desk

- Restart recovery and restore backup

All will be ok ?

(Here sinon 2010, but never flash firmware...Yes I'm crazy)
[One (M7) Android Development] edgarf28:
Just for the reports:

The new kernel version is: 3.4.10-gb91aaea

The new baseband version is: 4A.14.3250.13_10.33.1150.01L
[One (M7) Android Development] :No-Frost::
Ok, radio flashed and rom still present.

I will do a backup with titanium and then I will unlock the bootloader again to flash the new recovery.

By the way, WiFi is not working now :( it stays at "activating" but never loads
[One (M7) Android Development] m3dd0g:
Flashed succesfully thx to everyone for helping
[One (M7) Android Development] Electronic Punk:
Just remember that relocking will wipe your device and sdcard.
[One (M7) Android Development] mike1986.:
thanks!
[One (M7) Android Development] mike1986.:
Are you 100% sure?
[One (M7) Android Development] Electronic Punk:
Well I can check again, but either locking or unlocking wiped the **** outta mine ;s
[One (M7) Android Development] mike1986.:
Including virtual sdcard?
[One (M7) Android Development] Hopie:
:rolleyes: this firmware is only for stock rom or for customrom, too :confused:
[One (M7) Android Development] Electronic Punk:
Yeah having got back into recvoery all I have is /clockwork/ and /0/clockwork

Trying to sideload the rom again now as it won't boot yet.

First one crashed, aroma ;p
[One (M7) Android Development] :No-Frost::
I've relocked the bootloader and I still have the rom and the content of the internal SDCard...

However, I'm afraid that unlocking the bootloader will erase everything
[One (M7) Android Development] mike1986.:
For custom ROMs. You don't need to flash it if you are on stock ROM and applied stock OTA.
[One (M7) Android Development] edgarf28:
My Wi-Fi is also not working anymore after flashing the firmware.zip :(

I think it's only compatible with the newer 1.29.401.12 firmware....
[One (M7) Android Development] shrubz:
Damn. CID is H3G_001, guess I'll have to wait for S-Off. !
[One (M7) Android Development] mettleh3d:
I knew I would succumb and was just fooling myself for a little while -_-

Yeah, I've makbil's notes in another tab. Change CID to 111111? That seems like the safest method from what I've gathered. Thanks buddy.
[One (M7) Android Development] NUTNDUN:
The cid for my att is CWS__001
[One (M7) Android Development] mettleh3d:
I just learned how to check CID or MID. <- noob.

using adb, type:

adb reboot bootloader

fastboot getvar cid

fastboot getvar mid
[One (M7) Android Development] :
Is I found out the problem. It was the charging. It seems that my case and device cause it to get hot while charging and using the phone so it must of been throttling cause of heat. I let it cool off for a little while and then I played and it was much better, so quick tip to everyone haha.
[One (M7) Android Development] dark2099:
Does the bootloader need to be relocked for flashing the 2.17 firmware like it says in the bottom of the first post for the 1.29 firmware? Thanks!
[One (M7) Android Development] mettleh3d:
Thanks all for the help, makbil, mike, descenpet. CID changed to 11111111, firmware flashed, custom recovery works!

last question: In my bootloader, there's no longer an option to reboot to recovery. Normal? I ask because how else to boot to recovery during a bad rom/aroma/twrp issue.
[One (M7) Android Development] godfirst:
There's an app cidgetter in the market that will show you cid as well.
[One (M7) Android Development] Mangtas_666:
What firmware should I flash on my device modelid PN0712000 CID_001..any advice?
[One (M7) Android Development] descenpet:
there is only 1 new firmware out here.

you just have to use supercid or edit android-info.txt to match yours if you can't flash it as it is.

---------- Post added at 02:18 AM ---------- Previous post was at 02:17 AM ----------

nope. you don't need to relock with s-off

---------- Post added at 02:19 AM ---------- Previous post was at 02:18 AM ----------

but it will read old cid from mmcblk0p19 if you have 11111111 in hboot.
[One (M7) Android Development] Barsky:
I am on an ATT with modelid: PN0712000. I am S-OFF I am supercid, but I did not change mmcblk0p19, which still read CWS__001.

My understanding is that I don't need to change mmcblk0p19. SuperCID shown in the bootloader is all it requires.

With superCID and the modelid PN0712000 do I use x.xx.401.x - World Wide English (WWE), even though that lists the modelid as PN0710000?

And I do Not have to edit the android-info.txt file?

This is not one I want to screw up on :)

Thanks

PS. I started looking at the thread to change the MID, but if I don't need to , I rather not.
[One (M7) Android Development] tmlhodge:
I was s-off and unlocked, am on at&t and changed the android info to the pn0712 number and replaced a cid with CWS__001..

Flashed fine had to do it twice like it said. all is well. do the custom firmware from the second post (The 2.17.401......)
[One (M7) Android Development] Barsky:
ok, got it. I somehow managed to miss "cidnum: 11111111" in that post. D'oh.

Thanks a lot.

---------- Post added at 06:17 PM ---------- Previous post was at 05:52 PM ----------

So all I changed was the modelid in the android.info.txt and it took 2 tries as expected. What I didn't expect was to still have my custom rom (trickdroid, atm) still there, defaulted out.

Thanks again and thanks to mike for the great work, as always.

Just booted recovery. how is trwp still here? :) I am indeed on bootloader 1.54.0000 instead of 1.44.0000 so that updated. I already had the radio up to .24.
[One (M7) Android Development] descenpet:
mike's package doesn't contain system and recovery so what you have will stay. it's normal. :) if you removed dzdata, even your data will stay and will seemed just like just a reboot that didn't touch anything. of course things like touch will be alot better :D
[One (M7) Android Development] Barsky:
Ah yes, it is the custom one. Well how damned convenient. Thanks and belated congrats on joining the ARHD RUs
[One (M7) Android Development] descenpet:
haha thanks. it's already like 10 days+ :p
[One (M7) Android Development] Barsky:
I know, but when it happened was when the arhd thread was growing at ridiculous rates and I just didn't think it needed yet another message saying congrats :)
[One (M7) Android Development] Arkangel786:
Hi guys,

If I understand correctly: If I remove all the dzdata files from the firmware zip then my sdcard won't get wiped.

Isn't that modifying the firmware? Or is that nothing to do with the actual hboot?

I know if you flash a modded hboot you must flash an original unmodded one before you can go back to s-on.

Thanks
[One (M7) Android Development] descenpet:
this firmware package has many parts, like hboot, touch panel, radio and so on. dzdata files are one such part. you are just choosing not to install that part if you remove it and that won't affect other parts in any way.
[One (M7) Android Development] Arkangel786:
Does this also update the Radio? I only ask because there is a radio.img contained within this file
[One (M7) Android Development] descenpet:
iirc, that should be full package+fastboot.exe and a batch script for those who can't do manually.
[One (M7) Android Development] Mobzter:
was wondering if someone could help me out a little...

ok so im S-ON but apparently it states if cid and mid matches then that should be fine?

so if mine shows cid as HTC__001 & mid as PN0710000 then i am ok to go ahead with firmware.zip under x.xx.401.x - World Wide English (WWE) ??

if so i keep coming to some error like -

(bootloader) adopting the signature contained in this image...

FAILED (remote: 99 unknown fail)

or similar..

ive tried the altering the android text file to match my cid & mid specifically too (dunno if it was necessary or not) but could never slip it back into archive as winrar keeps stating archive is corrupt (no compression & downloaded multiple times - completed properly 100%), ive tried using the firmware with the batch file which auto does it but to no avail.. tried other zip file quoted on i believe page 42 but similar error.

however, i did look up on google (although was for htc one x) but someone who had same situation but managed to resolve by fastboot oem lock.

not to sound stupid and yes i know its in the instructions too, but im sure i read on this thread couple of times where people have said that it is not necessary to lock bootloader? or have i just completely took it the wrong way?

if that is the solution then what exactly happens after with my bootloader status? would i need to unlock again and end up losing everything?

im just new to the htc side of things and appreciate all the help that can be given.

much appreciated guys.. thanks!
[One (M7) Android Development] descenpet:
new firmware won't work without s-off. the zip is unsigned. you need signed zip to flash on s-on. and no, we can't sign it ourself. only htc can do that. we don't have the key necessary to sign it.
[One (M7) Android Development] nyamoV2:
i keep getting this error, any idea why? all i did was mod the modelid number

C:\android\adt-bundle-windows-x86_64-20130522\sdk\platform-tools>fastboot flash

zip firmware.zip

error: cannot load 'firmware.zip': Unknown error

C:\android\adt-bundle-windows-x86_64-20130522\sdk\platform-tools>fastboot flash

firmware.zip

unknown partition 'firmware.zip'

error: cannot determine image filename for 'firmware.zip'

i should mention that i'm s'off and have supercid
[One (M7) Android Development] descenpet:
did you modify the downloaded firmware.zip, other than renaming? how did you do it? if you extract everything and rezip with compression, it is known to cause problems like that.
[One (M7) Android Development] nyamoV2:
i use 7zip, renamed the file, then opened it up and did a mod in the android txt and saved everything.

so change to firmware.zip

open up in 7zip and change model id

save all changes

tried to flash...

don't know what i did wrong
[One (M7) Android Development] descenpet:
i use 7zip as well but had no such problem. did you just right click the zip, open archive and drag/drop to that window? or did you extract and rezip?
[One (M7) Android Development] nyamoV2:
right click an open, mod info txt, save and update archive
[One (M7) Android Development] descenpet:
hmm. that's weird. not sure what is causing problem. what error do you get if you try without modifying the zip?
[One (M7) Android Development] nyamoV2:
same error, apparently its not finding my zip file... hmm put it in my sdk tools folder should've worked just as far as i know
[One (M7) Android Development] Mobzter:
just thought i would mention it, dont know if it makes difference or not but maybe your still entering the second one? who knows, but

first u wrote

fastboot flash zip firmware.zip

then you wrote

fastboot flash firmware.zip

also descenpet thanks for that piece of info, helped alot. shame i read the wrong post and flashed the original (i believe), then saw the custom later when i realised it was successful the first time but nothing changed lol. anyway managed to update to custom firmware and everything indicates that its changed. also just flashed the custom recovery which allows touch too. only thing is when i reboot normally after htc screen it goes black.. am i required to flash rom again or something?

much appreciated!!
[One (M7) Android Development] nyamoV2:
Yea my bad on that but it's the fact that adb doesn't even find the zip file that I'm stuck on. Tried a fresh dl renaming the zip when saved. mod and no mod I have no luck. Right now I have an untouched file sitting in my platform tools folder with no luck still. also tired to pull the txt file out of the zip and edit and replace the old txt file with no luck. I'm not new to flashing RUU's but I have no idea why this custom one keeps failing
[One (M7) Android Development] Mobzter:
maybe you can take a look at this batch file which auto does it. although took the firmware out the "fastboot" folder. you should be able to place yours within there (name it firmware.zip) and try that. just extract it to like C drive. have a look at the way the batch file does it, best to double check yourself cause i wouldnt want to be responsible if something goes wrong.

unfortunately cant remember which thread i got it from so not sure who deserves the credit for the file :rolleyes: if anyone knows please inform me.. thanks!!
[One (M7) Android Development] Mobzter:
nevermind - looks like black screen was just me having to install rom again :D
[One (M7) Android Development] clsA:
[MENTION=1631739]mike1986.[/MENTION] ..any chance I can get the firmware.zip for AT&T 1.26.502.12 from the RUU designgears posted last month

Here >> http://www.androidfilehost.com/?fid=22964708692722204

I have the decrypted file's from here -> http://www.androidfilehost.com/?fid=13858035414129967473

is their a way to use those ?
[One (M7) Android Development] nyamoV2:
thanks for everyone's help. stupid solution for me, i forgot when i had to reformat my hdd i never turned on file extensions for all files. kept failing due to a wrong name on the zip.... amazing what a nights sleep can do
[One (M7) Android Development] rloup:
Hallo,

is ther a way to get tmo firmware.zip from 1.29.111.11 (german)? If I click in the first post, there is only a mark that ther is no such file.

Please I need the file, because I've made a fault and have tried to install the wrong file!!

Thanks
[One (M7) Android Development] Isotopes:
Here another link -> 1.29.111.11.zip
[One (M7) Android Development] spacemoneky:
Does this work with a supercid rogers device
[One (M7) Android Development] ataf:
To beware of problems need to know if this contains modded hboot, i don't think so due to red warning, but i am asking anyway for being safe
[One (M7) Android Development] descenpet:
that is original
[One (M7) Android Development] mimicuk:
i have tried twice with relocked bootloader and i always get this....

C:\fastboot>fastboot flash zip firmware.zip

sending 'zip' (1005598 KB)...

OKAY [ 39.219s]

writing 'zip'...

(bootloader) signature checking...

FAILED (remote: 12 signature verify fail)

finished. total time: 161.087s

Am i doing something wrong?
[One (M7) Android Development] godfirst:
No modded hboot included.

---------- Post added at 04:24 PM ---------- Previous post was at 04:22 PM ----------

Are you trying the new 2.17.401.1 firmware? Did you fastboot rebootRUU?
[One (M7) Android Development] Android The Greek:
Did you do fastboot oem lock to relock?
[One (M7) Android Development] mimicuk:
no i relocked the bootloader through Hasoon toolkit
[One (M7) Android Development] godfirst:
Depending on what version your trying a relocked bootloader isn't necessary.
[One (M7) Android Development] mimicuk:
I'm trying x.xx.401.x - World Wide English (WWE)

---------- Post added at 09:37 PM ---------- Previous post was at 09:34 PM ----------

Tried agin and still get

C:\fastboot>fastboot flash zip firmware.zip

sending 'zip' (1005598 KB)...

OKAY [ 39.222s]

writing 'zip'...

(bootloader) signature checking...

FAILED (remote: 12 signature verify fail)

finished. total time: 161.089s
[One (M7) Android Development] mindfever91:
Did you modify the firmware.zip on a Mac to delete the .dzdata files? Because when compressing, OS X alters the .zip in some way that renders it unusable. Use the firmware.zip that iElvis posted some pages ago instead, did the trick for me.
[One (M7) Android Development] mimicuk:
I dont have a mac i did it in windows,

I download the rom and named it firmware.zip
[One (M7) Android Development] nugzo:
This!

Are you sure you typed fastboot oem rebootRUU first?

When you type the last command, fastboot flash zip firmware.zip, your phone shouldn't be showing the bootloader screen, it should show a black screen with white HTC in the middle. If you dont see that then you didnt get a successfull fastboot oem rebootRUU first.
[One (M7) Android Development] mimicuk:
Tried it wth bootloader unlocked and i get

C:\fastboot>fastboot flash zip firmware.zip

sending 'zip' (1005598 KB)...

OKAY [ 39.212s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) zip info parsing...

FAILED (remote: 24 parsing android-info fail)

finished. total time: 53.973s
[One (M7) Android Development] godfirst:
That seems like the issue. Make sure your in ruu to flash.

---------- Post added at 04:48 PM ---------- Previous post was at 04:46 PM ----------

What did you edit? I can edit it for you and upload you another copy if you'd like.
[One (M7) Android Development] mimicuk:
Yes this is what i did

---------- Post added at 09:53 PM ---------- Previous post was at 09:49 PM ----------

this is the full script i ran

C:\fastboot>fastboot oem lock

...

(bootloader) Lock successfully...

(bootloader) mipi display off

(bootloader) mipi_dsi_cmds_tx_ext

(bootloader) pm8921_vreg_disable function, vreg_id = 38

(bootloader) pm8921_vreg_disable function, vreg_id = 1

(bootloader) TZ_HTC_SVC_DISABLE ret = 534642044 (0x1FDDFD7C)

(bootloader) Use PSHOLD to reset device.

FAILED (status read failed (Unknown error))

finished. total time: 1.160s

C:\fastboot>fastboot oem rebootRUU

...

(bootloader) Start Verify: 3

OKAY [ 0.040s]

finished. total time: 0.040s

C:\fastboot>fastboot flash zip firmware.zip

sending 'zip' (1005598 KB)...

OKAY [ 39.214s]

writing 'zip'...

(bootloader) signature checking...

FAILED (remote: 12 signature verify fail)

finished. total time: 161.085s

C:\fastboot>
[One (M7) Android Development] nugzo:
What phone do you have? Could you run fastboot getvar all and post the outcome? delete your IMEI first ;)
[One (M7) Android Development] mimicuk:
(bootloader) version: 0.5

(bootloader) version-bootloader: 1.44.0000

(bootloader) version-baseband: 4V.13.3231.27

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.28.161.7

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: SH34NW902796

(bootloader) imei:

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0710000

(bootloader) cidnum: VODAP001

(bootloader) battery-status: good

(bootloader) battery-voltage: 3876mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

getvar:all FAILED (status read failed (Too many links))

finished. total time: 0.050s
[One (M7) Android Development] spacemoneky:
Does this work with a supercid rogers device. can someone confirm
[One (M7) Android Development] Android The Greek:
Try changing cid to HTC__001
[One (M7) Android Development] mimicuk:
how do i do that?
[One (M7) Android Development] nugzo:
fastboot oem writecid HTC__001 (2 underscores)

Or you could try fastboot oem writecid 11111111 (8 1's)
[One (M7) Android Development] mimicuk:
Do i have to unlock the bootloader because i did what you said and i get

C:\Android>fastboot oem writecid HTC__001

...

(bootloader) [SD_ERR] The project does not support SD card

(bootloader) E0902910 E0902E20

FAILED (status read failed (No such file or directory))

finished. total time: 0.000s
[One (M7) Android Development] nugzo:
1 second checking mine to verify.

---------- Post added at 05:09 PM ---------- Previous post was at 05:07 PM ----------

No mine was fine being locked. Are you S-Off?
[One (M7) Android Development] mindfever91:
Of course you have to be bootloader unlocked, because the CID gets written to it.
[One (M7) Android Development] mimicuk:
no
[One (M7) Android Development] nugzo:
Please read OP instructions before wasting everyones time..
[One (M7) Android Development] mimicuk:
Unlocked bootload and still get the error changing the cid
[One (M7) Android Development] nugzo:
No you dont, i just tested it to verify when he asked. I fastboot oem lock and rebooted, it shows locked but fastboot oem writecid changes CID just fine. You gotta be s-off though

---------- Post added at 05:15 PM ---------- Previous post was at 05:14 PM ----------

Doesn't matter what you do it's not gonna work until you read the instructions and comply with the prerequisites. S-OFF is a must for this firmware, it's not signed.