yashsingh1/xdaforums huggingface dataset:
[One (M7) Q&A, Help & Troubleshooting] alray:
If you want to convert to GPE you will first need to turn the bootloader security off (S-OFF) using Sunshine S-Off tool so you can change your phone CID and MID numbers and then flash the GPE RUU. Should you do it? Well it depends what you like. Personally I don't really like GPE, tried it a few time an always reverted to HTC Sense but some prefer it because of the "pure" android experience.
[One (M7) Q&A, Help & Troubleshooting] funtracker:
help

Anyone who have nand backup for htc one dual sim 802d os 7.17.707.15..please share..my phone was brick..i wanna try instal from cwm..thanks..sorry for my bad english
[One (M7) Q&A, Help & Troubleshooting] ekim15:
Hello,

can anyone help me with my issue about my htc desire 510.i tried to unlock it,i did it but when im done and i'm about to reboot it it says that it was tampered.i don't know what to do and i cannot use it because it was stock in the hboot menu.please help me.thanks in advance
[One (M7) Q&A, Help & Troubleshooting] MKOJOA:
Please a video on how to use the terminals after rooting
[One (M7) Q&A, Help & Troubleshooting] krazdord:
I have a sprint (m7_wls) m7 and I previously had it rooted with TWRP on it. I installed stock ROMs as I really just wanted to be able to fully backup my phone and disable system apps that were annoying.

I want to restore to stock and receive OTA updates again, as I'm having pretty bad service problems.

I attempted to restore by relocking the bootloader - it says *** RELOCKED *** and S-ON on boot screen, then RUU'd to 6.23.651.7 downloaded directly from HTC's site.

This worked great, except now there is the first OTA update since I did this, but when I try to install it, it drops me into recovery and says:

Verifying current system...

"/system/app/Bluetooth/Bluetooth.apk" has unexpected contents.

E: Error in /data/media/0/Download/OTA_M7_WL_L50_SENSE60_SPCS_MR_Sprint_WWE_6.23.651.10-6.23.651.7_R_release_452237.zip (Status 7)

Installation aborted.

I've also done the 'clear the cache' option from recovery which didn't seem to help either. The recovery logs have a bit more info, just says none of the sha1 sums match for that apk.

What is going on? Is there something I have to do in addition to the RUU to get everything back to stock?

I know I can just RUU again, but I really really hate restoring all my stuff!

Thanks.
[One (M7) Q&A, Help & Troubleshooting] PotSolo:
I have a Verizon HTC6500. It is updated to 5.0.2. Was wondering about best method to root without a computer. Also wondering if a computer is needed for flashing roms or kernel
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
The only way to Unlock and root without a PC is Sunshine App. It cost $25 to use it though. But it will unlock your bootloader, root the device and give s-off in one shot.

Then you can use flashify to flash a custom recovery and flash roms after downloading them directly to the device. Be very careful though. If somthing goes wrong and you end up bricked your options for recovery may be limited if you don't have access to a PC. ;)
[One (M7) Q&A, Help & Troubleshooting] Zheen:
So I'm on software version 6.09.401.5 , CID HTC__J15 , Model NM8PN07100 801n , Android 4.4.3

I unlocked through HTCDev and flashed TWRP, now I'm rooted with SuperSU but still S-On.

I tried Rumrunner S-Off yesterday (can't pay online so Sunshine is not an option) but it didn't work and said I had to flash a different ROM or kernel for it to work.

So now I want to S-Off while I'm still on kitkat since it's supposed to be easier on kitkat I think, otherwise Sunshine would be the only option. But first I would have to flash a custom ROM or kernel (for this android version). Can someone recommend a good one for me? Can I return to stock if even after flashing a custom ROM or kernel S-Off doesn't work? and how is that done exactly? I have a Galaxy S4 and I do these things through Odin, here they say you will have to use RUUs. Can I do one of these RUUs while being Unlocked + S-On?
[One (M7) Q&A, Help & Troubleshooting] alray:
6.09.401.5 = hboot 1.57, Sunshine is the only method that will s-off hboot 1.57.

You can either restore a 6.09.401.5 twrp nandroid backup and then flashing the stock 6.09.401.5 recovery or you can flash the 7.19.401.2 or 7.19.401.22 RUU available here

If the phone is s-on the bootloader must be locked or re-locked to flash a RUU. With s-off only you can flash a ruu with an unlocked bootloader

See instructions in the thread linked above.
[One (M7) Q&A, Help & Troubleshooting] Asiangamers:
Just pay a sunshine and it work like charm! 25$ it worth it!
[One (M7) Q&A, Help & Troubleshooting] sorinwolf1:
Hi everyone, so i got this pretty annoying problem, after i deleted my TWRP and got back to stock recovery , i cant get rid of this damn TWRP file stuck on my interior sdcard, if delete it, it will appear after a refresh or reboot, no file manager with root permission can delete it, please guys i wanna see him dissappear from my storrage!!!
[One (M7) Q&A, Help & Troubleshooting] AIDROOS:
That's easy format the internal storage
[One (M7) Q&A, Help & Troubleshooting] mcwurth:
So today I got from someone a HTC one m7 for free because it jsut keeps restarting into bootloader. it goes (very short) into the ROM but before i can actually read or do much at all (changed language to english turned off fast boot) it boots back up over and over. I can turn it off through the power menu but it just boots into bootloader when i do that. All i noticed is when it was checking system update virifying it reboots. The following is shown on the screen:

***TAMPERED***

***RELOCKED***

***Security Warning***

m7_UL PVT SHIP S-ON RH

HBOOT-1.55.0000

RADIO-4A.21.3263.04

OpenDSPv32.120.274.0909

OS-3.62.401.1

eMMC-boot 2048MB

oct 17 2013,23:06:14.0

FASTBOOT

<VOL UP> to previous item

<VOL DOWN> to next item

<POWER> to select item

BOOTLOADER

REBOOT

REBOOT BOOTLOADER

POWER DOWN

now when i choose the powerdown option it just reboots and the whole story starts over and over.

as soon i plug in the usb cable into my pc A) pc doesnt obviously recognize the attached device B) It just charges and makes the thing reboot over and over (including loading into the ROM until verifying the system update and it reboots again)

Now I am not a noob to flashing roms or anything but I never done any HTC related things and I am a little overwhelmed with the Q&A section of this device. I been googling and reading pretty much on XDA, I am not afraid to get my hands dirty and rad more and do stuff myself, I just need a proper advice on what to do, or what to read to restore this device. There seems insanely much information about this device but it is all bits and pieces, plus i need to be able to stay in the rom to use ABD/fastboot etc etc and so far i can not do this...

I will be grateful if anyone can point me either in the right direction or just plain explains to me what to do ;)

Thanks in advance!
[One (M7) Q&A, Help & Troubleshooting] alray:
First thing I would try is to unlock your bootloader, flash twrp recovery and flash this rom. When flashing the rom, select yes when asked to installed stock recovery and stock radio, select no when asked to root. Then your phone should be reset back to stock and ready to take ota updates.

If its not working then maybe you could try a RUU but lets start with this first.
[One (M7) Q&A, Help & Troubleshooting] mcwurth:
OK Thanks for the fast reply! I will have to try and make an account there as it currently wont let me (the gibberish about not complying name lol) so i need to do it through my samsung or something neighbours pc i guess) :)
[One (M7) Q&A, Help & Troubleshooting] AIDROOS:
How can we change just our radio file from Developer (USA) to anything European?
[One (M7) Q&A, Help & Troubleshooting] mcwurth:
right so by using *COUGH* edge *cough* i been able to sign up and unlock my bootloader. it was ALL that needed. phone runs fine now. so i got a free htc one.... custom recovery and rom will come tomorrow (will follow the stuff you linked me to do so) after that will see :D THANKS!!

EDIT: everything worked like a charm! running on 4.4.2 now. I assume i would need to get a new bootloader and install new recovery again and root it to be able to be able to flash new custom roms? I like to be able to setup my own phone with apps and all ;)
[One (M7) Q&A, Help & Troubleshooting] alray:
better to install all the ota updates before flashing a custom recovery and a rom. Newer roms requires the latest firmware version to work correctly. After flashing the rom linked in my other post, you should be able to download and install the updates. The latest version is 7.19.401.51, once up to date you can reflash a custom recovery (twrp preferred) and any custom rom youd like
[One (M7) Q&A, Help & Troubleshooting] mcwurth:
Thank you for your pointers man.Hugely appreciated! stuff works like a charm now :) just last two updates need to be done then imma flash something better :)
[One (M7) Q&A, Help & Troubleshooting] AIDROOS:
Guys what does this HTc reset file do? All I'm looking to do is keep my current firmware, but just change the radio.img file to Europe from USA.
[One (M7) Q&A, Help & Troubleshooting] alray:
It wil flash the stock rom + stock recovery + stock radio

USA and Europe are using the same radio now: 4T.35.3218.16
[One (M7) Q&A, Help & Troubleshooting] AIDROOS:
I figured the radio similarities, however EU radio is not enabling EU bands on our USA modem. From what I heard this modem has many bands, but the firmware locks or unlocks it. I just want to be able to run LTE EU bands 1800 on my USA LTE device with the same modem.
[One (M7) Q&A, Help & Troubleshooting] Kamoku:
Noob question, or can i get a redirect?

So, about a year ago I flashed my HTC One M7 (sprint) to Gummy mod. Didn't fully accept my sim card, but it worked more than it didn't (went out for a day or two then came back on. Could use internet but not phone/text). Got fed up and decided to fix it and tried an RUU. Didn't work, hung at step 1 on multiple versions. Everyone keeps saying to s-off my system to do any step I'm trying to do, but all sources say 'Keep your device plugged in and enable developer debugging' which isn't possible because I now have no OS. Not only that, it wiped my TWRP and I'm getting a signature check error so I can't even flash that to just install a different ROM. I've exhausted my search terms and don't know what to do at this point.

Any links or help would be extremely appreciated!

Thanks in advance.

EDIT: I think I figured it out. Will update.

EDIT: Tried to flash RUU:

FAIL12 signature verify fail

FAILED (remote: 12 signature verify failed)

EDIT: I'm a derp. It's unlocked now, let me try that again.

EDIT: FAIL99 . It literally says "99 Unknown fail"

EDIT: Got TWRP installed. Now to adb push files. I think I got this.
[One (M7) Q&A, Help & Troubleshooting] Uzephi:
If you are s-on, you need you boot loader locked to flash an ruu and it must be signed and your firmware version or higher. Aka: if you have lollipop firmware, you must flash the lollipop ruu and it must be the official ruu from HTC. Signature check fail is usually when you are trying to flash an unsigned firmware or an older version than your own. Fail 99 was most likely because you unlocked the boot loader.
[One (M7) Q&A, Help & Troubleshooting] shadow2797:
This is a multi-tiered question, so I'm not sure what the best course of action is. I have an HTC One M7 that I originally bought from T-Mobile US. I've since switched to AT&T as my carrier, but I kept the phone and I'm using an APN I found on YouTube to allow me to use AT&T's LTE service. It's rooted, S-Off, with TWRP Recovery but just with the Stock 4.4.3 Sense 6.0 ROM (ROM version 6.10.531.10 if it's important). I did this quite a while ago, so my memory of the process I went through is a bit fuzzy.

My end goal is to update the phone to the Stock 5.0.2 ROM (or whatever is the latest official version). Ideally, I'd like to keep root, but I'm not sure if that's possible. What's the best (or easiest) way to do this?

My next question is should I stick to the T-Mobile version of the Stock ROM and continue to use the APN, or is there a better way to integrate my phone with the AT&T network?

I'm also open to recommendations if something like ViperOne would be easier/better.
[One (M7) Q&A, Help & Troubleshooting] alray:
I think you should either convert your phone form t-mobile to at&t or better to the dev edition which is a stock version without any carrier bloatware. Both will work fine on the at&t network. Converting your phone should be an easy process since its already s-off...

Can you please post the output of "fastboot getvar all" (hide your imei and serialno)
[One (M7) Q&A, Help & Troubleshooting] shadow2797:
Thanks for the quick reply. I'm glad to know it can be converted to a different version. I've been envious of Dev edition users for a while now :).

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.57.0000

(bootloader) version-baseband: 4T.28.3218.04

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.10.531.10

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

(bootloader) serialno: **Redacted**

(bootloader) imei: **Redacted**

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

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-6d8a0b9b

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.064s
[One (M7) Q&A, Help & Troubleshooting] alray:
backup your important files first as this will completely wipes your phone:

Boot in twrp recovery main menu and open a cmd window from your adb/fastboot folder on your computer. Use this command to change your MID from PN0713000 to PN0712000:

adb shell
echo -ne '\x50\x00\x4e\x00\x30\x00\x37\x00\x31\x00\x32\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p6 bs=1 seek=16384
exit
adb reboot bootloader

***Make sure you make no typo in the command starting with "echo -ne". Better to copy/paste it.

Confirm your MID is now PN0712000:

fastboot getvar mid

Then change your CID from T-MOB010 to BS_US001:

fastboot oem writecid BS_US001
fastboot reboot-bootloader

Confirm your CID is now BS_US001:

fastboot getvar cid

Reboot in RUU mode and flash the Dev edition firmware:

fastboot oem rebootRUU
fastboot flash zip Firmware_6.07.1540.2.zip
fastboot flash zip Firmware_6.07.1540.2.zip
fastboot reboot-bootloader

Firmware_6.07.1540.2.zip

Confirm your version-main is now 6.07.1540.2

fastboot getvar version-main

Flash the the 7.17.1540.7 RUU:

http://dl3.htc.com/application/RUU_...6_10.33Q.1718.01L_release_420191_signed_2.exe

Once the phone is booted in the OS check for ota udpates and install 3 ota updates.
[One (M7) Q&A, Help & Troubleshooting] shadow2797:
I'm having trouble getting adb to recognize my phone. I've tried updating drivers and changing USB ports. I'm on Windows 7 and TWRP is v2.8.5.0. Any suggestions?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
What exactly is happening? Any error messages?

A screenshot of the command window may be helpful :good:
[One (M7) Q&A, Help & Troubleshooting] shadow2797:
It just said "error: device not found." I was finally able to get it working by using the driver here: http://xdaforums.com/showpost.php?p=44750456&postcount=6
[One (M7) Q&A, Help & Troubleshooting] shadow2797:
Update was a success! Although there doesn't appear to be any OTA updates for me. Is TWRP 3.0 stable or should I stick with 2.8.5.0 (or install one in between)?
[One (M7) Q&A, Help & Troubleshooting] alray:
the ota are posted in my dev edition thread if you want to flash them. Do it incrementally using stock recovery.

I have not experienced any issue with twrp 3 so far
[One (M7) Q&A, Help & Troubleshooting] shasanka.aiesec:
unable to boot into recovery

i unlocked bootloader and flashed custom recovery into my htc one m7 HTC__038

but still i can't boot into recovery ... it shows booting into recovery but still i doesn't go to recovery and without going into recovery in can't root my phone nor can i install any other custom rom...

please help me out...

thankx in advance
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Please can you post the output of

fastboot getvar all

Please remove your IMEI and serial number before posting for your own security.

Also which recovery have you flashed? Name and version please or a link if possible :)
[One (M7) Q&A, Help & Troubleshooting] shasanka.aiesec:
version: 0.5

version-bootloader: 1.61.0000

version-baseband: 4T.27.3218.14

version-cpld: None

version-microp: None

version-main: 7.21.707.105

version-misc: PVT SHIP S-ON

meid: 00000000000000

product: m7_u

platform: HBOOT-8064

modelid: PN0711000

cidnum: HTC__038

battery-status: good

battery-voltage: 4152mV

partition-layout: Generic

security: on

build-mode: SHIP

boot-mode: FASTBOOT

commitno-bootloader: dirty-0e2a13e5

hbootpreupdate: 11

gencheckpt: 0

i flashed this recovery-> twrp-2.8.7.0-m7.img
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Ok so that recovery should work fine for you. Did you erase cache while flashing the recovery?

fastboot erase cache
fastboot flash recovery "nameofrecovery".img
fastboot reboot-bootloader

Select recovery from the bootloader menu.
[One (M7) Q&A, Help & Troubleshooting] shasanka.aiesec:
ok I let me try this... i haven't erased cache memory ....

thank you
[One (M7) Q&A, Help & Troubleshooting] NARocket:
Late to the Party!!

Wow, ok, so I know my questions and answers are out there somewhere but I havent stopped giving up despite searching endlessly on xda for what happened...which brings me to post this..

Unlocked and rooted HTC M7 sprint back in late '13 early '14 using HTCONEROOT youtube video...created an adb backup.ab file in my pc folder along with a stockrom folder on my phones internal storage. Uploaded CM nightlies back then. Flashforward to a few weeks ago (got back to the states) updated CM12.1 rom. Noticed my firmware and radios were not up to date. I TWRP backup onto a USB drive - my phone boot/data/system. Saw a quick thread on locking the bootloader to flash new radios/firmware. Well not doing my research..needed to flash rom.zip and recovery.img before oem locking. Phone went into usb fastboot mode. Dont know what i should of have done here but i dug up my old notes of rooting and fastboot scripts of when i unlocked my phone..i fastboot flash unlocktoken unlock code.bin and hit enter. The phone started up under the CM12.1 rom. After i signed in, i immediately powered off to see if recovery was there. TWRP 3 was still alive, but all my internal storage was gone..original stockrom folder, OTA-Sprint-4.xxx.zip, cm12.1.zip twrp3.zip su2.65 gapps pictures, downloads - gone. So my question is, how did the phone start up under CM12..was it CM12's own recovery files? what should i have done before/after hitting oem lock? My phone details are

**Tampered

**Unlocked

M7_WLS PVT SHIP S-ON RH

HBoot-1.56.0000

Radio-1.00.20.1108

OS-4.06.651.4

Phone still works though..googleplay/phone/txts/web/

I know back when I unlocked, I should of gained S-Off when it was free but once i see what happened, I'll grab sunshine. Just wanted to see what i should of done, and if i can still update firmware, I know i'm so far out of the game but any and all help would be appreciated, thanks again, you guys are the best.
[One (M7) Q&A, Help & Troubleshooting] alray:
Unlocking the bootloader wipes the /data partition. If you are going to lock and unlock the bootloader you want to backup everything on your PC otherwise you'll loose your files. The rom is on the /system partition so it won't be wiped after a factory reset or a bootloader unlock. Before locking the bootloader you should also flash the stock recovery back, I'm very surprised you were able to unlock the bootloader with twrp installed, normally you need the stock recovery installed on your phone otherwise it won't unlock. I guess its now OK with TWRP 3, you were lucky ;).

If you want to update your firmware with s-on, you could flash back the stock 4.06.651.4 rom and stock recovery then download and install all the ota udpates. Once up-to-date, flash back twrp and your desire sprint compatible custom rom.
[One (M7) Q&A, Help & Troubleshooting] NARocket:
I appreciate the help! All I did after relocking bootloader, was fastboot unlocktoken .bin and hit enter..CM started up and couldnt believe TWRP was still on there. So should i follow something like this ?http://xdaforums.com/showpost.php?p=59343498&postcount=1845
[One (M7) Q&A, Help & Troubleshooting] alray:
Yes you can do it lie that but you'll need to use this firmware file and relock the bootloader again and if relocking the bootloader then better to flash the stock recovery before so if something goes wrong you'll be 100% sure you can unlock again.

fastboot flash recovery 4.06.651.4_stock_recovery.zip
fastboot erase cache
fastboot reboot-bootloader
fastboot oem rebootRUU
fastboot flash zip 6.23.651.10_full_firmware.zip
fastboot flash zip 6.23.651.10_full_firmware.zip
fastboot reboot-bootloader
fastboot flash unlocktoken Unlock_code.bin

Then select "yes" to unlock and once done reboot in bootloader again

fastboot flash recovery twrp.img
fastboot erase cache
fastboot reboot-bootloader

and flash the rom you want.
[One (M7) Q&A, Help & Troubleshooting] NARocket:
I appreciate it! You're a lifesaver!!
[One (M7) Q&A, Help & Troubleshooting] NARocket:
Where within the command would i fastboot oem lock? Or would fastboot flash recovery 4.06.651.4_stock_recovery.zip overide TWRP?
[One (M7) Q&A, Help & Troubleshooting] alray:
Sorry forgot to write it. You want to lock after flashing the stock recovery so "fastboot oem lock" will be the 4th command:

fastboot flash recovery 4.06.651.4_stock_recovery.zip

fastboot erase cache

fastboot reboot-bootloader

fastboot oem lock

fastboot oem rebootRUU

etc etc...
[One (M7) Q&A, Help & Troubleshooting] NARocket:
I knew we were missing the oem lock somewhere, that's what got this whole thing started! Thanks again!
[One (M7) Q&A, Help & Troubleshooting] NARocket:
Just going over the commands..will I be able to reboot into bootloader after flash firmware? Wont bootloader still be locked at this point? Or am I now in stock recovery? Say unlock_code.bin wont work now, would I have to fastboot flash recovery twrp instead? Been running it through my head, and I might be wrong but something doesnt seem right? Or maybe I'm just over thinking the script?