yashsingh1/xdaforums huggingface dataset:
[HTC Desire 510] tleaf100:
And what to do if the first step not possible ?

It doesn't matter if I have fast boot turned on or off in the power settings,my 510e(64bit) never comes up with fastboot when I try ,power/vol down just brings up boot screen to tell me it's official software,that it's locked and the only option is hboot to restart device !!

What am I missing somewhere ?

---------- Post added at 05:50 PM ---------- Previous post was at 05:38 PM ----------

My 510e is from three network,therefore already SIM unlocked,has as far as I know never been played with and is stock HTC Rom,I.e full of bloatware and crap I don't want or need,if I had known what a complete pig this thing would be to get anything sensible done on,I would not have bothered,I think I might just go back to my hd2,at least that one is fully open and can do far more than a locked up 510 can.

Why for Christ's sake is usb hosting only available if you root it,getting really kissed off with Google's warped idea of open and adaptable,bring back winmo 6.5,at least you knew were you stood with that,android is just getting worse and worse,cyanogenmod is a waste of space/time,and less folk who actually know what the hell they talking about.
[HTC Desire 510] ekim15:
question please

In cmd, cd to the folder you've downloaded Unlock_code.bin to

(what does this mean?) please explain to me.i can't get it.thanks
[HTC Desire 510] MrMike2182:
It means to CD (Change Directory) to the folder that you downloaded your unlock code to. The easiest way to do this is to just go directly to the folder where Unlock_code.bin is and then hold down the shift button and right click on any empty spot within the folder and then click "Open command window here". That's easier then CD to the folder.
[HTC Desire 510] MaxxSound:
Almost, until Tap Backup

This is fun. However, I can not quite get there. I get up to "STOP""backup!"

[*]Tap Backup

[*]Change the name of the backup to something like "Pure Stock"

[*]Swipe to Back Up

I have no "BackUp" to Tap. I do get returned results of

C:\Users\userxxx356\AppData\Local\Android\sdk\platform-tools>fastboot boot openrecovery-twrp-2.8.1.0-a11.img

downloading 'boot.img'...

OKAY [ 1.615s]

booting...

OKAY [ 0.002s]

finished. total time: 1.618s

Did I miss something? I am attempting backup before proceeding.
[HTC Desire 510] MrMike2182:
It means to boot the phone into recovery and tap backup... You're trying to make the backup from your PC and that's not how to do it. Pull the battery then replace it and hold the volume down button and press power at the same time then select recovery and figure out how to use it.
[HTC Desire 510] MaxxSound:
Thank You!
[HTC Desire 510] MrMike2182:
You're welcome.
[HTC Desire 510] MaxxSound:
Still trying Entering Recovery...

After much research and reading in this and other forums, I have come to my second wall. I am the more knowledgeable about this tho. When it is time to reboot into "recovery" (& clear storage, check smartsd) my HTC Desire 510 Virgin goes into "entering recovery..." and thats it. Never make it in. I have tried "fastboot erase cache" , different downloads of TWRP, removing SIM card, removing SD storage card. Googles "entering recovery..." Can someone point me in another direction?
[HTC Desire 510] MrMike2182:
You need to download twrp and flash it to recovery I use version 2.8.7.0 so place twrp in the adb folder on your PC and change it to just recovery.img and put the phone back into fastboot mode and then type in the adb command window fastboot flash recovery recovery.img ... You did unlock your boot correct?
[HTC Desire 510] MaxxSound:
YES did unlock boot

C:\Users\user356\AppData\Local\Android\sdk\platform-tools>fastboot flash recovery recovery.img

target reported max download size of 801906688 bytes

sending 'recovery' (10772 KB)...

OKAY [ 1.512s]

writing 'recovery'...

OKAY [ 3.086s]

finished. total time: 4.601s

GOOD. I stopped, not wanting to make a mistake. I should move forward to reboot into recovery and backup?
[HTC Desire 510] MrMike2182:
It should be able to go into recovery now so try again.
[HTC Desire 510] MaxxSound:
Stuck on Entering Recovery...
[HTC Desire 510] MrMike2182:
I need more information. Where are you from? Where did you get the phone from?
[HTC Desire 510] MaxxSound:
Virgin customer and buy phone outright without contact. Havr a new phone now and old one I want to root. Install Kali linux. Texas USA
[HTC Desire 510] MrMike2182:
What have you done to the phone so far I need the steps you've taken and where did you get the twrp recovery from?
[HTC Desire 510] MaxxSound:
Started with "factory reset" from boot menu.

android-studio-bundle-141.2343393-windows.exe from developer.android.com/sdk.

Installed HTC sync manager 3.1.61 from htc.com/us.

registered with HTCdev.

Enabled Developer Options on phone OS.

32bit TWRP image from twrp.me/devices.

Followed the unlocking bootloader instructions.

Now I am "tampered" & "unlock".

Could not access "recovery". So I removed SIM and SD cards. Replaced SD card. formated SD card from within phone OS.

from bootloader ran fastboot erase userdata and cache.

Tried installing fastboot boot openrecovery-twrp-2.8.5.0-a11.img & twrp-2.8.6.0-a11.img & twrp-2.8.7.0-a11.img & twrp-2.8.1.0-a11.img.

Still stuck at not being able to access "recovery" with error "entering recovery..."

Thank you for your time. I do see you all over this forum, assisting.
[HTC Desire 510] MrMike2182:
Download Minimal adb and fastboot.. Install that to local disk C:\ only not in program files or anywhere else, and try installing recovery from there but change the name of the twrp file don't try flashing it like this fastboot flash recovery twrp-.2.8.7.0.img Do it like this fastboot flash recovery recovery.img (hence changing twrps downloaded name to recovery.img)..

Edit: Also I forgot to mention, because you did fastboot erase userdata & cache, you may have corrupted the partitions(because it didn't rebuild them after erasing them) and in this case if the recovery still doesn't boot after you try the following steps I gave you up there then the partitions really are corrupted and you'll unfortunately have to lock the bootloader again and use the RUU to return the phone to stock and start over again.

There may be a way to fix the partitions if damaged without going through the RUU though... You'll have to do..

#format userdata

fastboot format userdata

#format cache

fastboot format cache
[HTC Desire 510] MaxxSound:
Logs of small steps. Still stuck with " entering recovery..." Moving to " reLock"?

Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Minimal ADB and Fastboot>fastboot flash recovery recovery.img

target reported max download size of 801906688 bytes

sending 'recovery' (10772 KB)...

OKAY [ 1.479s]

writing 'recovery'...

OKAY [ 3.089s]

finished. total time: 4.572s

C:\Minimal ADB and Fastboot>fastboot devices

HT42DSD00195 fastboot

C:\Minimal ADB and Fastboot>fastboot format userdata

Creating filesystem with parameters:

Size: 5100273664

Block size: 4096

Blocks per group: 32768

Inodes per group: 8192

Inode size: 256

Journal blocks: 19456

Label:

Blocks: 1245184

Block groups: 38

Reserved block group size: 303

Created filesystem with 11/311296 inodes and 41431/1245184 blocks

target reported max download size of 801906688 bytes

erasing 'userdata'...

FAILED (remote: not allowed)

finished. total time: 0.005s

C:\Minimal ADB and Fastboot>fastboot format cache

Creating filesystem with parameters:

Size: 251654144

Block size: 4096

Blocks per group: 32768

Inodes per group: 7680

Inode size: 256

Journal blocks: 1024

Label:

Blocks: 61439

Block groups: 2

Reserved block group size: 15

Created filesystem with 11/15360 inodes and 2025/61439 blocks

target reported max download size of 801906688 bytes

erasing 'cache'...

OKAY [ 0.573s]

sending 'cache' (6120 KB)...

OKAY [ 0.853s]

writing 'cache'...

(bootloader) signature checking...

FAILED (remote: signature verify fail)

finished. total time: 2.063s

C:\Minimal ADB and Fastboot>
[HTC Desire 510] MaxxSound:
"Entering Recovery..."

C:\Minimal ADB and Fastboot>fastboot oem lock

...

(bootloader) Lock successfully...

(bootloader) mipi_dsi_panel_off

(bootloader) pm8038_vreg_disable function, vreg_id = 1

(bootloader) pm8038_vreg_disable function, vreg_id = 9

(bootloader) TZ_HTC_SVC_DISABLE ret = 536739196 (0x1FFDFD7C)

FAILED (status read failed (Too many links))

finished. total time: 1.258s

C:\Minimal ADB and Fastboot>

Searching for RUU. Can't find one yet.
[HTC Desire 510] MrMike2182:
The RUU is here.. HTC RUU Virgin

You need to get the stock recovery and flash it FIRST before trying to use the RUU!

Stock Recovery here. Stock Virgin Recovery

By the way, don't delete the unlock token you got from htcdev keep it forever, it's the one you need to unlock again!!

After you restore back to stock... The first thing you need to do is download a rom to your sd card so you at least have one on the sd... Then simply unlock the bootloader and then flash the recovery but do not do nothing else in fastboot because you don't need to be erasing anything with that. Just do those 3 steps, Rom, Bootloader, Recovery then boot into recovery.
[HTC Desire 510] MrMike2182:
Were you able to finally get into recovery now?
[HTC Desire 510] MaxxSound:
Not till Monday
[HTC Desire 510] MaxxSound:
Okay is my brain not working this morning? fastboot flash recovery, right?:silly:

C:\Minimal ADB and Fastboot>fastboot flash recovery recovery.img

target reported max download size of 801906688 bytes

sending 'recovery' (10772 KB)...

OKAY [ 1.480s]

writing 'recovery'...

(bootloader) signature checking...

FAILED (remote: signature verify fail)

finished. total time: 2.585s

:crying:
[HTC Desire 510] MrMike2182:
Where did you get the recovery from? And is the bootloader unlocked first? If the boot is locked first unlock it then send that recovery and then relock the boot and run the RUU from the PC.
[HTC Desire 510] MaxxSound:
Recovery and RUU from your links a few messages back. I didn't unlock. bootloader. So, I unlocked, then, fastboot boot recovery.img. OKAY. next, RUU, "ERROR [132}: Signature Error. correct ROM Update Utility and try again." gee's. I know what my phone is, but will recheck vitals and search htc.com/us/support/downloads.

Thank you and I am not quitting....
[HTC Desire 510] MrMike2182:
What carrier were you using, boost?
[HTC Desire 510] MaxxSound:
Virgin
[HTC Desire 510] MrMike2182:
Try this one but unzip/extract it first.. If that doesn't work I think I have 1 more on the laptop but that's it.
[HTC Desire 510] MrMike2182:
Try this one FIRST before taking the recovery2.img one Be sure to unzip it first! This is from my laptop and it's the last one around. By the way, did you reinstall the stock boot/kernel image too?
[HTC Desire 510] MaxxSound:
Good new, I am actually starting to remember some of this. Bad news? Well...here I am.

This is what I did. If I am way off mark, yell at me, I really do want to "get" this down.

C:\Minimal ADB and Fastboot>fastboot flash unlocktoken Unlock_code.bin

(bootloader) unlock token check successfully

C:\Minimal ADB and Fastboot>fastboot flash recovery recovery.img

writing 'recovery'...FAILED (remote: image update error)

C:\Minimal ADB and Fastboot>fastboot oem lock

This was with the latest zip. From what I recall, we are trying to find an img that will work with RUU. That will in-turn, fix the "entering recovery...." issue. Dont quit on me?

---------- Post added at 08:10 ---------- Previous post was at 08:07 ----------

I tried the HTC Virgin img. I dont know "reinstall the stock boot/kernel image"
[HTC Desire 510] MrMike2182:
Just do this forget the RUU for a second and flash twrp 2.8.7.0 and one other thing tell me what it says after you remove the battery and then hold the volume down button and the power button because I need you to type everything about your Hboot screen in here and I mean everything you see on the Hboot screen!
[HTC Desire 510] MaxxSound:
Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Minimal ADB and Fastboot>fastboot flash recovery twrp-2.8.7.0-a11.img

target reported max download size of 801906688 bytes

sending 'recovery' (10772 KB)...

OKAY [ 1.513s]

writing 'recovery'...

OKAY [ 3.111s]

finished. total time: 4.628s

C:\Minimal ADB and Fastboot>

Removed Battery. Replaced Battery. Vol Dwn and Pwr On.

*** TAMPERED ***

*** UNLOCKED ***

ZARA_CL PVT SHIP S-ON RL

HBOOT-2.22.0000

RADIO-1.14.50.0516

OpenDSP-v18.2.0268.0925

OS-2.15.652.15

eMMC-boot 1024MB

Aug 31 2015, 15:46:45.0

HBOOT

<VOL UP> to previous item

<VOL DOWN> to next item

<POWER> to select item

FASTBOOT

RECOVERY

FACTORY RESET

CLEAR STORAGE

SIMLOCK

CHECK SMARTSD

IMAGE CRC

SHOW BARCODE
[HTC Desire 510] MrMike2182:
There's a reason for why I wanted the information on your HBoot screen...

I should be mad but I'll help you instead... That phone is not an HTC Desire 510 that phone is an HTC Desire 601... That's why it keeps failing the signature check. Now go to twrp and get the one for the HTC Desire 601 and flash it and then come back here and tell me if that worked!! twrp Desire 601
[HTC Desire 510] MaxxSound:
Yes, It works
[HTC Desire 510] MrMike2182:
That's why I wanted the information because I spent a while trying to figure out why it wouldn't work when it does on mine so for future reference that's an HTC Desire 601 and don't try to install anything that's not for a 601! And you're welcome for the help I've been giving you.
[HTC Desire 510] MaxxSound:
Yes Sir MrMike2182,

THANK YOU!

I will continue on with Instructions from thread #1. DO you have donate?
[HTC Desire 510] MrMike2182:
You're welcome but I'll send a pm in a few I'm driving now.

---------- Post added at 05:09 PM ---------- Previous post was at 04:33 PM ----------

I sent a private message to you.

---------- Post added at 05:17 PM ---------- Previous post was at 05:09 PM ----------

By the way you should check out the HTC Desire 601 page because they have CM12 over on that forum but you're welcome to to pm me if you run into trouble. HTC Desire 601
[HTC Desire 510] felipealco:
Some one who rooted recently can tell me if this method wipes the data?
[HTC Desire 510] MaxxSound:
YES:rolleyes:
[HTC Desire 510] Xendrix:
ah thanks this helps alot
[HTC Desire 510] Khelen:
Hello, I searched through all the posts there but can't find my issue.

My bootloader is unlocked and I flashed the recovery using your .img but when entering recovery mode it just reboot my phone instead.

I looked at many forums and videos but just can't figure it out.
[HTC Desire 510] MrMike2182:
Did you take the battery out an replace it and then hold the volume down button and press the power button at the same time? When the screen comes on let the buttons go and use the volume buttons to highlight recovery and tap the power button to select it... Did you do this?
[HTC Desire 510] Khelen:
Yes I did that, it then shut down my phone then boot it as if I just asked it to reboot
[HTC Desire 510] MrMike2182:
You need to make sure it said unlocked when you unlocked the boot loader.. Did it say it was unlocked? And it seems like you need to flash the recovery again because it sounds like it wasn't installed when you say it just boots as if you asked it to reboot..

What specs do you have on the HBoot screen... Type the info from HBoot here so I can see it please.
[HTC Desire 510] afrim86:
Hey, has anybody have a problem with the SD card not showing after rooting??? I am on EU 64x Desire 510. Card sandisk 64gb. ???
[HTC Desire 510] Khelen:
Thank you for considering my problem, here is my hboot infos:

*** Software status : Official ***

*** UNLOCKED ***

A11_UL PVT SHIP S-ON

HBOOT-3.19.0.0000

RADIO-01.02.011_U10251_39.08.40903

OS-1.13.1020.3

eMMC-boot 1024MB

Aug 7 2015,21:01:13.0

HBOOT

then the buttons and the list fastboot, recovery, factory reset, simlock, check smartsd, image crc and show barecode

here is what the terminal displays when I flash the .img to my device:

C:\adb>fastboot flash recovery openrecovery-twrp-2.8.5.0-a11.img

target reported max downloads size of 16777216 bytes

sending 'recovery' (10730 KB). . .

OKAY [1.389s]

writing 'recovery' . . .

OKAY [0.693s]

finished. total time: 2.085s

C:\adb>

so I thought it was successfully flashed
[HTC Desire 510] afrim86:
OK, so I found solution to my problem.

As I said before I have HTC Desire 510 EU (European Version) with x64 processor and SanDisk Ultra 64GB MicroSDXC Class 10 UHS Memory Card in it. The SD card was working perfectly until the rooting of the device. Everything was OK until I flashed the HTC-Desire-510-64-Bit-Root.img image. From that point on I had root but my 64GB SD card wasn't recognised, it couldn't be seen anywhere. First I thought that my formatting was the problem so I format my sd card first in ext2 then ext3 then in ext4 but nothing worked. Then just for curiosity, I put my 4GB MicroSDHC card in my phone and for some reason it worked. After that, I knew that something has to be wrong with the 64-bit root image not recognising my 64GB card. SO what I did next is this: I checked what kind of formatting and partition my 4GB sd card has. So it was FAT16 and I tried to apply the same to my 64GB. I am using Linux Mint for the procedure (Disk Management). Now what you have to do is FIRST format the SD card in FAT format after formatting change the partition type from standard FAT32 to FAT16(FAT16 (0x60)) apply the changes and that's it works perfectly again.

P.S. After doing all above don't format your sd through your phone it formats it to exFAT and it takes it back to NOT recognisable.
[HTC Desire 510] MrMike2182:
You should have been able to get into recovery after that.
[HTC Desire 510] Khelen:
Ok it's solved, I used some apps to root my device and it worked thanks you again for replying and have a good day.

[edit: it's rooted but I still can't access my recovery so I can't do much]
[HTC Desire 510] MrMike2182:
Because it's 64 bit and you are flashing the wrong stuff... you're gonna break it.
[HTC Desire 510] Khelen:
Okay you're right I used the 64 bit procedure and it worked, I always thought it was 32 bit because antutu benchmark said so.

So now I think it's solved.
[HTC Desire 510] MrMike2182:
Don't flash no more 32 bit stuff or it's going to break.. Flash Philz Touch Recovery 64 bit for the Desire 510 then you'll be able to get into recovery.
[HTC Desire 510] varem:
Excellent post. Kudos.
[HTC Desire 510] aquirier:
installing updates after rooting

Hi, dip_spit, many thanks again for this rooting guide! I have now already rooted x64 device. Can you give me a couple of advices, how can I install official HTC updates after rooting process? (I guess, it fails now because of rooted kernel).

Rooting my phone recently, I followed your guide fully and I have now the full backup of my device where I can also see my stock recovery.img & boot.img files. Is it safe to re-flash my stock boot.img from backup to try to install the update once again? Can it be helpful? After that I could re-root my phone. Also can you advice, how can I see the update error, are there any log-files? Thanks.

P.S. Unroot guide (with link to it from this topic) is also very appreciated!
[HTC Desire 510] i_am_fresco:
Good work mate.
[HTC Desire 510] Eddie Ed:
Hi! After following this instructions I ended up with a rooted device with no super user permision manager! Which one should i install and how ? Very good post btw :D

And the SuperSu 2.40 doesn't update binaries
[HTC Desire 510] Kurajmo:
I follow 64bit root step.

Without recovery.

I have root now.

Can i try Flash this recovery for 64bit?

Is this safety?

I dont want brick me Phone.

Because i try for fun Flash stock ruu with PC.

And any of them dosent work.

Everytime errors show.

I need Custom recovery for xposed and backup stock Rom.

Any help?

Wysłane z mojego HTC Desire 510 przy użyciu Tapatalka
[HTC Desire 510] acg90:
Thank you

I just wanted to say thank you for this thread. I tried all last night trying everything to get my HTC Desire 510 rooted. I was up until 4am nothing worked. I tried the GUI and it did everything for me in minutes. Thank you so much.:)
[HTC Desire 510] osmankf:
<<<< Identifier Token Start >>>>

6D87C5006E8DFC661EB202C5C4506F5C

44D9E5403B4E65E811F013357ADDA535

C4602851F352552DA2C6A79F8832C48C

854E902642B73A2367A372CC5984118C

B6D0408267928D2F3221CD5C0AD41FEC

055334F4DB136D8F5EACF3FF677D382D

2E9937B8CE005FCEB9BECF50D04C60F1

D9966B84BD645A692E6D0CC643A52573

30CF440493FD1DB50013FA69794E0017

954974C06A08CD8AC48609A772727B77

31542DD1E7A5812628EB3EA5CCF88AE3

33C08E5657A05FB9B26F540094C548B0

29D127207D9D7CFF15F57F0033D9A62E

487A675898893FEEADF3233DCB32EF44

5F0FB5A0E9BAF2B44BC7C6A7844A7C00

3E31DBDD20E48A4B155390CC99162E11

<<<<< Identifier Token End >>>>>
[HTC Desire 510] vordhosbn:
This guide is A+, thanks a ton OP, this was a really exceptionally well written guide.

worked first try on a boost mobile 510
[HTC Desire 510] SODA8297:
hello guys, I have an HTC Desire 510 that when starts is stock in the HTC screen, security is ON, USB debug not ON, finally I got the recovery screen pressing volume down + volume up + power for 3 or 4 seconds then release the buttons, but anything I put in the SD CARD is not taken, any help please?
[HTC Desire 510] MaxxSound:
but anything I put in the SD CARD is not taken,??
[HTC Desire 510] SODA8297:
Sorry I didn't understand my own post either, what I tried to say was that anything that I put in the SD CARD for the phone to load always says invalid operation when I choose any option https://onedrive.live.com/redir?resid=C5092D1AF71FA9C8!3271&authkey=!AMmAmtHl6GveLX0&v=3&ithint=photo%2cjpg
[HTC Desire 510] MaxxSound:
Oh I see, darn, can't help tho.
[HTC Desire 510] zedicus62:
Thank, i tried and worked fine for me !:good:
[HTC Desire 510] DrDank:
Have question. What's the best kernel to use wth write protection. Removed?? Don't use phone for calls. Just music and pocket toy to keep me occupied during the boring times of day because of a bad situation with my LG v10
[HTC Desire 510] bg260:
That's stock recovery.
[HTC Desire 510] Benjive:
So, I just applied the root, but I do not own an SD card. When I went to use philz touch, I was presented with a screen and the only option that seemed viable was 'Backup to sd'. I assumed if there was no SD, a backup would be made to my pc.

After that it finsohed but seemed to partion off part of my phone instead of copy to the computer.

How do I get this partion onto my computer now?

Many thanks.
[HTC Desire 510] Submersible Dirigible:
Enable Developer Options?

Hi, this is my first post here and my first attempted root.

Prior to coming here I managed to unlock the boot loader.

So having done the required reading and downloading for my 64 bit Desire 510 I think I'm set to go except for one thing.

Which developer options should I enable?
[HTC Desire 510] MrMike2182:
There's only 1 lol.. tap on the build number 7 to 10 times until developer mode is activated and then press back and look for the new option "Developer options" in settings and enable USB debugging and in security settings enable unknown sources.
[HTC Desire 510] Submersible Dirigible:
Thanks, will go through the rest of the process when the weekend rolls around.
[HTC Desire 510] smitty42069:
I'm thinking about rooting my HTC510 opcv1 version 4.4.2 HTC version 6.0 software version 1.49.652.3 kernel version 3.4.0-gc9743a7andAABM#1SMP PREEMPT Baseband version 1.47.40.0224 Build number 1.49.652.3 CL373881 release- keys since this is the first time for me to root a phone I'm not to sure about doing it but with just 4gigs of internal storage really can't do anything with so little storage I put a 16gig SD card in only to find I can't move most of the apps to the SD card with out Root I didn't have no clue that this phone had such a small internal storage why would HTC put such a phone out and then have to root to be able to use the phone basically!!!
[HTC Desire 510] Xendrix:
Use Windroid to easily unlock and root....and use Link2SD for moving to sd card BUT you have to make a second partition on your sdcard...

First Partition is Fat32. Primary

Second is ext 2 primary