yashsingh1/xdaforums huggingface dataset:
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
When you say it's formatted are you sure about that?

Format Data is not the same as Factory reset or Wiping partitions. You need to use the Format Data option in twrp to be sure. So in case you haven't already and probably wouldn't hurt to do it again anyway.

Boot into twrp recovery Select the Wipe option and then Format Data option. You will be prompted to type "yes" to confirm. This will wipe everything from your device including your Rom and internal storage. Reboot to recovery to restore a completely new file system to your device.

Now with the phone still in twrp recovery, Select the Mounts option and uncheck all the boxes to unmount the partitions. Return to the twrp home screen (you don't need sideload mode for this part) in the command line type

adb shell

e2fsck -fvy dev/block/mmcblk35

e2fsck -fvy dev/block/mmcblk36

e2fsck -fvy dev/block/mmcblk37

exit

Once that's done you can push or Sideload your Rom. Personally I prefer the push method but which is easiest for you is fine.

Ideally you want to do a factory reset with Stock recovery also but since you can't find one unless you can extract it from the file on HTC dev just try the above. ;)

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] htc1resetting:
I was using the format data option before as well.

This time, followed the step by step procedure and installed the OS, the phone booted again but it restarts after sometime as it was at the beginning of the problem. Any suggestions?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
When the phone is booting, does it take longer than normal? And does it bootloop before finally booting.

Unfortunately this is starting to sound like a hardware problem. After formatting the memory, repairing partitions with e2fsck and flashing a new Rom there's not much else can be done. If your still getting random reboots then something is defiantly a miss.

You can check your supersu app to make sure is properly rooted, by opening supersu, it may ask you to update the Binary's.

Or just flash this in recovery to make sure your on the latest.

http://download.chainfire.eu/452/SuperSU/

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] htc1resetting:
I repeated the ROM installation after reinstalling super SU in TWRP. After ROM installation, cleared dalvilk, cache and rebooted system.

When the phone boots after installaion....."Android is updating".....as screen shows "Android is updating" 138/256.... the phone will boot once... after it starts ..its starts from x/156 and will finally boot into OS and phone will start for the first time and show the home screen.

After some time apox. 1 minute, it will start its boot loop.

An additional note, while the phone is on, I find that Network settings of Cellular network will remain greyed out and won't show a detected cellular network.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
What about imei + baseband do they show in settings or are they blank?

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] htc1resetting:
IMEI+Baseband shown as Unknown ! :rolleyes: Any hopes you see in getting this phone working?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Without s-off not much hope :( and with s-off still no guarantee but chances are much better.

You need to run a ruu unfortunately with s-on you can only run an ruu that is the same as or higher than your current version. Since your already on the latest firmware you won't find an update and the chances of finding the 6.xx.599.x are no existent.

With s-off you can at least change your cid and use older ruu's to downgrade. There is a thread about this problem somewhere, I'll edit this post with a link but I don't think it will be much help with s-on

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Ok I found the thread and it seems it did work for someone with s-on I'm not sure how though I didn't have time to read through it but here's the link, I'll take a look at it once I get home from work.

http://xdaforums.com/showthread.php?t=2728428

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] htc1resetting:
Danny- based on this thread, the user is performing s-off procedure after he fails to perform RUU update. I am not sure how this can help as per my understanding RUU update or new custom ROM installation is the last step to recover a phone.

In the wake of trying to get s-off on my phone, rum runner and firewate method didn't work for me because my phone will boot in 1.5 minutes and the s-off application has not done its complete operation over the phone.

I was able to make a download from htcDev according to my current OS- its a file named: m7u-3.4.10-ga936d02.gz Is there some possibility with this file?

What are my options for s-off?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Another user with a similar problem was able to stop the rebooting problem by flashing cm11. Maybe that could help. Sunshine would be easiest method to s-off if you don't mind paying for it.

Maybe try firewater with cm11 first.

See his post here, firewater did not work for him but maybe it will for you?

http://xdaforums.com/showthread.php?t=2882108

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] htc1resetting:
While trying to get s-off using firewater or rumrunner, my phone will reboot while the s-off process is ongoing hence I was not able to achieve s-off. Is there any s-off tool that works during fastboot or in recovery environment?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Did you try with cm11? No there is no method that works with fastboot or recovery alone.

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] htc1resetting:
Tried cm-11-20140916-SNAPSHOT-M10-m7 by sideloading- failed

Error executing updater binary

Error flashing zip '/sdcard/sideload.zip

Am I using the correct file for my phone?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Try clockwork mod recovery

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] clsA:
that version of CM requires TWRP 2.8.0.2 or CWM 6.0.4.8
[One (M7) Q&A, Help & Troubleshooting] htc1resetting:
Thank you guys! There is "some" progress. I copied the CM11 onto my sd card when the phone was booted in android. Then I booted into recovery(TWRP) and after wiping system, installed cm11.

The phone turned on into CM and it no longer reboots after every minute. However, its still doesn't show any mobile networks.

At least, this stable phone will give me chance to try s-off and then try other options. Any suggestions?

Mutliple thanks :good:
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Nice ok go with firewater to start with see how that goes :good:

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] htc1resetting:
I have supreUser installed [ supersu v 1.25+ SU binaries installed su-bin-3.1.1-arm-signed] installed throught twrp 2.8.0.2

When I tried with firewater- got access denied

F:\Virtual Machine\Shared\Fastboot>adb shell

←7←[r←[999;999H←[6nshell@m7:/ $ chmod 755 /data/local/tmp

chmod 755 /data/local/tmp

shell@m7:/ $ su

su

Permission denied

1|shell@m7:/ $
[One (M7) Q&A, Help & Troubleshooting] clsA:
Flash this in TWRP >> http://download.chainfire.eu/452/SuperSU/UPDATE-SuperSU-v2.02.zip
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Also your chmod looks wrong, it should read

chmod 755 /data/local/tmp/firewater

Not

chmod 755 /data/local/tmp

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] htc1resetting:
For s-off, tried Revone, gave me error code=1. Used Terminal emulator.

Rumrunner won't work, tried multiple times.

Firewater will keep giving errors that I don't have root access. It worked only once but in the end gave error that I should try again. Firewater won't ask me to allow for SU on phone after requesting SU command in adb shell.

F:\Virtual Machine\Shared\Fastboot>adb shell

←7←[r←[999;999H←[6nsu

←8shell@m7:/ $ chmod 755 /data/local/tmp/firewater

chmod 755 /data/local/tmp/firewater

shell@m7:/ $ /data/local/tmp/firewater

/data/local/tmp/firewater

error, run firewater as root. su or FU!!!!!!

1|shell@m7:/ $ exit

exit

I am runnning commands as follows:

adb reboot

adb wait-for-device push firewater /data/local/tmp

adb shell

su

chmod 755 /data/local/tmp/firewater

/data/local/tmp/firewater
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
When you issued the su command did you check your phone screen for a notification to allow it?

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] htc1resetting:
No, a notification won't come on the phone screen. It came once only and the process went ahead and at the end end failure message received that try another time with firewater.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
:( maybe a problem with the phone interrupting the process, If I could guarantee you could fix the imei baseband issue with s-off I'd say just use Sunshine app, but $25 is a lot to spend if you can't fix it.

On the other hand if flashing an ruu can fix it then $25 is cheap compared to a new phone. So that's your call.

Other than that all I can suggest is check your root app settings, ensure Root is indeed working and keep playing with firewater. In the hope that it works.

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] kewlfr3zr:
Hi Guys!

I have a similar problem: after i bought a m7 with a bricked display, i bought a new one from china :-/ and replaced it. I don´t know if the problem started on this point, but after i restarted the repaired phone, it showed unknown IMEI, serial, etc., except in the bootloader, there it shows me the info. And i had the bootloop after every few minutes.

So i tried much things. I flashed a custom rom, rooted and unlocked the phone. Also i got S-Off atm.

Now i´m at the end of my wisdom but found this thread. Maybe you have sume suggestons for me.

I would be very, very thankful.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Hi first of all maybe you can share how you achived s-off. As it may help the op :)

Can you post the output of getvar all please. Since your s-off we can find try and ruu which will hopefully reset your baseband and imei.

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] htc1resetting:
What commands to run when using firewater thru terminal emulator?

Once s_off . is there any process to do before using custom RUU?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
As far as I know the commands would be the same but the firewater site does discourage the use of Terminal emulators but give it a go nothing to lose.

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] davidrol:
This all began with an incomplete upgrade that resulted in corruption. Happens often and can cause a soft or hard brick. Tried and true methods will usually fail because of the corruption and probable overlapped partitions.

You should be able to restore your device to stock specs...flash the correct RUU. The device ID, version ID must match, and signed as well. Htc1guru.com probably has the file you need. This will restore partitions to stock, to some degree, but, not entirely

Once restored, you can unlock, root and obtain s-off.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
There is no ruu that will work for him with s-on. That's why we're trying to s-off the phone in its current state.

So he can try an ruu in the hope it will restore imei and baseband correctly.

But since he's on the latest firmware and Downgrading is not possible while s-on there's not much else to do other than achive s-off.

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] davidrol:
Will you post your getvar all. Maybe I can find an origanal or updated RUU. An older or downgrade RUU won't work either.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
[emoji57] Have you even read more than the first 2 lines of any of the posts in this thread?

Your English is clearly very good so I can't belive you didn't understand my last post. So I can only assume you didn't actually read it.

You appear to be confused about what's happening here.

No offence ment, but I think you need to take some time to read through the thread to understand the situation. ;)

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] htc1resetting:
Thank you guys!

btw, I checked htc1guru but couldn't find RUU specific to mine.

Here is the getvar.

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.57.0000

(bootloader) version-baseband: 4T.28.3218.04

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.15.599.101

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

(bootloader) serialno: HT36JW915592

(bootloader) meid: 00000000000000

(bootloader) product: m7_u

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0711000

(bootloader) cidnum: HTC__332

(bootloader) battery-status: good

(bootloader) battery-voltage: 3835mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-6d8a0b9b

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

For now I am trying to get s-off through ternminal emulator, other methods with revone, rumrunner and firewater failed when tried with adb on pc. I am currently using CM11-nightly-20141003-m7, I tried other versions of CM11 but as soon as it boots in other CM, it gives me error, phone dialer has stopped working, android.media was not found and the phone will go back into bootloop. The current CM is at least giving me a stable phone without reboots however it wont' detect a cellular network.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
That's because there is no RUU. Trust me if there was I'd have linked it for you by now ;)

I appreciate davidrol is trying to be helpful but if he was actually following the tread he would know that aswell.

Your only shot at this time of repairing your phone is to gain s-off. Then you can use pretty much any ruu and hopefully restore your imei and baseband.

:fingers-crossed:

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] davidrol:
Hmmm. I couldn't locate an RUU with the cidnum: HTC_332 and to change your cidnum requires s-off.. This is why the first RUU failed. It requires cid: HTC__001, HTC__J15, HTC__A48, HTC__M27 and just maybe a lower version bootloader. Thanks for getvar info, though.

This is my experience. I purchased a used/cheap One in perfect cosmetic condition, with the identical problem - constant boot loops. It would only run CM11 without constantly boot looping. With CM11 I made serveral attempts at s-off using revone and firewater and all failed with errors at the end. Using adb shell # e2fsck -n -v -f /dev/block/mmcblk0p**(block numbers 1-37). I found many overlapped partitions starting with "Partition 1 does not end on cylinder boundary". Sort of a domino effect. Also unable to gain s-off for a permanent fix. I was able to temporarily recover the device with an RUU. I thought it was fixed until the device hard bricked after a week of normal use. A hardware issue.

The ssd drive was toast from the start, and as a result of an OTA update. Fortunately, I was able to return it for a refund. And, this doesn't mean your situation is identical to mine - this is my experience.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
The errors you got with e2fsck have nothing to do with overlapping partitions.

e2fsck can only be used on 3 of the partitions on the HTC One since we only have 3 flashable partitions. System, Data and Cache. These are the only partitions that can be successfully unmount. And a mounted partition will always return the errors you seen.

All other partitions are written to with a "dd" (Direct Dump) so using e2fsck wouldn't make any difference anyway. When you use an RUU a clean fresh image is "dd" to these partitions so any changes made by e2fsck would be overwritten by the clean dump.

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] htc1resetting:
still couldn't get s-off. tried by re-installing supresu and to do the firewater process again, didn't work. Tried with terminal emulator for firewater with following commands.

su

cd /data/local/tmp

chmod 755 firewater

firewater

last command will return, firewater wasn't found. before running command, firewater is already placed inside /data/local/tmp
[One (M7) Q&A, Help & Troubleshooting] htc1resetting:
This time, selected (apps & adb) for root access inside developer options in CM11, by default it was (apps only). Firewater worked and responded..

********** whelp, this sucks, firewater can not work on your device **********

********** no amount of reflashing, retrying, or ruuing will fix... **********

********** DO NOT COME TO IRC ASKING FOR UPDATES OR ETAS!!!!!! **********

********** if we are able to fix this issue, it will be announced **********

********** bye bye.....sorry it didn't work out. **********

Tried RumRunner, failed with the following message.

!! Do NOT for any reason taunt, unplug, drop, eat or pet your device !!

Please wait....

..........

Checking for updates......

Test 1: Rebooting into bootloader

Waiting for fastboot (1/120)

Waiting

Test 2: Booting device

Waiting for ADB (21/120)

must ferment longer...

must sanitize, skunky rum is nasty

hold please..............................................

[TTTT********************************************************]

Press ENTER to exit
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Bummer, firewater is a definite no go :( that error message means exactly what it says.

And if rumrunner won't do it the only remaining option is Sunshine.

I'm helping another user with this same problem, he was already s-off before it happened though, Unfortunately there is no stock ruu for him but he has same device and carrier as me so I've supplied him with Stock nandroid and firmware. In the hope it will solve it for him.

I'll keep you posted if it works for him it may be worth paying to s-off with sunshine. Watch this space ;)

Thread here

http://xdaforums.com/showthread.php?t=2898235

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] davidrol:
Learning while applying posted instructions caused my memory to blur making recall not so accurate. Actually, the errors I got were from parted. Parted could not repair the damaged partitions while s-on. And I didn't find a utility that could.
[One (M7) Q&A, Help & Troubleshooting] htc1resetting:
Tried sunshine....... got message.

Sunshine can't be used on your device, if you are using htc, use flash a stock sense or near near stock rom.

The problem is , if I try to use any other ROM(if possibly) then it will go into boot loops. The only ROM I found not to give boots is the one I am using now. CM11-nightly. Any suggestions?

There are many custom ROMs from other sources, don't you think trying any of these can sort my problem of boots and no network in a single shot?

Don't you think, installing the individual files for "phone dialer" , "android media" can solve my problem- because when I use other CM11, I get errors that these two files are missing.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Ufff!! :( that sucks, I guess all you can do is try different roms and hope something takes.

I've been looking for a stock radio I'm hoping it will flashing the radio will provide a temporary fix at least Lon enough for you to s-off.

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Going by the other thread it doesn't look to hopeful unfortunately. Even flashing the Original Stock Rom and Firmware didn't fix it :(

http://xdaforums.com/showthread.php?t=2898235

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] htc1resetting:
My options are quite limited now. I can use my device on wifi which I am doing , at the same time trying different CMs. Another version of snapshot CM also worked but it won't detect the cellular network as my old problem (Error- Couldn' establish a network connection). I guess, there are more hopes with htc ROMs if one works on my phone. So far only AHRD 81 worked but boot problem was unfixed after flashing this ROM.
[One (M7) Q&A, Help & Troubleshooting] kewlfr3zr:
Sorry i can´t give u any other suggestions, cause i got the s-off with the standard firewater turorial

My getvar is attached.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
WARNING Do not perform this procedure on a Windows 8 pc. Windows 8 will stop seeing the device once downgraded to hboot 1.44.

Windows 7 or Linux recommended.

Download hboot 1.44 here http://www.htc1guru.com/dld/1-29-401-12_hboot_1-44-zip/

Rename it hboot.zip and put it in your fastboot folder on your pc.

Download this ruu http://www.htc1guru.com/dld/ruu_m7_...0-13_10-33-1150-01_release_311678_signed-exe/

Now you need to flash hboot 1.44 and change your cid for the ruu to work.

Reboot the phone to the bootloader and Connect fastbootusb. Now open your Fastboot command line and type

fastboot erase cache

fastboot oem rebootRUU

< --- case sensitive.

The phone will reboot to a black screen with a Silver HTC LOGO. This is RUU mode. Now we're going to flash the firmware.

fastboot flash zip hboot.zip

The first flash will be short. It's just a preupdate preparing the hboot for the new firmware. So we need to do the same command again.

fastboot flash zip hboot.zip

The second flash will flash the new hboot. The progress bar on the phone screen will not reach 100% this is normal as long as the command window has completed its output the flash is done.

fastboot reboot-bootloader

fastboot oem writecid HTC__044

fastboot reboot-bootloader

Make sure fastboot usb is connected and run the ruu.exe on your pc. Once its done reboot the phone and report any results. Thanks
[One (M7) Q&A, Help & Troubleshooting] kewlfr3zr:
I did like u said and everything went fine, but when i rebooted after the RUU flash the phone is again in a rebootloop every 3-5 min.

The device originally was sim locked "austrian A1" and it is still i think but if this were the problem, it should tell me that in some way, or am i wrong with this?!

I know when i flash the recovery and custom rom, the bootloop will be gone, but still no IMEI or network. :(

Maybe i have bricked something when i changed the display, or do u have other suggestions?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Yeah flashing the hboot and ruu won't have affected the SIM lock in anyway but clearly didn't solve the problem either. I suppose in this case it's possible something was damaged or not connected properly when you changed the screen.

But if the ruu and hboot didn't fix it there's not much else will from a software side of things. Possibly a j-tag repair service could do it. :(

Thanks for the update. :good:

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] htc1resetting:
Is there any recommended tool for s-off to be used on CM11. Revone and Sunshine won't work on CM11. When I use fireater or moonshine, it stops in the middle at checking the updates. "Error in checking Update, press enter to exit".
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Maybe this can help, it's a non sense gpe Rom for normal m7.

http://www.droidviews.com/install-htc-one-google-play-edition-rom-on-standard-htc-one-m7/

If you found my posts helpful, Please click thanks :good: