yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M7)] mrrogers1:
Ok, here is how I would to this, step by step.

Phone plugged in and turned on, making sure USB debugging is turned on under "Developer Options"

open command window.....

1. adb devices (to make sure it see's the phone, if it returns the deviceID, proceed.)

2. adb reboot bootloader (This reboots the phone into bootloader. As long as you have drivers installed properly, the phone screen will show "fastboot usb".)

3. fastboot flash recovery recovery.img (this will push the recovery "named" recovery.img that is in your SDK folder to the phone and flash it)

4. fastboot reboot (This reboots the phone)

See attachment for example

Then manually boot into bootloader (or you can use adb reboot bootloader) and use the volume rocker to choose recovery and press power to boot recovery. PROFIT

Hey, I don't know how the sdk was that he sent you but if you download this one that I use (you can download from here >>>>>> HTC_OneSDK) all you have to do is unzip to a folder and if you run the cmd.exe it'll map you to the current folder and all you have to do is run commands.
[Sprint HTC One (M7)] AssassinsLament:
If you could run "fastboot device" and get the correct output, how can you not run "fastboot flash recovery recovery.img" ?

They are both calling the same fastboot executable.
[Sprint HTC One (M7)] Roman G:
1, and 2 work fine it's 3 and 4 I can't get 2.

C:\android> fastboot flash recovery recovery.img

error: cannot load 'recovery.img'

I have a file named "recovery.img" and a file named "openrecovery-twrp-2.5.0.0-m7wls" just to make sure I had it named right. There both sitting in the root of C:\android, as is the same as the location of the command prompt.

**** if I know, that what i'm trying to figure out.

---------- Post added at 12:32 PM ---------- Previous post was at 12:21 PM ----------

If i'm not providing you guys with enough information, just let me know:good:
[Sprint HTC One (M7)] AssassinsLament:
Ok.. I think there is your problem... as you stated "openrecovery-twrp-2.5.0.0-m7wls" doesn't have an extension (meaning the extension is hidden which is default for windows). And when you renamed "recovery.img" it is actually "recovery.img.img"

So just rename "recovery.img" to just "recovery" and try the command again.
[Sprint HTC One (M7)] mrrogers1:
Use the SDK setup I linked you to first of all so we can eliminate the file location. Then, tell me, once you execute adb reboot and your phone is in the bootloader, does it AUTOMATICALLY say "Fastboot USB" or not. If not, you have a driver issue and you need to re-install the drivers again. Look at my screen shot very closely and make your SDK folder looks just like that. Also, make sure you can see the file extensions. If your computer isn't setup to show all extensions, you could be renaming the file incorrectly. So if you rename a file recovery.img and don't see the extension, your file is really named recovery.img.img so that could be a problem.

---------- Post added at 02:41 PM ---------- Previous post was at 02:38 PM ----------

BOOM! Just what I was thinking. :)
[Sprint HTC One (M7)] Roman G:
Oh for **** sakes, thats what it was. When I was active in the OG EVO forums I had even helped people with the same exact problem, but alas YOU DA MAN:cool:

Thanks for all the help guys:good:
[Sprint HTC One (M7)] Immort4lSinS:
hey guys, im having an issue...

1. htcdev unlocked

2. rebooted, downloaded goomanager, it asked to flash a recovery, did the twrp... or so it says it did

it said it would restart itself... but it didn't. i see the recovery.img in the goomanager folder.

3. plugged in to pc, fastboot, says fastboot usb

4. opened cmd and typed exactly as above to flash recovery and viperrom, but it says unknown error.

am i missing something??

Sprint HTC ONE ***UNLOCKED*** S-ON

ALSO, while in bootloader, i click recovery, goes to black screen and eventually has the red triangle with an exclamation point...

and, i have both recovery.img (twrp) and viper.zip (viper rom) on root directory

Edit #2 --- im a dummy who forgot to put the recovery.img in my C:\Android folder HA! anyway, got it flashed, now im back at the booloader screen.... something odd i see... ***TAMPERED*** above ***UNLOCKED*** normal?? kinda freaking me out
[Sprint HTC One (M7)] twizt3d:
Sounds like you didnt actually root the phone, just unlocked it. When goo is requesting root to flash a new recovery it cant. Check a thread on rooting, i know viper did a good one. Also note i dont own this device, im just thinking about getting one so im poking around in here. Meaning i could be wrong.
[Sprint HTC One (M7)] youkosnake:
It's normal. I have the same and all is well.

I'm pretty sure the ***TAMPERED*** Means you have a custom recovery
[Sprint HTC One (M7)] thronnos:
Install the Recovery via Fastboot Flash and you shouldn't get the 'Tampered' thingy.

Edit: I say this because I Rooted an EVO LTE and just installed the recovery in one of the more used ways and I got the Tampered. Then I did a Evo 3D and One X and I used Fastboot Flash Recovery and I didn't. :)

Shifted from the bottom of the rabbit hole
[Sprint HTC One (M7)] Immort4lSinS:
Hey guys thanks for the response. I did end up flashing thru fastboot usb. I forgot to add the .img file to the android folder I created for the htcdev unlock. But ya it doesn't seem to be hurting anything. I'll just cross my fingers if I need to unroot for some reason, tampered, will disappear
[Sprint HTC One (M7)] erikivy:
I could be wrong, but I thought the "tampered" status was a direct result of unlocking the bootloader via HTCdev unlock?
[Sprint HTC One (M7)] raptoro07:
I don't think it says **Tampered** until you change the recovery. At first mine just said **Unlocked** at the top after flashing the bin file from HTCDEV through adb.
[Sprint HTC One (M7)] xRaul:
Can you build twrp for LG E610/Optimus L5 ?
[Sprint HTC One (M7)] erikivy:
My bad, you're absolutely right. Sorry about that. :)
[Sprint HTC One (M7)] SuperiorEVOlution18:
I installed via fastboot and I have the Tampered label as well. I think it clicks over once any custom recovery is put on the device. Give it some time and I'm sure someone will come out with a work around and or a way to make it look just like it did out of the box with the Locked S-On instead of Unlocked/Relocked and (hopefully soon!) S-Off lol least they did with the OG EVO.
[Sprint HTC One (M7)] harrisonland:
Unable to mount "/data"

Having some problems, wonder if anyone else has had this and found a way round it - or am I just being a numpty?

So far, so good..., but then:

TWRP2 is installed in "recovery". On exiting TWRP, I confirm the prompt to install SuperSU but installation doesn't succeed. On closer inspection, it would appear that TWRP is not able to mount the /data partition which also makes it impossible to do a backup without which I don't really want to install Dumlock as I would have no way to roll back if all went pear-shaped.

Have searched this thread, and the thread at http://xdaforums.com/showthread.php?t=2173870, but can't seem to find any similar problem. Would be grateful for any pointers!
[Sprint HTC One (M7)] 2phonejones:
So i wiped my internal data by mistake, now im trying to flash this rom but the zip is no longer in my internal. Ive tried doing adb push alll night with no luck couldnt get it to psh to the device. Im using twrp. Anyone have any ideas? im sure im not this 1st person that has been in a pickle like this lol. Thanks any help is appreciated...luckily i still have my note 2 so i can use it until i get this straightened out i miss my htc one!!!
[Sprint HTC One (M7)] kleen3r:
You need to connect your phone to pc using usb. Then go into recovery and mount the internal drive. Then copy your zip over from pc then flash.
[Sprint HTC One (M7)] il Duce:
Made a theme for twrp.

http://xdaforums.com/showthread.php?t=2256289
[Sprint HTC One (M7)] Rippley05:
I'm guessing from the op when it tells me to enter the commands" fastboot flash recovery recovery.img " that instead of typing recovery.img I need to type the actual fiel name of the recovery I'm trying to flash correct?
[Sprint HTC One (M7)] SSS Desire:
You're correct mate...

Or you could just rename the recovery file name to just "recovery", hence it's fastboot flash recovery recovery.img :)
[Sprint HTC One (M7)] Rippley05:
Thanks a ton, I found the directions in the 'readme" folder too. Missed it the first time.
[Sprint HTC One (M7)] magnumtripod:
I'm currently having the same issue and CANNOT figure out how to fix it. This is the worst I've ever bricked a phone. Any luck?

how exactly do you mount the internal drive?
[Sprint HTC One (M7)] il Duce:
Have you tried adb sideload?
[Sprint HTC One (M7)] magnumtripod:
just tried it and no go

i just keep getting and error then it says closed. I've also renamed the file and that didn't work either
[Sprint HTC One (M7)] 2phonejones:
Check your local stores(youll find that to be pointless lol) or amazon and buy a otg cable for htc. They have ones that are like 2$ but the shipping was like 17-28 days! lol. I found one for 9.99$ and got next day im actually fixing mine as we speak. Then connect the otg cable to a usb stick with your desired rom on the usb stick. Then, goto recovery and there is an option for otg mount then find rom.zip and flash! at least i hope thats how it goes...seems promising ill be back with an update.
[Sprint HTC One (M7)] magnumtripod:
yeah man keep me updated. maybe I'll see if I can find one tomorrow. nothing else seems to be working
[Sprint HTC One (M7)] 2phonejones:
I forgot to update you lol it worked, easier than taking candy from a dumb baby. Now i have a way to connect a controller to my phone. Running cleanrom now with no issues. Good luck...well i know it will work. :D
[Sprint HTC One (M7)] magnumtripod:
I was able to sideload and flash ROMs using CWM instead of TWRP. I tried re-flashing TWRP a couple times, so I don't know if it just never installed properly or if it just flat out couldn't do what I wanted it too. CWM worked like a charm though and it saved my ass
[Sprint HTC One (M7)] knlmwq:
I need help bad.. I currently have twrp installed with a 100% black sdcard. meaning I have no rom that I can flash and absolutely no rom currently installed. I am trying to get a rom.zip on my phone so I can flash. I am trying the command adb sideload <filename> but nothing happens. Can anyone save my phone? Is there anything I can do besides buying the otg cable?
[Sprint HTC One (M7)] hotaru2k3:
try flashing cwm in fastboot and then using adb sideload with cwm, or ruu.
[Sprint HTC One (M7)] knlmwq:
I have flashed CMW and whenever I type the command adb sideload on my computer, It just runs through and list the default help messages (all the adb commands) but nothing else happens.. It is as if my computer doesn't recognize the adb sideload command
[Sprint HTC One (M7)] hotaru2k3:
you need to include the filename, like "adb sideload rom.zip", if you only type "adb sideload" it will list the commands like that.

if that doesn't work, ruu might be your only option.
[Sprint HTC One (M7)] knlmwq:
Yes I included the file name. "adb sideload OMJ_Sprint_ONE_v1.2.zip" is specifically what I typed. I tried changing the file name, adding .zip after it. Nothing worked. I am probably forgetting something very simple but I cant figure it out

Edit: I ended up buying an otg cable and was able to flash the rom. Still not sure why I couldn't get the sideload to work though
[Sprint HTC One (M7)] il Duce:
You have to put the path to the zip in the sideload command. So "adb sideload /C:\users\desktop\blahblah\rom.zip"

TBH I've only used sideload for a zip in my phone, but I'm pretty sure that's correct.
[Sprint HTC One (M7)] cron0s879D:
Hi!

Thank you for your job.

I would like install TWRP 2.5.0.0 in my new Lenovo A820 (based in MTK6589).

Anyone can say me how to install it?

I don't found any tutorial for install TWRP for my phone.

Thank you!
[Sprint HTC One (M7)] raptoro07:
TWRP is not supported for your device.
[Sprint HTC One (M7)] cron0s879D:
this is not true. I use TWRP 2.4.4.0 and work very fine:

http://lenovo-forums.ru/topic/1078-расширенный-twrp-v2440-recovery-для-lenovo-ideaphone-a820/

:cyclops:
[Sprint HTC One (M7)] raptoro07:
On the TWRP website it was not listed as a supported device.
[Sprint HTC One (M7)] cron0s879D:
I know this but in lenovo forum there is a version patched and work ok! :)

I hope that developer make an version for mtk6589 phones based
[Sprint HTC One (M7)] CNexus:
If anyone is trying to flash a recovery straight from their device (eg, without fastboot), you can refer to my post here for how to do it:

http://xdaforums.com/showthread.php?p=41199470
[Sprint HTC One (M7)] Mko979:
Hey guys, I am having the weirdest thing happen. Ever since I flashed CM 10.1 and flashed back to a sense rom I went into root explorer looking for a file on my sdcard. I couldn't find it and thought that maybe I somehow wiped my sd, but then I found out that all my stuff was being stored on a sub directory within the sdcard called sdcard/0. The problem is TWRP is not recognizing this subdirectory called 0 and so when I'm trying to find my files to flash I have to go into data/media and there everything is. Its confusing I know but before I flashed cm 10.1 I used to be able to just go into sdcard in TWRP and everything was there and the other weird thing is that I tried to erase this 0 subdirectory and it says cannot delete directory. any ideas?

Also, during this scary process where I thought I didn't have a rom to flash in TWRP after I had wiped everything, I tried to mount USB so I could trasnfer a rom from my laptop to the phone and I noticed it would not mount USB. Is this already a known issue? I tried clicking the usb toggle but it wouldn't do anything.
[Sprint HTC One (M7)] 94tbird:
answer was given to you in the other thread you posted this in

http://xdaforums.com/showpost.php?p=41304425&postcount=101

I backed up my files, performed a data format in recovery, booted back into my current rom, and copied the info back.
[Sprint HTC One (M7)] Mko979:
Thanks a lot, yea I wasn't quite sure exactly where to post this as it relates to both threads. It's just weird that TWRP recognizes only the 0 sub directory within the sdcard directory but when I download a fire or anything it downloads to just the sdcard directory. I'll try what you said though. I just get scared that if I format data, wiping internal storage, and for some reason the current Rom doesn't want to boot, I'll be stuck because mounting USB doesn't work and I won't be able to transfer another Rom to the device.
[Sprint HTC One (M7)] 94tbird:
if you dont wipe system and boot it will boot. if it doesnt, use sideload adb
[Sprint HTC One (M7)] owenbeals:
How to unlock bootloader

https://www.youtube.com/watch?v=r0gzJdwCxX0&feature=youtube_gdata_player

And How to root and flash Recovery

https://www.youtube.com/watch?v=S1KmsxO84UU&feature=youtube_gdata_player
[Sprint HTC One (M7)] adamlee011:
just got the one, dev unlocked it, flashed this like three times says okay try to boot recovery and it says entering recovery at the top which i'm pretty sure it should not (maybe it should? I've only seen that on previous phones when no custom recovery was installed) then it just shuts off completely. tell me i missed some major obvious step in my excitement.
[Sprint HTC One (M7)] SuperiorEVOlution18:
It should indeed say Entering Recovery. Mine says that every time I go into Recovery. But it sounds like yours didn't take for whatever reason bad DL maybe? What steps did you follow? If you did everything per OP/HTCDev I'd try a new DL.
[Sprint HTC One (M7)] adamlee011:
Sound advice. If I got older versions to work on evolte and am following the same steps and dev unlock worked from the same pc, I should be ok right? Nothing majorly different going on here?
[Sprint HTC One (M7)] SuperiorEVOlution18:
Right. I followed the steps and it did exactly what you said except TWRP booted and I was off. Although I remember it doing that same thing when trying to boot from the system app back into twrpand what I did was hold power and vol down to bring up the bootloader and manually select recovery and it worked. Try that maybe?
[Sprint HTC One (M7)] hotaru2k3:
does anyone know if this recovery has support for encrypted storage on the one?
[Sprint HTC One (M7)] sprinttouch666:
After restoring a nandroid (viper), TWRP has created a folder named "0" and put all of my internal storage files in it. This seems very strange and its really really annoying. TWRP doesn't see files that are at the the true root of the "sd card" (if you can call it that) only the files in the "0" folder. Log attached.

Really confused because it says the sd card is /data/media/0/ everywhere when it should just be /data/media, right? Thanks in advance for any help
[Sprint HTC One (M7)] adamlee011:
Yea thanks. No dice. I've tried flashing/rebooting in every method/combination I can think of. I'm gonna sleep on it. (I tell people I have insomnia but you guys know better.)
[Sprint HTC One (M7)] SuperiorEVOlution18:
Ok man sorry I couldn't help more. Hopefully someone with mote experience then me can come and have a solution for you to get this going!
[Sprint HTC One (M7)] adamlee011:
I knew a good night's sleep would help. I started over and went to dl for the third time and noticed there was another file for Sprint. I was flashing the wrong file! Awesome root tool btw. I didn't use it though since I'll be installing viper anyway. Thanks for this. If it wasn't for you guys I'd stick to flip phones!
[Sprint HTC One (M7)] SuperiorEVOlution18:
Glad you got it working! Welcome to the party!:good:
[Sprint HTC One (M7)] hotaru2k3:
well, since i didn't get any replies i went ahead and tried it... turns out it doesn't.

time to start the long process of restoring my phone to it's previous unencrypted state...
[Sprint HTC One (M7)] Six6tring:
Hey sprinttouch666, I may be wrong about this, but I think I remember reading somewhere that the "0" folders are related to the way Jelly Bean 4.2.2 handles its multi-user capabilities.
[Sprint HTC One (M7)] andril:
Any idea of how to completely remove it from my HTC One X?
[Sprint HTC One (M7)] huzvi88:
Ok this is driving me crazy, sorry if this has been covered but I've gone through all 13 pages multiple times...

I have TAMPERED and UNLOCKED when i boot into recovery. But when I go TWRP and try to reboot the system to get SU install prompt I get a "NO OS INSTALLED" Also I cannot find any of my zips... I can browse around but still do no see anything...

I've flashed TWRP 2.5.0 several times to no avail.

This is most I get when going into /SDCARD

Thanks in advance for any assistance.
[Sprint HTC One (M7)] adamlee011:
Did you wipe system? If so you need to install a Rom. If you can't access from sd you'll have to flash a Rom via adb.
[Sprint HTC One (M7)] huzvi88:
Thanks for the quick reply, No I'm pretty sure I have not wiped.. I can still boot up the stock ROM. I haven't bee able to flash any ROM yet. Just finished unlocking bootloader.. Sorry if that does not answer anything
[Sprint HTC One (M7)] adamlee011:
Ok so if you can boot then that's not it at all. I'm no expert but that sounds very strange to me. Be sure you have the correct twrp version installed (I tried flashing the m7 version when I needed the m7wls I have Sprint) and beyond that hopefully someone comes in who has seen something like that before. Try reflashing twrp in the mean time.
[Sprint HTC One (M7)] huzvi88:
Ahhhh hopefully that's it as I do have sprint and I'm pretty sure I did the M7 Version. Trying now...

EDIT: OHH MYYY GOOOOOOD DUUUUUDE thank you so much!!!!!!! That was it... I seriously lost about 4 hours of sleep last night trying to get that damn thing working Your the man!!!
[Sprint HTC One (M7)] adamlee011:
lol. No problem. I had to sleep on it before I went through it all a step at a time the next day and STILL almost dl'd the wrong one. Mine just wouldn't boot into recovery though. Just shut down. Glad you figured it out.
[Sprint HTC One (M7)] sprinttouch666:
Thanks, that makes a bunch of sense. I was restoring viper after flashing one of the first couple cm nighties. Hopefully I'll be able to fix this issue now that I have an idea of its (likely) origin.
[Sprint HTC One (M7)] dandan2980:
My recovery will not flash or restore any of my back up thank goodness I haven't done a complete wipe. When I try to restore my back up I swipe the bottom and phone just reboots also was trying to apply a theme and does the same thing I am stuck on viper Rom which isn't a bad thing but does anyone know of a fix????
[Sprint HTC One (M7)] YoungCorruptionV2.0:
Reflash the recovery, that should fix your problem

Sent from my HTCONE using Xparent BlueTapatalk 2
[Sprint HTC One (M7)] dandan2980:
I actually got it working again by just flashing viper Rom only wiping caches then everything works again last thing I flashed was purexaudio mod from the international one section than tried to flash a theme subzero viper Rom version updated over the existing theme already applied and that is when all hell broke loose so don't know if it was the audio mod or trying to flash the updated theme over the old one but the theme wouldn't apply so I am leaning towards the audio mod but it is all working now.
[Sprint HTC One (M7)] abacus0101:
where is the factory reset ???

most roms want you to first wipe both caches and then do a factory reset..i dont see factory reset in ver. 2.5

where is it?
[Sprint HTC One (M7)] adamlee011:
Under wipe before choosing advanced out format just swipe for factory reset (i overlooked it too at first). Or in advanced wipe data and caches. I wipe data and caches and system. Most roms wipe system for you but sometimes some may not. That's rare I think though (some incremental nightlies?).

Hit thanks if I get one right!
[Sprint HTC One (M7)] crypticlama:
Hey guys. I went to the htcdev page and went to the unlock part. It's asking what device I have and I don't see the HTC one. What am I missing?:/
[Sprint HTC One (M7)] volk9029:
Click on all other supported devices.

Sent from my lair.
[Sprint HTC One (M7)] Rydah:
been having trouble pushing framework-res.apk while in twrp. once i push it, it reboots the devices (the file showing as not pushed) anybody else?
[Sprint HTC One (M7)] Leeboy:
Same here bro, had all sorts of issues with pushing/mounting/formatting. Finally gave up and been using CWM the past few days. Not as many bells/whistles but extremely stable.......I've tried everything it has to offer and not one hiccup. I have pushed numerous roms to my sdcard thru CWM with no problems. Side loading works great also. Give her a shot..........
[Sprint HTC One (M7)] il Duce:
I had issues when using the stock kernel and pushing (but not while in twrp).
[Sprint HTC One (M7)] CarbolDroid:
****************************edit*****************

Im an idiot please ignore... :( got it :)
[Sprint HTC One (M7)] jpmcnown:
Do you think it may be possible to customize the output file sizes during a backup? I'd really like to store some backups online, but most of the free cloud services have file size limitations. Thanks
[Sprint HTC One (M7)] mrrogers1:
Jpmcrown - You can choose compression or not right before running the backup. Also, you might try using Orange Backup ti create your TWRP backup and push to the cloud in one operation. I never use cloud storage but Orange is quite the amazing tool. Orange + TWRP is what I wish we'd have had yeeeears ago! :)
[Sprint HTC One (M7)] JAG50:
Unknown Password Request

TWRP 2.5.0.0 is now asking me for a password. Never had this prompt before. How do I fix this?
[Sprint HTC One (M7)] frankk1979:
HTC update that fixes home and back sensitivity

Since I flashed TWRP I am not able to run the update that sprint or HTC rolled out. Does anyone know a work around? Thanks before hand!
[Sprint HTC One (M7)] adamlee011:
You have to have stock recovery for ota. If you really must accept an ota, which no-one will recommend doing, flash a stock ruu.
[Sprint HTC One (M7)] atulclassic:
Pls add Motorola Defy in device list..Quarx has sucessfully ported TWRP 2.5.0.0 to Defy/Defy+.