yashsingh1/xdaforums huggingface dataset:
[HTC Desire 610] cbgti:
Before making any mods, can somebody tell me how to backup the Stock Recovery?
[HTC Desire 610] ClearD:
You can't, until you unlock the bootloader I don't believe.
[HTC Desire 610] KLit75:
Can you give an approximation on when you'll have the one click root ready? I hope I don't sound ungrateful or anything but there's an app Ive really been wanting to try that needs root. If you ballpark it as an eta of like a week I'll probably just wait but if it could be a lot longer I may try the method in the op. I've been checking back here everyday and have been tempted to give it a go but with my luck you'd have the root available 10 mins after I brick my phone.Thanks.
[HTC Desire 610] rporter8@yahoo.com:
I've been checking back here daily as well....ur doing us a big favor so I jus wanna say thank u..hope ur settled in ur New house by now...wondering if the one click option will work on ATT phones or not...thanks again bro n keep up the good work...I'm all the way in Jamaica so Iris Mon !!!
[HTC Desire 610] ClearD:
I'll try to work on it today. No promises, but I'll see what I can get done. :)
[HTC Desire 610] KLit75:
Awesome! Really do appreciate it. Thanks.
[HTC Desire 610] ClearD:
Well, I had to leave my laptop at my mom's house. Desktop is here at my house, but all my development tools are on my laptop. Off work tomorrow, and should have it back tomorrow morning. If nothing else, a one click script should be easy enough without the gui for tomorrow. I'll keep working.
[HTC Desire 610] sagrado:
:fingers-crossed: Thank you sir ClearD!
[HTC Desire 610] ClearD:
Got it finished. Even made it a self-running exe file. So, just click the exe and let it run. Read the instructions and let it do its thing. I'll upload it tomorrow at work, so I'm not using a crazy amount of my phone data tonight lol. It flashes twrp, roots your phone, then flashes jmz's kernel to keep root working like it's supposed to. Since his kernel zip uses aroma installer, I can't automate that part, but the rest is all automatic. It'll reboot your phone when it needs to, reboot into fastboot and recovery, and auto flash things. :)
[HTC Desire 610] rporter8@yahoo.com:
Ur the man ClearD...nuff respect bro...Irie Mon.
[HTC Desire 610] ClearD:
I will need an alpha tester though. Anyone interested, please pm me? I should have it uploading to my Dropbox around 1 pm est or so.
[HTC Desire 610] ClearD:
Well, no takers. But if you want it, here's the first version:

Preferred direct download:

http://www.cleardroidroms.com/download/click.php?id=134

Mirror:

https://app.box.com/s/9vnj8w8aqsztn7cz6jh8

It's made for the at&t version but will probably work for both. However the recovery icons may not space the same on the international version. Let me know if it works for you guys.
[HTC Desire 610] KLit75:
I would've volunteered but honestly don't know if I'll have the opportunity to try it today. I have at&t and will be trying it asap but would've loved to get feedback ahead of time. So does this include unlocking boot loader or do I need to do that first? First time doing this with a android phone so I'm hoping if there's any issues they report here before I try to root. Thanks a lot for this again! I'm a little nervous but really looking forward to it.:laugh:
[HTC Desire 610] ClearD:
Nope, have to unlock the bootloader first, and the root tool tells you that as well. It won't work without it. :)
[HTC Desire 610] rporter8@yahoo.com:
I tried it cleard...but it doesn't tell u when to connect the phone to the computer....should u connect the phone b4 or after u double click on the exe file? I got to the usb debugging part but after I follow the instructions to press a key it just goes blank....should I now connect the phone to the computer or should I have already connected it?
[HTC Desire 610] ClearD:
Probably beforehand. After the last press any key part, it waits for your phone to be detected by adb, which requires a little action on the phone also. Did it pop up on your phone asking for permission to connect with the computer?

It may also need to install the drivers and such. Turn on USB debugging and plug it in and watch it for a few, both the computer and the phone.
[HTC Desire 610] rporter8@yahoo.com:
I got to this screen and then it just freezes

- target reported max download size of 763179008 bytes

- sending recovery <10926>.

It then freezes...the phone is rebooted into fastboot mode but I can't use the volume keys..only when I unplug usb from computer I can use the phone. ..what am I doing wrong?
[HTC Desire 610] ClearD:
Are you HTCDev unlocked?
[HTC Desire 610] rporter8@yahoo.com:
Yes...it shows unlocked at the top of the screen...I think it was in pink... And I waited for about 15minutes b4 unplugging usb from computer.
[HTC Desire 610] ClearD:
Try rebooting the phone and the computer :) if not, I may have included out of date adb files...

If that's the case, simply installing the latest adb drivers to your computer should solve it. It worked for me, but I'm sure I've also probably installed the newest ones at some point in time. I just downloaded some new ones, and will try to work on it again tonight if it doesn't yet work for you.
[HTC Desire 610] rporter8@yahoo.com:
ClearD u r d man....I restarted both phone n computer n now it worked....ur great bro...now if u could tell me how to uninstall all the att bloatware... that would b great....

Thanks again bro....ur d greatest!!!
[HTC Desire 610] ClearD:
Hey, if it works, it works! I won't touch it lol. I'd download root uninstaller from the play store. However, you can "disable" those stock apps just in settings-apps, and open the app you want to disable. It should give you the option in there.

Should I add it to the first post in the thread?

Also, new download link from my own site:

http://www.cleardroidroms.com/download/click.php?id=134
[HTC Desire 610] KLit75:
Well I can't say it works or not. I'm having issues unlocking boot loader! I made it to step nine and must not have had the sdk tools setup right so I did so, but when I launch eclipse it says java emulator isn't working or eclipse is not in the path (or something very similar.) I have the tools on my mac and know they work so I could easily unlock it on mac...probably. But then that doesn't help much because I need to go back to my PC to root.

I'm a novice but have messed around with ADB for my fire tv many, many times. So it's not like I'm exactly starting from scratch but might as well be when I use the PC. Tomorrow hopefully I'll have time to troubleshoot whats going on with java. I get to the part where you paste fast boot flash token and thats where I get the stop sign (so close) Any insight on why java isn't working properly? I downloaded and installed it then repeated the install but still a no go. Thanks. I'd just use your original guide but not sure what the consequences might be if I unlock the phone then need to abort during the root process on my mac.
[HTC Desire 610] ClearD:
This method only works on Windows, you'll need to do it manually on Mac. I don't own one, so I have no intentions of creating it for one, sadly.

That leads me to wonder why you're opening Eclipse? I opened a command line in my fastboot folder and typed in the commands... It was as simple as that. No Java or sdk needed... Not sure at all how it works on Mac, but that seems like a lot of extra work. O.o
[HTC Desire 610] KLit75:
I bring up the Mac because that's my main computer and I'm comfortable with it. But tonite was all Windows. When I get to step 9 I think (after HTC emails you the unlock key) I put it in the same folder as the fastboot file ( I believe HTC had me download earlier) then paste the command they tell me to into the command prompt. Sorry can't remember what it said after that but it didn't work.I tried to backtrack and wound up on the first page of HTC website that said I should've downloaded sdk tools and java. So I did so and the reason I tried to launch eclipse was because it's part of the install process for that.

But you're saying I don't need any of that installed? And could you clarify what you mean by "open command line in fastboot folder"? I just opened command prompt when I got to that step. Again--not familiar with command prompt--I'm sure it's extremely basic. Based on what you're saying I now have no idea why it didn't work. Not a single hiccup up until executing the unlock.

I would do it manually on Mac but other than unlocking it which I now know can easily be done on Mac, I don't know if the other steps are the same. For fire tv there were little differences. It's no more difficult but the commands needed to be written slightly different.
[HTC Desire 610] ClearD:
Yeah, somewhere on my website is a zip file called miniADB. I think it may be on the motoactv page (probably cleardroidroms.com/motoactv.php). If you can, download that file and extract it to a folder somewhere. Inside it should be a batch file called "runme" or something similar I believe. Just open that file and it'll launch a command prompt right where you need it. Otherwise, if that batch file isn't in there, you just need to use the "cd" command to "change directory" to your miniADB folder in command prompt once you launch a command prompt. Again, not sure of all of that on Mac, but that's how it works on Windows. Also, I just realized, all the binaries I just mentioned were Windows formatted... You'll need Mac binaries to use the Mac, which of course I don't have... -.-
[HTC Desire 610] KLit75:
Sorry to bombard you with questions but to be clear--you do need to have those programs (adb mini folder) pre-installed?

I will attempt it later.

If it doesn't work I may attempt the unlock boot loader on Mac then go back to the pc for root. There's just a question been on my mind since I first read your op...first you type a command to create backup. Then you unlock bootloader. Everyone on web mentions this but the part that I can't find is how is the backup restored? Does the phone prompt you once it's unlocked? Or is there something else involved? I'd just like to know what to expect if I have any issues. Btw I did create a backup on my pc but once it's unlocked I'm not sure how to get it restored...

*update* just to recheck I went back to the HTC website and it does say you need Google Android sdk, java runtime, and HTC sync. If this bit of info helps, before I even got this phone I was prepping for root. The info I got back then said I needed to install the appropriate drivers so I attempted this manually and it was tedious knowing if I got the right ones. I'm now about 90%certain just HTC sync is all I needed installed but I bring it up cuz wondering if there may be a conflict? I've used this pc to sideload apks to fire tv so I'm stumped as to why I'm having issues with anything involving sdk. There's got to be something else going on.
[HTC Desire 610] ClearD:
You basically just need htc sync for drivers, Uninstall it afterwards. Then you need adb and fastboot for backing up the phone and unlocking the bootloader. You don't need the whole sdk, Eclipse, or anything else, the miniadb zip has the files you need inside it. And you're doing the bottom unlock right? All other supported devices? That's the proper one, per htc. And to restore, it's simply adb restore filename. I believe that's correct. Do that after unlocking bootloader.

And the one click root has adb and fastboot drivers already in it, so you don't need those actually installed to use it.
[HTC Desire 610] KLit75:
Motoactv latest stable build? Is that the one I want? Sorry it's a little confusing. If it is do I extract the whole file? Are there specific folders like mini adb and fastboot I can just install? Or is mini adb universal and I can get it from any trusted site?

Sidenote--HTC sync is terrible for Mac. I had a little time so tried to unlock boot loader again and it hangs"waiting for device" it loses it connection. When I try to sync music too. So the thought I might have an easier time with Mac was probably false. It's frustrating because if anything I thought the root process might have issues but unlocking it would be smooth. Looks like it's the opposite. Thanks again for the extra help. I know what I'm struggling with technically has nothing to do with your root app or the procedure.
[HTC Desire 610] ClearD:
You just want the mini adb folder, one sec and I'll get it for you.

Edit: http://www.cleardroidroms.com/download/MiniADB.zip

And no problem, part of being an RD I suppose. I always like to help when I have time and am able. :) That zip has the adb and fastboot files as well as the adb drivers for Windows. Just extract that onto your desktop and open a command line in that folder. Then you'll be able to run adb and fastboot commands from there.
[HTC Desire 610] KLit75:
Wow that was a fast response! I gotta run out so sorry if I dissappear for awhile. I'll try to get back asap cuz I want to get this done but time isn't on my side lately.
[HTC Desire 610] ClearD:
No worries, and also, the MiniADB.zip actually has the RunMe.bat file inside it, so just open that file and it'll open the adb/fastboot command prompt for you. It doesn't install anything, everything is contained in that folder.
[HTC Desire 610] KLit75:
Thanks. I'm still out and will be for awhile. But if I could ask one more question... There's adb and fastboot in the file...does that mean I don't need to download and install the fastboot that HTC says to in the guide? (think step 4 or 5) or is that something different? Def rememvber it as fastboot but not sure it's exactly the same as what u just sent me. Probably the same thing just want to be 100%. Thanks.
[HTC Desire 610] ClearD:
Fastboot is fastboot. Or should be anyways. Worked for me, should work for you also. :)
[HTC Desire 610] ClearD:
I may also make the root tool break into options... Like single options for flashing recovery, rooting, and installing jmz's kernel.
[HTC Desire 610] KLit75:
I don't have anything new to report but hope to get home soon and try this. Of course I have another question--the first step is the adb backup command & it'll return "now unlock your phone" but thinking about this ...I'm wondering if my problems with sdk tools, will it be an issue restoring the backup after I unlock? Don't know if just the adb and fastboot you provided will be adequate to perform the restore. If you've already gone to bed for the nite I'll probably attempt this anyway. Just hoping u might check in again tonite.
[HTC Desire 610] KLit75:
error: cannot load 'Unlock_code.bin'

That's what I get when I try to input the unlock on the final step. The runmefile doesn't work on my pc. It flashes a command prompt screen for a split second then goes away. I saved the adbmini folder to the root of c drive. That's the place it worked for adb (wouldn't let me put it n desktop.) I just have no idea what I'm doing wrong. Also, when I finally got adb bacvkup to be recognized and gave the command it sends back a long explanation all these different adb commands. Don't know if that means it doesn't work but it was a lot different than last night on my pc and earlier today on my mac when it just said "now go unlock your phone" I'll keep at it but kinda lost. Obviosly not an expert with adb but didn't have issues like this first time I used it for fire tv.

UPDATE--not good news but I did get the runme file to open by opening as administrator. Still says error cant load unlock bin. Thought earlier it might have been my antivirus causing issues so I disabled it but same results. Getting late. I'll try again tomorrow. Any ideas as to what the problem might be of course are welcomed! I've got the mini adb folder on the root of c because I couldn't get adb to work in the desktop path for some reason. I also renamed it to android-adb. I don't know if that's too much info or not enough. Thanks again.
[HTC Desire 610] ClearD:
Is the bin file in the mini adb folder? It'd gotta be there in the same location otherwise it won't find it. That's the next obvious question on my end, and it's often overlooked lol.

Also try the backup code with it I'm administration mode.
[HTC Desire 610] KLit75:
Thanks. I wouldn't have thought to use the runme for the initial backup (that's what u meant right?)

Yes. Unlock.bin is in the same folder. But I may have found a solution. It's bookmarked on my pc...think you type something like the flash fastboot with "path/to/unlock.bin" what'd you think?

I haven't used it in awhile but when using adb on Mac I remember always starting with cd /Users/username/desktop/android

But lately I've used a program for that stuff or move stuff around via sftp. However, I don't recall having serious problems getting this to work. I'm sure there's something I'm doing wrong. But didn't expect to struggle with this part. Makes me a little worried that once I do unlock it I'll have issues rooting and restoring the backup.

Appreciate you getting back to me. I've gotta quit for now but hope to try again tomorrow.
[HTC Desire 610] ClearD:
Sure thing, but your pc should use a relative path if they're in the same folder. Can you copy and paste the entire printout for me as you run the commands?
[HTC Desire 610] KLit75:
Yes. That's what I thought, too. AFTER having issues making the adb backup command, I went into system variable and edited the path. It now is set to c:android-adb (that's what I renamed your mini-adb folder)

I can definetly send you that info when I try again. But with the exception of the first adb backup command, which yields a long explanation, the others are very short responses that I think I already listed here. This should be much easier. I've got something in there that's not right. Not that this will clear things up but can you tell me--where is your mini adb folder located and when you go into advanced tab> system variable>edit--what's it say exactly as your path? I feel like that's where it was messed up in the first place then I changed it to c:android-adb but of course that didn't fix it.
[HTC Desire 610] ClearD:
Desktop, and I never once changed my path. Lol. I run it straight out of the folder it's in on my desktop with admin rights. I place all needed files right in that folder. Make positive you're using the exact same names of files you're trying to access, as they're also case sensitive. But verification that my method works is in the root tool, because that's exactly what it does, only hard coded.
[HTC Desire 610] termiator:
So, now we need to get unroot method and bootloader lock method to get our waranty back. Are U get any ideas ClearD? :D
[HTC Desire 610] ClearD:
Unroot should be as simple as flashing a stock image set back and relocking the bootloader per htc dev website. :)
[HTC Desire 610] KLit75:
You see I might think of a permissions problem, something I needed to go into some length for the Mac, but even when I run your runme file as admin the unlock.bin won't load. I can't think of a reason why you would change your path but running out of ideas.

If just putting everything into the folder (adb, fastboot, unlock bin,etc.) Was all I needed then I'd be unlocked. I ask because I'm looking for discrepancies between your setup and mine. I seemingly have everything setup right on the surface but something behind the scenes is messing up my plans to have a rooted phone.

Sidenote--to get adb working properly on Mac I needed to copy the path of one of the files and paste it somewhere else and believe I needed to actually move the adb file itself into one of the folders from the adt bundle. Details escape me but the point is I needed to do a lot to get it to work on Mac. But Windows supposedly all I need to do is put the folder on my desktop or c drive. It's just making me think there's more to it...But we'll I've gone on long enough. Soon as I can I'll try again and report back.
[HTC Desire 610] termiator:
Is there any tutorial how to create stock img? Sorry, but I never do this before. If U will share this with us, it will be great.

Best Regards.
[HTC Desire 610] ClearD:
KLit75, try one of those adb installer programs here on xda. They set the path automatically, and might help if it's been messed up or something.

Termiator, we don't yet have a stock ruu because I'm not sure we have a stock recovery image yet. I honestly can't remember. I've got some images on my phone that I think are stock though, so maybe I can put something together in the future if htc doesn't release an ruu before it's needed.
[HTC Desire 610] KLit75:
Unlocked!!!!! Now if I don't have time to try the root can I still restore my backup? Probably but the guide in the op goes through the root process then it says to restore backup?

***BACKUP NOT WORKING--I TYPE THE COMMAND IN THE FIRST POST AND IT SAYS :

C:\Android>adb restore C:\desirebackup.ab

error: device not found

adb: unable to connect for restore

unlock worked but wiped it clean. Do I need to go back in bootloader mode (hold power and volume) then make a selection in there?
[HTC Desire 610] ClearD:
I'd probably restore first, just in case. The root process will erase your wifi access points, but that's just a product of the kernel from jmz that's necessary for root to work properly. You'll have to re add them when done. I didn't restore mine, but started from scratch instead.
[HTC Desire 610] KLit75:
Did you get my last edit about the restore not working? HTC is installed so I don't know why

---------- Post added at 05:18 PM ---------- Previous post was at 04:26 PM ----------

You know my phone's only a couple of weeks old and already had a bunch of stuff accumulating so I might just start from scratch. It's running great and won't take too long to put contacts back. Hopefully will try your root tool tonight!

But just for the info...you think it was because usb debugging had been disabled after unlocking as well as developer options I think? I rebooted both the phone and pc then turned on usb debug but didn't have a chance to try again.

Thanks for all the help and it was actually something I did (or didn't do) that made it fail so many times.

The other night I was kinda in a rush and when extracting adt bundle didn't notice it didn't all copy over because the path was too long. Today I did notice so I extracted the zip to a different path then followed the guide for adb and fastboot. I CD to the appropriate location and everything worked fine.
[HTC Desire 610] ClearD:
Yes, adb in general won't function without USB debugging turned on. It's sort of like the adb on/off switch on your phone. That was definitely the issue. Although I never restored mine, so I'm not sure how it works exactly
[HTC Desire 610] KLit75:
Tryin to be proactive ...might have a half hour or so tonight to root my phone. So far there's not a lot of feedback to go by. But the one person who did report here got it to work so that's reassuring. I'd just like you to clarify exactly what you meant when u told him to reboot the phone and computer? Sounds very obvious but I assume the phone is still connected via usb when you reboot them?

And since that's the only thing I read that even resembles a problem, that's my only question. However, if you know of anything that would be beneficial or any potential problems, I'd very much appreciate the info. Either way I'll be trying it. Thanks.
[HTC Desire 610] dummie999:
nvm
[HTC Desire 610] KLit75:
Rooted! Took me 4 times. There was a "failed" message but still seemed to be working. Got a little freaked out when I got to the TWRP page on my phone and didn't know whether to click install or one of the other options. But I rebooted and the terminal said I was rooted. Installed supersu and now I'm looking into what I can do. From what I read i don't think cyanogenmod is compatible yet but I'm sure I'll find some cool things to do. Thanks a lot!

Last dumb question--I really winged when I saw the TWRP ON my phone. Not sure I actually did anything but reboot from there. Did it do everything it was supposed to? I know I'm rooted but does TWRP NEED to be configured a certain way for me to do things like custom roms? Or has it served its purpose and I don't need to worry?