[One (M7) Q&A, Help & Troubleshooting] meshugener:
What is the order you do things to upgrade an M7 to the latest and greatest

Hi,

Feeling a little overwhelmed by all the information on this site and don't really know where to start, seriously a blind man in a dark room just banging off the furniture trying to find the door for many hours.

I'm pretty sure I'm not the first so wondering is there an idiot guide as far as the the order you should do things and what each piece of the puzzle is.

Bootloader? Rooting? Flashing? s-on/s-off? ROMS? ADB? TWRP? OTG cable? SuperSU.zip? firewater? What does everything in the getvar mean etc.

So I'm trying to fix my mom's M7. T-Mobile.

When you turn it on it goes to a screen

Decrypt Storage

To Enter Android, Enter your Password

Then 2 buttons

Emergency Call

Decrypt

30 attempts remain before device data is deleted.

Then what ever you enter for the password is declared: The password you entered is correct but unfortunately your data is corrupt.

To resume using your phone you need to perform a factory reset.

Button:

Reset phone.

Tried all the options in the bootloader menu to no avail.

Then started reading without really understanding what I was doing, but figured I could somehow re install the OS.

So first I unlocked the bootloader.

So the first lines of the bootloader now read

TAMPERED

UNLOCKED

M7_UL PVT SHIP S-ONB RH

HBOOT-1.61.0000

RADIO-4T.35.3218.16

OPENDSP-v35.120.274.0718

OS-

eMMC-boot 2048MB

Aug 19 2015,03:47:53.0

fastboot getvar all gives me :

(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:

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

(bootloader) serialno: I CAN READ

(bootloader) imei: I CAN READ

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0713000

(bootloader) cidnum: T-MOB010

(bootloader) battery-status: good

(bootloader) battery-voltage: 4294mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-5fbd03bf

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.116s

Then somehow or other using ADB I've managed to get TWRP on the phone so if I select Recovery from the bootloader menu it boots into TWRP. I got that far and then had no clue what I was supposed to do next!

Then following the guide to

[NOOBS Guide] HTC ONE SUPERCID method via fastboot(No script or editing required)

Seemed like a good idea.

Except I fell down at the first gate and was unable to change my CID !!

C:\Fastboot>fastboot oem readcid

...

(bootloader) cid: T-MOB010

OKAY [ 0.001s]

finished. total time: 0.003s

C:\Fastboot>fastboot oem writecid 11111111

...

(bootloader) [JAVACARD_ERR] SD/USBDISK Init error

OKAY [ 0.001s]

finished. total time: 0.003s

C:\Fastboot>fastboot oem readcid

...

(bootloader) cid: T-MOB010

OKAY [ 0.001s]

finished. total time: 0.003s

then there are the fastboot commands..

like

Fastboot oem task 28

Fastboot oem task 29

Fastboot reboot

C:\Fastboot>fastboot oem task 28

...

(bootloader) Format start

(bootloader) eMMC Manufacturer ID: 90

(bootloader) Start Verify: 3

(bootloader) Format end

OKAY [ 20.388s]

finished. total time: 20.389s

C:\Fastboot>fastboot oem task 29

...

(bootloader) Format BINFS start

(bootloader) System partition only can be formated while security is OFF

(bootloader) eMMC Manufacturer ID: 90

(bootloader) eMMC Manufacturer ID: 90

(bootloader) Start Verify: 3

(bootloader) Format BINFS end

OKAY [ 20.894s]

finished. total time: 20.894s

So looks like I have to get to S-OFF... ??? should I what's the best route ?

Well crap.. rebooted and it's started up like it's all fresh from the t-mobile store!

Looks like that

Fastboot oem task 28

Fastboot oem task 29

Fastboot reboot

Did something after all!

Shows

Android Version : 5.0.2 (so Lollipop)

HTC Sense Version : 6.0

Software number : 7.18.531.35

HTC SDK API level 6.55

Kernel Version : 3.4.10-geca2959 and@AABM #1 SMP PREEMPT

Baseband version : 4T.35.3218.16_10.33Q.1718.01L

Build number : 7.18.531.35.CL476210 release-keys

And now I'm kind of wondering what I should be doing.. or if someone with half a clue was trying to get this phone working what they would do.

Should I root it ? what's the latest and greatest OS to put on it? What can I upgrade and change etc ?

Thank for any pointers, or links directions to the guide that I have been unable to find as my head is now just mush.

Thanks again.