[Sprint HTC One (M7)] Avram Ionut Bogdan:
I think that I tried everything on this phone and it seems that it's getting worst.

I will tell you the device history as briefly as I can . . .

Part 1: (SIM unlock)

Bought a Sprint HTC M7 from eBay (with a cracked screen, bad shape case and bad ESN I think but didn't cared cause I am from Europe and want to use it on GSM)

Unlocked it, rooted, S-off, downgrade to 1.29.651.10 and SIM unlock using this guide.

Part 2: (Parts replacement)

Bought replacement parts from eTradeSupply, replace them and was PARTIALLY fine.

The devices was rebooting randomly (common M7 bug) so I factory reset it.

After that, after 3-4 hours the NETWORK SIGNAL was gone.

Flash a lot of other Sprint RUU, tried to SIM UNLOCK it again many times but no network signal, even more, it was showing NO SIM CARD.

At one point I tried more SIM cards and saw that 2 of them were detected and I had network signal.

After some research I have 2 ideas of what happened:

1) I didn'r replace the SIM READER cause the new assembly already included it (it is between the glass and the frame so couldn't replace it with original one form SPRINT)

2) The SIM READER has some broken pins (someone from a repair shop told me that SIM cards use different depending on the carrier) but still do not understand why it still shows NO SIM CARD for some SIM cards.

Part 3: (Flash Verizon RUU)

After that I tried flashing a Verizon RUU (thought are alike cause both are CDMA phones).

The RUU flash stopped at flashing the system, the phone could not boot again so did factory reset.

No WiFi, no signal, no rotation, no proximity sensor and I think that many other things after the Verzion RUU, which was normal so I flashed back a Sprint RUU.

After that the phone booted but only a GREEN HTC LOGO on white background appeared and after 1-4 minutes it was rebooting.

Deleted the HTC_Setup.apk and still the phone was rebooting. After a better inspection saw that it had "Unknown" IMEI, MEID, etc and also "Unknown" Baseband.

By many experiments I flashed only the Verzion radio.img on the Sprint Stock Rom and saw that the IMEI and all the info went back.

!!! All this time the info didn't change in the phone whey I was reading it from bootloader (FASTBOOT GETVAR ALL) !!!

Part 4: (Flash manually every img)

My idea was that the RUU doesn't rewrite everything because:

1) After all those RUU the sprint email that was activates was still there

2) The Sprint Animation when booting wasn't showing anymore

3) In the RUU flashing process there are about 15 things that are flashed but in a decrypted RUU i saw that their are about 22 img.

Flashed and ENGENIEERING HBOOT, flashed was images i could manually (couldn't flash rconfig.img, didn't know how) and after fastboot reboot-bootloader the device HARD BRICKED

I was lucky that it was in the QHSUSB_DLOAD and I could repair it with Linux and a M7_UL script but using Sprint firmware instead.

After that the phone could read the IMEI and all other info having a Sprint Stock Rom and a Sprint radio.

Part 5: (S-OFF problem)

The things is that when I S-OFF the phone reads the SIM for 5-10 seconds then for another 5-10 seconds it sais that I have NO SIM INSERTED and when changing between those states the "Airplane mode" seems fo flicker like you click on it but it still shows that it's on OFF

When I S-ON it's OK, it can read still only the 2 SIM cards that it was previously reading and it can get network signal for them (also no signal drop)

Another problem is that the battery is draining fast (about 10% for one hour and i am on 4.1.2 android so no 4.4.4 battery bugs)

Some important things:

Now it shows me that the MEID is 00000000 when previously it was like the IMEI but without that last digit

The username is 0000000000000@hcm.sprintpcs.com

The IMSI, UICC ID are different from previous but I guess that they are dependent on SIM card so I think that it's ok

The values of FASTBOOT GETVAR ALL are the same as in the first day

Could it be that the M7_ul script write something from the international version ?

I read the script before and from what I've seen it was flashing only 4 images to make the phone possible to enter the bootloader so you can flash a RUU.

Why does the S-OFF affect the rom making it read and unread the SIM card and when S-ON it's fine?

Why my battery is draining so fast?

I am opened to any opinions/experiments, etc . . .

What I would try if someones know how is to recreate all the partitions and write everything from 0 but can I do that only from USB?

And if so I think I need some partition files from someones elsees HTC M7 Sprit.

From what I've read on the internet, I saw that many persons have one of the problem that I've encountered and I think that all of them could be fixed if we found a way to

rewrite everything (or the import parts that are not rewriten at lest). I think that also the rconfig.img image from a RUU it's important but I don't know how to flash it.

Waiting for sugestions :(:(:( . . .

New Updates . . .

After some research I ended up getting my hands into the DIAG Mode so I could repair my MEID. After a lot of trouble getting the MSL code to enter the DIAG Mode (The phone was S-OFF and the MSLUtility apk could not read the MSL code, which after some tries I S-ON the phone and interesting, the MSL was 000000).

I search a lot to find a way to change to MEID until I got to this tutorial.

All good until I arrived at the part where you find edit the ESN and MEID files but the things was that there was no MEID file, only the ESN file.

After watching the tutorial till the end I saw that he used DFC CDMA tool to write the MEID so I download the tool, installed it, used it in the Demo Mode (no payed account) and after many tries of writing the MEID it finally saved and it was showing in the Phone Information. Also checked in EFS Explorer and the file 1943 which is the MEID file was created.

After that I S-OFF the phone and the NO SIM CARD was not toggling anymore so SUCCESS, I could register the phone to a network. Further more, the DIAG mode and the MSLUtility was now working with S-OFF also.

So a question for the ones that are more experienced and maybe have a clue of what happened . . .

Why having the phone S-ON "accepted" the bug of having no MEID ?

What does S-OFF actually do instead of letting you flash what RUU and FIRMWARE you want ? Cause it seems that S-OFF somehow affects the Android also.