yashsingh1/xdaforums huggingface dataset:
[HTC Desire 530 Questions & Answers] xx5497:
why dont work?

C\Users\megad\Downloads\fastboot>fastboot flash recovery twrp-3.0.2-0-a16.img

< waiting for any device >

target reported max download size of 725000000 bytes

sending 'recovery' (24124 KB)...

OKAY [ 3.143s]

writing 'recovery'...

(bootloader) HOSD CL#788278

(bootloader) start@1

(bootloader) recovery@100%

(bootloader) Update partition OK

(bootloader) end@Done

OKAY [ 2.752s]

finished. total time: 5.897s

C\Users\megad\Downloads\fastboot>adb reboot recovery

error: no devices/emulators found

C\Users\megad\Downloads\fastboot>
[HTC Desire 530 Questions & Answers] Captain_Throwback:
Because you're in Download mode where you should be using fastboot. Adb doesn't work in Download mode.
[HTC Desire 530 Questions & Answers] Matt876:
was going good until I hit this roadblock

C:\Users\Delprete>fastboot flash unlocktoken Unlock_code.bin

error: cannot load 'Unlock_code.bin'

C:\Users\Delprete>

I did what it said, well I'd like to think so at least. Any help plz and thanks! Happy Holidays!
[HTC Desire 530 Questions & Answers] ☆KØŁØЯΛĐØ☆:
Smh..

You need to put the Unlock_code.bin file inside the folder where you house ADB & Fastboot. Your command should read as follows:

fastboot flash unlocktoken Unlock_code.bin​

After successful unlocking of your bootloader, turn off your device to let it register the unlock. Then you can go ahead & flash your custom recovery.

**PS. Xposed Framework is possible & compatible btw**

- ☆KØŁØЯAĐØ☆
[HTC Desire 530 Questions & Answers] Matt876:
smh..

Uh Duh....I know how to to read, adb.exe, fastboot.exe, unlock_code.bin are in same folder...
[HTC Desire 530 Questions & Answers] Matt876:
or maybe I'm doing it wrong, I'm just creating a new folder and extracting the fastboot binaries to and then putting the downloaded Unlock_code.bin in the same folder?
[HTC Desire 530 Questions & Answers] xx5497:
iam dumbass well a try another and

C:\Users\megad\Downloads>fastboot flash recovery twrp-3.0.2-0-a16.img

target reported max download size of 268435456 bytes

sending 'recovery' (24124 KB)...

OKAY [ 3.533s]

writing 'recovery'...

FAILED (remote: cannot flash this partition in s-on state)

finished. total time: 3.553s

C:\Users\megad\Downloads>

have an idea ? please
[HTC Desire 530 Questions & Answers] Captain_Throwback:
You need to be in Download mode, not bootloader ;).
[HTC Desire 530 Questions & Answers] xx5497:
C:\Users\megad\Downloads>adb reboot download

C:\Users\megad\Downloads>fastboot flash recovery twrp-3.0.2-0-a16.img

target reported max download size of 725000000 bytes

sending 'recovery' (24124 KB)...

OKAY [ 3.080s]

writing 'recovery'...

(bootloader) HOSD CL#788278

(bootloader) start@1

(bootloader) recovery@100%

(bootloader) Update partition OK

(bootloader) end@Done

OKAY [ 2.754s]

finished. total time: 5.840s

C:\Users\megad\Downloads>

yeah its ok but when try boot to recovery only looks this

C:\Users\megad\Downloads>adb reboot recovery

error: no devices/emulators found

C:\Users\megad\Downloads>
[HTC Desire 530 Questions & Answers] Captain_Throwback:
I refer you back to: http://xdaforums.com/desire-530/help/root-s-off-desire-530-guide-to-root-t3410015/post69790817
[HTC Desire 530 Questions & Answers] xx5497:
download is the name of the folder

iam research and read "windows 10 is broken"
[HTC Desire 530 Questions & Answers] Captain_Throwback:
What's the name of the folder have to do with anything?

If you're in Download mode on the phone, you use the volume buttons to select "reboot to bootloader" and then with bootloader comes up, you choose "reboot to recovery."
[HTC Desire 530 Questions & Answers] xx5497:
well iam put the phone in bootloader and try boot to recovery and see in the dislplay

"failed to boot to recovery mode press volume up or down to back to menu"
[HTC Desire 530 Questions & Answers] xx5497:
iam install recovery but not works because its a latin version maybe
[HTC Desire 530 Questions & Answers] monkish34:
Can someone who has successfully rooted their 530 please type up a VERY detailed tutorial for us? I mean don't be afraid to talk to us like where 3 years old.

I've rooted every phone I've ever had but this one is giving me trouble.

Thanls
[HTC Desire 530 Questions & Answers] mariosaraylian:
PM me right now and I can talk you through it right now if you like over messenger or something. I have a bit of time to kill........
[HTC Desire 530 Questions & Answers] xx5497:
i tried install another version of recovery and say "this version is only for developers" or maybe thath

when install this version say "recovery no installed" or maybe
[HTC Desire 530 Questions & Answers] monkish34:
I'm sorry, Mario. I crashed out not long after that post. If you happen to get this soon I would most appreciate the one on one help.

:D
[HTC Desire 530 Questions & Answers] bennyoo0:
Has anyone tried a systemless root using magisk?:confused:

is it possible by adb sideloading?

edit: I installed magisk and phh-superuser-magisk.

However, It did not seem to work atleast not the superuser

magisk and magisk manager installed fine but I could not

install modules. I read that SuperSU with magisk in 6.0+

but it requires a systemless install of it

What does that mean? How do I do that?

Is that adb-sideload?
[HTC Desire 530 Questions & Answers] Maito43:
[QUOTE="vistor_sanh, post: 68403815, member: 6913143"]I'm trying to boot into recovery mode after unlock bootlo

Could u rosolve this problem. I have the same problem and i donÂ´t know what to do?

---------- Post added at 07:19 PM ---------- Previous post was at 07:02 PM ----------

Hi,

I have this problem

i wrote this command:

(fastboot flash recovery twrp.img)

later, when i go to recovery mode, i have next:

(ERROR: failed to boot to recovery mode. Press volume up or down to back to menu)

I need help please!
[HTC Desire 530 Questions & Answers] bennyoo0:
if your command was [fastboot flash recovery twrp.img]

did you rename the img file from twrp-3.0.2-0-a16.img

to just twrp.img?
[HTC Desire 530 Questions & Answers] xx5497:
i have the same problem and iam using the twrp-3.0.2-0-a16.img name in the img not works and no install recovery
[HTC Desire 530 Questions & Answers] bennyoo0:
Did you enable developer settings?

Did you turn on OEM unlock and USB debugging?

Are your adb tools installed correctly?
[HTC Desire 530 Questions & Answers] xx5497:
yes iam using developer, oem unlock boot and dbugg install whit normaly but no works when try reboot in recovery
[HTC Desire 530 Questions & Answers] bennyoo0:
I think your recovery flash went wrong

did you flash it while in download mode?

did you successfully unlock your bootloader?

---------- Post added at 07:56 PM ---------- Previous post was at 07:52 PM ----------

try booting into download mode and type the command

[fastboot devices] and see if your device is connected correctly

try the command [adb devices] to see usb debug is setup
[HTC Desire 530 Questions & Answers] xx5497:
well bootloader is unlock iam using the page of htc and recived the mail and see in my phone booatloder is unlock,

the flash only works in download mode install and looks in the screen install is over press to reboot but not works

the img recovery i try several img
[HTC Desire 530 Questions & Answers] bennyoo0:
Try to flash the recovery again with this command

[fastboot flash recovery [drag and drop twrp .img here] ]
[HTC Desire 530 Questions & Answers] xx5497:
thanks i try and report
[HTC Desire 530 Questions & Answers] monkish34:
I think we still need an incredibly detailed and incredibly dumbed down tutorial. I mean a huge thanks to original poster for putting up this method, but I'm not even gonna try this until more people have success.

So please, to anyone who has successfully rooted this device, if you have the time PLEASE post a stupidly detailed tutorial of how you got it rooted.

Hopefully a HUGE THANK YOU to anyone that's takes pity on us less tech savvy ones and does this. :)
[HTC Desire 530 Questions & Answers] bennyoo0:
Yeah it's not gonna be me

I've rooted twice already no problem

if you can't get root maybe root is not for you
[HTC Desire 530 Questions & Answers] xx5497:
well :crying:
[HTC Desire 530 Questions & Answers] Captain_Throwback:
Use the volume and power buttons to get to bootloader, then recovery. Adb doesn't work in Download mode. Only fastboot does.
[HTC Desire 530 Questions & Answers] xx5497:
not works try go to recovery and only says in the phone

"failed to boot to recovery mode press volume up or down to back to menu"
[HTC Desire 530 Questions & Answers] monkish34:
Yeah you could have kept that comment to yourself, I believe.

Me, and many others, in this thread has modded or rooted all sorts of devices over the years. Here and there however one comes across that gives people trouble. This device being one of them.

So I'm very happy for you, like so happy you'll never know, that you rooted the 530. But that post was of absolutely no help to anyone.

But again, thanks for letting us know of your success. I was wondering how the root process went for you...
[HTC Desire 530 Questions & Answers] Captain_Throwback:
Is there updated software or kernel source for this device? That may be why TWRP is failing for people. Or maybe there are multiple variants? I can try building a new one if someone links me to kernel source or an updated RUU or OTA firmware.
[HTC Desire 530 Questions & Answers] idecibeL:
I got "Failed to boot to recovery mode..." after flashing correctly twrp-3.0.2-0-a16.img

Kernel version:

3.10.49-perf-g29612d2

and@AABM #2

SMP PREEMPT

Firmware:

1.35.600.1 CL788278 release-keys
[HTC Desire 530 Questions & Answers] shanman-2:
Make sure your bootloader is unlocked!
[HTC Desire 530 Questions & Answers] idecibeL:
It is unlocked. I don't know whats wrong. :(
[HTC Desire 530 Questions & Answers] bigggdadyj:
Need help... Asap

I used win toolkit on my htc desire 530..I got bootloader unlock.. But when u flash tarp recovery it said( 100% downloaded)then it said download fail..How do I fix this????
[HTC Desire 530 Questions & Answers] BigCountry907:
Here are the Metro PCS RUU and the General Unlocked RUU. [MENTION=1162986]Captain_Throwback[/MENTION]

http://www.mediafire.com/file/7zmwk...11_63.10.60527G_release_481249_signed_2_4.zip

http://www.mediafire.com/file/w5r3a...41_58.01.60510G_release_481628_signed_2_4.zip

For other variants let me know and i will get the RUU.
[HTC Desire 530 Questions & Answers] shanman-2:
Thanks BigCountry907. I would appreciate the RUU for this variant:

cid: H3G__003

htc_a16ul PVT S-ON

lk-1.0.0.0000

Radio-01.01_u113251281_50.04.60218G

OpenBSD unknown

os-1.08.773.11

Cheers :)
[HTC Desire 530 Questions & Answers] Jkidddd:
I neeeedd Helpppp

I tried unlocking my bootloader but the fastboot option does not show on my phone can someone help me before i throw this piece of **** away pleaseeee.

This is the error (p.s. Im doing this with a Mac)

iMac:android MJ$ ./adb reboot bootloader

adb server version (31) doesn't match this client (36); killing...

* daemon started successfully *

iMac:android MJ$ ./fastboot devices

FA6BJBR00455	fastboot

iMac:android MJ$ ./fastboot oem get_identifier_token

...

FAILED (remote: unknown command)

finished. total time: 0.011s
[HTC Desire 530 Questions & Answers] shanman-2:
This line "adb server version (31) doesn't match this client (36)" suggests that your adb version on your mac is out of date, try updating it.
[HTC Desire 530 Questions & Answers] Jkidddd:
I updated it today unless there's a new update. Is that the reason why im having this problem. Tbh this is the most annoying attempt to ever root a phone I've ever encountered
[HTC Desire 530 Questions & Answers] shanman-2:
Hang on, I mis read what's going on. When you type the fastboot command what's on the screen of phone?

To get to download mode hold vol down and press power button, when booting the phone.. Then type the fastboot command.
[HTC Desire 530 Questions & Answers] Jkidddd:
It's in download mode when I type ./ADB reboot device, but I'm doing the steps from a YouTube video and there it shows the fastboot command same as reboot, reboot downloader etc. But it doesn't show fastboot on mine.
[HTC Desire 530 Questions & Answers] shanman-2:
The only other thing I can think of is to make sure you have "Oem Unlocking" enabled in Developer options...
[HTC Desire 530 Questions & Answers] BigCountry907:
Here is a easy way to do this. " Booting in Different Modes"

With the phone on and booted into android.

Type

adb devices

You might get something similar to this.

c:\>adb devices
List of devices attached
adb server version (31) doesn't match this client (36); killing...
* daemon started successfully *
FA5BTB005699 device

If you do then type it again.

adb devices

You should get something like this.

c:\>adb devices
List of devices attached
FA5BTB005699 device

The key thing is the serial of the device is shown. FA5BTB005699 device

Once you have that then you will type

adb reboot download

after that

adb devices

you should get

c:\>adb devices
List of devices attached

This means no devices are found in adb mode.

Now type

fastboot devices

you should get

c:\>fastboot devices
FA5BTB005699 fastboot

Once you have that then you can type.

fastboot oem get_identifier_token

Then if successful you will get something like this.

c:\>fastboot oem get_identifier_token
...
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp

(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock

(bootloader)
(bootloader) < Please cut following message >
(bootloader) <<<< Identifier Token Start >>>>
(bootloader) 5C21412C8DBAC8D47054266D8BE7EF11
(bootloader) 6B4F8C5D263EAA77B5C2AD5355D7FEB3
(bootloader) A69773C8D191F0818C5CE9D5B0189F5A
(bootloader) F48F80946B714F0A0AC40B7CA5690568
(bootloader) 2C308276AF2DD64A2AB5ABD81A03B998
(bootloader) 56AACF658550C2B94DCC07EE53B72257
(bootloader) 426FEED8159394076D1E286B20685A5E
(bootloader) 0F981018CA6AB31D0C111C15989DF2BB
(bootloader) 7FE119E7F7B611E104BE46F17FE15A92
(bootloader) AC4633962A3E5C24A76E9C96F99020A4
(bootloader) B8BD133EF04A1FC63F941FDDC7C29E8E
(bootloader) E31641A1B408F7CD8D4324D307DEAC7F
(bootloader) 935A179AB315193135DC706330461ED6
(bootloader) 5D9A15EDCC696A4B6600CED5BF210F76
(bootloader) 2351C794E937F0FF3198838A7D2BAF22
(bootloader) 1427ED511890C09BF2E26A1F050C67D1
(bootloader) <<<<< Identifier Token End >>>>>
OKAY [ 0.150s]
finished. total time: 0.152s

That is the token to get the bootloader unlock file from htc dev.

Then you will do the same thing after you have the unlock token from htc dev.

You will need to be in download mode " fastboot mode" to flash the unlock token.

So in a nutshell figure out what mode your in.

adb devices
fastboot devices

Only one mode will be present at a time.

adb mode is with the device booted normally or "booted to recovery only with TWRP"

Fastboot mode is when the phone is booted to download mode.

From adb mode type adb reboot download to get fastboot mode.

From fastboot mode type fastboot reboot to get into normal boot.

Hope this helps. Seems like people have a hard time knowing what mode there in.
[HTC Desire 530 Questions & Answers] Jkidddd:
Trust me I already turned both the OEM unlock and usb debugging on. But thanks though, I'll still try to get this thing rooted somehow
[HTC Desire 530 Questions & Answers] BigCountry907:
[MENTION=7989240]Jkidddd[/MENTION]

Post your output in the terminal window.

Maybe I can help. But i'm not sure what is happening without seeing your terminal window.

What variant do you have. HOPEFULLY NOT VERIZON.

Type

fastboot getvar all

and post it for me. Exclude the "imei"

Here is my terminal the whole way through.

C:\WINDOWS\system32>cd c:\

c:\>adb devices
List of devices attached
adb server version (31) doesn't match this client (36); killing...
* daemon started successfully *
FA5BTB005699 device

c:\>adb devices
List of devices attached
FA5BTB005699 device

c:\>adb reboot download

c:\>fastboot devices
FA5BTB005699 fastboot

c:\>fastboot getvar all
(bootloader) kernel: lk
(bootloader) product: htc_a32eul
(bootloader) version: 1.0
(bootloader) imei: 352678075675006
(bootloader) version-main: 1.11.617.1
[COLOR="SeaGreen"](bootloader) boot-mode: download[/COLOR]
(bootloader) version-baseband: 01.01_U113251011_32.04.50622G_2
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PM910000
(bootloader) cid: 11111111
all:
finished. total time: 0.025s

c:\>
[HTC Desire 530 Questions & Answers] shanman-2:
Hope you can work it out, just in case try a different usb cable?
[HTC Desire 530 Questions & Answers] PepeLasNoches:
Sideloading SuperSU

I've had no problems getting through all the steps, except the final one, sideload SuperSU. I get no error in ADB, but TWRP gives an error.

Anyone know what might be causing this?
[HTC Desire 530 Questions & Answers] BigCountry907:
You should be able to put the supersu flashable zip on the external sd card and just use install zip in TWRP.

I'm not sure why you would sideload it.

The reason it won't sideload is because there is no updater script and updater binary in the supersu package.

Supersu replaces the updater script with a Bash Script.

Just use install zip from sd card and I dont think you will have any trouble.

---------- Post added at 02:53 PM ---------- Previous post was at 02:16 PM ----------

Here it is. Sorry for the delay. The files are big so the download then upload takes some time.

http://www.mediafire.com/file/15h4z...81_50.04.60218G_release_471539_signed_2_4.zip
[HTC Desire 530 Questions & Answers] Jkidddd:
Sorry for the delay I'll try what you said soon and I'm in Canada it's a Freedom (used to be called Wind Mobile) variant
[HTC Desire 530 Questions & Answers] Jkidddd:
I'll actually try switching usb's thanks.

---------- Post added at 11:01 PM ---------- Previous post was at 10:55 PM ----------

iMac:android MJ$ ./adb devices

List of devices attached

adb server version (31) doesn't match this client (36); killing...

* daemon started successfully *

FA6BJBR00455	device

iMac:android MJ$ ./adb reboot download

adb server version (31) doesn't match this client (36); killing...

* daemon started successfully *

iMac:android MJ$ ./fastboot devices

FA6BJBR00455	fastboot

iMac:android MJ$ ./fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_a16ul

(bootloader) version: 1.0

(bootloader) imei: EXCLUDED

(bootloader) version-main: 1.01.1500.31

(bootloader) boot-mode: download

(bootloader) version-baseband: 01.01_U113251341_59.01.60624G

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 2PST20000

(bootloader) cid: GLOBA001

all:

finished. total time: 0.008s
[HTC Desire 530 Questions & Answers] PepeLasNoches:
Got it, thanks!
[HTC Desire 530 Questions & Answers] schmanto:
Confirming the recovery issue: "can't boot into recovery"

Bootloader is unlocked, OEM unlock is checked, debugging checked - still, trying to boot to recovery from bootloader just won't work..

Any help greatly appreciated!
[HTC Desire 530 Questions & Answers] BigCountry907:
[MENTION=6720440]schmanto[/MENTION]

I am pretty sure that the different variants of the Desire 530 are running different kernels & dt Image.

There hasn't been any kernel source code released by htc yet.

I am inclined to believe that the recovery image "TWRP" you all have been using is actually a build of TWRP that was made for the Desire 626s.

Originally built using lollipop kernel source code released for the desire 626s.

It's surprising that it runs on some of the variants at all. Theese variants must have nearly identical hardware to the 626s.

The htc 526 626 and 530 are all MSM8909 Chipsets but some things are different like the display, cameras, ect.

And also the fact that the 530 only has marshmallow available for it.

I have successfully unpacked the TWRP image using AIK Linux along with unpacking the boot image with AIK Linux and then taking the kernel (ZIMAGE) and DT.img) from the unpacked boot image to replace the ZIMAGE and DT.img in the TWRP recovery. Then repack the modified TWRP image using AIK Linux and flash the recovery.

I am sure it will boot into recovery this way but then if the touch screen don't work you will have to use the command line to flash zip files using TWRP.

Pull your boot image and post it here. I will make you the modified TWRP.

Also see here for how i did this on my desire 526.

https://xdaforums.com/desire-526/general/root-100-vzw-desire-526-perm-root-t3498197

How to flash supersu or other zip files using the command line is posted there by me.
[HTC Desire 530 Questions & Answers] Captain_Throwback:
No, I only build TWRP using the kernel from the device it's intended for. I would NEVER release a TWRP from the kernel of a different device. I've done this for plenty of devices; I'm the TWRP maintainer for just about every new HTC device that's been released. I work closely with [MENTION=2376614]jcase[/MENTION] to make sure my builds work before they are ever posted, otherwise he wouldn't bother uploading it.

That being said, since I don't have the device, if you're willing to help the users of this device get it working l, be my guest. I'd link you to my device files, but I accidentally deleted them :eek:.

EDIT: Additionally, I actually build TWRP from source, not just repack it. And I patch the kernel binary so that touch works.
[HTC Desire 530 Questions & Answers] BigCountry907:
[MENTION=1162986]Captain_Throwback[/MENTION]

I apologize if I have offended you in any way.

This is a case of simple misunderstanding.

No-One is questioning how many builds of TWRP you have compiled or your abilities.

In post #88 you stated.

So after seeing this I did upload the RUU zip files and also offered to post them for any of the variants that are needed. (HTC-DEV has no RUU or Kernel Source Posted).

This is my effort to help. " I Don't have a Desire 530 either"

So you then state in your last reply............

I'd link you to my device files, but I accidentally deleted them

So you then state in your last reply............

I understand that you patch the KERNEL SOURCE CODE and RE-COMPILE the source code to fix the TOUCH.

(The Link to how you patched the TOUCH for the Desire 626s)

https://github.com/CaptainThrowback...mmit/7a8c65c1a6fe6c4721e46ef53b9863bcbfa7de10

So considering these things.

" That there is no Kernel Source released for the Desire 530"

" To patch the Kernel Source to compile a custom Kernel for use to build TWRP in Omnirom"

"Well you have to Possess the Kernel Source Code to Begin With before you can patch it"

This is where I start to make assumptions, "A Bad Thing to do that causes misunderstandings"

A wile back I built a kernel for the 526 "Verizon" but even being totally unlocked I couldn't get it to boot.

I think there is still protection in the bootloader that will not let the kernel boot.

It boots past the HTC Screen but then Hangs on the Verizon Screen.

Anyway I took your Official desire 626s TWRP and replace the device tree and kernel with the 526 dt and kernel.

All and all this worked out good enough to accomplish what i needed at the time.

I know you can build TWRP in Omni with a pre-built Kernel and since there is no kernel source available for the 530 and

considering you requested the RUU's my first guess is use the kernel from the RUU as the pre-built kernel. In which case the kernel isnt compiled so the Touch isn't patched.

Unless you are patching the kernel in hex or some other way....

Anyhow if you have kernel source for the 530 can you add it to your github.

How are you patching the Touch if your not building from source?

It could be very difficult but possible to build kernel source from AOSP or CAF branches.