[Q] HTC ONE HTL22 Stuck on Bootloop Mac OS

I have an international variant of HTC One HTL22. I am also using a mac OS computer.

I unlocked the bootloader and had s off and CID as 111111
The phone was also rooted.

So first I paid a guy in japan to s off and cid the phone along as rooting the phone.

THen I unlocked bootloader.

I downloaded the Android Revolution HD's latest rom.

I flashed into recovery and it went into Clockworkmod.

I wiped and erased all the cache. I installed the ROM and everything seemed going fine until i rebooted the phone.

Now its stuck on the bootloop and always trying to go into recovery but failing. I can get into a different menu by pressing power and volume down. But everytime i try and click factory reset or anything else it just boots into a loop again.

I tried accessing the phone on the Mac OS Terminal but it is not showing up when i try and type up adb devices on the terminal (command prompt)

ADB only works from a booted rom or from custom recovery, in bootloader you must use fastboot commands, i.e fastboot devices

I see I flashed an incompatible rom.

So now I am stuck in a boot loop. It seems I am able to go onto fastboot and the Terminal (CMD) recognizes the device but I cant get the ADB to recognize the phone.
I don't know what to do after that. Can I flash a compatible rom using an SD card? Or does it have to be on the internal storage?

How do I get it back so that it just loads back onto the stock ROM that it once had?

edit: yeah so I went into fastboot and erased cache which got me back into clockwork mod and using an SD card I tried installing the HTC J One Maximus Rom and the HTCsoku Global Edition ROM and everytime it reboots it just keeps getting stuck on the htc logo entering or trying to enter recovery mode.

Bootloader is still unlocked, S-OFF, CID11111. When I got the phone back from the service guy.

All I did was unlocked the bootloader. He rooted the phone already. So I was hoping to just install a working ROM and then unlock the SIM on the phone.

So now I am stuck in a boot loop. It seems I am able to go onto fastboot and the Terminal (CMD) recognizes the device but I cant get the ADB to recognize the phone.

Maybe it was not clear:ADB only works from a booted rom or from custom recovery If you can't make ADB works from custom recovery, your drivers are probably not installed correctly.

Quote:

I don't know what to do after that. Can I flash a compatible rom using an SD card? Or does it have to be on the internal storage?
How do I get it back so that it just loads back onto the stock ROM that it once had?

You might want to check this thread. here you can find custom recovery and custom rom for your HTL22. Look at the last page, there is an updated rom list for your phone variant.

You can probably flash the rom both from the sdcard or from the internal storage. You can push the rom to your internal storage using ''adb push'' command from twrp recovery.

XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.Are you a developer?