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

Root HELP! Accidentally Wiped Internal Storage and OS on HTC ONE M8

I have a galaxy s5, maybe i could transfer the rom to the sd card on the s5 and put that sd card into my phone?
Yes.

Although, I'm still a little stumped on that problem.

But let's do that.

Then in TWRP, back to main menu, Install - and there's a line that may say "Internal Storage" (my phone is up, I don't recall exactly) - if so, try to tap it, it may be the button to choose the ext sd card, if you don't see it otherwise.
 
Upvote 0
I tried putting the old stock rom on the htc before i contacted you and when i tried it then it failed due to an error, i'm not sure if i needed to move the file to internal storage before i install it?

This was with the sd card

Ok, let's not be concerned about the old stock rom.

Let's just stay the course on the path we have.

It's ok to install a good rom from the sd card.

Your Viper rom is md5 verified.

Look for the option in the TWRP Install to install from the ext(ernal) sd card.

If you want to give the adb command one last try, put it into adb sideload, and give this command -

adb devices

It ought to return a serial number.

If it does, then, try this modified command -

adb sideload .\ViperOneM8_4.3.0.zip

If it still doesn't work, say -

adb version

And tell me what it says.
 
Upvote 0
And by the way - entirely up to you - it's your phone, it's your PC - but...

If I were in your shoes, I would bookmark this thread where you learned how to access an up to date SDK toolkit, how to use fastboot on your own, how to recover from disaster using just some downloads and the two commands - adb and fastboot...

And...

I would lose that entire Hasoon/AIO Toolkit, it's folder, whatever.

I'm sure it helped you initially - but it was not your friend. It has outdated SDK tools and a way outdated TWRP.

As you've learned, the tricky bit is getting a command window open to the right place.

After that it's pretty easy - put files in, copy command.

And there's always someone around to help with basic adb and fastboot stuff. (Who don't forget the proper forms at the last minute lol.)
 
  • Like
Reactions: jschohan
Upvote 0
Ok, well, perfect. :)

Yeah - here's how you always flash a rom or flash anything:

First, make a nandroid backup of what you have.

Install.

Wipe, Advanced, cache and Dalvik (no exceptions).

And above all, you need a baseline that you can always go back to.

That's today's install.

So yes, please make a nandroid backup right away, after it's fully up and running - and any time you feel like.
 
  • Like
Reactions: jschohan
Upvote 0
Yes.

Although, I'm still a little stumped on that problem.

But let's do that.

Then in TWRP, back to main menu, Install - and there's a line that may say "Internal Storage" (my phone is up, I don't recall exactly) - if so, try to tap it, it may be the button to choose the ext sd card, if you don't see it otherwise.
What version of adb is included in that miniSDK? The newest TWRP versions require 1.0.32 for sideload to work properly. You think that could've been the issue?

EDIT: http://forum.xda-developers.com/showthread.php?t=2717932 see under the "CHANGELOG for 2.8.3.0:" section.
 
Last edited:
  • Like
Reactions: EarlyMon
Upvote 0
What version of adb is included in that miniSDK? The newest TWRP versions require 1.0.32 for sideload to work properly. You think that could've been the issue?
Great question my friend, but no problem - the Mini-SDK has 1.0.32 adb, and exactly why I wanted to make sure of the playing field ahead of time.

Also why I wanted to see the path, and tried .\adb, and finally asked for adb version (too late) - because I kept thinking that AIO toolkit might have done something nefarious like change the path or put it in a known directory.

And I know that the command syntax has to be right because I guided someone last month through a TWRP/adb sideload of ViperOneM8 without a problem.

So, I'm stumped. :(

PS - I found it here last month helping the other guy -

http://teamw.in/ADBSideload
 
Last edited:
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones