• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help How install android from my computer terminal (PLEASE HELP)?

I have a HTC M7 without any OS on it (it goes to black screen when I boot it).

It doesn't have any memory card.

I am however able to have a root shell with "adb shell" when connecting it with USB.

How can I re install android from my computer?
 
Find the correct HTC ROM Upgrade Utility (RUU) for your phone. Unless your bootloader says "S-Off" at the top this must be one that was made for your "cidnum" (if you set up fastboot on your computer and put the phone in fastboot mode then the command "fastboot getvar all" will tell you this, otherwise if you know what region/network it was originally sold for we can work it out). It also must not be older than the current firmware, so any info you have on that (such as what it says on your hboot screen about versions) will help.

The RUU is a Windows executable, so once we've found one you download it to a PC, put the phone in fastboot mode, connect via USB and run the RUU.

That said, how come adb is working? There are only 2 ways that's possible:

1) the phone is in recovery mode and you have a custom recovery. But that isn't a black screen.

2) the phone is booted into Android, screen unlocked and USB debugging is enabled. That's not a black screen either.

So I wonder whether the problem isn't the screen (or screen driver). What exactly happens when you power it on, step by step?

Also how did it get into this state? That info may help suggest a resolution.
 
Thanks a lot for your answer.

I deleted the OS by setting a disk encryption and entering the wrong passwords multiple times which triggered OS self-destruction.
 
Nope, that won't delete the OS. Your data, sure, but I don't believe that will trash the system software. And if ADB is working then the system isn't really trashed - you need an adb daemon to be running to get any response from USB debugging. The question is how much else is working: have you tried phoning it to see whether it rings, for example?

So the other question: if you power it off and one what do you see, in sequence (e.g. do you get the normal splash screen and boot animation then it goes dark, or what?). And if you reboot while pressing "volume down" (which takes you to the bootloader) what do you see? And while you are there what happens if you select recovery? Or what happens if you select fastboot, since that's what we need to run a RUU?
 
Last edited:
Back
Top Bottom