yashsingh1/xdaforums huggingface dataset:
[One (M7) General] sToRm1nG:
Then just type adb shell and then run su.

You should get a prompt on the phone to grant SuperUser rights for adb. Confirm it.

Then simply set the proper rights by typing chmod 755 /data/local/tmp/firewater and then run it with /data/local/tmp/firewater.

If you get error messages there then either firewater is missing or something with acquiring root privilege did not work.
[One (M7) General] MrFEr:
People should understand the concept behind the command tool, it may help if you try to remember the old DOS commands

in case of "adb wait-for-device push firewater /data/local/tmp" command

"adb" calls the shell

"wait-for-device" does what is says, don't do anything until your phone is ready

"push" is the command to push files from your PC to the phone

"firewater" is the file name AND the LOCATION. In my case it looked like "C:\android-tools\firewater" because there was the file. Rooting you phone needs some basic knowledge, you can't expect the dev to go into the details THAT deep

"/data/local/tmp" is the target folder on the phone.

I don't want to hurt feelings or stuff like that however I see these 'help me my adb shell is not working' posts a lot of times. People should read first, than read more, and only after that asking questions...

I know I was a noob once (actually I'm still considering myself as a noob), however I was reading posts for 2 weeks EVERY afternoon before I've S-OFF-ed and rooted my Desire S.

If my post seems to be offensive I apologize, just wanted to help and clear out the fog a little.
[One (M7) General] yatindroid:
I experienced same thing for 3 days countless times

So I took a new Windows 7 pc no software just adb & HTC naked driver s off in 1st chance

HTC One 1.56 S-Off MaximusHD 33
[One (M7) General] redelmos:
I can't input anything when it asks if I understand all the implications.
[One (M7) General] sajay92:
dont do it using the tool box buddy. when i tried using the toolbox i could nt input anything too. use the command prompt from the begging:D.
[One (M7) General] SimplyNando:
Worked perfectly!! Thank you! I got S-Off after only the second bottle! :good:
[One (M7) General] rodrigoaescobar:
Yeah same issue, anyone able to fix it?
[One (M7) General] aburyan1:
try it many times but it dose not work with me, this what i get :

Do you understand the implications of these warnings?

(Yes/No)

Yes

Yes

********** 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. **********

windows 7 32

canadian Htc one

unlocked bootloder

hboot 1.56.0

i tried with diff roms
[One (M7) General] EddyOS:
Doesn't matter what ROM you're using, or anything else for that matter. There is a fundamental hardware difference on your device which means it is NOT COMPATIBLE. No matter what you do it won't (currently) work
[One (M7) General] aooga:
All I can tell the people who have the M7 and can't get S-off is to keep trying. It eventually worked for me after some 23 times. I didn't count exactly, but I tried for a good week (many times a day) and it finally worked. :good:

My rom was InsertCoin 2.1.5 and kernel was Bulletproof 14.1.
[One (M7) General] beaups:
The error message looks quite clean and direct to me.
[One (M7) General] tele_jas:
HTC One M8 - HTC Dev unlocked, Custom ROM (ViperOne M8) and it says I'm rooted. I tried flashing this 7 times and got to this point every time:

Do you understand the implications of these warnings?

(Yes/No)

Yes

!!If firewater hangs for more than 2 minutes or device enters qhusb mode, ho

!!If firewater hangs for more than 2 minutes or device enters qhusb mode, ho

!!If firewater hangs for more than 2 minutes or device enters qhusb mode, ho

ld power for 60 seconds !!

.................................................. ..........

.................................................. ..........

.................................................. ..........

.................................................. ..........

.................................................. ..........

.................................................. ..........

.................................................. ..........

.................................................. ..........

.................................................. ..........

.................................................. ..........

.................................................. ..........

.................................................. ..........

.................................................. ..........

.................................................. ..........

.................................................. ..........

.................................................. ..........

.................................................. ..........

.................................................. ..........

.................................................. ..........

The last time I let it sit for 20 minutes and it never worked before I restarted my phone.

Any suggestions?
[One (M7) General] beaups:
Download latest update.
[One (M7) General] tele_jas:
I got it right off the website just a few hours ago... is there a newer version somewhere else?

---------- Post added at 07:57 PM ---------- Previous post was at 07:34 PM ----------

[EDIT]... I tried from a different computer and it worked flawlessly, I'm now S-Off.
[One (M7) General] prichable:
Check your phone cause it looks like you need to accept the adb shell via superuser
[One (M7) General] dvdmeup:
Hi,

I got the same error message today with my HTC One M7-UL, S-On, CID T-Mob101, Android 4.3 and Hboot 1.55; locked bootloader, never unlocked through HTCDev.

I used the current version of firewater downloaded today.

Any ideas??? :(
[One (M7) General] aburyan1:
I think your bootloader should be unlocked and you should have better luck than me
[One (M7) General] dvdmeup:
I used the second Method with temp-root and temp-root worked fine. On page one another member had the same HTC conditions (CID T-Mob101, Android 4.3 and Hboot 1.55) and it worked well.

Hhmm???
[One (M7) General] EddyOS:
The message is pretty clear - it's not going to work
[One (M7) General] wellsheit:
Can anyone point me to the right direction on this one? The latest firewater got me a little further, but I haven't seen a clear-cut fix for it kicking back to command without either giving an error or completing. Sooooo want this thing unlocked so I can utilize it fully.
[One (M7) General] sToRm1nG:
Have you tried another ROM or an insecure Kernel?
[One (M7) General] wellsheit:
I am bone stock, other than temproot using weaksauce. My understanding was that I needed to get s-off first.... but I admit my understanding is probably wrong.
[One (M7) General] Justin2003:
How do i remove Tampered after S-OFF???
[One (M7) General] donkeykong1:
You mean tamperd is still there after s-off? On my phone it dissapeared when I s-offed it
[One (M7) General] EddyOS:
You find the thread on page 2 of General about removing tampered
[One (M7) General] Justin2003:
Sorry but i cannot find the thread.

Can you send me a link to the thread?

I find it here: http://xdaforums.com/showthread.php?t=2477792
[One (M7) General] aooga:
If you're not comfortable with running adb commands, just use revone. It won't work to actually s-off the device, but it does work to remove that banner.
[One (M7) General] prichable:
So I tried it on another computer and chugged the first bottle and it unlocked the bootloader first try! :)
[One (M7) General] sToRm1nG:
Asap you are unlocked, you can more or less do whatever you want except changing e.g. carier id, removing tampered flag or locking bootloader again (not relocking).

So my suggestion would be, you flash a custom recovery and install a insecure kernel.
[One (M7) General] finalgravity525:
File format

Hi, I want to download this firewater to s-off my htc one, but when I go to the download page and click the link, it downloads the firewater but in a strange format "file". Am I the only one experiencing this problem? :confused:

I tried different browsers and use some proxies but the result is the same.

Sorry for my bad English. Thanks :)

Edit: I download this through my desktop and netbook.
[One (M7) General] amenic:
Having the same issue... how long is it supposed to take? How the hell do you know if it's hanging or not?
[One (M7) General] chepeliyas:
Just wanted to confirm that after trying twice, I got s-off with everything stock 4.4.2 and h-boot 1.56!!! Perfect!!!
[One (M7) General] Stefan0vic:
Also got s off on first try with hboot 1.56 stock rom and kernel.

Thanks!!
[One (M7) General] sinosuke:
Omg,why my M7_U International cannot have this luck :(

Sent from my HTC One
[One (M7) General] zyon92:
Same here...

Stock 4.4.2 ... Temproot mot working and 12empty bottle after root.

Try on 3 computer.... :s
[One (M7) General] sToRm1nG:
You have to understand, that only Windows needs certain file extensions. Linux and for this reason Android don't. With this said. Yes it's correct that there is no file extension and Windows recognize id as "File".

Temproot won't work on Android 4.4.2!

You have to permanet root your device.
[One (M7) General] tele_jas:
Try doing it on a different computer.. That's what I ended up doing and it started almost immediately....Instead of those lines, it said "Chugging". It went through 4 or 5 "chugging" lines, then said congratulates, or you're finished, or something like that. I rebooted the bootloader to verify, and it worked.

Probably took 3 - 5 minutes (maybe a little less, just seemed that long) after I typed in "Yes".
[One (M7) General] finalgravity525:
Success :)

Thanks for the great tutorial! :good: :laugh:

I successfully s-off my HTC One. First try within 3 minutes. :victory: :victory:

HBOOT 1.56

ARHD 62.0 w/ stock kernel. :laugh::victory:

Thanks,thanks, thanks. :)
[One (M7) General] amenic:
Trying it on OS X Mavericks but adb says my device is offline :(

Trying to work through that now... Not sure if I need to update adb / drivers/ sdk but it has been awhile.
[One (M7) General] tele_jas:
Sorry, when you're talking Mac, you might as well be speaking Greek to me.... But on my PC, my ADB was out of date (the error I kept getting said that), so I downloaded this and used the location located in the extracted file. This may be PC only though??

It's called: HTC One 2014 (M8) All-In-One Toolkit

http://www.hasoon2000.info/
[One (M7) General] amenic:
I got it working by:

1.) updating SDK to latest version

2.) updating firewater version on my phone

3.) Oddly enough, it couldn't get a net connection through my wifi so I had to disable wifi and use AT&T network to get it to work.

Done deal s-off = on :P
[One (M7) General] dachat:
Htc one m8 ee uk s-off working

Thanks. Worked great. Couldn't understand the waiting when rebooting

Then followed the instructions clearly set out here in this video

https://www.youtube.com/watch?v=--Hlms1BuPg

The wait for device is the key - press this part WHILE the device is rebooting not afterwards

To those who are struggling

I installed HTC sync and SDK as described

Uninstalled HTC Sync and then installed HTC driver HTCDriver_4.2.0.001

Remove tamper flag - Thanks to xda developers from their thread

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

adb devices

adb shell

su (if needed to get a # prompt)

echo -ne '\x00' | dd of=/dev/block/mmcblk0p6 bs=1 seek=5314564

(copy/paste this)

exit

(exit a second time if you need to to get back to a normal > prompt)

adb reboot bootloader

S-OFF No tamper flag PERFECT
[One (M7) General] sinosuke:
Your phone is Internaltional M7_U ?

Sent from my HTC One
[One (M7) General] dachat:
No it is a M8-ul
[One (M7) General] sinosuke:
Noway out for my M7_U hboot 1.56 :(

Sent from my HTC One
[One (M7) General] MyGalaxy:
Finally manage to S-OFF my phone.

Here was my step:

Unlock boot loader.

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

Install recovery.

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

Rooting stock ROM

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

Install custom kernel ([KERNEL] [April 1] Bulletproof-m7-14.1) . We need this because stock kernel & temproot is not working.

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

S-Off Instructions: method n.1

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

Thanks to #firewater on the freenode and andirc networks!
[One (M7) General] blackhawk_LA:
For those who have hte fatal message

is there anything we (users) can do to help fixing this? I mean, testing, providing some info or whatever.

Thanks for amazing job!, even when my HTC is still chained :(
[One (M7) General] hanginwithdaddo:
Suggestion for the future...

It would be useful if firewater would unlock the boot loader even if the device is already s-off'ed. At the suggestion of HTC, I reloked the boot loader on my Verizon HTC One M8 using "fastboot oem lock". The state of the boot loader shows "RELOCKED". Attempting to unlock it again using firewater shows that there is nothing to do, probably because it finds the device as already being s-offed. I've found some references about using dd to update hboot directly, but did not want to use these because the device partitions might be changing. Any suggestions you might have for going from relocked to unlocked again would be very welcomed.

Thanks in advance!
[One (M7) General] Newbe123456:
Yes, let us know how we could help the Firewater team. There is large community of people who are eager to get their devices s-off. Thanks again for the great effort.
[One (M7) General] metropical:
nothing happens

Yosemite-Sam:~ fritz$ cd /Users/fritz/Downloads/android

Yosemite-Sam:android fritz$ ./adb reboot

Yosemite-Sam:android fritz$ ./adb wait-for-device push firewater /data/local/tmp

4711 KB/s (4347896 bytes in 0.901s)

Yosemite-Sam:android fritz$ ./adb shell

shell@m7:/ $ su

root@m7:/ # chmod 755 /data/local/tmp/firewater

root@m7:/ # /data/local/tmp/firewater

root@m7:/ #

and that's where it stops.

Yosemite-Sam:android fritz$ ./adb devices

List of devices attached

FA35YW901363	device

from OSX 10.8.5

any ideas?
[One (M7) General] mago988:
I'm in the same situation, you have a mobile t-mob101? our phone is not compatible with firewater
[One (M7) General] blyer:
M7 international GSM version/ 1.56

********** 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. **********
[One (M7) General] blackhawk_LA:
Mine is international GSM with hboot 1.56
[One (M7) General] mago988:
like mine but with cid T-MOB101, which cid do you have?
[One (M7) General] blackhawk_LA:
HTC_001
[One (M7) General] Dufresne6:
Hi

My friend has a Htc One dual sim version 802w, china unicom.

It's not rooted it's locked and has an HBOOT 2.26

We have a working adb and properly installed device drivers because the can be seen through adb by adb devices command.

Adb reboot command also works but after the wait-for-device or push it seem it doesn't do anything. No error message it's like it's freezed or stucked.

Any idea or suggestions what should we try out?
[One (M7) General] hp13:
works great mate
[One (M7) General] XkWiZiT:
my phone is hboot 1.56, ARHD 53, unlocked bootloader...I got the "whelp, this sucks, firewater can not work on your device...". Does it mean it actually won't work on my device or is there some work arounds? I followed the steps, adb reboot everytime I try, plugged in usb 2.0 and usb 3.0, got this message all the time.
[One (M7) General] beaups:
The message seemed pretty clear when I wrote it.
[One (M7) General] XkWiZiT:
it's just that there are people with the same hboot 1.56 that has achieved s-off with your firewater. I'm curious to know whether I did something wrong or something different about my device (so that I somehow maybe able to exchange for another one :silly:)
[One (M7) General] beaups:
You're just unlucky ;)
[One (M7) General] Newbe123456:
Hey Beaups, for all those unlucky guys, can you shade some light on what is the specific obstacle that makes our devices not s-off capable? maybe other folks can look into that and come with additional thoughts on how to unblock it :)
[One (M7) General] beaups:
Sorry, no.
[One (M7) General] yasir.t.mohmand:
End Less Loop..

Dear All,

I had gained S-Off before using the firewater method on my HTC One 802w but now I am doing it again on a friend's mobile but it doesn't seem to work. Here is what happens...

Do you understand the implications of these warnings?

(Yes/No)

Yes

Yes

!!If firewater hangs for more than 2 minutes or device enters qhusb mode,

!!If firewater hangs for more than 2 minutes or device enters qhusb mode,

!!If firewater hangs for more than 2 minutes or device enters qhusb mode,

hold power for 60 seconds !!

================================================== =======================

================================================== =======================

================================================== =======================

================================================== =======================

================================================== =======================

================================================== =======================

================================================== =======================

================================================== =======================

and so on...

It goes like forever if I let it but doesn't go to the program run. I do know if it may help but whenever I do "adb reboot" and then "adb wait-for-device push firewater /data/local/tmp", "adb shell", "su", "chmod 755 /data/local/tmp/firewater, "/data/local/tmp/firewater", in between these commands my mobile disconnects and reconnects. I have uninstalled the drivers, reinstalled them, installed and uninstalled the HTC Sync, but no use. So I gave these commands in quick succession one after the other, but as soon as I reach Yes, the phone disconnects again and then when I give these commands, the endless loop starts. What might the problem be??? Any views?
[One (M7) General] Mutasek24:
Download latest version firewater
[One (M7) General] yasir.t.mohmand:
Already done that, no use. Download firmwater from official site but Same problem. Drivers have also been reinstalled but still same problem.
[One (M7) General] Ikarisan:
Hi!

Same problem here. I bought my phone a week ago and firewater is not working ("...firewater can not work on your device...". :(

CID: T-MOB101

HBOOT: 3.16.0.0000

Radio: 1.15.2133156.UA03_2G

OS: 1.12.111.18

Date: 03.03.2014
[One (M7) General] mago988:
I hoped they make a universal tool, because they are there, they work so random! revone was great, shame no longer works on the new hboot!
[One (M7) General] anaiistruth:
got s-off 1.55

i discovered why i wouldnt get s off on rumrunner hboot 1.55 when you plug in the device before you start the process makesure htc syn mode is unchecked and you go to developer options form your phone and check usb debugging and start the process i did this on me and my sisters htc oen m7 att and it then worked perfect took about 10 mins through the whole processs
[One (M7) General] grigoriisi:
are u saying it worked with temp root?

areu saying u had no root and it worked on kitkat hboot 1.56?
[One (M7) General] drummerboy814:
More specific instructions?

I've rooted and ROM'ed several phones, so I'm no stranger to it, but I honestly just don't know what 'push, prepare and execute' means or what 'adb shell' means. The file types for temproot and firewater are both just 'file.' I can't run them on my computer, so what does pushing preparing and executing mean??
[One (M7) General] sharksfan7:
Push = transferring the file from your computer to your phone.

Prepare = setting the proper permissions on the file

Execute = running the code

There are no file extensions on temproot or Firewater. You enter the commands from a command window on your computer, but both temproot & Firewater are run on the phone. Enter each command exactly as it's shown in the OP. If you're not familiar with using adb, read through this guide until you understand it,	[GUIDE] ADB - Usage, Tips, Tricks and More. You'll probably want to get familiar with fastboot commands as well. You're going to need it at some point if you're going S-OFF.

The instructions in the OP are pretty straight forward. Make sure you meet all the prerequisites and follow each step carefully. The process is simple. The only question is whether or not Firewater will succeed in obtaining S-OFF on your device.
[One (M7) General] ronaldo80:
Please Help!

[MENTION=2984317]MyGalaxy[/MENTION], I tried your step 3) and 4), but still cannot S-OFF my phone using firewater. Have been up for several nights to solve this. Please help!

Mine is HTC One M7_UL, unlocked using htcdev, running on ARHD 62.0 | HBOOT 1.56.0000 | Radio 4A.23.3263.28, with spec as follows:

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.56.0000

(bootloader) version-baseband: 4A.23.3263.28

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

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

(bootloader) serialno: xxx

(bootloader) imei: xxx

(bootloader) meid: xxx

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0714000

(bootloader) cidnum: HTC__044

(bootloader) battery-status: good

(bootloader) battery-voltage: 4247mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-59adc32b

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0
[One (M7) General] MarianG:
It won't work for m7_ul;

Someone must rename the title of the thread.

HTC One M7_UL with hboot 1.56 can't be s-off-ed by firewater :(
[One (M7) General] ronaldo80:
Thank you for the info. So, for now, is there any other way to S-OFF HTC One M7_UL with HBOOT 1.56, please? I really want to try GPE ROM so bad :(
[One (M7) General] JohnM109R:
I have 2 HTC One M7 UL ones

One of them got S-Off but the other I can't...can some1 tell me whats the diff... here please going insane...I used firewater on the rogers1 the other is a Telus that i can't ...
[One (M7) General] ronaldo80:
Same here, have tried firewater many times but still cannot S-OFF my HTC One M7_UL. Please help ...
[One (M7) General] chepeliyas:
No, I had root, and it worked with hboot 1.56. I was the first time it worked after many times of trying.
[One (M7) General] ronaldo80:
Before it worked with rooted stock ROM, did you ever try using firewater on other ROM such ARHD?
[One (M7) General] globalgpj:
Guys I really need your help here.

I was trying firewater on my M7 to get it s-off.

It didn't work so I was going to try something else.

Great trick/feature.

Just put my device under a bright light and rebooted and it worked.

Yeah, no brick :)

-------------------------------------------------------------------------

***TAMPERED***

UNLOCKED

H-Boot 1.44

ROM 4.1.2

S-On

I'm running this stock ROM, RUU_M7_UL_JB_50_HTC_Europe_1.28.401.7_Radio_4A.13. 3231.27_10.31.1131.05_release_310878_signed

and have TWRP installed.