yashsingh1/xdaforums huggingface dataset:
[HTC Desire 610] ClearD:
Uh... It was supposed to do stuff in twrp... It was supposed to automatically flash 2 files while in there, then reboot your phone by itself... You may only be halfway there if it didn't do that yet. :) of course, running it again won't hurt a thing either if you're unsure lol.

I wonder... Maybe the insecure boot image is part of the reason mine worked flawlessly? Because that let me adb remount without an issue. If that's the case, I'll make a new version with that file added as well...

What error did it give you? Did remount fail?

Edit: Hmm... Just rechecked my script, and I don't even think the remount is needed at all. It's only pushing to /cache after all, and remount mounts /system as read/write. Shouldn't be needed at all. Anyways, getting some sleep, let me know tomorrow lol.
[HTC Desire 610] KLit75:
Supersu is installed with permissions set to grant. I thought that wasn't possible without root?

I can't remember most of what I saw in the command prompt but "remount failed" does sound familiar

TWRP menu on my home screen was a curve ball. I frantically searched on Google with no answers found. Then clicked on the install button and it said something about the partition. Getting anxious I pressed what I believe was a reboot icon and the phone started rebooting. I was staring at my phone hopin I hadn't bricked it...in that time a message came on my computer. And it had a little more written than this, but what I remember was it indicated success.

All I had to go by was what another poster here experience so when the first screen hung, I unplugged the usb and rebooted both. Next time I plugged it in it gave me a slightly different message that said to reboot phone afterward, check usb debug...it hung again in the same part. I unplugged it and when I did it said something about twrp and device not found...I plugged it back in and it did more stuff and at some point the twrp home screen was on my phone and not going anywhere. Tried what I listed above and although how I got there was enormously confusing to me, I thought I succeeded in rooting.

It was not self running for me, but to be fair I've had issues involving this pc and the usb port. I remember using it to jb my atv 2 (pretty simple software) but I needed to run it many many times over days before I got it to work. That's obviously just a guess on my part but for you I'd wait for more testing before assuming it's your root tool.

So now I'm more confused...is there no way I can check to make sure I'm fully rooted? Was TWRP just a one time tool used for the root process or should I be able to find it on my phone now? Any suggestions are welcomed. And I'm not opposed to running it again but I need to know exactly what to expect. The software was telling me to read instructions on my phone that didn't exist.

***Dont know if this is 100% accurate but installed an app from playstore called root checker and ran it. It said "Congratulations! This device has full root access!"

Update--I verfied it thru terminal app this is what I typed and what was returned to me

u0_a151@htc_a3ul:/ $ su

root@htc_a3ul:/ #

If this is not full confirmation please get back to me. I used towelroot for fire tv and don't remember twrp but that's probably cuz no unlocked boot loader. This process is much different. I thought root was root but now I'm thinking there may be more to it?
[HTC Desire 610] ClearD:
That's shell root, but unless you installed the rooted boot image separately, you're rooted. You may or may not have the kernel installed though, which is needed. Not sure yet, and not really any easy way to check.

Twrp replaced your stock recovery. You've now got a shiny new aftermarket recovery that will let you flash roms or anything else you desire. :) it's permanent unless you flash the stock one back through fastboot.

To get back into twrp, use the adb command "adb reboot recovery".
[HTC Desire 610] KLit75:
I just have so many questions...before reading your last post I booted into recovery and the twrp screen appeared. At the screen before that(the boot loader screen) it said "tampered"

And "unlocked" underneath that. For all things custom roms and root related-- am I good? I realize my question is vague but I'm a little confused. There's loads of info out there but it's taking me awhile to understand. Can I update ever? Should I? Is there a specific way I need to update or install something like cyanogenmod?

I'm putting a lot on you I know but a link to get me the best info that pertains to me would be so appreciated. Thanks again for the added communication.
[HTC Desire 610] ClearD:
You're good.

Tampered is what mine's always shown. ;)

Unlocked means your bootloader is unlocked through htc dev.

The existence of twrp means you've got a new recovery installed.

With SuperSU installed, you should be rooted.

Twrp will be the way you update and install roms now. You can't do it via the update button in settings anymore because you're rooted.
[HTC Desire 610] rporter8@yahoo.com:
Wifi cant connect

ClearD i seem to b having a problem connecting to wifi after rooting my phone...it jus keeps on trying to connect but when it gets on disconnects right after. Not sure whats wrong...can u assist?
[HTC Desire 610] KLit75:
Thanks. That actually answers a lot of my questions. And this is probably one for another forum but if you have a suggestion for which custom Rom I should install I'm looking for options. I get conflicting info on this...And some people say if your phone runs the latest kitkat you don't really need one. But there's one in particular that has airplay built in, a feature I'm really interested in among some other cool stuff.
[HTC Desire 610] ClearD:
Try a reflash of jmz's kernel through recovery if you can. That should fix you up.
[HTC Desire 610] ClearD:
I wasn't aware there were roms for our phone out yet... I may need to look into the forum more lol. Only roms made for our phone will work, don't try to flash cyanogenmod or something that isn't made for it, or you could brick your phone.
[HTC Desire 610] KLit75:
I believe you are 100%correct after spending 90% of my time looking from my last post to this one. So let me save you the effort!

At this point I'm trying to find useful things I can do. I tried installing an app from playstore that mirrors android to ios and a few other things. It installs fine but when I try to open it it just flashes a quick peek then closes. Don't know what the issue is??? But I'll keep looking...

Is there a forum here I might keep checking in on to see new developments as they're posted?

This is a totally different experience than when I rooted the fire tv (lots of people talking and sharing) Now I realize this is different because there's loads of different phones and not many quality android streaming devices. But I'm excited about things to come.
[HTC Desire 610] ClearD:
Just hang out here in the desire 610 area, I'll be working on a rom shortly. Not yet sure exactly what it'll contain, but working on one nonetheless.
[HTC Desire 610] hgoldner:
Will the ClearD root tool work on a device that is: (1) already S-OFF, according to the bootloader display; and (2) neither an AT&T nor International Desire 610, but a Desire 610 nonetheless?
[HTC Desire 610] ClearD:
Not a clue. Probably?

S-off is like a better bootloader unlock, so that part's fine.

I'm guessing yes, because it works on both other variants of the device even if they have a different screen size.
[HTC Desire 610] hgoldner:
NVM. Device is S-OFF but still locked. Tried to flash TWRP and got "FAILED (remote: not allowed)." And htcdev didn't work either.
[HTC Desire 610] ClearD:
You tried HTCDev with the "all other supported devices" selection? Contact htc support and they should help you get unlocked.

And I just read up, apparently you can flash unsigned zip files now through fastboot, but not image files, so you'll still need to unlock.
[HTC Desire 610] KLit75:
Regarding custom roms, it looks like cyanogenmod is the most popular. Still new to this but looking for answers--how do they decide which phone's to support (make roms for?) Is it a matter of how popular the phone is? Does HTC desire 610 meet the minimum specs? I can't find which criteria is used (if any)

Is it likely or very unlikely they would develop a Rom for this phone? I'm not sure cuz when I look at the list, it's populated with popular phone's and HTC desire def isn't one of those. At least not based on my searches.

This phone does almost everything I need it to do except mirror. That's a function built in to some custom roms and it was my main reason for wanting to root it. Well, saving apps and other stuff to external was a big motivation too.
[HTC Desire 610] ClearD:
Someone may be able to port it, but it's really up to them. I'm not sure honestly. I could give it a whack when able, but I'm not sure when that'll be
[HTC Desire 610] rporter8@yahoo.com:
Wifi cant connect

ClearD i reinstalled jmz kernel but my phone still cant connect to WiFi...it just goes on for a while n then disconnects again...can u help me out bro? What am i doing wrong?
[HTC Desire 610] ClearD:
Have you tried clearing cache and dalvik?
[HTC Desire 610] rporter8@yahoo.com:
How would i go about doing that? Sorry I'm not a pro...
[HTC Desire 610] ClearD:
They're options in twrp recovery, just reboot into recovery and the options are in there. :)

If that doesn't work, you may ask jmz. We had an issue with that during testing, but I can't remember what it was. Sounds like a module issue but I'm not certain for sure. He'd know more about it as I'm not very familiar with kernel development sadly. :(
[HTC Desire 610] rporter8@yahoo.com:
Worked like a charm ClearD....u d best...irie mon
[HTC Desire 610] ClearD:
Did anything else change when you cleared them? If not, I can reset my app to auto clear them after it's done flashing.
[HTC Desire 610] rporter8@yahoo.com:
Um when the phone rebooted it showed my apps being either updated or optimized...cant honestly recall now but thats about it. Do u have any suggestions of what i can do or any apps i can install to make my internet faster..i use my phone to tether with my laptop alot and sometimes Skype freezes on me...any ideas?
[HTC Desire 610] ClearD:
That's normal. And as for the internet speed, I have no idea...
[HTC Desire 610] loplo:
I'm stuck in the Unlock process. My device isn't recognized in the device manager, it appears under Other devices -> Android 1.0 device.

I've disabled the antivirus, installed the drivers, but no joy.

OS: win8.1 x64

LE: solved installing drivers manually.
[HTC Desire 610] loplo:
and me again.

During the rooting procedure I received the following message:

failed to copy 'openrecoveryscript' to '/cache/recovery/': Permission denied

The whole log looks like this:

Rebooting into fastboot...
< waiting for device >
target reported max download size of 763179008 bytes
sending 'recovery' (10926 KB)...
OKAY [ 1.320s]
writing 'recovery'...
OKAY [ 0.595s]
finished. total time: 1.918s
Rebooting your phone. You've now got TWRP Recovery installed.
rebooting...

finished. total time: 0.012s
And now we root...
remount failed: Permission denied
failed to copy 'openrecoveryscript' to '/cache/recovery/': Permission denied
4936 KB/s (1260473 bytes in 0.249s)
4697 KB/s (30575176 bytes in 6.356s)
Rebooting into recovery...
Recovery will now auto-install a root script
that loads SuperSU, the SU binaries, and
then JMZ's insecure kernel. Watch your phone
and follow its instructions.
When that is done, your phone will reboot.
Let's wait a second for that to happen.
We should now be rooted! Congratulations!
Special thanks to:
-JMZ for Boot Image and TWRP!
-Deez_Troy for TWRP!
-ChainFire for SuperSU!
Press any key to continue . . .

I have TWRP and supersu installed. Is my phone rooted correctly? Should I expect any issues in the future?
[HTC Desire 610] ClearD:
Did you have to install them manually or was it automatic? The script seems to have failed copying the recovery install script. Did jmz's kernel get installed also? If not, you'll also want that
[HTC Desire 610] loplo:
TWRP got installed automatically, supersu popped up that it needs to download and install, during the first boot. Downloaded supersu TWRP version and installed it via recovery.

Under Software information -> More -> Kernel version I have

3.40-g0169dc2
and@ABM102 #1
SMP PREEMPT

How do I check to see if I have everything I need?
[HTC Desire 610] loplo:
Installed jmz's kernel, things are getting better.
[HTC Desire 610] ClearD:
Sorry, fell asleep lol. You should be good to go! :)

I, on the other hand, have some script modding to do. Apparently we'll all need the htc engineering boot image if we want to do it automatically.
[HTC Desire 610] rporter8@yahoo.com:
Does this mean that i will have to do something to the phone again like re rooting ClearD?
[HTC Desire 610] ClearD:
Nope, you're most likely fine. :)

Edit: would you guys be opposed to me adding the engineering boot image into the root tool? Because that's probably the only way it's going to be completely automated. It needs to remount to have access to /cache/recovery and that's the only way to remount without existing root. So, it's a give or take. It replaces the splash screen and also the boot image. What say ye, honorable rooters?
[HTC Desire 610] sagrado:
Sir ClearD, I have a problem after flashing Engineering boot image. My Wifi isn't working anymore but after the rooting process everything is good. Any idea? I have already tried clearing the cashe and dalvik as what you've suggested to sir rporter8@yahoo.com but nothing happened. Can I remove the flashed boot image? If possible, how? I'm sorry sir im just a novice.
[HTC Desire 610] ClearD:
Flash jmz's kernel after flashing engineering boot image, and then clear cache and dalvik after that. See what that does for you :)
[HTC Desire 610] sagrado:
Thank you sir ClearD. I only flashed jmz's kernel and all is working so well. What is actually the use of Engineering boot image?
[HTC Desire 610] ClearD:
It allows us to adb remount, which is basically allowing us access to the system partition prior to actually rooting. It is the only way for me to actually automate everything.
[HTC Desire 610] sagrado:
I think im with this idea sir ClearD!

Thank you so much for all the efforts especially for patiently answering all our queries.
[HTC Desire 610] ClearD:
Not a problem at all! :)
[HTC Desire 610] AndroDummy:
a little help for a new guy please?

Iv only rooted two of my other android devices both of which are so old that they are not on the list of devices that i can put as my currently used devices on my profile info and that they already have an app that you can download and it will root the phone in "one click" i think one of the apps i used is poot or something? Anywho, would you please post some screenshots of the rooting process so that i dont screw up my brand new Desire?
[HTC Desire 610] ClearD:
It tells you the instructions when you run it, and if it fails, it won't root. Simple as that. You'll need to currently flash the engineering boot image and unlock your phone before rooting though, if you want a truly one click experience. Otherwise, wait and I'll try to update it tonight.
[HTC Desire 610] sagrado:
Is there any sense sir ClearD flashing engineering boot img if our device is already rooted? And by the way sir after following the rooting process I experienced so much lag in my device, any idea?
[HTC Desire 610] ClearD:
It shouldn't make a difference. And there's no reason for lag... Not entirely sure. Is your device an at&t or international model?
[HTC Desire 610] sagrado:
International model sir. Any suggestion sir on how to reduce RAM usage on this device and install big files such as .obb format or games on sd card? Think this will help in reducing the lag.
[HTC Desire 610] ClearD:
You could always move files with something like Root Explorer once you install something called SD Card Fix (or something similar) from the play store, which fixes the problem with some apps not being allowed SD card access. That's what helped me. :)

In other news, new version is out, which automatically installs the HTC Engineering boot image, and also updated the TWRP Recovery version to the latest 2.8.0.1.

DISCLAIMER: THIS HAS NOT BEEN TESTED. I NEED SOMEONE UNROOTED TO TEST IT BESIDES MYSELF. ONCE YOU USE THIS TOOL, YOUR DEVICE WILL HAVE THE ROOTED BOOT IMAGE, WHICH CANNOT BE REVERSED. THERE ARE NO SIDE EFFECTS TO THIS IMAGE EXCEPT THAT IT SHOWS A DISCLAIMER ON YOUR SPLASH SCREEN WHEN YOU BOOT THE PHONE. THIS CANNOT BE CHANGED UNTIL WE GAIN S-OFF, WHICH HAS BEEN ACCOMPLISHED, BUT IS NOT YET PUBLICLY AVAILABLE. IF YOU ARE OK WITH THIS, PROCEED.

Download ClearD's Root Tool Version 2 Here
[HTC Desire 610] Dragon99OG:
Did you really manage to grant apps access SD card?

I wanna know how :)

I'm on an european HTC Desire 610.

Stock ROM 4.4.2 and rooted.

AFAIK there is no S-OFF hack available yet. Any status BTW?

Being S-ON means changes in /system are reverted after reboot so those apps from the Play Store that basically edit /system/etc/permissions/platform.xml to allow apps to use the media_rw group won't make it.

I have tested it the additional line is gone after boot.

Oh and using Xposed Framework with HandleExternalStorage Module did not work either.
[HTC Desire 610] ClearD:
I'm using handleexternalstorage (latest updated version) and also NextApp SDFix. Seems to work because titanium backup has been backing up to my SD card as far as I know.

You're only partially correct. It's a system write protection yes, but has nothing to do with s-off. Jmz's kernel (which I've included in the above root tool also) removes the write protection limitation. The only thing we need s-off for is removing the ugly splash screen htc put in their rooted boot image.

As for s-off status, jmz has his unit s-off now. So it's been done by the people creating it(I believe jcase?), just waiting on a release. It's going to be a paid app though, not free. Similar to Sunshine.
[HTC Desire 610] ClearD:
Also, new app has been downloaded twice now besides my 2 test downloads. Can anyone give me feedback? :)

Edit: updated op with new link and new instructions until I hear from someone that it doesn't work.
[HTC Desire 610] rporter8@yahoo.com:
Should i try this new root ClearD or am i good?
[HTC Desire 610] ClearD:
You're probably good if you've got root, recovery, and jmz's kernel. Either way lol. :)
[HTC Desire 610] ClearD:
Lol 17 downloads so far and 0 feedback... Someone? Anyone? x)
[HTC Desire 610] morgej:
I just attempted to use the script...the auto-install a root script step did not work automatically...after rebooting into recovery, I selected install for the SuperSU zip, then selected install of the kernal zip, then did a reboot. Looks like Root did not take. I am going to run the Desire_610_Root_V2.exe again.

Rebooting into fastboot...

Flashing TWRP Recovery...

< waiting for device >

target reported max download size of 763179008 bytes

sending 'recovery' (11046 KB)...

OKAY [ 1.275s]

writing 'recovery'...

OKAY [ 0.597s]

finished. total time: 1.876s

Flashing Engineering Boot Image...

target reported max download size of 763179008 bytes

sending 'boot' (8476 KB)...

OKAY [ 0.902s]

writing 'boot'...

OKAY [ 0.495s]

finished. total time: 1.402s

Rebooting your phone. You've now got TWRP Recovery and the Engineering Boot Imag

e installed.

rebooting...

finished. total time: 0.014s

And now we root...

remount succeeded

failed to copy 'openrecoveryscript' to '/cache/recovery/': Is a directory

3565 KB/s (1260473 bytes in 0.345s)

4464 KB/s (30575176 bytes in 6.687s)

Rebooting into recovery...

Recovery will now auto-install a root script

that loads SuperSU, the SU binaries, and

then JMZ's insecure kernel. Watch your phone

and follow its instructions.

When that is done, your phone will reboot.

Let's wait a second for that to happen.

---------- Post added at 11:24 PM ---------- Previous post was at 10:49 PM ----------

On the second run of the exe, the auto install script ran, and successfully applied root.

Thx!
[HTC Desire 610] Dragon99OG:
Thanks a lot.

I installed NextApp SDFix on top of HandleExternalStorage and it works now :)

Titanium Backup does backup files to my SD Card.

I still have one issue though.

I cannot make App2SD or Link2SD work.

BusyBox and Init.d are both installed.

I created a second primary partiton (EXT4).

No chance it fails no matter which app I use.

Switching to FAT32 doesn't help either.

I suspect a ROM/Kernel limitation???
[HTC Desire 610] ClearD:
I'm guessing it's the "/" after recovery that may be the issue? But I'm not sure. Will try and check it out. Thank you very much for the report! :D

And I'm honestly not sure about link2sd or apps2sd because I don't use them on this device. Not a clue. Haven't used them since gingerbread honestly lol.
[HTC Desire 610] Dragon99OG:
To give you additional info.

NextApp SDFix alone : no go

Xposed Framework + HandleExternalStorage module alone : no go

Both at the same time : go

This is weird since both are supposed to do the same but in a different way.

Hard editing of a file Vs runtime execution.

Anyway it works now so I'm happy with that :)

Regarding Link2sd not working I guess the ROM/Kernel doesn't allow this.

Mounting scripts for 2nd partition don't run successfully at boot although init.d seems to be ok.
[HTC Desire 610] ClearD:
Hey, if it works, it works. Partially anyways.

Updated root tool: ClearD's Desire 610 Root Tool V2.1

-Removed that extra "/"

And if this one doesn't work, I've got a plan C, which is just running the adb commands while booted into twrp, which I probably should have done to begin with, and probably would work without the engineering bootloader. -.-

Edit: I also do need someone unrooted to test this new version again. Thank you in advance. :)
[HTC Desire 610] 903tex:
I just bought this phone couple weeks ago and I have not rooted it. Desire 610 AT&T model if that matters

But once you dev unlock it wipes phone correct
[HTC Desire 610] ClearD:
I believe so, although I can't remember either way. I know it doesn't require a bootloader flash at least.
[HTC Desire 610] ClearD:
Did it work properly on the first try this time, or will we have to use plan C? :)
[HTC Desire 610] 903tex:
Haven't tried it yet having problems with my WiFi at home
[HTC Desire 610] ClearD:
Alrighty. You can download it from wherever (even on your phone) and run it at home. No net required once it's downloaded and your phone is unlocked. :)
[HTC Desire 610] Gabriel172:
Hi, when it will be a chance to re-lock bootloader (s -on)?
[HTC Desire 610] ClearD:
You're still s-on, and I believe you can relock now. Google how to relock an HTCDev unlocked bootloader. We don't have an s-off solution yet.
[HTC Desire 610] ClearD:
Any feedback yet? Lots of downloads, nobody telling me if it works lol.
[HTC Desire 610] 903tex:
Do you have to unlock boot loader first on htcdev. Or does your kit does that
[HTC Desire 610] ClearD:
Yes, you have to unlock through HTCDev first.
[HTC Desire 610] Gabriel172:
Yeah, sorry for noob question. Now I understand that unlocking the bl does not give S-OFF :o Anyway, I'll wait until it's the opportunity to do s-off and lock the bootloader like new phone. I have problems with the display, HTC says that everything is ok, but I'm afraid it breaks down completely and I do not want to have problems with the service :mad:
[HTC Desire 610] ClearD:
If that's the case, you want to unlock, not s-off... You may not be able to s-on again, whereas you can always relock the bootloader. For what you want, I think you've got it backwards. And HTC can tell that you're s-off also, and may refuse service because they don't make anything to s-off devices.

To elaborate, they don't mind if you unlock the bootloader, because they even provide the process to do it. They don't want you to s-off because you can break something that can't be fixed that way, technically.
[HTC Desire 610] ClearD:
So... I take it the new one click root works fine? :) Lots of downloads, still no feedback lol.
[HTC Desire 610] sagrado:
Sir [MENTION=1478148]ClearD[/MENTION], my phone always freeze all the time just after the root process. Do you encounter such problem?