yashsingh1/xdaforums huggingface dataset:
[One (M7) General] alray:
Your firmware is 6.07.1540.2. You can not change firmware to x.xx.401.x with s-on and if you flash a x.xx.401.x software and you keep the firmware to 6.07.1540.2, you wont be able to take any ota updates. Firmware and software version

must

match to install ota updates. S-off is the only way to fix this botched conversion. Or you'll have to use custom roms only.
[One (M7) General] :
If he is S-On, how did his device end up with dev edition firmware ? :/
[One (M7) General] alray:
probably second hand device and previous owner messed it
[One (M7) General] mr_gem:
Hello [MENTION=4654136]alray[/MENTION] , right now I'm using ARHD rom 90.1 and can I flash the twrp backup of this 7.17.1540.7 over this ? My bootloader is unlocked.
[One (M7) General] yatindroid:
without S Off

Your current situation don't support

You can go back 401 system only if you have 7.xx.401.x firmware or ruu but that also be modified but much more risky

---------- Post added at 11:36 PM ---------- Previous post was at 11:32 PM ----------

you need 7.17.1540.7 firmware to work that backup boot properly
[One (M7) General] laedri:
i bought this device from store and made all changes myself. i used only fastboot utilities to mess it up. :)
[One (M7) General] :
Instead of being rude to the guy who is trying to help you.

You should tell us EXACTLY what you did, before you end up with this software combination on your phone.

What fastboot utilities did you use ?

Because to everyone's knowledge over here, you can't just flash any mismatch firmware over an S-On device with mismatch CID or MID than the firmware's.

It will give an error and exit. As simple as that.

Your device has EU version CID and MID and your firmware is of DEVELOPER EDITION.
[One (M7) General] laedri:
there is no rudeness here, it is just your perception i think. i just emphasized, there must be some wrong knowledge that his assumption based on. whatever, i am sorry if it is perceived as rudeness by him. i dont remember steps to get this weird combination, i would happly share it if i could remember. i just know that, i applied previous ota s without any issue until now. (i think previous ota s supports my cid). now i am trying to change mid-cid firmware and try to catch right combination. Thanks everybody who tries to help community.
[One (M7) General] :
Only option right now to make your combination right is by achieving S-OFF with sunshine.

Then you can change CID/MID or flash any firmware you want.
[One (M7) General] laedri:
I think so [MENTION=5401235]abdulwakil[/MENTION] , i just did what you are suggesting, it is updating now (it is about %90 and will not give error inshallah) :good:

i am not sure if it worth $25 :)
[One (M7) General] :
Trust me, achieving S-OFF right now is worth every penny.
[One (M7) General] 85dba:
Everytime get "failed" message

Hi! I'm trying to flash this, but constantly getting "failed" on TWRP, tried with 2.6.3.3 and 2.8.4.0, uploaded by adb push to /sdcard and nothing. Tried to flash via fastboot (on mac) and get the file size error when trying to flash system. Any help? I've supercid, and htc one 0712000, unlocked bootoloader, S-OFF. Thanks!
[One (M7) General] mr_gem:
version: 0.5

version-bootloader: 1.57.0000

version-baseband: 4T.28.3218.04

version-cpld: None

version-microp: None

version-main: 6.07.1540.2

version-misc: PVT SHIP S-OFF

serialno: HT38WW900165

imei: 354439056801436

meid: 00000000000000

product: m7_ul

platform: HBOOT-8064

modelid: PN0712000

cidnum: BS_US001

battery-status: good

battery-voltage: 3977mV

partition-layout: Generic

security: off

build-mode: SHIP

boot-mode: FASTBOOT

commitno-bootloader: dirty-6d8a0b9b

hbootpreupdate: 11

gencheckpt: 0

This is how my getvar script looks like, could you please tell me what I have to do exactly to flash the 7.17.1540.7 firmware and rom ?
[One (M7) General] alray:
Sure, Maybe you can teach me how it works? Im not saying I know everything, but its strange (and impolite) to suggest someone to check is knowledge after asking him some help.

Not only his perception.

(post #69) abdulwakil asked me a simple question

(post #70) I tried to answer his question remaining polite to you, saying that probably someone else messed it. Even if it was clear in my mind that you have messed it yourself. So sorry for that, next time someone will ask me "why his phone is messed like this even if its s-on?" I will simply answer with the truth...
[One (M7) General] alray:
You can go straight ahead and flash the 7.17.1540.7 RUU. Your MID/CID and firmware are already correct. Backup your personal file before, RUU will wipe everything.

another option is to flash the 7.17.1540.7 frimware over your 6.07.1540.2 firmware and then restore the 7.17.1540.7 nandroid. But imo, you should use the ruu to make sure everything is installed correctly.
[One (M7) General] alray:
post output of "fastboot getvar all" and tell us what file you are trying to flash, its not like I have posted only 1 file in this thread so we must know which one exactly.
[One (M7) General] mr_gem:
[MENTION=4654136]alray[/MENTION]: right now I'm using a custom rom so I intend to flash reset rom 6.07.1540.2.zip first and then flash the ota zip of 7.17.1540.7, is it possible to do so because I want to keep my TWRP recovery, thanks.
[One (M7) General] shinji257:
For question 2 I found you can indeed use Super CID just fine. I actually converted from GPE (after converting to that from AT&T Sense) and flashed the firmware while Super CID (following the process for it) then flashing in the 4.4.3 RRU. Once that was done I got the 5.0.2 Lollipop update fine. This also happened while still Super CID.

So yea... It works while Super CID. :)
[One (M7) General] yatindroid:
flash reset rom 6.07.1540.2.zip with stock recovery first and then flash the ota zip of 7.17.1540.7

OTA need stock recovery

then flash TWRP back
[One (M7) General] alray:
in both situations you will need to reflash twrp recovery anyway.

You can flash the stock recovery, then take the ota update and reflash twrp

or

flash the latest ruu and reflash twrp.
[One (M7) General] 85dba:
I was trying to flash system inside zip, but fixed flashing with htc_fastboot.exe, this file was inside temp directory created by ruu.exe and also was rom.zip wich. I flashed rom.zip with htc_fastboot.exe in RUU mode, and everything goes well. I supose htc_fastboot.exe is like moto_fastboot, that allow fastboot over 500+ files.

Thanks anyway!
[One (M7) General] dirtrider129:
radio flashing

Hey there alray, Im running wwe firm. and the radio that comes with it but I looking to flash the radio that came with the 7.17 firmware because it looks like they updated it a little. Can I fastboot flash radio.img? It's been awhile since I changed up my radio and I was using recovery flashable zips, I just want to make sure I still got it straight in my head! Thanks:laugh:
[One (M7) General] lewonsky:
i am still on Hboot 1.43 if i run the RUU 7.15 will there problems??
[One (M7) General] yatindroid:
Yes touch driver's problem

You have to step by step ota

Or flash latest firmware then latest ruu
[One (M7) General] alray:
you wont be able to run that ruu on hboot 1.43, you must be 6.xx.1540.x or 7.xx.1540.x firmware. Flash the 6.07.1540.2 full firmware then flash the 7.17.1540.7 RUU.
[One (M7) General] lewonsky:
What u should be corncened is yr hboot 1.57 and recovery . Firmware files (stock) contain the latest hboot and recovery . These can potential ymess up yr device if u dont know what u are doing. mine is tool old (its 1.43 hboot), so i am not sure if i can directly update to hboot latest ones . So i have flashed the

nowipe

7.17 firmware package files successfully frrm another thread . I removed the hboot from these package and re ziped them back . flashed in fastboot. everything fine If u are paranoid of something going wrong u can take this files here . Choose the no wipe versions . remove Hboot and rezip them back Perfectly safe and nothing goes wrong.

And also this files have the latest TWRP inside them instead of the stock recovery . Stock recovery will wipe yr sdcard.

get the no wipe firmware package here . Choose the correct one for yr device.. the 7.19 should be down the list and the date it was posted. on the left

https://docs.google.com/spreadsheets/d/1LQDLpVZYyUpXPgC2sh1BvAS9Oo8B-fTiZU_JhpIH-fU/pubhtml
[One (M7) General] alray:
No. RUU will flash both the firmware and software, not only flashing the stock recovery and doing a reset...
[One (M7) General] alray:
Hboot 1.57 and his recovery version are not a concern. If he flash the full 6.07.1540.2 firmware then the ruu he will be fine (same for you btw). Removing Hboot from the firmware is not needed. The only thing you should avoid is flashing firmware packages extracted from ota updates (must be done incrementally only, If you flash a full firmware, there is no problem). No need to remove hboot from the firmware package before flashing it, you want it to be up to date. 1.43 is really old and a its a pre-release version.
[One (M7) General] gise88:
Hi all,

I have a m7 developer edition with the following custom ROM:

http://xdaforums.com/showthread.php?t=2334294

My phone is S-OFF since august 2013. When there was some update of the ROM I always updated it but I've never flashed any new firmwares neither hboots...

I want to move to Lollipop with this ROM http://xdaforums.com/showthread.php?t=2189373, but when I've tried to update the firmware (with the requested one in the MaximusHD thread) I get a 42 error (Wrong Customer ID)!

I need some tips.. :D

The first one is: Why I get the following error when I launch "fastboot getvar all" command?

E:\adb>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.44.0000
(bootloader) version-baseband: 4A.14.3250.13
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.29.1540.17
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: **
(bootloader) imei: **
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: BS_US001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4171mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
getvar:all FAILED (status read failed (Too many links))
finished. total time: 0.096s

The second one is: Can I flash this RUU 7.17.1540.7 on my phone? I perhaps have to flash some other file before? Maybe something from 6.07.1540.1 and the 6.07.1540.2 files?

The third one is: Does the phone remain S-OFF after the update of Rom/Firmware/hboot/recovery to the latest RUU 7.17.1540.7? Can I finally flash the MaximusHD custom ROM on it whitout other problems?

Many thanks in advance,

Gianluca
[One (M7) General] alray:
Wrong CID, change your cid to match the android-info.txt file in the firmware and modify the android-info.txt file to include your CID,

Its a normal error everyone got on hboot 1.44, nothing to worry about.

alrady explained in the last page and also in the post just before yours. Flash the 6.07.1540.2 full firmware then the 7.17.1540.7 ruu

Phone will stay s-off forever, no matter what you flash. S-ON is back only when using "fastboot oem writesecureflag 3" command.
[One (M7) General] gise88:
Isn't there a risk to flash a firmware that does not "fit"? Is it usual that the firmware.zip is packed without some CIDs? If so ok, I will include BS_US001 in this txt and than I'll flash it.. :good: I trust you!! :D

You are right, but I have a different hboot and I have shown the bootloader variables.. I thought it was different! Sorry and thanks.. :)

However, if you confirm for me the first question, I can solve without using RUU. Right?

Thanks again, I didn't know.
[One (M7) General] alray:
The firmware is compatible with M7_U and M7_UL variant.

Use notepad++ to edit the txt file.
[One (M7) General] lewonsky:
but in a another thread someoen toldme that if i am still on Hboot 1.4X , i need to update to 1.57 first before flashing newer hboot. how true is this?

all i know Hboot is th emost dangerous thing in HTC phones. cos if it messe sup it results in a brick

pls advise. I am currently on Hboot 1.43. if i want to flash the hboot from the latest 7.17 . how to go about this .

This is why i have always removed the hboot for my own paranoia reasons
[One (M7) General] alray:
Hoot 1.57 is included in 6.07.1540.2 firmware. By flashing that firmware your hboot is updated to 1.57. If you want the hboot from 7.17.401.2 then flash the 7.17.401.2 firmware.
[One (M7) General] lewonsky:
can i just replace the 7.17 hboot with 1.57 , zip back and flash again?
[One (M7) General] alray:
What is the problem/fixation with hboot? Why would you want the 1.57 hboot with the 7.17.1540.7 firmware? You asked two pages back if it was possible to use the 7.17.1540.7 RUU with your phone being on hboot 1.43.

Answer is simple, no. You have flash the 6.07.1540.2 full firmware (available in the OP) then flash the 7.17.1540.7 ruu.

by flashing the 6.07.1540.2 firmware, your phone firmware will be updated to 6.07.1540.2 including hboot 1.57. Then your phone will be ready to flash the 7.17.1540.7 ruu. After flashing this RUU, your phone firmware and software will be 7.17.1540.7 with hboot 1.61.
[One (M7) General] darkenedpath:
I have a question, and sorry if it has been answered. I have just lucked up on getting a dev edition m7. Of course. I have plans to do certain things. Can I flash certain software without switching mid an all. I love there is a stock backup, but I would like to run a Rom based on 7.19.***, can I flash firmware or not. Thank you. And I'm glad I found this thread.
[One (M7) General] alray:
Most precise answer to this is: Maybe.

without any info about your phone and your goal, I can't help you. sorry

What rom do you want to flash? What is your "fastboot getvar all" ?
[One (M7) General] ecstasyado:
I just want to update my firmware version. But I'm S-ON and I don´t want to S-OFF. Can I use one RUU or flash one of this rom just for update firmware?? Will it work with my device?

Thks in advanced

Info of my device:

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.57.0000

(bootloader) version-baseband: 4T.29.3218.08

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.09.401.5

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0710000

(bootloader) cidnum: HTC__304

(bootloader) battery-status: good

(bootloader) battery-voltage: 4053mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-6d8a0b9b

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0
[One (M7) General] darkenedpath:
Iwould like to use team venoms lollipop rom when it is released. The base on that rom is the 7.19.*** firmware. I was going to use a certain firmware from a trusted developer, but in the post i was answered that i couldnt use the firmware due to my MID. Since the bootloader is pre-unlocked, all i have to achieve is s-off. Thanks

C:\fastboot>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.61.0000

(bootloader) version-baseband: 4T.35.3218.16

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 7.17.1540.7

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0712000

(bootloader) cidnum: BS_US001

(bootloader) battery-status: good

(bootloader) battery-voltage: 4301mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-eff4f609

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0
[One (M7) General] alray:
Yes you'll indeed need s-off to flash another firmware and change your MID if required. But I think you can't achieve s-off now because of hboot 1.61. You'll have to wait for the 3.0 release of sunshine which should bring hboot 1.61 compatibility.
[One (M7) General] darkenedpath:
Yeah, I'm just patiently waiting on them to release 3.0. Supposedly you can drop down to kit Kat rom and it work, but like you said, with 161 HBOOT I'm afraid it won't. I figured I could try the Rom on the current firmware I have since it is lollipop, but with a different base, I'll probably have radio issues or some kind of problems. I just wanted to make sure I was able to update firmware with this edition. Thank you sir for your reply.
[One (M7) General] darkenedpath:
I have one more question [MENTION=4654136]alray[/MENTION]. Let's say I don't s-off, and root and all the good stuff, and I wanted to use the RUU that is posted in the op, "7.17.###", would I have to lock the bootloader for this and future ota's to be able to work? Or can I leave it unlocked since it comes that way from factory? And if I had to lock it, would unlocking it reveal the red text warning like all the others? I've read where someone told another they had to lock it, but I don't understand why if actually it comes like that. Sorry for the questions. I thought I was buying only an international version, but when I received it, I found out quickly it was a dev edition. There are some things I have found, but this thread seems to be more trustworthy since it is dedicated to the dev edition.
[One (M7) General] EuphoriaBR:
Thanks very much!

Recovered my stock ROM :good:

But wanted to know how can I make a downgrade, version 7.17.1540.7 (Lollipop) for the previous version KitKat, using RUU (KitKat)?

I'm S-ON, relocked bootloader.

Thanks.
[One (M7) General] alray:
you can't downgrade with s-on. You'll need to acheive s-off if you want to downgrade
[One (M7) General] alray:
OTA updates doesn't requires a locked bootloader but if you want to use the RUU with s-on, and afaik this also apply to dev edition, you'll have to relock the bootloader to use it. You can unlock it after flashing the RUU. Unlocking the bootloader will erase the /data/preload folder which is needed for ota update but no problem, you can restore it with the files posted in the OP.

give it a try, it wont hurt. but like i said im pretty sure you must relock it before even if its factory unlocked.

Will show the "unlocked" flag like a brand new dev edition.

Its how the bootloader works, to flash signed file (official htc files) the bootloader must be locked (unless s-off)
[One (M7) General] alray:
You can't with s-on, you are not on the same base (.401) and dev edition is .1540. CID/MID also doesn't match. Update your phone to the latest 7.19.401.2 base and you'll be fine.
[One (M7) General] EuphoriaBR:
Got it, anyway.. You saved my device with your files.

Thank you very much. :victory:
[One (M7) General] alray:
You're welcome, its the purpose of this thread ;)
[One (M7) General] darkenedpath:
Thank you sir for the info.
[One (M7) General] shinji257:
This is saving me a few times. I need to get rid of xposed and didn't backup first (bad me) so this nandroid backup should save me yet again. Thanks!
[One (M7) General] alray:
No red text hboot 7.17.1540.7

Added "No red text" hboot 7.17.1540.7 (hboot 1.61) in OP

credits to [MENTION=2358410]shinji257[/MENTION] for testing it the first time in this thread

As usual, flash at your own risk. Flashing hboot is critical, it can brick your phone if done incorrectly.

S-OFF required.
[One (M7) General] pks4510:
Sir, I have converted my HTC one from Sense to GPE. I would like to go back to sense. My getvar all is

INFOversion: 0.5

INFOversion-bootloader: 1.54.0000

INFOversion-baseband: 4T.30.3218.21

INFOversion-cpld: None

INFOversion-microp: None

INFOversion-main: 5.11.1700.3

INFOversion-misc: PVT SHIP S-OFF

INFOserialno: xxxxxxxx

INFOimei: xxxxxxxxx

INFOmeid: 00000000000000

INFOproduct: m7_ul

INFOplatform: HBOOT-8064

INFOmodelid: PN0712000

INFOcidnum: BS_US001

INFObattery-status: good

INFObattery-voltage: 3811mV

INFOpartition-layout: Generic

INFOsecurity: off

INFObuild-mode: SHIP

INFOboot-mode: FASTBOOT

INFOcommitno-bootloader: dirty-e135dbf9

INFOhbootpreupdate: 11

INFOgencheckpt: 0

I tried to convert it to developer edition by running RUU downloaded from HTC US site but get Error 155. May somebody guide me as to how can I convert it back to developer edition ?
[One (M7) General] yatindroid:
flash ruu.zip

Or flash same version firmware first then run ruu exe
[One (M7) General] pks4510:
Thanks. Can the rom.zip extracted from ruu.exe be flashed as ruu.zip method. Thanks & Regards
[One (M7) General] alray:
You must be on 6.xx.1540.x or 7.x.1540.x firmware prior to flashing the 7.17.1540.7 ruu.

flash the 6.07.1540.2 full firmware first in RUU mode:

fastboot oem rebootRUU
fastboot flash zip firmware.zip
fastboot flash zip firmware.zip
fsatboot reboot-bootloader

then flash the 7.17.1540.7 ruu
[One (M7) General] MaratabHashmi:
Hi [MENTION=4654136]alray[/MENTION]

My device s-on, hboot 1.57, cid TELST001,MID PN0714000 can I flash any ruu to change android info text according to my device cid and mid because not official ruu available for my device....
[One (M7) General] alray:
Answer in the OP:

No you can't
[One (M7) General] darkenedpath:
just real quick [MENTION=4654136]alray[/MENTION], I have converted a AT&T m7 into a dev edition from the material you have here. The mid was the same, (pn0712000) but I did have to change the cid to match. After that I flashed the firmware pack, already had an unlocked bootloader, but after it flashed, the red text warning was gone. Did you modify the hboot in the firmware pack? if not, then it must reset the bootloader to be like stock, (unlocked with no red text) Thank you sir!
[One (M7) General] yatindroid:
no nothing is changed red text will appear after 2-3 boots or flashing custom recovery
[One (M7) General] shinji257:
If you are usually actual dev bootloder and make no mods it won't appear. It only appears if you change recovery and/or change rom to something else.

Red text on boot: Rom modified

Red text going into recovery: Recovery modified

It won't show if that part is stock. So if you only change recovery then it won't show during normal boot. I think it starts showing on boot once you root it.
[One (M7) General] alray:
I have not modified the hboot in the firmware.

Like said above, you'll get the red text when booting in recovery if you have a custom recovery ---> Not your case since you have flashed the stock firmware.

Or will show when booting the the OS if you have something modified like a custom kernel. ---> Not your case since you have flashed the stock firmware.
[One (M7) General] JimzFreebies:
Please help. I am using m7 developer edition. Here's my phone detail

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.57.0000

(bootloader) version-baseband: 4T.27.3218.14

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 5.11.1540.9

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

(bootloader) serialno: HTXXXXXXXXXX

(bootloader) imei: 3XXXXXXXXXXXXXX

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0712000

(bootloader) cidnum: BS_US001

(bootloader) battery-status: good

(bootloader) battery-voltage: 3690mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-e47fb74b

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

I want to flash 7.17.1540.7 full firmware(without stock recovery & No wipe & No Red Warning).

I downloaded 6.07.1540.2 stock firmware (full). If i flash it 1st, does it wipes my phone?

Actually, i read in the FAQ that " If you want to update to 7.17.1540.7 firmware then flash the 6.07.1540.2 (full) firmware and then the 7.17.1540.7 ota-firmware".

So, what do i need to do?