yashsingh1/xdaforums huggingface dataset:
[One (M7) Android Development] bamidrol:
I will try the old token. Thanks for replying

edit-

sending 'unlocktoken' (0 KB)...

OKAY [ 0.143s]

writing 'unlocktoken'...

FAILED (remote: unlock token check failed)

finished. total time: 0.152s

new one flashes succesfully but doesnt unlock
[One (M7) Android Development] khandelwalsiddharth:
Hmm try fastboot erase cache

And then try unlocking. It's strange but can try

Or factory reset and try
[One (M7) Android Development] bamidrol:
Nope, none of them works. This is getting so annoying. Stupid repair service f*cked up my bootloader :(
[One (M7) Android Development] khandelwalsiddharth:
I think he can help [MENTION=1631739]mike1986.[/MENTION]
[One (M7) Android Development] bamidrol:
[MENTION=1631739]mike1986.[/MENTION] You are my last hope. If you can't do it, noone can
[One (M7) Android Development] mehrzadkh:
Hi

i want back to stock and chose method 1.

i am 401 user and want to flash kit kat rom but its cid is 4.06.1540.3

this is for 1540 users only?

can i flash this rom or not?

thanks.
[One (M7) Android Development] khandelwalsiddharth:
The recovery does not boot with hboot 1.55 so you need to flash the recovery. Flash the recovery and make a backup.

You can find the stock recovery easily over xda.

But make sure you know your firmware version ;)
[One (M7) Android Development] padvou:
Went back to stock for warranty purposes. Got my one back. How do I create a complete full backup of the stock state as it is right now be4 I install custom roms? I d hate to go thru "going back to stock" nightmare in the future..
[One (M7) Android Development] khandelwalsiddharth:
Look of you are at hboot 1.44 then you can backup everything even stock recovery but if you are on new hboot then you can't backup stock recovery.
[One (M7) Android Development] Ethan_93:
Hello,

Thanks for the guide.

I have 3.62.401.1 World Wide English (WWE) HTC ONE with the last JB 4.3 OTA update.

I unlocked, installed Custom recovery and rooted my phone to delete some OEM apps.

I'm still S-ON, and didn't install other custom ROM.

I have speaker issue so I need to send back my phone to customer service. And also to be able to update 4.4 Kikat OTA. For that I would like to go back to stock version.

I'm going to apply Method 1 - only for users with .401 devices, but I have questions before do it.

1. May I need to be S-Off fot this method ?

2. May I need to install Stock ROM ? Because I already have stock ROm, can I switch this step and install directly custom recovery?

Thanks for you helps.
[One (M7) Android Development] sohojmanush:
How do I unlock the bootloader after relocking it?Should I need to use the code "fastboot OEM unlock" or the htcdev token?
[One (M7) Android Development] sourcewop:
Hello, can some one tell me what is S off and on :confused: , fastboot? and Supercid ? Please some 1 link me to complete noob frndly guide explaining everything, im new to HTC was a galaxy S3 user and there is nothing such thing in it.

Thanks
[One (M7) Android Development] sohojmanush:
After going back to stock nandroid backup my phone always came up with supersu icon, i did full unroot on supersu. But after every reboot it cames back.how do I remove it?
[One (M7) Android Development] MosesTheTool:
Please write instructions for updating a rom when on a lower version and rooted,

with an OTA it's easy, but let's say i'm on ICS and i want to go to KITKAT and i am rooted and S-offed, how do i do this?,

I understood i need to flash Firmware, but when I did i got stuck in a bootloop without the ability to flash the rom from recovery because somehow the file disappeared.

This isn't the place to ask for help because I have a HTC ONE Sprint device, although i wanted to flash ARHD, but i'd appreicate any information on how to go from 4.1.2 to 4.4.2 without banging my head against the wall afterwards. Thanks
[One (M7) Android Development] rootlinux:
I responded in BadBoyz thread. ;)
[One (M7) Android Development] BurnOne77:
Hi everyone, I think my TMO HTC ONE is bricked, was running Android Revolution HD 52.0 and everything was great.

I was putting music on my phone and it started acting laggy and unresponsive. I rebooted and nothing now :(

I get the usb connected and disconnected sounds from my pc but thats the only sign of life.

Device manager in windows says QHSUSB_DLOAD

I tried rebooting from adb to recovery and bootloader but nothing just says waiting for device.

AM I screwed ? ... so sad right now
[One (M7) Android Development] mike1986.:
QHSUSB_DLOAD is quite a serious brick. It might be quite hard to recover your device. We can try on my IRC channel.
[One (M7) Android Development] BurnOne77:
I'll be home from work in 4 hours.

Either way your my hero just for offering.

Hopefully I'll see you in a bit.
[One (M7) Android Development] Thuramien:
Hi everyone.

I might ahve screwed up pretty badly here..

I had root on stock rom on my One but wanted to flash ARHD as i have done on every other device i've had.

When upgrading firmware i made a bonehead move and forgot a step in the process. so while i had root on the stockrom i did a fastboot oem lock and flashed the newest firmware.

i now have a phone that is stuck in a bootloop and ends up on the update screen with the red triangle and !.

I can get into both bootloader and recovery, but i cannot mount the data partition as is says there is 0mb internal storrage.

any suggestions, or do i have a permabrick?

Cheers

//Thura
[One (M7) Android Development] angusc:
I guess you need to unlock your bootloader again, then root and then install custom recovery.......did you have any NANDROID backup that you can push to your device to recover?
[One (M7) Android Development] Thuramien:
I have unlocked the bootloader and flashed recovery again severaltimes. still wont show internal storage.

i tried flashing a RUU while bootloader was locked in the RUU state. no dice either.

and no i had forgotten to take my nandroid backup out of the starage before doing the oem lock so thats gone.

ive had plenty of ****ups before on many other devices. but never anything like this where i just cant get it to falsh a damn RUU

Update: been trying to reflash RUU but i keep getting a "remote: 12 signature verify fail" error. i assume this is due to the RUU not passing HTC's cheks. the problem now lies in getting a RUU that does, since both the sites generally linked to for RUU's are giving errors. anyone got a link that works?
[One (M7) Android Development] hemal_s33:
Try following.

Download ARHD corresponding to your firmware which you flashed. Put this in folder where adb.exe is

Download latest TWRP

Boot your phone in bootloader

Flash recovery from PC

Boot phone in TWRP recovery

From advanced options use sideload

Push Arhd zip using adb push command search for correct syntax

Come out of sideload mode and flash arhd as usual

If you are s on you need to flash boot.img from fastboot
[One (M7) Android Development] Thuramien:
had actually tried this. failed on the install part of aroma.

Since then i cant do a push since it wont mount the data partition, and a sideload fails aswell for the same reason.

it seems more and more like im screwed. and i rly cant bring myself to buy a new one now with the new one so close :P
[One (M7) Android Development] hemal_s33:
Sideload works fine with me. I don't know why it is not working with you.

Are you able to transfer ROM to phone using sideload ? Have you tried using universal adb drivers from clockwork mod
[One (M7) Android Development] bgf183:
Followed your advice in FAQ #2, did fastboot erase cache... now getting an error that it can't mount the cache. any advice??

Thanks!
[One (M7) Android Development] langer hans:
That's not an error and will only show once. Btw, don't quote complete posts.
[One (M7) Android Development] Thuramien:
I cannot use sideload no. the phone just gives errormessage "E: Unable to mount ´/data´ " followed by more mount errors. and then the sideload cmd gives an error aswell.

and thats pretty much it.

Update: just saw that the RUU sites are up and running again. will just try to run a flash of the newest one.

Resulst are in. fail yet again. new error though.

"writing 'zip'...

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

(bootloader) signature checking...

(bootloader) rom parsing start ...

(bootloader) rom parsing finish ...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) Read zipped android_info fail

FAILED (status read failed (Too many links))

finished. total time: 137.769s"
[One (M7) Android Development] crossmission:
Hi, I'm starting to get a little frustrated as I'm looking for a definite and safe way to return to stock and lock the bootloader, WITHOUT losing s-off, for a few hours now and all guides only talk about returning to s-on as well, I'm not trying any of them in fear or bricking or lose s-off (I'm on 1.56 FW), any help appreciated...
[One (M7) Android Development] mike1986.:
not a problem. just flash this http://xdaforums.com/showthread.php?t=2224752 and re-lock your bootloader. You won't loose s-off that way.
[One (M7) Android Development] kenkoxda:
hi guys, I need guidance, I unlock the bootloader and root then did a backup of the original rom with twr to install a custom rom (the phone is my brother) did not like the rom and restore backup . Now the phone says there is an update (ota) and asks if you want to install it, what should I do? install the upgrade (that brick the phone?) or the steps to make it like before? (htc one international version) please I need your help.:eek:
[One (M7) Android Development] KingMetal:
So i, m on ADRHD 52 and i love it. Wrong post
[One (M7) Android Development] Turminator8:
Help! I'm stuck step 11 on the guide for unlocking the bootloader. (says to skip steps 5, 6, and 7, and press "proceed to step 8" but there's no button that says that, only a "submit" button!).
[One (M7) Android Development] tukara:
I dont know what to do.

Hello how guys I'm noob on this and I have an HTC one m7 PN07130 with TWR recovery v2.6.0.1 and in bootloader i have this.

moonshine S-OFF

M7_UL PVT SHIP S-OFF RH

CID-11111111

HBOOT1.44.444

RADIO-4A. 14. 3250.15

when I boot on recovery i have a message that says I dont have OS. what I need to do to install your rom and which one is the best option. thanks in advance.
[One (M7) Android Development] dingurupa:
Rooting tools link broken

The rooting tools link doesn't work. I found the updated link from a few months ago and it doesn't work either.

Could someone post a new link to the rooting tools? Thanks!
[One (M7) Android Development] metinagar:
How to root

Hi guys.

I have a stock International version of the M8. I have been out of the game of rooting for about 8 months now and have forgot all the steps in unlocking bootloader, rooting, s-off, updating firmware, adb etc.

What is the first thing I have to do? Where do I get the hTC drivers to connect my M8 to my Windows 8.1 PC and how do I get ADB working so I can sideload etc?

Thanks guys I am so happy to be back after going to Apple.

Mike, your doing a great job son.
[One (M7) Android Development] TBagwell:
Yep, just decided to go for it and tried that bloody guide.

It just looks out of date, I will follow the htcdev instructions and see how it goes. ;)
[One (M7) Android Development] kevindiehl:
What is the best way to lock the bootloader and S-ON for a warranty exchange? I currently am running the latest AT&T Rom & firmware.
[One (M7) Android Development] Udonitron:
So what if HTC Dev tells me the CID is blocked and I cannot unlock the boot loader?

I have a HTL22 I am trying to get done.

Cheers
[One (M7) Android Development] Bocko92:
Mike, if i flash custom recovery -> root my device -> flash your stock recovery i'll be able to recieve OTA updates, right?
[One (M7) Android Development] mynewshiny:
Will unlocking bootloader on HTC One M8 erase apps?

Hi Mike,

First of all, thanks for posting this extremely clear and well-written guide!

I have one quick question before I start with unlocking the bootloader on my new HTC One M8:

In your linked article Negative effects of unlocked bootloader, you warn that the HTC One and HTC One X+ will lose some of the stock applications and therefore OTA update capability upon unlocking the bootloader. While the article specifies that only those two phones have that problem, it was written well before the One M8 debuted. Can you confirm that unlocking the bootloader on the One M8 won't remove any of the stock applications or preclude future OTA updates? I'm not concerned about losing any of my personal information on the phone—there's nothing on it that I don't already have elsewhere.

My current plan is to install your Android Revolution HD ROM, which looks to be exactly what I want for my phone. I just want to be absolutely certain that I can restore to stock if I need to, which I think means getting a Nandroid backup while everything is still stock as there is not yet an RUU for the One M8. (I had a somewhat scary experience with my old HTC One V CDMA that I was only able to fix via use of the RUU.)

Phone details:

HTC One M8 (AT&T version)

Software build 1.12.502.18 CL318619 release keys

HTC SDK API 6.17

Kernel version 3.4.0-g278eae8

Baseband version 1.14.21331931.LA2TG_20.28A.4145.00L

If you have a recommendation for backup the existing software in full before unlocking the bootloader, I would love to hear it.

Thanks!
[One (M7) Android Development] eladkatz:
Will I get updates from AT&T after this or am I doomed to update through TWRP forever

Hi,

I have a few questions about the process:

1) What if I have a 401 baseband and would like to remove the "tampered" screen - can I use method 2 even though I have 401?

2) Will I start getting notifications from AT&T/HTC about software updates if and when they happen? if not, is there a way to enable that?

Thanks,

E!
[One (M7) Android Development] technoweary:
No SU Binary

Hi,

Followed the excellent video for rooting my HTC One

All went well except that when trying to restore the adb I find that it cannot connect.

SuperSU is saying it has no binary and cannot install it.

Found some posts saying SuperSU is wrong and should be clockwork.

What's best to do?

Regards
[One (M7) Android Development] shaunhoop1981:
I am currently on arhd 7.0 and wish to install the newest firmware and radio update I returned to my stock nandroid back up and it prompted me there was a update I allowed it to download but as expected it failed once it rebooted into custom recovery how do I go about updating both from arhd thanks
[One (M7) Android Development] shaunhoop1981:
Update. Returned everything to stock and applied update and reinstalled arhd everything working fine
[One (M7) Android Development] mohsinraza:
2 months ago:

* Unlocked bootloader

* Flashed TWRP

* Flashed ROMS.

Now:

I want to go back to stock as I'm selling the device. I'm very scared reading devices being bricked so I want to know for sure how am I going to do this!

*Flash stock recovery

*Run RUU

Is that it? Any better way? Abything I missed...?

I'll be very grateful for the help.

Sent from my HTC One
[One (M7) Android Development] khandelwalsiddharth:
http://xdaforums.com/showthread.php?t=2541082

Go here.
[One (M7) Android Development] giorgit28:
Yes, it's written but when i'm entering htc recovery mode there is no any menu with "In main menu, select "install zip from sdcard" and "choose zip from sdcard"."

:):)
[One (M7) Android Development] ShaKki:
hello, i just tried to install the recovery like in ur manual but i gett an error message in cmd.. it tells me 'No Error' and that it cant flash...

did everything like in the guide , what did i do wrong?
[One (M7) Android Development] mike1986.:
I need the entire output.
[One (M7) Android Development] jntdroid:
mike forgive me if this is an ignorant question, but how do I pull the stock recovery .img file from the nandroid? I've got the recovery.emmc.win file and its md5, but from there I'm stumped...
[One (M7) Android Development] langer hans:
Get 7-Zip and extract it. TWRP nandroids are basically packaged in tar files with another extension to make it look cool :D

---------- Post added at 06:02 PM ---------- Previous post was at 06:01 PM ----------

You need a custom recovery for that. If you don't want to flash it, do steps 1-7 from section "Flashing custom recovery". This will be temporary and you can flash the root tools from there,
[One (M7) Android Development] JoeNeckbone:
Which Rom are you running?

---------- Post added at 12:07 PM ---------- Previous post was at 12:04 PM ----------

I have seen a stock recovery image thread around here. Probably easier than you trying to extract.
[One (M7) Android Development] jntdroid:
That's what I thought as well, but 7z says it can't open it or extract it as an archive.

---------- Post added at 11:23 AM ---------- Previous post was at 11:08 AM ----------
[One (M7) Android Development] langer hans:
Try giving it a .tar extension.

Either TWRP changed something for the One, or 7 Zip is messing up.

You can also Try Titanium Backup and "extrackt from nandroid", or simply boot cwm recovery and make another backup.
[One (M7) Android Development] ApexPredation:
Stock Rom nothing changed not recovery and su
[One (M7) Android Development] jntdroid:
Tried the tar extension, no luck. I haven't actually rooted yet, so I haven't tried TB yet. I'm trying via CWM now to see if it works.

Thanks for the help

---------- Post added at 11:52 AM ---------- Previous post was at 11:48 AM ----------

CWM puts it straight into an .img file, so I should be good to go. Thanks again!
[One (M7) Android Development] JoeNeckbone:
So other than being unlocked your 100% stock? and not rooted? When I saw hulu stopped working on viper I restored a nandroid from after I unlocked and before I rooted (had custom recovery) and it still didn't work. Now I am relocked and it is working again. I've read many other have same issues after unlocking.
[One (M7) Android Development] ApexPredation:
No I'm unlocked, CWM recovery, and Superuser in the sys.(rooted) running stock Rom no other changes made.
[One (M7) Android Development] giorgit28:
When i tried to boot with clockwork recovery (from fastboot) by the following command: "fastboot boot recovery-clockwork-touch-6.0.3.2-m7.img" it did not boot, gives me the following error: "downloading 'boot.img'...

OKAY [ 1.087s]

booting...

FAILED (remote: not allowed)

finished. total time: 1.096s"

Am i on the right way?
[One (M7) Android Development] langer hans:
You are, but your bootloader seems not to be unlocked. Does the fastboot screen show UNLOCKED at the top?
[One (M7) Android Development] giorgit28:
No i am not unlocked.

If i unlock, will it erase data from phone and reset it to factory defaults?
[One (M7) Android Development] langer hans:
Yes it will.

EDIT: Added it to FAQ, although it is already stated in first post.
[One (M7) Android Development] giorgit28:
OK

Thanks.

:)
[One (M7) Android Development] lilvfr400boy:
Mike is it possible to do a backup before flashing a custom recovery ? I'd like an absolute certainty that I have one 100% stock backup if possible as no ruu for my cid yet thanks again
[One (M7) Android Development] mike1986.:
yes
[One (M7) Android Development] lilvfr400boy:
Thanks mike you wouldn't think I'd been flashing and testing for over 4 years now lol
[One (M7) Android Development] c_live_lee:
Delete...
[One (M7) Android Development] Ba7rani:
I decide to send my htcOne to repair from camera sensor "purple tent issue"

Its really annoying issue

I am S-Off , With latest firmware , Super CID, I don't know my orginal cid! What to do?

Should I S-On , Locked , and have orginal cid also?
[One (M7) Android Development] galt:
Same boat. Did you ever figure this out? Any tips?
[One (M7) Android Development] Ba7rani:
If u r s-off , go here:

http://xdaforums.com/showthread.php?t=2527194
[One (M7) Android Development] carloss2013:
hi i currently on 1.54.401.10 same firmware want to change to rom with 2.12.401.3 should i update firmware first while on old rom or how should i do it? thanks am s-off + super cid
[One (M7) Android Development] kakyyabata:
can i flash this rom on HTC M8 Dual Sim ?
[One (M7) Android Development] Quipp:
need help

hi guys

so i need to go back to stock for warrenty

I came from maximusHD and before I rooted, I made a stock backup

I'm following the guide and now im not to sure what to do

Do I need to install the ruu? or is my stock back up enough?

Im also not to clear about the cid part?

(i dont know how to make a screen shot of my bootloader)

I got rid of the "tamperd" sign

still unlocked and soff

In my bootloader i see

unlocked

m7_UL PUT Ship soff rh

CID-HTC__E11

Hboot 1.44

radio 4A. 14. 3250. 13

opendsp v26 120.274.0202

emmc boot

Is this stock? or do need to change something?

many thnx in advance
[One (M7) Android Development] iampaoloxd:
I want to revert to Stock ROM and then root it after. Is there any flashable zips for that? Thanks!
[One (M7) Android Development] Aqilz:
Hi please help me, after I flashed the Rooting Tools and reboot to system, my HTC One restarts every 2 minutes. How do I fix this?

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

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

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0714000

(bootloader) cidnum: HTC__044

(bootloader) battery-status: good

(bootloader) battery-voltage: 4017mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-1f512bb6

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0
[One (M7) Android Development] Quipp:
Same problem here only have 5 to 10 second befor it reboots.

this happend when I set my s-on again and wanted to reboot. I cant enter recovery my phone is locked and s-on

need help!
[One (M7) Android Development] Aqilz:
I've fixed the problem. Download the file, copy to your device and just flash it.
[One (M7) Android Development] Quipp:
I fix the bootloop problem by Unlocking the device via htc dev.

got s-off again. al worked fine.

but now when I writesecureflag3 to get s-on the "tampert" flag is back up again.

were am i going wrong.
[One (M7) Android Development] Goldenstarc:
after installing deodexed and recovery my phone doesnt startup amd i can just hear htc boot sound :) and nothing else
[One (M7) Android Development] richie101883:
Much obliged
[One (M7) Android Development] flashmp3:
Please help !

I'm a new owner of HTC one M8. I followed the guide to unlock bootloader then install philz custom recovery. I then installed your ROM. Firstly during installation AROMA colours were weird. I couldn't read eveything well. I installed the rom with the default ticked applications. But when i reboot it is stuck at htc write screen.

What should i do ? I thought being unlocked + have custom recovery was enough but it seems not.

He are my vars :

C:\mini-sdk>fastboot getvar all

< waiting for device >

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.16.0.0000

(bootloader) version-baseband: 1.15.2133156.UA13G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.54.73.5

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

(bootloader) serialno: FA46LWM05133

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: ORANG202

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: ab0efa49

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

I'm a newbie in HTC (i had nexus 5 before)
[One (M7) Android Development] IberianPrince:
This is for m7 not m8
[One (M7) Android Development] liam_davenport:
Wrong thread