yashsingh1/xdaforums huggingface dataset:
[One (M8) Q&A, Help & Troubleshooting] lv426HuDz:
Lost RUU backup

Hi I to am trying to revert back to stock on my HTC one M8 (Three UK H3g__00)1 but I have lost my original backups do to an hdd fail :( the RUU files you posted on here I believe I could have used but the links no longer work :(

My phone is in a bad way at the moment it is softbricked with the latest version of CWRM on and no OS currently installed, is this why my version main appears blank?

My phone has ended up in this state after trying to install the latest android revolution rom (5.0.1). The rom seemed to install ok booted and setup fine but my Wifi wouldn't turn ON at all. After I rebooted the phone for the first time it got stuck in a boot loop.

I deally would like to get lollipop on the phone and doing some reading I believe with the situation I'm in I have to go back to stock and do the OTA updates to raise my hboot version to 3.18 or above, that way I could install cyanogen 12.1

Apologies for noob question still learning.

My bootloader (3.16) is tampered, unlocked and S-ON

D:\Android>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.16.0.0000

(bootloader) version-baseband: 1.16.2133156.UA15G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: H3G__001

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: ab0efa49

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.054s
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
First - remove the serial no. & imei no. on your above post.

Second - install TWRP 2.8.1.0, don't use CWM recovery.

Third - read this thread - http://xdaforums.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860

for how-to and restore 1.54.771.9 backup & its matching recovery then do multiple OTAs up to the latest 4.xx.771.x
[One (M8) Q&A, Help & Troubleshooting] lv426HuDz:
Hi ckpv5, thanks I will give this a try now, I did try to flash TWRP 2.8.7.0 recently but when I tried to enter the recovery it just hung and I never figured out why. I will give 2.8.1.0 a go now.

Last night, just to get my phone working I flashed on cm-11-20141112-SNAPSHOT-M12-m8 with open_gapps-arm-4.4-mini-20151203. It all seemed to be working fine and I liked the look and feel of the KitKat cyanogenmod but after I received my first phone call my phone speaker went crazy and gave some nasty distortion out, I rebooted the phone to stop it and now I have the noise on everything if I turn my volume up to mid/high, I'm worried my speakers are damaged. I followed a couple of threads to install the viperapp but with no success, any ideas on this one?

Cheers,
[One (M8) Q&A, Help & Troubleshooting] lv426HuDz:
Thanks

CHeers ckpv5 Ifollowed the guide used the files and its all sorted now.

Looks like CM11 has damaged my bottom speaker though i have ordered a replacement.

I do have 1 last question, after all the updating i have now put cm12.1 on and it seems to be running ok however when im booted into the OS my SD card is not being detected. If i drop back into TWRP recovery it does recognise the SD card, any ideas? im searching for a solution now.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
I can't comment anything on CM as I never use one .. no experience on CM .. sorry.
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
Hello,

I'm new in this forum and I'm also new in the developing area, so I would like to start my thread saying "thank you" to you all.

The problem started when I had the brillant idea to try to puton my phone a different rom. So I searched on the web and I found very detailled posts which explained the whole procedure. There were difficult terms, but I thought that if I followed the instructions, everything would have be fine. And I was terribly wrong.

So, I've unlocked the phone, then tried to root, but then the phone says there were some "system upgrades" so I decided to get back to the factory settings (because I couldn't upgrade).

This brought me to the real problem: My phone continue to reboot (I can see only the green "HTC" mark and then it reboots).

I've tried to do the factory reset, but nothing.

then, I installed the clockworkMod, but nothing happened (I mean, I can enter in recovery, but apparently I don't have data on my phone).

If this can help, sometimes appear on the screen a phone with a red triangle and a "!".

I know that many of these topics are very common, but believe me I have like 20+ windows open and this confuse me much more.

Hope you guys can help me.

Gabriele

---edit---

I copy what is written now on my phone, so this can help

*** TAMPERED ***

*** UNLOCKED ***

M7_UL PVT SHIP S-ON RH

HBOOT-1. 57. 0000

RADIO-4A. 26. 3263. 18

OpenDSP-v32. 120. 274. 0909

OS-4. 20. 111. 21

eMMC-boot 2048MB

Apr 21 2014, 15: 48: 24. 0
[One (M7) Q&A, Help & Troubleshooting] yatindroid:
fastboot getvar all

Post here without imei and serial number

Flash this Rom then try to update

http://www.htc1guru.com/dld/guru_reset_m7_2-24-111-3-zip/

Choose stock Recovery and radio options when ask root deny
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
fastboot getvar all

Hello!

Thank you for your reply!

Here the data:

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.57.0000

(bootloader) version-baseband: 4A.26.3263.18

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.00.0000.0

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: *******************

(bootloader) imei: *****************

(bootloader) meid: *****************

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0710000

(bootloader) cidnum: T-MOB101

(bootloader) battery-status: good

(bootloader) battery-voltage: 4293mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-ae8bbb39

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.050s

Now I try to do what you said!

---edit---

Sorry, I'm really new, should I flash the rom from fastboot? If yes, is the command line "fastboot flash zip <namefile>.zip"?
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
Can someone tell me how to properly flash this Rom, please ?
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
flash from within TWRP recovery 2.6.3.3 just like a custom rom, it will set you to stock.
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
Thank you!

And is there a way to put the .zip file into my sdcard via fastboot?

Does this code work good?

adb push romname.zip /sdcard/

Thanks again!
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
yup thats the correct command, you must be in recovery main screen before you issue that command, and the zip file you download must be in the same folder on your computer as adb and fastboot files.
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
Sorry for all of these questions, but with recovery main screen you mean the TWRP screen or the screen where are comands like "fastboot, recovery, factory reset..."?

Another thing: while waiting, I've found this guide. Should I follow the guide or simply push the .zip file with adb and then going into recovery?

http://xdaforums.com/showthread.php?t=1667929
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
TWRP main screen, the other screen is the bootloader, once in the main screen of TWRP, just push the file, no need to confuse things with that guide any further.
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
Ok good.

I've done it but I think I've to wait, because on the cmd there is written *daemon started successfully* and nothing more.
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
yeah sounds about right, takes about 5 - 10 mins to push, it looks unresponsive, but it will let you know when its done.

When its finished, just unplug your phone, select install, and choose the file in the list you get, follow the instructions on screen.
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
Wonderful thank you!

So no need to wipe cache?
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
I always do a full wipe before installing in advanced wipe, everything except internal storage and USB-OTG if you have that option.
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
Yes I have but unfortunately I can't do anything.

There is a long code saying that is UNABLE (in all lines it is unable!)

For example, it says

E:Could not mount /data and unable to find crypto footer.

E:Unable to mount '/data'

E:Unable to mount internal storage

E:Failed to wipe dalvik
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
oh damn, back to square one, in TWRP you need to select wipe, then format data, this will wipe the entire phone, incuding the internal storage, hope you dont have anything you want to keep on there, after the format, you need to reboot into recovery again and push the rom back to the internal storage again, no need to wipe once you boot back into recovery, you will already have a clean slate.
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
No, no repair, but I've made a mess by myself. I really don't know what I did, but I've tried to s-off, root, relock, flash. So I mean, I've tried everything, so maybe this changed it.

Is something I should worried about?

By the way, I've just performed the format process, now I try to push it back again and install.
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
after the format, you have to reboot back into recovery before you push again, the reboot is for the format changes to take effect.
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
Yes, I've chosen the reboot in recovery option, so I ended up in the recovery again and not in the bootloader.

This time in the pushing of guru_reset there isn't the string "*daemon started succesfully*"
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
Great, everything is ok!

Now, may I ask you how and what to do if I would like to change the rom? (I mean, what I have to do: s-off,........)

Oh, and another thing: now I'm upgrading the system, but then, can I install back the backup I made yesterday?
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
no, all your backup's and everything on your sdcard will be gone due to the format data, it was the only way to get your phone working again.

in order to get s-off on your hboot, you will need to use sunshine, you need stock rom to do it and its costs $25.

What do you mean your updating the system, are you getting OTA's ?
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
Yes, exactly, I'm downloading it now.

But I have a problem: in settings/mobile data, I can't add "new access points" because the tabs are gray and I can't click on them. Is this normal? During the installation there was the option to install "radio -something-", but there was also written that with OTA update it would be ok... is this true or i have to do the entire process again?

---edit---

I didn't have the simcard insert in......... sorry
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
About the backup I was referring to the one I have made 3 days ago, when there was no problem. Can I use it?

About the s-off: is rumrunner useless? I mean, is sunshine the only option?

In addition to this, some apps disappear from my phone.. light for example.. how can I install back them?
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
if you have the backup on your computer, then you can copy it to your internal storage, flash your custom recovery as you have stock recovery again now if you selected the option in the guru reset.

If you only had the backup on your interanl storage then it will be gone, the format data option wipes everything.

you are on HBOOT 1.57, sunshine is the only way, rumrunner is for 1.54 or lower only, theres no way to downgrade HBOOt unless you are s-off, which brings us to another problem, im a bit worried that the guru reset was to young for your HBOOT and updates may cause a bootloop due to trying to update your phone to an earlier hboot, like I said, not even the updates can back flash your HBOOT.
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
NOOO...

I've update the system software, and now it begin again to bootloop...
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
yup, thats what I feared, you have 3 choices, you can either flash custom recovery again and flash the guru reset, do not take any updates and either live with an early rom, go custom rom or get s-off with sunshine straight away and flash an RUU.

see here: this guy had the same problem and found a later backup which he used, but was met with another problem:

http://www.android-hilfe.de/7834889-post1.html
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
Ok, happened exactly what you were expecting.

So now the only way is to do the guru reset and rocovery and so on?
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
What is your advice on the best thing to do?

For me is ok to do this process again and don't do the OTA, but can this create problems with apps which need an up-to-date system?

Oh wait, I've just read again your post.. what do you mean with "go custom rom"?
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
there is another way, bear with me whilst I get the files together, just looking for the backup he used, in the meantime, would you please flash twrp recovery 2.8.4.0 from here: http://techerrata.com/browse/twrp2/m7, once flashed, enter recovery and create a backup, just something simple like boot only, its just to get TWRP to set up the folders we need, thanks to [MENTION=2895182]clsA[/MENTION] for this, this version also supports MTP so when you are in recovery and you plug your phone into the computer, it should open up on your computer as if your phone was booted.

might be 10 mins before I come back to you whilst I upload and sort out files etc.
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
Ok thank you!

I flash twrp rec 2.8.4.0 the same way we do for guru_reset, but this time without make the factory reset, ok?

---edit---

ok, I got it.. I dont have twrp now (just saw)... for this reason you told me.. my bad ;)
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
flash recovery in fastbootUSB mode

at the moment I am struggling to find the backup he used 3.63.111.3, really need that for this to work, got everything else required.
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
I've done everything you told me!

Now I'm trying to search the 3.63.111.3 too!
[One (M7) Q&A, Help & Troubleshooting] s.pirate.i:
good afternoon would this help?

M7_UL_TWRP_Nandroid_4.20.111.21.zip
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
yes diffinately, thats perfect do you have the link ?

its ok found it, right, download this: https://www.androidfilehost.com/?fid=23622183712459333 ill take you through step by step
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
Thank you both!

Ok, I'm downloading. Can I do something while waiting?
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
plug your phone into your computer, check that it pops up in explorer / my computer, and then navigate to TWRP-Backup-folder labelled as your phones serial number-(you should now see a folder with the date and a load of information, thats the backup you just created, dont open that folder, just keep that window open for now, we are going to copy a folder out of that backup in a min when it finishes downloading.

When it finishes downloading, dont copy the zip, just extract it to your desktop, you will now have a folder labelled 4.20.111.21 with a load of files inside it, copy that whole folder to the same location as your other backup, but not inside that one with the date and other information, beside it, so you can now see the backup you created ealier, and the folder your copying, like the image below, you wouldnt believe how many get this wrong.
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
mmm... No, my pc doesn't recognize the phone. when I fastboot USB, the pc make the sound of "connected device", but then I can't see in my folders. Now I try from recovery.

Ok. Everything fine. From recovery my pc recognize it and I've also found the directory folder with my serial number. Are we going to paste another folder into the backup one or into the one with the serial number?
[One (M7) Q&A, Help & Troubleshooting] s.pirate.i:
i will try to send the link. i am not allowed at the moment since i am a new member.

:(

i found it in a german site
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
Thank you s.pirate.i, but I think we have alrealdy managed it ;)

Thanks for help!!
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
See the picture I posted above, thats where you need to put it, once its copied, unplug your phone and restore it, in TWRP select restore and select the 4.20.111.21 backup, we will need to get fastbootUSB working, but not just yet, just reboot and setup.
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
Without wipe anything, right?

I'm asking just to be sure..
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
soz forgot that part, select wipe, swipe to wipe, not advanced this time.
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
Just to be sure.. if I swipe it makes a factory reset (not in advanced), ok?
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
yeah will be fine, you are already on that backup's firmware etc, it will still wipe the right sections, data etc. just remember to reboot recovery before restore.
[One (M7) Q&A, Help & Troubleshooting] s.pirate.i:
i am waiting for the results.
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
lol :D your fault if it fails ;)
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
lol ok wait.

Now in the restore window i can choose Boot, Data and System. should I select them all?
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
yup, the lot.

whilst its restoring, could you download these 2 files, and whatever happens, dont try and update when your phone comes back on, just ignore any update notifications.

https://www.androidfilehost.com/?fid=23622183712459512 - preload data

https://www.androidfilehost.com/?fid=95864024717070735 - stock recovery
[One (M7) Q&A, Help & Troubleshooting] s.pirate.i:
if it fails with 3.63.111.3 i hope it will work with 4.20.111.21 :fingers-crossed:
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
ok, I won't do anything without your reply ;)

btw, just started and made "error sending messsage to add sorage 65537", but it is going, so ok.
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
ok, [RESTORE COMPLETED IN 131 SECONDS]

now I reboot system?
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
its a twrp problem, hopefully it still works, ive had that issue myself, with that version of twrp, if it doesnt work, just try twrp 2.8.5.0 instead, you wont have to recopy the files, they will still be there, just advanced wipe everything except, internal storage and usb=otg.
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
oh ok! now the restore ended. should I reboot now?
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
yes please, did you download those 2 files ?
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
Yes, downloaded!

--edit--

ok, apparently it doesn't loop so far
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
ok. Do I have to make the configuration of the phone right now?
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
yes set the phone up, just a quick setup will do, no need to restore anything or setup your facebook account etc.

good once its booted and your able to, just copy the preload.zip file to the root of your internal storage, ie not in any folders and then reboot back to recovery.

Once in recovery, select install and select that preload files zip by flashbar, swipe to install, once done, again reboot.
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
I've downloaded two file. I put just the preload in my phone, ok?
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
yes good, reboot back to recovery, Once in recovery, select install and select that preload files zip by flashbar, swipe to install, once done, again reboot back to android.

the preload files are checked by any OTA's, if they are missing, the OTA fails, we are making sure they are there.
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
oh ok, thanks!

just made everything and I'm back in android. (actually the phone is optimizing apps)
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
I also have all the apps that I had lost previously (and some that I have never had before (the t-mobile's one))
[One (M7) Q&A, Help & Troubleshooting] s.pirate.i:
i think the boot loop appears when trying to install update

5.16.111.4_R-4.20.111.21
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
yup thats the data preload files that the OTA will look for before it updates.

last step now then, once your phone is full booted and finsihed optimizing, you need to take the other file you downloaded, stock recovery.img file and put that file in your adb and fastboot folder on your computer, we are going to flash that the same way you flashed TWRP recovery, only this time with a couple of extra commands.

So boot your phone to fastbootUSB mode this time, not recovery.

you said earlier, your phone was no longer being seen in fastbootUSB mode, so once your booted to that mode and your phone is plugged in, could you check windows device manager and see what it says inthere ?
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
Unfortunately I don't know where to look. If you need particular informations tell me! :)
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
????? dont say that, we only have stock recovery to put on now.

---------- Post added at 06:37 PM ---------- Previous post was at 06:34 PM ----------

did you quote the wrong guy ?

Windows Device Manager, see if it can see your phone, or if you have something like"One" with a yellow exclamation mark ?
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
in device manager there is no error; I meant that the pc doesn't recognise it as a storage media. But if I type "fastboot devices" I find it.

So now we have to flash that second file: is ok "fastboot flash zip recovery_4.20.111.21.zip"?

--edit--

in the other post I quoted s.pirate.i because I thought he was asking me, but I didn't know if the error was there.
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
no it wont recognise it as storage, only in recovery is like that.

as long as fastboot commands is working, thats fine, but its not a zip file, its an img file, issue each command below, one at a time, wait for each to finish before you issue the next.

fastboot flash recovery recovery_4.20.111.21.img

fastbbot erase cache

fastboot reboot-bootloader

fastboot reboot

---------- Post added at 06:44 PM ---------- Previous post was at 06:43 PM ----------
[One (M7) Q&A, Help & Troubleshooting] gabri.guido:
[MENTION=6462370]s.pirate.i[/MENTION]

Ok, updated the system with OTA (downloaded from the phone) and everything is ok.

No problem in the booting or in the installing.

So yes, if you follow the procedure explained by [MENTION=4518565]Seanie280672[/MENTION] you can also upgrade the system via OTA without problems.

Just to remember that the problem was that I am S-ON, my main.version= 1.00.0000.00 and my phone was in a continue bootloop.